@geovi/the-datagrid 0.1.1 → 0.1.2

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.
Files changed (66) hide show
  1. package/README.md +47 -1253
  2. package/dist/BoolEditor.cjs +1 -1
  3. package/dist/BoolEditor.js +235 -222
  4. package/dist/DateEditor.cjs +1 -1
  5. package/dist/DateEditor.js +297 -273
  6. package/dist/DateFilter.cjs +1 -1
  7. package/dist/DateFilter.js +65 -63
  8. package/dist/NumberFilter.cjs +1 -1
  9. package/dist/NumberFilter.js +104 -102
  10. package/dist/NumericEditor.cjs +1 -1
  11. package/dist/NumericEditor.js +296 -277
  12. package/dist/SelectEditor.cjs +42 -0
  13. package/dist/SelectEditor.js +6703 -0
  14. package/dist/StringFilter.cjs +1 -1
  15. package/dist/StringFilter.js +121 -119
  16. package/dist/TextEditor.cjs +2 -0
  17. package/dist/TextEditor.js +2972 -0
  18. package/dist/base.css +1 -1
  19. package/dist/community-package-manifest.json +3 -1
  20. package/dist/components/ui/input.d.ts +2 -0
  21. package/dist/components/ui/input.d.ts.map +1 -1
  22. package/dist/editors/BoolEditor.d.ts +1 -1
  23. package/dist/editors/BoolEditor.d.ts.map +1 -1
  24. package/dist/editors/DateEditor.d.ts +1 -1
  25. package/dist/editors/DateEditor.d.ts.map +1 -1
  26. package/dist/editors/NumericEditor.d.ts +1 -1
  27. package/dist/editors/NumericEditor.d.ts.map +1 -1
  28. package/dist/editors/SelectEditor.d.ts +27 -0
  29. package/dist/editors/SelectEditor.d.ts.map +1 -0
  30. package/dist/editors/TextEditor.d.ts +27 -0
  31. package/dist/editors/TextEditor.d.ts.map +1 -0
  32. package/dist/editors/editorTypes.d.ts +24 -0
  33. package/dist/editors/editorTypes.d.ts.map +1 -1
  34. package/dist/editors/index.d.ts +5 -0
  35. package/dist/editors/index.d.ts.map +1 -1
  36. package/dist/grid/ReactDataGrid.d.ts.map +1 -1
  37. package/dist/grid/components/GridBody.d.ts.map +1 -1
  38. package/dist/grid/components/GridContextMenuLayer.d.ts.map +1 -1
  39. package/dist/grid/hooks/useGridEditing.d.ts.map +1 -1
  40. package/dist/grid/menuRuntime.d.ts +27 -0
  41. package/dist/grid/menuRuntime.d.ts.map +1 -0
  42. package/dist/index.cjs +13 -13
  43. package/dist/index.css +1 -1
  44. package/dist/index.js +9435 -9164
  45. package/dist/main.d.ts +2 -2
  46. package/dist/main.d.ts.map +1 -1
  47. package/dist/style/theme/amber-dark/index.css +1 -1
  48. package/dist/style/theme/amber-light/index.css +1 -1
  49. package/dist/style/theme/blue-dark/index.css +1 -1
  50. package/dist/style/theme/blue-light/index.css +1 -1
  51. package/dist/style/theme/default-dark/index.css +1 -1
  52. package/dist/style/theme/default-light/index.css +1 -1
  53. package/dist/style/theme/green-dark/index.css +1 -1
  54. package/dist/style/theme/green-light/index.css +1 -1
  55. package/dist/style/theme/pink-dark/index.css +1 -1
  56. package/dist/style/theme/pink-light/index.css +1 -1
  57. package/dist/toolbar/RDGToolbar.d.ts.map +1 -1
  58. package/dist/toolbar/icons.d.ts +0 -2
  59. package/dist/toolbar/icons.d.ts.map +1 -1
  60. package/dist/toolbar/runtime.d.ts +7 -0
  61. package/dist/toolbar/runtime.d.ts.map +1 -1
  62. package/dist/toolbar.css +1 -1
  63. package/dist/toolbar.js +548 -651
  64. package/dist/types.d.ts +7 -0
  65. package/dist/types.d.ts.map +1 -1
  66. package/package.json +20 -2
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";const Ct=require("react"),St=require("react-dom");function He(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,r.get?r:{enumerable:!0,get:()=>e[o]})}}return t.default=e,Object.freeze(t)}const qe=He(Ct),Ke=He(St),At=qe,w=At.default??qe,H=w.Children,Nt=w.Component,Ce=w.Fragment,Rt=w.PureComponent,fe=w.cloneElement,de=w.createContext,P=w.createElement,Pt=w.createRef,_=w.forwardRef,Q=w.isValidElement,zt=w.lazy,It=w.memo,pe=w.useCallback,Se=w.useContext,Et=w.useDebugValue,_t=w.useDeferredValue,W=w.useEffect,Mt=w.useId,Ot=w.useImperativeHandle,Tt=w.useInsertionEffect,Xe=w.useLayoutEffect,ee=w.useMemo,Ye=w.useReducer,I=w.useRef,X=w.useState,Lt=w.use,Dt=w.version,jt=Object.freeze(Object.defineProperty({__proto__:null,Children:H,Component:Nt,Fragment:Ce,PureComponent:Rt,cloneElement:fe,createContext:de,createElement:P,createRef:Pt,default:w,forwardRef:_,isValidElement:Q,lazy:zt,memo:It,use:Lt,useCallback:pe,useContext:Se,useDebugValue:Et,useDeferredValue:_t,useEffect:W,useId:Mt,useImperativeHandle:Ot,useInsertionEffect:Tt,useLayoutEffect:Xe,useMemo:ee,useReducer:Ye,useRef:I,useState:X,version:Dt},Symbol.toStringTag,{value:"Module"}));function je(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Ze(...e){return t=>{let o=!1;const r=e.map(n=>{const s=je(n,t);return!o&&typeof s=="function"&&(o=!0),s});if(o)return()=>{for(let n=0;n<r.length;n++){const s=r[n];typeof s=="function"?s():je(e[n],null)}}}}function Ae(...e){return pe(Ze(...e),e)}function Je(e,t){return e}const $t=Ce;function E(e,t,o){return P(e,Je(t))}function Bt(e,t,o){const r=Je(t);if(!r||!Array.isArray(r.children))return P(e,r);const{children:n,...s}=r;return P(e,s,...n)}function Gt(e,t=[]){let o=[];function r(s,a){const c=de(a),i=o.length;o=[...o,a];const l=p=>{const{scope:k,children:x,...y}=p,g=k?.[e]?.[i]||c,v=ee(()=>y,Object.values(y));return E(g.Provider,{value:v,children:x})};l.displayName=s+"Provider";function m(p,k){const x=k?.[e]?.[i]||c,y=Se(x);if(y)return y;if(a!==void 0)return a;throw new Error(`\`${p}\` must be used within \`${s}\``)}return[l,m]}const n=()=>{const s=o.map(a=>de(a));return function(c){const i=c?.[e]||s;return ee(()=>({[`__scope${e}`]:{...c,[e]:i}}),[c,i])}};return n.scopeName=e,[r,Wt(n,...t)]}function Wt(...e){const t=e[0];if(e.length===1)return t;const o=()=>{const r=e.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(s){const a=r.reduce((c,{useScope:i,scopeName:l})=>{const p=i(s)[`__scope${l}`];return{...c,...p}},{});return ee(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return o.scopeName=t.scopeName,o}function $e(e,t,{checkForDefaultPrevented:o=!0}={}){return function(n){if(e?.(n),o===!1||!n.defaultPrevented)return t?.(n)}}var ue=globalThis?.document?Xe:()=>{},Ft=jt[" useInsertionEffect ".trim().toString()]||ue;function Vt({prop:e,defaultProp:t,onChange:o=()=>{},caller:r}){const[n,s,a]=Ut({defaultProp:t,onChange:o}),c=e!==void 0,i=c?e:n;{const m=I(e!==void 0);W(()=>{const p=m.current;p!==c&&console.warn(`${r} is changing from ${p?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),m.current=c},[c,r])}const l=pe(m=>{if(c){const p=Ht(m)?m(e):m;p!==e&&a.current?.(p)}else s(m)},[c,e,s,a]);return[i,l]}function Ut({defaultProp:e,onChange:t}){const[o,r]=X(e),n=I(o),s=I(t);return Ft(()=>{s.current=t},[t]),W(()=>{n.current!==o&&(s.current?.(o),n.current=o)},[o,n]),[o,r,s]}function Ht(e){return typeof e=="function"}function qt(e){const t=I({value:e,previous:e});return ee(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function Kt(e){const[t,o]=X(void 0);return ue(()=>{if(e){o({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(n=>{if(!Array.isArray(n)||!n.length)return;const s=n[0];let a,c;if("borderBoxSize"in s){const i=s.borderBoxSize,l=Array.isArray(i)?i[0]:i;a=l.inlineSize,c=l.blockSize}else a=e.offsetWidth,c=e.offsetHeight;o({width:a,height:c})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else o(void 0)},[e]),t}function Xt(e,t){return Ye((o,r)=>t[o][r]??o,e)}var Qe=e=>{const{present:t,children:o}=e,r=Yt(t),n=typeof o=="function"?o({present:r.isPresent}):H.only(o),s=Ae(r.ref,Zt(n));return typeof o=="function"||r.isPresent?fe(n,{ref:s}):null};Qe.displayName="Presence";function Yt(e){const[t,o]=X(),r=I(null),n=I(e),s=I("none"),a=e?"mounted":"unmounted",[c,i]=Xt(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return W(()=>{const l=ie(r.current);s.current=c==="mounted"?l:"none"},[c]),ue(()=>{const l=r.current,m=n.current;if(m!==e){const k=s.current,x=ie(l);e?i("MOUNT"):x==="none"||l?.display==="none"?i("UNMOUNT"):i(m&&k!==x?"ANIMATION_OUT":"UNMOUNT"),n.current=e}},[e,i]),ue(()=>{if(t){let l;const m=t.ownerDocument.defaultView??window,p=x=>{const g=ie(r.current).includes(CSS.escape(x.animationName));if(x.target===t&&g&&(i("ANIMATION_END"),!n.current)){const v=t.style.animationFillMode;t.style.animationFillMode="forwards",l=m.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=v)})}},k=x=>{x.target===t&&(s.current=ie(r.current))};return t.addEventListener("animationstart",k),t.addEventListener("animationcancel",p),t.addEventListener("animationend",p),()=>{m.clearTimeout(l),t.removeEventListener("animationstart",k),t.removeEventListener("animationcancel",p),t.removeEventListener("animationend",p)}}else i("ANIMATION_END")},[t,i]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:pe(l=>{r.current=l?getComputedStyle(l):null,o(l)},[])}}function ie(e){return e?.animationName||"none"}function Zt(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}const Jt=Ke,et=Jt.default??Ke;et.createPortal;et.flushSync;function Qt(e){const t=eo(e),o=_((r,n)=>{const{children:s,...a}=r,c=H.toArray(s),i=c.find(oo);if(i){const l=i.props.children,m=c.map(p=>p===i?H.count(l)>1?H.only(null):Q(l)?l.props.children:null:p);return E(t,{...a,ref:n,children:Q(l)?fe(l,void 0,m):null})}return E(t,{...a,ref:n,children:s})});return o.displayName=`${e}.Slot`,o}function eo(e){const t=_((o,r)=>{const{children:n,...s}=o;if(Q(n)){const a=no(n),c=ro(s,n.props);return n.type!==Ce&&(c.ref=r?Ze(r,a):a),fe(n,c)}return H.count(n)>1?H.only(null):null});return t.displayName=`${e}.SlotClone`,t}var to=Symbol("radix.slottable");function oo(e){return Q(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===to}function ro(e,t){const o={...t};for(const r in t){const n=e[r],s=t[r];/^on[A-Z]/.test(r)?n&&s?o[r]=(...c)=>{const i=s(...c);return n(...c),i}:n&&(o[r]=n):r==="style"?o[r]={...n,...s}:r==="className"&&(o[r]=[n,s].filter(Boolean).join(" "))}return{...e,...o}}function no(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var so=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ne=so.reduce((e,t)=>{const o=Qt(`Primitive.${t}`),r=_((n,s)=>{const{asChild:a,...c}=n,i=a?o:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),E(i,{...c,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),be="Checkbox",[ao]=Gt(be),[io,Re]=ao(be);function co(e){const{__scopeCheckbox:t,checked:o,children:r,defaultChecked:n,disabled:s,form:a,name:c,onCheckedChange:i,required:l,value:m="on",internal_do_not_use_render:p}=e,[k,x]=Vt({prop:o,defaultProp:n??!1,onChange:i,caller:be}),[y,g]=X(null),[v,C]=X(null),N=I(!1),O=y?!!a||!!y.closest("form"):!0,M={checked:k,disabled:s,setChecked:x,control:y,setControl:g,name:c,form:a,value:m,hasConsumerStoppedPropagationRef:N,required:l,defaultChecked:G(n)?!1:n,isFormControl:O,bubbleInput:v,setBubbleInput:C};return E(io,{scope:t,...M,children:lo(p)?p(M):r})}var tt="CheckboxTrigger",ot=_(({__scopeCheckbox:e,onKeyDown:t,onClick:o,...r},n)=>{const{control:s,value:a,disabled:c,checked:i,required:l,setControl:m,setChecked:p,hasConsumerStoppedPropagationRef:k,isFormControl:x,bubbleInput:y}=Re(tt,e),g=Ae(n,m),v=I(i);return W(()=>{const C=s?.form;if(C){const N=()=>p(v.current);return C.addEventListener("reset",N),()=>C.removeEventListener("reset",N)}},[s,p]),E(Ne.button,{type:"button",role:"checkbox","aria-checked":G(i)?"mixed":i,"aria-required":l,"data-state":it(i),"data-disabled":c?"":void 0,disabled:c,value:a,...r,ref:g,onKeyDown:$e(t,C=>{C.key==="Enter"&&C.preventDefault()}),onClick:$e(o,C=>{p(N=>G(N)?!0:!N),y&&x&&(k.current=C.isPropagationStopped(),k.current||C.stopPropagation())})})});ot.displayName=tt;var Pe=_((e,t)=>{const{__scopeCheckbox:o,name:r,checked:n,defaultChecked:s,required:a,disabled:c,value:i,onCheckedChange:l,form:m,...p}=e;return E(co,{__scopeCheckbox:o,checked:n,defaultChecked:s,disabled:c,required:a,onCheckedChange:l,name:r,form:m,value:i,internal_do_not_use_render:({isFormControl:k})=>Bt($t,{children:[E(ot,{...p,ref:t,__scopeCheckbox:o}),k&&E(at,{__scopeCheckbox:o})]})})});Pe.displayName=be;var rt="CheckboxIndicator",nt=_((e,t)=>{const{__scopeCheckbox:o,forceMount:r,...n}=e,s=Re(rt,o);return E(Qe,{present:r||G(s.checked)||s.checked===!0,children:E(Ne.span,{"data-state":it(s.checked),"data-disabled":s.disabled?"":void 0,...n,ref:t,style:{pointerEvents:"none",...e.style}})})});nt.displayName=rt;var st="CheckboxBubbleInput",at=_(({__scopeCheckbox:e,...t},o)=>{const{control:r,hasConsumerStoppedPropagationRef:n,checked:s,defaultChecked:a,required:c,disabled:i,name:l,value:m,form:p,bubbleInput:k,setBubbleInput:x}=Re(st,e),y=Ae(o,x),g=qt(s),v=Kt(r);W(()=>{const N=k;if(!N)return;const O=window.HTMLInputElement.prototype,T=Object.getOwnPropertyDescriptor(O,"checked").set,L=!n.current;if(g!==s&&T){const F=new Event("click",{bubbles:L});N.indeterminate=G(s),T.call(N,G(s)?!1:s),N.dispatchEvent(F)}},[k,g,s,n]);const C=I(G(s)?!1:s);return E(Ne.input,{type:"checkbox","aria-hidden":!0,defaultChecked:a??C.current,required:c,disabled:i,name:l,value:m,form:p,...t,tabIndex:-1,ref:y,style:{...t.style,...v,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});at.displayName=st;function lo(e){return typeof e=="function"}function G(e){return e==="indeterminate"}function it(e){return G(e)?"indeterminate":e?"checked":"unchecked"}const uo=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),mo=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,o,r)=>r?r.toUpperCase():o.toLowerCase()),Be=e=>{const t=mo(e);return t.charAt(0).toUpperCase()+t.slice(1)},ct=(...e)=>e.filter((t,o,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===o).join(" ").trim(),fo=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};var po={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const bo=_(({color:e="currentColor",size:t=24,strokeWidth:o=2,absoluteStrokeWidth:r,className:n="",children:s,iconNode:a,...c},i)=>P("svg",{ref:i,...po,width:t,height:t,stroke:e,strokeWidth:r?Number(o)*24/Number(t):o,className:ct("lucide",n),...!s&&!fo(c)&&{"aria-hidden":"true"},...c},[...a.map(([l,m])=>P(l,m)),...Array.isArray(s)?s:[s]]));const go=(e,t)=>{const o=_(({className:r,...n},s)=>P(bo,{ref:s,iconNode:t,className:ct(`lucide-${uo(Be(e))}`,`lucide-${e}`,r),...n}));return o.displayName=Be(e),o};const ho=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],ko=go("check",ho);function lt(e){var t,o,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=lt(e[t]))&&(r&&(r+=" "),r+=o)}else for(o in e)e[o]&&(r&&(r+=" "),r+=o);return r}function xo(){for(var e,t,o=0,r="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=lt(e))&&(r&&(r+=" "),r+=t);return r}const yo=(e,t)=>{const o=new Array(e.length+t.length);for(let r=0;r<e.length;r++)o[r]=e[r];for(let r=0;r<t.length;r++)o[e.length+r]=t[r];return o},wo=(e,t)=>({classGroupId:e,validator:t}),dt=(e=new Map,t=null,o)=>({nextPart:e,validators:t,classGroupId:o}),me="-",Ge=[],vo="arbitrary..",Co=e=>{const t=Ao(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{if(a.startsWith("[")&&a.endsWith("]"))return So(a);const c=a.split(me),i=c[0]===""&&c.length>1?1:0;return ut(c,i,t)},getConflictingClassGroupIds:(a,c)=>{if(c){const i=r[a],l=o[a];return i?l?yo(l,i):i:l||Ge}return o[a]||Ge}}},ut=(e,t,o)=>{if(e.length-t===0)return o.classGroupId;const n=e[t],s=o.nextPart.get(n);if(s){const l=ut(e,t+1,s);if(l)return l}const a=o.validators;if(a===null)return;const c=t===0?e.join(me):e.slice(t).join(me),i=a.length;for(let l=0;l<i;l++){const m=a[l];if(m.validator(c))return m.classGroupId}},So=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),o=t.indexOf(":"),r=t.slice(0,o);return r?vo+r:void 0})(),Ao=e=>{const{theme:t,classGroups:o}=e;return No(o,t)},No=(e,t)=>{const o=dt();for(const r in e){const n=e[r];ze(n,o,r,t)}return o},ze=(e,t,o,r)=>{const n=e.length;for(let s=0;s<n;s++){const a=e[s];Ro(a,t,o,r)}},Ro=(e,t,o,r)=>{if(typeof e=="string"){Po(e,t,o);return}if(typeof e=="function"){zo(e,t,o,r);return}Io(e,t,o,r)},Po=(e,t,o)=>{const r=e===""?t:mt(t,e);r.classGroupId=o},zo=(e,t,o,r)=>{if(Eo(e)){ze(e(r),t,o,r);return}t.validators===null&&(t.validators=[]),t.validators.push(wo(o,e))},Io=(e,t,o,r)=>{const n=Object.entries(e),s=n.length;for(let a=0;a<s;a++){const[c,i]=n[a];ze(i,mt(t,c),o,r)}},mt=(e,t)=>{let o=e;const r=t.split(me),n=r.length;for(let s=0;s<n;s++){const a=r[s];let c=o.nextPart.get(a);c||(c=dt(),o.nextPart.set(a,c)),o=c}return o},Eo=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,_o=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=Object.create(null),r=Object.create(null);const n=(s,a)=>{o[s]=a,t++,t>e&&(t=0,r=o,o=Object.create(null))};return{get(s){let a=o[s];if(a!==void 0)return a;if((a=r[s])!==void 0)return n(s,a),a},set(s,a){s in o?o[s]=a:n(s,a)}}},we="!",We=":",Mo=[],Fe=(e,t,o,r,n)=>({modifiers:e,hasImportantModifier:t,baseClassName:o,maybePostfixModifierPosition:r,isExternal:n}),Oo=e=>{const{prefix:t,experimentalParseClassName:o}=e;let r=n=>{const s=[];let a=0,c=0,i=0,l;const m=n.length;for(let g=0;g<m;g++){const v=n[g];if(a===0&&c===0){if(v===We){s.push(n.slice(i,g)),i=g+1;continue}if(v==="/"){l=g;continue}}v==="["?a++:v==="]"?a--:v==="("?c++:v===")"&&c--}const p=s.length===0?n:n.slice(i);let k=p,x=!1;p.endsWith(we)?(k=p.slice(0,-1),x=!0):p.startsWith(we)&&(k=p.slice(1),x=!0);const y=l&&l>i?l-i:void 0;return Fe(s,x,k,y)};if(t){const n=t+We,s=r;r=a=>a.startsWith(n)?s(a.slice(n.length)):Fe(Mo,!1,a,void 0,!0)}if(o){const n=r;r=s=>o({className:s,parseClassName:n})}return r},To=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((o,r)=>{t.set(o,1e6+r)}),o=>{const r=[];let n=[];for(let s=0;s<o.length;s++){const a=o[s],c=a[0]==="[",i=t.has(a);c||i?(n.length>0&&(n.sort(),r.push(...n),n=[]),r.push(a)):n.push(a)}return n.length>0&&(n.sort(),r.push(...n)),r}},Lo=e=>({cache:_o(e.cacheSize),parseClassName:Oo(e),sortModifiers:To(e),...Co(e)}),Do=/\s+/,jo=(e,t)=>{const{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:n,sortModifiers:s}=t,a=[],c=e.trim().split(Do);let i="";for(let l=c.length-1;l>=0;l-=1){const m=c[l],{isExternal:p,modifiers:k,hasImportantModifier:x,baseClassName:y,maybePostfixModifierPosition:g}=o(m);if(p){i=m+(i.length>0?" "+i:i);continue}let v=!!g,C=r(v?y.substring(0,g):y);if(!C){if(!v){i=m+(i.length>0?" "+i:i);continue}if(C=r(y),!C){i=m+(i.length>0?" "+i:i);continue}v=!1}const N=k.length===0?"":k.length===1?k[0]:s(k).join(":"),O=x?N+we:N,M=O+C;if(a.indexOf(M)>-1)continue;a.push(M);const T=n(C,v);for(let L=0;L<T.length;++L){const F=T[L];a.push(O+F)}i=m+(i.length>0?" "+i:i)}return i},$o=(...e)=>{let t=0,o,r,n="";for(;t<e.length;)(o=e[t++])&&(r=ft(o))&&(n&&(n+=" "),n+=r);return n},ft=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=ft(e[r]))&&(o&&(o+=" "),o+=t);return o},Bo=(e,...t)=>{let o,r,n,s;const a=i=>{const l=t.reduce((m,p)=>p(m),e());return o=Lo(l),r=o.cache.get,n=o.cache.set,s=c,c(i)},c=i=>{const l=r(i);if(l)return l;const m=jo(i,o);return n(i,m),m};return s=a,(...i)=>s($o(...i))},Go=[],S=e=>{const t=o=>o[e]||Go;return t.isThemeGetter=!0,t},pt=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,bt=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Wo=/^\d+\/\d+$/,Fo=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Vo=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Uo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ho=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,qo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,K=e=>Wo.test(e),h=e=>!!e&&!Number.isNaN(Number(e)),B=e=>!!e&&Number.isInteger(Number(e)),xe=e=>e.endsWith("%")&&h(e.slice(0,-1)),$=e=>Fo.test(e),Ko=()=>!0,Xo=e=>Vo.test(e)&&!Uo.test(e),gt=()=>!1,Yo=e=>Ho.test(e),Zo=e=>qo.test(e),Jo=e=>!d(e)&&!u(e),Qo=e=>Y(e,xt,gt),d=e=>pt.test(e),U=e=>Y(e,yt,Xo),ye=e=>Y(e,nr,h),Ve=e=>Y(e,ht,gt),er=e=>Y(e,kt,Zo),ce=e=>Y(e,wt,Yo),u=e=>bt.test(e),J=e=>Z(e,yt),tr=e=>Z(e,sr),Ue=e=>Z(e,ht),or=e=>Z(e,xt),rr=e=>Z(e,kt),le=e=>Z(e,wt,!0),Y=(e,t,o)=>{const r=pt.exec(e);return r?r[1]?t(r[1]):o(r[2]):!1},Z=(e,t,o=!1)=>{const r=bt.exec(e);return r?r[1]?t(r[1]):o:!1},ht=e=>e==="position"||e==="percentage",kt=e=>e==="image"||e==="url",xt=e=>e==="length"||e==="size"||e==="bg-size",yt=e=>e==="length",nr=e=>e==="number",sr=e=>e==="family-name",wt=e=>e==="shadow",ar=()=>{const e=S("color"),t=S("font"),o=S("text"),r=S("font-weight"),n=S("tracking"),s=S("leading"),a=S("breakpoint"),c=S("container"),i=S("spacing"),l=S("radius"),m=S("shadow"),p=S("inset-shadow"),k=S("text-shadow"),x=S("drop-shadow"),y=S("blur"),g=S("perspective"),v=S("aspect"),C=S("ease"),N=S("animate"),O=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],T=()=>[...M(),u,d],L=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto","contain","none"],b=()=>[u,d,i],D=()=>[K,"full","auto",...b()],Ie=()=>[B,"none","subgrid",u,d],Ee=()=>["auto",{span:["full",B,u,d]},B,u,d],oe=()=>[B,"auto",u,d],_e=()=>["auto","min","max","fr",u,d],ge=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],q=()=>["start","end","center","stretch","center-safe","end-safe"],j=()=>["auto",...b()],V=()=>[K,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...b()],f=()=>[e,u,d],Me=()=>[...M(),Ue,Ve,{position:[u,d]}],Oe=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Te=()=>["auto","cover","contain",or,Qo,{size:[u,d]}],he=()=>[xe,J,U],R=()=>["","none","full",l,u,d],z=()=>["",h,J,U],re=()=>["solid","dashed","dotted","double"],Le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],A=()=>[h,xe,Ue,Ve],De=()=>["","none",y,u,d],ne=()=>["none",h,u,d],se=()=>["none",h,u,d],ke=()=>[h,u,d],ae=()=>[K,"full",...b()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[$],breakpoint:[$],color:[Ko],container:[$],"drop-shadow":[$],ease:["in","out","in-out"],font:[Jo],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[$],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[$],shadow:[$],spacing:["px",h],text:[$],"text-shadow":[$],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",K,d,u,v]}],container:["container"],columns:[{columns:[h,d,u,c]}],"break-after":[{"break-after":O()}],"break-before":[{"break-before":O()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:T()}],overflow:[{overflow:L()}],"overflow-x":[{"overflow-x":L()}],"overflow-y":[{"overflow-y":L()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:D()}],"inset-x":[{"inset-x":D()}],"inset-y":[{"inset-y":D()}],start:[{start:D()}],end:[{end:D()}],top:[{top:D()}],right:[{right:D()}],bottom:[{bottom:D()}],left:[{left:D()}],visibility:["visible","invisible","collapse"],z:[{z:[B,"auto",u,d]}],basis:[{basis:[K,"full","auto",c,...b()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[h,K,"auto","initial","none",d]}],grow:[{grow:["",h,u,d]}],shrink:[{shrink:["",h,u,d]}],order:[{order:[B,"first","last","none",u,d]}],"grid-cols":[{"grid-cols":Ie()}],"col-start-end":[{col:Ee()}],"col-start":[{"col-start":oe()}],"col-end":[{"col-end":oe()}],"grid-rows":[{"grid-rows":Ie()}],"row-start-end":[{row:Ee()}],"row-start":[{"row-start":oe()}],"row-end":[{"row-end":oe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":_e()}],"auto-rows":[{"auto-rows":_e()}],gap:[{gap:b()}],"gap-x":[{"gap-x":b()}],"gap-y":[{"gap-y":b()}],"justify-content":[{justify:[...ge(),"normal"]}],"justify-items":[{"justify-items":[...q(),"normal"]}],"justify-self":[{"justify-self":["auto",...q()]}],"align-content":[{content:["normal",...ge()]}],"align-items":[{items:[...q(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...q(),{baseline:["","last"]}]}],"place-content":[{"place-content":ge()}],"place-items":[{"place-items":[...q(),"baseline"]}],"place-self":[{"place-self":["auto",...q()]}],p:[{p:b()}],px:[{px:b()}],py:[{py:b()}],ps:[{ps:b()}],pe:[{pe:b()}],pt:[{pt:b()}],pr:[{pr:b()}],pb:[{pb:b()}],pl:[{pl:b()}],m:[{m:j()}],mx:[{mx:j()}],my:[{my:j()}],ms:[{ms:j()}],me:[{me:j()}],mt:[{mt:j()}],mr:[{mr:j()}],mb:[{mb:j()}],ml:[{ml:j()}],"space-x":[{"space-x":b()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":b()}],"space-y-reverse":["space-y-reverse"],size:[{size:V()}],w:[{w:[c,"screen",...V()]}],"min-w":[{"min-w":[c,"screen","none",...V()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[a]},...V()]}],h:[{h:["screen","lh",...V()]}],"min-h":[{"min-h":["screen","lh","none",...V()]}],"max-h":[{"max-h":["screen","lh",...V()]}],"font-size":[{text:["base",o,J,U]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,u,ye]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",xe,d]}],"font-family":[{font:[tr,d,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,u,d]}],"line-clamp":[{"line-clamp":[h,"none",u,ye]}],leading:[{leading:[s,...b()]}],"list-image":[{"list-image":["none",u,d]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",u,d]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:f()}],"text-color":[{text:f()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...re(),"wavy"]}],"text-decoration-thickness":[{decoration:[h,"from-font","auto",u,U]}],"text-decoration-color":[{decoration:f()}],"underline-offset":[{"underline-offset":[h,"auto",u,d]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",u,d]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",u,d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Me()}],"bg-repeat":[{bg:Oe()}],"bg-size":[{bg:Te()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},B,u,d],radial:["",u,d],conic:[B,u,d]},rr,er]}],"bg-color":[{bg:f()}],"gradient-from-pos":[{from:he()}],"gradient-via-pos":[{via:he()}],"gradient-to-pos":[{to:he()}],"gradient-from":[{from:f()}],"gradient-via":[{via:f()}],"gradient-to":[{to:f()}],rounded:[{rounded:R()}],"rounded-s":[{"rounded-s":R()}],"rounded-e":[{"rounded-e":R()}],"rounded-t":[{"rounded-t":R()}],"rounded-r":[{"rounded-r":R()}],"rounded-b":[{"rounded-b":R()}],"rounded-l":[{"rounded-l":R()}],"rounded-ss":[{"rounded-ss":R()}],"rounded-se":[{"rounded-se":R()}],"rounded-ee":[{"rounded-ee":R()}],"rounded-es":[{"rounded-es":R()}],"rounded-tl":[{"rounded-tl":R()}],"rounded-tr":[{"rounded-tr":R()}],"rounded-br":[{"rounded-br":R()}],"rounded-bl":[{"rounded-bl":R()}],"border-w":[{border:z()}],"border-w-x":[{"border-x":z()}],"border-w-y":[{"border-y":z()}],"border-w-s":[{"border-s":z()}],"border-w-e":[{"border-e":z()}],"border-w-t":[{"border-t":z()}],"border-w-r":[{"border-r":z()}],"border-w-b":[{"border-b":z()}],"border-w-l":[{"border-l":z()}],"divide-x":[{"divide-x":z()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":z()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...re(),"hidden","none"]}],"divide-style":[{divide:[...re(),"hidden","none"]}],"border-color":[{border:f()}],"border-color-x":[{"border-x":f()}],"border-color-y":[{"border-y":f()}],"border-color-s":[{"border-s":f()}],"border-color-e":[{"border-e":f()}],"border-color-t":[{"border-t":f()}],"border-color-r":[{"border-r":f()}],"border-color-b":[{"border-b":f()}],"border-color-l":[{"border-l":f()}],"divide-color":[{divide:f()}],"outline-style":[{outline:[...re(),"none","hidden"]}],"outline-offset":[{"outline-offset":[h,u,d]}],"outline-w":[{outline:["",h,J,U]}],"outline-color":[{outline:f()}],shadow:[{shadow:["","none",m,le,ce]}],"shadow-color":[{shadow:f()}],"inset-shadow":[{"inset-shadow":["none",p,le,ce]}],"inset-shadow-color":[{"inset-shadow":f()}],"ring-w":[{ring:z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:f()}],"ring-offset-w":[{"ring-offset":[h,U]}],"ring-offset-color":[{"ring-offset":f()}],"inset-ring-w":[{"inset-ring":z()}],"inset-ring-color":[{"inset-ring":f()}],"text-shadow":[{"text-shadow":["none",k,le,ce]}],"text-shadow-color":[{"text-shadow":f()}],opacity:[{opacity:[h,u,d]}],"mix-blend":[{"mix-blend":[...Le(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Le()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[h]}],"mask-image-linear-from-pos":[{"mask-linear-from":A()}],"mask-image-linear-to-pos":[{"mask-linear-to":A()}],"mask-image-linear-from-color":[{"mask-linear-from":f()}],"mask-image-linear-to-color":[{"mask-linear-to":f()}],"mask-image-t-from-pos":[{"mask-t-from":A()}],"mask-image-t-to-pos":[{"mask-t-to":A()}],"mask-image-t-from-color":[{"mask-t-from":f()}],"mask-image-t-to-color":[{"mask-t-to":f()}],"mask-image-r-from-pos":[{"mask-r-from":A()}],"mask-image-r-to-pos":[{"mask-r-to":A()}],"mask-image-r-from-color":[{"mask-r-from":f()}],"mask-image-r-to-color":[{"mask-r-to":f()}],"mask-image-b-from-pos":[{"mask-b-from":A()}],"mask-image-b-to-pos":[{"mask-b-to":A()}],"mask-image-b-from-color":[{"mask-b-from":f()}],"mask-image-b-to-color":[{"mask-b-to":f()}],"mask-image-l-from-pos":[{"mask-l-from":A()}],"mask-image-l-to-pos":[{"mask-l-to":A()}],"mask-image-l-from-color":[{"mask-l-from":f()}],"mask-image-l-to-color":[{"mask-l-to":f()}],"mask-image-x-from-pos":[{"mask-x-from":A()}],"mask-image-x-to-pos":[{"mask-x-to":A()}],"mask-image-x-from-color":[{"mask-x-from":f()}],"mask-image-x-to-color":[{"mask-x-to":f()}],"mask-image-y-from-pos":[{"mask-y-from":A()}],"mask-image-y-to-pos":[{"mask-y-to":A()}],"mask-image-y-from-color":[{"mask-y-from":f()}],"mask-image-y-to-color":[{"mask-y-to":f()}],"mask-image-radial":[{"mask-radial":[u,d]}],"mask-image-radial-from-pos":[{"mask-radial-from":A()}],"mask-image-radial-to-pos":[{"mask-radial-to":A()}],"mask-image-radial-from-color":[{"mask-radial-from":f()}],"mask-image-radial-to-color":[{"mask-radial-to":f()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":M()}],"mask-image-conic-pos":[{"mask-conic":[h]}],"mask-image-conic-from-pos":[{"mask-conic-from":A()}],"mask-image-conic-to-pos":[{"mask-conic-to":A()}],"mask-image-conic-from-color":[{"mask-conic-from":f()}],"mask-image-conic-to-color":[{"mask-conic-to":f()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Me()}],"mask-repeat":[{mask:Oe()}],"mask-size":[{mask:Te()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",u,d]}],filter:[{filter:["","none",u,d]}],blur:[{blur:De()}],brightness:[{brightness:[h,u,d]}],contrast:[{contrast:[h,u,d]}],"drop-shadow":[{"drop-shadow":["","none",x,le,ce]}],"drop-shadow-color":[{"drop-shadow":f()}],grayscale:[{grayscale:["",h,u,d]}],"hue-rotate":[{"hue-rotate":[h,u,d]}],invert:[{invert:["",h,u,d]}],saturate:[{saturate:[h,u,d]}],sepia:[{sepia:["",h,u,d]}],"backdrop-filter":[{"backdrop-filter":["","none",u,d]}],"backdrop-blur":[{"backdrop-blur":De()}],"backdrop-brightness":[{"backdrop-brightness":[h,u,d]}],"backdrop-contrast":[{"backdrop-contrast":[h,u,d]}],"backdrop-grayscale":[{"backdrop-grayscale":["",h,u,d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h,u,d]}],"backdrop-invert":[{"backdrop-invert":["",h,u,d]}],"backdrop-opacity":[{"backdrop-opacity":[h,u,d]}],"backdrop-saturate":[{"backdrop-saturate":[h,u,d]}],"backdrop-sepia":[{"backdrop-sepia":["",h,u,d]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":b()}],"border-spacing-x":[{"border-spacing-x":b()}],"border-spacing-y":[{"border-spacing-y":b()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",u,d]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[h,"initial",u,d]}],ease:[{ease:["linear","initial",C,u,d]}],delay:[{delay:[h,u,d]}],animate:[{animate:["none",N,u,d]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,u,d]}],"perspective-origin":[{"perspective-origin":T()}],rotate:[{rotate:ne()}],"rotate-x":[{"rotate-x":ne()}],"rotate-y":[{"rotate-y":ne()}],"rotate-z":[{"rotate-z":ne()}],scale:[{scale:se()}],"scale-x":[{"scale-x":se()}],"scale-y":[{"scale-y":se()}],"scale-z":[{"scale-z":se()}],"scale-3d":["scale-3d"],skew:[{skew:ke()}],"skew-x":[{"skew-x":ke()}],"skew-y":[{"skew-y":ke()}],transform:[{transform:[u,d,"","none","gpu","cpu"]}],"transform-origin":[{origin:T()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ae()}],"translate-x":[{"translate-x":ae()}],"translate-y":[{"translate-y":ae()}],"translate-z":[{"translate-z":ae()}],"translate-none":["translate-none"],accent:[{accent:f()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:f()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",u,d]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-p":[{"scroll-p":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",u,d]}],fill:[{fill:["none",...f()]}],"stroke-w":[{stroke:[h,J,U,ye]}],stroke:[{stroke:["none",...f()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},ir=Bo(ar);function ve(...e){return ir(xo(e))}const te="default",cr=de({themeName:te,themeBase:te,portalContainer:null});function lr(e){const t=String(e??te).trim();return t.length>0?t:te}function dr(e){return lr(e).toLowerCase().replace(/[^a-z0-9_-]+/g,"-").replace(/^-+|-+$/g,"")||te}function ur(){return Se(cr).themeName}const vt=_(({checked:e,className:t,...o},r)=>{const n=ur(),s=dr(n),a=e==="indeterminate"?"tdg-checkbox--indeterminate inovua-react-toolkit-checkbox--indeterminate":e?"tdg-checkbox--checked inovua-react-toolkit-checkbox--checked":"";return P(Pe,{ref:r,checked:e,"data-theme":n,className:ve("tdg-checkbox inovua-react-toolkit-checkbox grid h-4 w-4 shrink-0 place-content-center rounded-sm border shadow-none focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [background:var(--tdg-checkbox-bg)] [border-color:var(--tdg-checkbox-border-color)] [color:var(--tdg-checkbox-color)] data-[state=checked]:bg-[var(--tdg-checkbox-checked-bg)] data-[state=checked]:text-[var(--tdg-checkbox-checked-color)] data-[state=checked]:[border-color:var(--tdg-checkbox-checked-border-color)] data-[state=indeterminate]:bg-[var(--tdg-checkbox-indeterminate-bg)] data-[state=indeterminate]:text-[var(--tdg-checkbox-indeterminate-color)] data-[state=indeterminate]:[border-color:var(--tdg-checkbox-indeterminate-border-color)]",`tdg-checkbox--theme-${s}`,`inovua-react-toolkit-checkbox--theme-${s}`,a,t),...o},P(nt,{className:"tdg-checkbox__icon-wrapper inovua-react-toolkit-checkbox__icon-wrapper grid place-content-center text-current"},e==="indeterminate"?P("svg",{className:"tdg-checkbox__indeterminate-icon h-4 w-4",viewBox:"0 0 16 16","aria-hidden":"true"},P("rect",{width:"10",height:"2",x:"3",y:"7",rx:"1",fill:"currentColor"})):P(ko,{className:"tdg-checkbox__check-icon h-4 w-4"})))});vt.displayName=Pe.displayName;function mr({value:e=null,onChange:t,onComplete:o,onCancel:r,onTabNavigation:n,onKeyDown:s,autoFocus:a,disabled:c,readOnly:i,rtl:l,className:m,style:p,editorProps:k}){const x=I(null),y=I(e);return W(()=>{y.current=e},[e]),W(()=>{a&&x.current?.focus()},[a]),P("div",{className:ve("flex h-full min-h-8 w-full items-center justify-center",m),style:p,dir:l?"rtl":"ltr","data-slot":"bool-editor"},P(vt,{...k,ref:x,checked:e===!0,disabled:c||i,"aria-label":k?.["aria-label"]??"Boolean value",className:ve(k?.className),style:k?.style,onBlur:g=>{k?.onBlur?.(g),o?.(y.current,g)},onCheckedChange:g=>{const v=g===!0;y.current=v,t?.(v)},onKeyDown:g=>{k?.onKeyDown?.(g),s?.(g),!g.defaultPrevented&&(g.key==="Escape"?(g.preventDefault(),r?.(g)):g.key==="Enter"?(g.preventDefault(),o?.(y.current,g)):g.key==="Tab"&&(g.preventDefault(),n?.(!0,g.shiftKey?-1:1,g)))}}))}module.exports=mr;
2
+ "use strict";const Ct=require("react"),St=require("react-dom");function He(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,r.get?r:{enumerable:!0,get:()=>e[o]})}}return t.default=e,Object.freeze(t)}const qe=He(Ct),Ke=He(St),At=qe,x=At.default??qe,H=x.Children,Nt=x.Component,Ce=x.Fragment,Rt=x.PureComponent,fe=x.cloneElement,de=x.createContext,E=x.createElement,Et=x.createRef,_=x.forwardRef,Q=x.isValidElement,It=x.lazy,Pt=x.memo,pe=x.useCallback,Se=x.useContext,zt=x.useDebugValue,_t=x.useDeferredValue,W=x.useEffect,Mt=x.useId,Ot=x.useImperativeHandle,Tt=x.useInsertionEffect,Xe=x.useLayoutEffect,ee=x.useMemo,Ye=x.useReducer,P=x.useRef,X=x.useState,Lt=x.use,Dt=x.version,jt=Object.freeze(Object.defineProperty({__proto__:null,Children:H,Component:Nt,Fragment:Ce,PureComponent:Rt,cloneElement:fe,createContext:de,createElement:E,createRef:Et,default:x,forwardRef:_,isValidElement:Q,lazy:It,memo:Pt,use:Lt,useCallback:pe,useContext:Se,useDebugValue:zt,useDeferredValue:_t,useEffect:W,useId:Mt,useImperativeHandle:Ot,useInsertionEffect:Tt,useLayoutEffect:Xe,useMemo:ee,useReducer:Ye,useRef:P,useState:X,version:Dt},Symbol.toStringTag,{value:"Module"}));function je(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Ze(...e){return t=>{let o=!1;const r=e.map(n=>{const s=je(n,t);return!o&&typeof s=="function"&&(o=!0),s});if(o)return()=>{for(let n=0;n<r.length;n++){const s=r[n];typeof s=="function"?s():je(e[n],null)}}}}function Ae(...e){return pe(Ze(...e),e)}function Je(e,t){return e}const $t=Ce;function z(e,t,o){return E(e,Je(t))}function Bt(e,t,o){const r=Je(t);if(!r||!Array.isArray(r.children))return E(e,r);const{children:n,...s}=r;return E(e,s,...n)}function Gt(e,t=[]){let o=[];function r(s,a){const c=de(a),i=o.length;o=[...o,a];const l=p=>{const{scope:y,children:k,...v}=p,w=y?.[e]?.[i]||c,b=ee(()=>v,Object.values(v));return z(w.Provider,{value:b,children:k})};l.displayName=s+"Provider";function m(p,y){const k=y?.[e]?.[i]||c,v=Se(k);if(v)return v;if(a!==void 0)return a;throw new Error(`\`${p}\` must be used within \`${s}\``)}return[l,m]}const n=()=>{const s=o.map(a=>de(a));return function(c){const i=c?.[e]||s;return ee(()=>({[`__scope${e}`]:{...c,[e]:i}}),[c,i])}};return n.scopeName=e,[r,Wt(n,...t)]}function Wt(...e){const t=e[0];if(e.length===1)return t;const o=()=>{const r=e.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(s){const a=r.reduce((c,{useScope:i,scopeName:l})=>{const p=i(s)[`__scope${l}`];return{...c,...p}},{});return ee(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return o.scopeName=t.scopeName,o}function $e(e,t,{checkForDefaultPrevented:o=!0}={}){return function(n){if(e?.(n),o===!1||!n.defaultPrevented)return t?.(n)}}var ue=globalThis?.document?Xe:()=>{},Ft=jt[" useInsertionEffect ".trim().toString()]||ue;function Vt({prop:e,defaultProp:t,onChange:o=()=>{},caller:r}){const[n,s,a]=Ut({defaultProp:t,onChange:o}),c=e!==void 0,i=c?e:n;{const m=P(e!==void 0);W(()=>{const p=m.current;p!==c&&console.warn(`${r} is changing from ${p?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),m.current=c},[c,r])}const l=pe(m=>{if(c){const p=Ht(m)?m(e):m;p!==e&&a.current?.(p)}else s(m)},[c,e,s,a]);return[i,l]}function Ut({defaultProp:e,onChange:t}){const[o,r]=X(e),n=P(o),s=P(t);return Ft(()=>{s.current=t},[t]),W(()=>{n.current!==o&&(s.current?.(o),n.current=o)},[o,n]),[o,r,s]}function Ht(e){return typeof e=="function"}function qt(e){const t=P({value:e,previous:e});return ee(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function Kt(e){const[t,o]=X(void 0);return ue(()=>{if(e){o({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(n=>{if(!Array.isArray(n)||!n.length)return;const s=n[0];let a,c;if("borderBoxSize"in s){const i=s.borderBoxSize,l=Array.isArray(i)?i[0]:i;a=l.inlineSize,c=l.blockSize}else a=e.offsetWidth,c=e.offsetHeight;o({width:a,height:c})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else o(void 0)},[e]),t}function Xt(e,t){return Ye((o,r)=>t[o][r]??o,e)}var Qe=e=>{const{present:t,children:o}=e,r=Yt(t),n=typeof o=="function"?o({present:r.isPresent}):H.only(o),s=Ae(r.ref,Zt(n));return typeof o=="function"||r.isPresent?fe(n,{ref:s}):null};Qe.displayName="Presence";function Yt(e){const[t,o]=X(),r=P(null),n=P(e),s=P("none"),a=e?"mounted":"unmounted",[c,i]=Xt(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return W(()=>{const l=ie(r.current);s.current=c==="mounted"?l:"none"},[c]),ue(()=>{const l=r.current,m=n.current;if(m!==e){const y=s.current,k=ie(l);e?i("MOUNT"):k==="none"||l?.display==="none"?i("UNMOUNT"):i(m&&y!==k?"ANIMATION_OUT":"UNMOUNT"),n.current=e}},[e,i]),ue(()=>{if(t){let l;const m=t.ownerDocument.defaultView??window,p=k=>{const w=ie(r.current).includes(CSS.escape(k.animationName));if(k.target===t&&w&&(i("ANIMATION_END"),!n.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",l=m.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},y=k=>{k.target===t&&(s.current=ie(r.current))};return t.addEventListener("animationstart",y),t.addEventListener("animationcancel",p),t.addEventListener("animationend",p),()=>{m.clearTimeout(l),t.removeEventListener("animationstart",y),t.removeEventListener("animationcancel",p),t.removeEventListener("animationend",p)}}else i("ANIMATION_END")},[t,i]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:pe(l=>{r.current=l?getComputedStyle(l):null,o(l)},[])}}function ie(e){return e?.animationName||"none"}function Zt(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}const Jt=Ke,et=Jt.default??Ke;et.createPortal;et.flushSync;function Qt(e){const t=eo(e),o=_((r,n)=>{const{children:s,...a}=r,c=H.toArray(s),i=c.find(oo);if(i){const l=i.props.children,m=c.map(p=>p===i?H.count(l)>1?H.only(null):Q(l)?l.props.children:null:p);return z(t,{...a,ref:n,children:Q(l)?fe(l,void 0,m):null})}return z(t,{...a,ref:n,children:s})});return o.displayName=`${e}.Slot`,o}function eo(e){const t=_((o,r)=>{const{children:n,...s}=o;if(Q(n)){const a=no(n),c=ro(s,n.props);return n.type!==Ce&&(c.ref=r?Ze(r,a):a),fe(n,c)}return H.count(n)>1?H.only(null):null});return t.displayName=`${e}.SlotClone`,t}var to=Symbol("radix.slottable");function oo(e){return Q(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===to}function ro(e,t){const o={...t};for(const r in t){const n=e[r],s=t[r];/^on[A-Z]/.test(r)?n&&s?o[r]=(...c)=>{const i=s(...c);return n(...c),i}:n&&(o[r]=n):r==="style"?o[r]={...n,...s}:r==="className"&&(o[r]=[n,s].filter(Boolean).join(" "))}return{...e,...o}}function no(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}var so=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ne=so.reduce((e,t)=>{const o=Qt(`Primitive.${t}`),r=_((n,s)=>{const{asChild:a,...c}=n,i=a?o:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),z(i,{...c,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),be="Checkbox",[ao]=Gt(be),[io,Re]=ao(be);function co(e){const{__scopeCheckbox:t,checked:o,children:r,defaultChecked:n,disabled:s,form:a,name:c,onCheckedChange:i,required:l,value:m="on",internal_do_not_use_render:p}=e,[y,k]=Vt({prop:o,defaultProp:n??!1,onChange:i,caller:be}),[v,w]=X(null),[b,C]=X(null),N=P(!1),O=v?!!a||!!v.closest("form"):!0,M={checked:y,disabled:s,setChecked:k,control:v,setControl:w,name:c,form:a,value:m,hasConsumerStoppedPropagationRef:N,required:l,defaultChecked:G(n)?!1:n,isFormControl:O,bubbleInput:b,setBubbleInput:C};return z(io,{scope:t,...M,children:lo(p)?p(M):r})}var tt="CheckboxTrigger",ot=_(({__scopeCheckbox:e,onKeyDown:t,onClick:o,...r},n)=>{const{control:s,value:a,disabled:c,checked:i,required:l,setControl:m,setChecked:p,hasConsumerStoppedPropagationRef:y,isFormControl:k,bubbleInput:v}=Re(tt,e),w=Ae(n,m),b=P(i);return W(()=>{const C=s?.form;if(C){const N=()=>p(b.current);return C.addEventListener("reset",N),()=>C.removeEventListener("reset",N)}},[s,p]),z(Ne.button,{type:"button",role:"checkbox","aria-checked":G(i)?"mixed":i,"aria-required":l,"data-state":it(i),"data-disabled":c?"":void 0,disabled:c,value:a,...r,ref:w,onKeyDown:$e(t,C=>{C.key==="Enter"&&C.preventDefault()}),onClick:$e(o,C=>{p(N=>G(N)?!0:!N),v&&k&&(y.current=C.isPropagationStopped(),y.current||C.stopPropagation())})})});ot.displayName=tt;var Ee=_((e,t)=>{const{__scopeCheckbox:o,name:r,checked:n,defaultChecked:s,required:a,disabled:c,value:i,onCheckedChange:l,form:m,...p}=e;return z(co,{__scopeCheckbox:o,checked:n,defaultChecked:s,disabled:c,required:a,onCheckedChange:l,name:r,form:m,value:i,internal_do_not_use_render:({isFormControl:y})=>Bt($t,{children:[z(ot,{...p,ref:t,__scopeCheckbox:o}),y&&z(at,{__scopeCheckbox:o})]})})});Ee.displayName=be;var rt="CheckboxIndicator",nt=_((e,t)=>{const{__scopeCheckbox:o,forceMount:r,...n}=e,s=Re(rt,o);return z(Qe,{present:r||G(s.checked)||s.checked===!0,children:z(Ne.span,{"data-state":it(s.checked),"data-disabled":s.disabled?"":void 0,...n,ref:t,style:{pointerEvents:"none",...e.style}})})});nt.displayName=rt;var st="CheckboxBubbleInput",at=_(({__scopeCheckbox:e,...t},o)=>{const{control:r,hasConsumerStoppedPropagationRef:n,checked:s,defaultChecked:a,required:c,disabled:i,name:l,value:m,form:p,bubbleInput:y,setBubbleInput:k}=Re(st,e),v=Ae(o,k),w=qt(s),b=Kt(r);W(()=>{const N=y;if(!N)return;const O=window.HTMLInputElement.prototype,T=Object.getOwnPropertyDescriptor(O,"checked").set,L=!n.current;if(w!==s&&T){const F=new Event("click",{bubbles:L});N.indeterminate=G(s),T.call(N,G(s)?!1:s),N.dispatchEvent(F)}},[y,w,s,n]);const C=P(G(s)?!1:s);return z(Ne.input,{type:"checkbox","aria-hidden":!0,defaultChecked:a??C.current,required:c,disabled:i,name:l,value:m,form:p,...t,tabIndex:-1,ref:v,style:{...t.style,...b,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});at.displayName=st;function lo(e){return typeof e=="function"}function G(e){return e==="indeterminate"}function it(e){return G(e)?"indeterminate":e?"checked":"unchecked"}const uo=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),mo=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,o,r)=>r?r.toUpperCase():o.toLowerCase()),Be=e=>{const t=mo(e);return t.charAt(0).toUpperCase()+t.slice(1)},ct=(...e)=>e.filter((t,o,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===o).join(" ").trim(),fo=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};var po={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const bo=_(({color:e="currentColor",size:t=24,strokeWidth:o=2,absoluteStrokeWidth:r,className:n="",children:s,iconNode:a,...c},i)=>E("svg",{ref:i,...po,width:t,height:t,stroke:e,strokeWidth:r?Number(o)*24/Number(t):o,className:ct("lucide",n),...!s&&!fo(c)&&{"aria-hidden":"true"},...c},[...a.map(([l,m])=>E(l,m)),...Array.isArray(s)?s:[s]]));const go=(e,t)=>{const o=_(({className:r,...n},s)=>E(bo,{ref:s,iconNode:t,className:ct(`lucide-${uo(Be(e))}`,`lucide-${e}`,r),...n}));return o.displayName=Be(e),o};const ho=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],ko=go("check",ho);function lt(e){var t,o,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=lt(e[t]))&&(r&&(r+=" "),r+=o)}else for(o in e)e[o]&&(r&&(r+=" "),r+=o);return r}function yo(){for(var e,t,o=0,r="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=lt(e))&&(r&&(r+=" "),r+=t);return r}const xo=(e,t)=>{const o=new Array(e.length+t.length);for(let r=0;r<e.length;r++)o[r]=e[r];for(let r=0;r<t.length;r++)o[e.length+r]=t[r];return o},wo=(e,t)=>({classGroupId:e,validator:t}),dt=(e=new Map,t=null,o)=>({nextPart:e,validators:t,classGroupId:o}),me="-",Ge=[],vo="arbitrary..",Co=e=>{const t=Ao(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{if(a.startsWith("[")&&a.endsWith("]"))return So(a);const c=a.split(me),i=c[0]===""&&c.length>1?1:0;return ut(c,i,t)},getConflictingClassGroupIds:(a,c)=>{if(c){const i=r[a],l=o[a];return i?l?xo(l,i):i:l||Ge}return o[a]||Ge}}},ut=(e,t,o)=>{if(e.length-t===0)return o.classGroupId;const n=e[t],s=o.nextPart.get(n);if(s){const l=ut(e,t+1,s);if(l)return l}const a=o.validators;if(a===null)return;const c=t===0?e.join(me):e.slice(t).join(me),i=a.length;for(let l=0;l<i;l++){const m=a[l];if(m.validator(c))return m.classGroupId}},So=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),o=t.indexOf(":"),r=t.slice(0,o);return r?vo+r:void 0})(),Ao=e=>{const{theme:t,classGroups:o}=e;return No(o,t)},No=(e,t)=>{const o=dt();for(const r in e){const n=e[r];Ie(n,o,r,t)}return o},Ie=(e,t,o,r)=>{const n=e.length;for(let s=0;s<n;s++){const a=e[s];Ro(a,t,o,r)}},Ro=(e,t,o,r)=>{if(typeof e=="string"){Eo(e,t,o);return}if(typeof e=="function"){Io(e,t,o,r);return}Po(e,t,o,r)},Eo=(e,t,o)=>{const r=e===""?t:mt(t,e);r.classGroupId=o},Io=(e,t,o,r)=>{if(zo(e)){Ie(e(r),t,o,r);return}t.validators===null&&(t.validators=[]),t.validators.push(wo(o,e))},Po=(e,t,o,r)=>{const n=Object.entries(e),s=n.length;for(let a=0;a<s;a++){const[c,i]=n[a];Ie(i,mt(t,c),o,r)}},mt=(e,t)=>{let o=e;const r=t.split(me),n=r.length;for(let s=0;s<n;s++){const a=r[s];let c=o.nextPart.get(a);c||(c=dt(),o.nextPart.set(a,c)),o=c}return o},zo=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,_o=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=Object.create(null),r=Object.create(null);const n=(s,a)=>{o[s]=a,t++,t>e&&(t=0,r=o,o=Object.create(null))};return{get(s){let a=o[s];if(a!==void 0)return a;if((a=r[s])!==void 0)return n(s,a),a},set(s,a){s in o?o[s]=a:n(s,a)}}},we="!",We=":",Mo=[],Fe=(e,t,o,r,n)=>({modifiers:e,hasImportantModifier:t,baseClassName:o,maybePostfixModifierPosition:r,isExternal:n}),Oo=e=>{const{prefix:t,experimentalParseClassName:o}=e;let r=n=>{const s=[];let a=0,c=0,i=0,l;const m=n.length;for(let w=0;w<m;w++){const b=n[w];if(a===0&&c===0){if(b===We){s.push(n.slice(i,w)),i=w+1;continue}if(b==="/"){l=w;continue}}b==="["?a++:b==="]"?a--:b==="("?c++:b===")"&&c--}const p=s.length===0?n:n.slice(i);let y=p,k=!1;p.endsWith(we)?(y=p.slice(0,-1),k=!0):p.startsWith(we)&&(y=p.slice(1),k=!0);const v=l&&l>i?l-i:void 0;return Fe(s,k,y,v)};if(t){const n=t+We,s=r;r=a=>a.startsWith(n)?s(a.slice(n.length)):Fe(Mo,!1,a,void 0,!0)}if(o){const n=r;r=s=>o({className:s,parseClassName:n})}return r},To=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((o,r)=>{t.set(o,1e6+r)}),o=>{const r=[];let n=[];for(let s=0;s<o.length;s++){const a=o[s],c=a[0]==="[",i=t.has(a);c||i?(n.length>0&&(n.sort(),r.push(...n),n=[]),r.push(a)):n.push(a)}return n.length>0&&(n.sort(),r.push(...n)),r}},Lo=e=>({cache:_o(e.cacheSize),parseClassName:Oo(e),sortModifiers:To(e),...Co(e)}),Do=/\s+/,jo=(e,t)=>{const{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:n,sortModifiers:s}=t,a=[],c=e.trim().split(Do);let i="";for(let l=c.length-1;l>=0;l-=1){const m=c[l],{isExternal:p,modifiers:y,hasImportantModifier:k,baseClassName:v,maybePostfixModifierPosition:w}=o(m);if(p){i=m+(i.length>0?" "+i:i);continue}let b=!!w,C=r(b?v.substring(0,w):v);if(!C){if(!b){i=m+(i.length>0?" "+i:i);continue}if(C=r(v),!C){i=m+(i.length>0?" "+i:i);continue}b=!1}const N=y.length===0?"":y.length===1?y[0]:s(y).join(":"),O=k?N+we:N,M=O+C;if(a.indexOf(M)>-1)continue;a.push(M);const T=n(C,b);for(let L=0;L<T.length;++L){const F=T[L];a.push(O+F)}i=m+(i.length>0?" "+i:i)}return i},$o=(...e)=>{let t=0,o,r,n="";for(;t<e.length;)(o=e[t++])&&(r=ft(o))&&(n&&(n+=" "),n+=r);return n},ft=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=ft(e[r]))&&(o&&(o+=" "),o+=t);return o},Bo=(e,...t)=>{let o,r,n,s;const a=i=>{const l=t.reduce((m,p)=>p(m),e());return o=Lo(l),r=o.cache.get,n=o.cache.set,s=c,c(i)},c=i=>{const l=r(i);if(l)return l;const m=jo(i,o);return n(i,m),m};return s=a,(...i)=>s($o(...i))},Go=[],S=e=>{const t=o=>o[e]||Go;return t.isThemeGetter=!0,t},pt=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,bt=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Wo=/^\d+\/\d+$/,Fo=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Vo=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Uo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Ho=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,qo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,K=e=>Wo.test(e),h=e=>!!e&&!Number.isNaN(Number(e)),B=e=>!!e&&Number.isInteger(Number(e)),ye=e=>e.endsWith("%")&&h(e.slice(0,-1)),$=e=>Fo.test(e),Ko=()=>!0,Xo=e=>Vo.test(e)&&!Uo.test(e),gt=()=>!1,Yo=e=>Ho.test(e),Zo=e=>qo.test(e),Jo=e=>!d(e)&&!u(e),Qo=e=>Y(e,yt,gt),d=e=>pt.test(e),U=e=>Y(e,xt,Xo),xe=e=>Y(e,nr,h),Ve=e=>Y(e,ht,gt),er=e=>Y(e,kt,Zo),ce=e=>Y(e,wt,Yo),u=e=>bt.test(e),J=e=>Z(e,xt),tr=e=>Z(e,sr),Ue=e=>Z(e,ht),or=e=>Z(e,yt),rr=e=>Z(e,kt),le=e=>Z(e,wt,!0),Y=(e,t,o)=>{const r=pt.exec(e);return r?r[1]?t(r[1]):o(r[2]):!1},Z=(e,t,o=!1)=>{const r=bt.exec(e);return r?r[1]?t(r[1]):o:!1},ht=e=>e==="position"||e==="percentage",kt=e=>e==="image"||e==="url",yt=e=>e==="length"||e==="size"||e==="bg-size",xt=e=>e==="length",nr=e=>e==="number",sr=e=>e==="family-name",wt=e=>e==="shadow",ar=()=>{const e=S("color"),t=S("font"),o=S("text"),r=S("font-weight"),n=S("tracking"),s=S("leading"),a=S("breakpoint"),c=S("container"),i=S("spacing"),l=S("radius"),m=S("shadow"),p=S("inset-shadow"),y=S("text-shadow"),k=S("drop-shadow"),v=S("blur"),w=S("perspective"),b=S("aspect"),C=S("ease"),N=S("animate"),O=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],T=()=>[...M(),u,d],L=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto","contain","none"],g=()=>[u,d,i],D=()=>[K,"full","auto",...g()],Pe=()=>[B,"none","subgrid",u,d],ze=()=>["auto",{span:["full",B,u,d]},B,u,d],oe=()=>[B,"auto",u,d],_e=()=>["auto","min","max","fr",u,d],ge=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],q=()=>["start","end","center","stretch","center-safe","end-safe"],j=()=>["auto",...g()],V=()=>[K,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...g()],f=()=>[e,u,d],Me=()=>[...M(),Ue,Ve,{position:[u,d]}],Oe=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Te=()=>["auto","cover","contain",or,Qo,{size:[u,d]}],he=()=>[ye,J,U],R=()=>["","none","full",l,u,d],I=()=>["",h,J,U],re=()=>["solid","dashed","dotted","double"],Le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],A=()=>[h,ye,Ue,Ve],De=()=>["","none",v,u,d],ne=()=>["none",h,u,d],se=()=>["none",h,u,d],ke=()=>[h,u,d],ae=()=>[K,"full",...g()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[$],breakpoint:[$],color:[Ko],container:[$],"drop-shadow":[$],ease:["in","out","in-out"],font:[Jo],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[$],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[$],shadow:[$],spacing:["px",h],text:[$],"text-shadow":[$],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",K,d,u,b]}],container:["container"],columns:[{columns:[h,d,u,c]}],"break-after":[{"break-after":O()}],"break-before":[{"break-before":O()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:T()}],overflow:[{overflow:L()}],"overflow-x":[{"overflow-x":L()}],"overflow-y":[{"overflow-y":L()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:D()}],"inset-x":[{"inset-x":D()}],"inset-y":[{"inset-y":D()}],start:[{start:D()}],end:[{end:D()}],top:[{top:D()}],right:[{right:D()}],bottom:[{bottom:D()}],left:[{left:D()}],visibility:["visible","invisible","collapse"],z:[{z:[B,"auto",u,d]}],basis:[{basis:[K,"full","auto",c,...g()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[h,K,"auto","initial","none",d]}],grow:[{grow:["",h,u,d]}],shrink:[{shrink:["",h,u,d]}],order:[{order:[B,"first","last","none",u,d]}],"grid-cols":[{"grid-cols":Pe()}],"col-start-end":[{col:ze()}],"col-start":[{"col-start":oe()}],"col-end":[{"col-end":oe()}],"grid-rows":[{"grid-rows":Pe()}],"row-start-end":[{row:ze()}],"row-start":[{"row-start":oe()}],"row-end":[{"row-end":oe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":_e()}],"auto-rows":[{"auto-rows":_e()}],gap:[{gap:g()}],"gap-x":[{"gap-x":g()}],"gap-y":[{"gap-y":g()}],"justify-content":[{justify:[...ge(),"normal"]}],"justify-items":[{"justify-items":[...q(),"normal"]}],"justify-self":[{"justify-self":["auto",...q()]}],"align-content":[{content:["normal",...ge()]}],"align-items":[{items:[...q(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...q(),{baseline:["","last"]}]}],"place-content":[{"place-content":ge()}],"place-items":[{"place-items":[...q(),"baseline"]}],"place-self":[{"place-self":["auto",...q()]}],p:[{p:g()}],px:[{px:g()}],py:[{py:g()}],ps:[{ps:g()}],pe:[{pe:g()}],pt:[{pt:g()}],pr:[{pr:g()}],pb:[{pb:g()}],pl:[{pl:g()}],m:[{m:j()}],mx:[{mx:j()}],my:[{my:j()}],ms:[{ms:j()}],me:[{me:j()}],mt:[{mt:j()}],mr:[{mr:j()}],mb:[{mb:j()}],ml:[{ml:j()}],"space-x":[{"space-x":g()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":g()}],"space-y-reverse":["space-y-reverse"],size:[{size:V()}],w:[{w:[c,"screen",...V()]}],"min-w":[{"min-w":[c,"screen","none",...V()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[a]},...V()]}],h:[{h:["screen","lh",...V()]}],"min-h":[{"min-h":["screen","lh","none",...V()]}],"max-h":[{"max-h":["screen","lh",...V()]}],"font-size":[{text:["base",o,J,U]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,u,xe]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ye,d]}],"font-family":[{font:[tr,d,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,u,d]}],"line-clamp":[{"line-clamp":[h,"none",u,xe]}],leading:[{leading:[s,...g()]}],"list-image":[{"list-image":["none",u,d]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",u,d]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:f()}],"text-color":[{text:f()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...re(),"wavy"]}],"text-decoration-thickness":[{decoration:[h,"from-font","auto",u,U]}],"text-decoration-color":[{decoration:f()}],"underline-offset":[{"underline-offset":[h,"auto",u,d]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:g()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",u,d]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",u,d]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Me()}],"bg-repeat":[{bg:Oe()}],"bg-size":[{bg:Te()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},B,u,d],radial:["",u,d],conic:[B,u,d]},rr,er]}],"bg-color":[{bg:f()}],"gradient-from-pos":[{from:he()}],"gradient-via-pos":[{via:he()}],"gradient-to-pos":[{to:he()}],"gradient-from":[{from:f()}],"gradient-via":[{via:f()}],"gradient-to":[{to:f()}],rounded:[{rounded:R()}],"rounded-s":[{"rounded-s":R()}],"rounded-e":[{"rounded-e":R()}],"rounded-t":[{"rounded-t":R()}],"rounded-r":[{"rounded-r":R()}],"rounded-b":[{"rounded-b":R()}],"rounded-l":[{"rounded-l":R()}],"rounded-ss":[{"rounded-ss":R()}],"rounded-se":[{"rounded-se":R()}],"rounded-ee":[{"rounded-ee":R()}],"rounded-es":[{"rounded-es":R()}],"rounded-tl":[{"rounded-tl":R()}],"rounded-tr":[{"rounded-tr":R()}],"rounded-br":[{"rounded-br":R()}],"rounded-bl":[{"rounded-bl":R()}],"border-w":[{border:I()}],"border-w-x":[{"border-x":I()}],"border-w-y":[{"border-y":I()}],"border-w-s":[{"border-s":I()}],"border-w-e":[{"border-e":I()}],"border-w-t":[{"border-t":I()}],"border-w-r":[{"border-r":I()}],"border-w-b":[{"border-b":I()}],"border-w-l":[{"border-l":I()}],"divide-x":[{"divide-x":I()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":I()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...re(),"hidden","none"]}],"divide-style":[{divide:[...re(),"hidden","none"]}],"border-color":[{border:f()}],"border-color-x":[{"border-x":f()}],"border-color-y":[{"border-y":f()}],"border-color-s":[{"border-s":f()}],"border-color-e":[{"border-e":f()}],"border-color-t":[{"border-t":f()}],"border-color-r":[{"border-r":f()}],"border-color-b":[{"border-b":f()}],"border-color-l":[{"border-l":f()}],"divide-color":[{divide:f()}],"outline-style":[{outline:[...re(),"none","hidden"]}],"outline-offset":[{"outline-offset":[h,u,d]}],"outline-w":[{outline:["",h,J,U]}],"outline-color":[{outline:f()}],shadow:[{shadow:["","none",m,le,ce]}],"shadow-color":[{shadow:f()}],"inset-shadow":[{"inset-shadow":["none",p,le,ce]}],"inset-shadow-color":[{"inset-shadow":f()}],"ring-w":[{ring:I()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:f()}],"ring-offset-w":[{"ring-offset":[h,U]}],"ring-offset-color":[{"ring-offset":f()}],"inset-ring-w":[{"inset-ring":I()}],"inset-ring-color":[{"inset-ring":f()}],"text-shadow":[{"text-shadow":["none",y,le,ce]}],"text-shadow-color":[{"text-shadow":f()}],opacity:[{opacity:[h,u,d]}],"mix-blend":[{"mix-blend":[...Le(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Le()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[h]}],"mask-image-linear-from-pos":[{"mask-linear-from":A()}],"mask-image-linear-to-pos":[{"mask-linear-to":A()}],"mask-image-linear-from-color":[{"mask-linear-from":f()}],"mask-image-linear-to-color":[{"mask-linear-to":f()}],"mask-image-t-from-pos":[{"mask-t-from":A()}],"mask-image-t-to-pos":[{"mask-t-to":A()}],"mask-image-t-from-color":[{"mask-t-from":f()}],"mask-image-t-to-color":[{"mask-t-to":f()}],"mask-image-r-from-pos":[{"mask-r-from":A()}],"mask-image-r-to-pos":[{"mask-r-to":A()}],"mask-image-r-from-color":[{"mask-r-from":f()}],"mask-image-r-to-color":[{"mask-r-to":f()}],"mask-image-b-from-pos":[{"mask-b-from":A()}],"mask-image-b-to-pos":[{"mask-b-to":A()}],"mask-image-b-from-color":[{"mask-b-from":f()}],"mask-image-b-to-color":[{"mask-b-to":f()}],"mask-image-l-from-pos":[{"mask-l-from":A()}],"mask-image-l-to-pos":[{"mask-l-to":A()}],"mask-image-l-from-color":[{"mask-l-from":f()}],"mask-image-l-to-color":[{"mask-l-to":f()}],"mask-image-x-from-pos":[{"mask-x-from":A()}],"mask-image-x-to-pos":[{"mask-x-to":A()}],"mask-image-x-from-color":[{"mask-x-from":f()}],"mask-image-x-to-color":[{"mask-x-to":f()}],"mask-image-y-from-pos":[{"mask-y-from":A()}],"mask-image-y-to-pos":[{"mask-y-to":A()}],"mask-image-y-from-color":[{"mask-y-from":f()}],"mask-image-y-to-color":[{"mask-y-to":f()}],"mask-image-radial":[{"mask-radial":[u,d]}],"mask-image-radial-from-pos":[{"mask-radial-from":A()}],"mask-image-radial-to-pos":[{"mask-radial-to":A()}],"mask-image-radial-from-color":[{"mask-radial-from":f()}],"mask-image-radial-to-color":[{"mask-radial-to":f()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":M()}],"mask-image-conic-pos":[{"mask-conic":[h]}],"mask-image-conic-from-pos":[{"mask-conic-from":A()}],"mask-image-conic-to-pos":[{"mask-conic-to":A()}],"mask-image-conic-from-color":[{"mask-conic-from":f()}],"mask-image-conic-to-color":[{"mask-conic-to":f()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Me()}],"mask-repeat":[{mask:Oe()}],"mask-size":[{mask:Te()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",u,d]}],filter:[{filter:["","none",u,d]}],blur:[{blur:De()}],brightness:[{brightness:[h,u,d]}],contrast:[{contrast:[h,u,d]}],"drop-shadow":[{"drop-shadow":["","none",k,le,ce]}],"drop-shadow-color":[{"drop-shadow":f()}],grayscale:[{grayscale:["",h,u,d]}],"hue-rotate":[{"hue-rotate":[h,u,d]}],invert:[{invert:["",h,u,d]}],saturate:[{saturate:[h,u,d]}],sepia:[{sepia:["",h,u,d]}],"backdrop-filter":[{"backdrop-filter":["","none",u,d]}],"backdrop-blur":[{"backdrop-blur":De()}],"backdrop-brightness":[{"backdrop-brightness":[h,u,d]}],"backdrop-contrast":[{"backdrop-contrast":[h,u,d]}],"backdrop-grayscale":[{"backdrop-grayscale":["",h,u,d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h,u,d]}],"backdrop-invert":[{"backdrop-invert":["",h,u,d]}],"backdrop-opacity":[{"backdrop-opacity":[h,u,d]}],"backdrop-saturate":[{"backdrop-saturate":[h,u,d]}],"backdrop-sepia":[{"backdrop-sepia":["",h,u,d]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":g()}],"border-spacing-x":[{"border-spacing-x":g()}],"border-spacing-y":[{"border-spacing-y":g()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",u,d]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[h,"initial",u,d]}],ease:[{ease:["linear","initial",C,u,d]}],delay:[{delay:[h,u,d]}],animate:[{animate:["none",N,u,d]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[w,u,d]}],"perspective-origin":[{"perspective-origin":T()}],rotate:[{rotate:ne()}],"rotate-x":[{"rotate-x":ne()}],"rotate-y":[{"rotate-y":ne()}],"rotate-z":[{"rotate-z":ne()}],scale:[{scale:se()}],"scale-x":[{"scale-x":se()}],"scale-y":[{"scale-y":se()}],"scale-z":[{"scale-z":se()}],"scale-3d":["scale-3d"],skew:[{skew:ke()}],"skew-x":[{"skew-x":ke()}],"skew-y":[{"skew-y":ke()}],transform:[{transform:[u,d,"","none","gpu","cpu"]}],"transform-origin":[{origin:T()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ae()}],"translate-x":[{"translate-x":ae()}],"translate-y":[{"translate-y":ae()}],"translate-z":[{"translate-z":ae()}],"translate-none":["translate-none"],accent:[{accent:f()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:f()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",u,d]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":g()}],"scroll-mx":[{"scroll-mx":g()}],"scroll-my":[{"scroll-my":g()}],"scroll-ms":[{"scroll-ms":g()}],"scroll-me":[{"scroll-me":g()}],"scroll-mt":[{"scroll-mt":g()}],"scroll-mr":[{"scroll-mr":g()}],"scroll-mb":[{"scroll-mb":g()}],"scroll-ml":[{"scroll-ml":g()}],"scroll-p":[{"scroll-p":g()}],"scroll-px":[{"scroll-px":g()}],"scroll-py":[{"scroll-py":g()}],"scroll-ps":[{"scroll-ps":g()}],"scroll-pe":[{"scroll-pe":g()}],"scroll-pt":[{"scroll-pt":g()}],"scroll-pr":[{"scroll-pr":g()}],"scroll-pb":[{"scroll-pb":g()}],"scroll-pl":[{"scroll-pl":g()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",u,d]}],fill:[{fill:["none",...f()]}],"stroke-w":[{stroke:[h,J,U,xe]}],stroke:[{stroke:["none",...f()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},ir=Bo(ar);function ve(...e){return ir(yo(e))}const te="default",cr=de({themeName:te,themeBase:te,portalContainer:null});function lr(e){const t=String(e??te).trim();return t.length>0?t:te}function dr(e){return lr(e).toLowerCase().replace(/[^a-z0-9_-]+/g,"-").replace(/^-+|-+$/g,"")||te}function ur(){return Se(cr).themeName}const vt=_(({checked:e,className:t,...o},r)=>{const n=ur(),s=dr(n),a=e==="indeterminate"?"tdg-checkbox--indeterminate inovua-react-toolkit-checkbox--indeterminate":e?"tdg-checkbox--checked inovua-react-toolkit-checkbox--checked":"";return E(Ee,{ref:r,checked:e,"data-theme":n,className:ve("tdg-checkbox inovua-react-toolkit-checkbox grid h-4 w-4 shrink-0 place-content-center rounded-sm border shadow-none focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [background:var(--tdg-checkbox-bg)] [border-color:var(--tdg-checkbox-border-color)] [color:var(--tdg-checkbox-color)] data-[state=checked]:bg-[var(--tdg-checkbox-checked-bg)] data-[state=checked]:text-[var(--tdg-checkbox-checked-color)] data-[state=checked]:[border-color:var(--tdg-checkbox-checked-border-color)] data-[state=indeterminate]:bg-[var(--tdg-checkbox-indeterminate-bg)] data-[state=indeterminate]:text-[var(--tdg-checkbox-indeterminate-color)] data-[state=indeterminate]:[border-color:var(--tdg-checkbox-indeterminate-border-color)]",`tdg-checkbox--theme-${s}`,`inovua-react-toolkit-checkbox--theme-${s}`,a,t),...o},E(nt,{className:"tdg-checkbox__icon-wrapper inovua-react-toolkit-checkbox__icon-wrapper grid place-content-center text-current"},e==="indeterminate"?E("svg",{className:"tdg-checkbox__indeterminate-icon h-4 w-4",viewBox:"0 0 16 16","aria-hidden":"true"},E("rect",{width:"10",height:"2",x:"3",y:"7",rx:"1",fill:"currentColor"})):E(ko,{className:"tdg-checkbox__check-icon h-4 w-4"})))});vt.displayName=Ee.displayName;const mr="InovuaReactDataGrid__cell__editor",fr="tdg-cell-editor-shell";function pr(e){return e?mr:fr}function br(e,t=[]){if(!e)return{};const o={};for(const[r,n]of Object.entries(e))r==="seamless"||t.includes(r)||(o[r]=n);return o}function gr({value:e=null,onChange:t,onComplete:o,onCancel:r,onTabNavigation:n,onKeyDown:s,autoFocus:a,disabled:c,readOnly:i,rtl:l,seamless:m,className:p,style:y,editorProps:k}){const v=P(null),w=P(e);return W(()=>{w.current=e},[e]),W(()=>{a&&v.current?.focus()},[a]),E("div",{className:ve("flex h-full min-h-8 w-full items-center justify-center",pr(m),p),style:y,dir:l?"rtl":"ltr","data-slot":"bool-editor"},E(vt,{...br(k,["emptyValue"]),ref:v,checked:e===!0,disabled:c||i,"aria-label":k?.["aria-label"]??"Boolean value",className:ve(k?.className),style:k?.style,onBlur:b=>{k?.onBlur?.(b),o?.(w.current,b)},onCheckedChange:b=>{const C=b===!0;w.current=C,t?.(C)},onKeyDown:b=>{k?.onKeyDown?.(b),s?.(b),!b.defaultPrevented&&(b.key==="Escape"?(b.preventDefault(),r?.(b)):b.key==="Enter"?(b.preventDefault(),o?.(w.current,b)):b.key==="Tab"&&(b.preventDefault(),n?.(!0,b.shiftKey?-1:1,b)))}}))}module.exports=gr;