@progress/kendo-themes-html 13.1.0-dev.2 → 13.1.0-dev.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- var yt=Object.create;var le=Object.defineProperty;var St=Object.getOwnPropertyDescriptor;var Mt=Object.getOwnPropertyNames;var Ct=Object.getPrototypeOf,Ot=Object.prototype.hasOwnProperty;var Et=(t,e)=>{for(var o in e)le(t,o,{get:e[o],enumerable:!0})},Ve=(t,e,o,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Mt(e))!Ot.call(t,n)&&n!==o&&le(t,n,{get:()=>e[n],enumerable:!(s=St(e,n))||s.enumerable});return t};var Lt=(t,e,o)=>(o=t!=null?yt(Ct(t)):{},Ve(e||!t||!t.__esModule?le(o,"default",{value:t,enumerable:!0}):o,t)),At=t=>Ve(le({},"__esModule",{value:!0}),t);var Vo={};Et(Vo,{CAPTCHA_CLASSNAME:()=>ve,Captcha:()=>B,default:()=>zo});module.exports=At(Vo);var i=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?i(...e):typeof e=="object"?Object.keys(e).map((o,s)=>e[s]||e[o]&&o||null).filter(o=>o!==null).join(" "):e).filter(e=>!!e).join(" ");var N=(t,e)=>i({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.themeColor}`]:e.themeColor},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full","k-rounded-none":e.rounded==="none"}),w=(t,e)=>{let{valid:o,invalid:s,hover:n,focus:d,checked:c,active:u,selected:h,disabled:v,indeterminate:y,loading:k,empty:A,readonly:D,highlighted:U,...O}=e;return i({"k-valid":o,"k-invalid":s,"k-hover":n,"k-focus":d,"k-checked":c,"k-active":u,"k-selected":h,"k-disabled":v,"k-indeterminate":y&&!c,"k-loading":k,"k-empty":A,"k-readonly":D,"k-highlighted":U},Object.keys(O).reduce((L,M)=>(M.startsWith("k-")?L[M]=O[M]:L[`k-${M}`]=O[M],L),{}))};function de(t,e){if(!e)return{};let o=Array.isArray(e)?e:[e];return Object.fromEntries(o.map(s=>[`k-${s}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},p={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},m={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},r={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},a={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var G=require("react/jsx-runtime"),Te="k-font-icon",Pt=[],wt={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info,r.light,r.dark]},Bt={},J=t=>{let{size:e,themeColor:o,icon:s,rotate:n,flip:d,...c}=t;return s?(0,G.jsx)("span",{...c,className:i(t.className,Te,N(Te,{size:e}),{[`k-i-${s}`]:s,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":d==="h"||d==="both","k-flip-v":d==="v"||d==="both"}),"aria-hidden":"true"}):(0,G.jsx)(G.Fragment,{})};J.states=Pt;J.options=wt;J.className=Te;J.defaultOptions=Bt;var De=J;var K=require("react/jsx-runtime"),ye="k-svg-icon",_t=[],Kt={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info,r.light,r.dark]},Ue={viewBox:"0 0 24 24"},W=t=>{let{size:e,themeColor:o,rotate:s,flip:n,viewBox:d=Ue.viewBox,icon:c,...u}=t;if(!c)return(0,K.jsx)(K.Fragment,{});if(c==="none")return(0,K.jsx)("span",{...u,className:i(t.className,ye,N("k-icon",{size:e}),"k-none"),"aria-hidden":"true"});let h=typeof c=="object"&&c.name&&c.name;return(0,K.jsx)("span",{...u,className:i(t.className,ye,N("k-icon",{size:e}),{[`k-svg-i-${h}`]:h,[`k-color-${o}`]:o,[`k-rotate-${s}`]:s,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:(0,K.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:d,dangerouslySetInnerHTML:typeof c=="object"?{__html:c.content}:void 0,children:c?void 0:t.children})})};W.states=_t;W.options=Kt;W.className=ye;W.defaultOptions=Ue;var Se=W;var Me=Lt(require("@progress/kendo-svg-icons"));var $e="icon",Fe="icons";var Ge=require("react");var Xe=require("react"),qe=(0,Xe.createContext)({iconsType:"svg"});var P=require("react/jsx-runtime"),ce="k-icon",Rt=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),Ht=[],zt={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info,r.light,r.dark]},Ce={viewBox:"0 0 24 24",type:"svg"},f=t=>{let{iconsType:e}=(0,Ge.useContext)(qe),{size:o,themeColor:s,icon:n,type:d=e||Ce.type,rotate:c,flip:u,viewBox:h=Ce.viewBox,...v}=t;if(!n)return(0,P.jsx)(P.Fragment,{});if((e||d)==="svg"){if(n==="none")return(0,P.jsx)(Se,{...v,className:i(t.className,ce),icon:n,size:o});let k=Me[n]?n:Rt(`${n}-icon`);return Me[k]?(0,P.jsx)(Se,{...v,className:i(t.className,ce),icon:Me[k],size:o,themeColor:s,rotate:c,flip:u,viewBox:h}):(0,P.jsx)(P.Fragment,{})}return(0,P.jsx)(De,{...v,className:i(t.className,ce),icon:n,size:o,themeColor:s,rotate:c,flip:u})};f.states=Ht;f.options=zt;f.defaultOptions=Ce;f.className=ce;f.moduleName=$e;f.folderName=Fe;f.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var Oe="button",Je=Oe;var E=require("react/jsx-runtime"),Q="k-button",Vt=["icon-button"],Dt=[a.hover,a.focus,a.active,a.selected,a.disabled,a.generating],Ut={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info,r.light,r.dark,r.inverse]},Ee={showArrow:!1,arrowIconName:"caret-alt-down"},x=t=>{let{as:e="button",size:o,rounded:s,fillMode:n,themeColor:d,showArrow:c=Ee.showArrow,arrowIconName:u=Ee.arrowIconName,variant:h,hover:v,focus:y,active:k,selected:A,disabled:D,togglable:U,icon:O,text:L,iconClassName:M,className:_,...ie}=t,Ie=O!==void 0,ke=t.children!==void 0;return(0,E.jsxs)(e,{className:i(_,Q,de(Q,h),N(Q,{size:o,rounded:s,fillMode:n,themeColor:d}),w(Q,{hover:v,focus:y,active:k,disabled:D,selected:A}),{"k-icon-button":!L&&!ke&&Ie}),...ie,"aria-pressed":U?A?"true":"false":void 0,disabled:D||void 0,children:[O&&(0,E.jsx)(f,{className:i(M,"k-button-icon"),icon:O}),L?(0,E.jsxs)(E.Fragment,{children:[L&&(0,E.jsx)("span",{className:"k-button-text",children:L}),t.children]}):t.children&&(0,E.jsx)("span",{className:"k-button-text",children:t.children}),c&&(0,E.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,E.jsx)(f,{icon:u})})]})};x.states=Dt;x.options=Ut;x.variants=Vt;x.className=Q;x.defaultOptions=Ee;x.moduleName=Oe;x.folderName=Je;x.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};var Qe=require("react/jsx-runtime"),We=t=>(0,Qe.jsx)(x,{icon:"folder",...t,"aria-label":t["aria-label"]||"Folder",children:void 0});var Ze=require("react/jsx-runtime"),Ye=t=>(0,Ze.jsx)(x,{icon:"folder",children:"Button",...t});var je=require("react/jsx-runtime"),R=t=>(0,je.jsx)(x,{children:"Button",...t});var pe=require("react/jsx-runtime"),$t=x.options,Ft=x.states,Xt={...x.defaultOptions,variant:"text"},qt=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Gt=[],Y=t=>{let{variant:e,...o}=t;switch(e){case"icon-only":return(0,pe.jsx)(We,{...o,icon:"star"});case"icon-and-text":return(0,pe.jsx)(Ye,{...o,icon:"star",children:"Button"});default:return(0,pe.jsx)(R,{...o,children:"Button"})}};Y.options=$t;Y.states=Ft;Y.variants=qt;Y.defaultOptions=Xt;Y.modifiers=Gt;var Le="textbox",et=Le;var Z="input",ue=Z;var tt=require("react/jsx-runtime"),me="k-input",Jt=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Wt={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Qt={},S=t=>{let{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:c,readonly:u,size:h,rounded:v,fillMode:y,...k}=t;return(0,tt.jsx)("span",{...k,className:i(t.className,me,N(me,{size:h,rounded:v,fillMode:y}),w(me,{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:c,readonly:u}))})};S.states=Jt;S.options=Wt;S.className=me;S.defaultOptions=Qt;S.moduleName=Z;S.folderName=ue;var ot=require("react/jsx-runtime"),fe="k-picker",Yt=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Zt={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},jt={},$=t=>{let{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:c,readonly:u,size:h,rounded:v,fillMode:y,...k}=t;return(0,ot.jsx)("span",{...k,className:i(t.className,fe,N(fe,{size:h,rounded:v,fillMode:y}),w(fe,{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:c,readonly:u})),children:t.children})};$.states=Yt;$.options=Zt;$.className=fe;$.defaultOptions=jt;$.moduleName=Z;$.folderName=ue;var F=require("react/jsx-runtime"),nt="k-clear-value",eo=[a.disabled,a.loading,a.readonly],to={},H=t=>{let{disabled:e,loading:o,readonly:s,value:n}=t;return e||s||o||!n?(0,F.jsx)(F.Fragment,{}):(0,F.jsx)("span",{className:i(t.className,nt),children:(0,F.jsx)(f,{icon:"x"})})};H.states=eo;H.options=to;H.className=nt;var at=require("react/jsx-runtime"),Ae="k-input-inner",oo=[],no={},xe={type:"text",autocomplete:"off",value:"",placeholder:""},z=t=>{let{value:e=xe.value,type:o=xe.type,placeholder:s=xe.placeholder,autocomplete:n=xe.autocomplete,disabled:d,readOnly:c,...u}=t;return(0,at.jsx)("input",{...u,type:o,className:i(t.className,Ae,N(Ae,t)),placeholder:s,autoComplete:n,defaultValue:e,disabled:d||void 0,readOnly:c||void 0})};z.states=oo;z.options=no;z.className=Ae;var j=require("react/jsx-runtime"),Pe="k-input-inner",ao=[],so={},we=t=>{let{value:e,placeholder:o,showValue:s,valueIcon:n,valueIconName:d,...c}=t;return(0,j.jsxs)("span",{...c,className:i(t.className,Pe,N(Pe,t)),children:[n,!n&&d&&(0,j.jsx)(f,{className:"k-input-value-icon",icon:d}),s&&!e&&o,s&&e&&(0,j.jsx)("span",{className:"k-input-value-text",children:e})]})};we.states=ao;we.options=so;we.className=Pe;var rt=require("react/jsx-runtime"),Be="k-input-inner",ro=[],io={},st={value:"",placeholder:""},_e=t=>{let{value:e=st.value,placeholder:o=st.placeholder,rows:s,disabled:n,...d}=t;return(0,rt.jsx)("textarea",{...d,className:i(t.className,Be,N(Be,t)),placeholder:o,rows:s,defaultValue:e,disabled:n||void 0})};_e.states=ro;_e.options=io;_e.className=Be;var ee=require("react/jsx-runtime"),it="k-input-loading-icon",lo=[a.disabled,a.loading],X=t=>{let{disabled:e,loading:o}=t;return e||!o?(0,ee.jsx)(ee.Fragment,{}):(0,ee.jsx)("span",{className:i(t.className,it,"k-icon k-i-loading")})};X.states=lo;X.className=it;var te=require("react/jsx-runtime"),lt="k-input-validation-icon",co=[a.valid,a.invalid,a.disabled,a.loading],po={},V=t=>{let{valid:e,invalid:o,disabled:s,loading:n}=t,d=o?"warning-circle":"check-circle";return s||n||!!!(e||o)?(0,te.jsx)(te.Fragment,{}):(0,te.jsx)(f,{className:i(lt),icon:d})};V.states=co;V.options=po;V.className=lt;var oe=require("react/jsx-runtime"),uo="k-input-prefix",mo={direction:"horizontal"},be=t=>{let{direction:e=mo.direction,...o}=t;return t.children?(0,oe.jsx)("span",{...o,className:i(uo,t.className,{[`k-input-prefix-${e}`]:e}),children:t.children}):(0,oe.jsx)(oe.Fragment,{})};var ne=require("react/jsx-runtime"),fo="k-input-suffix",xo={direction:"horizontal"},he=t=>{let{direction:e=xo.direction,...o}=t;return t.children?(0,ne.jsx)("span",{...o,className:i(fo,t.className,{[`k-input-suffix-${e}`]:e}),children:t.children}):(0,ne.jsx)(ne.Fragment,{})};var bo=require("react/jsx-runtime");var ho=require("react/jsx-runtime");var ct=require("react/jsx-runtime"),dt="k-input-separator",No={direction:"vertical"},q=t=>{let{direction:e=No.direction,...o}=t;return(0,ct.jsx)("span",{...o,className:i(dt,t.className,{[`${dt}-${e}`]:e})})};var b=require("react/jsx-runtime"),go=S.states,vo=S.defaultOptions,Io=S.options,ko=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],To=[],ae=t=>{let{modifiers:e,valid:o,invalid:s,loading:n,disabled:d,readonly:c,...u}=t,h=e==null?void 0:e.prefix,v=e==null?void 0:e.suffix,y=e==null?void 0:e["clear-button"],k=e==null?void 0:e["validation-icon"],A=e==null?void 0:e.separators;return(0,b.jsxs)(S,{...u,valid:o,invalid:s,loading:n,disabled:d,readonly:c,style:{width:300},children:[h&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(be,{children:(0,b.jsx)(f,{icon:"lock"})}),A&&(0,b.jsx)(q,{})]}),(0,b.jsx)(z,{placeholder:"Placeholder",value:"Value"}),k&&(0,b.jsx)(V,{valid:o,invalid:s,loading:n,disabled:d}),(0,b.jsx)(X,{loading:n,disabled:d}),y&&(0,b.jsx)(H,{loading:n,disabled:d,readonly:c,value:"Value"}),v&&(0,b.jsxs)(b.Fragment,{children:[A&&(0,b.jsx)(q,{}),(0,b.jsx)(he,{children:(0,b.jsx)(R,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};ae.options=Io;ae.states=go;ae.variants=To;ae.defaultOptions=vo;ae.modifiers=ko;var g=require("react/jsx-runtime"),pt="k-textbox",yo=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],So={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Ne={showClearButton:!0,showValidationIcon:!0,separators:!0},T=t=>{let{size:e,rounded:o,fillMode:s,separators:n=Ne.separators,showClearButton:d=Ne.showClearButton,showValidationIcon:c=Ne.showValidationIcon,prefix:u,suffix:h,type:v,value:y,placeholder:k,hover:A,focus:D,valid:U,invalid:O,required:L,loading:M,disabled:_,readonly:ie,id:Ie,"aria-label":ke,"aria-describedby":kt,...Tt}=t;return(0,g.jsxs)(S,{...Tt,size:e,rounded:o,fillMode:s,hover:A,focus:D,valid:U,invalid:O,required:L,loading:M,disabled:_,readonly:ie,className:i(t.className,pt),children:[u&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(be,{children:u}),n&&(0,g.jsx)(q,{})]}),(0,g.jsx)(z,{id:Ie,placeholder:k,value:y,type:v,disabled:_,"aria-label":ke,"aria-describedby":kt,"aria-invalid":O?"true":void 0}),c&&(0,g.jsx)(V,{valid:U,invalid:O,loading:M,disabled:_}),(0,g.jsx)(X,{loading:M,disabled:_}),d&&(0,g.jsx)(H,{loading:M,disabled:_,readonly:ie,value:y}),h&&(0,g.jsxs)(g.Fragment,{children:[n&&(0,g.jsx)(q,{}),(0,g.jsx)(he,{children:h})]})]})};T.states=yo;T.options=So;T.className=pt;T.defaultOptions=Ne;T.moduleName=Le;T.folderName=et;T.ariaSpec={selector:".k-textbox",rules:[{selector:".k-textbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-textbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-textbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the TextBox is in an invalid state."},{selector:".k-textbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the input."},{selector:".k-textbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the TextBox is disabled."}]};var se=T;var mt=require("react/jsx-runtime"),ut=t=>(0,mt.jsx)(se,{...t});var ft=require("react/jsx-runtime");var xt=require("react/jsx-runtime");var Mo=require("react/jsx-runtime");var ge=require("react/jsx-runtime"),Co=T.states,Oo=T.defaultOptions,Eo=T.options,Lo=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Ao=[],re=t=>{let{modifiers:e,...o}=t,s={};return Object.keys(e||{}).forEach(n=>{switch(n){case"prefix":s.prefix=e!=null&&e[n]?(0,ge.jsx)(f,{icon:"lock"}):void 0;break;case"suffix":s.suffix=e!=null&&e[n]?(0,ge.jsx)(R,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":s.showClearButton=e==null?void 0:e[n];break;default:break}}),(0,ge.jsx)(ut,{value:"Value",style:{width:300},...o,...s})};re.options=Eo;re.states=Co;re.variants=Ao;re.defaultOptions=Oo;re.modifiers=Lo;var Ke="skeleton",bt=Ke;var ht=require("react/jsx-runtime"),Re="k-skeleton",Po=["circle","text","rect"],wo=[],Bo={},He={variant:"text",shape:"text",animation:"pulse"},C=t=>{let{variant:e,shape:o,animation:s=He.animation,...n}=t,d=`skeleton-${e||o||He.variant}`;return(0,ht.jsx)("span",{...n,className:i(t.className,Re,de(Re,d),{[`k-skeleton-${s}`]:s}),style:t.style})};C.states=wo;C.options=Bo;C.variants=Po;C.className=Re;C.defaultOptions=He;C.moduleName=Ke;C.folderName=bt;C.ariaSpec={selector:".k-skeleton",rules:[]};var _o=require("react/jsx-runtime");var gt=require("react/jsx-runtime"),Nt=t=>(0,gt.jsx)(C,{shape:"rect",...t});var Ko=require("react/jsx-runtime");var ze="captcha",vt=ze;var I=require("react/jsx-runtime"),ve="k-captcha",Ro=[a.loading,a.valid,a.invalid,a.disabled],Ho={},It={imgPath:"/packages/html/assets/captcha.jpg"},B=t=>{let{value:e,valid:o,invalid:s,loading:n,disabled:d,imgPath:c=It.imgPath,...u}=t;return(0,I.jsxs)("div",{...u,className:i(t.className,ve,w(ve,{disabled:d}),{"k-captcha-loading":n}),children:[(0,I.jsxs)("div",{className:"k-captcha-image-wrap k-hstack",children:[(0,I.jsxs)("div",{className:"k-captcha-image",children:[(0,I.jsx)("img",{className:i({"k-hidden":n}),src:c}),n&&(0,I.jsx)(Nt,{style:{width:"100%",height:"100%"}})]}),(0,I.jsxs)("div",{className:"k-captcha-image-controls k-vstack",children:[(0,I.jsx)(x,{icon:"volume-up",disabled:n===!0}),(0,I.jsx)(x,{icon:"arrow-rotate-cw",disabled:n===!0})]}),(0,I.jsx)("div",{className:"k-captcha-volume-control k-vstack k-pos-absolute k-hidden",children:(0,I.jsx)("div",{className:"k-widget k-slider k-slider-vertical"})})]}),(0,I.jsxs)("div",{className:"k-captcha-input k-vstack",children:[(0,I.jsx)(T,{value:e,valid:o,invalid:s,disabled:n===!0}),o&&!n&&(0,I.jsx)("span",{className:"k-captcha-validation-message !k-text-success",children:"Verification Success"})]})]})};B.states=Ro;B.options=Ho;B.className=ve;B.defaultOptions=It;B.moduleName=ze;B.folderName=vt;var zo=B;
1
+ var yt=Object.create;var le=Object.defineProperty;var St=Object.getOwnPropertyDescriptor;var Mt=Object.getOwnPropertyNames;var Ct=Object.getPrototypeOf,Ot=Object.prototype.hasOwnProperty;var Et=(t,e)=>{for(var o in e)le(t,o,{get:e[o],enumerable:!0})},Ve=(t,e,o,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Mt(e))!Ot.call(t,n)&&n!==o&&le(t,n,{get:()=>e[n],enumerable:!(s=St(e,n))||s.enumerable});return t};var Lt=(t,e,o)=>(o=t!=null?yt(Ct(t)):{},Ve(e||!t||!t.__esModule?le(o,"default",{value:t,enumerable:!0}):o,t)),At=t=>Ve(le({},"__esModule",{value:!0}),t);var Vo={};Et(Vo,{CAPTCHA_CLASSNAME:()=>ve,Captcha:()=>B,default:()=>zo});module.exports=At(Vo);var i=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?i(...e):typeof e=="object"?Object.keys(e).map((o,s)=>e[s]||e[o]&&o||null).filter(o=>o!==null).join(" "):e).filter(e=>!!e).join(" ");var N=(t,e)=>i({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.themeColor}`]:e.themeColor},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full","k-rounded-none":e.rounded==="none"}),w=(t,e)=>{let{valid:o,invalid:s,hover:n,focus:d,checked:c,active:u,selected:h,disabled:v,indeterminate:y,loading:k,empty:A,readonly:D,highlighted:U,...O}=e;return i({"k-valid":o,"k-invalid":s,"k-hover":n,"k-focus":d,"k-checked":c,"k-active":u,"k-selected":h,"k-disabled":v,"k-indeterminate":y&&!c,"k-loading":k,"k-empty":A,"k-readonly":D,"k-highlighted":U},Object.keys(O).reduce((L,M)=>(M.startsWith("k-")?L[M]=O[M]:L[`k-${M}`]=O[M],L),{}))};function de(t,e){if(!e)return{};let o=Array.isArray(e)?e:[e];return Object.fromEntries(o.map(s=>[`k-${s}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},p={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},m={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},r={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},a={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var G=require("react/jsx-runtime"),Te="k-font-icon",Pt=[],wt={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info,r.light,r.dark]},Bt={},J=t=>{let{size:e,themeColor:o,icon:s,rotate:n,flip:d,...c}=t;return s?(0,G.jsx)("span",{...c,className:i(t.className,Te,N(Te,{size:e}),{[`k-i-${s}`]:s,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":d==="h"||d==="both","k-flip-v":d==="v"||d==="both"}),"aria-hidden":"true"}):(0,G.jsx)(G.Fragment,{})};J.states=Pt;J.options=wt;J.className=Te;J.defaultOptions=Bt;var De=J;var K=require("react/jsx-runtime"),ye="k-svg-icon",_t=[],Kt={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info,r.light,r.dark]},Ue={viewBox:"0 0 24 24"},W=t=>{let{size:e,themeColor:o,rotate:s,flip:n,viewBox:d=Ue.viewBox,icon:c,...u}=t;if(!c)return(0,K.jsx)(K.Fragment,{});if(c==="none")return(0,K.jsx)("span",{...u,className:i(t.className,ye,N("k-icon",{size:e}),"k-none"),"aria-hidden":"true"});let h=typeof c=="object"&&c.name&&c.name;return(0,K.jsx)("span",{...u,className:i(t.className,ye,N("k-icon",{size:e}),{[`k-svg-i-${h}`]:h,[`k-color-${o}`]:o,[`k-rotate-${s}`]:s,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:(0,K.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:d,dangerouslySetInnerHTML:typeof c=="object"?{__html:c.content}:void 0,children:c?void 0:t.children})})};W.states=_t;W.options=Kt;W.className=ye;W.defaultOptions=Ue;var Se=W;var Me=Lt(require("@progress/kendo-svg-icons"));var $e="icon",Fe="icons";var Ge=require("react");var Xe=require("react"),qe=(0,Xe.createContext)({iconsType:"svg"});var P=require("react/jsx-runtime"),ce="k-icon",Rt=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),Ht=[],zt={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info,r.light,r.dark]},Ce={viewBox:"0 0 24 24",type:"svg"},f=t=>{let{iconsType:e}=(0,Ge.useContext)(qe),{size:o,themeColor:s,icon:n,type:d=e||Ce.type,rotate:c,flip:u,viewBox:h=Ce.viewBox,...v}=t;if(!n)return(0,P.jsx)(P.Fragment,{});if((e||d)==="svg"){if(n==="none")return(0,P.jsx)(Se,{...v,className:i(t.className,ce),icon:n,size:o});let k=Me[n]?n:Rt(`${n}-icon`);return Me[k]?(0,P.jsx)(Se,{...v,className:i(t.className,ce),icon:Me[k],size:o,themeColor:s,rotate:c,flip:u,viewBox:h}):(0,P.jsx)(P.Fragment,{})}return(0,P.jsx)(De,{...v,className:i(t.className,ce),icon:n,size:o,themeColor:s,rotate:c,flip:u})};f.states=Ht;f.options=zt;f.defaultOptions=Ce;f.className=ce;f.moduleName=$e;f.folderName=Fe;f.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var Oe="button",Je=Oe;var E=require("react/jsx-runtime"),Q="k-button",Vt=["icon-button"],Dt=[a.hover,a.focus,a.active,a.selected,a.disabled,a.generating],Ut={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info,r.light,r.dark,r.inverse]},Ee={showArrow:!1,arrowIconName:"caret-alt-down"},x=t=>{let{as:e="button",size:o,rounded:s,fillMode:n,themeColor:d,showArrow:c=Ee.showArrow,arrowIconName:u=Ee.arrowIconName,variant:h,hover:v,focus:y,active:k,selected:A,disabled:D,togglable:U,icon:O,text:L,iconClassName:M,className:_,...ie}=t,Ie=O!==void 0,ke=t.children!==void 0;return(0,E.jsxs)(e,{className:i(_,Q,de(Q,h),N(Q,{size:o,rounded:s,fillMode:n,themeColor:d}),w(Q,{hover:v,focus:y,active:k,disabled:D,selected:A}),{"k-icon-button":!L&&!ke&&Ie}),...ie,"aria-pressed":U?A?"true":"false":void 0,disabled:D||void 0,children:[O&&(0,E.jsx)(f,{className:i(M,"k-button-icon"),icon:O}),L?(0,E.jsxs)(E.Fragment,{children:[L&&(0,E.jsx)("span",{className:"k-button-text",children:L}),t.children]}):t.children&&(0,E.jsx)("span",{className:"k-button-text",children:t.children}),c&&(0,E.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,E.jsx)(f,{icon:u})})]})};x.states=Dt;x.options=Ut;x.variants=Vt;x.className=Q;x.defaultOptions=Ee;x.moduleName=Oe;x.folderName=Je;x.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};var Qe=require("react/jsx-runtime"),We=t=>(0,Qe.jsx)(x,{icon:"folder",...t,"aria-label":t["aria-label"]||"Folder",children:void 0});var Ze=require("react/jsx-runtime"),Ye=t=>(0,Ze.jsx)(x,{icon:"folder",children:"Button",...t});var je=require("react/jsx-runtime"),R=t=>(0,je.jsx)(x,{children:"Button",...t});var pe=require("react/jsx-runtime"),$t=x.options,Ft=x.states,Xt={...x.defaultOptions,variant:"text"},qt=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Gt=[],Y=t=>{let{variant:e,...o}=t;switch(e){case"icon-only":return(0,pe.jsx)(We,{...o,icon:"star"});case"icon-and-text":return(0,pe.jsx)(Ye,{...o,icon:"star",children:"Button"});default:return(0,pe.jsx)(R,{...o,children:"Button"})}};Y.options=$t;Y.states=Ft;Y.variants=qt;Y.defaultOptions=Xt;Y.modifiers=Gt;var Le="textbox",et=Le;var Z="input",ue=Z;var tt=require("react/jsx-runtime"),me="k-input",Jt=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Wt={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Qt={},S=t=>{let{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:c,readonly:u,size:h,rounded:v,fillMode:y,...k}=t;return(0,tt.jsx)("span",{...k,className:i(t.className,me,N(me,{size:h,rounded:v,fillMode:y}),w(me,{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:c,readonly:u}))})};S.states=Jt;S.options=Wt;S.className=me;S.defaultOptions=Qt;S.moduleName=Z;S.folderName=ue;var ot=require("react/jsx-runtime"),fe="k-picker",Yt=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Zt={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},jt={},$=t=>{let{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:c,readonly:u,size:h,rounded:v,fillMode:y,...k}=t;return(0,ot.jsx)("span",{...k,className:i(t.className,fe,N(fe,{size:h,rounded:v,fillMode:y}),w(fe,{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:c,readonly:u})),children:t.children})};$.states=Yt;$.options=Zt;$.className=fe;$.defaultOptions=jt;$.moduleName=Z;$.folderName=ue;var F=require("react/jsx-runtime"),nt="k-clear-value",eo=[a.disabled,a.loading,a.readonly],to={},H=t=>{let{disabled:e,loading:o,readonly:s,value:n}=t;return e||s||o||!n?(0,F.jsx)(F.Fragment,{}):(0,F.jsx)("span",{className:i(t.className,nt),children:(0,F.jsx)(f,{icon:"x"})})};H.states=eo;H.options=to;H.className=nt;var at=require("react/jsx-runtime"),Ae="k-input-inner",oo=[],no={},xe={type:"text",autocomplete:"off",value:"",placeholder:""},z=t=>{let{value:e=xe.value,type:o=xe.type,placeholder:s=xe.placeholder,autocomplete:n=xe.autocomplete,disabled:d,readOnly:c,...u}=t;return(0,at.jsx)("input",{...u,type:o,className:i(t.className,Ae,N(Ae,t)),placeholder:s,autoComplete:n,defaultValue:e,disabled:d||void 0,readOnly:c||void 0})};z.states=oo;z.options=no;z.className=Ae;var j=require("react/jsx-runtime"),Pe="k-input-inner",ao=[],so={},we=t=>{let{value:e,placeholder:o,showValue:s,valueIcon:n,valueIconName:d,...c}=t;return(0,j.jsxs)("span",{...c,className:i(t.className,Pe,N(Pe,t)),children:[n,!n&&d&&(0,j.jsx)(f,{className:"k-input-value-icon",icon:d}),s&&!e&&o,s&&e&&(0,j.jsx)("span",{className:"k-input-value-text",children:e})]})};we.states=ao;we.options=so;we.className=Pe;var rt=require("react/jsx-runtime"),Be="k-input-inner",ro=[],io={},st={value:"",placeholder:""},_e=t=>{let{value:e=st.value,placeholder:o=st.placeholder,rows:s,disabled:n,...d}=t;return(0,rt.jsx)("textarea",{...d,className:i(t.className,Be,N(Be,t)),placeholder:o,rows:s,defaultValue:e,disabled:n||void 0})};_e.states=ro;_e.options=io;_e.className=Be;var ee=require("react/jsx-runtime"),it="k-input-loading-icon",lo=[a.disabled,a.loading],X=t=>{let{disabled:e,loading:o}=t;return e||!o?(0,ee.jsx)(ee.Fragment,{}):(0,ee.jsx)("span",{className:i(t.className,it,"k-icon k-i-loading")})};X.states=lo;X.className=it;var te=require("react/jsx-runtime"),lt="k-input-validation-icon",co=[a.valid,a.invalid,a.disabled,a.loading],po={},V=t=>{let{valid:e,invalid:o,disabled:s,loading:n}=t,d=o?"warning-circle":"check-circle";return s||n||!!!(e||o)?(0,te.jsx)(te.Fragment,{}):(0,te.jsx)(f,{className:i(lt),icon:d})};V.states=co;V.options=po;V.className=lt;var oe=require("react/jsx-runtime"),uo="k-input-prefix",mo={direction:"horizontal"},be=t=>{let{direction:e=mo.direction,...o}=t;return t.children?(0,oe.jsx)("span",{...o,className:i(uo,t.className,{[`k-input-prefix-${e}`]:e}),children:t.children}):(0,oe.jsx)(oe.Fragment,{})};var ne=require("react/jsx-runtime"),fo="k-input-suffix",xo={direction:"horizontal"},he=t=>{let{direction:e=xo.direction,...o}=t;return t.children?(0,ne.jsx)("span",{...o,className:i(fo,t.className,{[`k-input-suffix-${e}`]:e}),children:t.children}):(0,ne.jsx)(ne.Fragment,{})};var bo=require("react/jsx-runtime");var ho=require("react/jsx-runtime");var ct=require("react/jsx-runtime"),dt="k-input-separator",No={direction:"vertical"},q=t=>{let{direction:e=No.direction,...o}=t;return(0,ct.jsx)("span",{...o,className:i(dt,t.className,{[`${dt}-${e}`]:e})})};var b=require("react/jsx-runtime"),go=S.states,vo=S.defaultOptions,Io=S.options,ko=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],To=[],ae=t=>{let{modifiers:e,valid:o,invalid:s,loading:n,disabled:d,readonly:c,...u}=t,h=e==null?void 0:e.prefix,v=e==null?void 0:e.suffix,y=e==null?void 0:e["clear-button"],k=e==null?void 0:e["validation-icon"],A=e==null?void 0:e.separators;return(0,b.jsxs)(S,{...u,valid:o,invalid:s,loading:n,disabled:d,readonly:c,style:{width:300},children:[h&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(be,{children:(0,b.jsx)(f,{icon:"lock"})}),A&&(0,b.jsx)(q,{})]}),(0,b.jsx)(z,{placeholder:"Placeholder",value:"Value"}),k&&(0,b.jsx)(V,{valid:o,invalid:s,loading:n,disabled:d}),(0,b.jsx)(X,{loading:n,disabled:d}),y&&(0,b.jsx)(H,{loading:n,disabled:d,readonly:c,value:"Value"}),v&&(0,b.jsxs)(b.Fragment,{children:[A&&(0,b.jsx)(q,{}),(0,b.jsx)(he,{children:(0,b.jsx)(R,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};ae.options=Io;ae.states=go;ae.variants=To;ae.defaultOptions=vo;ae.modifiers=ko;var g=require("react/jsx-runtime"),pt="k-textbox",yo=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],So={size:[l.undefined,l.small,l.medium,l.large],rounded:[p.undefined,p.none,p.small,p.medium,p.large,p.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Ne={showClearButton:!0,showValidationIcon:!0,separators:!0},T=t=>{let{size:e,rounded:o,fillMode:s,separators:n=Ne.separators,showClearButton:d=Ne.showClearButton,showValidationIcon:c=Ne.showValidationIcon,prefix:u,suffix:h,type:v,value:y,placeholder:k,hover:A,focus:D,valid:U,invalid:O,required:L,loading:M,disabled:_,readonly:ie,id:Ie,"aria-label":ke,"aria-describedby":kt,...Tt}=t;return(0,g.jsxs)(S,{...Tt,size:e,rounded:o,fillMode:s,hover:A,focus:D,valid:U,invalid:O,required:L,loading:M,disabled:_,readonly:ie,className:i(t.className,pt),children:[u&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(be,{children:u}),n&&(0,g.jsx)(q,{})]}),(0,g.jsx)(z,{id:Ie,placeholder:k,value:y,type:v,disabled:_,"aria-label":ke,"aria-describedby":kt,"aria-invalid":O?"true":void 0}),c&&(0,g.jsx)(V,{valid:U,invalid:O,loading:M,disabled:_}),(0,g.jsx)(X,{loading:M,disabled:_}),d&&(0,g.jsx)(H,{loading:M,disabled:_,readonly:ie,value:y}),h&&(0,g.jsxs)(g.Fragment,{children:[n&&(0,g.jsx)(q,{}),(0,g.jsx)(he,{children:h})]})]})};T.states=yo;T.options=So;T.className=pt;T.defaultOptions=Ne;T.moduleName=Le;T.folderName=et;T.ariaSpec={selector:".k-textbox",rules:[{selector:".k-textbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-textbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-textbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the TextBox is in an invalid state."},{selector:".k-textbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the input."},{selector:".k-textbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the TextBox is disabled."}]};var se=T;var mt=require("react/jsx-runtime"),ut=t=>(0,mt.jsx)(se,{...t});var ft=require("react/jsx-runtime");var xt=require("react/jsx-runtime");var Mo=require("react/jsx-runtime");var ge=require("react/jsx-runtime"),Co=T.states,Oo=T.defaultOptions,Eo=T.options,Lo=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Ao=[],re=t=>{let{modifiers:e,...o}=t,s={};return Object.keys(e||{}).forEach(n=>{switch(n){case"prefix":s.prefix=e!=null&&e[n]?(0,ge.jsx)(f,{icon:"lock"}):void 0;break;case"suffix":s.suffix=e!=null&&e[n]?(0,ge.jsx)(R,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":s.showClearButton=e==null?void 0:e[n];break;default:break}}),(0,ge.jsx)(ut,{value:"Value",style:{width:300},...o,...s})};re.options=Eo;re.states=Co;re.variants=Ao;re.defaultOptions=Oo;re.modifiers=Lo;var Ke="skeleton",bt=Ke;var ht=require("react/jsx-runtime"),Re="k-skeleton",Po=["circle","text","rect"],wo=[],Bo={},He={variant:"text",shape:"text",animation:"pulse"},C=t=>{let{variant:e,shape:o,animation:s=He.animation,...n}=t,d=`skeleton-${e||o||He.variant}`;return(0,ht.jsx)("span",{...n,className:i(t.className,Re,de(Re,d),{[`k-skeleton-${s}`]:s}),style:t.style})};C.states=wo;C.options=Bo;C.variants=Po;C.className=Re;C.defaultOptions=He;C.moduleName=Ke;C.folderName=bt;C.ariaSpec={selector:".k-skeleton",rules:[]};var _o=require("react/jsx-runtime");var gt=require("react/jsx-runtime"),Nt=t=>(0,gt.jsx)(C,{shape:"rect",...t});var Ko=require("react/jsx-runtime");var ze="captcha",vt=ze;var I=require("react/jsx-runtime"),ve="k-captcha",Ro=[a.loading,a.valid,a.invalid,a.disabled],Ho={},It={imgPath:"/packages/html/assets/captcha.jpg"},B=t=>{let{value:e,valid:o,invalid:s,loading:n,disabled:d,imgPath:c=It.imgPath,...u}=t;return(0,I.jsxs)("div",{...u,className:i(t.className,ve,w(ve,{disabled:d}),{"k-captcha-loading":n}),children:[(0,I.jsxs)("div",{className:"k-captcha-image-wrap k-hstack",children:[(0,I.jsxs)("div",{className:"k-captcha-image",children:[(0,I.jsx)("img",{className:i({"k-hidden":n}),src:c}),n&&(0,I.jsx)(Nt,{style:{width:"100%",height:"100%"}})]}),(0,I.jsxs)("div",{className:"k-captcha-image-controls k-vstack",children:[(0,I.jsx)(x,{icon:"volume-up",disabled:n===!0}),(0,I.jsx)(x,{icon:"arrow-rotate-cw",disabled:n===!0})]}),(0,I.jsx)("div",{className:"k-captcha-volume-control k-vstack k-pos-absolute k-hidden",children:(0,I.jsx)("div",{className:"k-slider k-slider-vertical"})})]}),(0,I.jsxs)("div",{className:"k-captcha-input k-vstack",children:[(0,I.jsx)(T,{value:e,valid:o,invalid:s,disabled:n===!0}),o&&!n&&(0,I.jsx)("span",{className:"k-captcha-validation-message !k-text-success",children:"Verification Success"})]})]})};B.states=Ro;B.options=Ho;B.className=ve;B.defaultOptions=It;B.moduleName=ze;B.folderName=vt;var zo=B;
@@ -1 +1 @@
1
- var Ot=Object.create;var de=Object.defineProperty;var Et=Object.getOwnPropertyDescriptor;var Lt=Object.getOwnPropertyNames;var At=Object.getPrototypeOf,Pt=Object.prototype.hasOwnProperty;var wt=(t,e)=>{for(var o in e)de(t,o,{get:e[o],enumerable:!0})},De=(t,e,o,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Lt(e))!Pt.call(t,n)&&n!==o&&de(t,n,{get:()=>e[n],enumerable:!(s=Et(e,n))||s.enumerable});return t};var Bt=(t,e,o)=>(o=t!=null?Ot(At(t)):{},De(e||!t||!t.__esModule?de(o,"default",{value:t,enumerable:!0}):o,t)),_t=t=>De(de({},"__esModule",{value:!0}),t);var Yo={};wt(Yo,{CaptchaDemo:()=>D,default:()=>Jo});module.exports=_t(Yo);var i=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?i(...e):typeof e=="object"?Object.keys(e).map((o,s)=>e[s]||e[o]&&o||null).filter(o=>o!==null).join(" "):e).filter(e=>!!e).join(" ");var N=(t,e)=>i({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.themeColor}`]:e.themeColor},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full","k-rounded-none":e.rounded==="none"}),B=(t,e)=>{let{valid:o,invalid:s,hover:n,focus:d,checked:p,active:u,selected:h,disabled:v,indeterminate:y,loading:I,empty:P,readonly:U,highlighted:$,...E}=e;return i({"k-valid":o,"k-invalid":s,"k-hover":n,"k-focus":d,"k-checked":p,"k-active":u,"k-selected":h,"k-disabled":v,"k-indeterminate":y&&!p,"k-loading":I,"k-empty":P,"k-readonly":U,"k-highlighted":$},Object.keys(E).reduce((A,M)=>(M.startsWith("k-")?A[M]=E[M]:A[`k-${M}`]=E[M],A),{}))};function pe(t,e){if(!e)return{};let o=Array.isArray(e)?e:[e];return Object.fromEntries(o.map(s=>[`k-${s}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},c={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},m={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},r={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},a={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var J=require("react/jsx-runtime"),Te="k-font-icon",Kt=[],Rt={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info,r.light,r.dark]},Ht={},Y=t=>{let{size:e,themeColor:o,icon:s,rotate:n,flip:d,...p}=t;return s?(0,J.jsx)("span",{...p,className:i(t.className,Te,N(Te,{size:e}),{[`k-i-${s}`]:s,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":d==="h"||d==="both","k-flip-v":d==="v"||d==="both"}),"aria-hidden":"true"}):(0,J.jsx)(J.Fragment,{})};Y.states=Kt;Y.options=Rt;Y.className=Te;Y.defaultOptions=Ht;var Ue=Y;var K=require("react/jsx-runtime"),ye="k-svg-icon",zt=[],Vt={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info,r.light,r.dark]},$e={viewBox:"0 0 24 24"},W=t=>{let{size:e,themeColor:o,rotate:s,flip:n,viewBox:d=$e.viewBox,icon:p,...u}=t;if(!p)return(0,K.jsx)(K.Fragment,{});if(p==="none")return(0,K.jsx)("span",{...u,className:i(t.className,ye,N("k-icon",{size:e}),"k-none"),"aria-hidden":"true"});let h=typeof p=="object"&&p.name&&p.name;return(0,K.jsx)("span",{...u,className:i(t.className,ye,N("k-icon",{size:e}),{[`k-svg-i-${h}`]:h,[`k-color-${o}`]:o,[`k-rotate-${s}`]:s,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:(0,K.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof p=="object"?p.viewBox:d,dangerouslySetInnerHTML:typeof p=="object"?{__html:p.content}:void 0,children:p?void 0:t.children})})};W.states=zt;W.options=Vt;W.className=ye;W.defaultOptions=$e;var Se=W;var Me=Bt(require("@progress/kendo-svg-icons"));var Fe="icon",Xe="icons";var Je=require("react");var qe=require("react"),Ge=(0,qe.createContext)({iconsType:"svg"});var w=require("react/jsx-runtime"),ce="k-icon",Dt=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),Ut=[],$t={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info,r.light,r.dark]},Ce={viewBox:"0 0 24 24",type:"svg"},f=t=>{let{iconsType:e}=(0,Je.useContext)(Ge),{size:o,themeColor:s,icon:n,type:d=e||Ce.type,rotate:p,flip:u,viewBox:h=Ce.viewBox,...v}=t;if(!n)return(0,w.jsx)(w.Fragment,{});if((e||d)==="svg"){if(n==="none")return(0,w.jsx)(Se,{...v,className:i(t.className,ce),icon:n,size:o});let I=Me[n]?n:Dt(`${n}-icon`);return Me[I]?(0,w.jsx)(Se,{...v,className:i(t.className,ce),icon:Me[I],size:o,themeColor:s,rotate:p,flip:u,viewBox:h}):(0,w.jsx)(w.Fragment,{})}return(0,w.jsx)(Ue,{...v,className:i(t.className,ce),icon:n,size:o,themeColor:s,rotate:p,flip:u})};f.states=Ut;f.options=$t;f.defaultOptions=Ce;f.className=ce;f.moduleName=Fe;f.folderName=Xe;f.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var Oe="button",Ye=Oe;var L=require("react/jsx-runtime"),Q="k-button",Ft=["icon-button"],Xt=[a.hover,a.focus,a.active,a.selected,a.disabled,a.generating],qt={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info,r.light,r.dark,r.inverse]},Ee={showArrow:!1,arrowIconName:"caret-alt-down"},x=t=>{let{as:e="button",size:o,rounded:s,fillMode:n,themeColor:d,showArrow:p=Ee.showArrow,arrowIconName:u=Ee.arrowIconName,variant:h,hover:v,focus:y,active:I,selected:P,disabled:U,togglable:$,icon:E,text:A,iconClassName:M,className:_,...le}=t,ke=E!==void 0,Ie=t.children!==void 0;return(0,L.jsxs)(e,{className:i(_,Q,pe(Q,h),N(Q,{size:o,rounded:s,fillMode:n,themeColor:d}),B(Q,{hover:v,focus:y,active:I,disabled:U,selected:P}),{"k-icon-button":!A&&!Ie&&ke}),...le,"aria-pressed":$?P?"true":"false":void 0,disabled:U||void 0,children:[E&&(0,L.jsx)(f,{className:i(M,"k-button-icon"),icon:E}),A?(0,L.jsxs)(L.Fragment,{children:[A&&(0,L.jsx)("span",{className:"k-button-text",children:A}),t.children]}):t.children&&(0,L.jsx)("span",{className:"k-button-text",children:t.children}),p&&(0,L.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,L.jsx)(f,{icon:u})})]})};x.states=Xt;x.options=qt;x.variants=Ft;x.className=Q;x.defaultOptions=Ee;x.moduleName=Oe;x.folderName=Ye;x.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};var Qe=require("react/jsx-runtime"),We=t=>(0,Qe.jsx)(x,{icon:"folder",...t,"aria-label":t["aria-label"]||"Folder",children:void 0});var je=require("react/jsx-runtime"),Ze=t=>(0,je.jsx)(x,{icon:"folder",children:"Button",...t});var et=require("react/jsx-runtime"),R=t=>(0,et.jsx)(x,{children:"Button",...t});var ue=require("react/jsx-runtime"),Gt=x.options,Jt=x.states,Yt={...x.defaultOptions,variant:"text"},Wt=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Qt=[],Z=t=>{let{variant:e,...o}=t;switch(e){case"icon-only":return(0,ue.jsx)(We,{...o,icon:"star"});case"icon-and-text":return(0,ue.jsx)(Ze,{...o,icon:"star",children:"Button"});default:return(0,ue.jsx)(R,{...o,children:"Button"})}};Z.options=Gt;Z.states=Jt;Z.variants=Wt;Z.defaultOptions=Yt;Z.modifiers=Qt;var Le="textbox",tt=Le;var j="input",me=j;var ot=require("react/jsx-runtime"),fe="k-input",Zt=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],jt={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},eo={},S=t=>{let{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:p,readonly:u,size:h,rounded:v,fillMode:y,...I}=t;return(0,ot.jsx)("span",{...I,className:i(t.className,fe,N(fe,{size:h,rounded:v,fillMode:y}),B(fe,{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:p,readonly:u}))})};S.states=Zt;S.options=jt;S.className=fe;S.defaultOptions=eo;S.moduleName=j;S.folderName=me;var nt=require("react/jsx-runtime"),xe="k-picker",to=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],oo={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},no={},F=t=>{let{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:p,readonly:u,size:h,rounded:v,fillMode:y,...I}=t;return(0,nt.jsx)("span",{...I,className:i(t.className,xe,N(xe,{size:h,rounded:v,fillMode:y}),B(xe,{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:p,readonly:u})),children:t.children})};F.states=to;F.options=oo;F.className=xe;F.defaultOptions=no;F.moduleName=j;F.folderName=me;var X=require("react/jsx-runtime"),at="k-clear-value",ao=[a.disabled,a.loading,a.readonly],so={},H=t=>{let{disabled:e,loading:o,readonly:s,value:n}=t;return e||s||o||!n?(0,X.jsx)(X.Fragment,{}):(0,X.jsx)("span",{className:i(t.className,at),children:(0,X.jsx)(f,{icon:"x"})})};H.states=ao;H.options=so;H.className=at;var st=require("react/jsx-runtime"),Ae="k-input-inner",ro=[],io={},be={type:"text",autocomplete:"off",value:"",placeholder:""},z=t=>{let{value:e=be.value,type:o=be.type,placeholder:s=be.placeholder,autocomplete:n=be.autocomplete,disabled:d,readOnly:p,...u}=t;return(0,st.jsx)("input",{...u,type:o,className:i(t.className,Ae,N(Ae,t)),placeholder:s,autoComplete:n,defaultValue:e,disabled:d||void 0,readOnly:p||void 0})};z.states=ro;z.options=io;z.className=Ae;var ee=require("react/jsx-runtime"),Pe="k-input-inner",lo=[],po={},we=t=>{let{value:e,placeholder:o,showValue:s,valueIcon:n,valueIconName:d,...p}=t;return(0,ee.jsxs)("span",{...p,className:i(t.className,Pe,N(Pe,t)),children:[n,!n&&d&&(0,ee.jsx)(f,{className:"k-input-value-icon",icon:d}),s&&!e&&o,s&&e&&(0,ee.jsx)("span",{className:"k-input-value-text",children:e})]})};we.states=lo;we.options=po;we.className=Pe;var it=require("react/jsx-runtime"),Be="k-input-inner",co=[],uo={},rt={value:"",placeholder:""},_e=t=>{let{value:e=rt.value,placeholder:o=rt.placeholder,rows:s,disabled:n,...d}=t;return(0,it.jsx)("textarea",{...d,className:i(t.className,Be,N(Be,t)),placeholder:o,rows:s,defaultValue:e,disabled:n||void 0})};_e.states=co;_e.options=uo;_e.className=Be;var te=require("react/jsx-runtime"),lt="k-input-loading-icon",mo=[a.disabled,a.loading],q=t=>{let{disabled:e,loading:o}=t;return e||!o?(0,te.jsx)(te.Fragment,{}):(0,te.jsx)("span",{className:i(t.className,lt,"k-icon k-i-loading")})};q.states=mo;q.className=lt;var oe=require("react/jsx-runtime"),dt="k-input-validation-icon",fo=[a.valid,a.invalid,a.disabled,a.loading],xo={},V=t=>{let{valid:e,invalid:o,disabled:s,loading:n}=t,d=o?"warning-circle":"check-circle";return s||n||!!!(e||o)?(0,oe.jsx)(oe.Fragment,{}):(0,oe.jsx)(f,{className:i(dt),icon:d})};V.states=fo;V.options=xo;V.className=dt;var ne=require("react/jsx-runtime"),bo="k-input-prefix",ho={direction:"horizontal"},he=t=>{let{direction:e=ho.direction,...o}=t;return t.children?(0,ne.jsx)("span",{...o,className:i(bo,t.className,{[`k-input-prefix-${e}`]:e}),children:t.children}):(0,ne.jsx)(ne.Fragment,{})};var ae=require("react/jsx-runtime"),No="k-input-suffix",go={direction:"horizontal"},Ne=t=>{let{direction:e=go.direction,...o}=t;return t.children?(0,ae.jsx)("span",{...o,className:i(No,t.className,{[`k-input-suffix-${e}`]:e}),children:t.children}):(0,ae.jsx)(ae.Fragment,{})};var vo=require("react/jsx-runtime");var ko=require("react/jsx-runtime");var ct=require("react/jsx-runtime"),pt="k-input-separator",Io={direction:"vertical"},G=t=>{let{direction:e=Io.direction,...o}=t;return(0,ct.jsx)("span",{...o,className:i(pt,t.className,{[`${pt}-${e}`]:e})})};var b=require("react/jsx-runtime"),To=S.states,yo=S.defaultOptions,So=S.options,Mo=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Co=[],se=t=>{let{modifiers:e,valid:o,invalid:s,loading:n,disabled:d,readonly:p,...u}=t,h=e==null?void 0:e.prefix,v=e==null?void 0:e.suffix,y=e==null?void 0:e["clear-button"],I=e==null?void 0:e["validation-icon"],P=e==null?void 0:e.separators;return(0,b.jsxs)(S,{...u,valid:o,invalid:s,loading:n,disabled:d,readonly:p,style:{width:300},children:[h&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(he,{children:(0,b.jsx)(f,{icon:"lock"})}),P&&(0,b.jsx)(G,{})]}),(0,b.jsx)(z,{placeholder:"Placeholder",value:"Value"}),I&&(0,b.jsx)(V,{valid:o,invalid:s,loading:n,disabled:d}),(0,b.jsx)(q,{loading:n,disabled:d}),y&&(0,b.jsx)(H,{loading:n,disabled:d,readonly:p,value:"Value"}),v&&(0,b.jsxs)(b.Fragment,{children:[P&&(0,b.jsx)(G,{}),(0,b.jsx)(Ne,{children:(0,b.jsx)(R,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};se.options=So;se.states=To;se.variants=Co;se.defaultOptions=yo;se.modifiers=Mo;var g=require("react/jsx-runtime"),ut="k-textbox",Oo=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Eo={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},ge={showClearButton:!0,showValidationIcon:!0,separators:!0},T=t=>{let{size:e,rounded:o,fillMode:s,separators:n=ge.separators,showClearButton:d=ge.showClearButton,showValidationIcon:p=ge.showValidationIcon,prefix:u,suffix:h,type:v,value:y,placeholder:I,hover:P,focus:U,valid:$,invalid:E,required:A,loading:M,disabled:_,readonly:le,id:ke,"aria-label":Ie,"aria-describedby":Mt,...Ct}=t;return(0,g.jsxs)(S,{...Ct,size:e,rounded:o,fillMode:s,hover:P,focus:U,valid:$,invalid:E,required:A,loading:M,disabled:_,readonly:le,className:i(t.className,ut),children:[u&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(he,{children:u}),n&&(0,g.jsx)(G,{})]}),(0,g.jsx)(z,{id:ke,placeholder:I,value:y,type:v,disabled:_,"aria-label":Ie,"aria-describedby":Mt,"aria-invalid":E?"true":void 0}),p&&(0,g.jsx)(V,{valid:$,invalid:E,loading:M,disabled:_}),(0,g.jsx)(q,{loading:M,disabled:_}),d&&(0,g.jsx)(H,{loading:M,disabled:_,readonly:le,value:y}),h&&(0,g.jsxs)(g.Fragment,{children:[n&&(0,g.jsx)(G,{}),(0,g.jsx)(Ne,{children:h})]})]})};T.states=Oo;T.options=Eo;T.className=ut;T.defaultOptions=ge;T.moduleName=Le;T.folderName=tt;T.ariaSpec={selector:".k-textbox",rules:[{selector:".k-textbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-textbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-textbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the TextBox is in an invalid state."},{selector:".k-textbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the input."},{selector:".k-textbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the TextBox is disabled."}]};var re=T;var ft=require("react/jsx-runtime"),mt=t=>(0,ft.jsx)(re,{...t});var xt=require("react/jsx-runtime");var bt=require("react/jsx-runtime");var Lo=require("react/jsx-runtime");var ve=require("react/jsx-runtime"),Ao=T.states,Po=T.defaultOptions,wo=T.options,Bo=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],_o=[],ie=t=>{let{modifiers:e,...o}=t,s={};return Object.keys(e||{}).forEach(n=>{switch(n){case"prefix":s.prefix=e!=null&&e[n]?(0,ve.jsx)(f,{icon:"lock"}):void 0;break;case"suffix":s.suffix=e!=null&&e[n]?(0,ve.jsx)(R,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":s.showClearButton=e==null?void 0:e[n];break;default:break}}),(0,ve.jsx)(mt,{value:"Value",style:{width:300},...o,...s})};ie.options=wo;ie.states=Ao;ie.variants=_o;ie.defaultOptions=Po;ie.modifiers=Bo;var Ke="skeleton",ht=Ke;var Nt=require("react/jsx-runtime"),Re="k-skeleton",Ko=["circle","text","rect"],Ro=[],Ho={},He={variant:"text",shape:"text",animation:"pulse"},C=t=>{let{variant:e,shape:o,animation:s=He.animation,...n}=t,d=`skeleton-${e||o||He.variant}`;return(0,Nt.jsx)("span",{...n,className:i(t.className,Re,pe(Re,d),{[`k-skeleton-${s}`]:s}),style:t.style})};C.states=Ro;C.options=Ho;C.variants=Ko;C.className=Re;C.defaultOptions=He;C.moduleName=Ke;C.folderName=ht;C.ariaSpec={selector:".k-skeleton",rules:[]};var zo=require("react/jsx-runtime");var vt=require("react/jsx-runtime"),gt=t=>(0,vt.jsx)(C,{shape:"rect",...t});var Vo=require("react/jsx-runtime");var ze="captcha",kt=ze;var k=require("react/jsx-runtime"),Ve="k-captcha",Do=[a.loading,a.valid,a.invalid,a.disabled],Uo={},It={imgPath:"/packages/html/assets/captcha.jpg"},O=t=>{let{value:e,valid:o,invalid:s,loading:n,disabled:d,imgPath:p=It.imgPath,...u}=t;return(0,k.jsxs)("div",{...u,className:i(t.className,Ve,B(Ve,{disabled:d}),{"k-captcha-loading":n}),children:[(0,k.jsxs)("div",{className:"k-captcha-image-wrap k-hstack",children:[(0,k.jsxs)("div",{className:"k-captcha-image",children:[(0,k.jsx)("img",{className:i({"k-hidden":n}),src:p}),n&&(0,k.jsx)(gt,{style:{width:"100%",height:"100%"}})]}),(0,k.jsxs)("div",{className:"k-captcha-image-controls k-vstack",children:[(0,k.jsx)(x,{icon:"volume-up",disabled:n===!0}),(0,k.jsx)(x,{icon:"arrow-rotate-cw",disabled:n===!0})]}),(0,k.jsx)("div",{className:"k-captcha-volume-control k-vstack k-pos-absolute k-hidden",children:(0,k.jsx)("div",{className:"k-widget k-slider k-slider-vertical"})})]}),(0,k.jsxs)("div",{className:"k-captcha-input k-vstack",children:[(0,k.jsx)(T,{value:e,valid:o,invalid:s,disabled:n===!0}),o&&!n&&(0,k.jsx)("span",{className:"k-captcha-validation-message !k-text-success",children:"Verification Success"})]})]})};O.states=Do;O.options=Uo;O.className=Ve;O.defaultOptions=It;O.moduleName=ze;O.folderName=kt;var yt=require("react/jsx-runtime"),Tt=t=>(0,yt.jsx)(O,{value:"YR890",...t});var St=require("react/jsx-runtime"),$o=O.options,Fo=[],Xo=O.states,qo=O.defaultOptions,Go=[],D=t=>(0,St.jsx)(Tt,{value:"YGRX7",imgPath:"https://demos.telerik.com/kendo-ui/content/captcha/81baf680-1778-48ad-938a-ff6fe97842f7.png",...t});D.options=$o;D.states=Xo;D.variants=Fo;D.defaultOptions=qo;D.modifiers=Go;var Jo=D;
1
+ var Ot=Object.create;var de=Object.defineProperty;var Et=Object.getOwnPropertyDescriptor;var Lt=Object.getOwnPropertyNames;var At=Object.getPrototypeOf,Pt=Object.prototype.hasOwnProperty;var wt=(t,e)=>{for(var o in e)de(t,o,{get:e[o],enumerable:!0})},De=(t,e,o,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Lt(e))!Pt.call(t,n)&&n!==o&&de(t,n,{get:()=>e[n],enumerable:!(s=Et(e,n))||s.enumerable});return t};var Bt=(t,e,o)=>(o=t!=null?Ot(At(t)):{},De(e||!t||!t.__esModule?de(o,"default",{value:t,enumerable:!0}):o,t)),_t=t=>De(de({},"__esModule",{value:!0}),t);var Yo={};wt(Yo,{CaptchaDemo:()=>D,default:()=>Jo});module.exports=_t(Yo);var i=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?i(...e):typeof e=="object"?Object.keys(e).map((o,s)=>e[s]||e[o]&&o||null).filter(o=>o!==null).join(" "):e).filter(e=>!!e).join(" ");var N=(t,e)=>i({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.themeColor}`]:e.themeColor},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full","k-rounded-none":e.rounded==="none"}),B=(t,e)=>{let{valid:o,invalid:s,hover:n,focus:d,checked:p,active:u,selected:h,disabled:v,indeterminate:y,loading:I,empty:P,readonly:U,highlighted:$,...E}=e;return i({"k-valid":o,"k-invalid":s,"k-hover":n,"k-focus":d,"k-checked":p,"k-active":u,"k-selected":h,"k-disabled":v,"k-indeterminate":y&&!p,"k-loading":I,"k-empty":P,"k-readonly":U,"k-highlighted":$},Object.keys(E).reduce((A,M)=>(M.startsWith("k-")?A[M]=E[M]:A[`k-${M}`]=E[M],A),{}))};function pe(t,e){if(!e)return{};let o=Array.isArray(e)?e:[e];return Object.fromEntries(o.map(s=>[`k-${s}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},c={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},m={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},r={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},a={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var J=require("react/jsx-runtime"),Te="k-font-icon",Kt=[],Rt={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info,r.light,r.dark]},Ht={},Y=t=>{let{size:e,themeColor:o,icon:s,rotate:n,flip:d,...p}=t;return s?(0,J.jsx)("span",{...p,className:i(t.className,Te,N(Te,{size:e}),{[`k-i-${s}`]:s,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":d==="h"||d==="both","k-flip-v":d==="v"||d==="both"}),"aria-hidden":"true"}):(0,J.jsx)(J.Fragment,{})};Y.states=Kt;Y.options=Rt;Y.className=Te;Y.defaultOptions=Ht;var Ue=Y;var K=require("react/jsx-runtime"),ye="k-svg-icon",zt=[],Vt={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info,r.light,r.dark]},$e={viewBox:"0 0 24 24"},W=t=>{let{size:e,themeColor:o,rotate:s,flip:n,viewBox:d=$e.viewBox,icon:p,...u}=t;if(!p)return(0,K.jsx)(K.Fragment,{});if(p==="none")return(0,K.jsx)("span",{...u,className:i(t.className,ye,N("k-icon",{size:e}),"k-none"),"aria-hidden":"true"});let h=typeof p=="object"&&p.name&&p.name;return(0,K.jsx)("span",{...u,className:i(t.className,ye,N("k-icon",{size:e}),{[`k-svg-i-${h}`]:h,[`k-color-${o}`]:o,[`k-rotate-${s}`]:s,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:(0,K.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof p=="object"?p.viewBox:d,dangerouslySetInnerHTML:typeof p=="object"?{__html:p.content}:void 0,children:p?void 0:t.children})})};W.states=zt;W.options=Vt;W.className=ye;W.defaultOptions=$e;var Se=W;var Me=Bt(require("@progress/kendo-svg-icons"));var Fe="icon",Xe="icons";var Je=require("react");var qe=require("react"),Ge=(0,qe.createContext)({iconsType:"svg"});var w=require("react/jsx-runtime"),ce="k-icon",Dt=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),Ut=[],$t={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info,r.light,r.dark]},Ce={viewBox:"0 0 24 24",type:"svg"},f=t=>{let{iconsType:e}=(0,Je.useContext)(Ge),{size:o,themeColor:s,icon:n,type:d=e||Ce.type,rotate:p,flip:u,viewBox:h=Ce.viewBox,...v}=t;if(!n)return(0,w.jsx)(w.Fragment,{});if((e||d)==="svg"){if(n==="none")return(0,w.jsx)(Se,{...v,className:i(t.className,ce),icon:n,size:o});let I=Me[n]?n:Dt(`${n}-icon`);return Me[I]?(0,w.jsx)(Se,{...v,className:i(t.className,ce),icon:Me[I],size:o,themeColor:s,rotate:p,flip:u,viewBox:h}):(0,w.jsx)(w.Fragment,{})}return(0,w.jsx)(Ue,{...v,className:i(t.className,ce),icon:n,size:o,themeColor:s,rotate:p,flip:u})};f.states=Ut;f.options=$t;f.defaultOptions=Ce;f.className=ce;f.moduleName=Fe;f.folderName=Xe;f.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var Oe="button",Ye=Oe;var L=require("react/jsx-runtime"),Q="k-button",Ft=["icon-button"],Xt=[a.hover,a.focus,a.active,a.selected,a.disabled,a.generating],qt={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info,r.light,r.dark,r.inverse]},Ee={showArrow:!1,arrowIconName:"caret-alt-down"},x=t=>{let{as:e="button",size:o,rounded:s,fillMode:n,themeColor:d,showArrow:p=Ee.showArrow,arrowIconName:u=Ee.arrowIconName,variant:h,hover:v,focus:y,active:I,selected:P,disabled:U,togglable:$,icon:E,text:A,iconClassName:M,className:_,...le}=t,ke=E!==void 0,Ie=t.children!==void 0;return(0,L.jsxs)(e,{className:i(_,Q,pe(Q,h),N(Q,{size:o,rounded:s,fillMode:n,themeColor:d}),B(Q,{hover:v,focus:y,active:I,disabled:U,selected:P}),{"k-icon-button":!A&&!Ie&&ke}),...le,"aria-pressed":$?P?"true":"false":void 0,disabled:U||void 0,children:[E&&(0,L.jsx)(f,{className:i(M,"k-button-icon"),icon:E}),A?(0,L.jsxs)(L.Fragment,{children:[A&&(0,L.jsx)("span",{className:"k-button-text",children:A}),t.children]}):t.children&&(0,L.jsx)("span",{className:"k-button-text",children:t.children}),p&&(0,L.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,L.jsx)(f,{icon:u})})]})};x.states=Xt;x.options=qt;x.variants=Ft;x.className=Q;x.defaultOptions=Ee;x.moduleName=Oe;x.folderName=Ye;x.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};var Qe=require("react/jsx-runtime"),We=t=>(0,Qe.jsx)(x,{icon:"folder",...t,"aria-label":t["aria-label"]||"Folder",children:void 0});var je=require("react/jsx-runtime"),Ze=t=>(0,je.jsx)(x,{icon:"folder",children:"Button",...t});var et=require("react/jsx-runtime"),R=t=>(0,et.jsx)(x,{children:"Button",...t});var ue=require("react/jsx-runtime"),Gt=x.options,Jt=x.states,Yt={...x.defaultOptions,variant:"text"},Wt=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Qt=[],Z=t=>{let{variant:e,...o}=t;switch(e){case"icon-only":return(0,ue.jsx)(We,{...o,icon:"star"});case"icon-and-text":return(0,ue.jsx)(Ze,{...o,icon:"star",children:"Button"});default:return(0,ue.jsx)(R,{...o,children:"Button"})}};Z.options=Gt;Z.states=Jt;Z.variants=Wt;Z.defaultOptions=Yt;Z.modifiers=Qt;var Le="textbox",tt=Le;var j="input",me=j;var ot=require("react/jsx-runtime"),fe="k-input",Zt=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],jt={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},eo={},S=t=>{let{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:p,readonly:u,size:h,rounded:v,fillMode:y,...I}=t;return(0,ot.jsx)("span",{...I,className:i(t.className,fe,N(fe,{size:h,rounded:v,fillMode:y}),B(fe,{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:p,readonly:u}))})};S.states=Zt;S.options=jt;S.className=fe;S.defaultOptions=eo;S.moduleName=j;S.folderName=me;var nt=require("react/jsx-runtime"),xe="k-picker",to=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],oo={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},no={},F=t=>{let{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:p,readonly:u,size:h,rounded:v,fillMode:y,...I}=t;return(0,nt.jsx)("span",{...I,className:i(t.className,xe,N(xe,{size:h,rounded:v,fillMode:y}),B(xe,{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:p,readonly:u})),children:t.children})};F.states=to;F.options=oo;F.className=xe;F.defaultOptions=no;F.moduleName=j;F.folderName=me;var X=require("react/jsx-runtime"),at="k-clear-value",ao=[a.disabled,a.loading,a.readonly],so={},H=t=>{let{disabled:e,loading:o,readonly:s,value:n}=t;return e||s||o||!n?(0,X.jsx)(X.Fragment,{}):(0,X.jsx)("span",{className:i(t.className,at),children:(0,X.jsx)(f,{icon:"x"})})};H.states=ao;H.options=so;H.className=at;var st=require("react/jsx-runtime"),Ae="k-input-inner",ro=[],io={},be={type:"text",autocomplete:"off",value:"",placeholder:""},z=t=>{let{value:e=be.value,type:o=be.type,placeholder:s=be.placeholder,autocomplete:n=be.autocomplete,disabled:d,readOnly:p,...u}=t;return(0,st.jsx)("input",{...u,type:o,className:i(t.className,Ae,N(Ae,t)),placeholder:s,autoComplete:n,defaultValue:e,disabled:d||void 0,readOnly:p||void 0})};z.states=ro;z.options=io;z.className=Ae;var ee=require("react/jsx-runtime"),Pe="k-input-inner",lo=[],po={},we=t=>{let{value:e,placeholder:o,showValue:s,valueIcon:n,valueIconName:d,...p}=t;return(0,ee.jsxs)("span",{...p,className:i(t.className,Pe,N(Pe,t)),children:[n,!n&&d&&(0,ee.jsx)(f,{className:"k-input-value-icon",icon:d}),s&&!e&&o,s&&e&&(0,ee.jsx)("span",{className:"k-input-value-text",children:e})]})};we.states=lo;we.options=po;we.className=Pe;var it=require("react/jsx-runtime"),Be="k-input-inner",co=[],uo={},rt={value:"",placeholder:""},_e=t=>{let{value:e=rt.value,placeholder:o=rt.placeholder,rows:s,disabled:n,...d}=t;return(0,it.jsx)("textarea",{...d,className:i(t.className,Be,N(Be,t)),placeholder:o,rows:s,defaultValue:e,disabled:n||void 0})};_e.states=co;_e.options=uo;_e.className=Be;var te=require("react/jsx-runtime"),lt="k-input-loading-icon",mo=[a.disabled,a.loading],q=t=>{let{disabled:e,loading:o}=t;return e||!o?(0,te.jsx)(te.Fragment,{}):(0,te.jsx)("span",{className:i(t.className,lt,"k-icon k-i-loading")})};q.states=mo;q.className=lt;var oe=require("react/jsx-runtime"),dt="k-input-validation-icon",fo=[a.valid,a.invalid,a.disabled,a.loading],xo={},V=t=>{let{valid:e,invalid:o,disabled:s,loading:n}=t,d=o?"warning-circle":"check-circle";return s||n||!!!(e||o)?(0,oe.jsx)(oe.Fragment,{}):(0,oe.jsx)(f,{className:i(dt),icon:d})};V.states=fo;V.options=xo;V.className=dt;var ne=require("react/jsx-runtime"),bo="k-input-prefix",ho={direction:"horizontal"},he=t=>{let{direction:e=ho.direction,...o}=t;return t.children?(0,ne.jsx)("span",{...o,className:i(bo,t.className,{[`k-input-prefix-${e}`]:e}),children:t.children}):(0,ne.jsx)(ne.Fragment,{})};var ae=require("react/jsx-runtime"),No="k-input-suffix",go={direction:"horizontal"},Ne=t=>{let{direction:e=go.direction,...o}=t;return t.children?(0,ae.jsx)("span",{...o,className:i(No,t.className,{[`k-input-suffix-${e}`]:e}),children:t.children}):(0,ae.jsx)(ae.Fragment,{})};var vo=require("react/jsx-runtime");var ko=require("react/jsx-runtime");var ct=require("react/jsx-runtime"),pt="k-input-separator",Io={direction:"vertical"},G=t=>{let{direction:e=Io.direction,...o}=t;return(0,ct.jsx)("span",{...o,className:i(pt,t.className,{[`${pt}-${e}`]:e})})};var b=require("react/jsx-runtime"),To=S.states,yo=S.defaultOptions,So=S.options,Mo=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Co=[],se=t=>{let{modifiers:e,valid:o,invalid:s,loading:n,disabled:d,readonly:p,...u}=t,h=e==null?void 0:e.prefix,v=e==null?void 0:e.suffix,y=e==null?void 0:e["clear-button"],I=e==null?void 0:e["validation-icon"],P=e==null?void 0:e.separators;return(0,b.jsxs)(S,{...u,valid:o,invalid:s,loading:n,disabled:d,readonly:p,style:{width:300},children:[h&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(he,{children:(0,b.jsx)(f,{icon:"lock"})}),P&&(0,b.jsx)(G,{})]}),(0,b.jsx)(z,{placeholder:"Placeholder",value:"Value"}),I&&(0,b.jsx)(V,{valid:o,invalid:s,loading:n,disabled:d}),(0,b.jsx)(q,{loading:n,disabled:d}),y&&(0,b.jsx)(H,{loading:n,disabled:d,readonly:p,value:"Value"}),v&&(0,b.jsxs)(b.Fragment,{children:[P&&(0,b.jsx)(G,{}),(0,b.jsx)(Ne,{children:(0,b.jsx)(R,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};se.options=So;se.states=To;se.variants=Co;se.defaultOptions=yo;se.modifiers=Mo;var g=require("react/jsx-runtime"),ut="k-textbox",Oo=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Eo={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},ge={showClearButton:!0,showValidationIcon:!0,separators:!0},T=t=>{let{size:e,rounded:o,fillMode:s,separators:n=ge.separators,showClearButton:d=ge.showClearButton,showValidationIcon:p=ge.showValidationIcon,prefix:u,suffix:h,type:v,value:y,placeholder:I,hover:P,focus:U,valid:$,invalid:E,required:A,loading:M,disabled:_,readonly:le,id:ke,"aria-label":Ie,"aria-describedby":Mt,...Ct}=t;return(0,g.jsxs)(S,{...Ct,size:e,rounded:o,fillMode:s,hover:P,focus:U,valid:$,invalid:E,required:A,loading:M,disabled:_,readonly:le,className:i(t.className,ut),children:[u&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(he,{children:u}),n&&(0,g.jsx)(G,{})]}),(0,g.jsx)(z,{id:ke,placeholder:I,value:y,type:v,disabled:_,"aria-label":Ie,"aria-describedby":Mt,"aria-invalid":E?"true":void 0}),p&&(0,g.jsx)(V,{valid:$,invalid:E,loading:M,disabled:_}),(0,g.jsx)(q,{loading:M,disabled:_}),d&&(0,g.jsx)(H,{loading:M,disabled:_,readonly:le,value:y}),h&&(0,g.jsxs)(g.Fragment,{children:[n&&(0,g.jsx)(G,{}),(0,g.jsx)(Ne,{children:h})]})]})};T.states=Oo;T.options=Eo;T.className=ut;T.defaultOptions=ge;T.moduleName=Le;T.folderName=tt;T.ariaSpec={selector:".k-textbox",rules:[{selector:".k-textbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-textbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-textbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the TextBox is in an invalid state."},{selector:".k-textbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the input."},{selector:".k-textbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the TextBox is disabled."}]};var re=T;var ft=require("react/jsx-runtime"),mt=t=>(0,ft.jsx)(re,{...t});var xt=require("react/jsx-runtime");var bt=require("react/jsx-runtime");var Lo=require("react/jsx-runtime");var ve=require("react/jsx-runtime"),Ao=T.states,Po=T.defaultOptions,wo=T.options,Bo=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],_o=[],ie=t=>{let{modifiers:e,...o}=t,s={};return Object.keys(e||{}).forEach(n=>{switch(n){case"prefix":s.prefix=e!=null&&e[n]?(0,ve.jsx)(f,{icon:"lock"}):void 0;break;case"suffix":s.suffix=e!=null&&e[n]?(0,ve.jsx)(R,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":s.showClearButton=e==null?void 0:e[n];break;default:break}}),(0,ve.jsx)(mt,{value:"Value",style:{width:300},...o,...s})};ie.options=wo;ie.states=Ao;ie.variants=_o;ie.defaultOptions=Po;ie.modifiers=Bo;var Ke="skeleton",ht=Ke;var Nt=require("react/jsx-runtime"),Re="k-skeleton",Ko=["circle","text","rect"],Ro=[],Ho={},He={variant:"text",shape:"text",animation:"pulse"},C=t=>{let{variant:e,shape:o,animation:s=He.animation,...n}=t,d=`skeleton-${e||o||He.variant}`;return(0,Nt.jsx)("span",{...n,className:i(t.className,Re,pe(Re,d),{[`k-skeleton-${s}`]:s}),style:t.style})};C.states=Ro;C.options=Ho;C.variants=Ko;C.className=Re;C.defaultOptions=He;C.moduleName=Ke;C.folderName=ht;C.ariaSpec={selector:".k-skeleton",rules:[]};var zo=require("react/jsx-runtime");var vt=require("react/jsx-runtime"),gt=t=>(0,vt.jsx)(C,{shape:"rect",...t});var Vo=require("react/jsx-runtime");var ze="captcha",kt=ze;var k=require("react/jsx-runtime"),Ve="k-captcha",Do=[a.loading,a.valid,a.invalid,a.disabled],Uo={},It={imgPath:"/packages/html/assets/captcha.jpg"},O=t=>{let{value:e,valid:o,invalid:s,loading:n,disabled:d,imgPath:p=It.imgPath,...u}=t;return(0,k.jsxs)("div",{...u,className:i(t.className,Ve,B(Ve,{disabled:d}),{"k-captcha-loading":n}),children:[(0,k.jsxs)("div",{className:"k-captcha-image-wrap k-hstack",children:[(0,k.jsxs)("div",{className:"k-captcha-image",children:[(0,k.jsx)("img",{className:i({"k-hidden":n}),src:p}),n&&(0,k.jsx)(gt,{style:{width:"100%",height:"100%"}})]}),(0,k.jsxs)("div",{className:"k-captcha-image-controls k-vstack",children:[(0,k.jsx)(x,{icon:"volume-up",disabled:n===!0}),(0,k.jsx)(x,{icon:"arrow-rotate-cw",disabled:n===!0})]}),(0,k.jsx)("div",{className:"k-captcha-volume-control k-vstack k-pos-absolute k-hidden",children:(0,k.jsx)("div",{className:"k-slider k-slider-vertical"})})]}),(0,k.jsxs)("div",{className:"k-captcha-input k-vstack",children:[(0,k.jsx)(T,{value:e,valid:o,invalid:s,disabled:n===!0}),o&&!n&&(0,k.jsx)("span",{className:"k-captcha-validation-message !k-text-success",children:"Verification Success"})]})]})};O.states=Do;O.options=Uo;O.className=Ve;O.defaultOptions=It;O.moduleName=ze;O.folderName=kt;var yt=require("react/jsx-runtime"),Tt=t=>(0,yt.jsx)(O,{value:"YR890",...t});var St=require("react/jsx-runtime"),$o=O.options,Fo=[],Xo=O.states,qo=O.defaultOptions,Go=[],D=t=>(0,St.jsx)(Tt,{value:"YGRX7",imgPath:"https://demos.telerik.com/kendo-ui/content/captcha/81baf680-1778-48ad-938a-ff6fe97842f7.png",...t});D.options=$o;D.states=Xo;D.variants=Fo;D.defaultOptions=qo;D.modifiers=Go;var Jo=D;
@@ -1 +1 @@
1
- var St=Object.create;var le=Object.defineProperty;var Mt=Object.getOwnPropertyDescriptor;var Ct=Object.getOwnPropertyNames;var Ot=Object.getPrototypeOf,Et=Object.prototype.hasOwnProperty;var Lt=(t,e)=>{for(var o in e)le(t,o,{get:e[o],enumerable:!0})},Ve=(t,e,o,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Ct(e))!Et.call(t,n)&&n!==o&&le(t,n,{get:()=>e[n],enumerable:!(s=Mt(e,n))||s.enumerable});return t};var At=(t,e,o)=>(o=t!=null?St(Ot(t)):{},Ve(e||!t||!t.__esModule?le(o,"default",{value:t,enumerable:!0}):o,t)),Pt=t=>Ve(le({},"__esModule",{value:!0}),t);var Do={};Lt(Do,{CaptchaNormal:()=>Vo});module.exports=Pt(Do);var i=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?i(...e):typeof e=="object"?Object.keys(e).map((o,s)=>e[s]||e[o]&&o||null).filter(o=>o!==null).join(" "):e).filter(e=>!!e).join(" ");var N=(t,e)=>i({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.themeColor}`]:e.themeColor},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full","k-rounded-none":e.rounded==="none"}),w=(t,e)=>{let{valid:o,invalid:s,hover:n,focus:d,checked:p,active:u,selected:h,disabled:v,indeterminate:y,loading:k,empty:A,readonly:D,highlighted:U,...O}=e;return i({"k-valid":o,"k-invalid":s,"k-hover":n,"k-focus":d,"k-checked":p,"k-active":u,"k-selected":h,"k-disabled":v,"k-indeterminate":y&&!p,"k-loading":k,"k-empty":A,"k-readonly":D,"k-highlighted":U},Object.keys(O).reduce((L,M)=>(M.startsWith("k-")?L[M]=O[M]:L[`k-${M}`]=O[M],L),{}))};function de(t,e){if(!e)return{};let o=Array.isArray(e)?e:[e];return Object.fromEntries(o.map(s=>[`k-${s}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},c={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},m={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},r={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},a={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var G=require("react/jsx-runtime"),ke="k-font-icon",wt=[],Bt={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info,r.light,r.dark]},_t={},J=t=>{let{size:e,themeColor:o,icon:s,rotate:n,flip:d,...p}=t;return s?(0,G.jsx)("span",{...p,className:i(t.className,ke,N(ke,{size:e}),{[`k-i-${s}`]:s,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":d==="h"||d==="both","k-flip-v":d==="v"||d==="both"}),"aria-hidden":"true"}):(0,G.jsx)(G.Fragment,{})};J.states=wt;J.options=Bt;J.className=ke;J.defaultOptions=_t;var De=J;var K=require("react/jsx-runtime"),Te="k-svg-icon",Kt=[],Rt={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info,r.light,r.dark]},Ue={viewBox:"0 0 24 24"},W=t=>{let{size:e,themeColor:o,rotate:s,flip:n,viewBox:d=Ue.viewBox,icon:p,...u}=t;if(!p)return(0,K.jsx)(K.Fragment,{});if(p==="none")return(0,K.jsx)("span",{...u,className:i(t.className,Te,N("k-icon",{size:e}),"k-none"),"aria-hidden":"true"});let h=typeof p=="object"&&p.name&&p.name;return(0,K.jsx)("span",{...u,className:i(t.className,Te,N("k-icon",{size:e}),{[`k-svg-i-${h}`]:h,[`k-color-${o}`]:o,[`k-rotate-${s}`]:s,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:(0,K.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof p=="object"?p.viewBox:d,dangerouslySetInnerHTML:typeof p=="object"?{__html:p.content}:void 0,children:p?void 0:t.children})})};W.states=Kt;W.options=Rt;W.className=Te;W.defaultOptions=Ue;var ye=W;var Se=At(require("@progress/kendo-svg-icons"));var $e="icon",Fe="icons";var Ge=require("react");var Xe=require("react"),qe=(0,Xe.createContext)({iconsType:"svg"});var P=require("react/jsx-runtime"),pe="k-icon",Ht=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),zt=[],Vt={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info,r.light,r.dark]},Me={viewBox:"0 0 24 24",type:"svg"},f=t=>{let{iconsType:e}=(0,Ge.useContext)(qe),{size:o,themeColor:s,icon:n,type:d=e||Me.type,rotate:p,flip:u,viewBox:h=Me.viewBox,...v}=t;if(!n)return(0,P.jsx)(P.Fragment,{});if((e||d)==="svg"){if(n==="none")return(0,P.jsx)(ye,{...v,className:i(t.className,pe),icon:n,size:o});let k=Se[n]?n:Ht(`${n}-icon`);return Se[k]?(0,P.jsx)(ye,{...v,className:i(t.className,pe),icon:Se[k],size:o,themeColor:s,rotate:p,flip:u,viewBox:h}):(0,P.jsx)(P.Fragment,{})}return(0,P.jsx)(De,{...v,className:i(t.className,pe),icon:n,size:o,themeColor:s,rotate:p,flip:u})};f.states=zt;f.options=Vt;f.defaultOptions=Me;f.className=pe;f.moduleName=$e;f.folderName=Fe;f.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var Ce="button",Je=Ce;var E=require("react/jsx-runtime"),Y="k-button",Dt=["icon-button"],Ut=[a.hover,a.focus,a.active,a.selected,a.disabled,a.generating],$t={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info,r.light,r.dark,r.inverse]},Oe={showArrow:!1,arrowIconName:"caret-alt-down"},x=t=>{let{as:e="button",size:o,rounded:s,fillMode:n,themeColor:d,showArrow:p=Oe.showArrow,arrowIconName:u=Oe.arrowIconName,variant:h,hover:v,focus:y,active:k,selected:A,disabled:D,togglable:U,icon:O,text:L,iconClassName:M,className:_,...ie}=t,ve=O!==void 0,Ie=t.children!==void 0;return(0,E.jsxs)(e,{className:i(_,Y,de(Y,h),N(Y,{size:o,rounded:s,fillMode:n,themeColor:d}),w(Y,{hover:v,focus:y,active:k,disabled:D,selected:A}),{"k-icon-button":!L&&!Ie&&ve}),...ie,"aria-pressed":U?A?"true":"false":void 0,disabled:D||void 0,children:[O&&(0,E.jsx)(f,{className:i(M,"k-button-icon"),icon:O}),L?(0,E.jsxs)(E.Fragment,{children:[L&&(0,E.jsx)("span",{className:"k-button-text",children:L}),t.children]}):t.children&&(0,E.jsx)("span",{className:"k-button-text",children:t.children}),p&&(0,E.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,E.jsx)(f,{icon:u})})]})};x.states=Ut;x.options=$t;x.variants=Dt;x.className=Y;x.defaultOptions=Oe;x.moduleName=Ce;x.folderName=Je;x.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};var Ye=require("react/jsx-runtime"),We=t=>(0,Ye.jsx)(x,{icon:"folder",...t,"aria-label":t["aria-label"]||"Folder",children:void 0});var Ze=require("react/jsx-runtime"),Qe=t=>(0,Ze.jsx)(x,{icon:"folder",children:"Button",...t});var je=require("react/jsx-runtime"),R=t=>(0,je.jsx)(x,{children:"Button",...t});var ce=require("react/jsx-runtime"),Ft=x.options,Xt=x.states,qt={...x.defaultOptions,variant:"text"},Gt=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Jt=[],Q=t=>{let{variant:e,...o}=t;switch(e){case"icon-only":return(0,ce.jsx)(We,{...o,icon:"star"});case"icon-and-text":return(0,ce.jsx)(Qe,{...o,icon:"star",children:"Button"});default:return(0,ce.jsx)(R,{...o,children:"Button"})}};Q.options=Ft;Q.states=Xt;Q.variants=Gt;Q.defaultOptions=qt;Q.modifiers=Jt;var Ee="textbox",et=Ee;var Z="input",ue=Z;var tt=require("react/jsx-runtime"),me="k-input",Wt=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Yt={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Qt={},S=t=>{let{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:p,readonly:u,size:h,rounded:v,fillMode:y,...k}=t;return(0,tt.jsx)("span",{...k,className:i(t.className,me,N(me,{size:h,rounded:v,fillMode:y}),w(me,{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:p,readonly:u}))})};S.states=Wt;S.options=Yt;S.className=me;S.defaultOptions=Qt;S.moduleName=Z;S.folderName=ue;var ot=require("react/jsx-runtime"),fe="k-picker",Zt=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],jt={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},eo={},$=t=>{let{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:p,readonly:u,size:h,rounded:v,fillMode:y,...k}=t;return(0,ot.jsx)("span",{...k,className:i(t.className,fe,N(fe,{size:h,rounded:v,fillMode:y}),w(fe,{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:p,readonly:u})),children:t.children})};$.states=Zt;$.options=jt;$.className=fe;$.defaultOptions=eo;$.moduleName=Z;$.folderName=ue;var F=require("react/jsx-runtime"),nt="k-clear-value",to=[a.disabled,a.loading,a.readonly],oo={},H=t=>{let{disabled:e,loading:o,readonly:s,value:n}=t;return e||s||o||!n?(0,F.jsx)(F.Fragment,{}):(0,F.jsx)("span",{className:i(t.className,nt),children:(0,F.jsx)(f,{icon:"x"})})};H.states=to;H.options=oo;H.className=nt;var at=require("react/jsx-runtime"),Le="k-input-inner",no=[],ao={},xe={type:"text",autocomplete:"off",value:"",placeholder:""},z=t=>{let{value:e=xe.value,type:o=xe.type,placeholder:s=xe.placeholder,autocomplete:n=xe.autocomplete,disabled:d,readOnly:p,...u}=t;return(0,at.jsx)("input",{...u,type:o,className:i(t.className,Le,N(Le,t)),placeholder:s,autoComplete:n,defaultValue:e,disabled:d||void 0,readOnly:p||void 0})};z.states=no;z.options=ao;z.className=Le;var j=require("react/jsx-runtime"),Ae="k-input-inner",so=[],ro={},Pe=t=>{let{value:e,placeholder:o,showValue:s,valueIcon:n,valueIconName:d,...p}=t;return(0,j.jsxs)("span",{...p,className:i(t.className,Ae,N(Ae,t)),children:[n,!n&&d&&(0,j.jsx)(f,{className:"k-input-value-icon",icon:d}),s&&!e&&o,s&&e&&(0,j.jsx)("span",{className:"k-input-value-text",children:e})]})};Pe.states=so;Pe.options=ro;Pe.className=Ae;var rt=require("react/jsx-runtime"),we="k-input-inner",io=[],lo={},st={value:"",placeholder:""},Be=t=>{let{value:e=st.value,placeholder:o=st.placeholder,rows:s,disabled:n,...d}=t;return(0,rt.jsx)("textarea",{...d,className:i(t.className,we,N(we,t)),placeholder:o,rows:s,defaultValue:e,disabled:n||void 0})};Be.states=io;Be.options=lo;Be.className=we;var ee=require("react/jsx-runtime"),it="k-input-loading-icon",po=[a.disabled,a.loading],X=t=>{let{disabled:e,loading:o}=t;return e||!o?(0,ee.jsx)(ee.Fragment,{}):(0,ee.jsx)("span",{className:i(t.className,it,"k-icon k-i-loading")})};X.states=po;X.className=it;var te=require("react/jsx-runtime"),lt="k-input-validation-icon",co=[a.valid,a.invalid,a.disabled,a.loading],uo={},V=t=>{let{valid:e,invalid:o,disabled:s,loading:n}=t,d=o?"warning-circle":"check-circle";return s||n||!!!(e||o)?(0,te.jsx)(te.Fragment,{}):(0,te.jsx)(f,{className:i(lt),icon:d})};V.states=co;V.options=uo;V.className=lt;var oe=require("react/jsx-runtime"),mo="k-input-prefix",fo={direction:"horizontal"},be=t=>{let{direction:e=fo.direction,...o}=t;return t.children?(0,oe.jsx)("span",{...o,className:i(mo,t.className,{[`k-input-prefix-${e}`]:e}),children:t.children}):(0,oe.jsx)(oe.Fragment,{})};var ne=require("react/jsx-runtime"),xo="k-input-suffix",bo={direction:"horizontal"},he=t=>{let{direction:e=bo.direction,...o}=t;return t.children?(0,ne.jsx)("span",{...o,className:i(xo,t.className,{[`k-input-suffix-${e}`]:e}),children:t.children}):(0,ne.jsx)(ne.Fragment,{})};var ho=require("react/jsx-runtime");var No=require("react/jsx-runtime");var pt=require("react/jsx-runtime"),dt="k-input-separator",go={direction:"vertical"},q=t=>{let{direction:e=go.direction,...o}=t;return(0,pt.jsx)("span",{...o,className:i(dt,t.className,{[`${dt}-${e}`]:e})})};var b=require("react/jsx-runtime"),vo=S.states,Io=S.defaultOptions,ko=S.options,To=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],yo=[],ae=t=>{let{modifiers:e,valid:o,invalid:s,loading:n,disabled:d,readonly:p,...u}=t,h=e==null?void 0:e.prefix,v=e==null?void 0:e.suffix,y=e==null?void 0:e["clear-button"],k=e==null?void 0:e["validation-icon"],A=e==null?void 0:e.separators;return(0,b.jsxs)(S,{...u,valid:o,invalid:s,loading:n,disabled:d,readonly:p,style:{width:300},children:[h&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(be,{children:(0,b.jsx)(f,{icon:"lock"})}),A&&(0,b.jsx)(q,{})]}),(0,b.jsx)(z,{placeholder:"Placeholder",value:"Value"}),k&&(0,b.jsx)(V,{valid:o,invalid:s,loading:n,disabled:d}),(0,b.jsx)(X,{loading:n,disabled:d}),y&&(0,b.jsx)(H,{loading:n,disabled:d,readonly:p,value:"Value"}),v&&(0,b.jsxs)(b.Fragment,{children:[A&&(0,b.jsx)(q,{}),(0,b.jsx)(he,{children:(0,b.jsx)(R,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};ae.options=ko;ae.states=vo;ae.variants=yo;ae.defaultOptions=Io;ae.modifiers=To;var g=require("react/jsx-runtime"),ct="k-textbox",So=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Mo={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Ne={showClearButton:!0,showValidationIcon:!0,separators:!0},T=t=>{let{size:e,rounded:o,fillMode:s,separators:n=Ne.separators,showClearButton:d=Ne.showClearButton,showValidationIcon:p=Ne.showValidationIcon,prefix:u,suffix:h,type:v,value:y,placeholder:k,hover:A,focus:D,valid:U,invalid:O,required:L,loading:M,disabled:_,readonly:ie,id:ve,"aria-label":Ie,"aria-describedby":Tt,...yt}=t;return(0,g.jsxs)(S,{...yt,size:e,rounded:o,fillMode:s,hover:A,focus:D,valid:U,invalid:O,required:L,loading:M,disabled:_,readonly:ie,className:i(t.className,ct),children:[u&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(be,{children:u}),n&&(0,g.jsx)(q,{})]}),(0,g.jsx)(z,{id:ve,placeholder:k,value:y,type:v,disabled:_,"aria-label":Ie,"aria-describedby":Tt,"aria-invalid":O?"true":void 0}),p&&(0,g.jsx)(V,{valid:U,invalid:O,loading:M,disabled:_}),(0,g.jsx)(X,{loading:M,disabled:_}),d&&(0,g.jsx)(H,{loading:M,disabled:_,readonly:ie,value:y}),h&&(0,g.jsxs)(g.Fragment,{children:[n&&(0,g.jsx)(q,{}),(0,g.jsx)(he,{children:h})]})]})};T.states=So;T.options=Mo;T.className=ct;T.defaultOptions=Ne;T.moduleName=Ee;T.folderName=et;T.ariaSpec={selector:".k-textbox",rules:[{selector:".k-textbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-textbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-textbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the TextBox is in an invalid state."},{selector:".k-textbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the input."},{selector:".k-textbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the TextBox is disabled."}]};var se=T;var mt=require("react/jsx-runtime"),ut=t=>(0,mt.jsx)(se,{...t});var ft=require("react/jsx-runtime");var xt=require("react/jsx-runtime");var Co=require("react/jsx-runtime");var ge=require("react/jsx-runtime"),Oo=T.states,Eo=T.defaultOptions,Lo=T.options,Ao=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Po=[],re=t=>{let{modifiers:e,...o}=t,s={};return Object.keys(e||{}).forEach(n=>{switch(n){case"prefix":s.prefix=e!=null&&e[n]?(0,ge.jsx)(f,{icon:"lock"}):void 0;break;case"suffix":s.suffix=e!=null&&e[n]?(0,ge.jsx)(R,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":s.showClearButton=e==null?void 0:e[n];break;default:break}}),(0,ge.jsx)(ut,{value:"Value",style:{width:300},...o,...s})};re.options=Lo;re.states=Oo;re.variants=Po;re.defaultOptions=Eo;re.modifiers=Ao;var _e="skeleton",bt=_e;var ht=require("react/jsx-runtime"),Ke="k-skeleton",wo=["circle","text","rect"],Bo=[],_o={},Re={variant:"text",shape:"text",animation:"pulse"},C=t=>{let{variant:e,shape:o,animation:s=Re.animation,...n}=t,d=`skeleton-${e||o||Re.variant}`;return(0,ht.jsx)("span",{...n,className:i(t.className,Ke,de(Ke,d),{[`k-skeleton-${s}`]:s}),style:t.style})};C.states=Bo;C.options=_o;C.variants=wo;C.className=Ke;C.defaultOptions=Re;C.moduleName=_e;C.folderName=bt;C.ariaSpec={selector:".k-skeleton",rules:[]};var Ko=require("react/jsx-runtime");var gt=require("react/jsx-runtime"),Nt=t=>(0,gt.jsx)(C,{shape:"rect",...t});var Ro=require("react/jsx-runtime");var He="captcha",vt=He;var I=require("react/jsx-runtime"),ze="k-captcha",Ho=[a.loading,a.valid,a.invalid,a.disabled],zo={},It={imgPath:"/packages/html/assets/captcha.jpg"},B=t=>{let{value:e,valid:o,invalid:s,loading:n,disabled:d,imgPath:p=It.imgPath,...u}=t;return(0,I.jsxs)("div",{...u,className:i(t.className,ze,w(ze,{disabled:d}),{"k-captcha-loading":n}),children:[(0,I.jsxs)("div",{className:"k-captcha-image-wrap k-hstack",children:[(0,I.jsxs)("div",{className:"k-captcha-image",children:[(0,I.jsx)("img",{className:i({"k-hidden":n}),src:p}),n&&(0,I.jsx)(Nt,{style:{width:"100%",height:"100%"}})]}),(0,I.jsxs)("div",{className:"k-captcha-image-controls k-vstack",children:[(0,I.jsx)(x,{icon:"volume-up",disabled:n===!0}),(0,I.jsx)(x,{icon:"arrow-rotate-cw",disabled:n===!0})]}),(0,I.jsx)("div",{className:"k-captcha-volume-control k-vstack k-pos-absolute k-hidden",children:(0,I.jsx)("div",{className:"k-widget k-slider k-slider-vertical"})})]}),(0,I.jsxs)("div",{className:"k-captcha-input k-vstack",children:[(0,I.jsx)(T,{value:e,valid:o,invalid:s,disabled:n===!0}),o&&!n&&(0,I.jsx)("span",{className:"k-captcha-validation-message !k-text-success",children:"Verification Success"})]})]})};B.states=Ho;B.options=zo;B.className=ze;B.defaultOptions=It;B.moduleName=He;B.folderName=vt;var kt=require("react/jsx-runtime"),Vo=t=>(0,kt.jsx)(B,{value:"YR890",...t});
1
+ var St=Object.create;var le=Object.defineProperty;var Mt=Object.getOwnPropertyDescriptor;var Ct=Object.getOwnPropertyNames;var Ot=Object.getPrototypeOf,Et=Object.prototype.hasOwnProperty;var Lt=(t,e)=>{for(var o in e)le(t,o,{get:e[o],enumerable:!0})},Ve=(t,e,o,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Ct(e))!Et.call(t,n)&&n!==o&&le(t,n,{get:()=>e[n],enumerable:!(s=Mt(e,n))||s.enumerable});return t};var At=(t,e,o)=>(o=t!=null?St(Ot(t)):{},Ve(e||!t||!t.__esModule?le(o,"default",{value:t,enumerable:!0}):o,t)),Pt=t=>Ve(le({},"__esModule",{value:!0}),t);var Do={};Lt(Do,{CaptchaNormal:()=>Vo});module.exports=Pt(Do);var i=(...t)=>t.filter(e=>e!==!0&&!!e).map(e=>Array.isArray(e)?i(...e):typeof e=="object"?Object.keys(e).map((o,s)=>e[s]||e[o]&&o||null).filter(o=>o!==null).join(" "):e).filter(e=>!!e).join(" ");var N=(t,e)=>i({[`${t}-xs`]:e.size==="xsmall",[`${t}-sm`]:e.size==="small",[`${t}-md`]:e.size==="medium",[`${t}-lg`]:e.size==="large",[`${t}-xl`]:e.size==="xlarge",[`${t}-xxl`]:e.size==="xxlarge",[`${t}-xxxl`]:e.size==="xxxlarge"},{[`${t}-${e.fillMode}`]:e.fillMode},{[`${t}-${e.themeColor}`]:e.themeColor},{"k-rounded-sm":e.rounded==="small","k-rounded-md":e.rounded==="medium","k-rounded-lg":e.rounded==="large","k-rounded-full":e.rounded==="full","k-rounded-none":e.rounded==="none"}),w=(t,e)=>{let{valid:o,invalid:s,hover:n,focus:d,checked:p,active:u,selected:h,disabled:v,indeterminate:y,loading:k,empty:A,readonly:D,highlighted:U,...O}=e;return i({"k-valid":o,"k-invalid":s,"k-hover":n,"k-focus":d,"k-checked":p,"k-active":u,"k-selected":h,"k-disabled":v,"k-indeterminate":y&&!p,"k-loading":k,"k-empty":A,"k-readonly":D,"k-highlighted":U},Object.keys(O).reduce((L,M)=>(M.startsWith("k-")?L[M]=O[M]:L[`k-${M}`]=O[M],L),{}))};function de(t,e){if(!e)return{};let o=Array.isArray(e)?e:[e];return Object.fromEntries(o.map(s=>[`k-${s}`,!0]))}var l={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},c={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},m={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},r={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",dark:"dark",light:"light",inverse:"inverse"},a={open:"open",hover:"hover",focus:"focus",active:"active",selected:"selected",disabled:"disabled",valid:"valid",invalid:"invalid",loading:"loading",required:"required",empty:"empty",indeterminate:"indeterminate",checked:"checked",readonly:"readonly",highlighted:"highlighted",generating:"generating",expanded:"expanded"};var G=require("react/jsx-runtime"),ke="k-font-icon",wt=[],Bt={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info,r.light,r.dark]},_t={},J=t=>{let{size:e,themeColor:o,icon:s,rotate:n,flip:d,...p}=t;return s?(0,G.jsx)("span",{...p,className:i(t.className,ke,N(ke,{size:e}),{[`k-i-${s}`]:s,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":d==="h"||d==="both","k-flip-v":d==="v"||d==="both"}),"aria-hidden":"true"}):(0,G.jsx)(G.Fragment,{})};J.states=wt;J.options=Bt;J.className=ke;J.defaultOptions=_t;var De=J;var K=require("react/jsx-runtime"),Te="k-svg-icon",Kt=[],Rt={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info,r.light,r.dark]},Ue={viewBox:"0 0 24 24"},W=t=>{let{size:e,themeColor:o,rotate:s,flip:n,viewBox:d=Ue.viewBox,icon:p,...u}=t;if(!p)return(0,K.jsx)(K.Fragment,{});if(p==="none")return(0,K.jsx)("span",{...u,className:i(t.className,Te,N("k-icon",{size:e}),"k-none"),"aria-hidden":"true"});let h=typeof p=="object"&&p.name&&p.name;return(0,K.jsx)("span",{...u,className:i(t.className,Te,N("k-icon",{size:e}),{[`k-svg-i-${h}`]:h,[`k-color-${o}`]:o,[`k-rotate-${s}`]:s,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:(0,K.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof p=="object"?p.viewBox:d,dangerouslySetInnerHTML:typeof p=="object"?{__html:p.content}:void 0,children:p?void 0:t.children})})};W.states=Kt;W.options=Rt;W.className=Te;W.defaultOptions=Ue;var ye=W;var Se=At(require("@progress/kendo-svg-icons"));var $e="icon",Fe="icons";var Ge=require("react");var Xe=require("react"),qe=(0,Xe.createContext)({iconsType:"svg"});var P=require("react/jsx-runtime"),pe="k-icon",Ht=t=>t.replace(/([-_][a-z0-9])/gi,e=>e.toUpperCase().replace("-","").replace("_","")),zt=[],Vt={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info,r.light,r.dark]},Me={viewBox:"0 0 24 24",type:"svg"},f=t=>{let{iconsType:e}=(0,Ge.useContext)(qe),{size:o,themeColor:s,icon:n,type:d=e||Me.type,rotate:p,flip:u,viewBox:h=Me.viewBox,...v}=t;if(!n)return(0,P.jsx)(P.Fragment,{});if((e||d)==="svg"){if(n==="none")return(0,P.jsx)(ye,{...v,className:i(t.className,pe),icon:n,size:o});let k=Se[n]?n:Ht(`${n}-icon`);return Se[k]?(0,P.jsx)(ye,{...v,className:i(t.className,pe),icon:Se[k],size:o,themeColor:s,rotate:p,flip:u,viewBox:h}):(0,P.jsx)(P.Fragment,{})}return(0,P.jsx)(De,{...v,className:i(t.className,pe),icon:n,size:o,themeColor:s,rotate:p,flip:u})};f.states=zt;f.options=Vt;f.defaultOptions=Me;f.className=pe;f.moduleName=$e;f.folderName=Fe;f.ariaSpec={selector:".k-icon, .k-svg-icon",rules:[{selector:".k-icon, .k-svg-icon",attribute:"aria-hidden=true",usage:"Hides the icon element and all its children from assistive technologies."}]};var Ce="button",Je=Ce;var E=require("react/jsx-runtime"),Y="k-button",Dt=["icon-button"],Ut=[a.hover,a.focus,a.active,a.selected,a.disabled,a.generating],$t={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[m.undefined,m.solid,m.flat,m.outline,m.clear,m.link],themeColor:[r.undefined,r.base,r.primary,r.secondary,r.tertiary,r.success,r.warning,r.error,r.info,r.light,r.dark,r.inverse]},Oe={showArrow:!1,arrowIconName:"caret-alt-down"},x=t=>{let{as:e="button",size:o,rounded:s,fillMode:n,themeColor:d,showArrow:p=Oe.showArrow,arrowIconName:u=Oe.arrowIconName,variant:h,hover:v,focus:y,active:k,selected:A,disabled:D,togglable:U,icon:O,text:L,iconClassName:M,className:_,...ie}=t,ve=O!==void 0,Ie=t.children!==void 0;return(0,E.jsxs)(e,{className:i(_,Y,de(Y,h),N(Y,{size:o,rounded:s,fillMode:n,themeColor:d}),w(Y,{hover:v,focus:y,active:k,disabled:D,selected:A}),{"k-icon-button":!L&&!Ie&&ve}),...ie,"aria-pressed":U?A?"true":"false":void 0,disabled:D||void 0,children:[O&&(0,E.jsx)(f,{className:i(M,"k-button-icon"),icon:O}),L?(0,E.jsxs)(E.Fragment,{children:[L&&(0,E.jsx)("span",{className:"k-button-text",children:L}),t.children]}):t.children&&(0,E.jsx)("span",{className:"k-button-text",children:t.children}),p&&(0,E.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,E.jsx)(f,{icon:u})})]})};x.states=Ut;x.options=$t;x.variants=Dt;x.className=Y;x.defaultOptions=Oe;x.moduleName=Ce;x.folderName=Je;x.ariaSpec={selector:".k-button",rules:[{selector:".k-button",attribute:"role=button or nodeName=button",usage:"The button role is implicit from the native <button> element."},{selector:".k-button",attribute:"aria-label (when icon-only)",usage:"Required for icon-only buttons that have no visible text."},{selector:".k-button",attribute:"aria-pressed (when togglable)",usage:"Indicates the pressed state of a toggle button."},{selector:".k-button",attribute:"disabled (when disabled)",usage:"Rendered when the button is disabled."}]};var Ye=require("react/jsx-runtime"),We=t=>(0,Ye.jsx)(x,{icon:"folder",...t,"aria-label":t["aria-label"]||"Folder",children:void 0});var Ze=require("react/jsx-runtime"),Qe=t=>(0,Ze.jsx)(x,{icon:"folder",children:"Button",...t});var je=require("react/jsx-runtime"),R=t=>(0,je.jsx)(x,{children:"Button",...t});var ce=require("react/jsx-runtime"),Ft=x.options,Xt=x.states,qt={...x.defaultOptions,variant:"text"},Gt=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Jt=[],Q=t=>{let{variant:e,...o}=t;switch(e){case"icon-only":return(0,ce.jsx)(We,{...o,icon:"star"});case"icon-and-text":return(0,ce.jsx)(Qe,{...o,icon:"star",children:"Button"});default:return(0,ce.jsx)(R,{...o,children:"Button"})}};Q.options=Ft;Q.states=Xt;Q.variants=Gt;Q.defaultOptions=qt;Q.modifiers=Jt;var Ee="textbox",et=Ee;var Z="input",ue=Z;var tt=require("react/jsx-runtime"),me="k-input",Wt=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Yt={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Qt={},S=t=>{let{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:p,readonly:u,size:h,rounded:v,fillMode:y,...k}=t;return(0,tt.jsx)("span",{...k,className:i(t.className,me,N(me,{size:h,rounded:v,fillMode:y}),w(me,{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:p,readonly:u}))})};S.states=Wt;S.options=Yt;S.className=me;S.defaultOptions=Qt;S.moduleName=Z;S.folderName=ue;var ot=require("react/jsx-runtime"),fe="k-picker",Zt=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],jt={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},eo={},$=t=>{let{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:p,readonly:u,size:h,rounded:v,fillMode:y,...k}=t;return(0,ot.jsx)("span",{...k,className:i(t.className,fe,N(fe,{size:h,rounded:v,fillMode:y}),w(fe,{hover:e,focus:o,disabled:s,invalid:n,valid:d,loading:p,readonly:u})),children:t.children})};$.states=Zt;$.options=jt;$.className=fe;$.defaultOptions=eo;$.moduleName=Z;$.folderName=ue;var F=require("react/jsx-runtime"),nt="k-clear-value",to=[a.disabled,a.loading,a.readonly],oo={},H=t=>{let{disabled:e,loading:o,readonly:s,value:n}=t;return e||s||o||!n?(0,F.jsx)(F.Fragment,{}):(0,F.jsx)("span",{className:i(t.className,nt),children:(0,F.jsx)(f,{icon:"x"})})};H.states=to;H.options=oo;H.className=nt;var at=require("react/jsx-runtime"),Le="k-input-inner",no=[],ao={},xe={type:"text",autocomplete:"off",value:"",placeholder:""},z=t=>{let{value:e=xe.value,type:o=xe.type,placeholder:s=xe.placeholder,autocomplete:n=xe.autocomplete,disabled:d,readOnly:p,...u}=t;return(0,at.jsx)("input",{...u,type:o,className:i(t.className,Le,N(Le,t)),placeholder:s,autoComplete:n,defaultValue:e,disabled:d||void 0,readOnly:p||void 0})};z.states=no;z.options=ao;z.className=Le;var j=require("react/jsx-runtime"),Ae="k-input-inner",so=[],ro={},Pe=t=>{let{value:e,placeholder:o,showValue:s,valueIcon:n,valueIconName:d,...p}=t;return(0,j.jsxs)("span",{...p,className:i(t.className,Ae,N(Ae,t)),children:[n,!n&&d&&(0,j.jsx)(f,{className:"k-input-value-icon",icon:d}),s&&!e&&o,s&&e&&(0,j.jsx)("span",{className:"k-input-value-text",children:e})]})};Pe.states=so;Pe.options=ro;Pe.className=Ae;var rt=require("react/jsx-runtime"),we="k-input-inner",io=[],lo={},st={value:"",placeholder:""},Be=t=>{let{value:e=st.value,placeholder:o=st.placeholder,rows:s,disabled:n,...d}=t;return(0,rt.jsx)("textarea",{...d,className:i(t.className,we,N(we,t)),placeholder:o,rows:s,defaultValue:e,disabled:n||void 0})};Be.states=io;Be.options=lo;Be.className=we;var ee=require("react/jsx-runtime"),it="k-input-loading-icon",po=[a.disabled,a.loading],X=t=>{let{disabled:e,loading:o}=t;return e||!o?(0,ee.jsx)(ee.Fragment,{}):(0,ee.jsx)("span",{className:i(t.className,it,"k-icon k-i-loading")})};X.states=po;X.className=it;var te=require("react/jsx-runtime"),lt="k-input-validation-icon",co=[a.valid,a.invalid,a.disabled,a.loading],uo={},V=t=>{let{valid:e,invalid:o,disabled:s,loading:n}=t,d=o?"warning-circle":"check-circle";return s||n||!!!(e||o)?(0,te.jsx)(te.Fragment,{}):(0,te.jsx)(f,{className:i(lt),icon:d})};V.states=co;V.options=uo;V.className=lt;var oe=require("react/jsx-runtime"),mo="k-input-prefix",fo={direction:"horizontal"},be=t=>{let{direction:e=fo.direction,...o}=t;return t.children?(0,oe.jsx)("span",{...o,className:i(mo,t.className,{[`k-input-prefix-${e}`]:e}),children:t.children}):(0,oe.jsx)(oe.Fragment,{})};var ne=require("react/jsx-runtime"),xo="k-input-suffix",bo={direction:"horizontal"},he=t=>{let{direction:e=bo.direction,...o}=t;return t.children?(0,ne.jsx)("span",{...o,className:i(xo,t.className,{[`k-input-suffix-${e}`]:e}),children:t.children}):(0,ne.jsx)(ne.Fragment,{})};var ho=require("react/jsx-runtime");var No=require("react/jsx-runtime");var pt=require("react/jsx-runtime"),dt="k-input-separator",go={direction:"vertical"},q=t=>{let{direction:e=go.direction,...o}=t;return(0,pt.jsx)("span",{...o,className:i(dt,t.className,{[`${dt}-${e}`]:e})})};var b=require("react/jsx-runtime"),vo=S.states,Io=S.defaultOptions,ko=S.options,To=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],yo=[],ae=t=>{let{modifiers:e,valid:o,invalid:s,loading:n,disabled:d,readonly:p,...u}=t,h=e==null?void 0:e.prefix,v=e==null?void 0:e.suffix,y=e==null?void 0:e["clear-button"],k=e==null?void 0:e["validation-icon"],A=e==null?void 0:e.separators;return(0,b.jsxs)(S,{...u,valid:o,invalid:s,loading:n,disabled:d,readonly:p,style:{width:300},children:[h&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(be,{children:(0,b.jsx)(f,{icon:"lock"})}),A&&(0,b.jsx)(q,{})]}),(0,b.jsx)(z,{placeholder:"Placeholder",value:"Value"}),k&&(0,b.jsx)(V,{valid:o,invalid:s,loading:n,disabled:d}),(0,b.jsx)(X,{loading:n,disabled:d}),y&&(0,b.jsx)(H,{loading:n,disabled:d,readonly:p,value:"Value"}),v&&(0,b.jsxs)(b.Fragment,{children:[A&&(0,b.jsx)(q,{}),(0,b.jsx)(he,{children:(0,b.jsx)(R,{size:u.size,fillMode:"clear",children:"Send"})})]})]})};ae.options=ko;ae.states=vo;ae.variants=yo;ae.defaultOptions=Io;ae.modifiers=To;var g=require("react/jsx-runtime"),ct="k-textbox",So=[a.hover,a.focus,a.valid,a.invalid,a.required,a.disabled,a.loading,a.readonly],Mo={size:[l.undefined,l.small,l.medium,l.large],rounded:[c.undefined,c.none,c.small,c.medium,c.large,c.full],fillMode:[m.undefined,m.solid,m.flat,m.outline]},Ne={showClearButton:!0,showValidationIcon:!0,separators:!0},T=t=>{let{size:e,rounded:o,fillMode:s,separators:n=Ne.separators,showClearButton:d=Ne.showClearButton,showValidationIcon:p=Ne.showValidationIcon,prefix:u,suffix:h,type:v,value:y,placeholder:k,hover:A,focus:D,valid:U,invalid:O,required:L,loading:M,disabled:_,readonly:ie,id:ve,"aria-label":Ie,"aria-describedby":Tt,...yt}=t;return(0,g.jsxs)(S,{...yt,size:e,rounded:o,fillMode:s,hover:A,focus:D,valid:U,invalid:O,required:L,loading:M,disabled:_,readonly:ie,className:i(t.className,ct),children:[u&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(be,{children:u}),n&&(0,g.jsx)(q,{})]}),(0,g.jsx)(z,{id:ve,placeholder:k,value:y,type:v,disabled:_,"aria-label":Ie,"aria-describedby":Tt,"aria-invalid":O?"true":void 0}),p&&(0,g.jsx)(V,{valid:U,invalid:O,loading:M,disabled:_}),(0,g.jsx)(X,{loading:M,disabled:_}),d&&(0,g.jsx)(H,{loading:M,disabled:_,readonly:ie,value:y}),h&&(0,g.jsxs)(g.Fragment,{children:[n&&(0,g.jsx)(q,{}),(0,g.jsx)(he,{children:h})]})]})};T.states=So;T.options=Mo;T.className=ct;T.defaultOptions=Ne;T.moduleName=Ee;T.folderName=et;T.ariaSpec={selector:".k-textbox",rules:[{selector:".k-textbox > .k-input-inner",attribute:"role=textbox or nodeName=input",usage:"Describes the role of the component."},{selector:".k-textbox > .k-input-inner",attribute:"label for or aria-label or aria-labelledby (when has accessible name)",usage:"The input requires an accessible name (provided by consuming app)."},{selector:".k-textbox > .k-input-inner",attribute:"aria-invalid=true (when invalid)",usage:"Rendered when the TextBox is in an invalid state."},{selector:".k-textbox > .k-input-inner",attribute:"aria-describedby (when has hint or error)",usage:"Points to the hint or error message for the input."},{selector:".k-textbox.k-disabled > .k-input-inner",attribute:"disabled=disabled or aria-disabled=true",usage:"Rendered when the TextBox is disabled."}]};var se=T;var mt=require("react/jsx-runtime"),ut=t=>(0,mt.jsx)(se,{...t});var ft=require("react/jsx-runtime");var xt=require("react/jsx-runtime");var Co=require("react/jsx-runtime");var ge=require("react/jsx-runtime"),Oo=T.states,Eo=T.defaultOptions,Lo=T.options,Ao=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Po=[],re=t=>{let{modifiers:e,...o}=t,s={};return Object.keys(e||{}).forEach(n=>{switch(n){case"prefix":s.prefix=e!=null&&e[n]?(0,ge.jsx)(f,{icon:"lock"}):void 0;break;case"suffix":s.suffix=e!=null&&e[n]?(0,ge.jsx)(R,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":s.showClearButton=e==null?void 0:e[n];break;default:break}}),(0,ge.jsx)(ut,{value:"Value",style:{width:300},...o,...s})};re.options=Lo;re.states=Oo;re.variants=Po;re.defaultOptions=Eo;re.modifiers=Ao;var _e="skeleton",bt=_e;var ht=require("react/jsx-runtime"),Ke="k-skeleton",wo=["circle","text","rect"],Bo=[],_o={},Re={variant:"text",shape:"text",animation:"pulse"},C=t=>{let{variant:e,shape:o,animation:s=Re.animation,...n}=t,d=`skeleton-${e||o||Re.variant}`;return(0,ht.jsx)("span",{...n,className:i(t.className,Ke,de(Ke,d),{[`k-skeleton-${s}`]:s}),style:t.style})};C.states=Bo;C.options=_o;C.variants=wo;C.className=Ke;C.defaultOptions=Re;C.moduleName=_e;C.folderName=bt;C.ariaSpec={selector:".k-skeleton",rules:[]};var Ko=require("react/jsx-runtime");var gt=require("react/jsx-runtime"),Nt=t=>(0,gt.jsx)(C,{shape:"rect",...t});var Ro=require("react/jsx-runtime");var He="captcha",vt=He;var I=require("react/jsx-runtime"),ze="k-captcha",Ho=[a.loading,a.valid,a.invalid,a.disabled],zo={},It={imgPath:"/packages/html/assets/captcha.jpg"},B=t=>{let{value:e,valid:o,invalid:s,loading:n,disabled:d,imgPath:p=It.imgPath,...u}=t;return(0,I.jsxs)("div",{...u,className:i(t.className,ze,w(ze,{disabled:d}),{"k-captcha-loading":n}),children:[(0,I.jsxs)("div",{className:"k-captcha-image-wrap k-hstack",children:[(0,I.jsxs)("div",{className:"k-captcha-image",children:[(0,I.jsx)("img",{className:i({"k-hidden":n}),src:p}),n&&(0,I.jsx)(Nt,{style:{width:"100%",height:"100%"}})]}),(0,I.jsxs)("div",{className:"k-captcha-image-controls k-vstack",children:[(0,I.jsx)(x,{icon:"volume-up",disabled:n===!0}),(0,I.jsx)(x,{icon:"arrow-rotate-cw",disabled:n===!0})]}),(0,I.jsx)("div",{className:"k-captcha-volume-control k-vstack k-pos-absolute k-hidden",children:(0,I.jsx)("div",{className:"k-slider k-slider-vertical"})})]}),(0,I.jsxs)("div",{className:"k-captcha-input k-vstack",children:[(0,I.jsx)(T,{value:e,valid:o,invalid:s,disabled:n===!0}),o&&!n&&(0,I.jsx)("span",{className:"k-captcha-validation-message !k-text-success",children:"Verification Success"})]})]})};B.states=Ho;B.options=zo;B.className=ze;B.defaultOptions=It;B.moduleName=He;B.folderName=vt;var kt=require("react/jsx-runtime"),Vo=t=>(0,kt.jsx)(B,{value:"YR890",...t});
@@ -1 +1 @@
1
- var i=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var g=(o,e)=>{for(var l in e)i(o,l,{get:e[l],enumerable:!0})},f=(o,e,l,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of a(e))!h.call(o,s)&&s!==l&&i(o,s,{get:()=>e[s],enumerable:!(n=p(e,s))||n.enumerable});return o};var d=o=>f(i({},"__esModule",{value:!0}),o);var W={};g(W,{ChartDemo:()=>r,default:()=>L});module.exports=d(W);var t=require("react/jsx-runtime"),c={},k=[],x=[],y={},b=[],r=()=>(0,t.jsx)("div",{className:"k-chart k-widget",style:{position:"relative",width:"660px",height:"400px"},children:(0,t.jsx)("div",{className:"k-chart-surface",tabIndex:0,role:"graphics-document document","aria-roledescription":"Units sold",style:{position:"relative",touchAction:"none"},children:M})}),M=(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",version:"1.1",style:{width:"100%",height:"100%",overflow:"hidden",left:"-0.999998px",top:"-0.999998px"},children:[(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{clipRule:"evenodd",id:"kdef108",children:(0,t.jsx)("path",{d:"M34.5 50.5 L 648.5 50.5 648.5 347.5 34.5 347.5Z",stroke:"#000",strokeLinejoin:"miter",fill:"none"})})}),(0,t.jsxs)("g",{children:[(0,t.jsx)("path",{d:"M0 0 L 660 0 660 400 0 400Z",stroke:"none",fill:"rgb(255, 255, 255)"}),(0,t.jsx)("path",{d:"M34 49.5 L 647.5 49.5 647.5 347 34 347Z",stroke:"none",fill:"#fff",fillOpacity:0}),(0,t.jsxs)("g",{children:[(0,t.jsxs)("g",{children:[(0,t.jsx)("path",{d:"M136.5 50.5 L 136.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M239.5 50.5 L 239.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M341.5 50.5 L 341.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M443.5 50.5 L 443.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M545.5 50.5 L 545.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M648.5 50.5 L 648.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"})]}),(0,t.jsxs)("g",{children:[(0,t.jsx)("path",{d:"M34.5 305.5 L 648.5 305.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M34.5 262.5 L 648.5 262.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M34.5 220.5 L 648.5 220.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M34.5 177.5 L 648.5 177.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M34.5 135.5 L 648.5 135.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M34.5 92.5 L 648.5 92.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M34.5 50.5 L 648.5 50.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"})]}),(0,t.jsx)("g",{children:(0,t.jsx)("g",{children:(0,t.jsxs)("g",{children:[(0,t.jsx)("path",{d:"M34.5 347.5 L 648.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M34.5 347.5 L 34.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M136.5 347.5 L 136.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M239.5 347.5 L 239.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M341.5 347.5 L 341.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M443.5 347.5 L 443.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M545.5 347.5 L 545.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M648.5 347.5 L 648.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"})]})})}),(0,t.jsx)("g",{clipPath:"url(#kdef108)",children:(0,t.jsxs)("g",{children:[(0,t.jsx)("g",{children:(0,t.jsx)("path",{d:"M34 242.45 L 136.25 112.4 238.5 83.5 340.75 166.8 443 143 545.25 214.4 647.5 263.7 647.5 347 34 347",stroke:"none",fill:"rgb(18, 116, 172)",fillOpacity:"0.6"})}),(0,t.jsx)("g",{children:(0,t.jsx)("path",{d:"M34 206.75 L 136.25 168.5 238.5 103.05 340.75 224.6 443 185.5 545.25 205.05 647.5 166.8 647.5 347 34 347",stroke:"none",fill:"rgb(255, 225, 98)",fillOpacity:"0.6"})}),(0,t.jsx)("g",{children:(0,t.jsx)("path",{d:"M34 299.4 L 136.25 228 238.5 181.25 340.75 307.9 443 242.45 545.25 280.7 647.5 266.25 647.5 347 34 347",stroke:"none",fill:"rgb(76, 209, 128)",fillOpacity:"0.6"})})]})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:"318.25",y:387,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 14px sans-serif",whiteSpace:"pre"},children:"Months"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:"24.5",y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"Jan"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:"125.75",y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"Feb"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:228,y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"Mar"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:"331.25",y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"Apr"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:"431.5",y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"May"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:"535.75",y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"Jun"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:640,y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"Jul"})}),(0,t.jsx)("g",{children:(0,t.jsxs)("g",{children:[(0,t.jsx)("path",{d:"M34.5 50.5 L 34.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M30.5 347.5 L 34.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M30.5 305.5 L 34.5 305.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M30.5 262.5 L 34.5 262.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M30.5 220.5 L 34.5 220.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M30.5 177.5 L 34.5 177.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M30.5 135.5 L 34.5 135.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M30.5 92.5 L 34.5 92.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M30.5 50.5 L 34.5 50.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"})]})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:18,y:"351.5",stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"0"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:12,y:309,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"50"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:5,y:"266.5",stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"100"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:5,y:224,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"150"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:5,y:"181.5",stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"200"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:5,y:139,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"250"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:5,y:"96.5",stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"300"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:5,y:54,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"350"})})]}),(0,t.jsx)("g",{children:(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:295,y:29,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 16.002px sans-serif",whiteSpace:"pre"},children:"Units sold"})})}),(0,t.jsx)("g",{})]})]});r.options=c;r.states=k;r.variants=x;r.defaultOptions=y;r.modifiers=b;var L=r;
1
+ var i=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var g=(o,e)=>{for(var l in e)i(o,l,{get:e[l],enumerable:!0})},f=(o,e,l,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of a(e))!h.call(o,s)&&s!==l&&i(o,s,{get:()=>e[s],enumerable:!(n=p(e,s))||n.enumerable});return o};var d=o=>f(i({},"__esModule",{value:!0}),o);var W={};g(W,{ChartDemo:()=>r,default:()=>L});module.exports=d(W);var t=require("react/jsx-runtime"),c={},k=[],x=[],y={},b=[],r=()=>(0,t.jsx)("div",{className:"k-chart",style:{position:"relative",width:"660px",height:"400px"},children:(0,t.jsx)("div",{className:"k-chart-surface",tabIndex:0,role:"graphics-document document","aria-roledescription":"Units sold",style:{position:"relative",touchAction:"none"},children:M})}),M=(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",version:"1.1",style:{width:"100%",height:"100%",overflow:"hidden",left:"-0.999998px",top:"-0.999998px"},children:[(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{clipRule:"evenodd",id:"kdef108",children:(0,t.jsx)("path",{d:"M34.5 50.5 L 648.5 50.5 648.5 347.5 34.5 347.5Z",stroke:"#000",strokeLinejoin:"miter",fill:"none"})})}),(0,t.jsxs)("g",{children:[(0,t.jsx)("path",{d:"M0 0 L 660 0 660 400 0 400Z",stroke:"none",fill:"rgb(255, 255, 255)"}),(0,t.jsx)("path",{d:"M34 49.5 L 647.5 49.5 647.5 347 34 347Z",stroke:"none",fill:"#fff",fillOpacity:0}),(0,t.jsxs)("g",{children:[(0,t.jsxs)("g",{children:[(0,t.jsx)("path",{d:"M136.5 50.5 L 136.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M239.5 50.5 L 239.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M341.5 50.5 L 341.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M443.5 50.5 L 443.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M545.5 50.5 L 545.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M648.5 50.5 L 648.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"})]}),(0,t.jsxs)("g",{children:[(0,t.jsx)("path",{d:"M34.5 305.5 L 648.5 305.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M34.5 262.5 L 648.5 262.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M34.5 220.5 L 648.5 220.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M34.5 177.5 L 648.5 177.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M34.5 135.5 L 648.5 135.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M34.5 92.5 L 648.5 92.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M34.5 50.5 L 648.5 50.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"})]}),(0,t.jsx)("g",{children:(0,t.jsx)("g",{children:(0,t.jsxs)("g",{children:[(0,t.jsx)("path",{d:"M34.5 347.5 L 648.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M34.5 347.5 L 34.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M136.5 347.5 L 136.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M239.5 347.5 L 239.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M341.5 347.5 L 341.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M443.5 347.5 L 443.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M545.5 347.5 L 545.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M648.5 347.5 L 648.5 351.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"})]})})}),(0,t.jsx)("g",{clipPath:"url(#kdef108)",children:(0,t.jsxs)("g",{children:[(0,t.jsx)("g",{children:(0,t.jsx)("path",{d:"M34 242.45 L 136.25 112.4 238.5 83.5 340.75 166.8 443 143 545.25 214.4 647.5 263.7 647.5 347 34 347",stroke:"none",fill:"rgb(18, 116, 172)",fillOpacity:"0.6"})}),(0,t.jsx)("g",{children:(0,t.jsx)("path",{d:"M34 206.75 L 136.25 168.5 238.5 103.05 340.75 224.6 443 185.5 545.25 205.05 647.5 166.8 647.5 347 34 347",stroke:"none",fill:"rgb(255, 225, 98)",fillOpacity:"0.6"})}),(0,t.jsx)("g",{children:(0,t.jsx)("path",{d:"M34 299.4 L 136.25 228 238.5 181.25 340.75 307.9 443 242.45 545.25 280.7 647.5 266.25 647.5 347 34 347",stroke:"none",fill:"rgb(76, 209, 128)",fillOpacity:"0.6"})})]})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:"318.25",y:387,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 14px sans-serif",whiteSpace:"pre"},children:"Months"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:"24.5",y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"Jan"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:"125.75",y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"Feb"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:228,y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"Mar"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:"331.25",y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"Apr"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:"431.5",y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"May"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:"535.75",y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"Jun"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:640,y:367,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"Jul"})}),(0,t.jsx)("g",{children:(0,t.jsxs)("g",{children:[(0,t.jsx)("path",{d:"M34.5 50.5 L 34.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M30.5 347.5 L 34.5 347.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M30.5 305.5 L 34.5 305.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M30.5 262.5 L 34.5 262.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M30.5 220.5 L 34.5 220.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M30.5 177.5 L 34.5 177.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M30.5 135.5 L 34.5 135.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M30.5 92.5 L 34.5 92.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"}),(0,t.jsx)("path",{d:"M30.5 50.5 L 34.5 50.5",stroke:"color(srgb 0.258824 0.258824 0.258824 / 0.08)",strokeWidth:1,fill:"none"})]})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:18,y:"351.5",stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"0"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:12,y:309,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"50"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:5,y:"266.5",stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"100"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:5,y:224,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"150"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:5,y:"181.5",stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"200"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:5,y:139,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"250"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:5,y:"96.5",stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"300"})}),(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:5,y:54,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 11.998px sans-serif",whiteSpace:"pre"},children:"350"})})]}),(0,t.jsx)("g",{children:(0,t.jsx)("g",{children:(0,t.jsx)("text",{x:295,y:29,stroke:"none",fill:"rgb(66, 66, 66)",fillOpacity:1,style:{font:"400 16.002px sans-serif",whiteSpace:"pre"},children:"Units sold"})})}),(0,t.jsx)("g",{})]})]});r.options=c;r.states=k;r.variants=x;r.defaultOptions=y;r.modifiers=b;var L=r;