@progress/kendo-themes-html 14.5.1-dev.6 → 14.5.1-dev.8
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/colorgradient/demos/colorgradient.js +1 -1
- package/dist/cjs/colorpicker/colorpicker.spec.js +1 -1
- package/dist/cjs/colorpicker/templates/colorpicker-adaptive.js +1 -1
- package/dist/cjs/colorpicker/templates/colorpicker-disabled.js +1 -1
- package/dist/cjs/colorpicker/templates/colorpicker-normal.js +1 -1
- package/dist/cjs/combobox/demos/combobox.js +1 -1
- package/dist/cjs/combobox/templates/combobox-grouping-modern-custom-value.js +1 -1
- package/dist/cjs/filemanager/filemanager-listview.spec.js +1 -1
- package/dist/cjs/floating-toolbar/floating-toolbar.spec.js +1 -1
- package/dist/cjs/imageeditor/imageeditor-option-list.js +1 -0
- package/dist/cjs/imageeditor/imageeditor-option-preview.js +1 -0
- package/dist/cjs/imageeditor/imageeditor-pane.js +1 -0
- package/dist/cjs/imageeditor/imageeditor-placeholder.js +1 -0
- package/dist/cjs/imageeditor/imageeditor-preview-thumbnail.js +1 -0
- package/dist/cjs/imageeditor/imageeditor-resize-handles.js +1 -0
- package/dist/cjs/imageeditor/imageeditor-sidebar.js +1 -0
- 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.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-blur.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-crop.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-disabled.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-filters.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-frames.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-insert-line.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-insert-shape.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-insert-text.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-normal.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-pixelate.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-resize.js +1 -1
- package/dist/cjs/imageeditor/templates/imageeditor-rotate.js +1 -0
- package/dist/cjs/imageeditor/templates/imageeditor-shadow.js +1 -0
- package/dist/cjs/index.js +8 -8
- package/dist/cjs/listview/demos/listview.js +1 -1
- package/dist/cjs/listview/listview.spec.js +1 -1
- package/dist/cjs/listview/templates/listview-no-data.js +1 -1
- package/dist/cjs/listview/templates/listview-normal.js +1 -1
- package/dist/cjs/listview/templates/listview-selectable.js +1 -1
- package/dist/cjs/pager/index.js +1 -1
- package/dist/cjs/prompt/templates/prompt-inline-input-only.js +1 -1
- package/dist/cjs/prompt/templates/prompt-inline.js +1 -1
- package/dist/cjs/prompt/templates/prompt-more-actions.js +1 -1
- package/dist/cjs/prompt/templates/prompt-normal.js +1 -1
- package/dist/cjs/prompt/templates/prompt-output.js +1 -1
- package/dist/cjs/prompt/templates/prompt-popup.js +1 -1
- package/dist/cjs/prompt/templates/prompt-settings.js +1 -1
- package/dist/cjs/prompt/templates/prompt-suggestions.js +1 -1
- package/dist/cjs/scheduler/scheduler-toolbar.spec.js +1 -1
- package/dist/cjs/signature/index.js +1 -1
- package/dist/cjs/signature/signature.spec.js +1 -1
- package/dist/cjs/signature/templates/signature-maximized.js +1 -1
- package/dist/cjs/signature/templates/signature-normal.js +1 -1
- package/dist/cjs/spreadsheet/spreadsheet-action-bar.js +1 -1
- package/dist/cjs/toolbar/demos/toolbar.js +1 -1
- package/dist/cjs/toolbar/templates/toolbar-scrollable-buttons-hidden.js +1 -1
- package/dist/cjs/toolbar/templates/toolbar-scrollable.js +1 -1
- package/dist/esm/colorgradient/demos/colorgradient.mjs +1 -1
- package/dist/esm/colorpicker/colorpicker.spec.mjs +1 -1
- package/dist/esm/colorpicker/templates/colorpicker-adaptive.mjs +1 -1
- package/dist/esm/colorpicker/templates/colorpicker-disabled.mjs +1 -1
- package/dist/esm/colorpicker/templates/colorpicker-normal.mjs +1 -1
- package/dist/esm/combobox/demos/combobox.mjs +1 -1
- package/dist/esm/combobox/templates/combobox-grouping-modern-custom-value.mjs +1 -1
- package/dist/esm/filemanager/filemanager-listview.spec.mjs +1 -1
- package/dist/esm/floating-toolbar/floating-toolbar.spec.mjs +1 -1
- package/dist/esm/imageeditor/imageeditor-option-list.mjs +1 -0
- package/dist/esm/imageeditor/imageeditor-option-preview.mjs +1 -0
- package/dist/esm/imageeditor/imageeditor-pane.mjs +1 -0
- package/dist/esm/imageeditor/imageeditor-placeholder.mjs +1 -0
- package/dist/esm/imageeditor/imageeditor-preview-thumbnail.mjs +1 -0
- package/dist/esm/imageeditor/imageeditor-resize-handles.mjs +1 -0
- package/dist/esm/imageeditor/imageeditor-sidebar.mjs +1 -0
- 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.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-blur.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-crop.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-disabled.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-filters.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-frames.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-insert-line.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-insert-shape.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-insert-text.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-normal.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-pixelate.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-resize.mjs +1 -1
- package/dist/esm/imageeditor/templates/imageeditor-rotate.mjs +1 -0
- package/dist/esm/imageeditor/templates/imageeditor-shadow.mjs +1 -0
- package/dist/esm/index.mjs +8 -8
- package/dist/esm/listview/demos/listview.mjs +1 -1
- package/dist/esm/listview/templates/listview-no-data.mjs +1 -1
- package/dist/esm/listview/templates/listview-normal.mjs +1 -1
- package/dist/esm/listview/templates/listview-selectable.mjs +1 -1
- package/dist/esm/pager/index.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-inline-input-only.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-inline.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-more-actions.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-normal.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-output.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-popup.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-settings.mjs +1 -1
- package/dist/esm/prompt/templates/prompt-suggestions.mjs +1 -1
- package/dist/esm/scheduler/scheduler-toolbar.spec.mjs +1 -1
- package/dist/esm/signature/index.mjs +1 -1
- package/dist/esm/signature/signature.spec.mjs +1 -1
- package/dist/esm/signature/templates/signature-maximized.mjs +1 -1
- package/dist/esm/signature/templates/signature-normal.mjs +1 -1
- package/dist/esm/spreadsheet/spreadsheet-action-bar.mjs +1 -1
- package/dist/esm/toolbar/demos/toolbar.mjs +1 -1
- package/dist/esm/toolbar/templates/toolbar-scrollable-buttons-hidden.mjs +1 -1
- package/dist/esm/toolbar/templates/toolbar-scrollable.mjs +1 -1
- package/dist/types/combobox/combobox.spec.d.ts +1 -1
- package/dist/types/imageeditor/imageeditor-option-list.d.ts +18 -0
- package/dist/types/imageeditor/imageeditor-option-preview.d.ts +18 -0
- package/dist/types/imageeditor/imageeditor-pane.d.ts +21 -0
- package/dist/types/imageeditor/imageeditor-placeholder.d.ts +7 -0
- package/dist/types/imageeditor/imageeditor-preview-thumbnail.d.ts +12 -0
- package/dist/types/imageeditor/imageeditor-resize-handles.d.ts +14 -0
- package/dist/types/imageeditor/imageeditor-sidebar.d.ts +11 -0
- package/dist/types/imageeditor/imageeditor-toolbar.d.ts +1 -0
- package/dist/types/imageeditor/imageeditor.spec.d.ts +40 -4
- package/dist/types/imageeditor/index.d.ts +18 -0
- package/dist/types/imageeditor/templates/imageeditor-adjustments.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-blur.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-disabled.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-filters.d.ts +6 -0
- package/dist/types/imageeditor/templates/imageeditor-frames.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-insert-line.d.ts +2 -0
- package/dist/types/imageeditor/templates/imageeditor-insert-shape.d.ts +2 -0
- package/dist/types/imageeditor/templates/imageeditor-insert-text.d.ts +2 -0
- package/dist/types/imageeditor/templates/imageeditor-pixelate.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-rotate.d.ts +1 -0
- package/dist/types/imageeditor/templates/imageeditor-shadow.d.ts +1 -0
- package/dist/types/numerictextbox/numerictextbox.spec.d.ts +1 -1
- package/package.json +5 -5
- package/src/combobox/combobox.spec.tsx +2 -2
- package/src/imageeditor/imageeditor-option-list.tsx +53 -0
- package/src/imageeditor/imageeditor-option-preview.tsx +56 -0
- package/src/imageeditor/imageeditor-pane.tsx +70 -0
- package/src/imageeditor/imageeditor-placeholder.tsx +51 -0
- package/src/imageeditor/imageeditor-preview-thumbnail.tsx +42 -0
- package/src/imageeditor/imageeditor-resize-handles.tsx +37 -0
- package/src/imageeditor/imageeditor-sidebar.tsx +66 -0
- package/src/imageeditor/imageeditor-toolbar.tsx +14 -13
- package/src/imageeditor/imageeditor.spec.tsx +79 -13
- package/src/imageeditor/index.ts +19 -0
- package/src/imageeditor/templates/imageeditor-adjustments.tsx +88 -0
- package/src/imageeditor/templates/imageeditor-blur.tsx +92 -0
- package/src/imageeditor/templates/imageeditor-crop.tsx +64 -59
- package/src/imageeditor/templates/imageeditor-disabled.tsx +45 -0
- package/src/imageeditor/templates/imageeditor-filters.tsx +98 -0
- package/src/imageeditor/templates/imageeditor-frames.tsx +180 -0
- package/src/imageeditor/templates/imageeditor-insert-line.tsx +141 -0
- package/src/imageeditor/templates/imageeditor-insert-shape.tsx +195 -0
- package/src/imageeditor/templates/imageeditor-insert-text.tsx +143 -0
- package/src/imageeditor/templates/imageeditor-normal.tsx +20 -1
- package/src/imageeditor/templates/imageeditor-pixelate.tsx +92 -0
- package/src/imageeditor/templates/imageeditor-resize.tsx +68 -50
- package/src/imageeditor/templates/imageeditor-rotate.tsx +98 -0
- package/src/imageeditor/templates/imageeditor-shadow.tsx +96 -0
- package/src/imageeditor/tests/imageeditor-adaptive-small.tsx +373 -0
- package/src/imageeditor/tests/imageeditor-adjustments-pane.tsx +14 -0
- package/src/imageeditor/tests/imageeditor-blur-pane.tsx +29 -0
- package/src/imageeditor/tests/imageeditor-crop-pane.tsx +3 -2
- package/src/imageeditor/tests/imageeditor-export-dialog.tsx +85 -0
- package/src/imageeditor/tests/imageeditor-filters-pane.tsx +14 -0
- package/src/imageeditor/tests/imageeditor-frames-pane.tsx +22 -0
- package/src/imageeditor/tests/imageeditor-insert-line-pane.tsx +52 -0
- package/src/imageeditor/tests/imageeditor-insert-shape-pane.tsx +57 -0
- package/src/imageeditor/tests/imageeditor-insert-text-pane.tsx +51 -0
- package/src/imageeditor/tests/imageeditor-interactive-states.tsx +79 -0
- package/src/imageeditor/tests/imageeditor-option-list-states.tsx +17 -0
- package/src/imageeditor/tests/imageeditor-pixelate-pane.tsx +29 -0
- package/src/imageeditor/tests/imageeditor-resize-pane.tsx +15 -1
- package/src/imageeditor/tests/imageeditor-responsive.tsx +71 -0
- package/src/imageeditor/tests/imageeditor-rotate-pane.tsx +27 -0
- package/src/imageeditor/tests/imageeditor-shadow-pane.tsx +14 -0
- package/src/imageeditor/tests/imageeditor-sidebar-scrollable.tsx +97 -0
- package/src/numerictextbox/numerictextbox.spec.tsx +2 -2
- package/src/signature/signature.spec.tsx +4 -17
- package/src/signature/tests/signature-flat.tsx +0 -3
- package/src/signature/tests/signature-outline.tsx +0 -3
- package/src/signature/tests/signature-solid.tsx +0 -3
- package/src/signature/tests/signature.tsx +0 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
var Ip=Object.create;var Va=Object.defineProperty;var Ep=Object.getOwnPropertyDescriptor;var Cp=Object.getOwnPropertyNames;var yp=Object.getPrototypeOf,Tp=Object.prototype.hasOwnProperty;var Op=(e,t)=>{for(var o in t)Va(e,o,{get:t[o],enumerable:!0})},Hi=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Cp(t))!Tp.call(e,n)&&n!==o&&Va(e,n,{get:()=>t[n],enumerable:!(a=Ep(t,n))||a.enumerable});return e};var Fi=(e,t,o)=>(o=e!=null?Ip(yp(e)):{},Hi(t||!e||!e.__esModule?Va(o,"default",{value:e,enumerable:!0}):o,e)),Ap=e=>Hi(Va({},"__esModule",{value:!0}),e);var gN={};Op(gN,{ImageEditorResize:()=>kN});module.exports=Ap(gN);var i=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?i(...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)=>i({[`${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:n,focus:s,checked:d,active:c,selected:f,disabled:x,indeterminate:N,loading:h,empty:m,readonly:v,highlighted:L,...M}=t;return i({"k-valid":o,"k-invalid":a,"k-hover":n,"k-focus":s,"k-checked":d,"k-active":c,"k-selected":f,"k-disabled":x,"k-indeterminate":N&&!d,"k-loading":h,"k-empty":m,"k-readonly":v,"k-highlighted":L},Object.keys(M).reduce((I,C)=>(C.startsWith("k-")?I[C]=M[C]:I[`k-${C}`]=M[C],I),{}))};function Ui(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var l={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"},b={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},Mt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},S={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},r={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 Bn={};function B(e){return Bn[e]=(Bn[e]||0)+1,`k-${e}-${Bn[e]}`}var ba=require("react/jsx-runtime"),Rn="k-font-icon",Bp=[],Rp={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[S.undefined,S.base,S.primary,S.secondary,S.tertiary,S.success,S.warning,S.error,S.info]},Pp={},xa=e=>{let{size:t,themeColor:o,icon:a,rotate:n,flip:s,...d}=e;return a?(0,ba.jsx)("span",{...d,className:i(e.className,Rn,E(Rn,{size:t}),{[`k-i-${a}`]:a,[`k-color-${o}`]:o,[`k-rotate-${n}`]:n,"k-flip-h":s==="h"||s==="both","k-flip-v":s==="v"||s==="both"}),"aria-hidden":"true"}):(0,ba.jsx)(ba.Fragment,{})};xa.states=Bp;xa.options=Rp;xa.className=Rn;xa.defaultOptions=Pp;var Gi=xa;var ro=require("react/jsx-runtime"),Pn="k-svg-icon",Kp=[],wp={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[S.undefined,S.base,S.primary,S.secondary,S.tertiary,S.success,S.warning,S.error,S.info],variant:[Mt.outline,Mt.solid,Mt.duotone]},Kn={viewBox:"0 0 24 24",variant:Mt.outline},Na=e=>{var h,m;let{size:t,themeColor:o,rotate:a,flip:n,viewBox:s=Kn.viewBox,variant:d=Kn.variant,icon:c,...f}=e;if(!c)return(0,ro.jsx)(ro.Fragment,{});if(c==="none")return(0,ro.jsx)("span",{...f,className:i(e.className,Pn,E("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof c=="object"&&c.name&&c.name,N=typeof c=="object"?d&&((h=c.variants)==null?void 0:h[d])||((m=c.variants)==null?void 0:m.outline)||c.content:void 0;return(0,ro.jsx)("span",{...f,className:i(e.className,Pn,E("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`k-color-${o}`]:o,[`k-rotate-${a}`]:a,"k-flip-h":n==="h"||n==="both","k-flip-v":n==="v"||n==="both"}),"aria-hidden":"true",children:(0,ro.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof c=="object"?c.viewBox:s,dangerouslySetInnerHTML:N!==void 0?{__html:N}:void 0,children:c?void 0:e.children})})};Na.states=Kp;Na.options=wp;Na.className=Pn;Na.defaultOptions=Kn;var wn=Na;var _n=Fi(require("@progress/kendo-svg-icons"));var Vi="icon",$i="icons";var Ji=require("react");var Xi=require("react"),Wi=(0,Xi.createContext)({iconsType:"svg"});var Bt=require("react/jsx-runtime"),$a="k-icon",_p=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),Dp=[],zp={size:[l.undefined,l.xsmall,l.small,l.medium,l.large,l.xlarge,l.xxlarge,l.xxxlarge],themeColor:[S.undefined,S.base,S.primary,S.secondary,S.tertiary,S.success,S.warning,S.error,S.info],variant:[Mt.outline,Mt.solid,Mt.duotone]},Xa={viewBox:"0 0 24 24",type:"svg",variant:Mt.outline},k=e=>{let{iconsType:t}=(0,Ji.useContext)(Wi),{size:o,themeColor:a,icon:n,type:s=t||Xa.type,rotate:d,flip:c,viewBox:f=Xa.viewBox,variant:x=Xa.variant,...N}=e;if(!n)return(0,Bt.jsx)(Bt.Fragment,{});if((t||s)==="svg"){if(n==="none")return(0,Bt.jsx)(wn,{...N,className:i(e.className,$a),icon:n,size:o,variant:x});let m=_n[n]?n:_p(`${n}-icon`);return _n[m]?(0,Bt.jsx)(wn,{...N,className:i(e.className,$a),icon:_n[m],size:o,themeColor:a,rotate:d,flip:c,viewBox:f,variant:x}):(0,Bt.jsx)(Bt.Fragment,{})}return(0,Bt.jsx)(Gi,{...N,className:i(e.className,$a),icon:n,size:o,themeColor:a,rotate:d,flip:c})};k.states=Dp;k.options=zp;k.defaultOptions=Xa;k.className=$a;k.moduleName=Vi;k.folderName=$i;var Dn="button",qi=Dn;var Qe=require("react/jsx-runtime"),ha="k-button",Hp=["icon-button"],Fp=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],Up={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[S.undefined,S.base,S.primary,S.secondary,S.tertiary,S.success,S.warning,S.error,S.info,S.inverse]},zn={showArrow:!1,arrowIconName:"chevron-down"},p=e=>{let{as:t="button",size:o,rounded:a,fillMode:n,themeColor:s,showArrow:d=zn.showArrow,arrowIconName:c=zn.arrowIconName,variant:f,hover:x,focus:N,active:h,selected:m,disabled:v,togglable:L,ariaDisabled:M,icon:I,iconSize:C,text:A,iconClassName:F,className:te,...ie}=e,be=I!=null,xe=e.children!==void 0;return(0,Qe.jsxs)(t,{className:i(te,ha,Ui(ha,f),E(ha,{size:o,rounded:a,fillMode:n,themeColor:s}),y(ha,{hover:x,focus:N,active:h,disabled:v||M,selected:m}),{"k-icon-button":!A&&!xe&&be}),"aria-pressed":L?m?"true":"false":void 0,...ie,"aria-disabled":M?"true":void 0,disabled:v||void 0,children:[typeof I=="string"&&I&&(0,Qe.jsx)(k,{className:i(F,"k-button-icon"),icon:I,size:C}),I&&typeof I!="string"&&(0,Qe.jsx)(Qe.Fragment,{children:I}),A?(0,Qe.jsxs)(Qe.Fragment,{children:[A&&(0,Qe.jsx)("span",{className:"k-button-text",children:A}),e.children]}):e.children&&(0,Qe.jsx)("span",{className:"k-button-text",children:e.children}),d&&(0,Qe.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,Qe.jsx)(k,{icon:c})})]})};p.states=Fp;p.options=Up;p.variants=Hp;p.className=ha;p.defaultOptions=zn;p.moduleName=Dn;p.folderName=qi;var Yi=require("react/jsx-runtime"),Rt=e=>(0,Yi.jsx)(p,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var Zi=require("react/jsx-runtime"),La=e=>(0,Zi.jsx)(p,{icon:"folder",children:"Button",...e});var Qi=require("react/jsx-runtime"),io=e=>(0,Qi.jsx)(p,{children:"Button",...e});var Wa=require("react/jsx-runtime"),Gp=p.options,Vp=p.states,$p={...p.defaultOptions,variant:"text"},Xp=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Wp=[],Lo=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,Wa.jsx)(Rt,{...o,icon:"star"});case"icon-and-text":return(0,Wa.jsx)(La,{...o,icon:"star",children:"Button"});default:return(0,Wa.jsx)(io,{...o,children:"Button"})}};Lo.options=Gp;Lo.states=Vp;Lo.variants=Xp;Lo.defaultOptions=$p;Lo.modifiers=Wp;Lo.className=p.className;var Hn="button",ji=Hn;var es=require("react/jsx-runtime"),va="k-button-group",Jp=[r.disabled],qp={fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},Yp={},R=e=>{let{fillMode:t,disabled:o,stretched:a,...n}=e;return(0,es.jsx)("div",{role:"group",...n,className:i(e.className,va,E(va,{fillMode:t}),y(va,{disabled:o}),{[`${va}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};R.states=Jp;R.options=qp;R.className=va;R.defaultOptions=Yp;R.moduleName=Hn;R.folderName=ji;var Fn=require("react/jsx-runtime");var Un=require("react/jsx-runtime");var Gn=require("react/jsx-runtime");var Vn=require("react/jsx-runtime");var $n=require("react/jsx-runtime");var Xn=require("react/jsx-runtime");var Ve=require("react/jsx-runtime"),Zp={...p.options,...R.options},Qp=p.states,jp={...p.defaultOptions,...R.defaultOptions,variant:"text-button"},em=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],tm=[],vo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,Ve.jsxs)(R,{fillMode:a.fillMode,className:o,children:[(0,Ve.jsx)(p,{...a,icon:"star"}),(0,Ve.jsx)(p,{...a,icon:"star"}),(0,Ve.jsx)(p,{...a,icon:"star"})]}):t==="icon-text-button"?(0,Ve.jsxs)(R,{fillMode:a.fillMode,className:o,children:[(0,Ve.jsx)(p,{...a,icon:"star",children:"First"}),(0,Ve.jsx)(p,{...a,icon:"star",children:"Middle"}),(0,Ve.jsx)(p,{...a,icon:"star",children:"Last"})]}):(0,Ve.jsxs)(R,{fillMode:a.fillMode,className:o,children:[(0,Ve.jsx)(p,{...a,children:"First"}),(0,Ve.jsx)(p,{...a,children:"Middle"}),(0,Ve.jsx)(p,{...a,children:"Last"})]})};vo.options=Zp;vo.states=Qp;vo.variants=em;vo.defaultOptions=jp;vo.modifiers=tm;vo.className=R.className;var Ma="input",Ja=Ma;var ts=require("react/jsx-runtime"),qa="k-input",om=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],am={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},nm={},G=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:c,size:f,rounded:x,fillMode:N,...h}=e;return(0,ts.jsx)("span",{...h,className:i(e.className,qa,E(qa,{size:f,rounded:x,fillMode:N}),y(qa,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:c}))})};G.states=om;G.options=am;G.className=qa;G.defaultOptions=nm;G.moduleName=Ma;G.folderName=Ja;var os=require("react/jsx-runtime"),Ya="k-picker",rm=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],im={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},sm={},St=e=>{let{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:c,size:f,rounded:x,fillMode:N,...h}=e;return(0,os.jsx)("span",{...h,className:i(e.className,Ya,E(Ya,{size:f,rounded:x,fillMode:N}),y(Ya,{hover:t,focus:o,disabled:a,invalid:n,valid:s,loading:d,readonly:c})),children:e.children})};St.states=rm;St.options=im;St.className=Ya;St.defaultOptions=sm;St.moduleName=Ma;St.folderName=Ja;var Mo=require("react/jsx-runtime"),as="k-clear-value",lm=[r.disabled,r.loading,r.readonly],dm={},Ne=e=>{let{disabled:t,loading:o,readonly:a,value:n}=e;return t||a||o||!n?(0,Mo.jsx)(Mo.Fragment,{}):(0,Mo.jsx)("span",{className:i(e.className,as),children:(0,Mo.jsx)(k,{icon:"x"})})};Ne.states=lm;Ne.options=dm;Ne.className=as;var ns=require("react/jsx-runtime"),Wn="k-input-inner",pm=[],mm={},Za={type:"text",autocomplete:"off",value:"",placeholder:""},he=e=>{let{value:t=Za.value,type:o=Za.type,placeholder:a=Za.placeholder,autocomplete:n=Za.autocomplete,disabled:s,readOnly:d,...c}=e;return(0,ns.jsx)("input",{...c,type:o,className:i(e.className,Wn,E(Wn,e)),placeholder:a,autoComplete:n,defaultValue:t,disabled:s||void 0,readOnly:d||void 0})};he.states=pm;he.options=mm;he.className=Wn;var Sa=require("react/jsx-runtime"),Jn="k-input-inner",cm=[],um={},so=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:n,valueIconName:s,...d}=e;return(0,Sa.jsxs)("span",{...d,className:i(e.className,Jn,E(Jn,e)),children:[n,!n&&s&&(0,Sa.jsx)(k,{className:"k-input-value-icon",icon:s}),a&&!t&&o,a&&t&&(0,Sa.jsx)("span",{className:"k-input-value-text",children:t})]})};so.states=cm;so.options=um;so.className=Jn;var is=require("react/jsx-runtime"),qn="k-input-inner",fm=[],bm={},rs={value:"",placeholder:""},ka=e=>{let{value:t=rs.value,placeholder:o=rs.placeholder,rows:a,disabled:n,...s}=e;return(0,is.jsx)("textarea",{...s,className:i(e.className,qn,E(qn,e)),placeholder:o,rows:a,defaultValue:t,disabled:n||void 0})};ka.states=fm;ka.options=bm;ka.className=qn;var ga=require("react/jsx-runtime"),ss="k-input-loading-icon",xm=[r.disabled,r.loading],pe=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,ga.jsx)(ga.Fragment,{}):(0,ga.jsx)("span",{className:i(e.className,ss,"k-icon k-i-loading")})};pe.states=xm;pe.className=ss;var Ia=require("react/jsx-runtime"),ls="k-input-validation-icon",Nm=[r.valid,r.invalid,r.disabled,r.loading],hm={},se=e=>{let{valid:t,invalid:o,disabled:a,loading:n}=e,s=o?"warning-circle":"check-circle";return a||n||!!!(t||o)?(0,Ia.jsx)(Ia.Fragment,{}):(0,Ia.jsx)(k,{className:i(ls),icon:s})};se.states=Nm;se.options=hm;se.className=ls;var Ea=require("react/jsx-runtime"),Lm="k-input-prefix",vm={direction:"horizontal"},Ce=e=>{let{direction:t=vm.direction,...o}=e;return e.children?(0,Ea.jsx)("span",{...o,className:i(Lm,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,Ea.jsx)(Ea.Fragment,{})};var Ca=require("react/jsx-runtime"),Mm="k-input-suffix",Sm={direction:"horizontal"},ye=e=>{let{direction:t=Sm.direction,...o}=e;return e.children?(0,Ca.jsx)("span",{...o,className:i(Mm,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,Ca.jsx)(Ca.Fragment,{})};var km=require("react/jsx-runtime");var ds=require("react/jsx-runtime"),gm="k-input-suffix-text",Yn=e=>{let{children:t,...o}=e;return(0,ds.jsx)("span",{...o,className:i(gm,e.className),children:t})};var ms=require("react/jsx-runtime"),ps="k-input-separator",Im={direction:"vertical"},me=e=>{let{direction:t=Im.direction,...o}=e;return(0,ms.jsx)("span",{...o,className:i(ps,e.className,{[`${ps}-${t}`]:t})})};var ce=require("react/jsx-runtime"),Em=G.states,Cm=G.defaultOptions,ym=G.options,Tm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],Om=[],So=e=>{let{modifiers:t,valid:o,invalid:a,loading:n,disabled:s,readonly:d,...c}=e,f=t==null?void 0:t.prefix,x=t==null?void 0:t.suffix,N=t==null?void 0:t["clear-button"],h=t==null?void 0:t["validation-icon"],m=t==null?void 0:t.separators;return(0,ce.jsxs)(G,{...c,valid:o,invalid:a,loading:n,disabled:s,readonly:d,style:{width:300},children:[f&&(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)(Ce,{children:(0,ce.jsx)(k,{icon:"lock"})}),m&&(0,ce.jsx)(me,{})]}),(0,ce.jsx)(he,{placeholder:"Placeholder",value:"Value"}),h&&(0,ce.jsx)(se,{valid:o,invalid:a,loading:n,disabled:s}),(0,ce.jsx)(pe,{loading:n,disabled:s}),N&&(0,ce.jsx)(Ne,{loading:n,disabled:s,readonly:d,value:"Value"}),x&&(0,ce.jsxs)(ce.Fragment,{children:[m&&(0,ce.jsx)(me,{}),(0,ce.jsx)(ye,{children:(0,ce.jsx)(io,{size:c.size,fillMode:"clear",children:"Send"})})]})]})};So.options=ym;So.states=Em;So.variants=Om;So.defaultOptions=Cm;So.modifiers=Tm;So.className=G.className;var ya=require("react/jsx-runtime"),cs="k-color-preview",Am=[],Bm={},Gt=e=>{let{color:t,iconName:o,...a}=e;return(0,ya.jsxs)("span",{...a,className:i(e.className,cs,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,ya.jsx)(k,{icon:o,className:"k-color-preview-icon"}),(0,ya.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};Gt.states=Am;Gt.options=Bm;Gt.className=cs;var Zn="popup",us=Zn;var jn=require("react/jsx-runtime"),fs="k-animation-container",Rm=[],Pm={},Qn={positionMode:"absolute",shown:!0},kt=e=>{let{positionMode:t=Qn.positionMode,shown:o=Qn.shown,animationStyle:a,offset:n,...s}=e;return(0,jn.jsx)("div",{...s,style:{...n,...e.style},className:i(e.className,fs,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,jn.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};kt.states=Rm;kt.options=Pm;kt.className=fs;kt.defaultOptions=Qn;kt.moduleName=Zn;kt.folderName=us;var er="popup",bs=er;var tr=require("react/jsx-runtime"),xs="k-popup",Km=[],wm={},Ns={positionMode:"absolute"},Y=e=>{let{offset:t,positionMode:o=Ns.positionMode,animationStyle:a,containerClassName:n,containerRole:s,containerAriaLabel:d,...c}=e;return(0,tr.jsx)(kt,{positionMode:o,offset:t,animationStyle:a,className:n,role:s,"aria-label":d,children:(0,tr.jsx)("div",{...c,className:i(e.className,xs),children:e.children})})};Y.states=Km;Y.options=wm;Y.className=xs;Y.defaultOptions=Ns;Y.moduleName=er;Y.folderName=bs;var or="action-buttons",hs=or;var Ls=require("react/jsx-runtime"),Qa="k-actions",_m=[],Dm={},ar={alignment:"start",orientation:"horizontal"},gt=e=>{let{alignment:t=ar.alignment,orientation:o=ar.orientation,...a}=e;return(0,Ls.jsx)("div",{...a,className:i(Qa,{[`${Qa}-${t}`]:t,[`${Qa}-${o}`]:o},e.className),children:e.children})};gt.states=_m;gt.options=Dm;gt.className=Qa;gt.defaultOptions=ar;gt.moduleName=or;gt.folderName=hs;var Ms=require("react/jsx-runtime"),zm="k-actionsheet-footer",vs={alignment:"stretched",orientation:"horizontal"},Vt=e=>{let{alignment:t=vs.alignment,orientation:o=vs.orientation,template:a,as:n=a?"div":gt,...s}=e;return(0,Ms.jsx)(n,{...s,...!a&&{alignment:t,orientation:o},className:i(e.className,zm),children:e.children})};var nr="searchbox",Ss=nr;var $t=require("react/jsx-runtime"),ks="k-searchbox",Hm=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],Fm={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},rr={showIcon:!0,icon:"search"},rt=e=>{let{value:t,placeholder:o,size:a,rounded:n,fillMode:s,hover:d,focus:c,valid:f,invalid:x,required:N,loading:h,disabled:m,showIcon:v=rr.showIcon,icon:L=rr.icon,"aria-label":M,...I}=e;return(0,$t.jsxs)(G,{...I,size:a,rounded:n,fillMode:s,hover:d,focus:c,valid:f,invalid:x,required:N,loading:h,disabled:m,className:i(e.className,ks),children:[v&&(0,$t.jsx)(k,{className:"k-input-icon",icon:L}),(0,$t.jsx)(he,{placeholder:o,value:t,"aria-label":M}),(0,$t.jsx)(pe,{...e}),(0,$t.jsx)(se,{...e}),(0,$t.jsx)(Ne,{...e})]})};rt.states=Hm;rt.options=Fm;rt.className=ks;rt.defaultOptions=rr;rt.moduleName=nr;rt.folderName=Ss;var Um=require("react/jsx-runtime");var ir="textbox",gs=ir;var Te=require("react/jsx-runtime"),Is="k-textbox",Gm=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Vm={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},ja={showClearButton:!0,showValidationIcon:!0,separators:!0},U=e=>{let{size:t,rounded:o,fillMode:a,separators:n=ja.separators,showClearButton:s=ja.showClearButton,showValidationIcon:d=ja.showValidationIcon,prefix:c,suffix:f,type:x,value:N,placeholder:h,hover:m,focus:v,valid:L,invalid:M,required:I,loading:C,disabled:A,readonly:F,id:te,"aria-label":ie,"aria-describedby":be,...xe}=e;return(0,Te.jsxs)(G,{...xe,size:t,rounded:o,fillMode:a,hover:m,focus:v,valid:L,invalid:M,required:I,loading:C,disabled:A,readonly:F,className:i(e.className,Is),children:[c&&(0,Te.jsxs)(Te.Fragment,{children:[(0,Te.jsx)(Ce,{children:c}),n&&(0,Te.jsx)(me,{})]}),(0,Te.jsx)(he,{id:te,placeholder:h,value:N,type:x,disabled:A,"aria-label":ie,"aria-describedby":be,"aria-invalid":M?"true":void 0}),d&&(0,Te.jsx)(se,{valid:L,invalid:M,loading:C,disabled:A}),(0,Te.jsx)(pe,{loading:C,disabled:A}),s&&(0,Te.jsx)(Ne,{loading:C,disabled:A,readonly:F,value:N}),f&&(0,Te.jsxs)(Te.Fragment,{children:[n&&(0,Te.jsx)(me,{}),(0,Te.jsx)(ye,{children:f})]})]})};U.states=Gm;U.options=Vm;U.className=Is;U.defaultOptions=ja;U.moduleName=ir;U.folderName=gs;var Ta=U;var Cs=require("react/jsx-runtime"),Es=e=>(0,Cs.jsx)(Ta,{...e});var ys=require("react/jsx-runtime");var Ts=require("react/jsx-runtime");var $m=require("react/jsx-runtime");var en=require("react/jsx-runtime"),Xm=U.states,Wm=U.defaultOptions,Jm=U.options,qm=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Ym=[],ko=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,en.jsx)(k,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,en.jsx)(io,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[n];break;default:break}}),(0,en.jsx)(Es,{value:"Value",style:{width:300},...o,...a})};ko.options=Jm;ko.states=Xm;ko.variants=Ym;ko.defaultOptions=Wm;ko.modifiers=qm;ko.className=U.className;var je=require("react/jsx-runtime"),Os="k-actionsheet-titlebar",Zm={},He=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:n,filter:s,input:d,inputValue:c,inputPlaceholder:f,adaptive:x,titleId:N,children:h,...m}=e;return(0,je.jsxs)("div",{...m,className:i(e.className,Os),children:[(0,je.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,je.jsx)("div",{className:"k-actionsheet-actions",children:a}),!h&&(0,je.jsxs)("div",{className:"k-actionsheet-title",id:N,children:[t&&(0,je.jsx)("div",{className:"k-text-center",children:t}),o&&(0,je.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),h&&(0,je.jsx)("div",{className:"k-actionsheet-title",id:N,children:h}),n&&(0,je.jsx)("div",{className:"k-actionsheet-actions",children:n})]}),(d||s)&&(0,je.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:d?(0,je.jsx)(U,{value:c,placeholder:f,size:x?"large":"medium","aria-label":t||f||"Input"}):(0,je.jsx)(rt,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};He.className=Os;He.defaultOptions=Zm;var go=require("react/jsx-runtime"),sr="k-actionsheet-view",Qm=[],jm={},ec={},Io=e=>{let{adaptive:t,animated:o,children:a,header:n,footer:s,titleId:d,...c}=e,f=(n==null?void 0:n.type)===He&&(0,go.jsx)(He,{adaptive:t,titleId:d,...n==null?void 0:n.props}),x=(s==null?void 0:s.type)===Vt&&(0,go.jsx)(Vt,{...s==null?void 0:s.props});return(0,go.jsxs)("div",{...c,className:i(e.className,sr,{[`${sr}-animated`]:o}),children:[f,(0,go.jsx)("div",{className:"k-actionsheet-content",children:a}),x]})};Io.states=Qm;Io.options=jm;Io.className=sr;Io.defaultOptions=ec;var Oa="action-sheet",tn=Oa;var lr="overlay",As=lr;var Rs=require("react/jsx-runtime"),Bs="k-overlay",tc=[],oc={},ac={},Xt=e=>{let{...t}=e;return(0,Rs.jsx)("div",{...t,className:i(e.className,Bs),children:e.children})};Xt.states=tc;Xt.options=oc;Xt.className=Bs;Xt.defaultOptions=ac;Xt.moduleName=lr;Xt.folderName=As;var lo=require("react/jsx-runtime"),Ps="k-actionsheet",nc=[],rc={},Aa={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},oe=e=>{let{side:t=Aa.side,fullscreen:o=Aa.fullscreen,adaptive:a=Aa.adaptive,overlay:n=Aa.overlay,template:s,children:d,header:c,footer:f,id:x,...N}=e,h=x&&!s&&c?`${x}-title`:void 0;return(0,lo.jsxs)("div",{className:"k-actionsheet-container",children:[n&&(0,lo.jsx)(Xt,{}),(0,lo.jsx)(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:(0,lo.jsx)("div",{...N,id:x,role:"dialog","aria-modal":n?"true":void 0,"aria-labelledby":h,className:i(e.className,Ps,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:s||(0,lo.jsx)(Io,{header:c,footer:f,adaptive:a,titleId:h,...e,children:d})})})]})};oe.states=nc;oe.options=rc;oe.className=Ps;oe.defaultOptions=Aa;oe.moduleName=Oa;oe.folderName=tn;var ws=require("react/jsx-runtime"),Ks="k-actionsheet-container",ic=[],sc={},lc={},Eo=e=>{let{children:t,...o}=e;return(0,ws.jsx)("div",{...o,className:Ks,children:t})};Eo.states=ic;Eo.options=sc;Eo.className=Ks;Eo.defaultOptions=lc;Eo.moduleName=Oa;Eo.folderName=tn;var _s=require("react/jsx-runtime"),dr=e=>{let{...t}=e;return(0,_s.jsx)("div",{...t,className:i(e.className,"k-list-ul"),children:e.children})};var it=require("react/jsx-runtime"),pr="k-actionsheet-item",dc=[r.hover,r.focus,r.selected,r.disabled],Wt=e=>{let{iconName:t,text:o,description:a,hover:n,focus:s,selected:d,disabled:c,...f}=e;return(0,it.jsxs)("span",{...f,className:i(e.className,pr,y(pr,{hover:n,focus:s,selected:d,disabled:c})),children:[!e.children&&(0,it.jsx)(it.Fragment,{children:(0,it.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,it.jsx)("span",{className:"k-icon-wrap",children:(0,it.jsx)(k,{className:"k-actionsheet-item-icon",icon:t})}),(0,it.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,it.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,it.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};Wt.states=dc;Wt.className=pr;var Ds=require("react/jsx-runtime");var pc=require("react/jsx-runtime");var mc=require("react/jsx-runtime");var cc=require("react/jsx-runtime");var Z=require("react/jsx-runtime"),uc=oe.options,fc=oe.states,Hs={...oe.defaultOptions,variant:"normal"},bc=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],xc=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Co=e=>{let{variant:t,modifiers:o,...a}={...Hs,...e},n={},s=(0,Z.jsxs)(dr,{children:[(0,Z.jsx)(Wt,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,Z.jsx)(Wt,{text:"Add to Favorites",iconName:"heart"}),(0,Z.jsx)(Wt,{text:"Upload New",iconName:"upload",disabled:!0}),(0,Z.jsx)("hr",{className:"k-hr"}),(0,Z.jsx)(Wt,{text:"Cancel",iconName:"cancel"})]}),d="Choose from the items below",c="Select Item";return t==="fullScreen"&&(n.fullScreen=!0),Object.keys(o||{}).forEach(f=>{switch(f){case"actions":n.actionsStart=!!(o!=null&&o[f]),n.actionsEnd=!!(o!=null&&o[f]);break;case"subtitle":n.subtitle=o!=null&&o[f]?d:void 0;break;case"footer":n.footer=!!(o!=null&&o[f]);break;default:break}}),t==="adaptive"?(0,Z.jsx)(oe,{...a,adaptive:!0,fullscreen:n.fullScreen,header:(0,Z.jsx)(He,{actionsStart:n.actionsStart?(0,Z.jsx)(p,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,Z.jsx)(p,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:c,subtitle:n.subtitle}),footer:n.footer?(0,Z.jsxs)(Vt,{alignment:"stretched",children:[(0,Z.jsx)(p,{text:"Cancel",size:"large",themeColor:"base"}),(0,Z.jsx)(p,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:s}):(0,Z.jsx)(oe,{...a,fullscreen:n.fullScreen,header:(0,Z.jsx)(He,{actionsStart:n.actionsStart?(0,Z.jsx)(p,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:n.actionsEnd?(0,Z.jsx)(p,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:n.subtitle}),footer:n.footer?(0,Z.jsxs)(Vt,{alignment:"stretched",children:[(0,Z.jsx)(p,{text:"Apply",themeColor:"primary"}),(0,Z.jsx)(p,{text:"Cancel",themeColor:"base"})]}):void 0,children:s})};Co.options=uc;Co.states=fc;Co.variants=bc;Co.defaultOptions=Hs;Co.modifiers=xc;Co.className=oe.className;var mr="slider",Fs=mr;var bt=require("react/jsx-runtime"),Ba="k-slider",Nc=[r.hover,r.focus,r.active,r.disabled,r.readonly],hc={},st={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},q=e=>{let{type:t=st.type,orientation:o=st.orientation,gradientType:a=st.gradientType,readonly:n=st.readonly,disabled:s=st.disabled,handlePosition:d=st.handlePosition,showButtons:c=st.showButtons,showTicks:f=st.showTicks,value:x=st.value,min:N=st.min,max:h=st.max,startValue:m,endValue:v,hover:L,focus:M,active:I,trackStyle:C,dir:A,...F}=e,ie=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),be,xe;return o==="horizontal"?(be=A==="rtl"?"chevron-left":"chevron-right",xe=A==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(be="chevron-up",xe="chevron-down"),(0,bt.jsxs)("div",{...F,className:i(Ba,e.className,y(Ba,{readonly:n,disabled:s}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:A,children:[c&&(0,bt.jsx)(p,{className:"k-button-decrease",rounded:"full",icon:xe,tabIndex:-1,title:"Decrease"}),(0,bt.jsxs)("div",{className:"k-slider-track-wrap",children:[f&&(0,bt.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,bt.jsxs)("div",{className:"k-slider-track",style:C,children:[(0,bt.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,bt.jsx)("span",{className:i("k-draghandle","k-draghandle-start",y(Ba,{hover:L,focus:M,active:I})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":m??N,"aria-valuemin":N,"aria-valuemax":v??h,"aria-orientation":ie,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":F["aria-label"]?`${F["aria-label"]} start`:"Range start"}),(0,bt.jsx)("span",{className:i("k-draghandle",`k-draghandle-${d}`,y(Ba,{hover:L,focus:M,active:I})),role:"slider",tabIndex:s?void 0:0,"aria-valuenow":t==="range"?v??h:x,"aria-valuemin":t==="range"?m??N:N,"aria-valuemax":h,"aria-orientation":ie,"aria-disabled":s?"true":void 0,"aria-readonly":n?"true":void 0,"aria-label":t==="range"?F["aria-label"]?`${F["aria-label"]} end`:"Range end":F["aria-label"]})]})]}),c&&(0,bt.jsx)(p,{className:"k-button-increase",rounded:"full",icon:be,tabIndex:-1,title:"Increase"})]})};q.states=Nc;q.options=hc;q.className=Ba;q.defaultOptions=st;q.moduleName=mr;q.folderName=Fs;var cr=require("react/jsx-runtime"),Us="k-tick",Lc=[],vc={},Gs={label:!1},T=e=>{let{style:t,label:o=Gs.label,orientation:a,large:n,text:s,...d}=e;return(0,cr.jsx)("li",{...d,role:"presentation",title:s||"Tick",className:i(e.className,Us,{[`k-tick-${a}`]:a,"k-tick-large":n}),style:t,children:o&&(0,cr.jsx)("span",{className:"k-label",children:s})})};T.states=Lc;T.options=vc;T.className=Us;T.defaultOptions=Gs;var Le=require("react/jsx-runtime"),Vs=e=>(0,Le.jsx)(q,{"aria-label":e["aria-label"]||"Slider",children:(0,Le.jsxs)(Le.Fragment,{children:[(0,Le.jsx)(T,{className:"k-first",label:!0,large:!0,text:"0"}),(0,Le.jsx)(T,{}),(0,Le.jsx)(T,{}),(0,Le.jsx)(T,{}),(0,Le.jsx)(T,{}),(0,Le.jsx)(T,{label:!0,large:!0,text:"5"}),(0,Le.jsx)(T,{}),(0,Le.jsx)(T,{}),(0,Le.jsx)(T,{}),(0,Le.jsx)(T,{}),(0,Le.jsx)(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var ve=require("react/jsx-runtime"),$s=e=>(0,ve.jsx)(q,{children:(0,ve.jsxs)(ve.Fragment,{children:[(0,ve.jsx)(T,{className:"k-first",label:!0,large:!0,text:"0"}),(0,ve.jsx)(T,{}),(0,ve.jsx)(T,{}),(0,ve.jsx)(T,{}),(0,ve.jsx)(T,{}),(0,ve.jsx)(T,{label:!0,large:!0,text:"5"}),(0,ve.jsx)(T,{}),(0,ve.jsx)(T,{}),(0,ve.jsx)(T,{}),(0,ve.jsx)(T,{}),(0,ve.jsx)(T,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var ur=require("react/jsx-runtime");var fr=require("react/jsx-runtime");var Xs=require("react/jsx-runtime"),br=e=>(0,Xs.jsx)(q,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Ws=require("react/jsx-runtime"),xr=e=>(0,Ws.jsx)(q,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Nr=require("react/jsx-runtime");var hr=require("react/jsx-runtime");var $e=require("react/jsx-runtime"),Mc=q.options,Sc=q.states,Js={...q.defaultOptions,variant:"horizontal",label:!0},kc=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],gc=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],yo=e=>{let{variant:t,modifiers:o,...a}=e,n=Js.label,s={};Object.keys(o||{}).forEach(c=>{switch(c){case"button":{s.showButtons=!!(o!=null&&o[c]);break}case"label":{n=!!(o!=null&&o[c]);break}case"tick":{s.showTicks=!!(o!=null&&o[c]);break}}});let d={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,$e.jsxs)($s,{style:{height:"300px",...d},...a,...s,children:[(0,$e.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,$e.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,$e.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,$e.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,$e.jsx)(T,{label:n,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,$e.jsxs)(Vs,{style:{width:"400px",...d},...a,...s,children:[(0,$e.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,$e.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,$e.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,$e.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,$e.jsx)(T,{label:n,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};yo.options=Mc;yo.states=Sc;yo.variants=kc;yo.defaultOptions=Js;yo.modifiers=gc;yo.className=q.className;var Ra=require("react/jsx-runtime"),qs="k-spin-button",Cc=[],yc={size:[l.undefined,l.small,l.medium,l.large],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},Lr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},It=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:n=Lr.increaseLabel,decreaseLabel:s=Lr.decreaseLabel,...d}=e;return(0,Ra.jsxs)("span",{...d,className:i(qs,e.className),children:[(0,Ra.jsx)(p,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":n}),(0,Ra.jsx)(p,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":s})]})};It.states=Cc;It.options=yc;It.className=qs;It.defaultOptions=Lr;It.moduleName=null;It.folderName=null;var Ys="numeric-textbox",Zs="numerictextbox";var Me=require("react/jsx-runtime"),Qs="k-numerictextbox",Tc=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],Oc={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},on={showSpinButton:!0,showClearButton:!0,separators:!0},_=e=>{let{size:t,rounded:o,fillMode:a,separators:n=on.separators,showClearButton:s=on.showClearButton,showSpinButton:d=on.showSpinButton,prefix:c,suffix:f,value:x,placeholder:N,hover:h,focus:m,valid:v,invalid:L,required:M,loading:I,disabled:C,readonly:A,id:F,"aria-label":te,"aria-describedby":ie,...be}=e;return(0,Me.jsxs)(G,{...be,size:t,rounded:o,fillMode:a,hover:h,focus:m,valid:v,invalid:L,required:M,loading:I,disabled:C,readonly:A,className:i(e.className,Qs),children:[c&&(0,Me.jsxs)(Me.Fragment,{children:[(0,Me.jsx)(Ce,{children:c}),n&&(0,Me.jsx)(me,{})]}),(0,Me.jsx)(he,{id:F,placeholder:N,value:x,role:"spinbutton",disabled:C,"aria-label":te,"aria-describedby":ie,"aria-invalid":L?"true":void 0}),(0,Me.jsx)(se,{valid:v,invalid:L,loading:I,disabled:C}),(0,Me.jsx)(pe,{loading:I,disabled:C}),s&&(0,Me.jsx)(Ne,{loading:I,disabled:C,readonly:A,value:x}),f&&(0,Me.jsxs)(Me.Fragment,{children:[n&&(0,Me.jsx)(me,{}),(0,Me.jsx)(ye,{children:f})]}),d&&(0,Me.jsx)(It,{className:"k-input-spinner",size:t,fillMode:a,disabled:C})]})};_.states=Tc;_.options=Oc;_.className=Qs;_.defaultOptions=on;_.moduleName=Ys;_.folderName=Zs;var Pa=_;var el=require("react/jsx-runtime"),js=e=>(0,el.jsx)(Pa,{...e});var nn=Fi(require("react"));var vr=require("react/jsx-runtime"),Ac="k-list-group-sticky-header",Mr=e=>(0,vr.jsx)("div",{className:i(Ac,e.className),children:(0,vr.jsx)("div",{className:"k-list-header-text",children:e.children})});var tl=require("react/jsx-runtime"),Bc="k-no-data",an=e=>{let{live:t,...o}=e;return(0,tl.jsx)("span",{...o,className:i(Bc,e.className),"aria-live":t?"polite":void 0,children:e.children})};var po="list",To=po;var Oo=require("react/jsx-runtime"),Sr="k-list",Rc=[],Pc={size:[l.undefined,l.small,l.medium,l.large]},Kc={},D=e=>{var L;let{size:t,virtualization:o,children:a,header:n,selectAll:s,optionLabel:d,customValue:c,noData:f,screenReaders:x,...N}=e,m=nn.default.Children.toArray(a)[0],v=(L=m==null?void 0:m.props)!=null&&L.children?nn.default.Children.count(m.props.children):nn.default.Children.count(a);return(0,Oo.jsxs)("div",{...N,className:i(e.className,Sr,E(Sr,{size:t}),{"k-virtual-list":o}),children:[d,s,c,n&&(0,Oo.jsx)(Mr,{children:n}),a||(f!==void 0?f:(0,Oo.jsx)(an,{live:!0,children:"No data found."})),x&&a&&(0,Oo.jsxs)(an,{className:"k-sr-only",live:!0,children:[v," items found."]})]})};D.states=Rc;D.options=Pc;D.className=Sr;D.defaultOptions=Kc;D.moduleName=po;D.folderName=To;var al=require("react/jsx-runtime"),ol="k-list-container",wc=[],_c={},Dc={},Ao=e=>{let{...t}=e;return(0,al.jsx)("div",{...t,className:i(e.className,ol),children:e.children})};Ao.states=wc;Ao.options=_c;Ao.className=ol;Ao.defaultOptions=Dc;Ao.moduleName=po;Ao.folderName=To;var mo="checkbox",Bo=mo;var kr=require("react/jsx-runtime"),rn="k-checkbox",zc=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],Hc={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},Fc={},Xe=e=>{let{id:t,checked:o,indeterminate:a,hover:n,focus:s,disabled:d,invalid:c,valid:f,required:x,size:N,rounded:h,wrapperRole:m,...v}=e;return(0,kr.jsx)("span",{className:"k-checkbox-wrap",role:m,children:(0,kr.jsx)("input",{...v,id:t,type:"checkbox",defaultChecked:o,required:x,disabled:d||void 0,"aria-invalid":c?"true":void 0,className:i(e.className,rn,E(rn,{size:N,rounded:h}),y(rn,{hover:n,focus:s,disabled:d,invalid:c,valid:f,indeterminate:a,checked:o}))})})};Xe.states=zc;Xe.options=Hc;Xe.className=rn;Xe.defaultOptions=Fc;Xe.moduleName=mo;Xe.folderName=Bo;var xt=Xe;var il=require("react/jsx-runtime"),nl="k-checkbox-list",Uc=[],Gc={},rl={layout:"vertical"},Fe=e=>{let{layout:t=rl.layout,...o}=e;return(0,il.jsx)("ul",{...o,className:i(e.className,nl,{[`k-list-${t}`]:t}),children:e.children})};Fe.states=Uc;Fe.options=Gc;Fe.className=nl;Fe.defaultOptions=rl;Fe.moduleName=mo;Fe.folderName=Bo;var ll=require("react/jsx-runtime"),sl="k-checkbox-list-item",Vc=[],$c={},Xc={},Ue=e=>{let{...t}=e;return(0,ll.jsx)("li",{...t,className:i(e.className,sl),children:e.children})};Ue.states=Vc;Ue.options=$c;Ue.className=sl;Ue.defaultOptions=Xc;Ue.moduleName=mo;Ue.folderName=Bo;var co=require("react/jsx-runtime"),lt=({children:e="Label",id:t="cb-label-after",...o})=>(0,co.jsxs)(co.Fragment,{children:[(0,co.jsx)(xt,{id:t,...o}),(0,co.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var gr=require("react/jsx-runtime");var Ir=require("react/jsx-runtime");var Er=require("react/jsx-runtime");var Wc=require("react/jsx-runtime");var Jc=require("react/jsx-runtime");var qc=require("react/jsx-runtime");var Oe=require("react/jsx-runtime"),Yc=Fe.options,Zc=Fe.states,Qc={...Fe.defaultOptions,variant:"vertical"},jc=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],eu=[],Ro=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,Oe.jsxs)(Fe,{layout:"horizontal",...o,children:[(0,Oe.jsx)(Ue,{children:(0,Oe.jsx)(lt,{id:B("cb"),defaultChecked:!0,children:"Label"})}),(0,Oe.jsx)(Ue,{children:(0,Oe.jsx)(lt,{id:B("cb"),children:"Label"})}),(0,Oe.jsx)(Ue,{children:(0,Oe.jsx)(lt,{id:B("cb"),children:"Label"})})]}):(0,Oe.jsxs)(Fe,{...o,children:[(0,Oe.jsx)(Ue,{children:(0,Oe.jsx)(lt,{id:B("cb"),defaultChecked:!0,children:"Label"})}),(0,Oe.jsx)(Ue,{children:(0,Oe.jsx)(lt,{id:B("cb"),children:"Label"})}),(0,Oe.jsx)(Ue,{children:(0,Oe.jsx)(lt,{id:B("cb"),children:"Label"})})]})};Ro.options=Yc;Ro.states=Zc;Ro.variants=jc;Ro.defaultOptions=Qc;Ro.modifiers=eu;Ro.className=Fe.className;var dl=require("react/jsx-runtime"),tu=xt.options,ou=xt.states,au=xt.defaultOptions,nu=[],ru=[],Po=e=>(0,dl.jsx)(lt,{id:B("checkbox"),...e,defaultChecked:!0,children:"Label"});Po.options=tu;Po.states=ou;Po.variants=nu;Po.defaultOptions=au;Po.modifiers=ru;Po.className=xt.className;var Pt=require("react/jsx-runtime"),Cr="k-list-item",iu=[r.hover,r.focus,r.selected,r.disabled],su={},lu={},P=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:n,checked:s,hover:d,focus:c,selected:f,disabled:x,actions:N,description:h,id:m,...v}=e,L=t||e.children,M=t||(typeof L=="string"?L:void 0);return(0,Pt.jsxs)("li",{...v,id:m,role:"option",tabIndex:c?0:-1,"aria-selected":f?"true":"false","aria-disabled":x?"true":void 0,className:i(e.className,Cr,y(Cr,{hover:d,focus:c,disabled:x,selected:f})),children:[n&&(0,Pt.jsx)(Xe,{checked:s,disabled:x,"aria-label":M,tabIndex:-1}),o&&(0,Pt.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,Pt.jsx)(k,{icon:o,className:i("k-list-item-icon",a)})}),(0,Pt.jsx)("span",{className:"k-list-item-text",children:L}),N&&(0,Pt.jsx)("div",{className:"k-list-item-actions",children:N}),h&&(0,Pt.jsx)("span",{className:"k-list-item-description",children:h})]})};P.states=iu;P.options=su;P.className=Cr;P.defaultOptions=lu;P.moduleName=po;P.folderName=To;var pl=require("react/jsx-runtime"),du="k-list-ul",Jt=e=>{let{children:t,role:o,id:a,...n}=e;return(0,pl.jsx)("ul",{...n,id:a,role:o,className:i(du,e.className),children:t})};var Ko=require("react/jsx-runtime"),pu="k-list-content",V=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":n,listboxId:s,...d}=e;return(0,Ko.jsxs)("div",{...d,className:i(pu,e.className),role:o?"listbox":void 0,id:o?s:void 0,"aria-label":o?a:void 0,"aria-labelledby":o?n:void 0,children:[o?e.children:(0,Ko.jsx)(Jt,{role:"listbox",id:s,"aria-label":a,"aria-labelledby":n,children:e.children}),t&&(0,Ko.jsx)("div",{className:"k-height-container",children:(0,Ko.jsx)("div",{})})]})};var wo=require("react/jsx-runtime"),sn="k-list-sticky-header",mu=[r.hover,r.focus,r.selected],cu={},uu={},ln=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:n,hover:s,focus:d,selected:c,...f}=e;return(0,wo.jsx)("div",{...f,className:i(sn,e.className),children:(0,wo.jsxs)("div",{className:i(`${sn}-item`,y(`${sn}-item`,{hover:s,focus:d,selected:c})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":c?"true":"false"},children:[o&&(0,wo.jsx)(Xe,{checked:a,indeterminate:n,"aria-label":t}),(0,wo.jsx)("span",{className:"k-list-item-text",children:t})]})})};ln.states=mu;ln.options=cu;ln.className=sn;ln.defaultOptions=uu;var yr=require("react/jsx-runtime");var ml=require("react/jsx-runtime");var cl=require("react/jsx-runtime"),Tr="k-list-optionlabel",fu=[r.hover,r.focus,r.selected,r.disabled],bu={},xu={},dn=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...d}=e;return(0,cl.jsx)("div",{...d,className:i(Tr,y(Tr,{hover:o,focus:a,selected:n,disabled:s})),children:t})};dn.states=fu;dn.options=bu;dn.className=Tr;dn.defaultOptions=xu;var ul=require("react/jsx-runtime"),Or="k-list-custom-value",Nu=[r.hover,r.focus,r.selected,r.disabled],hu={},Lu={},qt=e=>{let{text:t,hover:o,focus:a,selected:n,disabled:s,...d}=e;return(0,ul.jsx)("div",{...d,className:i(Or,y(Or,{hover:o,focus:a,selected:n,disabled:s})),children:t})};qt.states=Nu;qt.options=hu;qt.className=Or;qt.defaultOptions=Lu;var Ar=require("react/jsx-runtime");var Br=require("react/jsx-runtime");var Rr=require("react/jsx-runtime");var Pr=require("react/jsx-runtime");var vu=require("react/jsx-runtime");var Kr=require("react/jsx-runtime");var wr=require("react/jsx-runtime");var fl="dropdown-list",bl="dropdownlist";var Q=require("react/jsx-runtime"),xl="k-dropdownlist",Mu=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Su={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},_r={showValue:!0,arrowIconName:"chevron-down"},K=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=_r.arrowIconName,showValue:s=_r.showValue,valueIconName:d,prefix:c,suffix:f,value:x,placeholder:N,hover:h,focus:m,valid:v,invalid:L,required:M,loading:I,disabled:C,readonly:A,popup:F,opened:te,adaptive:ie,adaptiveSettings:be,adaptiveTitle:xe,adaptiveSubtitle:no,adaptiveFilter:Tn,id:Ut,activeDescendant:Ga,"aria-label":On,...An}=e,gp=Ut?`${Ut}-listbox`:void 0,zi=Ut?`${Ut}-value`:void 0;return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)(St,{...An,id:Ut,size:t,rounded:o,fillMode:a,hover:h,focus:m,valid:v,invalid:L,required:M,loading:I,disabled:C,readonly:A,className:i(e.className,xl,{"k-icon-picker":!s&&d}),role:"combobox","aria-haspopup":"listbox","aria-expanded":te?"true":"false","aria-controls":te?gp:void 0,"aria-activedescendant":te&&Ga?Ga:void 0,"aria-describedby":te?zi:void 0,"aria-disabled":C?"true":void 0,"aria-label":On,tabIndex:0,children:[(0,Q.jsx)(Ce,{children:c}),(0,Q.jsx)(so,{placeholder:N,value:x,showValue:s,valueIconName:d,id:zi}),(0,Q.jsx)(se,{valid:v,invalid:L,loading:I,disabled:C}),(0,Q.jsx)(pe,{loading:I,disabled:C}),(0,Q.jsx)(ye,{children:f}),(0,Q.jsx)(p,{className:"k-input-button",icon:n,size:e.size,fillMode:e.fillMode,"aria-label":N||"Toggle dropdown",tabIndex:-1})]}),te&&F&&(0,Q.jsx)(Y,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:F}),ie&&(0,Q.jsx)(oe,{adaptive:!0,...be,header:(0,Q.jsx)(He,{actionsEnd:(0,Q.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Tn,inputValue:x,inputPlaceholder:N,title:xe,subtitle:no}),children:(0,Q.jsx)("div",{className:"k-list-container",children:(0,Q.jsx)(D,{size:"large",children:(0,Q.jsxs)(V,{"aria-label":"Options",children:[(0,Q.jsx)(P,{text:"List item"}),(0,Q.jsx)(P,{text:"List item"}),(0,Q.jsx)(P,{text:"List item"})]})})})})]})};K.states=Mu;K.options=Su;K.className=xl;K.defaultOptions=_r;K.moduleName=fl;K.folderName=bl;var ku=require("react/jsx-runtime");var Nl=require("react/jsx-runtime");var Dr=require("react/jsx-runtime");var gu=require("react/jsx-runtime");var hl=require("react/jsx-runtime");var zr=require("react/jsx-runtime");var Iu=require("react/jsx-runtime");var We=require("react/jsx-runtime"),Eu=K.states,Cu=K.defaultOptions,yu=K.options,Tu=[{name:"opened",title:"Opened"}],Ou=[],Do=e=>{let{modifiers:t,...o}=e,a={},n=(0,We.jsxs)(We.Fragment,{children:[(0,We.jsx)("div",{className:"k-list-filter",children:(0,We.jsx)(rt,{})}),(0,We.jsx)(D,{style:{width:300},size:o.size,children:(0,We.jsxs)(V,{children:[(0,We.jsx)(P,{children:"List item"}),(0,We.jsx)(P,{children:"List item"}),(0,We.jsx)(P,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(s=>{s==="opened"&&(a.opened=!!(t!=null&&t[s]),a.popup=t!=null&&t[s]?n:void 0)}),(0,We.jsx)("div",{children:(0,We.jsx)(K,{placeholder:"Value",style:{width:300},...o,...a})})};Do.options=yu;Do.states=Eu;Do.variants=Ou;Do.defaultOptions=Cu;Do.modifiers=Tu;Do.className=K.className;var Ll=require("react/jsx-runtime");var vl=require("react/jsx-runtime");var Au=require("react/jsx-runtime");var pn=require("react/jsx-runtime"),Bu=_.states,Ru=_.defaultOptions,Pu=_.options,Ku=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],wu=[],zo=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,pn.jsx)(K,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,pn.jsx)(Yn,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[n];break;case"spin-button":a.showSpinButton=t==null?void 0:t[n];break;default:break}}),(0,pn.jsx)(js,{value:"Value",style:{width:300},...o,...a})};zo.options=Pu;zo.states=Bu;zo.variants=wu;zo.defaultOptions=Ru;zo.modifiers=Ku;zo.className=_.className;var g=require("react/jsx-runtime"),Ml="k-colorgradient-inputs",_u=[],Du={size:[l.undefined,l.small,l.medium,l.large]},Sl={mode:"rgba"},Ho=e=>{let{mode:t=Sl.mode,size:o,...a}=e;return(0,g.jsxs)("div",{...a,className:i(Ml,"k-hstack"),children:[(0,g.jsx)("div",{className:"k-vstack",children:(0,g.jsx)(p,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,g.jsxs)("div",{className:"k-vstack",children:[(0,g.jsx)(_,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,g.jsx)(g.Fragment,{children:(0,g.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,g.jsx)(U,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,g.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};Ho.states=_u;Ho.options=Du;Ho.className=Ml;Ho.defaultOptions=Sl;var Ae=require("react/jsx-runtime"),kl="k-colorgradient-color-contrast",zu=[],Hu={},Fu={},Fo=()=>(0,Ae.jsxs)("div",{className:i(kl,"k-vbox"),children:[(0,Ae.jsxs)("div",{className:"k-contrast-ratio",children:[(0,Ae.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,Ae.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,Ae.jsx)(k,{icon:"check"}),(0,Ae.jsx)(k,{icon:"check"})]})]}),(0,Ae.jsxs)("div",{children:[(0,Ae.jsx)("span",{children:"AA: 4.5"}),(0,Ae.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,Ae.jsx)(k,{icon:"check"})]})]}),(0,Ae.jsxs)("div",{children:[(0,Ae.jsx)("span",{children:"AAA: 7.0"}),(0,Ae.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,Ae.jsx)(k,{icon:"x"})]})]})]});Fo.states=zu;Fo.options=Hu;Fo.className=kl;Fo.defaultOptions=Fu;var gl="color-gradient",Il="colorgradient";var le=require("react/jsx-runtime"),mn="k-colorgradient",Uu=[r.hover,r.focus,r.readonly,r.disabled],Gu={size:[l.undefined,l.small,l.medium,l.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:n=Et.disabled,gradientStyle:s=Et.gradientStyle,dragHandleStyle:d=Et.dragHandleStyle,alphaStyle:c=Et.alphaStyle,alphaStyleHorizontal:f=Et.alphaStyleHorizontal,contrast:x=Et.contrast,dir:N,hover:h,focus:m,hoverHandle:v,focusHandle:L,canvasOrientation:M=Et.canvasOrientation,role:I,tabIndex:C,...A}=e;return(0,le.jsxs)("div",{...A,role:I??"textbox","aria-label":I==="none"?void 0:"Color gradient",tabIndex:C??0,"aria-disabled":n?"true":void 0,className:i(e.className,mn,E(mn,{size:t}),y(mn,{hover:h,focus:m,readonly:a,disabled:n})),dir:N,children:[!M||M==="horizontal"&&(0,le.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,le.jsx)("div",{className:"k-hsv-rectangle",style:s,children:(0,le.jsx)("div",{className:"k-hsv-gradient",children:(0,le.jsx)("div",{className:i("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})})}),(0,le.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,le.jsx)(xr,{className:"k-hue-slider",hover:v,focus:L}),o!=="rgb"&&o!=="hsv"&&(0,le.jsx)(xr,{className:"k-alpha-slider",hover:v,focus:L,trackStyle:c})]})]}),M==="vertical"&&(0,le.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,le.jsx)("div",{className:"k-hsv-rectangle",style:s,children:(0,le.jsx)("div",{className:"k-hsv-gradient",children:(0,le.jsx)("div",{className:i("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})})}),(0,le.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,le.jsx)(br,{className:"k-hue-slider",hover:v,focus:L}),o!=="rgb"&&o!=="hsv"&&(0,le.jsx)(br,{className:"k-alpha-slider",hover:v,focus:L,trackStyle:f})]})]}),(0,le.jsx)(Ho,{mode:e.mode,size:t}),x&&(0,le.jsx)(Fo,{})]})};Se.states=Uu;Se.options=Gu;Se.className=mn;Se.defaultOptions=Et;Se.moduleName=gl;Se.folderName=Il;var El=require("react/jsx-runtime"),cn=e=>(0,El.jsx)(Se,{...e});var Vu=require("react/jsx-runtime");var $u=require("react/jsx-runtime");var un=require("react/jsx-runtime"),Xu=Se.options,Wu=Se.states,Ju={...Se.defaultOptions,variant:"rgba"},qu=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Yu=[],Uo=e=>{let{variant:t,...o}=e;switch(t){case"hex":return(0,un.jsx)(cn,{...o,mode:t});case"rgb":return(0,un.jsx)(cn,{...o,mode:t});default:return(0,un.jsx)(cn,{...o,mode:t})}};Uo.options=Xu;Uo.states=Wu;Uo.variants=qu;Uo.defaultOptions=Ju;Uo.modifiers=Yu;Uo.className=Se.className;var Cl=require("react/jsx-runtime"),Hr=e=>(0,Cl.jsx)("tr",{role:"row",children:e.children});var yl=require("react/jsx-runtime"),Fr="k-colorpalette-tile",Zu=[r.hover,r.focus,r.selected],Qu={},Yt=e=>{let{color:t,tileSize:o,hover:a,focus:n,selected:s,...d}=e,c={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,yl.jsx)("td",{...d,role:"gridcell","aria-label":t,"aria-selected":s?"true":void 0,className:i(e.className,Fr,y(Fr,{hover:a,focus:n,selected:s})),style:c})};Yt.states=Zu;Yt.options=Qu;Yt.className=Fr;Yt.moduleName=null;Yt.folderName=null;var Tl="color-palette",Ol="colorpalette";var Go=require("react/jsx-runtime"),fn="k-colorpalette",ju=[r.disabled],ef={size:[l.undefined,l.small,l.medium,l.large]},Al={columns:10},Je=e=>{let{size:t,palette:o,columns:a=Al.columns,tileSize:n,disabled:s,...d}=e,c=[];if(o){let f=a||o.columns,x=o.colors?o.colors:o;Array.isArray(x)&&Array.from({length:Math.ceil(x.length/f)},(N,h)=>{let m=[];x.slice(h*f,(h+1)*f).map((L,M)=>{m.push((0,Go.jsx)(Yt,{color:L,tileSize:n},M))});let v=(0,Go.jsx)(Hr,{children:m},h);c.push(v)})}return(0,Go.jsx)("div",{...d,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":s?"true":void 0,className:i(e.className,fn,y(fn,{disabled:s}),E(fn,{size:t})),children:(0,Go.jsx)("table",{className:"k-colorpalette-table",role:"none",children:(0,Go.jsx)("tbody",{children:c.length>0?c:e.children})})})};Je.states=ju;Je.options=ef;Je.className=fn;Je.defaultOptions=Al;Je.moduleName=Tl;Je.folderName=Ol;var bn=Je;var wa={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}};var Rl=require("react/jsx-runtime"),Bl=e=>(0,Rl.jsx)(bn,{palette:wa.basic,...e});var tf=require("react/jsx-runtime");var Pl=require("react/jsx-runtime");var Kl=require("react/jsx-runtime"),of=Je.options,af=Je.states,nf={...Je.defaultOptions,variant:"basic"},rf=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],sf={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}},lf=[],Vo=e=>{let{variant:t="basic",...o}=e,a=sf[t];return(0,Kl.jsx)(Bl,{columns:a.columns,palette:a,...o})};Vo.options=of;Vo.states=af;Vo.variants=rf;Vo.defaultOptions=nf;Vo.modifiers=lf;Vo.className=Je.className;var wl="color-editor",_l="coloreditor";var ae=require("react/jsx-runtime"),xn="k-coloreditor",df=[r.focus],pf={size:[l.undefined,l.small,l.medium,l.large]},_a={view:"gradient",palette:wa.office,actionButtons:!0,canvasOrientation:"horizontal"},ne=e=>{let{size:t,view:o=_a.view,palette:a=_a.palette,color:n,currentColor:s,focus:d,focusView:c,dir:f,group:x,actionButtons:N=_a.actionButtons,canvasOrientation:h=_a.canvasOrientation,...m}=e;return(0,ae.jsxs)("div",{...m,role:"textbox","aria-label":"Color editor",tabIndex:0,className:i(e.className,"k-flatcolorpicker",xn,E(xn,{size:t}),y(xn,{focus:d})),dir:f,children:[(0,ae.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,ae.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:x&&(0,ae.jsxs)(R,{fillMode:"flat",children:[(0,ae.jsx)(p,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),(0,ae.jsx)(p,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),(0,ae.jsx)("div",{className:"k-spacer"}),(0,ae.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,ae.jsx)(p,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),(0,ae.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,ae.jsx)(Gt,{className:"k-coloreditor-preview-color",color:n}),(0,ae.jsx)(Gt,{className:"k-coloreditor-current-color",color:s})]})]})]}),(0,ae.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,ae.jsx)(Se,{focus:c,size:t,canvasOrientation:h,role:"none",tabIndex:-1}):(0,ae.jsx)(Je,{palette:a,size:t})}),N&&(0,ae.jsxs)(gt,{className:"k-coloreditor-footer",alignment:"start",children:[(0,ae.jsx)(p,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,ae.jsx)(p,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};ne.states=df;ne.options=pf;ne.className=xn;ne.defaultOptions=_a;ne.moduleName=wl;ne.folderName=_l;var $o=ne;var mf=require("react/jsx-runtime");var cf=require("react/jsx-runtime");var zl=require("react/jsx-runtime"),Dl=e=>(0,zl.jsx)($o,{group:!0,currentColor:"fuchsia",...e});var Fl=require("react/jsx-runtime"),Hl=e=>(0,Fl.jsx)($o,{view:"palette",group:!0,currentColor:"fuchsia",...e});var Ur=require("react/jsx-runtime"),uf=ne.options,ff=ne.states,bf={...ne.defaultOptions,variant:"gradient"},xf=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Nf=[],Xo=e=>{let{variant:t,...o}=e;return t==="palette"?(0,Ur.jsx)(Hl,{...o,color:"white"}):(0,Ur.jsx)(Dl,{...o,color:"rgba(183, 118 , 118, 1.00)"})};Xo.options=uf;Xo.states=ff;Xo.variants=xf;Xo.defaultOptions=bf;Xo.modifiers=Nf;Xo.className=ne.className;var Ul="color-picker",Gl="colorpicker";var de=require("react/jsx-runtime"),Vl="k-colorpicker",hf=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],Lf={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},$l={arrowIconName:"chevron-down"},dt=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:n=$l.arrowIconName,prefix:s,suffix:d,value:c,placeholder:f,hover:x,focus:N,valid:h,invalid:m,required:v,disabled:L,valueIconName:M,popup:I,opened:C,adaptive:A,adaptiveSettings:F,adaptiveTitle:te,adaptiveSubtitle:ie,...be}=e,xe="colorpicker-popup";return(0,de.jsxs)(de.Fragment,{children:[(0,de.jsxs)(St,{...be,size:t,rounded:o,fillMode:a,hover:x,focus:N,valid:h,invalid:m,required:v,disabled:L,role:"combobox","aria-haspopup":"dialog","aria-expanded":C?"true":"false","aria-controls":C||A?xe:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":L?"true":void 0,className:i(e.className,Vl,"k-icon-picker"),children:[(0,de.jsx)(Ce,{children:s}),(0,de.jsx)(so,{placeholder:f,value:c,showValue:!1,valueIcon:(0,de.jsx)(Gt,{className:"k-value-icon",color:c,iconName:M}),valueIconName:M}),(0,de.jsx)(ye,{children:d}),(0,de.jsx)(p,{className:"k-input-button",icon:n,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:L})]}),C&&I&&(0,de.jsx)(Y,{id:xe,className:"k-colorpicker-popup",children:I}),A&&(0,de.jsx)(oe,{adaptive:!0,id:xe,...F,header:(0,de.jsx)(He,{actionsEnd:(0,de.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:te,subtitle:ie}),footer:(0,de.jsxs)(Vt,{children:[(0,de.jsx)(p,{text:"Cancel",size:"large"}),(0,de.jsx)(p,{text:"Set",size:"large",themeColor:"primary"})]}),children:(0,de.jsx)(ne,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};dt.states=hf;dt.options=Lf;dt.className=Vl;dt.defaultOptions=$l;dt.moduleName=Ul;dt.folderName=Gl;var Kt=dt;var Xl=require("react/jsx-runtime"),Nn=e=>(0,Xl.jsx)(Kt,{...e});var vf=require("react/jsx-runtime");var Mf=require("react/jsx-runtime");var Sf=require("react/jsx-runtime");var kf=require("react/jsx-runtime");var gf=require("react/jsx-runtime");var If=require("react/jsx-runtime");var Zt=require("react/jsx-runtime"),Ef=Kt.options,Cf=Kt.states,Wl={...Kt.defaultOptions,variant:"color"},yf=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],Tf=[{name:"opened",title:"Opened"}],Wo=e=>{let{variant:t,modifiers:o,...a}={...Wl,...e},n={};Object.keys(o||{}).forEach(d=>{d==="opened"&&(n.opened=!!(o!=null&&o[d]),n.popup=o!=null&&o[d]?(0,Zt.jsx)(ne,{size:a.size,color:"rgba(183, 118 , 118, 1.00)",group:!0}):"")});let s=n.opened?{width:"272px",height:"390px"}:{};switch(t){case"no color":return(0,Zt.jsx)("div",{style:s,children:(0,Zt.jsx)(Nn,{...a,...n})});case"icon":return(0,Zt.jsx)("div",{style:s,children:(0,Zt.jsx)(Nn,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...n})});default:return(0,Zt.jsx)("div",{style:s,children:(0,Zt.jsx)(Nn,{value:"rgba(183, 118 , 118, 1.00)",...a,...n})})}};Wo.options=Ef;Wo.states=Cf;Wo.variants=yf;Wo.defaultOptions=Wl;Wo.modifiers=Tf;Wo.className=Kt.className;var Gr="combobox",Jl=Gr;var H=require("react/jsx-runtime"),ql="k-combobox",Of=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],Af={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Yl={separators:!0},Ge=e=>{let{size:t,rounded:o,fillMode:a,separators:n=Yl.separators,prefix:s,suffix:d,value:c,placeholder:f,hover:x,focus:N,valid:h,invalid:m,required:v,loading:L,disabled:M,popup:I,opened:C,readonly:A,adaptive:F,adaptiveSettings:te,adaptiveTitle:ie,adaptiveSubtitle:be,adaptiveCustomValue:xe,id:no,autocomplete:Tn,activeDescendant:Ut,"aria-label":Ga,...On}=e,An=no?`${no}-listbox`:void 0;return(0,H.jsxs)(H.Fragment,{children:[(0,H.jsxs)(G,{...On,size:t,rounded:o,fillMode:a,hover:x,focus:N,valid:h,invalid:m,required:v,loading:L,disabled:M,readonly:A,className:i(e.className,ql),children:[s&&(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)(Ce,{children:s}),n&&(0,H.jsx)(me,{})]}),(0,H.jsx)(he,{id:no,placeholder:f,value:c,role:"combobox","aria-haspopup":"listbox","aria-expanded":C?"true":"false","aria-controls":C?An:void 0,"aria-activedescendant":C&&Ut?Ut:void 0,"aria-autocomplete":Tn,"aria-invalid":m?"true":void 0,"aria-busy":L?"true":void 0,"aria-label":Ga,disabled:M,readOnly:A}),(0,H.jsx)(se,{valid:h,invalid:m,loading:L,disabled:M}),(0,H.jsx)(pe,{loading:L,disabled:M}),(0,H.jsx)(Ne,{loading:L,disabled:M,readonly:A,value:c}),d&&(0,H.jsxs)(H.Fragment,{children:[n&&(0,H.jsx)(me,{}),(0,H.jsx)(ye,{children:d})]}),(0,H.jsx)(p,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:M})]}),C&&I&&(0,H.jsx)(Y,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:I}),F&&(0,H.jsx)(oe,{adaptive:!0,id:no?`${no}-adaptive`:void 0,...te,header:(0,H.jsx)(He,{actionsEnd:(0,H.jsx)(p,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:c,inputPlaceholder:f,title:ie,subtitle:be}),children:(0,H.jsx)("div",{className:"k-list-container",children:(0,H.jsx)(D,{customValue:xe?(0,H.jsx)(qt,{text:`Use "${c}"`}):void 0,size:"large",children:(0,H.jsxs)(V,{"aria-label":ie||"Options",children:[(0,H.jsx)(P,{text:"List item"}),(0,H.jsx)(P,{text:"List item"}),(0,H.jsx)(P,{text:"List item"})]})})})})]})};Ge.states=Of;Ge.options=Af;Ge.className=ql;Ge.defaultOptions=Yl;Ge.moduleName=Gr;Ge.folderName=Jl;var et=Ge;var Ql=require("react/jsx-runtime"),Zl=e=>(0,Ql.jsx)(et,{...e});var jl=require("react/jsx-runtime");var ed=require("react/jsx-runtime");var td=require("react/jsx-runtime");var od=require("react/jsx-runtime");var ad=require("react/jsx-runtime");var nd=require("react/jsx-runtime");var Vr=require("react/jsx-runtime");var Bf=require("react/jsx-runtime");var Rf=require("react/jsx-runtime");var rd=require("react/jsx-runtime");var id=require("react/jsx-runtime");var Nt=require("react/jsx-runtime"),Pf=Ge.states,Kf=Ge.defaultOptions,wf=Ge.options,_f=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],Df=[],Jo=e=>{let{modifiers:t,...o}=e,a={},n=(0,Nt.jsx)(D,{style:{width:300},size:o.size,children:(0,Nt.jsxs)(V,{children:[(0,Nt.jsx)(P,{children:"List item"}),(0,Nt.jsx)(P,{children:"List item"}),(0,Nt.jsx)(P,{children:"List item"})]})});return Object.keys(t||{}).forEach(s=>{switch(s){case"prefix":a.prefix=t!=null&&t[s]?(0,Nt.jsx)(k,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t!=null&&t[s]?(0,Nt.jsx)(Rt,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!(t!=null&&t[s]),a.popup=t!=null&&t[s]?n:void 0;break;default:break}}),(0,Nt.jsx)("div",{children:(0,Nt.jsx)(Zl,{value:"Value",style:{width:300},...o,...a})})};Jo.options=wf;Jo.states=Pf;Jo.variants=Df;Jo.defaultOptions=Kf;Jo.modifiers=_f;Jo.className=Ge.className;var $r="menu-button",sd=$r;var dd=require("react/jsx-runtime"),ld="k-menu-button",zf=[r.hover,r.focus,r.active,r.selected,r.disabled],Hf={size:[l.undefined,l.xsmall,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[S.undefined,S.base,S.primary,S.secondary,S.tertiary,S.success,S.warning,S.error,S.info,S.inverse]},Xr={showArrow:!0,arrowIconName:"chevron-down"},$=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:d,active:c,selected:f,disabled:x,icon:N,text:h,showArrow:m=Xr.showArrow,arrowIconName:v=Xr.arrowIconName,expanded:L,...M}=e;return(0,dd.jsx)(p,{...M,className:i(e.className,ld),text:h,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:d,active:c,selected:f,disabled:x,ariaDisabled:x||void 0,icon:N,showArrow:m,arrowIconName:v,"aria-expanded":L?"true":"false",...!h&&N&&!e["aria-label"]&&{"aria-label":"Menu"}})};$.states=zf;$.options=Hf;$.className=ld;$.defaultOptions=Xr;$.moduleName=$r;$.folderName=sd;var Ff=require("react/jsx-runtime");var Uf=require("react/jsx-runtime");var Gf=require("react/jsx-runtime");var tt="menu",pt=tt;var wt=require("react/jsx-runtime"),Wr="k-menu-item",Vf=[r.hover,r.focus,r.active,r.selected,r.disabled],$f={},pd={iconPosition:"before"},Be=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:d,text:c,showArrow:f,arrowIconName:x,iconPosition:N=pd.iconPosition,dir:h,children:m,expanded:v,...L}=e,M=x;return M||(M=h==="rtl"?"chevron-left":"chevron-right"),(0,wt.jsxs)("li",{...L,className:i(e.className,Wr,"k-item",y(Wr,{focus:o,disabled:s,hover:t,active:a,selected:n})),role:"menuitem",...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":v?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,wt.jsxs)("span",{className:i("k-link k-menu-link"),children:[d&&N==="before"&&(0,wt.jsx)(k,{className:"k-menu-link-icon",icon:d}),(0,wt.jsx)("span",{className:"k-menu-link-text",children:c}),d&&N==="after"&&(0,wt.jsx)(k,{className:"k-menu-link-icon",icon:d}),f&&(0,wt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,wt.jsx)(k,{icon:M})})]}),m]})};Be.states=Vf;Be.options=$f;Be.className=Wr;Be.defaultOptions=pd;Be.moduleName=tt;Be.folderName=pt;var ht=require("react/jsx-runtime"),Jr="k-menu-item",Xf=[r.hover,r.focus,r.active,r.selected,r.disabled],Wf={},qr={dir:"ltr",iconPosition:"before"},j=e=>{let{hover:t,focus:o,active:a,selected:n,disabled:s,icon:d,text:c,showArrow:f,arrowIconName:x,iconPosition:N=qr.iconPosition,dir:h=qr.dir,children:m,popup:v,expanded:L,actions:M,description:I,...C}=e,A=x;return A||(A=h==="rtl"?"chevron-left":"chevron-right"),(0,ht.jsxs)("li",{role:"menuitem",...C,className:i(e.className,Jr,"k-item",y(Jr,{focus:o,disabled:s})),...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":L?"true":"false"},...s&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,ht.jsxs)("span",{className:i("k-link k-menu-link",y("k-menu-link",{hover:t,active:a,selected:n,disabled:s})),children:[d&&N==="before"&&(0,ht.jsx)(k,{className:"k-menu-link-icon",icon:d}),(0,ht.jsx)("span",{className:"k-menu-link-text",children:c}),d&&N==="after"&&(0,ht.jsx)(k,{className:"k-menu-link-icon",icon:d}),M&&(0,ht.jsx)("span",{className:"k-menu-link-actions",children:M}),f&&(0,ht.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,ht.jsx)(k,{icon:A})}),I&&(0,ht.jsx)("span",{className:"k-menu-link-description",children:I})]}),m,v]})};j.states=Xf;j.options=Wf;j.className=Jr;j.defaultOptions=qr;j.moduleName=tt;j.folderName=pt;var ud=require("react/jsx-runtime"),md="k-menu-scroll-wrapper",Jf=[],qf={},Yf={},uo=e=>{let{className:t,children:o,orientation:a,...n}=e;return(0,ud.jsx)("div",{...n,className:i(t,md,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};uo.states=Jf;uo.options=qf;uo.className=md;uo.defaultOptions=Yf;uo.moduleName=tt;uo.folderName=pt;var cd=uo;var ke=require("react/jsx-runtime"),Ln="k-menu",Zf=[],Qf={size:[l.undefined,l.small,l.medium,l.large]},vn={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},ge=e=>{let{children:t,orientation:o=vn.orientation,header:a=vn.header,scrollable:n,scrollButtonsPosition:s=vn.scrollButtonsPosition,wrapperStyles:d,dir:c,size:f,popup:x,contextMenu:N,...h}=e,m={horizontal:{prev:c!=="rtl"?"left":"right",next:c!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},v=(0,ke.jsx)("ul",{dir:c,...h,className:i(e.className,"k-reset",Ln,{[`${Ln}-${o}`]:o,"k-header":a},E(Ln,{size:f})),role:N?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return(0,ke.jsxs)(ke.Fragment,{children:[n?(0,ke.jsxs)(cd,{orientation:o,style:d,dir:e.dir,children:[s==="start"&&(0,ke.jsxs)(ke.Fragment,{children:[(0,ke.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,ke.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&(0,ke.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),v,s==="end"&&(0,ke.jsxs)(ke.Fragment,{children:[(0,ke.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].prev}`,className:"k-menu-scroll-button k-menu-scroll-button-prev",tabIndex:-1,"aria-label":"Scroll previous"}),(0,ke.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}),s==="around"&&(0,ke.jsx)(p,{fillMode:"flat",size:"xsmall",icon:`chevron-${m[o].next}`,className:"k-menu-scroll-button k-menu-scroll-button-next",tabIndex:-1,"aria-label":"Scroll next"})]}):v,x]})};ge.states=Zf;ge.options=Qf;ge.className=Ln;ge.defaultOptions=vn;ge.moduleName=tt;ge.folderName=pt;var bd=require("react/jsx-runtime"),Yr="k-separator",fd={orientation:"horizontal"},qo=e=>{let{orientation:t=fd.orientation,...o}=e;return(0,bd.jsx)("li",{...o,className:i(e.className,"k-item",Yr,{[`${Yr}-${t}`]:t}),role:"separator"})};qo.className=Yr;qo.defaultOptions=fd;qo.moduleName=tt;qo.folderName=pt;var xd=require("react/jsx-runtime");var Nd=require("react/jsx-runtime"),Zr="k-menu-group",jf=[],eb={size:[l.undefined,l.small,l.medium,l.large]},tb={},Re=e=>{let{children:t,size:o,...a}=e;return(0,Nd.jsx)("ul",{role:"menu",...a,className:i(e.className,Zr,E(Zr,{size:o})),children:t})};Re.states=jf;Re.options=eb;Re.className=Zr;Re.defaultOptions=tb;Re.moduleName=tt;Re.folderName=pt;var hd=require("react/jsx-runtime");var Lt=require("react/jsx-runtime"),Qr=e=>(0,Lt.jsx)(ge,{children:(0,Lt.jsxs)(Lt.Fragment,{children:[(0,Lt.jsx)(Be,{text:"Item 1"}),(0,Lt.jsx)(Be,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),(0,Lt.jsx)(Be,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),(0,Lt.jsx)(Be,{text:"Item 4"}),(0,Lt.jsx)(Be,{text:"Item 5"})]}),...e});var jr=require("react/jsx-runtime");var ei=require("react/jsx-runtime");var ti=require("react/jsx-runtime");var oi=require("react/jsx-runtime");var Ct=require("react/jsx-runtime"),ob={...ge.options,scrollable:{type:"boolean"}},ab=ge.states,Ld={...ge.defaultOptions,variant:"horizontal"},nb=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],rb=[{name:"opened",title:"Opened"}],Yo=e=>{let{variant:t,modifiers:o,...a}={...Ld,...e},n={},s=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(d=>{d==="opened"&&(n.opened=!!(o!=null&&o[d]),n.popup=o!=null&&o[d]?(0,Ct.jsx)(Y,{className:"k-menu-popup",offset:s,children:(0,Ct.jsxs)(Re,{children:[(0,Ct.jsx)(j,{text:"Item 1"}),(0,Ct.jsx)(j,{text:"Item 2"}),(0,Ct.jsx)(qo,{}),(0,Ct.jsx)(j,{text:"Item 3"})]})}):null)}),t==="vertical"?(0,Ct.jsx)(Qr,{...a,...n,orientation:"vertical",style:{width:"200px"}}):(0,Ct.jsx)(Qr,{...a,...n})};Yo.options=ob;Yo.states=ab;Yo.variants=nb;Yo.defaultOptions=Ld;Yo.modifiers=rb;Yo.className=ge.className;var ai=require("react/jsx-runtime");var ib=require("react/jsx-runtime");var Pe=require("react/jsx-runtime"),sb=p.states,vd={...p.defaultOptions,variant:"text"},lb=p.options,db=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],pb=[{name:"opened",title:"Opened"}],Zo=e=>{let{variant:t,modifiers:o,...a}={...vd,...e},n={},s=(0,Pe.jsx)(Y,{className:"k-menu-popup",children:(0,Pe.jsxs)(Re,{size:a.size,children:[(0,Pe.jsx)(j,{text:"Menu Item"}),(0,Pe.jsx)(j,{text:"Menu Item"}),(0,Pe.jsx)(j,{text:"Menu Item"})]})}),d;switch(t){case"icon-only":d=(0,Pe.jsx)("div",{children:(0,Pe.jsx)($,{...a,...n,icon:"star"})});break;case"icon-and-text":d=(0,Pe.jsx)("div",{children:(0,Pe.jsx)($,{...a,...n,icon:"star",children:"Dropdown Button"})});break;default:d=(0,Pe.jsx)("div",{children:(0,Pe.jsx)($,{...a,...n,children:"Dropdown Button"})});break}return(0,Pe.jsxs)(Pe.Fragment,{children:[d,(o==null?void 0:o.opened)&&s]})};Zo.options=lb;Zo.states=sb;Zo.variants=db;Zo.defaultOptions=vd;Zo.modifiers=pb;Zo.className=$.className;var ni="split-button",Md=ni;var _t=require("react/jsx-runtime"),ri="k-split-button",mb=[r.hover,r.focus,r.active,r.selected,r.disabled],cb={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[S.undefined,S.base,S.primary,S.secondary,S.tertiary,S.success,S.warning,S.error,S.info,S.inverse]},Sd={arrowIconName:"chevron-down"},z=e=>{let{size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:d,active:c,selected:f,disabled:x,icon:N,text:h,arrowIconName:m=Sd.arrowIconName,popup:v,opened:L,popupId:M,...I}=e;return(0,_t.jsxs)(_t.Fragment,{children:[(0,_t.jsxs)("div",{...I,className:i(e.className,ri,"k-button-group",E(ri,{rounded:o})),children:[(0,_t.jsx)(p,{text:h,icon:N,size:t,rounded:o,fillMode:a,themeColor:n,hover:s,focus:d,active:c,selected:f,disabled:x,...!h&&!e.children&&N&&{"aria-label":"Action"},children:e.children}),(0,_t.jsx)(p,{className:"k-split-button-arrow",icon:m,size:t,rounded:o,fillMode:a,disabled:x,ariaDisabled:x||void 0,"aria-label":"Toggle dropdown","aria-expanded":L?"true":"false","aria-controls":L?M:void 0,tabIndex:-1})]}),L&&v&&(0,_t.jsx)(Y,{className:"k-menu-popup",children:v})]})};z.states=mb;z.options=cb;z.className=ri;z.defaultOptions=Sd;z.moduleName=ni;z.folderName=Md;var ii=z;var kd=require("react/jsx-runtime"),ub="k-toolbar-separator",ue=e=>(0,kd.jsx)("div",{className:i(ub,e.className,"k-separator")});var fo="toolbar",Qo=fo;var O=require("react/jsx-runtime"),Dt="k-toolbar",fb=[r.focus],bb={size:[l.undefined,l.small,l.medium,l.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},xb={scrollButtons:"around"},W=e=>{let{size:t,fillMode:o,focus:a,resizable:n,scrollable:s,scrollButtons:d,scrollingPosition:c,section:f,...x}=e,N=[],h=(m,v)=>{let L=[];if(m.type===p&&m.props.className&&m.props.className.includes("k-toolbar-overflow-button"))L.push((0,O.jsx)(p,{...m.props,className:`${m.props.className?m.props.className:""}`},`${v}-${new Date().getTime()}`));else if(m.type===p)L.push((0,O.jsx)(p,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${v}-${new Date().getTime()}`));else if(m.type===La)L.push((0,O.jsx)(La,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${v}-${new Date().getTime()}`));else if(m.type===Rt)L.push((0,O.jsx)(Rt,{...m.props,className:`k-toolbar-button ${m.props.className?m.props.className:""}`},`${v}-${new Date().getTime()}`));else if(m.type===$)L.push((0,O.jsx)($,{...m.props,className:`k-toolbar-menu-button ${m.props.className?m.props.className:""}`},`${v}-${new Date().getTime()}`));else if(m.type===ii)L.push((0,O.jsx)(ii,{...m.props,className:`k-toolbar-split-button ${m.props.className?m.props.className:""}`},`${v}-${new Date().getTime()}`));else if(m.type===R||m.props.className&&m.props.className.includes("k-button-group")){let M=[];(Array.isArray(m.props.children)?m.props.children:[m.props.children]).forEach((C,A)=>{M.push((0,O.jsx)(p,{...C.props,className:`${C.props.className?C.props.className:""}`},`${A}-${new Date().getTime()}`))}),L.push((0,O.jsx)(R,{...m.props,className:`k-toolbar-button-group ${m.props.className?m.props.className:""}`,children:M},`${v}-${new Date().getTime()}`))}else m.type===Ge?L.push((0,O.jsx)(Ge,{...m.props,className:`k-toolbar-combobox ${m.props.className?m.props.className:""}`},`${v}-${new Date().getTime()}`)):m.type===K?L.push((0,O.jsx)(K,{...m.props,className:`k-toolbar-dropdownlist ${m.props.className?m.props.className:""}`},`${v}-${new Date().getTime()}`)):m.type===dt?L.push((0,O.jsx)(dt,{...m.props,className:`k-toolbar-colorpicker ${m.props.className?m.props.className:""}`},`${v}-${new Date().getTime()}`)):L.push(m);L.forEach(M=>{N.push(M)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((v,L)=>{h(v,L)}),(0,O.jsxs)("div",{...x,className:i(e.className,Dt,E(Dt,{size:t,fillMode:o}),y(Dt,{focus:a}),{[`${Dt}-resizable`]:n,[`${Dt}-scrollable`]:s,[`${Dt}-scrollable-overlay`]:s&&d==="hidden",[`${Dt}-scrollable-${c}`]:c&&c!=="both",[`${Dt}-section`]:f}),role:"toolbar","aria-label":"Toolbar",children:[!s&&N,s&&d==="hidden"&&(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),s&&d==="start"&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)(R,{children:[(0,O.jsx)("span",{className:i("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(k,{className:"k-button-icon",icon:"chevron-left"})}),(0,O.jsx)("span",{className:i("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(k,{className:"k-button-icon",icon:"chevron-right"})})]}),(0,O.jsx)(ue,{className:"k-toolbar-button-separator"}),(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N})]}),s&&d==="end"&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),(0,O.jsx)(ue,{className:"k-toolbar-button-separator"}),(0,O.jsxs)(R,{children:[(0,O.jsx)("span",{className:i("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(k,{className:"k-button-icon",icon:"chevron-left"})}),(0,O.jsx)("span",{className:i("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(k,{className:"k-button-icon",icon:"chevron-right"})})]})]}),s&&(d==="around"||!d)&&(0,O.jsxs)(O.Fragment,{children:[(0,O.jsx)("span",{className:i("k-toolbar-prev","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(k,{className:"k-button-icon",icon:"chevron-left"})}),(0,O.jsx)(ue,{className:"k-toolbar-button-separator"}),(0,O.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:N}),(0,O.jsx)(ue,{className:"k-toolbar-button-separator"}),(0,O.jsx)("span",{className:i("k-toolbar-next","k-button",E("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,O.jsx)(k,{className:"k-button-icon",icon:"chevron-right"})})]})]})};W.states=fb;W.options=bb;W.className=Dt;W.defaultOptions=xb;W.moduleName=fo;W.folderName=Qo;var gd=require("react/jsx-runtime"),si="k-toolbar-item",Nb=[r.focus],hb={},Lb={},vt=e=>{let{focus:t,...o}=e;return(0,gd.jsx)("div",{...o,className:i(e.className,si,y(si,{focus:t})),children:e.children})};vt.states=Nb;vt.options=hb;vt.className=si;vt.defaultOptions=Lb;vt.moduleName=fo;vt.folderName=Qo;var li=require("react/jsx-runtime"),Id="k-toolbar-popup",vb=[],Mb={size:[l.undefined,l.small,l.medium,l.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},Sb={},bo=e=>{let{size:t,fillMode:o,section:a,...n}=e;return(0,li.jsx)(Y,{...n,className:i(e.className,Id),children:a?(0,li.jsx)("span",{className:i("k-toolbar-items-list",E("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};bo.states=vb;bo.options=Mb;bo.className=Id;bo.defaultOptions=Sb;bo.moduleName=fo;bo.folderName=Qo;var Mn=bo;var kb=require("react/jsx-runtime");var gb=require("react/jsx-runtime");var Ib=require("react/jsx-runtime");var Ed=require("react/jsx-runtime");var Eb=require("react/jsx-runtime");var mt=require("react/jsx-runtime"),Cb=z.states,Cd={...z.defaultOptions,variant:"text"},yb=z.options,Tb=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Ob=[{name:"opened",title:"Opened"}],jo=e=>{let{variant:t,modifiers:o,...a}={...Cd,...e},n={},s=(0,mt.jsxs)(Re,{size:a.size,children:[(0,mt.jsx)(j,{text:"Menu Item"}),(0,mt.jsx)(j,{text:"Menu Item"}),(0,mt.jsx)(j,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(d=>{d==="opened"&&(n.opened=!!(o!=null&&o[d]),n.popup=o!=null&&o[d]?s:"")}),t){case"icon-only":return(0,mt.jsx)("div",{children:(0,mt.jsx)(z,{...a,...n,icon:"star"})});case"icon-and-text":return(0,mt.jsx)("div",{children:(0,mt.jsx)(z,{...a,...n,icon:"star",children:"Split Button"})});default:return(0,mt.jsx)("div",{children:(0,mt.jsx)(z,{...a,...n,children:"Split Button"})})}};jo.options=yb;jo.states=Cb;jo.variants=Tb;jo.defaultOptions=Cd;jo.modifiers=Ob;jo.className=z.className;var yt=require("react/jsx-runtime"),yd=e=>(0,yt.jsx)(W,{children:[(0,yt.jsx)(p,{children:"Button"},"toolbar-button"),(0,yt.jsx)($,{text:"Menu button"},"toolbar-menu-button"),(0,yt.jsx)(z,{children:"Split button"},"toolbar-split-button"),(0,yt.jsxs)(R,{children:[(0,yt.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,yt.jsx)(p,{icon:"align-center",children:"Center"}),(0,yt.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var Td=require("react/jsx-runtime");var Ie=require("react/jsx-runtime"),Od=e=>(0,Ie.jsx)(W,{scrollable:!0,...e,children:[(0,Ie.jsx)(p,{children:"Button"},"toolbar-button"),(0,Ie.jsx)($,{text:"Menu button"},"toolbar-menu-button"),(0,Ie.jsx)(z,{children:"Split button"},"toolbar-split-button"),(0,Ie.jsxs)(R,{children:[(0,Ie.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Ie.jsx)(p,{icon:"align-center",children:"Center"}),(0,Ie.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,Ie.jsx)(p,{children:"Button"},"toolbar-button"),(0,Ie.jsx)($,{text:"Menu button"},"toolbar-menu-button"),(0,Ie.jsx)(z,{children:"Split button"},"toolbar-split-button"),(0,Ie.jsxs)(R,{children:[(0,Ie.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Ie.jsx)(p,{icon:"align-center",children:"Center"}),(0,Ie.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var Ee=require("react/jsx-runtime"),Ad=({scrollingPosition:e="start",...t})=>(0,Ee.jsx)(W,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[(0,Ee.jsx)(p,{children:"Button"},"toolbar-button"),(0,Ee.jsx)($,{text:"Menu button"},"toolbar-menu-button"),(0,Ee.jsx)(z,{children:"Split button"},"toolbar-split-button"),(0,Ee.jsxs)(R,{children:[(0,Ee.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Ee.jsx)(p,{icon:"align-center",children:"Center"}),(0,Ee.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,Ee.jsx)(p,{children:"Button"},"toolbar-button"),(0,Ee.jsx)($,{text:"Menu button"},"toolbar-menu-button"),(0,Ee.jsx)(z,{children:"Split button"},"toolbar-split-button"),(0,Ee.jsxs)(R,{children:[(0,Ee.jsx)(p,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Ee.jsx)(p,{icon:"align-center",children:"Center"}),(0,Ee.jsx)(p,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});var ee=require("react/jsx-runtime"),Bd=({fillMode:e,size:t,...o})=>(0,ee.jsxs)(ee.Fragment,{children:[(0,ee.jsx)(W,{section:!0,fillMode:e,size:t,children:[(0,ee.jsx)(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,ee.jsxs)(R,{fillMode:e,children:[(0,ee.jsx)(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,ee.jsx)(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,ee.jsx)(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),(0,ee.jsx)(ue,{className:"k-toolbar-button-separator"}),(0,ee.jsx)(p,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),(0,ee.jsxs)(Mn,{size:t,fillMode:e,section:!0,...o,children:[(0,ee.jsx)(z,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),(0,ee.jsx)(p,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,ee.jsx)(ue,{}),(0,ee.jsx)($,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),(0,ee.jsxs)(R,{fillMode:e,children:[(0,ee.jsx)(p,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,ee.jsx)(p,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,ee.jsx)(p,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});var di=require("react/jsx-runtime");var pi=require("react/jsx-runtime");var zt=require("react/jsx-runtime"),Ab=W.options,Bb=W.states,Rd={...W.defaultOptions,variant:"default"},Rb=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],Pb=[],ea=e=>{let{variant:t,...o}={...Rd,...e};switch(t){case"responsive":return(0,zt.jsx)("div",{children:(0,zt.jsx)(Bd,{style:{width:"583px"},...o})});case"overlay":return(0,zt.jsx)("div",{children:(0,zt.jsx)(Ad,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return(0,zt.jsx)("div",{children:(0,zt.jsx)(Od,{style:{width:"583px"},...o})});default:return(0,zt.jsx)("div",{children:(0,zt.jsx)(yd,{style:{width:"583px"},...o})})}};ea.options=Ab;ea.states=Bb;ea.variants=Rb;ea.defaultOptions=Rd;ea.modifiers=Pb;ea.className=W.className;var qe=require("react/jsx-runtime"),Pd="k-imageeditor-toolbar",Kb=[],wb={},_b=[(0,qe.jsx)(p,{icon:"upload","aria-label":"Upload"},"toolbar-button-1"),(0,qe.jsx)(p,{disabled:!0,icon:"download","aria-label":"Download"},"toolbar-button-2"),(0,qe.jsx)(ue,{},"toolbar-separator-1"),(0,qe.jsx)(p,{disabled:!0,icon:"undo","aria-label":"Undo"},"toolbar-button-3"),(0,qe.jsx)(p,{disabled:!0,icon:"redo","aria-label":"Redo"},"toolbar-button-4"),(0,qe.jsx)(ue,{},"toolbar-separator-2"),(0,qe.jsx)(p,{disabled:!0,icon:"crop","aria-label":"Crop"},"toolbar-button-5"),(0,qe.jsx)(p,{disabled:!0,icon:"image-resize","aria-label":"Resize"},"toolbar-button-6"),(0,qe.jsx)(p,{disabled:!0,icon:"zoom-in","aria-label":"Zoom in"},"toolbar-button-7"),(0,qe.jsx)(p,{disabled:!0,icon:"zoom-out","aria-label":"Zoom out"},"toolbar-button-8"),(0,qe.jsx)(vt,{children:(0,qe.jsx)(K,{disabled:!0,value:"Zoom options","aria-label":"Zoom options"})},"toolbar-item-1")],Kd={toolbarItems:_b},ta=e=>{let{toolbarItems:t=Kd.toolbarItems,...o}=e;return(0,qe.jsx)(W,{...o,className:i(e.className,Pd),children:t})};ta.states=Kb;ta.options=wb;ta.className=Pd;ta.defaultOptions=Kd;var wd="image-editor",_d="imageeditor";var Ht=require("react/jsx-runtime"),Dd="k-imageeditor",Db=[],zb={},Hb={},Tt=e=>{let{toolbarItems:t,actionPane:o,contentHeight:a,children:n,...s}=e;return(0,Ht.jsxs)("div",{...s,className:i(e.className,Dd),children:[(0,Ht.jsx)("div",{className:"k-imageeditor-header",children:(0,Ht.jsx)(ta,{toolbarItems:t})}),(0,Ht.jsxs)("div",{className:"k-imageeditor-content",style:{height:a},children:[(0,Ht.jsx)("div",{className:"k-imageeditor-canvas-container",children:(0,Ht.jsx)("div",{className:"k-imageeditor-canvas",children:n})}),o&&(0,Ht.jsx)("div",{className:"k-imageeditor-action-pane",children:o})]})]})};Tt.states=Db;Tt.options=zb;Tt.className=Dd;Tt.defaultOptions=Hb;Tt.moduleName=wd;Tt.folderName=_d;var Fb=require("react/jsx-runtime");var zd="form",Hd="forms";var Ot=require("react/jsx-runtime"),Sn="k-form",Ub=[],Gb={size:[l.undefined,l.small,l.medium,l.large]},mi={layout:"basic",tag:"form"},fe=e=>{let{size:t,orientation:o,layout:a=mi.layout,formButtons:n,cols:s,gutters:d,tag:c=mi.tag,children:f,style:x}=e,N=c,h=i(e.className,Sn,E(Sn,{size:t}),{[`${Sn}-${o}`]:o}),m=(0,Ot.jsxs)(Ot.Fragment,{children:[a==="grid"?(0,Ot.jsx)("div",{className:i("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},...x},children:f}):(0,Ot.jsx)(Ot.Fragment,{children:f}),n&&(0,Ot.jsx)("div",{className:"k-form-buttons",children:n})]}),{role:v,"aria-labelledby":L,"aria-label":M,id:I}=e;return(0,Ot.jsx)(N,{className:h,role:v,"aria-labelledby":L,"aria-label":M,id:I,children:m})};fe.states=Ub;fe.options=Gb;fe.className=Sn;fe.defaultOptions=mi;fe.moduleName=zd;fe.folderName=Hd;var Fd="label",Ud="label";var Da=require("react/jsx-runtime"),ci="k-label",Vb=[r.disabled],$b={},Xb={},Qt=e=>{let{disabled:t,optional:o,info:a,text:n,children:s,...d}=e;return(0,Da.jsxs)("label",{...d,className:i(e.className,ci,y(ci,{disabled:t})),children:[n||s,o&&(0,Da.jsx)("span",{className:"k-label-optional",children:"(Optional)"}),a&&(0,Da.jsx)("span",{className:"k-field-info",children:a})]})};Qt.states=Vb;Qt.options=$b;Qt.className=ci;Qt.defaultOptions=Xb;Qt.moduleName=Fd;Qt.folderName=Ud;var Vd=require("react/jsx-runtime"),Gd="k-form-hint",Wb=[],Jb={},qb={},ct=e=>{let{text:t,children:o,...a}=e;return(0,Vd.jsx)("div",{...a,className:i(e.className,Gd),children:t||o})};ct.states=Wb;ct.options=Jb;ct.className=Gd;ct.defaultOptions=qb;var Xd=require("react/jsx-runtime"),$d="k-form-error",Yb=[],Zb={},Qb={},ut=e=>{let{text:t,children:o,...a}=e;return(0,Xd.jsx)("div",{...a,className:i(e.className,$d),children:t||o})};ut.states=Yb;ut.options=Zb;ut.className=$d;ut.defaultOptions=Qb;var jt=require("react/jsx-runtime"),ui="k-form-field",jb=[r.disabled],re=e=>{let{editorId:t,label:o,orientation:a,optional:n,editor:s,hint:d,error:c,info:f,disabled:x,dir:N,colSpan:h,...m}=e;return(0,jt.jsxs)("div",{...m,className:i(ui,e.className,y(ui,{disabled:x}),{[`k-col-span-${h}`]:h}),dir:N,children:[o&&(0,jt.jsx)(Qt,{className:"k-form-label",id:t?`${t}-label`:void 0,htmlFor:t||void 0,optional:n,info:f?"(field info)":void 0,children:o}),a==="horizontal"&&!o&&(0,jt.jsx)("span",{className:"k-label k-form-label k-label-empty"}),(0,jt.jsxs)("div",{className:"k-form-field-wrap",children:[s,d&&(0,jt.jsx)(ct,{id:t?`${t}-hint`:void 0,children:d}),c&&(0,jt.jsx)(ut,{id:t?`${t}-error`:void 0,children:c})]})]})};re.states=jb;re.className=ui;var eo=require("react/jsx-runtime"),Wd="k-form-fieldset",At=e=>{let{legend:t,layout:o,cols:a,gutters:n,colSpan:s}=e;return(0,eo.jsxs)("fieldset",{className:i(Wd,{[`k-col-span-${s}`]:s}),children:[t&&(0,eo.jsx)("legend",{className:"k-form-legend",children:t}),o==="grid"?(0,eo.jsx)("div",{className:i("k-form-layout","k-d-grid",{[`k-grid-cols-${a}`]:a}),style:{...typeof n=="string"&&{gap:n},...typeof n=="object"&&n.rows&&{rowGap:n.rows},...typeof n=="object"&&n.cols&&{columnGap:n.cols}},children:e.children}):(0,eo.jsx)(eo.Fragment,{children:e.children})]})};At.className=Wd;var xo="radio",oa=xo;var fi=require("react/jsx-runtime"),kn="k-radio",ex=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked],tx={size:[l.undefined,l.small,l.medium,l.large]},ox={},Ke=e=>{let{id:t,checked:o,hover:a,focus:n,disabled:s,invalid:d,valid:c,required:f,size:x,...N}=e;return(0,fi.jsx)("span",{className:"k-radio-wrap",children:(0,fi.jsx)("input",{...N,id:t,type:"radio",checked:o,required:f,disabled:s||void 0,"aria-invalid":d?"true":void 0,className:i(e.className,kn,E(kn,{size:x}),y(kn,{hover:a,focus:n,disabled:s,invalid:d,valid:c,checked:o}))})})};Ke.states=ex;Ke.options=tx;Ke.className=kn;Ke.defaultOptions=ox;Ke.moduleName=xo;Ke.folderName=oa;var ft=Ke;var Yd=require("react/jsx-runtime"),Jd="k-radio-list",ax=[],nx={},qd={layout:"vertical"},we=e=>{let{layout:t=qd.layout,...o}=e;return(0,Yd.jsx)("ul",{...o,className:i(e.className,Jd,{[`k-list-${t}`]:t}),role:"radiogroup",children:e.children})};we.states=ax;we.options=nx;we.className=Jd;we.defaultOptions=qd;we.moduleName=xo;we.folderName=oa;var Qd=require("react/jsx-runtime"),Zd="k-radio-list-item",rx=[],ix={},sx={},_e=e=>{let{...t}=e;return(0,Qd.jsx)("li",{...t,className:i(e.className,Zd),role:"none",children:e.children})};_e.states=rx;_e.options=ix;_e.className=Zd;_e.defaultOptions=sx;_e.moduleName=xo;_e.folderName=oa;var lx=require("react/jsx-runtime");var No=require("react/jsx-runtime"),Ft=({children:e,id:t,...o})=>(0,No.jsxs)(No.Fragment,{children:[(0,No.jsx)(ft,{...o,id:t}),(0,No.jsx)("label",{className:"k-radio-label",htmlFor:t,children:e})]});var bi=require("react/jsx-runtime");var xi=require("react/jsx-runtime");var Ni=require("react/jsx-runtime");var hi=require("react/jsx-runtime");var Li=require("react/jsx-runtime");var px=require("react/jsx-runtime");var jd=require("react/jsx-runtime"),mx=ft.options,cx=ft.states,ux=ft.defaultOptions,fx=[],bx=[],aa=e=>(0,jd.jsx)(Ft,{id:B("radio"),name:"value",...e,children:"Label"});aa.options=mx;aa.states=cx;aa.variants=fx;aa.defaultOptions=ux;aa.modifiers=bx;aa.className=ft.className;var De=require("react/jsx-runtime"),xx=we.options,Nx=we.states,hx={...we.defaultOptions,variant:"vertical"},Lx=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],vx=[],na=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,De.jsxs)(we,{layout:"horizontal",...o,children:[(0,De.jsx)(_e,{children:(0,De.jsx)(Ft,{id:B("rb"),name:"value",defaultChecked:!0,children:"Label"})}),(0,De.jsx)(_e,{children:(0,De.jsx)(Ft,{id:B("rb"),name:"value",children:"Label"})}),(0,De.jsx)(_e,{children:(0,De.jsx)(Ft,{id:B("rb"),name:"value",children:"Label"})})]}):(0,De.jsxs)(we,{...o,children:[(0,De.jsx)(_e,{children:(0,De.jsx)(Ft,{id:B("rb"),name:"value",defaultChecked:!0,children:"Label"})}),(0,De.jsx)(_e,{children:(0,De.jsx)(Ft,{id:B("rb"),name:"value",children:"Label"})}),(0,De.jsx)(_e,{children:(0,De.jsx)(Ft,{id:B("rb"),name:"value",children:"Label"})})]})};na.options=xx;na.states=Nx;na.variants=Lx;na.defaultOptions=hx;na.modifiers=vx;na.className=we.className;var J=require("react/jsx-runtime"),vi=e=>{let{size:t,children:o,...a}=e;return(0,J.jsx)(fe,{formButtons:(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)(p,{className:"k-form-submit",themeColor:"primary",size:t,children:"Submit"}),(0,J.jsx)(p,{className:"k-form-clear",size:t,children:"Clear"})]}),size:t,...a,children:o||(0,J.jsxs)(At,{legend:"Form Legend",children:[(0,J.jsx)(re,{label:"Label",editor:(0,J.jsx)(U,{size:t})}),(0,J.jsx)(re,{label:"Label",hint:"Hint text",editor:(0,J.jsx)(K,{value:"Dropdown List",size:t,"aria-label":"Label"})}),(0,J.jsx)(re,{label:"City",editor:(0,J.jsxs)("ul",{className:"k-radio-list k-list-horizontal",children:[(0,J.jsxs)("li",{className:"k-radio-list-item",children:[(0,J.jsx)(Ke,{defaultChecked:!0,size:t}),(0,J.jsx)("label",{className:"k-radio-label",children:"Label"})]}),(0,J.jsxs)("li",{className:"k-radio-list-item",children:[(0,J.jsx)(Ke,{size:t}),(0,J.jsx)("label",{className:"k-radio-label",children:"Label"})]}),(0,J.jsxs)("li",{className:"k-radio-list-item",children:[(0,J.jsx)(Ke,{size:t}),(0,J.jsx)("label",{className:"k-radio-label",children:"Label"})]})]})})]})})};var Mi=require("react/jsx-runtime");var Si=require("react/jsx-runtime");var ep="date-input",tp="dateinput";var to=require("react/jsx-runtime"),op="k-dateinput",Mx=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Sx={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},kx={},ot=e=>{let{size:t,rounded:o,fillMode:a,value:n,placeholder:s,hover:d,focus:c,valid:f,invalid:x,required:N,loading:h,disabled:m,readonly:v,showClearButton:L,showSpinButton:M,id:I,"aria-label":C,"aria-describedby":A,...F}=e;return(0,to.jsxs)(G,{...F,size:t,rounded:o,fillMode:a,hover:d,focus:c,valid:f,invalid:x,required:N,loading:h,disabled:m,readonly:v,className:i(e.className,op),children:[(0,to.jsx)(he,{id:I,placeholder:s,value:n,disabled:m,"aria-label":C,"aria-describedby":A,"aria-invalid":x?"true":void 0}),(0,to.jsx)(se,{valid:f,invalid:x,loading:h,disabled:m}),(0,to.jsx)(pe,{loading:h,disabled:m}),L&&(0,to.jsx)(Ne,{loading:h,disabled:m,readonly:v,value:n}),M&&(0,to.jsx)(It,{className:"k-input-spinner",size:t,fillMode:a,disabled:m})]})};ot.states=Mx;ot.options=Sx;ot.className=op;ot.defaultOptions=kx;ot.moduleName=ep;ot.folderName=tp;var ki=ot;var np=require("react/jsx-runtime"),ap=e=>(0,np.jsx)(ki,{...e});var gx=require("react/jsx-runtime");var rp=require("react/jsx-runtime"),Ix=ot.options,Ex=ot.states,Cx=ot.defaultOptions,yx=[{name:"spin-button",title:"`Spin` Button"}],Tx=[],ra=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{n==="spin-button"&&(a.showSpinButton=!!(t!=null&&t[n]))}),(0,rp.jsx)(ap,{value:"2/04/2021",style:{width:"300px"},...o,...a})};ra.options=Ix;ra.states=Ex;ra.variants=Tx;ra.defaultOptions=Cx;ra.modifiers=yx;ra.className=ot.className;var ip="masked-textbox",sp="maskedtextbox";var ze=require("react/jsx-runtime"),lp="k-maskedtextbox",Ox=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Ax={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},gi={showClearButton:!0,separators:!0},at=e=>{let{size:t,rounded:o,fillMode:a,separators:n=gi.separators,showClearButton:s=gi.showClearButton,prefix:d,suffix:c,value:f,placeholder:x,hover:N,focus:h,valid:m,invalid:v,required:L,loading:M,disabled:I,readonly:C,id:A,"aria-label":F,"aria-describedby":te,...ie}=e;return(0,ze.jsxs)(G,{...ie,size:t,rounded:o,fillMode:a,hover:N,focus:h,valid:m,invalid:v,required:L,loading:M,disabled:I,readonly:C,className:i(e.className,lp),children:[d&&(0,ze.jsxs)(ze.Fragment,{children:[(0,ze.jsx)(Ce,{children:d}),n&&(0,ze.jsx)(me,{})]}),(0,ze.jsx)(he,{id:A,placeholder:x,value:f,disabled:I,"aria-label":F,"aria-describedby":te,"aria-invalid":v?"true":void 0}),(0,ze.jsx)(se,{valid:m,invalid:v,loading:M,disabled:I}),(0,ze.jsx)(pe,{loading:M,disabled:I}),s&&(0,ze.jsx)(Ne,{loading:M,disabled:I,readonly:C,value:f}),c&&(0,ze.jsxs)(ze.Fragment,{children:[n&&(0,ze.jsx)(me,{}),(0,ze.jsx)(ye,{children:c})]})]})};at.states=Ox;at.options=Ax;at.className=lp;at.defaultOptions=gi;at.moduleName=ip;at.folderName=sp;var ia=at;var pp=require("react/jsx-runtime"),dp=e=>(0,pp.jsx)(ia,{...e});var mp=require("react/jsx-runtime");var cp=require("react/jsx-runtime");var Bx=require("react/jsx-runtime");var Rx=require("react/jsx-runtime");var gn=require("react/jsx-runtime"),Px=at.states,Kx=at.defaultOptions,wx=at.options,_x=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],Dx=[],sa=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(n=>{switch(n){case"prefix":a.prefix=t!=null&&t[n]?(0,gn.jsx)(K,{size:o.size,value:"Choose",fillMode:"flat"}):void 0;break;case"suffix":a.suffix=t!=null&&t[n]?(0,gn.jsx)(k,{icon:"lock"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[n];break;default:break}}),(0,gn.jsx)(dp,{value:"Value",style:{width:300},...o,...a})};sa.options=wx;sa.states=Px;sa.variants=Dx;sa.defaultOptions=Kx;sa.modifiers=_x;sa.className=at.className;var Ii="switch",up=Ii;var ao=require("react/jsx-runtime"),oo="k-switch",zx=[r.hover,r.focus,r.disabled,r.readonly,r.checked],Hx={size:[l.undefined,l.small,l.medium,l.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]},Fx={},Ye=e=>{let{checked:t,onLabel:o,offLabel:a,size:n,trackRounded:s,thumbRounded:d,hover:c,focus:f,disabled:x,readonly:N,...h}=e;return(0,ao.jsxs)("span",{...h,className:i(e.className,oo,E(oo,{size:n}),y(oo,{hover:c,focus:f,disabled:x,readonly:N}),{[`${oo}-on`]:t,[`${oo}-off`]:!t}),role:"switch","aria-checked":t?"true":"false",tabIndex:x?void 0:0,"aria-disabled":x?"true":void 0,"aria-readonly":N?"true":void 0,children:[(0,ao.jsxs)("span",{className:i("k-switch-track",E(oo,{rounded:s})),children:[o&&(0,ao.jsx)("span",{className:"k-switch-label-on",children:o}),a&&(0,ao.jsx)("span",{className:"k-switch-label-off",children:a})]}),(0,ao.jsx)("span",{className:"k-switch-thumb-wrap",children:(0,ao.jsx)("span",{className:i("k-switch-thumb",E(oo,{rounded:d}))})})]})};Ye.states=zx;Ye.options=Hx;Ye.className=oo;Ye.defaultOptions=Fx;Ye.moduleName=Ii;Ye.folderName=up;var Ux=require("react/jsx-runtime");var Gx=require("react/jsx-runtime");var Vx=require("react/jsx-runtime");var $x=require("react/jsx-runtime");var Ci=require("react/jsx-runtime"),Xx=Ye.options,Wx=Ye.states,Jx={...Ye.defaultOptions,variant:"on"},qx=[{name:"on",title:"On"},{name:"off",title:"Off"}],Yx=[],la=e=>{let{variant:t,...o}=e;return t==="off"?(0,Ci.jsx)(Ye,{checked:!1,onLabel:"On",offLabel:"Off",...o}):(0,Ci.jsx)(Ye,{checked:!0,onLabel:"On",offLabel:"Off",...o})};la.options=Xx;la.states=Wx;la.variants=qx;la.defaultOptions=Jx;la.modifiers=Yx;la.className=Ye.className;var yi="textarea",fp=yi;var nt=require("react/jsx-runtime"),bp="k-textarea",Zx=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],Qx={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},da={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},Ze=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:n=da.prefixSeparator,suffixSeparator:s=da.prefixSeparator,affixesOrientation:d=da.affixesOrientation,flow:c=da.flow,resize:f=da.resize,prefix:x,suffix:N,rows:h,value:m,placeholder:v,hover:L,focus:M,valid:I,invalid:C,required:A,disabled:F,id:te,"aria-label":ie,"aria-describedby":be,...xe}=e;return(0,nt.jsxs)(G,{...xe,size:t,rounded:o,fillMode:a,hover:L,focus:M,valid:I,invalid:C,required:A,disabled:F,className:i(e.className,bp,{"!k-flex-col":c==="vertical","!k-flex-row":c==="horizontal"}),children:[x&&(0,nt.jsxs)(nt.Fragment,{children:[(0,nt.jsx)(Ce,{className:i({"!k-align-items-start":c===d}),direction:d,children:x}),n&&(0,nt.jsx)(me,{direction:c==="horizontal"?"vertical":"horizontal"})]}),(0,nt.jsx)(ka,{className:i("!k-overflow-auto",{"!k-flex-none":c==="vertical","k-resize-x":f==="x","k-resize-y":f==="y","k-resize":f==="both","k-resize-none":f==="none"}),value:m,placeholder:v,rows:h,disabled:F,id:te,"aria-label":ie,"aria-describedby":be,"aria-invalid":C?"true":void 0}),N&&(0,nt.jsxs)(nt.Fragment,{children:[s&&(0,nt.jsx)(me,{direction:c==="horizontal"?"vertical":"horizontal"}),(0,nt.jsx)(ye,{className:i({"!k-align-items-start":c===d}),direction:d,children:N})]})]})};Ze.states=Zx;Ze.options=Qx;Ze.className=bp;Ze.defaultOptions=da;Ze.moduleName=yi;Ze.folderName=fp;var jx=require("react/jsx-runtime");var xp=require("react/jsx-runtime");var Np=require("react/jsx-runtime");var eN=require("react/jsx-runtime");var za=require("react/jsx-runtime"),tN=Ze.options,oN=Ze.states,hp={...Ze.defaultOptions,variant:"vertical"},aN=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],nN=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],pa=e=>{let{variant:t,modifiers:o,...a}={...hp,...e},n={resize:"y"};return Object.keys(o||{}).forEach(s=>{switch(s){case"prefix":n.prefix=o!=null&&o[s]?(0,za.jsx)(k,{icon:"comment"}):void 0;break;case"suffix":n.suffix=o!=null&&o[s]?(0,za.jsx)(k,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?(0,za.jsx)(Ze,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...n}):(0,za.jsx)(Ze,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...n})};pa.options=tN;pa.states=oN;pa.variants=aN;pa.defaultOptions=hp;pa.modifiers=nN;pa.className=Ze.className;var Oi=require("react/jsx-runtime");var X=require("react/jsx-runtime"),rN=fe.options,iN=fe.states,sN={...fe.defaultOptions,variant:"vertical"},lN=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],dN=[],ma=e=>{let{variant:t,size:o,...a}=e,n=(0,X.jsxs)(At,{legend:"Form Legend",children:[(0,X.jsx)(re,{label:"Label",editor:(0,X.jsx)(U,{size:o})}),(0,X.jsx)(re,{label:"Label",hint:"Hint text",editor:(0,X.jsx)(K,{value:"Dropdown List",size:o})}),(0,X.jsx)(re,{label:"City",editor:(0,X.jsxs)("ul",{className:"k-radio-list k-list-horizontal",children:[(0,X.jsxs)("li",{className:"k-radio-list-item",children:[(0,X.jsx)(Ke,{checked:!0,size:o}),(0,X.jsx)("label",{className:"k-radio-label",children:"Label"})]}),(0,X.jsxs)("li",{className:"k-radio-list-item",children:[(0,X.jsx)(Ke,{size:o}),(0,X.jsx)("label",{className:"k-radio-label",children:"Label"})]}),(0,X.jsxs)("li",{className:"k-radio-list-item",children:[(0,X.jsx)(Ke,{size:o}),(0,X.jsx)("label",{className:"k-radio-label",children:"Label"})]})]})})]}),s=(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(p,{className:"k-form-submit",themeColor:"primary",size:o,children:"Submit"}),(0,X.jsx)(p,{className:"k-form-clear",size:o,children:"Clear"})]});return t==="horizontal"?(0,X.jsx)(fe,{orientation:"horizontal",size:o,...a,formButtons:s,children:n}):(0,X.jsx)(fe,{size:o,...a,formButtons:s,children:n})};ma.options=rN;ma.states=iN;ma.variants=lN;ma.defaultOptions=sN;ma.modifiers=dN;ma.className=fe.className;var Ha=require("react/jsx-runtime"),pN=ct.options,mN=ct.states,Lp={...ct.defaultOptions},cN=[],uN=[{name:"showHint",title:"Show Hint"}],ca=e=>{let{modifiers:t,...o}={...Lp,...e},a=(t==null?void 0:t.showHint)??!0;return(0,Ha.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[(0,Ha.jsx)(U,{placeholder:"Component",style:{width:"200px"}}),a&&(0,Ha.jsx)(ct,{...o,children:"Hint text"})]})};ca.options=pN;ca.states=mN;ca.variants=cN;ca.defaultOptions=Lp;ca.modifiers=uN;ca.className=ct.className;var Fa=require("react/jsx-runtime"),fN=ut.options,bN=ut.states,vp={...ut.defaultOptions},xN=[],NN=[{name:"showError",title:"Show Error"}],ua=e=>{let{modifiers:t,...o}={...vp,...e},a=(t==null?void 0:t.showError)??!0;return(0,Fa.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[(0,Fa.jsx)(U,{placeholder:"Component",invalid:a,style:{width:"200px"}}),a&&(0,Fa.jsx)(ut,{...o,children:"Error text"})]})};ua.options=fN;ua.states=bN;ua.variants=xN;ua.defaultOptions=vp;ua.modifiers=NN;ua.className=ut.className;var Ai="segmented-control",Mp=Ai,Sp="segmented-control-button",kp="segmented-control";var En=require("react/jsx-runtime"),In="k-segmented-control",hN=[],LN={size:[l.undefined,l.small,l.medium,l.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},fa=e=>{let{size:t,rounded:o,stretched:a,children:n,thumbStyles:s,...d}=e;return(0,En.jsxs)("div",{...d,className:i(e.className,In,E(In,{size:t,rounded:o}),{[`${In}-stretched`]:a}),role:"group",children:[(0,En.jsx)("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:s}),n]})};fa.states=hN;fa.options=LN;fa.className=In;fa.moduleName=Ai;fa.folderName=Mp;var Ua=require("react/jsx-runtime"),Bi="k-segmented-control-button",vN=[r.selected,r.hover,r.focus,r.disabled],MN={},SN={},ho=e=>{let{hover:t,focus:o,selected:a,disabled:n,icon:s,text:d,iconClassName:c,...f}=e;return(0,Ua.jsxs)("button",{...f,className:i(e.className,Bi,y(Bi,{hover:t,focus:o,disabled:n,selected:a})),"aria-pressed":a?"true":"false","aria-disabled":n?"true":void 0,tabIndex:a?0:-1,children:[s&&(0,Ua.jsx)(k,{className:i(c,"k-segmented-control-button-icon"),icon:s}),(d||e.children)&&(0,Ua.jsx)("span",{className:"k-segmented-control-button-text",children:d||e.children})]})};ho.states=vN;ho.options=MN;ho.className=Bi;ho.defaultOptions=SN;ho.moduleName=Sp;ho.folderName=kp;var Ri=require("react/jsx-runtime");var Pi=require("react/jsx-runtime");var Ki=require("react/jsx-runtime");var wi=require("react/jsx-runtime");var _i=require("react/jsx-runtime");var Di=require("react/jsx-runtime");var w=require("react/jsx-runtime"),kN=e=>(0,w.jsx)(Tt,{toolbarItems:[(0,w.jsx)(p,{icon:"upload","aria-label":"Upload"},"toolbar-button-1"),(0,w.jsx)(p,{icon:"download","aria-label":"Download"},"toolbar-button-2"),(0,w.jsx)(ue,{},"toolbar-separator-1"),(0,w.jsx)(p,{disabled:!0,icon:"undo","aria-label":"Undo"},"toolbar-button-3"),(0,w.jsx)(p,{disabled:!0,icon:"redo","aria-label":"Redo"},"toolbar-button-4"),(0,w.jsx)(ue,{},"toolbar-separator-2"),(0,w.jsx)(p,{icon:"crop","aria-label":"Crop"},"toolbar-button-5"),(0,w.jsx)(p,{icon:"image-resize","aria-label":"Resize"},"toolbar-button-6"),(0,w.jsx)(p,{icon:"zoom-in","aria-label":"Zoom in"},"toolbar-button-7"),(0,w.jsx)(p,{icon:"zoom-out","aria-label":"Zoom out"},"toolbar-button-8"),(0,w.jsx)(vt,{children:(0,w.jsx)(K,{value:"Zoom options","aria-label":"Zoom options"})},"toolbar-item-1")],actionPane:(0,w.jsx)(vi,{tag:"div",className:"k-imageeditor-pane-form",formButtons:(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(p,{themeColor:"primary",icon:"check",children:"Confirm"}),(0,w.jsx)(p,{icon:"cancel",children:"Cancel"})]}),children:(0,w.jsxs)(At,{layout:"grid",legend:"Resize Image",cols:2,gutters:{cols:"8px"},children:[(0,w.jsx)(re,{colSpan:"1",label:"Width:",editorId:"resize-width",editor:(0,w.jsx)(_,{id:"resize-width",showClearButton:!1,value:"61"})}),(0,w.jsx)(re,{colSpan:"1",label:"\xA0",editor:(0,w.jsx)(K,{value:"Pixels","aria-label":"Width unit"})}),(0,w.jsx)(re,{colSpan:"1",label:"Height:",editorId:"resize-height",editor:(0,w.jsx)(_,{id:"resize-height",showClearButton:!1,value:"68"})}),(0,w.jsx)(re,{colSpan:"1",label:"\xA0",editor:(0,w.jsx)(K,{value:"Pixels","aria-label":"Height unit"})}),(0,w.jsx)(re,{colSpan:"2",editor:(0,w.jsx)(lt,{id:"resize-lock",children:"Lock aspect ratio"})})]})}),children:(0,w.jsx)("canvas",{width:"61",height:"68",role:"img","aria-label":"Image being edited"}),...e});
|
|
1
|
+
var qm=Object.create;var gi=Object.defineProperty;var Ym=Object.getOwnPropertyDescriptor;var Zm=Object.getOwnPropertyNames;var Qm=Object.getPrototypeOf,jm=Object.prototype.hasOwnProperty;var ec=(e,t)=>{for(var o in t)gi(e,o,{get:t[o],enumerable:!0})},Hl=(e,t,o,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Zm(t))!jm.call(e,i)&&i!==o&&gi(e,i,{get:()=>t[i],enumerable:!(a=Ym(t,i))||a.enumerable});return e};var Fl=(e,t,o)=>(o=e!=null?qm(Qm(e)):{},Hl(t||!e||!e.__esModule?gi(o,"default",{value:e,enumerable:!0}):o,e)),tc=e=>Hl(gi({},"__esModule",{value:!0}),e);var zg={};ec(zg,{ImageEditorResize:()=>Kg});module.exports=tc(zg);var n=(...e)=>e.filter(t=>t!==!0&&!!t).map(t=>Array.isArray(t)?n(...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 I=(e,t)=>n({[`${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"}),C=(e,t)=>{let{valid:o,invalid:a,hover:i,focus:l,checked:p,active:m,selected:f,disabled:x,indeterminate:h,loading:N,empty:c,readonly:k,highlighted:g,...M}=t;return n({"k-valid":o,"k-invalid":a,"k-hover":i,"k-focus":l,"k-checked":p,"k-active":m,"k-selected":f,"k-disabled":x,"k-indeterminate":h&&!p,"k-loading":N,"k-empty":c,"k-readonly":k,"k-highlighted":g},Object.keys(M).reduce((y,E)=>(E.startsWith("k-")?y[E]=M[E]:y[`k-${E}`]=M[E],y),{}))};function Ul(e,t){if(!t)return{};let o=Array.isArray(t)?t:[t];return Object.fromEntries(o.map(a=>[`k-${a}`,!0]))}var s={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"},b={undefined:void 0,solid:"solid",flat:"flat",outline:"outline",clear:"clear",link:"link"},zt={undefined:void 0,outline:"outline",solid:"solid",duotone:"duotone"},v={undefined:void 0,inherit:"inherit",base:"base",primary:"primary",secondary:"secondary",tertiary:"tertiary",info:"info",success:"success",warning:"warning",error:"error",inverse:"inverse"},r={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"},Gl={calloutMap:{top:"n",bottom:"s",left:"w",right:"e"},orientationMap:{vertical:"vstack",horizontal:"hstack"}};var sr={};function T(e){return sr[e]=(sr[e]||0)+1,`k-${e}-${sr[e]}`}var Ga=require("react/jsx-runtime"),dr="k-font-icon",oc=[],ac={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info]},ic={},$a=e=>{let{size:t,themeColor:o,icon:a,rotate:i,flip:l,...p}=e;return a?(0,Ga.jsx)("span",{...p,className:n(e.className,dr,I(dr,{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"}):(0,Ga.jsx)(Ga.Fragment,{})};$a.states=oc;$a.options=ac;$a.className=dr;$a.defaultOptions=ic;var $l=$a;var Mo=require("react/jsx-runtime"),pr="k-svg-icon",rc=[],nc={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info],variant:[zt.outline,zt.solid,zt.duotone]},mr={viewBox:"0 0 24 24",variant:zt.outline},Va=e=>{var N,c;let{size:t,themeColor:o,rotate:a,flip:i,viewBox:l=mr.viewBox,variant:p=mr.variant,icon:m,...f}=e;if(!m)return(0,Mo.jsx)(Mo.Fragment,{});if(m==="none")return(0,Mo.jsx)("span",{...f,className:n(e.className,pr,I("k-icon",{size:t}),"k-none"),"aria-hidden":"true"});let x=typeof m=="object"&&m.name&&m.name,h=typeof m=="object"?p&&((N=m.variants)==null?void 0:N[p])||((c=m.variants)==null?void 0:c.outline)||m.content:void 0;return(0,Mo.jsx)("span",{...f,className:n(e.className,pr,I("k-icon",{size:t}),{[`k-svg-i-${x}`]:x,[`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:(0,Mo.jsx)("svg",{"aria-hidden":!0,focusable:!1,xmlns:"http://www.w3.org/2000/svg",viewBox:typeof m=="object"?m.viewBox:l,dangerouslySetInnerHTML:h!==void 0?{__html:h}:void 0,children:m?void 0:e.children})})};Va.states=rc;Va.options=nc;Va.className=pr;Va.defaultOptions=mr;var cr=Va;var ur=Fl(require("@progress/kendo-svg-icons"));var Vl="icon",Xl="icons";var ql=require("react");var Wl=require("react"),Jl=(0,Wl.createContext)({iconsType:"svg"});var Qt=require("react/jsx-runtime"),vi="k-icon",lc=e=>e.replace(/([-_][a-z0-9])/gi,t=>t.toUpperCase().replace("-","").replace("_","")),sc=[],dc={size:[s.undefined,s.xsmall,s.small,s.medium,s.large,s.xlarge,s.xxlarge,s.xxxlarge],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info],variant:[zt.outline,zt.solid,zt.duotone]},Li={viewBox:"0 0 24 24",type:"svg",variant:zt.outline},L=e=>{let{iconsType:t}=(0,ql.useContext)(Jl),{size:o,themeColor:a,icon:i,type:l=t||Li.type,rotate:p,flip:m,viewBox:f=Li.viewBox,variant:x=Li.variant,...h}=e;if(!i)return(0,Qt.jsx)(Qt.Fragment,{});if((t||l)==="svg"){if(i==="none")return(0,Qt.jsx)(cr,{...h,className:n(e.className,vi),icon:i,size:o,variant:x});let c=ur[i]?i:lc(`${i}-icon`);return ur[c]?(0,Qt.jsx)(cr,{...h,className:n(e.className,vi),icon:ur[c],size:o,themeColor:a,rotate:p,flip:m,viewBox:f,variant:x}):(0,Qt.jsx)(Qt.Fragment,{})}return(0,Qt.jsx)($l,{...h,className:n(e.className,vi),icon:i,size:o,themeColor:a,rotate:p,flip:m})};L.states=sc;L.options=dc;L.defaultOptions=Li;L.className=vi;L.moduleName=Vl;L.folderName=Xl;var fr="button",Yl=fr;var nt=require("react/jsx-runtime"),Xa="k-button",pc=["icon-button"],mc=[r.hover,r.focus,r.active,r.selected,r.disabled,r.generating],cc={size:[s.undefined,s.xsmall,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},br={showArrow:!1,arrowIconName:"chevron-down"},d=e=>{let{as:t="button",size:o,rounded:a,fillMode:i,themeColor:l,showArrow:p=br.showArrow,arrowIconName:m=br.arrowIconName,variant:f,hover:x,focus:h,active:N,selected:c,disabled:k,togglable:g,ariaDisabled:M,icon:y,iconSize:E,text:B,iconClassName:G,className:j,...ne}=e,xe=y!=null,he=e.children!==void 0;return(0,nt.jsxs)(t,{className:n(j,Xa,Ul(Xa,f),I(Xa,{size:o,rounded:a,fillMode:i,themeColor:l}),C(Xa,{hover:x,focus:h,active:N,disabled:k||M,selected:c}),{"k-icon-button":!B&&!he&&xe}),"aria-pressed":g?c?"true":"false":void 0,...ne,"aria-disabled":M?"true":void 0,disabled:k||void 0,children:[typeof y=="string"&&y&&(0,nt.jsx)(L,{className:n(G,"k-button-icon"),icon:y,size:E}),y&&typeof y!="string"&&(0,nt.jsx)(nt.Fragment,{children:y}),B?(0,nt.jsxs)(nt.Fragment,{children:[B&&(0,nt.jsx)("span",{className:"k-button-text",children:B}),e.children]}):e.children&&(0,nt.jsx)("span",{className:"k-button-text",children:e.children}),p&&(0,nt.jsx)("span",{className:"k-menu-button-arrow k-button-arrow",children:(0,nt.jsx)(L,{icon:m})})]})};d.states=mc;d.options=cc;d.variants=pc;d.className=Xa;d.defaultOptions=br;d.moduleName=fr;d.folderName=Yl;var Zl=require("react/jsx-runtime"),jt=e=>(0,Zl.jsx)(d,{icon:"folder",...e,"aria-label":e["aria-label"]||"Folder",children:void 0});var Ql=require("react/jsx-runtime"),Wa=e=>(0,Ql.jsx)(d,{icon:"folder",children:"Button",...e});var jl=require("react/jsx-runtime"),Dt=e=>(0,jl.jsx)(d,{children:"Button",...e});var ki=require("react/jsx-runtime"),uc=d.options,fc=d.states,bc={...d.defaultOptions,variant:"text"},xc=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],hc=[],Ho=e=>{let{variant:t,...o}=e;switch(t){case"icon-only":return(0,ki.jsx)(jt,{...o,icon:"star"});case"icon-and-text":return(0,ki.jsx)(Wa,{...o,icon:"star",children:"Button"});default:return(0,ki.jsx)(Dt,{...o,children:"Button"})}};Ho.options=uc;Ho.states=fc;Ho.variants=xc;Ho.defaultOptions=bc;Ho.modifiers=hc;Ho.className=d.className;var xr="button",es=xr;var ts=require("react/jsx-runtime"),Ja="k-button-group",Nc=[r.disabled],gc={fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},vc={},w=e=>{let{fillMode:t,disabled:o,stretched:a,...i}=e;return(0,ts.jsx)("div",{role:"group",...i,className:n(e.className,Ja,I(Ja,{fillMode:t}),C(Ja,{disabled:o}),{[`${Ja}-stretched`]:a}),...o&&{"aria-disabled":"true"},children:e.children})};w.states=Nc;w.options=gc;w.className=Ja;w.defaultOptions=vc;w.moduleName=xr;w.folderName=es;var hr=require("react/jsx-runtime");var Nr=require("react/jsx-runtime");var gr=require("react/jsx-runtime");var vr=require("react/jsx-runtime");var Lr=require("react/jsx-runtime");var kr=require("react/jsx-runtime");var Qe=require("react/jsx-runtime"),Lc={...d.options,...w.options},kc=d.states,Mc={...d.defaultOptions,...w.defaultOptions,variant:"text-button"},Ic=[{name:"icon-button",title:"Icon Only"},{name:"text-button",title:"Text"},{name:"icon-text-button",title:"Icon Text"}],Sc=[],Fo=e=>{let{variant:t,className:o,...a}=e;return t==="icon-button"?(0,Qe.jsxs)(w,{fillMode:a.fillMode,className:o,children:[(0,Qe.jsx)(d,{...a,icon:"star"}),(0,Qe.jsx)(d,{...a,icon:"star"}),(0,Qe.jsx)(d,{...a,icon:"star"})]}):t==="icon-text-button"?(0,Qe.jsxs)(w,{fillMode:a.fillMode,className:o,children:[(0,Qe.jsx)(d,{...a,icon:"star",children:"First"}),(0,Qe.jsx)(d,{...a,icon:"star",children:"Middle"}),(0,Qe.jsx)(d,{...a,icon:"star",children:"Last"})]}):(0,Qe.jsxs)(w,{fillMode:a.fillMode,className:o,children:[(0,Qe.jsx)(d,{...a,children:"First"}),(0,Qe.jsx)(d,{...a,children:"Middle"}),(0,Qe.jsx)(d,{...a,children:"Last"})]})};Fo.options=Lc;Fo.states=kc;Fo.variants=Ic;Fo.defaultOptions=Mc;Fo.modifiers=Sc;Fo.className=w.className;var qa="input",Mi=qa;var os=require("react/jsx-runtime"),Ii="k-input",yc=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Ec={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Cc={},V=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:p,readonly:m,size:f,rounded:x,fillMode:h,...N}=e;return(0,os.jsx)("span",{...N,className:n(e.className,Ii,I(Ii,{size:f,rounded:x,fillMode:h}),C(Ii,{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:p,readonly:m}))})};V.states=yc;V.options=Ec;V.className=Ii;V.defaultOptions=Cc;V.moduleName=qa;V.folderName=Mi;var as=require("react/jsx-runtime"),Si="k-picker",Tc=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Oc={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Ac={},_t=e=>{let{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:p,readonly:m,size:f,rounded:x,fillMode:h,...N}=e;return(0,as.jsx)("span",{...N,className:n(e.className,Si,I(Si,{size:f,rounded:x,fillMode:h}),C(Si,{hover:t,focus:o,disabled:a,invalid:i,valid:l,loading:p,readonly:m})),children:e.children})};_t.states=Tc;_t.options=Oc;_t.className=Si;_t.defaultOptions=Ac;_t.moduleName=qa;_t.folderName=Mi;var Uo=require("react/jsx-runtime"),is="k-clear-value",Bc=[r.disabled,r.loading,r.readonly],Rc={},Ne=e=>{let{disabled:t,loading:o,readonly:a,value:i}=e;return t||a||o||!i?(0,Uo.jsx)(Uo.Fragment,{}):(0,Uo.jsx)("span",{className:n(e.className,is),children:(0,Uo.jsx)(L,{icon:"x"})})};Ne.states=Bc;Ne.options=Rc;Ne.className=is;var rs=require("react/jsx-runtime"),Mr="k-input-inner",Pc=[],wc={},yi={type:"text",autocomplete:"off",value:"",placeholder:""},ge=e=>{let{value:t=yi.value,type:o=yi.type,placeholder:a=yi.placeholder,autocomplete:i=yi.autocomplete,disabled:l,readOnly:p,...m}=e;return(0,rs.jsx)("input",{...m,type:o,className:n(e.className,Mr,I(Mr,e)),placeholder:a,autoComplete:i,defaultValue:t,disabled:l||void 0,readOnly:p||void 0})};ge.states=Pc;ge.options=wc;ge.className=Mr;var Ya=require("react/jsx-runtime"),Ir="k-input-inner",Kc=[],zc={},Io=e=>{let{value:t,placeholder:o,showValue:a,valueIcon:i,valueIconName:l,...p}=e;return(0,Ya.jsxs)("span",{...p,className:n(e.className,Ir,I(Ir,e)),children:[i,!i&&l&&(0,Ya.jsx)(L,{className:"k-input-value-icon",icon:l}),a&&!t&&o,a&&t&&(0,Ya.jsx)("span",{className:"k-input-value-text",children:t})]})};Io.states=Kc;Io.options=zc;Io.className=Ir;var ls=require("react/jsx-runtime"),Sr="k-input-inner",Dc=[],_c={},ns={value:"",placeholder:""},Za=e=>{let{value:t=ns.value,placeholder:o=ns.placeholder,rows:a,disabled:i,...l}=e;return(0,ls.jsx)("textarea",{...l,className:n(e.className,Sr,I(Sr,e)),placeholder:o,rows:a,defaultValue:t,disabled:i||void 0})};Za.states=Dc;Za.options=_c;Za.className=Sr;var Qa=require("react/jsx-runtime"),ss="k-input-loading-icon",Hc=[r.disabled,r.loading],me=e=>{let{disabled:t,loading:o}=e;return t||!o?(0,Qa.jsx)(Qa.Fragment,{}):(0,Qa.jsx)("span",{className:n(e.className,ss,"k-icon k-i-loading")})};me.states=Hc;me.className=ss;var ja=require("react/jsx-runtime"),ds="k-input-validation-icon",Fc=[r.valid,r.invalid,r.disabled,r.loading],Uc={},le=e=>{let{valid:t,invalid:o,disabled:a,loading:i}=e,l=o?"warning-circle":"check-circle";return a||i||!!!(t||o)?(0,ja.jsx)(ja.Fragment,{}):(0,ja.jsx)(L,{className:n(ds),icon:l})};le.states=Fc;le.options=Uc;le.className=ds;var ei=require("react/jsx-runtime"),Gc="k-input-prefix",$c={direction:"horizontal"},Me=e=>{let{direction:t=$c.direction,...o}=e;return e.children?(0,ei.jsx)("span",{...o,className:n(Gc,e.className,{[`k-input-prefix-${t}`]:t}),children:e.children}):(0,ei.jsx)(ei.Fragment,{})};var ti=require("react/jsx-runtime"),Vc="k-input-suffix",Xc={direction:"horizontal"},Ie=e=>{let{direction:t=Xc.direction,...o}=e;return e.children?(0,ti.jsx)("span",{...o,className:n(Vc,e.className,{[`k-input-suffix-${t}`]:t}),children:e.children}):(0,ti.jsx)(ti.Fragment,{})};var Wc=require("react/jsx-runtime");var ps=require("react/jsx-runtime"),Jc="k-input-suffix-text",Ei=e=>{let{children:t,...o}=e;return(0,ps.jsx)("span",{...o,className:n(Jc,e.className),children:t})};var cs=require("react/jsx-runtime"),ms="k-input-separator",qc={direction:"vertical"},se=e=>{let{direction:t=qc.direction,...o}=e;return(0,cs.jsx)("span",{...o,className:n(ms,e.className,{[`${ms}-${t}`]:t})})};var Se=require("react/jsx-runtime"),Yc=V.states,Zc=V.defaultOptions,Qc=V.options,jc=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"validation-icon",title:"Validation Icon"},{name:"separators",title:"Separators"}],eu=[],Go=e=>{let{modifiers:t,valid:o,invalid:a,loading:i,disabled:l,readonly:p,...m}=e,f=t==null?void 0:t.prefix,x=t==null?void 0:t.suffix,h=t==null?void 0:t["clear-button"],N=t==null?void 0:t["validation-icon"],c=t==null?void 0:t.separators;return(0,Se.jsxs)(V,{...m,valid:o,invalid:a,loading:i,disabled:l,readonly:p,style:{width:300},children:[f&&(0,Se.jsxs)(Se.Fragment,{children:[(0,Se.jsx)(Me,{children:(0,Se.jsx)(L,{icon:"lock"})}),c&&(0,Se.jsx)(se,{})]}),(0,Se.jsx)(ge,{placeholder:"Placeholder",value:"Value"}),N&&(0,Se.jsx)(le,{valid:o,invalid:a,loading:i,disabled:l}),(0,Se.jsx)(me,{loading:i,disabled:l}),h&&(0,Se.jsx)(Ne,{loading:i,disabled:l,readonly:p,value:"Value"}),x&&(0,Se.jsxs)(Se.Fragment,{children:[c&&(0,Se.jsx)(se,{}),(0,Se.jsx)(Ie,{children:(0,Se.jsx)(Dt,{size:m.size,fillMode:"clear",children:"Send"})})]})]})};Go.options=Qc;Go.states=Yc;Go.variants=eu;Go.defaultOptions=Zc;Go.modifiers=jc;Go.className=V.className;var oi=require("react/jsx-runtime"),us="k-color-preview",tu=[],ou={},mo=e=>{let{color:t,iconName:o,...a}=e;return(0,oi.jsxs)("span",{...a,className:n(e.className,us,{"k-icon-color-preview":o,"k-no-color":!t}),children:[o&&(0,oi.jsx)(L,{icon:o,className:"k-color-preview-icon"}),(0,oi.jsx)("span",{className:"k-color-preview-mask",style:{backgroundColor:t}})]})};mo.states=tu;mo.options=ou;mo.className=us;var yr="popup",fs=yr;var Cr=require("react/jsx-runtime"),bs="k-animation-container",au=[],iu={},Er={positionMode:"absolute",shown:!0},xt=e=>{let{positionMode:t=Er.positionMode,shown:o=Er.shown,animationStyle:a,offset:i,...l}=e;return(0,Cr.jsx)("div",{...l,style:{...i,...e.style},className:n(e.className,bs,{"k-animation-container-shown":o,"k-animation-container-fixed":t==="fixed"}),children:(0,Cr.jsx)("div",{className:"k-child-animation-container",style:a,children:e.children})})};xt.states=au;xt.options=iu;xt.className=bs;xt.defaultOptions=Er;xt.moduleName=yr;xt.folderName=fs;var Tr="popup",xs=Tr;var Or=require("react/jsx-runtime"),hs="k-popup",ru=[],nu={},Ns={positionMode:"absolute"},J=e=>{let{offset:t,positionMode:o=Ns.positionMode,animationStyle:a,containerClassName:i,containerRole:l,containerAriaLabel:p,...m}=e;return(0,Or.jsx)(xt,{positionMode:o,offset:t,animationStyle:a,className:i,role:l,"aria-label":p,children:(0,Or.jsx)("div",{...m,className:n(e.className,hs),children:e.children})})};J.states=ru;J.options=nu;J.className=hs;J.defaultOptions=Ns;J.moduleName=Tr;J.folderName=xs;var Ar="action-buttons",gs=Ar;var vs=require("react/jsx-runtime"),Ci="k-actions",lu=[],su={},Br={alignment:"start",orientation:"horizontal"},ht=e=>{let{alignment:t=Br.alignment,orientation:o=Br.orientation,...a}=e;return(0,vs.jsx)("div",{...a,className:n(Ci,{[`${Ci}-${t}`]:t,[`${Ci}-${o}`]:o},e.className),children:e.children})};ht.states=lu;ht.options=su;ht.className=Ci;ht.defaultOptions=Br;ht.moduleName=Ar;ht.folderName=gs;var ks=require("react/jsx-runtime"),du="k-actionsheet-footer",Ls={alignment:"stretched",orientation:"horizontal"},co=e=>{let{alignment:t=Ls.alignment,orientation:o=Ls.orientation,template:a,as:i=a?"div":ht,...l}=e;return(0,ks.jsx)(i,{...l,...!a&&{alignment:t,orientation:o},className:n(e.className,du),children:e.children})};var Rr="searchbox",Ms=Rr;var uo=require("react/jsx-runtime"),Is="k-searchbox",pu=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading],mu={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Pr={showIcon:!0,icon:"search"},Nt=e=>{let{value:t,placeholder:o,size:a,rounded:i,fillMode:l,hover:p,focus:m,valid:f,invalid:x,required:h,loading:N,disabled:c,showIcon:k=Pr.showIcon,icon:g=Pr.icon,"aria-label":M,...y}=e;return(0,uo.jsxs)(V,{...y,size:a,rounded:i,fillMode:l,hover:p,focus:m,valid:f,invalid:x,required:h,loading:N,disabled:c,className:n(e.className,Is),children:[k&&(0,uo.jsx)(L,{className:"k-input-icon",icon:g}),(0,uo.jsx)(ge,{placeholder:o,value:t,"aria-label":M}),(0,uo.jsx)(me,{...e}),(0,uo.jsx)(le,{...e}),(0,uo.jsx)(Ne,{...e})]})};Nt.states=pu;Nt.options=mu;Nt.className=Is;Nt.defaultOptions=Pr;Nt.moduleName=Rr;Nt.folderName=Ms;var cu=require("react/jsx-runtime");var wr="textbox",Ss=wr;var ze=require("react/jsx-runtime"),ys="k-textbox",uu=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],fu={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Ti={showClearButton:!0,showValidationIcon:!0,separators:!0},H=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Ti.separators,showClearButton:l=Ti.showClearButton,showValidationIcon:p=Ti.showValidationIcon,prefix:m,suffix:f,type:x,value:h,placeholder:N,hover:c,focus:k,valid:g,invalid:M,required:y,loading:E,disabled:B,readonly:G,id:j,"aria-label":ne,"aria-describedby":xe,...he}=e;return(0,ze.jsxs)(V,{...he,size:t,rounded:o,fillMode:a,hover:c,focus:k,valid:g,invalid:M,required:y,loading:E,disabled:B,readonly:G,className:n(e.className,ys),children:[m&&(0,ze.jsxs)(ze.Fragment,{children:[(0,ze.jsx)(Me,{children:m}),i&&(0,ze.jsx)(se,{})]}),(0,ze.jsx)(ge,{id:j,placeholder:N,value:h,type:x,disabled:B,"aria-label":ne,"aria-describedby":xe,"aria-invalid":M?"true":void 0}),p&&(0,ze.jsx)(le,{valid:g,invalid:M,loading:E,disabled:B}),(0,ze.jsx)(me,{loading:E,disabled:B}),l&&(0,ze.jsx)(Ne,{loading:E,disabled:B,readonly:G,value:h}),f&&(0,ze.jsxs)(ze.Fragment,{children:[i&&(0,ze.jsx)(se,{}),(0,ze.jsx)(Ie,{children:f})]})]})};H.states=uu;H.options=fu;H.className=ys;H.defaultOptions=Ti;H.moduleName=wr;H.folderName=Ss;var ai=H;var Cs=require("react/jsx-runtime"),Es=e=>(0,Cs.jsx)(ai,{...e});var Ts=require("react/jsx-runtime");var Os=require("react/jsx-runtime");var bu=require("react/jsx-runtime");var Oi=require("react/jsx-runtime"),xu=H.states,hu=H.defaultOptions,Nu=H.options,gu=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],vu=[],$o=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t!=null&&t[i]?(0,Oi.jsx)(L,{icon:"lock"}):void 0;break;case"suffix":a.suffix=t!=null&&t[i]?(0,Oi.jsx)(Dt,{size:o.size,fillMode:"clear",children:"Send"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[i];break;default:break}}),(0,Oi.jsx)(Es,{value:"Value",style:{width:300},...o,...a})};$o.options=Nu;$o.states=xu;$o.variants=vu;$o.defaultOptions=hu;$o.modifiers=gu;$o.className=H.className;var lt=require("react/jsx-runtime"),As="k-actionsheet-titlebar",Lu={},ye=e=>{let{title:t,subtitle:o,actionsStart:a,actionsEnd:i,filter:l,input:p,inputValue:m,inputPlaceholder:f,adaptive:x,titleId:h,children:N,...c}=e;return(0,lt.jsxs)("div",{...c,className:n(e.className,As),children:[(0,lt.jsxs)("div",{className:"k-actionsheet-titlebar-group",children:[a&&(0,lt.jsx)("div",{className:"k-actionsheet-actions",children:a}),!N&&(0,lt.jsxs)("div",{className:"k-actionsheet-title",id:h,children:[t&&(0,lt.jsx)("div",{className:"k-text-center",children:t}),o&&(0,lt.jsx)("div",{className:"k-actionsheet-subtitle k-text-center",children:o})]}),N&&(0,lt.jsx)("div",{className:"k-actionsheet-title",id:h,children:N}),i&&(0,lt.jsx)("div",{className:"k-actionsheet-actions",children:i})]}),(p||l)&&(0,lt.jsx)("div",{className:"k-actionsheet-titlebar-group k-actionsheet-filter",children:p?(0,lt.jsx)(H,{value:m,placeholder:f,size:x?"large":"medium","aria-label":t||f||"Input"}):(0,lt.jsx)(Nt,{placeholder:"Filter",size:x?"large":"medium","aria-label":"Filter options"})})]})};ye.className=As;ye.defaultOptions=Lu;var Vo=require("react/jsx-runtime"),Kr="k-actionsheet-view",ku=[],Mu={},Iu={},Xo=e=>{let{adaptive:t,animated:o,children:a,header:i,footer:l,titleId:p,...m}=e,f=(i==null?void 0:i.type)===ye&&(0,Vo.jsx)(ye,{adaptive:t,titleId:p,...i==null?void 0:i.props}),x=(l==null?void 0:l.type)===co&&(0,Vo.jsx)(co,{...l==null?void 0:l.props});return(0,Vo.jsxs)("div",{...m,className:n(e.className,Kr,{[`${Kr}-animated`]:o}),children:[f,(0,Vo.jsx)("div",{className:"k-actionsheet-content",children:a}),x]})};Xo.states=ku;Xo.options=Mu;Xo.className=Kr;Xo.defaultOptions=Iu;var ii="action-sheet",Ai=ii;var zr="overlay",Bs=zr;var ws=require("react/jsx-runtime"),Rs="k-overlay",Su=[],yu={},Eu={},Ot=e=>{let{...t}=e;return(0,ws.jsx)("div",{...t,className:n(e.className,Rs),children:e.children})};Ot.states=Su;Ot.options=yu;Ot.className=Rs;Ot.defaultOptions=Eu;Ot.moduleName=zr;Ot.folderName=Bs;var Ps=Ot;var So=require("react/jsx-runtime"),Ks="k-actionsheet",Cu=[],Tu={},ri={side:"bottom",fullscreen:!1,adaptive:!1,overlay:!0},ee=e=>{let{side:t=ri.side,fullscreen:o=ri.fullscreen,adaptive:a=ri.adaptive,overlay:i=ri.overlay,template:l,children:p,header:m,footer:f,id:x,...h}=e,N=x&&!l&&m?`${x}-title`:void 0;return(0,So.jsxs)("div",{className:"k-actionsheet-container",children:[i&&(0,So.jsx)(Ot,{}),(0,So.jsx)(xt,{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:(0,So.jsx)("div",{...h,id:x,role:"dialog","aria-modal":i?"true":void 0,"aria-labelledby":N,className:n(e.className,Ks,{[`k-actionsheet-${t}`]:o===!1,"k-actionsheet-fullscreen":o===!0,"k-adaptive-actionsheet":a}),children:l||(0,So.jsx)(Xo,{header:m,footer:f,adaptive:a,titleId:N,...e,children:p})})})]})};ee.states=Cu;ee.options=Tu;ee.className=Ks;ee.defaultOptions=ri;ee.moduleName=ii;ee.folderName=Ai;var Ds=require("react/jsx-runtime"),zs="k-actionsheet-container",Ou=[],Au={},Bu={},Wo=e=>{let{children:t,...o}=e;return(0,Ds.jsx)("div",{...o,className:zs,children:t})};Wo.states=Ou;Wo.options=Au;Wo.className=zs;Wo.defaultOptions=Bu;Wo.moduleName=ii;Wo.folderName=Ai;var _s=require("react/jsx-runtime"),Dr=e=>{let{...t}=e;return(0,_s.jsx)("div",{...t,className:n(e.className,"k-list-ul"),children:e.children})};var gt=require("react/jsx-runtime"),_r="k-actionsheet-item",Ru=[r.hover,r.focus,r.selected,r.disabled],fo=e=>{let{iconName:t,text:o,description:a,hover:i,focus:l,selected:p,disabled:m,...f}=e;return(0,gt.jsxs)("span",{...f,className:n(e.className,_r,C(_r,{hover:i,focus:l,selected:p,disabled:m})),children:[!e.children&&(0,gt.jsx)(gt.Fragment,{children:(0,gt.jsxs)("span",{className:"k-actionsheet-action",children:[t&&(0,gt.jsx)("span",{className:"k-icon-wrap",children:(0,gt.jsx)(L,{className:"k-actionsheet-item-icon",icon:t})}),(0,gt.jsxs)("span",{className:"k-actionsheet-item-text",children:[o&&(0,gt.jsx)("span",{className:"k-actionsheet-item-title",children:o}),a&&(0,gt.jsx)("span",{className:"k-actionsheet-item-description",children:a})]})]})}),e.children]})};fo.states=Ru;fo.className=_r;var Hs=require("react/jsx-runtime");var Pu=require("react/jsx-runtime");var wu=require("react/jsx-runtime");var Ku=require("react/jsx-runtime");var te=require("react/jsx-runtime"),zu=ee.options,Du=ee.states,Us={...ee.defaultOptions,variant:"normal"},_u=[{name:"normal",title:"Normal"},{name:"adaptive",title:"Adaptive"},{name:"fullScreen",title:"Full Screen"}],Hu=[{name:"actions",title:"Titlebar Actions",type:"boolean"},{name:"subtitle",title:"Subtitle",type:"boolean"},{name:"footer",title:"Footer",type:"boolean"}],Jo=e=>{let{variant:t,modifiers:o,...a}={...Us,...e},i={},l=(0,te.jsxs)(Dr,{children:[(0,te.jsx)(fo,{text:"Edit Item",description:"Click to edit",iconName:"edit-tools"}),(0,te.jsx)(fo,{text:"Add to Favorites",iconName:"heart"}),(0,te.jsx)(fo,{text:"Upload New",iconName:"upload",disabled:!0}),(0,te.jsx)("hr",{className:"k-hr"}),(0,te.jsx)(fo,{text:"Cancel",iconName:"cancel"})]}),p="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!=null&&o[f]),i.actionsEnd=!!(o!=null&&o[f]);break;case"subtitle":i.subtitle=o!=null&&o[f]?p:void 0;break;case"footer":i.footer=!!(o!=null&&o[f]);break;default:break}}),t==="adaptive"?(0,te.jsx)(ee,{...a,adaptive:!0,fullscreen:i.fullScreen,header:(0,te.jsx)(ye,{actionsStart:i.actionsStart?(0,te.jsx)(d,{icon:"chevron-left",size:"large",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?(0,te.jsx)(d,{icon:"x",size:"large",fillMode:"flat"}):void 0,title:m,subtitle:i.subtitle}),footer:i.footer?(0,te.jsxs)(co,{alignment:"stretched",children:[(0,te.jsx)(d,{text:"Cancel",size:"large",themeColor:"base"}),(0,te.jsx)(d,{text:"Apply",size:"large",themeColor:"primary"})]}):void 0,children:l}):(0,te.jsx)(ee,{...a,fullscreen:i.fullScreen,header:(0,te.jsx)(ye,{actionsStart:i.actionsStart?(0,te.jsx)(d,{icon:"chevron-left",fillMode:"flat"}):void 0,actionsEnd:i.actionsEnd?(0,te.jsx)(d,{icon:"x",fillMode:"flat"}):void 0,title:"Select Item",subtitle:i.subtitle}),footer:i.footer?(0,te.jsxs)(co,{alignment:"stretched",children:[(0,te.jsx)(d,{text:"Apply",themeColor:"primary"}),(0,te.jsx)(d,{text:"Cancel",themeColor:"base"})]}):void 0,children:l})};Jo.options=zu;Jo.states=Du;Jo.variants=_u;Jo.defaultOptions=Us;Jo.modifiers=Hu;Jo.className=ee.className;var Hr="slider",Gs=Hr;var At=require("react/jsx-runtime"),ni="k-slider",Fu=[r.hover,r.focus,r.active,r.disabled,r.readonly],Uu={},vt={type:"single",orientation:"horizontal",gradientType:"1d",readonly:!1,disabled:!1,handlePosition:"end",showButtons:!0,showTicks:!0,value:50,min:0,max:100},X=e=>{let{type:t=vt.type,orientation:o=vt.orientation,gradientType:a=vt.gradientType,readonly:i=vt.readonly,disabled:l=vt.disabled,handlePosition:p=vt.handlePosition,showButtons:m=vt.showButtons,showTicks:f=vt.showTicks,value:x=vt.value,min:h=vt.min,max:N=vt.max,startValue:c,endValue:k,hover:g,focus:M,active:y,trackStyle:E,dir:B,...G}=e,ne=(()=>{if(t==="gradient"&&a==="2d")return"undefined";if(o==="vertical")return"vertical"})(),xe,he;return o==="horizontal"?(xe=B==="rtl"?"chevron-left":"chevron-right",he=B==="rtl"?"chevron-right":"chevron-left"):o==="vertical"&&(xe="chevron-up",he="chevron-down"),(0,At.jsxs)("div",{...G,className:n(ni,e.className,C(ni,{readonly:i,disabled:l}),{[`k-slider-${o}`]:o,"k-colorgradient-slider":t==="gradient"}),dir:B,children:[m&&(0,At.jsx)(d,{className:"k-button-decrease",rounded:"full",icon:he,tabIndex:-1,title:"Decrease"}),(0,At.jsxs)("div",{className:"k-slider-track-wrap",children:[f&&(0,At.jsx)("ul",{className:"k-reset k-slider-items","aria-hidden":"true",children:e.children}),(0,At.jsxs)("div",{className:"k-slider-track",style:E,children:[(0,At.jsx)("div",{className:"k-slider-selection"}),t==="range"&&(0,At.jsx)("span",{className:n("k-draghandle","k-draghandle-start",C(ni,{hover:g,focus:M,active:y})),role:"slider",tabIndex:l?void 0:0,"aria-valuenow":c??h,"aria-valuemin":h,"aria-valuemax":k??N,"aria-orientation":ne,"aria-disabled":l?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":G["aria-label"]?`${G["aria-label"]} start`:"Range start"}),(0,At.jsx)("span",{className:n("k-draghandle",`k-draghandle-${p}`,C(ni,{hover:g,focus:M,active:y})),role:"slider",tabIndex:l?void 0:0,"aria-valuenow":t==="range"?k??N:x,"aria-valuemin":t==="range"?c??h:h,"aria-valuemax":N,"aria-orientation":ne,"aria-disabled":l?"true":void 0,"aria-readonly":i?"true":void 0,"aria-label":t==="range"?G["aria-label"]?`${G["aria-label"]} end`:"Range end":G["aria-label"]})]})]}),m&&(0,At.jsx)(d,{className:"k-button-increase",rounded:"full",icon:xe,tabIndex:-1,title:"Increase"})]})};X.states=Fu;X.options=Uu;X.className=ni;X.defaultOptions=vt;X.moduleName=Hr;X.folderName=Gs;var Fr=require("react/jsx-runtime"),$s="k-tick",Gu=[],$u={},Vs={label:!1},R=e=>{let{style:t,label:o=Vs.label,orientation:a,large:i,text:l,...p}=e;return(0,Fr.jsx)("li",{...p,role:"presentation",title:l||"Tick",className:n(e.className,$s,{[`k-tick-${a}`]:a,"k-tick-large":i}),style:t,children:o&&(0,Fr.jsx)("span",{className:"k-label",children:l})})};R.states=Gu;R.options=$u;R.className=$s;R.defaultOptions=Vs;var Ee=require("react/jsx-runtime"),Xs=e=>(0,Ee.jsx)(X,{"aria-label":e["aria-label"]||"Slider",children:(0,Ee.jsxs)(Ee.Fragment,{children:[(0,Ee.jsx)(R,{className:"k-first",label:!0,large:!0,text:"0"}),(0,Ee.jsx)(R,{}),(0,Ee.jsx)(R,{}),(0,Ee.jsx)(R,{}),(0,Ee.jsx)(R,{}),(0,Ee.jsx)(R,{label:!0,large:!0,text:"5"}),(0,Ee.jsx)(R,{}),(0,Ee.jsx)(R,{}),(0,Ee.jsx)(R,{}),(0,Ee.jsx)(R,{}),(0,Ee.jsx)(R,{className:"k-last",label:!0,large:!0,text:"10"})]}),...e});var Ce=require("react/jsx-runtime"),Ws=e=>(0,Ce.jsx)(X,{children:(0,Ce.jsxs)(Ce.Fragment,{children:[(0,Ce.jsx)(R,{className:"k-first",label:!0,large:!0,text:"0"}),(0,Ce.jsx)(R,{}),(0,Ce.jsx)(R,{}),(0,Ce.jsx)(R,{}),(0,Ce.jsx)(R,{}),(0,Ce.jsx)(R,{label:!0,large:!0,text:"5"}),(0,Ce.jsx)(R,{}),(0,Ce.jsx)(R,{}),(0,Ce.jsx)(R,{}),(0,Ce.jsx)(R,{}),(0,Ce.jsx)(R,{className:"k-last",label:!0,large:!0,text:"10"})]}),"aria-label":e["aria-label"]||"Vertical slider",...e,orientation:"vertical"});var Ur=require("react/jsx-runtime");var Gr=require("react/jsx-runtime");var Js=require("react/jsx-runtime"),$r=e=>(0,Js.jsx)(X,{type:"gradient",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var qs=require("react/jsx-runtime"),Vr=e=>(0,qs.jsx)(X,{type:"gradient",orientation:"vertical",showButtons:!1,showTicks:!1,...e,"aria-label":e["aria-label"]||"Color slider"});var Xr=require("react/jsx-runtime");var Wr=require("react/jsx-runtime");var je=require("react/jsx-runtime"),Vu=X.options,Xu=X.states,Ys={...X.defaultOptions,variant:"horizontal",label:!0},Wu=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Ju=[{name:"label",title:"Labels",default:!0},{name:"tick",title:"Ticks",default:!0},{name:"button",title:"Side Buttons",default:!0}],qo=e=>{let{variant:t,modifiers:o,...a}=e,i=Ys.label,l={};Object.keys(o||{}).forEach(m=>{switch(m){case"button":{l.showButtons=!!(o!=null&&o[m]);break}case"label":{i=!!(o!=null&&o[m]);break}case"tick":{l.showTicks=!!(o!=null&&o[m]);break}}});let p={"--kendo-slider-start":0,"--kendo-slider-end":60};return t==="vertical"?(0,je.jsxs)(Ws,{style:{height:"300px",...p},...a,...l,children:[(0,je.jsx)(R,{label:i,large:!0,orientation:"vertical",text:"0",style:{position:"absolute",bottom:"0%"}}),(0,je.jsx)(R,{label:i,large:!0,orientation:"vertical",text:"2",style:{position:"absolute",bottom:"25%"}}),(0,je.jsx)(R,{label:i,large:!0,orientation:"vertical",text:"4",style:{position:"absolute",bottom:"50%"}}),(0,je.jsx)(R,{label:i,large:!0,orientation:"vertical",text:"6",style:{position:"absolute",bottom:"75%"}}),(0,je.jsx)(R,{label:i,large:!0,orientation:"vertical",text:"8",style:{position:"absolute",bottom:"100%"}})]}):(0,je.jsxs)(Xs,{style:{width:"400px",...p},...a,...l,children:[(0,je.jsx)(R,{label:i,large:!0,orientation:"horizontal",text:"0",style:{position:"absolute",left:"0%"}}),(0,je.jsx)(R,{label:i,large:!0,orientation:"horizontal",text:"2",style:{position:"absolute",left:"25%"}}),(0,je.jsx)(R,{label:i,large:!0,orientation:"horizontal",text:"4",style:{position:"absolute",left:"50%"}}),(0,je.jsx)(R,{label:i,large:!0,orientation:"horizontal",text:"6",style:{position:"absolute",left:"75%"}}),(0,je.jsx)(R,{label:i,large:!0,orientation:"horizontal",text:"8",style:{position:"absolute",left:"100%"}})]})};qo.options=Vu;qo.states=Xu;qo.variants=Wu;qo.defaultOptions=Ys;qo.modifiers=Ju;qo.className=X.className;var li=require("react/jsx-runtime"),Zs="k-spin-button",Zu=[],Qu={size:[s.undefined,s.small,s.medium,s.large],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link]},Jr={increaseLabel:"Increase value",decreaseLabel:"Decrease value"},Ht=e=>{let{size:t,fillMode:o,disabled:a,increaseLabel:i=Jr.increaseLabel,decreaseLabel:l=Jr.decreaseLabel,...p}=e;return(0,li.jsxs)("span",{...p,className:n(Zs,e.className),children:[(0,li.jsx)(d,{className:"k-spinner-increase",icon:"chevron-up",size:t,fillMode:o,disabled:a,"aria-label":i}),(0,li.jsx)(d,{className:"k-spinner-decrease",icon:"chevron-down",size:t,fillMode:o,disabled:a,"aria-label":l})]})};Ht.states=Zu;Ht.options=Qu;Ht.className=Zs;Ht.defaultOptions=Jr;Ht.moduleName=null;Ht.folderName=null;var Qs="numeric-textbox",js="numerictextbox";var Te=require("react/jsx-runtime"),ed="k-numerictextbox",ju=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],ef={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Bi={showSpinButton:!0,showClearButton:!0,separators:!0},K=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Bi.separators,showClearButton:l=Bi.showClearButton,showSpinButton:p=Bi.showSpinButton,prefix:m,suffix:f,value:x,placeholder:h,hover:N,focus:c,valid:k,invalid:g,required:M,loading:y,disabled:E,readonly:B,id:G,"aria-label":j,"aria-describedby":ne,...xe}=e;return(0,Te.jsxs)(V,{...xe,size:t,rounded:o,fillMode:a,hover:N,focus:c,valid:k,invalid:g,required:M,loading:y,disabled:E,readonly:B,className:n(e.className,ed),children:[m&&(0,Te.jsxs)(Te.Fragment,{children:[(0,Te.jsx)(Me,{children:m}),i&&(0,Te.jsx)(se,{})]}),(0,Te.jsx)(ge,{id:G,placeholder:h,value:x,role:"spinbutton",disabled:E,"aria-label":j,"aria-describedby":ne,"aria-invalid":g?"true":void 0}),(0,Te.jsx)(le,{valid:k,invalid:g,loading:y,disabled:E}),(0,Te.jsx)(me,{loading:y,disabled:E}),l&&(0,Te.jsx)(Ne,{loading:y,disabled:E,readonly:B,value:x}),f&&(0,Te.jsxs)(Te.Fragment,{children:[i&&(0,Te.jsx)(se,{}),(0,Te.jsx)(Ie,{children:f})]}),p&&(0,Te.jsx)(Ht,{className:"k-input-spinner",size:t,fillMode:a,disabled:E})]})};K.states=ju;K.options=ef;K.className=ed;K.defaultOptions=Bi;K.moduleName=Qs;K.folderName=js;var si=K;var od=require("react/jsx-runtime"),td=e=>(0,od.jsx)(si,{...e});var Pi=Fl(require("react"));var qr=require("react/jsx-runtime"),tf="k-list-group-sticky-header",Yr=e=>(0,qr.jsx)("div",{className:n(tf,e.className),children:(0,qr.jsx)("div",{className:"k-list-header-text",children:e.children})});var ad=require("react/jsx-runtime"),of="k-no-data",Ri=e=>{let{live:t,...o}=e;return(0,ad.jsx)("span",{...o,className:n(of,e.className),"aria-live":t?"polite":void 0,children:e.children})};var yo="list",Yo=yo;var Zo=require("react/jsx-runtime"),Zr="k-list",af=[],rf={size:[s.undefined,s.small,s.medium,s.large]},nf={},z=e=>{var g;let{size:t,virtualization:o,children:a,header:i,selectAll:l,optionLabel:p,customValue:m,noData:f,screenReaders:x,...h}=e,c=Pi.default.Children.toArray(a)[0],k=(g=c==null?void 0:c.props)!=null&&g.children?Pi.default.Children.count(c.props.children):Pi.default.Children.count(a);return(0,Zo.jsxs)("div",{...h,className:n(e.className,Zr,I(Zr,{size:t}),{"k-virtual-list":o}),children:[p,l,m,i&&(0,Zo.jsx)(Yr,{children:i}),a||(f!==void 0?f:(0,Zo.jsx)(Ri,{live:!0,children:"No data found."})),x&&a&&(0,Zo.jsxs)(Ri,{className:"k-sr-only",live:!0,children:[k," items found."]})]})};z.states=af;z.options=rf;z.className=Zr;z.defaultOptions=nf;z.moduleName=yo;z.folderName=Yo;var rd=require("react/jsx-runtime"),id="k-list-container",lf=[],sf={},df={},Qo=e=>{let{...t}=e;return(0,rd.jsx)("div",{...t,className:n(e.className,id),children:e.children})};Qo.states=lf;Qo.options=sf;Qo.className=id;Qo.defaultOptions=df;Qo.moduleName=yo;Qo.folderName=Yo;var Eo="checkbox",jo=Eo;var Qr=require("react/jsx-runtime"),wi="k-checkbox",pf=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked,r.indeterminate],mf={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},cf={},et=e=>{let{id:t,checked:o,indeterminate:a,hover:i,focus:l,disabled:p,invalid:m,valid:f,required:x,size:h,rounded:N,wrapperRole:c,...k}=e;return(0,Qr.jsx)("span",{className:"k-checkbox-wrap",role:c,children:(0,Qr.jsx)("input",{...k,id:t,type:"checkbox",defaultChecked:o,required:x,disabled:p||void 0,"aria-invalid":m?"true":void 0,className:n(e.className,wi,I(wi,{size:h,rounded:N}),C(wi,{hover:i,focus:l,disabled:p,invalid:m,valid:f,indeterminate:a,checked:o}))})})};et.states=pf;et.options=mf;et.className=wi;et.defaultOptions=cf;et.moduleName=Eo;et.folderName=jo;var Bt=et;var sd=require("react/jsx-runtime"),nd="k-checkbox-list",uf=[],ff={},ld={layout:"vertical"},We=e=>{let{layout:t=ld.layout,...o}=e;return(0,sd.jsx)("ul",{...o,className:n(e.className,nd,{[`k-list-${t}`]:t}),children:e.children})};We.states=uf;We.options=ff;We.className=nd;We.defaultOptions=ld;We.moduleName=Eo;We.folderName=jo;var pd=require("react/jsx-runtime"),dd="k-checkbox-list-item",bf=[],xf={},hf={},Je=e=>{let{...t}=e;return(0,pd.jsx)("li",{...t,className:n(e.className,dd),children:e.children})};Je.states=bf;Je.options=xf;Je.className=dd;Je.defaultOptions=hf;Je.moduleName=Eo;Je.folderName=jo;var Co=require("react/jsx-runtime"),Lt=({children:e="Label",id:t="cb-label-after",...o})=>(0,Co.jsxs)(Co.Fragment,{children:[(0,Co.jsx)(Bt,{id:t,...o}),(0,Co.jsx)("label",{className:"k-checkbox-label",htmlFor:t,children:e})]});var jr=require("react/jsx-runtime");var en=require("react/jsx-runtime");var tn=require("react/jsx-runtime");var Nf=require("react/jsx-runtime");var gf=require("react/jsx-runtime");var vf=require("react/jsx-runtime");var De=require("react/jsx-runtime"),Lf=We.options,kf=We.states,Mf={...We.defaultOptions,variant:"vertical"},If=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],Sf=[],ea=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,De.jsxs)(We,{layout:"horizontal",...o,children:[(0,De.jsx)(Je,{children:(0,De.jsx)(Lt,{id:T("cb"),defaultChecked:!0,children:"Label"})}),(0,De.jsx)(Je,{children:(0,De.jsx)(Lt,{id:T("cb"),children:"Label"})}),(0,De.jsx)(Je,{children:(0,De.jsx)(Lt,{id:T("cb"),children:"Label"})})]}):(0,De.jsxs)(We,{...o,children:[(0,De.jsx)(Je,{children:(0,De.jsx)(Lt,{id:T("cb"),defaultChecked:!0,children:"Label"})}),(0,De.jsx)(Je,{children:(0,De.jsx)(Lt,{id:T("cb"),children:"Label"})}),(0,De.jsx)(Je,{children:(0,De.jsx)(Lt,{id:T("cb"),children:"Label"})})]})};ea.options=Lf;ea.states=kf;ea.variants=If;ea.defaultOptions=Mf;ea.modifiers=Sf;ea.className=We.className;var md=require("react/jsx-runtime"),yf=Bt.options,Ef=Bt.states,Cf=Bt.defaultOptions,Tf=[],Of=[],ta=e=>(0,md.jsx)(Lt,{id:T("checkbox"),...e,defaultChecked:!0,children:"Label"});ta.options=yf;ta.states=Ef;ta.variants=Tf;ta.defaultOptions=Cf;ta.modifiers=Of;ta.className=Bt.className;var eo=require("react/jsx-runtime"),on="k-list-item",Af=[r.hover,r.focus,r.selected,r.disabled],Bf={},Rf={},O=e=>{let{text:t,iconName:o,iconClassName:a,showCheckbox:i,checked:l,hover:p,focus:m,selected:f,disabled:x,actions:h,description:N,id:c,...k}=e,g=t||e.children,M=t||(typeof g=="string"?g:void 0);return(0,eo.jsxs)("li",{...k,id:c,role:"option",tabIndex:m?0:-1,"aria-selected":f?"true":"false","aria-disabled":x?"true":void 0,className:n(e.className,on,C(on,{hover:p,focus:m,disabled:x,selected:f})),children:[i&&(0,eo.jsx)(et,{checked:l,disabled:x,"aria-label":M,tabIndex:-1}),o&&(0,eo.jsx)("span",{className:"k-list-item-icon-wrapper",children:(0,eo.jsx)(L,{icon:o,className:n("k-list-item-icon",a)})}),(0,eo.jsx)("span",{className:"k-list-item-text",children:g}),h&&(0,eo.jsx)("div",{className:"k-list-item-actions",children:h}),N&&(0,eo.jsx)("span",{className:"k-list-item-description",children:N})]})};O.states=Af;O.options=Bf;O.className=on;O.defaultOptions=Rf;O.moduleName=yo;O.folderName=Yo;var cd=require("react/jsx-runtime"),Pf="k-list-ul",Ft=e=>{let{children:t,role:o,id:a,...i}=e;return(0,cd.jsx)("ul",{...i,id:a,role:o,className:n(Pf,e.className),children:t})};var oa=require("react/jsx-runtime"),wf="k-list-content",D=e=>{let{virtualization:t,grouping:o,"aria-label":a,"aria-labelledby":i,listboxId:l,...p}=e;return(0,oa.jsxs)("div",{...p,className:n(wf,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:(0,oa.jsx)(Ft,{role:"listbox",id:l,"aria-label":a,"aria-labelledby":i,children:e.children}),t&&(0,oa.jsx)("div",{className:"k-height-container",children:(0,oa.jsx)("div",{})})]})};var aa=require("react/jsx-runtime"),Ki="k-list-sticky-header",Kf=[r.hover,r.focus,r.selected],zf={},Df={},zi=e=>{let{label:t="Select all",showCheckbox:o=!0,checked:a,indeterminate:i,hover:l,focus:p,selected:m,...f}=e;return(0,aa.jsx)("div",{...f,className:n(Ki,e.className),children:(0,aa.jsxs)("div",{className:n(`${Ki}-item`,C(`${Ki}-item`,{hover:l,focus:p,selected:m})),"aria-label":t,...!o&&{tabIndex:0,"aria-selected":m?"true":"false"},children:[o&&(0,aa.jsx)(et,{checked:a,indeterminate:i,"aria-label":t}),(0,aa.jsx)("span",{className:"k-list-item-text",children:t})]})})};zi.states=Kf;zi.options=zf;zi.className=Ki;zi.defaultOptions=Df;var an=require("react/jsx-runtime");var ud=require("react/jsx-runtime");var fd=require("react/jsx-runtime"),rn="k-list-optionlabel",_f=[r.hover,r.focus,r.selected,r.disabled],Hf={},Ff={},Di=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:l,...p}=e;return(0,fd.jsx)("div",{...p,className:n(rn,C(rn,{hover:o,focus:a,selected:i,disabled:l})),children:t})};Di.states=_f;Di.options=Hf;Di.className=rn;Di.defaultOptions=Ff;var bd=require("react/jsx-runtime"),nn="k-list-custom-value",Uf=[r.hover,r.focus,r.selected,r.disabled],Gf={},$f={},kt=e=>{let{text:t,hover:o,focus:a,selected:i,disabled:l,...p}=e;return(0,bd.jsx)("div",{...p,className:n(nn,C(nn,{hover:o,focus:a,selected:i,disabled:l})),children:t})};kt.states=Uf;kt.options=Gf;kt.className=nn;kt.defaultOptions=$f;var ln=require("react/jsx-runtime");var sn=require("react/jsx-runtime");var dn=require("react/jsx-runtime");var pn=require("react/jsx-runtime");var Vf=require("react/jsx-runtime");var mn=require("react/jsx-runtime");var cn=require("react/jsx-runtime");var xd="dropdown-list",hd="dropdownlist";var oe=require("react/jsx-runtime"),Nd="k-dropdownlist",Xf=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],Wf={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},un={showValue:!0,arrowIconName:"chevron-down"},W=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=un.arrowIconName,showValue:l=un.showValue,valueIconName:p,prefix:m,suffix:f,value:x,placeholder:h,hover:N,focus:c,valid:k,invalid:g,required:M,loading:y,disabled:E,readonly:B,popup:G,opened:j,adaptive:ne,adaptiveSettings:xe,adaptiveTitle:he,adaptiveSubtitle:Kt,adaptiveFilter:Ha,id:Tt,activeDescendant:_o,"aria-label":Fa,...Ua}=e,Jm=Tt?`${Tt}-listbox`:void 0,_l=Tt?`${Tt}-value`:void 0;return(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsxs)(_t,{...Ua,id:Tt,size:t,rounded:o,fillMode:a,hover:N,focus:c,valid:k,invalid:g,required:M,loading:y,disabled:E,readonly:B,className:n(e.className,Nd,{"k-icon-picker":!l&&p}),role:"combobox","aria-haspopup":"listbox","aria-expanded":j?"true":"false","aria-controls":j?Jm:void 0,"aria-activedescendant":j&&_o?_o:void 0,"aria-describedby":j?_l:void 0,"aria-disabled":E?"true":void 0,"aria-label":Fa,tabIndex:0,children:[(0,oe.jsx)(Me,{children:m}),(0,oe.jsx)(Io,{placeholder:h,value:x,showValue:l,valueIconName:p,id:_l}),(0,oe.jsx)(le,{valid:k,invalid:g,loading:y,disabled:E}),(0,oe.jsx)(me,{loading:y,disabled:E}),(0,oe.jsx)(Ie,{children:f}),(0,oe.jsx)(d,{className:"k-input-button",icon:i,size:e.size,fillMode:e.fillMode,"aria-label":h||"Toggle dropdown",tabIndex:-1})]}),j&&G&&(0,oe.jsx)(J,{className:"k-list-container k-dropdownlist-popup",containerRole:"region",containerAriaLabel:"Dropdown suggestions",children:G}),ne&&(0,oe.jsx)(ee,{adaptive:!0,...xe,header:(0,oe.jsx)(ye,{actionsEnd:(0,oe.jsx)(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),filter:Ha,inputValue:x,inputPlaceholder:h,title:he,subtitle:Kt}),children:(0,oe.jsx)("div",{className:"k-list-container",children:(0,oe.jsx)(z,{size:"large",children:(0,oe.jsxs)(D,{"aria-label":"Options",children:[(0,oe.jsx)(O,{text:"List item"}),(0,oe.jsx)(O,{text:"List item"}),(0,oe.jsx)(O,{text:"List item"})]})})})})]})};W.states=Xf;W.options=Wf;W.className=Nd;W.defaultOptions=un;W.moduleName=xd;W.folderName=hd;var Jf=require("react/jsx-runtime");var gd=require("react/jsx-runtime");var fn=require("react/jsx-runtime");var qf=require("react/jsx-runtime");var vd=require("react/jsx-runtime");var bn=require("react/jsx-runtime");var Yf=require("react/jsx-runtime");var tt=require("react/jsx-runtime"),Zf=W.states,Qf=W.defaultOptions,jf=W.options,eb=[{name:"opened",title:"Opened"}],tb=[],ra=e=>{let{modifiers:t,...o}=e,a={},i=(0,tt.jsxs)(tt.Fragment,{children:[(0,tt.jsx)("div",{className:"k-list-filter",children:(0,tt.jsx)(Nt,{})}),(0,tt.jsx)(z,{style:{width:300},size:o.size,children:(0,tt.jsxs)(D,{children:[(0,tt.jsx)(O,{children:"List item"}),(0,tt.jsx)(O,{children:"List item"}),(0,tt.jsx)(O,{children:"List item"})]})})]});return Object.keys(t||{}).forEach(l=>{l==="opened"&&(a.opened=!!(t!=null&&t[l]),a.popup=t!=null&&t[l]?i:void 0)}),(0,tt.jsx)("div",{children:(0,tt.jsx)(W,{placeholder:"Value",style:{width:300},...o,...a})})};ra.options=jf;ra.states=Zf;ra.variants=tb;ra.defaultOptions=Qf;ra.modifiers=eb;ra.className=W.className;var Ld=require("react/jsx-runtime");var kd=require("react/jsx-runtime");var ob=require("react/jsx-runtime");var _i=require("react/jsx-runtime"),ab=K.states,ib=K.defaultOptions,rb=K.options,nb=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"},{name:"spin-button",title:"`Spin` Button"}],lb=[],na=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t!=null&&t[i]?(0,_i.jsx)(W,{size:o.size,fillMode:"flat",value:"mm"}):void 0;break;case"suffix":a.suffix=t!=null&&t[i]?(0,_i.jsx)(Ei,{children:"mm"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[i];break;case"spin-button":a.showSpinButton=t==null?void 0:t[i];break;default:break}}),(0,_i.jsx)(td,{value:"Value",style:{width:300},...o,...a})};na.options=rb;na.states=ab;na.variants=lb;na.defaultOptions=ib;na.modifiers=nb;na.className=K.className;var S=require("react/jsx-runtime"),Md="k-colorgradient-inputs",sb=[],db={size:[s.undefined,s.small,s.medium,s.large]},Id={mode:"rgba"},la=e=>{let{mode:t=Id.mode,size:o,...a}=e;return(0,S.jsxs)("div",{...a,className:n(Md,"k-hstack"),children:[(0,S.jsx)("div",{className:"k-vstack",children:(0,S.jsx)(d,{fillMode:"flat",icon:"caret-alt-expand",className:"k-colorgradient-toggle-mode",size:o,"aria-label":"Toggle color input format"})}),t==="rgba"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Red channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Green channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132",size:o,"aria-label":"Blue channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"1.00",size:o,"aria-label":"Alpha channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="rgb"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Red channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"R"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Green channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"G"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Blue channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"B"})]})]}),t==="hsva"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"1.00","aria-label":"Alpha channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"A"})]})]}),t==="hsv"&&(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Hue channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"H"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Saturation channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"S"})]}),(0,S.jsxs)("div",{className:"k-vstack",children:[(0,S.jsx)(K,{showSpinButton:!1,showClearButton:!1,value:"132","aria-label":"Value channel"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"V"})]})]}),t==="hex"&&(0,S.jsx)(S.Fragment,{children:(0,S.jsxs)("div",{className:"k-vstack k-flex-1",children:[(0,S.jsx)(H,{showClearButton:!1,value:"#b88484AA",className:"k-hex-value"}),(0,S.jsx)("label",{className:"k-colorgradient-input-label",children:"HEX"})]})})]})};la.states=sb;la.options=db;la.className=Md;la.defaultOptions=Id;var _e=require("react/jsx-runtime"),Sd="k-colorgradient-color-contrast",pb=[],mb={},cb={},sa=()=>(0,_e.jsxs)("div",{className:n(Sd,"k-vbox"),children:[(0,_e.jsxs)("div",{className:"k-contrast-ratio",children:[(0,_e.jsx)("span",{className:"k-contrast-ratio-text",children:"Contrast ratio: 7.1"}),(0,_e.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:[(0,_e.jsx)(L,{icon:"check"}),(0,_e.jsx)(L,{icon:"check"})]})]}),(0,_e.jsxs)("div",{children:[(0,_e.jsx)("span",{children:"AA: 4.5"}),(0,_e.jsxs)("span",{className:"k-contrast-validation !k-text-success",children:["Pass",(0,_e.jsx)(L,{icon:"check"})]})]}),(0,_e.jsxs)("div",{children:[(0,_e.jsx)("span",{children:"AAA: 7.0"}),(0,_e.jsxs)("span",{className:"k-contrast-validation !k-text-error",children:["Fail",(0,_e.jsx)(L,{icon:"x"})]})]})]});sa.states=pb;sa.options=mb;sa.className=Sd;sa.defaultOptions=cb;var yd="color-gradient",Ed="colorgradient";var ve=require("react/jsx-runtime"),Hi="k-colorgradient",ub=[r.hover,r.focus,r.readonly,r.disabled],fb={size:[s.undefined,s.small,s.medium,s.large]},Ut={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"},Oe=e=>{let{size:t,mode:o=Ut.mode,readonly:a=Ut.readonly,disabled:i=Ut.disabled,gradientStyle:l=Ut.gradientStyle,dragHandleStyle:p=Ut.dragHandleStyle,alphaStyle:m=Ut.alphaStyle,alphaStyleHorizontal:f=Ut.alphaStyleHorizontal,contrast:x=Ut.contrast,dir:h,hover:N,focus:c,hoverHandle:k,focusHandle:g,canvasOrientation:M=Ut.canvasOrientation,role:y,tabIndex:E,...B}=e;return(0,ve.jsxs)("div",{...B,role:y??"textbox","aria-label":y==="none"?void 0:"Color gradient",tabIndex:E??0,"aria-disabled":i?"true":void 0,className:n(e.className,Hi,I(Hi,{size:t}),C(Hi,{hover:N,focus:c,readonly:a,disabled:i})),dir:h,children:[!M||M==="horizontal"&&(0,ve.jsxs)("div",{className:"k-colorgradient-canvas k-hstack",children:[(0,ve.jsx)("div",{className:"k-hsv-rectangle",style:l,children:(0,ve.jsx)("div",{className:"k-hsv-gradient",children:(0,ve.jsx)("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":k,"k-focus":g}),style:p,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})})}),(0,ve.jsxs)("div",{className:"k-hsv-controls k-hstack",children:[(0,ve.jsx)(Vr,{className:"k-hue-slider",hover:k,focus:g}),o!=="rgb"&&o!=="hsv"&&(0,ve.jsx)(Vr,{className:"k-alpha-slider",hover:k,focus:g,trackStyle:m})]})]}),M==="vertical"&&(0,ve.jsxs)("div",{className:"k-colorgradient-canvas k-vstack",children:[(0,ve.jsx)("div",{className:"k-hsv-rectangle",style:l,children:(0,ve.jsx)("div",{className:"k-hsv-gradient",children:(0,ve.jsx)("div",{className:n("k-hsv-draghandle","k-draghandle",{"k-hover":k,"k-focus":g}),style:p,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})})}),(0,ve.jsxs)("div",{className:"k-hsv-controls k-vstack",children:[(0,ve.jsx)($r,{className:"k-hue-slider",hover:k,focus:g}),o!=="rgb"&&o!=="hsv"&&(0,ve.jsx)($r,{className:"k-alpha-slider",hover:k,focus:g,trackStyle:f})]})]}),(0,ve.jsx)(la,{mode:e.mode,size:t}),x&&(0,ve.jsx)(sa,{})]})};Oe.states=ub;Oe.options=fb;Oe.className=Hi;Oe.defaultOptions=Ut;Oe.moduleName=yd;Oe.folderName=Ed;var Cd=require("react/jsx-runtime"),Fi=e=>(0,Cd.jsx)(Oe,{...e});var bb=require("react/jsx-runtime");var xb=require("react/jsx-runtime");var Ui=require("react/jsx-runtime"),hb=Oe.options,Nb=Oe.states,gb={...Oe.defaultOptions,variant:"rgba"},vb=[{name:"rgba",title:"RGBA"},{name:"rgb",title:"RGB"},{name:"hex",title:"HEX"}],Lb=[],da=e=>{let{variant:t,...o}=e;switch(t){case"hex":return(0,Ui.jsx)(Fi,{...o,mode:t});case"rgb":return(0,Ui.jsx)(Fi,{...o,mode:t});default:return(0,Ui.jsx)(Fi,{...o,mode:t})}};da.options=hb;da.states=Nb;da.variants=vb;da.defaultOptions=gb;da.modifiers=Lb;da.className=Oe.className;var Td=require("react/jsx-runtime"),xn=e=>(0,Td.jsx)("tr",{role:"row",children:e.children});var Od=require("react/jsx-runtime"),hn="k-colorpalette-tile",kb=[r.hover,r.focus,r.selected],Mb={},bo=e=>{let{color:t,tileSize:o,hover:a,focus:i,selected:l,...p}=e,m={backgroundColor:t,width:o?o+"px":"",height:o?o+"px":""};return(0,Od.jsx)("td",{...p,role:"gridcell","aria-label":t,"aria-selected":l?"true":void 0,className:n(e.className,hn,C(hn,{hover:a,focus:i,selected:l})),style:m})};bo.states=kb;bo.options=Mb;bo.className=hn;bo.moduleName=null;bo.folderName=null;var Ad="color-palette",Bd="colorpalette";var pa=require("react/jsx-runtime"),Gi="k-colorpalette",Ib=[r.disabled],Sb={size:[s.undefined,s.small,s.medium,s.large]},Rd={columns:10},ot=e=>{let{size:t,palette:o,columns:a=Rd.columns,tileSize:i,disabled:l,...p}=e,m=[];if(o){let f=a||o.columns,x=o.colors?o.colors:o;Array.isArray(x)&&Array.from({length:Math.ceil(x.length/f)},(h,N)=>{let c=[];x.slice(N*f,(N+1)*f).map((g,M)=>{c.push((0,pa.jsx)(bo,{color:g,tileSize:i},M))});let k=(0,pa.jsx)(xn,{children:c},N);m.push(k)})}return(0,pa.jsx)("div",{...p,role:"grid","aria-label":"Color palette",tabIndex:0,"aria-disabled":l?"true":void 0,className:n(e.className,Gi,C(Gi,{disabled:l}),I(Gi,{size:t})),children:(0,pa.jsx)("table",{className:"k-colorpalette-table",role:"none",children:(0,pa.jsx)("tbody",{children:m.length>0?m:e.children})})})};ot.states=Ib;ot.options=Sb;ot.className=Gi;ot.defaultOptions=Rd;ot.moduleName=Ad;ot.folderName=Bd;var $i=ot;var di={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}};var wd=require("react/jsx-runtime"),Pd=e=>(0,wd.jsx)($i,{palette:di.basic,...e});var yb=require("react/jsx-runtime");var Kd=require("react/jsx-runtime");var zd=require("react/jsx-runtime"),Eb=ot.options,Cb=ot.states,Tb={...ot.defaultOptions,variant:"basic"},Ob=[{name:"basic",title:"Basic"},{name:"monochrome",title:"Monochrome"}],Ab={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}},Bb=[],ma=e=>{let{variant:t="basic",...o}=e,a=Ab[t];return(0,zd.jsx)(Pd,{columns:a.columns,palette:a,...o})};ma.options=Eb;ma.states=Cb;ma.variants=Ob;ma.defaultOptions=Tb;ma.modifiers=Bb;ma.className=ot.className;var Dd="color-editor",_d="coloreditor";var ce=require("react/jsx-runtime"),Vi="k-coloreditor",Rb=[r.focus],Pb={size:[s.undefined,s.small,s.medium,s.large]},pi={view:"gradient",palette:di.office,actionButtons:!0,canvasOrientation:"horizontal"},ue=e=>{let{size:t,view:o=pi.view,palette:a=pi.palette,color:i,currentColor:l,focus:p,focusView:m,dir:f,group:x,actionButtons:h=pi.actionButtons,canvasOrientation:N=pi.canvasOrientation,...c}=e;return(0,ce.jsxs)("div",{...c,role:"textbox","aria-label":"Color editor",tabIndex:0,className:n(e.className,"k-flatcolorpicker",Vi,I(Vi,{size:t}),C(Vi,{focus:p})),dir:f,children:[(0,ce.jsxs)("div",{className:"k-coloreditor-header k-hstack",children:[(0,ce.jsx)("div",{className:"k-coloreditor-header-actions k-hstack",children:x&&(0,ce.jsxs)(w,{fillMode:"flat",children:[(0,ce.jsx)(d,{className:"k-group-start",size:t,fillMode:"flat",icon:"droplet-slider",selected:o==="gradient","aria-label":"Color gradient view"}),(0,ce.jsx)(d,{className:"k-group-end",size:t,fillMode:"flat",icon:"palette",selected:o==="palette","aria-label":"Color palette view"})]})}),(0,ce.jsx)("div",{className:"k-spacer"}),(0,ce.jsxs)("div",{className:"k-coloreditor-header-actions k-hstack",children:[(0,ce.jsx)(d,{fillMode:"flat",icon:"droplet-slash",size:t,"aria-label":"Reset color"}),(0,ce.jsxs)("div",{className:"k-coloreditor-preview k-vstack",children:[(0,ce.jsx)(mo,{className:"k-coloreditor-preview-color",color:i}),(0,ce.jsx)(mo,{className:"k-coloreditor-current-color",color:l})]})]})]}),(0,ce.jsx)("div",{className:"k-coloreditor-views k-vstack",children:o==="gradient"?(0,ce.jsx)(Oe,{focus:m,size:t,canvasOrientation:N,role:"none",tabIndex:-1}):(0,ce.jsx)(ot,{palette:a,size:t})}),h&&(0,ce.jsxs)(ht,{className:"k-coloreditor-footer",alignment:"start",children:[(0,ce.jsx)(d,{themeColor:"primary",size:t,className:"k-coloreditor-apply",children:"Apply"}),(0,ce.jsx)(d,{className:"k-coloreditor-cancel",size:t,children:"Cancel"})]})]})};ue.states=Rb;ue.options=Pb;ue.className=Vi;ue.defaultOptions=pi;ue.moduleName=Dd;ue.folderName=_d;var ca=ue;var wb=require("react/jsx-runtime");var Kb=require("react/jsx-runtime");var Fd=require("react/jsx-runtime"),Hd=e=>(0,Fd.jsx)(ca,{group:!0,currentColor:"fuchsia",...e});var Gd=require("react/jsx-runtime"),Ud=e=>(0,Gd.jsx)(ca,{view:"palette",group:!0,currentColor:"fuchsia",...e});var Nn=require("react/jsx-runtime"),zb=ue.options,Db=ue.states,_b={...ue.defaultOptions,variant:"gradient"},Hb=[{name:"gradient",title:"Gradient"},{name:"palette",title:"Palette"}],Fb=[],ua=e=>{let{variant:t,...o}=e;return t==="palette"?(0,Nn.jsx)(Ud,{...o,color:"white"}):(0,Nn.jsx)(Hd,{...o,color:"rgba(183, 118 , 118, 1.00)"})};ua.options=zb;ua.states=Db;ua.variants=Hb;ua.defaultOptions=_b;ua.modifiers=Fb;ua.className=ue.className;var $d="color-picker",Vd="colorpicker";var Le=require("react/jsx-runtime"),Xd="k-colorpicker",Ub=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],Gb={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Wd={arrowIconName:"chevron-down"},Ae=e=>{let{size:t,rounded:o,fillMode:a,arrowIconName:i=Wd.arrowIconName,prefix:l,suffix:p,value:m,placeholder:f,hover:x,focus:h,valid:N,invalid:c,required:k,disabled:g,valueIconName:M,popup:y,opened:E,adaptive:B,adaptiveSettings:G,adaptiveTitle:j,adaptiveSubtitle:ne,...xe}=e,he="colorpicker-popup";return(0,Le.jsxs)(Le.Fragment,{children:[(0,Le.jsxs)(_t,{...xe,size:t,rounded:o,fillMode:a,hover:x,focus:h,valid:N,invalid:c,required:k,disabled:g,role:"combobox","aria-haspopup":"dialog","aria-expanded":E?"true":"false","aria-controls":E||B?he:void 0,"aria-label":"Color picker",tabIndex:0,"aria-disabled":g?"true":void 0,className:n(e.className,Xd,"k-icon-picker"),children:[(0,Le.jsx)(Me,{children:l}),(0,Le.jsx)(Io,{placeholder:f,value:m,showValue:!1,valueIcon:(0,Le.jsx)(mo,{className:"k-value-icon",color:m,iconName:M}),valueIconName:M}),(0,Le.jsx)(Ie,{children:p}),(0,Le.jsx)(d,{className:"k-input-button",icon:i,size:t,fillMode:a,tabIndex:-1,"aria-label":"Open color picker",disabled:g})]}),E&&y&&(0,Le.jsx)(J,{id:he,className:"k-colorpicker-popup",children:y}),B&&(0,Le.jsx)(ee,{adaptive:!0,id:he,...G,header:(0,Le.jsx)(ye,{actionsEnd:(0,Le.jsx)(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply"}),title:j,subtitle:ne}),footer:(0,Le.jsxs)(co,{children:[(0,Le.jsx)(d,{text:"Cancel",size:"large"}),(0,Le.jsx)(d,{text:"Set",size:"large",themeColor:"primary"})]}),children:(0,Le.jsx)(ue,{canvasOrientation:"vertical",size:"large",actionButtons:!1,group:!0})})]})};Ae.states=Ub;Ae.options=Gb;Ae.className=Xd;Ae.defaultOptions=Wd;Ae.moduleName=$d;Ae.folderName=Vd;var to=Ae;var Jd=require("react/jsx-runtime"),Xi=e=>(0,Jd.jsx)(to,{...e});var $b=require("react/jsx-runtime");var Vb=require("react/jsx-runtime");var Xb=require("react/jsx-runtime");var Wb=require("react/jsx-runtime");var Jb=require("react/jsx-runtime");var qb=require("react/jsx-runtime");var xo=require("react/jsx-runtime"),Yb=to.options,Zb=to.states,qd={...to.defaultOptions,variant:"color"},Qb=[{name:"color",title:"Color",default:!0},{name:"no color",title:"No color"},{name:"icon",title:"Icon"}],jb=[{name:"opened",title:"Opened"}],fa=e=>{let{variant:t,modifiers:o,...a}={...qd,...e},i={};Object.keys(o||{}).forEach(p=>{p==="opened"&&(i.opened=!!(o!=null&&o[p]),i.popup=o!=null&&o[p]?(0,xo.jsx)(ue,{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(0,xo.jsx)("div",{style:l,children:(0,xo.jsx)(Xi,{...a,...i})});case"icon":return(0,xo.jsx)("div",{style:l,children:(0,xo.jsx)(Xi,{value:"rgba(183, 118 , 118, 1.00)",valueIconName:"edit-tools",...a,...i})});default:return(0,xo.jsx)("div",{style:l,children:(0,xo.jsx)(Xi,{value:"rgba(183, 118 , 118, 1.00)",...a,...i})})}};fa.options=Yb;fa.states=Zb;fa.variants=Qb;fa.defaultOptions=qd;fa.modifiers=jb;fa.className=to.className;var gn="combobox",Yd=gn;var F=require("react/jsx-runtime"),Zd="k-combobox",ex=[r.hover,r.focus,r.valid,r.invalid,r.loading,r.required,r.disabled,r.readonly],tx={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Qd={separators:!0},Be=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Qd.separators,prefix:l,suffix:p,value:m,placeholder:f,hover:x,focus:h,valid:N,invalid:c,required:k,loading:g,disabled:M,popup:y,opened:E,readonly:B,adaptive:G,adaptiveSettings:j,adaptiveTitle:ne,adaptiveSubtitle:xe,adaptiveCustomValue:he,id:Kt,autocomplete:Ha,activeDescendant:Tt,"aria-label":_o,...Fa}=e,Ua=Kt?`${Kt}-listbox`:void 0;return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(V,{...Fa,size:t,rounded:o,fillMode:a,hover:x,focus:h,valid:N,invalid:c,required:k,loading:g,disabled:M,readonly:B,className:n(e.className,Zd),children:[l&&(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(Me,{children:l}),i&&(0,F.jsx)(se,{})]}),(0,F.jsx)(ge,{id:Kt,placeholder:f,value:m,role:"combobox","aria-haspopup":"listbox","aria-expanded":E?"true":"false","aria-controls":E?Ua:void 0,"aria-activedescendant":E&&Tt?Tt:void 0,"aria-autocomplete":Ha,"aria-invalid":c?"true":void 0,"aria-busy":g?"true":void 0,"aria-label":_o,disabled:M,readOnly:B}),(0,F.jsx)(le,{valid:N,invalid:c,loading:g,disabled:M}),(0,F.jsx)(me,{loading:g,disabled:M}),(0,F.jsx)(Ne,{loading:g,disabled:M,readonly:B,value:m}),p&&(0,F.jsxs)(F.Fragment,{children:[i&&(0,F.jsx)(se,{}),(0,F.jsx)(Ie,{children:p})]}),(0,F.jsx)(d,{className:"k-input-button",icon:"chevron-down",size:t,fillMode:a,"aria-label":"Open popup",tabIndex:-1,disabled:M})]}),E&&y&&(0,F.jsx)(J,{className:"k-list-container k-combobox-popup",containerRole:"region",containerAriaLabel:"Combobox suggestions",children:y}),G&&(0,F.jsx)(ee,{adaptive:!0,id:Kt?`${Kt}-adaptive`:void 0,...j,header:(0,F.jsx)(ye,{actionsEnd:(0,F.jsx)(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:m,inputPlaceholder:f,title:ne,subtitle:xe}),children:(0,F.jsx)("div",{className:"k-list-container",children:(0,F.jsx)(z,{customValue:he?(0,F.jsx)(kt,{text:`Use "${m}"`}):void 0,size:"large",children:(0,F.jsxs)(D,{"aria-label":ne||"Options",children:[(0,F.jsx)(O,{text:"List item"}),(0,F.jsx)(O,{text:"List item"}),(0,F.jsx)(O,{text:"List item"})]})})})})]})};Be.states=ex;Be.options=tx;Be.className=Zd;Be.defaultOptions=Qd;Be.moduleName=gn;Be.folderName=Yd;var st=Be;var ep=require("react/jsx-runtime"),jd=e=>(0,ep.jsx)(st,{...e});var tp=require("react/jsx-runtime");var op=require("react/jsx-runtime");var ap=require("react/jsx-runtime");var ip=require("react/jsx-runtime");var rp=require("react/jsx-runtime");var np=require("react/jsx-runtime");var vn=require("react/jsx-runtime");var ox=require("react/jsx-runtime");var ax=require("react/jsx-runtime");var lp=require("react/jsx-runtime");var sp=require("react/jsx-runtime");var Rt=require("react/jsx-runtime"),ix=Be.states,rx=Be.defaultOptions,nx=Be.options,lx=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],sx=[],ba=e=>{let{modifiers:t,...o}=e,a={},i=(0,Rt.jsx)(z,{style:{width:300},size:o.size,children:(0,Rt.jsxs)(D,{children:[(0,Rt.jsx)(O,{children:"List item"}),(0,Rt.jsx)(O,{children:"List item"}),(0,Rt.jsx)(O,{children:"List item"})]})});return Object.keys(t||{}).forEach(l=>{switch(l){case"prefix":a.prefix=t!=null&&t[l]?(0,Rt.jsx)(L,{icon:"map-marker-target"}):void 0;break;case"suffix":a.suffix=t!=null&&t[l]?(0,Rt.jsx)(jt,{size:o.size,icon:"copy",fillMode:"clear"}):void 0;break;case"opened":a.opened=!!(t!=null&&t[l]),a.popup=t!=null&&t[l]?i:void 0;break;default:break}}),(0,Rt.jsx)("div",{children:(0,Rt.jsx)(jd,{value:"Value",style:{width:300},...o,...a})})};ba.options=nx;ba.states=ix;ba.variants=sx;ba.defaultOptions=rx;ba.modifiers=lx;ba.className=Be.className;var Ln="menu-button",dp=Ln;var mp=require("react/jsx-runtime"),pp="k-menu-button",dx=[r.hover,r.focus,r.active,r.selected,r.disabled],px={size:[s.undefined,s.xsmall,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},kn={showArrow:!0,arrowIconName:"chevron-down"},Z=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:p,active:m,selected:f,disabled:x,icon:h,text:N,showArrow:c=kn.showArrow,arrowIconName:k=kn.arrowIconName,expanded:g,...M}=e;return(0,mp.jsx)(d,{...M,className:n(e.className,pp),text:N,size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:p,active:m,selected:f,disabled:x,ariaDisabled:x||void 0,icon:h,showArrow:c,arrowIconName:k,"aria-expanded":g?"true":"false",...!N&&h&&!e["aria-label"]&&{"aria-label":"Menu"}})};Z.states=dx;Z.options=px;Z.className=pp;Z.defaultOptions=kn;Z.moduleName=Ln;Z.folderName=dp;var mx=require("react/jsx-runtime");var cx=require("react/jsx-runtime");var ux=require("react/jsx-runtime");var dt="menu",Mt=dt;var oo=require("react/jsx-runtime"),Mn="k-menu-item",fx=[r.hover,r.focus,r.active,r.selected,r.disabled],bx={},cp={iconPosition:"before"},He=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:l,icon:p,text:m,showArrow:f,arrowIconName:x,iconPosition:h=cp.iconPosition,dir:N,children:c,expanded:k,...g}=e,M=x;return M||(M=N==="rtl"?"chevron-left":"chevron-right"),(0,oo.jsxs)("li",{...g,className:n(e.className,Mn,"k-item",C(Mn,{focus:o,disabled:l,hover:t,active:a,selected:i})),role:"menuitem",...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":k?"true":"false"},...l&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,oo.jsxs)("span",{className:n("k-link k-menu-link"),children:[p&&h==="before"&&(0,oo.jsx)(L,{className:"k-menu-link-icon",icon:p}),(0,oo.jsx)("span",{className:"k-menu-link-text",children:m}),p&&h==="after"&&(0,oo.jsx)(L,{className:"k-menu-link-icon",icon:p}),f&&(0,oo.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,oo.jsx)(L,{icon:M})})]}),c]})};He.states=fx;He.options=bx;He.className=Mn;He.defaultOptions=cp;He.moduleName=dt;He.folderName=Mt;var Pt=require("react/jsx-runtime"),In="k-menu-item",xx=[r.hover,r.focus,r.active,r.selected,r.disabled],hx={},Sn={dir:"ltr",iconPosition:"before"},ae=e=>{let{hover:t,focus:o,active:a,selected:i,disabled:l,icon:p,text:m,showArrow:f,arrowIconName:x,iconPosition:h=Sn.iconPosition,dir:N=Sn.dir,children:c,popup:k,expanded:g,actions:M,description:y,...E}=e,B=x;return B||(B=N==="rtl"?"chevron-left":"chevron-right"),(0,Pt.jsxs)("li",{role:"menuitem",...E,className:n(e.className,In,"k-item",C(In,{focus:o,disabled:l})),...f&&{"aria-haspopup":"menu"},...f&&{"aria-expanded":g?"true":"false"},...l&&{"aria-disabled":"true"},...o&&{tabIndex:0},children:[(0,Pt.jsxs)("span",{className:n("k-link k-menu-link",C("k-menu-link",{hover:t,active:a,selected:i,disabled:l})),children:[p&&h==="before"&&(0,Pt.jsx)(L,{className:"k-menu-link-icon",icon:p}),(0,Pt.jsx)("span",{className:"k-menu-link-text",children:m}),p&&h==="after"&&(0,Pt.jsx)(L,{className:"k-menu-link-icon",icon:p}),M&&(0,Pt.jsx)("span",{className:"k-menu-link-actions",children:M}),f&&(0,Pt.jsx)("span",{className:"k-menu-expand-arrow","aria-hidden":"true",children:(0,Pt.jsx)(L,{icon:B})}),y&&(0,Pt.jsx)("span",{className:"k-menu-link-description",children:y})]}),c,k]})};ae.states=xx;ae.options=hx;ae.className=In;ae.defaultOptions=Sn;ae.moduleName=dt;ae.folderName=Mt;var bp=require("react/jsx-runtime"),up="k-menu-scroll-wrapper",Nx=[],gx={},vx={},Oo=e=>{let{className:t,children:o,orientation:a,...i}=e;return(0,bp.jsx)("div",{...i,className:n(t,up,{"k-menu-scroll-wrapper-vertical":a==="vertical"}),children:o})};Oo.states=Nx;Oo.options=gx;Oo.className=up;Oo.defaultOptions=vx;Oo.moduleName=dt;Oo.folderName=Mt;var fp=Oo;var Re=require("react/jsx-runtime"),Ji="k-menu",Lx=[],kx={size:[s.undefined,s.small,s.medium,s.large]},qi={orientation:"horizontal",header:!0,scrollButtonsPosition:"around"},Pe=e=>{let{children:t,orientation:o=qi.orientation,header:a=qi.header,scrollable:i,scrollButtonsPosition:l=qi.scrollButtonsPosition,wrapperStyles:p,dir:m,size:f,popup:x,contextMenu:h,...N}=e,c={horizontal:{prev:m!=="rtl"?"left":"right",next:m!=="rtl"?"right":"left"},vertical:{prev:"up",next:"down"}},k=(0,Re.jsx)("ul",{dir:m,...N,className:n(e.className,"k-reset",Ji,{[`${Ji}-${o}`]:o,"k-header":a},I(Ji,{size:f})),role:h?"menu":"menubar",...o==="vertical"&&{"aria-orientation":"vertical"},children:t});return(0,Re.jsxs)(Re.Fragment,{children:[i?(0,Re.jsxs)(fp,{orientation:o,style:p,dir:e.dir,children:[l==="start"&&(0,Re.jsxs)(Re.Fragment,{children:[(0,Re.jsx)(d,{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"}),(0,Re.jsx)(d,{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"&&(0,Re.jsx)(d,{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"}),k,l==="end"&&(0,Re.jsxs)(Re.Fragment,{children:[(0,Re.jsx)(d,{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"}),(0,Re.jsx)(d,{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"&&(0,Re.jsx)(d,{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"})]}):k,x]})};Pe.states=Lx;Pe.options=kx;Pe.className=Ji;Pe.defaultOptions=qi;Pe.moduleName=dt;Pe.folderName=Mt;var hp=require("react/jsx-runtime"),yn="k-separator",xp={orientation:"horizontal"},xa=e=>{let{orientation:t=xp.orientation,...o}=e;return(0,hp.jsx)("li",{...o,className:n(e.className,"k-item",yn,{[`${yn}-${t}`]:t}),role:"separator"})};xa.className=yn;xa.defaultOptions=xp;xa.moduleName=dt;xa.folderName=Mt;var Np=require("react/jsx-runtime");var gp=require("react/jsx-runtime"),En="k-menu-group",Mx=[],Ix={size:[s.undefined,s.small,s.medium,s.large]},Sx={},Fe=e=>{let{children:t,size:o,...a}=e;return(0,gp.jsx)("ul",{role:"menu",...a,className:n(e.className,En,I(En,{size:o})),children:t})};Fe.states=Mx;Fe.options=Ix;Fe.className=En;Fe.defaultOptions=Sx;Fe.moduleName=dt;Fe.folderName=Mt;var vp=require("react/jsx-runtime");var wt=require("react/jsx-runtime"),Cn=e=>(0,wt.jsx)(Pe,{children:(0,wt.jsxs)(wt.Fragment,{children:[(0,wt.jsx)(He,{text:"Item 1"}),(0,wt.jsx)(He,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 2"}),(0,wt.jsx)(He,{showArrow:!0,arrowIconName:"chevron-down",text:"Item 3"}),(0,wt.jsx)(He,{text:"Item 4"}),(0,wt.jsx)(He,{text:"Item 5"})]}),...e});var Tn=require("react/jsx-runtime");var On=require("react/jsx-runtime");var An=require("react/jsx-runtime");var Bn=require("react/jsx-runtime");var Gt=require("react/jsx-runtime"),yx={...Pe.options,scrollable:{type:"boolean"}},Ex=Pe.states,Lp={...Pe.defaultOptions,variant:"horizontal"},Cx=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],Tx=[{name:"opened",title:"Opened"}],ha=e=>{let{variant:t,modifiers:o,...a}={...Lp,...e},i={},l=t==="vertical"?{left:"200px",top:"30px"}:{left:"90px",top:"auto"};return Object.keys(o||{}).forEach(p=>{p==="opened"&&(i.opened=!!(o!=null&&o[p]),i.popup=o!=null&&o[p]?(0,Gt.jsx)(J,{className:"k-menu-popup",offset:l,children:(0,Gt.jsxs)(Fe,{children:[(0,Gt.jsx)(ae,{text:"Item 1"}),(0,Gt.jsx)(ae,{text:"Item 2"}),(0,Gt.jsx)(xa,{}),(0,Gt.jsx)(ae,{text:"Item 3"})]})}):null)}),t==="vertical"?(0,Gt.jsx)(Cn,{...a,...i,orientation:"vertical",style:{width:"200px"}}):(0,Gt.jsx)(Cn,{...a,...i})};ha.options=yx;ha.states=Ex;ha.variants=Cx;ha.defaultOptions=Lp;ha.modifiers=Tx;ha.className=Pe.className;var Rn=require("react/jsx-runtime");var Ox=require("react/jsx-runtime");var Ue=require("react/jsx-runtime"),Ax=d.states,kp={...d.defaultOptions,variant:"text"},Bx=d.options,Rx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],Px=[{name:"opened",title:"Opened"}],Na=e=>{let{variant:t,modifiers:o,...a}={...kp,...e},i={},l=(0,Ue.jsx)(J,{className:"k-menu-popup",children:(0,Ue.jsxs)(Fe,{size:a.size,children:[(0,Ue.jsx)(ae,{text:"Menu Item"}),(0,Ue.jsx)(ae,{text:"Menu Item"}),(0,Ue.jsx)(ae,{text:"Menu Item"})]})}),p;switch(t){case"icon-only":p=(0,Ue.jsx)("div",{children:(0,Ue.jsx)(Z,{...a,...i,icon:"star"})});break;case"icon-and-text":p=(0,Ue.jsx)("div",{children:(0,Ue.jsx)(Z,{...a,...i,icon:"star",children:"Dropdown Button"})});break;default:p=(0,Ue.jsx)("div",{children:(0,Ue.jsx)(Z,{...a,...i,children:"Dropdown Button"})});break}return(0,Ue.jsxs)(Ue.Fragment,{children:[p,(o==null?void 0:o.opened)&&l]})};Na.options=Bx;Na.states=Ax;Na.variants=Rx;Na.defaultOptions=kp;Na.modifiers=Px;Na.className=Z.className;var Pn="split-button",Mp=Pn;var ao=require("react/jsx-runtime"),wn="k-split-button",wx=[r.hover,r.focus,r.active,r.selected,r.disabled],Kx={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline,b.clear,b.link],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary,v.success,v.warning,v.error,v.info,v.inverse]},Ip={arrowIconName:"chevron-down"},_=e=>{let{size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:p,active:m,selected:f,disabled:x,icon:h,text:N,arrowIconName:c=Ip.arrowIconName,popup:k,opened:g,popupId:M,...y}=e;return(0,ao.jsxs)(ao.Fragment,{children:[(0,ao.jsxs)("div",{...y,className:n(e.className,wn,"k-button-group",I(wn,{rounded:o})),children:[(0,ao.jsx)(d,{text:N,icon:h,size:t,rounded:o,fillMode:a,themeColor:i,hover:l,focus:p,active:m,selected:f,disabled:x,...!N&&!e.children&&h&&{"aria-label":"Action"},children:e.children}),(0,ao.jsx)(d,{className:"k-split-button-arrow",icon:c,size:t,rounded:o,fillMode:a,disabled:x,ariaDisabled:x||void 0,"aria-label":"Toggle dropdown","aria-expanded":g?"true":"false","aria-controls":g?M:void 0,tabIndex:-1})]}),g&&k&&(0,ao.jsx)(J,{className:"k-menu-popup",children:k})]})};_.states=wx;_.options=Kx;_.className=wn;_.defaultOptions=Ip;_.moduleName=Pn;_.folderName=Mp;var Kn=_;var Sp=require("react/jsx-runtime"),zx="k-toolbar-separator",Ge=e=>(0,Sp.jsx)("div",{className:n(zx,e.className,"k-separator")});var Ao="toolbar",ga=Ao;var P=require("react/jsx-runtime"),io="k-toolbar",Dx=[r.focus],_x={size:[s.undefined,s.small,s.medium,s.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},Hx={scrollButtons:"around"},q=e=>{let{size:t,fillMode:o,focus:a,resizable:i,scrollable:l,scrollButtons:p,scrollingPosition:m,section:f,...x}=e,h=[],N=(c,k)=>{let g=[];if(c.type===d&&c.props.className&&c.props.className.includes("k-toolbar-overflow-button"))g.push((0,P.jsx)(d,{...c.props,className:`${c.props.className?c.props.className:""}`},`${k}-${new Date().getTime()}`));else if(c.type===d)g.push((0,P.jsx)(d,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${k}-${new Date().getTime()}`));else if(c.type===Wa)g.push((0,P.jsx)(Wa,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${k}-${new Date().getTime()}`));else if(c.type===jt)g.push((0,P.jsx)(jt,{...c.props,className:`k-toolbar-button ${c.props.className?c.props.className:""}`},`${k}-${new Date().getTime()}`));else if(c.type===Z)g.push((0,P.jsx)(Z,{...c.props,className:`k-toolbar-menu-button ${c.props.className?c.props.className:""}`},`${k}-${new Date().getTime()}`));else if(c.type===Kn)g.push((0,P.jsx)(Kn,{...c.props,className:`k-toolbar-split-button ${c.props.className?c.props.className:""}`},`${k}-${new Date().getTime()}`));else if(c.type===w||c.props.className&&c.props.className.includes("k-button-group")){let M=[];(Array.isArray(c.props.children)?c.props.children:[c.props.children]).forEach((E,B)=>{M.push((0,P.jsx)(d,{...E.props,className:`${E.props.className?E.props.className:""}`},`${B}-${new Date().getTime()}`))}),g.push((0,P.jsx)(w,{...c.props,className:`k-toolbar-button-group ${c.props.className?c.props.className:""}`,children:M},`${k}-${new Date().getTime()}`))}else c.type===Be?g.push((0,P.jsx)(Be,{...c.props,className:`k-toolbar-combobox ${c.props.className?c.props.className:""}`},`${k}-${new Date().getTime()}`)):c.type===W?g.push((0,P.jsx)(W,{...c.props,className:`k-toolbar-dropdownlist ${c.props.className?c.props.className:""}`},`${k}-${new Date().getTime()}`)):c.type===Ae?g.push((0,P.jsx)(Ae,{...c.props,className:`k-toolbar-colorpicker ${c.props.className?c.props.className:""}`},`${k}-${new Date().getTime()}`)):g.push(c);g.forEach(M=>{h.push(M)})};return e.children&&(Array.isArray(e.children)?e.children:[e.children]).forEach((k,g)=>{N(k,g)}),(0,P.jsxs)("div",{...x,className:n(e.className,io,I(io,{size:t,fillMode:o}),C(io,{focus:a}),{[`${io}-resizable`]:i,[`${io}-scrollable`]:l,[`${io}-scrollable-overlay`]:l&&p==="hidden",[`${io}-scrollable-${m}`]:m&&m!=="both",[`${io}-section`]:f}),role:"toolbar","aria-label":"Toolbar",children:[!l&&h,l&&p==="hidden"&&(0,P.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),l&&p==="start"&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)(w,{children:[(0,P.jsx)("span",{className:n("k-toolbar-prev","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,P.jsx)(L,{className:"k-button-icon",icon:"chevron-left"})}),(0,P.jsx)("span",{className:n("k-toolbar-next","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,P.jsx)(L,{className:"k-button-icon",icon:"chevron-right"})})]}),(0,P.jsx)(Ge,{className:"k-toolbar-button-separator"}),(0,P.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h})]}),l&&p==="end"&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),(0,P.jsx)(Ge,{className:"k-toolbar-button-separator"}),(0,P.jsxs)(w,{children:[(0,P.jsx)("span",{className:n("k-toolbar-prev","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,P.jsx)(L,{className:"k-button-icon",icon:"chevron-left"})}),(0,P.jsx)("span",{className:n("k-toolbar-next","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,P.jsx)(L,{className:"k-button-icon",icon:"chevron-right"})})]})]}),l&&(p==="around"||!p)&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)("span",{className:n("k-toolbar-prev","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,P.jsx)(L,{className:"k-button-icon",icon:"chevron-left"})}),(0,P.jsx)(Ge,{className:"k-toolbar-button-separator"}),(0,P.jsx)("div",{className:"k-toolbar-items k-toolbar-items-scroll",children:h}),(0,P.jsx)(Ge,{className:"k-toolbar-button-separator"}),(0,P.jsx)("span",{className:n("k-toolbar-next","k-button",I("k-button",{size:t,fillMode:o}),"k-icon-button"),"aria-hidden":"true",children:(0,P.jsx)(L,{className:"k-button-icon",icon:"chevron-right"})})]})]})};q.states=Dx;q.options=_x;q.className=io;q.defaultOptions=Hx;q.moduleName=Ao;q.folderName=ga;var yp=require("react/jsx-runtime"),zn="k-toolbar-item",Fx=[r.focus],Ux={},Gx={},$t=e=>{let{focus:t,...o}=e;return(0,yp.jsx)("div",{...o,className:n(e.className,zn,C(zn,{focus:t})),children:e.children})};$t.states=Fx;$t.options=Ux;$t.className=zn;$t.defaultOptions=Gx;$t.moduleName=Ao;$t.folderName=ga;var Dn=require("react/jsx-runtime"),Ep="k-toolbar-popup",$x=[],Vx={size:[s.undefined,s.small,s.medium,s.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},Xx={},Bo=e=>{let{size:t,fillMode:o,section:a,...i}=e;return(0,Dn.jsx)(J,{...i,className:n(e.className,Ep),children:a?(0,Dn.jsx)("span",{className:n("k-toolbar-items-list",I("k-toolbar-items-list",{size:t,fillMode:o})),role:"toolbar",children:e.children}):e.children})};Bo.states=$x;Bo.options=Vx;Bo.className=Ep;Bo.defaultOptions=Xx;Bo.moduleName=Ao;Bo.folderName=ga;var Yi=Bo;var Wx=require("react/jsx-runtime");var Jx=require("react/jsx-runtime");var qx=require("react/jsx-runtime");var Cp=require("react/jsx-runtime");var Yx=require("react/jsx-runtime");var It=require("react/jsx-runtime"),Zx=_.states,Tp={..._.defaultOptions,variant:"text"},Qx=_.options,jx=[{name:"icon-only",title:"Icon Only"},{name:"icon-and-text",title:"Icon & Text"},{name:"text",title:"Text"}],eh=[{name:"opened",title:"Opened"}],va=e=>{let{variant:t,modifiers:o,...a}={...Tp,...e},i={},l=(0,It.jsxs)(Fe,{size:a.size,children:[(0,It.jsx)(ae,{text:"Menu Item"}),(0,It.jsx)(ae,{text:"Menu Item"}),(0,It.jsx)(ae,{text:"Menu Item"})]});switch(Object.keys(o||{}).forEach(p=>{p==="opened"&&(i.opened=!!(o!=null&&o[p]),i.popup=o!=null&&o[p]?l:"")}),t){case"icon-only":return(0,It.jsx)("div",{children:(0,It.jsx)(_,{...a,...i,icon:"star"})});case"icon-and-text":return(0,It.jsx)("div",{children:(0,It.jsx)(_,{...a,...i,icon:"star",children:"Split Button"})});default:return(0,It.jsx)("div",{children:(0,It.jsx)(_,{...a,...i,children:"Split Button"})})}};va.options=Qx;va.states=Zx;va.variants=jx;va.defaultOptions=Tp;va.modifiers=eh;va.className=_.className;var Vt=require("react/jsx-runtime"),Op=e=>(0,Vt.jsx)(q,{children:[(0,Vt.jsx)(d,{children:"Button"},"toolbar-button"),(0,Vt.jsx)(Z,{text:"Menu button"},"toolbar-menu-button"),(0,Vt.jsx)(_,{children:"Split button"},"toolbar-split-button"),(0,Vt.jsxs)(w,{children:[(0,Vt.jsx)(d,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Vt.jsx)(d,{icon:"align-center",children:"Center"}),(0,Vt.jsx)(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var Ap=require("react/jsx-runtime");var we=require("react/jsx-runtime"),Bp=e=>(0,we.jsx)(q,{scrollable:!0,...e,children:[(0,we.jsx)(d,{children:"Button"},"toolbar-button"),(0,we.jsx)(Z,{text:"Menu button"},"toolbar-menu-button"),(0,we.jsx)(_,{children:"Split button"},"toolbar-split-button"),(0,we.jsxs)(w,{children:[(0,we.jsx)(d,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,we.jsx)(d,{icon:"align-center",children:"Center"}),(0,we.jsx)(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,we.jsx)(d,{children:"Button"},"toolbar-button"),(0,we.jsx)(Z,{text:"Menu button"},"toolbar-menu-button"),(0,we.jsx)(_,{children:"Split button"},"toolbar-split-button"),(0,we.jsxs)(w,{children:[(0,we.jsx)(d,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,we.jsx)(d,{icon:"align-center",children:"Center"}),(0,we.jsx)(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...e});var Ke=require("react/jsx-runtime"),Rp=({scrollingPosition:e="start",...t})=>(0,Ke.jsx)(q,{scrollable:!0,scrollButtons:"hidden",scrollingPosition:e,...t,children:[(0,Ke.jsx)(d,{children:"Button"},"toolbar-button"),(0,Ke.jsx)(Z,{text:"Menu button"},"toolbar-menu-button"),(0,Ke.jsx)(_,{children:"Split button"},"toolbar-split-button"),(0,Ke.jsxs)(w,{children:[(0,Ke.jsx)(d,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Ke.jsx)(d,{icon:"align-center",children:"Center"}),(0,Ke.jsx)(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group"),(0,Ke.jsx)(d,{children:"Button"},"toolbar-button"),(0,Ke.jsx)(Z,{text:"Menu button"},"toolbar-menu-button"),(0,Ke.jsx)(_,{children:"Split button"},"toolbar-split-button"),(0,Ke.jsxs)(w,{children:[(0,Ke.jsx)(d,{className:"k-group-start",icon:"align-left",children:"Left"}),(0,Ke.jsx)(d,{icon:"align-center",children:"Center"}),(0,Ke.jsx)(d,{className:"k-group-end",icon:"align-right",children:"Right"})]},"toolbar-button-group")],...t});var ie=require("react/jsx-runtime"),Pp=({fillMode:e,size:t,...o})=>(0,ie.jsxs)(ie.Fragment,{children:[(0,ie.jsx)(q,{section:!0,fillMode:e,size:t,children:[(0,ie.jsx)(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,ie.jsxs)(w,{fillMode:e,children:[(0,ie.jsx)(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,ie.jsx)(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,ie.jsx)(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group"),(0,ie.jsx)(Ge,{className:"k-toolbar-button-separator"}),(0,ie.jsx)(d,{icon:"more-horizontal",className:"k-toolbar-overflow-button",fillMode:"flat",size:t,"aria-label":"More options","aria-expanded":"false"})],...o}),(0,ie.jsxs)(Yi,{size:t,fillMode:e,section:!0,...o,children:[(0,ie.jsx)(_,{fillMode:e,size:t,children:"Split button"},"toolbar-split-button"),(0,ie.jsx)(d,{fillMode:e,size:t,children:"Button"},"toolbar-button"),(0,ie.jsx)(Ge,{}),(0,ie.jsx)(Z,{text:"Menu button",fillMode:e,size:t},"toolbar-menu-button"),(0,ie.jsxs)(w,{fillMode:e,children:[(0,ie.jsx)(d,{className:"k-group-start",icon:"align-left",fillMode:e,size:t,children:"Left"}),(0,ie.jsx)(d,{icon:"align-center",fillMode:e,size:t,children:"Center"}),(0,ie.jsx)(d,{className:"k-group-end",icon:"align-right",fillMode:e,size:t,children:"Right"})]},"toolbar-button-group")]})]});var _n=require("react/jsx-runtime");var Hn=require("react/jsx-runtime");var ro=require("react/jsx-runtime"),th=q.options,oh=q.states,wp={...q.defaultOptions,variant:"default"},ah=[{name:"default",title:"Default"},{name:"scrollable",title:"Scrollable"},{name:"overlay",title:"Overlay"},{name:"responsive",title:"Responsive"}],ih=[],La=e=>{let{variant:t,...o}={...wp,...e};switch(t){case"responsive":return(0,ro.jsx)("div",{children:(0,ro.jsx)(Pp,{style:{width:"583px"},...o})});case"overlay":return(0,ro.jsx)("div",{children:(0,ro.jsx)(Rp,{style:{width:"583px"},...o,scrollingPosition:"start",scrollButtons:"hidden"})});case"scrollable":return(0,ro.jsx)("div",{children:(0,ro.jsx)(Bp,{style:{width:"583px"},...o})});default:return(0,ro.jsx)("div",{children:(0,ro.jsx)(Op,{style:{width:"583px"},...o})})}};La.options=th;La.states=oh;La.variants=ah;La.defaultOptions=wp;La.modifiers=ih;La.className=q.className;var Fn="autocomplete",Kp=Fn;var $=require("react/jsx-runtime"),zp="k-autocomplete",rh=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],nh={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Dp={separators:!0},pt=e=>{let{size:t,rounded:o,fillMode:a,separators:i=Dp.separators,prefix:l,suffix:p,value:m,placeholder:f,hover:x,focus:h,valid:N,invalid:c,required:k,loading:g,disabled:M,popup:y,opened:E,readonly:B,adaptive:G,adaptiveSettings:j,adaptiveTitle:ne,adaptiveSubtitle:xe,adaptiveCustomValue:he,id:Kt,autocomplete:Ha,activeDescendant:Tt,"aria-label":_o,...Fa}=e,Ua=Kt?`${Kt}-listbox`:void 0;return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(V,{...Fa,size:t,rounded:o,fillMode:a,hover:x,focus:h,valid:N,invalid:c,required:k,loading:g,disabled:M,readonly:B,className:n(e.className,zp),children:[l&&(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(Me,{children:l}),i&&(0,$.jsx)(se,{})]}),(0,$.jsx)(ge,{placeholder:f,value:m,role:"combobox","aria-haspopup":"listbox","aria-expanded":E?"true":"false","aria-controls":E?Ua:void 0,"aria-activedescendant":E&&Tt?Tt:void 0,"aria-autocomplete":Ha,"aria-invalid":c?"true":void 0,"aria-busy":g?"true":void 0,"aria-label":_o,disabled:M,readOnly:B}),(0,$.jsx)(le,{valid:N,invalid:c,loading:g,disabled:M}),(0,$.jsx)(me,{loading:g,disabled:M}),(0,$.jsx)(Ne,{loading:g,disabled:M,readonly:B,value:m}),p&&(0,$.jsxs)($.Fragment,{children:[i&&(0,$.jsx)(se,{}),(0,$.jsx)(Ie,{children:p})]})]}),E&&y&&(0,$.jsx)(J,{className:"k-list-container k-autocomplete-popup",containerRole:"region",containerAriaLabel:"Autocomplete suggestions",children:y}),G&&(0,$.jsx)(ee,{adaptive:!0,...j,header:(0,$.jsx)(ye,{actionsEnd:(0,$.jsx)(d,{icon:"check",themeColor:"primary",size:"large",fillMode:"flat","aria-label":"Apply selection"}),input:!0,inputValue:m,inputPlaceholder:f,title:ne,subtitle:xe}),children:(0,$.jsx)("div",{className:"k-list-container",children:(0,$.jsx)(z,{customValue:he?(0,$.jsx)(kt,{text:`Use "${m}"`}):void 0,size:"large",children:(0,$.jsxs)(D,{"aria-label":"Options",children:[(0,$.jsx)(O,{text:"List item"}),(0,$.jsx)(O,{text:"List item"}),(0,$.jsx)(O,{text:"List item"})]})})})})]})};pt.states=rh;pt.options=nh;pt.className=zp;pt.defaultOptions=Dp;pt.moduleName=Fn;pt.folderName=Kp;var Xt=pt;var Hp=require("react/jsx-runtime"),_p=e=>(0,Hp.jsx)(Xt,{id:T("ac"),"aria-label":"Search",...e});var Fp=require("react/jsx-runtime");var lh=require("react/jsx-runtime");var Up=require("react/jsx-runtime");var Gp=require("react/jsx-runtime");var $p=require("react/jsx-runtime");var Vp=require("react/jsx-runtime");var Xp=require("react/jsx-runtime");var sh=require("react/jsx-runtime");var Wt=require("react/jsx-runtime"),dh=H.states,ph=H.defaultOptions,mh=H.options,ch=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"opened",title:"Opened"}],uh=[],ka=e=>{let{modifiers:t,...o}=e,a={},i=(0,Wt.jsx)(z,{style:{width:300},size:o.size,children:(0,Wt.jsxs)(D,{children:[(0,Wt.jsx)(O,{children:"List item"}),(0,Wt.jsx)(O,{children:"List item"}),(0,Wt.jsx)(O,{children:"List item"})]})});return Object.keys(t||{}).forEach(l=>{switch(l){case"prefix":a.prefix=t!=null&&t[l]?(0,Wt.jsx)(L,{icon:"search"}):void 0;break;case"suffix":a.suffix=t!=null&&t[l]?(0,Wt.jsx)(Dt,{size:o.size,fillMode:"clear",children:"Search"}):void 0;break;case"opened":a.opened=!!(t!=null&&t[l]),a.popup=t!=null&&t[l]?i:void 0;break;default:break}}),(0,Wt.jsx)(_p,{value:"Value",style:{width:300},...o,...a})};ka.options=mh;ka.states=dh;ka.variants=uh;ka.defaultOptions=ph;ka.modifiers=ch;ka.className=pt.className;var mt=require("react/jsx-runtime"),Wp="k-imageeditor-toolbar",fh=[],bh={},xh=[(0,mt.jsx)(d,{fillMode:"flat",icon:"image-add","aria-label":"Image Add"},"toolbar-button-1"),(0,mt.jsx)(Ge,{},"toolbar-separator-1"),(0,mt.jsx)(d,{fillMode:"flat",icon:"undo","aria-label":"Undo"},"toolbar-button-2"),(0,mt.jsx)(d,{fillMode:"flat",icon:"redo","aria-label":"Redo"},"toolbar-button-3"),(0,mt.jsx)(Ge,{},"toolbar-separator-2"),(0,mt.jsx)(d,{fillMode:"flat",icon:"download","aria-label":"Download"},"toolbar-button-4"),(0,mt.jsx)("div",{className:"k-spacer"},"toolbar-spacer"),(0,mt.jsx)(d,{fillMode:"flat",icon:"zoom-in","aria-label":"Zoom In"},"toolbar-button-5"),(0,mt.jsx)($t,{children:(0,mt.jsx)(pt,{fillMode:"flat",value:"Fit","aria-label":"Zoom options"})},"toolbar-item-1"),(0,mt.jsx)(d,{fillMode:"flat",icon:"zoom-out","aria-label":"Zoom Out"},"toolbar-button-6")],Jp={toolbarItems:xh},Ma=e=>{let{toolbarItems:t=Jp.toolbarItems,...o}=e;return(0,mt.jsx)(q,{...o,className:n(e.className,Wp),fillMode:"flat",children:t})};Ma.states=fh;Ma.options=bh;Ma.className=Wp;Ma.defaultOptions=Jp;var $e=require("react/jsx-runtime"),Un="k-imageeditor-sidebar",hh=[(0,$e.jsx)(d,{fillMode:"flat",icon:"image-resize","aria-label":"Resize"},"sidebar-button-1"),(0,$e.jsx)(d,{fillMode:"flat",icon:"crop","aria-label":"Crop"},"sidebar-button-2"),(0,$e.jsx)(d,{fillMode:"flat",icon:"rotate","aria-label":"Rotate"},"sidebar-button-3"),(0,$e.jsx)("div",{className:"k-separator"},"sidebar-separator-1"),(0,$e.jsx)(d,{fillMode:"flat",icon:"free-text","aria-label":"Text"},"sidebar-button-4"),(0,$e.jsx)(d,{fillMode:"flat",icon:"shapes","aria-label":"Shapes"},"sidebar-button-5"),(0,$e.jsx)("div",{className:"k-separator"},"sidebar-separator-2"),(0,$e.jsx)(d,{fillMode:"flat",icon:"drop-half-pixelated","aria-label":"Blur"},"sidebar-button-6"),(0,$e.jsx)(d,{fillMode:"flat",icon:"sliders-horizontal","aria-label":"Adjustments"},"sidebar-button-7"),(0,$e.jsx)(d,{fillMode:"flat",icon:"circles-three-intersecting","aria-label":"Filters"},"sidebar-button-8"),(0,$e.jsx)("div",{className:"k-separator"},"sidebar-separator-3"),(0,$e.jsx)(d,{fillMode:"flat",icon:"frame-corners","aria-label":"Frame"},"sidebar-button-9"),(0,$e.jsx)(d,{fillMode:"flat",icon:"circle-half-tilted","aria-label":"Shadow"},"sidebar-button-10")],Gn={sidebarItems:hh,scrollable:!1,scrollingPosition:"start"},qp=e=>{let{sidebarItems:t=Gn.sidebarItems,scrollable:o=Gn.scrollable,scrollingPosition:a=Gn.scrollingPosition,...i}=e;return(0,$e.jsx)("div",{...i,className:n(e.className,Un,{[`${Un}-scrollable`]:o,[`${Un}-scrollable-${a}`]:o}),children:(0,$e.jsx)("div",{className:"k-imageeditor-sidebar-items",role:"toolbar","aria-label":"Tools",children:t??e.children})})};var mi="loader",Zi=mi;var St=require("react/jsx-runtime"),$n="k-loader",Nh={pulsing:"pulsing-2","infinite-spinner":"spinner-3","converging-spinner":"spinner-4"},gh=[],vh={size:[s.undefined,s.small,s.medium,s.large],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary]},Yp={animation:"pulsing"},fe=e=>{let{size:t,themeColor:o,animation:a=Yp.animation,...i}=e,l=(0,St.jsx)("span",{className:"k-loader-segment"});return(0,St.jsx)("div",{...i,className:n(e.className,$n,{[`k-loader-${Nh[a]||a}`]:a},I($n,{size:t,themeColor:o})),role:"status","aria-label":i["aria-label"]||"Loading",children:(0,St.jsxs)("div",{className:"k-loader-canvas",children:[a==="pulsing"&&(0,St.jsxs)(St.Fragment,{children:[l,l]}),a==="infinite-spinner"&&(0,St.jsxs)(St.Fragment,{children:[l,l,l]}),a==="converging-spinner"&&(0,St.jsxs)(St.Fragment,{children:[l,l,l,l]})]})})};fe.states=gh;fe.options=vh;fe.className=$n;fe.defaultOptions=Yp;fe.moduleName=mi;fe.folderName=Zi;var Zp=fe;var Ro=require("react/jsx-runtime"),Vn="k-loader-container",Lh=[],kh={size:[s.undefined,s.small,s.medium,s.large],themeColor:[v.undefined,v.base,v.primary,v.secondary,v.tertiary]},Qi={loaderType:"pulsing",position:"top",panel:!1},Po=e=>{let{size:t,themeColor:o,loaderType:a=Qi.loaderType,position:i=Qi.position,panel:l=Qi.panel,...p}=e;return(0,Ro.jsxs)("div",{...p,className:n(e.className,Vn,I(Vn,{size:t}),{[`k-loader-${i}`]:i}),role:"status","aria-live":"polite","aria-label":p["aria-label"]||"Loading",children:[(0,Ro.jsx)(Ps,{className:"k-loader-container-overlay"}),(0,Ro.jsxs)("div",{className:n("k-loader-container-inner",{"k-loader-container-panel":l}),children:[(0,Ro.jsx)(Zp,{size:t,themeColor:o,animation:a}),(0,Ro.jsx)("div",{className:"k-loader-container-label",children:"Loading..."})]})]})};Po.states=Lh;Po.options=kh;Po.className=Vn;Po.defaultOptions=Qi;Po.moduleName=mi;Po.folderName=Zi;var Mh=require("react/jsx-runtime");var Ih=require("react/jsx-runtime");var Sh=require("react/jsx-runtime");var yh=require("react/jsx-runtime");var ji=require("react/jsx-runtime"),Eh=fe.options,Ch=fe.states,Th={...fe.defaultOptions,variant:"infinite-spinner"},Oh=[{name:"infinite-spinner",title:"Infinite"},{name:"pulsing",title:"Pulsing"},{name:"converging-spinner",title:"Converging"}],Ah=[],Ia=e=>{let{variant:t,...o}=e;switch(t){case"pulsing":return(0,ji.jsx)(fe,{animation:"pulsing",...o});case"converging-spinner":return(0,ji.jsx)(fe,{animation:"converging-spinner",...o});default:return(0,ji.jsx)(fe,{animation:"infinite-spinner",...o})}};Ia.options=Eh;Ia.states=Ch;Ia.variants=Oh;Ia.defaultOptions=Th;Ia.modifiers=Ah;Ia.className=fe.className;var Qp="image-editor",jp="imageeditor";var be=require("react/jsx-runtime"),Xn="k-imageeditor",Bh=[],Rh={},Ph={},de=e=>{let{toolbarItems:t,actionPane:o,sidebarItems:a,placeholder:i,contentHeight:l,exporting:p,adaptive:m,sidebarScrollable:f,sidebarScrollingPosition:x,children:h,...N}=e,c=(0,be.jsx)("div",{className:"k-imageeditor-canvas-container",children:i??(0,be.jsx)("div",{className:"k-imageeditor-canvas",children:h})}),k=o&&(0,be.jsx)("div",{className:"k-imageeditor-action-pane",children:o}),g=(0,be.jsx)(qp,{sidebarItems:a,scrollable:f,scrollingPosition:x});return(0,be.jsxs)("div",{...N,className:n(e.className,Xn,{[`${Xn}-adaptive`]:m}),children:[(0,be.jsx)("div",{className:"k-imageeditor-header",children:(0,be.jsx)(Ma,{toolbarItems:t})}),(0,be.jsx)("div",{className:"k-imageeditor-content",style:{height:l},children:m?(0,be.jsxs)(be.Fragment,{children:[c,k,g]}):(0,be.jsxs)(be.Fragment,{children:[g,k,c]})}),p&&(0,be.jsxs)("div",{className:"k-loader-container k-loader-top",role:"status","aria-live":"polite","aria-label":"Exporting",children:[(0,be.jsx)(Ot,{className:"k-loader-container-overlay"}),(0,be.jsxs)("div",{className:"k-loader-container-inner k-loader-container-panel",children:[(0,be.jsx)(fe,{animation:"pulsing",themeColor:"base",size:"medium","aria-label":"Exporting"}),(0,be.jsx)("div",{className:"k-loader-container-label",children:"Exporting"})]})]})]})};de.states=Bh;de.options=Rh;de.className=Xn;de.defaultOptions=Ph;de.moduleName=Qp;de.folderName=jp;var Wn=require("react/jsx-runtime");var Jt=require("react/jsx-runtime"),em="k-imageeditor-pane",wh=[],Kh={},zh={},ke=e=>{let{title:t,actions:o,adaptive:a,children:i,...l}=e;return(0,Jt.jsxs)("div",{...l,className:n(e.className,em),children:[(0,Jt.jsxs)("div",{className:"k-imageeditor-pane-header",children:[a&&(0,Jt.jsx)(d,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"}),(0,Jt.jsx)("div",{className:"k-imageeditor-pane-title",children:t}),a?(0,Jt.jsx)(d,{fillMode:"flat",icon:"check","aria-label":"Confirm",title:"Confirm"}):(0,Jt.jsx)(d,{fillMode:"flat",icon:"x","aria-label":"Close",title:"Close"})]}),(0,Jt.jsx)("div",{className:"k-imageeditor-pane-content",children:i}),!a&&o&&(0,Jt.jsx)(ht,{alignment:"end",className:"k-imageeditor-pane-footer",children:o})]})};ke.states=wh;ke.options=Kh;ke.className=em;ke.moduleName=null;ke.folderName=null;ke.defaultOptions=zh;var tm=require("react/jsx-runtime"),Jn="k-imageeditor-option-preview",Dh=[r.hover,r.focus,r.selected],_h={},Hh={},qt=e=>{let{label:t,hover:o,focus:a,selected:i,children:l,...p}=e;return(0,tm.jsx)("div",{...p,className:n(e.className,Jn,C(Jn,{hover:o,focus:a,selected:i})),role:"button","aria-pressed":i?"true":"false",children:l??t})};qt.states=Dh;qt.options=_h;qt.className=Jn;qt.moduleName=null;qt.folderName=null;qt.defaultOptions=Hh;var qn=require("react/jsx-runtime"),ci="k-imageeditor-option-list",er={scrollable:!1,scrollableStart:!1,scrollableEnd:!1},Sa=e=>{let{scrollable:t=er.scrollable,scrollableStart:o=er.scrollableStart,scrollableEnd:a=er.scrollableEnd,children:i,...l}=e;return(0,qn.jsx)("div",{...l,className:n(e.className,ci,{[`${ci}-scrollable`]:t,[`${ci}-scrollable-start`]:o,[`${ci}-scrollable-end`]:a}),children:(0,qn.jsx)("div",{className:"k-imageeditor-option-list-items",children:i})})};Sa.className=ci;Sa.moduleName=null;Sa.folderName=null;Sa.defaultOptions=er;var wo=require("react/jsx-runtime"),Fh={},ui=e=>{let{label:t,style:o,children:a}=e;return(0,wo.jsxs)(wo.Fragment,{children:[(0,wo.jsx)("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&&(0,wo.jsx)("span",{className:"k-imageeditor-preview-thumbnail-label",children:t})]})};ui.moduleName=null;ui.folderName=null;ui.defaultOptions=Fh;var at=require("react/jsx-runtime"),om={variant:"crop"},no=e=>{let{variant:t=om.variant,grid:o}=e,a=t==="crop"?"k-resize-handle":"k-scale-handle",i=t==="scale"?"k-scale-handle":"k-resize-handle";return(0,at.jsxs)(at.Fragment,{children:[o&&(0,at.jsx)("div",{className:"k-imageeditor-crop-grid"}),(0,at.jsx)("span",{className:`${a} k-resize-nw`}),(0,at.jsx)("span",{className:`${a} k-resize-ne`}),(0,at.jsx)("span",{className:`${a} k-resize-sw`}),(0,at.jsx)("span",{className:`${a} k-resize-se`}),(0,at.jsx)("span",{className:`${i} k-resize-n`}),(0,at.jsx)("span",{className:`${i} k-resize-s`}),(0,at.jsx)("span",{className:`${i} k-resize-w`}),(0,at.jsx)("span",{className:`${i} k-resize-e`})]})};no.moduleName=null;no.folderName=null;no.defaultOptions=om;var Uh=require("react/jsx-runtime");var am="form",im="forms";var Yt=require("react/jsx-runtime"),tr="k-form",Gh=[],$h={size:[s.undefined,s.small,s.medium,s.large]},Yn={layout:"basic",tag:"form"},U=e=>{let{size:t,orientation:o,layout:a=Yn.layout,formButtons:i,cols:l,gutters:p,tag:m=Yn.tag,children:f,style:x}=e,h=m,N=n(e.className,tr,I(tr,{size:t}),{[`${tr}-${o}`]:o}),c=(0,Yt.jsxs)(Yt.Fragment,{children:[a==="grid"?(0,Yt.jsx)("div",{className:n("k-form-layout","k-d-grid",{[`k-grid-cols-${l}`]:l}),style:{...typeof p=="string"&&{gap:p},...typeof p=="object"&&p.rows&&{rowGap:p.rows},...typeof p=="object"&&p.cols&&{columnGap:p.cols},...x},children:f}):(0,Yt.jsx)(Yt.Fragment,{children:f}),i&&(0,Yt.jsx)("div",{className:"k-form-buttons",children:i})]}),{role:k,"aria-labelledby":g,"aria-label":M,id:y}=e;return(0,Yt.jsx)(h,{className:N,role:k,"aria-labelledby":g,"aria-label":M,id:y,children:c})};U.states=Gh;U.options=$h;U.className=tr;U.defaultOptions=Yn;U.moduleName=am;U.folderName=im;var rm="label",nm="label";var fi=require("react/jsx-runtime"),Zn="k-label",Vh=[r.disabled],Xh={},Wh={},ho=e=>{let{disabled:t,optional:o,info:a,text:i,children:l,...p}=e;return(0,fi.jsxs)("label",{...p,className:n(e.className,Zn,C(Zn,{disabled:t})),children:[i||l,o&&(0,fi.jsx)("span",{className:"k-label-optional",children:"(Optional)"}),a&&(0,fi.jsx)("span",{className:"k-field-info",children:a})]})};ho.states=Vh;ho.options=Xh;ho.className=Zn;ho.defaultOptions=Wh;ho.moduleName=rm;ho.folderName=nm;var sm=require("react/jsx-runtime"),lm="k-form-hint",Jh=[],qh={},Yh={},yt=e=>{let{text:t,children:o,...a}=e;return(0,sm.jsx)("div",{...a,className:n(e.className,lm),children:t||o})};yt.states=Jh;yt.options=qh;yt.className=lm;yt.defaultOptions=Yh;var pm=require("react/jsx-runtime"),dm="k-form-error",Zh=[],Qh={},jh={},Et=e=>{let{text:t,children:o,...a}=e;return(0,pm.jsx)("div",{...a,className:n(e.className,dm),children:t||o})};Et.states=Zh;Et.options=Qh;Et.className=dm;Et.defaultOptions=jh;var No=require("react/jsx-runtime"),Qn="k-form-field",eN=[r.disabled],Y=e=>{let{editorId:t,label:o,orientation:a,optional:i,editor:l,hint:p,error:m,info:f,disabled:x,dir:h,colSpan:N,...c}=e;return(0,No.jsxs)("div",{...c,className:n(Qn,e.className,C(Qn,{disabled:x}),{[`k-col-span-${N}`]:N}),dir:h,children:[o&&(0,No.jsx)(ho,{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&&(0,No.jsx)("span",{className:"k-label k-form-label k-label-empty"}),(0,No.jsxs)("div",{className:"k-form-field-wrap",children:[l,p&&(0,No.jsx)(yt,{id:t?`${t}-hint`:void 0,children:p}),m&&(0,No.jsx)(Et,{id:t?`${t}-error`:void 0,children:m})]})]})};Y.states=eN;Y.className=Qn;var go=require("react/jsx-runtime"),mm="k-form-fieldset",qe=e=>{let{legend:t,layout:o,cols:a,gutters:i,colSpan:l}=e;return(0,go.jsxs)("fieldset",{className:n(mm,{[`k-col-span-${l}`]:l}),children:[t&&(0,go.jsx)("legend",{className:"k-form-legend",children:t}),o==="grid"?(0,go.jsx)("div",{className:n("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}):(0,go.jsx)(go.Fragment,{children:e.children})]})};qe.className=mm;var Ko="radio",ya=Ko;var jn=require("react/jsx-runtime"),or="k-radio",tN=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.checked],oN={size:[s.undefined,s.small,s.medium,s.large]},aN={},ct=e=>{let{id:t,checked:o,hover:a,focus:i,disabled:l,invalid:p,valid:m,required:f,size:x,...h}=e;return(0,jn.jsx)("span",{className:"k-radio-wrap",children:(0,jn.jsx)("input",{...h,id:t,type:"radio",checked:o,required:f,disabled:l||void 0,"aria-invalid":p?"true":void 0,className:n(e.className,or,I(or,{size:x}),C(or,{hover:a,focus:i,disabled:l,invalid:p,valid:m,checked:o}))})})};ct.states=tN;ct.options=oN;ct.className=or;ct.defaultOptions=aN;ct.moduleName=Ko;ct.folderName=ya;var Ct=ct;var fm=require("react/jsx-runtime"),cm="k-radio-list",iN=[],rN={},um={layout:"vertical"},pe=e=>{let{layout:t=um.layout,...o}=e;return(0,fm.jsx)("ul",{...o,className:n(e.className,cm,{[`k-list-${t}`]:t}),role:"radiogroup",children:e.children})};pe.states=iN;pe.options=rN;pe.className=cm;pe.defaultOptions=um;pe.moduleName=Ko;pe.folderName=ya;var xm=require("react/jsx-runtime"),bm="k-radio-list-item",nN=[],lN={},sN={},re=e=>{let{...t}=e;return(0,xm.jsx)("li",{...t,className:n(e.className,bm),role:"none",children:e.children})};re.states=nN;re.options=lN;re.className=bm;re.defaultOptions=sN;re.moduleName=Ko;re.folderName=ya;var dN=require("react/jsx-runtime");var zo=require("react/jsx-runtime"),Ye=({children:e,id:t,...o})=>(0,zo.jsxs)(zo.Fragment,{children:[(0,zo.jsx)(Ct,{...o,id:t}),(0,zo.jsx)("label",{className:"k-radio-label",htmlFor:t,children:e})]});var el=require("react/jsx-runtime");var tl=require("react/jsx-runtime");var ol=require("react/jsx-runtime");var al=require("react/jsx-runtime");var il=require("react/jsx-runtime");var mN=require("react/jsx-runtime");var hm=require("react/jsx-runtime"),cN=Ct.options,uN=Ct.states,fN=Ct.defaultOptions,bN=[],xN=[],Ea=e=>(0,hm.jsx)(Ye,{id:T("radio"),name:"value",...e,children:"Label"});Ea.options=cN;Ea.states=uN;Ea.variants=bN;Ea.defaultOptions=fN;Ea.modifiers=xN;Ea.className=Ct.className;var Ve=require("react/jsx-runtime"),hN=pe.options,NN=pe.states,gN={...pe.defaultOptions,variant:"vertical"},vN=[{name:"vertical",title:"Vertical"},{name:"horizontal",title:"Horizontal"}],LN=[],Ca=e=>{let{variant:t,...o}=e;return t==="horizontal"?(0,Ve.jsxs)(pe,{layout:"horizontal",...o,children:[(0,Ve.jsx)(re,{children:(0,Ve.jsx)(Ye,{id:T("rb"),name:"value",defaultChecked:!0,children:"Label"})}),(0,Ve.jsx)(re,{children:(0,Ve.jsx)(Ye,{id:T("rb"),name:"value",children:"Label"})}),(0,Ve.jsx)(re,{children:(0,Ve.jsx)(Ye,{id:T("rb"),name:"value",children:"Label"})})]}):(0,Ve.jsxs)(pe,{...o,children:[(0,Ve.jsx)(re,{children:(0,Ve.jsx)(Ye,{id:T("rb"),name:"value",defaultChecked:!0,children:"Label"})}),(0,Ve.jsx)(re,{children:(0,Ve.jsx)(Ye,{id:T("rb"),name:"value",children:"Label"})}),(0,Ve.jsx)(re,{children:(0,Ve.jsx)(Ye,{id:T("rb"),name:"value",children:"Label"})})]})};Ca.options=hN;Ca.states=NN;Ca.variants=vN;Ca.defaultOptions=gN;Ca.modifiers=LN;Ca.className=pe.className;var rl=require("react/jsx-runtime");var nl=require("react/jsx-runtime");var ll=require("react/jsx-runtime");var Nm="date-input",gm="dateinput";var vo=require("react/jsx-runtime"),vm="k-dateinput",kN=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],MN={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},IN={},ut=e=>{let{size:t,rounded:o,fillMode:a,value:i,placeholder:l,hover:p,focus:m,valid:f,invalid:x,required:h,loading:N,disabled:c,readonly:k,showClearButton:g,showSpinButton:M,id:y,"aria-label":E,"aria-describedby":B,...G}=e;return(0,vo.jsxs)(V,{...G,size:t,rounded:o,fillMode:a,hover:p,focus:m,valid:f,invalid:x,required:h,loading:N,disabled:c,readonly:k,className:n(e.className,vm),children:[(0,vo.jsx)(ge,{id:y,placeholder:l,value:i,disabled:c,"aria-label":E,"aria-describedby":B,"aria-invalid":x?"true":void 0}),(0,vo.jsx)(le,{valid:f,invalid:x,loading:N,disabled:c}),(0,vo.jsx)(me,{loading:N,disabled:c}),g&&(0,vo.jsx)(Ne,{loading:N,disabled:c,readonly:k,value:i}),M&&(0,vo.jsx)(Ht,{className:"k-input-spinner",size:t,fillMode:a,disabled:c})]})};ut.states=kN;ut.options=MN;ut.className=vm;ut.defaultOptions=IN;ut.moduleName=Nm;ut.folderName=gm;var sl=ut;var km=require("react/jsx-runtime"),Lm=e=>(0,km.jsx)(sl,{...e});var SN=require("react/jsx-runtime");var Mm=require("react/jsx-runtime"),yN=ut.options,EN=ut.states,CN=ut.defaultOptions,TN=[{name:"spin-button",title:"`Spin` Button"}],ON=[],Ta=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{i==="spin-button"&&(a.showSpinButton=!!(t!=null&&t[i]))}),(0,Mm.jsx)(Lm,{value:"2/04/2021",style:{width:"300px"},...o,...a})};Ta.options=yN;Ta.states=EN;Ta.variants=ON;Ta.defaultOptions=CN;Ta.modifiers=TN;Ta.className=ut.className;var Im="masked-textbox",Sm="maskedtextbox";var Xe=require("react/jsx-runtime"),ym="k-maskedtextbox",AN=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled,r.loading,r.readonly],BN={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},dl={showClearButton:!0,separators:!0},ft=e=>{let{size:t,rounded:o,fillMode:a,separators:i=dl.separators,showClearButton:l=dl.showClearButton,prefix:p,suffix:m,value:f,placeholder:x,hover:h,focus:N,valid:c,invalid:k,required:g,loading:M,disabled:y,readonly:E,id:B,"aria-label":G,"aria-describedby":j,...ne}=e;return(0,Xe.jsxs)(V,{...ne,size:t,rounded:o,fillMode:a,hover:h,focus:N,valid:c,invalid:k,required:g,loading:M,disabled:y,readonly:E,className:n(e.className,ym),children:[p&&(0,Xe.jsxs)(Xe.Fragment,{children:[(0,Xe.jsx)(Me,{children:p}),i&&(0,Xe.jsx)(se,{})]}),(0,Xe.jsx)(ge,{id:B,placeholder:x,value:f,disabled:y,"aria-label":G,"aria-describedby":j,"aria-invalid":k?"true":void 0}),(0,Xe.jsx)(le,{valid:c,invalid:k,loading:M,disabled:y}),(0,Xe.jsx)(me,{loading:M,disabled:y}),l&&(0,Xe.jsx)(Ne,{loading:M,disabled:y,readonly:E,value:f}),m&&(0,Xe.jsxs)(Xe.Fragment,{children:[i&&(0,Xe.jsx)(se,{}),(0,Xe.jsx)(Ie,{children:m})]})]})};ft.states=AN;ft.options=BN;ft.className=ym;ft.defaultOptions=dl;ft.moduleName=Im;ft.folderName=Sm;var Oa=ft;var Cm=require("react/jsx-runtime"),Em=e=>(0,Cm.jsx)(Oa,{...e});var Tm=require("react/jsx-runtime");var Om=require("react/jsx-runtime");var RN=require("react/jsx-runtime");var PN=require("react/jsx-runtime");var ar=require("react/jsx-runtime"),wN=ft.states,KN=ft.defaultOptions,zN=ft.options,DN=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"},{name:"clear-button",title:"`Clear` Button"}],_N=[],Aa=e=>{let{modifiers:t,...o}=e,a={};return Object.keys(t||{}).forEach(i=>{switch(i){case"prefix":a.prefix=t!=null&&t[i]?(0,ar.jsx)(W,{size:o.size,value:"Choose",fillMode:"flat"}):void 0;break;case"suffix":a.suffix=t!=null&&t[i]?(0,ar.jsx)(L,{icon:"lock"}):void 0;break;case"clear-button":a.showClearButton=t==null?void 0:t[i];break;default:break}}),(0,ar.jsx)(Em,{value:"Value",style:{width:300},...o,...a})};Aa.options=zN;Aa.states=wN;Aa.variants=_N;Aa.defaultOptions=KN;Aa.modifiers=DN;Aa.className=ft.className;var pl="switch",Am=pl;var ko=require("react/jsx-runtime"),Lo="k-switch",HN=[r.hover,r.focus,r.disabled,r.readonly,r.checked],FN={size:[s.undefined,s.small,s.medium,s.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]},UN={},it=e=>{let{checked:t,onLabel:o,offLabel:a,size:i,trackRounded:l,thumbRounded:p,hover:m,focus:f,disabled:x,readonly:h,...N}=e;return(0,ko.jsxs)("span",{...N,className:n(e.className,Lo,I(Lo,{size:i}),C(Lo,{hover:m,focus:f,disabled:x,readonly:h}),{[`${Lo}-on`]:t,[`${Lo}-off`]:!t}),role:"switch","aria-checked":t?"true":"false",tabIndex:x?void 0:0,"aria-disabled":x?"true":void 0,"aria-readonly":h?"true":void 0,children:[(0,ko.jsxs)("span",{className:n("k-switch-track",I(Lo,{rounded:l})),children:[o&&(0,ko.jsx)("span",{className:"k-switch-label-on",children:o}),a&&(0,ko.jsx)("span",{className:"k-switch-label-off",children:a})]}),(0,ko.jsx)("span",{className:"k-switch-thumb-wrap",children:(0,ko.jsx)("span",{className:n("k-switch-thumb",I(Lo,{rounded:p}))})})]})};it.states=HN;it.options=FN;it.className=Lo;it.defaultOptions=UN;it.moduleName=pl;it.folderName=Am;var GN=require("react/jsx-runtime");var $N=require("react/jsx-runtime");var VN=require("react/jsx-runtime");var XN=require("react/jsx-runtime");var cl=require("react/jsx-runtime"),WN=it.options,JN=it.states,qN={...it.defaultOptions,variant:"on"},YN=[{name:"on",title:"On"},{name:"off",title:"Off"}],ZN=[],Ba=e=>{let{variant:t,...o}=e;return t==="off"?(0,cl.jsx)(it,{checked:!1,onLabel:"On",offLabel:"Off",...o}):(0,cl.jsx)(it,{checked:!0,onLabel:"On",offLabel:"Off",...o})};Ba.options=WN;Ba.states=JN;Ba.variants=YN;Ba.defaultOptions=qN;Ba.modifiers=ZN;Ba.className=it.className;var ul="textarea",Bm=ul;var bt=require("react/jsx-runtime"),Rm="k-textarea",QN=[r.hover,r.focus,r.valid,r.invalid,r.required,r.disabled],jN={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full],fillMode:[b.undefined,b.solid,b.flat,b.outline]},Ra={flow:"vertical",affixesOrientation:"horizontal",resize:"both",prefixSeparator:!0,suffixSeparator:!0},rt=e=>{let{size:t,rounded:o,fillMode:a,prefixSeparator:i=Ra.prefixSeparator,suffixSeparator:l=Ra.prefixSeparator,affixesOrientation:p=Ra.affixesOrientation,flow:m=Ra.flow,resize:f=Ra.resize,prefix:x,suffix:h,rows:N,value:c,placeholder:k,hover:g,focus:M,valid:y,invalid:E,required:B,disabled:G,id:j,"aria-label":ne,"aria-describedby":xe,...he}=e;return(0,bt.jsxs)(V,{...he,size:t,rounded:o,fillMode:a,hover:g,focus:M,valid:y,invalid:E,required:B,disabled:G,className:n(e.className,Rm,{"!k-flex-col":m==="vertical","!k-flex-row":m==="horizontal"}),children:[x&&(0,bt.jsxs)(bt.Fragment,{children:[(0,bt.jsx)(Me,{className:n({"!k-align-items-start":m===p}),direction:p,children:x}),i&&(0,bt.jsx)(se,{direction:m==="horizontal"?"vertical":"horizontal"})]}),(0,bt.jsx)(Za,{className:n("!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:k,rows:N,disabled:G,id:j,"aria-label":ne,"aria-describedby":xe,"aria-invalid":E?"true":void 0}),h&&(0,bt.jsxs)(bt.Fragment,{children:[l&&(0,bt.jsx)(se,{direction:m==="horizontal"?"vertical":"horizontal"}),(0,bt.jsx)(Ie,{className:n({"!k-align-items-start":m===p}),direction:p,children:h})]})]})};rt.states=QN;rt.options=jN;rt.className=Rm;rt.defaultOptions=Ra;rt.moduleName=ul;rt.folderName=Bm;var eg=require("react/jsx-runtime");var Pm=require("react/jsx-runtime");var wm=require("react/jsx-runtime");var tg=require("react/jsx-runtime");var bi=require("react/jsx-runtime"),og=rt.options,ag=rt.states,Km={...rt.defaultOptions,variant:"vertical"},ig=[{name:"vertical",title:"Flow vertical"},{name:"horizontal",title:"Flow horizontal"}],rg=[{name:"prefix",title:"Prefix"},{name:"suffix",title:"Suffix"}],Pa=e=>{let{variant:t,modifiers:o,...a}={...Km,...e},i={resize:"y"};return Object.keys(o||{}).forEach(l=>{switch(l){case"prefix":i.prefix=o!=null&&o[l]?(0,bi.jsx)(L,{icon:"comment"}):void 0;break;case"suffix":i.suffix=o!=null&&o[l]?(0,bi.jsx)(L,{icon:"volume-up"}):void 0;break;default:break}}),t==="horizontal"?(0,bi.jsx)(rt,{flow:"horizontal",placeholder:"Enter text...",style:{width:300},...a,...i}):(0,bi.jsx)(rt,{flow:"vertical",placeholder:"Enter text...",style:{width:300},...a,...i})};Pa.options=og;Pa.states=ag;Pa.variants=ig;Pa.defaultOptions=Km;Pa.modifiers=rg;Pa.className=rt.className;var bl=require("react/jsx-runtime");var Q=require("react/jsx-runtime"),ng=U.options,lg=U.states,sg={...U.defaultOptions,variant:"vertical"},dg=[{name:"horizontal",title:"Horizontal"},{name:"vertical",title:"Vertical"}],pg=[],wa=e=>{let{variant:t,size:o,...a}=e,i=(0,Q.jsxs)(qe,{legend:"Form Legend",children:[(0,Q.jsx)(Y,{label:"Label",editor:(0,Q.jsx)(H,{size:o})}),(0,Q.jsx)(Y,{label:"Label",hint:"Hint text",editor:(0,Q.jsx)(W,{value:"Dropdown List",size:o})}),(0,Q.jsx)(Y,{label:"City",editor:(0,Q.jsxs)("ul",{className:"k-radio-list k-list-horizontal",children:[(0,Q.jsxs)("li",{className:"k-radio-list-item",children:[(0,Q.jsx)(ct,{checked:!0,size:o}),(0,Q.jsx)("label",{className:"k-radio-label",children:"Label"})]}),(0,Q.jsxs)("li",{className:"k-radio-list-item",children:[(0,Q.jsx)(ct,{size:o}),(0,Q.jsx)("label",{className:"k-radio-label",children:"Label"})]}),(0,Q.jsxs)("li",{className:"k-radio-list-item",children:[(0,Q.jsx)(ct,{size:o}),(0,Q.jsx)("label",{className:"k-radio-label",children:"Label"})]})]})})]}),l=(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(d,{className:"k-form-submit",themeColor:"primary",size:o,children:"Submit"}),(0,Q.jsx)(d,{className:"k-form-clear",size:o,children:"Clear"})]});return t==="horizontal"?(0,Q.jsx)(U,{orientation:"horizontal",size:o,...a,formButtons:l,children:i}):(0,Q.jsx)(U,{size:o,...a,formButtons:l,children:i})};wa.options=ng;wa.states=lg;wa.variants=dg;wa.defaultOptions=sg;wa.modifiers=pg;wa.className=U.className;var xi=require("react/jsx-runtime"),mg=yt.options,cg=yt.states,zm={...yt.defaultOptions},ug=[],fg=[{name:"showHint",title:"Show Hint"}],Ka=e=>{let{modifiers:t,...o}={...zm,...e},a=(t==null?void 0:t.showHint)??!0;return(0,xi.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[(0,xi.jsx)(H,{placeholder:"Component",style:{width:"200px"}}),a&&(0,xi.jsx)(yt,{...o,children:"Hint text"})]})};Ka.options=mg;Ka.states=cg;Ka.variants=ug;Ka.defaultOptions=zm;Ka.modifiers=fg;Ka.className=yt.className;var hi=require("react/jsx-runtime"),bg=Et.options,xg=Et.states,Dm={...Et.defaultOptions},hg=[],Ng=[{name:"showError",title:"Show Error"}],za=e=>{let{modifiers:t,...o}={...Dm,...e},a=(t==null?void 0:t.showError)??!0;return(0,hi.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"4px"},children:[(0,hi.jsx)(H,{placeholder:"Component",invalid:a,style:{width:"200px"}}),a&&(0,hi.jsx)(Et,{...o,children:"Error text"})]})};za.options=bg;za.states=xg;za.variants=hg;za.defaultOptions=Dm;za.modifiers=Ng;za.className=Et.className;var xl="tooltip",_m=xl;var lo=require("react/jsx-runtime"),hl="k-tooltip",gg=[],vg={themeColor:[v.undefined,v.base,v.inverse,v.info,v.success,v.warning,v.error]},Hm={closable:!1},Ze=e=>{let{closable:t=Hm.closable,callout:o,themeColor:a,title:i,content:l,icon:p,id:m=T("tooltip"),...f}=e;return(0,lo.jsxs)("div",{...f,className:n(e.className,hl,I(hl,{themeColor:a}),{"k-tooltip-closable":t}),role:"tooltip",id:m,children:[p&&(0,lo.jsx)(L,{className:"k-tooltip-icon",icon:p}),(0,lo.jsxs)("div",{className:"k-tooltip-content",children:[i&&(0,lo.jsx)("div",{className:"k-tooltip-title",children:i}),l]}),t&&(0,lo.jsx)("div",{className:"k-tooltip-button",role:"button","aria-label":"Close",tabIndex:0,children:(0,lo.jsx)(L,{icon:"x"})}),o&&(0,lo.jsx)("div",{className:n("k-callout",{[`k-callout-${Gl.calloutMap[o]||o}`]:o})})]})};Ze.states=gg;Ze.options=vg;Ze.className=hl;Ze.defaultOptions=Hm;Ze.moduleName=xl;Ze.folderName=_m;var Nl=Ze;var Um=require("react/jsx-runtime"),Fm=e=>(0,Um.jsx)(Nl,{content:"Tooltip Content",...e});var Lg=require("react/jsx-runtime");var Da=require("react/jsx-runtime"),kg={...Ze.options,closable:{type:"boolean"},callout:["none","top","bottom","left","right"]},Mg=Ze.states,Gm={...Ze.defaultOptions,callout:"top"},Ig=[],_a=e=>{let{callout:t="top",...o}={...Gm,...e},a={none:{top:"-33px",left:"-17px",calloutDirection:null},right:{top:"2px",left:"61px",calloutDirection:"left"},left:{top:"2px",left:"-94px",calloutDirection:"right"},bottom:{top:"38px",left:"-17px",calloutDirection:"top"},top:{top:"-33px",left:"-17px",calloutDirection:"bottom"}},{top:i,left:l,calloutDirection:p}=a[t]||{};return(0,Da.jsxs)("div",{style:{position:"absolute"},children:[(0,Da.jsx)(xt,{style:{top:i,left:l},children:(0,Da.jsx)(Fm,{style:{width:"86px",textAlign:"center"},callout:p,content:"Content",...o})}),(0,Da.jsx)(d,{text:"Show"})]})};_a.options=kg;_a.states=Mg;_a.variants=Ig;_a.defaultOptions=Gm;_a.modifiers=[];_a.className=Ze.className;var gl=require("react/jsx-runtime");var vl=require("react/jsx-runtime");var Sg=require("react/jsx-runtime");var Ll="floating-toolbar",$m=Ll;var Do=require("react/jsx-runtime"),kl="k-floating-toolbar",yg="k-floating-toolbar-drag-handle",Eg=[],Cg={size:[s.undefined,s.small,s.medium,s.large],fillMode:[b.undefined,b.solid,b.outline,b.flat]},Tg={scrollButtons:"around"},so=e=>{let{size:t,fillMode:o,resizable:a,scrollable:i,scrollButtons:l,scrollingPosition:p,section:m,draggable:f,dragHandleAriaLabel:x="Drag to reposition",...h}=e,N=f?[(0,Do.jsx)("div",{className:yg,role:"button",tabIndex:0,"aria-label":x,children:(0,Do.jsx)(L,{icon:"handle-drag-dots"})},"drag-handle"),(0,Do.jsx)("div",{className:n("k-separator","k-separator-vertical")},"drag-handle-separator")]:[];return(0,Do.jsxs)(J,{...h,className:n(e.className,kl,I(kl,{size:t,fillMode:o})),children:[N,(0,Do.jsx)(q,{size:t,fillMode:o,resizable:a,scrollable:i,scrollButtons:l,scrollingPosition:p,section:m,children:e.children})]})};so.states=Eg;so.options=Cg;so.className=kl;so.defaultOptions=Tg;so.moduleName=Ll;so.folderName=$m;var Ml=require("react/jsx-runtime");var Il="segmented-control",Vm=Il,Xm="segmented-control-button",Wm="segmented-control";var rr=require("react/jsx-runtime"),ir="k-segmented-control",Og=[],Ag={size:[s.undefined,s.small,s.medium,s.large],rounded:[u.undefined,u.none,u.small,u.medium,u.large,u.full]},po=e=>{let{size:t,rounded:o,stretched:a,children:i,thumbStyles:l,...p}=e;return(0,rr.jsxs)("div",{...p,className:n(e.className,ir,I(ir,{size:t,rounded:o}),{[`${ir}-stretched`]:a}),role:"group",children:[(0,rr.jsx)("div",{className:"k-segmented-control-thumb","aria-hidden":"true",style:l}),i]})};po.states=Og;po.options=Ag;po.className=ir;po.moduleName=Il;po.folderName=Vm;var Ni=require("react/jsx-runtime"),Sl="k-segmented-control-button",Bg=[r.selected,r.hover,r.focus,r.disabled],Rg={},Pg={},Zt=e=>{let{hover:t,focus:o,selected:a,disabled:i,icon:l,text:p,iconClassName:m,...f}=e;return(0,Ni.jsxs)("button",{...f,className:n(e.className,Sl,C(Sl,{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&&(0,Ni.jsx)(L,{className:n(m,"k-segmented-control-button-icon"),icon:l}),(p||e.children)&&(0,Ni.jsx)("span",{className:"k-segmented-control-button-text",children:p||e.children})]})};Zt.states=Bg;Zt.options=Rg;Zt.className=Sl;Zt.defaultOptions=Pg;Zt.moduleName=Xm;Zt.folderName=Wm;var yl=require("react/jsx-runtime");var El=require("react/jsx-runtime");var Cl=require("react/jsx-runtime");var Tl=require("react/jsx-runtime");var Ol=require("react/jsx-runtime");var Al=require("react/jsx-runtime");var Bl=require("react/jsx-runtime");var Rl=require("react/jsx-runtime");var Pl=require("react/jsx-runtime");var wl=require("react/jsx-runtime");var Kl=require("react/jsx-runtime");var zl=require("react/jsx-runtime");var Dl=require("react/jsx-runtime");var A=require("react/jsx-runtime"),wg=[(0,A.jsx)(d,{fillMode:"flat",icon:"image-resize",selected:!0,"aria-label":"Resize"},"sidebar-button-1"),(0,A.jsx)(d,{fillMode:"flat",icon:"crop","aria-label":"Crop"},"sidebar-button-2"),(0,A.jsx)(d,{fillMode:"flat",icon:"rotate","aria-label":"Rotate"},"sidebar-button-3"),(0,A.jsx)("div",{className:"k-separator"},"sidebar-separator-1"),(0,A.jsx)(d,{fillMode:"flat",icon:"free-text","aria-label":"Text"},"sidebar-button-4"),(0,A.jsx)(d,{fillMode:"flat",icon:"shapes","aria-label":"Shapes"},"sidebar-button-5"),(0,A.jsx)("div",{className:"k-separator"},"sidebar-separator-2"),(0,A.jsx)(d,{fillMode:"flat",icon:"drop-half-pixelated","aria-label":"Blur"},"sidebar-button-6"),(0,A.jsx)(d,{fillMode:"flat",icon:"sliders-horizontal","aria-label":"Adjustments"},"sidebar-button-7"),(0,A.jsx)(d,{fillMode:"flat",icon:"circles-three-intersecting","aria-label":"Filters"},"sidebar-button-8"),(0,A.jsx)("div",{className:"k-separator"},"sidebar-separator-3"),(0,A.jsx)(d,{fillMode:"flat",icon:"frame-corners","aria-label":"Frame"},"sidebar-button-9"),(0,A.jsx)(d,{fillMode:"flat",icon:"circle-half-tilted","aria-label":"Shadow"},"sidebar-button-10")],Kg=e=>(0,A.jsx)(de,{sidebarItems:wg,actionPane:(0,A.jsx)(ke,{title:"Resize",actions:(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(d,{children:"Reset"}),(0,A.jsx)(d,{themeColor:"primary",children:"Apply"})]}),children:(0,A.jsxs)(U,{tag:"div",children:[(0,A.jsx)(Y,{label:"Scale Unit",editor:(0,A.jsxs)(pe,{layout:"horizontal",children:[(0,A.jsx)(re,{children:(0,A.jsx)(Ye,{id:"resize-scale-unit-pixel",name:"resize-scale-unit",checked:!0,children:"Pixel"})}),(0,A.jsx)(re,{children:(0,A.jsx)(Ye,{id:"resize-scale-unit-percentage",name:"resize-scale-unit",children:"Percentage"})})]})}),(0,A.jsxs)(qe,{layout:"grid",cols:2,gutters:{cols:"8px"},children:[(0,A.jsx)(Y,{label:"Width",editorId:"resize-width",editor:(0,A.jsx)(K,{id:"resize-width",showClearButton:!1,value:"494",prefix:(0,A.jsx)(L,{icon:"arrows-left-right"})})}),(0,A.jsx)(Y,{label:"Height",editorId:"resize-height",editor:(0,A.jsx)(K,{id:"resize-height",showClearButton:!1,value:"307",prefix:(0,A.jsx)(L,{icon:"arrows-top-bottom"})})})]}),(0,A.jsx)(Y,{editor:(0,A.jsx)(Lt,{id:"resize-lock",checked:!0,children:"Lock Aspect Ratio"})})]})}),children:(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("canvas",{width:"494",height:"307",role:"img","aria-label":"Image being edited",style:{backgroundImage:"url('/packages/html/assets/sofia.jpg')",backgroundSize:"cover"}}),(0,A.jsx)("div",{className:"k-imageeditor-resize",children:(0,A.jsx)(no,{variant:"mixed"})}),(0,A.jsx)(Ze,{themeColor:"inverse",style:{position:"absolute",insetBlockEnd:"-52px",insetInlineEnd:"0"},content:(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("div",{children:"W: 494"}),(0,A.jsx)("div",{children:"H: 307"})]})})]}),...e});
|