@progress/kendo-themes-html 14.7.0-dev.13 → 14.7.0-dev.15
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.
- package/dist/cjs/imageeditor/imageeditor-canvas.spec.js +1 -0
- package/dist/cjs/imageeditor/imageeditor-option-list.js +1 -1
- package/dist/cjs/imageeditor/imageeditor-pane.js +1 -1
- package/dist/cjs/imageeditor/imageeditor-preview-thumbnail.js +1 -1
- package/dist/cjs/imageeditor/imageeditor-sidebar.js +1 -1
- package/dist/cjs/imageeditor/imageeditor-toolbar.js +1 -1
- package/dist/cjs/imageeditor/imageeditor.spec.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-adjustments-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-adjustments.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-blur-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-blur.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-crop-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-crop.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-filters-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-filters.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-frames-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-frames.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-insert-line-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-insert-line.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-insert-shape-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-insert-shape.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-insert-text-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-insert-text.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-normal.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-pixelate-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-pixelate.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-resize-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-resize.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-rotate-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-rotate.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-shadow-adaptive.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-shadow.js +1 -1
- package/dist/cjs/index.js +8 -8
- package/dist/esm/imageeditor/imageeditor-canvas.spec.mjs +1 -0
- package/dist/esm/imageeditor/imageeditor-option-list.mjs +1 -1
- package/dist/esm/imageeditor/imageeditor-pane.mjs +1 -1
- package/dist/esm/imageeditor/imageeditor-preview-thumbnail.mjs +1 -1
- package/dist/esm/imageeditor/imageeditor-sidebar.mjs +1 -1
- package/dist/esm/imageeditor/imageeditor-toolbar.mjs +1 -1
- package/dist/esm/imageeditor/imageeditor.spec.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-adjustments-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-adjustments.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-blur-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-blur.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-crop-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-crop.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-filters-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-filters.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-frames-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-frames.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-insert-line-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-insert-line.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-insert-shape-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-insert-shape.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-insert-text-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-insert-text.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-normal.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-pixelate-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-pixelate.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-resize-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-resize.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-rotate-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-rotate.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-shadow-adaptive.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-shadow.mjs +1 -1
- package/dist/esm/index.mjs +8 -8
- package/dist/types/imageeditor/constants.d.ts +9 -0
- package/dist/types/imageeditor/imageeditor-canvas.spec.d.ts +15 -0
- package/dist/types/imageeditor/imageeditor-option-list.d.ts +1 -0
- package/dist/types/imageeditor/imageeditor-pane.d.ts +2 -0
- package/dist/types/imageeditor/imageeditor-preview-thumbnail.d.ts +1 -0
- package/dist/types/imageeditor/imageeditor-sidebar.d.ts +8 -0
- package/dist/types/imageeditor/imageeditor-toolbar.d.ts +5 -4
- package/dist/types/imageeditor/imageeditor.spec.d.ts +7 -3
- package/dist/types/imageeditor/index.d.ts +13 -1
- package/dist/types/imageeditor/templates/imageeditor-adjustments-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-adjustments.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-blur-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-blur.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-crop-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-crop.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-filters-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-filters.d.ts +1 -6
- package/dist/types/imageeditor/templates/imageeditor-frames-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-frames.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-insert-line-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-insert-line.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-insert-shape-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-insert-shape.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-insert-text-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-insert-text.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-pixelate-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-pixelate.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-resize-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-resize.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-rotate-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-rotate.d.ts +1 -1
- package/dist/types/imageeditor/templates/imageeditor-shadow-adaptive.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-shadow.d.ts +1 -1
- package/package.json +1 -1
- package/src/imageeditor/constants.ts +4 -0
- package/src/imageeditor/imageeditor-canvas.spec.tsx +30 -0
- package/src/imageeditor/imageeditor-option-list.tsx +2 -1
- package/src/imageeditor/imageeditor-pane.tsx +4 -1
- package/src/imageeditor/imageeditor-preview-thumbnail.tsx +3 -2
- package/src/imageeditor/imageeditor-sidebar.tsx +32 -19
- package/src/imageeditor/imageeditor-toolbar.tsx +27 -21
- package/src/imageeditor/imageeditor.spec.tsx +14 -6
- package/src/imageeditor/index.ts +13 -1
- package/src/imageeditor/templates/imageeditor-adjustments-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-adjustments.tsx +80 -57
- package/src/imageeditor/templates/imageeditor-blur-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-blur.tsx +9 -25
- package/src/imageeditor/templates/imageeditor-crop-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-crop.tsx +22 -28
- package/src/imageeditor/templates/imageeditor-filters-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-filters.tsx +32 -52
- package/src/imageeditor/templates/imageeditor-frames-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-frames.tsx +123 -149
- package/src/imageeditor/templates/imageeditor-insert-line-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-insert-line.tsx +24 -25
- package/src/imageeditor/templates/imageeditor-insert-shape-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-insert-shape.tsx +93 -50
- package/src/imageeditor/templates/imageeditor-insert-text-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-insert-text.tsx +24 -25
- package/src/imageeditor/templates/imageeditor-normal.tsx +2 -23
- package/src/imageeditor/templates/imageeditor-pixelate-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-pixelate.tsx +9 -24
- package/src/imageeditor/templates/imageeditor-resize-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-resize.tsx +10 -25
- package/src/imageeditor/templates/imageeditor-rotate-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-rotate.tsx +8 -23
- package/src/imageeditor/templates/imageeditor-shadow-adaptive.tsx +3 -0
- package/src/imageeditor/templates/imageeditor-shadow.tsx +20 -42
- package/src/imageeditor/tests/imageeditor-adaptive-panes.tsx +85 -0
- package/src/imageeditor/tests/imageeditor-adaptive-small.tsx +10 -305
- package/src/imageeditor/tests/imageeditor-adjustments-pane.tsx +2 -1
- package/src/imageeditor/tests/imageeditor-blur-pane.tsx +2 -1
- package/src/imageeditor/tests/imageeditor-crop-pane.tsx +2 -1
- package/src/imageeditor/tests/imageeditor-filters-pane.tsx +2 -1
- package/src/imageeditor/tests/imageeditor-frames-pane.tsx +4 -3
- package/src/imageeditor/tests/imageeditor-insert-shape-pane.tsx +1 -1
- package/src/imageeditor/tests/imageeditor-interactive-states.tsx +6 -6
- package/src/imageeditor/tests/imageeditor-pixelate-pane.tsx +2 -1
- package/src/imageeditor/tests/imageeditor-resize-pane.tsx +2 -1
- package/src/imageeditor/tests/imageeditor-responsive.tsx +4 -4
- package/src/imageeditor/tests/imageeditor-rotate-pane.tsx +2 -1
- package/src/imageeditor/tests/imageeditor-shadow-pane.tsx +2 -1
- package/src/list/tests/list-states.tsx +57 -0
- package/src/menu/tests/menu-states.tsx +13 -0
- package/dist/cjs/imageeditor/templates/imageeditor-disabled.js +0 -1
- package/dist/esm/imageeditor/templates/imageeditor-disabled.mjs +0 -1
- package/dist/types/imageeditor/templates/imageeditor-disabled.d.ts +0 -1
- package/src/imageeditor/templates/imageeditor-disabled.tsx +0 -54
|
@@ -1 +1 @@
|
|
|
1
|
-
var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var E=(e,t)=>r({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),y=(e,t)=>{let{valid:o,invalid:a,hover:i,focus:l,checked:d,active:m,selected:f,disabled:h,indeterminate:b,loading:N,empty:c,readonly:v,highlighted:L,...I}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":i,"k-focus":l,"k-checked":d,"k-active":m,"k-selected":f,"k-disabled":h,"k-indeterminate":b&&!d,"k-loading":N,"k-empty":c,"k-readonly":v,"k-highlighted":L},Object.keys(I).reduce((S,M)=>(M.startsWith("k-")?S[M]=I[M]:S[`k-${M}`]=I[M],S),{}))};function cl(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var p={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},u={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},x={undefined:void 0,solid:"solid",tint:"tint",flat:"flat",outline:"outline",clear:"clear",link:"link"},gt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},k={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},n={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 lr={};function T(e){return lr[e]=(lr[e]||0)+1,`k-${e}-${lr[e]}`}import{Fragment as Vp,jsx as ul}from"react/jsx-runtime";var sr="k-font-icon",Up=[],Gp={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info]},$p={},Ra=e=>{let{size:t,themeColor:o,icon:a,rotate:i,flip:l,...d}=e;return a?ul("span",{...d,className:r(e.className,sr,E(sr,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":l==="h"||l==="both","k-flip-v":l==="v"||l==="both"}),"aria-hidden":"true"}):ul(Vp,{})};Ra.states=Up;Ra.options=Gp;Ra.className=sr;Ra.defaultOptions=$p;var fl=Ra;import{Fragment as Jp,jsx as fi}from"react/jsx-runtime";var dr="k-svg-icon",Xp=[],Wp={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info],variant:[gt.outline,gt.solid,gt.duotone]},pr={viewBox:"0 0 24 24",variant:gt.outline},Pa=e=>{let{size:t,themeColor:o,rotate:a,flip:i,viewBox:l=pr.viewBox,variant:d=pr.variant,icon:m,...f}=e;if(!m)return fi(Jp,{});if(m==="none")return fi("span",{...f,className:r(e.className,dr,E("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let h=typeof m=="object"&&m.name&&m.name,b=typeof m=="object"?d&&m.variants?.[d]||m.variants?.outline||m.content:void 0;return fi("span",{...f,className:r(e.className,dr,E("k-icon",{size:t}),{[`k-svg-i-${h}`]:h,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true",children:fi("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:l,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:m?void 0:e.children})})};Pa.states=Xp;Pa.options=Wp;Pa.className=dr;Pa.defaultOptions=pr;var mr=Pa;import*as cr from"@progress/kendo-svg-icons";var bl="icon",xl="icons";import{useContext as Yp}from"react";import{createContext as qp}from"react";var hl=qp({iconsType:"svg"});import{Fragment as gl,jsx as wa}from"react/jsx-runtime";var bi="k-icon",Zp=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Qp=[],jp={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info],variant:[gt.outline,gt.solid,gt.duotone]},xi={viewBox:"0 0 24 24",type:"svg",variant:gt.outline},g=e=>{let{iconsType:t}=Yp(hl),{size:o,themeColor:a,icon:i,type:l=t||xi.type,rotate:d,flip:m,viewBox:f=xi.viewBox,variant:h=xi.variant,...b}=e;if(!i)return wa(gl,{});if((t||l)==="svg"){if(i==="none")return wa(mr,{...b,className:r(e.className,bi),icon:i,size:o,variant:h});let c=cr[i]?i:Zp(`${i}-icon`);return cr[c]?wa(mr,{...b,className:r(e.className,bi),icon:cr[c],size:o,themeColor:a,rotate:d,flip:m,viewBox:f,variant:h}):wa(gl,{})}return wa(fl,{...b,className:r(e.className,bi),icon:i,size:o,themeColor:a,rotate:d,flip:m})};g.states=Qp;g.options=jp;g.defaultOptions=xi;g.className=bi;g.moduleName=bl;g.folderName=xl;var ur="button",Nl=ur;import{Fragment as fr,jsx as Xt,jsxs as vl}from"react/jsx-runtime";var Ka="k-button",em=["icon-button"],tm=[n.hover,n.focus,n.active,n.selected,n.disabled,n.generating],om={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info,k.inverse]},br={showArrow:!1,arrowIconName:"chevron-down"},s=e=>{let{as:t="button",size:o,rounded:a,fillMode:i,themeColor:l,showArrow:d=br.showArrow,arrowIconName:m=br.arrowIconName,variant:f,hover:h,focus:b,active:N,selected:c,disabled:v,togglable:L,ariaDisabled:I,icon:S,endIcon:M,iconSize:O,text:K,iconClassName:Y,className:oe,...ae}=e,pe=S!=null,lo=e.children!==void 0;return vl(t,{className:r(oe,Ka,cl(Ka,f),E(Ka,{size:o,rounded:a,fillMode:i,themeColor:l}),y(Ka,{hover:h,focus:b,active:N,disabled:v||I,selected:c}),{"k-icon-button":!K&&!lo&&pe}),"aria-pressed":L?c?"true":"false":void 0,...ae,"aria-disabled":I?"true":void 0,disabled:v||void 0,children:[typeof S=="string"&&S&&Xt(g,{className:r(Y,"k-button-icon"),icon:S,size:O}),S&&typeof S!="string"&&Xt(fr,{children:S}),K?vl(fr,{children:[K&&Xt("span",{className:"k-button-text",children:K}),e.children]}):e.children&&Xt("span",{className:"k-button-text",children:e.children}),typeof M=="string"&&M&&Xt(g,{className:r(Y,"k-button-icon"),icon:M,size:O}),M&&typeof M!="string"&&Xt(fr,{children:M}),d&&Xt("span",{className:"k-menu-button-arrow k-button-arrow",children:Xt(g,{icon:m})})]})};s.states=tm;s.options=om;s.variants=em;s.className=Ka;s.defaultOptions=br;s.moduleName=ur;s.folderName=Nl;import{jsx as am}from"react/jsx-runtime";var wt=e=>am(s,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as im}from"react/jsx-runtime";var za=e=>im(s,{icon:"folder",children:"Button",...e});import{jsx as Cv}from"react/jsx-runtime";import{jsx as rm}from"react/jsx-runtime";var Nt=e=>rm(s,{children:"Button",...e});import{jsx as xr}from"react/jsx-runtime";var nm=s.options,lm=s.states,sm={...s.defaultOptions,variant:"text"},dm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],pm=[],Eo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return xr(wt,{...o,icon:"star"});case"icon-and-text":return xr(za,{...o,icon:"star",children:"Button"});default:return xr(Nt,{...o,children:"Button"})}};Eo.options=nm;Eo.states=lm;Eo.variants=dm;Eo.defaultOptions=sm;Eo.modifiers=pm;Eo.className=s.className;var hr="button",kl=hr;import{jsx as fm}from"react/jsx-runtime";var _a="k-button-group",mm=[n.disabled],cm={fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},um={},A=e=>{let{fillMode:t,disabled:o,stretched:a,...i}=e;return fm("div",{role:"group",...i,className:r(e.className,_a,E(_a,{fillMode:t}),y(_a,{disabled:o}),{[`${_a}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};A.states=mm;A.options=cm;A.className=_a;A.defaultOptions=um;A.moduleName=hr;A.folderName=kl;import{Fragment as ok,jsx as tk,jsxs as ak}from"react/jsx-runtime";import{Fragment as dk,jsx as sk,jsxs as pk}from"react/jsx-runtime";import{Fragment as xk,jsx as bk,jsxs as hk}from"react/jsx-runtime";import{Fragment as Ik,jsx as Lk,jsxs as Sk}from"react/jsx-runtime";import{Fragment as Tk,jsx as Bk,jsxs as Ak}from"react/jsx-runtime";import{Fragment as zk,jsx as Kk,jsxs as _k}from"react/jsx-runtime";import{Fragment as $k,jsx as Gk,jsxs as Vk}from"react/jsx-runtime";import{jsx as Kt,jsxs as gr}from"react/jsx-runtime";var bm={...s.options,...A.options},xm=s.states,hm={...s.defaultOptions,...A.defaultOptions,variant:"text-button"},gm=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Nm=[],Co=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?gr(A,{fillMode:a.fillMode,className:o,children:[Kt(s,{...a,icon:"star"}),Kt(s,{...a,icon:"star"}),Kt(s,{...a,icon:"star"})]}):t==="icon-text-button"?gr(A,{fillMode:a.fillMode,className:o,children:[Kt(s,{...a,icon:"star",children:"First"}),Kt(s,{...a,icon:"star",children:"Middle"}),Kt(s,{...a,icon:"star",children:"Last"})]}):gr(A,{fillMode:a.fillMode,className:o,children:[Kt(s,{...a,children:"First"}),Kt(s,{...a,children:"Middle"}),Kt(s,{...a,children:"Last"})]})};Co.options=bm;Co.states=xm;Co.variants=gm;Co.defaultOptions=hm;Co.modifiers=Nm;Co.className=A.className;var Da="input",hi=Da;import{jsx as Im}from"react/jsx-runtime";var gi="k-input",vm=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],km={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Lm={},V=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:d,readonly:m,size:f,rounded:h,fillMode:b,...N}=e;return Im("span",{...N,className:r(e.className,gi,E(gi,{size:f,rounded:h,fillMode:b}),y(gi,{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:d,readonly:m}))})};V.states=vm;V.options=km;V.className=gi;V.defaultOptions=Lm;V.moduleName=Da;V.folderName=hi;import{jsx as Em}from"react/jsx-runtime";var Ni="k-picker",Sm=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Mm={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},ym={},vt=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:d,readonly:m,size:f,rounded:h,fillMode:b,...N}=e;return Em("span",{...N,className:r(e.className,Ni,E(Ni,{size:f,rounded:h,fillMode:b}),y(Ni,{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:d,readonly:m})),children:e.children})};vt.states=Sm;vt.options=Mm;vt.className=Ni;vt.defaultOptions=ym;vt.moduleName=Da;vt.folderName=hi;import{Fragment as Tm,jsx as Nr}from"react/jsx-runtime";var Ll="k-clear-value",Cm=[n.disabled,n.loading,n.readonly],Bm={},me=e=>{let{disabled:t,loading:o,readonly:a,value:i}=e;return t||a||o||!i?Nr(Tm,{}):Nr("span",{className:r(e.className,Ll),children:Nr(g,{icon:"x"})})};me.states=Cm;me.options=Bm;me.className=Ll;import{jsx as Rm}from"react/jsx-runtime";var vr="k-input-inner",Am=[],Om={},vi={type:"text",autocomplete:"off",value:"",placeholder:""},ce=e=>{let{value:t=vi.value,type:o=vi.type,placeholder:a=vi.placeholder,autocomplete:i=vi.autocomplete,disabled:l,readOnly:d,...m}=e;return Rm("input",{...m,type:o,className:r(e.className,vr,E(vr,e)),placeholder:a,autoComplete:i,defaultValue:t,disabled:l||void 0,readOnly:d||void 0})};ce.states=Am;ce.options=Om;ce.className=vr;import{jsx as Il,jsxs as Km}from"react/jsx-runtime";var kr="k-input-inner",Pm=[],wm={},so=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:i,valueIconName:l,...d}=e;return Km("span",{...d,className:r(e.className,kr,E(kr,e)),children:[i,!i&&l&&Il(g,{className:"k-input-value-icon",icon:l}),a&&!t&&o,a&&t&&Il("span",{className:"k-input-value-text",children:t})]})};so.states=Pm;so.options=wm;so.className=kr;import{jsx as Dm}from"react/jsx-runtime";var Lr="k-input-inner",zm=[],_m={},Sl={value:"",placeholder:""},Fa=e=>{let{value:t=Sl.value,placeholder:o=Sl.placeholder,rows:a,disabled:i,...l}=e;return Dm("textarea",{...l,className:r(e.className,Lr,E(Lr,e)),placeholder:o,rows:a,defaultValue:t,disabled:i||void 0})};Fa.states=zm;Fa.options=_m;Fa.className=Lr;import{Fragment as Hm,jsx as Ml}from"react/jsx-runtime";var yl="k-input-loading-icon",Fm=[n.disabled,n.loading],ie=e=>{let{disabled:t,loading:o}=e;return t||!o?Ml(Hm,{}):Ml("span",{className:r(e.className,yl,"k-icon k-i-loading")})};ie.states=Fm;ie.className=yl;import{Fragment as $m,jsx as El}from"react/jsx-runtime";var Cl="k-input-validation-icon",Um=[n.valid,n.invalid,n.disabled,n.loading],Gm={},j=e=>{let{valid:t,invalid:o,disabled:a,loading:i}=e,l=o?"warning-circle":"check-circle";return a||i||!!!(t||o)?El($m,{}):El(g,{className:r(Cl),icon:l})};j.states=Um;j.options=Gm;j.className=Cl;import{Fragment as Wm,jsx as Bl}from"react/jsx-runtime";var Vm="k-input-prefix",Xm={direction:"horizontal"},be=e=>{let{direction:t=Xm.direction,...o}=e;return e.children?Bl("span",{...o,className:r(Vm,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Bl(Wm,{})};import{Fragment as Ym,jsx as Tl}from"react/jsx-runtime";var Jm="k-input-suffix",qm={direction:"horizontal"},xe=e=>{let{direction:t=qm.direction,...o}=e;return e.children?Tl("span",{...o,className:r(Jm,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Tl(Ym,{})};import{jsx as XL}from"react/jsx-runtime";import{jsx as Qm}from"react/jsx-runtime";var Zm="k-input-suffix-text",kt=e=>{let{children:t,...o}=e;return Qm("span",{...o,className:r(Zm,e.className),children:t})};import{jsx as ec}from"react/jsx-runtime";var Al="k-input-separator",jm={direction:"vertical"},ee=e=>{let{direction:t=jm.direction,...o}=e;return ec("span",{...o,className:r(Al,e.className,{[`${Al}-${t}`]:t})})};import{Fragment as Ol,jsx as Lt,jsxs as Ir}from"react/jsx-runtime";var tc=V.states,oc=V.defaultOptions,ac=V.options,ic=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],rc=[],Bo=e=>{let{modifiers:t,valid:o,invalid:a,loading:i,disabled:l,readonly:d,...m}=e,f=t?.prefix,h=t?.suffix,b=t?.["clear-button"],N=t?.["validation-icon"],c=t?.separators;return Ir(V,{...m,valid:o,invalid:a,loading:i,disabled:l,readonly:d,style:{width:300},children:[f&&Ir(Ol,{children:[Lt(be,{children:Lt(g,{icon:"lock"})}),c&&Lt(ee,{})]}),Lt(ce,{placeholder:"Placeholder",value:"Value"}),N&&Lt(j,{valid:o,invalid:a,loading:i,disabled:l}),Lt(ie,{loading:i,disabled:l}),b&&Lt(me,{loading:i,disabled:l,readonly:d,value:"Value"}),h&&Ir(Ol,{children:[c&&Lt(ee,{}),Lt(xe,{children:Lt(Nt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};Bo.options=ac;Bo.states=tc;Bo.variants=rc;Bo.defaultOptions=oc;Bo.modifiers=ic;Bo.className=V.className;import{jsx as Rl,jsxs as sc}from"react/jsx-runtime";var Pl="k-color-preview",nc=[],lc={},Wt=e=>{let{color:t,iconName:o,...a}=e;return sc("span",{...a,className:r(e.className,Pl,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&Rl(g,{icon:o,className:"k-color-preview-icon"}),Rl("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Wt.states=nc;Wt.options=lc;Wt.className=Pl;var Sr="popup",wl=Sr;import{jsx as Kl}from"react/jsx-runtime";var zl="k-animation-container",dc=[],pc={},Mr={positionMode:"absolute",shown:!0},It=e=>{let{positionMode:t=Mr.positionMode,shown:o=Mr.shown,animationStyle:a,offset:i,...l}=e;return Kl("div",{...l,style:{...i,...e.style},className:r(e.className,zl,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Kl("div",{className:"k-child-animation-container",style:a,children:e.children})})};It.states=dc;It.options=pc;It.className=zl;It.defaultOptions=Mr;It.moduleName=Sr;It.folderName=wl;var yr="popup",_l=yr;import{jsx as Dl}from"react/jsx-runtime";var Fl="k-popup",mc=[],cc={},Hl={positionMode:"absolute"},J=e=>{let{offset:t,positionMode:o=Hl.positionMode,animationStyle:a,containerClassName:i,containerRole:l,containerAriaLabel:d,...m}=e;return Dl(It,{positionMode:o,offset:t,animationStyle:a,className:i,role:l,"aria-label":d,children:Dl("div",{...m,className:r(e.className,Fl),children:e.children})})};J.states=mc;J.options=cc;J.className=Fl;J.defaultOptions=Hl;J.moduleName=yr;J.folderName=_l;var Er="action-buttons",Ul=Er;import{jsx as bc}from"react/jsx-runtime";var ki="k-actions",uc=[],fc={},Cr={alignment:"start",orientation:"horizontal"},He=e=>{let{alignment:t=Cr.alignment,orientation:o=Cr.orientation,...a}=e;return bc("div",{...a,className:r(ki,{[`${ki}-${t}`]:t,[`${ki}-${o}`]:o},e.className),children:e.children})};He.states=uc;He.options=fc;He.className=ki;He.defaultOptions=Cr;He.moduleName=Er;He.folderName=Ul;var Gl=He;import{jsx as hc}from"react/jsx-runtime";var xc="k-actionsheet-footer",$l={alignment:"stretched",orientation:"horizontal"},Jt=e=>{let{alignment:t=$l.alignment,orientation:o=$l.orientation,template:a,as:i=a?"div":He,...l}=e;return hc(i,{...l,...!a&&{alignment:t,orientation:o},className:r(e.className,xc),children:e.children})};var Br="searchbox",Vl=Br;import{jsx as Ha,jsxs as vc}from"react/jsx-runtime";var Xl="k-searchbox",gc=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading],Nc={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Li={showIcon:!0,showClearButton:!0,icon:"search"},Qe=e=>{let{value:t,placeholder:o,size:a,rounded:i,fillMode:l,hover:d,focus:m,valid:f,invalid:h,required:b,loading:N,disabled:c,showIcon:v=Li.showIcon,showClearButton:L=Li.showClearButton,icon:I=Li.icon,"aria-label":S,...M}=e;return vc(V,{...M,size:a,rounded:i,fillMode:l,hover:d,focus:m,valid:f,invalid:h,required:b,loading:N,disabled:c,className:r(e.className,Xl),children:[v&&Ha(g,{className:"k-input-icon",icon:I}),Ha(ce,{placeholder:o,value:t,"aria-label":S}),Ha(ie,{...e}),Ha(j,{...e}),L&&Ha(me,{...e})]})};Qe.states=gc;Qe.options=Nc;Qe.className=Xl;Qe.defaultOptions=Li;Qe.moduleName=Br;Qe.folderName=Vl;import{jsx as hS}from"react/jsx-runtime";var Tr="textbox",Wl=Tr;import{Fragment as Jl,jsx as qt,jsxs as Ar}from"react/jsx-runtime";var ql="k-textbox",kc=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Lc={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ii={showClearButton:!0,showValidationIcon:!0,separators:!0},G=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Ii.separators,showClearButton:l=Ii.showClearButton,showValidationIcon:d=Ii.showValidationIcon,prefix:m,suffix:f,type:h,value:b,placeholder:N,hover:c,focus:v,valid:L,invalid:I,required:S,loading:M,disabled:O,readonly:K,id:Y,"aria-label":oe,"aria-describedby":ae,...pe}=e;return Ar(V,{...pe,size:t,rounded:o,fillMode:a,hover:c,focus:v,valid:L,invalid:I,required:S,loading:M,disabled:O,readonly:K,className:r(e.className,ql),children:[m&&Ar(Jl,{children:[qt(be,{children:m}),i&&qt(ee,{})]}),qt(ce,{id:Y,placeholder:N,value:b,type:h,disabled:O,"aria-label":oe,"aria-describedby":ae,"aria-invalid":I?"true":void 0}),d&&qt(j,{valid:L,invalid:I,loading:M,disabled:O}),qt(ie,{loading:M,disabled:O}),l&&qt(me,{loading:M,disabled:O,readonly:K,value:b}),f&&Ar(Jl,{children:[i&&qt(ee,{}),qt(xe,{children:f})]})]})};G.states=kc;G.options=Lc;G.className=ql;G.defaultOptions=Ii;G.moduleName=Tr;G.folderName=Wl;var Ua=G;import{jsx as Ic}from"react/jsx-runtime";var Yl=e=>Ic(Ua,{...e});import{Fragment as wS,jsx as PS}from"react/jsx-runtime";import{Fragment as HS,jsx as FS}from"react/jsx-runtime";import{jsx as VS}from"react/jsx-runtime";import{jsx as Or}from"react/jsx-runtime";var Sc=G.states,Mc=G.defaultOptions,yc=G.options,Ec=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Cc=[],To=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?Or(g,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[i]?Or(Nt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;default:break}}),Or(Yl,{value:"Value",style:{width:300},...o,...a})};To.options=yc;To.states=Sc;To.variants=Cc;To.defaultOptions=Mc;To.modifiers=Ec;To.className=G.className;import{jsx as Yt,jsxs as Rr}from"react/jsx-runtime";var Zl="k-actionsheet-titlebar",Bc={},Le=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:i,filter:l,input:d,inputValue:m,inputPlaceholder:f,adaptive:h,titleId:b,children:N,...c}=e;return Rr("div",{...c,className:r(e.className,Zl),children:[Rr("div",{className:"k-actionsheet-titlebar-group",children:[a&&Yt("div",{className:"k-actionsheet-actions",children:a}),!N&&Rr("div",{className:"k-actionsheet-title",id:b,children:[t&&Yt("div",{className:"k-text-center",children:t}),o&&Yt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&Yt("div",{className:"k-actionsheet-title",id:b,children:N}),i&&Yt("div",{className:"k-actionsheet-actions",children:i})]}),(d||l)&&Yt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?Yt(G,{value:m,placeholder:f,size:h?"large":"medium","aria-label":t||f||"Input"}):Yt(Qe,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};Le.className=Zl;Le.defaultOptions=Bc;import{jsx as Pr,jsxs as Rc}from"react/jsx-runtime";var wr="k-actionsheet-view",Tc=[],Ac={},Oc={},Ao=e=>{let{adaptive:t,animated:o,children:a,header:i,footer:l,titleId:d,...m}=e,f=i?.type===Le&&Pr(Le,{adaptive:t,titleId:d,...i?.props}),h=l?.type===Jt&&Pr(Jt,{...l?.props});return Rc("div",{...m,className:r(e.className,wr,{[`${wr}-animated`]:o}),children:[f,Pr("div",{className:"k-actionsheet-content",children:a}),h]})};Ao.states=Tc;Ao.options=Ac;Ao.className=wr;Ao.defaultOptions=Oc;var Ga="action-sheet",Si=Ga;var Kr="overlay",Ql=Kr;import{jsx as zc}from"react/jsx-runtime";var jl="k-overlay",Pc=[],wc={},Kc={},ft=e=>{let{...t}=e;return zc("div",{...t,className:r(e.className,jl),children:e.children})};ft.states=Pc;ft.options=wc;ft.className=jl;ft.defaultOptions=Kc;ft.moduleName=Kr;ft.folderName=Ql;var es=ft;import{jsx as Mi,jsxs as Fc}from"react/jsx-runtime";var ts="k-actionsheet",_c=[],Dc={},$a={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Z=e=>{let{side:t=$a.side,fullscreen:o=$a.fullscreen,adaptive:a=$a.adaptive,overlay:i=$a.overlay,template:l,children:d,header:m,footer:f,id:h,...b}=e,N=h&&!l&&m?`${h}-title`:void 0;return Fc("div",{className:"k-actionsheet-container",children:[i&&Mi(ft,{}),Mi(It,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:Mi("div",{...b,id:h,role:"dialog","aria-modal":i?"true":void 0,"aria-labelledby":N,className:r(e.className,ts,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:l||Mi(Ao,{header:m,footer:f,adaptive:a,titleId:N,...e,children:d})})})]})};Z.states=_c;Z.options=Dc;Z.className=ts;Z.defaultOptions=$a;Z.moduleName=Ga;Z.folderName=Si;import{jsx as $c}from"react/jsx-runtime";var os="k-actionsheet-container",Hc=[],Uc={},Gc={},Oo=e=>{let{children:t,...o}=e;return $c("div",{...o,className:os,children:t})};Oo.states=Hc;Oo.options=Uc;Oo.className=os;Oo.defaultOptions=Gc;Oo.moduleName=Ga;Oo.folderName=Si;import{jsx as Vc}from"react/jsx-runtime";var zr=e=>{let{...t}=e;return Vc("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Wc,jsx as Va,jsxs as _r}from"react/jsx-runtime";var Dr="k-actionsheet-item",Xc=[n.hover,n.focus,n.selected,n.disabled],Zt=e=>{let{iconName:t,text:o,description:a,hover:i,focus:l,selected:d,disabled:m,...f}=e;return _r("span",{...f,className:r(e.className,Dr,y(Dr,{hover:i,focus:l,selected:d,disabled:m})),children:[!e.children&&Va(Wc,{children:_r("span",{className:"k-actionsheet-action",children:[t&&Va("span",{className:"k-icon-wrap",children:Va(g,{className:"k-actionsheet-item-icon",icon:t})}),_r("span",{className:"k-actionsheet-item-text",children:[o&&Va("span",{className:"k-actionsheet-item-title",children:o}),a&&Va("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Zt.states=Xc;Zt.className=Dr;import{jsx as $M,jsxs as VM}from"react/jsx-runtime";import{jsx as qM}from"react/jsx-runtime";import{jsx as jM}from"react/jsx-runtime";import{jsx as ay}from"react/jsx-runtime";import{jsx as Ie,jsxs as Fr}from"react/jsx-runtime";var Jc=Z.options,qc=Z.states,is={...Z.defaultOptions,variant:"normal"},Yc=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Zc=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Ro=e=>{let{variant:t,modifiers:o,...a}={...is,...e},i={},l=Fr(zr,{children:[Ie(Zt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),Ie(Zt,{text:"Add to Favorites",iconName:"heart"}),Ie(Zt,{text:"Upload New",iconName:"upload",disabled:!0}),Ie("hr",{className:"k-hr"}),Ie(Zt,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",m="Select Item";return t==="fullScreen"&&(i.fullScreen=!0),Object.keys(o||{}).forEach(f=>{switch(f){case"actions":i.actionsStart=!!o?.[f],i.actionsEnd=!!o?.[f];break;case"subtitle":i.subtitle=o?.[f]?d:void 0;break;case"footer":i.footer=!!o?.[f];break;default:break}}),t==="adaptive"?Ie(Z,{...a,adaptive:!0,fullscreen:i.fullScreen,header:Ie(Le,{actionsStart:i.actionsStart?Ie(s,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?Ie(s,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:i.subtitle}),footer:i.footer?Fr(Jt,{alignment:"stretched",children:[Ie(s,{text:"Cancel",size:"large",themeColor:"base"}),Ie(s,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:l}):Ie(Z,{...a,fullscreen:i.fullScreen,header:Ie(Le,{actionsStart:i.actionsStart?Ie(s,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?Ie(s,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:i.subtitle}),footer:i.footer?Fr(Jt,{alignment:"stretched",children:[Ie(s,{text:"Apply",themeColor:"primary"}),Ie(s,{text:"Cancel",themeColor:"base"})]}):void 0,children:l})};Ro.options=Jc;Ro.states=qc;Ro.variants=Yc;Ro.defaultOptions=is;Ro.modifiers=Zc;Ro.className=Z.className;var Hr="slider",rs=Hr;import{jsx as Po,jsxs as Ur}from"react/jsx-runtime";var Xa="k-slider",Qc=[n.hover,n.focus,n.active,n.disabled,n.readonly],jc={},je={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},H=e=>{let{type:t=je.type,orientation:o=je.orientation,gradientType:a=je.gradientType,readonly:i=je.readonly,disabled:l=je.disabled,handlePosition:d=je.handlePosition,showButtons:m=je.showButtons,showTicks:f=je.showTicks,value:h=je.value,min:b=je.min,max:N=je.max,startValue:c,endValue:v,hover:L,focus:I,active:S,trackStyle:M,dir:O,...K}=e,oe=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),ae,pe;return o==="horizontal"?(ae=O==="rtl"?"chevron-left":"chevron-right",pe=O==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(ae="chevron-up",pe="chevron-down"),Ur("div",{...K,className:r(Xa,e.className,y(Xa,{readonly:i,disabled:l}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:O,children:[m&&Po(s,{className:"k-button-decrease",rounded:"full",icon:pe,tabIndex:-1,title:"Decrease"}),Ur("div",{className:"k-slider-track-wrap",children:[f&&Po("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Ur("div",{className:"k-slider-track",style:M,children:[Po("div",{className:"k-slider-selection"}),t==="range"&&Po("span",{className:r("k-draghandle","k-draghandle-start",y(Xa,{hover:L,focus:I,active:S})),role:"slider",tabIndex:l?void 0:0,"aria-valuenow":c??b,"aria-valuemin":b,"aria-valuemax":v??N,"aria-orientation":oe,"aria-disabled":l?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":K["aria-label"]?`${K["aria-label"]} start`:"Range start"}),Po("span",{className:r("k-draghandle",`k-draghandle-${d}`,y(Xa,{hover:L,focus:I,active:S})),role:"slider",tabIndex:l?void 0:0,"aria-valuenow":t==="range"?v??N:h,"aria-valuemin":t==="range"?c??b:b,"aria-valuemax":N,"aria-orientation":oe,"aria-disabled":l?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":t==="range"?K["aria-label"]?`${K["aria-label"]} end`:"Range end":K["aria-label"]})]})]}),m&&Po(s,{className:"k-button-increase",rounded:"full",icon:ae,tabIndex:-1,title:"Increase"})]})};H.states=Qc;H.options=jc;H.className=Xa;H.defaultOptions=je;H.moduleName=Hr;H.folderName=rs;import{jsx as ns}from"react/jsx-runtime";var ls="k-tick",eu=[],tu={},ss={label:!1},R=e=>{let{style:t,label:o=ss.label,orientation:a,large:i,text:l,...d}=e;return ns("li",{...d,role:"presentation",title:l||"Tick",className:r(e.className,ls,{[`k-tick-${a}`]:a,"k-tick-large":i}),style:t,children:o&&ns("span",{className:"k-label",children:l})})};R.states=eu;R.options=tu;R.className=ls;R.defaultOptions=ss;import{Fragment as ou,jsx as et,jsxs as au}from"react/jsx-runtime";var ds=e=>et(H,{"aria-label":e["aria-label"]||"Slider",children:au(ou,{children:[et(R,{className:"k-first",label:!0,large:!0,text:"0"}),et(R,{}),et(R,{}),et(R,{}),et(R,{}),et(R,{label:!0,large:!0,text:"5"}),et(R,{}),et(R,{}),et(R,{}),et(R,{}),et(R,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as iu,jsx as tt,jsxs as ru}from"react/jsx-runtime";var ps=e=>tt(H,{children:ru(iu,{children:[tt(R,{className:"k-first",label:!0,large:!0,text:"0"}),tt(R,{}),tt(R,{}),tt(R,{}),tt(R,{}),tt(R,{label:!0,large:!0,text:"5"}),tt(R,{}),tt(R,{}),tt(R,{}),tt(R,{}),tt(R,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as Vy,jsx as $y,jsxs as Xy}from"react/jsx-runtime";import{Fragment as Zy,jsx as Yy,jsxs as Qy}from"react/jsx-runtime";import{jsx as nu}from"react/jsx-runtime";var Gr=e=>nu(H,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as lu}from"react/jsx-runtime";var $r=e=>lu(H,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as dE,jsx as sE,jsxs as pE}from"react/jsx-runtime";import{Fragment as bE,jsx as fE,jsxs as xE}from"react/jsx-runtime";import{jsx as St,jsxs as ms}from"react/jsx-runtime";var su=H.options,du=H.states,cs={...H.defaultOptions,variant:"horizontal",label:!0},pu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],mu=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],wo=e=>{let{variant:t,modifiers:o,...a}=e,i=cs.label,l={};Object.keys(o||{}).forEach(m=>{switch(m){case"button":{l.showButtons=!!o?.[m];break}case"label":{i=!!o?.[m];break}case"tick":{l.showTicks=!!o?.[m];break}}});let d={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?ms(ps,{style:{height:"300px",...d},...a,...l,children:[St(R,{label:i,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),St(R,{label:i,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),St(R,{label:i,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),St(R,{label:i,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),St(R,{label:i,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):ms(ds,{style:{width:"400px",...d},...a,...l,children:[St(R,{label:i,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),St(R,{label:i,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),St(R,{label:i,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),St(R,{label:i,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),St(R,{label:i,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};wo.options=su;wo.states=du;wo.variants=pu;wo.defaultOptions=cs;wo.modifiers=mu;wo.className=H.className;import{jsx as us,jsxs as xu}from"react/jsx-runtime";var fs="k-spin-button",fu=[],bu={size:[p.undefined,p.small,p.medium,p.large],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},Vr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Mt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:i=Vr.increaseLabel,decreaseLabel:l=Vr.decreaseLabel,...d}=e;return xu("span",{...d,className:r(fs,e.className),children:[us(s,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":i}),us(s,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":l})]})};Mt.states=fu;Mt.options=bu;Mt.className=fs;Mt.defaultOptions=Vr;Mt.moduleName=null;Mt.folderName=null;var bs="numeric-textbox",xs="numerictextbox";import{Fragment as hs,jsx as zt,jsxs as Xr}from"react/jsx-runtime";var gs="k-numerictextbox",hu=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],gu={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},yi={showSpinButton:!0,showClearButton:!0,separators:!0},P=e=>{let{size:t,rounded:o,fillMode:a,separators:i=yi.separators,showClearButton:l=yi.showClearButton,showSpinButton:d=yi.showSpinButton,prefix:m,suffix:f,value:h,placeholder:b,hover:N,focus:c,valid:v,invalid:L,required:I,loading:S,disabled:M,readonly:O,id:K,"aria-label":Y,"aria-describedby":oe,...ae}=e;return Xr(V,{...ae,size:t,rounded:o,fillMode:a,hover:N,focus:c,valid:v,invalid:L,required:I,loading:S,disabled:M,readonly:O,className:r(e.className,gs),children:[m&&Xr(hs,{children:[zt(be,{children:m}),i&&zt(ee,{})]}),zt(ce,{id:K,placeholder:b,value:h,role:"spinbutton",disabled:M,"aria-label":Y,"aria-describedby":oe,"aria-invalid":L?"true":void 0}),zt(j,{valid:v,invalid:L,loading:S,disabled:M}),zt(ie,{loading:S,disabled:M}),l&&zt(me,{loading:S,disabled:M,readonly:O,value:h}),f&&Xr(hs,{children:[i&&zt(ee,{}),zt(xe,{children:f})]}),d&&zt(Mt,{className:"k-input-spinner",size:t,fillMode:a,disabled:M})]})};P.states=hu;P.options=gu;P.className=gs;P.defaultOptions=yi;P.moduleName=bs;P.folderName=xs;var Wa=P;import{jsx as Nu}from"react/jsx-runtime";var Ns=e=>Nu(Wa,{...e});import Jr from"react";import{jsx as vs}from"react/jsx-runtime";var vu="k-list-group-sticky-header",Wr=e=>vs("div",{className:r(vu,e.className),children:vs("div",{className:"k-list-header-text",children:e.children})});import{jsx as Lu}from"react/jsx-runtime";var ku="k-no-data",Ei=e=>{let{live:t,...o}=e;return Lu("span",{...o,className:r(ku,e.className),"aria-live":t?"polite":void 0,children:e.children})};var po="list",Ko=po;import{jsx as ks,jsxs as Ls}from"react/jsx-runtime";var qr="k-list",Iu=[],Su={size:[p.undefined,p.small,p.medium,p.large]},Mu={},w=e=>{let{size:t,virtualization:o,children:a,header:i,selectAll:l,optionLabel:d,customValue:m,noData:f,screenReaders:h,...b}=e,c=Jr.Children.toArray(a)[0],v=c?.props?.children?Jr.Children.count(c.props.children):Jr.Children.count(a);return Ls("div",{...b,className:r(e.className,qr,E(qr,{size:t}),{"k-virtual-list":o}),children:[d,l,m,i&&ks(Wr,{children:i}),a||(f!==void 0?f:ks(Ei,{live:!0,children:"No data found."})),h&&a&&Ls(Ei,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};w.states=Iu;w.options=Su;w.className=qr;w.defaultOptions=Mu;w.moduleName=po;w.folderName=Ko;import{jsx as Bu}from"react/jsx-runtime";var Is="k-list-container",yu=[],Eu={},Cu={},zo=e=>{let{...t}=e;return Bu("div",{...t,className:r(e.className,Is),children:e.children})};zo.states=yu;zo.options=Eu;zo.className=Is;zo.defaultOptions=Cu;zo.moduleName=po;zo.folderName=Ko;var mo="checkbox",_o=mo;import{jsx as Ss}from"react/jsx-runtime";var Ci="k-checkbox",Tu=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked,n.indeterminate],Au={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},Ou={},we=e=>{let{id:t,checked:o,indeterminate:a,hover:i,focus:l,disabled:d,invalid:m,valid:f,required:h,size:b,rounded:N,wrapperRole:c,...v}=e;return Ss("span",{className:"k-checkbox-wrap",role:c,children:Ss("input",{...v,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:d||void 0,"aria-invalid":m?"true":void 0,className:r(e.className,Ci,E(Ci,{size:b,rounded:N}),y(Ci,{hover:i,focus:l,disabled:d,invalid:m,valid:f,indeterminate:a,checked:o}))})})};we.states=Tu;we.options=Au;we.className=Ci;we.defaultOptions=Ou;we.moduleName=mo;we.folderName=_o;var bt=we;import{jsx as wu}from"react/jsx-runtime";var Ms="k-checkbox-list",Ru=[],Pu={},ys={layout:"vertical"},Be=e=>{let{layout:t=ys.layout,...o}=e;return wu("ul",{...o,className:r(e.className,Ms,{[`k-list-${t}`]:t}),children:e.children})};Be.states=Ru;Be.options=Pu;Be.className=Ms;Be.defaultOptions=ys;Be.moduleName=mo;Be.folderName=_o;import{jsx as Du}from"react/jsx-runtime";var Es="k-checkbox-list-item",Ku=[],zu={},_u={},Te=e=>{let{...t}=e;return Du("li",{...t,className:r(e.className,Es),children:e.children})};Te.states=Ku;Te.options=zu;Te.className=Es;Te.defaultOptions=_u;Te.moduleName=mo;Te.folderName=_o;import{Fragment as Fu,jsx as Cs,jsxs as Hu}from"react/jsx-runtime";var xt=({children:e="Label",id:t="cb-label-after",...o})=>Hu(Fu,{children:[Cs(bt,{id:t,...o}),Cs("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as FC,jsx as DC,jsxs as HC}from"react/jsx-runtime";import{Fragment as XC,jsx as VC,jsxs as WC}from"react/jsx-runtime";import{Fragment as QC,jsx as ZC,jsxs as jC}from"react/jsx-runtime";import{jsx as aB}from"react/jsx-runtime";import{jsx as lB}from"react/jsx-runtime";import{jsx as mB}from"react/jsx-runtime";import{jsx as ot,jsxs as Bs}from"react/jsx-runtime";var Uu=Be.options,Gu=Be.states,$u={...Be.defaultOptions,variant:"vertical"},Vu=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Xu=[],Do=e=>{let{variant:t,...o}=e;return t==="horizontal"?Bs(Be,{layout:"horizontal",...o,children:[ot(Te,{children:ot(xt,{id:T("cb"),defaultChecked:!0,children:"Label"})}),ot(Te,{children:ot(xt,{id:T("cb"),children:"Label"})}),ot(Te,{children:ot(xt,{id:T("cb"),children:"Label"})})]}):Bs(Be,{...o,children:[ot(Te,{children:ot(xt,{id:T("cb"),defaultChecked:!0,children:"Label"})}),ot(Te,{children:ot(xt,{id:T("cb"),children:"Label"})}),ot(Te,{children:ot(xt,{id:T("cb"),children:"Label"})})]})};Do.options=Uu;Do.states=Gu;Do.variants=Vu;Do.defaultOptions=$u;Do.modifiers=Xu;Do.className=Be.className;import{jsx as Qu}from"react/jsx-runtime";var Wu=bt.options,Ju=bt.states,qu=bt.defaultOptions,Yu=[],Zu=[],Fo=e=>Qu(xt,{id:T("checkbox"),...e,defaultChecked:!0,children:"Label"});Fo.options=Wu;Fo.states=Ju;Fo.variants=Yu;Fo.defaultOptions=qu;Fo.modifiers=Zu;Fo.className=bt.className;import{jsx as Ho,jsxs as of}from"react/jsx-runtime";var Yr="k-list-item",ju=[n.hover,n.focus,n.selected,n.disabled],ef={},tf={},B=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:i,checked:l,hover:d,focus:m,selected:f,disabled:h,actions:b,description:N,id:c,...v}=e,L=t||e.children,I=t||(typeof L=="string"?L:void 0);return of("li",{...v,id:c,role:"option",tabIndex:m?0:-1,"aria-selected":f?"true":"false","aria-disabled":h?"true":void 0,className:r(e.className,Yr,y(Yr,{hover:d,focus:m,disabled:h,selected:f})),children:[i&&Ho(we,{checked:l,disabled:h,"aria-label":I,tabIndex:-1}),o&&Ho("span",{className:"k-list-item-icon-wrapper",children:Ho(g,{icon:o,className:r("k-list-item-icon",a)})}),Ho("span",{className:"k-list-item-text",children:L}),b&&Ho("div",{className:"k-list-item-actions",children:b}),N&&Ho("span",{className:"k-list-item-description",children:N})]})};B.states=ju;B.options=ef;B.className=Yr;B.defaultOptions=tf;B.moduleName=po;B.folderName=Ko;import{jsx as rf}from"react/jsx-runtime";var af="k-list-ul",yt=e=>{let{children:t,role:o,id:a,...i}=e;return rf("ul",{...i,id:a,role:o,className:r(af,e.className),children:t})};import{jsx as Zr,jsxs as lf}from"react/jsx-runtime";var nf="k-list-content",z=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":i,listboxId:l,...d}=e;return lf("div",{...d,className:r(nf,e.className),role:o?"listbox":void 0,id:o?l:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?i:void 0,children:[o?e.children:Zr(yt,{role:"listbox",id:l,"aria-label":a,"aria-labelledby":i,children:e.children}),t&&Zr("div",{className:"k-height-container",children:Zr("div",{})})]})};import{jsx as Qr,jsxs as mf}from"react/jsx-runtime";var Bi="k-list-sticky-header",sf=[n.hover,n.focus,n.selected],df={},pf={},Ti=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:i,hover:l,focus:d,selected:m,...f}=e;return Qr("div",{...f,className:r(Bi,e.className),children:mf("div",{className:r(`${Bi}-item`,y(`${Bi}-item`,{hover:l,focus:d,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&Qr(we,{checked:a,indeterminate:i,"aria-label":t}),Qr("span",{className:"k-list-item-text",children:t})]})})};Ti.states=sf;Ti.options=df;Ti.className=Bi;Ti.defaultOptions=pf;import{Fragment as rT,jsx as iT,jsxs as nT}from"react/jsx-runtime";import{jsx as mT,jsxs as cT}from"react/jsx-runtime";import{jsx as bf}from"react/jsx-runtime";var jr="k-list-optionlabel",cf=[n.hover,n.focus,n.selected,n.disabled],uf={},ff={},Ai=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:l,...d}=e;return bf("div",{...d,className:r(jr,y(jr,{hover:o,focus:a,selected:i,disabled:l})),children:t})};Ai.states=cf;Ai.options=uf;Ai.className=jr;Ai.defaultOptions=ff;import{jsx as Nf}from"react/jsx-runtime";var en="k-list-custom-value",xf=[n.hover,n.focus,n.selected,n.disabled],hf={},gf={},at=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:l,...d}=e;return Nf("div",{...d,className:r(en,y(en,{hover:o,focus:a,selected:i,disabled:l})),children:t})};at.states=xf;at.options=hf;at.className=en;at.defaultOptions=gf;import{Fragment as ST,jsx as IT,jsxs as MT}from"react/jsx-runtime";import{Fragment as AT,jsx as TT,jsxs as OT}from"react/jsx-runtime";import{Fragment as DT,jsx as zT,jsxs as _T}from"react/jsx-runtime";import{Fragment as XT,jsx as $T,jsxs as VT}from"react/jsx-runtime";import{jsx as YT}from"react/jsx-runtime";import{Fragment as oA,jsx as tA,jsxs as aA}from"react/jsx-runtime";import{Fragment as dA,jsx as sA,jsxs as pA}from"react/jsx-runtime";var Ts="dropdown-list",As="dropdownlist";import{Fragment as Lf,jsx as Ae,jsxs as tn}from"react/jsx-runtime";var Os="k-dropdownlist",vf=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],kf={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},on={showValue:!0,arrowIconName:"chevron-down"},X=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=on.arrowIconName,showValue:l=on.showValue,valueIconName:d,prefix:m,suffix:f,value:h,placeholder:b,hover:N,focus:c,valid:v,invalid:L,required:I,loading:S,disabled:M,readonly:O,popup:K,opened:Y,adaptive:oe,adaptiveSettings:ae,adaptiveTitle:pe,adaptiveSubtitle:lo,adaptiveFilter:ht,id:Pt,activeDescendant:Vt,"aria-label":Ta,...Aa}=e,Oa=Pt?`${Pt}-listbox`:void 0,ml=Pt?`${Pt}-value`:void 0;return tn(Lf,{children:[tn(vt,{...Aa,id:Pt,size:t,rounded:o,fillMode:a,hover:N,focus:c,valid:v,invalid:L,required:I,loading:S,disabled:M,readonly:O,className:r(e.className,Os,{"k-icon-picker":!l&&d}),role:"combobox","aria-haspopup":"listbox","aria-expanded":Y?"true":"false","aria-controls":Y?Oa:void 0,"aria-activedescendant":Y&&Vt?Vt:void 0,"aria-describedby":Y?ml:void 0,"aria-disabled":M?"true":void 0,"aria-label":Ta,tabIndex:0,children:[Ae(be,{children:m}),Ae(so,{placeholder:b,value:h,showValue:l,valueIconName:d,id:ml}),Ae(j,{valid:v,invalid:L,loading:S,disabled:M}),Ae(ie,{loading:S,disabled:M}),Ae(xe,{children:f}),Ae(s,{className:"k-input-button",icon:i,size:e.size,fillMode:e.fillMode,"aria-label":b||"Toggle dropdown",tabIndex:-1})]}),Y&&K&&Ae(J,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:K}),oe&&Ae(Z,{adaptive:!0,...ae,header:Ae(Le,{actionsEnd:Ae(s,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:ht,inputValue:h,inputPlaceholder:b,title:pe,subtitle:lo}),children:Ae("div",{className:"k-list-container",children:Ae(w,{size:"large",children:tn(z,{"aria-label":"Options",children:[Ae(B,{text:"List item"}),Ae(B,{text:"List item"}),Ae(B,{text:"List item"})]})})})})]})};X.states=vf;X.options=kf;X.className=Os;X.defaultOptions=on;X.moduleName=Ts;X.folderName=As;import{jsx as VA}from"react/jsx-runtime";import{jsx as ZA,jsxs as QA}from"react/jsx-runtime";import{Fragment as lO,jsx as rO,jsxs as nO}from"react/jsx-runtime";import{jsx as cO}from"react/jsx-runtime";import{jsx as gO,jsxs as NO}from"react/jsx-runtime";import{Fragment as CO,jsx as yO,jsxs as EO}from"react/jsx-runtime";import{jsx as RO}from"react/jsx-runtime";import{Fragment as Cf,jsx as Qt,jsxs as Rs}from"react/jsx-runtime";var If=X.states,Sf=X.defaultOptions,Mf=X.options,yf=[{name:"opened",title:"Opened"}],Ef=[],Go=e=>{let{modifiers:t,...o}=e,a={},i=Rs(Cf,{children:[Qt("div",{className:"k-list-filter",children:Qt(Qe,{})}),Qt(w,{style:{width:300},size:o.size,children:Rs(z,{children:[Qt(B,{children:"List item"}),Qt(B,{children:"List item"}),Qt(B,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(l=>{l==="opened"&&(a.opened=!!t?.[l],a.popup=t?.[l]?i:void 0)}),Qt("div",{children:Qt(X,{placeholder:"Value",style:{width:300},...o,...a})})};Go.options=Mf;Go.states=If;Go.variants=Ef;Go.defaultOptions=Sf;Go.modifiers=yf;Go.className=X.className;import{Fragment as tR,jsx as eR}from"react/jsx-runtime";import{Fragment as lR,jsx as nR}from"react/jsx-runtime";import{jsx as mR}from"react/jsx-runtime";import{jsx as an}from"react/jsx-runtime";var Bf=P.states,Tf=P.defaultOptions,Af=P.options,Of=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Rf=[],$o=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?an(X,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[i]?an(kt,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;case"spin-button":a.showSpinButton=t?.[i];break;default:break}}),an(Ns,{value:"Value",style:{width:300},...o,...a})};$o.options=Af;$o.states=Bf;$o.variants=Rf;$o.defaultOptions=Tf;$o.modifiers=Of;$o.className=P.className;import{Fragment as Ja,jsx as _,jsxs as re}from"react/jsx-runtime";var Ps="k-colorgradient-inputs",Pf=[],wf={size:[p.undefined,p.small,p.medium,p.large]},ws={mode:"rgba"},Vo=e=>{let{mode:t=ws.mode,size:o,...a}=e;return re("div",{...a,className:r(Ps,"k-hstack"),children:[_("div",{className:"k-vstack",children:_(s,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&re(Ja,{children:[re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),_("label",{className:"k-colorgradient-input-label",children:"R"})]}),re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),_("label",{className:"k-colorgradient-input-label",children:"G"})]}),re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),_("label",{className:"k-colorgradient-input-label",children:"B"})]}),re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),_("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&re(Ja,{children:[re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),_("label",{className:"k-colorgradient-input-label",children:"R"})]}),re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),_("label",{className:"k-colorgradient-input-label",children:"G"})]}),re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),_("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&re(Ja,{children:[re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),_("label",{className:"k-colorgradient-input-label",children:"H"})]}),re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),_("label",{className:"k-colorgradient-input-label",children:"S"})]}),re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),_("label",{className:"k-colorgradient-input-label",children:"V"})]}),re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),_("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&re(Ja,{children:[re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),_("label",{className:"k-colorgradient-input-label",children:"H"})]}),re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),_("label",{className:"k-colorgradient-input-label",children:"S"})]}),re("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),_("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&_(Ja,{children:re("div",{className:"k-vstack k-flex-1",children:[_(G,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),_("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Vo.states=Pf;Vo.options=wf;Vo.className=Ps;Vo.defaultOptions=ws;import{jsx as uo,jsxs as fo}from"react/jsx-runtime";var Ks="k-colorgradient-color-contrast",Kf=[],zf={},_f={},Xo=()=>fo("div",{className:r(Ks,"k-vbox"),children:[fo("div",{className:"k-contrast-ratio",children:[uo("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),fo("span",{className:"k-contrast-validation !k-text-success",children:[uo(g,{icon:"check"}),uo(g,{icon:"check"})]})]}),fo("div",{children:[uo("span",{children:"AA: 4.5"}),fo("span",{className:"k-contrast-validation !k-text-success",children:["Pass",uo(g,{icon:"check"})]})]}),fo("div",{children:[uo("span",{children:"AAA: 7.0"}),fo("span",{className:"k-contrast-validation !k-text-error",children:["Fail",uo(g,{icon:"x"})]})]})]});Xo.states=Kf;Xo.options=zf;Xo.className=Ks;Xo.defaultOptions=_f;var zs="color-gradient",_s="colorgradient";import{jsx as it,jsxs as qa}from"react/jsx-runtime";var Oi="k-colorgradient",Df=[n.hover,n.focus,n.readonly,n.disabled],Ff={size:[p.undefined,p.small,p.medium,p.large]},Et={mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},Se=e=>{let{size:t,mode:o=Et.mode,readonly:a=Et.readonly,disabled:i=Et.disabled,gradientStyle:l=Et.gradientStyle,dragHandleStyle:d=Et.dragHandleStyle,alphaStyle:m=Et.alphaStyle,alphaStyleHorizontal:f=Et.alphaStyleHorizontal,contrast:h=Et.contrast,dir:b,hover:N,focus:c,hoverHandle:v,focusHandle:L,canvasOrientation:I=Et.canvasOrientation,role:S,tabIndex:M,...O}=e;return qa("div",{...O,role:S??"textbox","aria-label":S==="none"?void 0:"Color gradient",tabIndex:M??0,"aria-disabled":i?"true":void 0,className:r(e.className,Oi,E(Oi,{size:t}),y(Oi,{hover:N,focus:c,readonly:a,disabled:i})),dir:b,children:[!I||I==="horizontal"&&qa("div",{className:"k-colorgradient-canvas k-hstack",children:[it("div",{className:"k-hsv-rectangle",style:l,children:it("div",{className:"k-hsv-gradient",children:it("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":v,"k-focus":L}),style:d,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),qa("div",{className:"k-hsv-controls k-hstack",children:[it($r,{className:"k-hue-slider",hover:v,focus:L}),o!=="rgb"&&o!=="hsv"&&it($r,{className:"k-alpha-slider",hover:v,focus:L,trackStyle:m})]})]}),I==="vertical"&&qa("div",{className:"k-colorgradient-canvas k-vstack",children:[it("div",{className:"k-hsv-rectangle",style:l,children:it("div",{className:"k-hsv-gradient",children:it("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":v,"k-focus":L}),style:d,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),qa("div",{className:"k-hsv-controls k-vstack",children:[it(Gr,{className:"k-hue-slider",hover:v,focus:L}),o!=="rgb"&&o!=="hsv"&&it(Gr,{className:"k-alpha-slider",hover:v,focus:L,trackStyle:f})]})]}),it(Vo,{mode:e.mode,size:t}),h&&it(Xo,{})]})};Se.states=Df;Se.options=Ff;Se.className=Oi;Se.defaultOptions=Et;Se.moduleName=zs;Se.folderName=_s;import{jsx as Hf}from"react/jsx-runtime";var Ri=e=>Hf(Se,{...e});import{jsx as YR}from"react/jsx-runtime";import{jsx as eP}from"react/jsx-runtime";import{jsx as rn}from"react/jsx-runtime";var Uf=Se.options,Gf=Se.states,$f={...Se.defaultOptions,variant:"rgba"},Vf=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Xf=[],Wo=e=>{let{variant:t,...o}=e;switch(t){case"hex":return rn(Ri,{...o,mode:t});case"rgb":return rn(Ri,{...o,mode:t});default:return rn(Ri,{...o,mode:t})}};Wo.options=Uf;Wo.states=Gf;Wo.variants=Vf;Wo.defaultOptions=$f;Wo.modifiers=Xf;Wo.className=Se.className;import{jsx as Wf}from"react/jsx-runtime";var nn=e=>Wf("tr",{role:"row",children:e.children});import{jsx as Yf}from"react/jsx-runtime";var ln="k-colorpalette-tile",Jf=[n.hover,n.focus,n.selected],qf={},jt=e=>{let{color:t,tileSize:o,hover:a,focus:i,selected:l,...d}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return Yf("td",{...d,role:"gridcell","aria-label":t,"aria-selected":l?"true":void 0,className:r(e.className,ln,y(ln,{hover:a,focus:i,selected:l})),style:m})};jt.states=Jf;jt.options=qf;jt.className=ln;jt.moduleName=null;jt.folderName=null;var Ds="color-palette",Fs="colorpalette";import{jsx as Ya}from"react/jsx-runtime";var Pi="k-colorpalette",Zf=[n.disabled],Qf={size:[p.undefined,p.small,p.medium,p.large]},Hs={columns:10},Ke=e=>{let{size:t,palette:o,columns:a=Hs.columns,tileSize:i,disabled:l,...d}=e,m=[];if(o){let f=a||o.columns,h=o.colors?o.colors:o;Array.isArray(h)&&Array.from({length:Math.ceil(h.length/f)},(b,N)=>{let c=[];h.slice(N*f,(N+1)*f).map((L,I)=>{c.push(Ya(jt,{color:L,tileSize:i},I))});let v=Ya(nn,{children:c},N);m.push(v)})}return Ya("div",{...d,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":l?"true":void 0,className:r(e.className,Pi,y(Pi,{disabled:l}),E(Pi,{size:t})),children:Ya("table",{className:"k-colorpalette-table",role:"none",children:Ya("tbody",{children:m.length>0?m:e.children})})})};Ke.states=Zf;Ke.options=Qf;Ke.className=Pi;Ke.defaultOptions=Hs;Ke.moduleName=Ds;Ke.folderName=Fs;var wi=Ke;var Za={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};import{jsx as jf}from"react/jsx-runtime";var Us=e=>jf(wi,{palette:Za.basic,...e});import{jsx as wP}from"react/jsx-runtime";import{jsx as HP,jsxs as UP}from"react/jsx-runtime";import{jsx as nb}from"react/jsx-runtime";var eb=Ke.options,tb=Ke.states,ob={...Ke.defaultOptions,variant:"basic"},ab=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],ib={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}},rb=[],Jo=e=>{let{variant:t="basic",...o}=e,a=ib[t];return nb(Us,{columns:a.columns,palette:a,...o})};Jo.options=eb;Jo.states=tb;Jo.variants=ab;Jo.defaultOptions=ob;Jo.modifiers=rb;Jo.className=Ke.className;var Gs="color-editor",$s="coloreditor";import{jsx as rt,jsxs as qo}from"react/jsx-runtime";var Ki="k-coloreditor",lb=[n.focus],sb={size:[p.undefined,p.small,p.medium,p.large]},Qa={view:"gradient",palette:Za.office,actionButtons:!0,canvasOrientation:"horizontal"},ne=e=>{let{size:t,view:o=Qa.view,palette:a=Qa.palette,color:i,currentColor:l,focus:d,focusView:m,dir:f,group:h,actionButtons:b=Qa.actionButtons,canvasOrientation:N=Qa.canvasOrientation,...c}=e;return qo("div",{...c,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",Ki,E(Ki,{size:t}),y(Ki,{focus:d})),dir:f,children:[qo("div",{className:"k-coloreditor-header k-hstack",children:[rt("div",{className:"k-coloreditor-header-actions k-hstack",children:h&&qo(A,{fillMode:"flat",children:[rt(s,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),rt(s,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),rt("div",{className:"k-spacer"}),qo("div",{className:"k-coloreditor-header-actions k-hstack",children:[rt(s,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),qo("div",{className:"k-coloreditor-preview k-vstack",children:[rt(Wt,{className:"k-coloreditor-preview-color",color:i}),rt(Wt,{className:"k-coloreditor-current-color",color:l})]})]})]}),rt("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?rt(Se,{focus:m,size:t,canvasOrientation:N,role:"none",tabIndex:-1}):rt(Ke,{palette:a,size:t})}),b&&qo(He,{className:"k-coloreditor-footer",alignment:"start",children:[rt(s,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),rt(s,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};ne.states=lb;ne.options=sb;ne.className=Ki;ne.defaultOptions=Qa;ne.moduleName=Gs;ne.folderName=$s;var Yo=ne;import{jsx as hw}from"react/jsx-runtime";import{jsx as kw}from"react/jsx-runtime";import{jsx as db}from"react/jsx-runtime";var Vs=e=>db(Yo,{group:!0,currentColor:"fuchsia",...e});import{jsx as pb}from"react/jsx-runtime";var Xs=e=>pb(Yo,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as Ws}from"react/jsx-runtime";var mb=ne.options,cb=ne.states,ub={...ne.defaultOptions,variant:"gradient"},fb=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],bb=[],Zo=e=>{let{variant:t,...o}=e;return t==="palette"?Ws(Xs,{...o,color:"white"}):Ws(Vs,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Zo.options=mb;Zo.states=cb;Zo.variants=fb;Zo.defaultOptions=ub;Zo.modifiers=bb;Zo.className=ne.className;var Js="color-picker",qs="colorpicker";import{Fragment as gb,jsx as nt,jsxs as sn}from"react/jsx-runtime";var Ys="k-colorpicker",xb=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],hb={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Zs={arrowIconName:"chevron-down"},he=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=Zs.arrowIconName,prefix:l,suffix:d,value:m,placeholder:f,hover:h,focus:b,valid:N,invalid:c,required:v,disabled:L,valueIconName:I,popup:S,opened:M,adaptive:O,adaptiveSettings:K,adaptiveTitle:Y,adaptiveSubtitle:oe,...ae}=e,pe="colorpicker-popup";return sn(gb,{children:[sn(vt,{...ae,size:t,rounded:o,fillMode:a,hover:h,focus:b,valid:N,invalid:c,required:v,disabled:L,role:"combobox","aria-haspopup":"dialog","aria-expanded":M?"true":"false","aria-controls":M||O?pe:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":L?"true":void 0,className:r(e.className,Ys,"k-icon-picker"),children:[nt(be,{children:l}),nt(so,{placeholder:f,value:m,showValue:!1,valueIcon:nt(Wt,{className:"k-value-icon",color:m,iconName:I}),valueIconName:I}),nt(xe,{children:d}),nt(s,{className:"k-input-button",icon:i,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:L})]}),M&&S&&nt(J,{id:pe,className:"k-colorpicker-popup",children:S}),O&&nt(Z,{adaptive:!0,id:pe,...K,header:nt(Le,{actionsEnd:nt(s,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:Y,subtitle:oe}),footer:sn(Jt,{children:[nt(s,{text:"Cancel",size:"large"}),nt(s,{text:"Set",size:"large",themeColor:"primary"})]}),children:nt(ne,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};he.states=xb;he.options=hb;he.className=Ys;he.defaultOptions=Zs;he.moduleName=Js;he.folderName=qs;var _t=he;import{jsx as Nb}from"react/jsx-runtime";var zi=e=>Nb(_t,{...e});import{jsx as i0}from"react/jsx-runtime";import{jsx as d0}from"react/jsx-runtime";import{jsx as u0}from"react/jsx-runtime";import{jsx as h0}from"react/jsx-runtime";import{jsx as k0}from"react/jsx-runtime";import{jsx as M0}from"react/jsx-runtime";import{jsx as bo}from"react/jsx-runtime";var vb=_t.options,kb=_t.states,Qs={..._t.defaultOptions,variant:"color"},Lb=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Ib=[{name:"opened",title:"Opened"}],Qo=e=>{let{variant:t,modifiers:o,...a}={...Qs,...e},i={};Object.keys(o||{}).forEach(d=>{d==="opened"&&(i.opened=!!o?.[d],i.popup=o?.[d]?bo(ne,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let l=i.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return bo("div",{style:l,children:bo(zi,{...a,...i})});case"icon":return bo("div",{style:l,children:bo(zi,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...i})});default:return bo("div",{style:l,children:bo(zi,{value:"rgba(183, 118 , 118, 1.00)",...a,...i})})}};Qo.options=vb;Qo.states=kb;Qo.variants=Lb;Qo.defaultOptions=Qs;Qo.modifiers=Ib;Qo.className=_t.className;var dn="combobox",js=dn;import{Fragment as pn,jsx as ue,jsxs as ja}from"react/jsx-runtime";var ed="k-combobox",Sb=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],Mb={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},mn={separators:!0,showClearButton:!0},ge=e=>{let{size:t,rounded:o,fillMode:a,separators:i=mn.separators,showClearButton:l=mn.showClearButton,prefix:d,suffix:m,value:f,placeholder:h,hover:b,focus:N,valid:c,invalid:v,required:L,loading:I,disabled:S,popup:M,opened:O,readonly:K,adaptive:Y,adaptiveSettings:oe,adaptiveTitle:ae,adaptiveSubtitle:pe,adaptiveCustomValue:lo,id:ht,autocomplete:Pt,activeDescendant:Vt,"aria-label":Ta,...Aa}=e,Oa=ht?`${ht}-listbox`:void 0;return ja(pn,{children:[ja(V,{...Aa,size:t,rounded:o,fillMode:a,hover:b,focus:N,valid:c,invalid:v,required:L,loading:I,disabled:S,readonly:K,className:r(e.className,ed),children:[d&&ja(pn,{children:[ue(be,{children:d}),i&&ue(ee,{})]}),ue(ce,{id:ht,placeholder:h,value:f,role:"combobox","aria-haspopup":"listbox","aria-expanded":O?"true":"false","aria-controls":O?Oa:void 0,"aria-activedescendant":O&&Vt?Vt:void 0,"aria-autocomplete":Pt,"aria-invalid":v?"true":void 0,"aria-busy":I?"true":void 0,"aria-label":Ta,disabled:S,readOnly:K}),ue(j,{valid:c,invalid:v,loading:I,disabled:S}),ue(ie,{loading:I,disabled:S}),l&&ue(me,{loading:I,disabled:S,readonly:K,value:f}),m&&ja(pn,{children:[i&&ue(ee,{}),ue(xe,{children:m})]}),ue(s,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:S})]}),O&&M&&ue(J,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:M}),Y&&ue(Z,{adaptive:!0,id:ht?`${ht}-adaptive`:void 0,...oe,header:ue(Le,{actionsEnd:ue(s,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:f,inputPlaceholder:h,title:ae,subtitle:pe}),children:ue("div",{className:"k-list-container",children:ue(w,{customValue:lo?ue(at,{text:`Use "${f}"`}):void 0,size:"large",children:ja(z,{"aria-label":ae||"Options",children:[ue(B,{text:"List item"}),ue(B,{text:"List item"}),ue(B,{text:"List item"})]})})})})]})};ge.states=Sb;ge.options=Mb;ge.className=ed;ge.defaultOptions=mn;ge.moduleName=dn;ge.folderName=js;var Ue=ge;import{jsx as yb}from"react/jsx-runtime";var td=e=>yb(Ue,{...e});import{jsx as lK,jsxs as sK}from"react/jsx-runtime";import{jsx as fK,jsxs as bK}from"react/jsx-runtime";import{jsx as kK,jsxs as LK}from"react/jsx-runtime";import{Fragment as CK,jsx as EK}from"react/jsx-runtime";import{Fragment as PK,jsx as RK}from"react/jsx-runtime";import{jsx as FK,jsxs as HK}from"react/jsx-runtime";import{Fragment as qK,jsx as WK,jsxs as JK}from"react/jsx-runtime";import{jsx as jK}from"react/jsx-runtime";import{jsx as az}from"react/jsx-runtime";import{jsx as dz,jsxs as pz}from"react/jsx-runtime";import{jsx as xz,jsxs as hz}from"react/jsx-runtime";import{jsx as eo,jsxs as Ob}from"react/jsx-runtime";var Eb=ge.states,Cb=ge.defaultOptions,Bb=ge.options,Tb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Ab=[],jo=e=>{let{modifiers:t,...o}=e,a={},i=eo(w,{style:{width:300},size:o.size,children:Ob(z,{children:[eo(B,{children:"List item"}),eo(B,{children:"List item"}),eo(B,{children:"List item"})]})});return Object.keys(t||{}).forEach(l=>{switch(l){case"prefix":a.prefix=t?.[l]?eo(g,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[l]?eo(wt,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[l],a.popup=t?.[l]?i:void 0;break;default:break}}),eo("div",{children:eo(td,{value:"Value",style:{width:300},...o,...a})})};jo.options=Bb;jo.states=Eb;jo.variants=Ab;jo.defaultOptions=Cb;jo.modifiers=Tb;jo.className=ge.className;var cn="menu-button",od=cn;import{jsx as wb}from"react/jsx-runtime";var ad="k-menu-button",Rb=[n.hover,n.focus,n.active,n.selected,n.disabled],Pb={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info,k.inverse]},un={showArrow:!0,arrowIconName:"chevron-down"},W=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:d,active:m,selected:f,disabled:h,icon:b,endIcon:N,text:c,showArrow:v=un.showArrow,arrowIconName:L=un.arrowIconName,expanded:I,...S}=e;return wb(s,{...S,className:r(e.className,ad),text:c,size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:d,active:m,selected:f,disabled:h,ariaDisabled:h||void 0,icon:b,endIcon:N,showArrow:v,arrowIconName:L,"aria-expanded":I?"true":"false",...!c&&b&&!e["aria-label"]&&{"aria-label":"Menu"}})};W.states=Rb;W.options=Pb;W.className=ad;W.defaultOptions=un;W.moduleName=cn;W.folderName=od;import{jsx as Yz}from"react/jsx-runtime";import{jsx as e_}from"react/jsx-runtime";import{jsx as i_}from"react/jsx-runtime";import{jsx as s_}from"react/jsx-runtime";var Ge="menu",lt=Ge;import{jsx as ti,jsxs as id}from"react/jsx-runtime";var fn="k-menu-item",Kb=[n.hover,n.focus,n.active,n.selected,n.disabled],zb={},rd={iconPosition:"before"},ye=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:l,icon:d,text:m,showArrow:f,arrowIconName:h,iconPosition:b=rd.iconPosition,dir:N,children:c,expanded:v,...L}=e,I=h;return I||(I=N==="rtl"?"chevron-left":"chevron-right"),id("li",{...L,className:r(e.className,fn,"k-item",y(fn,{focus:o,disabled:l,hover:t,active:a,selected:i})),role:"menuitem",...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":v?"true":"false"},...l&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[id("span",{className:r("k-link k-menu-link"),children:[d&&b==="before"&&ti(g,{className:"k-menu-link-icon",icon:d}),ti("span",{className:"k-menu-link-text",children:m}),d&&b==="after"&&ti(g,{className:"k-menu-link-icon",icon:d}),f&&ti("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:ti(g,{icon:I})})]}),c]})};ye.states=Kb;ye.options=zb;ye.className=fn;ye.defaultOptions=rd;ye.moduleName=Ge;ye.folderName=lt;import{jsx as xo,jsxs as nd}from"react/jsx-runtime";var bn="k-menu-item",_b=[n.hover,n.focus,n.active,n.selected,n.disabled],Db={},xn={dir:"ltr",iconPosition:"before"},Q=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:l,icon:d,text:m,showArrow:f,arrowIconName:h,iconPosition:b=xn.iconPosition,dir:N=xn.dir,children:c,popup:v,expanded:L,actions:I,description:S,...M}=e,O=h;return O||(O=N==="rtl"?"chevron-left":"chevron-right"),nd("li",{role:"menuitem",...M,className:r(e.className,bn,"k-item",y(bn,{focus:o,disabled:l})),...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":L?"true":"false"},...l&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[nd("span",{className:r("k-link k-menu-link",y("k-menu-link",{hover:t,active:a,selected:i,disabled:l})),children:[d&&b==="before"&&xo(g,{className:"k-menu-link-icon",icon:d}),xo("span",{className:"k-menu-link-text",children:m}),d&&b==="after"&&xo(g,{className:"k-menu-link-icon",icon:d}),I&&xo("span",{className:"k-menu-link-actions",children:I}),f&&xo("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:xo(g,{icon:O})}),S&&xo("span",{className:"k-menu-link-description",children:S})]}),c,v]})};Q.states=_b;Q.options=Db;Q.className=bn;Q.defaultOptions=xn;Q.moduleName=Ge;Q.folderName=lt;import{jsx as Gb}from"react/jsx-runtime";var ld="k-menu-scroll-wrapper",Fb=[],Hb={},Ub={},ho=e=>{let{className:t,children:o,orientation:a,...i}=e;return Gb("div",{...i,className:r(t,ld,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};ho.states=Fb;ho.options=Hb;ho.className=ld;ho.defaultOptions=Ub;ho.moduleName=Ge;ho.folderName=lt;var sd=ho;import{Fragment as hn,jsx as go,jsxs as _i}from"react/jsx-runtime";var Di="k-menu",$b=[],Vb={size:[p.undefined,p.small,p.medium,p.large]},Fi={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Me=e=>{let{children:t,orientation:o=Fi.orientation,header:a=Fi.header,scrollable:i,scrollButtonsPosition:l=Fi.scrollButtonsPosition,wrapperStyles:d,dir:m,size:f,popup:h,contextMenu:b,...N}=e,c={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},v=go("ul",{dir:m,...N,className:r(e.className,"k-reset",Di,{[`${Di}-${o}`]:o,"k-header":a},E(Di,{size:f})),role:b?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return _i(hn,{children:[i?_i(sd,{orientation:o,style:d,dir:e.dir,children:[l==="start"&&_i(hn,{children:[go(s,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),go(s,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),l==="around"&&go(s,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),v,l==="end"&&_i(hn,{children:[go(s,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),go(s,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),l==="around"&&go(s,{fillMode:"flat",size:"xsmall",icon:`chevron-${c[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):v,h]})};Me.states=$b;Me.options=Vb;Me.className=Di;Me.defaultOptions=Fi;Me.moduleName=Ge;Me.folderName=lt;import{jsx as Xb}from"react/jsx-runtime";var gn="k-separator",dd={orientation:"horizontal"},ea=e=>{let{orientation:t=dd.orientation,...o}=e;return Xb("li",{...o,className:r(e.className,"k-item",gn,{[`${gn}-${t}`]:t}),role:"separator"})};ea.className=gn;ea.defaultOptions=dd;ea.moduleName=Ge;ea.folderName=lt;import{Fragment as z_,jsx as __}from"react/jsx-runtime";import{jsx as Yb}from"react/jsx-runtime";var Nn="k-menu-group",Wb=[],Jb={size:[p.undefined,p.small,p.medium,p.large]},qb={},Ee=e=>{let{children:t,size:o,...a}=e;return Yb("ul",{role:"menu",...a,className:r(e.className,Nn,E(Nn,{size:o})),children:t})};Ee.states=Wb;Ee.options=Jb;Ee.className=Nn;Ee.defaultOptions=qb;Ee.moduleName=Ge;Ee.folderName=lt;import{jsx as W_,jsxs as J_}from"react/jsx-runtime";import{Fragment as Zb,jsx as ta,jsxs as Qb}from"react/jsx-runtime";var vn=e=>ta(Me,{children:Qb(Zb,{children:[ta(ye,{text:"Item 1"}),ta(ye,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),ta(ye,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),ta(ye,{text:"Item 4"}),ta(ye,{text:"Item 5"})]}),...e});import{Fragment as iD,jsx as oD,jsxs as aD}from"react/jsx-runtime";import{Fragment as dD,jsx as sD,jsxs as pD}from"react/jsx-runtime";import{Fragment as bD,jsx as fD,jsxs as xD}from"react/jsx-runtime";import{Fragment as kD,jsx as vD,jsxs as LD}from"react/jsx-runtime";import{jsx as No,jsxs as ax}from"react/jsx-runtime";var jb={...Me.options,scrollable:{type:"boolean"}},ex=Me.states,pd={...Me.defaultOptions,variant:"horizontal"},tx=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],ox=[{name:"opened",title:"Opened"}],oa=e=>{let{variant:t,modifiers:o,...a}={...pd,...e},i={},l=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(d=>{d==="opened"&&(i.opened=!!o?.[d],i.popup=o?.[d]?No(J,{className:"k-menu-popup",offset:l,children:ax(Ee,{children:[No(Q,{text:"Item 1"}),No(Q,{text:"Item 2"}),No(ea,{}),No(Q,{text:"Item 3"})]})}):null)}),t==="vertical"?No(vn,{...a,...i,orientation:"vertical",style:{width:"200px"}}):No(vn,{...a,...i})};oa.options=jb;oa.states=ex;oa.variants=tx;oa.defaultOptions=pd;oa.modifiers=ox;oa.className=Me.className;import{Fragment as t1,jsx as jD,jsxs as e1}from"react/jsx-runtime";import{jsx as r1}from"react/jsx-runtime";import{Fragment as sx,jsx as Ct,jsxs as md}from"react/jsx-runtime";var ix=s.states,cd={...s.defaultOptions,variant:"text"},rx=s.options,nx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],lx=[{name:"opened",title:"Opened"}],aa=e=>{let{variant:t,modifiers:o,...a}={...cd,...e},i={},l=Ct(J,{className:"k-menu-popup",children:md(Ee,{size:a.size,children:[Ct(Q,{text:"Menu Item"}),Ct(Q,{text:"Menu Item"}),Ct(Q,{text:"Menu Item"})]})}),d;switch(t){case"icon-only":d=Ct("div",{children:Ct(W,{...a,...i,icon:"star"})});break;case"icon-and-text":d=Ct("div",{children:Ct(W,{...a,...i,icon:"star",children:"Dropdown Button"})});break;default:d=Ct("div",{children:Ct(W,{...a,...i,children:"Dropdown Button"})});break}return md(sx,{children:[d,o?.opened&&l]})};aa.options=rx;aa.states=ix;aa.variants=nx;aa.defaultOptions=cd;aa.modifiers=lx;aa.className=W.className;var kn="split-button",ud=kn;import{Fragment as mx,jsx as Ln,jsxs as fd}from"react/jsx-runtime";var In="k-split-button",dx=[n.hover,n.focus,n.active,n.selected,n.disabled],px={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary,k.success,k.warning,k.error,k.info,k.inverse]},bd={arrowIconName:"chevron-down"},D=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:d,active:m,selected:f,disabled:h,icon:b,endIcon:N,text:c,arrowIconName:v=bd.arrowIconName,popup:L,opened:I,popupId:S,...M}=e;return fd(mx,{children:[fd("div",{...M,className:r(e.className,In,"k-button-group",E(In,{rounded:o})),children:[Ln(s,{text:c,icon:b,endIcon:N,size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:d,active:m,selected:f,disabled:h,...!c&&!e.children&&b&&{"aria-label":"Action"},children:e.children}),Ln(s,{className:"k-split-button-arrow",icon:v,size:t,rounded:o,fillMode:a,disabled:h,ariaDisabled:h||void 0,"aria-label":"Toggle dropdown","aria-expanded":I?"true":"false","aria-controls":I?S:void 0,tabIndex:-1})]}),I&&L&&Ln(J,{className:"k-menu-popup",children:L})]})};D.states=dx;D.options=px;D.className=In;D.defaultOptions=bd;D.moduleName=kn;D.folderName=ud;var Sn=D;import{jsx as ux}from"react/jsx-runtime";var cx="k-toolbar-separator",Ce=e=>ux("div",{className:r(cx,e.className,"k-separator")});var vo="toolbar",ia=vo;import{Fragment as Mn,jsx as U,jsxs as ra}from"react/jsx-runtime";var Dt="k-toolbar",fx=[n.focus],bx={size:[p.undefined,p.small,p.medium,p.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},xx={scrollButtons:"around"},q=e=>{let{size:t,fillMode:o,focus:a,resizable:i,scrollable:l,scrollButtons:d,scrollingPosition:m,section:f,...h}=e,b=[],N=(c,v)=>{let L=[];if(c.type===s&&c.props.className&&c.props.className.includes("k-toolbar-overflow-button"))L.push(U(s,{...c.props,className:`${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===s)L.push(U(s,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===za)L.push(U(za,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===wt)L.push(U(wt,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===W)L.push(U(W,{...c.props,className:`k-toolbar-menu-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===Sn)L.push(U(Sn,{...c.props,className:`k-toolbar-split-button ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`));else if(c.type===A||c.props.className&&c.props.className.includes("k-button-group")){let I=[];(Array.isArray(c.props.children)?c.props.children:[c.props.children]).forEach((M,O)=>{I.push(U(s,{...M.props,className:`${M.props.className?M.props.className:""}`},`${O}-${new Date().getTime()}`))}),L.push(U(A,{...c.props,className:`k-toolbar-button-group ${c.props.className?c.props.className:""}`,children:I},`${v}-${new Date().getTime()}`))}else c.type===ge?L.push(U(ge,{...c.props,className:`k-toolbar-combobox ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`)):c.type===X?L.push(U(X,{...c.props,className:`k-toolbar-dropdownlist ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`)):c.type===he?L.push(U(he,{...c.props,className:`k-toolbar-colorpicker ${c.props.className?c.props.className:""}`},`${v}-${new Date().getTime()}`)):L.push(c);L.forEach(I=>{b.push(I)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((v,L)=>{N(v,L)}),ra("div",{...h,className:r(e.className,Dt,E(Dt,{size:t,fillMode:o}),y(Dt,{focus:a}),{[`${Dt}-resizable`]:i,[`${Dt}-scrollable`]:l,[`${Dt}-scrollable-overlay`]:l&&d==="hidden",[`${Dt}-scrollable-${m}`]:m&&m!=="both",[`${Dt}-section`]:f}),role:"toolbar","aria-label":"Toolbar",children:[!l&&b,l&&d==="hidden"&&U("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),l&&d==="start"&&ra(Mn,{children:[ra(A,{children:[U("span",{className:r("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:U(g,{className:"k-button-icon",icon:"chevron-left"})}),U("span",{className:r("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:U(g,{className:"k-button-icon",icon:"chevron-right"})})]}),U(Ce,{className:"k-toolbar-button-separator"}),U("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b})]}),l&&d==="end"&&ra(Mn,{children:[U("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),U(Ce,{className:"k-toolbar-button-separator"}),ra(A,{children:[U("span",{className:r("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:U(g,{className:"k-button-icon",icon:"chevron-left"})}),U("span",{className:r("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:U(g,{className:"k-button-icon",icon:"chevron-right"})})]})]}),l&&(d==="around"||!d)&&ra(Mn,{children:[U("span",{className:r("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:U(g,{className:"k-button-icon",icon:"chevron-left"})}),U(Ce,{className:"k-toolbar-button-separator"}),U("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),U(Ce,{className:"k-toolbar-button-separator"}),U("span",{className:r("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:U(g,{className:"k-button-icon",icon:"chevron-right"})})]})]})};q.states=fx;q.options=bx;q.className=Dt;q.defaultOptions=xx;q.moduleName=vo;q.folderName=ia;import{jsx as vx}from"react/jsx-runtime";var yn="k-toolbar-item",hx=[n.focus],gx={},Nx={},Bt=e=>{let{focus:t,...o}=e;return vx("div",{...o,className:r(e.className,yn,y(yn,{focus:t})),children:e.children})};Bt.states=hx;Bt.options=gx;Bt.className=yn;Bt.defaultOptions=Nx;Bt.moduleName=vo;Bt.folderName=ia;import{jsx as xd}from"react/jsx-runtime";var hd="k-toolbar-popup",kx=[],Lx={size:[p.undefined,p.small,p.medium,p.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},Ix={},ko=e=>{let{size:t,fillMode:o,section:a,...i}=e;return xd(J,{...i,className:r(e.className,hd),children:a?xd("span",{className:r("k-toolbar-items-list",E("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};ko.states=kx;ko.options=Lx;ko.className=hd;ko.defaultOptions=Ix;ko.moduleName=vo;ko.folderName=ia;var Hi=ko;import{jsx as rF}from"react/jsx-runtime";import{jsx as dF}from"react/jsx-runtime";import{jsx as uF}from"react/jsx-runtime";import{jsx as hF}from"react/jsx-runtime";import{jsx as IF,jsxs as SF}from"react/jsx-runtime";import{jsx as CF}from"react/jsx-runtime";import{jsx as Ft,jsxs as Cx}from"react/jsx-runtime";var Sx=D.states,gd={...D.defaultOptions,variant:"text"},Mx=D.options,yx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ex=[{name:"opened",title:"Opened"}],na=e=>{let{variant:t,modifiers:o,...a}={...gd,...e},i={},l=Cx(Ee,{size:a.size,children:[Ft(Q,{text:"Menu Item"}),Ft(Q,{text:"Menu Item"}),Ft(Q,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(d=>{d==="opened"&&(i.opened=!!o?.[d],i.popup=o?.[d]?l:"")}),t){case"icon-only":return Ft("div",{children:Ft(D,{...a,...i,icon:"star"})});case"icon-and-text":return Ft("div",{children:Ft(D,{...a,...i,icon:"star",children:"Split Button"})});default:return Ft("div",{children:Ft(D,{...a,...i,children:"Split Button"})})}};na.options=Mx;na.states=Sx;na.variants=yx;na.defaultOptions=gd;na.modifiers=Ex;na.className=D.className;import{jsx as Lo,jsxs as Bx}from"react/jsx-runtime";var Nd=e=>Lo(q,{children:[Lo(s,{children:"Button"},"toolbar-button"),Lo(W,{text:"Menu button"},"toolbar-menu-button"),Lo(D,{children:"Split button"},"toolbar-split-button"),Bx(A,{children:[Lo(s,{className:"k-group-start",icon:"align-left",children:"Left"}),Lo(s,{icon:"align-center",children:"Center"}),Lo(s,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as iH,jsxs as rH}from"react/jsx-runtime";import{jsx as $e,jsxs as vd}from"react/jsx-runtime";var kd=e=>$e(q,{scrollable:!0,...e,children:[$e(s,{children:"Button"},"toolbar-button"),$e(W,{text:"Menu button"},"toolbar-menu-button"),$e(D,{children:"Split button"},"toolbar-split-button"),vd(A,{children:[$e(s,{className:"k-group-start",icon:"align-left",children:"Left"}),$e(s,{icon:"align-center",children:"Center"}),$e(s,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),$e(s,{children:"Button"},"toolbar-button"),$e(W,{text:"Menu button"},"toolbar-menu-button"),$e(D,{children:"Split button"},"toolbar-split-button"),vd(A,{children:[$e(s,{className:"k-group-start",icon:"align-left",children:"Left"}),$e(s,{icon:"align-center",children:"Center"}),$e(s,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as Ve,jsxs as Ld}from"react/jsx-runtime";var Id=({scrollingPosition:e="start",...t})=>Ve(q,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[Ve(s,{children:"Button"},"toolbar-button"),Ve(W,{text:"Menu button"},"toolbar-menu-button"),Ve(D,{children:"Split button"},"toolbar-split-button"),Ld(A,{children:[Ve(s,{className:"k-group-start",icon:"align-left",children:"Left"}),Ve(s,{icon:"align-center",children:"Center"}),Ve(s,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Ve(s,{children:"Button"},"toolbar-button"),Ve(W,{text:"Menu button"},"toolbar-menu-button"),Ve(D,{children:"Split button"},"toolbar-split-button"),Ld(A,{children:[Ve(s,{className:"k-group-start",icon:"align-left",children:"Left"}),Ve(s,{icon:"align-center",children:"Center"}),Ve(s,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Tx,jsx as ze,jsxs as Ui}from"react/jsx-runtime";var Sd=({fillMode:e,size:t,...o})=>Ui(Tx,{children:[ze(q,{section:!0,fillMode:e,size:t,children:[ze(s,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Ui(A,{fillMode:e,children:[ze(s,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),ze(s,{icon:"align-center",fillMode:e,size:t,children:"Center"}),ze(s,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),ze(Ce,{className:"k-toolbar-button-separator"}),ze(s,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),Ui(Hi,{size:t,fillMode:e,section:!0,...o,children:[ze(D,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),ze(s,{fillMode:e,size:t,children:"Button"},"toolbar-button"),ze(Ce,{}),ze(W,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),Ui(A,{fillMode:e,children:[ze(s,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),ze(s,{icon:"align-center",fillMode:e,size:t,children:"Center"}),ze(s,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as _H,jsx as KH,jsxs as zH}from"react/jsx-runtime";import{Fragment as qH,jsx as WH,jsxs as JH}from"react/jsx-runtime";import{jsx as to}from"react/jsx-runtime";var Ax=q.options,Ox=q.states,Md={...q.defaultOptions,variant:"default"},Rx=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],Px=[],la=e=>{let{variant:t,...o}={...Md,...e};switch(t){case"responsive":return to("div",{children:to(Sd,{style:{width:"583px"},...o})});case"overlay":return to("div",{children:to(Id,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return to("div",{children:to(kd,{style:{width:"583px"},...o})});default:return to("div",{children:to(Nd,{style:{width:"583px"},...o})})}};la.options=Ax;la.states=Ox;la.variants=Rx;la.defaultOptions=Md;la.modifiers=Px;la.className=q.className;var En="autocomplete",yd=En;import{Fragment as Cn,jsx as Ne,jsxs as oi}from"react/jsx-runtime";var Ed="k-autocomplete",wx=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Kx={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Bn={separators:!0,showClearButton:!0},Xe=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Bn.separators,showClearButton:l=Bn.showClearButton,prefix:d,suffix:m,value:f,placeholder:h,hover:b,focus:N,valid:c,invalid:v,required:L,loading:I,disabled:S,popup:M,opened:O,readonly:K,adaptive:Y,adaptiveSettings:oe,adaptiveTitle:ae,adaptiveSubtitle:pe,adaptiveCustomValue:lo,id:ht,autocomplete:Pt,activeDescendant:Vt,"aria-label":Ta,...Aa}=e,Oa=ht?`${ht}-listbox`:void 0;return oi(Cn,{children:[oi(V,{...Aa,size:t,rounded:o,fillMode:a,hover:b,focus:N,valid:c,invalid:v,required:L,loading:I,disabled:S,readonly:K,className:r(e.className,Ed),children:[d&&oi(Cn,{children:[Ne(be,{children:d}),i&&Ne(ee,{})]}),Ne(ce,{placeholder:h,value:f,role:"combobox","aria-haspopup":"listbox","aria-expanded":O?"true":"false","aria-controls":O?Oa:void 0,"aria-activedescendant":O&&Vt?Vt:void 0,"aria-autocomplete":Pt,"aria-invalid":v?"true":void 0,"aria-busy":I?"true":void 0,"aria-label":Ta,disabled:S,readOnly:K}),Ne(j,{valid:c,invalid:v,loading:I,disabled:S}),Ne(ie,{loading:I,disabled:S}),l&&Ne(me,{loading:I,disabled:S,readonly:K,value:f}),m&&oi(Cn,{children:[i&&Ne(ee,{}),Ne(xe,{children:m})]})]}),O&&M&&Ne(J,{className:"k-list-container k-autocomplete-popup",containerRole:"region",containerAriaLabel:"Autocomplete suggestions",children:M}),Y&&Ne(Z,{adaptive:!0,...oe,header:Ne(Le,{actionsEnd:Ne(s,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:f,inputPlaceholder:h,title:ae,subtitle:pe}),children:Ne("div",{className:"k-list-container",children:Ne(w,{customValue:lo?Ne(at,{text:`Use "${f}"`}):void 0,size:"large",children:oi(z,{"aria-label":"Options",children:[Ne(B,{text:"List item"}),Ne(B,{text:"List item"}),Ne(B,{text:"List item"})]})})})})]})};Xe.states=wx;Xe.options=Kx;Xe.className=Ed;Xe.defaultOptions=Bn;Xe.moduleName=En;Xe.folderName=yd;var Tt=Xe;import{jsx as zx}from"react/jsx-runtime";var Cd=e=>zx(Tt,{id:T("ac"),"aria-label":"Search",...e});import{jsx as z2,jsxs as _2}from"react/jsx-runtime";import{jsx as G2}from"react/jsx-runtime";import{Fragment as Y2,jsx as q2}from"react/jsx-runtime";import{Fragment as a3,jsx as o3}from"react/jsx-runtime";import{jsx as d3,jsxs as p3}from"react/jsx-runtime";import{jsx as x3,jsxs as h3}from"react/jsx-runtime";import{jsx as I3,jsxs as S3}from"react/jsx-runtime";import{jsx as B3}from"react/jsx-runtime";import{jsx as Io,jsxs as Gx}from"react/jsx-runtime";var _x=G.states,Dx=G.defaultOptions,Fx=G.options,Hx=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Ux=[],sa=e=>{let{modifiers:t,...o}=e,a={},i=Io(w,{style:{width:300},size:o.size,children:Gx(z,{children:[Io(B,{children:"List item"}),Io(B,{children:"List item"}),Io(B,{children:"List item"})]})});return Object.keys(t||{}).forEach(l=>{switch(l){case"prefix":a.prefix=t?.[l]?Io(g,{icon:"search"}):void 0;break;case"suffix":a.suffix=t?.[l]?Io(Nt,{size:o.size,fillMode:"clear",children:"Search"}):void 0;break;case"opened":a.opened=!!t?.[l],a.popup=t?.[l]?i:void 0;break;default:break}}),Io(Cd,{value:"Value",style:{width:300},...o,...a})};sa.options=Fx;sa.states=_x;sa.variants=Ux;sa.defaultOptions=Dx;sa.modifiers=Hx;sa.className=Xe.className;import{jsx as st}from"react/jsx-runtime";var Bd="k-imageeditor-toolbar",$x=[],Vx={},Xx=[st(s,{fillMode:"flat",icon:"image-add","aria-label":"Image Add"},"toolbar-button-1"),st(Ce,{},"toolbar-separator-1"),st(s,{fillMode:"flat",icon:"undo","aria-label":"Undo"},"toolbar-button-2"),st(s,{fillMode:"flat",icon:"redo","aria-label":"Redo"},"toolbar-button-3"),st(Ce,{},"toolbar-separator-2"),st(s,{fillMode:"flat",icon:"download","aria-label":"Download"},"toolbar-button-4"),st("div",{className:"k-spacer"},"toolbar-spacer"),st(s,{fillMode:"flat",icon:"zoom-in","aria-label":"Zoom In"},"toolbar-button-5"),st(Bt,{children:st(Xe,{fillMode:"flat",value:"Fit",showClearButton:!1,"aria-label":"Zoom options"})},"toolbar-item-1"),st(s,{fillMode:"flat",icon:"zoom-out","aria-label":"Zoom Out"},"toolbar-button-6")],Td={toolbarItems:Xx},da=e=>{let{toolbarItems:t=Td.toolbarItems,...o}=e;return st(q,{...o,className:r(e.className,Bd),fillMode:"flat",children:t})};da.states=$x;da.options=Vx;da.className=Bd;da.defaultOptions=Td;import{jsx as Oe}from"react/jsx-runtime";var Tn="k-imageeditor-sidebar",Wx=[Oe(s,{fillMode:"flat",icon:"image-resize","aria-label":"Resize"},"sidebar-button-1"),Oe(s,{fillMode:"flat",icon:"crop","aria-label":"Crop"},"sidebar-button-2"),Oe(s,{fillMode:"flat",icon:"rotate","aria-label":"Rotate"},"sidebar-button-3"),Oe("div",{className:"k-separator"},"sidebar-separator-1"),Oe(s,{fillMode:"flat",icon:"free-text","aria-label":"Text"},"sidebar-button-4"),Oe(s,{fillMode:"flat",icon:"shapes","aria-label":"Shapes"},"sidebar-button-5"),Oe("div",{className:"k-separator"},"sidebar-separator-2"),Oe(s,{fillMode:"flat",icon:"drop-half-pixelated","aria-label":"Blur"},"sidebar-button-6"),Oe(s,{fillMode:"flat",icon:"sliders-horizontal","aria-label":"Adjustments"},"sidebar-button-7"),Oe(s,{fillMode:"flat",icon:"circles-three-intersecting","aria-label":"Filters"},"sidebar-button-8"),Oe("div",{className:"k-separator"},"sidebar-separator-3"),Oe(s,{fillMode:"flat",icon:"frame-corners","aria-label":"Frame"},"sidebar-button-9"),Oe(s,{fillMode:"flat",icon:"circle-half-tilted","aria-label":"Shadow"},"sidebar-button-10")],Ad={sidebarItems:Wx,scrollable:!1},Od=e=>{let{sidebarItems:t=Ad.sidebarItems,scrollable:o=Ad.scrollable,scrollingPosition:a,...i}=e;return Oe("div",{...i,className:r(e.className,Tn,{[`${Tn}-scrollable`]:o,[`${Tn}-scrollable-${a}`]:a&&a!=="both"}),children:Oe("div",{className:"k-imageeditor-sidebar-items",role:"toolbar","aria-label":"Tools",children:t??e.children})})};var ai="loader",Gi=ai;import{Fragment as An,jsx as Rd,jsxs as $i}from"react/jsx-runtime";var On="k-loader",Jx={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},qx=[],Yx={size:[p.undefined,p.small,p.medium,p.large],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary]},Pd={animation:"pulsing"},le=e=>{let{size:t,themeColor:o,animation:a=Pd.animation,...i}=e,l=Rd("span",{className:"k-loader-segment"});return Rd("div",{...i,className:r(e.className,On,{[`k-loader-${Jx[a]||a}`]:a},E(On,{size:t,themeColor:o})),role:"status","aria-label":i["aria-label"]||"Loading",children:$i("div",{className:"k-loader-canvas",children:[a==="pulsing"&&$i(An,{children:[l,l]}),a==="infinite-spinner"&&$i(An,{children:[l,l,l]}),a==="converging-spinner"&&$i(An,{children:[l,l,l,l]})]})})};le.states=qx;le.options=Yx;le.className=On;le.defaultOptions=Pd;le.moduleName=ai;le.folderName=Gi;var wd=le;import{jsx as Rn,jsxs as Kd}from"react/jsx-runtime";var Pn="k-loader-container",Zx=[],Qx={size:[p.undefined,p.small,p.medium,p.large],themeColor:[k.undefined,k.base,k.primary,k.secondary,k.tertiary]},Vi={loaderType:"pulsing",position:"top",panel:!1},So=e=>{let{size:t,themeColor:o,loaderType:a=Vi.loaderType,position:i=Vi.position,panel:l=Vi.panel,...d}=e;return Kd("div",{...d,className:r(e.className,Pn,E(Pn,{size:t}),{[`k-loader-${i}`]:i}),role:"status","aria-live":"polite","aria-label":d["aria-label"]||"Loading",children:[Rn(es,{className:"k-loader-container-overlay"}),Kd("div",{className:r("k-loader-container-inner",{"k-loader-container-panel":l}),children:[Rn(wd,{size:t,themeColor:o,animation:a}),Rn("div",{className:"k-loader-container-label",children:"Loading..."})]})]})};So.states=Zx;So.options=Qx;So.className=Pn;So.defaultOptions=Vi;So.moduleName=ai;So.folderName=Gi;import{jsx as LU}from"react/jsx-runtime";import{jsx as yU}from"react/jsx-runtime";import{jsx as TU}from"react/jsx-runtime";import{jsx as PU}from"react/jsx-runtime";import{jsx as wn}from"react/jsx-runtime";var jx=le.options,eh=le.states,th={...le.defaultOptions,variant:"infinite-spinner"},oh=[{name:"infinite-spinner",title:"Infinite"},{name:"pulsing",title:"Pulsing"},{name:"converging-spinner",title:"Converging"}],ah=[],pa=e=>{let{variant:t,...o}=e;switch(t){case"pulsing":return wn(le,{animation:"pulsing",...o});case"converging-spinner":return wn(le,{animation:"converging-spinner",...o});default:return wn(le,{animation:"infinite-spinner",...o})}};pa.options=jx;pa.states=eh;pa.variants=oh;pa.defaultOptions=th;pa.modifiers=ah;pa.className=le.className;var zd="image-editor",_d="imageeditor";import{Fragment as Dd,jsx as At,jsxs as ii}from"react/jsx-runtime";var Kn="k-imageeditor",ih=[],rh={},nh={},te=e=>{let{toolbarItems:t,actionPane:o,sidebarItems:a,placeholder:i,contentHeight:l,exporting:d,adaptive:m,sidebarScrollable:f,sidebarScrollingPosition:h,children:b,...N}=e,c=At("div",{className:"k-imageeditor-canvas-container",children:i??At("div",{className:"k-imageeditor-canvas",children:b})}),v=o&&At("div",{className:"k-imageeditor-action-pane",children:o}),L=At(Od,{sidebarItems:a,scrollable:f,scrollingPosition:h});return ii("div",{...N,className:r(e.className,Kn,{[`${Kn}-adaptive`]:m}),children:[At("div",{className:"k-imageeditor-header",children:At(da,{toolbarItems:t})}),At("div",{className:"k-imageeditor-content",style:{height:l},children:m?ii(Dd,{children:[c,v,L]}):ii(Dd,{children:[L,v,c]})}),d&&ii("div",{className:"k-loader-container k-loader-top",role:"status","aria-live":"polite","aria-label":"Exporting",children:[At(ft,{className:"k-loader-container-overlay"}),ii("div",{className:"k-loader-container-inner k-loader-container-panel",children:[At(le,{animation:"pulsing",themeColor:"base",size:"medium","aria-label":"Exporting"}),At("div",{className:"k-loader-container-label",children:"Exporting"})]})]})]})};te.states=ih;te.options=rh;te.className=Kn;te.defaultOptions=nh;te.moduleName=zd;te.folderName=_d;import{Fragment as Xi,jsx as oo,jsxs as ri}from"react/jsx-runtime";var zn="k-upload-dropzone",lh=[n.hover],Wi=e=>{let{hover:t,status:o,disabled:a,hasFiles:i,filesId:l,buttonText:d="Select files...",...m}=e,f;switch(o){case"uploading":f=ri(Xi,{children:[oo(g,{icon:"upload"}),"Uploading..."]});break;case"done":f=ri(Xi,{children:[oo(g,{icon:"check"}),"Done"]});break;case"failed":f=ri(Xi,{children:[oo(g,{icon:"exclamation-circle"}),"Done"]});break;default:f=oo(Xi,{});break}return ri("div",{...m,className:r(e.className,zn,"k-dropzone",y(zn,{hover:t})),children:[ri("div",{className:"k-upload-button-wrap",children:[oo(s,{className:"k-upload-button","aria-disabled":a?"true":"false",...i&&l?{"aria-controls":l}:{},children:d}),oo("input",{id:"upload-input",className:"k-hidden",tabIndex:-1,"aria-hidden":"true"})]}),oo("span",{className:r("k-dropzone-hint",{"k-hidden":o!=="upload"}),children:"Drop files here to upload"}),o!=="upload"&&oo("span",{className:"k-upload-status",children:f})]})};Wi.states=lh;Wi.className=zn;var _n="upload",Fd=_n;import{jsx as Ji,jsxs as Ud}from"react/jsx-runtime";var Dn="k-upload",sh=[n.hover,n.disabled],dh={},Gd={actionsLayout:"end"},Hd="upload-files-list",ve=e=>{let{async:t,empty:o,actions:a,actionsLayout:i=Gd.actionsLayout,hover:l,status:d,disabled:m,buttonText:f,...h}=e,b=!!e.children;return Ud("div",{...h,className:r(e.className,Dn,y(Dn,{disabled:m}),{"k-upload-async":t,"k-upload-empty":o}),children:[Ji(Wi,{status:d,hover:l,disabled:m,hasFiles:b,filesId:Hd,buttonText:f}),b&&Ji("ul",{className:"k-upload-files",role:"list",id:Hd,children:e.children}),a&&b&&Ud(Gl,{alignment:i,orientation:"horizontal",children:[Ji(s,{className:"k-clear-selected",children:"Clear"}),Ji(s,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};ve.states=sh;ve.options=dh;ve.className=Dn;ve.defaultOptions=Gd;ve.moduleName=_n;ve.folderName=Fd;var ni="progressbar",qi=ni;import{jsx as Hn,jsxs as Fn}from"react/jsx-runtime";var dt="k-progressbar",ph=[n.disabled,n.indeterminate],mh={orientation:["horizontal","vertical"]},Mo={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},Re=e=>{let{disabled:t,height:o,indeterminate:a=Mo.indeterminate,label:i=Mo.label,labelPosition:l=Mo.labelPosition,orientation:d=Mo.orientation,reverse:m=Mo.reverse,value:f=Mo.value,width:h,style:b,ariaLabel:N,...c}=e;return Fn("div",{...c,className:r(e.className,dt,y(dt,{disabled:t}),{[`${dt}-${d}`]:d,[`${dt}-indeterminate`]:a,[`${dt}-reverse`]:m}),style:{...b,"--kendo-progressbar-value":f,[d==="horizontal"?"height":"width"]:d==="horizontal"?o:h},role:"progressbar","aria-label":N||"progress","aria-valuenow":a?void 0:Number(f),"aria-valuemin":0,"aria-valuemax":100,children:[Hn("span",{className:r("k-progress-status-wrap",{[`k-progress-${l}`]:l&&!a}),children:i&&Fn("span",{className:"k-progress-status",children:[f,"%"]})}),!a&&Hn("div",{className:"k-progressbar-value k-selected",children:Hn("span",{className:r("k-progress-status-wrap",{[`k-progress-${l}`]:l}),children:i&&Fn("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};Re.states=ph;Re.options=mh;Re.className=dt;Re.defaultOptions=Mo;Re.moduleName=ni;Re.folderName=qi;var $d=Re;import{jsx as Un}from"react/jsx-runtime";var Vd="k-chunk-progressbar",ch=(e,t)=>t<=e-1,uh=[n.disabled,n.indeterminate],fh={},Yi={chunkCount:5,orientation:"horizontal",progress:0},ma=e=>{let{disabled:t,chunkCount:o=Yi.chunkCount,indeterminate:a,orientation:i=Yi.orientation,progress:l=Yi.progress,reverse:d,ariaLabel:m,...f}=e;return Un("div",{...f,className:r(e.className,dt,Vd,y(dt,{disabled:t}),{[`${dt}-${i}`]:i,[`${dt}-indeterminate`]:a,[`${dt}-reverse`]:d}),role:"progressbar","aria-label":m||"progress","aria-valuenow":a?void 0:l,"aria-valuemin":0,"aria-valuemax":o,children:Un("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((h,b)=>Un("li",{className:r("k-progressbar-chunk",{"k-first":b===0,"k-last":b===[...Array(o)].length-1,"k-selected":ch(l,b)})},b))})})};ma.states=uh;ma.options=fh;ma.className=Vd;ma.defaultOptions=Yi;ma.moduleName=ni;ma.folderName=qi;import{jsx as bh}from"react/jsx-runtime";var li=e=>bh($d,{...e});import{jsx as O5}from"react/jsx-runtime";import{jsx as ao}from"react/jsx-runtime";var xh=Re.options,hh=Re.states,Xd={...Re.defaultOptions,variant:"start"},gh=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],Nh=[],ca=e=>{let{variant:t,modifiers:o,...a}={...Xd,...e},i={},l={style:{width:"324px"}};switch(Object.keys(o||{}).forEach(d=>{switch(d){case"reverse":i.reverse=!!o?.[d];break;case"vertical":i.orientation=o?.[d]?"vertical":void 0,l.style=o?.[d]?void 0:{width:"324px"};break}}),t){case"end":return ao("div",{...l,children:ao(li,{...a,...i,labelPosition:"end",value:"50"})});case"center":return ao("div",{...l,children:ao(li,{...a,...i,labelPosition:"center",value:"50"})});case"empty":return ao("div",{...l,children:ao(li,{...a,...i,label:!1,value:"50"})});default:return ao("div",{...l,children:ao(li,{...a,...i,labelPosition:"start",value:"50"})})}};ca.options=xh;ca.states=hh;ca.variants=gh;ca.defaultOptions=Xd;ca.modifiers=Nh;ca.className=Re.className;import{jsx as Gn,jsxs as kh}from"react/jsx-runtime";var vh="k-file-info",$n=e=>{let{name:t,size:o,validationMsg:a,...i}=e;return kh("div",{...i,className:r(e.className,vh),children:[t&&Gn("span",{className:"k-file-name",children:t}),o&&Gn("span",{className:"k-file-size",children:o}),a&&Gn("span",{className:"k-file-validation-message","aria-live":"polite",children:a})]})};import{Fragment as Ih,jsx as Ht,jsxs as Zi}from"react/jsx-runtime";var Lh="k-file",_e=e=>{let{status:t,progress:o,name:a,icon:i,size:l,state:d,validationMsg:m,...f}=e;return Ht("li",{...f,className:r(e.className,Lh,{[`k-file-${t}`]:t}),role:"listitem",tabIndex:0,children:Zi("div",{className:"k-file-single",children:[Ht(Re,{className:r({"k-hidden":t!=="progress"}),value:o,label:!1}),Zi("span",{className:"k-file-icon-wrapper",children:[Ht(g,{className:"k-file-icon",icon:i,size:"xxlarge"}),d&&Ht("span",{className:"k-file-state",children:d})]}),Ht($n,{name:a,size:l,validationMsg:m}),Ht("div",{className:"k-upload-actions",children:t==="progress"?Zi(Ih,{children:[Zi("span",{className:"k-upload-pct",children:[o,"%"]}),Ht(s,{icon:"pause",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Pause upload",tabIndex:-1}),Ht(s,{icon:"cancel",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Cancel upload",tabIndex:-1})]}):Ht(s,{icon:"x",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Remove file",tabIndex:-1})})]})})};import{Fragment as s6,jsx as n6,jsxs as l6}from"react/jsx-runtime";import{Fragment as Sh,jsx as Vn,jsxs as Mh}from"react/jsx-runtime";var si=e=>Vn(ve,{async:!0,children:Mh(Sh,{children:[Vn(_e,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),Vn(_e,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});import{Fragment as g6,jsx as x6,jsxs as h6}from"react/jsx-runtime";import{jsx as yh}from"react/jsx-runtime";var Xn=e=>yh(ve,{async:!0,empty:!0,...e});import{Fragment as y6,jsx as M6,jsxs as E6}from"react/jsx-runtime";import{Fragment as O6,jsx as A6,jsxs as R6}from"react/jsx-runtime";import{jsx as Ut,jsxs as Qi}from"react/jsx-runtime";var Eh=ve.options,Ch=ve.states,Wd={...ve.defaultOptions,variant:"empty"},Bh=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],Th=[],ua=e=>{let{variant:t,...o}={...Wd,...e};switch(t){case"success":return Qi(si,{status:"done",style:{width:"586px"},...o,children:[Ut(_e,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),Ut(_e,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return Qi(si,{status:"failed",style:{width:"586px"},...o,children:[Ut(_e,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),Ut(_e,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return Qi(si,{status:"uploading",style:{width:"586px"},...o,children:[Ut(_e,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),Ut(_e,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return Qi(si,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[Ut(_e,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),Ut(_e,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return Ut(Xn,{async:!0,status:"upload",style:{width:"586px"},...o})}};ua.options=Eh;ua.states=Ch;ua.variants=Bh;ua.defaultOptions=Wd;ua.modifiers=Th;ua.className=ve.className;import{Fragment as n4,jsx as i4,jsxs as r4}from"react/jsx-runtime";import{jsx as fa,jsxs as Jd}from"react/jsx-runtime";var qd="k-imageeditor-pane",Ah=[],Oh={},Rh={},fe=e=>{let{title:t,actions:o,adaptive:a,children:i,...l}=e;return Jd("div",{...l,className:r(e.className,qd),children:[Jd("div",{className:"k-imageeditor-pane-header",children:[a&&fa(s,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"}),fa("div",{className:"k-imageeditor-pane-title",children:t}),a?fa(s,{fillMode:"flat",icon:"check","aria-label":"Confirm",title:"Confirm"}):fa(s,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"})]}),fa("div",{className:"k-imageeditor-pane-content",children:i}),!a&&o&&fa(He,{alignment:"end",className:"k-imageeditor-pane-footer",children:o})]})};fe.states=Ah;fe.options=Oh;fe.className=qd;fe.moduleName=null;fe.folderName=null;fe.defaultOptions=Rh;import{jsx as zh}from"react/jsx-runtime";var Wn="k-imageeditor-option-preview",Ph=[n.hover,n.focus,n.selected],wh={},Kh={},Ot=e=>{let{label:t,hover:o,focus:a,selected:i,children:l,...d}=e;return zh("div",{...d,className:r(e.className,Wn,y(Wn,{hover:o,focus:a,selected:i})),role:"button","aria-pressed":i?"true":"false",children:l??t})};Ot.states=Ph;Ot.options=wh;Ot.className=Wn;Ot.moduleName=null;Ot.folderName=null;Ot.defaultOptions=Kh;import{jsx as Yd}from"react/jsx-runtime";var ji="k-imageeditor-option-list",Zd={scrollable:!1},ba=e=>{let{scrollable:t=Zd.scrollable,scrollingPosition:o,children:a,...i}=e;return Yd("div",{...i,className:r(e.className,ji,{[`${ji}-scrollable`]:t,[`${ji}-scrollable-${o}`]:o&&o!=="both"}),children:Yd("div",{className:"k-imageeditor-option-list-items",children:a})})};ba.className=ji;ba.moduleName=null;ba.folderName=null;ba.defaultOptions=Zd;import{Fragment as Dh,jsx as Qd,jsxs as Fh}from"react/jsx-runtime";var _h={},di=e=>{let{label:t,style:o,children:a}=e;return Fh(Dh,{children:[Qd("span",{"aria-hidden":"true",style:{position:"relative",display:"block",width:"100%",height:"40px",borderRadius:"2px",backgroundImage:"url('/packages/html/assets/sofia.jpg')",backgroundSize:"cover",boxSizing:"border-box",...o},children:a}),t&&Qd("span",{className:"k-imageeditor-preview-thumbnail-label",children:t})]})};di.moduleName=null;di.folderName=null;di.defaultOptions=_h;import{Fragment as jd,jsx as Gt,jsxs as ep}from"react/jsx-runtime";var tp={variant:"crop"},xa=e=>{let{variant:t=tp.variant,grid:o,corners:a=!0}=e,i=t==="crop"?"k-resize-handle":"k-scale-handle",l=t==="scale"?"k-scale-handle":"k-resize-handle";return ep(jd,{children:[o&&Gt("div",{className:"k-imageeditor-crop-grid"}),a&&ep(jd,{children:[Gt("span",{className:`${i} k-resize-nw`}),Gt("span",{className:`${i} k-resize-ne`}),Gt("span",{className:`${i} k-resize-sw`}),Gt("span",{className:`${i} k-resize-se`})]}),Gt("span",{className:`${l} k-resize-n`}),Gt("span",{className:`${l} k-resize-s`}),Gt("span",{className:`${l} k-resize-w`}),Gt("span",{className:`${l} k-resize-e`})]})};xa.moduleName=null;xa.folderName=null;xa.defaultOptions=tp;import{jsx as op}from"react/jsx-runtime";var Hh="k-rotate-handle",Jn=e=>op("span",{...e,className:r(e.className,Hh),children:op(g,{icon:"rotate"})});Jn.moduleName=null;Jn.folderName=null;import{jsx as R4}from"react/jsx-runtime";var ap="form",ip="forms";import{Fragment as rp,jsx as er,jsxs as Vh}from"react/jsx-runtime";var tr="k-form",Gh=[],$h={size:[p.undefined,p.small,p.medium,p.large]},qn={layout:"basic",tag:"form"},$=e=>{let{size:t,orientation:o,layout:a=qn.layout,formButtons:i,cols:l,gutters:d,tag:m=qn.tag,children:f,style:h}=e,b=m,N=r(e.className,tr,E(tr,{size:t}),{[`${tr}-${o}`]:o}),c=Vh(rp,{children:[a==="grid"?er("div",{className:r("k-form-layout","k-d-grid",{[`k-grid-cols-${l}`]:l}),style:{...typeof d=="string"&&{gap:d},...typeof d=="object"&&d.rows&&{rowGap:d.rows},...typeof d=="object"&&d.cols&&{columnGap:d.cols},...h},children:f}):er(rp,{children:f}),i&&er("div",{className:"k-form-buttons",children:i})]}),{role:v,"aria-labelledby":L,"aria-label":I,id:S}=e;return er(b,{className:N,role:v,"aria-labelledby":L,"aria-label":I,id:S,children:c})};$.states=Gh;$.options=$h;$.className=tr;$.defaultOptions=qn;$.moduleName=ap;$.folderName=ip;var np="label",lp="label";import{jsx as sp,jsxs as qh}from"react/jsx-runtime";var Yn="k-label",Xh=[n.disabled],Wh={},Jh={},io=e=>{let{disabled:t,optional:o,info:a,text:i,children:l,...d}=e;return qh("label",{...d,className:r(e.className,Yn,y(Yn,{disabled:t})),children:[i||l,o&&sp("span",{className:"k-label-optional",children:"(Optional)"}),a&&sp("span",{className:"k-field-info",children:a})]})};io.states=Xh;io.options=Wh;io.className=Yn;io.defaultOptions=Jh;io.moduleName=np;io.folderName=lp;import{jsx as jh}from"react/jsx-runtime";var dp="k-form-hint",Yh=[],Zh={},Qh={},pt=e=>{let{text:t,children:o,...a}=e;return jh("div",{...a,className:r(e.className,dp),children:t||o})};pt.states=Yh;pt.options=Zh;pt.className=dp;pt.defaultOptions=Qh;import{jsx as ag}from"react/jsx-runtime";var pp="k-form-error",eg=[],tg={},og={},mt=e=>{let{text:t,children:o,...a}=e;return ag("div",{...a,className:r(e.className,pp),children:t||o})};mt.states=eg;mt.options=tg;mt.className=pp;mt.defaultOptions=og;import{jsx as or,jsxs as mp}from"react/jsx-runtime";var Zn="k-form-field",ig=[n.disabled],F=e=>{let{editorId:t,label:o,orientation:a,optional:i,editor:l,hint:d,error:m,info:f,disabled:h,dir:b,colSpan:N,...c}=e;return mp("div",{...c,className:r(Zn,e.className,y(Zn,{disabled:h}),{[`k-col-span-${N}`]:N}),dir:b,children:[o&&or(io,{className:"k-form-label",id:t?`${t}-label`:void 0,htmlFor:t||void 0,optional:i,info:f?"(field info)":void 0,children:o}),a==="horizontal"&&!o&&or("span",{className:"k-label k-form-label k-label-empty"}),mp("div",{className:"k-form-field-wrap",children:[l,d&&or(pt,{id:t?`${t}-hint`:void 0,children:d}),m&&or(mt,{id:t?`${t}-error`:void 0,children:m})]})]})};F.states=ig;F.className=Zn;import{Fragment as rg,jsx as Qn,jsxs as ng}from"react/jsx-runtime";var cp="k-form-fieldset",ke=e=>{let{legend:t,layout:o,cols:a,gutters:i,colSpan:l}=e;return ng("fieldset",{className:r(cp,{[`k-col-span-${l}`]:l}),children:[t&&Qn("legend",{className:"k-form-legend",children:t}),o==="grid"?Qn("div",{className:r("k-form-layout","k-d-grid",{[`k-grid-cols-${a}`]:a}),style:{...typeof i=="string"&&{gap:i},...typeof i=="object"&&i.rows&&{rowGap:i.rows},...typeof i=="object"&&i.cols&&{columnGap:i.cols}},children:e.children}):Qn(rg,{children:e.children})]})};ke.className=cp;var yo="radio",ha=yo;import{jsx as up}from"react/jsx-runtime";var ar="k-radio",lg=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked],sg={size:[p.undefined,p.small,p.medium,p.large]},dg={},We=e=>{let{id:t,checked:o,hover:a,focus:i,disabled:l,invalid:d,valid:m,required:f,size:h,...b}=e;return up("span",{className:"k-radio-wrap",children:up("input",{...b,id:t,type:"radio",checked:o,required:f,disabled:l||void 0,"aria-invalid":d?"true":void 0,className:r(e.className,ar,E(ar,{size:h}),y(ar,{hover:a,focus:i,disabled:l,invalid:d,valid:m,checked:o}))})})};We.states=lg;We.options=sg;We.className=ar;We.defaultOptions=dg;We.moduleName=yo;We.folderName=ha;var ct=We;import{jsx as cg}from"react/jsx-runtime";var fp="k-radio-list",pg=[],mg={},bp={layout:"vertical"},se=e=>{let{layout:t=bp.layout,...o}=e;return cg("ul",{...o,className:r(e.className,fp,{[`k-list-${t}`]:t}),role:"radiogroup",children:e.children})};se.states=pg;se.options=mg;se.className=fp;se.defaultOptions=bp;se.moduleName=yo;se.folderName=ha;import{jsx as xg}from"react/jsx-runtime";var xp="k-radio-list-item",ug=[],fg={},bg={},de=e=>{let{...t}=e;return xg("li",{...t,className:r(e.className,xp),role:"none",children:e.children})};de.states=ug;de.options=fg;de.className=xp;de.defaultOptions=bg;de.moduleName=yo;de.folderName=ha;import{jsx as k9}from"react/jsx-runtime";import{Fragment as hg,jsx as hp,jsxs as gg}from"react/jsx-runtime";var Je=({children:e,id:t,...o})=>gg(hg,{children:[hp(ct,{...o,id:t}),hp("label",{className:"k-radio-label",htmlFor:t,children:e})]});import{Fragment as B9,jsx as C9,jsxs as T9}from"react/jsx-runtime";import{Fragment as K9,jsx as P9,jsxs as w9}from"react/jsx-runtime";import{Fragment as H9,jsx as F9,jsxs as U9}from"react/jsx-runtime";import{Fragment as W9,jsx as X9,jsxs as J9}from"react/jsx-runtime";import{Fragment as t7,jsx as e7,jsxs as o7}from"react/jsx-runtime";import{jsx as n7}from"react/jsx-runtime";import{jsx as Mg}from"react/jsx-runtime";var vg=ct.options,kg=ct.states,Lg=ct.defaultOptions,Ig=[],Sg=[],ga=e=>Mg(Je,{id:T("radio"),name:"value",...e,children:"Label"});ga.options=vg;ga.states=kg;ga.variants=Ig;ga.defaultOptions=Lg;ga.modifiers=Sg;ga.className=ct.className;import{jsx as ut,jsxs as gp}from"react/jsx-runtime";var yg=se.options,Eg=se.states,Cg={...se.defaultOptions,variant:"vertical"},Bg=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Tg=[],Na=e=>{let{variant:t,...o}=e;return t==="horizontal"?gp(se,{layout:"horizontal",...o,children:[ut(de,{children:ut(Je,{id:T("rb"),name:"value",defaultChecked:!0,children:"Label"})}),ut(de,{children:ut(Je,{id:T("rb"),name:"value",children:"Label"})}),ut(de,{children:ut(Je,{id:T("rb"),name:"value",children:"Label"})})]}):gp(se,{...o,children:[ut(de,{children:ut(Je,{id:T("rb"),name:"value",defaultChecked:!0,children:"Label"})}),ut(de,{children:ut(Je,{id:T("rb"),name:"value",children:"Label"})}),ut(de,{children:ut(Je,{id:T("rb"),name:"value",children:"Label"})})]})};Na.options=yg;Na.states=Eg;Na.variants=Bg;Na.defaultOptions=Cg;Na.modifiers=Tg;Na.className=se.className;import{Fragment as U7,jsx as H7,jsxs as G7}from"react/jsx-runtime";import{Fragment as Q7,jsx as Z7,jsxs as j7}from"react/jsx-runtime";import{Fragment as nG,jsx as rG,jsxs as lG}from"react/jsx-runtime";var Np="date-input",vp="dateinput";import{jsx as pi,jsxs as Pg}from"react/jsx-runtime";var kp="k-dateinput",Ag=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Og={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Rg={},qe=e=>{let{size:t,rounded:o,fillMode:a,value:i,placeholder:l,hover:d,focus:m,valid:f,invalid:h,required:b,loading:N,disabled:c,readonly:v,showClearButton:L,showSpinButton:I,id:S,"aria-label":M,"aria-describedby":O,...K}=e;return Pg(V,{...K,size:t,rounded:o,fillMode:a,hover:d,focus:m,valid:f,invalid:h,required:b,loading:N,disabled:c,readonly:v,className:r(e.className,kp),children:[pi(ce,{id:S,placeholder:l,value:i,disabled:c,"aria-label":M,"aria-describedby":O,"aria-invalid":h?"true":void 0}),pi(j,{valid:f,invalid:h,loading:N,disabled:c}),pi(ie,{loading:N,disabled:c}),L&&pi(me,{loading:N,disabled:c,readonly:v,value:i}),I&&pi(Mt,{className:"k-input-spinner",size:t,fillMode:a,disabled:c})]})};qe.states=Ag;qe.options=Og;qe.className=kp;qe.defaultOptions=Rg;qe.moduleName=Np;qe.folderName=vp;var jn=qe;import{jsx as wg}from"react/jsx-runtime";var Lp=e=>wg(jn,{...e});import{jsx as kG}from"react/jsx-runtime";import{jsx as Hg}from"react/jsx-runtime";var Kg=qe.options,zg=qe.states,_g=qe.defaultOptions,Dg=[{name:"spin-button",title:"`Spin` Button"}],Fg=[],va=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{i==="spin-button"&&(a.showSpinButton=!!t?.[i])}),Hg(Lp,{value:"2/04/2021",style:{width:"300px"},...o,...a})};va.options=Kg;va.states=zg;va.variants=Fg;va.defaultOptions=_g;va.modifiers=Dg;va.className=qe.className;var Ip="masked-textbox",Sp="maskedtextbox";import{Fragment as Mp,jsx as ro,jsxs as el}from"react/jsx-runtime";var yp="k-maskedtextbox",Ug=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Gg={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},tl={showClearButton:!0,separators:!0},Ye=e=>{let{size:t,rounded:o,fillMode:a,separators:i=tl.separators,showClearButton:l=tl.showClearButton,prefix:d,suffix:m,value:f,placeholder:h,hover:b,focus:N,valid:c,invalid:v,required:L,loading:I,disabled:S,readonly:M,id:O,"aria-label":K,"aria-describedby":Y,...oe}=e;return el(V,{...oe,size:t,rounded:o,fillMode:a,hover:b,focus:N,valid:c,invalid:v,required:L,loading:I,disabled:S,readonly:M,className:r(e.className,yp),children:[d&&el(Mp,{children:[ro(be,{children:d}),i&&ro(ee,{})]}),ro(ce,{id:O,placeholder:h,value:f,disabled:S,"aria-label":K,"aria-describedby":Y,"aria-invalid":v?"true":void 0}),ro(j,{valid:c,invalid:v,loading:I,disabled:S}),ro(ie,{loading:I,disabled:S}),l&&ro(me,{loading:I,disabled:S,readonly:M,value:f}),m&&el(Mp,{children:[i&&ro(ee,{}),ro(xe,{children:m})]})]})};Ye.states=Ug;Ye.options=Gg;Ye.className=yp;Ye.defaultOptions=tl;Ye.moduleName=Ip;Ye.folderName=Sp;var ka=Ye;import{jsx as $g}from"react/jsx-runtime";var Ep=e=>$g(ka,{...e});import{Fragment as XG,jsx as VG}from"react/jsx-runtime";import{Fragment as QG,jsx as ZG}from"react/jsx-runtime";import{jsx as o8}from"react/jsx-runtime";import{jsx as n8}from"react/jsx-runtime";import{jsx as ol}from"react/jsx-runtime";var Vg=Ye.states,Xg=Ye.defaultOptions,Wg=Ye.options,Jg=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],qg=[],La=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?ol(X,{size:o.size,value:"Choose",fillMode:"flat"}):void 0;break;case"suffix":a.suffix=t?.[i]?ol(g,{icon:"lock"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;default:break}}),ol(Ep,{value:"Value",style:{width:300},...o,...a})};La.options=Wg;La.states=Vg;La.variants=qg;La.defaultOptions=Xg;La.modifiers=Jg;La.className=Ye.className;var al="switch",Cp=al;import{jsx as ir,jsxs as Bp}from"react/jsx-runtime";var no="k-switch",Yg=[n.hover,n.focus,n.disabled,n.readonly,n.checked],Zg={size:[p.undefined,p.small,p.medium,p.large],trackRounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],thumbRounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},Qg={},De=e=>{let{checked:t,onLabel:o,offLabel:a,size:i,trackRounded:l,thumbRounded:d,hover:m,focus:f,disabled:h,readonly:b,...N}=e;return Bp("span",{...N,className:r(e.className,no,E(no,{size:i}),y(no,{hover:m,focus:f,disabled:h,readonly:b}),{[`${no}-on`]:t,[`${no}-off`]:!t}),role:"switch","aria-checked":t?"true":"false",tabIndex:h?void 0:0,"aria-disabled":h?"true":void 0,"aria-readonly":b?"true":void 0,children:[Bp("span",{className:r("k-switch-track",E(no,{rounded:l})),children:[o&&ir("span",{className:"k-switch-label-on",children:o}),a&&ir("span",{className:"k-switch-label-off",children:a})]}),ir("span",{className:"k-switch-thumb-wrap",children:ir("span",{className:r("k-switch-thumb",E(no,{rounded:d}))})})]})};De.states=Yg;De.options=Zg;De.className=no;De.defaultOptions=Qg;De.moduleName=al;De.folderName=Cp;import{jsx as T8}from"react/jsx-runtime";import{jsx as P8}from"react/jsx-runtime";import{jsx as _8}from"react/jsx-runtime";import{jsx as U8}from"react/jsx-runtime";import{jsx as Tp}from"react/jsx-runtime";var jg=De.options,eN=De.states,tN={...De.defaultOptions,variant:"on"},oN=[{name:"on",title:"On"},{name:"off",title:"Off"}],aN=[],Ia=e=>{let{variant:t,...o}=e;return t==="off"?Tp(De,{checked:!1,onLabel:"On",offLabel:"Off",...o}):Tp(De,{checked:!0,onLabel:"On",offLabel:"Off",...o})};Ia.options=jg;Ia.states=eN;Ia.variants=oN;Ia.defaultOptions=tN;Ia.modifiers=aN;Ia.className=De.className;var rl="textarea",Ap=rl;import{Fragment as Op,jsx as mi,jsxs as nl}from"react/jsx-runtime";var Rp="k-textarea",iN=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],rN={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Sa={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},Fe=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:i=Sa.prefixSeparator,suffixSeparator:l=Sa.prefixSeparator,affixesOrientation:d=Sa.affixesOrientation,flow:m=Sa.flow,resize:f=Sa.resize,prefix:h,suffix:b,rows:N,value:c,placeholder:v,hover:L,focus:I,valid:S,invalid:M,required:O,disabled:K,id:Y,"aria-label":oe,"aria-describedby":ae,...pe}=e;return nl(V,{...pe,size:t,rounded:o,fillMode:a,hover:L,focus:I,valid:S,invalid:M,required:O,disabled:K,className:r(e.className,Rp,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[h&&nl(Op,{children:[mi(be,{className:r({"!k-align-items-start":m===d}),direction:d,children:h}),i&&mi(ee,{direction:m==="horizontal"?"vertical":"horizontal"})]}),mi(Fa,{className:r("!k-overflow-auto",{"!k-flex-none":m==="vertical","k-resize-x":f==="x","k-resize-y":f==="y","k-resize":f==="both","k-resize-none":f==="none"}),value:c,placeholder:v,rows:N,disabled:K,id:Y,"aria-label":oe,"aria-describedby":ae,"aria-invalid":M?"true":void 0}),b&&nl(Op,{children:[l&&mi(ee,{direction:m==="horizontal"?"vertical":"horizontal"}),mi(xe,{className:r({"!k-align-items-start":m===d}),direction:d,children:b})]})]})};Fe.states=iN;Fe.options=rN;Fe.className=Rp;Fe.defaultOptions=Sa;Fe.moduleName=rl;Fe.folderName=Ap;import{jsx as d$}from"react/jsx-runtime";import{Fragment as b$,jsx as f$}from"react/jsx-runtime";import{Fragment as k$,jsx as v$}from"react/jsx-runtime";import{jsx as M$}from"react/jsx-runtime";import{jsx as rr}from"react/jsx-runtime";var nN=Fe.options,lN=Fe.states,Pp={...Fe.defaultOptions,variant:"vertical"},sN=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],dN=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],Ma=e=>{let{variant:t,modifiers:o,...a}={...Pp,...e},i={resize:"y"};return Object.keys(o||{}).forEach(l=>{switch(l){case"prefix":i.prefix=o?.[l]?rr(g,{icon:"comment"}):void 0;break;case"suffix":i.suffix=o?.[l]?rr(g,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?rr(Fe,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...i}):rr(Fe,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...i})};Ma.options=nN;Ma.states=lN;Ma.variants=sN;Ma.defaultOptions=Pp;Ma.modifiers=dN;Ma.className=Fe.className;import{Fragment as q$,jsx as J$,jsxs as Y$}from"react/jsx-runtime";import{Fragment as bN,jsx as Pe,jsxs as ya}from"react/jsx-runtime";var pN=$.options,mN=$.states,cN={...$.defaultOptions,variant:"vertical"},uN=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],fN=[],Ea=e=>{let{variant:t,size:o,...a}=e,i=ya(ke,{legend:"Form Legend",children:[Pe(F,{label:"Label",editor:Pe(G,{size:o})}),Pe(F,{label:"Label",hint:"Hint text",editor:Pe(X,{value:"Dropdown List",size:o})}),Pe(F,{label:"City",editor:ya("ul",{className:"k-radio-list k-list-horizontal",children:[ya("li",{className:"k-radio-list-item",children:[Pe(We,{checked:!0,size:o}),Pe("label",{className:"k-radio-label",children:"Label"})]}),ya("li",{className:"k-radio-list-item",children:[Pe(We,{size:o}),Pe("label",{className:"k-radio-label",children:"Label"})]}),ya("li",{className:"k-radio-list-item",children:[Pe(We,{size:o}),Pe("label",{className:"k-radio-label",children:"Label"})]})]})})]}),l=ya(bN,{children:[Pe(s,{className:"k-form-submit",themeColor:"primary",size:o,children:"Submit"}),Pe(s,{className:"k-form-clear",size:o,children:"Clear"})]});return t==="horizontal"?Pe($,{orientation:"horizontal",size:o,...a,formButtons:l,children:i}):Pe($,{size:o,...a,formButtons:l,children:i})};Ea.options=pN;Ea.states=mN;Ea.variants=uN;Ea.defaultOptions=cN;Ea.modifiers=fN;Ea.className=$.className;import{jsx as wp,jsxs as vN}from"react/jsx-runtime";var xN=pt.options,hN=pt.states,Kp={...pt.defaultOptions},gN=[],NN=[{name:"showHint",title:"Show Hint"}],Ca=e=>{let{modifiers:t,...o}={...Kp,...e},a=t?.showHint??!0;return vN("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[wp(G,{placeholder:"Component",style:{width:"200px"}}),a&&wp(pt,{...o,children:"Hint text"})]})};Ca.options=xN;Ca.states=hN;Ca.variants=gN;Ca.defaultOptions=Kp;Ca.modifiers=NN;Ca.className=pt.className;import{jsx as zp,jsxs as MN}from"react/jsx-runtime";var kN=mt.options,LN=mt.states,_p={...mt.defaultOptions},IN=[],SN=[{name:"showError",title:"Show Error"}],Ba=e=>{let{modifiers:t,...o}={..._p,...e},a=t?.showError??!0;return MN("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[zp(G,{placeholder:"Component",invalid:a,style:{width:"200px"}}),a&&zp(mt,{...o,children:"Error text"})]})};Ba.options=kN;Ba.states=LN;Ba.variants=IN;Ba.defaultOptions=_p;Ba.modifiers=SN;Ba.className=mt.className;import{Fragment as FV,jsx as DV,jsxs as HV}from"react/jsx-runtime";import{Fragment as ZV,jsx as YV,jsxs as QV}from"react/jsx-runtime";import{Fragment as dX,jsx as sX,jsxs as pX}from"react/jsx-runtime";import{jsx as gX}from"react/jsx-runtime";var sl="segmented-control",Dp=sl,Fp="segmented-control-button",Hp="segmented-control";import{jsx as CN,jsxs as BN}from"react/jsx-runtime";var nr="k-segmented-control",yN=[],EN={size:[p.undefined,p.small,p.medium,p.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},$t=e=>{let{size:t,rounded:o,stretched:a,children:i,thumbStyles:l,...d}=e;return BN("div",{...d,className:r(e.className,nr,E(nr,{size:t,rounded:o}),{[`${nr}-stretched`]:a}),role:"group",children:[CN("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:l}),i]})};$t.states=yN;$t.options=EN;$t.className=nr;$t.moduleName=sl;$t.folderName=Dp;import{jsx as dl,jsxs as RN}from"react/jsx-runtime";var pl="k-segmented-control-button",TN=[n.selected,n.hover,n.focus,n.disabled],AN={},ON={},Rt=e=>{let{hover:t,focus:o,selected:a,disabled:i,icon:l,endIcon:d,text:m,iconClassName:f,...h}=e;return RN("button",{...h,className:r(e.className,pl,y(pl,{hover:t,focus:o,disabled:i,selected:a})),"aria-pressed":a?"true":"false","aria-disabled":i?"true":void 0,tabIndex:a?0:-1,children:[l&&dl(g,{className:r(f,"k-segmented-control-button-icon"),icon:l}),(m||e.children)&&dl("span",{className:"k-segmented-control-button-text",children:m||e.children}),d&&dl(g,{className:r(f,"k-segmented-control-button-icon"),icon:d})]})};Rt.states=TN;Rt.options=AN;Rt.className=pl;Rt.defaultOptions=ON;Rt.moduleName=Fp;Rt.folderName=Hp;import{Fragment as PX,jsx as RX,jsxs as wX}from"react/jsx-runtime";import{Fragment as HX,jsx as FX,jsxs as UX}from"react/jsx-runtime";import{Fragment as JX,jsx as WX,jsxs as qX}from"react/jsx-runtime";import{Fragment as tW,jsx as eW,jsxs as oW}from"react/jsx-runtime";import{Fragment as sW,jsx as lW,jsxs as dW}from"react/jsx-runtime";import{Fragment as bW,jsx as fW,jsxs as xW}from"react/jsx-runtime";import{Fragment as FW,jsx as DW,jsxs as HW}from"react/jsx-runtime";import{Fragment as oJ,jsx as tJ,jsxs as aJ}from"react/jsx-runtime";import{Fragment as bJ,jsx as fJ,jsxs as xJ}from"react/jsx-runtime";import{Fragment as CJ,jsx as EJ,jsxs as BJ}from"react/jsx-runtime";import{Fragment as KJ,jsx as wJ,jsxs as zJ}from"react/jsx-runtime";import{Fragment as WJ,jsx as VJ,jsxs as XJ}from"react/jsx-runtime";import{Fragment as nq,jsx as iq,jsxs as rq}from"react/jsx-runtime";import{Fragment as gq,jsx as hq,jsxs as Nq}from"react/jsx-runtime";import{Fragment as KN,jsx as C,jsxs as Ze}from"react/jsx-runtime";var PN=[C(s,{fillMode:"flat",icon:"image-resize","aria-label":"Resize"},"sidebar-button-1"),C(s,{fillMode:"flat",icon:"crop","aria-label":"Crop"},"sidebar-button-2"),C(s,{fillMode:"flat",icon:"rotate","aria-label":"Rotate"},"sidebar-button-3"),C("div",{className:"k-separator"},"sidebar-separator-1"),C(s,{fillMode:"flat",icon:"free-text",selected:!0,"aria-label":"Text"},"sidebar-button-4"),C(s,{fillMode:"flat",icon:"shapes","aria-label":"Shapes"},"sidebar-button-5"),C("div",{className:"k-separator"},"sidebar-separator-2"),C(s,{fillMode:"flat",icon:"drop-half-pixelated","aria-label":"Blur"},"sidebar-button-6"),C(s,{fillMode:"flat",icon:"sliders-horizontal","aria-label":"Adjustments"},"sidebar-button-7"),C(s,{fillMode:"flat",icon:"circles-three-intersecting","aria-label":"Filters"},"sidebar-button-8"),C("div",{className:"k-separator"},"sidebar-separator-3"),C(s,{fillMode:"flat",icon:"frame-corners","aria-label":"Frame"},"sidebar-button-9"),C(s,{fillMode:"flat",icon:"circle-half-tilted","aria-label":"Shadow"},"sidebar-button-10")],wN=({selected:e=!1,fontFamily:t="Trebuchet MS",fontSize:o=48,alignment:a="center",fillColor:i="#000000",opacity:l=100,...d})=>C(te,{sidebarItems:PN,actionPane:C(fe,{title:"Text",actions:Ze(KN,{children:[C(s,{children:"Remove"}),C(s,{themeColor:"primary",children:"Insert"})]}),children:Ze($,{tag:"div",children:[C(F,{label:"Font Family",editorId:"text-font-family",editor:C(ge,{id:"text-font-family",prefix:C(g,{icon:"font-family"}),value:t})}),Ze(ke,{layout:"grid",cols:2,gutters:{cols:"16px"},children:[C(F,{label:"Font Size",editorId:"text-font-size",editor:C(P,{id:"text-font-size",showSpinButton:!1,value:String(o),prefix:C(g,{icon:"font-size"})})}),C(F,{label:"Alignment",editor:Ze(A,{children:[C(s,{className:"k-group-start",icon:"align-left",selected:a==="left","aria-label":"Align Left"}),C(s,{icon:"align-center",selected:a==="center","aria-label":"Align Center"}),C(s,{className:"k-group-end",icon:"align-right",selected:a==="right","aria-label":"Align Right"})]})})]}),C(F,{label:"Format",editor:Ze("div",{className:"k-imageeditor-controls",children:[C(s,{icon:"bold","aria-label":"Bold"}),C(s,{icon:"italic","aria-label":"Italic"}),C(s,{icon:"underline","aria-label":"Underline"}),C(s,{icon:"strikethrough","aria-label":"Strikethrough"}),C(s,{icon:"convert-uppercase","aria-label":"Uppercase"}),C(s,{icon:"convert-lowercase","aria-label":"Lowercase"})]})}),Ze(ke,{layout:"grid",cols:2,gutters:{cols:"16px"},children:[C(F,{label:"Fill Color",editor:C(he,{id:"text-fill-color",value:i,valueIconName:"foreground-color","aria-label":"Fill Color"})}),C(F,{label:"Text Opacity",editor:C(P,{id:"text-opacity",showSpinButton:!1,value:`${l}%`,prefix:C(g,{icon:"transparency"}),"aria-label":"Text Opacity"})})]}),Ze(ke,{layout:"grid",cols:2,gutters:{cols:"16px"},children:[C(F,{label:"Align Horizontal",editor:Ze(A,{disabled:!e,children:[C(s,{disabled:!e,className:"k-group-start",icon:"align-items-start","aria-label":"Align Left"}),C(s,{disabled:!e,icon:"align-items-center","aria-label":"Align Center"}),C(s,{disabled:!e,className:"k-group-end",icon:"align-items-end","aria-label":"Align Right"})]})}),C(F,{label:"Align Vertical",editor:Ze(A,{disabled:!e,children:[C(s,{disabled:!e,className:"k-group-start",icon:"align-items-start-alt","aria-label":"Align Top"}),C(s,{disabled:!e,icon:"align-items-center-alt","aria-label":"Align Middle"}),C(s,{disabled:!e,className:"k-group-end",icon:"align-items-end-alt","aria-label":"Align Bottom"})]})})]}),C(F,{label:"Rotation",editor:Ze("div",{className:"k-imageeditor-field-row",children:[C(H,{disabled:!e,style:{flex:1},"aria-label":"Rotation",showButtons:!1,showTicks:!1,value:0,min:0,max:360}),C(P,{disabled:!e,style:{width:"80px",flex:"none"},"aria-label":"Rotation angle",showClearButton:!1,showSpinButton:!1,separators:!1,value:"0",suffix:C(kt,{children:"\xB0"})})]})}),Ze(ke,{layout:"grid",cols:2,gutters:{cols:"16px"},children:[C(F,{label:"Rotate Options",editor:Ze("div",{className:"k-imageeditor-controls",children:[C(s,{disabled:!e,icon:"rotate-right","aria-label":"Rotate Right"}),C(s,{disabled:!e,icon:"rotate-left","aria-label":"Rotate Left"})]})}),C(F,{label:"Flip Options",editor:Ze("div",{className:"k-imageeditor-controls",children:[C(s,{disabled:!e,icon:"flip-horizontal","aria-label":"Flip Horizontal"}),C(s,{disabled:!e,icon:"flip-vertical","aria-label":"Flip Vertical"})]})})]})]})}),children:C("canvas",{width:"494",height:"307",role:"img","aria-label":"Image being edited",style:{backgroundImage:"url('/packages/html/assets/sofia.jpg')",backgroundSize:"cover"}}),...d}),oY=wN;export{wN as ImageEditorInsertText,oY as default};
|
|
1
|
+
var r=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?r(...t):typeof t=="object"?Object.keys(t).map((o,a)=>t[a]||t[o]&&o||null).filter(o=>o!==null).join(" "):t).filter(t=>!!t).join(" ");var C=(e,t)=>r({[`${e}-xs`]:t.size==="xsmall",[`${e}-sm`]:t.size==="small",[`${e}-md`]:t.size==="medium",[`${e}-lg`]:t.size==="large",[`${e}-xl`]:t.size==="xlarge",[`${e}-xxl`]:t.size==="xxlarge",[`${e}-xxxl`]:t.size==="xxxlarge"},{[`${e}-${t.fillMode}`]:t.fillMode},{[`${e}-${t.themeColor}`]:t.themeColor},{"k-rounded-sm":t.rounded==="small","k-rounded-md":t.rounded==="medium","k-rounded-lg":t.rounded==="large","k-rounded-full":t.rounded==="full","k-rounded-none":t.rounded==="none"}),M=(e,t)=>{let{valid:o,invalid:a,hover:i,focus:s,checked:d,active:m,selected:c,disabled:h,indeterminate:b,loading:g,empty:u,readonly:v,highlighted:I,...S}=t;return r({"k-valid":o,"k-invalid":a,"k-hover":i,"k-focus":s,"k-checked":d,"k-active":m,"k-selected":c,"k-disabled":h,"k-indeterminate":b&&!d,"k-loading":g,"k-empty":u,"k-readonly":v,"k-highlighted":I},Object.keys(S).reduce((k,E)=>(E.startsWith("k-")?k[E]=S[E]:k[`k-${E}`]=S[E],k),{}))};function xs(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var p={undefined:void 0,xsmall:"xsmall",small:"small",medium:"medium",large:"large",xlarge:"xlarge",xxlarge:"xxlarge",xxxlarge:"xxxlarge"},f={undefined:void 0,none:"none",small:"small",medium:"medium",large:"large",full:"full"},x={undefined:void 0,solid:"solid",tint:"tint",flat:"flat",outline:"outline",clear:"clear",link:"link"},gt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},L={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},n={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 pr={};function T(e){return pr[e]=(pr[e]||0)+1,`k-${e}-${pr[e]}`}import{Fragment as Jp,jsx as hs}from"react/jsx-runtime";var mr="k-font-icon",Vp=[],Xp={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info]},Wp={},Pa=e=>{let{size:t,themeColor:o,icon:a,rotate:i,flip:s,...d}=e;return a?hs("span",{...d,className:r(e.className,mr,C(mr,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${i}`]:i,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):hs(Jp,{})};Pa.states=Vp;Pa.options=Xp;Pa.className=mr;Pa.defaultOptions=Wp;var Ns=Pa;import{Fragment as Zp,jsx as bi}from"react/jsx-runtime";var cr="k-svg-icon",qp=[],Yp={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[gt.outline,gt.solid,gt.duotone]},ur={viewBox:"0 0 24 24",variant:gt.outline},wa=e=>{let{size:t,themeColor:o,rotate:a,flip:i,viewBox:s=ur.viewBox,variant:d=ur.variant,icon:m,...c}=e;if(!m)return bi(Zp,{});if(m==="none")return bi("span",{...c,className:r(e.className,cr,C("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let h=typeof m=="object"&&m.name&&m.name,b=typeof m=="object"?d&&m.variants?.[d]||m.variants?.outline||m.content:void 0;return bi("span",{...c,className:r(e.className,cr,C("k-icon",{size:t}),{[`k-svg-i-${h}`]:h,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":i==="h"||i==="both","k-flip-v":i==="v"||i==="both"}),"aria-hidden":"true",children:bi("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:s,dangerouslySetInnerHTML:b!==void 0?{__html:b}:void 0,children:m?void 0:e.children})})};wa.states=qp;wa.options=Yp;wa.className=cr;wa.defaultOptions=ur;var fr=wa;import*as br from"@progress/kendo-svg-icons";var gs="icon",vs="icons";import{useContext as jp}from"react";import{createContext as Qp}from"react";var Ls=Qp({iconsType:"svg"});import{Fragment as Is,jsx as Ka}from"react/jsx-runtime";var xi="k-icon",em=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),tm=[],om={size:[p.undefined,p.xsmall,p.small,p.medium,p.large,p.xlarge,p.xxlarge,p.xxxlarge],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info],variant:[gt.outline,gt.solid,gt.duotone]},hi={viewBox:"0 0 24 24",type:"svg",variant:gt.outline},N=e=>{let{iconsType:t}=jp(Ls),{size:o,themeColor:a,icon:i,type:s=t||hi.type,rotate:d,flip:m,viewBox:c=hi.viewBox,variant:h=hi.variant,...b}=e;if(!i)return Ka(Is,{});if((t||s)==="svg"){if(i==="none")return Ka(fr,{...b,className:r(e.className,xi),icon:i,size:o,variant:h});let u=br[i]?i:em(`${i}-icon`);return br[u]?Ka(fr,{...b,className:r(e.className,xi),icon:br[u],size:o,themeColor:a,rotate:d,flip:m,viewBox:c,variant:h}):Ka(Is,{})}return Ka(Ns,{...b,className:r(e.className,xi),icon:i,size:o,themeColor:a,rotate:d,flip:m})};N.states=tm;N.options=om;N.defaultOptions=hi;N.className=xi;N.moduleName=gs;N.folderName=vs;var xr="button",Ss=xr;import{Fragment as hr,jsx as Xt,jsxs as ks}from"react/jsx-runtime";var Da="k-button",am=["icon-button"],im=[n.hover,n.focus,n.active,n.selected,n.disabled,n.generating],rm={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},Nr={showArrow:!1,arrowIconName:"chevron-down"},l=e=>{let{as:t="button",size:o,rounded:a,fillMode:i,themeColor:s,showArrow:d=Nr.showArrow,arrowIconName:m=Nr.arrowIconName,variant:c,hover:h,focus:b,active:g,selected:u,disabled:v,togglable:I,ariaDisabled:S,icon:k,endIcon:E,iconSize:B,text:K,iconClassName:Y,className:te,...oe}=e,pe=k!=null,lo=e.children!==void 0;return ks(t,{className:r(te,Da,xs(Da,c),C(Da,{size:o,rounded:a,fillMode:i,themeColor:s}),M(Da,{hover:h,focus:b,active:g,disabled:v||S,selected:u}),{"k-icon-button":!K&&!lo&&pe}),"aria-pressed":I?u?"true":"false":void 0,...oe,"aria-disabled":S?"true":void 0,disabled:v||void 0,children:[typeof k=="string"&&k&&Xt(N,{className:r(Y,"k-button-icon"),icon:k,size:B}),k&&typeof k!="string"&&Xt(hr,{children:k}),K?ks(hr,{children:[K&&Xt("span",{className:"k-button-text",children:K}),e.children]}):e.children&&Xt("span",{className:"k-button-text",children:e.children}),typeof E=="string"&&E&&Xt(N,{className:r(Y,"k-button-icon"),icon:E,size:B}),E&&typeof E!="string"&&Xt(hr,{children:E}),d&&Xt("span",{className:"k-menu-button-arrow k-button-arrow",children:Xt(N,{icon:m})})]})};l.states=im;l.options=rm;l.variants=am;l.className=Da;l.defaultOptions=Nr;l.moduleName=xr;l.folderName=Ss;import{jsx as nm}from"react/jsx-runtime";var wt=e=>nm(l,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});import{jsx as sm}from"react/jsx-runtime";var _a=e=>sm(l,{icon:"folder",children:"Button",...e});import{jsx as Bv}from"react/jsx-runtime";import{jsx as lm}from"react/jsx-runtime";var vt=e=>lm(l,{children:"Button",...e});import{jsx as gr}from"react/jsx-runtime";var dm=l.options,pm=l.states,mm={...l.defaultOptions,variant:"text"},cm=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],um=[],yo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return gr(wt,{...o,icon:"star"});case"icon-and-text":return gr(_a,{...o,icon:"star",children:"Button"});default:return gr(vt,{...o,children:"Button"})}};yo.options=dm;yo.states=pm;yo.variants=cm;yo.defaultOptions=mm;yo.modifiers=um;yo.className=l.className;var vr="button",Es=vr;import{jsx as hm}from"react/jsx-runtime";var za="k-button-group",fm=[n.disabled],bm={fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},xm={},O=e=>{let{fillMode:t,disabled:o,stretched:a,...i}=e;return hm("div",{role:"group",...i,className:r(e.className,za,C(za,{fillMode:t}),M(za,{disabled:o}),{[`${za}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};O.states=fm;O.options=bm;O.className=za;O.defaultOptions=xm;O.moduleName=vr;O.folderName=Es;import{Fragment as nL,jsx as rL,jsxs as sL}from"react/jsx-runtime";import{Fragment as uL,jsx as cL,jsxs as fL}from"react/jsx-runtime";import{Fragment as vL,jsx as gL,jsxs as LL}from"react/jsx-runtime";import{Fragment as CL,jsx as ML,jsxs as yL}from"react/jsx-runtime";import{Fragment as PL,jsx as RL,jsxs as wL}from"react/jsx-runtime";import{Fragment as FL,jsx as HL,jsxs as UL}from"react/jsx-runtime";import{Fragment as JL,jsx as WL,jsxs as qL}from"react/jsx-runtime";import{jsx as Kt,jsxs as Lr}from"react/jsx-runtime";var Nm={...l.options,...O.options},gm=l.states,vm={...l.defaultOptions,...O.defaultOptions,variant:"text-button"},Lm=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Im=[],Ao=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?Lr(O,{fillMode:a.fillMode,className:o,children:[Kt(l,{...a,icon:"star"}),Kt(l,{...a,icon:"star"}),Kt(l,{...a,icon:"star"})]}):t==="icon-text-button"?Lr(O,{fillMode:a.fillMode,className:o,children:[Kt(l,{...a,icon:"star",children:"First"}),Kt(l,{...a,icon:"star",children:"Middle"}),Kt(l,{...a,icon:"star",children:"Last"})]}):Lr(O,{fillMode:a.fillMode,className:o,children:[Kt(l,{...a,children:"First"}),Kt(l,{...a,children:"Middle"}),Kt(l,{...a,children:"Last"})]})};Ao.options=Nm;Ao.states=gm;Ao.variants=Lm;Ao.defaultOptions=vm;Ao.modifiers=Im;Ao.className=O.className;var Ha="input",Ni=Ha;import{jsx as Mm}from"react/jsx-runtime";var gi="k-input",Sm=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],km={size:[p.undefined,p.small,p.medium,p.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Em={},V=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:s,loading:d,readonly:m,size:c,rounded:h,fillMode:b,...g}=e;return Mm("span",{...g,className:r(e.className,gi,C(gi,{size:c,rounded:h,fillMode:b}),M(gi,{hover:t,focus:o,disabled:a,invalid:i,valid:s,loading:d,readonly:m}))})};V.states=Sm;V.options=km;V.className=gi;V.defaultOptions=Em;V.moduleName=Ha;V.folderName=Ni;import{jsx as Tm}from"react/jsx-runtime";var vi="k-picker",Cm=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],ym={size:[p.undefined,p.small,p.medium,p.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Am={},Lt=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:s,loading:d,readonly:m,size:c,rounded:h,fillMode:b,...g}=e;return Tm("span",{...g,className:r(e.className,vi,C(vi,{size:c,rounded:h,fillMode:b}),M(vi,{hover:t,focus:o,disabled:a,invalid:i,valid:s,loading:d,readonly:m})),children:e.children})};Lt.states=Cm;Lt.options=ym;Lt.className=vi;Lt.defaultOptions=Am;Lt.moduleName=Ha;Lt.folderName=Ni;import{Fragment as Rm,jsx as Ir}from"react/jsx-runtime";var Ms="k-clear-value",Om=[n.disabled,n.loading,n.readonly],Bm={},me=e=>{let{disabled:t,loading:o,readonly:a,value:i}=e;return t||a||o||!i?Ir(Rm,{}):Ir("span",{className:r(e.className,Ms),children:Ir(N,{icon:"x"})})};me.states=Om;me.options=Bm;me.className=Ms;import{jsx as Km}from"react/jsx-runtime";var Sr="k-input-inner",Pm=[],wm={},Li={type:"text",autocomplete:"off",value:"",placeholder:""},ce=e=>{let{value:t=Li.value,type:o=Li.type,placeholder:a=Li.placeholder,autocomplete:i=Li.autocomplete,disabled:s,readOnly:d,...m}=e;return Km("input",{...m,type:o,className:r(e.className,Sr,C(Sr,e)),placeholder:a,autoComplete:i,defaultValue:t,disabled:s||void 0,readOnly:d||void 0})};ce.states=Pm;ce.options=wm;ce.className=Sr;import{jsx as Cs,jsxs as zm}from"react/jsx-runtime";var kr="k-input-inner",Dm=[],_m={},po=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:i,valueIconName:s,...d}=e;return zm("span",{...d,className:r(e.className,kr,C(kr,e)),children:[i,!i&&s&&Cs(N,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&Cs("span",{className:"k-input-value-text",children:t})]})};po.states=Dm;po.options=_m;po.className=kr;import{jsx as Um}from"react/jsx-runtime";var Er="k-input-inner",Hm=[],Fm={},ys={value:"",placeholder:""},Fa=e=>{let{value:t=ys.value,placeholder:o=ys.placeholder,rows:a,disabled:i,...s}=e;return Um("textarea",{...s,className:r(e.className,Er,C(Er,e)),placeholder:o,rows:a,defaultValue:t,disabled:i||void 0})};Fa.states=Hm;Fa.options=Fm;Fa.className=Er;import{Fragment as $m,jsx as As}from"react/jsx-runtime";var Ts="k-input-loading-icon",Gm=[n.disabled,n.loading],ae=e=>{let{disabled:t,loading:o}=e;return t||!o?As($m,{}):As("span",{className:r(e.className,Ts,"k-icon k-i-loading")})};ae.states=Gm;ae.className=Ts;import{Fragment as Wm,jsx as Os}from"react/jsx-runtime";var Bs="k-input-validation-icon",Vm=[n.valid,n.invalid,n.disabled,n.loading],Xm={},j=e=>{let{valid:t,invalid:o,disabled:a,loading:i}=e,s=o?"warning-circle":"check-circle";return a||i||!!!(t||o)?Os(Wm,{}):Os(N,{className:r(Bs),icon:s})};j.states=Vm;j.options=Xm;j.className=Bs;import{Fragment as Ym,jsx as Rs}from"react/jsx-runtime";var Jm="k-input-prefix",qm={direction:"horizontal"},xe=e=>{let{direction:t=qm.direction,...o}=e;return e.children?Rs("span",{...o,className:r(Jm,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):Rs(Ym,{})};import{Fragment as jm,jsx as Ps}from"react/jsx-runtime";var Zm="k-input-suffix",Qm={direction:"horizontal"},he=e=>{let{direction:t=Qm.direction,...o}=e;return e.children?Ps("span",{...o,className:r(Zm,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):Ps(jm,{})};import{jsx as YI}from"react/jsx-runtime";import{jsx as tc}from"react/jsx-runtime";var ec="k-input-suffix-text",It=e=>{let{children:t,...o}=e;return tc("span",{...o,className:r(ec,e.className),children:t})};import{jsx as ac}from"react/jsx-runtime";var ws="k-input-separator",oc={direction:"vertical"},ee=e=>{let{direction:t=oc.direction,...o}=e;return ac("span",{...o,className:r(ws,e.className,{[`${ws}-${t}`]:t})})};import{Fragment as Ks,jsx as St,jsxs as Mr}from"react/jsx-runtime";var ic=V.states,rc=V.defaultOptions,nc=V.options,sc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],lc=[],To=e=>{let{modifiers:t,valid:o,invalid:a,loading:i,disabled:s,readonly:d,...m}=e,c=t?.prefix,h=t?.suffix,b=t?.["clear-button"],g=t?.["validation-icon"],u=t?.separators;return Mr(V,{...m,valid:o,invalid:a,loading:i,disabled:s,readonly:d,style:{width:300},children:[c&&Mr(Ks,{children:[St(xe,{children:St(N,{icon:"lock"})}),u&&St(ee,{})]}),St(ce,{placeholder:"Placeholder",value:"Value"}),g&&St(j,{valid:o,invalid:a,loading:i,disabled:s}),St(ae,{loading:i,disabled:s}),b&&St(me,{loading:i,disabled:s,readonly:d,value:"Value"}),h&&Mr(Ks,{children:[u&&St(ee,{}),St(he,{children:St(vt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};To.options=nc;To.states=ic;To.variants=lc;To.defaultOptions=rc;To.modifiers=sc;To.className=V.className;import{jsx as Ds,jsxs as mc}from"react/jsx-runtime";var _s="k-color-preview",dc=[],pc={},Wt=e=>{let{color:t,iconName:o,...a}=e;return mc("span",{...a,className:r(e.className,_s,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&Ds(N,{icon:o,className:"k-color-preview-icon"}),Ds("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Wt.states=dc;Wt.options=pc;Wt.className=_s;var Cr="popup",zs=Cr;import{jsx as Hs}from"react/jsx-runtime";var Fs="k-animation-container",cc=[],uc={},yr={positionMode:"absolute",shown:!0},kt=e=>{let{positionMode:t=yr.positionMode,shown:o=yr.shown,animationStyle:a,offset:i,...s}=e;return Hs("div",{...s,style:{...i,...e.style},className:r(e.className,Fs,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:Hs("div",{className:"k-child-animation-container",style:a,children:e.children})})};kt.states=cc;kt.options=uc;kt.className=Fs;kt.defaultOptions=yr;kt.moduleName=Cr;kt.folderName=zs;var Ar="popup",Us=Ar;import{jsx as Gs}from"react/jsx-runtime";var $s="k-popup",fc=[],bc={},Vs={positionMode:"absolute"},J=e=>{let{offset:t,positionMode:o=Vs.positionMode,animationStyle:a,containerClassName:i,containerRole:s,containerAriaLabel:d,...m}=e;return Gs(kt,{positionMode:o,offset:t,animationStyle:a,className:i,role:s,"aria-label":d,children:Gs("div",{...m,className:r(e.className,$s),children:e.children})})};J.states=fc;J.options=bc;J.className=$s;J.defaultOptions=Vs;J.moduleName=Ar;J.folderName=Us;var Tr="action-buttons",Xs=Tr;import{jsx as Nc}from"react/jsx-runtime";var Ii="k-actions",xc=[],hc={},Or={alignment:"start",orientation:"horizontal"},Ge=e=>{let{alignment:t=Or.alignment,orientation:o=Or.orientation,...a}=e;return Nc("div",{...a,className:r(Ii,{[`${Ii}-${t}`]:t,[`${Ii}-${o}`]:o},e.className),children:e.children})};Ge.states=xc;Ge.options=hc;Ge.className=Ii;Ge.defaultOptions=Or;Ge.moduleName=Tr;Ge.folderName=Xs;var Ws=Ge;import{jsx as vc}from"react/jsx-runtime";var gc="k-actionsheet-footer",Js={alignment:"stretched",orientation:"horizontal"},Jt=e=>{let{alignment:t=Js.alignment,orientation:o=Js.orientation,template:a,as:i=a?"div":Ge,...s}=e;return vc(i,{...s,...!a&&{alignment:t,orientation:o},className:r(e.className,gc),children:e.children})};var Br="searchbox",qs=Br;import{jsx as Ua,jsxs as Sc}from"react/jsx-runtime";var Ys="k-searchbox",Lc=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading],Ic={size:[p.undefined,p.small,p.medium,p.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Si={showIcon:!0,showClearButton:!0,icon:"search"},Qe=e=>{let{value:t,placeholder:o,size:a,rounded:i,fillMode:s,hover:d,focus:m,valid:c,invalid:h,required:b,loading:g,disabled:u,showIcon:v=Si.showIcon,showClearButton:I=Si.showClearButton,icon:S=Si.icon,"aria-label":k,...E}=e;return Sc(V,{...E,size:a,rounded:i,fillMode:s,hover:d,focus:m,valid:c,invalid:h,required:b,loading:g,disabled:u,className:r(e.className,Ys),children:[v&&Ua(N,{className:"k-input-icon",icon:S}),Ua(ce,{placeholder:o,value:t,"aria-label":k}),Ua(ae,{...e}),Ua(j,{...e}),I&&Ua(me,{...e})]})};Qe.states=Lc;Qe.options=Ic;Qe.className=Ys;Qe.defaultOptions=Si;Qe.moduleName=Br;Qe.folderName=qs;import{jsx as Lk}from"react/jsx-runtime";var Rr="textbox",Zs=Rr;import{Fragment as Qs,jsx as qt,jsxs as Pr}from"react/jsx-runtime";var js="k-textbox",kc=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],Ec={size:[p.undefined,p.small,p.medium,p.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},ki={showClearButton:!0,showValidationIcon:!0,separators:!0},G=e=>{let{size:t,rounded:o,fillMode:a,separators:i=ki.separators,showClearButton:s=ki.showClearButton,showValidationIcon:d=ki.showValidationIcon,prefix:m,suffix:c,type:h,value:b,placeholder:g,hover:u,focus:v,valid:I,invalid:S,required:k,loading:E,disabled:B,readonly:K,id:Y,"aria-label":te,"aria-describedby":oe,...pe}=e;return Pr(V,{...pe,size:t,rounded:o,fillMode:a,hover:u,focus:v,valid:I,invalid:S,required:k,loading:E,disabled:B,readonly:K,className:r(e.className,js),children:[m&&Pr(Qs,{children:[qt(xe,{children:m}),i&&qt(ee,{})]}),qt(ce,{id:Y,placeholder:g,value:b,type:h,disabled:B,"aria-label":te,"aria-describedby":oe,"aria-invalid":S?"true":void 0}),d&&qt(j,{valid:I,invalid:S,loading:E,disabled:B}),qt(ae,{loading:E,disabled:B}),s&&qt(me,{loading:E,disabled:B,readonly:K,value:b}),c&&Pr(Qs,{children:[i&&qt(ee,{}),qt(he,{children:c})]})]})};G.states=kc;G.options=Ec;G.className=js;G.defaultOptions=ki;G.moduleName=Rr;G.folderName=Zs;var Ga=G;import{jsx as Mc}from"react/jsx-runtime";var el=e=>Mc(Ga,{...e});import{Fragment as zk,jsx as _k}from"react/jsx-runtime";import{Fragment as Vk,jsx as $k}from"react/jsx-runtime";import{jsx as qk}from"react/jsx-runtime";import{jsx as wr}from"react/jsx-runtime";var Cc=G.states,yc=G.defaultOptions,Ac=G.options,Tc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Oc=[],Oo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?wr(N,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t?.[i]?wr(vt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;default:break}}),wr(el,{value:"Value",style:{width:300},...o,...a})};Oo.options=Ac;Oo.states=Cc;Oo.variants=Oc;Oo.defaultOptions=yc;Oo.modifiers=Tc;Oo.className=G.className;import{jsx as Yt,jsxs as Kr}from"react/jsx-runtime";var tl="k-actionsheet-titlebar",Bc={},Se=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:i,filter:s,input:d,inputValue:m,inputPlaceholder:c,adaptive:h,titleId:b,children:g,...u}=e;return Kr("div",{...u,className:r(e.className,tl),children:[Kr("div",{className:"k-actionsheet-titlebar-group",children:[a&&Yt("div",{className:"k-actionsheet-actions",children:a}),!g&&Kr("div",{className:"k-actionsheet-title",id:b,children:[t&&Yt("div",{className:"k-text-center",children:t}),o&&Yt("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),g&&Yt("div",{className:"k-actionsheet-title",id:b,children:g}),i&&Yt("div",{className:"k-actionsheet-actions",children:i})]}),(d||s)&&Yt("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?Yt(G,{value:m,placeholder:c,size:h?"large":"medium","aria-label":t||c||"Input"}):Yt(Qe,{placeholder:"Filter",size:h?"large":"medium","aria-label":"Filter options"})})]})};Se.className=tl;Se.defaultOptions=Bc;import{jsx as Dr,jsxs as Kc}from"react/jsx-runtime";var _r="k-actionsheet-view",Rc=[],Pc={},wc={},Bo=e=>{let{adaptive:t,animated:o,children:a,header:i,footer:s,titleId:d,...m}=e,c=i?.type===Se&&Dr(Se,{adaptive:t,titleId:d,...i?.props}),h=s?.type===Jt&&Dr(Jt,{...s?.props});return Kc("div",{...m,className:r(e.className,_r,{[`${_r}-animated`]:o}),children:[c,Dr("div",{className:"k-actionsheet-content",children:a}),h]})};Bo.states=Rc;Bo.options=Pc;Bo.className=_r;Bo.defaultOptions=wc;var $a="action-sheet",Ei=$a;var zr="overlay",ol=zr;import{jsx as Hc}from"react/jsx-runtime";var al="k-overlay",Dc=[],_c={},zc={},ft=e=>{let{...t}=e;return Hc("div",{...t,className:r(e.className,al),children:e.children})};ft.states=Dc;ft.options=_c;ft.className=al;ft.defaultOptions=zc;ft.moduleName=zr;ft.folderName=ol;var il=ft;import{jsx as Mi,jsxs as Gc}from"react/jsx-runtime";var rl="k-actionsheet",Fc=[],Uc={},Va={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},Z=e=>{let{side:t=Va.side,fullscreen:o=Va.fullscreen,adaptive:a=Va.adaptive,overlay:i=Va.overlay,template:s,children:d,header:m,footer:c,id:h,...b}=e,g=h&&!s&&m?`${h}-title`:void 0;return Gc("div",{className:"k-actionsheet-container",children:[i&&Mi(ft,{}),Mi(kt,{animationStyle:{[`${o===!0?"top":t}`]:0,[`${o===!0?"width":null}`]:"100%",[`${o===!0?"height":null}`]:"100%",[`${t==="top"||t==="bottom"?"width":null}`]:"100%",[`${t==="left"||t==="right"?"height":null}`]:"100%"},children:Mi("div",{...b,id:h,role:"dialog","aria-modal":i?"true":void 0,"aria-labelledby":g,className:r(e.className,rl,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||Mi(Bo,{header:m,footer:c,adaptive:a,titleId:g,...e,children:d})})})]})};Z.states=Fc;Z.options=Uc;Z.className=rl;Z.defaultOptions=Va;Z.moduleName=$a;Z.folderName=Ei;import{jsx as Wc}from"react/jsx-runtime";var nl="k-actionsheet-container",$c=[],Vc={},Xc={},Ro=e=>{let{children:t,...o}=e;return Wc("div",{...o,className:nl,children:t})};Ro.states=$c;Ro.options=Vc;Ro.className=nl;Ro.defaultOptions=Xc;Ro.moduleName=$a;Ro.folderName=Ei;import{jsx as Jc}from"react/jsx-runtime";var Hr=e=>{let{...t}=e;return Jc("div",{...t,className:r(e.className,"k-list-ul"),children:e.children})};import{Fragment as Yc,jsx as Xa,jsxs as Fr}from"react/jsx-runtime";var Ur="k-actionsheet-item",qc=[n.hover,n.focus,n.selected,n.disabled],Zt=e=>{let{iconName:t,text:o,description:a,hover:i,focus:s,selected:d,disabled:m,...c}=e;return Fr("span",{...c,className:r(e.className,Ur,M(Ur,{hover:i,focus:s,selected:d,disabled:m})),children:[!e.children&&Xa(Yc,{children:Fr("span",{className:"k-actionsheet-action",children:[t&&Xa("span",{className:"k-icon-wrap",children:Xa(N,{className:"k-actionsheet-item-icon",icon:t})}),Fr("span",{className:"k-actionsheet-item-text",children:[o&&Xa("span",{className:"k-actionsheet-item-title",children:o}),a&&Xa("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Zt.states=qc;Zt.className=Ur;import{jsx as JE,jsxs as qE}from"react/jsx-runtime";import{jsx as jE}from"react/jsx-runtime";import{jsx as aM}from"react/jsx-runtime";import{jsx as sM}from"react/jsx-runtime";import{jsx as ke,jsxs as Gr}from"react/jsx-runtime";var Zc=Z.options,Qc=Z.states,ll={...Z.defaultOptions,variant:"normal"},jc=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],eu=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Po=e=>{let{variant:t,modifiers:o,...a}={...ll,...e},i={},s=Gr(Hr,{children:[ke(Zt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),ke(Zt,{text:"Add to Favorites",iconName:"heart"}),ke(Zt,{text:"Upload New",iconName:"upload",disabled:!0}),ke("hr",{className:"k-hr"}),ke(Zt,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",m="Select Item";return t==="fullScreen"&&(i.fullScreen=!0),Object.keys(o||{}).forEach(c=>{switch(c){case"actions":i.actionsStart=!!o?.[c],i.actionsEnd=!!o?.[c];break;case"subtitle":i.subtitle=o?.[c]?d:void 0;break;case"footer":i.footer=!!o?.[c];break;default:break}}),t==="adaptive"?ke(Z,{...a,adaptive:!0,fullscreen:i.fullScreen,header:ke(Se,{actionsStart:i.actionsStart?ke(l,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?ke(l,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:i.subtitle}),footer:i.footer?Gr(Jt,{alignment:"stretched",children:[ke(l,{text:"Cancel",size:"large",themeColor:"base"}),ke(l,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):ke(Z,{...a,fullscreen:i.fullScreen,header:ke(Se,{actionsStart:i.actionsStart?ke(l,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?ke(l,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:i.subtitle}),footer:i.footer?Gr(Jt,{alignment:"stretched",children:[ke(l,{text:"Apply",themeColor:"primary"}),ke(l,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Po.options=Zc;Po.states=Qc;Po.variants=jc;Po.defaultOptions=ll;Po.modifiers=eu;Po.className=Z.className;var $r="slider",dl=$r;import{jsx as wo,jsxs as Vr}from"react/jsx-runtime";var Wa="k-slider",tu=[n.hover,n.focus,n.active,n.disabled,n.readonly],ou={},je={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},F=e=>{let{type:t=je.type,orientation:o=je.orientation,gradientType:a=je.gradientType,readonly:i=je.readonly,disabled:s=je.disabled,handlePosition:d=je.handlePosition,showButtons:m=je.showButtons,showTicks:c=je.showTicks,value:h=je.value,min:b=je.min,max:g=je.max,startValue:u,endValue:v,hover:I,focus:S,active:k,trackStyle:E,dir:B,...K}=e,te=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),oe,pe;return o==="horizontal"?(oe=B==="rtl"?"chevron-left":"chevron-right",pe=B==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(oe="chevron-up",pe="chevron-down"),Vr("div",{...K,className:r(Wa,e.className,M(Wa,{readonly:i,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:B,children:[m&&wo(l,{className:"k-button-decrease",rounded:"full",icon:pe,tabIndex:-1,title:"Decrease"}),Vr("div",{className:"k-slider-track-wrap",children:[c&&wo("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),Vr("div",{className:"k-slider-track",style:E,children:[wo("div",{className:"k-slider-selection"}),t==="range"&&wo("span",{className:r("k-draghandle","k-draghandle-start",M(Wa,{hover:I,focus:S,active:k})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":u??b,"aria-valuemin":b,"aria-valuemax":v??g,"aria-orientation":te,"aria-disabled":s?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":K["aria-label"]?`${K["aria-label"]} start`:"Range start"}),wo("span",{className:r("k-draghandle",`k-draghandle-${d}`,M(Wa,{hover:I,focus:S,active:k})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?v??g:h,"aria-valuemin":t==="range"?u??b:b,"aria-valuemax":g,"aria-orientation":te,"aria-disabled":s?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":t==="range"?K["aria-label"]?`${K["aria-label"]} end`:"Range end":K["aria-label"]})]})]}),m&&wo(l,{className:"k-button-increase",rounded:"full",icon:oe,tabIndex:-1,title:"Increase"})]})};F.states=tu;F.options=ou;F.className=Wa;F.defaultOptions=je;F.moduleName=$r;F.folderName=dl;import{jsx as pl}from"react/jsx-runtime";var ml="k-tick",au=[],iu={},cl={label:!1},R=e=>{let{style:t,label:o=cl.label,orientation:a,large:i,text:s,...d}=e;return pl("li",{...d,role:"presentation",title:s||"Tick",className:r(e.className,ml,{[`k-tick-${a}`]:a,"k-tick-large":i}),style:t,children:o&&pl("span",{className:"k-label",children:s})})};R.states=au;R.options=iu;R.className=ml;R.defaultOptions=cl;import{Fragment as ru,jsx as et,jsxs as nu}from"react/jsx-runtime";var ul=e=>et(F,{"aria-label":e["aria-label"]||"Slider",children:nu(ru,{children:[et(R,{className:"k-first",label:!0,large:!0,text:"0"}),et(R,{}),et(R,{}),et(R,{}),et(R,{}),et(R,{label:!0,large:!0,text:"5"}),et(R,{}),et(R,{}),et(R,{}),et(R,{}),et(R,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});import{Fragment as su,jsx as tt,jsxs as lu}from"react/jsx-runtime";var fl=e=>tt(F,{children:lu(su,{children:[tt(R,{className:"k-first",label:!0,large:!0,text:"0"}),tt(R,{}),tt(R,{}),tt(R,{}),tt(R,{}),tt(R,{label:!0,large:!0,text:"5"}),tt(R,{}),tt(R,{}),tt(R,{}),tt(R,{}),tt(R,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});import{Fragment as qM,jsx as JM,jsxs as YM}from"react/jsx-runtime";import{Fragment as tC,jsx as eC,jsxs as oC}from"react/jsx-runtime";import{jsx as du}from"react/jsx-runtime";var Xr=e=>du(F,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{jsx as pu}from"react/jsx-runtime";var Wr=e=>pu(F,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});import{Fragment as uC,jsx as cC,jsxs as fC}from"react/jsx-runtime";import{Fragment as gC,jsx as NC,jsxs as vC}from"react/jsx-runtime";import{jsx as Et,jsxs as bl}from"react/jsx-runtime";var mu=F.options,cu=F.states,xl={...F.defaultOptions,variant:"horizontal",label:!0},uu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],fu=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],Ko=e=>{let{variant:t,modifiers:o,...a}=e,i=xl.label,s={};Object.keys(o||{}).forEach(m=>{switch(m){case"button":{s.showButtons=!!o?.[m];break}case"label":{i=!!o?.[m];break}case"tick":{s.showTicks=!!o?.[m];break}}});let d={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?bl(fl,{style:{height:"300px",...d},...a,...s,children:[Et(R,{label:i,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),Et(R,{label:i,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),Et(R,{label:i,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),Et(R,{label:i,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),Et(R,{label:i,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):bl(ul,{style:{width:"400px",...d},...a,...s,children:[Et(R,{label:i,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),Et(R,{label:i,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),Et(R,{label:i,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),Et(R,{label:i,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),Et(R,{label:i,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};Ko.options=mu;Ko.states=cu;Ko.variants=uu;Ko.defaultOptions=xl;Ko.modifiers=fu;Ko.className=F.className;import{jsx as hl,jsxs as gu}from"react/jsx-runtime";var Nl="k-spin-button",hu=[],Nu={size:[p.undefined,p.small,p.medium,p.large],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link]},Jr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Mt=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:i=Jr.increaseLabel,decreaseLabel:s=Jr.decreaseLabel,...d}=e;return gu("span",{...d,className:r(Nl,e.className),children:[hl(l,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":i}),hl(l,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};Mt.states=hu;Mt.options=Nu;Mt.className=Nl;Mt.defaultOptions=Jr;Mt.moduleName=null;Mt.folderName=null;var gl="numeric-textbox",vl="numerictextbox";import{Fragment as Ll,jsx as Dt,jsxs as qr}from"react/jsx-runtime";var Il="k-numerictextbox",vu=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],Lu={size:[p.undefined,p.small,p.medium,p.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ci={showSpinButton:!0,showClearButton:!0,separators:!0},P=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Ci.separators,showClearButton:s=Ci.showClearButton,showSpinButton:d=Ci.showSpinButton,prefix:m,suffix:c,value:h,placeholder:b,hover:g,focus:u,valid:v,invalid:I,required:S,loading:k,disabled:E,readonly:B,id:K,"aria-label":Y,"aria-describedby":te,...oe}=e;return qr(V,{...oe,size:t,rounded:o,fillMode:a,hover:g,focus:u,valid:v,invalid:I,required:S,loading:k,disabled:E,readonly:B,className:r(e.className,Il),children:[m&&qr(Ll,{children:[Dt(xe,{children:m}),i&&Dt(ee,{})]}),Dt(ce,{id:K,placeholder:b,value:h,role:"spinbutton",disabled:E,"aria-label":Y,"aria-describedby":te,"aria-invalid":I?"true":void 0}),Dt(j,{valid:v,invalid:I,loading:k,disabled:E}),Dt(ae,{loading:k,disabled:E}),s&&Dt(me,{loading:k,disabled:E,readonly:B,value:h}),c&&qr(Ll,{children:[i&&Dt(ee,{}),Dt(he,{children:c})]}),d&&Dt(Mt,{className:"k-input-spinner",size:t,fillMode:a,disabled:E})]})};P.states=vu;P.options=Lu;P.className=Il;P.defaultOptions=Ci;P.moduleName=gl;P.folderName=vl;var Ja=P;import{jsx as Iu}from"react/jsx-runtime";var Sl=e=>Iu(Ja,{...e});import Zr from"react";import{jsx as kl}from"react/jsx-runtime";var Su="k-list-group-sticky-header",Yr=e=>kl("div",{className:r(Su,e.className),children:kl("div",{className:"k-list-header-text",children:e.children})});import{jsx as Eu}from"react/jsx-runtime";var ku="k-no-data",yi=e=>{let{live:t,...o}=e;return Eu("span",{...o,className:r(ku,e.className),"aria-live":t?"polite":void 0,children:e.children})};var mo="list",Do=mo;import{jsx as El,jsxs as Ml}from"react/jsx-runtime";var Qr="k-list",Mu=[],Cu={size:[p.undefined,p.small,p.medium,p.large]},yu={},w=e=>{let{size:t,virtualization:o,children:a,header:i,selectAll:s,optionLabel:d,customValue:m,noData:c,screenReaders:h,...b}=e,u=Zr.Children.toArray(a)[0],v=u?.props?.children?Zr.Children.count(u.props.children):Zr.Children.count(a);return Ml("div",{...b,className:r(e.className,Qr,C(Qr,{size:t}),{"k-virtual-list":o}),children:[d,s,m,i&&El(Yr,{children:i}),a||(c!==void 0?c:El(yi,{live:!0,children:"No data found."})),h&&a&&Ml(yi,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};w.states=Mu;w.options=Cu;w.className=Qr;w.defaultOptions=yu;w.moduleName=mo;w.folderName=Do;import{jsx as Bu}from"react/jsx-runtime";var Cl="k-list-container",Au=[],Tu={},Ou={},_o=e=>{let{...t}=e;return Bu("div",{...t,className:r(e.className,Cl),children:e.children})};_o.states=Au;_o.options=Tu;_o.className=Cl;_o.defaultOptions=Ou;_o.moduleName=mo;_o.folderName=Do;var co="checkbox",zo=co;import{jsx as yl}from"react/jsx-runtime";var Ai="k-checkbox",Ru=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked,n.indeterminate],Pu={size:[p.undefined,p.small,p.medium,p.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},wu={},Ke=e=>{let{id:t,checked:o,indeterminate:a,hover:i,focus:s,disabled:d,invalid:m,valid:c,required:h,size:b,rounded:g,wrapperRole:u,...v}=e;return yl("span",{className:"k-checkbox-wrap",role:u,children:yl("input",{...v,id:t,type:"checkbox",defaultChecked:o,required:h,disabled:d||void 0,"aria-invalid":m?"true":void 0,className:r(e.className,Ai,C(Ai,{size:b,rounded:g}),M(Ai,{hover:i,focus:s,disabled:d,invalid:m,valid:c,indeterminate:a,checked:o}))})})};Ke.states=Ru;Ke.options=Pu;Ke.className=Ai;Ke.defaultOptions=wu;Ke.moduleName=co;Ke.folderName=zo;var bt=Ke;import{jsx as _u}from"react/jsx-runtime";var Al="k-checkbox-list",Ku=[],Du={},Tl={layout:"vertical"},Ae=e=>{let{layout:t=Tl.layout,...o}=e;return _u("ul",{...o,className:r(e.className,Al,{[`k-list-${t}`]:t}),children:e.children})};Ae.states=Ku;Ae.options=Du;Ae.className=Al;Ae.defaultOptions=Tl;Ae.moduleName=co;Ae.folderName=zo;import{jsx as Uu}from"react/jsx-runtime";var Ol="k-checkbox-list-item",zu=[],Hu={},Fu={},Te=e=>{let{...t}=e;return Uu("li",{...t,className:r(e.className,Ol),children:e.children})};Te.states=zu;Te.options=Hu;Te.className=Ol;Te.defaultOptions=Fu;Te.moduleName=co;Te.folderName=zo;import{Fragment as Gu,jsx as Bl,jsxs as $u}from"react/jsx-runtime";var xt=({children:e="Label",id:t="cb-label-after",...o})=>$u(Gu,{children:[Bl(bt,{id:t,...o}),Bl("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});import{Fragment as $y,jsx as Gy,jsxs as Vy}from"react/jsx-runtime";import{Fragment as Yy,jsx as qy,jsxs as Zy}from"react/jsx-runtime";import{Fragment as oA,jsx as tA,jsxs as aA}from"react/jsx-runtime";import{jsx as sA}from"react/jsx-runtime";import{jsx as mA}from"react/jsx-runtime";import{jsx as bA}from"react/jsx-runtime";import{jsx as ot,jsxs as Rl}from"react/jsx-runtime";var Vu=Ae.options,Xu=Ae.states,Wu={...Ae.defaultOptions,variant:"vertical"},Ju=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],qu=[],Ho=e=>{let{variant:t,...o}=e;return t==="horizontal"?Rl(Ae,{layout:"horizontal",...o,children:[ot(Te,{children:ot(xt,{id:T("cb"),defaultChecked:!0,children:"Label"})}),ot(Te,{children:ot(xt,{id:T("cb"),children:"Label"})}),ot(Te,{children:ot(xt,{id:T("cb"),children:"Label"})})]}):Rl(Ae,{...o,children:[ot(Te,{children:ot(xt,{id:T("cb"),defaultChecked:!0,children:"Label"})}),ot(Te,{children:ot(xt,{id:T("cb"),children:"Label"})}),ot(Te,{children:ot(xt,{id:T("cb"),children:"Label"})})]})};Ho.options=Vu;Ho.states=Xu;Ho.variants=Ju;Ho.defaultOptions=Wu;Ho.modifiers=qu;Ho.className=Ae.className;import{jsx as tf}from"react/jsx-runtime";var Yu=bt.options,Zu=bt.states,Qu=bt.defaultOptions,ju=[],ef=[],Fo=e=>tf(xt,{id:T("checkbox"),...e,defaultChecked:!0,children:"Label"});Fo.options=Yu;Fo.states=Zu;Fo.variants=ju;Fo.defaultOptions=Qu;Fo.modifiers=ef;Fo.className=bt.className;import{jsx as Uo,jsxs as nf}from"react/jsx-runtime";var jr="k-list-item",of=[n.hover,n.focus,n.selected,n.disabled],af={},rf={},A=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:i,checked:s,hover:d,focus:m,selected:c,disabled:h,actions:b,description:g,id:u,...v}=e,I=t||e.children,S=t||(typeof I=="string"?I:void 0);return nf("li",{...v,id:u,role:"option",tabIndex:m?0:-1,"aria-selected":c?"true":"false","aria-disabled":h?"true":void 0,className:r(e.className,jr,M(jr,{hover:d,focus:m,disabled:h,selected:c})),children:[i&&Uo(Ke,{checked:s,disabled:h,"aria-label":S,tabIndex:-1}),o&&Uo("span",{className:"k-list-item-icon-wrapper",children:Uo(N,{icon:o,className:r("k-list-item-icon",a)})}),Uo("span",{className:"k-list-item-text",children:I}),b&&Uo("div",{className:"k-list-item-actions",children:b}),g&&Uo("span",{className:"k-list-item-description",children:g})]})};A.states=of;A.options=af;A.className=jr;A.defaultOptions=rf;A.moduleName=mo;A.folderName=Do;import{jsx as lf}from"react/jsx-runtime";var sf="k-list-ul",Ct=e=>{let{children:t,role:o,id:a,...i}=e;return lf("ul",{...i,id:a,role:o,className:r(sf,e.className),children:t})};import{jsx as en,jsxs as pf}from"react/jsx-runtime";var df="k-list-content",D=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":i,listboxId:s,...d}=e;return pf("div",{...d,className:r(df,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?i:void 0,children:[o?e.children:en(Ct,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":i,children:e.children}),t&&en("div",{className:"k-height-container",children:en("div",{})})]})};import{jsx as tn,jsxs as ff}from"react/jsx-runtime";var Ti="k-list-sticky-header",mf=[n.hover,n.focus,n.selected],cf={},uf={},Oi=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:i,hover:s,focus:d,selected:m,...c}=e;return tn("div",{...c,className:r(Ti,e.className),children:ff("div",{className:r(`${Ti}-item`,M(`${Ti}-item`,{hover:s,focus:d,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&tn(Ke,{checked:a,indeterminate:i,"aria-label":t}),tn("span",{className:"k-list-item-text",children:t})]})})};Oi.states=mf;Oi.options=cf;Oi.className=Ti;Oi.defaultOptions=uf;import{Fragment as dT,jsx as lT,jsxs as pT}from"react/jsx-runtime";import{jsx as bT,jsxs as xT}from"react/jsx-runtime";import{jsx as Nf}from"react/jsx-runtime";var on="k-list-optionlabel",bf=[n.hover,n.focus,n.selected,n.disabled],xf={},hf={},Bi=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:s,...d}=e;return Nf("div",{...d,className:r(on,M(on,{hover:o,focus:a,selected:i,disabled:s})),children:t})};Bi.states=bf;Bi.options=xf;Bi.className=on;Bi.defaultOptions=hf;import{jsx as If}from"react/jsx-runtime";var an="k-list-custom-value",gf=[n.hover,n.focus,n.selected,n.disabled],vf={},Lf={},at=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:s,...d}=e;return If("div",{...d,className:r(an,M(an,{hover:o,focus:a,selected:i,disabled:s})),children:t})};at.states=gf;at.options=vf;at.className=an;at.defaultOptions=Lf;import{Fragment as yT,jsx as CT,jsxs as AT}from"react/jsx-runtime";import{Fragment as wT,jsx as PT,jsxs as KT}from"react/jsx-runtime";import{Fragment as GT,jsx as FT,jsxs as UT}from"react/jsx-runtime";import{Fragment as YT,jsx as JT,jsxs as qT}from"react/jsx-runtime";import{jsx as eO}from"react/jsx-runtime";import{Fragment as nO,jsx as rO,jsxs as sO}from"react/jsx-runtime";import{Fragment as uO,jsx as cO,jsxs as fO}from"react/jsx-runtime";var Pl="dropdown-list",wl="dropdownlist";import{Fragment as Ef,jsx as Oe,jsxs as rn}from"react/jsx-runtime";var Kl="k-dropdownlist",Sf=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],kf={size:[p.undefined,p.small,p.medium,p.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},nn={showValue:!0,arrowIconName:"chevron-down"},X=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=nn.arrowIconName,showValue:s=nn.showValue,valueIconName:d,prefix:m,suffix:c,value:h,placeholder:b,hover:g,focus:u,valid:v,invalid:I,required:S,loading:k,disabled:E,readonly:B,popup:K,opened:Y,adaptive:te,adaptiveSettings:oe,adaptiveTitle:pe,adaptiveSubtitle:lo,adaptiveFilter:Nt,id:Pt,activeDescendant:Vt,"aria-label":Oa,...Ba}=e,Ra=Pt?`${Pt}-listbox`:void 0,bs=Pt?`${Pt}-value`:void 0;return rn(Ef,{children:[rn(Lt,{...Ba,id:Pt,size:t,rounded:o,fillMode:a,hover:g,focus:u,valid:v,invalid:I,required:S,loading:k,disabled:E,readonly:B,className:r(e.className,Kl,{"k-icon-picker":!s&&d}),role:"combobox","aria-haspopup":"listbox","aria-expanded":Y?"true":"false","aria-controls":Y?Ra:void 0,"aria-activedescendant":Y&&Vt?Vt:void 0,"aria-describedby":Y?bs:void 0,"aria-disabled":E?"true":void 0,"aria-label":Oa,tabIndex:0,children:[Oe(xe,{children:m}),Oe(po,{placeholder:b,value:h,showValue:s,valueIconName:d,id:bs}),Oe(j,{valid:v,invalid:I,loading:k,disabled:E}),Oe(ae,{loading:k,disabled:E}),Oe(he,{children:c}),Oe(l,{className:"k-input-button",icon:i,size:e.size,fillMode:e.fillMode,"aria-label":b||"Toggle dropdown",tabIndex:-1})]}),Y&&K&&Oe(J,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:K}),te&&Oe(Z,{adaptive:!0,...oe,header:Oe(Se,{actionsEnd:Oe(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Nt,inputValue:h,inputPlaceholder:b,title:pe,subtitle:lo}),children:Oe("div",{className:"k-list-container",children:Oe(w,{size:"large",children:rn(D,{"aria-label":"Options",children:[Oe(A,{text:"List item"}),Oe(A,{text:"List item"}),Oe(A,{text:"List item"})]})})})})]})};X.states=Sf;X.options=kf;X.className=Kl;X.defaultOptions=nn;X.moduleName=Pl;X.folderName=wl;import{jsx as qO}from"react/jsx-runtime";import{jsx as tB,jsxs as oB}from"react/jsx-runtime";import{Fragment as mB,jsx as dB,jsxs as pB}from"react/jsx-runtime";import{jsx as xB}from"react/jsx-runtime";import{jsx as IB,jsxs as SB}from"react/jsx-runtime";import{Fragment as BB,jsx as TB,jsxs as OB}from"react/jsx-runtime";import{jsx as DB}from"react/jsx-runtime";import{Fragment as Of,jsx as Qt,jsxs as Dl}from"react/jsx-runtime";var Mf=X.states,Cf=X.defaultOptions,yf=X.options,Af=[{name:"opened",title:"Opened"}],Tf=[],$o=e=>{let{modifiers:t,...o}=e,a={},i=Dl(Of,{children:[Qt("div",{className:"k-list-filter",children:Qt(Qe,{})}),Qt(w,{style:{width:300},size:o.size,children:Dl(D,{children:[Qt(A,{children:"List item"}),Qt(A,{children:"List item"}),Qt(A,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!t?.[s],a.popup=t?.[s]?i:void 0)}),Qt("div",{children:Qt(X,{placeholder:"Value",style:{width:300},...o,...a})})};$o.options=yf;$o.states=Mf;$o.variants=Tf;$o.defaultOptions=Cf;$o.modifiers=Af;$o.className=X.className;import{Fragment as rR,jsx as iR}from"react/jsx-runtime";import{Fragment as mR,jsx as pR}from"react/jsx-runtime";import{jsx as bR}from"react/jsx-runtime";import{jsx as sn}from"react/jsx-runtime";var Bf=P.states,Rf=P.defaultOptions,Pf=P.options,wf=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],Kf=[],Vo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?sn(X,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t?.[i]?sn(It,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;case"spin-button":a.showSpinButton=t?.[i];break;default:break}}),sn(Sl,{value:"Value",style:{width:300},...o,...a})};Vo.options=Pf;Vo.states=Bf;Vo.variants=Kf;Vo.defaultOptions=Rf;Vo.modifiers=wf;Vo.className=P.className;import{Fragment as qa,jsx as _,jsxs as ie}from"react/jsx-runtime";var _l="k-colorgradient-inputs",Df=[],_f={size:[p.undefined,p.small,p.medium,p.large]},zl={mode:"rgba"},Xo=e=>{let{mode:t=zl.mode,size:o,...a}=e;return ie("div",{...a,className:r(_l,"k-hstack"),children:[_("div",{className:"k-vstack",children:_(l,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&ie(qa,{children:[ie("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),_("label",{className:"k-colorgradient-input-label",children:"R"})]}),ie("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),_("label",{className:"k-colorgradient-input-label",children:"G"})]}),ie("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),_("label",{className:"k-colorgradient-input-label",children:"B"})]}),ie("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),_("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&ie(qa,{children:[ie("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),_("label",{className:"k-colorgradient-input-label",children:"R"})]}),ie("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),_("label",{className:"k-colorgradient-input-label",children:"G"})]}),ie("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),_("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&ie(qa,{children:[ie("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),_("label",{className:"k-colorgradient-input-label",children:"H"})]}),ie("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),_("label",{className:"k-colorgradient-input-label",children:"S"})]}),ie("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),_("label",{className:"k-colorgradient-input-label",children:"V"})]}),ie("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),_("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&ie(qa,{children:[ie("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),_("label",{className:"k-colorgradient-input-label",children:"H"})]}),ie("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),_("label",{className:"k-colorgradient-input-label",children:"S"})]}),ie("div",{className:"k-vstack",children:[_(P,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),_("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&_(qa,{children:ie("div",{className:"k-vstack k-flex-1",children:[_(G,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),_("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Xo.states=Df;Xo.options=_f;Xo.className=_l;Xo.defaultOptions=zl;import{jsx as fo,jsxs as bo}from"react/jsx-runtime";var Hl="k-colorgradient-color-contrast",zf=[],Hf={},Ff={},Wo=()=>bo("div",{className:r(Hl,"k-vbox"),children:[bo("div",{className:"k-contrast-ratio",children:[fo("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),bo("span",{className:"k-contrast-validation !k-text-success",children:[fo(N,{icon:"check"}),fo(N,{icon:"check"})]})]}),bo("div",{children:[fo("span",{children:"AA: 4.5"}),bo("span",{className:"k-contrast-validation !k-text-success",children:["Pass",fo(N,{icon:"check"})]})]}),bo("div",{children:[fo("span",{children:"AAA: 7.0"}),bo("span",{className:"k-contrast-validation !k-text-error",children:["Fail",fo(N,{icon:"x"})]})]})]});Wo.states=zf;Wo.options=Hf;Wo.className=Hl;Wo.defaultOptions=Ff;var Fl="color-gradient",Ul="colorgradient";import{jsx as it,jsxs as Ya}from"react/jsx-runtime";var Ri="k-colorgradient",Uf=[n.hover,n.focus,n.readonly,n.disabled],Gf={size:[p.undefined,p.small,p.medium,p.large]},yt={mode:"rgba",readonly:!1,disabled:!1,contrast:!1,gradientStyle:{background:"rgb(255, 0, 0 )"},dragHandleStyle:{top:"50px",left:"73px"},alphaStyle:{background:"linear-gradient(to top, transparent, rgb(255, 0, 0))"},alphaStyleHorizontal:{background:"linear-gradient(to right, transparent, rgb(255, 0, 0))"},canvasOrientation:"horizontal"},Ee=e=>{let{size:t,mode:o=yt.mode,readonly:a=yt.readonly,disabled:i=yt.disabled,gradientStyle:s=yt.gradientStyle,dragHandleStyle:d=yt.dragHandleStyle,alphaStyle:m=yt.alphaStyle,alphaStyleHorizontal:c=yt.alphaStyleHorizontal,contrast:h=yt.contrast,dir:b,hover:g,focus:u,hoverHandle:v,focusHandle:I,canvasOrientation:S=yt.canvasOrientation,role:k,tabIndex:E,...B}=e;return Ya("div",{...B,role:k??"textbox","aria-label":k==="none"?void 0:"Color gradient",tabIndex:E??0,"aria-disabled":i?"true":void 0,className:r(e.className,Ri,C(Ri,{size:t}),M(Ri,{hover:g,focus:u,readonly:a,disabled:i})),dir:b,children:[!S||S==="horizontal"&&Ya("div",{className:"k-colorgradient-canvas k-hstack",children:[it("div",{className:"k-hsv-rectangle",style:s,children:it("div",{className:"k-hsv-gradient",children:it("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":v,"k-focus":I}),style:d,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),Ya("div",{className:"k-hsv-controls k-hstack",children:[it(Wr,{className:"k-hue-slider",hover:v,focus:I}),o!=="rgb"&&o!=="hsv"&&it(Wr,{className:"k-alpha-slider",hover:v,focus:I,trackStyle:m})]})]}),S==="vertical"&&Ya("div",{className:"k-colorgradient-canvas k-vstack",children:[it("div",{className:"k-hsv-rectangle",style:s,children:it("div",{className:"k-hsv-gradient",children:it("div",{className:r("k-hsv-draghandle","k-draghandle",{"k-hover":v,"k-focus":I}),style:d,role:"slider","aria-orientation":"undefined","aria-label":"Color well with two-dimensional slider for selecting saturation and lightness","aria-valuetext":"X: 73, Y: 50","aria-valuenow":50,"aria-valuemin":0,"aria-valuemax":100})})}),Ya("div",{className:"k-hsv-controls k-vstack",children:[it(Xr,{className:"k-hue-slider",hover:v,focus:I}),o!=="rgb"&&o!=="hsv"&&it(Xr,{className:"k-alpha-slider",hover:v,focus:I,trackStyle:c})]})]}),it(Xo,{mode:e.mode,size:t}),h&&it(Wo,{})]})};Ee.states=Uf;Ee.options=Gf;Ee.className=Ri;Ee.defaultOptions=yt;Ee.moduleName=Fl;Ee.folderName=Ul;import{jsx as $f}from"react/jsx-runtime";var Pi=e=>$f(Ee,{...e});import{jsx as eP}from"react/jsx-runtime";import{jsx as iP}from"react/jsx-runtime";import{jsx as ln}from"react/jsx-runtime";var Vf=Ee.options,Xf=Ee.states,Wf={...Ee.defaultOptions,variant:"rgba"},Jf=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],qf=[],Jo=e=>{let{variant:t,...o}=e;switch(t){case"hex":return ln(Pi,{...o,mode:t});case"rgb":return ln(Pi,{...o,mode:t});default:return ln(Pi,{...o,mode:t})}};Jo.options=Vf;Jo.states=Xf;Jo.variants=Jf;Jo.defaultOptions=Wf;Jo.modifiers=qf;Jo.className=Ee.className;import{jsx as Yf}from"react/jsx-runtime";var dn=e=>Yf("tr",{role:"row",children:e.children});import{jsx as jf}from"react/jsx-runtime";var pn="k-colorpalette-tile",Zf=[n.hover,n.focus,n.selected],Qf={},jt=e=>{let{color:t,tileSize:o,hover:a,focus:i,selected:s,...d}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return jf("td",{...d,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:r(e.className,pn,M(pn,{hover:a,focus:i,selected:s})),style:m})};jt.states=Zf;jt.options=Qf;jt.className=pn;jt.moduleName=null;jt.folderName=null;var Gl="color-palette",$l="colorpalette";import{jsx as Za}from"react/jsx-runtime";var wi="k-colorpalette",eb=[n.disabled],tb={size:[p.undefined,p.small,p.medium,p.large]},Vl={columns:10},De=e=>{let{size:t,palette:o,columns:a=Vl.columns,tileSize:i,disabled:s,...d}=e,m=[];if(o){let c=a||o.columns,h=o.colors?o.colors:o;Array.isArray(h)&&Array.from({length:Math.ceil(h.length/c)},(b,g)=>{let u=[];h.slice(g*c,(g+1)*c).map((I,S)=>{u.push(Za(jt,{color:I,tileSize:i},S))});let v=Za(dn,{children:u},g);m.push(v)})}return Za("div",{...d,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:r(e.className,wi,M(wi,{disabled:s}),C(wi,{size:t})),children:Za("table",{className:"k-colorpalette-table",role:"none",children:Za("tbody",{children:m.length>0?m:e.children})})})};De.states=eb;De.options=tb;De.className=wi;De.defaultOptions=Vl;De.moduleName=Gl;De.folderName=$l;var Ki=De;var Qa={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},office:{colors:["#ffffff","#000000","#e6e6e6","#435569","#4371c4","#ed7e32","#a5a4a5","#febf04","#5a9bd5","#71ae48","#f2f2f3","#7f7f7f","#d1cece","#d5dde3","#dae1f4","#fce5d4","#deeded","#fff2cc","#deeaf6","#e1efd9","#d7d8d8","#585959","#aeabab","#adbaca","#b4c5e7","#f6caac","#dbdbdb","#ffe498","#bcd6ee","#c5e0b2","#bfbfc0","#3f3f3f","#767070","#8595b1","#8fabdb","#f5b183","#c9c8c9","#fed965","#9bc4e5","#a8d08d","#a5a5a6","#262625","#393939","#334050","#2e5496","#c45a11","#7b7b7a","#bf9000","#2f75b5","#548235","#7f7f7f","#0b0c0c","#161616","#222a34","#203764","#843d0b","#525252","#7f6000","#1d4d79","#375623"],columns:10},apex:{colors:["#ffffff","#000000","#c9c2d1","#69676d","#ceb966","#9cb084","#6bb1c9","#6585cf","#7e6bc9","#a379bb","#f2f2f2","#7f7f7f","#f4f2f5","#e0e0e2","#f5f1e0","#ebefe6","#e1eff4","#e0e6f5","#e5e1f4","#ece4f1","#d8d8d8","#595959","#e9e6ec","#c2c1c5","#ebe3c1","#d7dfcd","#c3dfe9","#c1ceeb","#cbc3e9","#dac9e3","#bfbfbf","#3f3f3f","#dedae3","#a4a3a8","#e1d5a3","#c3cfb5","#a6d0de","#a2b5e2","#b1a6de","#c7aed6","#a5a5a5","#262626","#9688a5","#4e4d51","#ae9638","#758c5a","#3d8da9","#365bb0","#533da9","#7d4d99","#7f7f7f","#0c0c0c","#635672","#343336","#746425","#4e5d3c","#295e70","#243c75","#372970","#533366"],columns:10},austin:{colors:["#ffffff","#000000","#caf278","#3e3d2d","#94c600","#71685a","#ff6700","#909465","#956b43","#fea022","#f2f2f2","#7f7f7f","#f4fce4","#dddcd0","#efffc0","#e3e1dc","#ffe0cb","#e8e9df","#ece1d6","#feecd2","#d8d8d8","#595959","#e9f9c9","#bbb9a1","#dfff82","#c8c3ba","#ffc299","#d2d4c0","#dac3ad","#fed9a6","#bfbfbf","#3f3f3f","#dff7ae","#ada598","#cfff43","#ada598","#ffa365","#bcbfa1","#c8a585","#fec67a","#a5a5a5","#262626","#a9ea25","#2e2d21","#6f9400","#544e43","#bf4d00","#6c6f4b","#6f5032","#d77b00","#7f7f7f","#0c0c0c","#74a50f","#1f1e16","#4a6300","#38342d","#7f3300","#484a32","#4a3521","#8f5200"],columns:10},clarity:{colors:["#ffffff","#292934","#f3f2dc","#d2533c","#93a299","#ad8f67","#726056","#4c5a6a","#808da0","#79463d","#f2f2f2","#e7e7ec","#e7e5b9","#f6dcd8","#e9ecea","#eee8e0","#e4dedb","#d8dde3","#e5e8ec","#e9d6d3","#d8d8d8","#c4c4d1","#d5d185","#edbab1","#d3d9d6","#ded2c2","#c9beb8","#b2bcc8","#ccd1d9","#d3aea7","#bfbfbf","#8a8aa3","#aca73b","#e4978a","#bec7c1","#cdbba3","#af9e94","#8c9bac","#b2bac6","#bd857c","#a5a5a5","#56566e","#56531d","#a43925","#6b7c72","#866b48","#554840","#39434f","#5c697b","#5a342d","#7f7f7f","#3b3b4b","#22210b","#6d2619","#47534c","#594730","#39302b","#262d35","#3d4652","#3c231e"],columns:10},slipstream:{colors:["#ffffff","#000000","#b4dcfa","#212745","#4e67c8","#5eccf3","#a7ea52","#5dceaf","#ff8021","#f14124","#f2f2f2","#7f7f7f","#8bc9f7","#c7cce4","#dbe0f4","#def4fc","#edfadc","#def5ef","#ffe5d2","#fcd9d3","#d8d8d8","#595959","#4facf3","#909aca","#b8c2e9","#beeafa","#dbf6b9","#beebdf","#ffcca6","#f9b3a7","#bfbfbf","#3f3f3f","#0d78c9","#5967af","#94a3de","#9ee0f7","#caf297","#9de1cf","#ffb279","#f68d7b","#a5a5a5","#262626","#063c64","#181d33","#31479f","#11b2eb","#81d319","#34ac8b","#d85c00","#c3260c","#7f7f7f","#0c0c0c","#021828","#101322","#202f6a","#0b769c","#568c11","#22725c","#903d00","#821908"],columns:10},metro:{colors:["#ffffff","#000000","#d6ecff","#4e5b6f","#7fd13b","#ea157a","#feb80a","#00addc","#738ac8","#1ab39f","#f2f2f2","#7f7f7f","#a7d6ff","#d9dde4","#e5f5d7","#fad0e4","#fef0cd","#c5f2ff","#e2e7f4","#c9f7f1","#d8d8d8","#595959","#60b5ff","#b3bcca","#cbecb0","#f6a1c9","#fee29c","#8be6ff","#c7d0e9","#94efe3","#bfbfbf","#3f3f3f","#007dea","#8d9baf","#b2e389","#f272af","#fed46b","#51d9ff","#aab8de","#5fe7d5","#a5a5a5","#262626","#003e75","#3a4453","#5ea226","#af0f5b","#c58c00","#0081a5","#425ea9","#138677","#7f7f7f","#0c0c0c","#00192e","#272d37","#3f6c19","#750a3d","#835d00","#00566e","#2c3f71","#0c594f"],columns:10},flow:{colors:["#ffffff","#000000","#dbf5f9","#04617b","#0f6fc6","#009dd9","#0bd0d9","#10cf9b","#7cca62","#a5c249","#f2f2f2","#7f7f7f","#b2e9f2","#b4ecfc","#c7e2fa","#c4eeff","#c9fafc","#c9faed","#e4f4df","#edf2da","#d8d8d8","#595959","#76d9e8","#6adafa","#90c6f6","#89deff","#93f5f9","#94f6db","#cae9c0","#dbe6b6","#bfbfbf","#3f3f3f","#21b2c8","#20c8f7","#59a9f2","#4fceff","#5df0f6","#5ff2ca","#b0dfa0","#c9da91","#a5a5a5","#262626","#105964","#02485c","#0b5394","#0075a2","#089ca2","#0b9b74","#54a838","#7e9532","#7f7f7f","#0c0c0c","#062328","#01303d","#073763","#004e6c","#05686c","#07674d","#387025","#546321"],columns:10},hardcover:{colors:["#ffffff","#000000","#ece9c6","#895d1d","#873624","#d6862d","#d0be40","#877f6c","#972109","#aeb795","#f2f2f2","#7f7f7f","#e1dca5","#f2e0c6","#f0d0c9","#f6e6d5","#f5f2d8","#e7e5e1","#fbc7bc","#eef0e9","#d8d8d8","#595959","#d0c974","#e6c28d","#e2a293","#eeceaa","#ece5b2","#cfccc3","#f78f7a","#dee2d4","#bfbfbf","#3f3f3f","#a29a36","#daa454","#d4735e","#e6b681","#e2d88c","#b7b2a5","#f35838","#ced3bf","#a5a5a5","#262626","#514d1b","#664515","#65281a","#a2641f","#a39428","#655f50","#711806","#879464","#7f7f7f","#0c0c0c","#201e0a","#442e0e","#431b11","#6c4315","#6d621a","#433f35","#4b1004","#5a6243"],columns:10},trek:{colors:["#ffffff","#000000","#fbeec9","#4e3b30","#f0a22e","#a5644e","#b58b80","#c3986d","#a19574","#c17529","#f2f2f2","#7f7f7f","#f7e09e","#e1d6cf","#fcecd5","#eddfda","#f0e7e5","#f3eae1","#ece9e3","#f5e3d1","#d8d8d8","#595959","#f3cc5f","#c4ad9f","#f9d9ab","#dcc0b6","#e1d0cc","#e7d5c4","#d9d4c7","#ebc7a3","#bfbfbf","#3f3f3f","#d29f0f","#a78470","#f6c781","#cba092","#d2b9b2","#dbc1a7","#c6bfab","#e1ac76","#a5a5a5","#262626","#694f07","#3a2c24","#c87d0e","#7b4b3a","#926255","#a17242","#7b7153","#90571e","#7f7f7f","#0c0c0c","#2a1f03","#271d18","#855309","#523226","#614138","#6b4c2c","#524b37","#603a14"],columns:10},verve:{colors:["#ffffff","#000000","#d2d2d2","#666666","#ff388c","#e40059","#9c007f","#68007f","#005bd3","#00349e","#f2f2f2","#7f7f7f","#bdbdbd","#e0e0e0","#ffd7e8","#ffc6dc","#ffb8f1","#f1b2ff","#c3dcff","#b8cfff","#d8d8d8","#595959","#9d9d9d","#c1c1c1","#ffafd1","#ff8eba","#ff71e4","#e365ff","#87baff","#72a0ff","#bfbfbf","#3f3f3f","#696969","#a3a3a3","#ff87ba","#ff5597","#ff2ad7","#d519ff","#4b98ff","#2b71ff","#a5a5a5","#262626","#343434","#4c4c4c","#e90062","#ab0042","#75005f","#4e005f","#00449e","#002676","#7f7f7f","#0c0c0c","#151515","#333333","#9b0041","#72002c","#4e003f","#34003f","#002d69","#00194f"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}};import{jsx as ob}from"react/jsx-runtime";var Xl=e=>ob(Ki,{palette:Qa.basic,...e});import{jsx as zP}from"react/jsx-runtime";import{jsx as VP,jsxs as XP}from"react/jsx-runtime";import{jsx as db}from"react/jsx-runtime";var ab=De.options,ib=De.states,rb={...De.defaultOptions,variant:"basic"},nb=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],sb={basic:{colors:["#000000","#7f7f7f","#880015","#ed1c24","#ff7f27","#fff200","#22b14c","#00a2e8","#3f48cc","#a349a4","#ffffff","#c3c3c3","#b97a57","#ffaec9","#ffc90e","#efe4b0","#b5e61d","#99d9ea","#7092be","#c8bfe7"],columns:10},monochrome:{colors:["#000000","#1a1a1a","#333333","#4d4d4d","#666666","#808080","#999999","#b3b3b3","#cccccc","#e6e6e6","#f2f2f2","#ffffff"],columns:12}},lb=[],qo=e=>{let{variant:t="basic",...o}=e,a=sb[t];return db(Xl,{columns:a.columns,palette:a,...o})};qo.options=ab;qo.states=ib;qo.variants=nb;qo.defaultOptions=rb;qo.modifiers=lb;qo.className=De.className;var Wl="color-editor",Jl="coloreditor";import{jsx as rt,jsxs as Yo}from"react/jsx-runtime";var Di="k-coloreditor",pb=[n.focus],mb={size:[p.undefined,p.small,p.medium,p.large]},ja={view:"gradient",palette:Qa.office,actionButtons:!0,canvasOrientation:"horizontal"},re=e=>{let{size:t,view:o=ja.view,palette:a=ja.palette,color:i,currentColor:s,focus:d,focusView:m,dir:c,group:h,actionButtons:b=ja.actionButtons,canvasOrientation:g=ja.canvasOrientation,...u}=e;return Yo("div",{...u,role:"textbox","aria-label":"Color editor",tabIndex:0,className:r(e.className,"k-flatcolorpicker",Di,C(Di,{size:t}),M(Di,{focus:d})),dir:c,children:[Yo("div",{className:"k-coloreditor-header k-hstack",children:[rt("div",{className:"k-coloreditor-header-actions k-hstack",children:h&&Yo(O,{fillMode:"flat",children:[rt(l,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),rt(l,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),rt("div",{className:"k-spacer"}),Yo("div",{className:"k-coloreditor-header-actions k-hstack",children:[rt(l,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),Yo("div",{className:"k-coloreditor-preview k-vstack",children:[rt(Wt,{className:"k-coloreditor-preview-color",color:i}),rt(Wt,{className:"k-coloreditor-current-color",color:s})]})]})]}),rt("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?rt(Ee,{focus:m,size:t,canvasOrientation:g,role:"none",tabIndex:-1}):rt(De,{palette:a,size:t})}),b&&Yo(Ge,{className:"k-coloreditor-footer",alignment:"start",children:[rt(l,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),rt(l,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};re.states=pb;re.options=mb;re.className=Di;re.defaultOptions=ja;re.moduleName=Wl;re.folderName=Jl;var Zo=re;import{jsx as Lw}from"react/jsx-runtime";import{jsx as Ew}from"react/jsx-runtime";import{jsx as cb}from"react/jsx-runtime";var ql=e=>cb(Zo,{group:!0,currentColor:"fuchsia",...e});import{jsx as ub}from"react/jsx-runtime";var Yl=e=>ub(Zo,{view:"palette",group:!0,currentColor:"fuchsia",...e});import{jsx as Zl}from"react/jsx-runtime";var fb=re.options,bb=re.states,xb={...re.defaultOptions,variant:"gradient"},hb=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Nb=[],Qo=e=>{let{variant:t,...o}=e;return t==="palette"?Zl(Yl,{...o,color:"white"}):Zl(ql,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Qo.options=fb;Qo.states=bb;Qo.variants=hb;Qo.defaultOptions=xb;Qo.modifiers=Nb;Qo.className=re.className;var Ql="color-picker",jl="colorpicker";import{Fragment as Lb,jsx as nt,jsxs as mn}from"react/jsx-runtime";var ed="k-colorpicker",gb=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],vb={size:[p.undefined,p.small,p.medium,p.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},td={arrowIconName:"chevron-down"},Ne=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=td.arrowIconName,prefix:s,suffix:d,value:m,placeholder:c,hover:h,focus:b,valid:g,invalid:u,required:v,disabled:I,valueIconName:S,popup:k,opened:E,adaptive:B,adaptiveSettings:K,adaptiveTitle:Y,adaptiveSubtitle:te,...oe}=e,pe="colorpicker-popup";return mn(Lb,{children:[mn(Lt,{...oe,size:t,rounded:o,fillMode:a,hover:h,focus:b,valid:g,invalid:u,required:v,disabled:I,role:"combobox","aria-haspopup":"dialog","aria-expanded":E?"true":"false","aria-controls":E||B?pe:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":I?"true":void 0,className:r(e.className,ed,"k-icon-picker"),children:[nt(xe,{children:s}),nt(po,{placeholder:c,value:m,showValue:!1,valueIcon:nt(Wt,{className:"k-value-icon",color:m,iconName:S}),valueIconName:S}),nt(he,{children:d}),nt(l,{className:"k-input-button",icon:i,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:I})]}),E&&k&&nt(J,{id:pe,className:"k-colorpicker-popup",children:k}),B&&nt(Z,{adaptive:!0,id:pe,...K,header:nt(Se,{actionsEnd:nt(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:Y,subtitle:te}),footer:mn(Jt,{children:[nt(l,{text:"Cancel",size:"large"}),nt(l,{text:"Set",size:"large",themeColor:"primary"})]}),children:nt(re,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Ne.states=gb;Ne.options=vb;Ne.className=ed;Ne.defaultOptions=td;Ne.moduleName=Ql;Ne.folderName=jl;var _t=Ne;import{jsx as Ib}from"react/jsx-runtime";var _i=e=>Ib(_t,{...e});import{jsx as l0}from"react/jsx-runtime";import{jsx as u0}from"react/jsx-runtime";import{jsx as h0}from"react/jsx-runtime";import{jsx as L0}from"react/jsx-runtime";import{jsx as E0}from"react/jsx-runtime";import{jsx as A0}from"react/jsx-runtime";import{jsx as xo}from"react/jsx-runtime";var Sb=_t.options,kb=_t.states,od={..._t.defaultOptions,variant:"color"},Eb=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Mb=[{name:"opened",title:"Opened"}],jo=e=>{let{variant:t,modifiers:o,...a}={...od,...e},i={};Object.keys(o||{}).forEach(d=>{d==="opened"&&(i.opened=!!o?.[d],i.popup=o?.[d]?xo(re,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let s=i.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return xo("div",{style:s,children:xo(_i,{...a,...i})});case"icon":return xo("div",{style:s,children:xo(_i,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...i})});default:return xo("div",{style:s,children:xo(_i,{value:"rgba(183, 118 , 118, 1.00)",...a,...i})})}};jo.options=Sb;jo.states=kb;jo.variants=Eb;jo.defaultOptions=od;jo.modifiers=Mb;jo.className=_t.className;var cn="combobox",ad=cn;import{Fragment as un,jsx as ue,jsxs as ei}from"react/jsx-runtime";var id="k-combobox",Cb=[n.hover,n.focus,n.valid,n.invalid,n.loading,n.required,n.disabled,n.readonly],yb={size:[p.undefined,p.small,p.medium,p.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},fn={separators:!0,showClearButton:!0},ge=e=>{let{size:t,rounded:o,fillMode:a,separators:i=fn.separators,showClearButton:s=fn.showClearButton,prefix:d,suffix:m,value:c,placeholder:h,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,popup:E,opened:B,readonly:K,adaptive:Y,adaptiveSettings:te,adaptiveTitle:oe,adaptiveSubtitle:pe,adaptiveCustomValue:lo,id:Nt,autocomplete:Pt,activeDescendant:Vt,"aria-label":Oa,...Ba}=e,Ra=Nt?`${Nt}-listbox`:void 0;return ei(un,{children:[ei(V,{...Ba,size:t,rounded:o,fillMode:a,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:K,className:r(e.className,id),children:[d&&ei(un,{children:[ue(xe,{children:d}),i&&ue(ee,{})]}),ue(ce,{id:Nt,placeholder:h,value:c,role:"combobox","aria-haspopup":"listbox","aria-expanded":B?"true":"false","aria-controls":B?Ra:void 0,"aria-activedescendant":B&&Vt?Vt:void 0,"aria-autocomplete":Pt,"aria-invalid":v?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":Oa,disabled:k,readOnly:K}),ue(j,{valid:u,invalid:v,loading:S,disabled:k}),ue(ae,{loading:S,disabled:k}),s&&ue(me,{loading:S,disabled:k,readonly:K,value:c}),m&&ei(un,{children:[i&&ue(ee,{}),ue(he,{children:m})]}),ue(l,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:k})]}),B&&E&&ue(J,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:E}),Y&&ue(Z,{adaptive:!0,id:Nt?`${Nt}-adaptive`:void 0,...te,header:ue(Se,{actionsEnd:ue(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:c,inputPlaceholder:h,title:oe,subtitle:pe}),children:ue("div",{className:"k-list-container",children:ue(w,{customValue:lo?ue(at,{text:`Use "${c}"`}):void 0,size:"large",children:ei(D,{"aria-label":oe||"Options",children:[ue(A,{text:"List item"}),ue(A,{text:"List item"}),ue(A,{text:"List item"})]})})})})]})};ge.states=Cb;ge.options=yb;ge.className=id;ge.defaultOptions=fn;ge.moduleName=cn;ge.folderName=ad;var $e=ge;import{jsx as Ab}from"react/jsx-runtime";var rd=e=>Ab($e,{...e});import{jsx as mK,jsxs as cK}from"react/jsx-runtime";import{jsx as NK,jsxs as gK}from"react/jsx-runtime";import{jsx as EK,jsxs as MK}from"react/jsx-runtime";import{Fragment as BK,jsx as OK}from"react/jsx-runtime";import{Fragment as _K,jsx as DK}from"react/jsx-runtime";import{jsx as $K,jsxs as VK}from"react/jsx-runtime";import{Fragment as jK,jsx as ZK,jsxs as QK}from"react/jsx-runtime";import{jsx as aD}from"react/jsx-runtime";import{jsx as sD}from"react/jsx-runtime";import{jsx as uD,jsxs as fD}from"react/jsx-runtime";import{jsx as vD,jsxs as LD}from"react/jsx-runtime";import{jsx as eo,jsxs as wb}from"react/jsx-runtime";var Tb=ge.states,Ob=ge.defaultOptions,Bb=ge.options,Rb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Pb=[],ea=e=>{let{modifiers:t,...o}=e,a={},i=eo(w,{style:{width:300},size:o.size,children:wb(D,{children:[eo(A,{children:"List item"}),eo(A,{children:"List item"}),eo(A,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?eo(N,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t?.[s]?eo(wt,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!t?.[s],a.popup=t?.[s]?i:void 0;break;default:break}}),eo("div",{children:eo(rd,{value:"Value",style:{width:300},...o,...a})})};ea.options=Bb;ea.states=Tb;ea.variants=Pb;ea.defaultOptions=Ob;ea.modifiers=Rb;ea.className=ge.className;var bn="menu-button",nd=bn;import{jsx as _b}from"react/jsx-runtime";var sd="k-menu-button",Kb=[n.hover,n.focus,n.active,n.selected,n.disabled],Db={size:[p.undefined,p.xsmall,p.small,p.medium,p.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},xn={showArrow:!0,arrowIconName:"chevron-down"},W=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:s,focus:d,active:m,selected:c,disabled:h,icon:b,endIcon:g,text:u,showArrow:v=xn.showArrow,arrowIconName:I=xn.arrowIconName,expanded:S,...k}=e;return _b(l,{...k,className:r(e.className,sd),text:u,size:t,rounded:o,fillMode:a,themeColor:i,hover:s,focus:d,active:m,selected:c,disabled:h,ariaDisabled:h||void 0,icon:b,endIcon:g,showArrow:v,arrowIconName:I,"aria-expanded":S?"true":"false",...!u&&b&&!e["aria-label"]&&{"aria-label":"Menu"}})};W.states=Kb;W.options=Db;W.className=sd;W.defaultOptions=xn;W.moduleName=bn;W.folderName=nd;import{jsx as e_}from"react/jsx-runtime";import{jsx as i_}from"react/jsx-runtime";import{jsx as l_}from"react/jsx-runtime";import{jsx as c_}from"react/jsx-runtime";var Ve="menu",st=Ve;import{jsx as oi,jsxs as ld}from"react/jsx-runtime";var hn="k-menu-item",zb=[n.hover,n.focus,n.active,n.selected,n.disabled],Hb={},dd={iconPosition:"before"},Ce=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:s,icon:d,text:m,showArrow:c,arrowIconName:h,iconPosition:b=dd.iconPosition,dir:g,children:u,expanded:v,...I}=e,S=h;return S||(S=g==="rtl"?"chevron-left":"chevron-right"),ld("li",{...I,className:r(e.className,hn,"k-item",M(hn,{focus:o,disabled:s,hover:t,active:a,selected:i})),role:"menuitem",...c&&{"aria-haspopup":"menu"},...c&&{"aria-expanded":v?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[ld("span",{className:r("k-link k-menu-link"),children:[d&&b==="before"&&oi(N,{className:"k-menu-link-icon",icon:d}),oi("span",{className:"k-menu-link-text",children:m}),d&&b==="after"&&oi(N,{className:"k-menu-link-icon",icon:d}),c&&oi("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:oi(N,{icon:S})})]}),u]})};Ce.states=zb;Ce.options=Hb;Ce.className=hn;Ce.defaultOptions=dd;Ce.moduleName=Ve;Ce.folderName=st;import{jsx as ho,jsxs as pd}from"react/jsx-runtime";var Nn="k-menu-item",Fb=[n.hover,n.focus,n.active,n.selected,n.disabled],Ub={},gn={dir:"ltr",iconPosition:"before"},Q=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:s,icon:d,text:m,showArrow:c,arrowIconName:h,iconPosition:b=gn.iconPosition,dir:g=gn.dir,children:u,popup:v,expanded:I,actions:S,description:k,...E}=e,B=h;return B||(B=g==="rtl"?"chevron-left":"chevron-right"),pd("li",{role:"menuitem",...E,className:r(e.className,Nn,"k-item",M(Nn,{focus:o,disabled:s})),...c&&{"aria-haspopup":"menu"},...c&&{"aria-expanded":I?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[pd("span",{className:r("k-link k-menu-link",M("k-menu-link",{hover:t,active:a,selected:i,disabled:s})),children:[d&&b==="before"&&ho(N,{className:"k-menu-link-icon",icon:d}),ho("span",{className:"k-menu-link-text",children:m}),d&&b==="after"&&ho(N,{className:"k-menu-link-icon",icon:d}),S&&ho("span",{className:"k-menu-link-actions",children:S}),c&&ho("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:ho(N,{icon:B})}),k&&ho("span",{className:"k-menu-link-description",children:k})]}),u,v]})};Q.states=Fb;Q.options=Ub;Q.className=Nn;Q.defaultOptions=gn;Q.moduleName=Ve;Q.folderName=st;import{jsx as Xb}from"react/jsx-runtime";var md="k-menu-scroll-wrapper",Gb=[],$b={},Vb={},No=e=>{let{className:t,children:o,orientation:a,...i}=e;return Xb("div",{...i,className:r(t,md,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};No.states=Gb;No.options=$b;No.className=md;No.defaultOptions=Vb;No.moduleName=Ve;No.folderName=st;var cd=No;import{Fragment as vn,jsx as go,jsxs as zi}from"react/jsx-runtime";var Hi="k-menu",Wb=[],Jb={size:[p.undefined,p.small,p.medium,p.large]},Fi={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Me=e=>{let{children:t,orientation:o=Fi.orientation,header:a=Fi.header,scrollable:i,scrollButtonsPosition:s=Fi.scrollButtonsPosition,wrapperStyles:d,dir:m,size:c,popup:h,contextMenu:b,...g}=e,u={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},v=go("ul",{dir:m,...g,className:r(e.className,"k-reset",Hi,{[`${Hi}-${o}`]:o,"k-header":a},C(Hi,{size:c})),role:b?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return zi(vn,{children:[i?zi(cd,{orientation:o,style:d,dir:e.dir,children:[s==="start"&&zi(vn,{children:[go(l,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),go(l,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&go(l,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),v,s==="end"&&zi(vn,{children:[go(l,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),go(l,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&go(l,{fillMode:"flat",size:"xsmall",icon:`chevron-${u[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):v,h]})};Me.states=Wb;Me.options=Jb;Me.className=Hi;Me.defaultOptions=Fi;Me.moduleName=Ve;Me.folderName=st;import{jsx as qb}from"react/jsx-runtime";var Ln="k-separator",ud={orientation:"horizontal"},ta=e=>{let{orientation:t=ud.orientation,...o}=e;return qb("li",{...o,className:r(e.className,"k-item",Ln,{[`${Ln}-${t}`]:t}),role:"separator"})};ta.className=Ln;ta.defaultOptions=ud;ta.moduleName=Ve;ta.folderName=st;import{Fragment as F_,jsx as U_}from"react/jsx-runtime";import{jsx as jb}from"react/jsx-runtime";var In="k-menu-group",Yb=[],Zb={size:[p.undefined,p.small,p.medium,p.large]},Qb={},ye=e=>{let{children:t,size:o,...a}=e;return jb("ul",{role:"menu",...a,className:r(e.className,In,C(In,{size:o})),children:t})};ye.states=Yb;ye.options=Zb;ye.className=In;ye.defaultOptions=Qb;ye.moduleName=Ve;ye.folderName=st;import{jsx as Z_,jsxs as Q_}from"react/jsx-runtime";import{Fragment as ex,jsx as oa,jsxs as tx}from"react/jsx-runtime";var Sn=e=>oa(Me,{children:tx(ex,{children:[oa(Ce,{text:"Item 1"}),oa(Ce,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),oa(Ce,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),oa(Ce,{text:"Item 4"}),oa(Ce,{text:"Item 5"})]}),...e});import{Fragment as lz,jsx as nz,jsxs as sz}from"react/jsx-runtime";import{Fragment as uz,jsx as cz,jsxs as fz}from"react/jsx-runtime";import{Fragment as gz,jsx as Nz,jsxs as vz}from"react/jsx-runtime";import{Fragment as Ez,jsx as kz,jsxs as Mz}from"react/jsx-runtime";import{jsx as vo,jsxs as nx}from"react/jsx-runtime";var ox={...Me.options,scrollable:{type:"boolean"}},ax=Me.states,fd={...Me.defaultOptions,variant:"horizontal"},ix=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],rx=[{name:"opened",title:"Opened"}],aa=e=>{let{variant:t,modifiers:o,...a}={...fd,...e},i={},s=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(d=>{d==="opened"&&(i.opened=!!o?.[d],i.popup=o?.[d]?vo(J,{className:"k-menu-popup",offset:s,children:nx(ye,{children:[vo(Q,{text:"Item 1"}),vo(Q,{text:"Item 2"}),vo(ta,{}),vo(Q,{text:"Item 3"})]})}):null)}),t==="vertical"?vo(Sn,{...a,...i,orientation:"vertical",style:{width:"200px"}}):vo(Sn,{...a,...i})};aa.options=ox;aa.states=ax;aa.variants=ix;aa.defaultOptions=fd;aa.modifiers=rx;aa.className=Me.className;import{Fragment as rH,jsx as aH,jsxs as iH}from"react/jsx-runtime";import{jsx as dH}from"react/jsx-runtime";import{Fragment as mx,jsx as At,jsxs as bd}from"react/jsx-runtime";var sx=l.states,xd={...l.defaultOptions,variant:"text"},lx=l.options,dx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],px=[{name:"opened",title:"Opened"}],ia=e=>{let{variant:t,modifiers:o,...a}={...xd,...e},i={},s=At(J,{className:"k-menu-popup",children:bd(ye,{size:a.size,children:[At(Q,{text:"Menu Item"}),At(Q,{text:"Menu Item"}),At(Q,{text:"Menu Item"})]})}),d;switch(t){case"icon-only":d=At("div",{children:At(W,{...a,...i,icon:"star"})});break;case"icon-and-text":d=At("div",{children:At(W,{...a,...i,icon:"star",children:"Dropdown Button"})});break;default:d=At("div",{children:At(W,{...a,...i,children:"Dropdown Button"})});break}return bd(mx,{children:[d,o?.opened&&s]})};ia.options=lx;ia.states=sx;ia.variants=dx;ia.defaultOptions=xd;ia.modifiers=px;ia.className=W.className;var kn="split-button",hd=kn;import{Fragment as fx,jsx as En,jsxs as Nd}from"react/jsx-runtime";var Mn="k-split-button",cx=[n.hover,n.focus,n.active,n.selected,n.disabled],ux={size:[p.undefined,p.small,p.medium,p.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline,x.clear,x.link],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary,L.success,L.warning,L.error,L.info,L.inverse]},gd={arrowIconName:"chevron-down"},z=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:s,focus:d,active:m,selected:c,disabled:h,icon:b,endIcon:g,text:u,arrowIconName:v=gd.arrowIconName,popup:I,opened:S,popupId:k,...E}=e;return Nd(fx,{children:[Nd("div",{...E,className:r(e.className,Mn,"k-button-group",C(Mn,{rounded:o})),children:[En(l,{text:u,icon:b,endIcon:g,size:t,rounded:o,fillMode:a,themeColor:i,hover:s,focus:d,active:m,selected:c,disabled:h,...!u&&!e.children&&b&&{"aria-label":"Action"},children:e.children}),En(l,{className:"k-split-button-arrow",icon:v,size:t,rounded:o,fillMode:a,disabled:h,ariaDisabled:h||void 0,"aria-label":"Toggle dropdown","aria-expanded":S?"true":"false","aria-controls":S?k:void 0,tabIndex:-1})]}),S&&I&&En(J,{className:"k-menu-popup",children:I})]})};z.states=cx;z.options=ux;z.className=Mn;z.defaultOptions=gd;z.moduleName=kn;z.folderName=hd;var Cn=z;import{jsx as xx}from"react/jsx-runtime";var bx="k-toolbar-separator",fe=e=>xx("div",{className:r(bx,e.className,"k-separator")});var Lo="toolbar",ra=Lo;import{Fragment as yn,jsx as U,jsxs as na}from"react/jsx-runtime";var zt="k-toolbar",hx=[n.focus],Nx={size:[p.undefined,p.small,p.medium,p.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},gx={scrollButtons:"around"},q=e=>{let{size:t,fillMode:o,focus:a,resizable:i,scrollable:s,scrollButtons:d,scrollingPosition:m,section:c,...h}=e,b=[],g=(u,v)=>{let I=[];if(u.type===l&&u.props.className&&u.props.className.includes("k-toolbar-overflow-button"))I.push(U(l,{...u.props,className:`${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===l)I.push(U(l,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===_a)I.push(U(_a,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===wt)I.push(U(wt,{...u.props,className:`k-toolbar-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===W)I.push(U(W,{...u.props,className:`k-toolbar-menu-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===Cn)I.push(U(Cn,{...u.props,className:`k-toolbar-split-button ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`));else if(u.type===O||u.props.className&&u.props.className.includes("k-button-group")){let S=[];(Array.isArray(u.props.children)?u.props.children:[u.props.children]).forEach((E,B)=>{S.push(U(l,{...E.props,className:`${E.props.className?E.props.className:""}`},`${B}-${new Date().getTime()}`))}),I.push(U(O,{...u.props,className:`k-toolbar-button-group ${u.props.className?u.props.className:""}`,children:S},`${v}-${new Date().getTime()}`))}else u.type===ge?I.push(U(ge,{...u.props,className:`k-toolbar-combobox ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`)):u.type===X?I.push(U(X,{...u.props,className:`k-toolbar-dropdownlist ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`)):u.type===Ne?I.push(U(Ne,{...u.props,className:`k-toolbar-colorpicker ${u.props.className?u.props.className:""}`},`${v}-${new Date().getTime()}`)):I.push(u);I.forEach(S=>{b.push(S)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((v,I)=>{g(v,I)}),na("div",{...h,className:r(e.className,zt,C(zt,{size:t,fillMode:o}),M(zt,{focus:a}),{[`${zt}-resizable`]:i,[`${zt}-scrollable`]:s,[`${zt}-scrollable-overlay`]:s&&d==="hidden",[`${zt}-scrollable-${m}`]:m&&m!=="both",[`${zt}-section`]:c}),role:"toolbar","aria-label":"Toolbar",children:[!s&&b,s&&d==="hidden"&&U("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),s&&d==="start"&&na(yn,{children:[na(O,{children:[U("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:U(N,{className:"k-button-icon",icon:"chevron-left"})}),U("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:U(N,{className:"k-button-icon",icon:"chevron-right"})})]}),U(fe,{className:"k-toolbar-button-separator"}),U("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b})]}),s&&d==="end"&&na(yn,{children:[U("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),U(fe,{className:"k-toolbar-button-separator"}),na(O,{children:[U("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:U(N,{className:"k-button-icon",icon:"chevron-left"})}),U("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:U(N,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(d==="around"||!d)&&na(yn,{children:[U("span",{className:r("k-toolbar-prev","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:U(N,{className:"k-button-icon",icon:"chevron-left"})}),U(fe,{className:"k-toolbar-button-separator"}),U("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:b}),U(fe,{className:"k-toolbar-button-separator"}),U("span",{className:r("k-toolbar-next","k-button",C("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:U(N,{className:"k-button-icon",icon:"chevron-right"})})]})]})};q.states=hx;q.options=Nx;q.className=zt;q.defaultOptions=gx;q.moduleName=Lo;q.folderName=ra;import{jsx as Sx}from"react/jsx-runtime";var An="k-toolbar-item",vx=[n.focus],Lx={},Ix={},to=e=>{let{focus:t,...o}=e;return Sx("div",{...o,className:r(e.className,An,M(An,{focus:t})),children:e.children})};to.states=vx;to.options=Lx;to.className=An;to.defaultOptions=Ix;to.moduleName=Lo;to.folderName=ra;import{jsx as vd}from"react/jsx-runtime";var Ld="k-toolbar-popup",kx=[],Ex={size:[p.undefined,p.small,p.medium,p.large],fillMode:[x.undefined,x.solid,x.outline,x.flat]},Mx={},Io=e=>{let{size:t,fillMode:o,section:a,...i}=e;return vd(J,{...i,className:r(e.className,Ld),children:a?vd("span",{className:r("k-toolbar-items-list",C("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};Io.states=kx;Io.options=Ex;Io.className=Ld;Io.defaultOptions=Mx;Io.moduleName=Lo;Io.folderName=ra;var Ui=Io;import{jsx as d1}from"react/jsx-runtime";import{jsx as u1}from"react/jsx-runtime";import{jsx as h1}from"react/jsx-runtime";import{jsx as L1}from"react/jsx-runtime";import{jsx as C1,jsxs as y1}from"react/jsx-runtime";import{jsx as B1}from"react/jsx-runtime";import{jsx as Ht,jsxs as Ox}from"react/jsx-runtime";var Cx=z.states,Id={...z.defaultOptions,variant:"text"},yx=z.options,Ax=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Tx=[{name:"opened",title:"Opened"}],sa=e=>{let{variant:t,modifiers:o,...a}={...Id,...e},i={},s=Ox(ye,{size:a.size,children:[Ht(Q,{text:"Menu Item"}),Ht(Q,{text:"Menu Item"}),Ht(Q,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(d=>{d==="opened"&&(i.opened=!!o?.[d],i.popup=o?.[d]?s:"")}),t){case"icon-only":return Ht("div",{children:Ht(z,{...a,...i,icon:"star"})});case"icon-and-text":return Ht("div",{children:Ht(z,{...a,...i,icon:"star",children:"Split Button"})});default:return Ht("div",{children:Ht(z,{...a,...i,children:"Split Button"})})}};sa.options=yx;sa.states=Cx;sa.variants=Ax;sa.defaultOptions=Id;sa.modifiers=Tx;sa.className=z.className;import{jsx as So,jsxs as Bx}from"react/jsx-runtime";var Sd=e=>So(q,{children:[So(l,{children:"Button"},"toolbar-button"),So(W,{text:"Menu button"},"toolbar-menu-button"),So(z,{children:"Split button"},"toolbar-split-button"),Bx(O,{children:[So(l,{className:"k-group-start",icon:"align-left",children:"Left"}),So(l,{icon:"align-center",children:"Center"}),So(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as lF,jsxs as dF}from"react/jsx-runtime";import{jsx as Xe,jsxs as kd}from"react/jsx-runtime";var Ed=e=>Xe(q,{scrollable:!0,...e,children:[Xe(l,{children:"Button"},"toolbar-button"),Xe(W,{text:"Menu button"},"toolbar-menu-button"),Xe(z,{children:"Split button"},"toolbar-split-button"),kd(O,{children:[Xe(l,{className:"k-group-start",icon:"align-left",children:"Left"}),Xe(l,{icon:"align-center",children:"Center"}),Xe(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),Xe(l,{children:"Button"},"toolbar-button"),Xe(W,{text:"Menu button"},"toolbar-menu-button"),Xe(z,{children:"Split button"},"toolbar-split-button"),kd(O,{children:[Xe(l,{className:"k-group-start",icon:"align-left",children:"Left"}),Xe(l,{icon:"align-center",children:"Center"}),Xe(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});import{jsx as We,jsxs as Md}from"react/jsx-runtime";var Cd=({scrollingPosition:e="start",...t})=>We(q,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[We(l,{children:"Button"},"toolbar-button"),We(W,{text:"Menu button"},"toolbar-menu-button"),We(z,{children:"Split button"},"toolbar-split-button"),Md(O,{children:[We(l,{className:"k-group-start",icon:"align-left",children:"Left"}),We(l,{icon:"align-center",children:"Center"}),We(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),We(l,{children:"Button"},"toolbar-button"),We(W,{text:"Menu button"},"toolbar-menu-button"),We(z,{children:"Split button"},"toolbar-split-button"),Md(O,{children:[We(l,{className:"k-group-start",icon:"align-left",children:"Left"}),We(l,{icon:"align-center",children:"Center"}),We(l,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});import{Fragment as Rx,jsx as _e,jsxs as Gi}from"react/jsx-runtime";var yd=({fillMode:e,size:t,...o})=>Gi(Rx,{children:[_e(q,{section:!0,fillMode:e,size:t,children:[_e(l,{fillMode:e,size:t,children:"Button"},"toolbar-button"),Gi(O,{fillMode:e,children:[_e(l,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),_e(l,{icon:"align-center",fillMode:e,size:t,children:"Center"}),_e(l,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),_e(fe,{className:"k-toolbar-button-separator"}),_e(l,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),Gi(Ui,{size:t,fillMode:e,section:!0,...o,children:[_e(z,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),_e(l,{fillMode:e,size:t,children:"Button"},"toolbar-button"),_e(fe,{}),_e(W,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),Gi(O,{fillMode:e,children:[_e(l,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),_e(l,{icon:"align-center",fillMode:e,size:t,children:"Center"}),_e(l,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});import{Fragment as UF,jsx as HF,jsxs as FF}from"react/jsx-runtime";import{Fragment as jF,jsx as ZF,jsxs as QF}from"react/jsx-runtime";import{jsx as oo}from"react/jsx-runtime";var Px=q.options,wx=q.states,Ad={...q.defaultOptions,variant:"default"},Kx=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],Dx=[],la=e=>{let{variant:t,...o}={...Ad,...e};switch(t){case"responsive":return oo("div",{children:oo(yd,{style:{width:"583px"},...o})});case"overlay":return oo("div",{children:oo(Cd,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return oo("div",{children:oo(Ed,{style:{width:"583px"},...o})});default:return oo("div",{children:oo(Sd,{style:{width:"583px"},...o})})}};la.options=Px;la.states=wx;la.variants=Kx;la.defaultOptions=Ad;la.modifiers=Dx;la.className=q.className;var Tn="autocomplete",Td=Tn;import{Fragment as On,jsx as ve,jsxs as ai}from"react/jsx-runtime";var Od="k-autocomplete",_x=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],zx={size:[p.undefined,p.small,p.medium,p.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Bn={separators:!0,showClearButton:!0},ht=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Bn.separators,showClearButton:s=Bn.showClearButton,prefix:d,suffix:m,value:c,placeholder:h,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,popup:E,opened:B,readonly:K,adaptive:Y,adaptiveSettings:te,adaptiveTitle:oe,adaptiveSubtitle:pe,adaptiveCustomValue:lo,id:Nt,autocomplete:Pt,activeDescendant:Vt,"aria-label":Oa,...Ba}=e,Ra=Nt?`${Nt}-listbox`:void 0;return ai(On,{children:[ai(V,{...Ba,size:t,rounded:o,fillMode:a,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:K,className:r(e.className,Od),children:[d&&ai(On,{children:[ve(xe,{children:d}),i&&ve(ee,{})]}),ve(ce,{placeholder:h,value:c,role:"combobox","aria-haspopup":"listbox","aria-expanded":B?"true":"false","aria-controls":B?Ra:void 0,"aria-activedescendant":B&&Vt?Vt:void 0,"aria-autocomplete":Pt,"aria-invalid":v?"true":void 0,"aria-busy":S?"true":void 0,"aria-label":Oa,disabled:k,readOnly:K}),ve(j,{valid:u,invalid:v,loading:S,disabled:k}),ve(ae,{loading:S,disabled:k}),s&&ve(me,{loading:S,disabled:k,readonly:K,value:c}),m&&ai(On,{children:[i&&ve(ee,{}),ve(he,{children:m})]})]}),B&&E&&ve(J,{className:"k-list-container k-autocomplete-popup",containerRole:"region",containerAriaLabel:"Autocomplete suggestions",children:E}),Y&&ve(Z,{adaptive:!0,...te,header:ve(Se,{actionsEnd:ve(l,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:c,inputPlaceholder:h,title:oe,subtitle:pe}),children:ve("div",{className:"k-list-container",children:ve(w,{customValue:lo?ve(at,{text:`Use "${c}"`}):void 0,size:"large",children:ai(D,{"aria-label":"Options",children:[ve(A,{text:"List item"}),ve(A,{text:"List item"}),ve(A,{text:"List item"})]})})})})]})};ht.states=_x;ht.options=zx;ht.className=Od;ht.defaultOptions=Bn;ht.moduleName=Tn;ht.folderName=Td;var Tt=ht;import{jsx as Hx}from"react/jsx-runtime";var Bd=e=>Hx(Tt,{id:T("ac"),"aria-label":"Search",...e});import{jsx as F2,jsxs as U2}from"react/jsx-runtime";import{jsx as W2}from"react/jsx-runtime";import{Fragment as eU,jsx as j2}from"react/jsx-runtime";import{Fragment as sU,jsx as nU}from"react/jsx-runtime";import{jsx as uU,jsxs as fU}from"react/jsx-runtime";import{jsx as vU,jsxs as LU}from"react/jsx-runtime";import{jsx as CU,jsxs as yU}from"react/jsx-runtime";import{jsx as RU}from"react/jsx-runtime";import{jsx as ko,jsxs as Xx}from"react/jsx-runtime";var Fx=G.states,Ux=G.defaultOptions,Gx=G.options,$x=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Vx=[],da=e=>{let{modifiers:t,...o}=e,a={},i=ko(w,{style:{width:300},size:o.size,children:Xx(D,{children:[ko(A,{children:"List item"}),ko(A,{children:"List item"}),ko(A,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t?.[s]?ko(N,{icon:"search"}):void 0;break;case"suffix":a.suffix=t?.[s]?ko(vt,{size:o.size,fillMode:"clear",children:"Search"}):void 0;break;case"opened":a.opened=!!t?.[s],a.popup=t?.[s]?i:void 0;break;default:break}}),ko(Bd,{value:"Value",style:{width:300},...o,...a})};da.options=Gx;da.states=Fx;da.variants=Vx;da.defaultOptions=Ux;da.modifiers=$x;da.className=ht.className;import{Fragment as Yx,jsx as lt,jsxs as Zx}from"react/jsx-runtime";var Rd="k-imageeditor-toolbar",Wx=[],Jx={},qx={},pa=e=>{let{toolbarItems:t,adaptive:o,disabled:a,...i}=e;return lt(q,{...i,className:r(e.className,Rd),fillMode:"flat",children:t??Zx(Yx,{children:[lt(l,{fillMode:"flat",icon:"image-add","aria-label":"Image Add"}),lt(fe,{}),lt(l,{fillMode:"flat",disabled:!0,icon:"undo","aria-label":"Undo"}),lt(l,{fillMode:"flat",disabled:!0,icon:"redo","aria-label":"Redo"}),lt(fe,{}),lt(l,{fillMode:"flat",disabled:a,icon:"download","aria-label":"Download"}),lt("div",{className:"k-spacer"}),lt(l,{fillMode:"flat",disabled:a,icon:"zoom-in","aria-label":"Zoom In"}),!o&<(to,{children:lt(ht,{fillMode:"flat",disabled:a,value:"Fit",showClearButton:!1,"aria-label":"Zoom options"})}),lt(l,{fillMode:"flat",disabled:a,icon:"zoom-out","aria-label":"Zoom Out"})]})})};pa.states=Wx;pa.options=Jx;pa.className=Rd;pa.defaultOptions=qx;import{Fragment as jx,jsx as Be,jsxs as eh}from"react/jsx-runtime";var Rn="k-imageeditor-sidebar",Qx={scrollable:!1},Pd=e=>{let{sidebarItems:t,activeTool:o,disabled:a,adaptive:i,scrollable:s=Qx.scrollable,scrollingPosition:d,...m}=e,c=i?"k-separator k-separator-vertical":"k-separator";return Be("div",{...m,className:r(e.className,Rn,{[`${Rn}-scrollable`]:s,[`${Rn}-scrollable-${d}`]:d&&d!=="both"}),children:Be("div",{className:"k-imageeditor-sidebar-items",role:"toolbar","aria-label":"Tools",children:t??eh(jx,{children:[Be(l,{fillMode:"flat",togglable:!0,icon:"image-resize","aria-label":"Resize",selected:o==="Resize",disabled:a}),Be(l,{fillMode:"flat",togglable:!0,icon:"crop","aria-label":"Crop",selected:o==="Crop",disabled:a}),Be(l,{fillMode:"flat",togglable:!0,icon:"rotate","aria-label":"Rotate",selected:o==="Rotate",disabled:a}),Be("div",{className:c}),Be(l,{fillMode:"flat",togglable:!0,icon:"free-text","aria-label":"Text",selected:o==="Text",disabled:a}),Be(l,{fillMode:"flat",togglable:!0,icon:"shapes","aria-label":"Shapes",selected:o==="Shapes",disabled:a}),Be("div",{className:c}),Be(l,{fillMode:"flat",togglable:!0,icon:"drop-half-pixelated","aria-label":"Blur",selected:o==="Blur",disabled:a}),Be(l,{fillMode:"flat",togglable:!0,icon:"sliders-horizontal","aria-label":"Adjustments",selected:o==="Adjustments",disabled:a}),Be(l,{fillMode:"flat",togglable:!0,icon:"circles-three-intersecting","aria-label":"Filters",selected:o==="Filters",disabled:a}),Be("div",{className:c}),Be(l,{fillMode:"flat",togglable:!0,icon:"frame-corners","aria-label":"Frame",selected:o==="Frame",disabled:a}),Be(l,{fillMode:"flat",togglable:!0,icon:"circle-half-tilted","aria-label":"Shadow",selected:o==="Shadow",disabled:a})]})})})};var ii="loader",$i=ii;import{Fragment as Pn,jsx as wd,jsxs as Vi}from"react/jsx-runtime";var wn="k-loader",th={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},oh=[],ah={size:[p.undefined,p.small,p.medium,p.large],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary]},Kd={animation:"pulsing"},ne=e=>{let{size:t,themeColor:o,animation:a=Kd.animation,...i}=e,s=wd("span",{className:"k-loader-segment"});return wd("div",{...i,className:r(e.className,wn,{[`k-loader-${th[a]||a}`]:a},C(wn,{size:t,themeColor:o})),role:"status","aria-label":i["aria-label"]||"Loading",children:Vi("div",{className:"k-loader-canvas",children:[a==="pulsing"&&Vi(Pn,{children:[s,s]}),a==="infinite-spinner"&&Vi(Pn,{children:[s,s,s]}),a==="converging-spinner"&&Vi(Pn,{children:[s,s,s,s]})]})})};ne.states=oh;ne.options=ah;ne.className=wn;ne.defaultOptions=Kd;ne.moduleName=ii;ne.folderName=$i;var Dd=ne;import{jsx as Kn,jsxs as _d}from"react/jsx-runtime";var Dn="k-loader-container",ih=[],rh={size:[p.undefined,p.small,p.medium,p.large],themeColor:[L.undefined,L.base,L.primary,L.secondary,L.tertiary]},Xi={loaderType:"pulsing",position:"top",panel:!1},Eo=e=>{let{size:t,themeColor:o,loaderType:a=Xi.loaderType,position:i=Xi.position,panel:s=Xi.panel,...d}=e;return _d("div",{...d,className:r(e.className,Dn,C(Dn,{size:t}),{[`k-loader-${i}`]:i}),role:"status","aria-live":"polite","aria-label":d["aria-label"]||"Loading",children:[Kn(il,{className:"k-loader-container-overlay"}),_d("div",{className:r("k-loader-container-inner",{"k-loader-container-panel":s}),children:[Kn(Dd,{size:t,themeColor:o,animation:a}),Kn("div",{className:"k-loader-container-label",children:"Loading..."})]})]})};Eo.states=ih;Eo.options=rh;Eo.className=Dn;Eo.defaultOptions=Xi;Eo.moduleName=ii;Eo.folderName=$i;import{jsx as M3}from"react/jsx-runtime";import{jsx as T3}from"react/jsx-runtime";import{jsx as P3}from"react/jsx-runtime";import{jsx as _3}from"react/jsx-runtime";import{jsx as _n}from"react/jsx-runtime";var nh=ne.options,sh=ne.states,lh={...ne.defaultOptions,variant:"infinite-spinner"},dh=[{name:"infinite-spinner",title:"Infinite"},{name:"pulsing",title:"Pulsing"},{name:"converging-spinner",title:"Converging"}],ph=[],ma=e=>{let{variant:t,...o}=e;switch(t){case"pulsing":return _n(ne,{animation:"pulsing",...o});case"converging-spinner":return _n(ne,{animation:"converging-spinner",...o});default:return _n(ne,{animation:"infinite-spinner",...o})}};ma.options=nh;ma.states=sh;ma.variants=dh;ma.defaultOptions=lh;ma.modifiers=ph;ma.className=ne.className;var zd="image-editor",Hd="imageeditor",Wi={width:494,height:307},Ji={width:326,height:203};import{Fragment as Fd,jsx as Ot,jsxs as ri}from"react/jsx-runtime";var zn="k-imageeditor",mh=[],ch={},uh={},se=e=>{let{toolbarItems:t,actionPane:o,sidebarItems:a,activeTool:i,placeholder:s,contentHeight:d,exporting:m,adaptive:c,sidebarScrollable:h,sidebarScrollingPosition:b,children:g,...u}=e,v=!!s,I=Ot("div",{className:"k-imageeditor-canvas-container",children:s??Ot("div",{className:"k-imageeditor-canvas",children:g})}),S=o&&Ot("div",{className:"k-imageeditor-action-pane",children:o}),k=Ot(Pd,{sidebarItems:a,activeTool:i,disabled:v,adaptive:c,scrollable:h,scrollingPosition:b});return ri("div",{role:"application","aria-label":"Image Editor",...u,className:r(e.className,zn,{[`${zn}-adaptive`]:c}),children:[Ot("div",{className:"k-imageeditor-header",children:Ot(pa,{toolbarItems:t,adaptive:c,disabled:v})}),Ot("div",{className:"k-imageeditor-content",style:{height:d},children:c?ri(Fd,{children:[I,S,k]}):ri(Fd,{children:[k,S,I]})}),m&&ri("div",{className:"k-loader-container k-loader-top",role:"status","aria-live":"polite","aria-label":"Exporting",children:[Ot(ft,{className:"k-loader-container-overlay"}),ri("div",{className:"k-loader-container-inner k-loader-container-panel",children:[Ot(ne,{animation:"pulsing",themeColor:"base",size:"medium","aria-label":"Exporting"}),Ot("div",{className:"k-loader-container-label",children:"Exporting"})]})]})]})};se.states=mh;se.options=ch;se.className=zn;se.defaultOptions=uh;se.moduleName=zd;se.folderName=Hd;import{Fragment as qi,jsx as ao,jsxs as ni}from"react/jsx-runtime";var Hn="k-upload-dropzone",fh=[n.hover],Yi=e=>{let{hover:t,status:o,disabled:a,hasFiles:i,filesId:s,buttonText:d="Select files...",...m}=e,c;switch(o){case"uploading":c=ni(qi,{children:[ao(N,{icon:"upload"}),"Uploading..."]});break;case"done":c=ni(qi,{children:[ao(N,{icon:"check"}),"Done"]});break;case"failed":c=ni(qi,{children:[ao(N,{icon:"exclamation-circle"}),"Done"]});break;default:c=ao(qi,{});break}return ni("div",{...m,className:r(e.className,Hn,"k-dropzone",M(Hn,{hover:t})),children:[ni("div",{className:"k-upload-button-wrap",children:[ao(l,{className:"k-upload-button","aria-disabled":a?"true":"false",...i&&s?{"aria-controls":s}:{},children:d}),ao("input",{id:"upload-input",className:"k-hidden",tabIndex:-1,"aria-hidden":"true"})]}),ao("span",{className:r("k-dropzone-hint",{"k-hidden":o!=="upload"}),children:"Drop files here to upload"}),o!=="upload"&&ao("span",{className:"k-upload-status",children:c})]})};Yi.states=fh;Yi.className=Hn;var Fn="upload",Ud=Fn;import{jsx as Zi,jsxs as $d}from"react/jsx-runtime";var Un="k-upload",bh=[n.hover,n.disabled],xh={},Vd={actionsLayout:"end"},Gd="upload-files-list",Le=e=>{let{async:t,empty:o,actions:a,actionsLayout:i=Vd.actionsLayout,hover:s,status:d,disabled:m,buttonText:c,...h}=e,b=!!e.children;return $d("div",{...h,className:r(e.className,Un,M(Un,{disabled:m}),{"k-upload-async":t,"k-upload-empty":o}),children:[Zi(Yi,{status:d,hover:s,disabled:m,hasFiles:b,filesId:Gd,buttonText:c}),b&&Zi("ul",{className:"k-upload-files",role:"list",id:Gd,children:e.children}),a&&b&&$d(Ws,{alignment:i,orientation:"horizontal",children:[Zi(l,{className:"k-clear-selected",children:"Clear"}),Zi(l,{themeColor:"primary",className:"k-upload-selected",children:"Upload"})]})]})};Le.states=bh;Le.options=xh;Le.className=Un;Le.defaultOptions=Vd;Le.moduleName=Fn;Le.folderName=Ud;var si="progressbar",Qi=si;import{jsx as $n,jsxs as Gn}from"react/jsx-runtime";var dt="k-progressbar",hh=[n.disabled,n.indeterminate],Nh={orientation:["horizontal","vertical"]},Mo={indeterminate:!1,label:!0,labelPosition:"start",orientation:"horizontal",reverse:!1,value:"0"},Re=e=>{let{disabled:t,height:o,indeterminate:a=Mo.indeterminate,label:i=Mo.label,labelPosition:s=Mo.labelPosition,orientation:d=Mo.orientation,reverse:m=Mo.reverse,value:c=Mo.value,width:h,style:b,ariaLabel:g,...u}=e;return Gn("div",{...u,className:r(e.className,dt,M(dt,{disabled:t}),{[`${dt}-${d}`]:d,[`${dt}-indeterminate`]:a,[`${dt}-reverse`]:m}),style:{...b,"--kendo-progressbar-value":c,[d==="horizontal"?"height":"width"]:d==="horizontal"?o:h},role:"progressbar","aria-label":g||"progress","aria-valuenow":a?void 0:Number(c),"aria-valuemin":0,"aria-valuemax":100,children:[$n("span",{className:r("k-progress-status-wrap",{[`k-progress-${s}`]:s&&!a}),children:i&&Gn("span",{className:"k-progress-status",children:[c,"%"]})}),!a&&$n("div",{className:"k-progressbar-value k-selected",children:$n("span",{className:r("k-progress-status-wrap",{[`k-progress-${s}`]:s}),children:i&&Gn("span",{className:"k-progress-status",children:[e.value,"%"]})})})]})};Re.states=hh;Re.options=Nh;Re.className=dt;Re.defaultOptions=Mo;Re.moduleName=si;Re.folderName=Qi;var Xd=Re;import{jsx as Vn}from"react/jsx-runtime";var Wd="k-chunk-progressbar",gh=(e,t)=>t<=e-1,vh=[n.disabled,n.indeterminate],Lh={},ji={chunkCount:5,orientation:"horizontal",progress:0},ca=e=>{let{disabled:t,chunkCount:o=ji.chunkCount,indeterminate:a,orientation:i=ji.orientation,progress:s=ji.progress,reverse:d,ariaLabel:m,...c}=e;return Vn("div",{...c,className:r(e.className,dt,Wd,M(dt,{disabled:t}),{[`${dt}-${i}`]:i,[`${dt}-indeterminate`]:a,[`${dt}-reverse`]:d}),role:"progressbar","aria-label":m||"progress","aria-valuenow":a?void 0:s,"aria-valuemin":0,"aria-valuemax":o,children:Vn("ul",{className:"k-progressbar-chunks k-reset",children:[...Array(o)].map((h,b)=>Vn("li",{className:r("k-progressbar-chunk",{"k-first":b===0,"k-last":b===[...Array(o)].length-1,"k-selected":gh(s,b)})},b))})})};ca.states=vh;ca.options=Lh;ca.className=Wd;ca.defaultOptions=ji;ca.moduleName=si;ca.folderName=Qi;import{jsx as Ih}from"react/jsx-runtime";var li=e=>Ih(Xd,{...e});import{jsx as D5}from"react/jsx-runtime";import{jsx as io}from"react/jsx-runtime";var Sh=Re.options,kh=Re.states,Jd={...Re.defaultOptions,variant:"start"},Eh=[{name:"start",title:"Label start"},{name:"center",title:"Label center"},{name:"end",title:"Label end"},{name:"empty",title:"No label"}],Mh=[],ua=e=>{let{variant:t,modifiers:o,...a}={...Jd,...e},i={},s={style:{width:"324px"}};switch(Object.keys(o||{}).forEach(d=>{switch(d){case"reverse":i.reverse=!!o?.[d];break;case"vertical":i.orientation=o?.[d]?"vertical":void 0,s.style=o?.[d]?void 0:{width:"324px"};break}}),t){case"end":return io("div",{...s,children:io(li,{...a,...i,labelPosition:"end",value:"50"})});case"center":return io("div",{...s,children:io(li,{...a,...i,labelPosition:"center",value:"50"})});case"empty":return io("div",{...s,children:io(li,{...a,...i,label:!1,value:"50"})});default:return io("div",{...s,children:io(li,{...a,...i,labelPosition:"start",value:"50"})})}};ua.options=Sh;ua.states=kh;ua.variants=Eh;ua.defaultOptions=Jd;ua.modifiers=Mh;ua.className=Re.className;import{jsx as Xn,jsxs as yh}from"react/jsx-runtime";var Ch="k-file-info",Wn=e=>{let{name:t,size:o,validationMsg:a,...i}=e;return yh("div",{...i,className:r(e.className,Ch),children:[t&&Xn("span",{className:"k-file-name",children:t}),o&&Xn("span",{className:"k-file-size",children:o}),a&&Xn("span",{className:"k-file-validation-message","aria-live":"polite",children:a})]})};import{Fragment as Th,jsx as Ft,jsxs as er}from"react/jsx-runtime";var Ah="k-file",ze=e=>{let{status:t,progress:o,name:a,icon:i,size:s,state:d,validationMsg:m,...c}=e;return Ft("li",{...c,className:r(e.className,Ah,{[`k-file-${t}`]:t}),role:"listitem",tabIndex:0,children:er("div",{className:"k-file-single",children:[Ft(Re,{className:r({"k-hidden":t!=="progress"}),value:o,label:!1}),er("span",{className:"k-file-icon-wrapper",children:[Ft(N,{className:"k-file-icon",icon:i,size:"xxlarge"}),d&&Ft("span",{className:"k-file-state",children:d})]}),Ft(Wn,{name:a,size:s,validationMsg:m}),Ft("div",{className:"k-upload-actions",children:t==="progress"?er(Th,{children:[er("span",{className:"k-upload-pct",children:[o,"%"]}),Ft(l,{icon:"pause",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Pause upload",tabIndex:-1}),Ft(l,{icon:"cancel",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Cancel upload",tabIndex:-1})]}):Ft(l,{icon:"x",fillMode:"flat",size:"xsmall",className:"k-upload-action","aria-label":"Remove file",tabIndex:-1})})]})})};import{Fragment as uG,jsx as mG,jsxs as cG}from"react/jsx-runtime";import{Fragment as Oh,jsx as Jn,jsxs as Bh}from"react/jsx-runtime";var di=e=>Jn(Le,{async:!0,children:Bh(Oh,{children:[Jn(ze,{name:"Image_With_Very_Very_Very_Very_Very_Long_Name1.png",icon:"file-image",size:"51.23 KB"}),Jn(ze,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]}),...e});import{Fragment as SG,jsx as LG,jsxs as IG}from"react/jsx-runtime";import{jsx as Rh}from"react/jsx-runtime";var qn=e=>Rh(Le,{async:!0,empty:!0,...e});import{Fragment as OG,jsx as TG,jsxs as BG}from"react/jsx-runtime";import{Fragment as DG,jsx as KG,jsxs as _G}from"react/jsx-runtime";import{jsx as Ut,jsxs as tr}from"react/jsx-runtime";var Ph=Le.options,wh=Le.states,qd={...Le.defaultOptions,variant:"empty"},Kh=[{name:"empty",title:"Empty"},{name:"upload",title:"Upload"},{name:"uploading",title:"Uploading"},{name:"success",title:"Success"},{name:"failed",title:"Failed"}],Dh=[],fa=e=>{let{variant:t,...o}={...qd,...e};switch(t){case"success":return tr(di,{status:"done",style:{width:"586px"},...o,children:[Ut(ze,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image1.png",icon:"file-image"}),Ut(ze,{status:"success",validationMsg:"File(s) uploaded successfully.",name:"Image2.png",icon:"file-image"})]});case"failed":return tr(di,{status:"failed",style:{width:"586px"},...o,children:[Ut(ze,{status:"error",validationMsg:"File type not allowed.",name:"Movie1.mkv",icon:"file-image"}),Ut(ze,{status:"error",validationMsg:"File type not allowed.",name:"Video2.mkv",icon:"file-image"})]});case"uploading":return tr(di,{status:"uploading",style:{width:"586px"},...o,children:[Ut(ze,{progress:"50",status:"progress",name:"Document1.txt",icon:"file-pdf",size:"328.92 KB"}),Ut(ze,{progress:"70",status:"progress",name:"Document2.txt",icon:"file-pdf",size:"225.68 KB"})]});case"upload":return tr(di,{actions:!0,status:"upload",style:{width:"586px"},...o,children:[Ut(ze,{name:"Image1.png",icon:"file-image",size:"51.23 KB"}),Ut(ze,{name:"Image2.jpg",icon:"file-image",size:"106.43 KB"})]});default:return Ut(qn,{async:!0,status:"upload",style:{width:"586px"},...o})}};fa.options=Ph;fa.states=wh;fa.variants=Kh;fa.defaultOptions=qd;fa.modifiers=Dh;fa.className=Le.className;import{Fragment as m6,jsx as d6,jsxs as p6}from"react/jsx-runtime";import{jsx as ba,jsxs as Yd}from"react/jsx-runtime";var Zd="k-imageeditor-pane",_h=[],zh={},Hh={},be=e=>{let{title:t,actions:o,adaptive:a,confirmDisabled:i,children:s,...d}=e;return Yd("div",{...d,className:r(e.className,Zd),children:[Yd("div",{className:"k-imageeditor-pane-header",children:[a&&ba(l,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"}),ba("div",{className:"k-imageeditor-pane-title",children:t}),a?ba(l,{fillMode:"flat",icon:"check",disabled:i,"aria-label":"Confirm",title:"Confirm"}):ba(l,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"})]}),ba("div",{className:"k-imageeditor-pane-content",children:s}),!a&&o&&ba(Ge,{alignment:"end",className:"k-imageeditor-pane-footer",children:o})]})};be.states=_h;be.options=zh;be.className=Zd;be.moduleName=null;be.folderName=null;be.defaultOptions=Hh;import{jsx as $h}from"react/jsx-runtime";var Yn="k-imageeditor-option-preview",Fh=[n.hover,n.focus,n.selected],Uh={},Gh={},Bt=e=>{let{label:t,hover:o,focus:a,selected:i,children:s,...d}=e;return $h("div",{...d,className:r(e.className,Yn,M(Yn,{hover:o,focus:a,selected:i})),role:"button","aria-pressed":i?"true":"false",children:s??t})};Bt.states=Fh;Bt.options=Uh;Bt.className=Yn;Bt.moduleName=null;Bt.folderName=null;Bt.defaultOptions=Gh;import{jsx as Qd}from"react/jsx-runtime";var or="k-imageeditor-option-list",Zn={scrollable:!1,scrollingPosition:"start"},xa=e=>{let{scrollable:t=Zn.scrollable,scrollingPosition:o=Zn.scrollingPosition,children:a,...i}=e;return Qd("div",{...i,className:r(e.className,or,{[`${or}-scrollable`]:t,[`${or}-scrollable-${o}`]:o&&o!=="both"}),children:Qd("div",{className:"k-imageeditor-option-list-items",children:a})})};xa.className=or;xa.moduleName=null;xa.folderName=null;xa.defaultOptions=Zn;import{Fragment as Xh,jsx as jd,jsxs as Wh}from"react/jsx-runtime";var Vh={},pi=e=>{let{label:t,style:o,children:a,imageSrc:i}=e;return Wh(Xh,{children:[jd("span",{"aria-hidden":"true",style:{position:"relative",display:"block",width:"100%",height:"40px",borderRadius:"2px",backgroundImage:i?`url('${i}')`:void 0,backgroundSize:"cover",boxSizing:"border-box",...o},children:a}),t&&jd("span",{className:"k-imageeditor-preview-thumbnail-label",children:t})]})};pi.moduleName=null;pi.folderName=null;pi.defaultOptions=Vh;import{jsx as Jh}from"react/jsx-runtime";var Pe=e=>{let{imageSrc:t,adaptive:o,style:a,...i}=e;return Jh("canvas",{role:"img","aria-label":"Image being edited",...o?Ji:Wi,...i,style:{...t&&{backgroundImage:`url('${t}')`},backgroundSize:"cover",...a}})};Pe.moduleName=null;Pe.folderName=null;import{Fragment as ep,jsx as Gt,jsxs as tp}from"react/jsx-runtime";var op={variant:"crop"},ha=e=>{let{variant:t=op.variant,grid:o,corners:a=!0}=e,i=t==="crop"?"k-resize-handle":"k-scale-handle",s=t==="scale"?"k-scale-handle":"k-resize-handle";return tp(ep,{children:[o&&Gt("div",{className:"k-imageeditor-crop-grid"}),a&&tp(ep,{children:[Gt("span",{className:`${i} k-resize-nw`}),Gt("span",{className:`${i} k-resize-ne`}),Gt("span",{className:`${i} k-resize-sw`}),Gt("span",{className:`${i} k-resize-se`})]}),Gt("span",{className:`${s} k-resize-n`}),Gt("span",{className:`${s} k-resize-s`}),Gt("span",{className:`${s} k-resize-w`}),Gt("span",{className:`${s} k-resize-e`})]})};ha.moduleName=null;ha.folderName=null;ha.defaultOptions=op;import{jsx as ap}from"react/jsx-runtime";var qh="k-rotate-handle",Qn=e=>ap("span",{...e,className:r(e.className,qh),children:ap(N,{icon:"rotate"})});Qn.moduleName=null;Qn.folderName=null;import{jsx as z6}from"react/jsx-runtime";var ip="form",rp="forms";import{Fragment as np,jsx as ar,jsxs as Qh}from"react/jsx-runtime";var ir="k-form",Yh=[],Zh={size:[p.undefined,p.small,p.medium,p.large]},jn={layout:"basic",tag:"form"},$=e=>{let{size:t,orientation:o,layout:a=jn.layout,formButtons:i,cols:s,gutters:d,tag:m=jn.tag,children:c,style:h}=e,b=m,g=r(e.className,ir,C(ir,{size:t}),{[`${ir}-${o}`]:o}),u=Qh(np,{children:[a==="grid"?ar("div",{className:r("k-form-layout","k-d-grid",{[`k-grid-cols-${s}`]:s}),style:{...typeof d=="string"&&{gap:d},...typeof d=="object"&&d.rows&&{rowGap:d.rows},...typeof d=="object"&&d.cols&&{columnGap:d.cols},...h},children:c}):ar(np,{children:c}),i&&ar("div",{className:"k-form-buttons",children:i})]}),{role:v,"aria-labelledby":I,"aria-label":S,id:k}=e;return ar(b,{className:g,role:v,"aria-labelledby":I,"aria-label":S,id:k,children:u})};$.states=Yh;$.options=Zh;$.className=ir;$.defaultOptions=jn;$.moduleName=ip;$.folderName=rp;var sp="label",lp="label";import{jsx as dp,jsxs as oN}from"react/jsx-runtime";var es="k-label",jh=[n.disabled],eN={},tN={},ro=e=>{let{disabled:t,optional:o,info:a,text:i,children:s,...d}=e;return oN("label",{...d,className:r(e.className,es,M(es,{disabled:t})),children:[i||s,o&&dp("span",{className:"k-label-optional",children:"(Optional)"}),a&&dp("span",{className:"k-field-info",children:a})]})};ro.states=jh;ro.options=eN;ro.className=es;ro.defaultOptions=tN;ro.moduleName=sp;ro.folderName=lp;import{jsx as nN}from"react/jsx-runtime";var pp="k-form-hint",aN=[],iN={},rN={},pt=e=>{let{text:t,children:o,...a}=e;return nN("div",{...a,className:r(e.className,pp),children:t||o})};pt.states=aN;pt.options=iN;pt.className=pp;pt.defaultOptions=rN;import{jsx as pN}from"react/jsx-runtime";var mp="k-form-error",sN=[],lN={},dN={},mt=e=>{let{text:t,children:o,...a}=e;return pN("div",{...a,className:r(e.className,mp),children:t||o})};mt.states=sN;mt.options=lN;mt.className=mp;mt.defaultOptions=dN;import{jsx as rr,jsxs as cp}from"react/jsx-runtime";var ts="k-form-field",mN=[n.disabled],H=e=>{let{editorId:t,label:o,orientation:a,optional:i,editor:s,hint:d,error:m,info:c,disabled:h,dir:b,colSpan:g,...u}=e;return cp("div",{...u,className:r(ts,e.className,M(ts,{disabled:h}),{[`k-col-span-${g}`]:g}),dir:b,children:[o&&rr(ro,{className:"k-form-label",id:t?`${t}-label`:void 0,htmlFor:t||void 0,optional:i,info:c?"(field info)":void 0,children:o}),a==="horizontal"&&!o&&rr("span",{className:"k-label k-form-label k-label-empty"}),cp("div",{className:"k-form-field-wrap",children:[s,d&&rr(pt,{id:t?`${t}-hint`:void 0,children:d}),m&&rr(mt,{id:t?`${t}-error`:void 0,children:m})]})]})};H.states=mN;H.className=ts;import{Fragment as cN,jsx as os,jsxs as uN}from"react/jsx-runtime";var up="k-form-fieldset",Ie=e=>{let{legend:t,layout:o,cols:a,gutters:i,colSpan:s}=e;return uN("fieldset",{className:r(up,{[`k-col-span-${s}`]:s}),children:[t&&os("legend",{className:"k-form-legend",children:t}),o==="grid"?os("div",{className:r("k-form-layout","k-d-grid",{[`k-grid-cols-${a}`]:a}),style:{...typeof i=="string"&&{gap:i},...typeof i=="object"&&i.rows&&{rowGap:i.rows},...typeof i=="object"&&i.cols&&{columnGap:i.cols}},children:e.children}):os(cN,{children:e.children})]})};Ie.className=up;var Co="radio",Na=Co;import{jsx as fp}from"react/jsx-runtime";var nr="k-radio",fN=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.checked],bN={size:[p.undefined,p.small,p.medium,p.large]},xN={},Je=e=>{let{id:t,checked:o,hover:a,focus:i,disabled:s,invalid:d,valid:m,required:c,size:h,...b}=e;return fp("span",{className:"k-radio-wrap",children:fp("input",{...b,id:t,type:"radio",checked:o,required:c,disabled:s||void 0,"aria-invalid":d?"true":void 0,className:r(e.className,nr,C(nr,{size:h}),M(nr,{hover:a,focus:i,disabled:s,invalid:d,valid:m,checked:o}))})})};Je.states=fN;Je.options=bN;Je.className=nr;Je.defaultOptions=xN;Je.moduleName=Co;Je.folderName=Na;var ct=Je;import{jsx as gN}from"react/jsx-runtime";var bp="k-radio-list",hN=[],NN={},xp={layout:"vertical"},le=e=>{let{layout:t=xp.layout,...o}=e;return gN("ul",{...o,className:r(e.className,bp,{[`k-list-${t}`]:t}),role:"radiogroup",children:e.children})};le.states=hN;le.options=NN;le.className=bp;le.defaultOptions=xp;le.moduleName=Co;le.folderName=Na;import{jsx as SN}from"react/jsx-runtime";var hp="k-radio-list-item",vN=[],LN={},IN={},de=e=>{let{...t}=e;return SN("li",{...t,className:r(e.className,hp),role:"none",children:e.children})};de.states=vN;de.options=LN;de.className=hp;de.defaultOptions=IN;de.moduleName=Co;de.folderName=Na;import{jsx as C9}from"react/jsx-runtime";import{Fragment as kN,jsx as Np,jsxs as EN}from"react/jsx-runtime";var qe=({children:e,id:t,...o})=>EN(kN,{children:[Np(ct,{...o,id:t}),Np("label",{className:"k-radio-label",htmlFor:t,children:e})]});import{Fragment as w9,jsx as P9,jsxs as K9}from"react/jsx-runtime";import{Fragment as U9,jsx as H9,jsxs as F9}from"react/jsx-runtime";import{Fragment as W9,jsx as X9,jsxs as J9}from"react/jsx-runtime";import{Fragment as j9,jsx as Q9,jsxs as e7}from"react/jsx-runtime";import{Fragment as s7,jsx as n7,jsxs as l7}from"react/jsx-runtime";import{jsx as c7}from"react/jsx-runtime";import{jsx as BN}from"react/jsx-runtime";var CN=ct.options,yN=ct.states,AN=ct.defaultOptions,TN=[],ON=[],ga=e=>BN(qe,{id:T("radio"),name:"value",...e,children:"Label"});ga.options=CN;ga.states=yN;ga.variants=TN;ga.defaultOptions=AN;ga.modifiers=ON;ga.className=ct.className;import{jsx as ut,jsxs as gp}from"react/jsx-runtime";var RN=le.options,PN=le.states,wN={...le.defaultOptions,variant:"vertical"},KN=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],DN=[],va=e=>{let{variant:t,...o}=e;return t==="horizontal"?gp(le,{layout:"horizontal",...o,children:[ut(de,{children:ut(qe,{id:T("rb"),name:"value",defaultChecked:!0,children:"Label"})}),ut(de,{children:ut(qe,{id:T("rb"),name:"value",children:"Label"})}),ut(de,{children:ut(qe,{id:T("rb"),name:"value",children:"Label"})})]}):gp(le,{...o,children:[ut(de,{children:ut(qe,{id:T("rb"),name:"value",defaultChecked:!0,children:"Label"})}),ut(de,{children:ut(qe,{id:T("rb"),name:"value",children:"Label"})}),ut(de,{children:ut(qe,{id:T("rb"),name:"value",children:"Label"})})]})};va.options=RN;va.states=PN;va.variants=KN;va.defaultOptions=wN;va.modifiers=DN;va.className=le.className;import{Fragment as J7,jsx as W7,jsxs as q7}from"react/jsx-runtime";import{Fragment as i4,jsx as a4,jsxs as r4}from"react/jsx-runtime";import{Fragment as c4,jsx as m4,jsxs as u4}from"react/jsx-runtime";var vp="date-input",Lp="dateinput";import{jsx as mi,jsxs as FN}from"react/jsx-runtime";var Ip="k-dateinput",_N=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],zN={size:[p.undefined,p.small,p.medium,p.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},HN={},Ye=e=>{let{size:t,rounded:o,fillMode:a,value:i,placeholder:s,hover:d,focus:m,valid:c,invalid:h,required:b,loading:g,disabled:u,readonly:v,showClearButton:I,showSpinButton:S,id:k,"aria-label":E,"aria-describedby":B,...K}=e;return FN(V,{...K,size:t,rounded:o,fillMode:a,hover:d,focus:m,valid:c,invalid:h,required:b,loading:g,disabled:u,readonly:v,className:r(e.className,Ip),children:[mi(ce,{id:k,placeholder:s,value:i,disabled:u,"aria-label":E,"aria-describedby":B,"aria-invalid":h?"true":void 0}),mi(j,{valid:c,invalid:h,loading:g,disabled:u}),mi(ae,{loading:g,disabled:u}),I&&mi(me,{loading:g,disabled:u,readonly:v,value:i}),S&&mi(Mt,{className:"k-input-spinner",size:t,fillMode:a,disabled:u})]})};Ye.states=_N;Ye.options=zN;Ye.className=Ip;Ye.defaultOptions=HN;Ye.moduleName=vp;Ye.folderName=Lp;var as=Ye;import{jsx as UN}from"react/jsx-runtime";var Sp=e=>UN(as,{...e});import{jsx as C4}from"react/jsx-runtime";import{jsx as JN}from"react/jsx-runtime";var GN=Ye.options,$N=Ye.states,VN=Ye.defaultOptions,XN=[{name:"spin-button",title:"`Spin` Button"}],WN=[],La=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{i==="spin-button"&&(a.showSpinButton=!!t?.[i])}),JN(Sp,{value:"2/04/2021",style:{width:"300px"},...o,...a})};La.options=GN;La.states=$N;La.variants=WN;La.defaultOptions=VN;La.modifiers=XN;La.className=Ye.className;var kp="masked-textbox",Ep="maskedtextbox";import{Fragment as Mp,jsx as no,jsxs as is}from"react/jsx-runtime";var Cp="k-maskedtextbox",qN=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled,n.loading,n.readonly],YN={size:[p.undefined,p.small,p.medium,p.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},rs={showClearButton:!0,separators:!0},Ze=e=>{let{size:t,rounded:o,fillMode:a,separators:i=rs.separators,showClearButton:s=rs.showClearButton,prefix:d,suffix:m,value:c,placeholder:h,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:E,id:B,"aria-label":K,"aria-describedby":Y,...te}=e;return is(V,{...te,size:t,rounded:o,fillMode:a,hover:b,focus:g,valid:u,invalid:v,required:I,loading:S,disabled:k,readonly:E,className:r(e.className,Cp),children:[d&&is(Mp,{children:[no(xe,{children:d}),i&&no(ee,{})]}),no(ce,{id:B,placeholder:h,value:c,disabled:k,"aria-label":K,"aria-describedby":Y,"aria-invalid":v?"true":void 0}),no(j,{valid:u,invalid:v,loading:S,disabled:k}),no(ae,{loading:S,disabled:k}),s&&no(me,{loading:S,disabled:k,readonly:E,value:c}),m&&is(Mp,{children:[i&&no(ee,{}),no(he,{children:m})]})]})};Ze.states=qN;Ze.options=YN;Ze.className=Cp;Ze.defaultOptions=rs;Ze.moduleName=kp;Ze.folderName=Ep;var Ia=Ze;import{jsx as ZN}from"react/jsx-runtime";var yp=e=>ZN(Ia,{...e});import{Fragment as Q4,jsx as Z4}from"react/jsx-runtime";import{Fragment as i8,jsx as a8}from"react/jsx-runtime";import{jsx as l8}from"react/jsx-runtime";import{jsx as c8}from"react/jsx-runtime";import{jsx as ns}from"react/jsx-runtime";var QN=Ze.states,jN=Ze.defaultOptions,eg=Ze.options,tg=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],og=[],Sa=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t?.[i]?ns(X,{size:o.size,value:"Choose",fillMode:"flat"}):void 0;break;case"suffix":a.suffix=t?.[i]?ns(N,{icon:"lock"}):void 0;break;case"clear-button":a.showClearButton=t?.[i];break;default:break}}),ns(yp,{value:"Value",style:{width:300},...o,...a})};Sa.options=eg;Sa.states=QN;Sa.variants=og;Sa.defaultOptions=jN;Sa.modifiers=tg;Sa.className=Ze.className;var ss="switch",Ap=ss;import{jsx as sr,jsxs as Tp}from"react/jsx-runtime";var so="k-switch",ag=[n.hover,n.focus,n.disabled,n.readonly,n.checked],ig={size:[p.undefined,p.small,p.medium,p.large],trackRounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],thumbRounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},rg={},He=e=>{let{checked:t,onLabel:o,offLabel:a,size:i,trackRounded:s,thumbRounded:d,hover:m,focus:c,disabled:h,readonly:b,...g}=e;return Tp("span",{...g,className:r(e.className,so,C(so,{size:i}),M(so,{hover:m,focus:c,disabled:h,readonly:b}),{[`${so}-on`]:t,[`${so}-off`]:!t}),role:"switch","aria-checked":t?"true":"false",tabIndex:h?void 0:0,"aria-disabled":h?"true":void 0,"aria-readonly":b?"true":void 0,children:[Tp("span",{className:r("k-switch-track",C(so,{rounded:s})),children:[o&&sr("span",{className:"k-switch-label-on",children:o}),a&&sr("span",{className:"k-switch-label-off",children:a})]}),sr("span",{className:"k-switch-thumb-wrap",children:sr("span",{className:r("k-switch-thumb",C(so,{rounded:d}))})})]})};He.states=ag;He.options=ig;He.className=so;He.defaultOptions=rg;He.moduleName=ss;He.folderName=Ap;import{jsx as K8}from"react/jsx-runtime";import{jsx as H8}from"react/jsx-runtime";import{jsx as $8}from"react/jsx-runtime";import{jsx as J8}from"react/jsx-runtime";import{jsx as Op}from"react/jsx-runtime";var ng=He.options,sg=He.states,lg={...He.defaultOptions,variant:"on"},dg=[{name:"on",title:"On"},{name:"off",title:"Off"}],pg=[],ka=e=>{let{variant:t,...o}=e;return t==="off"?Op(He,{checked:!1,onLabel:"On",offLabel:"Off",...o}):Op(He,{checked:!0,onLabel:"On",offLabel:"Off",...o})};ka.options=ng;ka.states=sg;ka.variants=dg;ka.defaultOptions=lg;ka.modifiers=pg;ka.className=He.className;var ds="textarea",Bp=ds;import{Fragment as Rp,jsx as ci,jsxs as ps}from"react/jsx-runtime";var Pp="k-textarea",mg=[n.hover,n.focus,n.valid,n.invalid,n.required,n.disabled],cg={size:[p.undefined,p.small,p.medium,p.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full],fillMode:[x.undefined,x.solid,x.flat,x.outline]},Ea={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},Fe=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:i=Ea.prefixSeparator,suffixSeparator:s=Ea.prefixSeparator,affixesOrientation:d=Ea.affixesOrientation,flow:m=Ea.flow,resize:c=Ea.resize,prefix:h,suffix:b,rows:g,value:u,placeholder:v,hover:I,focus:S,valid:k,invalid:E,required:B,disabled:K,id:Y,"aria-label":te,"aria-describedby":oe,...pe}=e;return ps(V,{...pe,size:t,rounded:o,fillMode:a,hover:I,focus:S,valid:k,invalid:E,required:B,disabled:K,className:r(e.className,Pp,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[h&&ps(Rp,{children:[ci(xe,{className:r({"!k-align-items-start":m===d}),direction:d,children:h}),i&&ci(ee,{direction:m==="horizontal"?"vertical":"horizontal"})]}),ci(Fa,{className:r("!k-overflow-auto",{"!k-flex-none":m==="vertical","k-resize-x":c==="x","k-resize-y":c==="y","k-resize":c==="both","k-resize-none":c==="none"}),value:u,placeholder:v,rows:g,disabled:K,id:Y,"aria-label":te,"aria-describedby":oe,"aria-invalid":E?"true":void 0}),b&&ps(Rp,{children:[s&&ci(ee,{direction:m==="horizontal"?"vertical":"horizontal"}),ci(he,{className:r({"!k-align-items-start":m===d}),direction:d,children:b})]})]})};Fe.states=mg;Fe.options=cg;Fe.className=Pp;Fe.defaultOptions=Ea;Fe.moduleName=ds;Fe.folderName=Bp;import{jsx as b$}from"react/jsx-runtime";import{Fragment as L$,jsx as v$}from"react/jsx-runtime";import{Fragment as C$,jsx as M$}from"react/jsx-runtime";import{jsx as O$}from"react/jsx-runtime";import{jsx as lr}from"react/jsx-runtime";var ug=Fe.options,fg=Fe.states,wp={...Fe.defaultOptions,variant:"vertical"},bg=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],xg=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],Ma=e=>{let{variant:t,modifiers:o,...a}={...wp,...e},i={resize:"y"};return Object.keys(o||{}).forEach(s=>{switch(s){case"prefix":i.prefix=o?.[s]?lr(N,{icon:"comment"}):void 0;break;case"suffix":i.suffix=o?.[s]?lr(N,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?lr(Fe,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...i}):lr(Fe,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...i})};Ma.options=ug;Ma.states=fg;Ma.variants=bg;Ma.defaultOptions=wp;Ma.modifiers=xg;Ma.className=Fe.className;import{Fragment as tV,jsx as eV,jsxs as oV}from"react/jsx-runtime";import{Fragment as Ig,jsx as we,jsxs as Ca}from"react/jsx-runtime";var hg=$.options,Ng=$.states,gg={...$.defaultOptions,variant:"vertical"},vg=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Lg=[],ya=e=>{let{variant:t,size:o,...a}=e,i=Ca(Ie,{legend:"Form Legend",children:[we(H,{label:"Label",editor:we(G,{size:o})}),we(H,{label:"Label",hint:"Hint text",editor:we(X,{value:"Dropdown List",size:o})}),we(H,{label:"City",editor:Ca("ul",{className:"k-radio-list k-list-horizontal",children:[Ca("li",{className:"k-radio-list-item",children:[we(Je,{checked:!0,size:o}),we("label",{className:"k-radio-label",children:"Label"})]}),Ca("li",{className:"k-radio-list-item",children:[we(Je,{size:o}),we("label",{className:"k-radio-label",children:"Label"})]}),Ca("li",{className:"k-radio-list-item",children:[we(Je,{size:o}),we("label",{className:"k-radio-label",children:"Label"})]})]})})]}),s=Ca(Ig,{children:[we(l,{className:"k-form-submit",themeColor:"primary",size:o,children:"Submit"}),we(l,{className:"k-form-clear",size:o,children:"Clear"})]});return t==="horizontal"?we($,{orientation:"horizontal",size:o,...a,formButtons:s,children:i}):we($,{size:o,...a,formButtons:s,children:i})};ya.options=hg;ya.states=Ng;ya.variants=vg;ya.defaultOptions=gg;ya.modifiers=Lg;ya.className=$.className;import{jsx as Kp,jsxs as Cg}from"react/jsx-runtime";var Sg=pt.options,kg=pt.states,Dp={...pt.defaultOptions},Eg=[],Mg=[{name:"showHint",title:"Show Hint"}],Aa=e=>{let{modifiers:t,...o}={...Dp,...e},a=t?.showHint??!0;return Cg("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[Kp(G,{placeholder:"Component",style:{width:"200px"}}),a&&Kp(pt,{...o,children:"Hint text"})]})};Aa.options=Sg;Aa.states=kg;Aa.variants=Eg;Aa.defaultOptions=Dp;Aa.modifiers=Mg;Aa.className=pt.className;import{jsx as _p,jsxs as Bg}from"react/jsx-runtime";var yg=mt.options,Ag=mt.states,zp={...mt.defaultOptions},Tg=[],Og=[{name:"showError",title:"Show Error"}],Ta=e=>{let{modifiers:t,...o}={...zp,...e},a=t?.showError??!0;return Bg("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[_p(G,{placeholder:"Component",invalid:a,style:{width:"200px"}}),a&&_p(mt,{...o,children:"Error text"})]})};Ta.options=yg;Ta.states=Ag;Ta.variants=Tg;Ta.defaultOptions=zp;Ta.modifiers=Og;Ta.className=mt.className;import{Fragment as XV,jsx as VV,jsxs as WV}from"react/jsx-runtime";import{Fragment as aX,jsx as oX,jsxs as iX}from"react/jsx-runtime";import{Fragment as xX,jsx as bX,jsxs as hX}from"react/jsx-runtime";var cs="segmented-control",Hp=cs,Fp="segmented-control-button",Up="segmented-control";import{jsx as wg,jsxs as Kg}from"react/jsx-runtime";var dr="k-segmented-control",Rg=[],Pg={size:[p.undefined,p.small,p.medium,p.large],rounded:[f.undefined,f.none,f.small,f.medium,f.large,f.full]},$t=e=>{let{size:t,rounded:o,stretched:a,children:i,thumbStyles:s,...d}=e;return Kg("div",{...d,className:r(e.className,dr,C(dr,{size:t,rounded:o}),{[`${dr}-stretched`]:a}),role:"group",children:[wg("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:s}),i]})};$t.states=Rg;$t.options=Pg;$t.className=dr;$t.moduleName=cs;$t.folderName=Hp;import{jsx as us,jsxs as Hg}from"react/jsx-runtime";var fs="k-segmented-control-button",Dg=[n.selected,n.hover,n.focus,n.disabled],_g={},zg={},Rt=e=>{let{hover:t,focus:o,selected:a,disabled:i,icon:s,endIcon:d,text:m,iconClassName:c,...h}=e;return Hg("button",{...h,className:r(e.className,fs,M(fs,{hover:t,focus:o,disabled:i,selected:a})),"aria-pressed":a?"true":"false","aria-disabled":i?"true":void 0,tabIndex:a?0:-1,children:[s&&us(N,{className:r(c,"k-segmented-control-button-icon"),icon:s}),(m||e.children)&&us("span",{className:"k-segmented-control-button-text",children:m||e.children}),d&&us(N,{className:r(c,"k-segmented-control-button-icon"),icon:d})]})};Rt.states=Dg;Rt.options=_g;Rt.className=fs;Rt.defaultOptions=zg;Rt.moduleName=Fp;Rt.folderName=Up;import{Fragment as RX,jsx as BX,jsxs as PX}from"react/jsx-runtime";import{Fragment as HX,jsx as zX,jsxs as FX}from"react/jsx-runtime";import{Fragment as WX,jsx as XX,jsxs as JX}from"react/jsx-runtime";import{Fragment as eW,jsx as jX,jsxs as tW}from"react/jsx-runtime";import{Fragment as sW,jsx as nW,jsxs as lW}from"react/jsx-runtime";import{Fragment as fW,jsx as uW,jsxs as bW}from"react/jsx-runtime";import{Fragment as HW,jsx as zW,jsxs as FW}from"react/jsx-runtime";import{Fragment as aJ,jsx as oJ,jsxs as iJ}from"react/jsx-runtime";import{Fragment as xJ,jsx as bJ,jsxs as hJ}from"react/jsx-runtime";import{Fragment as AJ,jsx as yJ,jsxs as TJ}from"react/jsx-runtime";import{Fragment as DJ,jsx as KJ,jsxs as _J}from"react/jsx-runtime";import{Fragment as WJ,jsx as XJ,jsxs as JJ}from"react/jsx-runtime";import{Fragment as sq,jsx as nq,jsxs as lq}from"react/jsx-runtime";import{Fragment as vq,jsx as gq,jsxs as Lq}from"react/jsx-runtime";import{jsx as Mq}from"react/jsx-runtime";import{jsx as Oq}from"react/jsx-runtime";import{jsx as Kq}from"react/jsx-runtime";import{jsx as Hq}from"react/jsx-runtime";import{jsx as Vq}from"react/jsx-runtime";import{jsx as Yq}from"react/jsx-runtime";import{jsx as tY}from"react/jsx-runtime";import{jsx as nY}from"react/jsx-runtime";import{jsx as mY}from"react/jsx-runtime";import{jsx as xY}from"react/jsx-runtime";import{jsx as LY}from"react/jsx-runtime";import{jsx as MY}from"react/jsx-runtime";import{Fragment as $p,jsx as y,jsxs as Ue}from"react/jsx-runtime";var Gp=({selected:e=!1,fontFamily:t="Trebuchet MS",fontSize:o=48,alignment:a="center",fillColor:i="#000000",opacity:s=100,adaptive:d,imageSrc:m,...c})=>y(se,{adaptive:d,activeTool:"Text",toolbarItems:d&&e?Ue($p,{children:[y(l,{fillMode:"flat",icon:"squares-overlapping-plus","aria-label":"Duplicate"}),y(l,{fillMode:"flat",icon:"pencil","aria-label":"Edit"}),y(fe,{}),y(l,{fillMode:"flat",icon:"flip-horizontal","aria-label":"Flip Horizontal"}),y(l,{fillMode:"flat",icon:"flip-vertical","aria-label":"Flip Vertical"}),y(fe,{}),y(l,{fillMode:"flat",icon:"trash","aria-label":"Delete"})]}):void 0,actionPane:y(be,{title:"Text",adaptive:d,confirmDisabled:!e,actions:Ue($p,{children:[y(l,{disabled:!e,children:"Remove"}),y(l,{themeColor:"primary",disabled:!e,children:"Insert"})]}),children:Ue($,{tag:"div",children:[y(H,{label:"Font Family",editorId:"text-font-family",editor:y(ge,{id:"text-font-family",showClearButton:!1,prefix:y(N,{icon:"font-family"}),value:t})}),Ue(Ie,{layout:"grid",cols:2,gutters:{cols:"16px"},children:[y(H,{label:"Font Size",editorId:"text-font-size",editor:y(P,{id:"text-font-size",showClearButton:!1,showSpinButton:!1,value:String(o),prefix:y(N,{icon:"font-size"})})}),y(H,{label:"Alignment",editor:Ue(O,{children:[y(l,{className:"k-group-start",icon:"align-left",selected:a==="left","aria-label":"Align Left"}),y(l,{icon:"align-center",selected:a==="center","aria-label":"Align Center"}),y(l,{className:"k-group-end",icon:"align-right",selected:a==="right","aria-label":"Align Right"})]})})]}),y(H,{label:"Format",editor:Ue("div",{className:"k-imageeditor-controls",children:[y(l,{icon:"bold","aria-label":"Bold"}),y(l,{icon:"italic","aria-label":"Italic"}),y(l,{icon:"underline","aria-label":"Underline"}),y(l,{icon:"strikethrough","aria-label":"Strikethrough"}),y(l,{icon:"convert-uppercase","aria-label":"Uppercase"}),y(l,{icon:"convert-lowercase","aria-label":"Lowercase"})]})}),Ue(Ie,{layout:"grid",cols:2,gutters:{cols:"16px"},children:[y(H,{label:"Fill Color",editor:y(Ne,{id:"text-fill-color",value:i,valueIconName:"foreground-color","aria-label":"Fill Color"})}),y(H,{label:"Text Opacity",editor:y(P,{id:"text-opacity",showClearButton:!1,showSpinButton:!1,value:`${s}%`,prefix:y(N,{icon:"transparency"}),"aria-label":"Text Opacity"})})]}),Ue(Ie,{layout:"grid",cols:2,gutters:{cols:"16px"},children:[y(H,{label:"Align Horizontal",editor:Ue(O,{disabled:!e,children:[y(l,{disabled:!e,className:"k-group-start",icon:"align-items-start","aria-label":"Align Left"}),y(l,{disabled:!e,icon:"align-items-center","aria-label":"Align Center"}),y(l,{disabled:!e,className:"k-group-end",icon:"align-items-end","aria-label":"Align Right"})]})}),y(H,{label:"Align Vertical",editor:Ue(O,{disabled:!e,children:[y(l,{disabled:!e,className:"k-group-start",icon:"align-items-start-alt","aria-label":"Align Top"}),y(l,{disabled:!e,icon:"align-items-center-alt","aria-label":"Align Middle"}),y(l,{disabled:!e,className:"k-group-end",icon:"align-items-end-alt","aria-label":"Align Bottom"})]})})]}),y(H,{label:"Rotation",editor:Ue("div",{className:"k-imageeditor-field-row",children:[y(F,{disabled:!e,style:{flex:1},"aria-label":"Rotation",showButtons:!1,showTicks:!1,value:0,min:0,max:360}),y(P,{disabled:!e,style:{width:"80px",flex:"none"},"aria-label":"Rotation angle",showClearButton:!1,showSpinButton:!1,separators:!1,value:"0",suffix:y(It,{children:"\xB0"})})]})}),Ue(Ie,{layout:"grid",cols:2,gutters:{cols:"16px"},children:[y(H,{label:"Rotate Options",editor:Ue("div",{className:"k-imageeditor-controls",children:[y(l,{disabled:!e,icon:"rotate-right","aria-label":"Rotate Right"}),y(l,{disabled:!e,icon:"rotate-left","aria-label":"Rotate Left"})]})}),y(H,{label:"Flip Options",editor:Ue("div",{className:"k-imageeditor-controls",children:[y(l,{disabled:!e,icon:"flip-horizontal","aria-label":"Flip Horizontal"}),y(l,{disabled:!e,icon:"flip-vertical","aria-label":"Flip Vertical"})]})})]})]})}),children:y(Pe,{adaptive:d,imageSrc:m}),...c}),IZ=Gp;export{Gp as ImageEditorInsertText,IZ as default};
|