@ldkj/web-ui 0.19.0 → 0.20.0
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/components/form/input/index.d.ts +0 -1
- package/components/form/input/input.d.ts +38 -7
- package/components/form/input-number/InputNumber.d.ts +35 -4
- package/components/interact/progress/Progress.d.ts +2 -1
- package/index.cjs +16 -16
- package/index.js +4367 -4207
- package/package.json +1 -1
- package/style.css +1 -1
- package/components/form/input/useInputValue.d.ts +0 -27
package/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),je=require("react"),_c=require("react-dom");function Ic(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const u=Ic(je),Yr=Ic(_c);function Oc(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Oc(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Mc(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Oc(e))&&(n&&(n+=" "),n+=t);return n}const ka=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Ea=Mc,Lc=(e,t)=>r=>{var n;if(t?.variants==null)return Ea(e,r?.class,r?.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(d=>{const f=r?.[d],h=s?.[d];if(f===null)return null;const p=ka(f)||ka(h);return o[d][p]}),a=r&&Object.entries(r).reduce((d,f)=>{let[h,p]=f;return p===void 0||(d[h]=p),d},{}),l=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((d,f)=>{let{class:h,className:p,...m}=f;return Object.entries(m).every(b=>{let[v,x]=b;return Array.isArray(x)?x.includes({...s,...a}[v]):{...s,...a}[v]===x})?[...d,h,p]:d},[]);return Ea(e,i,l,r?.class,r?.className)},Mt={xs:"rounded-[2px]",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"};function ym(e){return typeof e=="string"&&Object.prototype.hasOwnProperty.call(Mt,e)}function Zt(e){return e===void 0?{}:typeof e=="number"?{roundedStyle:{borderRadius:`${e}px`}}:ym(e)?{roundedPreset:e}:{roundedStyle:{borderRadius:e}}}const xr={none:"shadow-none",xs:"shadow-[0_1px_2px_rgba(15,23,42,0.08)]",sm:"shadow-sm",md:"shadow-md",lg:"shadow-lg",xl:"shadow-xl",inner:"shadow-inner"};function wm(e){return typeof e=="string"&&Object.prototype.hasOwnProperty.call(xr,e)}function Xr(e){return e===void 0?{}:wm(e)?{shadowPreset:e}:{shadowStyle:{boxShadow:e}}}const Dc=Lc("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{dark:"bg-black/90 text-primary-foreground hover:bg-black",primary:"bg-blue-600 text-primary-foreground hover:bg-blue-600/90",secondary:"bg-cyan-600 text-primary-foreground hover:bg-cyan-600/90",minor:"bg-gray-200 text-secondary-foreground hover:bg-gray-300/90",success:"bg-green-600 text-primary-foreground hover:bg-green-600/90",warning:"bg-yellow-600 text-primary-foreground hover:bg-yellow-600/90",danger:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-solid border-blue-600 bg-background text-blue-600 hover:text-blue-600/80 hover:border-blue-600/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-blue-600 underline-offset-4 hover:underline hover:text-blue-600/90",text:"text-foreground"},size:{xs:"h-6 text-[10px] px-2",sm:"h-7 text-xs px-3",md:"h-8 text-sm px-4",lg:"h-9 text-lg px-8",xl:"h-10 text-lg px-10",icon:"h-8 w-8"},rounded:Mt,shadow:xr,bounce:{true:"transition-all ease-out active:-translate-y-[10%] active:scale-98"},splash:{true:"active:opacity-90"}},defaultVariants:{variant:"primary",size:"md",bounce:!1,splash:!1}}),Pm=(e,t)=>{const r=new Array(e.length+t.length);for(let n=0;n<e.length;n++)r[n]=e[n];for(let n=0;n<t.length;n++)r[e.length+n]=t[n];return r},Cm=(e,t)=>({classGroupId:e,validator:t}),Bc=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),Dn="-",Ra=[],Sm="arbitrary..",Nm=e=>{const t=km(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return qm(i);const a=i.split(Dn),l=a[0]===""&&a.length>1?1:0;return Fc(a,l,t)},getConflictingClassGroupIds:(i,a)=>{if(a){const l=n[i],d=r[i];return l?d?Pm(d,l):l:d||Ra}return r[i]||Ra}}},Fc=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const o=e[t],s=r.nextPart.get(o);if(s){const d=Fc(e,t+1,s);if(d)return d}const i=r.validators;if(i===null)return;const a=t===0?e.join(Dn):e.slice(t).join(Dn),l=i.length;for(let d=0;d<l;d++){const f=i[d];if(f.validator(a))return f.classGroupId}},qm=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?Sm+n:void 0})(),km=e=>{const{theme:t,classGroups:r}=e;return Em(r,t)},Em=(e,t)=>{const r=Bc();for(const n in e){const o=e[n];oi(o,r,n,t)}return r},oi=(e,t,r,n)=>{const o=e.length;for(let s=0;s<o;s++){const i=e[s];Rm(i,t,r,n)}},Rm=(e,t,r,n)=>{if(typeof e=="string"){jm(e,t,r);return}if(typeof e=="function"){Tm(e,t,r,n);return}Am(e,t,r,n)},jm=(e,t,r)=>{const n=e===""?t:$c(t,e);n.classGroupId=r},Tm=(e,t,r,n)=>{if(_m(e)){oi(e(n),t,r,n);return}t.validators===null&&(t.validators=[]),t.validators.push(Cm(r,e))},Am=(e,t,r,n)=>{const o=Object.entries(e),s=o.length;for(let i=0;i<s;i++){const[a,l]=o[i];oi(l,$c(t,a),r,n)}},$c=(e,t)=>{let r=e;const n=t.split(Dn),o=n.length;for(let s=0;s<o;s++){const i=n[s];let a=r.nextPart.get(i);a||(a=Bc(),r.nextPart.set(i,a)),r=a}return r},_m=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Im=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null);const o=(s,i)=>{r[s]=i,t++,t>e&&(t=0,n=r,r=Object.create(null))};return{get(s){let i=r[s];if(i!==void 0)return i;if((i=n[s])!==void 0)return o(s,i),i},set(s,i){s in r?r[s]=i:o(s,i)}}},js="!",ja=":",Om=[],Ta=(e,t,r,n,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:o}),Mm=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=o=>{const s=[];let i=0,a=0,l=0,d;const f=o.length;for(let v=0;v<f;v++){const x=o[v];if(i===0&&a===0){if(x===ja){s.push(o.slice(l,v)),l=v+1;continue}if(x==="/"){d=v;continue}}x==="["?i++:x==="]"?i--:x==="("?a++:x===")"&&a--}const h=s.length===0?o:o.slice(l);let p=h,m=!1;h.endsWith(js)?(p=h.slice(0,-1),m=!0):h.startsWith(js)&&(p=h.slice(1),m=!0);const b=d&&d>l?d-l:void 0;return Ta(s,m,p,b)};if(t){const o=t+ja,s=n;n=i=>i.startsWith(o)?s(i.slice(o.length)):Ta(Om,!1,i,void 0,!0)}if(r){const o=n;n=s=>r({className:s,parseClassName:o})}return n},Lm=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((r,n)=>{t.set(r,1e6+n)}),r=>{const n=[];let o=[];for(let s=0;s<r.length;s++){const i=r[s],a=i[0]==="[",l=t.has(i);a||l?(o.length>0&&(o.sort(),n.push(...o),o=[]),n.push(i)):o.push(i)}return o.length>0&&(o.sort(),n.push(...o)),n}},Dm=e=>({cache:Im(e.cacheSize),parseClassName:Mm(e),sortModifiers:Lm(e),...Nm(e)}),Bm=/\s+/,Fm=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:s}=t,i=[],a=e.trim().split(Bm);let l="";for(let d=a.length-1;d>=0;d-=1){const f=a[d],{isExternal:h,modifiers:p,hasImportantModifier:m,baseClassName:b,maybePostfixModifierPosition:v}=r(f);if(h){l=f+(l.length>0?" "+l:l);continue}let x=!!v,y=n(x?b.substring(0,v):b);if(!y){if(!x){l=f+(l.length>0?" "+l:l);continue}if(y=n(b),!y){l=f+(l.length>0?" "+l:l);continue}x=!1}const g=p.length===0?"":p.length===1?p[0]:s(p).join(":"),w=m?g+js:g,P=w+y;if(i.indexOf(P)>-1)continue;i.push(P);const C=o(y,x);for(let S=0;S<C.length;++S){const N=C[S];i.push(w+N)}l=f+(l.length>0?" "+l:l)}return l},$m=(...e)=>{let t=0,r,n,o="";for(;t<e.length;)(r=e[t++])&&(n=Vc(r))&&(o&&(o+=" "),o+=n);return o},Vc=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Vc(e[n]))&&(r&&(r+=" "),r+=t);return r},Vm=(e,...t)=>{let r,n,o,s;const i=l=>{const d=t.reduce((f,h)=>h(f),e());return r=Dm(d),n=r.cache.get,o=r.cache.set,s=a,a(l)},a=l=>{const d=n(l);if(d)return d;const f=Fm(l,r);return o(l,f),f};return s=i,(...l)=>s($m(...l))},zm=[],Me=e=>{const t=r=>r[e]||zm;return t.isThemeGetter=!0,t},zc=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Hc=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Hm=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Wm=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Gm=/\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$/,Km=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Um=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ym=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,qt=e=>Hm.test(e),ge=e=>!!e&&!Number.isNaN(Number(e)),kt=e=>!!e&&Number.isInteger(Number(e)),Ao=e=>e.endsWith("%")&&ge(e.slice(0,-1)),pt=e=>Wm.test(e),Wc=()=>!0,Xm=e=>Gm.test(e)&&!Km.test(e),si=()=>!1,Jm=e=>Um.test(e),Qm=e=>Ym.test(e),Zm=e=>!ee(e)&&!ne(e),ep=e=>Lt(e,Uc,si),ee=e=>zc.test(e),Ht=e=>Lt(e,Yc,Xm),Aa=e=>Lt(e,lp,ge),tp=e=>Lt(e,Jc,Wc),rp=e=>Lt(e,Xc,si),_a=e=>Lt(e,Gc,si),np=e=>Lt(e,Kc,Qm),un=e=>Lt(e,Qc,Jm),ne=e=>Hc.test(e),kr=e=>er(e,Yc),op=e=>er(e,Xc),Ia=e=>er(e,Gc),sp=e=>er(e,Uc),ip=e=>er(e,Kc),dn=e=>er(e,Qc,!0),ap=e=>er(e,Jc,!0),Lt=(e,t,r)=>{const n=zc.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},er=(e,t,r=!1)=>{const n=Hc.exec(e);return n?n[1]?t(n[1]):r:!1},Gc=e=>e==="position"||e==="percentage",Kc=e=>e==="image"||e==="url",Uc=e=>e==="length"||e==="size"||e==="bg-size",Yc=e=>e==="length",lp=e=>e==="number",Xc=e=>e==="family-name",Jc=e=>e==="number"||e==="weight",Qc=e=>e==="shadow",cp=()=>{const e=Me("color"),t=Me("font"),r=Me("text"),n=Me("font-weight"),o=Me("tracking"),s=Me("leading"),i=Me("breakpoint"),a=Me("container"),l=Me("spacing"),d=Me("radius"),f=Me("shadow"),h=Me("inset-shadow"),p=Me("text-shadow"),m=Me("drop-shadow"),b=Me("blur"),v=Me("perspective"),x=Me("aspect"),y=Me("ease"),g=Me("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],C=()=>[...P(),ne,ee],S=()=>["auto","hidden","clip","visible","scroll"],N=()=>["auto","contain","none"],q=()=>[ne,ee,l],k=()=>[qt,"full","auto",...q()],T=()=>[kt,"none","subgrid",ne,ee],E=()=>["auto",{span:["full",kt,ne,ee]},kt,ne,ee],R=()=>[kt,"auto",ne,ee],A=()=>["auto","min","max","fr",ne,ee],_=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],O=()=>["start","end","center","stretch","center-safe","end-safe"],I=()=>["auto",...q()],$=()=>[qt,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...q()],M=()=>[qt,"screen","full","dvw","lvw","svw","min","max","fit",...q()],U=()=>[qt,"screen","full","lh","dvh","lvh","svh","min","max","fit",...q()],D=()=>[e,ne,ee],G=()=>[...P(),Ia,_a,{position:[ne,ee]}],me=()=>["no-repeat",{repeat:["","x","y","space","round"]}],te=()=>["auto","cover","contain",sp,ep,{size:[ne,ee]}],J=()=>[Ao,kr,Ht],H=()=>["","none","full",d,ne,ee],Y=()=>["",ge,kr,Ht],B=()=>["solid","dashed","dotted","double"],Q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],z=()=>[ge,Ao,Ia,_a],K=()=>["","none",b,ne,ee],W=()=>["none",ge,ne,ee],Z=()=>["none",ge,ne,ee],ae=()=>[ge,ne,ee],ue=()=>[qt,"full",...q()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[pt],breakpoint:[pt],color:[Wc],container:[pt],"drop-shadow":[pt],ease:["in","out","in-out"],font:[Zm],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[pt],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[pt],shadow:[pt],spacing:["px",ge],text:[pt],"text-shadow":[pt],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",qt,ee,ne,x]}],container:["container"],columns:[{columns:[ge,ee,ne,a]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"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:C()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{"inset-s":k(),start:k()}],end:[{"inset-e":k(),end:k()}],"inset-bs":[{"inset-bs":k()}],"inset-be":[{"inset-be":k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[kt,"auto",ne,ee]}],basis:[{basis:[qt,"full","auto",a,...q()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ge,qt,"auto","initial","none",ee]}],grow:[{grow:["",ge,ne,ee]}],shrink:[{shrink:["",ge,ne,ee]}],order:[{order:[kt,"first","last","none",ne,ee]}],"grid-cols":[{"grid-cols":T()}],"col-start-end":[{col:E()}],"col-start":[{"col-start":R()}],"col-end":[{"col-end":R()}],"grid-rows":[{"grid-rows":T()}],"row-start-end":[{row:E()}],"row-start":[{"row-start":R()}],"row-end":[{"row-end":R()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":A()}],"auto-rows":[{"auto-rows":A()}],gap:[{gap:q()}],"gap-x":[{"gap-x":q()}],"gap-y":[{"gap-y":q()}],"justify-content":[{justify:[..._(),"normal"]}],"justify-items":[{"justify-items":[...O(),"normal"]}],"justify-self":[{"justify-self":["auto",...O()]}],"align-content":[{content:["normal",..._()]}],"align-items":[{items:[...O(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...O(),{baseline:["","last"]}]}],"place-content":[{"place-content":_()}],"place-items":[{"place-items":[...O(),"baseline"]}],"place-self":[{"place-self":["auto",...O()]}],p:[{p:q()}],px:[{px:q()}],py:[{py:q()}],ps:[{ps:q()}],pe:[{pe:q()}],pbs:[{pbs:q()}],pbe:[{pbe:q()}],pt:[{pt:q()}],pr:[{pr:q()}],pb:[{pb:q()}],pl:[{pl:q()}],m:[{m:I()}],mx:[{mx:I()}],my:[{my:I()}],ms:[{ms:I()}],me:[{me:I()}],mbs:[{mbs:I()}],mbe:[{mbe:I()}],mt:[{mt:I()}],mr:[{mr:I()}],mb:[{mb:I()}],ml:[{ml:I()}],"space-x":[{"space-x":q()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":q()}],"space-y-reverse":["space-y-reverse"],size:[{size:$()}],"inline-size":[{inline:["auto",...M()]}],"min-inline-size":[{"min-inline":["auto",...M()]}],"max-inline-size":[{"max-inline":["none",...M()]}],"block-size":[{block:["auto",...U()]}],"min-block-size":[{"min-block":["auto",...U()]}],"max-block-size":[{"max-block":["none",...U()]}],w:[{w:[a,"screen",...$()]}],"min-w":[{"min-w":[a,"screen","none",...$()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...$()]}],h:[{h:["screen","lh",...$()]}],"min-h":[{"min-h":["screen","lh","none",...$()]}],"max-h":[{"max-h":["screen","lh",...$()]}],"font-size":[{text:["base",r,kr,Ht]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,ap,tp]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ao,ee]}],"font-family":[{font:[op,rp,t]}],"font-features":[{"font-features":[ee]}],"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:[o,ne,ee]}],"line-clamp":[{"line-clamp":[ge,"none",ne,Aa]}],leading:[{leading:[s,...q()]}],"list-image":[{"list-image":["none",ne,ee]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ne,ee]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:D()}],"text-color":[{text:D()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:[ge,"from-font","auto",ne,Ht]}],"text-decoration-color":[{decoration:D()}],"underline-offset":[{"underline-offset":[ge,"auto",ne,ee]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:q()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ne,ee]}],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",ne,ee]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:G()}],"bg-repeat":[{bg:me()}],"bg-size":[{bg:te()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},kt,ne,ee],radial:["",ne,ee],conic:[kt,ne,ee]},ip,np]}],"bg-color":[{bg:D()}],"gradient-from-pos":[{from:J()}],"gradient-via-pos":[{via:J()}],"gradient-to-pos":[{to:J()}],"gradient-from":[{from:D()}],"gradient-via":[{via:D()}],"gradient-to":[{to:D()}],rounded:[{rounded:H()}],"rounded-s":[{"rounded-s":H()}],"rounded-e":[{"rounded-e":H()}],"rounded-t":[{"rounded-t":H()}],"rounded-r":[{"rounded-r":H()}],"rounded-b":[{"rounded-b":H()}],"rounded-l":[{"rounded-l":H()}],"rounded-ss":[{"rounded-ss":H()}],"rounded-se":[{"rounded-se":H()}],"rounded-ee":[{"rounded-ee":H()}],"rounded-es":[{"rounded-es":H()}],"rounded-tl":[{"rounded-tl":H()}],"rounded-tr":[{"rounded-tr":H()}],"rounded-br":[{"rounded-br":H()}],"rounded-bl":[{"rounded-bl":H()}],"border-w":[{border:Y()}],"border-w-x":[{"border-x":Y()}],"border-w-y":[{"border-y":Y()}],"border-w-s":[{"border-s":Y()}],"border-w-e":[{"border-e":Y()}],"border-w-bs":[{"border-bs":Y()}],"border-w-be":[{"border-be":Y()}],"border-w-t":[{"border-t":Y()}],"border-w-r":[{"border-r":Y()}],"border-w-b":[{"border-b":Y()}],"border-w-l":[{"border-l":Y()}],"divide-x":[{"divide-x":Y()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Y()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...B(),"hidden","none"]}],"divide-style":[{divide:[...B(),"hidden","none"]}],"border-color":[{border:D()}],"border-color-x":[{"border-x":D()}],"border-color-y":[{"border-y":D()}],"border-color-s":[{"border-s":D()}],"border-color-e":[{"border-e":D()}],"border-color-bs":[{"border-bs":D()}],"border-color-be":[{"border-be":D()}],"border-color-t":[{"border-t":D()}],"border-color-r":[{"border-r":D()}],"border-color-b":[{"border-b":D()}],"border-color-l":[{"border-l":D()}],"divide-color":[{divide:D()}],"outline-style":[{outline:[...B(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ge,ne,ee]}],"outline-w":[{outline:["",ge,kr,Ht]}],"outline-color":[{outline:D()}],shadow:[{shadow:["","none",f,dn,un]}],"shadow-color":[{shadow:D()}],"inset-shadow":[{"inset-shadow":["none",h,dn,un]}],"inset-shadow-color":[{"inset-shadow":D()}],"ring-w":[{ring:Y()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:D()}],"ring-offset-w":[{"ring-offset":[ge,Ht]}],"ring-offset-color":[{"ring-offset":D()}],"inset-ring-w":[{"inset-ring":Y()}],"inset-ring-color":[{"inset-ring":D()}],"text-shadow":[{"text-shadow":["none",p,dn,un]}],"text-shadow-color":[{"text-shadow":D()}],opacity:[{opacity:[ge,ne,ee]}],"mix-blend":[{"mix-blend":[...Q(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Q()}],"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":[ge]}],"mask-image-linear-from-pos":[{"mask-linear-from":z()}],"mask-image-linear-to-pos":[{"mask-linear-to":z()}],"mask-image-linear-from-color":[{"mask-linear-from":D()}],"mask-image-linear-to-color":[{"mask-linear-to":D()}],"mask-image-t-from-pos":[{"mask-t-from":z()}],"mask-image-t-to-pos":[{"mask-t-to":z()}],"mask-image-t-from-color":[{"mask-t-from":D()}],"mask-image-t-to-color":[{"mask-t-to":D()}],"mask-image-r-from-pos":[{"mask-r-from":z()}],"mask-image-r-to-pos":[{"mask-r-to":z()}],"mask-image-r-from-color":[{"mask-r-from":D()}],"mask-image-r-to-color":[{"mask-r-to":D()}],"mask-image-b-from-pos":[{"mask-b-from":z()}],"mask-image-b-to-pos":[{"mask-b-to":z()}],"mask-image-b-from-color":[{"mask-b-from":D()}],"mask-image-b-to-color":[{"mask-b-to":D()}],"mask-image-l-from-pos":[{"mask-l-from":z()}],"mask-image-l-to-pos":[{"mask-l-to":z()}],"mask-image-l-from-color":[{"mask-l-from":D()}],"mask-image-l-to-color":[{"mask-l-to":D()}],"mask-image-x-from-pos":[{"mask-x-from":z()}],"mask-image-x-to-pos":[{"mask-x-to":z()}],"mask-image-x-from-color":[{"mask-x-from":D()}],"mask-image-x-to-color":[{"mask-x-to":D()}],"mask-image-y-from-pos":[{"mask-y-from":z()}],"mask-image-y-to-pos":[{"mask-y-to":z()}],"mask-image-y-from-color":[{"mask-y-from":D()}],"mask-image-y-to-color":[{"mask-y-to":D()}],"mask-image-radial":[{"mask-radial":[ne,ee]}],"mask-image-radial-from-pos":[{"mask-radial-from":z()}],"mask-image-radial-to-pos":[{"mask-radial-to":z()}],"mask-image-radial-from-color":[{"mask-radial-from":D()}],"mask-image-radial-to-color":[{"mask-radial-to":D()}],"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":P()}],"mask-image-conic-pos":[{"mask-conic":[ge]}],"mask-image-conic-from-pos":[{"mask-conic-from":z()}],"mask-image-conic-to-pos":[{"mask-conic-to":z()}],"mask-image-conic-from-color":[{"mask-conic-from":D()}],"mask-image-conic-to-color":[{"mask-conic-to":D()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:G()}],"mask-repeat":[{mask:me()}],"mask-size":[{mask:te()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ne,ee]}],filter:[{filter:["","none",ne,ee]}],blur:[{blur:K()}],brightness:[{brightness:[ge,ne,ee]}],contrast:[{contrast:[ge,ne,ee]}],"drop-shadow":[{"drop-shadow":["","none",m,dn,un]}],"drop-shadow-color":[{"drop-shadow":D()}],grayscale:[{grayscale:["",ge,ne,ee]}],"hue-rotate":[{"hue-rotate":[ge,ne,ee]}],invert:[{invert:["",ge,ne,ee]}],saturate:[{saturate:[ge,ne,ee]}],sepia:[{sepia:["",ge,ne,ee]}],"backdrop-filter":[{"backdrop-filter":["","none",ne,ee]}],"backdrop-blur":[{"backdrop-blur":K()}],"backdrop-brightness":[{"backdrop-brightness":[ge,ne,ee]}],"backdrop-contrast":[{"backdrop-contrast":[ge,ne,ee]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ge,ne,ee]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ge,ne,ee]}],"backdrop-invert":[{"backdrop-invert":["",ge,ne,ee]}],"backdrop-opacity":[{"backdrop-opacity":[ge,ne,ee]}],"backdrop-saturate":[{"backdrop-saturate":[ge,ne,ee]}],"backdrop-sepia":[{"backdrop-sepia":["",ge,ne,ee]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":q()}],"border-spacing-x":[{"border-spacing-x":q()}],"border-spacing-y":[{"border-spacing-y":q()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ne,ee]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ge,"initial",ne,ee]}],ease:[{ease:["linear","initial",y,ne,ee]}],delay:[{delay:[ge,ne,ee]}],animate:[{animate:["none",g,ne,ee]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,ne,ee]}],"perspective-origin":[{"perspective-origin":C()}],rotate:[{rotate:W()}],"rotate-x":[{"rotate-x":W()}],"rotate-y":[{"rotate-y":W()}],"rotate-z":[{"rotate-z":W()}],scale:[{scale:Z()}],"scale-x":[{"scale-x":Z()}],"scale-y":[{"scale-y":Z()}],"scale-z":[{"scale-z":Z()}],"scale-3d":["scale-3d"],skew:[{skew:ae()}],"skew-x":[{"skew-x":ae()}],"skew-y":[{"skew-y":ae()}],transform:[{transform:[ne,ee,"","none","gpu","cpu"]}],"transform-origin":[{origin:C()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ue()}],"translate-x":[{"translate-x":ue()}],"translate-y":[{"translate-y":ue()}],"translate-z":[{"translate-z":ue()}],"translate-none":["translate-none"],accent:[{accent:D()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:D()}],"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",ne,ee]}],"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":q()}],"scroll-mx":[{"scroll-mx":q()}],"scroll-my":[{"scroll-my":q()}],"scroll-ms":[{"scroll-ms":q()}],"scroll-me":[{"scroll-me":q()}],"scroll-mbs":[{"scroll-mbs":q()}],"scroll-mbe":[{"scroll-mbe":q()}],"scroll-mt":[{"scroll-mt":q()}],"scroll-mr":[{"scroll-mr":q()}],"scroll-mb":[{"scroll-mb":q()}],"scroll-ml":[{"scroll-ml":q()}],"scroll-p":[{"scroll-p":q()}],"scroll-px":[{"scroll-px":q()}],"scroll-py":[{"scroll-py":q()}],"scroll-ps":[{"scroll-ps":q()}],"scroll-pe":[{"scroll-pe":q()}],"scroll-pbs":[{"scroll-pbs":q()}],"scroll-pbe":[{"scroll-pbe":q()}],"scroll-pt":[{"scroll-pt":q()}],"scroll-pr":[{"scroll-pr":q()}],"scroll-pb":[{"scroll-pb":q()}],"scroll-pl":[{"scroll-pl":q()}],"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",ne,ee]}],fill:[{fill:["none",...D()]}],"stroke-w":[{stroke:[ge,kr,Ht,Aa]}],stroke:[{stroke:["none",...D()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-bs","border-w-be","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-bs","border-color-be","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-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]}},up=Vm(cp);class Ut{static instance;constructor(){}static getInstance(){return Ut.instance||(Ut.instance=new Ut),Ut.instance}getRootFontSize(){if(typeof document>"u")return 16;const t=parseFloat(getComputedStyle(document.documentElement).fontSize);return isNaN(t)?16:t}parseValue(t){const r=t.match(/^(-?\d+(?:\.\d+)?)([a-z%]*)$/i);if(!r)throw new Error(`Invalid CSS value: ${t}`);const n=parseFloat(r[1]),o=r[2].toLowerCase()||"";return{value:n,unit:o}}convertToPx(t,r={}){if(typeof t=="number")return t;const n=String(t).trim();if(!n)return 0;if(n.endsWith("px"))return parseFloat(n);const{value:o,unit:s}=this.parseValue(n);switch(s){case"rem":return o*(r.fontSizeBase||this.getRootFontSize());case"em":if(!r.contextElement)throw new Error("contextElement is required for em unit conversion");const i=parseFloat(getComputedStyle(r.contextElement.parentElement||document.documentElement).fontSize);return o*i;case"%":if(!r.parentSize)throw new Error("parentSize is required for percentage conversion");const a=r.parentSize.width||100;return o/100*a;case"vw":const l=r.viewportWidth||(typeof window<"u"?window.innerWidth:1920);return o/100*l;case"vh":const d=r.viewportHeight||(typeof window<"u"?window.innerHeight:1080);return o/100*d;case"vmin":const f=r.viewportWidth||window.innerWidth,h=r.viewportHeight||window.innerHeight,p=Math.min(f,h);return o/100*p;case"vmax":const m=r.viewportWidth||window.innerWidth,b=r.viewportHeight||window.innerHeight,v=Math.max(m,b);return o/100*v;case"cm":return o*37.795;case"mm":return o*3.7795;case"in":return o*96;case"pt":return o*1.3333;case"pc":return o*16;case"":return o;default:throw new Error(`Unsupported unit: ${s}`)}}convertMultipleToPx(t,r){const n={};for(const[o,s]of Object.entries(t))try{n[o]=this.convertToPx(s,r)}catch(i){console.warn(`Failed to convert ${o}: ${s}`,i),n[o]=typeof s=="number"?s:0}return n}}function j(...e){return up(Mc(e))}const dp={},Ts=u.createContext(dp);function fp({theme:e,children:t}){const r=u.useContext(Ts),n=u.useMemo(()=>({...r,...e}),[r,e]);return c.jsx(Ts.Provider,{value:n,children:t})}function se(){return u.useContext(Ts)}function hp(e){return e}function mp(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function pp(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var vp=(function(){function e(r){var n=this;this._insertTag=function(o){var s;n.tags.length===0?n.insertionPoint?s=n.insertionPoint.nextSibling:n.prepend?s=n.container.firstChild:s=n.before:s=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,s),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(pp(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=mp(o);try{s.insertRule(n,s.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var o;return(o=n.parentNode)==null?void 0:o.removeChild(n)}),this.tags=[],this.ctr=0},e})(),Fe="-ms-",Bn="-moz-",Ne="-webkit-",Zc="comm",ii="rule",ai="decl",gp="@import",eu="@keyframes",bp="@layer",xp=Math.abs,Zn=String.fromCharCode,yp=Object.assign;function wp(e,t){return Be(e,0)^45?(((t<<2^Be(e,0))<<2^Be(e,1))<<2^Be(e,2))<<2^Be(e,3):0}function tu(e){return e.trim()}function Pp(e,t){return(e=t.exec(e))?e[0]:e}function qe(e,t,r){return e.replace(t,r)}function As(e,t){return e.indexOf(t)}function Be(e,t){return e.charCodeAt(t)|0}function $r(e,t,r){return e.slice(t,r)}function at(e){return e.length}function li(e){return e.length}function fn(e,t){return t.push(e),e}function Cp(e,t){return e.map(t).join("")}var eo=1,mr=1,ru=0,ze=0,Oe=0,yr="";function to(e,t,r,n,o,s,i){return{value:e,root:t,parent:r,type:n,props:o,children:s,line:eo,column:mr,length:i,return:""}}function Er(e,t){return yp(to("",null,null,"",null,null,0),e,{length:-e.length},t)}function Sp(){return Oe}function Np(){return Oe=ze>0?Be(yr,--ze):0,mr--,Oe===10&&(mr=1,eo--),Oe}function Ke(){return Oe=ze<ru?Be(yr,ze++):0,mr++,Oe===10&&(mr=1,eo++),Oe}function ut(){return Be(yr,ze)}function kn(){return ze}function Jr(e,t){return $r(yr,e,t)}function Vr(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function nu(e){return eo=mr=1,ru=at(yr=e),ze=0,[]}function ou(e){return yr="",e}function En(e){return tu(Jr(ze-1,_s(e===91?e+2:e===40?e+1:e)))}function qp(e){for(;(Oe=ut())&&Oe<33;)Ke();return Vr(e)>2||Vr(Oe)>3?"":" "}function kp(e,t){for(;--t&&Ke()&&!(Oe<48||Oe>102||Oe>57&&Oe<65||Oe>70&&Oe<97););return Jr(e,kn()+(t<6&&ut()==32&&Ke()==32))}function _s(e){for(;Ke();)switch(Oe){case e:return ze;case 34:case 39:e!==34&&e!==39&&_s(Oe);break;case 40:e===41&&_s(e);break;case 92:Ke();break}return ze}function Ep(e,t){for(;Ke()&&e+Oe!==57;)if(e+Oe===84&&ut()===47)break;return"/*"+Jr(t,ze-1)+"*"+Zn(e===47?e:Ke())}function Rp(e){for(;!Vr(ut());)Ke();return Jr(e,ze)}function jp(e){return ou(Rn("",null,null,null,[""],e=nu(e),0,[0],e))}function Rn(e,t,r,n,o,s,i,a,l){for(var d=0,f=0,h=i,p=0,m=0,b=0,v=1,x=1,y=1,g=0,w="",P=o,C=s,S=n,N=w;x;)switch(b=g,g=Ke()){case 40:if(b!=108&&Be(N,h-1)==58){As(N+=qe(En(g),"&","&\f"),"&\f")!=-1&&(y=-1);break}case 34:case 39:case 91:N+=En(g);break;case 9:case 10:case 13:case 32:N+=qp(b);break;case 92:N+=kp(kn()-1,7);continue;case 47:switch(ut()){case 42:case 47:fn(Tp(Ep(Ke(),kn()),t,r),l);break;default:N+="/"}break;case 123*v:a[d++]=at(N)*y;case 125*v:case 59:case 0:switch(g){case 0:case 125:x=0;case 59+f:y==-1&&(N=qe(N,/\f/g,"")),m>0&&at(N)-h&&fn(m>32?Ma(N+";",n,r,h-1):Ma(qe(N," ","")+";",n,r,h-2),l);break;case 59:N+=";";default:if(fn(S=Oa(N,t,r,d,f,o,a,w,P=[],C=[],h),s),g===123)if(f===0)Rn(N,t,S,S,P,s,h,a,C);else switch(p===99&&Be(N,3)===110?100:p){case 100:case 108:case 109:case 115:Rn(e,S,S,n&&fn(Oa(e,S,S,0,0,o,a,w,o,P=[],h),C),o,C,h,a,n?P:C);break;default:Rn(N,S,S,S,[""],C,0,a,C)}}d=f=m=0,v=y=1,w=N="",h=i;break;case 58:h=1+at(N),m=b;default:if(v<1){if(g==123)--v;else if(g==125&&v++==0&&Np()==125)continue}switch(N+=Zn(g),g*v){case 38:y=f>0?1:(N+="\f",-1);break;case 44:a[d++]=(at(N)-1)*y,y=1;break;case 64:ut()===45&&(N+=En(Ke())),p=ut(),f=h=at(w=N+=Rp(kn())),g++;break;case 45:b===45&&at(N)==2&&(v=0)}}return s}function Oa(e,t,r,n,o,s,i,a,l,d,f){for(var h=o-1,p=o===0?s:[""],m=li(p),b=0,v=0,x=0;b<n;++b)for(var y=0,g=$r(e,h+1,h=xp(v=i[b])),w=e;y<m;++y)(w=tu(v>0?p[y]+" "+g:qe(g,/&\f/g,p[y])))&&(l[x++]=w);return to(e,t,r,o===0?ii:a,l,d,f)}function Tp(e,t,r){return to(e,t,r,Zc,Zn(Sp()),$r(e,2,-2),0)}function Ma(e,t,r,n){return to(e,t,r,ai,$r(e,0,n),$r(e,n+1,-1),n)}function dr(e,t){for(var r="",n=li(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Ap(e,t,r,n){switch(e.type){case bp:if(e.children.length)break;case gp:case ai:return e.return=e.return||e.value;case Zc:return"";case eu:return e.return=e.value+"{"+dr(e.children,n)+"}";case ii:e.value=e.props.join(",")}return at(r=dr(e.children,n))?e.return=e.value+"{"+r+"}":""}function _p(e){var t=li(e);return function(r,n,o,s){for(var i="",a=0;a<t;a++)i+=e[a](r,n,o,s)||"";return i}}function Ip(e){return function(t){t.root||(t=t.return)&&e(t)}}function Op(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Mp=function(t,r,n){for(var o=0,s=0;o=s,s=ut(),o===38&&s===12&&(r[n]=1),!Vr(s);)Ke();return Jr(t,ze)},Lp=function(t,r){var n=-1,o=44;do switch(Vr(o)){case 0:o===38&&ut()===12&&(r[n]=1),t[n]+=Mp(ze-1,r,n);break;case 2:t[n]+=En(o);break;case 4:if(o===44){t[++n]=ut()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=Zn(o)}while(o=Ke());return t},Dp=function(t,r){return ou(Lp(nu(t),r))},La=new WeakMap,Bp=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!La.get(n))&&!o){La.set(t,!0);for(var s=[],i=Dp(r,s),a=n.props,l=0,d=0;l<i.length;l++)for(var f=0;f<a.length;f++,d++)t.props[d]=s[l]?i[l].replace(/&\f/g,a[f]):a[f]+" "+i[l]}}},Fp=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function su(e,t){switch(wp(e,t)){case 5103:return Ne+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ne+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ne+e+Bn+e+Fe+e+e;case 6828:case 4268:return Ne+e+Fe+e+e;case 6165:return Ne+e+Fe+"flex-"+e+e;case 5187:return Ne+e+qe(e,/(\w+).+(:[^]+)/,Ne+"box-$1$2"+Fe+"flex-$1$2")+e;case 5443:return Ne+e+Fe+"flex-item-"+qe(e,/flex-|-self/,"")+e;case 4675:return Ne+e+Fe+"flex-line-pack"+qe(e,/align-content|flex-|-self/,"")+e;case 5548:return Ne+e+Fe+qe(e,"shrink","negative")+e;case 5292:return Ne+e+Fe+qe(e,"basis","preferred-size")+e;case 6060:return Ne+"box-"+qe(e,"-grow","")+Ne+e+Fe+qe(e,"grow","positive")+e;case 4554:return Ne+qe(e,/([^-])(transform)/g,"$1"+Ne+"$2")+e;case 6187:return qe(qe(qe(e,/(zoom-|grab)/,Ne+"$1"),/(image-set)/,Ne+"$1"),e,"")+e;case 5495:case 3959:return qe(e,/(image-set\([^]*)/,Ne+"$1$`$1");case 4968:return qe(qe(e,/(.+:)(flex-)?(.*)/,Ne+"box-pack:$3"+Fe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ne+e+e;case 4095:case 3583:case 4068:case 2532:return qe(e,/(.+)-inline(.+)/,Ne+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(at(e)-1-t>6)switch(Be(e,t+1)){case 109:if(Be(e,t+4)!==45)break;case 102:return qe(e,/(.+:)(.+)-([^]+)/,"$1"+Ne+"$2-$3$1"+Bn+(Be(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~As(e,"stretch")?su(qe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Be(e,t+1)!==115)break;case 6444:switch(Be(e,at(e)-3-(~As(e,"!important")&&10))){case 107:return qe(e,":",":"+Ne)+e;case 101:return qe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ne+(Be(e,14)===45?"inline-":"")+"box$3$1"+Ne+"$2$3$1"+Fe+"$2box$3")+e}break;case 5936:switch(Be(e,t+11)){case 114:return Ne+e+Fe+qe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ne+e+Fe+qe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ne+e+Fe+qe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ne+e+Fe+e+e}return e}var $p=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case ai:t.return=su(t.value,t.length);break;case eu:return dr([Er(t,{value:qe(t.value,"@","@"+Ne)})],o);case ii:if(t.length)return Cp(t.props,function(s){switch(Pp(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return dr([Er(t,{props:[qe(s,/:(read-\w+)/,":"+Bn+"$1")]})],o);case"::placeholder":return dr([Er(t,{props:[qe(s,/:(plac\w+)/,":"+Ne+"input-$1")]}),Er(t,{props:[qe(s,/:(plac\w+)/,":"+Bn+"$1")]}),Er(t,{props:[qe(s,/:(plac\w+)/,Fe+"input-$1")]})],o)}return""})}},Vp=[$p],zp=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(v){var x=v.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var o=t.stylisPlugins||Vp,s={},i,a=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(v){for(var x=v.getAttribute("data-emotion").split(" "),y=1;y<x.length;y++)s[x[y]]=!0;a.push(v)});var l,d=[Bp,Fp];{var f,h=[Ap,Ip(function(v){f.insert(v)})],p=_p(d.concat(o,h)),m=function(x){return dr(jp(x),p)};l=function(x,y,g,w){f=g,m(x?x+"{"+y.styles+"}":y.styles),w&&(b.inserted[y.name]=!0)}}var b={key:r,sheet:new vp({key:r,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:l};return b.sheet.hydrate(a),b};function Hp(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Wp={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Gp=/[A-Z]|^ms/g,Kp=/_EMO_([^_]+?)_([^]*?)_EMO_/g,iu=function(t){return t.charCodeAt(1)===45},Da=function(t){return t!=null&&typeof t!="boolean"},_o=Op(function(e){return iu(e)?e:e.replace(Gp,"-$&").toLowerCase()}),Ba=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Kp,function(n,o,s){return Tt={name:o,styles:s,next:Tt},o})}return Wp[t]!==1&&!iu(t)&&typeof r=="number"&&r!==0?r+"px":r};function Fn(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var o=r;if(o.anim===1)return Tt={name:o.name,styles:o.styles,next:Tt},o.name;var s=r;if(s.styles!==void 0){var i=s.next;if(i!==void 0)for(;i!==void 0;)Tt={name:i.name,styles:i.styles,next:Tt},i=i.next;var a=s.styles+";";return a}return Up(e,t,r)}}var l=r;if(t==null)return l;var d=t[l];return d!==void 0?d:l}function Up(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Fn(e,t,r[o])+";";else for(var s in r){var i=r[s];if(typeof i!="object"){var a=i;t!=null&&t[a]!==void 0?n+=s+"{"+t[a]+"}":Da(a)&&(n+=_o(s)+":"+Ba(s,a)+";")}else if(Array.isArray(i)&&typeof i[0]=="string"&&(t==null||t[i[0]]===void 0))for(var l=0;l<i.length;l++)Da(i[l])&&(n+=_o(s)+":"+Ba(s,i[l])+";");else{var d=Fn(e,t,i);switch(s){case"animation":case"animationName":{n+=_o(s)+":"+d+";";break}default:n+=s+"{"+d+"}"}}}return n}var Fa=/label:\s*([^\s;{]+)\s*(;|$)/g,Tt;function Io(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";Tt=void 0;var s=e[0];if(s==null||s.raw===void 0)n=!1,o+=Fn(r,t,s);else{var i=s;o+=i[0]}for(var a=1;a<e.length;a++)if(o+=Fn(r,t,e[a]),n){var l=s;o+=l[a]}Fa.lastIndex=0;for(var d="",f;(f=Fa.exec(o))!==null;)d+="-"+f[1];var h=Hp(o)+d;return{name:h,styles:o,next:Tt}}function au(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(n+=o+" ")}),n}var Yp=function(t,r,n){var o=t.key+"-"+r.name;t.registered[o]===void 0&&(t.registered[o]=r.styles)},Xp=function(t,r,n){Yp(t,r);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var s=r;do t.insert(r===s?"."+o:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function $a(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function Va(e,t,r){var n=[],o=au(e,n,r);return n.length<2?r:o+t(n)}var Jp=function(t){var r=zp(t);r.sheet.speedy=function(a){this.isSpeedy=a},r.compat=!0;var n=function(){for(var l=arguments.length,d=new Array(l),f=0;f<l;f++)d[f]=arguments[f];var h=Io(d,r.registered,void 0);return Xp(r,h),r.key+"-"+h.name},o=function(){for(var l=arguments.length,d=new Array(l),f=0;f<l;f++)d[f]=arguments[f];var h=Io(d,r.registered),p="animation-"+h.name;return $a(r,{name:h.name,styles:"@keyframes "+p+"{"+h.styles+"}"}),p},s=function(){for(var l=arguments.length,d=new Array(l),f=0;f<l;f++)d[f]=arguments[f];var h=Io(d,r.registered);$a(r,h)},i=function(){for(var l=arguments.length,d=new Array(l),f=0;f<l;f++)d[f]=arguments[f];return Va(r.registered,n,Qp(d))};return{css:n,cx:i,injectGlobal:s,keyframes:o,hydrate:function(l){l.forEach(function(d){r.inserted[d]=!0})},flush:function(){r.registered={},r.inserted={},r.sheet.flush()},sheet:r.sheet,cache:r,getRegisteredStyles:au.bind(null,r.registered),merge:Va.bind(null,r.registered,n)}},Qp=function e(t){for(var r="",n=0;n<t.length;n++){var o=t[n];if(o!=null){var s=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))s=e(o);else{s="";for(var i in o)o[i]&&i&&(s&&(s+=" "),s+=i)}break}default:s=o}s&&(r&&(r+=" "),r+=s)}}return r},Zp=Jp({key:"css"}),ev=Zp.css;function tv(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Is(e,t,r){if(e){if(typeof e=="function"){Is(e(t),t,r);return}if(Array.isArray(e)){for(const n of e)Is(n,t,r);return}tv(e)&&r.push(e)}}function rv(e,t){return!(t==null||typeof t=="object"||Array.isArray(t)||e.startsWith("@")||e.includes("&")||e.includes(":")||e.includes(" ")||e.includes(">")||e.includes("+")||e.includes("~")||e.includes("[")||e.includes(".")||e.includes("#"))}function nv(e){const t={};for(const[r,n]of Object.entries(e))rv(r,n)&&(t[r]=n);return t}function X(e,t){const r=[];if(Is(e,t,r),!r.length)return{sxClassName:void 0,sxInlineStyle:void 0};const n=ev(r),o=r.reduce((s,i)=>({...s,...nv(i)}),{});return{sxClassName:n,sxInlineStyle:o}}function L(...e){const t=e.reduce((r,n)=>n?{...r,...n}:r,{});return Object.keys(t).length?t:void 0}function Qr(e){const{component:t,variant:r,size:n,rounded:o,shadow:s,bounce:i,splash:a,sx:l,style:d,className:f,class:h,...p}=e,m=t??"button",{roundedPreset:b,roundedStyle:v}=Zt(o),{shadowPreset:x,shadowStyle:y}=Xr(s),g=se(),{sxClassName:w,sxInlineStyle:P}=X(l,g);return c.jsx(m,{className:j(Dc({variant:r,size:n,rounded:b,shadow:x,bounce:i,splash:a}),w,f,h),style:L(d,v,y,P),...p})}Qr.displayName="Button";const Oo={xs:"h-8 w-8 text-xs",sm:"h-10 w-10 text-sm",md:"h-12 w-12 text-base",lg:"h-14 w-14 text-lg",xl:"h-16 w-16 text-xl"};function ov(e){if(e===void 0)return{sizeClassName:Oo.md};if(typeof e=="string"&&e in Oo)return{sizeClassName:Oo[e]};const t=typeof e=="number"?`${e}px`:e;return{sizeStyle:{width:t,height:t}}}function $n(e){const{component:t,size:r="md",position:n="fixed",left:o,top:s,right:i=16,bottom:a=16,zIndex:l=10,rounded:d="full",className:f,style:h,...p}=e,{sizeClassName:m,sizeStyle:b}=ov(r),v={...p,component:t,size:"icon",rounded:d,className:j("shrink-0 overflow-hidden p-0",m,f),style:L({position:n,left:o,top:s,right:i,bottom:a,zIndex:l},b,h)};return c.jsx(Qr,{...v})}$n.displayName="GhostButton";const lu="__LDKJ_GHOST_BUTTON_GROUP_ITEM__";function ci(e){return null}ci.displayName="GhostButtonGroup.Item";ci[lu]=!0;function sv(e){return!!(e&&typeof e=="function"&&e[lu]===!0)}function iv(e){return typeof e=="number"?`${e}px`:e}function za(e,t){return e.includes(t)}function av(e){const t=[],r=[];return u.Children.forEach(e,n=>{if(u.isValidElement(n)&&sv(n.type)){r.push(n);return}t.push(n)}),{triggerChildren:t,itemChildren:r}}function lv(e,t){switch(e){case"down":return{position:"absolute",top:`calc(100% + ${t})`,right:0,display:"flex",flexDirection:"column",alignItems:"flex-end",gap:t};case"left":return{position:"absolute",right:`calc(100% + ${t})`,top:0,display:"flex",flexDirection:"row-reverse",alignItems:"center",gap:t};case"right":return{position:"absolute",left:`calc(100% + ${t})`,top:0,display:"flex",flexDirection:"row",alignItems:"center",gap:t};default:return{position:"absolute",bottom:`calc(100% + ${t})`,right:0,display:"flex",flexDirection:"column-reverse",alignItems:"flex-end",gap:t}}}function cv(e){switch(e){case"down":return"translateY(-16px) scale(0.78)";case"left":return"translateX(16px) scale(0.78)";case"right":return"translateX(-16px) scale(0.78)";default:return"translateY(16px) scale(0.78)"}}function uv(e,t,r,n){const o=t==="open",s=r*85,i=Math.max(n-r-1,0)*65;return{opacity:o?1:0,transform:o?"translate3d(0, 0, 0) scale(1)":cv(e),transitionProperty:"opacity, transform",transitionDuration:o?"380ms":"260ms",transitionTimingFunction:o?"cubic-bezier(0.16, 1, 0.3, 1)":"cubic-bezier(0.4, 0, 1, 1)",transitionDelay:`${o?s:i}ms`,willChange:"opacity, transform"}}function dv(e){const{trigger:t="click",direction:r="up",gap:n=12,items:o,children:s,position:i="fixed",left:a,top:l,right:d=16,bottom:f=16,zIndex:h=10,onClick:p,...m}=e,b=Array.isArray(t)?t:[t],v=iv(n),{triggerChildren:x,itemChildren:y}=av(s),g=[...o??[],...y.map(I=>({...I.props,key:I.key??void 0}))],[w,P]=u.useState(!1),[C,S]=u.useState("closed"),N=u.useRef(null),q=u.useRef(null),k=x.length>0?c.jsx(c.Fragment,{children:x}):void 0,T=za(b,"hover"),E=za(b,"click"),R=Math.max(g.length-1,0)*65,A=C!=="closed";u.useEffect(()=>{if(w){if(C==="open"||C==="preparing")return;S("preparing");return}if(C==="closed"||C==="exiting")return;S("exiting");const I=window.setTimeout(()=>{S("closed")},R);return()=>window.clearTimeout(I)},[R,C,w]),u.useLayoutEffect(()=>{if(C!=="preparing")return;q.current?.offsetHeight;const I=window.requestAnimationFrame(()=>{S($=>$==="preparing"?"open":$)});return()=>window.cancelAnimationFrame(I)},[C]),u.useEffect(()=>{if(!w||!E)return;const I=M=>{const U=M.target;U instanceof Node&&(N.current?.contains(U)||P(!1))},$=M=>{M.key==="Escape"&&P(!1)};return document.addEventListener("pointerdown",I),document.addEventListener("keydown",$),()=>{document.removeEventListener("pointerdown",I),document.removeEventListener("keydown",$)}},[w,E]);const O={...m,position:"static",right:void 0,bottom:void 0,left:void 0,top:void 0,zIndex:h,onClick:I=>{E&&P($=>!$),p?.(I)},"aria-expanded":w,"aria-haspopup":"menu",children:k};return c.jsx("div",{ref:N,className:j("inline-flex w-fit"),style:{position:i,left:a,top:l,right:d,bottom:f,zIndex:h},onMouseEnter:T?()=>P(!0):void 0,onMouseLeave:T?()=>P(!1):void 0,children:c.jsxs("div",{className:j("relative inline-flex w-fit"),children:[A&&g.length>0?c.jsx("div",{ref:q,style:{...lv(r,v),pointerEvents:C==="open"?"auto":"none"},children:g.map((I,$)=>{const{itemKey:M,onClick:U,...D}=I;return c.jsx("div",{style:uv(r,C,$,g.length),children:c.jsx($n,{position:"static",...D,onClick:G=>{U?.(G),P(!1)}})},M??I.key??$)})}):null,c.jsx($n,{...O})]})})}const cu=Object.assign(dv,{Item:ci});cu.displayName="GhostButtonGroup";const ui={account_balance:{outlined:()=>Promise.resolve().then(()=>require("./icons/account_balance-CUtdZSEP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/account_balance-DgmFjt_z.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/account_balance-DeohA2h8.cjs"))},account_box:{outlined:()=>Promise.resolve().then(()=>require("./icons/account_box-ByaMMQqG.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/account_box-D7sM1NTh.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/account_box-ajw070dx.cjs"))},account_circle:{outlined:()=>Promise.resolve().then(()=>require("./icons/account_circle-o5PrByrE.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/account_circle-C5KLCF80.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/account_circle-BMRVTtpY.cjs"))},add:{outlined:()=>Promise.resolve().then(()=>require("./icons/add-BzODBN57.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/add-Bj-fRqEw.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/add-Dpbpem6v.cjs"))},add_circle:{outlined:()=>Promise.resolve().then(()=>require("./icons/add_circle-BEfQaNTw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/add_circle-Pz6hbZr2.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/add_circle-Bs6fLIPH.cjs"))},admin_panel_settings:{outlined:()=>Promise.resolve().then(()=>require("./icons/admin_panel_settings-BbSsx_KB.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/admin_panel_settings-Cq6cV6Iq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/admin_panel_settings-DcqNfgoM.cjs"))},air:{outlined:()=>Promise.resolve().then(()=>require("./icons/air-BF03LOQ-.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/air-i_rK7JxO.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/air-OSLzaxxp.cjs"))},alarm:{outlined:()=>Promise.resolve().then(()=>require("./icons/alarm-CCYlrdau.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/alarm-DeO1fh0q.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/alarm-BxyCb1Qv.cjs"))},apps:{outlined:()=>Promise.resolve().then(()=>require("./icons/apps-fIilHLYB.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/apps-BdFHXOsp.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/apps-C9ltbSUJ.cjs"))},archive:{outlined:()=>Promise.resolve().then(()=>require("./icons/archive-7V65cuRY.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/archive-er16TWXw.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/archive-Ckz6yJQF.cjs"))},arrow_back:{outlined:()=>Promise.resolve().then(()=>require("./icons/arrow_back-XdtHQyqo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/arrow_back-DaOcsNP6.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/arrow_back-g66EkDwT.cjs"))},arrow_downward:{outlined:()=>Promise.resolve().then(()=>require("./icons/arrow_downward-BBbhvRa_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/arrow_downward-CYCI-w3L.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/arrow_downward-DkW9HR00.cjs"))},arrow_forward:{outlined:()=>Promise.resolve().then(()=>require("./icons/arrow_forward-NKtJV9mD.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/arrow_forward-B54VLaZC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/arrow_forward-hLdyTARF.cjs"))},arrow_upward:{outlined:()=>Promise.resolve().then(()=>require("./icons/arrow_upward-GAIOJvM7.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/arrow_upward-BtxjFwlX.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/arrow_upward-CBdxpNSC.cjs"))},article:{outlined:()=>Promise.resolve().then(()=>require("./icons/article-B6nzs-qa.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/article-CGpbLCcR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/article-CDZ6_tTi.cjs"))},attach_file:{outlined:()=>Promise.resolve().then(()=>require("./icons/attach_file-DyFViTnA.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/attach_file-RLWNGDyR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/attach_file-CNA3xvqM.cjs"))},attach_money:{outlined:()=>Promise.resolve().then(()=>require("./icons/attach_money-DQPXCGZk.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/attach_money-CfNoy99Y.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/attach_money-JvxHPUl2.cjs"))},backspace:{outlined:()=>Promise.resolve().then(()=>require("./icons/backspace-JswWFvx7.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/backspace-DDu6Afit.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/backspace-pPWKZ2Y2.cjs"))},badge:{outlined:()=>Promise.resolve().then(()=>require("./icons/badge-Cc8lmWgw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/badge-Btf6MXDZ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/badge-BXrUAN1m.cjs"))},block:{outlined:()=>Promise.resolve().then(()=>require("./icons/block-ByxkMrvC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/block-C8EIO6vB.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/block-D7pQpqds.cjs"))},bolt:{outlined:()=>Promise.resolve().then(()=>require("./icons/bolt-CUZki2JV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/bolt-A-Z_tqr9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/bolt-BKR3IpJG.cjs"))},book:{outlined:()=>Promise.resolve().then(()=>require("./icons/book-B_vtXpwq.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/book-BvIH3Qcj.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/book-s5W9WL4N.cjs"))},bookmark:{outlined:()=>Promise.resolve().then(()=>require("./icons/bookmark-BJdOWq2Y.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/bookmark-BOsIEQfb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/bookmark-CY6PuZ4w.cjs"))},bookmarks:{outlined:()=>Promise.resolve().then(()=>require("./icons/bookmarks-CBfrFEQH.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/bookmarks-C1k5ldLa.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/bookmarks-DbGfzxJk.cjs"))},brush:{outlined:()=>Promise.resolve().then(()=>require("./icons/brush-DqhWkOyP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/brush-CWCZYG4N.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/brush-oeiVL9Xk.cjs"))},bug_report:{outlined:()=>Promise.resolve().then(()=>require("./icons/bug_report-Dgg4ML7C.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/bug_report-DqBzy5Wd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/bug_report-FgdRro3E.cjs"))},build:{outlined:()=>Promise.resolve().then(()=>require("./icons/build-DzKk0FwR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/build-Bg6u0xY0.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/build-fQP-NxA6.cjs"))},calendar_month:{outlined:()=>Promise.resolve().then(()=>require("./icons/calendar_month-BuGnlxNv.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/calendar_month-CWa__6wz.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/calendar_month-BX-upKoW.cjs"))},calendar_today:{outlined:()=>Promise.resolve().then(()=>require("./icons/calendar_today-dvqmK8Mt.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/calendar_today-BXLVEJdq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/calendar_today-CPs1WBvs.cjs"))},call:{outlined:()=>Promise.resolve().then(()=>require("./icons/call-ay175YDV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/call-ftvfgcxN.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/call-wKD6ISPV.cjs"))},call_end:{outlined:()=>Promise.resolve().then(()=>require("./icons/call_end-DwGpra_h.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/call_end-Bx5pJnkm.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/call_end-WoQXHoTY.cjs"))},call_made:{outlined:()=>Promise.resolve().then(()=>require("./icons/call_made-BKy-0N_5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/call_made-1di_yrkH.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/call_made-nzO_qhRa.cjs"))},call_received:{outlined:()=>Promise.resolve().then(()=>require("./icons/call_received-DiGMt09V.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/call_received-kDCUptdw.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/call_received-svsjpWZB.cjs"))},campaign:{outlined:()=>Promise.resolve().then(()=>require("./icons/campaign-CO4rU-NI.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/campaign-C7gu21Yl.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/campaign-Ci9P9bD0.cjs"))},cancel:{outlined:()=>Promise.resolve().then(()=>require("./icons/cancel-syDzrIhz.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/cancel-Be4ComkT.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/cancel-BswRxQQC.cjs"))},category:{outlined:()=>Promise.resolve().then(()=>require("./icons/category-DLWu2IoJ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/category-lpNWuhQx.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/category-CnrWZz9Q.cjs"))},chat:{outlined:()=>Promise.resolve().then(()=>require("./icons/chat-DThyMw25.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/chat-DVBtcmFJ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/chat-BIjxgeKo.cjs"))},chat_bubble:{outlined:()=>Promise.resolve().then(()=>require("./icons/chat_bubble-B7awcvGP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/chat_bubble-CPB6ZiCC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/chat_bubble-mZGoeI3I.cjs"))},check:{outlined:()=>Promise.resolve().then(()=>require("./icons/check-C4gcqg9A.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/check-CDtP9Bf4.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/check-BQ20Asfd.cjs"))},check_box:{outlined:()=>Promise.resolve().then(()=>require("./icons/check_box-cXMcUfzz.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/check_box-yboW6saa.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/check_box-DD0D5gpB.cjs"))},check_box_outline_blank:{outlined:()=>Promise.resolve().then(()=>require("./icons/check_box_outline_blank-CIKY0Ccw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/check_box_outline_blank-B0K7VEOf.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/check_box_outline_blank-DPZa0VCl.cjs"))},check_circle:{outlined:()=>Promise.resolve().then(()=>require("./icons/check_circle-DTQ1d7Oc.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/check_circle-BVUl3Gb5.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/check_circle-BYYx6u5r.cjs"))},chevron_left:{outlined:()=>Promise.resolve().then(()=>require("./icons/chevron_left-Yec8UECM.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/chevron_left-DE3pHCnM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/chevron_left-BPHI54rl.cjs"))},chevron_right:{outlined:()=>Promise.resolve().then(()=>require("./icons/chevron_right-BkGOM5fi.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/chevron_right-CFTu2vbL.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/chevron_right-DpzjvNsP.cjs"))},child_care:{outlined:()=>Promise.resolve().then(()=>require("./icons/child_care-nZB2N3YA.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/child_care-CIQ9k-f9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/child_care-CB79ivb8.cjs"))},circle:{outlined:()=>Promise.resolve().then(()=>require("./icons/circle-DS_HMXBR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/circle-BPX6153P.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/circle-D8ImCYQn.cjs"))},close:{outlined:()=>Promise.resolve().then(()=>require("./icons/close-C71jnCsP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/close-DAORXT73.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/close-08-8sBl_.cjs"))},cloud:{outlined:()=>Promise.resolve().then(()=>require("./icons/cloud-aGhF0P8X.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/cloud-DoSYW56S.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/cloud-CWTEjqrC.cjs"))},cloud_download:{outlined:()=>Promise.resolve().then(()=>require("./icons/cloud_download-Cr0f1A7w.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/cloud_download-BSgA6nE3.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/cloud_download-B46UbXM2.cjs"))},cloud_upload:{outlined:()=>Promise.resolve().then(()=>require("./icons/cloud_upload-CEBNsRxa.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/cloud_upload-BxrCa7P9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/cloud_upload-C8JjVx81.cjs"))},code:{outlined:()=>Promise.resolve().then(()=>require("./icons/code-6RkiCXwP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/code-DuM9qskR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/code-oJW84q_m.cjs"))},comment:{outlined:()=>Promise.resolve().then(()=>require("./icons/comment-O_bHBTmR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/comment-jfrDsQcR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/comment-D2ad_q2m.cjs"))},compare:{outlined:()=>Promise.resolve().then(()=>require("./icons/compare-CUzBU-28.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/compare-DdMgRs9f.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/compare-DFR9iUjQ.cjs"))},contacts:{outlined:()=>Promise.resolve().then(()=>require("./icons/contacts-4hDX5byG.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/contacts-Cb5xhSPR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/contacts-GfLHJBAS.cjs"))},content_copy:{outlined:()=>Promise.resolve().then(()=>require("./icons/content_copy-Dm6tlywE.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/content_copy-CDA8g8Ce.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/content_copy-B295-Nv3.cjs"))},content_paste:{outlined:()=>Promise.resolve().then(()=>require("./icons/content_paste-CoehqCUw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/content_paste-D0OJlLhs.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/content_paste-CAAddckI.cjs"))},copyright:{outlined:()=>Promise.resolve().then(()=>require("./icons/copyright-CmWUWze4.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/copyright-B4gtWEWc.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/copyright-sqUhIT0W.cjs"))},credit_card:{outlined:()=>Promise.resolve().then(()=>require("./icons/credit_card-B_DF2PK1.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/credit_card-Ch3__Lys.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/credit_card-_iyk8SdT.cjs"))},credit_score:{outlined:()=>Promise.resolve().then(()=>require("./icons/credit_score-BTAUUWvv.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/credit_score-RCK9vD6_.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/credit_score-BUo_aYKm.cjs"))},crop:{outlined:()=>Promise.resolve().then(()=>require("./icons/crop-GyzEL4nJ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/crop-CLGpqAKW.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/crop-Ck5Oq93S.cjs"))},dangerous:{outlined:()=>Promise.resolve().then(()=>require("./icons/dangerous-BHX_WAG0.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/dangerous-VVnFWj0T.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/dangerous-CyWhR8GS.cjs"))},dark_mode:{outlined:()=>Promise.resolve().then(()=>require("./icons/dark_mode-CVQYfD9N.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/dark_mode-Cna-h-8z.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/dark_mode-BApz1m5T.cjs"))},dashboard:{outlined:()=>Promise.resolve().then(()=>require("./icons/dashboard-y4JXkAlZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/dashboard-yvpXQGFe.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/dashboard-qxOP92mW.cjs"))},data_usage:{outlined:()=>Promise.resolve().then(()=>require("./icons/data_usage-BFgNM46G.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/data_usage-DF86vx6L.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/data_usage-B69lbac5.cjs"))},delete:{outlined:()=>Promise.resolve().then(()=>require("./icons/delete-C0t5Pp8-.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/delete-CEMqbUF0.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/delete-xENv8YmX.cjs"))},delete_forever:{outlined:()=>Promise.resolve().then(()=>require("./icons/delete_forever-BE5StSao.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/delete_forever-DwtLSgzF.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/delete_forever-B8PUopIK.cjs"))},density_medium:{outlined:()=>Promise.resolve().then(()=>require("./icons/density_medium-BFy-8lbn.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/density_medium-Bze5BcMr.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/density_medium-BoavJs4H.cjs"))},description:{outlined:()=>Promise.resolve().then(()=>require("./icons/description-SQPUh5qC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/description-CxGEPSh9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/description-CMHCszzJ.cjs"))},desktop_windows:{outlined:()=>Promise.resolve().then(()=>require("./icons/desktop_windows-DOHf23Xr.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/desktop_windows-rsIMFxNM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/desktop_windows-ft9l6Jnn.cjs"))},devices:{outlined:()=>Promise.resolve().then(()=>require("./icons/devices-D1QkNOdg.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/devices-Cs6AyB_p.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/devices-CZuDnQ7B.cjs"))},directions:{outlined:()=>Promise.resolve().then(()=>require("./icons/directions-CV3aYvJw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/directions-Cq30pjX9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/directions-BYfIHQ8Z.cjs"))},directions_bus:{outlined:()=>Promise.resolve().then(()=>require("./icons/directions_bus-CznPtArU.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/directions_bus-ChCQ0VJv.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/directions_bus-2Bu4yiHM.cjs"))},directions_car:{outlined:()=>Promise.resolve().then(()=>require("./icons/directions_car-DIRBYtBd.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/directions_car-Ty3h4aoe.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/directions_car-dxAiBgAE.cjs"))},dns:{outlined:()=>Promise.resolve().then(()=>require("./icons/dns-BrL6vlto.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/dns-DQC01d17.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/dns-BxMrX-Qx.cjs"))},download:{outlined:()=>Promise.resolve().then(()=>require("./icons/download-BfEc7ftL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/download-oQO1wMDQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/download-BbGaNWaF.cjs"))},download_done:{outlined:()=>Promise.resolve().then(()=>require("./icons/download_done-BF_KMt21.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/download_done-mY_IvV91.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/download_done-QJO7z-t7.cjs"))},drag_handle:{outlined:()=>Promise.resolve().then(()=>require("./icons/drag_handle-B85eeiSW.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/drag_handle-CZy0Muds.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/drag_handle-DIHjJaP4.cjs"))},drive_file_move:{outlined:()=>Promise.resolve().then(()=>require("./icons/drive_file_move-CyquxnGI.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/drive_file_move-B7Ib41Bg.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/drive_file_move-BzZBDz_T.cjs"))},eco:{outlined:()=>Promise.resolve().then(()=>require("./icons/eco-BQpR7DfB.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/eco-BfhARi85.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/eco-Dti-gVb_.cjs"))},edit:{outlined:()=>Promise.resolve().then(()=>require("./icons/edit-ChFc7I7P.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/edit-BeJgtsta.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/edit-T1-rErag.cjs"))},edit_attributes:{outlined:()=>Promise.resolve().then(()=>require("./icons/edit_attributes-6JWFwGzl.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/edit_attributes-B1Ctn3RI.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/edit_attributes-BFsYoU1-.cjs"))},edit_note:{outlined:()=>Promise.resolve().then(()=>require("./icons/edit_note-Da_iOdrc.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/edit_note-rScMJnJT.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/edit_note--rw8SVa_.cjs"))},eject:{outlined:()=>Promise.resolve().then(()=>require("./icons/eject-C_8lRJPy.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/eject-DTQWDrIz.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/eject-CtLNSegr.cjs"))},elderly:{outlined:()=>Promise.resolve().then(()=>require("./icons/elderly-Ceh2P7r-.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/elderly-CcU85K06.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/elderly-DAtLwTFA.cjs"))},engineering:{outlined:()=>Promise.resolve().then(()=>require("./icons/engineering-BkYJD_Or.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/engineering-1o10EfNE.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/engineering-JuMPs6Y3.cjs"))},equalizer:{outlined:()=>Promise.resolve().then(()=>require("./icons/equalizer-efzGc3fN.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/equalizer-DJkAwv6t.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/equalizer-CBRz_t0n.cjs"))},error:{outlined:()=>Promise.resolve().then(()=>require("./icons/error-DhIFJDit.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/error-DzScQD-0.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/error-BSxnVrjF.cjs"))},event:{outlined:()=>Promise.resolve().then(()=>require("./icons/event-CLOpMWNS.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/event-BO8hSbhH.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/event-C0zGLwjQ.cjs"))},event_available:{outlined:()=>Promise.resolve().then(()=>require("./icons/event_available-D39f0o2z.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/event_available-DwjeOvX9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/event_available-DMl5IYfi.cjs"))},event_busy:{outlined:()=>Promise.resolve().then(()=>require("./icons/event_busy-DLhs3cqk.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/event_busy-CO5GomJ1.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/event_busy-BsbAdBc3.cjs"))},exit_to_app:{outlined:()=>Promise.resolve().then(()=>require("./icons/exit_to_app-4ELlyKP5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/exit_to_app-Bp3DQYOi.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/exit_to_app-BPsYFa6S.cjs"))},expand:{outlined:()=>Promise.resolve().then(()=>require("./icons/expand-BoSPrbcp.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/expand-CADHXT-_.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/expand-Dy3_OGRo.cjs"))},explore:{outlined:()=>Promise.resolve().then(()=>require("./icons/explore-CiiSPHhR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/explore-DAuehy4i.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/explore-CWVUOfFd.cjs"))},explore_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/explore_off-BR_xU7jX.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/explore_off-Bsy6PdBD.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/explore_off-C8Pin35x.cjs"))},extension:{outlined:()=>Promise.resolve().then(()=>require("./icons/extension-Bg6YhsUZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/extension-B2Ud25CS.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/extension-Cj_PMbmr.cjs"))},face:{outlined:()=>Promise.resolve().then(()=>require("./icons/face-B0mI3FAR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/face-Dx3-uvsR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/face-nfbmNSRn.cjs"))},fast_forward:{outlined:()=>Promise.resolve().then(()=>require("./icons/fast_forward-cSegXWFV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fast_forward-B0y9Ca2u.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fast_forward-BMw4eJA1.cjs"))},fast_rewind:{outlined:()=>Promise.resolve().then(()=>require("./icons/fast_rewind-ClQr4UqL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fast_rewind-BErJGjyk.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fast_rewind-CmURbjb8.cjs"))},favorite:{outlined:()=>Promise.resolve().then(()=>require("./icons/favorite-C7ps1Maq.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/favorite-3J46b-ep.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/favorite-LUIfqiQF.cjs"))},feedback:{outlined:()=>Promise.resolve().then(()=>require("./icons/feedback-B_jbalMc.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/feedback-DpFRhEHp.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/feedback-BaEOlZmy.cjs"))},file_copy:{outlined:()=>Promise.resolve().then(()=>require("./icons/file_copy-CTIQJQ-Q.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/file_copy-BryVfjLP.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/file_copy-D7W7B9tN.cjs"))},filter_list:{outlined:()=>Promise.resolve().then(()=>require("./icons/filter_list-DpBj6Yx1.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/filter_list-B8Txqh_n.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/filter_list-CH0lPLm2.cjs"))},find_in_page:{outlined:()=>Promise.resolve().then(()=>require("./icons/find_in_page-BnUd7Adl.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/find_in_page-d1tGoTfD.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/find_in_page-CZWej5L8.cjs"))},find_replace:{outlined:()=>Promise.resolve().then(()=>require("./icons/find_replace-COPwtD3A.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/find_replace-B_KZ8iLe.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/find_replace-BVX_mdI2.cjs"))},fingerprint:{outlined:()=>Promise.resolve().then(()=>require("./icons/fingerprint-s6Wvd5xY.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fingerprint-BwdcEXJy.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fingerprint-Cjs10wLp.cjs"))},first_page:{outlined:()=>Promise.resolve().then(()=>require("./icons/first_page-LyKNPAwN.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/first_page-CFfNXxJa.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/first_page-BNf1p3Bb.cjs"))},fit_screen:{outlined:()=>Promise.resolve().then(()=>require("./icons/fit_screen-DgeLJfZy.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fit_screen-B9tJEMV5.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fit_screen-NF0JPdOh.cjs"))},fitness_center:{outlined:()=>Promise.resolve().then(()=>require("./icons/fitness_center-DOb_SqRR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fitness_center-BhjkYdCs.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fitness_center-wLAD2vZ_.cjs"))},flag:{outlined:()=>Promise.resolve().then(()=>require("./icons/flag-E-VIxwkr.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/flag-LD2jAYeI.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/flag-DZqg40eh.cjs"))},flare:{outlined:()=>Promise.resolve().then(()=>require("./icons/flare-DZBDF8BR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/flare-DZL3slPE.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/flare-BPXjy3gS.cjs"))},flash_on:{outlined:()=>Promise.resolve().then(()=>require("./icons/flash_on-DIcsCTnL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/flash_on-B6CuALXr.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/flash_on-BotDglNP.cjs"))},flight:{outlined:()=>Promise.resolve().then(()=>require("./icons/flight-BNYPJg6b.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/flight-BLrZxPop.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/flight-CMxTfrzT.cjs"))},flip:{outlined:()=>Promise.resolve().then(()=>require("./icons/flip-BAlqTIVF.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/flip-Bz6vLJ-d.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/flip-Cqg-_005.cjs"))},folder:{outlined:()=>Promise.resolve().then(()=>require("./icons/folder-DBjcNXNU.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/folder-CEMBequd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/folder-DuEc_ds7.cjs"))},folder_open:{outlined:()=>Promise.resolve().then(()=>require("./icons/folder_open-B7M1GBAB.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/folder_open-BCePqSqz.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/folder_open-B_oOp3kv.cjs"))},folder_shared:{outlined:()=>Promise.resolve().then(()=>require("./icons/folder_shared-BesFvcRa.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/folder_shared-Cy2npeFh.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/folder_shared-DgpExGUb.cjs"))},forum:{outlined:()=>Promise.resolve().then(()=>require("./icons/forum-ClIUKbam.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/forum-C0U0c7lC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/forum-W9gwVTdH.cjs"))},fullscreen:{outlined:()=>Promise.resolve().then(()=>require("./icons/fullscreen-CeXAg0Rs.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fullscreen-BbuB8GJ1.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fullscreen-DzeaQMMi.cjs"))},fullscreen_exit:{outlined:()=>Promise.resolve().then(()=>require("./icons/fullscreen_exit-Dv_5bvVl.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fullscreen_exit-BQAdlG7F.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fullscreen_exit-BdILU2wy.cjs"))},gavel:{outlined:()=>Promise.resolve().then(()=>require("./icons/gavel-D-OTl_bj.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/gavel-F-uuY7jq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/gavel-DwIL5r9o.cjs"))},gesture:{outlined:()=>Promise.resolve().then(()=>require("./icons/gesture-DeCjZ4OV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/gesture-V_2x4_gC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/gesture-CDVjysbx.cjs"))},gif:{outlined:()=>Promise.resolve().then(()=>require("./icons/gif-Cdgf5jLT.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/gif-BjNPP4Fi.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/gif-Dbqa6Qt9.cjs"))},grid_view:{outlined:()=>Promise.resolve().then(()=>require("./icons/grid_view-ClltetuJ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/grid_view-DaRUrgXH.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/grid_view-B68F0xHI.cjs"))},group:{outlined:()=>Promise.resolve().then(()=>require("./icons/group-B8IYS99v.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/group-BPq1UB-p.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/group-_x6YgwIQ.cjs"))},group_add:{outlined:()=>Promise.resolve().then(()=>require("./icons/group_add-DRT53nn9.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/group_add-yGgEMHEW.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/group_add-BM5MTU4c.cjs"))},groups:{outlined:()=>Promise.resolve().then(()=>require("./icons/groups-C108XU4y.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/groups-BnGg38nU.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/groups-xhrjwIB0.cjs"))},handyman:{outlined:()=>Promise.resolve().then(()=>require("./icons/handyman-xpAdwmnn.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/handyman-jhYg_Ni9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/handyman-4agk8mvK.cjs"))},headphones:{outlined:()=>Promise.resolve().then(()=>require("./icons/headphones-ByLMZlNY.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/headphones-CFD4aFp7.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/headphones-Co40H2aF.cjs"))},healing:{outlined:()=>Promise.resolve().then(()=>require("./icons/healing-aaFdWh5W.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/healing-BDkkXt9q.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/healing-B-0A2nAU.cjs"))},help:{outlined:()=>Promise.resolve().then(()=>require("./icons/help-OaQroamO.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/help-C3CEzn4A.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/help-Ctda3jdI.cjs"))},highlight:{outlined:()=>Promise.resolve().then(()=>require("./icons/highlight-6N9Q1nCv.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/highlight-2e5dcG25.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/highlight-B06WsyLv.cjs"))},history:{outlined:()=>Promise.resolve().then(()=>require("./icons/history-BOV-9TKh.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/history-CU_ehRzx.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/history-BUB_tYea.cjs"))},history_toggle_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/history_toggle_off-Bhya520A.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/history_toggle_off-DnRUn4bN.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/history_toggle_off-gyY-rgoJ.cjs"))},home:{outlined:()=>Promise.resolve().then(()=>require("./icons/home-Dokhawqy.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/home-BTOD_204.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/home-r_TUIXCB.cjs"))},home_work:{outlined:()=>Promise.resolve().then(()=>require("./icons/home_work-CG_ldX6X.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/home_work-B964c0gI.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/home_work-RpG7pfN8.cjs"))},hotel:{outlined:()=>Promise.resolve().then(()=>require("./icons/hotel-bfy2VvG_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/hotel-DPvGMpsA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/hotel-CPtCcGqG.cjs"))},hourglass_empty:{outlined:()=>Promise.resolve().then(()=>require("./icons/hourglass_empty-B5l-KyA_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/hourglass_empty-Dj67ruJJ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/hourglass_empty-w_LZI7ql.cjs"))},http:{outlined:()=>Promise.resolve().then(()=>require("./icons/http-CkQzvLY8.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/http-D1K3W8nC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/http-fS1e0mTs.cjs"))},image:{outlined:()=>Promise.resolve().then(()=>require("./icons/image-CQ1rcY-m.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/image-m4vdlOrM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/image-Epxcfqar.cjs"))},image_search:{outlined:()=>Promise.resolve().then(()=>require("./icons/image_search-DFdtq1ol.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/image_search-Df6Ng67p.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/image_search-QPrlvCTB.cjs"))},important_devices:{outlined:()=>Promise.resolve().then(()=>require("./icons/important_devices-BQm7YX8s.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/important_devices-CEL-eNng.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/important_devices-CaP-knAj.cjs"))},inbox:{outlined:()=>Promise.resolve().then(()=>require("./icons/inbox-Bf8a9r3C.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/inbox-DlEuYH_M.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/inbox-CbKEEwtR.cjs"))},info:{outlined:()=>Promise.resolve().then(()=>require("./icons/info-B7YBEpiO.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/info-D76Irr5N.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/info-DnsOX_R2.cjs"))},input:{outlined:()=>Promise.resolve().then(()=>require("./icons/input-BledoS7j.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/input-CiaLhaBv.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/input-DFmBoxLr.cjs"))},inventory:{outlined:()=>Promise.resolve().then(()=>require("./icons/inventory-D3F1c0G4.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/inventory-C6l6OEEh.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/inventory-BWwO-xah.cjs"))},key:{outlined:()=>Promise.resolve().then(()=>require("./icons/key-Cd1LQA96.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/key-BapDxdJR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/key-WmFDui-T.cjs"))},keyboard:{outlined:()=>Promise.resolve().then(()=>require("./icons/keyboard-9kPP_fZo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/keyboard-Bncd-r2h.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/keyboard-DEtvWaW3.cjs"))},label:{outlined:()=>Promise.resolve().then(()=>require("./icons/label-Csjt3SVM.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/label-Cm8auEWA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/label-D4Z8lgx6.cjs"))},language:{outlined:()=>Promise.resolve().then(()=>require("./icons/language-Dnk6WN_j.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/language-DUV1M-65.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/language-CxIJ1SrJ.cjs"))},last_page:{outlined:()=>Promise.resolve().then(()=>require("./icons/last_page-oTIYzPFL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/last_page-CjRlRrpV.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/last_page-Cbb3HacN.cjs"))},layers:{outlined:()=>Promise.resolve().then(()=>require("./icons/layers-RHUoY1x9.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/layers-NrOiyn4B.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/layers-Blmdyx3T.cjs"))},light_mode:{outlined:()=>Promise.resolve().then(()=>require("./icons/light_mode-Bo8UvOO0.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/light_mode-C3ZmUjzM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/light_mode-C3vqv6r9.cjs"))},line_style:{outlined:()=>Promise.resolve().then(()=>require("./icons/line_style-hKwpJThN.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/line_style-ChfgY8Fz.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/line_style-DlXCE4Um.cjs"))},link:{outlined:()=>Promise.resolve().then(()=>require("./icons/link-SqQvG2aS.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/link-BFqEzcuh.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/link-BEt8Rdrk.cjs"))},list:{outlined:()=>Promise.resolve().then(()=>require("./icons/list-B3bGHUAB.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/list-ExRMWvY6.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/list-D0u18QaB.cjs"))},live_help:{outlined:()=>Promise.resolve().then(()=>require("./icons/live_help-cSkLrDFh.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/live_help-B1k0yUF9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/live_help-B9sVajvu.cjs"))},local_cafe:{outlined:()=>Promise.resolve().then(()=>require("./icons/local_cafe-BbLYHQ5G.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/local_cafe-gSN4KJIQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/local_cafe-BRwE0wVl.cjs"))},local_hospital:{outlined:()=>Promise.resolve().then(()=>require("./icons/local_hospital-CeMxQ9XC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/local_hospital-BQxIobVR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/local_hospital-MPVU96Sw.cjs"))},local_taxi:{outlined:()=>Promise.resolve().then(()=>require("./icons/local_taxi-CVCg6SLk.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/local_taxi-DYWVyvAC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/local_taxi-BvyxG2_8.cjs"))},location_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/location_off-TLyox8Gw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/location_off-BwRgLKKl.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/location_off-BQw1qzX6.cjs"))},location_on:{outlined:()=>Promise.resolve().then(()=>require("./icons/location_on-zlbjO2nd.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/location_on-C_Q78KW6.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/location_on-B-4p1Vaw.cjs"))},lock:{outlined:()=>Promise.resolve().then(()=>require("./icons/lock-BczdF5aF.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/lock-DoMqxNht.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/lock-CMBDoG1m.cjs"))},lock_open:{outlined:()=>Promise.resolve().then(()=>require("./icons/lock_open-DNBPlz0I.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/lock_open-CbcCQPoq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/lock_open-BsfuU82J.cjs"))},lock_reset:{outlined:()=>Promise.resolve().then(()=>require("./icons/lock_reset-1_dRLFAg.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/lock_reset-BFi8YBZd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/lock_reset-xNTFVkP0.cjs"))},login:{outlined:()=>Promise.resolve().then(()=>require("./icons/login-BjZiShoE.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/login-6YNL4CrP.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/login-Bogn9TQm.cjs"))},logout:{outlined:()=>Promise.resolve().then(()=>require("./icons/logout-Bphd-i1_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/logout-9MBXaMSb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/logout-BKRH1LQ7.cjs"))},mail:{outlined:()=>Promise.resolve().then(()=>require("./icons/mail-stTZgOxR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/mail-zslK5Vp0.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/mail-SRkbZHDV.cjs"))},map:{outlined:()=>Promise.resolve().then(()=>require("./icons/map-DlCPxLI4.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/map-BN0czcmT.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/map-OHAPN5Jm.cjs"))},mark_email_read:{outlined:()=>Promise.resolve().then(()=>require("./icons/mark_email_read-4O476T7R.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/mark_email_read-B5tjuBKg.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/mark_email_read-C6yfr2fW.cjs"))},mark_email_unread:{outlined:()=>Promise.resolve().then(()=>require("./icons/mark_email_unread-BbgVYB4S.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/mark_email_unread-CS1ID0rU.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/mark_email_unread-BzBlwfDW.cjs"))},maximize:{outlined:()=>Promise.resolve().then(()=>require("./icons/maximize-BfsEZe_5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/maximize-yncMJ3Gg.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/maximize-D_c72Iyc.cjs"))},medication:{outlined:()=>Promise.resolve().then(()=>require("./icons/medication-BP-gJNIW.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/medication-B7oNWWhQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/medication-BXpvVQlG.cjs"))},menu:{outlined:()=>Promise.resolve().then(()=>require("./icons/menu-BSH9Euis.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/menu-BI_0LYcg.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/menu-CyUV3J9k.cjs"))},mic:{outlined:()=>Promise.resolve().then(()=>require("./icons/mic-Bv7uyEhL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/mic-OWlr0FyC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/mic-DeY1JMNU.cjs"))},mic_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/mic_off-CrExlNjs.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/mic_off-3AQHolNv.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/mic_off-O3medmXx.cjs"))},minimize:{outlined:()=>Promise.resolve().then(()=>require("./icons/minimize-C1fwEdxW.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/minimize-b3mKEIDM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/minimize-CLS-Wwu4.cjs"))},model_training:{outlined:()=>Promise.resolve().then(()=>require("./icons/model_training-CRZqBwX8.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/model_training-BHnB1pq-.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/model_training-2hXP1oSx.cjs"))},monitor:{outlined:()=>Promise.resolve().then(()=>require("./icons/monitor-DEOzv1-v.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/monitor-DmiG1_9A.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/monitor-Do46ojnJ.cjs"))},more_horiz:{outlined:()=>Promise.resolve().then(()=>require("./icons/more_horiz-bZKXAcx0.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/more_horiz-Deil--Zw.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/more_horiz-Dbz8LvVB.cjs"))},more_time:{outlined:()=>Promise.resolve().then(()=>require("./icons/more_time-B1Wd5UFZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/more_time-urwzlhvb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/more_time-ChxdyGP_.cjs"))},more_vert:{outlined:()=>Promise.resolve().then(()=>require("./icons/more_vert-DzTrnUGw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/more_vert-CXi9yj-5.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/more_vert-DxblSDI5.cjs"))},mouse:{outlined:()=>Promise.resolve().then(()=>require("./icons/mouse-QimsmAoo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/mouse-Bng6mJ1A.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/mouse-DS8yvLR1.cjs"))},move_to_inbox:{outlined:()=>Promise.resolve().then(()=>require("./icons/move_to_inbox-D-SzwKRi.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/move_to_inbox-DMwv-LwU.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/move_to_inbox-DB49LSzj.cjs"))},multiline_chart:{outlined:()=>Promise.resolve().then(()=>require("./icons/multiline_chart-VNajFYIu.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/multiline_chart-qmqudGJS.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/multiline_chart-BZ9pI0M2.cjs"))},my_location:{outlined:()=>Promise.resolve().then(()=>require("./icons/my_location-CafgIPzY.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/my_location-B_2xIJ1h.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/my_location-BQB_Gvjn.cjs"))},navigation:{outlined:()=>Promise.resolve().then(()=>require("./icons/navigation-XOBWaNoc.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/navigation-DD6e0gFe.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/navigation-D-EmSudm.cjs"))},near_me:{outlined:()=>Promise.resolve().then(()=>require("./icons/near_me-CDCjz9gt.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/near_me-BPE_ZuMr.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/near_me-BxAslSGA.cjs"))},network_check:{outlined:()=>Promise.resolve().then(()=>require("./icons/network_check-DXQawqFw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/network_check-Dl7EGQcb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/network_check-BJIqHDfq.cjs"))},note_add:{outlined:()=>Promise.resolve().then(()=>require("./icons/note_add-CgDyCezx.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/note_add-DreTnzy7.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/note_add-B16Z0iko.cjs"))},notifications:{outlined:()=>Promise.resolve().then(()=>require("./icons/notifications-C6p9X5iK.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/notifications-C4Njhrf3.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/notifications-CqrgBGCg.cjs"))},notifications_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/notifications_off-Bl-UXNgJ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/notifications_off-C0bFn1n-.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/notifications_off-DnZ8QXub.cjs"))},opacity:{outlined:()=>Promise.resolve().then(()=>require("./icons/opacity-Dk-JXILr.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/opacity-D6RIb2vv.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/opacity-B_AyGGS_.cjs"))},open_in_browser:{outlined:()=>Promise.resolve().then(()=>require("./icons/open_in_browser-Dmn-cfK-.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/open_in_browser-DCPx7gky.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/open_in_browser-DqsvTNrn.cjs"))},open_in_new:{outlined:()=>Promise.resolve().then(()=>require("./icons/open_in_new-BgJKZU-J.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/open_in_new-DZPCJOy7.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/open_in_new-CcEf-zNH.cjs"))},open_with:{outlined:()=>Promise.resolve().then(()=>require("./icons/open_with-Bzj5vgs6.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/open_with-CmFOFdkm.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/open_with-B70xaICx.cjs"))},outbox:{outlined:()=>Promise.resolve().then(()=>require("./icons/outbox-C6aOzPpg.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/outbox-Cx7uYTOf.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/outbox-Csu_1kyH.cjs"))},outgoing_mail:{outlined:()=>Promise.resolve().then(()=>require("./icons/outgoing_mail-2-xW6AF5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/outgoing_mail-CtAbnTjW.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/outgoing_mail-CX9s8C5z.cjs"))},pageview:{outlined:()=>Promise.resolve().then(()=>require("./icons/pageview-DqQxqFE_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/pageview-D1Aft6zN.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/pageview-CoOkhigk.cjs"))},paid:{outlined:()=>Promise.resolve().then(()=>require("./icons/paid-C5cn2aLs.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/paid-BzDeYvj7.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/paid-BIkLZCcs.cjs"))},palette:{outlined:()=>Promise.resolve().then(()=>require("./icons/palette-BEmPRIMw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/palette-CEI5mXi2.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/palette-BWAIjdCq.cjs"))},pan_tool:{outlined:()=>Promise.resolve().then(()=>require("./icons/pan_tool-DchJK0me.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/pan_tool-DuCXAwU5.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/pan_tool-LLeyUAKx.cjs"))},park:{outlined:()=>Promise.resolve().then(()=>require("./icons/park-BVe-doeU.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/park-BUDETE5h.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/park-B2KYNHGS.cjs"))},pause:{outlined:()=>Promise.resolve().then(()=>require("./icons/pause-DQrYrJPf.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/pause-CbypNdPU.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/pause-DrZm3789.cjs"))},pending:{outlined:()=>Promise.resolve().then(()=>require("./icons/pending-6ag0S0mB.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/pending-BrSKvjSV.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/pending-LfKlYmk3.cjs"))},percent:{outlined:()=>Promise.resolve().then(()=>require("./icons/percent-CQHhbCUm.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/percent-DQRJ81Y0.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/percent-DjuRihso.cjs"))},perm_camera_mic:{outlined:()=>Promise.resolve().then(()=>require("./icons/perm_camera_mic-Cbddp4vZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/perm_camera_mic-CuBPtZxF.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/perm_camera_mic-Dkpwkkuq.cjs"))},perm_contact_calendar:{outlined:()=>Promise.resolve().then(()=>require("./icons/perm_contact_calendar-DMec4ouz.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/perm_contact_calendar-DhFwc7VW.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/perm_contact_calendar-CspwVmEi.cjs"))},perm_media:{outlined:()=>Promise.resolve().then(()=>require("./icons/perm_media-C57M9qmo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/perm_media-CF1u7gFa.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/perm_media-Bxr4BAS1.cjs"))},perm_phone_msg:{outlined:()=>Promise.resolve().then(()=>require("./icons/perm_phone_msg-D9X0Elcs.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/perm_phone_msg-9zA1SKcG.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/perm_phone_msg-BzVSR3nS.cjs"))},perm_scan_wifi:{outlined:()=>Promise.resolve().then(()=>require("./icons/perm_scan_wifi-DD7R0Ypv.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/perm_scan_wifi-B9jQZzda.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/perm_scan_wifi-DoiutF9N.cjs"))},person:{outlined:()=>Promise.resolve().then(()=>require("./icons/person-B3n5wNYw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/person-BjdTw5Wf.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/person-CxBPAQjZ.cjs"))},person_add:{outlined:()=>Promise.resolve().then(()=>require("./icons/person_add-SOetVGrq.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/person_add-CAlpNX8L.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/person_add-C5HiyjEy.cjs"))},person_remove:{outlined:()=>Promise.resolve().then(()=>require("./icons/person_remove-K5AIu4l3.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/person_remove-FQ1FDMyB.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/person_remove-Ckm7S1Ul.cjs"))},pets:{outlined:()=>Promise.resolve().then(()=>require("./icons/pets-CX3R8F-o.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/pets-Ce5ySqSZ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/pets-DFqhatXG.cjs"))},photo:{outlined:()=>Promise.resolve().then(()=>require("./icons/photo-oBUWZNmV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/photo-DCL0v_al.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/photo-Cu44xCeI.cjs"))},photo_camera:{outlined:()=>Promise.resolve().then(()=>require("./icons/photo_camera-DhFf5sZ5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/photo_camera-Nyrh3DOY.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/photo_camera-C9AkrxeA.cjs"))},pin:{outlined:()=>Promise.resolve().then(()=>require("./icons/pin-D4ao9i6g.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/pin-DthuKQB3.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/pin-CRwDdDV2.cjs"))},play_arrow:{outlined:()=>Promise.resolve().then(()=>require("./icons/play_arrow-H863JTh7.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/play_arrow-CZk84Zqk.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/play_arrow-B53QlyDM.cjs"))},play_circle:{outlined:()=>Promise.resolve().then(()=>require("./icons/play_circle-CTzQVR4K.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/play_circle-yQAtsYsn.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/play_circle-wkjsDqRz.cjs"))},playlist_add:{outlined:()=>Promise.resolve().then(()=>require("./icons/playlist_add-Snr_stSN.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/playlist_add-GuvkSYpw.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/playlist_add-D2Xb6_NK.cjs"))},polymer:{outlined:()=>Promise.resolve().then(()=>require("./icons/polymer-C2BZyzKC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/polymer-DqwlaYna.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/polymer-DG6N5gon.cjs"))},power:{outlined:()=>Promise.resolve().then(()=>require("./icons/power-Bt8Geig2.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/power-DZ3DE2BU.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/power-pXyGp9-1.cjs"))},power_settings_new:{outlined:()=>Promise.resolve().then(()=>require("./icons/power_settings_new-DD5cuSDo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/power_settings_new-C5QoEPOu.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/power_settings_new-CKm1IAbg.cjs"))},preview:{outlined:()=>Promise.resolve().then(()=>require("./icons/preview-DWVX-cQO.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/preview-BfsIL0b0.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/preview-DoBR4W2d.cjs"))},print:{outlined:()=>Promise.resolve().then(()=>require("./icons/print-BhcfRgxE.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/print-CkOGeK2-.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/print-DEoedWv2.cjs"))},print_disabled:{outlined:()=>Promise.resolve().then(()=>require("./icons/print_disabled-Cfm8Rmrg.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/print_disabled-BX0aI1MB.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/print_disabled-DXRq3rRK.cjs"))},privacy_tip:{outlined:()=>Promise.resolve().then(()=>require("./icons/privacy_tip-Ds1UUYsC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/privacy_tip-THEl8fOD.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/privacy_tip-BMaqVFkP.cjs"))},public:{outlined:()=>Promise.resolve().then(()=>require("./icons/public-DsMIgunV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/public-BpCg8FcW.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/public-CUqXfp2P.cjs"))},publish:{outlined:()=>Promise.resolve().then(()=>require("./icons/publish-aEOseQ0B.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/publish-CsV_amwU.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/publish-Dvx4su5p.cjs"))},radio:{outlined:()=>Promise.resolve().then(()=>require("./icons/radio-Bk8_Qjwv.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/radio-B2Ef_9iW.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/radio-CwtfSqPE.cjs"))},rate_review:{outlined:()=>Promise.resolve().then(()=>require("./icons/rate_review-B-T0Zspx.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/rate_review-B2oMwaV-.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/rate_review-DPXxfHCb.cjs"))},receipt:{outlined:()=>Promise.resolve().then(()=>require("./icons/receipt-C2nj4DVK.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/receipt-twmBLiMB.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/receipt-Bp12qtmR.cjs"))},receipt_long:{outlined:()=>Promise.resolve().then(()=>require("./icons/receipt_long-92b6OZd3.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/receipt_long-CAmLm05y.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/receipt_long-BwMqM1SJ.cjs"))},recent_actors:{outlined:()=>Promise.resolve().then(()=>require("./icons/recent_actors-DD_SIS2p.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/recent_actors-tqgiO4nq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/recent_actors-BmkR1ajB.cjs"))},recommend:{outlined:()=>Promise.resolve().then(()=>require("./icons/recommend-DtKYWilu.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/recommend-Aw4CXDaO.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/recommend-CDHFINVu.cjs"))},record_voice_over:{outlined:()=>Promise.resolve().then(()=>require("./icons/record_voice_over-Dd1PPwQW.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/record_voice_over-CCuO1fha.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/record_voice_over-CfOde1To.cjs"))},redeem:{outlined:()=>Promise.resolve().then(()=>require("./icons/redeem-CeEXJTxS.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/redeem-CtvDEAWe.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/redeem-zus0PT_N.cjs"))},redo:{outlined:()=>Promise.resolve().then(()=>require("./icons/redo-DwiLjx8_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/redo-CB6KXpep.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/redo-AXNo-2i6.cjs"))},refresh:{outlined:()=>Promise.resolve().then(()=>require("./icons/refresh-B34c1S8h.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/refresh-C_BBk9XA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/refresh-DX9L5WGR.cjs"))},remove:{outlined:()=>Promise.resolve().then(()=>require("./icons/remove-BpH5DaU-.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/remove-ChmlIHbM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/remove-D1owTeuN.cjs"))},reply:{outlined:()=>Promise.resolve().then(()=>require("./icons/reply-Cm9qKf6z.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/reply-Df4SE_cq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/reply-CUp6bBiu.cjs"))},reply_all:{outlined:()=>Promise.resolve().then(()=>require("./icons/reply_all-CIm2mYxA.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/reply_all-Cu6bFwEY.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/reply_all-C1hqo2qO.cjs"))},report:{outlined:()=>Promise.resolve().then(()=>require("./icons/report-3zsKRuLn.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/report-Dmag693H.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/report-DCRNNTzs.cjs"))},restart_alt:{outlined:()=>Promise.resolve().then(()=>require("./icons/restart_alt-CffSc23A.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/restart_alt-CnJZzuua.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/restart_alt-Nz67oCa0.cjs"))},restaurant:{outlined:()=>Promise.resolve().then(()=>require("./icons/restaurant-BKqlwxRF.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/restaurant-CQoatClQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/restaurant-sK6evuVB.cjs"))},restore_from_trash:{outlined:()=>Promise.resolve().then(()=>require("./icons/restore_from_trash-DqcC-1Lu.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/restore_from_trash-DOFWLtoA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/restore_from_trash-DpHGuo0S.cjs"))},rotate_left:{outlined:()=>Promise.resolve().then(()=>require("./icons/rotate_left-Ck4VMi6n.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/rotate_left-RKvDCGa_.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/rotate_left-C0-WUVsw.cjs"))},rotate_right:{outlined:()=>Promise.resolve().then(()=>require("./icons/rotate_right-i9bMrMe5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/rotate_right-D1pzuEHb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/rotate_right-8WHx_SuN.cjs"))},rule:{outlined:()=>Promise.resolve().then(()=>require("./icons/rule-GIRrcXbP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/rule-DTjiYiZq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/rule-PbcB9lZP.cjs"))},save:{outlined:()=>Promise.resolve().then(()=>require("./icons/save-fkqiyMK8.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/save-5IddfMjQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/save-CCF5PyEM.cjs"))},save_as:{outlined:()=>Promise.resolve().then(()=>require("./icons/save_as-BRWg38-i.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/save_as-Bxt_2D67.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/save_as-Cv4exkLT.cjs"))},schedule:{outlined:()=>Promise.resolve().then(()=>require("./icons/schedule-DSheAoDO.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/schedule-DZ99H6m4.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/schedule-DEux9M-N.cjs"))},schedule_send:{outlined:()=>Promise.resolve().then(()=>require("./icons/schedule_send-Do__Ry6u.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/schedule_send-Cp3iC0Oh.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/schedule_send-Ci1iGXRR.cjs"))},school:{outlined:()=>Promise.resolve().then(()=>require("./icons/school-DjIfocA8.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/school-DIBNfqBw.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/school-UiU6b6fz.cjs"))},science:{outlined:()=>Promise.resolve().then(()=>require("./icons/science-DU8HpI5E.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/science-DduXLiLr.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/science-CPQsO82_.cjs"))},search:{outlined:()=>Promise.resolve().then(()=>require("./icons/search-B1H9b_cm.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/search-BryYopV4.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/search-ChtQjHCV.cjs"))},search_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/search_off-hK10qV9w.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/search_off-Ez3W0MtB.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/search_off-DKJlviq9.cjs"))},security:{outlined:()=>Promise.resolve().then(()=>require("./icons/security-CK8VfFnF.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/security-BieeAIQK.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/security-3FTT4sJq.cjs"))},select_all:{outlined:()=>Promise.resolve().then(()=>require("./icons/select_all-wO38Mugl.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/select_all-DkGq4MLr.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/select_all-CNzVtIaX.cjs"))},send:{outlined:()=>Promise.resolve().then(()=>require("./icons/send-CE0t-BeF.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/send-CSyvk2Uu.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/send-Da_IOaWi.cjs"))},send_and_archive:{outlined:()=>Promise.resolve().then(()=>require("./icons/send_and_archive-CIHEjPqZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/send_and_archive-x4Bd1yNd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/send_and_archive-BeBX1v9Y.cjs"))},settings:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings-Iczs8jeR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings-CMP5MFnV.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings-CLZ2Gtbf.cjs"))},settings_applications:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_applications-9HE_9rY_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_applications-BZAjwB0l.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_applications-BXuvrP6q.cjs"))},settings_backup_restore:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_backup_restore-D9TSfliZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_backup_restore-CuanjFW6.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_backup_restore-CyPIojJj.cjs"))},settings_bluetooth:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_bluetooth-DaGzD19J.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_bluetooth-xy6HQVpn.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_bluetooth-Cr6IHVRB.cjs"))},settings_brightness:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_brightness-bpZFSJhk.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_brightness-BkiTw384.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_brightness-DPr5MK-L.cjs"))},settings_ethernet:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_ethernet-CNSkOlVN.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_ethernet-BKUalwzq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_ethernet-BiUPH4Zl.cjs"))},settings_input_component:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_input_component-By5nACBS.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_input_component-BdohaMlR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_input_component-DlJfBGIJ.cjs"))},settings_input_hdmi:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_input_hdmi-C6AUSBbu.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_input_hdmi-CJf8K5vP.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_input_hdmi-B6RpJzAH.cjs"))},settings_input_svideo:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_input_svideo-DE-cJJ19.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_input_svideo-GoJKdcLM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_input_svideo-GdfkseMO.cjs"))},settings_overscan:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_overscan-t2ziBpx0.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_overscan-DjxVyh_p.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_overscan-CzZdrVff.cjs"))},settings_phone:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_phone-DSs4IMu3.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_phone-CdllR2_U.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_phone-DMkUqrcI.cjs"))},settings_power:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_power-Sy2yCFJ9.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_power-C0haok1N.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_power-DCmvdxnX.cjs"))},settings_remote:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_remote-BgSfe6Rf.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_remote-BkeWwusa.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_remote-BjJR-PZA.cjs"))},settings_voice:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_voice-CJKvIhG_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_voice-DKlyDHlF.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_voice-D5Vxz3H6.cjs"))},share:{outlined:()=>Promise.resolve().then(()=>require("./icons/share-4OI6GdPA.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/share-BUQun2WH.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/share-D3x5n12j.cjs"))},shield:{outlined:()=>Promise.resolve().then(()=>require("./icons/shield-BiW3E-iG.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shield-BeTHVkub.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shield-8LQV6fwO.cjs"))},shop:{outlined:()=>Promise.resolve().then(()=>require("./icons/shop-CQAvlAIJ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shop-CKc3vFoP.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shop-CvzOHG8i.cjs"))},shop_two:{outlined:()=>Promise.resolve().then(()=>require("./icons/shop_two-DxlMpmpg.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shop_two-B1EZi_d3.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shop_two-DAWsfPhY.cjs"))},shopping_bag:{outlined:()=>Promise.resolve().then(()=>require("./icons/shopping_bag-BLYLRVEo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shopping_bag-pW2CC5Wm.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shopping_bag-CsPqDtJv.cjs"))},shopping_cart:{outlined:()=>Promise.resolve().then(()=>require("./icons/shopping_cart-DnonQkQH.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shopping_cart-D-FNTU2X.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shopping_cart-Xj77jFuX.cjs"))},shopping_cart_checkout:{outlined:()=>Promise.resolve().then(()=>require("./icons/shopping_cart_checkout-X3I3ndRQ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shopping_cart_checkout-Ba3gAZZx.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shopping_cart_checkout-Biv5QNse.cjs"))},shuffle:{outlined:()=>Promise.resolve().then(()=>require("./icons/shuffle-DgSPEo4a.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shuffle-CJ1EAml3.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shuffle-_2AFO10D.cjs"))},signal_cellular_4_bar:{outlined:()=>Promise.resolve().then(()=>require("./icons/signal_cellular_4_bar-B2EfVIOU.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/signal_cellular_4_bar-BnGmWjbd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/signal_cellular_4_bar-tyWOuTIO.cjs"))},signal_wifi_4_bar:{outlined:()=>Promise.resolve().then(()=>require("./icons/signal_wifi_4_bar-BqhjBPKf.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/signal_wifi_4_bar-ACBg79Cd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/signal_wifi_4_bar-BI0IoDFE.cjs"))},sim_card:{outlined:()=>Promise.resolve().then(()=>require("./icons/sim_card-COkNXOTt.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/sim_card-CIcMNdr5.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/sim_card-BPL0trEZ.cjs"))},skip_next:{outlined:()=>Promise.resolve().then(()=>require("./icons/skip_next-CTaln24G.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/skip_next-BjR_Ru_X.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/skip_next-BS3qv6JB.cjs"))},skip_previous:{outlined:()=>Promise.resolve().then(()=>require("./icons/skip_previous-C3jUnkqV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/skip_previous-DupTvcKV.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/skip_previous-BKQnmbUY.cjs"))},smart_display:{outlined:()=>Promise.resolve().then(()=>require("./icons/smart_display-CGq_kFKP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/smart_display-CvQj8hVk.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/smart_display-BOW5QUcA.cjs"))},sms:{outlined:()=>Promise.resolve().then(()=>require("./icons/sms-Ch9Dn8Lm.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/sms-BujJufM4.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/sms-C0XjdHC5.cjs"))},speaker:{outlined:()=>Promise.resolve().then(()=>require("./icons/speaker-CV63iKYE.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/speaker-DsfaZMR_.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/speaker-B2MvjZAN.cjs"))},speed:{outlined:()=>Promise.resolve().then(()=>require("./icons/speed-D7NBKqG3.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/speed-CXhRyCN3.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/speed-Dj7IJmxS.cjs"))},spellcheck:{outlined:()=>Promise.resolve().then(()=>require("./icons/spellcheck-bravLujp.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/spellcheck-BF_frwVA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/spellcheck-bkyb6Y8s.cjs"))},splitscreen:{outlined:()=>Promise.resolve().then(()=>require("./icons/splitscreen-CWRxhPyh.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/splitscreen-BugC3AHX.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/splitscreen-CuTL4vMq.cjs"))},star:{outlined:()=>Promise.resolve().then(()=>require("./icons/star-71poZceL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/star-CdAMIKli.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/star-cWZAor5m.cjs"))},star_half:{outlined:()=>Promise.resolve().then(()=>require("./icons/star_half-BwQ25Xpr.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/star_half-D21K-e2D.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/star_half-BWK8UDKr.cjs"))},stars:{outlined:()=>Promise.resolve().then(()=>require("./icons/stars--dAqSWaT.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/stars-NYu-DZz9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/stars-Cyp7CBgv.cjs"))},stop:{outlined:()=>Promise.resolve().then(()=>require("./icons/stop-uwTugAuv.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/stop-CBeB_vzv.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/stop-BWqpBB4v.cjs"))},storage:{outlined:()=>Promise.resolve().then(()=>require("./icons/storage-CJ6k6H61.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/storage-YUkbXrS_.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/storage-zovKy4GK.cjs"))},store:{outlined:()=>Promise.resolve().then(()=>require("./icons/store-AytgGtla.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/store-CLKS8y8z.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/store-b7oiYjaT.cjs"))},storefront:{outlined:()=>Promise.resolve().then(()=>require("./icons/storefront-maPZQS5d.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/storefront-p8WcwK8a.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/storefront-C1xlNf7m.cjs"))},subtitles:{outlined:()=>Promise.resolve().then(()=>require("./icons/subtitles-CJ0WZ11D.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/subtitles-CweVpu7E.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/subtitles-DiEORnGT.cjs"))},support:{outlined:()=>Promise.resolve().then(()=>require("./icons/support-DZV0BDoT.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/support-DOeVw2Ol.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/support-C8IHRu3M.cjs"))},swap_horiz:{outlined:()=>Promise.resolve().then(()=>require("./icons/swap_horiz-CIHagp-O.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/swap_horiz-gBiaDATS.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/swap_horiz-DXxPNDOa.cjs"))},swap_vert:{outlined:()=>Promise.resolve().then(()=>require("./icons/swap_vert-CgI4ty66.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/swap_vert-CYo6e2hN.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/swap_vert-BIRQdp6w.cjs"))},swipe:{outlined:()=>Promise.resolve().then(()=>require("./icons/swipe-DNULZvdC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/swipe-CBmB5bVK.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/swipe-BEkT-xey.cjs"))},switch_access_shortcut:{outlined:()=>Promise.resolve().then(()=>require("./icons/switch_access_shortcut-q_7AaUE5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/switch_access_shortcut-4NHu-GzX.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/switch_access_shortcut-DlIlneXr.cjs"))},sync:{outlined:()=>Promise.resolve().then(()=>require("./icons/sync-c0eh9srx.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/sync-B8eDMIHY.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/sync-Bb15b-LY.cjs"))},tab:{outlined:()=>Promise.resolve().then(()=>require("./icons/tab-Br904I-x.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/tab-DoWIBjMF.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/tab-DcX5jSYD.cjs"))},tab_unselected:{outlined:()=>Promise.resolve().then(()=>require("./icons/tab_unselected-h_5qNQAy.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/tab_unselected-Jryi6UG7.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/tab_unselected-BnB9OpTQ.cjs"))},table_rows:{outlined:()=>Promise.resolve().then(()=>require("./icons/table_rows-DhopWxQ4.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/table_rows-CD8mGsGH.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/table_rows-DBST5uR7.cjs"))},tablet:{outlined:()=>Promise.resolve().then(()=>require("./icons/tablet-BPyP2a60.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/tablet-BObXzgDp.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/tablet-DEJSebWQ.cjs"))},tag:{outlined:()=>Promise.resolve().then(()=>require("./icons/tag-BKHmPW7O.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/tag-bOLfzkCK.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/tag-DeeBL365.cjs"))},task:{outlined:()=>Promise.resolve().then(()=>require("./icons/task-B9X6QTUq.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/task-DrKSPxAM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/task-CaXkBV5s.cjs"))},task_alt:{outlined:()=>Promise.resolve().then(()=>require("./icons/task_alt-DmM9U1Ld.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/task_alt-DuVPr61c.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/task_alt-BWpiiOPB.cjs"))},terminal:{outlined:()=>Promise.resolve().then(()=>require("./icons/terminal-Cq96EmHZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/terminal-9rECHy3F.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/terminal-UFxOCVAJ.cjs"))},text_fields:{outlined:()=>Promise.resolve().then(()=>require("./icons/text_fields-srTO6UAQ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/text_fields-MBNGOwpE.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/text_fields-31b2r-eh.cjs"))},thumb_down:{outlined:()=>Promise.resolve().then(()=>require("./icons/thumb_down-C-ZYO8aS.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/thumb_down-CXKcFuVv.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/thumb_down-B1EnDy9g.cjs"))},thumb_up:{outlined:()=>Promise.resolve().then(()=>require("./icons/thumb_up-CMK43jwc.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/thumb_up-BjnPL-vY.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/thumb_up-BJldcoTn.cjs"))},timeline:{outlined:()=>Promise.resolve().then(()=>require("./icons/timeline-BorNHWXs.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/timeline-DHqVljjl.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/timeline-DLlL3HNg.cjs"))},timer:{outlined:()=>Promise.resolve().then(()=>require("./icons/timer-C05SAUqw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/timer-CYZn5P7p.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/timer-B82U_DX8.cjs"))},toc:{outlined:()=>Promise.resolve().then(()=>require("./icons/toc-DhGghZ9I.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/toc-C84pl4PR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/toc-BtcPEvk6.cjs"))},today:{outlined:()=>Promise.resolve().then(()=>require("./icons/today-DzGPx-JC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/today-BkPPR4dh.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/today-BdVLVtYY.cjs"))},toggle_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/toggle_off-BDbSL0R3.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/toggle_off-BDH4j7_B.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/toggle_off-BKJ1oYkM.cjs"))},toggle_on:{outlined:()=>Promise.resolve().then(()=>require("./icons/toggle_on-Dl1NcDmP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/toggle_on-DURt0a-K.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/toggle_on-BcgFWI69.cjs"))},touch_app:{outlined:()=>Promise.resolve().then(()=>require("./icons/touch_app-BjCIP79F.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/touch_app-DYx-e9w1.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/touch_app-DMIySKht.cjs"))},tour:{outlined:()=>Promise.resolve().then(()=>require("./icons/tour-Cvtl9j2v.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/tour-D_mBWC4A.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/tour-DrIKd0iZ.cjs"))},track_changes:{outlined:()=>Promise.resolve().then(()=>require("./icons/track_changes-CrWcjG7M.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/track_changes-CmftMM7i.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/track_changes-2gWHhzk3.cjs"))},train:{outlined:()=>Promise.resolve().then(()=>require("./icons/train-bPZxRsaq.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/train-xbz9XQhb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/train-pWcRhKXA.cjs"))},translate:{outlined:()=>Promise.resolve().then(()=>require("./icons/translate-CYXRRxeY.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/translate-WCc3CLqx.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/translate-CPdtUGGD.cjs"))},trending_down:{outlined:()=>Promise.resolve().then(()=>require("./icons/trending_down-ImDCa4Jh.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/trending_down-DIbaV34v.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/trending_down-dZnaOW1J.cjs"))},trending_flat:{outlined:()=>Promise.resolve().then(()=>require("./icons/trending_flat-C1svR9KS.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/trending_flat-Br_PXO04.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/trending_flat-C4esyAhD.cjs"))},trending_up:{outlined:()=>Promise.resolve().then(()=>require("./icons/trending_up-Bgw7w8PT.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/trending_up-fksGS-GY.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/trending_up-DPd7c_Dq.cjs"))},troubleshoot:{outlined:()=>Promise.resolve().then(()=>require("./icons/troubleshoot-K7Bl_YaC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/troubleshoot-DI-EgiZK.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/troubleshoot-CZMhLPJh.cjs"))},unarchive:{outlined:()=>Promise.resolve().then(()=>require("./icons/unarchive-CO882sl0.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/unarchive-DyUoj8om.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/unarchive-D4LtLEle.cjs"))},undo:{outlined:()=>Promise.resolve().then(()=>require("./icons/undo-iQLEL8Zi.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/undo-CIwSY9GL.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/undo-C9xs6NjO.cjs"))},unfold_less:{outlined:()=>Promise.resolve().then(()=>require("./icons/unfold_less-LC-ftUfz.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/unfold_less-DxekXqvM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/unfold_less-BKOJLQlU.cjs"))},unfold_more:{outlined:()=>Promise.resolve().then(()=>require("./icons/unfold_more-BVL_GIHl.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/unfold_more-DIl3gTo7.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/unfold_more-Dlh3P3cv.cjs"))},update:{outlined:()=>Promise.resolve().then(()=>require("./icons/update-0Vhu6gl3.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/update-a1H2RXCn.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/update-BDOxUBTg.cjs"))},upgrade:{outlined:()=>Promise.resolve().then(()=>require("./icons/upgrade-CqKqDz1C.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/upgrade-x2gsVQIM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/upgrade-CdJyAFoI.cjs"))},upload:{outlined:()=>Promise.resolve().then(()=>require("./icons/upload-CMBoE1MT.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/upload-CfYL9Zr2.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/upload-BDW8-FNY.cjs"))},vaccines:{outlined:()=>Promise.resolve().then(()=>require("./icons/vaccines-C4f-r8y5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/vaccines-Dak3ypH-.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/vaccines-BgYSLR9w.cjs"))},verified:{outlined:()=>Promise.resolve().then(()=>require("./icons/verified-BPpdTMbw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/verified-BR7xxAQA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/verified-C1_3O9Pq.cjs"))},verified_user:{outlined:()=>Promise.resolve().then(()=>require("./icons/verified_user-B4cpofdT.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/verified_user-CHiaKWJQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/verified_user-LzxM0Ixt.cjs"))},view_agenda:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_agenda-wmPKBjy1.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_agenda-ChVSNVuJ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_agenda-BcCbU_Cx.cjs"))},view_array:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_array-4eH_Y-9C.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_array-u_DfgvOJ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_array-CtftT6bB.cjs"))},view_carousel:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_carousel-cKrqJhoI.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_carousel--ToJf94l.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_carousel-CjxIXwuR.cjs"))},view_column:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_column-CI58na9m.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_column-CGO0_VaN.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_column-CZfddZfP.cjs"))},view_day:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_day-BKQpPz70.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_day-BL7dG_71.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_day-D03WAaG1.cjs"))},view_headline:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_headline-bvoWlfSZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_headline-CEiHaTUb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_headline-zUGYSGF4.cjs"))},view_list:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_list-Cn16jlm_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_list-COkcexHQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_list-q6O6UQ8s.cjs"))},view_module:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_module-fdzeD45B.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_module-BIq8D_VI.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_module-Dugq4U2N.cjs"))},view_stream:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_stream-DY09WFyh.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_stream-Bok3MI-A.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_stream-BprhnLvm.cjs"))},view_week:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_week-BwVY-Gzo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_week-BIG9oES2.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_week-CVSaj-eg.cjs"))},visibility:{outlined:()=>Promise.resolve().then(()=>require("./icons/visibility-CcM0M7Ae.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/visibility-B_skKXCn.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/visibility-Du_QtShp.cjs"))},visibility_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/visibility_off-77O8Ixn_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/visibility_off-CQkbf0sH.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/visibility_off-DDSAECSN.cjs"))},voice_chat:{outlined:()=>Promise.resolve().then(()=>require("./icons/voice_chat-B2m86WSN.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/voice_chat-DA-inGEr.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/voice_chat-N9lzzPD3.cjs"))},volume_down:{outlined:()=>Promise.resolve().then(()=>require("./icons/volume_down-X8Fdb5GL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/volume_down-ormtJ6rA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/volume_down-xq98sRni.cjs"))},volume_mute:{outlined:()=>Promise.resolve().then(()=>require("./icons/volume_mute-Dg1Sad52.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/volume_mute-2JEExPCA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/volume_mute-BmLOt1AC.cjs"))},volume_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/volume_off-yubxzc3X.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/volume_off-BgpeewH8.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/volume_off-BrkBzaCw.cjs"))},volume_up:{outlined:()=>Promise.resolve().then(()=>require("./icons/volume_up-bP-cavNY.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/volume_up-DYrt4pXz.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/volume_up-CP5jPUnv.cjs"))},vpn_key:{outlined:()=>Promise.resolve().then(()=>require("./icons/vpn_key-DLw31EM4.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/vpn_key-DYrLYI7L.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/vpn_key-DepwbifQ.cjs"))},vpn_lock:{outlined:()=>Promise.resolve().then(()=>require("./icons/vpn_lock-CArd8FFH.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/vpn_lock-4HGysBa8.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/vpn_lock-DoxQ56X_.cjs"))},wallet:{outlined:()=>Promise.resolve().then(()=>require("./icons/wallet-D6d5LH8m.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/wallet-CGvvbyGf.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/wallet-D6lc8i2O.cjs"))},warning:{outlined:()=>Promise.resolve().then(()=>require("./icons/warning-3MXqZXik.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/warning-iht20xAd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/warning-BDqDQ0zE.cjs"))},watch:{outlined:()=>Promise.resolve().then(()=>require("./icons/watch-Dxwts4x_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/watch-C5XLco8t.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/watch-kEhspwOG.cjs"))},widgets:{outlined:()=>Promise.resolve().then(()=>require("./icons/widgets-DwrJqxGF.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/widgets-BXJ2Q2Ej.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/widgets-obimkiev.cjs"))},wifi:{outlined:()=>Promise.resolve().then(()=>require("./icons/wifi-DrroKwB8.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/wifi-2DytN2nN.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/wifi-BkLgmjTL.cjs"))},wifi_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/wifi_off-BaJM5EaE.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/wifi_off-Sfa-62fD.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/wifi_off-Dc0PhObG.cjs"))},work:{outlined:()=>Promise.resolve().then(()=>require("./icons/work-QooH-JpG.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/work-Do6SwFLt.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/work-D3tksTSD.cjs"))},zoom_in:{outlined:()=>Promise.resolve().then(()=>require("./icons/zoom_in-3A4joxuV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/zoom_in-DL9SEBJs.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/zoom_in-i6DpZCMO.cjs"))},zoom_out:{outlined:()=>Promise.resolve().then(()=>require("./icons/zoom_out-DGmKh370.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/zoom_out-DyYWanOO.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/zoom_out-CKPGeJDN.cjs"))}};console.log(Object.keys(ui));const At={};function uu(e){return{...e}}function fv(e){Object.assign(At,uu(e))}function hv(e){const t=uu(e);Object.keys(At).forEach(r=>{delete At[r]}),Object.assign(At,t)}function mv(){Object.keys(At).forEach(e=>{delete At[e]})}function pv(){const e=Object.keys(At),t=Object.keys(ui);return Array.from(new Set([...e,...t]))}function Ha(e){const{title:t,...r}=e;return c.jsx("svg",{viewBox:"0 0 24 24","aria-hidden":t?void 0:!0,role:t?"img":void 0,...r,children:t?c.jsx("title",{children:t}):null})}function vv(e,t){const r=At[e]??ui[e]??null;return r?t==="rounded"?r.rounded??r.outlined:t==="sharp"?r.sharp??r.outlined:r.outlined:null}function gv(e,t){return u.lazy(async()=>{const r=vv(e,t);if(!r)return{default:Ha};try{return{default:(await r()).default}}catch{return{default:Ha}}})}function Le(e){const{name:t,svg:r,src:n,variant:o="outlined",useColorAsFill:s=!1,size:i=24,color:a="currentColor",className:l,title:d}=e,f=u.useMemo(()=>gv(t??"",o),[t,o]),h=s?a:"currentColor";return r?c.jsx(r,{width:i,height:i,fill:h,color:a,className:l,title:d,focusable:"false","aria-hidden":d?void 0:!0}):n?c.jsx("img",{src:n,alt:d??"","aria-hidden":d?void 0:!0,className:l,style:{display:"inline-block",width:i,height:i}}):c.jsx(u.Suspense,{fallback:c.jsx("span",{"aria-hidden":"true",className:l,style:{display:"inline-block",width:i,height:i}}),children:c.jsx(f,{width:i,height:i,fill:h,color:a,className:l,title:d,focusable:"false","aria-hidden":d?void 0:!0})})}Le.displayName="Icon";let du=null;function Wa(e){du=e}function bv(){return du}const xv=200,yv={info:{icon:"info",iconColor:"#6b7280",role:"status",live:"polite"},success:{icon:"check_circle",iconColor:"#16a34a",role:"status",live:"polite"},warn:{icon:"warning",iconColor:"#d97706",role:"alert",live:"assertive"},error:{icon:"error",iconColor:"#dc2626",role:"alert",live:"assertive"}},fu=u.createContext(null);let Ga=0;function wv(){return Ga+=1,`ldkj-toast-${Date.now()}-${Ga}`}function Pv(e,t){return e.filter(r=>r.id!==t)}function Cv(e){const t=new Map;for(const r of e){const n=t.get(r.placement);n?n.push(r):t.set(r.placement,[r])}return t}function hu(e){const{children:t,placement:r="top",duration:n=3e3,queueLimit:o=5,reverse:s=!1}=e,[i,a]=u.useState([]),l=u.useRef(new Map),d=u.useRef(new Map),f=u.useCallback(g=>{const w=l.current.get(g);w!==void 0&&(window.clearTimeout(w),l.current.delete(g));const P=d.current.get(g);P!==void 0&&(window.clearTimeout(P),d.current.delete(g))},[]),h=u.useCallback(g=>{f(g),a(w=>Pv(w,g))},[f]),p=u.useCallback(g=>{f(g),a(P=>P.map(C=>C.id===g&&!C.leaving?{...C,leaving:!0}:C));const w=window.setTimeout(()=>{h(g)},xv);d.current.set(g,w)},[f,h]),m=u.useCallback(()=>{a(g=>(g.forEach(w=>f(w.id)),[]))},[f]),b=u.useCallback(g=>{const w=g.duration??n,P=g.id??wv(),C={id:P,message:g.message,type:g.type??"info",placement:g.placement??r,closable:g.closable??!0,icon:g.icon,iconColor:g.iconColor,leaving:!1};a(N=>{const q=[...N,C];if(q.length<=o)return q;const k=q.length-o;return q.slice(0,k).forEach(E=>f(E.id)),q.slice(k)});const S=window.setTimeout(()=>{p(P)},Math.max(w,0));return l.current.set(P,S),P},[f,p,n,r,o]);u.useEffect(()=>()=>{l.current.forEach(g=>window.clearTimeout(g)),d.current.forEach(g=>window.clearTimeout(g)),l.current.clear(),d.current.clear()},[]);const v=u.useMemo(()=>({push:b,dismiss:p,clear:m}),[m,p,b]);u.useEffect(()=>(Wa(v),()=>Wa(null)),[v]);const x=u.useMemo(()=>Cv(i),[i]),y=Array.from(x.keys());return c.jsxs(fu.Provider,{value:v,children:[t,y.map(g=>{const w=x.get(g)??[],P=s?[...w].reverse():w;return c.jsx("div",{className:j("ldkj-toast-viewport",`ldkj-toast-viewport-${g}`),"aria-hidden":P.length===0,children:P.map(C=>{const S=yv[C.type],N=C.iconColor??S.iconColor;return c.jsxs("div",{className:j("ldkj-toast-item",C.leaving?"ldkj-toast-leave":"ldkj-toast-appear"),role:S.role,"aria-live":S.live,"aria-atomic":"true",children:[typeof C.icon=="string"?c.jsx(Le,{name:C.icon,color:N,size:20,className:"ldkj-toast-icon",title:`${C.type} icon`}):C.icon?.svg||C.icon?.src?c.jsx(Le,{svg:C.icon.svg,src:C.icon.src,color:N,size:20,className:"ldkj-toast-icon",title:`${C.type} icon`}):c.jsx(Le,{name:S.icon,color:N,size:20,className:"ldkj-toast-icon",title:`${C.type} icon`}),c.jsx("div",{className:"ldkj-toast-message",children:C.message}),C.closable?c.jsx("button",{type:"button",className:"ldkj-toast-close","aria-label":"关闭提示",onClick:()=>p(C.id),children:c.jsx(Le,{name:"close",size:16,className:"ldkj-toast-close-icon"})}):null]},C.id)})},g)})]})}hu.displayName="ToastProvider";function Sv(){const e=u.useContext(fu);if(!e)throw new Error("useToast 必须在 ToastProvider 内使用。");const t=u.useCallback((i,a)=>e.push({message:i,...a}),[e]),r=u.useCallback((i,a)=>e.push({type:"info",message:i,...a}),[e]),n=u.useCallback((i,a)=>e.push({type:"success",message:i,...a}),[e]),o=u.useCallback((i,a)=>e.push({type:"warn",message:i,...a}),[e]),s=u.useCallback((i,a)=>e.push({type:"error",message:i,...a}),[e]);return u.useMemo(()=>({show:t,info:r,success:n,warn:o,error:s,dismiss:e.dismiss,clear:e.clear}),[e.clear,e.dismiss,s,r,t,n,o])}const jn={placement:"top",duration:3e3,closable:!0};let Ka=!1;const Xe={...jn};function mu(e){return{placement:e?.placement??Xe.placement,duration:e?.duration??Xe.duration,id:e?.id,closable:e?.closable??Xe.closable,icon:e?.icon,iconColor:e?.iconColor}}function Tn(){const e=bv();return e||(Ka||(Ka=!0,console.warn("toast 调用失败:请先在应用根节点挂载 ToastProvider。")),null)}function hn(e,t,r){const n=Tn();return n?n.push({type:e,message:t,...mu(r)}):""}const Nv={show(e,t){const r=Tn();return r?r.push({type:"info",message:typeof e=="string"?e:String(e),...mu(t)}):""},info(e,t){return hn("info",e,t)},success(e,t){return hn("success",e,t)},warn(e,t){return hn("warn",e,t)},error(e,t){return hn("error",e,t)},dismiss(e){const t=Tn();t&&t.dismiss(e)},clear(){const e=Tn();e&&e.clear()},config(e){Xe.placement=e.placement??Xe.placement,Xe.duration=e.duration??Xe.duration,Xe.closable=e.closable??Xe.closable},resetConfig(){Xe.placement=jn.placement,Xe.duration=jn.duration,Xe.closable=jn.closable}};function Ua(e){if(e!=null)return typeof e=="boolean"?e?"blur(5px)":void 0:typeof e=="number"?`blur(${e}px)`:`blur(${e})`}function di(e){const{open:t=!1,destroyOnClose:r=!1,closeOnMaskClick:n=!1,scrollable:o=!1,alpha:s=.5,blur:i,x:a="50%",y:l="50%",translateX:d="-50%",translateY:f="-50%",onClose:h,onOpen:p,className:m,class:b,style:v,sx:x,contentClassName:y,contentClass:g,contentStyle:w,contentSx:P,children:C,...S}=e,N=se(),{sxClassName:q,sxInlineStyle:k}=X(x,N),{sxClassName:T,sxInlineStyle:E}=X(P,N),R=u.useRef(!1);return u.useEffect(()=>{if(R.current){t?p?.():h?.();return}R.current=!0},[t,h,p]),u.useEffect(()=>{if(!t||o)return;const A=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=A}},[t,o]),!t&&r?null:c.jsx("div",{hidden:!t,className:j("fixed inset-0 z-[9999]",q,m,b),style:L({backgroundColor:`rgba(0, 0, 0, ${s})`,backdropFilter:Ua(i),WebkitBackdropFilter:Ua(i)},v,k),onTouchStart:A=>{o||(A.preventDefault(),A.stopPropagation())},onClick:()=>{n&&h?.()},...S,children:c.jsx("div",{className:j("absolute",T,y,g),style:L({left:a,top:l,transform:`translate(${d}, ${f})`},w,E),onClick:A=>{A.stopPropagation()},children:C})})}di.displayName="Modal";const pu=u.createContext(null),vu=u.createContext(null);function Zr(e){const t=u.useContext(pu);if(!t)throw new Error(`${e} 必须在 <Dialog> 内使用`);return t}function Dt(e){const t=se();return X(e,t)}function qv(e){const{open:t,defaultOpen:r=!1,onOpenChange:n}=e,o=t!==void 0,[s,i]=u.useState(r),a=o?t:s,l=u.useCallback(d=>{o||i(d),n?.(d)},[o,n]);return[a,l]}const kv=e=>{const{open:t,defaultOpen:r,onOpenChange:n,modal:o=!0,lockScroll:s=!0,destroyOnClose:i=!1,closeOnMaskClick:a=!0,scrollable:l=!1,children:d}=e,[f,h]=qv({open:t,defaultOpen:r,onOpenChange:n}),p=u.useMemo(()=>({open:f,setOpen:h,modal:o,lockScroll:s,destroyOnClose:i,closeOnMaskClick:a,scrollable:l}),[a,i,s,o,f,l,h]);return c.jsx(pu.Provider,{value:p,children:d})},fi=u.forwardRef((e,t)=>{const{setOpen:r}=Zr("DialogTrigger"),{asChild:n,asChildWrapper:o="span",className:s,class:i,sx:a,style:l,children:d,onClick:f,...h}=e,{sxClassName:p,sxInlineStyle:m}=Dt(a),b=v=>{f?.(v),!v.defaultPrevented&&r(!0)};return n?c.jsx(o,{ref:t,className:j("inline-flex w-fit",p,s,i),style:L(l,m),onClick:b,...h,children:d}):c.jsx("button",{ref:t,type:"button",className:j(p,s,i),style:L(l,m),onClick:b,...h,children:d})});fi.displayName="DialogTrigger";const hi=u.forwardRef((e,t)=>{const{setOpen:r}=Zr("DialogClose"),{asChild:n,asChildWrapper:o="span",className:s,class:i,sx:a,style:l,children:d,onClick:f,...h}=e,{sxClassName:p,sxInlineStyle:m}=Dt(a),b=v=>{f?.(v),!v.defaultPrevented&&r(!1)};return n?c.jsx(o,{ref:t,className:j("inline-flex w-fit",p,s,i),style:L(l,m),onClick:b,...h,children:d}):c.jsx("button",{ref:t,type:"button",className:j(p,s,i),style:L(l,m),onClick:b,...h,children:d})});hi.displayName="DialogClose";const gu=e=>{const{children:t,container:r}=e;if(typeof document>"u")return null;const n=r??document.body;return n?Yr.createPortal(t,n):null},mi=u.forwardRef((e,t)=>{const{open:r,destroyOnClose:n,closeOnMaskClick:o,setOpen:s}=Zr("DialogOverlay"),{className:i,class:a,sx:l,style:d,blur:f=!0,onClick:h,...p}=e,{sxClassName:m,sxInlineStyle:b}=Dt(l);return!r&&n?null:c.jsx("div",{ref:t,hidden:!r,"data-state":r?"open":"closed",className:j("fixed inset-0 z-50 bg-black/50",f?"backdrop-blur-[1px]":null,"data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",m,i,a),style:L(d,b),onClick:v=>{h?.(v),!v.defaultPrevented&&o&&s(!1)},...p})});mi.displayName="DialogOverlay";const pi=u.forwardRef((e,t)=>{const r=Zr("DialogContent"),{children:n,className:o,class:s,sx:i,style:a,showClose:l=!0,overlayClassName:d,overlaySx:f,overlayBlur:h=!0,onEscapeKeyDown:p,onPointerDownOutside:m,onOpenAutoFocus:b,onCloseAutoFocus:v,...x}=e,{sxClassName:y,sxInlineStyle:g}=Dt(i),w=u.useRef(null),P=u.useRef(r.open);u.useImperativeHandle(t,()=>w.current),u.useEffect(()=>{const q=P.current;if(!q&&r.open){const k=new Event("openAutoFocus",{cancelable:!0});b?.(k),k.defaultPrevented||w.current?.focus()}if(q&&!r.open){const k=new Event("closeAutoFocus",{cancelable:!0});v?.(k)}P.current=r.open},[r.open,v,b]),u.useEffect(()=>{if(!r.open)return;const q=k=>{k.key==="Escape"&&(p?.(k),!k.defaultPrevented&&r.setOpen(!1))};return window.addEventListener("keydown",q),()=>{window.removeEventListener("keydown",q)}},[r,p]);const C=r.lockScroll&&r.modal,S=r.scrollable||!C,N=r.modal&&r.closeOnMaskClick;return c.jsx(di,{open:r.open,destroyOnClose:r.destroyOnClose,closeOnMaskClick:N,scrollable:S,blur:h?1:!1,className:j("z-50","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",d),sx:f,onClose:()=>{const q=new PointerEvent("pointerdown",{bubbles:!0,cancelable:!0});m?.(q),q.defaultPrevented||r.setOpen(!1)},contentClassName:"z-50 w-[calc(100%-2rem)] max-w-lg",contentSx:void 0,x:"50%",y:"50%",translateX:"-50%",translateY:"-50%",children:c.jsx("div",{ref:w,role:"dialog","aria-modal":(!!r.modal).toString(),tabIndex:-1,"data-state":r.open?"open":"closed",className:j("relative grid gap-4 rounded-lg border border-slate-200 bg-white p-6 text-slate-950 shadow-xl outline-none","duration-200","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%]","data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",y,o,s),style:L(a,g),...x,children:c.jsx(vu.Provider,{value:{showClose:l},children:n})})})});pi.displayName="DialogContent";const vi=u.forwardRef((e,t)=>{const r=Zr("DialogHeader"),o=u.useContext(vu)?.showClose??!1,{className:s,class:i,sx:a,style:l,children:d,...f}=e,{sxClassName:h,sxInlineStyle:p}=Dt(a);return c.jsxs("div",{ref:t,className:j("flex items-start justify-between gap-3",h,s,i),style:L(l,p),...f,children:[c.jsx("div",{className:"flex min-w-0 flex-1 flex-col gap-1.5 text-center sm:text-left",children:d}),o?c.jsx("button",{type:"button",className:j("inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-md","text-slate-500 transition-colors hover:bg-slate-100 hover:text-slate-900","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2","disabled:pointer-events-none"),"aria-label":"关闭弹窗",onClick:()=>r.setOpen(!1),children:c.jsx(Le,{name:"close",size:16})}):null]})});vi.displayName="DialogHeader";const gi=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=Dt(o);return c.jsx("div",{ref:t,className:j("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",a,r,n),style:L(s,l),...i})});gi.displayName="DialogFooter";const bi=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=Dt(o);return c.jsx("h2",{ref:t,className:j("m-0 text-lg font-semibold leading-6 text-slate-950",a,r,n),style:L({margin:0,borderTop:0,paddingTop:0,letterSpacing:0,fontSize:"1.125rem",fontWeight:600,lineHeight:"1.5rem"},s,l),...i})});bi.displayName="DialogTitle";const xi=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=Dt(o);return c.jsx("p",{ref:t,className:j("m-0 text-sm leading-5 text-slate-600",a,r,n),style:L({margin:0,fontSize:"0.875rem",lineHeight:"1.25rem"},s,l),...i})});xi.displayName="DialogDescription";const Ev=Object.assign(kv,{Trigger:fi,Portal:gu,Close:hi,Overlay:mi,Content:pi,Header:vi,Footer:gi,Title:bi,Description:xi});function ce(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),r===!1||!o.defaultPrevented)return t?.(o)}}function Ya(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function yi(...e){return t=>{let r=!1;const n=e.map(o=>{const s=Ya(o,t);return!r&&typeof s=="function"&&(r=!0),s});if(r)return()=>{for(let o=0;o<n.length;o++){const s=n[o];typeof s=="function"?s():Ya(e[o],null)}}}}function ke(...e){return u.useCallback(yi(...e),e)}function rt(e,t=[]){let r=[];function n(s,i){const a=u.createContext(i),l=r.length;r=[...r,i];const d=h=>{const{scope:p,children:m,...b}=h,v=p?.[e]?.[l]||a,x=u.useMemo(()=>b,Object.values(b));return c.jsx(v.Provider,{value:x,children:m})};d.displayName=s+"Provider";function f(h,p){const m=p?.[e]?.[l]||a,b=u.useContext(m);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${h}\` must be used within \`${s}\``)}return[d,f]}const o=()=>{const s=r.map(i=>u.createContext(i));return function(a){const l=a?.[e]||s;return u.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[n,Rv(o,...t)]}function Rv(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=n.reduce((a,{useScope:l,scopeName:d})=>{const h=l(s)[`__scope${d}`];return{...a,...h}},{});return u.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function zr(e){const t=jv(e),r=u.forwardRef((n,o)=>{const{children:s,...i}=n,a=u.Children.toArray(s),l=a.find(Av);if(l){const d=l.props.children,f=a.map(h=>h===l?u.Children.count(d)>1?u.Children.only(null):u.isValidElement(d)?d.props.children:null:h);return c.jsx(t,{...i,ref:o,children:u.isValidElement(d)?u.cloneElement(d,void 0,f):null})}return c.jsx(t,{...i,ref:o,children:s})});return r.displayName=`${e}.Slot`,r}function jv(e){const t=u.forwardRef((r,n)=>{const{children:o,...s}=r;if(u.isValidElement(o)){const i=Iv(o),a=_v(s,o.props);return o.type!==u.Fragment&&(a.ref=n?yi(n,i):i),u.cloneElement(o,a)}return u.Children.count(o)>1?u.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var bu=Symbol("radix.slottable");function Tv(e){const t=({children:r})=>c.jsx(c.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=bu,t}function Av(e){return u.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===bu}function _v(e,t){const r={...t};for(const n in t){const o=e[n],s=t[n];/^on[A-Z]/.test(n)?o&&s?r[n]=(...a)=>{const l=s(...a);return o(...a),l}:o&&(r[n]=o):n==="style"?r[n]={...o,...s}:n==="className"&&(r[n]=[o,s].filter(Boolean).join(" "))}return{...e,...r}}function Iv(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Ov=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],be=Ov.reduce((e,t)=>{const r=zr(`Primitive.${t}`),n=u.forwardRef((o,s)=>{const{asChild:i,...a}=o,l=i?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(l,{...a,ref:s})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function Mv(e,t){e&&Yr.flushSync(()=>e.dispatchEvent(t))}function gt(e){const t=u.useRef(e);return u.useEffect(()=>{t.current=e}),u.useMemo(()=>(...r)=>t.current?.(...r),[])}function Lv(e,t=globalThis?.document){const r=gt(e);u.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}var Dv="DismissableLayer",Os="dismissableLayer.update",Bv="dismissableLayer.pointerDownOutside",Fv="dismissableLayer.focusOutside",Xa,xu=u.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ro=u.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:a,...l}=e,d=u.useContext(xu),[f,h]=u.useState(null),p=f?.ownerDocument??globalThis?.document,[,m]=u.useState({}),b=ke(t,N=>h(N)),v=Array.from(d.layers),[x]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),y=v.indexOf(x),g=f?v.indexOf(f):-1,w=d.layersWithOutsidePointerEventsDisabled.size>0,P=g>=y,C=zv(N=>{const q=N.target,k=[...d.branches].some(T=>T.contains(q));!P||k||(o?.(N),i?.(N),N.defaultPrevented||a?.())},p),S=Hv(N=>{const q=N.target;[...d.branches].some(T=>T.contains(q))||(s?.(N),i?.(N),N.defaultPrevented||a?.())},p);return Lv(N=>{g===d.layers.size-1&&(n?.(N),!N.defaultPrevented&&a&&(N.preventDefault(),a()))},p),u.useEffect(()=>{if(f)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Xa=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),Ja(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=Xa)}},[f,p,r,d]),u.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),Ja())},[f,d]),u.useEffect(()=>{const N=()=>m({});return document.addEventListener(Os,N),()=>document.removeEventListener(Os,N)},[]),c.jsx(be.div,{...l,ref:b,style:{pointerEvents:w?P?"auto":"none":void 0,...e.style},onFocusCapture:ce(e.onFocusCapture,S.onFocusCapture),onBlurCapture:ce(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:ce(e.onPointerDownCapture,C.onPointerDownCapture)})});ro.displayName=Dv;var $v="DismissableLayerBranch",Vv=u.forwardRef((e,t)=>{const r=u.useContext(xu),n=u.useRef(null),o=ke(t,n);return u.useEffect(()=>{const s=n.current;if(s)return r.branches.add(s),()=>{r.branches.delete(s)}},[r.branches]),c.jsx(be.div,{...e,ref:o})});Vv.displayName=$v;function zv(e,t=globalThis?.document){const r=gt(e),n=u.useRef(!1),o=u.useRef(()=>{});return u.useEffect(()=>{const s=a=>{if(a.target&&!n.current){let l=function(){yu(Bv,r,d,{discrete:!0})};const d={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function Hv(e,t=globalThis?.document){const r=gt(e),n=u.useRef(!1);return u.useEffect(()=>{const o=s=>{s.target&&!n.current&&yu(Fv,r,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function Ja(){const e=new CustomEvent(Os);document.dispatchEvent(e)}function yu(e,t,r,{discrete:n}){const o=r.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?Mv(o,s):o.dispatchEvent(s)}var Mo=0;function wu(){u.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Qa()),document.body.insertAdjacentElement("beforeend",e[1]??Qa()),Mo++,()=>{Mo===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Mo--}},[])}function Qa(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Lo="focusScope.autoFocusOnMount",Do="focusScope.autoFocusOnUnmount",Za={bubbles:!1,cancelable:!0},Wv="FocusScope",wi=u.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...i}=e,[a,l]=u.useState(null),d=gt(o),f=gt(s),h=u.useRef(null),p=ke(t,v=>l(v)),m=u.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;u.useEffect(()=>{if(n){let v=function(w){if(m.paused||!a)return;const P=w.target;a.contains(P)?h.current=P:jt(h.current,{select:!0})},x=function(w){if(m.paused||!a)return;const P=w.relatedTarget;P!==null&&(a.contains(P)||jt(h.current,{select:!0}))},y=function(w){if(document.activeElement===document.body)for(const C of w)C.removedNodes.length>0&&jt(a)};document.addEventListener("focusin",v),document.addEventListener("focusout",x);const g=new MutationObserver(y);return a&&g.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",x),g.disconnect()}}},[n,a,m.paused]),u.useEffect(()=>{if(a){tl.add(m);const v=document.activeElement;if(!a.contains(v)){const y=new CustomEvent(Lo,Za);a.addEventListener(Lo,d),a.dispatchEvent(y),y.defaultPrevented||(Gv(Jv(Pu(a)),{select:!0}),document.activeElement===v&&jt(a))}return()=>{a.removeEventListener(Lo,d),setTimeout(()=>{const y=new CustomEvent(Do,Za);a.addEventListener(Do,f),a.dispatchEvent(y),y.defaultPrevented||jt(v??document.body,{select:!0}),a.removeEventListener(Do,f),tl.remove(m)},0)}}},[a,d,f,m]);const b=u.useCallback(v=>{if(!r&&!n||m.paused)return;const x=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,y=document.activeElement;if(x&&y){const g=v.currentTarget,[w,P]=Kv(g);w&&P?!v.shiftKey&&y===P?(v.preventDefault(),r&&jt(w,{select:!0})):v.shiftKey&&y===w&&(v.preventDefault(),r&&jt(P,{select:!0})):y===g&&v.preventDefault()}},[r,n,m.paused]);return c.jsx(be.div,{tabIndex:-1,...i,ref:p,onKeyDown:b})});wi.displayName=Wv;function Gv(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(jt(n,{select:t}),document.activeElement!==r)return}function Kv(e){const t=Pu(e),r=el(t,e),n=el(t.reverse(),e);return[r,n]}function Pu(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function el(e,t){for(const r of e)if(!Uv(r,{upTo:t}))return r}function Uv(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Yv(e){return e instanceof HTMLInputElement&&"select"in e}function jt(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Yv(e)&&t&&e.select()}}var tl=Xv();function Xv(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=rl(e,t),e.unshift(t)},remove(t){e=rl(e,t),e[0]?.resume()}}}function rl(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function Jv(e){return e.filter(t=>t.tagName!=="A")}var De=globalThis?.document?u.useLayoutEffect:()=>{},Qv=u[" useId ".trim().toString()]||(()=>{}),Zv=0;function tr(e){const[t,r]=u.useState(Qv());return De(()=>{r(n=>n??String(Zv++))},[e]),e||(t?`radix-${t}`:"")}const eg=["top","right","bottom","left"],It=Math.min,Ge=Math.max,Vn=Math.round,mn=Math.floor,dt=e=>({x:e,y:e}),tg={left:"right",right:"left",bottom:"top",top:"bottom"};function Ms(e,t,r){return Ge(e,It(t,r))}function bt(e,t){return typeof e=="function"?e(t):e}function xt(e){return e.split("-")[0]}function wr(e){return e.split("-")[1]}function Pi(e){return e==="x"?"y":"x"}function Ci(e){return e==="y"?"height":"width"}function ct(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Si(e){return Pi(ct(e))}function rg(e,t,r){r===void 0&&(r=!1);const n=wr(e),o=Si(e),s=Ci(o);let i=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=zn(i)),[i,zn(i)]}function ng(e){const t=zn(e);return[Ls(e),t,Ls(t)]}function Ls(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const nl=["left","right"],ol=["right","left"],og=["top","bottom"],sg=["bottom","top"];function ig(e,t,r){switch(e){case"top":case"bottom":return r?t?ol:nl:t?nl:ol;case"left":case"right":return t?og:sg;default:return[]}}function ag(e,t,r,n){const o=wr(e);let s=ig(xt(e),r==="start",n);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(Ls)))),s}function zn(e){const t=xt(e);return tg[t]+e.slice(t.length)}function lg(e){return{top:0,right:0,bottom:0,left:0,...e}}function Cu(e){return typeof e!="number"?lg(e):{top:e,right:e,bottom:e,left:e}}function Hn(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function sl(e,t,r){let{reference:n,floating:o}=e;const s=ct(t),i=Si(t),a=Ci(i),l=xt(t),d=s==="y",f=n.x+n.width/2-o.width/2,h=n.y+n.height/2-o.height/2,p=n[a]/2-o[a]/2;let m;switch(l){case"top":m={x:f,y:n.y-o.height};break;case"bottom":m={x:f,y:n.y+n.height};break;case"right":m={x:n.x+n.width,y:h};break;case"left":m={x:n.x-o.width,y:h};break;default:m={x:n.x,y:n.y}}switch(wr(t)){case"start":m[i]-=p*(r&&d?-1:1);break;case"end":m[i]+=p*(r&&d?-1:1);break}return m}async function cg(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:s,rects:i,elements:a,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:p=!1,padding:m=0}=bt(t,e),b=Cu(m),x=a[p?h==="floating"?"reference":"floating":h],y=Hn(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(x)))==null||r?x:x.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:d,rootBoundary:f,strategy:l})),g=h==="floating"?{x:n,y:o,width:i.floating.width,height:i.floating.height}:i.reference,w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),P=await(s.isElement==null?void 0:s.isElement(w))?await(s.getScale==null?void 0:s.getScale(w))||{x:1,y:1}:{x:1,y:1},C=Hn(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:w,strategy:l}):g);return{top:(y.top-C.top+b.top)/P.y,bottom:(C.bottom-y.bottom+b.bottom)/P.y,left:(y.left-C.left+b.left)/P.x,right:(C.right-y.right+b.right)/P.x}}const ug=50,dg=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:s=[],platform:i}=r,a=i.detectOverflow?i:{...i,detectOverflow:cg},l=await(i.isRTL==null?void 0:i.isRTL(t));let d=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:h}=sl(d,n,l),p=n,m=0;const b={};for(let v=0;v<s.length;v++){const x=s[v];if(!x)continue;const{name:y,fn:g}=x,{x:w,y:P,data:C,reset:S}=await g({x:f,y:h,initialPlacement:n,placement:p,strategy:o,middlewareData:b,rects:d,platform:a,elements:{reference:e,floating:t}});f=w??f,h=P??h,b[y]={...b[y],...C},S&&m<ug&&(m++,typeof S=="object"&&(S.placement&&(p=S.placement),S.rects&&(d=S.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):S.rects),{x:f,y:h}=sl(d,p,l)),v=-1)}return{x:f,y:h,placement:p,strategy:o,middlewareData:b}},fg=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:s,platform:i,elements:a,middlewareData:l}=t,{element:d,padding:f=0}=bt(e,t)||{};if(d==null)return{};const h=Cu(f),p={x:r,y:n},m=Si(o),b=Ci(m),v=await i.getDimensions(d),x=m==="y",y=x?"top":"left",g=x?"bottom":"right",w=x?"clientHeight":"clientWidth",P=s.reference[b]+s.reference[m]-p[m]-s.floating[b],C=p[m]-s.reference[m],S=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d));let N=S?S[w]:0;(!N||!await(i.isElement==null?void 0:i.isElement(S)))&&(N=a.floating[w]||s.floating[b]);const q=P/2-C/2,k=N/2-v[b]/2-1,T=It(h[y],k),E=It(h[g],k),R=T,A=N-v[b]-E,_=N/2-v[b]/2+q,O=Ms(R,_,A),I=!l.arrow&&wr(o)!=null&&_!==O&&s.reference[b]/2-(_<R?T:E)-v[b]/2<0,$=I?_<R?_-R:_-A:0;return{[m]:p[m]+$,data:{[m]:O,centerOffset:_-O-$,...I&&{alignmentOffset:$}},reset:I}}}),hg=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:l,elements:d}=t,{mainAxis:f=!0,crossAxis:h=!0,fallbackPlacements:p,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:v=!0,...x}=bt(e,t);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const y=xt(o),g=ct(a),w=xt(a)===a,P=await(l.isRTL==null?void 0:l.isRTL(d.floating)),C=p||(w||!v?[zn(a)]:ng(a)),S=b!=="none";!p&&S&&C.push(...ag(a,v,b,P));const N=[a,...C],q=await l.detectOverflow(t,x),k=[];let T=((n=s.flip)==null?void 0:n.overflows)||[];if(f&&k.push(q[y]),h){const _=rg(o,i,P);k.push(q[_[0]],q[_[1]])}if(T=[...T,{placement:o,overflows:k}],!k.every(_=>_<=0)){var E,R;const _=(((E=s.flip)==null?void 0:E.index)||0)+1,O=N[_];if(O&&(!(h==="alignment"?g!==ct(O):!1)||T.every(M=>ct(M.placement)===g?M.overflows[0]>0:!0)))return{data:{index:_,overflows:T},reset:{placement:O}};let I=(R=T.filter($=>$.overflows[0]<=0).sort(($,M)=>$.overflows[1]-M.overflows[1])[0])==null?void 0:R.placement;if(!I)switch(m){case"bestFit":{var A;const $=(A=T.filter(M=>{if(S){const U=ct(M.placement);return U===g||U==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(U=>U>0).reduce((U,D)=>U+D,0)]).sort((M,U)=>M[1]-U[1])[0])==null?void 0:A[0];$&&(I=$);break}case"initialPlacement":I=a;break}if(o!==I)return{reset:{placement:I}}}return{}}}};function il(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function al(e){return eg.some(t=>e[t]>=0)}const mg=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r,platform:n}=t,{strategy:o="referenceHidden",...s}=bt(e,t);switch(o){case"referenceHidden":{const i=await n.detectOverflow(t,{...s,elementContext:"reference"}),a=il(i,r.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:al(a)}}}case"escaped":{const i=await n.detectOverflow(t,{...s,altBoundary:!0}),a=il(i,r.floating);return{data:{escapedOffsets:a,escaped:al(a)}}}default:return{}}}}},Su=new Set(["left","top"]);async function pg(e,t){const{placement:r,platform:n,elements:o}=e,s=await(n.isRTL==null?void 0:n.isRTL(o.floating)),i=xt(r),a=wr(r),l=ct(r)==="y",d=Su.has(i)?-1:1,f=s&&l?-1:1,h=bt(t,e);let{mainAxis:p,crossAxis:m,alignmentAxis:b}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&typeof b=="number"&&(m=a==="end"?b*-1:b),l?{x:m*f,y:p*d}:{x:p*d,y:m*f}}const vg=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:s,placement:i,middlewareData:a}=t,l=await pg(t,e);return i===((r=a.offset)==null?void 0:r.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:{...l,placement:i}}}}},gg=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o,platform:s}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:y=>{let{x:g,y:w}=y;return{x:g,y:w}}},...d}=bt(e,t),f={x:r,y:n},h=await s.detectOverflow(t,d),p=ct(xt(o)),m=Pi(p);let b=f[m],v=f[p];if(i){const y=m==="y"?"top":"left",g=m==="y"?"bottom":"right",w=b+h[y],P=b-h[g];b=Ms(w,b,P)}if(a){const y=p==="y"?"top":"left",g=p==="y"?"bottom":"right",w=v+h[y],P=v-h[g];v=Ms(w,v,P)}const x=l.fn({...t,[m]:b,[p]:v});return{...x,data:{x:x.x-r,y:x.y-n,enabled:{[m]:i,[p]:a}}}}}},bg=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:s,middlewareData:i}=t,{offset:a=0,mainAxis:l=!0,crossAxis:d=!0}=bt(e,t),f={x:r,y:n},h=ct(o),p=Pi(h);let m=f[p],b=f[h];const v=bt(a,t),x=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const w=p==="y"?"height":"width",P=s.reference[p]-s.floating[w]+x.mainAxis,C=s.reference[p]+s.reference[w]-x.mainAxis;m<P?m=P:m>C&&(m=C)}if(d){var y,g;const w=p==="y"?"width":"height",P=Su.has(xt(o)),C=s.reference[h]-s.floating[w]+(P&&((y=i.offset)==null?void 0:y[h])||0)+(P?0:x.crossAxis),S=s.reference[h]+s.reference[w]+(P?0:((g=i.offset)==null?void 0:g[h])||0)-(P?x.crossAxis:0);b<C?b=C:b>S&&(b=S)}return{[p]:m,[h]:b}}}},xg=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:o,rects:s,platform:i,elements:a}=t,{apply:l=()=>{},...d}=bt(e,t),f=await i.detectOverflow(t,d),h=xt(o),p=wr(o),m=ct(o)==="y",{width:b,height:v}=s.floating;let x,y;h==="top"||h==="bottom"?(x=h,y=p===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(y=h,x=p==="end"?"top":"bottom");const g=v-f.top-f.bottom,w=b-f.left-f.right,P=It(v-f[x],g),C=It(b-f[y],w),S=!t.middlewareData.shift;let N=P,q=C;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(q=w),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(N=g),S&&!p){const T=Ge(f.left,0),E=Ge(f.right,0),R=Ge(f.top,0),A=Ge(f.bottom,0);m?q=b-2*(T!==0||E!==0?T+E:Ge(f.left,f.right)):N=v-2*(R!==0||A!==0?R+A:Ge(f.top,f.bottom))}await l({...t,availableWidth:q,availableHeight:N});const k=await i.getDimensions(a.floating);return b!==k.width||v!==k.height?{reset:{rects:!0}}:{}}}};function no(){return typeof window<"u"}function Pr(e){return Nu(e)?(e.nodeName||"").toLowerCase():"#document"}function Ue(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ft(e){var t;return(t=(Nu(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Nu(e){return no()?e instanceof Node||e instanceof Ue(e).Node:!1}function et(e){return no()?e instanceof Element||e instanceof Ue(e).Element:!1}function wt(e){return no()?e instanceof HTMLElement||e instanceof Ue(e).HTMLElement:!1}function ll(e){return!no()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ue(e).ShadowRoot}function en(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=tt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&o!=="inline"&&o!=="contents"}function yg(e){return/^(table|td|th)$/.test(Pr(e))}function oo(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const wg=/transform|translate|scale|rotate|perspective|filter/,Pg=/paint|layout|strict|content/,Wt=e=>!!e&&e!=="none";let Bo;function Ni(e){const t=et(e)?tt(e):e;return Wt(t.transform)||Wt(t.translate)||Wt(t.scale)||Wt(t.rotate)||Wt(t.perspective)||!qi()&&(Wt(t.backdropFilter)||Wt(t.filter))||wg.test(t.willChange||"")||Pg.test(t.contain||"")}function Cg(e){let t=Ot(e);for(;wt(t)&&!pr(t);){if(Ni(t))return t;if(oo(t))return null;t=Ot(t)}return null}function qi(){return Bo==null&&(Bo=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Bo}function pr(e){return/^(html|body|#document)$/.test(Pr(e))}function tt(e){return Ue(e).getComputedStyle(e)}function so(e){return et(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ot(e){if(Pr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ll(e)&&e.host||ft(e);return ll(t)?t.host:t}function qu(e){const t=Ot(e);return pr(t)?e.ownerDocument?e.ownerDocument.body:e.body:wt(t)&&en(t)?t:qu(t)}function Hr(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=qu(e),s=o===((n=e.ownerDocument)==null?void 0:n.body),i=Ue(o);if(s){const a=Ds(i);return t.concat(i,i.visualViewport||[],en(o)?o:[],a&&r?Hr(a):[])}else return t.concat(o,Hr(o,[],r))}function Ds(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ku(e){const t=tt(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=wt(e),s=o?e.offsetWidth:r,i=o?e.offsetHeight:n,a=Vn(r)!==s||Vn(n)!==i;return a&&(r=s,n=i),{width:r,height:n,$:a}}function ki(e){return et(e)?e:e.contextElement}function fr(e){const t=ki(e);if(!wt(t))return dt(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:s}=ku(t);let i=(s?Vn(r.width):r.width)/n,a=(s?Vn(r.height):r.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const Sg=dt(0);function Eu(e){const t=Ue(e);return!qi()||!t.visualViewport?Sg:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ng(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Ue(e)?!1:t}function Xt(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),s=ki(e);let i=dt(1);t&&(n?et(n)&&(i=fr(n)):i=fr(e));const a=Ng(s,r,n)?Eu(s):dt(0);let l=(o.left+a.x)/i.x,d=(o.top+a.y)/i.y,f=o.width/i.x,h=o.height/i.y;if(s){const p=Ue(s),m=n&&et(n)?Ue(n):n;let b=p,v=Ds(b);for(;v&&n&&m!==b;){const x=fr(v),y=v.getBoundingClientRect(),g=tt(v),w=y.left+(v.clientLeft+parseFloat(g.paddingLeft))*x.x,P=y.top+(v.clientTop+parseFloat(g.paddingTop))*x.y;l*=x.x,d*=x.y,f*=x.x,h*=x.y,l+=w,d+=P,b=Ue(v),v=Ds(b)}}return Hn({width:f,height:h,x:l,y:d})}function io(e,t){const r=so(e).scrollLeft;return t?t.left+r:Xt(ft(e)).left+r}function Ru(e,t){const r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-io(e,r),o=r.top+t.scrollTop;return{x:n,y:o}}function qg(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const s=o==="fixed",i=ft(n),a=t?oo(t.floating):!1;if(n===i||a&&s)return r;let l={scrollLeft:0,scrollTop:0},d=dt(1);const f=dt(0),h=wt(n);if((h||!h&&!s)&&((Pr(n)!=="body"||en(i))&&(l=so(n)),h)){const m=Xt(n);d=fr(n),f.x=m.x+n.clientLeft,f.y=m.y+n.clientTop}const p=i&&!h&&!s?Ru(i,l):dt(0);return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-l.scrollLeft*d.x+f.x+p.x,y:r.y*d.y-l.scrollTop*d.y+f.y+p.y}}function kg(e){return Array.from(e.getClientRects())}function Eg(e){const t=ft(e),r=so(e),n=e.ownerDocument.body,o=Ge(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=Ge(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let i=-r.scrollLeft+io(e);const a=-r.scrollTop;return tt(n).direction==="rtl"&&(i+=Ge(t.clientWidth,n.clientWidth)-o),{width:o,height:s,x:i,y:a}}const cl=25;function Rg(e,t){const r=Ue(e),n=ft(e),o=r.visualViewport;let s=n.clientWidth,i=n.clientHeight,a=0,l=0;if(o){s=o.width,i=o.height;const f=qi();(!f||f&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}const d=io(n);if(d<=0){const f=n.ownerDocument,h=f.body,p=getComputedStyle(h),m=f.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,b=Math.abs(n.clientWidth-h.clientWidth-m);b<=cl&&(s-=b)}else d<=cl&&(s+=d);return{width:s,height:i,x:a,y:l}}function jg(e,t){const r=Xt(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,s=wt(e)?fr(e):dt(1),i=e.clientWidth*s.x,a=e.clientHeight*s.y,l=o*s.x,d=n*s.y;return{width:i,height:a,x:l,y:d}}function ul(e,t,r){let n;if(t==="viewport")n=Rg(e,r);else if(t==="document")n=Eg(ft(e));else if(et(t))n=jg(t,r);else{const o=Eu(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Hn(n)}function ju(e,t){const r=Ot(e);return r===t||!et(r)||pr(r)?!1:tt(r).position==="fixed"||ju(r,t)}function Tg(e,t){const r=t.get(e);if(r)return r;let n=Hr(e,[],!1).filter(a=>et(a)&&Pr(a)!=="body"),o=null;const s=tt(e).position==="fixed";let i=s?Ot(e):e;for(;et(i)&&!pr(i);){const a=tt(i),l=Ni(i);!l&&a.position==="fixed"&&(o=null),(s?!l&&!o:!l&&a.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||en(i)&&!l&&ju(e,i))?n=n.filter(f=>f!==i):o=a,i=Ot(i)}return t.set(e,n),n}function Ag(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const i=[...r==="clippingAncestors"?oo(t)?[]:Tg(t,this._c):[].concat(r),n],a=ul(t,i[0],o);let l=a.top,d=a.right,f=a.bottom,h=a.left;for(let p=1;p<i.length;p++){const m=ul(t,i[p],o);l=Ge(m.top,l),d=It(m.right,d),f=It(m.bottom,f),h=Ge(m.left,h)}return{width:d-h,height:f-l,x:h,y:l}}function _g(e){const{width:t,height:r}=ku(e);return{width:t,height:r}}function Ig(e,t,r){const n=wt(t),o=ft(t),s=r==="fixed",i=Xt(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=dt(0);function d(){l.x=io(o)}if(n||!n&&!s)if((Pr(t)!=="body"||en(o))&&(a=so(t)),n){const m=Xt(t,!0,s,t);l.x=m.x+t.clientLeft,l.y=m.y+t.clientTop}else o&&d();s&&!n&&o&&d();const f=o&&!n&&!s?Ru(o,a):dt(0),h=i.left+a.scrollLeft-l.x-f.x,p=i.top+a.scrollTop-l.y-f.y;return{x:h,y:p,width:i.width,height:i.height}}function Fo(e){return tt(e).position==="static"}function dl(e,t){if(!wt(e)||tt(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return ft(e)===r&&(r=r.ownerDocument.body),r}function Tu(e,t){const r=Ue(e);if(oo(e))return r;if(!wt(e)){let o=Ot(e);for(;o&&!pr(o);){if(et(o)&&!Fo(o))return o;o=Ot(o)}return r}let n=dl(e,t);for(;n&&yg(n)&&Fo(n);)n=dl(n,t);return n&&pr(n)&&Fo(n)&&!Ni(n)?r:n||Cg(e)||r}const Og=async function(e){const t=this.getOffsetParent||Tu,r=this.getDimensions,n=await r(e.floating);return{reference:Ig(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Mg(e){return tt(e).direction==="rtl"}const Lg={convertOffsetParentRelativeRectToViewportRelativeRect:qg,getDocumentElement:ft,getClippingRect:Ag,getOffsetParent:Tu,getElementRects:Og,getClientRects:kg,getDimensions:_g,getScale:fr,isElement:et,isRTL:Mg};function Au(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Dg(e,t){let r=null,n;const o=ft(e);function s(){var a;clearTimeout(n),(a=r)==null||a.disconnect(),r=null}function i(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const d=e.getBoundingClientRect(),{left:f,top:h,width:p,height:m}=d;if(a||t(),!p||!m)return;const b=mn(h),v=mn(o.clientWidth-(f+p)),x=mn(o.clientHeight-(h+m)),y=mn(f),w={rootMargin:-b+"px "+-v+"px "+-x+"px "+-y+"px",threshold:Ge(0,It(1,l))||1};let P=!0;function C(S){const N=S[0].intersectionRatio;if(N!==l){if(!P)return i();N?i(!1,N):n=setTimeout(()=>{i(!1,1e-7)},1e3)}N===1&&!Au(d,e.getBoundingClientRect())&&i(),P=!1}try{r=new IntersectionObserver(C,{...w,root:o.ownerDocument})}catch{r=new IntersectionObserver(C,w)}r.observe(e)}return i(!0),s}function Bg(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,d=ki(e),f=o||s?[...d?Hr(d):[],...t?Hr(t):[]]:[];f.forEach(y=>{o&&y.addEventListener("scroll",r,{passive:!0}),s&&y.addEventListener("resize",r)});const h=d&&a?Dg(d,r):null;let p=-1,m=null;i&&(m=new ResizeObserver(y=>{let[g]=y;g&&g.target===d&&m&&t&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var w;(w=m)==null||w.observe(t)})),r()}),d&&!l&&m.observe(d),t&&m.observe(t));let b,v=l?Xt(e):null;l&&x();function x(){const y=Xt(e);v&&!Au(v,y)&&r(),v=y,b=requestAnimationFrame(x)}return r(),()=>{var y;f.forEach(g=>{o&&g.removeEventListener("scroll",r),s&&g.removeEventListener("resize",r)}),h?.(),(y=m)==null||y.disconnect(),m=null,l&&cancelAnimationFrame(b)}}const Fg=vg,$g=gg,Vg=hg,zg=xg,Hg=mg,fl=fg,Wg=bg,Gg=(e,t,r)=>{const n=new Map,o={platform:Lg,...r},s={...o.platform,_c:n};return dg(e,t,{...o,platform:s})};var Kg=typeof document<"u",Ug=function(){},An=Kg?je.useLayoutEffect:Ug;function Wn(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(!Wn(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){const s=o[n];if(!(s==="_owner"&&e.$$typeof)&&!Wn(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function _u(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function hl(e,t){const r=_u(e);return Math.round(t*r)/r}function $o(e){const t=u.useRef(e);return An(()=>{t.current=e}),t}function Yg(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:s,floating:i}={},transform:a=!0,whileElementsMounted:l,open:d}=e,[f,h]=u.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[p,m]=u.useState(n);Wn(p,n)||m(n);const[b,v]=u.useState(null),[x,y]=u.useState(null),g=u.useCallback(M=>{M!==S.current&&(S.current=M,v(M))},[]),w=u.useCallback(M=>{M!==N.current&&(N.current=M,y(M))},[]),P=s||b,C=i||x,S=u.useRef(null),N=u.useRef(null),q=u.useRef(f),k=l!=null,T=$o(l),E=$o(o),R=$o(d),A=u.useCallback(()=>{if(!S.current||!N.current)return;const M={placement:t,strategy:r,middleware:p};E.current&&(M.platform=E.current),Gg(S.current,N.current,M).then(U=>{const D={...U,isPositioned:R.current!==!1};_.current&&!Wn(q.current,D)&&(q.current=D,Yr.flushSync(()=>{h(D)}))})},[p,t,r,E,R]);An(()=>{d===!1&&q.current.isPositioned&&(q.current.isPositioned=!1,h(M=>({...M,isPositioned:!1})))},[d]);const _=u.useRef(!1);An(()=>(_.current=!0,()=>{_.current=!1}),[]),An(()=>{if(P&&(S.current=P),C&&(N.current=C),P&&C){if(T.current)return T.current(P,C,A);A()}},[P,C,A,T,k]);const O=u.useMemo(()=>({reference:S,floating:N,setReference:g,setFloating:w}),[g,w]),I=u.useMemo(()=>({reference:P,floating:C}),[P,C]),$=u.useMemo(()=>{const M={position:r,left:0,top:0};if(!I.floating)return M;const U=hl(I.floating,f.x),D=hl(I.floating,f.y);return a?{...M,transform:"translate("+U+"px, "+D+"px)",..._u(I.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:U,top:D}},[r,a,I.floating,f.x,f.y]);return u.useMemo(()=>({...f,update:A,refs:O,elements:I,floatingStyles:$}),[f,A,O,I,$])}const Xg=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:n,padding:o}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?fl({element:n.current,padding:o}).fn(r):{}:n?fl({element:n,padding:o}).fn(r):{}}}},Jg=(e,t)=>{const r=Fg(e);return{name:r.name,fn:r.fn,options:[e,t]}},Qg=(e,t)=>{const r=$g(e);return{name:r.name,fn:r.fn,options:[e,t]}},Zg=(e,t)=>({fn:Wg(e).fn,options:[e,t]}),eb=(e,t)=>{const r=Vg(e);return{name:r.name,fn:r.fn,options:[e,t]}},tb=(e,t)=>{const r=zg(e);return{name:r.name,fn:r.fn,options:[e,t]}},rb=(e,t)=>{const r=Hg(e);return{name:r.name,fn:r.fn,options:[e,t]}},nb=(e,t)=>{const r=Xg(e);return{name:r.name,fn:r.fn,options:[e,t]}};var ob="Arrow",Iu=u.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...s}=e;return c.jsx(be.svg,{...s,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:c.jsx("polygon",{points:"0,0 30,0 15,10"})})});Iu.displayName=ob;var sb=Iu;function ao(e){const[t,r]=u.useState(void 0);return De(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let i,a;if("borderBoxSize"in s){const l=s.borderBoxSize,d=Array.isArray(l)?l[0]:l;i=d.inlineSize,a=d.blockSize}else i=e.offsetWidth,a=e.offsetHeight;r({width:i,height:a})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}var Ei="Popper",[Ou,Cr]=rt(Ei),[ib,Mu]=Ou(Ei),Lu=e=>{const{__scopePopper:t,children:r}=e,[n,o]=u.useState(null);return c.jsx(ib,{scope:t,anchor:n,onAnchorChange:o,children:r})};Lu.displayName=Ei;var Du="PopperAnchor",Bu=u.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,s=Mu(Du,r),i=u.useRef(null),a=ke(t,i),l=u.useRef(null);return u.useEffect(()=>{const d=l.current;l.current=n?.current||i.current,d!==l.current&&s.onAnchorChange(l.current)}),n?null:c.jsx(be.div,{...o,ref:a})});Bu.displayName=Du;var Ri="PopperContent",[ab,lb]=Ou(Ri),Fu=u.forwardRef((e,t)=>{const{__scopePopper:r,side:n="bottom",sideOffset:o=0,align:s="center",alignOffset:i=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:d=[],collisionPadding:f=0,sticky:h="partial",hideWhenDetached:p=!1,updatePositionStrategy:m="optimized",onPlaced:b,...v}=e,x=Mu(Ri,r),[y,g]=u.useState(null),w=ke(t,B=>g(B)),[P,C]=u.useState(null),S=ao(P),N=S?.width??0,q=S?.height??0,k=n+(s!=="center"?"-"+s:""),T=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},E=Array.isArray(d)?d:[d],R=E.length>0,A={padding:T,boundary:E.filter(ub),altBoundary:R},{refs:_,floatingStyles:O,placement:I,isPositioned:$,middlewareData:M}=Yg({strategy:"fixed",placement:k,whileElementsMounted:(...B)=>Bg(...B,{animationFrame:m==="always"}),elements:{reference:x.anchor},middleware:[Jg({mainAxis:o+q,alignmentAxis:i}),l&&Qg({mainAxis:!0,crossAxis:!1,limiter:h==="partial"?Zg():void 0,...A}),l&&eb({...A}),tb({...A,apply:({elements:B,rects:Q,availableWidth:z,availableHeight:K})=>{const{width:W,height:Z}=Q.reference,ae=B.floating.style;ae.setProperty("--radix-popper-available-width",`${z}px`),ae.setProperty("--radix-popper-available-height",`${K}px`),ae.setProperty("--radix-popper-anchor-width",`${W}px`),ae.setProperty("--radix-popper-anchor-height",`${Z}px`)}}),P&&nb({element:P,padding:a}),db({arrowWidth:N,arrowHeight:q}),p&&rb({strategy:"referenceHidden",...A})]}),[U,D]=zu(I),G=gt(b);De(()=>{$&&G?.()},[$,G]);const me=M.arrow?.x,te=M.arrow?.y,J=M.arrow?.centerOffset!==0,[H,Y]=u.useState();return De(()=>{y&&Y(window.getComputedStyle(y).zIndex)},[y]),c.jsx("div",{ref:_.setFloating,"data-radix-popper-content-wrapper":"",style:{...O,transform:$?O.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:H,"--radix-popper-transform-origin":[M.transformOrigin?.x,M.transformOrigin?.y].join(" "),...M.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:c.jsx(ab,{scope:r,placedSide:U,onArrowChange:C,arrowX:me,arrowY:te,shouldHideArrow:J,children:c.jsx(be.div,{"data-side":U,"data-align":D,...v,ref:w,style:{...v.style,animation:$?void 0:"none"}})})})});Fu.displayName=Ri;var $u="PopperArrow",cb={top:"bottom",right:"left",bottom:"top",left:"right"},Vu=u.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,s=lb($u,n),i=cb[s.placedSide];return c.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:c.jsx(sb,{...o,ref:r,style:{...o.style,display:"block"}})})});Vu.displayName=$u;function ub(e){return e!==null}var db=e=>({name:"transformOrigin",options:e,fn(t){const{placement:r,rects:n,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[d,f]=zu(r),h={start:"0%",center:"50%",end:"100%"}[f],p=(o.arrow?.x??0)+a/2,m=(o.arrow?.y??0)+l/2;let b="",v="";return d==="bottom"?(b=i?h:`${p}px`,v=`${-l}px`):d==="top"?(b=i?h:`${p}px`,v=`${n.floating.height+l}px`):d==="right"?(b=`${-l}px`,v=i?h:`${m}px`):d==="left"&&(b=`${n.floating.width+l}px`,v=i?h:`${m}px`),{data:{x:b,y:v}}}});function zu(e){const[t,r="center"]=e.split("-");return[t,r]}var ji=Lu,lo=Bu,Ti=Fu,Ai=Vu,fb="Portal",co=u.forwardRef((e,t)=>{const{container:r,...n}=e,[o,s]=u.useState(!1);De(()=>s(!0),[]);const i=r||o&&globalThis?.document?.body;return i?_c.createPortal(c.jsx(be.div,{...n,ref:t}),i):null});co.displayName=fb;function hb(e,t){return u.useReducer((r,n)=>t[r][n]??r,e)}var Bt=e=>{const{present:t,children:r}=e,n=mb(t),o=typeof r=="function"?r({present:n.isPresent}):u.Children.only(r),s=ke(n.ref,pb(o));return typeof r=="function"||n.isPresent?u.cloneElement(o,{ref:s}):null};Bt.displayName="Presence";function mb(e){const[t,r]=u.useState(),n=u.useRef(null),o=u.useRef(e),s=u.useRef("none"),i=e?"mounted":"unmounted",[a,l]=hb(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return u.useEffect(()=>{const d=pn(n.current);s.current=a==="mounted"?d:"none"},[a]),De(()=>{const d=n.current,f=o.current;if(f!==e){const p=s.current,m=pn(d);e?l("MOUNT"):m==="none"||d?.display==="none"?l("UNMOUNT"):l(f&&p!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),De(()=>{if(t){let d;const f=t.ownerDocument.defaultView??window,h=m=>{const v=pn(n.current).includes(CSS.escape(m.animationName));if(m.target===t&&v&&(l("ANIMATION_END"),!o.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",d=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},p=m=>{m.target===t&&(s.current=pn(n.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",h),t.addEventListener("animationend",h),()=>{f.clearTimeout(d),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",h),t.removeEventListener("animationend",h)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:u.useCallback(d=>{n.current=d?getComputedStyle(d):null,r(d)},[])}}function pn(e){return e?.animationName||"none"}function pb(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var vb=u[" useInsertionEffect ".trim().toString()]||De;function yt({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){const[o,s,i]=gb({defaultProp:t,onChange:r}),a=e!==void 0,l=a?e:o;{const f=u.useRef(e!==void 0);u.useEffect(()=>{const h=f.current;h!==a&&console.warn(`${n} is changing from ${h?"controlled":"uncontrolled"} to ${a?"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.`),f.current=a},[a,n])}const d=u.useCallback(f=>{if(a){const h=bb(f)?f(e):f;h!==e&&i.current?.(h)}else s(f)},[a,e,s,i]);return[l,d]}function gb({defaultProp:e,onChange:t}){const[r,n]=u.useState(e),o=u.useRef(r),s=u.useRef(t);return vb(()=>{s.current=t},[t]),u.useEffect(()=>{o.current!==r&&(s.current?.(r),o.current=r)},[r,o]),[r,n,s]}function bb(e){return typeof e=="function"}var xb=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ir=new WeakMap,vn=new WeakMap,gn={},Vo=0,Hu=function(e){return e&&(e.host||Hu(e.parentNode))},yb=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Hu(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},wb=function(e,t,r,n){var o=yb(t,Array.isArray(e)?e:[e]);gn[r]||(gn[r]=new WeakMap);var s=gn[r],i=[],a=new Set,l=new Set(o),d=function(h){!h||a.has(h)||(a.add(h),d(h.parentNode))};o.forEach(d);var f=function(h){!h||l.has(h)||Array.prototype.forEach.call(h.children,function(p){if(a.has(p))f(p);else try{var m=p.getAttribute(n),b=m!==null&&m!=="false",v=(ir.get(p)||0)+1,x=(s.get(p)||0)+1;ir.set(p,v),s.set(p,x),i.push(p),v===1&&b&&vn.set(p,!0),x===1&&p.setAttribute(r,"true"),b||p.setAttribute(n,"true")}catch(y){console.error("aria-hidden: cannot operate on ",p,y)}})};return f(t),a.clear(),Vo++,function(){i.forEach(function(h){var p=ir.get(h)-1,m=s.get(h)-1;ir.set(h,p),s.set(h,m),p||(vn.has(h)||h.removeAttribute(n),vn.delete(h)),m||h.removeAttribute(r)}),Vo--,Vo||(ir=new WeakMap,ir=new WeakMap,vn=new WeakMap,gn={})}},Wu=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=xb(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live], script"))),wb(n,o,r,"aria-hidden")):function(){return null}},lt=function(){return lt=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},lt.apply(this,arguments)};function Gu(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function Pb(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,s;n<o;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return e.concat(s||Array.prototype.slice.call(t))}var _n="right-scroll-bar-position",In="width-before-scroll-bar",Cb="with-scroll-bars-hidden",Sb="--removed-body-scroll-bar-size";function zo(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Nb(e,t){var r=je.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}var qb=typeof window<"u"?u.useLayoutEffect:u.useEffect,ml=new WeakMap;function kb(e,t){var r=Nb(null,function(n){return e.forEach(function(o){return zo(o,n)})});return qb(function(){var n=ml.get(r);if(n){var o=new Set(n),s=new Set(e),i=r.current;o.forEach(function(a){s.has(a)||zo(a,null)}),s.forEach(function(a){o.has(a)||zo(a,i)})}ml.set(r,e)},[e]),r}function Eb(e){return e}function Rb(e,t){t===void 0&&(t=Eb);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(s){var i=t(s,n);return r.push(i),function(){r=r.filter(function(a){return a!==i})}},assignSyncMedium:function(s){for(n=!0;r.length;){var i=r;r=[],i.forEach(s)}r={push:function(a){return s(a)},filter:function(){return r}}},assignMedium:function(s){n=!0;var i=[];if(r.length){var a=r;r=[],a.forEach(s),i=r}var l=function(){var f=i;i=[],f.forEach(s)},d=function(){return Promise.resolve().then(l)};d(),r={push:function(f){i.push(f),d()},filter:function(f){return i=i.filter(f),r}}}};return o}function jb(e){e===void 0&&(e={});var t=Rb(null);return t.options=lt({async:!0,ssr:!1},e),t}var Ku=function(e){var t=e.sideCar,r=Gu(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return u.createElement(n,lt({},r))};Ku.isSideCarExport=!0;function Tb(e,t){return e.useMedium(t),Ku}var Uu=jb(),Ho=function(){},uo=u.forwardRef(function(e,t){var r=u.useRef(null),n=u.useState({onScrollCapture:Ho,onWheelCapture:Ho,onTouchMoveCapture:Ho}),o=n[0],s=n[1],i=e.forwardProps,a=e.children,l=e.className,d=e.removeScrollBar,f=e.enabled,h=e.shards,p=e.sideCar,m=e.noRelative,b=e.noIsolation,v=e.inert,x=e.allowPinchZoom,y=e.as,g=y===void 0?"div":y,w=e.gapMode,P=Gu(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=p,S=kb([r,t]),N=lt(lt({},P),o);return u.createElement(u.Fragment,null,f&&u.createElement(C,{sideCar:Uu,removeScrollBar:d,shards:h,noRelative:m,noIsolation:b,inert:v,setCallbacks:s,allowPinchZoom:!!x,lockRef:r,gapMode:w}),i?u.cloneElement(u.Children.only(a),lt(lt({},N),{ref:S})):u.createElement(g,lt({},N,{className:l,ref:S}),a))});uo.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};uo.classNames={fullWidth:In,zeroRight:_n};var Ab=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function _b(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Ab();return t&&e.setAttribute("nonce",t),e}function Ib(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Ob(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Mb=function(){var e=0,t=null;return{add:function(r){e==0&&(t=_b())&&(Ib(t,r),Ob(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Lb=function(){var e=Mb();return function(t,r){u.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Yu=function(){var e=Lb(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},Db={left:0,top:0,right:0,gap:0},Wo=function(e){return parseInt(e||"",10)||0},Bb=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Wo(r),Wo(n),Wo(o)]},Fb=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Db;var t=Bb(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},$b=Yu(),hr="data-scroll-locked",Vb=function(e,t,r,n){var o=e.left,s=e.top,i=e.right,a=e.gap;return r===void 0&&(r="margin"),`
|
|
2
|
-
.`.concat(
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),je=require("react"),Mc=require("react-dom");function Lc(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const u=Lc(je),Jr=Lc(Mc);function Dc(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Dc(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Bc(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Dc(e))&&(n&&(n+=" "),n+=t);return n}const Ra=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,ja=Bc,Fc=(e,t)=>r=>{var n;if(t?.variants==null)return ja(e,r?.class,r?.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(d=>{const f=r?.[d],m=s?.[d];if(f===null)return null;const p=Ra(f)||Ra(m);return o[d][p]}),a=r&&Object.entries(r).reduce((d,f)=>{let[m,p]=f;return p===void 0||(d[m]=p),d},{}),l=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((d,f)=>{let{class:m,className:p,...v}=f;return Object.entries(v).every(b=>{let[h,x]=b;return Array.isArray(x)?x.includes({...s,...a}[h]):{...s,...a}[h]===x})?[...d,m,p]:d},[]);return ja(e,i,l,r?.class,r?.className)},Mt={xs:"rounded-[2px]",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"};function Nh(e){return typeof e=="string"&&Object.prototype.hasOwnProperty.call(Mt,e)}function tr(e){return e===void 0?{}:typeof e=="number"?{roundedStyle:{borderRadius:`${e}px`}}:Nh(e)?{roundedPreset:e}:{roundedStyle:{borderRadius:e}}}const wr={none:"shadow-none",xs:"shadow-[0_1px_2px_rgba(15,23,42,0.08)]",sm:"shadow-sm",md:"shadow-md",lg:"shadow-lg",xl:"shadow-xl",inner:"shadow-inner"};function qh(e){return typeof e=="string"&&Object.prototype.hasOwnProperty.call(wr,e)}function Qr(e){return e===void 0?{}:qh(e)?{shadowPreset:e}:{shadowStyle:{boxShadow:e}}}const $c=Fc("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{dark:"bg-black/90 text-primary-foreground hover:bg-black",primary:"bg-blue-600 text-primary-foreground hover:bg-blue-600/90",secondary:"bg-cyan-600 text-primary-foreground hover:bg-cyan-600/90",minor:"bg-gray-200 text-secondary-foreground hover:bg-gray-300/90",success:"bg-green-600 text-primary-foreground hover:bg-green-600/90",warning:"bg-yellow-600 text-primary-foreground hover:bg-yellow-600/90",danger:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-solid border-blue-600 bg-background text-blue-600 hover:text-blue-600/80 hover:border-blue-600/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-blue-600 underline-offset-4 hover:underline hover:text-blue-600/90",text:"text-foreground"},size:{xs:"h-6 text-[10px] px-2",sm:"h-7 text-xs px-3",md:"h-8 text-sm px-4",lg:"h-9 text-lg px-8",xl:"h-10 text-lg px-10",icon:"h-8 w-8"},rounded:Mt,shadow:wr,bounce:{true:"transition-all ease-out active:-translate-y-[10%] active:scale-98"},splash:{true:"active:opacity-90"}},defaultVariants:{variant:"primary",size:"md",bounce:!1,splash:!1}}),kh=(e,t)=>{const r=new Array(e.length+t.length);for(let n=0;n<e.length;n++)r[n]=e[n];for(let n=0;n<t.length;n++)r[e.length+n]=t[n];return r},Eh=(e,t)=>({classGroupId:e,validator:t}),Vc=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),Fn="-",Aa=[],Rh="arbitrary..",jh=e=>{const t=Ih(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return Ah(i);const a=i.split(Fn),l=a[0]===""&&a.length>1?1:0;return zc(a,l,t)},getConflictingClassGroupIds:(i,a)=>{if(a){const l=n[i],d=r[i];return l?d?kh(d,l):l:d||Aa}return r[i]||Aa}}},zc=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const o=e[t],s=r.nextPart.get(o);if(s){const d=zc(e,t+1,s);if(d)return d}const i=r.validators;if(i===null)return;const a=t===0?e.join(Fn):e.slice(t).join(Fn),l=i.length;for(let d=0;d<l;d++){const f=i[d];if(f.validator(a))return f.classGroupId}},Ah=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?Rh+n:void 0})(),Ih=e=>{const{theme:t,classGroups:r}=e;return Th(r,t)},Th=(e,t)=>{const r=Vc();for(const n in e){const o=e[n];oi(o,r,n,t)}return r},oi=(e,t,r,n)=>{const o=e.length;for(let s=0;s<o;s++){const i=e[s];_h(i,t,r,n)}},_h=(e,t,r,n)=>{if(typeof e=="string"){Oh(e,t,r);return}if(typeof e=="function"){Mh(e,t,r,n);return}Lh(e,t,r,n)},Oh=(e,t,r)=>{const n=e===""?t:Hc(t,e);n.classGroupId=r},Mh=(e,t,r,n)=>{if(Dh(e)){oi(e(n),t,r,n);return}t.validators===null&&(t.validators=[]),t.validators.push(Eh(r,e))},Lh=(e,t,r,n)=>{const o=Object.entries(e),s=o.length;for(let i=0;i<s;i++){const[a,l]=o[i];oi(l,Hc(t,a),r,n)}},Hc=(e,t)=>{let r=e;const n=t.split(Fn),o=n.length;for(let s=0;s<o;s++){const i=n[s];let a=r.nextPart.get(i);a||(a=Vc(),r.nextPart.set(i,a)),r=a}return r},Dh=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Bh=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null);const o=(s,i)=>{r[s]=i,t++,t>e&&(t=0,n=r,r=Object.create(null))};return{get(s){let i=r[s];if(i!==void 0)return i;if((i=n[s])!==void 0)return o(s,i),i},set(s,i){s in r?r[s]=i:o(s,i)}}},js="!",Ia=":",Fh=[],Ta=(e,t,r,n,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:o}),$h=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=o=>{const s=[];let i=0,a=0,l=0,d;const f=o.length;for(let h=0;h<f;h++){const x=o[h];if(i===0&&a===0){if(x===Ia){s.push(o.slice(l,h)),l=h+1;continue}if(x==="/"){d=h;continue}}x==="["?i++:x==="]"?i--:x==="("?a++:x===")"&&a--}const m=s.length===0?o:o.slice(l);let p=m,v=!1;m.endsWith(js)?(p=m.slice(0,-1),v=!0):m.startsWith(js)&&(p=m.slice(1),v=!0);const b=d&&d>l?d-l:void 0;return Ta(s,v,p,b)};if(t){const o=t+Ia,s=n;n=i=>i.startsWith(o)?s(i.slice(o.length)):Ta(Fh,!1,i,void 0,!0)}if(r){const o=n;n=s=>r({className:s,parseClassName:o})}return n},Vh=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((r,n)=>{t.set(r,1e6+n)}),r=>{const n=[];let o=[];for(let s=0;s<r.length;s++){const i=r[s],a=i[0]==="[",l=t.has(i);a||l?(o.length>0&&(o.sort(),n.push(...o),o=[]),n.push(i)):o.push(i)}return o.length>0&&(o.sort(),n.push(...o)),n}},zh=e=>({cache:Bh(e.cacheSize),parseClassName:$h(e),sortModifiers:Vh(e),...jh(e)}),Hh=/\s+/,Wh=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:s}=t,i=[],a=e.trim().split(Hh);let l="";for(let d=a.length-1;d>=0;d-=1){const f=a[d],{isExternal:m,modifiers:p,hasImportantModifier:v,baseClassName:b,maybePostfixModifierPosition:h}=r(f);if(m){l=f+(l.length>0?" "+l:l);continue}let x=!!h,y=n(x?b.substring(0,h):b);if(!y){if(!x){l=f+(l.length>0?" "+l:l);continue}if(y=n(b),!y){l=f+(l.length>0?" "+l:l);continue}x=!1}const g=p.length===0?"":p.length===1?p[0]:s(p).join(":"),w=v?g+js:g,P=w+y;if(i.indexOf(P)>-1)continue;i.push(P);const C=o(y,x);for(let S=0;S<C.length;++S){const N=C[S];i.push(w+N)}l=f+(l.length>0?" "+l:l)}return l},Gh=(...e)=>{let t=0,r,n,o="";for(;t<e.length;)(r=e[t++])&&(n=Wc(r))&&(o&&(o+=" "),o+=n);return o},Wc=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Wc(e[n]))&&(r&&(r+=" "),r+=t);return r},Kh=(e,...t)=>{let r,n,o,s;const i=l=>{const d=t.reduce((f,m)=>m(f),e());return r=zh(d),n=r.cache.get,o=r.cache.set,s=a,a(l)},a=l=>{const d=n(l);if(d)return d;const f=Wh(l,r);return o(l,f),f};return s=i,(...l)=>s(Gh(...l))},Uh=[],Me=e=>{const t=r=>r[e]||Uh;return t.isThemeGetter=!0,t},Gc=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Kc=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Yh=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Xh=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Jh=/\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$/,Qh=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Zh=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ep=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,qt=e=>Yh.test(e),ge=e=>!!e&&!Number.isNaN(Number(e)),kt=e=>!!e&&Number.isInteger(Number(e)),To=e=>e.endsWith("%")&&ge(e.slice(0,-1)),pt=e=>Xh.test(e),Uc=()=>!0,tp=e=>Jh.test(e)&&!Qh.test(e),si=()=>!1,rp=e=>Zh.test(e),np=e=>ep.test(e),op=e=>!ee(e)&&!ne(e),sp=e=>Lt(e,Jc,si),ee=e=>Gc.test(e),Ht=e=>Lt(e,Qc,tp),_a=e=>Lt(e,mp,ge),ip=e=>Lt(e,eu,Uc),ap=e=>Lt(e,Zc,si),Oa=e=>Lt(e,Yc,si),lp=e=>Lt(e,Xc,np),fn=e=>Lt(e,tu,rp),ne=e=>Kc.test(e),Rr=e=>rr(e,Qc),cp=e=>rr(e,Zc),Ma=e=>rr(e,Yc),up=e=>rr(e,Jc),dp=e=>rr(e,Xc),mn=e=>rr(e,tu,!0),fp=e=>rr(e,eu,!0),Lt=(e,t,r)=>{const n=Gc.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},rr=(e,t,r=!1)=>{const n=Kc.exec(e);return n?n[1]?t(n[1]):r:!1},Yc=e=>e==="position"||e==="percentage",Xc=e=>e==="image"||e==="url",Jc=e=>e==="length"||e==="size"||e==="bg-size",Qc=e=>e==="length",mp=e=>e==="number",Zc=e=>e==="family-name",eu=e=>e==="number"||e==="weight",tu=e=>e==="shadow",hp=()=>{const e=Me("color"),t=Me("font"),r=Me("text"),n=Me("font-weight"),o=Me("tracking"),s=Me("leading"),i=Me("breakpoint"),a=Me("container"),l=Me("spacing"),d=Me("radius"),f=Me("shadow"),m=Me("inset-shadow"),p=Me("text-shadow"),v=Me("drop-shadow"),b=Me("blur"),h=Me("perspective"),x=Me("aspect"),y=Me("ease"),g=Me("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],P=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],C=()=>[...P(),ne,ee],S=()=>["auto","hidden","clip","visible","scroll"],N=()=>["auto","contain","none"],q=()=>[ne,ee,l],k=()=>[qt,"full","auto",...q()],A=()=>[kt,"none","subgrid",ne,ee],E=()=>["auto",{span:["full",kt,ne,ee]},kt,ne,ee],R=()=>[kt,"auto",ne,ee],I=()=>["auto","min","max","fr",ne,ee],T=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],O=()=>["start","end","center","stretch","center-safe","end-safe"],_=()=>["auto",...q()],$=()=>[qt,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...q()],M=()=>[qt,"screen","full","dvw","lvw","svw","min","max","fit",...q()],U=()=>[qt,"screen","full","lh","dvh","lvh","svh","min","max","fit",...q()],D=()=>[e,ne,ee],G=()=>[...P(),Ma,Oa,{position:[ne,ee]}],he=()=>["no-repeat",{repeat:["","x","y","space","round"]}],te=()=>["auto","cover","contain",up,sp,{size:[ne,ee]}],J=()=>[To,Rr,Ht],H=()=>["","none","full",d,ne,ee],Y=()=>["",ge,Rr,Ht],B=()=>["solid","dashed","dotted","double"],Q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],z=()=>[ge,To,Ma,Oa],K=()=>["","none",b,ne,ee],W=()=>["none",ge,ne,ee],Z=()=>["none",ge,ne,ee],ae=()=>[ge,ne,ee],ue=()=>[qt,"full",...q()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[pt],breakpoint:[pt],color:[Uc],container:[pt],"drop-shadow":[pt],ease:["in","out","in-out"],font:[op],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[pt],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[pt],shadow:[pt],spacing:["px",ge],text:[pt],"text-shadow":[pt],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",qt,ee,ne,x]}],container:["container"],columns:[{columns:[ge,ee,ne,a]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"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:C()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{"inset-s":k(),start:k()}],end:[{"inset-e":k(),end:k()}],"inset-bs":[{"inset-bs":k()}],"inset-be":[{"inset-be":k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[kt,"auto",ne,ee]}],basis:[{basis:[qt,"full","auto",a,...q()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ge,qt,"auto","initial","none",ee]}],grow:[{grow:["",ge,ne,ee]}],shrink:[{shrink:["",ge,ne,ee]}],order:[{order:[kt,"first","last","none",ne,ee]}],"grid-cols":[{"grid-cols":A()}],"col-start-end":[{col:E()}],"col-start":[{"col-start":R()}],"col-end":[{"col-end":R()}],"grid-rows":[{"grid-rows":A()}],"row-start-end":[{row:E()}],"row-start":[{"row-start":R()}],"row-end":[{"row-end":R()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":I()}],"auto-rows":[{"auto-rows":I()}],gap:[{gap:q()}],"gap-x":[{"gap-x":q()}],"gap-y":[{"gap-y":q()}],"justify-content":[{justify:[...T(),"normal"]}],"justify-items":[{"justify-items":[...O(),"normal"]}],"justify-self":[{"justify-self":["auto",...O()]}],"align-content":[{content:["normal",...T()]}],"align-items":[{items:[...O(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...O(),{baseline:["","last"]}]}],"place-content":[{"place-content":T()}],"place-items":[{"place-items":[...O(),"baseline"]}],"place-self":[{"place-self":["auto",...O()]}],p:[{p:q()}],px:[{px:q()}],py:[{py:q()}],ps:[{ps:q()}],pe:[{pe:q()}],pbs:[{pbs:q()}],pbe:[{pbe:q()}],pt:[{pt:q()}],pr:[{pr:q()}],pb:[{pb:q()}],pl:[{pl:q()}],m:[{m:_()}],mx:[{mx:_()}],my:[{my:_()}],ms:[{ms:_()}],me:[{me:_()}],mbs:[{mbs:_()}],mbe:[{mbe:_()}],mt:[{mt:_()}],mr:[{mr:_()}],mb:[{mb:_()}],ml:[{ml:_()}],"space-x":[{"space-x":q()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":q()}],"space-y-reverse":["space-y-reverse"],size:[{size:$()}],"inline-size":[{inline:["auto",...M()]}],"min-inline-size":[{"min-inline":["auto",...M()]}],"max-inline-size":[{"max-inline":["none",...M()]}],"block-size":[{block:["auto",...U()]}],"min-block-size":[{"min-block":["auto",...U()]}],"max-block-size":[{"max-block":["none",...U()]}],w:[{w:[a,"screen",...$()]}],"min-w":[{"min-w":[a,"screen","none",...$()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...$()]}],h:[{h:["screen","lh",...$()]}],"min-h":[{"min-h":["screen","lh","none",...$()]}],"max-h":[{"max-h":["screen","lh",...$()]}],"font-size":[{text:["base",r,Rr,Ht]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,fp,ip]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",To,ee]}],"font-family":[{font:[cp,ap,t]}],"font-features":[{"font-features":[ee]}],"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:[o,ne,ee]}],"line-clamp":[{"line-clamp":[ge,"none",ne,_a]}],leading:[{leading:[s,...q()]}],"list-image":[{"list-image":["none",ne,ee]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ne,ee]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:D()}],"text-color":[{text:D()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:[ge,"from-font","auto",ne,Ht]}],"text-decoration-color":[{decoration:D()}],"underline-offset":[{"underline-offset":[ge,"auto",ne,ee]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:q()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ne,ee]}],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",ne,ee]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:G()}],"bg-repeat":[{bg:he()}],"bg-size":[{bg:te()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},kt,ne,ee],radial:["",ne,ee],conic:[kt,ne,ee]},dp,lp]}],"bg-color":[{bg:D()}],"gradient-from-pos":[{from:J()}],"gradient-via-pos":[{via:J()}],"gradient-to-pos":[{to:J()}],"gradient-from":[{from:D()}],"gradient-via":[{via:D()}],"gradient-to":[{to:D()}],rounded:[{rounded:H()}],"rounded-s":[{"rounded-s":H()}],"rounded-e":[{"rounded-e":H()}],"rounded-t":[{"rounded-t":H()}],"rounded-r":[{"rounded-r":H()}],"rounded-b":[{"rounded-b":H()}],"rounded-l":[{"rounded-l":H()}],"rounded-ss":[{"rounded-ss":H()}],"rounded-se":[{"rounded-se":H()}],"rounded-ee":[{"rounded-ee":H()}],"rounded-es":[{"rounded-es":H()}],"rounded-tl":[{"rounded-tl":H()}],"rounded-tr":[{"rounded-tr":H()}],"rounded-br":[{"rounded-br":H()}],"rounded-bl":[{"rounded-bl":H()}],"border-w":[{border:Y()}],"border-w-x":[{"border-x":Y()}],"border-w-y":[{"border-y":Y()}],"border-w-s":[{"border-s":Y()}],"border-w-e":[{"border-e":Y()}],"border-w-bs":[{"border-bs":Y()}],"border-w-be":[{"border-be":Y()}],"border-w-t":[{"border-t":Y()}],"border-w-r":[{"border-r":Y()}],"border-w-b":[{"border-b":Y()}],"border-w-l":[{"border-l":Y()}],"divide-x":[{"divide-x":Y()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Y()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...B(),"hidden","none"]}],"divide-style":[{divide:[...B(),"hidden","none"]}],"border-color":[{border:D()}],"border-color-x":[{"border-x":D()}],"border-color-y":[{"border-y":D()}],"border-color-s":[{"border-s":D()}],"border-color-e":[{"border-e":D()}],"border-color-bs":[{"border-bs":D()}],"border-color-be":[{"border-be":D()}],"border-color-t":[{"border-t":D()}],"border-color-r":[{"border-r":D()}],"border-color-b":[{"border-b":D()}],"border-color-l":[{"border-l":D()}],"divide-color":[{divide:D()}],"outline-style":[{outline:[...B(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ge,ne,ee]}],"outline-w":[{outline:["",ge,Rr,Ht]}],"outline-color":[{outline:D()}],shadow:[{shadow:["","none",f,mn,fn]}],"shadow-color":[{shadow:D()}],"inset-shadow":[{"inset-shadow":["none",m,mn,fn]}],"inset-shadow-color":[{"inset-shadow":D()}],"ring-w":[{ring:Y()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:D()}],"ring-offset-w":[{"ring-offset":[ge,Ht]}],"ring-offset-color":[{"ring-offset":D()}],"inset-ring-w":[{"inset-ring":Y()}],"inset-ring-color":[{"inset-ring":D()}],"text-shadow":[{"text-shadow":["none",p,mn,fn]}],"text-shadow-color":[{"text-shadow":D()}],opacity:[{opacity:[ge,ne,ee]}],"mix-blend":[{"mix-blend":[...Q(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Q()}],"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":[ge]}],"mask-image-linear-from-pos":[{"mask-linear-from":z()}],"mask-image-linear-to-pos":[{"mask-linear-to":z()}],"mask-image-linear-from-color":[{"mask-linear-from":D()}],"mask-image-linear-to-color":[{"mask-linear-to":D()}],"mask-image-t-from-pos":[{"mask-t-from":z()}],"mask-image-t-to-pos":[{"mask-t-to":z()}],"mask-image-t-from-color":[{"mask-t-from":D()}],"mask-image-t-to-color":[{"mask-t-to":D()}],"mask-image-r-from-pos":[{"mask-r-from":z()}],"mask-image-r-to-pos":[{"mask-r-to":z()}],"mask-image-r-from-color":[{"mask-r-from":D()}],"mask-image-r-to-color":[{"mask-r-to":D()}],"mask-image-b-from-pos":[{"mask-b-from":z()}],"mask-image-b-to-pos":[{"mask-b-to":z()}],"mask-image-b-from-color":[{"mask-b-from":D()}],"mask-image-b-to-color":[{"mask-b-to":D()}],"mask-image-l-from-pos":[{"mask-l-from":z()}],"mask-image-l-to-pos":[{"mask-l-to":z()}],"mask-image-l-from-color":[{"mask-l-from":D()}],"mask-image-l-to-color":[{"mask-l-to":D()}],"mask-image-x-from-pos":[{"mask-x-from":z()}],"mask-image-x-to-pos":[{"mask-x-to":z()}],"mask-image-x-from-color":[{"mask-x-from":D()}],"mask-image-x-to-color":[{"mask-x-to":D()}],"mask-image-y-from-pos":[{"mask-y-from":z()}],"mask-image-y-to-pos":[{"mask-y-to":z()}],"mask-image-y-from-color":[{"mask-y-from":D()}],"mask-image-y-to-color":[{"mask-y-to":D()}],"mask-image-radial":[{"mask-radial":[ne,ee]}],"mask-image-radial-from-pos":[{"mask-radial-from":z()}],"mask-image-radial-to-pos":[{"mask-radial-to":z()}],"mask-image-radial-from-color":[{"mask-radial-from":D()}],"mask-image-radial-to-color":[{"mask-radial-to":D()}],"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":P()}],"mask-image-conic-pos":[{"mask-conic":[ge]}],"mask-image-conic-from-pos":[{"mask-conic-from":z()}],"mask-image-conic-to-pos":[{"mask-conic-to":z()}],"mask-image-conic-from-color":[{"mask-conic-from":D()}],"mask-image-conic-to-color":[{"mask-conic-to":D()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:G()}],"mask-repeat":[{mask:he()}],"mask-size":[{mask:te()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ne,ee]}],filter:[{filter:["","none",ne,ee]}],blur:[{blur:K()}],brightness:[{brightness:[ge,ne,ee]}],contrast:[{contrast:[ge,ne,ee]}],"drop-shadow":[{"drop-shadow":["","none",v,mn,fn]}],"drop-shadow-color":[{"drop-shadow":D()}],grayscale:[{grayscale:["",ge,ne,ee]}],"hue-rotate":[{"hue-rotate":[ge,ne,ee]}],invert:[{invert:["",ge,ne,ee]}],saturate:[{saturate:[ge,ne,ee]}],sepia:[{sepia:["",ge,ne,ee]}],"backdrop-filter":[{"backdrop-filter":["","none",ne,ee]}],"backdrop-blur":[{"backdrop-blur":K()}],"backdrop-brightness":[{"backdrop-brightness":[ge,ne,ee]}],"backdrop-contrast":[{"backdrop-contrast":[ge,ne,ee]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ge,ne,ee]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ge,ne,ee]}],"backdrop-invert":[{"backdrop-invert":["",ge,ne,ee]}],"backdrop-opacity":[{"backdrop-opacity":[ge,ne,ee]}],"backdrop-saturate":[{"backdrop-saturate":[ge,ne,ee]}],"backdrop-sepia":[{"backdrop-sepia":["",ge,ne,ee]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":q()}],"border-spacing-x":[{"border-spacing-x":q()}],"border-spacing-y":[{"border-spacing-y":q()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ne,ee]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ge,"initial",ne,ee]}],ease:[{ease:["linear","initial",y,ne,ee]}],delay:[{delay:[ge,ne,ee]}],animate:[{animate:["none",g,ne,ee]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,ne,ee]}],"perspective-origin":[{"perspective-origin":C()}],rotate:[{rotate:W()}],"rotate-x":[{"rotate-x":W()}],"rotate-y":[{"rotate-y":W()}],"rotate-z":[{"rotate-z":W()}],scale:[{scale:Z()}],"scale-x":[{"scale-x":Z()}],"scale-y":[{"scale-y":Z()}],"scale-z":[{"scale-z":Z()}],"scale-3d":["scale-3d"],skew:[{skew:ae()}],"skew-x":[{"skew-x":ae()}],"skew-y":[{"skew-y":ae()}],transform:[{transform:[ne,ee,"","none","gpu","cpu"]}],"transform-origin":[{origin:C()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ue()}],"translate-x":[{"translate-x":ue()}],"translate-y":[{"translate-y":ue()}],"translate-z":[{"translate-z":ue()}],"translate-none":["translate-none"],accent:[{accent:D()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:D()}],"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",ne,ee]}],"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":q()}],"scroll-mx":[{"scroll-mx":q()}],"scroll-my":[{"scroll-my":q()}],"scroll-ms":[{"scroll-ms":q()}],"scroll-me":[{"scroll-me":q()}],"scroll-mbs":[{"scroll-mbs":q()}],"scroll-mbe":[{"scroll-mbe":q()}],"scroll-mt":[{"scroll-mt":q()}],"scroll-mr":[{"scroll-mr":q()}],"scroll-mb":[{"scroll-mb":q()}],"scroll-ml":[{"scroll-ml":q()}],"scroll-p":[{"scroll-p":q()}],"scroll-px":[{"scroll-px":q()}],"scroll-py":[{"scroll-py":q()}],"scroll-ps":[{"scroll-ps":q()}],"scroll-pe":[{"scroll-pe":q()}],"scroll-pbs":[{"scroll-pbs":q()}],"scroll-pbe":[{"scroll-pbe":q()}],"scroll-pt":[{"scroll-pt":q()}],"scroll-pr":[{"scroll-pr":q()}],"scroll-pb":[{"scroll-pb":q()}],"scroll-pl":[{"scroll-pl":q()}],"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",ne,ee]}],fill:[{fill:["none",...D()]}],"stroke-w":[{stroke:[ge,Rr,Ht,_a]}],stroke:[{stroke:["none",...D()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-bs","border-w-be","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-bs","border-color-be","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-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]}},pp=Kh(hp);class Ut{static instance;constructor(){}static getInstance(){return Ut.instance||(Ut.instance=new Ut),Ut.instance}getRootFontSize(){if(typeof document>"u")return 16;const t=parseFloat(getComputedStyle(document.documentElement).fontSize);return isNaN(t)?16:t}parseValue(t){const r=t.match(/^(-?\d+(?:\.\d+)?)([a-z%]*)$/i);if(!r)throw new Error(`Invalid CSS value: ${t}`);const n=parseFloat(r[1]),o=r[2].toLowerCase()||"";return{value:n,unit:o}}convertToPx(t,r={}){if(typeof t=="number")return t;const n=String(t).trim();if(!n)return 0;if(n.endsWith("px"))return parseFloat(n);const{value:o,unit:s}=this.parseValue(n);switch(s){case"rem":return o*(r.fontSizeBase||this.getRootFontSize());case"em":if(!r.contextElement)throw new Error("contextElement is required for em unit conversion");const i=parseFloat(getComputedStyle(r.contextElement.parentElement||document.documentElement).fontSize);return o*i;case"%":if(!r.parentSize)throw new Error("parentSize is required for percentage conversion");const a=r.parentSize.width||100;return o/100*a;case"vw":const l=r.viewportWidth||(typeof window<"u"?window.innerWidth:1920);return o/100*l;case"vh":const d=r.viewportHeight||(typeof window<"u"?window.innerHeight:1080);return o/100*d;case"vmin":const f=r.viewportWidth||window.innerWidth,m=r.viewportHeight||window.innerHeight,p=Math.min(f,m);return o/100*p;case"vmax":const v=r.viewportWidth||window.innerWidth,b=r.viewportHeight||window.innerHeight,h=Math.max(v,b);return o/100*h;case"cm":return o*37.795;case"mm":return o*3.7795;case"in":return o*96;case"pt":return o*1.3333;case"pc":return o*16;case"":return o;default:throw new Error(`Unsupported unit: ${s}`)}}convertMultipleToPx(t,r){const n={};for(const[o,s]of Object.entries(t))try{n[o]=this.convertToPx(s,r)}catch(i){console.warn(`Failed to convert ${o}: ${s}`,i),n[o]=typeof s=="number"?s:0}return n}}function j(...e){return pp(Bc(e))}const vp={},As=u.createContext(vp);function gp({theme:e,children:t}){const r=u.useContext(As),n=u.useMemo(()=>({...r,...e}),[r,e]);return c.jsx(As.Provider,{value:n,children:t})}function se(){return u.useContext(As)}function bp(e){return e}function xp(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function yp(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var wp=(function(){function e(r){var n=this;this._insertTag=function(o){var s;n.tags.length===0?n.insertionPoint?s=n.insertionPoint.nextSibling:n.prepend?s=n.container.firstChild:s=n.before:s=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,s),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(yp(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=xp(o);try{s.insertRule(n,s.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var o;return(o=n.parentNode)==null?void 0:o.removeChild(n)}),this.tags=[],this.ctr=0},e})(),Fe="-ms-",$n="-moz-",Ne="-webkit-",ru="comm",ii="rule",ai="decl",Pp="@import",nu="@keyframes",Cp="@layer",Sp=Math.abs,eo=String.fromCharCode,Np=Object.assign;function qp(e,t){return Be(e,0)^45?(((t<<2^Be(e,0))<<2^Be(e,1))<<2^Be(e,2))<<2^Be(e,3):0}function ou(e){return e.trim()}function kp(e,t){return(e=t.exec(e))?e[0]:e}function qe(e,t,r){return e.replace(t,r)}function Is(e,t){return e.indexOf(t)}function Be(e,t){return e.charCodeAt(t)|0}function zr(e,t,r){return e.slice(t,r)}function at(e){return e.length}function li(e){return e.length}function hn(e,t){return t.push(e),e}function Ep(e,t){return e.map(t).join("")}var to=1,vr=1,su=0,ze=0,Oe=0,Pr="";function ro(e,t,r,n,o,s,i){return{value:e,root:t,parent:r,type:n,props:o,children:s,line:to,column:vr,length:i,return:""}}function jr(e,t){return Np(ro("",null,null,"",null,null,0),e,{length:-e.length},t)}function Rp(){return Oe}function jp(){return Oe=ze>0?Be(Pr,--ze):0,vr--,Oe===10&&(vr=1,to--),Oe}function Ke(){return Oe=ze<su?Be(Pr,ze++):0,vr++,Oe===10&&(vr=1,to++),Oe}function ut(){return Be(Pr,ze)}function Rn(){return ze}function Zr(e,t){return zr(Pr,e,t)}function Hr(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function iu(e){return to=vr=1,su=at(Pr=e),ze=0,[]}function au(e){return Pr="",e}function jn(e){return ou(Zr(ze-1,Ts(e===91?e+2:e===40?e+1:e)))}function Ap(e){for(;(Oe=ut())&&Oe<33;)Ke();return Hr(e)>2||Hr(Oe)>3?"":" "}function Ip(e,t){for(;--t&&Ke()&&!(Oe<48||Oe>102||Oe>57&&Oe<65||Oe>70&&Oe<97););return Zr(e,Rn()+(t<6&&ut()==32&&Ke()==32))}function Ts(e){for(;Ke();)switch(Oe){case e:return ze;case 34:case 39:e!==34&&e!==39&&Ts(Oe);break;case 40:e===41&&Ts(e);break;case 92:Ke();break}return ze}function Tp(e,t){for(;Ke()&&e+Oe!==57;)if(e+Oe===84&&ut()===47)break;return"/*"+Zr(t,ze-1)+"*"+eo(e===47?e:Ke())}function _p(e){for(;!Hr(ut());)Ke();return Zr(e,ze)}function Op(e){return au(An("",null,null,null,[""],e=iu(e),0,[0],e))}function An(e,t,r,n,o,s,i,a,l){for(var d=0,f=0,m=i,p=0,v=0,b=0,h=1,x=1,y=1,g=0,w="",P=o,C=s,S=n,N=w;x;)switch(b=g,g=Ke()){case 40:if(b!=108&&Be(N,m-1)==58){Is(N+=qe(jn(g),"&","&\f"),"&\f")!=-1&&(y=-1);break}case 34:case 39:case 91:N+=jn(g);break;case 9:case 10:case 13:case 32:N+=Ap(b);break;case 92:N+=Ip(Rn()-1,7);continue;case 47:switch(ut()){case 42:case 47:hn(Mp(Tp(Ke(),Rn()),t,r),l);break;default:N+="/"}break;case 123*h:a[d++]=at(N)*y;case 125*h:case 59:case 0:switch(g){case 0:case 125:x=0;case 59+f:y==-1&&(N=qe(N,/\f/g,"")),v>0&&at(N)-m&&hn(v>32?Da(N+";",n,r,m-1):Da(qe(N," ","")+";",n,r,m-2),l);break;case 59:N+=";";default:if(hn(S=La(N,t,r,d,f,o,a,w,P=[],C=[],m),s),g===123)if(f===0)An(N,t,S,S,P,s,m,a,C);else switch(p===99&&Be(N,3)===110?100:p){case 100:case 108:case 109:case 115:An(e,S,S,n&&hn(La(e,S,S,0,0,o,a,w,o,P=[],m),C),o,C,m,a,n?P:C);break;default:An(N,S,S,S,[""],C,0,a,C)}}d=f=v=0,h=y=1,w=N="",m=i;break;case 58:m=1+at(N),v=b;default:if(h<1){if(g==123)--h;else if(g==125&&h++==0&&jp()==125)continue}switch(N+=eo(g),g*h){case 38:y=f>0?1:(N+="\f",-1);break;case 44:a[d++]=(at(N)-1)*y,y=1;break;case 64:ut()===45&&(N+=jn(Ke())),p=ut(),f=m=at(w=N+=_p(Rn())),g++;break;case 45:b===45&&at(N)==2&&(h=0)}}return s}function La(e,t,r,n,o,s,i,a,l,d,f){for(var m=o-1,p=o===0?s:[""],v=li(p),b=0,h=0,x=0;b<n;++b)for(var y=0,g=zr(e,m+1,m=Sp(h=i[b])),w=e;y<v;++y)(w=ou(h>0?p[y]+" "+g:qe(g,/&\f/g,p[y])))&&(l[x++]=w);return ro(e,t,r,o===0?ii:a,l,d,f)}function Mp(e,t,r){return ro(e,t,r,ru,eo(Rp()),zr(e,2,-2),0)}function Da(e,t,r,n){return ro(e,t,r,ai,zr(e,0,n),zr(e,n+1,-1),n)}function mr(e,t){for(var r="",n=li(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Lp(e,t,r,n){switch(e.type){case Cp:if(e.children.length)break;case Pp:case ai:return e.return=e.return||e.value;case ru:return"";case nu:return e.return=e.value+"{"+mr(e.children,n)+"}";case ii:e.value=e.props.join(",")}return at(r=mr(e.children,n))?e.return=e.value+"{"+r+"}":""}function Dp(e){var t=li(e);return function(r,n,o,s){for(var i="",a=0;a<t;a++)i+=e[a](r,n,o,s)||"";return i}}function Bp(e){return function(t){t.root||(t=t.return)&&e(t)}}function Fp(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var $p=function(t,r,n){for(var o=0,s=0;o=s,s=ut(),o===38&&s===12&&(r[n]=1),!Hr(s);)Ke();return Zr(t,ze)},Vp=function(t,r){var n=-1,o=44;do switch(Hr(o)){case 0:o===38&&ut()===12&&(r[n]=1),t[n]+=$p(ze-1,r,n);break;case 2:t[n]+=jn(o);break;case 4:if(o===44){t[++n]=ut()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=eo(o)}while(o=Ke());return t},zp=function(t,r){return au(Vp(iu(t),r))},Ba=new WeakMap,Hp=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Ba.get(n))&&!o){Ba.set(t,!0);for(var s=[],i=zp(r,s),a=n.props,l=0,d=0;l<i.length;l++)for(var f=0;f<a.length;f++,d++)t.props[d]=s[l]?i[l].replace(/&\f/g,a[f]):a[f]+" "+i[l]}}},Wp=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function lu(e,t){switch(qp(e,t)){case 5103:return Ne+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ne+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ne+e+$n+e+Fe+e+e;case 6828:case 4268:return Ne+e+Fe+e+e;case 6165:return Ne+e+Fe+"flex-"+e+e;case 5187:return Ne+e+qe(e,/(\w+).+(:[^]+)/,Ne+"box-$1$2"+Fe+"flex-$1$2")+e;case 5443:return Ne+e+Fe+"flex-item-"+qe(e,/flex-|-self/,"")+e;case 4675:return Ne+e+Fe+"flex-line-pack"+qe(e,/align-content|flex-|-self/,"")+e;case 5548:return Ne+e+Fe+qe(e,"shrink","negative")+e;case 5292:return Ne+e+Fe+qe(e,"basis","preferred-size")+e;case 6060:return Ne+"box-"+qe(e,"-grow","")+Ne+e+Fe+qe(e,"grow","positive")+e;case 4554:return Ne+qe(e,/([^-])(transform)/g,"$1"+Ne+"$2")+e;case 6187:return qe(qe(qe(e,/(zoom-|grab)/,Ne+"$1"),/(image-set)/,Ne+"$1"),e,"")+e;case 5495:case 3959:return qe(e,/(image-set\([^]*)/,Ne+"$1$`$1");case 4968:return qe(qe(e,/(.+:)(flex-)?(.*)/,Ne+"box-pack:$3"+Fe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ne+e+e;case 4095:case 3583:case 4068:case 2532:return qe(e,/(.+)-inline(.+)/,Ne+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(at(e)-1-t>6)switch(Be(e,t+1)){case 109:if(Be(e,t+4)!==45)break;case 102:return qe(e,/(.+:)(.+)-([^]+)/,"$1"+Ne+"$2-$3$1"+$n+(Be(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Is(e,"stretch")?lu(qe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Be(e,t+1)!==115)break;case 6444:switch(Be(e,at(e)-3-(~Is(e,"!important")&&10))){case 107:return qe(e,":",":"+Ne)+e;case 101:return qe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ne+(Be(e,14)===45?"inline-":"")+"box$3$1"+Ne+"$2$3$1"+Fe+"$2box$3")+e}break;case 5936:switch(Be(e,t+11)){case 114:return Ne+e+Fe+qe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ne+e+Fe+qe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ne+e+Fe+qe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ne+e+Fe+e+e}return e}var Gp=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case ai:t.return=lu(t.value,t.length);break;case nu:return mr([jr(t,{value:qe(t.value,"@","@"+Ne)})],o);case ii:if(t.length)return Ep(t.props,function(s){switch(kp(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return mr([jr(t,{props:[qe(s,/:(read-\w+)/,":"+$n+"$1")]})],o);case"::placeholder":return mr([jr(t,{props:[qe(s,/:(plac\w+)/,":"+Ne+"input-$1")]}),jr(t,{props:[qe(s,/:(plac\w+)/,":"+$n+"$1")]}),jr(t,{props:[qe(s,/:(plac\w+)/,Fe+"input-$1")]})],o)}return""})}},Kp=[Gp],Up=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(h){var x=h.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var o=t.stylisPlugins||Kp,s={},i,a=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(h){for(var x=h.getAttribute("data-emotion").split(" "),y=1;y<x.length;y++)s[x[y]]=!0;a.push(h)});var l,d=[Hp,Wp];{var f,m=[Lp,Bp(function(h){f.insert(h)})],p=Dp(d.concat(o,m)),v=function(x){return mr(Op(x),p)};l=function(x,y,g,w){f=g,v(x?x+"{"+y.styles+"}":y.styles),w&&(b.inserted[y.name]=!0)}}var b={key:r,sheet:new wp({key:r,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:l};return b.sheet.hydrate(a),b};function Yp(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Xp={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Jp=/[A-Z]|^ms/g,Qp=/_EMO_([^_]+?)_([^]*?)_EMO_/g,cu=function(t){return t.charCodeAt(1)===45},Fa=function(t){return t!=null&&typeof t!="boolean"},_o=Fp(function(e){return cu(e)?e:e.replace(Jp,"-$&").toLowerCase()}),$a=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Qp,function(n,o,s){return At={name:o,styles:s,next:At},o})}return Xp[t]!==1&&!cu(t)&&typeof r=="number"&&r!==0?r+"px":r};function Vn(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var o=r;if(o.anim===1)return At={name:o.name,styles:o.styles,next:At},o.name;var s=r;if(s.styles!==void 0){var i=s.next;if(i!==void 0)for(;i!==void 0;)At={name:i.name,styles:i.styles,next:At},i=i.next;var a=s.styles+";";return a}return Zp(e,t,r)}}var l=r;if(t==null)return l;var d=t[l];return d!==void 0?d:l}function Zp(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Vn(e,t,r[o])+";";else for(var s in r){var i=r[s];if(typeof i!="object"){var a=i;t!=null&&t[a]!==void 0?n+=s+"{"+t[a]+"}":Fa(a)&&(n+=_o(s)+":"+$a(s,a)+";")}else if(Array.isArray(i)&&typeof i[0]=="string"&&(t==null||t[i[0]]===void 0))for(var l=0;l<i.length;l++)Fa(i[l])&&(n+=_o(s)+":"+$a(s,i[l])+";");else{var d=Vn(e,t,i);switch(s){case"animation":case"animationName":{n+=_o(s)+":"+d+";";break}default:n+=s+"{"+d+"}"}}}return n}var Va=/label:\s*([^\s;{]+)\s*(;|$)/g,At;function Oo(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,o="";At=void 0;var s=e[0];if(s==null||s.raw===void 0)n=!1,o+=Vn(r,t,s);else{var i=s;o+=i[0]}for(var a=1;a<e.length;a++)if(o+=Vn(r,t,e[a]),n){var l=s;o+=l[a]}Va.lastIndex=0;for(var d="",f;(f=Va.exec(o))!==null;)d+="-"+f[1];var m=Yp(o)+d;return{name:m,styles:o,next:At}}function uu(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(n+=o+" ")}),n}var ev=function(t,r,n){var o=t.key+"-"+r.name;t.registered[o]===void 0&&(t.registered[o]=r.styles)},tv=function(t,r,n){ev(t,r);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var s=r;do t.insert(r===s?"."+o:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function za(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function Ha(e,t,r){var n=[],o=uu(e,n,r);return n.length<2?r:o+t(n)}var rv=function(t){var r=Up(t);r.sheet.speedy=function(a){this.isSpeedy=a},r.compat=!0;var n=function(){for(var l=arguments.length,d=new Array(l),f=0;f<l;f++)d[f]=arguments[f];var m=Oo(d,r.registered,void 0);return tv(r,m),r.key+"-"+m.name},o=function(){for(var l=arguments.length,d=new Array(l),f=0;f<l;f++)d[f]=arguments[f];var m=Oo(d,r.registered),p="animation-"+m.name;return za(r,{name:m.name,styles:"@keyframes "+p+"{"+m.styles+"}"}),p},s=function(){for(var l=arguments.length,d=new Array(l),f=0;f<l;f++)d[f]=arguments[f];var m=Oo(d,r.registered);za(r,m)},i=function(){for(var l=arguments.length,d=new Array(l),f=0;f<l;f++)d[f]=arguments[f];return Ha(r.registered,n,nv(d))};return{css:n,cx:i,injectGlobal:s,keyframes:o,hydrate:function(l){l.forEach(function(d){r.inserted[d]=!0})},flush:function(){r.registered={},r.inserted={},r.sheet.flush()},sheet:r.sheet,cache:r,getRegisteredStyles:uu.bind(null,r.registered),merge:Ha.bind(null,r.registered,n)}},nv=function e(t){for(var r="",n=0;n<t.length;n++){var o=t[n];if(o!=null){var s=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))s=e(o);else{s="";for(var i in o)o[i]&&i&&(s&&(s+=" "),s+=i)}break}default:s=o}s&&(r&&(r+=" "),r+=s)}}return r},ov=rv({key:"css"}),sv=ov.css;function iv(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function _s(e,t,r){if(e){if(typeof e=="function"){_s(e(t),t,r);return}if(Array.isArray(e)){for(const n of e)_s(n,t,r);return}iv(e)&&r.push(e)}}function av(e,t){return!(t==null||typeof t=="object"||Array.isArray(t)||e.startsWith("@")||e.includes("&")||e.includes(":")||e.includes(" ")||e.includes(">")||e.includes("+")||e.includes("~")||e.includes("[")||e.includes(".")||e.includes("#"))}function lv(e){const t={};for(const[r,n]of Object.entries(e))av(r,n)&&(t[r]=n);return t}function X(e,t){const r=[];if(_s(e,t,r),!r.length)return{sxClassName:void 0,sxInlineStyle:void 0};const n=sv(r),o=r.reduce((s,i)=>({...s,...lv(i)}),{});return{sxClassName:n,sxInlineStyle:o}}function L(...e){const t=e.reduce((r,n)=>n?{...r,...n}:r,{});return Object.keys(t).length?t:void 0}function en(e){const{component:t,variant:r,size:n,rounded:o,shadow:s,bounce:i,splash:a,sx:l,style:d,className:f,class:m,...p}=e,v=t??"button",{roundedPreset:b,roundedStyle:h}=tr(o),{shadowPreset:x,shadowStyle:y}=Qr(s),g=se(),{sxClassName:w,sxInlineStyle:P}=X(l,g);return c.jsx(v,{className:j($c({variant:r,size:n,rounded:b,shadow:x,bounce:i,splash:a}),w,f,m),style:L(d,h,y,P),...p})}en.displayName="Button";const Mo={xs:"h-8 w-8 text-xs",sm:"h-10 w-10 text-sm",md:"h-12 w-12 text-base",lg:"h-14 w-14 text-lg",xl:"h-16 w-16 text-xl"};function cv(e){if(e===void 0)return{sizeClassName:Mo.md};if(typeof e=="string"&&e in Mo)return{sizeClassName:Mo[e]};const t=typeof e=="number"?`${e}px`:e;return{sizeStyle:{width:t,height:t}}}function zn(e){const{component:t,size:r="md",position:n="fixed",left:o,top:s,right:i=16,bottom:a=16,zIndex:l=10,rounded:d="full",className:f,style:m,...p}=e,{sizeClassName:v,sizeStyle:b}=cv(r),h={...p,component:t,size:"icon",rounded:d,className:j("shrink-0 overflow-hidden p-0",v,f),style:L({position:n,left:o,top:s,right:i,bottom:a,zIndex:l},b,m)};return c.jsx(en,{...h})}zn.displayName="GhostButton";const du="__LDKJ_GHOST_BUTTON_GROUP_ITEM__";function ci(e){return null}ci.displayName="GhostButtonGroup.Item";ci[du]=!0;function uv(e){return!!(e&&typeof e=="function"&&e[du]===!0)}function dv(e){return typeof e=="number"?`${e}px`:e}function Wa(e,t){return e.includes(t)}function fv(e){const t=[],r=[];return u.Children.forEach(e,n=>{if(u.isValidElement(n)&&uv(n.type)){r.push(n);return}t.push(n)}),{triggerChildren:t,itemChildren:r}}function mv(e,t){switch(e){case"down":return{position:"absolute",top:`calc(100% + ${t})`,right:0,display:"flex",flexDirection:"column",alignItems:"flex-end",gap:t};case"left":return{position:"absolute",right:`calc(100% + ${t})`,top:0,display:"flex",flexDirection:"row-reverse",alignItems:"center",gap:t};case"right":return{position:"absolute",left:`calc(100% + ${t})`,top:0,display:"flex",flexDirection:"row",alignItems:"center",gap:t};default:return{position:"absolute",bottom:`calc(100% + ${t})`,right:0,display:"flex",flexDirection:"column-reverse",alignItems:"flex-end",gap:t}}}function hv(e){switch(e){case"down":return"translateY(-16px) scale(0.78)";case"left":return"translateX(16px) scale(0.78)";case"right":return"translateX(-16px) scale(0.78)";default:return"translateY(16px) scale(0.78)"}}function pv(e,t,r,n){const o=t==="open",s=r*85,i=Math.max(n-r-1,0)*65;return{opacity:o?1:0,transform:o?"translate3d(0, 0, 0) scale(1)":hv(e),transitionProperty:"opacity, transform",transitionDuration:o?"380ms":"260ms",transitionTimingFunction:o?"cubic-bezier(0.16, 1, 0.3, 1)":"cubic-bezier(0.4, 0, 1, 1)",transitionDelay:`${o?s:i}ms`,willChange:"opacity, transform"}}function vv(e){const{trigger:t="click",direction:r="up",gap:n=12,items:o,children:s,position:i="fixed",left:a,top:l,right:d=16,bottom:f=16,zIndex:m=10,onClick:p,...v}=e,b=Array.isArray(t)?t:[t],h=dv(n),{triggerChildren:x,itemChildren:y}=fv(s),g=[...o??[],...y.map(_=>({..._.props,key:_.key??void 0}))],[w,P]=u.useState(!1),[C,S]=u.useState("closed"),N=u.useRef(null),q=u.useRef(null),k=x.length>0?c.jsx(c.Fragment,{children:x}):void 0,A=Wa(b,"hover"),E=Wa(b,"click"),R=Math.max(g.length-1,0)*65,I=C!=="closed";u.useEffect(()=>{if(w){if(C==="open"||C==="preparing")return;S("preparing");return}if(C==="closed"||C==="exiting")return;S("exiting");const _=window.setTimeout(()=>{S("closed")},R);return()=>window.clearTimeout(_)},[R,C,w]),u.useLayoutEffect(()=>{if(C!=="preparing")return;q.current?.offsetHeight;const _=window.requestAnimationFrame(()=>{S($=>$==="preparing"?"open":$)});return()=>window.cancelAnimationFrame(_)},[C]),u.useEffect(()=>{if(!w||!E)return;const _=M=>{const U=M.target;U instanceof Node&&(N.current?.contains(U)||P(!1))},$=M=>{M.key==="Escape"&&P(!1)};return document.addEventListener("pointerdown",_),document.addEventListener("keydown",$),()=>{document.removeEventListener("pointerdown",_),document.removeEventListener("keydown",$)}},[w,E]);const O={...v,position:"static",right:void 0,bottom:void 0,left:void 0,top:void 0,zIndex:m,onClick:_=>{E&&P($=>!$),p?.(_)},"aria-expanded":w,"aria-haspopup":"menu",children:k};return c.jsx("div",{ref:N,className:j("inline-flex w-fit"),style:{position:i,left:a,top:l,right:d,bottom:f,zIndex:m},onMouseEnter:A?()=>P(!0):void 0,onMouseLeave:A?()=>P(!1):void 0,children:c.jsxs("div",{className:j("relative inline-flex w-fit"),children:[I&&g.length>0?c.jsx("div",{ref:q,style:{...mv(r,h),pointerEvents:C==="open"?"auto":"none"},children:g.map((_,$)=>{const{itemKey:M,onClick:U,...D}=_;return c.jsx("div",{style:pv(r,C,$,g.length),children:c.jsx(zn,{position:"static",...D,onClick:G=>{U?.(G),P(!1)}})},M??_.key??$)})}):null,c.jsx(zn,{...O})]})})}const fu=Object.assign(vv,{Item:ci});fu.displayName="GhostButtonGroup";const ui={account_balance:{outlined:()=>Promise.resolve().then(()=>require("./icons/account_balance-CUtdZSEP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/account_balance-DgmFjt_z.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/account_balance-DeohA2h8.cjs"))},account_box:{outlined:()=>Promise.resolve().then(()=>require("./icons/account_box-ByaMMQqG.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/account_box-D7sM1NTh.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/account_box-ajw070dx.cjs"))},account_circle:{outlined:()=>Promise.resolve().then(()=>require("./icons/account_circle-o5PrByrE.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/account_circle-C5KLCF80.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/account_circle-BMRVTtpY.cjs"))},add:{outlined:()=>Promise.resolve().then(()=>require("./icons/add-BzODBN57.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/add-Bj-fRqEw.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/add-Dpbpem6v.cjs"))},add_circle:{outlined:()=>Promise.resolve().then(()=>require("./icons/add_circle-BEfQaNTw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/add_circle-Pz6hbZr2.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/add_circle-Bs6fLIPH.cjs"))},admin_panel_settings:{outlined:()=>Promise.resolve().then(()=>require("./icons/admin_panel_settings-BbSsx_KB.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/admin_panel_settings-Cq6cV6Iq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/admin_panel_settings-DcqNfgoM.cjs"))},air:{outlined:()=>Promise.resolve().then(()=>require("./icons/air-BF03LOQ-.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/air-i_rK7JxO.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/air-OSLzaxxp.cjs"))},alarm:{outlined:()=>Promise.resolve().then(()=>require("./icons/alarm-CCYlrdau.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/alarm-DeO1fh0q.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/alarm-BxyCb1Qv.cjs"))},apps:{outlined:()=>Promise.resolve().then(()=>require("./icons/apps-fIilHLYB.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/apps-BdFHXOsp.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/apps-C9ltbSUJ.cjs"))},archive:{outlined:()=>Promise.resolve().then(()=>require("./icons/archive-7V65cuRY.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/archive-er16TWXw.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/archive-Ckz6yJQF.cjs"))},arrow_back:{outlined:()=>Promise.resolve().then(()=>require("./icons/arrow_back-XdtHQyqo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/arrow_back-DaOcsNP6.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/arrow_back-g66EkDwT.cjs"))},arrow_downward:{outlined:()=>Promise.resolve().then(()=>require("./icons/arrow_downward-BBbhvRa_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/arrow_downward-CYCI-w3L.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/arrow_downward-DkW9HR00.cjs"))},arrow_forward:{outlined:()=>Promise.resolve().then(()=>require("./icons/arrow_forward-NKtJV9mD.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/arrow_forward-B54VLaZC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/arrow_forward-hLdyTARF.cjs"))},arrow_upward:{outlined:()=>Promise.resolve().then(()=>require("./icons/arrow_upward-GAIOJvM7.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/arrow_upward-BtxjFwlX.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/arrow_upward-CBdxpNSC.cjs"))},article:{outlined:()=>Promise.resolve().then(()=>require("./icons/article-B6nzs-qa.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/article-CGpbLCcR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/article-CDZ6_tTi.cjs"))},attach_file:{outlined:()=>Promise.resolve().then(()=>require("./icons/attach_file-DyFViTnA.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/attach_file-RLWNGDyR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/attach_file-CNA3xvqM.cjs"))},attach_money:{outlined:()=>Promise.resolve().then(()=>require("./icons/attach_money-DQPXCGZk.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/attach_money-CfNoy99Y.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/attach_money-JvxHPUl2.cjs"))},backspace:{outlined:()=>Promise.resolve().then(()=>require("./icons/backspace-JswWFvx7.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/backspace-DDu6Afit.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/backspace-pPWKZ2Y2.cjs"))},badge:{outlined:()=>Promise.resolve().then(()=>require("./icons/badge-Cc8lmWgw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/badge-Btf6MXDZ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/badge-BXrUAN1m.cjs"))},block:{outlined:()=>Promise.resolve().then(()=>require("./icons/block-ByxkMrvC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/block-C8EIO6vB.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/block-D7pQpqds.cjs"))},bolt:{outlined:()=>Promise.resolve().then(()=>require("./icons/bolt-CUZki2JV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/bolt-A-Z_tqr9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/bolt-BKR3IpJG.cjs"))},book:{outlined:()=>Promise.resolve().then(()=>require("./icons/book-B_vtXpwq.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/book-BvIH3Qcj.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/book-s5W9WL4N.cjs"))},bookmark:{outlined:()=>Promise.resolve().then(()=>require("./icons/bookmark-BJdOWq2Y.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/bookmark-BOsIEQfb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/bookmark-CY6PuZ4w.cjs"))},bookmarks:{outlined:()=>Promise.resolve().then(()=>require("./icons/bookmarks-CBfrFEQH.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/bookmarks-C1k5ldLa.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/bookmarks-DbGfzxJk.cjs"))},brush:{outlined:()=>Promise.resolve().then(()=>require("./icons/brush-DqhWkOyP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/brush-CWCZYG4N.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/brush-oeiVL9Xk.cjs"))},bug_report:{outlined:()=>Promise.resolve().then(()=>require("./icons/bug_report-Dgg4ML7C.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/bug_report-DqBzy5Wd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/bug_report-FgdRro3E.cjs"))},build:{outlined:()=>Promise.resolve().then(()=>require("./icons/build-DzKk0FwR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/build-Bg6u0xY0.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/build-fQP-NxA6.cjs"))},calendar_month:{outlined:()=>Promise.resolve().then(()=>require("./icons/calendar_month-BuGnlxNv.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/calendar_month-CWa__6wz.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/calendar_month-BX-upKoW.cjs"))},calendar_today:{outlined:()=>Promise.resolve().then(()=>require("./icons/calendar_today-dvqmK8Mt.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/calendar_today-BXLVEJdq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/calendar_today-CPs1WBvs.cjs"))},call:{outlined:()=>Promise.resolve().then(()=>require("./icons/call-ay175YDV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/call-ftvfgcxN.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/call-wKD6ISPV.cjs"))},call_end:{outlined:()=>Promise.resolve().then(()=>require("./icons/call_end-DwGpra_h.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/call_end-Bx5pJnkm.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/call_end-WoQXHoTY.cjs"))},call_made:{outlined:()=>Promise.resolve().then(()=>require("./icons/call_made-BKy-0N_5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/call_made-1di_yrkH.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/call_made-nzO_qhRa.cjs"))},call_received:{outlined:()=>Promise.resolve().then(()=>require("./icons/call_received-DiGMt09V.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/call_received-kDCUptdw.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/call_received-svsjpWZB.cjs"))},campaign:{outlined:()=>Promise.resolve().then(()=>require("./icons/campaign-CO4rU-NI.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/campaign-C7gu21Yl.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/campaign-Ci9P9bD0.cjs"))},cancel:{outlined:()=>Promise.resolve().then(()=>require("./icons/cancel-syDzrIhz.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/cancel-Be4ComkT.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/cancel-BswRxQQC.cjs"))},category:{outlined:()=>Promise.resolve().then(()=>require("./icons/category-DLWu2IoJ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/category-lpNWuhQx.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/category-CnrWZz9Q.cjs"))},chat:{outlined:()=>Promise.resolve().then(()=>require("./icons/chat-DThyMw25.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/chat-DVBtcmFJ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/chat-BIjxgeKo.cjs"))},chat_bubble:{outlined:()=>Promise.resolve().then(()=>require("./icons/chat_bubble-B7awcvGP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/chat_bubble-CPB6ZiCC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/chat_bubble-mZGoeI3I.cjs"))},check:{outlined:()=>Promise.resolve().then(()=>require("./icons/check-C4gcqg9A.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/check-CDtP9Bf4.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/check-BQ20Asfd.cjs"))},check_box:{outlined:()=>Promise.resolve().then(()=>require("./icons/check_box-cXMcUfzz.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/check_box-yboW6saa.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/check_box-DD0D5gpB.cjs"))},check_box_outline_blank:{outlined:()=>Promise.resolve().then(()=>require("./icons/check_box_outline_blank-CIKY0Ccw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/check_box_outline_blank-B0K7VEOf.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/check_box_outline_blank-DPZa0VCl.cjs"))},check_circle:{outlined:()=>Promise.resolve().then(()=>require("./icons/check_circle-DTQ1d7Oc.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/check_circle-BVUl3Gb5.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/check_circle-BYYx6u5r.cjs"))},chevron_left:{outlined:()=>Promise.resolve().then(()=>require("./icons/chevron_left-Yec8UECM.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/chevron_left-DE3pHCnM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/chevron_left-BPHI54rl.cjs"))},chevron_right:{outlined:()=>Promise.resolve().then(()=>require("./icons/chevron_right-BkGOM5fi.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/chevron_right-CFTu2vbL.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/chevron_right-DpzjvNsP.cjs"))},child_care:{outlined:()=>Promise.resolve().then(()=>require("./icons/child_care-nZB2N3YA.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/child_care-CIQ9k-f9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/child_care-CB79ivb8.cjs"))},circle:{outlined:()=>Promise.resolve().then(()=>require("./icons/circle-DS_HMXBR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/circle-BPX6153P.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/circle-D8ImCYQn.cjs"))},close:{outlined:()=>Promise.resolve().then(()=>require("./icons/close-C71jnCsP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/close-DAORXT73.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/close-08-8sBl_.cjs"))},cloud:{outlined:()=>Promise.resolve().then(()=>require("./icons/cloud-aGhF0P8X.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/cloud-DoSYW56S.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/cloud-CWTEjqrC.cjs"))},cloud_download:{outlined:()=>Promise.resolve().then(()=>require("./icons/cloud_download-Cr0f1A7w.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/cloud_download-BSgA6nE3.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/cloud_download-B46UbXM2.cjs"))},cloud_upload:{outlined:()=>Promise.resolve().then(()=>require("./icons/cloud_upload-CEBNsRxa.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/cloud_upload-BxrCa7P9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/cloud_upload-C8JjVx81.cjs"))},code:{outlined:()=>Promise.resolve().then(()=>require("./icons/code-6RkiCXwP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/code-DuM9qskR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/code-oJW84q_m.cjs"))},comment:{outlined:()=>Promise.resolve().then(()=>require("./icons/comment-O_bHBTmR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/comment-jfrDsQcR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/comment-D2ad_q2m.cjs"))},compare:{outlined:()=>Promise.resolve().then(()=>require("./icons/compare-CUzBU-28.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/compare-DdMgRs9f.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/compare-DFR9iUjQ.cjs"))},contacts:{outlined:()=>Promise.resolve().then(()=>require("./icons/contacts-4hDX5byG.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/contacts-Cb5xhSPR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/contacts-GfLHJBAS.cjs"))},content_copy:{outlined:()=>Promise.resolve().then(()=>require("./icons/content_copy-Dm6tlywE.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/content_copy-CDA8g8Ce.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/content_copy-B295-Nv3.cjs"))},content_paste:{outlined:()=>Promise.resolve().then(()=>require("./icons/content_paste-CoehqCUw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/content_paste-D0OJlLhs.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/content_paste-CAAddckI.cjs"))},copyright:{outlined:()=>Promise.resolve().then(()=>require("./icons/copyright-CmWUWze4.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/copyright-B4gtWEWc.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/copyright-sqUhIT0W.cjs"))},credit_card:{outlined:()=>Promise.resolve().then(()=>require("./icons/credit_card-B_DF2PK1.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/credit_card-Ch3__Lys.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/credit_card-_iyk8SdT.cjs"))},credit_score:{outlined:()=>Promise.resolve().then(()=>require("./icons/credit_score-BTAUUWvv.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/credit_score-RCK9vD6_.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/credit_score-BUo_aYKm.cjs"))},crop:{outlined:()=>Promise.resolve().then(()=>require("./icons/crop-GyzEL4nJ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/crop-CLGpqAKW.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/crop-Ck5Oq93S.cjs"))},dangerous:{outlined:()=>Promise.resolve().then(()=>require("./icons/dangerous-BHX_WAG0.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/dangerous-VVnFWj0T.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/dangerous-CyWhR8GS.cjs"))},dark_mode:{outlined:()=>Promise.resolve().then(()=>require("./icons/dark_mode-CVQYfD9N.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/dark_mode-Cna-h-8z.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/dark_mode-BApz1m5T.cjs"))},dashboard:{outlined:()=>Promise.resolve().then(()=>require("./icons/dashboard-y4JXkAlZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/dashboard-yvpXQGFe.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/dashboard-qxOP92mW.cjs"))},data_usage:{outlined:()=>Promise.resolve().then(()=>require("./icons/data_usage-BFgNM46G.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/data_usage-DF86vx6L.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/data_usage-B69lbac5.cjs"))},delete:{outlined:()=>Promise.resolve().then(()=>require("./icons/delete-C0t5Pp8-.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/delete-CEMqbUF0.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/delete-xENv8YmX.cjs"))},delete_forever:{outlined:()=>Promise.resolve().then(()=>require("./icons/delete_forever-BE5StSao.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/delete_forever-DwtLSgzF.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/delete_forever-B8PUopIK.cjs"))},density_medium:{outlined:()=>Promise.resolve().then(()=>require("./icons/density_medium-BFy-8lbn.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/density_medium-Bze5BcMr.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/density_medium-BoavJs4H.cjs"))},description:{outlined:()=>Promise.resolve().then(()=>require("./icons/description-SQPUh5qC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/description-CxGEPSh9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/description-CMHCszzJ.cjs"))},desktop_windows:{outlined:()=>Promise.resolve().then(()=>require("./icons/desktop_windows-DOHf23Xr.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/desktop_windows-rsIMFxNM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/desktop_windows-ft9l6Jnn.cjs"))},devices:{outlined:()=>Promise.resolve().then(()=>require("./icons/devices-D1QkNOdg.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/devices-Cs6AyB_p.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/devices-CZuDnQ7B.cjs"))},directions:{outlined:()=>Promise.resolve().then(()=>require("./icons/directions-CV3aYvJw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/directions-Cq30pjX9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/directions-BYfIHQ8Z.cjs"))},directions_bus:{outlined:()=>Promise.resolve().then(()=>require("./icons/directions_bus-CznPtArU.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/directions_bus-ChCQ0VJv.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/directions_bus-2Bu4yiHM.cjs"))},directions_car:{outlined:()=>Promise.resolve().then(()=>require("./icons/directions_car-DIRBYtBd.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/directions_car-Ty3h4aoe.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/directions_car-dxAiBgAE.cjs"))},dns:{outlined:()=>Promise.resolve().then(()=>require("./icons/dns-BrL6vlto.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/dns-DQC01d17.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/dns-BxMrX-Qx.cjs"))},download:{outlined:()=>Promise.resolve().then(()=>require("./icons/download-BfEc7ftL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/download-oQO1wMDQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/download-BbGaNWaF.cjs"))},download_done:{outlined:()=>Promise.resolve().then(()=>require("./icons/download_done-BF_KMt21.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/download_done-mY_IvV91.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/download_done-QJO7z-t7.cjs"))},drag_handle:{outlined:()=>Promise.resolve().then(()=>require("./icons/drag_handle-B85eeiSW.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/drag_handle-CZy0Muds.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/drag_handle-DIHjJaP4.cjs"))},drive_file_move:{outlined:()=>Promise.resolve().then(()=>require("./icons/drive_file_move-CyquxnGI.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/drive_file_move-B7Ib41Bg.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/drive_file_move-BzZBDz_T.cjs"))},eco:{outlined:()=>Promise.resolve().then(()=>require("./icons/eco-BQpR7DfB.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/eco-BfhARi85.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/eco-Dti-gVb_.cjs"))},edit:{outlined:()=>Promise.resolve().then(()=>require("./icons/edit-ChFc7I7P.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/edit-BeJgtsta.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/edit-T1-rErag.cjs"))},edit_attributes:{outlined:()=>Promise.resolve().then(()=>require("./icons/edit_attributes-6JWFwGzl.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/edit_attributes-B1Ctn3RI.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/edit_attributes-BFsYoU1-.cjs"))},edit_note:{outlined:()=>Promise.resolve().then(()=>require("./icons/edit_note-Da_iOdrc.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/edit_note-rScMJnJT.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/edit_note--rw8SVa_.cjs"))},eject:{outlined:()=>Promise.resolve().then(()=>require("./icons/eject-C_8lRJPy.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/eject-DTQWDrIz.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/eject-CtLNSegr.cjs"))},elderly:{outlined:()=>Promise.resolve().then(()=>require("./icons/elderly-Ceh2P7r-.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/elderly-CcU85K06.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/elderly-DAtLwTFA.cjs"))},engineering:{outlined:()=>Promise.resolve().then(()=>require("./icons/engineering-BkYJD_Or.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/engineering-1o10EfNE.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/engineering-JuMPs6Y3.cjs"))},equalizer:{outlined:()=>Promise.resolve().then(()=>require("./icons/equalizer-efzGc3fN.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/equalizer-DJkAwv6t.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/equalizer-CBRz_t0n.cjs"))},error:{outlined:()=>Promise.resolve().then(()=>require("./icons/error-DhIFJDit.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/error-DzScQD-0.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/error-BSxnVrjF.cjs"))},event:{outlined:()=>Promise.resolve().then(()=>require("./icons/event-CLOpMWNS.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/event-BO8hSbhH.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/event-C0zGLwjQ.cjs"))},event_available:{outlined:()=>Promise.resolve().then(()=>require("./icons/event_available-D39f0o2z.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/event_available-DwjeOvX9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/event_available-DMl5IYfi.cjs"))},event_busy:{outlined:()=>Promise.resolve().then(()=>require("./icons/event_busy-DLhs3cqk.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/event_busy-CO5GomJ1.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/event_busy-BsbAdBc3.cjs"))},exit_to_app:{outlined:()=>Promise.resolve().then(()=>require("./icons/exit_to_app-4ELlyKP5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/exit_to_app-Bp3DQYOi.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/exit_to_app-BPsYFa6S.cjs"))},expand:{outlined:()=>Promise.resolve().then(()=>require("./icons/expand-BoSPrbcp.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/expand-CADHXT-_.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/expand-Dy3_OGRo.cjs"))},explore:{outlined:()=>Promise.resolve().then(()=>require("./icons/explore-CiiSPHhR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/explore-DAuehy4i.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/explore-CWVUOfFd.cjs"))},explore_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/explore_off-BR_xU7jX.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/explore_off-Bsy6PdBD.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/explore_off-C8Pin35x.cjs"))},extension:{outlined:()=>Promise.resolve().then(()=>require("./icons/extension-Bg6YhsUZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/extension-B2Ud25CS.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/extension-Cj_PMbmr.cjs"))},face:{outlined:()=>Promise.resolve().then(()=>require("./icons/face-B0mI3FAR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/face-Dx3-uvsR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/face-nfbmNSRn.cjs"))},fast_forward:{outlined:()=>Promise.resolve().then(()=>require("./icons/fast_forward-cSegXWFV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fast_forward-B0y9Ca2u.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fast_forward-BMw4eJA1.cjs"))},fast_rewind:{outlined:()=>Promise.resolve().then(()=>require("./icons/fast_rewind-ClQr4UqL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fast_rewind-BErJGjyk.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fast_rewind-CmURbjb8.cjs"))},favorite:{outlined:()=>Promise.resolve().then(()=>require("./icons/favorite-C7ps1Maq.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/favorite-3J46b-ep.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/favorite-LUIfqiQF.cjs"))},feedback:{outlined:()=>Promise.resolve().then(()=>require("./icons/feedback-B_jbalMc.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/feedback-DpFRhEHp.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/feedback-BaEOlZmy.cjs"))},file_copy:{outlined:()=>Promise.resolve().then(()=>require("./icons/file_copy-CTIQJQ-Q.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/file_copy-BryVfjLP.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/file_copy-D7W7B9tN.cjs"))},filter_list:{outlined:()=>Promise.resolve().then(()=>require("./icons/filter_list-DpBj6Yx1.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/filter_list-B8Txqh_n.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/filter_list-CH0lPLm2.cjs"))},find_in_page:{outlined:()=>Promise.resolve().then(()=>require("./icons/find_in_page-BnUd7Adl.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/find_in_page-d1tGoTfD.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/find_in_page-CZWej5L8.cjs"))},find_replace:{outlined:()=>Promise.resolve().then(()=>require("./icons/find_replace-COPwtD3A.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/find_replace-B_KZ8iLe.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/find_replace-BVX_mdI2.cjs"))},fingerprint:{outlined:()=>Promise.resolve().then(()=>require("./icons/fingerprint-s6Wvd5xY.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fingerprint-BwdcEXJy.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fingerprint-Cjs10wLp.cjs"))},first_page:{outlined:()=>Promise.resolve().then(()=>require("./icons/first_page-LyKNPAwN.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/first_page-CFfNXxJa.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/first_page-BNf1p3Bb.cjs"))},fit_screen:{outlined:()=>Promise.resolve().then(()=>require("./icons/fit_screen-DgeLJfZy.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fit_screen-B9tJEMV5.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fit_screen-NF0JPdOh.cjs"))},fitness_center:{outlined:()=>Promise.resolve().then(()=>require("./icons/fitness_center-DOb_SqRR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fitness_center-BhjkYdCs.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fitness_center-wLAD2vZ_.cjs"))},flag:{outlined:()=>Promise.resolve().then(()=>require("./icons/flag-E-VIxwkr.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/flag-LD2jAYeI.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/flag-DZqg40eh.cjs"))},flare:{outlined:()=>Promise.resolve().then(()=>require("./icons/flare-DZBDF8BR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/flare-DZL3slPE.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/flare-BPXjy3gS.cjs"))},flash_on:{outlined:()=>Promise.resolve().then(()=>require("./icons/flash_on-DIcsCTnL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/flash_on-B6CuALXr.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/flash_on-BotDglNP.cjs"))},flight:{outlined:()=>Promise.resolve().then(()=>require("./icons/flight-BNYPJg6b.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/flight-BLrZxPop.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/flight-CMxTfrzT.cjs"))},flip:{outlined:()=>Promise.resolve().then(()=>require("./icons/flip-BAlqTIVF.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/flip-Bz6vLJ-d.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/flip-Cqg-_005.cjs"))},folder:{outlined:()=>Promise.resolve().then(()=>require("./icons/folder-DBjcNXNU.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/folder-CEMBequd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/folder-DuEc_ds7.cjs"))},folder_open:{outlined:()=>Promise.resolve().then(()=>require("./icons/folder_open-B7M1GBAB.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/folder_open-BCePqSqz.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/folder_open-B_oOp3kv.cjs"))},folder_shared:{outlined:()=>Promise.resolve().then(()=>require("./icons/folder_shared-BesFvcRa.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/folder_shared-Cy2npeFh.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/folder_shared-DgpExGUb.cjs"))},forum:{outlined:()=>Promise.resolve().then(()=>require("./icons/forum-ClIUKbam.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/forum-C0U0c7lC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/forum-W9gwVTdH.cjs"))},fullscreen:{outlined:()=>Promise.resolve().then(()=>require("./icons/fullscreen-CeXAg0Rs.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fullscreen-BbuB8GJ1.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fullscreen-DzeaQMMi.cjs"))},fullscreen_exit:{outlined:()=>Promise.resolve().then(()=>require("./icons/fullscreen_exit-Dv_5bvVl.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/fullscreen_exit-BQAdlG7F.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/fullscreen_exit-BdILU2wy.cjs"))},gavel:{outlined:()=>Promise.resolve().then(()=>require("./icons/gavel-D-OTl_bj.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/gavel-F-uuY7jq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/gavel-DwIL5r9o.cjs"))},gesture:{outlined:()=>Promise.resolve().then(()=>require("./icons/gesture-DeCjZ4OV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/gesture-V_2x4_gC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/gesture-CDVjysbx.cjs"))},gif:{outlined:()=>Promise.resolve().then(()=>require("./icons/gif-Cdgf5jLT.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/gif-BjNPP4Fi.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/gif-Dbqa6Qt9.cjs"))},grid_view:{outlined:()=>Promise.resolve().then(()=>require("./icons/grid_view-ClltetuJ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/grid_view-DaRUrgXH.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/grid_view-B68F0xHI.cjs"))},group:{outlined:()=>Promise.resolve().then(()=>require("./icons/group-B8IYS99v.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/group-BPq1UB-p.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/group-_x6YgwIQ.cjs"))},group_add:{outlined:()=>Promise.resolve().then(()=>require("./icons/group_add-DRT53nn9.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/group_add-yGgEMHEW.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/group_add-BM5MTU4c.cjs"))},groups:{outlined:()=>Promise.resolve().then(()=>require("./icons/groups-C108XU4y.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/groups-BnGg38nU.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/groups-xhrjwIB0.cjs"))},handyman:{outlined:()=>Promise.resolve().then(()=>require("./icons/handyman-xpAdwmnn.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/handyman-jhYg_Ni9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/handyman-4agk8mvK.cjs"))},headphones:{outlined:()=>Promise.resolve().then(()=>require("./icons/headphones-ByLMZlNY.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/headphones-CFD4aFp7.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/headphones-Co40H2aF.cjs"))},healing:{outlined:()=>Promise.resolve().then(()=>require("./icons/healing-aaFdWh5W.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/healing-BDkkXt9q.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/healing-B-0A2nAU.cjs"))},help:{outlined:()=>Promise.resolve().then(()=>require("./icons/help-OaQroamO.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/help-C3CEzn4A.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/help-Ctda3jdI.cjs"))},highlight:{outlined:()=>Promise.resolve().then(()=>require("./icons/highlight-6N9Q1nCv.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/highlight-2e5dcG25.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/highlight-B06WsyLv.cjs"))},history:{outlined:()=>Promise.resolve().then(()=>require("./icons/history-BOV-9TKh.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/history-CU_ehRzx.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/history-BUB_tYea.cjs"))},history_toggle_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/history_toggle_off-Bhya520A.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/history_toggle_off-DnRUn4bN.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/history_toggle_off-gyY-rgoJ.cjs"))},home:{outlined:()=>Promise.resolve().then(()=>require("./icons/home-Dokhawqy.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/home-BTOD_204.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/home-r_TUIXCB.cjs"))},home_work:{outlined:()=>Promise.resolve().then(()=>require("./icons/home_work-CG_ldX6X.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/home_work-B964c0gI.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/home_work-RpG7pfN8.cjs"))},hotel:{outlined:()=>Promise.resolve().then(()=>require("./icons/hotel-bfy2VvG_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/hotel-DPvGMpsA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/hotel-CPtCcGqG.cjs"))},hourglass_empty:{outlined:()=>Promise.resolve().then(()=>require("./icons/hourglass_empty-B5l-KyA_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/hourglass_empty-Dj67ruJJ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/hourglass_empty-w_LZI7ql.cjs"))},http:{outlined:()=>Promise.resolve().then(()=>require("./icons/http-CkQzvLY8.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/http-D1K3W8nC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/http-fS1e0mTs.cjs"))},image:{outlined:()=>Promise.resolve().then(()=>require("./icons/image-CQ1rcY-m.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/image-m4vdlOrM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/image-Epxcfqar.cjs"))},image_search:{outlined:()=>Promise.resolve().then(()=>require("./icons/image_search-DFdtq1ol.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/image_search-Df6Ng67p.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/image_search-QPrlvCTB.cjs"))},important_devices:{outlined:()=>Promise.resolve().then(()=>require("./icons/important_devices-BQm7YX8s.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/important_devices-CEL-eNng.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/important_devices-CaP-knAj.cjs"))},inbox:{outlined:()=>Promise.resolve().then(()=>require("./icons/inbox-Bf8a9r3C.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/inbox-DlEuYH_M.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/inbox-CbKEEwtR.cjs"))},info:{outlined:()=>Promise.resolve().then(()=>require("./icons/info-B7YBEpiO.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/info-D76Irr5N.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/info-DnsOX_R2.cjs"))},input:{outlined:()=>Promise.resolve().then(()=>require("./icons/input-BledoS7j.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/input-CiaLhaBv.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/input-DFmBoxLr.cjs"))},inventory:{outlined:()=>Promise.resolve().then(()=>require("./icons/inventory-D3F1c0G4.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/inventory-C6l6OEEh.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/inventory-BWwO-xah.cjs"))},key:{outlined:()=>Promise.resolve().then(()=>require("./icons/key-Cd1LQA96.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/key-BapDxdJR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/key-WmFDui-T.cjs"))},keyboard:{outlined:()=>Promise.resolve().then(()=>require("./icons/keyboard-9kPP_fZo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/keyboard-Bncd-r2h.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/keyboard-DEtvWaW3.cjs"))},label:{outlined:()=>Promise.resolve().then(()=>require("./icons/label-Csjt3SVM.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/label-Cm8auEWA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/label-D4Z8lgx6.cjs"))},language:{outlined:()=>Promise.resolve().then(()=>require("./icons/language-Dnk6WN_j.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/language-DUV1M-65.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/language-CxIJ1SrJ.cjs"))},last_page:{outlined:()=>Promise.resolve().then(()=>require("./icons/last_page-oTIYzPFL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/last_page-CjRlRrpV.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/last_page-Cbb3HacN.cjs"))},layers:{outlined:()=>Promise.resolve().then(()=>require("./icons/layers-RHUoY1x9.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/layers-NrOiyn4B.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/layers-Blmdyx3T.cjs"))},light_mode:{outlined:()=>Promise.resolve().then(()=>require("./icons/light_mode-Bo8UvOO0.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/light_mode-C3ZmUjzM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/light_mode-C3vqv6r9.cjs"))},line_style:{outlined:()=>Promise.resolve().then(()=>require("./icons/line_style-hKwpJThN.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/line_style-ChfgY8Fz.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/line_style-DlXCE4Um.cjs"))},link:{outlined:()=>Promise.resolve().then(()=>require("./icons/link-SqQvG2aS.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/link-BFqEzcuh.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/link-BEt8Rdrk.cjs"))},list:{outlined:()=>Promise.resolve().then(()=>require("./icons/list-B3bGHUAB.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/list-ExRMWvY6.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/list-D0u18QaB.cjs"))},live_help:{outlined:()=>Promise.resolve().then(()=>require("./icons/live_help-cSkLrDFh.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/live_help-B1k0yUF9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/live_help-B9sVajvu.cjs"))},local_cafe:{outlined:()=>Promise.resolve().then(()=>require("./icons/local_cafe-BbLYHQ5G.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/local_cafe-gSN4KJIQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/local_cafe-BRwE0wVl.cjs"))},local_hospital:{outlined:()=>Promise.resolve().then(()=>require("./icons/local_hospital-CeMxQ9XC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/local_hospital-BQxIobVR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/local_hospital-MPVU96Sw.cjs"))},local_taxi:{outlined:()=>Promise.resolve().then(()=>require("./icons/local_taxi-CVCg6SLk.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/local_taxi-DYWVyvAC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/local_taxi-BvyxG2_8.cjs"))},location_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/location_off-TLyox8Gw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/location_off-BwRgLKKl.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/location_off-BQw1qzX6.cjs"))},location_on:{outlined:()=>Promise.resolve().then(()=>require("./icons/location_on-zlbjO2nd.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/location_on-C_Q78KW6.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/location_on-B-4p1Vaw.cjs"))},lock:{outlined:()=>Promise.resolve().then(()=>require("./icons/lock-BczdF5aF.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/lock-DoMqxNht.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/lock-CMBDoG1m.cjs"))},lock_open:{outlined:()=>Promise.resolve().then(()=>require("./icons/lock_open-DNBPlz0I.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/lock_open-CbcCQPoq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/lock_open-BsfuU82J.cjs"))},lock_reset:{outlined:()=>Promise.resolve().then(()=>require("./icons/lock_reset-1_dRLFAg.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/lock_reset-BFi8YBZd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/lock_reset-xNTFVkP0.cjs"))},login:{outlined:()=>Promise.resolve().then(()=>require("./icons/login-BjZiShoE.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/login-6YNL4CrP.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/login-Bogn9TQm.cjs"))},logout:{outlined:()=>Promise.resolve().then(()=>require("./icons/logout-Bphd-i1_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/logout-9MBXaMSb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/logout-BKRH1LQ7.cjs"))},mail:{outlined:()=>Promise.resolve().then(()=>require("./icons/mail-stTZgOxR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/mail-zslK5Vp0.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/mail-SRkbZHDV.cjs"))},map:{outlined:()=>Promise.resolve().then(()=>require("./icons/map-DlCPxLI4.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/map-BN0czcmT.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/map-OHAPN5Jm.cjs"))},mark_email_read:{outlined:()=>Promise.resolve().then(()=>require("./icons/mark_email_read-4O476T7R.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/mark_email_read-B5tjuBKg.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/mark_email_read-C6yfr2fW.cjs"))},mark_email_unread:{outlined:()=>Promise.resolve().then(()=>require("./icons/mark_email_unread-BbgVYB4S.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/mark_email_unread-CS1ID0rU.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/mark_email_unread-BzBlwfDW.cjs"))},maximize:{outlined:()=>Promise.resolve().then(()=>require("./icons/maximize-BfsEZe_5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/maximize-yncMJ3Gg.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/maximize-D_c72Iyc.cjs"))},medication:{outlined:()=>Promise.resolve().then(()=>require("./icons/medication-BP-gJNIW.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/medication-B7oNWWhQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/medication-BXpvVQlG.cjs"))},menu:{outlined:()=>Promise.resolve().then(()=>require("./icons/menu-BSH9Euis.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/menu-BI_0LYcg.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/menu-CyUV3J9k.cjs"))},mic:{outlined:()=>Promise.resolve().then(()=>require("./icons/mic-Bv7uyEhL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/mic-OWlr0FyC.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/mic-DeY1JMNU.cjs"))},mic_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/mic_off-CrExlNjs.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/mic_off-3AQHolNv.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/mic_off-O3medmXx.cjs"))},minimize:{outlined:()=>Promise.resolve().then(()=>require("./icons/minimize-C1fwEdxW.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/minimize-b3mKEIDM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/minimize-CLS-Wwu4.cjs"))},model_training:{outlined:()=>Promise.resolve().then(()=>require("./icons/model_training-CRZqBwX8.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/model_training-BHnB1pq-.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/model_training-2hXP1oSx.cjs"))},monitor:{outlined:()=>Promise.resolve().then(()=>require("./icons/monitor-DEOzv1-v.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/monitor-DmiG1_9A.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/monitor-Do46ojnJ.cjs"))},more_horiz:{outlined:()=>Promise.resolve().then(()=>require("./icons/more_horiz-bZKXAcx0.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/more_horiz-Deil--Zw.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/more_horiz-Dbz8LvVB.cjs"))},more_time:{outlined:()=>Promise.resolve().then(()=>require("./icons/more_time-B1Wd5UFZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/more_time-urwzlhvb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/more_time-ChxdyGP_.cjs"))},more_vert:{outlined:()=>Promise.resolve().then(()=>require("./icons/more_vert-DzTrnUGw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/more_vert-CXi9yj-5.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/more_vert-DxblSDI5.cjs"))},mouse:{outlined:()=>Promise.resolve().then(()=>require("./icons/mouse-QimsmAoo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/mouse-Bng6mJ1A.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/mouse-DS8yvLR1.cjs"))},move_to_inbox:{outlined:()=>Promise.resolve().then(()=>require("./icons/move_to_inbox-D-SzwKRi.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/move_to_inbox-DMwv-LwU.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/move_to_inbox-DB49LSzj.cjs"))},multiline_chart:{outlined:()=>Promise.resolve().then(()=>require("./icons/multiline_chart-VNajFYIu.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/multiline_chart-qmqudGJS.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/multiline_chart-BZ9pI0M2.cjs"))},my_location:{outlined:()=>Promise.resolve().then(()=>require("./icons/my_location-CafgIPzY.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/my_location-B_2xIJ1h.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/my_location-BQB_Gvjn.cjs"))},navigation:{outlined:()=>Promise.resolve().then(()=>require("./icons/navigation-XOBWaNoc.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/navigation-DD6e0gFe.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/navigation-D-EmSudm.cjs"))},near_me:{outlined:()=>Promise.resolve().then(()=>require("./icons/near_me-CDCjz9gt.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/near_me-BPE_ZuMr.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/near_me-BxAslSGA.cjs"))},network_check:{outlined:()=>Promise.resolve().then(()=>require("./icons/network_check-DXQawqFw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/network_check-Dl7EGQcb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/network_check-BJIqHDfq.cjs"))},note_add:{outlined:()=>Promise.resolve().then(()=>require("./icons/note_add-CgDyCezx.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/note_add-DreTnzy7.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/note_add-B16Z0iko.cjs"))},notifications:{outlined:()=>Promise.resolve().then(()=>require("./icons/notifications-C6p9X5iK.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/notifications-C4Njhrf3.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/notifications-CqrgBGCg.cjs"))},notifications_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/notifications_off-Bl-UXNgJ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/notifications_off-C0bFn1n-.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/notifications_off-DnZ8QXub.cjs"))},opacity:{outlined:()=>Promise.resolve().then(()=>require("./icons/opacity-Dk-JXILr.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/opacity-D6RIb2vv.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/opacity-B_AyGGS_.cjs"))},open_in_browser:{outlined:()=>Promise.resolve().then(()=>require("./icons/open_in_browser-Dmn-cfK-.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/open_in_browser-DCPx7gky.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/open_in_browser-DqsvTNrn.cjs"))},open_in_new:{outlined:()=>Promise.resolve().then(()=>require("./icons/open_in_new-BgJKZU-J.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/open_in_new-DZPCJOy7.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/open_in_new-CcEf-zNH.cjs"))},open_with:{outlined:()=>Promise.resolve().then(()=>require("./icons/open_with-Bzj5vgs6.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/open_with-CmFOFdkm.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/open_with-B70xaICx.cjs"))},outbox:{outlined:()=>Promise.resolve().then(()=>require("./icons/outbox-C6aOzPpg.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/outbox-Cx7uYTOf.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/outbox-Csu_1kyH.cjs"))},outgoing_mail:{outlined:()=>Promise.resolve().then(()=>require("./icons/outgoing_mail-2-xW6AF5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/outgoing_mail-CtAbnTjW.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/outgoing_mail-CX9s8C5z.cjs"))},pageview:{outlined:()=>Promise.resolve().then(()=>require("./icons/pageview-DqQxqFE_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/pageview-D1Aft6zN.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/pageview-CoOkhigk.cjs"))},paid:{outlined:()=>Promise.resolve().then(()=>require("./icons/paid-C5cn2aLs.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/paid-BzDeYvj7.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/paid-BIkLZCcs.cjs"))},palette:{outlined:()=>Promise.resolve().then(()=>require("./icons/palette-BEmPRIMw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/palette-CEI5mXi2.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/palette-BWAIjdCq.cjs"))},pan_tool:{outlined:()=>Promise.resolve().then(()=>require("./icons/pan_tool-DchJK0me.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/pan_tool-DuCXAwU5.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/pan_tool-LLeyUAKx.cjs"))},park:{outlined:()=>Promise.resolve().then(()=>require("./icons/park-BVe-doeU.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/park-BUDETE5h.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/park-B2KYNHGS.cjs"))},pause:{outlined:()=>Promise.resolve().then(()=>require("./icons/pause-DQrYrJPf.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/pause-CbypNdPU.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/pause-DrZm3789.cjs"))},pending:{outlined:()=>Promise.resolve().then(()=>require("./icons/pending-6ag0S0mB.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/pending-BrSKvjSV.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/pending-LfKlYmk3.cjs"))},percent:{outlined:()=>Promise.resolve().then(()=>require("./icons/percent-CQHhbCUm.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/percent-DQRJ81Y0.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/percent-DjuRihso.cjs"))},perm_camera_mic:{outlined:()=>Promise.resolve().then(()=>require("./icons/perm_camera_mic-Cbddp4vZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/perm_camera_mic-CuBPtZxF.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/perm_camera_mic-Dkpwkkuq.cjs"))},perm_contact_calendar:{outlined:()=>Promise.resolve().then(()=>require("./icons/perm_contact_calendar-DMec4ouz.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/perm_contact_calendar-DhFwc7VW.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/perm_contact_calendar-CspwVmEi.cjs"))},perm_media:{outlined:()=>Promise.resolve().then(()=>require("./icons/perm_media-C57M9qmo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/perm_media-CF1u7gFa.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/perm_media-Bxr4BAS1.cjs"))},perm_phone_msg:{outlined:()=>Promise.resolve().then(()=>require("./icons/perm_phone_msg-D9X0Elcs.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/perm_phone_msg-9zA1SKcG.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/perm_phone_msg-BzVSR3nS.cjs"))},perm_scan_wifi:{outlined:()=>Promise.resolve().then(()=>require("./icons/perm_scan_wifi-DD7R0Ypv.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/perm_scan_wifi-B9jQZzda.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/perm_scan_wifi-DoiutF9N.cjs"))},person:{outlined:()=>Promise.resolve().then(()=>require("./icons/person-B3n5wNYw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/person-BjdTw5Wf.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/person-CxBPAQjZ.cjs"))},person_add:{outlined:()=>Promise.resolve().then(()=>require("./icons/person_add-SOetVGrq.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/person_add-CAlpNX8L.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/person_add-C5HiyjEy.cjs"))},person_remove:{outlined:()=>Promise.resolve().then(()=>require("./icons/person_remove-K5AIu4l3.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/person_remove-FQ1FDMyB.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/person_remove-Ckm7S1Ul.cjs"))},pets:{outlined:()=>Promise.resolve().then(()=>require("./icons/pets-CX3R8F-o.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/pets-Ce5ySqSZ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/pets-DFqhatXG.cjs"))},photo:{outlined:()=>Promise.resolve().then(()=>require("./icons/photo-oBUWZNmV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/photo-DCL0v_al.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/photo-Cu44xCeI.cjs"))},photo_camera:{outlined:()=>Promise.resolve().then(()=>require("./icons/photo_camera-DhFf5sZ5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/photo_camera-Nyrh3DOY.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/photo_camera-C9AkrxeA.cjs"))},pin:{outlined:()=>Promise.resolve().then(()=>require("./icons/pin-D4ao9i6g.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/pin-DthuKQB3.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/pin-CRwDdDV2.cjs"))},play_arrow:{outlined:()=>Promise.resolve().then(()=>require("./icons/play_arrow-H863JTh7.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/play_arrow-CZk84Zqk.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/play_arrow-B53QlyDM.cjs"))},play_circle:{outlined:()=>Promise.resolve().then(()=>require("./icons/play_circle-CTzQVR4K.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/play_circle-yQAtsYsn.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/play_circle-wkjsDqRz.cjs"))},playlist_add:{outlined:()=>Promise.resolve().then(()=>require("./icons/playlist_add-Snr_stSN.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/playlist_add-GuvkSYpw.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/playlist_add-D2Xb6_NK.cjs"))},polymer:{outlined:()=>Promise.resolve().then(()=>require("./icons/polymer-C2BZyzKC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/polymer-DqwlaYna.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/polymer-DG6N5gon.cjs"))},power:{outlined:()=>Promise.resolve().then(()=>require("./icons/power-Bt8Geig2.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/power-DZ3DE2BU.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/power-pXyGp9-1.cjs"))},power_settings_new:{outlined:()=>Promise.resolve().then(()=>require("./icons/power_settings_new-DD5cuSDo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/power_settings_new-C5QoEPOu.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/power_settings_new-CKm1IAbg.cjs"))},preview:{outlined:()=>Promise.resolve().then(()=>require("./icons/preview-DWVX-cQO.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/preview-BfsIL0b0.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/preview-DoBR4W2d.cjs"))},print:{outlined:()=>Promise.resolve().then(()=>require("./icons/print-BhcfRgxE.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/print-CkOGeK2-.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/print-DEoedWv2.cjs"))},print_disabled:{outlined:()=>Promise.resolve().then(()=>require("./icons/print_disabled-Cfm8Rmrg.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/print_disabled-BX0aI1MB.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/print_disabled-DXRq3rRK.cjs"))},privacy_tip:{outlined:()=>Promise.resolve().then(()=>require("./icons/privacy_tip-Ds1UUYsC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/privacy_tip-THEl8fOD.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/privacy_tip-BMaqVFkP.cjs"))},public:{outlined:()=>Promise.resolve().then(()=>require("./icons/public-DsMIgunV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/public-BpCg8FcW.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/public-CUqXfp2P.cjs"))},publish:{outlined:()=>Promise.resolve().then(()=>require("./icons/publish-aEOseQ0B.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/publish-CsV_amwU.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/publish-Dvx4su5p.cjs"))},radio:{outlined:()=>Promise.resolve().then(()=>require("./icons/radio-Bk8_Qjwv.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/radio-B2Ef_9iW.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/radio-CwtfSqPE.cjs"))},rate_review:{outlined:()=>Promise.resolve().then(()=>require("./icons/rate_review-B-T0Zspx.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/rate_review-B2oMwaV-.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/rate_review-DPXxfHCb.cjs"))},receipt:{outlined:()=>Promise.resolve().then(()=>require("./icons/receipt-C2nj4DVK.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/receipt-twmBLiMB.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/receipt-Bp12qtmR.cjs"))},receipt_long:{outlined:()=>Promise.resolve().then(()=>require("./icons/receipt_long-92b6OZd3.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/receipt_long-CAmLm05y.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/receipt_long-BwMqM1SJ.cjs"))},recent_actors:{outlined:()=>Promise.resolve().then(()=>require("./icons/recent_actors-DD_SIS2p.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/recent_actors-tqgiO4nq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/recent_actors-BmkR1ajB.cjs"))},recommend:{outlined:()=>Promise.resolve().then(()=>require("./icons/recommend-DtKYWilu.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/recommend-Aw4CXDaO.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/recommend-CDHFINVu.cjs"))},record_voice_over:{outlined:()=>Promise.resolve().then(()=>require("./icons/record_voice_over-Dd1PPwQW.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/record_voice_over-CCuO1fha.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/record_voice_over-CfOde1To.cjs"))},redeem:{outlined:()=>Promise.resolve().then(()=>require("./icons/redeem-CeEXJTxS.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/redeem-CtvDEAWe.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/redeem-zus0PT_N.cjs"))},redo:{outlined:()=>Promise.resolve().then(()=>require("./icons/redo-DwiLjx8_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/redo-CB6KXpep.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/redo-AXNo-2i6.cjs"))},refresh:{outlined:()=>Promise.resolve().then(()=>require("./icons/refresh-B34c1S8h.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/refresh-C_BBk9XA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/refresh-DX9L5WGR.cjs"))},remove:{outlined:()=>Promise.resolve().then(()=>require("./icons/remove-BpH5DaU-.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/remove-ChmlIHbM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/remove-D1owTeuN.cjs"))},reply:{outlined:()=>Promise.resolve().then(()=>require("./icons/reply-Cm9qKf6z.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/reply-Df4SE_cq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/reply-CUp6bBiu.cjs"))},reply_all:{outlined:()=>Promise.resolve().then(()=>require("./icons/reply_all-CIm2mYxA.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/reply_all-Cu6bFwEY.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/reply_all-C1hqo2qO.cjs"))},report:{outlined:()=>Promise.resolve().then(()=>require("./icons/report-3zsKRuLn.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/report-Dmag693H.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/report-DCRNNTzs.cjs"))},restart_alt:{outlined:()=>Promise.resolve().then(()=>require("./icons/restart_alt-CffSc23A.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/restart_alt-CnJZzuua.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/restart_alt-Nz67oCa0.cjs"))},restaurant:{outlined:()=>Promise.resolve().then(()=>require("./icons/restaurant-BKqlwxRF.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/restaurant-CQoatClQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/restaurant-sK6evuVB.cjs"))},restore_from_trash:{outlined:()=>Promise.resolve().then(()=>require("./icons/restore_from_trash-DqcC-1Lu.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/restore_from_trash-DOFWLtoA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/restore_from_trash-DpHGuo0S.cjs"))},rotate_left:{outlined:()=>Promise.resolve().then(()=>require("./icons/rotate_left-Ck4VMi6n.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/rotate_left-RKvDCGa_.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/rotate_left-C0-WUVsw.cjs"))},rotate_right:{outlined:()=>Promise.resolve().then(()=>require("./icons/rotate_right-i9bMrMe5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/rotate_right-D1pzuEHb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/rotate_right-8WHx_SuN.cjs"))},rule:{outlined:()=>Promise.resolve().then(()=>require("./icons/rule-GIRrcXbP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/rule-DTjiYiZq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/rule-PbcB9lZP.cjs"))},save:{outlined:()=>Promise.resolve().then(()=>require("./icons/save-fkqiyMK8.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/save-5IddfMjQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/save-CCF5PyEM.cjs"))},save_as:{outlined:()=>Promise.resolve().then(()=>require("./icons/save_as-BRWg38-i.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/save_as-Bxt_2D67.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/save_as-Cv4exkLT.cjs"))},schedule:{outlined:()=>Promise.resolve().then(()=>require("./icons/schedule-DSheAoDO.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/schedule-DZ99H6m4.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/schedule-DEux9M-N.cjs"))},schedule_send:{outlined:()=>Promise.resolve().then(()=>require("./icons/schedule_send-Do__Ry6u.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/schedule_send-Cp3iC0Oh.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/schedule_send-Ci1iGXRR.cjs"))},school:{outlined:()=>Promise.resolve().then(()=>require("./icons/school-DjIfocA8.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/school-DIBNfqBw.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/school-UiU6b6fz.cjs"))},science:{outlined:()=>Promise.resolve().then(()=>require("./icons/science-DU8HpI5E.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/science-DduXLiLr.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/science-CPQsO82_.cjs"))},search:{outlined:()=>Promise.resolve().then(()=>require("./icons/search-B1H9b_cm.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/search-BryYopV4.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/search-ChtQjHCV.cjs"))},search_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/search_off-hK10qV9w.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/search_off-Ez3W0MtB.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/search_off-DKJlviq9.cjs"))},security:{outlined:()=>Promise.resolve().then(()=>require("./icons/security-CK8VfFnF.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/security-BieeAIQK.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/security-3FTT4sJq.cjs"))},select_all:{outlined:()=>Promise.resolve().then(()=>require("./icons/select_all-wO38Mugl.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/select_all-DkGq4MLr.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/select_all-CNzVtIaX.cjs"))},send:{outlined:()=>Promise.resolve().then(()=>require("./icons/send-CE0t-BeF.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/send-CSyvk2Uu.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/send-Da_IOaWi.cjs"))},send_and_archive:{outlined:()=>Promise.resolve().then(()=>require("./icons/send_and_archive-CIHEjPqZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/send_and_archive-x4Bd1yNd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/send_and_archive-BeBX1v9Y.cjs"))},settings:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings-Iczs8jeR.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings-CMP5MFnV.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings-CLZ2Gtbf.cjs"))},settings_applications:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_applications-9HE_9rY_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_applications-BZAjwB0l.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_applications-BXuvrP6q.cjs"))},settings_backup_restore:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_backup_restore-D9TSfliZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_backup_restore-CuanjFW6.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_backup_restore-CyPIojJj.cjs"))},settings_bluetooth:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_bluetooth-DaGzD19J.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_bluetooth-xy6HQVpn.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_bluetooth-Cr6IHVRB.cjs"))},settings_brightness:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_brightness-bpZFSJhk.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_brightness-BkiTw384.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_brightness-DPr5MK-L.cjs"))},settings_ethernet:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_ethernet-CNSkOlVN.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_ethernet-BKUalwzq.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_ethernet-BiUPH4Zl.cjs"))},settings_input_component:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_input_component-By5nACBS.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_input_component-BdohaMlR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_input_component-DlJfBGIJ.cjs"))},settings_input_hdmi:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_input_hdmi-C6AUSBbu.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_input_hdmi-CJf8K5vP.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_input_hdmi-B6RpJzAH.cjs"))},settings_input_svideo:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_input_svideo-DE-cJJ19.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_input_svideo-GoJKdcLM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_input_svideo-GdfkseMO.cjs"))},settings_overscan:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_overscan-t2ziBpx0.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_overscan-DjxVyh_p.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_overscan-CzZdrVff.cjs"))},settings_phone:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_phone-DSs4IMu3.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_phone-CdllR2_U.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_phone-DMkUqrcI.cjs"))},settings_power:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_power-Sy2yCFJ9.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_power-C0haok1N.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_power-DCmvdxnX.cjs"))},settings_remote:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_remote-BgSfe6Rf.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_remote-BkeWwusa.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_remote-BjJR-PZA.cjs"))},settings_voice:{outlined:()=>Promise.resolve().then(()=>require("./icons/settings_voice-CJKvIhG_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/settings_voice-DKlyDHlF.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/settings_voice-D5Vxz3H6.cjs"))},share:{outlined:()=>Promise.resolve().then(()=>require("./icons/share-4OI6GdPA.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/share-BUQun2WH.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/share-D3x5n12j.cjs"))},shield:{outlined:()=>Promise.resolve().then(()=>require("./icons/shield-BiW3E-iG.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shield-BeTHVkub.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shield-8LQV6fwO.cjs"))},shop:{outlined:()=>Promise.resolve().then(()=>require("./icons/shop-CQAvlAIJ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shop-CKc3vFoP.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shop-CvzOHG8i.cjs"))},shop_two:{outlined:()=>Promise.resolve().then(()=>require("./icons/shop_two-DxlMpmpg.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shop_two-B1EZi_d3.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shop_two-DAWsfPhY.cjs"))},shopping_bag:{outlined:()=>Promise.resolve().then(()=>require("./icons/shopping_bag-BLYLRVEo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shopping_bag-pW2CC5Wm.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shopping_bag-CsPqDtJv.cjs"))},shopping_cart:{outlined:()=>Promise.resolve().then(()=>require("./icons/shopping_cart-DnonQkQH.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shopping_cart-D-FNTU2X.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shopping_cart-Xj77jFuX.cjs"))},shopping_cart_checkout:{outlined:()=>Promise.resolve().then(()=>require("./icons/shopping_cart_checkout-X3I3ndRQ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shopping_cart_checkout-Ba3gAZZx.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shopping_cart_checkout-Biv5QNse.cjs"))},shuffle:{outlined:()=>Promise.resolve().then(()=>require("./icons/shuffle-DgSPEo4a.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/shuffle-CJ1EAml3.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/shuffle-_2AFO10D.cjs"))},signal_cellular_4_bar:{outlined:()=>Promise.resolve().then(()=>require("./icons/signal_cellular_4_bar-B2EfVIOU.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/signal_cellular_4_bar-BnGmWjbd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/signal_cellular_4_bar-tyWOuTIO.cjs"))},signal_wifi_4_bar:{outlined:()=>Promise.resolve().then(()=>require("./icons/signal_wifi_4_bar-BqhjBPKf.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/signal_wifi_4_bar-ACBg79Cd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/signal_wifi_4_bar-BI0IoDFE.cjs"))},sim_card:{outlined:()=>Promise.resolve().then(()=>require("./icons/sim_card-COkNXOTt.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/sim_card-CIcMNdr5.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/sim_card-BPL0trEZ.cjs"))},skip_next:{outlined:()=>Promise.resolve().then(()=>require("./icons/skip_next-CTaln24G.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/skip_next-BjR_Ru_X.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/skip_next-BS3qv6JB.cjs"))},skip_previous:{outlined:()=>Promise.resolve().then(()=>require("./icons/skip_previous-C3jUnkqV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/skip_previous-DupTvcKV.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/skip_previous-BKQnmbUY.cjs"))},smart_display:{outlined:()=>Promise.resolve().then(()=>require("./icons/smart_display-CGq_kFKP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/smart_display-CvQj8hVk.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/smart_display-BOW5QUcA.cjs"))},sms:{outlined:()=>Promise.resolve().then(()=>require("./icons/sms-Ch9Dn8Lm.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/sms-BujJufM4.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/sms-C0XjdHC5.cjs"))},speaker:{outlined:()=>Promise.resolve().then(()=>require("./icons/speaker-CV63iKYE.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/speaker-DsfaZMR_.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/speaker-B2MvjZAN.cjs"))},speed:{outlined:()=>Promise.resolve().then(()=>require("./icons/speed-D7NBKqG3.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/speed-CXhRyCN3.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/speed-Dj7IJmxS.cjs"))},spellcheck:{outlined:()=>Promise.resolve().then(()=>require("./icons/spellcheck-bravLujp.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/spellcheck-BF_frwVA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/spellcheck-bkyb6Y8s.cjs"))},splitscreen:{outlined:()=>Promise.resolve().then(()=>require("./icons/splitscreen-CWRxhPyh.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/splitscreen-BugC3AHX.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/splitscreen-CuTL4vMq.cjs"))},star:{outlined:()=>Promise.resolve().then(()=>require("./icons/star-71poZceL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/star-CdAMIKli.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/star-cWZAor5m.cjs"))},star_half:{outlined:()=>Promise.resolve().then(()=>require("./icons/star_half-BwQ25Xpr.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/star_half-D21K-e2D.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/star_half-BWK8UDKr.cjs"))},stars:{outlined:()=>Promise.resolve().then(()=>require("./icons/stars--dAqSWaT.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/stars-NYu-DZz9.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/stars-Cyp7CBgv.cjs"))},stop:{outlined:()=>Promise.resolve().then(()=>require("./icons/stop-uwTugAuv.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/stop-CBeB_vzv.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/stop-BWqpBB4v.cjs"))},storage:{outlined:()=>Promise.resolve().then(()=>require("./icons/storage-CJ6k6H61.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/storage-YUkbXrS_.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/storage-zovKy4GK.cjs"))},store:{outlined:()=>Promise.resolve().then(()=>require("./icons/store-AytgGtla.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/store-CLKS8y8z.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/store-b7oiYjaT.cjs"))},storefront:{outlined:()=>Promise.resolve().then(()=>require("./icons/storefront-maPZQS5d.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/storefront-p8WcwK8a.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/storefront-C1xlNf7m.cjs"))},subtitles:{outlined:()=>Promise.resolve().then(()=>require("./icons/subtitles-CJ0WZ11D.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/subtitles-CweVpu7E.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/subtitles-DiEORnGT.cjs"))},support:{outlined:()=>Promise.resolve().then(()=>require("./icons/support-DZV0BDoT.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/support-DOeVw2Ol.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/support-C8IHRu3M.cjs"))},swap_horiz:{outlined:()=>Promise.resolve().then(()=>require("./icons/swap_horiz-CIHagp-O.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/swap_horiz-gBiaDATS.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/swap_horiz-DXxPNDOa.cjs"))},swap_vert:{outlined:()=>Promise.resolve().then(()=>require("./icons/swap_vert-CgI4ty66.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/swap_vert-CYo6e2hN.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/swap_vert-BIRQdp6w.cjs"))},swipe:{outlined:()=>Promise.resolve().then(()=>require("./icons/swipe-DNULZvdC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/swipe-CBmB5bVK.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/swipe-BEkT-xey.cjs"))},switch_access_shortcut:{outlined:()=>Promise.resolve().then(()=>require("./icons/switch_access_shortcut-q_7AaUE5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/switch_access_shortcut-4NHu-GzX.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/switch_access_shortcut-DlIlneXr.cjs"))},sync:{outlined:()=>Promise.resolve().then(()=>require("./icons/sync-c0eh9srx.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/sync-B8eDMIHY.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/sync-Bb15b-LY.cjs"))},tab:{outlined:()=>Promise.resolve().then(()=>require("./icons/tab-Br904I-x.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/tab-DoWIBjMF.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/tab-DcX5jSYD.cjs"))},tab_unselected:{outlined:()=>Promise.resolve().then(()=>require("./icons/tab_unselected-h_5qNQAy.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/tab_unselected-Jryi6UG7.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/tab_unselected-BnB9OpTQ.cjs"))},table_rows:{outlined:()=>Promise.resolve().then(()=>require("./icons/table_rows-DhopWxQ4.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/table_rows-CD8mGsGH.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/table_rows-DBST5uR7.cjs"))},tablet:{outlined:()=>Promise.resolve().then(()=>require("./icons/tablet-BPyP2a60.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/tablet-BObXzgDp.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/tablet-DEJSebWQ.cjs"))},tag:{outlined:()=>Promise.resolve().then(()=>require("./icons/tag-BKHmPW7O.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/tag-bOLfzkCK.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/tag-DeeBL365.cjs"))},task:{outlined:()=>Promise.resolve().then(()=>require("./icons/task-B9X6QTUq.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/task-DrKSPxAM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/task-CaXkBV5s.cjs"))},task_alt:{outlined:()=>Promise.resolve().then(()=>require("./icons/task_alt-DmM9U1Ld.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/task_alt-DuVPr61c.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/task_alt-BWpiiOPB.cjs"))},terminal:{outlined:()=>Promise.resolve().then(()=>require("./icons/terminal-Cq96EmHZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/terminal-9rECHy3F.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/terminal-UFxOCVAJ.cjs"))},text_fields:{outlined:()=>Promise.resolve().then(()=>require("./icons/text_fields-srTO6UAQ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/text_fields-MBNGOwpE.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/text_fields-31b2r-eh.cjs"))},thumb_down:{outlined:()=>Promise.resolve().then(()=>require("./icons/thumb_down-C-ZYO8aS.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/thumb_down-CXKcFuVv.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/thumb_down-B1EnDy9g.cjs"))},thumb_up:{outlined:()=>Promise.resolve().then(()=>require("./icons/thumb_up-CMK43jwc.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/thumb_up-BjnPL-vY.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/thumb_up-BJldcoTn.cjs"))},timeline:{outlined:()=>Promise.resolve().then(()=>require("./icons/timeline-BorNHWXs.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/timeline-DHqVljjl.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/timeline-DLlL3HNg.cjs"))},timer:{outlined:()=>Promise.resolve().then(()=>require("./icons/timer-C05SAUqw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/timer-CYZn5P7p.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/timer-B82U_DX8.cjs"))},toc:{outlined:()=>Promise.resolve().then(()=>require("./icons/toc-DhGghZ9I.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/toc-C84pl4PR.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/toc-BtcPEvk6.cjs"))},today:{outlined:()=>Promise.resolve().then(()=>require("./icons/today-DzGPx-JC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/today-BkPPR4dh.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/today-BdVLVtYY.cjs"))},toggle_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/toggle_off-BDbSL0R3.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/toggle_off-BDH4j7_B.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/toggle_off-BKJ1oYkM.cjs"))},toggle_on:{outlined:()=>Promise.resolve().then(()=>require("./icons/toggle_on-Dl1NcDmP.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/toggle_on-DURt0a-K.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/toggle_on-BcgFWI69.cjs"))},touch_app:{outlined:()=>Promise.resolve().then(()=>require("./icons/touch_app-BjCIP79F.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/touch_app-DYx-e9w1.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/touch_app-DMIySKht.cjs"))},tour:{outlined:()=>Promise.resolve().then(()=>require("./icons/tour-Cvtl9j2v.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/tour-D_mBWC4A.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/tour-DrIKd0iZ.cjs"))},track_changes:{outlined:()=>Promise.resolve().then(()=>require("./icons/track_changes-CrWcjG7M.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/track_changes-CmftMM7i.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/track_changes-2gWHhzk3.cjs"))},train:{outlined:()=>Promise.resolve().then(()=>require("./icons/train-bPZxRsaq.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/train-xbz9XQhb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/train-pWcRhKXA.cjs"))},translate:{outlined:()=>Promise.resolve().then(()=>require("./icons/translate-CYXRRxeY.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/translate-WCc3CLqx.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/translate-CPdtUGGD.cjs"))},trending_down:{outlined:()=>Promise.resolve().then(()=>require("./icons/trending_down-ImDCa4Jh.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/trending_down-DIbaV34v.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/trending_down-dZnaOW1J.cjs"))},trending_flat:{outlined:()=>Promise.resolve().then(()=>require("./icons/trending_flat-C1svR9KS.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/trending_flat-Br_PXO04.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/trending_flat-C4esyAhD.cjs"))},trending_up:{outlined:()=>Promise.resolve().then(()=>require("./icons/trending_up-Bgw7w8PT.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/trending_up-fksGS-GY.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/trending_up-DPd7c_Dq.cjs"))},troubleshoot:{outlined:()=>Promise.resolve().then(()=>require("./icons/troubleshoot-K7Bl_YaC.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/troubleshoot-DI-EgiZK.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/troubleshoot-CZMhLPJh.cjs"))},unarchive:{outlined:()=>Promise.resolve().then(()=>require("./icons/unarchive-CO882sl0.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/unarchive-DyUoj8om.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/unarchive-D4LtLEle.cjs"))},undo:{outlined:()=>Promise.resolve().then(()=>require("./icons/undo-iQLEL8Zi.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/undo-CIwSY9GL.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/undo-C9xs6NjO.cjs"))},unfold_less:{outlined:()=>Promise.resolve().then(()=>require("./icons/unfold_less-LC-ftUfz.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/unfold_less-DxekXqvM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/unfold_less-BKOJLQlU.cjs"))},unfold_more:{outlined:()=>Promise.resolve().then(()=>require("./icons/unfold_more-BVL_GIHl.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/unfold_more-DIl3gTo7.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/unfold_more-Dlh3P3cv.cjs"))},update:{outlined:()=>Promise.resolve().then(()=>require("./icons/update-0Vhu6gl3.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/update-a1H2RXCn.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/update-BDOxUBTg.cjs"))},upgrade:{outlined:()=>Promise.resolve().then(()=>require("./icons/upgrade-CqKqDz1C.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/upgrade-x2gsVQIM.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/upgrade-CdJyAFoI.cjs"))},upload:{outlined:()=>Promise.resolve().then(()=>require("./icons/upload-CMBoE1MT.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/upload-CfYL9Zr2.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/upload-BDW8-FNY.cjs"))},vaccines:{outlined:()=>Promise.resolve().then(()=>require("./icons/vaccines-C4f-r8y5.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/vaccines-Dak3ypH-.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/vaccines-BgYSLR9w.cjs"))},verified:{outlined:()=>Promise.resolve().then(()=>require("./icons/verified-BPpdTMbw.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/verified-BR7xxAQA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/verified-C1_3O9Pq.cjs"))},verified_user:{outlined:()=>Promise.resolve().then(()=>require("./icons/verified_user-B4cpofdT.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/verified_user-CHiaKWJQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/verified_user-LzxM0Ixt.cjs"))},view_agenda:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_agenda-wmPKBjy1.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_agenda-ChVSNVuJ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_agenda-BcCbU_Cx.cjs"))},view_array:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_array-4eH_Y-9C.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_array-u_DfgvOJ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_array-CtftT6bB.cjs"))},view_carousel:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_carousel-cKrqJhoI.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_carousel--ToJf94l.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_carousel-CjxIXwuR.cjs"))},view_column:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_column-CI58na9m.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_column-CGO0_VaN.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_column-CZfddZfP.cjs"))},view_day:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_day-BKQpPz70.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_day-BL7dG_71.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_day-D03WAaG1.cjs"))},view_headline:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_headline-bvoWlfSZ.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_headline-CEiHaTUb.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_headline-zUGYSGF4.cjs"))},view_list:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_list-Cn16jlm_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_list-COkcexHQ.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_list-q6O6UQ8s.cjs"))},view_module:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_module-fdzeD45B.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_module-BIq8D_VI.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_module-Dugq4U2N.cjs"))},view_stream:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_stream-DY09WFyh.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_stream-Bok3MI-A.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_stream-BprhnLvm.cjs"))},view_week:{outlined:()=>Promise.resolve().then(()=>require("./icons/view_week-BwVY-Gzo.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/view_week-BIG9oES2.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/view_week-CVSaj-eg.cjs"))},visibility:{outlined:()=>Promise.resolve().then(()=>require("./icons/visibility-CcM0M7Ae.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/visibility-B_skKXCn.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/visibility-Du_QtShp.cjs"))},visibility_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/visibility_off-77O8Ixn_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/visibility_off-CQkbf0sH.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/visibility_off-DDSAECSN.cjs"))},voice_chat:{outlined:()=>Promise.resolve().then(()=>require("./icons/voice_chat-B2m86WSN.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/voice_chat-DA-inGEr.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/voice_chat-N9lzzPD3.cjs"))},volume_down:{outlined:()=>Promise.resolve().then(()=>require("./icons/volume_down-X8Fdb5GL.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/volume_down-ormtJ6rA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/volume_down-xq98sRni.cjs"))},volume_mute:{outlined:()=>Promise.resolve().then(()=>require("./icons/volume_mute-Dg1Sad52.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/volume_mute-2JEExPCA.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/volume_mute-BmLOt1AC.cjs"))},volume_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/volume_off-yubxzc3X.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/volume_off-BgpeewH8.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/volume_off-BrkBzaCw.cjs"))},volume_up:{outlined:()=>Promise.resolve().then(()=>require("./icons/volume_up-bP-cavNY.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/volume_up-DYrt4pXz.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/volume_up-CP5jPUnv.cjs"))},vpn_key:{outlined:()=>Promise.resolve().then(()=>require("./icons/vpn_key-DLw31EM4.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/vpn_key-DYrLYI7L.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/vpn_key-DepwbifQ.cjs"))},vpn_lock:{outlined:()=>Promise.resolve().then(()=>require("./icons/vpn_lock-CArd8FFH.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/vpn_lock-4HGysBa8.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/vpn_lock-DoxQ56X_.cjs"))},wallet:{outlined:()=>Promise.resolve().then(()=>require("./icons/wallet-D6d5LH8m.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/wallet-CGvvbyGf.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/wallet-D6lc8i2O.cjs"))},warning:{outlined:()=>Promise.resolve().then(()=>require("./icons/warning-3MXqZXik.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/warning-iht20xAd.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/warning-BDqDQ0zE.cjs"))},watch:{outlined:()=>Promise.resolve().then(()=>require("./icons/watch-Dxwts4x_.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/watch-C5XLco8t.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/watch-kEhspwOG.cjs"))},widgets:{outlined:()=>Promise.resolve().then(()=>require("./icons/widgets-DwrJqxGF.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/widgets-BXJ2Q2Ej.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/widgets-obimkiev.cjs"))},wifi:{outlined:()=>Promise.resolve().then(()=>require("./icons/wifi-DrroKwB8.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/wifi-2DytN2nN.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/wifi-BkLgmjTL.cjs"))},wifi_off:{outlined:()=>Promise.resolve().then(()=>require("./icons/wifi_off-BaJM5EaE.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/wifi_off-Sfa-62fD.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/wifi_off-Dc0PhObG.cjs"))},work:{outlined:()=>Promise.resolve().then(()=>require("./icons/work-QooH-JpG.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/work-Do6SwFLt.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/work-D3tksTSD.cjs"))},zoom_in:{outlined:()=>Promise.resolve().then(()=>require("./icons/zoom_in-3A4joxuV.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/zoom_in-DL9SEBJs.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/zoom_in-i6DpZCMO.cjs"))},zoom_out:{outlined:()=>Promise.resolve().then(()=>require("./icons/zoom_out-DGmKh370.cjs")),rounded:()=>Promise.resolve().then(()=>require("./icons/zoom_out-DyYWanOO.cjs")),sharp:()=>Promise.resolve().then(()=>require("./icons/zoom_out-CKPGeJDN.cjs"))}};console.log(Object.keys(ui));const It={};function mu(e){return{...e}}function gv(e){Object.assign(It,mu(e))}function bv(e){const t=mu(e);Object.keys(It).forEach(r=>{delete It[r]}),Object.assign(It,t)}function xv(){Object.keys(It).forEach(e=>{delete It[e]})}function yv(){const e=Object.keys(It),t=Object.keys(ui);return Array.from(new Set([...e,...t]))}function Ga(e){const{title:t,...r}=e;return c.jsx("svg",{viewBox:"0 0 24 24","aria-hidden":t?void 0:!0,role:t?"img":void 0,...r,children:t?c.jsx("title",{children:t}):null})}function wv(e,t){const r=It[e]??ui[e]??null;return r?t==="rounded"?r.rounded??r.outlined:t==="sharp"?r.sharp??r.outlined:r.outlined:null}function Pv(e,t){return u.lazy(async()=>{const r=wv(e,t);if(!r)return{default:Ga};try{return{default:(await r()).default}}catch{return{default:Ga}}})}function Le(e){const{name:t,svg:r,src:n,variant:o="outlined",useColorAsFill:s=!1,size:i=24,color:a="currentColor",className:l,title:d}=e,f=u.useMemo(()=>Pv(t??"",o),[t,o]),m=s?a:"currentColor";return r?c.jsx(r,{width:i,height:i,fill:m,color:a,className:l,title:d,focusable:"false","aria-hidden":d?void 0:!0}):n?c.jsx("img",{src:n,alt:d??"","aria-hidden":d?void 0:!0,className:l,style:{display:"inline-block",width:i,height:i}}):c.jsx(u.Suspense,{fallback:c.jsx("span",{"aria-hidden":"true",className:l,style:{display:"inline-block",width:i,height:i}}),children:c.jsx(f,{width:i,height:i,fill:m,color:a,className:l,title:d,focusable:"false","aria-hidden":d?void 0:!0})})}Le.displayName="Icon";let hu=null;function Ka(e){hu=e}function Cv(){return hu}const Sv=200,Nv={info:{icon:"info",iconColor:"#6b7280",role:"status",live:"polite"},success:{icon:"check_circle",iconColor:"#16a34a",role:"status",live:"polite"},warn:{icon:"warning",iconColor:"#d97706",role:"alert",live:"assertive"},error:{icon:"error",iconColor:"#dc2626",role:"alert",live:"assertive"}},pu=u.createContext(null);let Ua=0;function qv(){return Ua+=1,`ldkj-toast-${Date.now()}-${Ua}`}function kv(e,t){return e.filter(r=>r.id!==t)}function Ev(e){const t=new Map;for(const r of e){const n=t.get(r.placement);n?n.push(r):t.set(r.placement,[r])}return t}function vu(e){const{children:t,placement:r="top",duration:n=3e3,queueLimit:o=5,reverse:s=!1}=e,[i,a]=u.useState([]),l=u.useRef(new Map),d=u.useRef(new Map),f=u.useCallback(g=>{const w=l.current.get(g);w!==void 0&&(window.clearTimeout(w),l.current.delete(g));const P=d.current.get(g);P!==void 0&&(window.clearTimeout(P),d.current.delete(g))},[]),m=u.useCallback(g=>{f(g),a(w=>kv(w,g))},[f]),p=u.useCallback(g=>{f(g),a(P=>P.map(C=>C.id===g&&!C.leaving?{...C,leaving:!0}:C));const w=window.setTimeout(()=>{m(g)},Sv);d.current.set(g,w)},[f,m]),v=u.useCallback(()=>{a(g=>(g.forEach(w=>f(w.id)),[]))},[f]),b=u.useCallback(g=>{const w=g.duration??n,P=g.id??qv(),C={id:P,message:g.message,type:g.type??"info",placement:g.placement??r,closable:g.closable??!0,icon:g.icon,iconColor:g.iconColor,leaving:!1};a(N=>{const q=[...N,C];if(q.length<=o)return q;const k=q.length-o;return q.slice(0,k).forEach(E=>f(E.id)),q.slice(k)});const S=window.setTimeout(()=>{p(P)},Math.max(w,0));return l.current.set(P,S),P},[f,p,n,r,o]);u.useEffect(()=>()=>{l.current.forEach(g=>window.clearTimeout(g)),d.current.forEach(g=>window.clearTimeout(g)),l.current.clear(),d.current.clear()},[]);const h=u.useMemo(()=>({push:b,dismiss:p,clear:v}),[v,p,b]);u.useEffect(()=>(Ka(h),()=>Ka(null)),[h]);const x=u.useMemo(()=>Ev(i),[i]),y=Array.from(x.keys());return c.jsxs(pu.Provider,{value:h,children:[t,y.map(g=>{const w=x.get(g)??[],P=s?[...w].reverse():w;return c.jsx("div",{className:j("ldkj-toast-viewport",`ldkj-toast-viewport-${g}`),"aria-hidden":P.length===0,children:P.map(C=>{const S=Nv[C.type],N=C.iconColor??S.iconColor;return c.jsxs("div",{className:j("ldkj-toast-item",C.leaving?"ldkj-toast-leave":"ldkj-toast-appear"),role:S.role,"aria-live":S.live,"aria-atomic":"true",children:[typeof C.icon=="string"?c.jsx(Le,{name:C.icon,color:N,size:20,className:"ldkj-toast-icon",title:`${C.type} icon`}):C.icon?.svg||C.icon?.src?c.jsx(Le,{svg:C.icon.svg,src:C.icon.src,color:N,size:20,className:"ldkj-toast-icon",title:`${C.type} icon`}):c.jsx(Le,{name:S.icon,color:N,size:20,className:"ldkj-toast-icon",title:`${C.type} icon`}),c.jsx("div",{className:"ldkj-toast-message",children:C.message}),C.closable?c.jsx("button",{type:"button",className:"ldkj-toast-close","aria-label":"关闭提示",onClick:()=>p(C.id),children:c.jsx(Le,{name:"close",size:16,className:"ldkj-toast-close-icon"})}):null]},C.id)})},g)})]})}vu.displayName="ToastProvider";function Rv(){const e=u.useContext(pu);if(!e)throw new Error("useToast 必须在 ToastProvider 内使用。");const t=u.useCallback((i,a)=>e.push({message:i,...a}),[e]),r=u.useCallback((i,a)=>e.push({type:"info",message:i,...a}),[e]),n=u.useCallback((i,a)=>e.push({type:"success",message:i,...a}),[e]),o=u.useCallback((i,a)=>e.push({type:"warn",message:i,...a}),[e]),s=u.useCallback((i,a)=>e.push({type:"error",message:i,...a}),[e]);return u.useMemo(()=>({show:t,info:r,success:n,warn:o,error:s,dismiss:e.dismiss,clear:e.clear}),[e.clear,e.dismiss,s,r,t,n,o])}const In={placement:"top",duration:3e3,closable:!0};let Ya=!1;const Xe={...In};function gu(e){return{placement:e?.placement??Xe.placement,duration:e?.duration??Xe.duration,id:e?.id,closable:e?.closable??Xe.closable,icon:e?.icon,iconColor:e?.iconColor}}function Tn(){const e=Cv();return e||(Ya||(Ya=!0,console.warn("toast 调用失败:请先在应用根节点挂载 ToastProvider。")),null)}function pn(e,t,r){const n=Tn();return n?n.push({type:e,message:t,...gu(r)}):""}const jv={show(e,t){const r=Tn();return r?r.push({type:"info",message:typeof e=="string"?e:String(e),...gu(t)}):""},info(e,t){return pn("info",e,t)},success(e,t){return pn("success",e,t)},warn(e,t){return pn("warn",e,t)},error(e,t){return pn("error",e,t)},dismiss(e){const t=Tn();t&&t.dismiss(e)},clear(){const e=Tn();e&&e.clear()},config(e){Xe.placement=e.placement??Xe.placement,Xe.duration=e.duration??Xe.duration,Xe.closable=e.closable??Xe.closable},resetConfig(){Xe.placement=In.placement,Xe.duration=In.duration,Xe.closable=In.closable}};function Xa(e){if(e!=null)return typeof e=="boolean"?e?"blur(5px)":void 0:typeof e=="number"?`blur(${e}px)`:`blur(${e})`}function di(e){const{open:t=!1,destroyOnClose:r=!1,closeOnMaskClick:n=!1,scrollable:o=!1,alpha:s=.5,blur:i,x:a="50%",y:l="50%",translateX:d="-50%",translateY:f="-50%",onClose:m,onOpen:p,className:v,class:b,style:h,sx:x,contentClassName:y,contentClass:g,contentStyle:w,contentSx:P,children:C,...S}=e,N=se(),{sxClassName:q,sxInlineStyle:k}=X(x,N),{sxClassName:A,sxInlineStyle:E}=X(P,N),R=u.useRef(!1);return u.useEffect(()=>{if(R.current){t?p?.():m?.();return}R.current=!0},[t,m,p]),u.useEffect(()=>{if(!t||o)return;const I=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=I}},[t,o]),!t&&r?null:c.jsx("div",{hidden:!t,className:j("fixed inset-0 z-[9999]",q,v,b),style:L({backgroundColor:`rgba(0, 0, 0, ${s})`,backdropFilter:Xa(i),WebkitBackdropFilter:Xa(i)},h,k),onTouchStart:I=>{o||(I.preventDefault(),I.stopPropagation())},onClick:()=>{n&&m?.()},...S,children:c.jsx("div",{className:j("absolute",A,y,g),style:L({left:a,top:l,transform:`translate(${d}, ${f})`},w,E),onClick:I=>{I.stopPropagation()},children:C})})}di.displayName="Modal";const bu=u.createContext(null),xu=u.createContext(null);function tn(e){const t=u.useContext(bu);if(!t)throw new Error(`${e} 必须在 <Dialog> 内使用`);return t}function Dt(e){const t=se();return X(e,t)}function Av(e){const{open:t,defaultOpen:r=!1,onOpenChange:n}=e,o=t!==void 0,[s,i]=u.useState(r),a=o?t:s,l=u.useCallback(d=>{o||i(d),n?.(d)},[o,n]);return[a,l]}const Iv=e=>{const{open:t,defaultOpen:r,onOpenChange:n,modal:o=!0,lockScroll:s=!0,destroyOnClose:i=!1,closeOnMaskClick:a=!0,scrollable:l=!1,children:d}=e,[f,m]=Av({open:t,defaultOpen:r,onOpenChange:n}),p=u.useMemo(()=>({open:f,setOpen:m,modal:o,lockScroll:s,destroyOnClose:i,closeOnMaskClick:a,scrollable:l}),[a,i,s,o,f,l,m]);return c.jsx(bu.Provider,{value:p,children:d})},fi=u.forwardRef((e,t)=>{const{setOpen:r}=tn("DialogTrigger"),{asChild:n,asChildWrapper:o="span",className:s,class:i,sx:a,style:l,children:d,onClick:f,...m}=e,{sxClassName:p,sxInlineStyle:v}=Dt(a),b=h=>{f?.(h),!h.defaultPrevented&&r(!0)};return n?c.jsx(o,{ref:t,className:j("inline-flex w-fit",p,s,i),style:L(l,v),onClick:b,...m,children:d}):c.jsx("button",{ref:t,type:"button",className:j(p,s,i),style:L(l,v),onClick:b,...m,children:d})});fi.displayName="DialogTrigger";const mi=u.forwardRef((e,t)=>{const{setOpen:r}=tn("DialogClose"),{asChild:n,asChildWrapper:o="span",className:s,class:i,sx:a,style:l,children:d,onClick:f,...m}=e,{sxClassName:p,sxInlineStyle:v}=Dt(a),b=h=>{f?.(h),!h.defaultPrevented&&r(!1)};return n?c.jsx(o,{ref:t,className:j("inline-flex w-fit",p,s,i),style:L(l,v),onClick:b,...m,children:d}):c.jsx("button",{ref:t,type:"button",className:j(p,s,i),style:L(l,v),onClick:b,...m,children:d})});mi.displayName="DialogClose";const yu=e=>{const{children:t,container:r}=e;if(typeof document>"u")return null;const n=r??document.body;return n?Jr.createPortal(t,n):null},hi=u.forwardRef((e,t)=>{const{open:r,destroyOnClose:n,closeOnMaskClick:o,setOpen:s}=tn("DialogOverlay"),{className:i,class:a,sx:l,style:d,blur:f=!0,onClick:m,...p}=e,{sxClassName:v,sxInlineStyle:b}=Dt(l);return!r&&n?null:c.jsx("div",{ref:t,hidden:!r,"data-state":r?"open":"closed",className:j("fixed inset-0 z-50 bg-black/50",f?"backdrop-blur-[1px]":null,"data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",v,i,a),style:L(d,b),onClick:h=>{m?.(h),!h.defaultPrevented&&o&&s(!1)},...p})});hi.displayName="DialogOverlay";const pi=u.forwardRef((e,t)=>{const r=tn("DialogContent"),{children:n,className:o,class:s,sx:i,style:a,showClose:l=!0,overlayClassName:d,overlaySx:f,overlayBlur:m=!0,onEscapeKeyDown:p,onPointerDownOutside:v,onOpenAutoFocus:b,onCloseAutoFocus:h,...x}=e,{sxClassName:y,sxInlineStyle:g}=Dt(i),w=u.useRef(null),P=u.useRef(r.open);u.useImperativeHandle(t,()=>w.current),u.useEffect(()=>{const q=P.current;if(!q&&r.open){const k=new Event("openAutoFocus",{cancelable:!0});b?.(k),k.defaultPrevented||w.current?.focus()}if(q&&!r.open){const k=new Event("closeAutoFocus",{cancelable:!0});h?.(k)}P.current=r.open},[r.open,h,b]),u.useEffect(()=>{if(!r.open)return;const q=k=>{k.key==="Escape"&&(p?.(k),!k.defaultPrevented&&r.setOpen(!1))};return window.addEventListener("keydown",q),()=>{window.removeEventListener("keydown",q)}},[r,p]);const C=r.lockScroll&&r.modal,S=r.scrollable||!C,N=r.modal&&r.closeOnMaskClick;return c.jsx(di,{open:r.open,destroyOnClose:r.destroyOnClose,closeOnMaskClick:N,scrollable:S,blur:m?1:!1,className:j("z-50","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",d),sx:f,onClose:()=>{const q=new PointerEvent("pointerdown",{bubbles:!0,cancelable:!0});v?.(q),q.defaultPrevented||r.setOpen(!1)},contentClassName:"z-50 w-[calc(100%-2rem)] max-w-lg",contentSx:void 0,x:"50%",y:"50%",translateX:"-50%",translateY:"-50%",children:c.jsx("div",{ref:w,role:"dialog","aria-modal":(!!r.modal).toString(),tabIndex:-1,"data-state":r.open?"open":"closed",className:j("relative grid gap-4 rounded-lg border border-slate-200 bg-white p-6 text-slate-950 shadow-xl outline-none","duration-200","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%]","data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",y,o,s),style:L(a,g),...x,children:c.jsx(xu.Provider,{value:{showClose:l},children:n})})})});pi.displayName="DialogContent";const vi=u.forwardRef((e,t)=>{const r=tn("DialogHeader"),o=u.useContext(xu)?.showClose??!1,{className:s,class:i,sx:a,style:l,children:d,...f}=e,{sxClassName:m,sxInlineStyle:p}=Dt(a);return c.jsxs("div",{ref:t,className:j("flex items-start justify-between gap-3",m,s,i),style:L(l,p),...f,children:[c.jsx("div",{className:"flex min-w-0 flex-1 flex-col gap-1.5 text-center sm:text-left",children:d}),o?c.jsx("button",{type:"button",className:j("inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-md","text-slate-500 transition-colors hover:bg-slate-100 hover:text-slate-900","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2","disabled:pointer-events-none"),"aria-label":"关闭弹窗",onClick:()=>r.setOpen(!1),children:c.jsx(Le,{name:"close",size:16})}):null]})});vi.displayName="DialogHeader";const gi=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=Dt(o);return c.jsx("div",{ref:t,className:j("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",a,r,n),style:L(s,l),...i})});gi.displayName="DialogFooter";const bi=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=Dt(o);return c.jsx("h2",{ref:t,className:j("m-0 text-lg font-semibold leading-6 text-slate-950",a,r,n),style:L({margin:0,borderTop:0,paddingTop:0,letterSpacing:0,fontSize:"1.125rem",fontWeight:600,lineHeight:"1.5rem"},s,l),...i})});bi.displayName="DialogTitle";const xi=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=Dt(o);return c.jsx("p",{ref:t,className:j("m-0 text-sm leading-5 text-slate-600",a,r,n),style:L({margin:0,fontSize:"0.875rem",lineHeight:"1.25rem"},s,l),...i})});xi.displayName="DialogDescription";const Tv=Object.assign(Iv,{Trigger:fi,Portal:yu,Close:mi,Overlay:hi,Content:pi,Header:vi,Footer:gi,Title:bi,Description:xi});function ce(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),r===!1||!o.defaultPrevented)return t?.(o)}}function Ja(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function yi(...e){return t=>{let r=!1;const n=e.map(o=>{const s=Ja(o,t);return!r&&typeof s=="function"&&(r=!0),s});if(r)return()=>{for(let o=0;o<n.length;o++){const s=n[o];typeof s=="function"?s():Ja(e[o],null)}}}}function ke(...e){return u.useCallback(yi(...e),e)}function rt(e,t=[]){let r=[];function n(s,i){const a=u.createContext(i),l=r.length;r=[...r,i];const d=m=>{const{scope:p,children:v,...b}=m,h=p?.[e]?.[l]||a,x=u.useMemo(()=>b,Object.values(b));return c.jsx(h.Provider,{value:x,children:v})};d.displayName=s+"Provider";function f(m,p){const v=p?.[e]?.[l]||a,b=u.useContext(v);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[d,f]}const o=()=>{const s=r.map(i=>u.createContext(i));return function(a){const l=a?.[e]||s;return u.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[n,_v(o,...t)]}function _v(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=n.reduce((a,{useScope:l,scopeName:d})=>{const m=l(s)[`__scope${d}`];return{...a,...m}},{});return u.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function Wr(e){const t=Ov(e),r=u.forwardRef((n,o)=>{const{children:s,...i}=n,a=u.Children.toArray(s),l=a.find(Lv);if(l){const d=l.props.children,f=a.map(m=>m===l?u.Children.count(d)>1?u.Children.only(null):u.isValidElement(d)?d.props.children:null:m);return c.jsx(t,{...i,ref:o,children:u.isValidElement(d)?u.cloneElement(d,void 0,f):null})}return c.jsx(t,{...i,ref:o,children:s})});return r.displayName=`${e}.Slot`,r}function Ov(e){const t=u.forwardRef((r,n)=>{const{children:o,...s}=r;if(u.isValidElement(o)){const i=Bv(o),a=Dv(s,o.props);return o.type!==u.Fragment&&(a.ref=n?yi(n,i):i),u.cloneElement(o,a)}return u.Children.count(o)>1?u.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var wu=Symbol("radix.slottable");function Mv(e){const t=({children:r})=>c.jsx(c.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=wu,t}function Lv(e){return u.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===wu}function Dv(e,t){const r={...t};for(const n in t){const o=e[n],s=t[n];/^on[A-Z]/.test(n)?o&&s?r[n]=(...a)=>{const l=s(...a);return o(...a),l}:o&&(r[n]=o):n==="style"?r[n]={...o,...s}:n==="className"&&(r[n]=[o,s].filter(Boolean).join(" "))}return{...e,...r}}function Bv(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Fv=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],be=Fv.reduce((e,t)=>{const r=Wr(`Primitive.${t}`),n=u.forwardRef((o,s)=>{const{asChild:i,...a}=o,l=i?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(l,{...a,ref:s})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function $v(e,t){e&&Jr.flushSync(()=>e.dispatchEvent(t))}function gt(e){const t=u.useRef(e);return u.useEffect(()=>{t.current=e}),u.useMemo(()=>(...r)=>t.current?.(...r),[])}function Vv(e,t=globalThis?.document){const r=gt(e);u.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}var zv="DismissableLayer",Os="dismissableLayer.update",Hv="dismissableLayer.pointerDownOutside",Wv="dismissableLayer.focusOutside",Qa,Pu=u.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),no=u.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:a,...l}=e,d=u.useContext(Pu),[f,m]=u.useState(null),p=f?.ownerDocument??globalThis?.document,[,v]=u.useState({}),b=ke(t,N=>m(N)),h=Array.from(d.layers),[x]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),y=h.indexOf(x),g=f?h.indexOf(f):-1,w=d.layersWithOutsidePointerEventsDisabled.size>0,P=g>=y,C=Uv(N=>{const q=N.target,k=[...d.branches].some(A=>A.contains(q));!P||k||(o?.(N),i?.(N),N.defaultPrevented||a?.())},p),S=Yv(N=>{const q=N.target;[...d.branches].some(A=>A.contains(q))||(s?.(N),i?.(N),N.defaultPrevented||a?.())},p);return Vv(N=>{g===d.layers.size-1&&(n?.(N),!N.defaultPrevented&&a&&(N.preventDefault(),a()))},p),u.useEffect(()=>{if(f)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Qa=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),Za(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=Qa)}},[f,p,r,d]),u.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),Za())},[f,d]),u.useEffect(()=>{const N=()=>v({});return document.addEventListener(Os,N),()=>document.removeEventListener(Os,N)},[]),c.jsx(be.div,{...l,ref:b,style:{pointerEvents:w?P?"auto":"none":void 0,...e.style},onFocusCapture:ce(e.onFocusCapture,S.onFocusCapture),onBlurCapture:ce(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:ce(e.onPointerDownCapture,C.onPointerDownCapture)})});no.displayName=zv;var Gv="DismissableLayerBranch",Kv=u.forwardRef((e,t)=>{const r=u.useContext(Pu),n=u.useRef(null),o=ke(t,n);return u.useEffect(()=>{const s=n.current;if(s)return r.branches.add(s),()=>{r.branches.delete(s)}},[r.branches]),c.jsx(be.div,{...e,ref:o})});Kv.displayName=Gv;function Uv(e,t=globalThis?.document){const r=gt(e),n=u.useRef(!1),o=u.useRef(()=>{});return u.useEffect(()=>{const s=a=>{if(a.target&&!n.current){let l=function(){Cu(Hv,r,d,{discrete:!0})};const d={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function Yv(e,t=globalThis?.document){const r=gt(e),n=u.useRef(!1);return u.useEffect(()=>{const o=s=>{s.target&&!n.current&&Cu(Wv,r,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function Za(){const e=new CustomEvent(Os);document.dispatchEvent(e)}function Cu(e,t,r,{discrete:n}){const o=r.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?$v(o,s):o.dispatchEvent(s)}var Lo=0;function Su(){u.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??el()),document.body.insertAdjacentElement("beforeend",e[1]??el()),Lo++,()=>{Lo===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Lo--}},[])}function el(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Do="focusScope.autoFocusOnMount",Bo="focusScope.autoFocusOnUnmount",tl={bubbles:!1,cancelable:!0},Xv="FocusScope",wi=u.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...i}=e,[a,l]=u.useState(null),d=gt(o),f=gt(s),m=u.useRef(null),p=ke(t,h=>l(h)),v=u.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;u.useEffect(()=>{if(n){let h=function(w){if(v.paused||!a)return;const P=w.target;a.contains(P)?m.current=P:jt(m.current,{select:!0})},x=function(w){if(v.paused||!a)return;const P=w.relatedTarget;P!==null&&(a.contains(P)||jt(m.current,{select:!0}))},y=function(w){if(document.activeElement===document.body)for(const C of w)C.removedNodes.length>0&&jt(a)};document.addEventListener("focusin",h),document.addEventListener("focusout",x);const g=new MutationObserver(y);return a&&g.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",x),g.disconnect()}}},[n,a,v.paused]),u.useEffect(()=>{if(a){nl.add(v);const h=document.activeElement;if(!a.contains(h)){const y=new CustomEvent(Do,tl);a.addEventListener(Do,d),a.dispatchEvent(y),y.defaultPrevented||(Jv(rg(Nu(a)),{select:!0}),document.activeElement===h&&jt(a))}return()=>{a.removeEventListener(Do,d),setTimeout(()=>{const y=new CustomEvent(Bo,tl);a.addEventListener(Bo,f),a.dispatchEvent(y),y.defaultPrevented||jt(h??document.body,{select:!0}),a.removeEventListener(Bo,f),nl.remove(v)},0)}}},[a,d,f,v]);const b=u.useCallback(h=>{if(!r&&!n||v.paused)return;const x=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,y=document.activeElement;if(x&&y){const g=h.currentTarget,[w,P]=Qv(g);w&&P?!h.shiftKey&&y===P?(h.preventDefault(),r&&jt(w,{select:!0})):h.shiftKey&&y===w&&(h.preventDefault(),r&&jt(P,{select:!0})):y===g&&h.preventDefault()}},[r,n,v.paused]);return c.jsx(be.div,{tabIndex:-1,...i,ref:p,onKeyDown:b})});wi.displayName=Xv;function Jv(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(jt(n,{select:t}),document.activeElement!==r)return}function Qv(e){const t=Nu(e),r=rl(t,e),n=rl(t.reverse(),e);return[r,n]}function Nu(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function rl(e,t){for(const r of e)if(!Zv(r,{upTo:t}))return r}function Zv(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function eg(e){return e instanceof HTMLInputElement&&"select"in e}function jt(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&eg(e)&&t&&e.select()}}var nl=tg();function tg(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=ol(e,t),e.unshift(t)},remove(t){e=ol(e,t),e[0]?.resume()}}}function ol(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function rg(e){return e.filter(t=>t.tagName!=="A")}var De=globalThis?.document?u.useLayoutEffect:()=>{},ng=u[" useId ".trim().toString()]||(()=>{}),og=0;function nr(e){const[t,r]=u.useState(ng());return De(()=>{r(n=>n??String(og++))},[e]),e||(t?`radix-${t}`:"")}const sg=["top","right","bottom","left"],_t=Math.min,Ge=Math.max,Hn=Math.round,vn=Math.floor,dt=e=>({x:e,y:e}),ig={left:"right",right:"left",bottom:"top",top:"bottom"};function Ms(e,t,r){return Ge(e,_t(t,r))}function bt(e,t){return typeof e=="function"?e(t):e}function xt(e){return e.split("-")[0]}function Cr(e){return e.split("-")[1]}function Pi(e){return e==="x"?"y":"x"}function Ci(e){return e==="y"?"height":"width"}function ct(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Si(e){return Pi(ct(e))}function ag(e,t,r){r===void 0&&(r=!1);const n=Cr(e),o=Si(e),s=Ci(o);let i=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=Wn(i)),[i,Wn(i)]}function lg(e){const t=Wn(e);return[Ls(e),t,Ls(t)]}function Ls(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const sl=["left","right"],il=["right","left"],cg=["top","bottom"],ug=["bottom","top"];function dg(e,t,r){switch(e){case"top":case"bottom":return r?t?il:sl:t?sl:il;case"left":case"right":return t?cg:ug;default:return[]}}function fg(e,t,r,n){const o=Cr(e);let s=dg(xt(e),r==="start",n);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(Ls)))),s}function Wn(e){const t=xt(e);return ig[t]+e.slice(t.length)}function mg(e){return{top:0,right:0,bottom:0,left:0,...e}}function qu(e){return typeof e!="number"?mg(e):{top:e,right:e,bottom:e,left:e}}function Gn(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function al(e,t,r){let{reference:n,floating:o}=e;const s=ct(t),i=Si(t),a=Ci(i),l=xt(t),d=s==="y",f=n.x+n.width/2-o.width/2,m=n.y+n.height/2-o.height/2,p=n[a]/2-o[a]/2;let v;switch(l){case"top":v={x:f,y:n.y-o.height};break;case"bottom":v={x:f,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:m};break;case"left":v={x:n.x-o.width,y:m};break;default:v={x:n.x,y:n.y}}switch(Cr(t)){case"start":v[i]-=p*(r&&d?-1:1);break;case"end":v[i]+=p*(r&&d?-1:1);break}return v}async function hg(e,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:s,rects:i,elements:a,strategy:l}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:m="floating",altBoundary:p=!1,padding:v=0}=bt(t,e),b=qu(v),x=a[p?m==="floating"?"reference":"floating":m],y=Gn(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(x)))==null||r?x:x.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:d,rootBoundary:f,strategy:l})),g=m==="floating"?{x:n,y:o,width:i.floating.width,height:i.floating.height}:i.reference,w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),P=await(s.isElement==null?void 0:s.isElement(w))?await(s.getScale==null?void 0:s.getScale(w))||{x:1,y:1}:{x:1,y:1},C=Gn(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:w,strategy:l}):g);return{top:(y.top-C.top+b.top)/P.y,bottom:(C.bottom-y.bottom+b.bottom)/P.y,left:(y.left-C.left+b.left)/P.x,right:(C.right-y.right+b.right)/P.x}}const pg=50,vg=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:s=[],platform:i}=r,a=i.detectOverflow?i:{...i,detectOverflow:hg},l=await(i.isRTL==null?void 0:i.isRTL(t));let d=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:m}=al(d,n,l),p=n,v=0;const b={};for(let h=0;h<s.length;h++){const x=s[h];if(!x)continue;const{name:y,fn:g}=x,{x:w,y:P,data:C,reset:S}=await g({x:f,y:m,initialPlacement:n,placement:p,strategy:o,middlewareData:b,rects:d,platform:a,elements:{reference:e,floating:t}});f=w??f,m=P??m,b[y]={...b[y],...C},S&&v<pg&&(v++,typeof S=="object"&&(S.placement&&(p=S.placement),S.rects&&(d=S.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):S.rects),{x:f,y:m}=al(d,p,l)),h=-1)}return{x:f,y:m,placement:p,strategy:o,middlewareData:b}},gg=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:s,platform:i,elements:a,middlewareData:l}=t,{element:d,padding:f=0}=bt(e,t)||{};if(d==null)return{};const m=qu(f),p={x:r,y:n},v=Si(o),b=Ci(v),h=await i.getDimensions(d),x=v==="y",y=x?"top":"left",g=x?"bottom":"right",w=x?"clientHeight":"clientWidth",P=s.reference[b]+s.reference[v]-p[v]-s.floating[b],C=p[v]-s.reference[v],S=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d));let N=S?S[w]:0;(!N||!await(i.isElement==null?void 0:i.isElement(S)))&&(N=a.floating[w]||s.floating[b]);const q=P/2-C/2,k=N/2-h[b]/2-1,A=_t(m[y],k),E=_t(m[g],k),R=A,I=N-h[b]-E,T=N/2-h[b]/2+q,O=Ms(R,T,I),_=!l.arrow&&Cr(o)!=null&&T!==O&&s.reference[b]/2-(T<R?A:E)-h[b]/2<0,$=_?T<R?T-R:T-I:0;return{[v]:p[v]+$,data:{[v]:O,centerOffset:T-O-$,..._&&{alignmentOffset:$}},reset:_}}}),bg=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:l,elements:d}=t,{mainAxis:f=!0,crossAxis:m=!0,fallbackPlacements:p,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:h=!0,...x}=bt(e,t);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const y=xt(o),g=ct(a),w=xt(a)===a,P=await(l.isRTL==null?void 0:l.isRTL(d.floating)),C=p||(w||!h?[Wn(a)]:lg(a)),S=b!=="none";!p&&S&&C.push(...fg(a,h,b,P));const N=[a,...C],q=await l.detectOverflow(t,x),k=[];let A=((n=s.flip)==null?void 0:n.overflows)||[];if(f&&k.push(q[y]),m){const T=ag(o,i,P);k.push(q[T[0]],q[T[1]])}if(A=[...A,{placement:o,overflows:k}],!k.every(T=>T<=0)){var E,R;const T=(((E=s.flip)==null?void 0:E.index)||0)+1,O=N[T];if(O&&(!(m==="alignment"?g!==ct(O):!1)||A.every(M=>ct(M.placement)===g?M.overflows[0]>0:!0)))return{data:{index:T,overflows:A},reset:{placement:O}};let _=(R=A.filter($=>$.overflows[0]<=0).sort(($,M)=>$.overflows[1]-M.overflows[1])[0])==null?void 0:R.placement;if(!_)switch(v){case"bestFit":{var I;const $=(I=A.filter(M=>{if(S){const U=ct(M.placement);return U===g||U==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(U=>U>0).reduce((U,D)=>U+D,0)]).sort((M,U)=>M[1]-U[1])[0])==null?void 0:I[0];$&&(_=$);break}case"initialPlacement":_=a;break}if(o!==_)return{reset:{placement:_}}}return{}}}};function ll(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function cl(e){return sg.some(t=>e[t]>=0)}const xg=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r,platform:n}=t,{strategy:o="referenceHidden",...s}=bt(e,t);switch(o){case"referenceHidden":{const i=await n.detectOverflow(t,{...s,elementContext:"reference"}),a=ll(i,r.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:cl(a)}}}case"escaped":{const i=await n.detectOverflow(t,{...s,altBoundary:!0}),a=ll(i,r.floating);return{data:{escapedOffsets:a,escaped:cl(a)}}}default:return{}}}}},ku=new Set(["left","top"]);async function yg(e,t){const{placement:r,platform:n,elements:o}=e,s=await(n.isRTL==null?void 0:n.isRTL(o.floating)),i=xt(r),a=Cr(r),l=ct(r)==="y",d=ku.has(i)?-1:1,f=s&&l?-1:1,m=bt(t,e);let{mainAxis:p,crossAxis:v,alignmentAxis:b}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return a&&typeof b=="number"&&(v=a==="end"?b*-1:b),l?{x:v*f,y:p*d}:{x:p*d,y:v*f}}const wg=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:s,placement:i,middlewareData:a}=t,l=await yg(t,e);return i===((r=a.offset)==null?void 0:r.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:{...l,placement:i}}}}},Pg=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o,platform:s}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:y=>{let{x:g,y:w}=y;return{x:g,y:w}}},...d}=bt(e,t),f={x:r,y:n},m=await s.detectOverflow(t,d),p=ct(xt(o)),v=Pi(p);let b=f[v],h=f[p];if(i){const y=v==="y"?"top":"left",g=v==="y"?"bottom":"right",w=b+m[y],P=b-m[g];b=Ms(w,b,P)}if(a){const y=p==="y"?"top":"left",g=p==="y"?"bottom":"right",w=h+m[y],P=h-m[g];h=Ms(w,h,P)}const x=l.fn({...t,[v]:b,[p]:h});return{...x,data:{x:x.x-r,y:x.y-n,enabled:{[v]:i,[p]:a}}}}}},Cg=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:s,middlewareData:i}=t,{offset:a=0,mainAxis:l=!0,crossAxis:d=!0}=bt(e,t),f={x:r,y:n},m=ct(o),p=Pi(m);let v=f[p],b=f[m];const h=bt(a,t),x=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const w=p==="y"?"height":"width",P=s.reference[p]-s.floating[w]+x.mainAxis,C=s.reference[p]+s.reference[w]-x.mainAxis;v<P?v=P:v>C&&(v=C)}if(d){var y,g;const w=p==="y"?"width":"height",P=ku.has(xt(o)),C=s.reference[m]-s.floating[w]+(P&&((y=i.offset)==null?void 0:y[m])||0)+(P?0:x.crossAxis),S=s.reference[m]+s.reference[w]+(P?0:((g=i.offset)==null?void 0:g[m])||0)-(P?x.crossAxis:0);b<C?b=C:b>S&&(b=S)}return{[p]:v,[m]:b}}}},Sg=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:o,rects:s,platform:i,elements:a}=t,{apply:l=()=>{},...d}=bt(e,t),f=await i.detectOverflow(t,d),m=xt(o),p=Cr(o),v=ct(o)==="y",{width:b,height:h}=s.floating;let x,y;m==="top"||m==="bottom"?(x=m,y=p===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(y=m,x=p==="end"?"top":"bottom");const g=h-f.top-f.bottom,w=b-f.left-f.right,P=_t(h-f[x],g),C=_t(b-f[y],w),S=!t.middlewareData.shift;let N=P,q=C;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(q=w),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(N=g),S&&!p){const A=Ge(f.left,0),E=Ge(f.right,0),R=Ge(f.top,0),I=Ge(f.bottom,0);v?q=b-2*(A!==0||E!==0?A+E:Ge(f.left,f.right)):N=h-2*(R!==0||I!==0?R+I:Ge(f.top,f.bottom))}await l({...t,availableWidth:q,availableHeight:N});const k=await i.getDimensions(a.floating);return b!==k.width||h!==k.height?{reset:{rects:!0}}:{}}}};function oo(){return typeof window<"u"}function Sr(e){return Eu(e)?(e.nodeName||"").toLowerCase():"#document"}function Ue(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ft(e){var t;return(t=(Eu(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Eu(e){return oo()?e instanceof Node||e instanceof Ue(e).Node:!1}function et(e){return oo()?e instanceof Element||e instanceof Ue(e).Element:!1}function wt(e){return oo()?e instanceof HTMLElement||e instanceof Ue(e).HTMLElement:!1}function ul(e){return!oo()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ue(e).ShadowRoot}function rn(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=tt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&o!=="inline"&&o!=="contents"}function Ng(e){return/^(table|td|th)$/.test(Sr(e))}function so(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const qg=/transform|translate|scale|rotate|perspective|filter/,kg=/paint|layout|strict|content/,Wt=e=>!!e&&e!=="none";let Fo;function Ni(e){const t=et(e)?tt(e):e;return Wt(t.transform)||Wt(t.translate)||Wt(t.scale)||Wt(t.rotate)||Wt(t.perspective)||!qi()&&(Wt(t.backdropFilter)||Wt(t.filter))||qg.test(t.willChange||"")||kg.test(t.contain||"")}function Eg(e){let t=Ot(e);for(;wt(t)&&!gr(t);){if(Ni(t))return t;if(so(t))return null;t=Ot(t)}return null}function qi(){return Fo==null&&(Fo=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Fo}function gr(e){return/^(html|body|#document)$/.test(Sr(e))}function tt(e){return Ue(e).getComputedStyle(e)}function io(e){return et(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ot(e){if(Sr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ul(e)&&e.host||ft(e);return ul(t)?t.host:t}function Ru(e){const t=Ot(e);return gr(t)?e.ownerDocument?e.ownerDocument.body:e.body:wt(t)&&rn(t)?t:Ru(t)}function Gr(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=Ru(e),s=o===((n=e.ownerDocument)==null?void 0:n.body),i=Ue(o);if(s){const a=Ds(i);return t.concat(i,i.visualViewport||[],rn(o)?o:[],a&&r?Gr(a):[])}else return t.concat(o,Gr(o,[],r))}function Ds(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ju(e){const t=tt(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=wt(e),s=o?e.offsetWidth:r,i=o?e.offsetHeight:n,a=Hn(r)!==s||Hn(n)!==i;return a&&(r=s,n=i),{width:r,height:n,$:a}}function ki(e){return et(e)?e:e.contextElement}function hr(e){const t=ki(e);if(!wt(t))return dt(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:s}=ju(t);let i=(s?Hn(r.width):r.width)/n,a=(s?Hn(r.height):r.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const Rg=dt(0);function Au(e){const t=Ue(e);return!qi()||!t.visualViewport?Rg:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function jg(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Ue(e)?!1:t}function Qt(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),s=ki(e);let i=dt(1);t&&(n?et(n)&&(i=hr(n)):i=hr(e));const a=jg(s,r,n)?Au(s):dt(0);let l=(o.left+a.x)/i.x,d=(o.top+a.y)/i.y,f=o.width/i.x,m=o.height/i.y;if(s){const p=Ue(s),v=n&&et(n)?Ue(n):n;let b=p,h=Ds(b);for(;h&&n&&v!==b;){const x=hr(h),y=h.getBoundingClientRect(),g=tt(h),w=y.left+(h.clientLeft+parseFloat(g.paddingLeft))*x.x,P=y.top+(h.clientTop+parseFloat(g.paddingTop))*x.y;l*=x.x,d*=x.y,f*=x.x,m*=x.y,l+=w,d+=P,b=Ue(h),h=Ds(b)}}return Gn({width:f,height:m,x:l,y:d})}function ao(e,t){const r=io(e).scrollLeft;return t?t.left+r:Qt(ft(e)).left+r}function Iu(e,t){const r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-ao(e,r),o=r.top+t.scrollTop;return{x:n,y:o}}function Ag(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const s=o==="fixed",i=ft(n),a=t?so(t.floating):!1;if(n===i||a&&s)return r;let l={scrollLeft:0,scrollTop:0},d=dt(1);const f=dt(0),m=wt(n);if((m||!m&&!s)&&((Sr(n)!=="body"||rn(i))&&(l=io(n)),m)){const v=Qt(n);d=hr(n),f.x=v.x+n.clientLeft,f.y=v.y+n.clientTop}const p=i&&!m&&!s?Iu(i,l):dt(0);return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-l.scrollLeft*d.x+f.x+p.x,y:r.y*d.y-l.scrollTop*d.y+f.y+p.y}}function Ig(e){return Array.from(e.getClientRects())}function Tg(e){const t=ft(e),r=io(e),n=e.ownerDocument.body,o=Ge(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=Ge(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let i=-r.scrollLeft+ao(e);const a=-r.scrollTop;return tt(n).direction==="rtl"&&(i+=Ge(t.clientWidth,n.clientWidth)-o),{width:o,height:s,x:i,y:a}}const dl=25;function _g(e,t){const r=Ue(e),n=ft(e),o=r.visualViewport;let s=n.clientWidth,i=n.clientHeight,a=0,l=0;if(o){s=o.width,i=o.height;const f=qi();(!f||f&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}const d=ao(n);if(d<=0){const f=n.ownerDocument,m=f.body,p=getComputedStyle(m),v=f.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,b=Math.abs(n.clientWidth-m.clientWidth-v);b<=dl&&(s-=b)}else d<=dl&&(s+=d);return{width:s,height:i,x:a,y:l}}function Og(e,t){const r=Qt(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,s=wt(e)?hr(e):dt(1),i=e.clientWidth*s.x,a=e.clientHeight*s.y,l=o*s.x,d=n*s.y;return{width:i,height:a,x:l,y:d}}function fl(e,t,r){let n;if(t==="viewport")n=_g(e,r);else if(t==="document")n=Tg(ft(e));else if(et(t))n=Og(t,r);else{const o=Au(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Gn(n)}function Tu(e,t){const r=Ot(e);return r===t||!et(r)||gr(r)?!1:tt(r).position==="fixed"||Tu(r,t)}function Mg(e,t){const r=t.get(e);if(r)return r;let n=Gr(e,[],!1).filter(a=>et(a)&&Sr(a)!=="body"),o=null;const s=tt(e).position==="fixed";let i=s?Ot(e):e;for(;et(i)&&!gr(i);){const a=tt(i),l=Ni(i);!l&&a.position==="fixed"&&(o=null),(s?!l&&!o:!l&&a.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||rn(i)&&!l&&Tu(e,i))?n=n.filter(f=>f!==i):o=a,i=Ot(i)}return t.set(e,n),n}function Lg(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const i=[...r==="clippingAncestors"?so(t)?[]:Mg(t,this._c):[].concat(r),n],a=fl(t,i[0],o);let l=a.top,d=a.right,f=a.bottom,m=a.left;for(let p=1;p<i.length;p++){const v=fl(t,i[p],o);l=Ge(v.top,l),d=_t(v.right,d),f=_t(v.bottom,f),m=Ge(v.left,m)}return{width:d-m,height:f-l,x:m,y:l}}function Dg(e){const{width:t,height:r}=ju(e);return{width:t,height:r}}function Bg(e,t,r){const n=wt(t),o=ft(t),s=r==="fixed",i=Qt(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=dt(0);function d(){l.x=ao(o)}if(n||!n&&!s)if((Sr(t)!=="body"||rn(o))&&(a=io(t)),n){const v=Qt(t,!0,s,t);l.x=v.x+t.clientLeft,l.y=v.y+t.clientTop}else o&&d();s&&!n&&o&&d();const f=o&&!n&&!s?Iu(o,a):dt(0),m=i.left+a.scrollLeft-l.x-f.x,p=i.top+a.scrollTop-l.y-f.y;return{x:m,y:p,width:i.width,height:i.height}}function $o(e){return tt(e).position==="static"}function ml(e,t){if(!wt(e)||tt(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return ft(e)===r&&(r=r.ownerDocument.body),r}function _u(e,t){const r=Ue(e);if(so(e))return r;if(!wt(e)){let o=Ot(e);for(;o&&!gr(o);){if(et(o)&&!$o(o))return o;o=Ot(o)}return r}let n=ml(e,t);for(;n&&Ng(n)&&$o(n);)n=ml(n,t);return n&&gr(n)&&$o(n)&&!Ni(n)?r:n||Eg(e)||r}const Fg=async function(e){const t=this.getOffsetParent||_u,r=this.getDimensions,n=await r(e.floating);return{reference:Bg(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function $g(e){return tt(e).direction==="rtl"}const Vg={convertOffsetParentRelativeRectToViewportRelativeRect:Ag,getDocumentElement:ft,getClippingRect:Lg,getOffsetParent:_u,getElementRects:Fg,getClientRects:Ig,getDimensions:Dg,getScale:hr,isElement:et,isRTL:$g};function Ou(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function zg(e,t){let r=null,n;const o=ft(e);function s(){var a;clearTimeout(n),(a=r)==null||a.disconnect(),r=null}function i(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const d=e.getBoundingClientRect(),{left:f,top:m,width:p,height:v}=d;if(a||t(),!p||!v)return;const b=vn(m),h=vn(o.clientWidth-(f+p)),x=vn(o.clientHeight-(m+v)),y=vn(f),w={rootMargin:-b+"px "+-h+"px "+-x+"px "+-y+"px",threshold:Ge(0,_t(1,l))||1};let P=!0;function C(S){const N=S[0].intersectionRatio;if(N!==l){if(!P)return i();N?i(!1,N):n=setTimeout(()=>{i(!1,1e-7)},1e3)}N===1&&!Ou(d,e.getBoundingClientRect())&&i(),P=!1}try{r=new IntersectionObserver(C,{...w,root:o.ownerDocument})}catch{r=new IntersectionObserver(C,w)}r.observe(e)}return i(!0),s}function Hg(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,d=ki(e),f=o||s?[...d?Gr(d):[],...t?Gr(t):[]]:[];f.forEach(y=>{o&&y.addEventListener("scroll",r,{passive:!0}),s&&y.addEventListener("resize",r)});const m=d&&a?zg(d,r):null;let p=-1,v=null;i&&(v=new ResizeObserver(y=>{let[g]=y;g&&g.target===d&&v&&t&&(v.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var w;(w=v)==null||w.observe(t)})),r()}),d&&!l&&v.observe(d),t&&v.observe(t));let b,h=l?Qt(e):null;l&&x();function x(){const y=Qt(e);h&&!Ou(h,y)&&r(),h=y,b=requestAnimationFrame(x)}return r(),()=>{var y;f.forEach(g=>{o&&g.removeEventListener("scroll",r),s&&g.removeEventListener("resize",r)}),m?.(),(y=v)==null||y.disconnect(),v=null,l&&cancelAnimationFrame(b)}}const Wg=wg,Gg=Pg,Kg=bg,Ug=Sg,Yg=xg,hl=gg,Xg=Cg,Jg=(e,t,r)=>{const n=new Map,o={platform:Vg,...r},s={...o.platform,_c:n};return vg(e,t,{...o,platform:s})};var Qg=typeof document<"u",Zg=function(){},_n=Qg?je.useLayoutEffect:Zg;function Kn(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(!Kn(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){const s=o[n];if(!(s==="_owner"&&e.$$typeof)&&!Kn(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function Mu(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function pl(e,t){const r=Mu(e);return Math.round(t*r)/r}function Vo(e){const t=u.useRef(e);return _n(()=>{t.current=e}),t}function eb(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:s,floating:i}={},transform:a=!0,whileElementsMounted:l,open:d}=e,[f,m]=u.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[p,v]=u.useState(n);Kn(p,n)||v(n);const[b,h]=u.useState(null),[x,y]=u.useState(null),g=u.useCallback(M=>{M!==S.current&&(S.current=M,h(M))},[]),w=u.useCallback(M=>{M!==N.current&&(N.current=M,y(M))},[]),P=s||b,C=i||x,S=u.useRef(null),N=u.useRef(null),q=u.useRef(f),k=l!=null,A=Vo(l),E=Vo(o),R=Vo(d),I=u.useCallback(()=>{if(!S.current||!N.current)return;const M={placement:t,strategy:r,middleware:p};E.current&&(M.platform=E.current),Jg(S.current,N.current,M).then(U=>{const D={...U,isPositioned:R.current!==!1};T.current&&!Kn(q.current,D)&&(q.current=D,Jr.flushSync(()=>{m(D)}))})},[p,t,r,E,R]);_n(()=>{d===!1&&q.current.isPositioned&&(q.current.isPositioned=!1,m(M=>({...M,isPositioned:!1})))},[d]);const T=u.useRef(!1);_n(()=>(T.current=!0,()=>{T.current=!1}),[]),_n(()=>{if(P&&(S.current=P),C&&(N.current=C),P&&C){if(A.current)return A.current(P,C,I);I()}},[P,C,I,A,k]);const O=u.useMemo(()=>({reference:S,floating:N,setReference:g,setFloating:w}),[g,w]),_=u.useMemo(()=>({reference:P,floating:C}),[P,C]),$=u.useMemo(()=>{const M={position:r,left:0,top:0};if(!_.floating)return M;const U=pl(_.floating,f.x),D=pl(_.floating,f.y);return a?{...M,transform:"translate("+U+"px, "+D+"px)",...Mu(_.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:U,top:D}},[r,a,_.floating,f.x,f.y]);return u.useMemo(()=>({...f,update:I,refs:O,elements:_,floatingStyles:$}),[f,I,O,_,$])}const tb=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:n,padding:o}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?hl({element:n.current,padding:o}).fn(r):{}:n?hl({element:n,padding:o}).fn(r):{}}}},rb=(e,t)=>{const r=Wg(e);return{name:r.name,fn:r.fn,options:[e,t]}},nb=(e,t)=>{const r=Gg(e);return{name:r.name,fn:r.fn,options:[e,t]}},ob=(e,t)=>({fn:Xg(e).fn,options:[e,t]}),sb=(e,t)=>{const r=Kg(e);return{name:r.name,fn:r.fn,options:[e,t]}},ib=(e,t)=>{const r=Ug(e);return{name:r.name,fn:r.fn,options:[e,t]}},ab=(e,t)=>{const r=Yg(e);return{name:r.name,fn:r.fn,options:[e,t]}},lb=(e,t)=>{const r=tb(e);return{name:r.name,fn:r.fn,options:[e,t]}};var cb="Arrow",Lu=u.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...s}=e;return c.jsx(be.svg,{...s,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:c.jsx("polygon",{points:"0,0 30,0 15,10"})})});Lu.displayName=cb;var ub=Lu;function lo(e){const[t,r]=u.useState(void 0);return De(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let i,a;if("borderBoxSize"in s){const l=s.borderBoxSize,d=Array.isArray(l)?l[0]:l;i=d.inlineSize,a=d.blockSize}else i=e.offsetWidth,a=e.offsetHeight;r({width:i,height:a})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}var Ei="Popper",[Du,Nr]=rt(Ei),[db,Bu]=Du(Ei),Fu=e=>{const{__scopePopper:t,children:r}=e,[n,o]=u.useState(null);return c.jsx(db,{scope:t,anchor:n,onAnchorChange:o,children:r})};Fu.displayName=Ei;var $u="PopperAnchor",Vu=u.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,s=Bu($u,r),i=u.useRef(null),a=ke(t,i),l=u.useRef(null);return u.useEffect(()=>{const d=l.current;l.current=n?.current||i.current,d!==l.current&&s.onAnchorChange(l.current)}),n?null:c.jsx(be.div,{...o,ref:a})});Vu.displayName=$u;var Ri="PopperContent",[fb,mb]=Du(Ri),zu=u.forwardRef((e,t)=>{const{__scopePopper:r,side:n="bottom",sideOffset:o=0,align:s="center",alignOffset:i=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:d=[],collisionPadding:f=0,sticky:m="partial",hideWhenDetached:p=!1,updatePositionStrategy:v="optimized",onPlaced:b,...h}=e,x=Bu(Ri,r),[y,g]=u.useState(null),w=ke(t,B=>g(B)),[P,C]=u.useState(null),S=lo(P),N=S?.width??0,q=S?.height??0,k=n+(s!=="center"?"-"+s:""),A=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},E=Array.isArray(d)?d:[d],R=E.length>0,I={padding:A,boundary:E.filter(pb),altBoundary:R},{refs:T,floatingStyles:O,placement:_,isPositioned:$,middlewareData:M}=eb({strategy:"fixed",placement:k,whileElementsMounted:(...B)=>Hg(...B,{animationFrame:v==="always"}),elements:{reference:x.anchor},middleware:[rb({mainAxis:o+q,alignmentAxis:i}),l&&nb({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?ob():void 0,...I}),l&&sb({...I}),ib({...I,apply:({elements:B,rects:Q,availableWidth:z,availableHeight:K})=>{const{width:W,height:Z}=Q.reference,ae=B.floating.style;ae.setProperty("--radix-popper-available-width",`${z}px`),ae.setProperty("--radix-popper-available-height",`${K}px`),ae.setProperty("--radix-popper-anchor-width",`${W}px`),ae.setProperty("--radix-popper-anchor-height",`${Z}px`)}}),P&&lb({element:P,padding:a}),vb({arrowWidth:N,arrowHeight:q}),p&&ab({strategy:"referenceHidden",...I})]}),[U,D]=Gu(_),G=gt(b);De(()=>{$&&G?.()},[$,G]);const he=M.arrow?.x,te=M.arrow?.y,J=M.arrow?.centerOffset!==0,[H,Y]=u.useState();return De(()=>{y&&Y(window.getComputedStyle(y).zIndex)},[y]),c.jsx("div",{ref:T.setFloating,"data-radix-popper-content-wrapper":"",style:{...O,transform:$?O.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:H,"--radix-popper-transform-origin":[M.transformOrigin?.x,M.transformOrigin?.y].join(" "),...M.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:c.jsx(fb,{scope:r,placedSide:U,onArrowChange:C,arrowX:he,arrowY:te,shouldHideArrow:J,children:c.jsx(be.div,{"data-side":U,"data-align":D,...h,ref:w,style:{...h.style,animation:$?void 0:"none"}})})})});zu.displayName=Ri;var Hu="PopperArrow",hb={top:"bottom",right:"left",bottom:"top",left:"right"},Wu=u.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,s=mb(Hu,n),i=hb[s.placedSide];return c.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:c.jsx(ub,{...o,ref:r,style:{...o.style,display:"block"}})})});Wu.displayName=Hu;function pb(e){return e!==null}var vb=e=>({name:"transformOrigin",options:e,fn(t){const{placement:r,rects:n,middlewareData:o}=t,i=o.arrow?.centerOffset!==0,a=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[d,f]=Gu(r),m={start:"0%",center:"50%",end:"100%"}[f],p=(o.arrow?.x??0)+a/2,v=(o.arrow?.y??0)+l/2;let b="",h="";return d==="bottom"?(b=i?m:`${p}px`,h=`${-l}px`):d==="top"?(b=i?m:`${p}px`,h=`${n.floating.height+l}px`):d==="right"?(b=`${-l}px`,h=i?m:`${v}px`):d==="left"&&(b=`${n.floating.width+l}px`,h=i?m:`${v}px`),{data:{x:b,y:h}}}});function Gu(e){const[t,r="center"]=e.split("-");return[t,r]}var ji=Fu,co=Vu,Ai=zu,Ii=Wu,gb="Portal",uo=u.forwardRef((e,t)=>{const{container:r,...n}=e,[o,s]=u.useState(!1);De(()=>s(!0),[]);const i=r||o&&globalThis?.document?.body;return i?Mc.createPortal(c.jsx(be.div,{...n,ref:t}),i):null});uo.displayName=gb;function bb(e,t){return u.useReducer((r,n)=>t[r][n]??r,e)}var Bt=e=>{const{present:t,children:r}=e,n=xb(t),o=typeof r=="function"?r({present:n.isPresent}):u.Children.only(r),s=ke(n.ref,yb(o));return typeof r=="function"||n.isPresent?u.cloneElement(o,{ref:s}):null};Bt.displayName="Presence";function xb(e){const[t,r]=u.useState(),n=u.useRef(null),o=u.useRef(e),s=u.useRef("none"),i=e?"mounted":"unmounted",[a,l]=bb(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return u.useEffect(()=>{const d=gn(n.current);s.current=a==="mounted"?d:"none"},[a]),De(()=>{const d=n.current,f=o.current;if(f!==e){const p=s.current,v=gn(d);e?l("MOUNT"):v==="none"||d?.display==="none"?l("UNMOUNT"):l(f&&p!==v?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),De(()=>{if(t){let d;const f=t.ownerDocument.defaultView??window,m=v=>{const h=gn(n.current).includes(CSS.escape(v.animationName));if(v.target===t&&h&&(l("ANIMATION_END"),!o.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",d=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},p=v=>{v.target===t&&(s.current=gn(n.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",m),t.addEventListener("animationend",m),()=>{f.clearTimeout(d),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",m),t.removeEventListener("animationend",m)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:u.useCallback(d=>{n.current=d?getComputedStyle(d):null,r(d)},[])}}function gn(e){return e?.animationName||"none"}function yb(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var wb=u[" useInsertionEffect ".trim().toString()]||De;function yt({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){const[o,s,i]=Pb({defaultProp:t,onChange:r}),a=e!==void 0,l=a?e:o;{const f=u.useRef(e!==void 0);u.useEffect(()=>{const m=f.current;m!==a&&console.warn(`${n} is changing from ${m?"controlled":"uncontrolled"} to ${a?"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.`),f.current=a},[a,n])}const d=u.useCallback(f=>{if(a){const m=Cb(f)?f(e):f;m!==e&&i.current?.(m)}else s(f)},[a,e,s,i]);return[l,d]}function Pb({defaultProp:e,onChange:t}){const[r,n]=u.useState(e),o=u.useRef(r),s=u.useRef(t);return wb(()=>{s.current=t},[t]),u.useEffect(()=>{o.current!==r&&(s.current?.(r),o.current=r)},[r,o]),[r,n,s]}function Cb(e){return typeof e=="function"}var Sb=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},lr=new WeakMap,bn=new WeakMap,xn={},zo=0,Ku=function(e){return e&&(e.host||Ku(e.parentNode))},Nb=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Ku(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},qb=function(e,t,r,n){var o=Nb(t,Array.isArray(e)?e:[e]);xn[r]||(xn[r]=new WeakMap);var s=xn[r],i=[],a=new Set,l=new Set(o),d=function(m){!m||a.has(m)||(a.add(m),d(m.parentNode))};o.forEach(d);var f=function(m){!m||l.has(m)||Array.prototype.forEach.call(m.children,function(p){if(a.has(p))f(p);else try{var v=p.getAttribute(n),b=v!==null&&v!=="false",h=(lr.get(p)||0)+1,x=(s.get(p)||0)+1;lr.set(p,h),s.set(p,x),i.push(p),h===1&&b&&bn.set(p,!0),x===1&&p.setAttribute(r,"true"),b||p.setAttribute(n,"true")}catch(y){console.error("aria-hidden: cannot operate on ",p,y)}})};return f(t),a.clear(),zo++,function(){i.forEach(function(m){var p=lr.get(m)-1,v=s.get(m)-1;lr.set(m,p),s.set(m,v),p||(bn.has(m)||m.removeAttribute(n),bn.delete(m)),v||m.removeAttribute(r)}),zo--,zo||(lr=new WeakMap,lr=new WeakMap,bn=new WeakMap,xn={})}},Uu=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=Sb(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live], script"))),qb(n,o,r,"aria-hidden")):function(){return null}},lt=function(){return lt=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},lt.apply(this,arguments)};function Yu(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function kb(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,s;n<o;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return e.concat(s||Array.prototype.slice.call(t))}var On="right-scroll-bar-position",Mn="width-before-scroll-bar",Eb="with-scroll-bars-hidden",Rb="--removed-body-scroll-bar-size";function Ho(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function jb(e,t){var r=je.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}var Ab=typeof window<"u"?u.useLayoutEffect:u.useEffect,vl=new WeakMap;function Ib(e,t){var r=jb(null,function(n){return e.forEach(function(o){return Ho(o,n)})});return Ab(function(){var n=vl.get(r);if(n){var o=new Set(n),s=new Set(e),i=r.current;o.forEach(function(a){s.has(a)||Ho(a,null)}),s.forEach(function(a){o.has(a)||Ho(a,i)})}vl.set(r,e)},[e]),r}function Tb(e){return e}function _b(e,t){t===void 0&&(t=Tb);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(s){var i=t(s,n);return r.push(i),function(){r=r.filter(function(a){return a!==i})}},assignSyncMedium:function(s){for(n=!0;r.length;){var i=r;r=[],i.forEach(s)}r={push:function(a){return s(a)},filter:function(){return r}}},assignMedium:function(s){n=!0;var i=[];if(r.length){var a=r;r=[],a.forEach(s),i=r}var l=function(){var f=i;i=[],f.forEach(s)},d=function(){return Promise.resolve().then(l)};d(),r={push:function(f){i.push(f),d()},filter:function(f){return i=i.filter(f),r}}}};return o}function Ob(e){e===void 0&&(e={});var t=_b(null);return t.options=lt({async:!0,ssr:!1},e),t}var Xu=function(e){var t=e.sideCar,r=Yu(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return u.createElement(n,lt({},r))};Xu.isSideCarExport=!0;function Mb(e,t){return e.useMedium(t),Xu}var Ju=Ob(),Wo=function(){},fo=u.forwardRef(function(e,t){var r=u.useRef(null),n=u.useState({onScrollCapture:Wo,onWheelCapture:Wo,onTouchMoveCapture:Wo}),o=n[0],s=n[1],i=e.forwardProps,a=e.children,l=e.className,d=e.removeScrollBar,f=e.enabled,m=e.shards,p=e.sideCar,v=e.noRelative,b=e.noIsolation,h=e.inert,x=e.allowPinchZoom,y=e.as,g=y===void 0?"div":y,w=e.gapMode,P=Yu(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=p,S=Ib([r,t]),N=lt(lt({},P),o);return u.createElement(u.Fragment,null,f&&u.createElement(C,{sideCar:Ju,removeScrollBar:d,shards:m,noRelative:v,noIsolation:b,inert:h,setCallbacks:s,allowPinchZoom:!!x,lockRef:r,gapMode:w}),i?u.cloneElement(u.Children.only(a),lt(lt({},N),{ref:S})):u.createElement(g,lt({},N,{className:l,ref:S}),a))});fo.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};fo.classNames={fullWidth:Mn,zeroRight:On};var Lb=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Db(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Lb();return t&&e.setAttribute("nonce",t),e}function Bb(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Fb(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var $b=function(){var e=0,t=null;return{add:function(r){e==0&&(t=Db())&&(Bb(t,r),Fb(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Vb=function(){var e=$b();return function(t,r){u.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},Qu=function(){var e=Vb(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},zb={left:0,top:0,right:0,gap:0},Go=function(e){return parseInt(e||"",10)||0},Hb=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Go(r),Go(n),Go(o)]},Wb=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return zb;var t=Hb(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},Gb=Qu(),pr="data-scroll-locked",Kb=function(e,t,r,n){var o=e.left,s=e.top,i=e.right,a=e.gap;return r===void 0&&(r="margin"),`
|
|
2
|
+
.`.concat(Eb,` {
|
|
3
3
|
overflow: hidden `).concat(n,`;
|
|
4
4
|
padding-right: `).concat(a,"px ").concat(n,`;
|
|
5
5
|
}
|
|
6
|
-
body[`).concat(
|
|
6
|
+
body[`).concat(pr,`] {
|
|
7
7
|
overflow: hidden `).concat(n,`;
|
|
8
8
|
overscroll-behavior: contain;
|
|
9
9
|
`).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&`
|
|
@@ -16,33 +16,33 @@
|
|
|
16
16
|
`),r==="padding"&&"padding-right: ".concat(a,"px ").concat(n,";")].filter(Boolean).join(""),`
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
.`).concat(
|
|
19
|
+
.`).concat(On,` {
|
|
20
20
|
right: `).concat(a,"px ").concat(n,`;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.`).concat(
|
|
23
|
+
.`).concat(Mn,` {
|
|
24
24
|
margin-right: `).concat(a,"px ").concat(n,`;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.`).concat(
|
|
27
|
+
.`).concat(On," .").concat(On,` {
|
|
28
28
|
right: 0 `).concat(n,`;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.`).concat(
|
|
31
|
+
.`).concat(Mn," .").concat(Mn,` {
|
|
32
32
|
margin-right: 0 `).concat(n,`;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
body[`).concat(
|
|
36
|
-
`).concat(
|
|
35
|
+
body[`).concat(pr,`] {
|
|
36
|
+
`).concat(Rb,": ").concat(a,`px;
|
|
37
37
|
}
|
|
38
|
-
`)},
|
|
38
|
+
`)},gl=function(){var e=parseInt(document.body.getAttribute(pr)||"0",10);return isFinite(e)?e:0},Ub=function(){u.useEffect(function(){return document.body.setAttribute(pr,(gl()+1).toString()),function(){var e=gl()-1;e<=0?document.body.removeAttribute(pr):document.body.setAttribute(pr,e.toString())}},[])},Yb=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n;Ub();var s=u.useMemo(function(){return Wb(o)},[o]);return u.createElement(Gb,{styles:Kb(s,!t,o,r?"":"!important")})},Bs=!1;if(typeof window<"u")try{var yn=Object.defineProperty({},"passive",{get:function(){return Bs=!0,!0}});window.addEventListener("test",yn,yn),window.removeEventListener("test",yn,yn)}catch{Bs=!1}var cr=Bs?{passive:!1}:!1,Xb=function(e){return e.tagName==="TEXTAREA"},Zu=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!Xb(e)&&r[t]==="visible")},Jb=function(e){return Zu(e,"overflowY")},Qb=function(e){return Zu(e,"overflowX")},bl=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var o=ed(e,n);if(o){var s=td(e,n),i=s[1],a=s[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},Zb=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},ex=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},ed=function(e,t){return e==="v"?Jb(t):Qb(t)},td=function(e,t){return e==="v"?Zb(t):ex(t)},tx=function(e,t){return e==="h"&&t==="rtl"?-1:1},rx=function(e,t,r,n,o){var s=tx(e,window.getComputedStyle(t).direction),i=s*n,a=r.target,l=t.contains(a),d=!1,f=i>0,m=0,p=0;do{if(!a)break;var v=td(e,a),b=v[0],h=v[1],x=v[2],y=h-x-s*b;(b||y)&&ed(e,a)&&(m+=y,p+=b);var g=a.parentNode;a=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(f&&Math.abs(m)<1||!f&&Math.abs(p)<1)&&(d=!0),d},wn=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},xl=function(e){return[e.deltaX,e.deltaY]},yl=function(e){return e&&"current"in e?e.current:e},nx=function(e,t){return e[0]===t[0]&&e[1]===t[1]},ox=function(e){return`
|
|
39
39
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
40
40
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
41
|
-
`)},ex=0,lr=[];function tx(e){var t=u.useRef([]),r=u.useRef([0,0]),n=u.useRef(),o=u.useState(ex++)[0],s=u.useState(Yu)[0],i=u.useRef(e);u.useEffect(function(){i.current=e},[e]),u.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var v=Pb([e.lockRef.current],(e.shards||[]).map(bl),!0).filter(Boolean);return v.forEach(function(x){return x.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),v.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=u.useCallback(function(v,x){if("touches"in v&&v.touches.length===2||v.type==="wheel"&&v.ctrlKey)return!i.current.allowPinchZoom;var y=xn(v),g=r.current,w="deltaX"in v?v.deltaX:g[0]-y[0],P="deltaY"in v?v.deltaY:g[1]-y[1],C,S=v.target,N=Math.abs(w)>Math.abs(P)?"h":"v";if("touches"in v&&N==="h"&&S.type==="range")return!1;var q=window.getSelection(),k=q&&q.anchorNode,T=k?k===S||k.contains(S):!1;if(T)return!1;var E=vl(N,S);if(!E)return!0;if(E?C=N:(C=N==="v"?"h":"v",E=vl(N,S)),!E)return!1;if(!n.current&&"changedTouches"in v&&(w||P)&&(n.current=C),!C)return!0;var R=n.current||C;return Jb(R,x,v,R==="h"?w:P)},[]),l=u.useCallback(function(v){var x=v;if(!(!lr.length||lr[lr.length-1]!==s)){var y="deltaY"in x?gl(x):xn(x),g=t.current.filter(function(C){return C.name===x.type&&(C.target===x.target||x.target===C.shadowParent)&&Qb(C.delta,y)})[0];if(g&&g.should){x.cancelable&&x.preventDefault();return}if(!g){var w=(i.current.shards||[]).map(bl).filter(Boolean).filter(function(C){return C.contains(x.target)}),P=w.length>0?a(x,w[0]):!i.current.noIsolation;P&&x.cancelable&&x.preventDefault()}}},[]),d=u.useCallback(function(v,x,y,g){var w={name:v,delta:x,target:y,should:g,shadowParent:rx(y)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(P){return P!==w})},1)},[]),f=u.useCallback(function(v){r.current=xn(v),n.current=void 0},[]),h=u.useCallback(function(v){d(v.type,gl(v),v.target,a(v,e.lockRef.current))},[]),p=u.useCallback(function(v){d(v.type,xn(v),v.target,a(v,e.lockRef.current))},[]);u.useEffect(function(){return lr.push(s),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:p}),document.addEventListener("wheel",l,ar),document.addEventListener("touchmove",l,ar),document.addEventListener("touchstart",f,ar),function(){lr=lr.filter(function(v){return v!==s}),document.removeEventListener("wheel",l,ar),document.removeEventListener("touchmove",l,ar),document.removeEventListener("touchstart",f,ar)}},[]);var m=e.removeScrollBar,b=e.inert;return u.createElement(u.Fragment,null,b?u.createElement(s,{styles:Zb(o)}):null,m?u.createElement(Hb,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function rx(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const nx=Tb(Uu,tx);var _i=u.forwardRef(function(e,t){return u.createElement(uo,lt({},e,{ref:t,sideCar:nx}))});_i.classNames=uo.classNames;var fo="Popover",[Zu]=rt(fo,[Cr]),tn=Cr(),[ox,Ft]=Zu(fo),ed=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:s,modal:i=!1}=e,a=tn(t),l=u.useRef(null),[d,f]=u.useState(!1),[h,p]=yt({prop:n,defaultProp:o??!1,onChange:s,caller:fo});return c.jsx(ji,{...a,children:c.jsx(ox,{scope:t,contentId:tr(),triggerRef:l,open:h,onOpenChange:p,onOpenToggle:u.useCallback(()=>p(m=>!m),[p]),hasCustomAnchor:d,onCustomAnchorAdd:u.useCallback(()=>f(!0),[]),onCustomAnchorRemove:u.useCallback(()=>f(!1),[]),modal:i,children:r})})};ed.displayName=fo;var td="PopoverAnchor",rd=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Ft(td,r),s=tn(r),{onCustomAnchorAdd:i,onCustomAnchorRemove:a}=o;return u.useEffect(()=>(i(),()=>a()),[i,a]),c.jsx(lo,{...s,...n,ref:t})});rd.displayName=td;var nd="PopoverTrigger",od=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Ft(nd,r),s=tn(r),i=ke(t,o.triggerRef),a=c.jsx(be.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":ud(o.open),...n,ref:i,onClick:ce(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?a:c.jsx(lo,{asChild:!0,...s,children:a})});od.displayName=nd;var Ii="PopoverPortal",[sx,ix]=Zu(Ii,{forceMount:void 0}),sd=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,s=Ft(Ii,t);return c.jsx(sx,{scope:t,forceMount:r,children:c.jsx(Bt,{present:r||s.open,children:c.jsx(co,{asChild:!0,container:o,children:n})})})};sd.displayName=Ii;var vr="PopoverContent",id=u.forwardRef((e,t)=>{const r=ix(vr,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,s=Ft(vr,e.__scopePopover);return c.jsx(Bt,{present:n||s.open,children:s.modal?c.jsx(lx,{...o,ref:t}):c.jsx(cx,{...o,ref:t})})});id.displayName=vr;var ax=zr("PopoverContent.RemoveScroll"),lx=u.forwardRef((e,t)=>{const r=Ft(vr,e.__scopePopover),n=u.useRef(null),o=ke(t,n),s=u.useRef(!1);return u.useEffect(()=>{const i=n.current;if(i)return Wu(i)},[]),c.jsx(_i,{as:ax,allowPinchZoom:!0,children:c.jsx(ad,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ce(e.onCloseAutoFocus,i=>{i.preventDefault(),s.current||r.triggerRef.current?.focus()}),onPointerDownOutside:ce(e.onPointerDownOutside,i=>{const a=i.detail.originalEvent,l=a.button===0&&a.ctrlKey===!0,d=a.button===2||l;s.current=d},{checkForDefaultPrevented:!1}),onFocusOutside:ce(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})})}),cx=u.forwardRef((e,t)=>{const r=Ft(vr,e.__scopePopover),n=u.useRef(!1),o=u.useRef(!1);return c.jsx(ad,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{e.onCloseAutoFocus?.(s),s.defaultPrevented||(n.current||r.triggerRef.current?.focus(),s.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:s=>{e.onInteractOutside?.(s),s.defaultPrevented||(n.current=!0,s.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const i=s.target;r.triggerRef.current?.contains(i)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&o.current&&s.preventDefault()}})}),ad=u.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:s,disableOutsidePointerEvents:i,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:d,onInteractOutside:f,...h}=e,p=Ft(vr,r),m=tn(r);return wu(),c.jsx(wi,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:s,children:c.jsx(ro,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:f,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:d,onDismiss:()=>p.onOpenChange(!1),children:c.jsx(Ti,{"data-state":ud(p.open),role:"dialog",id:p.contentId,...m,...h,ref:t,style:{...h.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),ld="PopoverClose",cd=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Ft(ld,r);return c.jsx(be.button,{type:"button",...n,ref:t,onClick:ce(e.onClick,()=>o.onOpenChange(!1))})});cd.displayName=ld;var ux="PopoverArrow",dx=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=tn(r);return c.jsx(Ai,{...o,...n,ref:t})});dx.displayName=ux;function ud(e){return e?"open":"closed"}var fx=ed,hx=rd,Fs=od,mx=sd,px=id,$s=cd;function vx(e){if(e!==void 0)return{width:typeof e=="number"?`${e}px`:e}}function dd(e){const t=se();return X(e,t)}const fd=fx,Oi=u.forwardRef((e,t)=>{const{asChild:r,asChildWrapper:n="span",children:o,className:s,class:i,sx:a,style:l,...d}=e,{sxClassName:f,sxInlineStyle:h}=dd(a),p=j(f,s,i),m=L(l,h);return r?c.jsx(Fs,{asChild:!0,...d,children:c.jsx(n,{ref:t,className:j("inline-flex w-fit",p),style:m,children:o})}):c.jsx(Fs,{ref:t,className:p,style:m,...d,children:o})});Oi.displayName=Fs.displayName;const gx=hx,hd=u.forwardRef((e,t)=>{const{asChild:r,asChildWrapper:n="span",children:o,className:s,class:i,sx:a,style:l,...d}=e,{sxClassName:f,sxInlineStyle:h}=dd(a),p=j(f,s,i),m=L(l,h);return r?c.jsx($s,{asChild:!0,...d,children:c.jsx(n,{ref:t,className:j("inline-flex w-fit",p),style:m,children:o})}):c.jsx($s,{ref:t,className:p,style:m,...d,children:o})});hd.displayName=$s.displayName;const Mi=u.forwardRef((e,t)=>{const{align:r="center",sideOffset:n=6,width:o=288,rounded:s="lg",shadow:i="md",sx:a,style:l,className:d,class:f,...h}=e,p=se(),{roundedPreset:m,roundedStyle:b}=Zt(s),{shadowPreset:v,shadowStyle:x}=Xr(i),{sxClassName:y,sxInlineStyle:g}=X(a,p);return c.jsx(mx,{children:c.jsx(px,{ref:t,align:r,sideOffset:n,className:j("z-50 border border-gray-200 bg-white p-4 text-sm text-gray-900 outline-none","origin-[--radix-popover-content-transform-origin]","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2","data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",m&&Mt[m],v&&xr[v],y,d,f),style:L(l,vx(o),b,x,g),...h})})});Mi.displayName="PopoverContent";var md=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),bx="VisuallyHidden",pd=u.forwardRef((e,t)=>c.jsx(be.span,{...e,ref:t,style:{...md,...e.style}}));pd.displayName=bx;var xx=pd,[ho]=rt("Tooltip",[Cr]),mo=Cr(),vd="TooltipProvider",yx=700,Vs="tooltip.open",[wx,Li]=ho(vd),gd=e=>{const{__scopeTooltip:t,delayDuration:r=yx,skipDelayDuration:n=300,disableHoverableContent:o=!1,children:s}=e,i=u.useRef(!0),a=u.useRef(!1),l=u.useRef(0);return u.useEffect(()=>{const d=l.current;return()=>window.clearTimeout(d)},[]),c.jsx(wx,{scope:t,isOpenDelayedRef:i,delayDuration:r,onOpen:u.useCallback(()=>{window.clearTimeout(l.current),i.current=!1},[]),onClose:u.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>i.current=!0,n)},[n]),isPointerInTransitRef:a,onPointerInTransitChange:u.useCallback(d=>{a.current=d},[]),disableHoverableContent:o,children:s})};gd.displayName=vd;var Wr="Tooltip",[Px,rn]=ho(Wr),bd=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o,onOpenChange:s,disableHoverableContent:i,delayDuration:a}=e,l=Li(Wr,e.__scopeTooltip),d=mo(t),[f,h]=u.useState(null),p=tr(),m=u.useRef(0),b=i??l.disableHoverableContent,v=a??l.delayDuration,x=u.useRef(!1),[y,g]=yt({prop:n,defaultProp:o??!1,onChange:N=>{N?(l.onOpen(),document.dispatchEvent(new CustomEvent(Vs))):l.onClose(),s?.(N)},caller:Wr}),w=u.useMemo(()=>y?x.current?"delayed-open":"instant-open":"closed",[y]),P=u.useCallback(()=>{window.clearTimeout(m.current),m.current=0,x.current=!1,g(!0)},[g]),C=u.useCallback(()=>{window.clearTimeout(m.current),m.current=0,g(!1)},[g]),S=u.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{x.current=!0,g(!0),m.current=0},v)},[v,g]);return u.useEffect(()=>()=>{m.current&&(window.clearTimeout(m.current),m.current=0)},[]),c.jsx(ji,{...d,children:c.jsx(Px,{scope:t,contentId:p,open:y,stateAttribute:w,trigger:f,onTriggerChange:h,onTriggerEnter:u.useCallback(()=>{l.isOpenDelayedRef.current?S():P()},[l.isOpenDelayedRef,S,P]),onTriggerLeave:u.useCallback(()=>{b?C():(window.clearTimeout(m.current),m.current=0)},[C,b]),onOpen:P,onClose:C,disableHoverableContent:b,children:r})})};bd.displayName=Wr;var zs="TooltipTrigger",xd=u.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=rn(zs,r),s=Li(zs,r),i=mo(r),a=u.useRef(null),l=ke(t,a,o.onTriggerChange),d=u.useRef(!1),f=u.useRef(!1),h=u.useCallback(()=>d.current=!1,[]);return u.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),c.jsx(lo,{asChild:!0,...i,children:c.jsx(be.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...n,ref:l,onPointerMove:ce(e.onPointerMove,p=>{p.pointerType!=="touch"&&!f.current&&!s.isPointerInTransitRef.current&&(o.onTriggerEnter(),f.current=!0)}),onPointerLeave:ce(e.onPointerLeave,()=>{o.onTriggerLeave(),f.current=!1}),onPointerDown:ce(e.onPointerDown,()=>{o.open&&o.onClose(),d.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:ce(e.onFocus,()=>{d.current||o.onOpen()}),onBlur:ce(e.onBlur,o.onClose),onClick:ce(e.onClick,o.onClose)})})});xd.displayName=zs;var Di="TooltipPortal",[Cx,Sx]=ho(Di,{forceMount:void 0}),yd=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:o}=e,s=rn(Di,t);return c.jsx(Cx,{scope:t,forceMount:r,children:c.jsx(Bt,{present:r||s.open,children:c.jsx(co,{asChild:!0,container:o,children:n})})})};yd.displayName=Di;var gr="TooltipContent",wd=u.forwardRef((e,t)=>{const r=Sx(gr,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...s}=e,i=rn(gr,e.__scopeTooltip);return c.jsx(Bt,{present:n||i.open,children:i.disableHoverableContent?c.jsx(Pd,{side:o,...s,ref:t}):c.jsx(Nx,{side:o,...s,ref:t})})}),Nx=u.forwardRef((e,t)=>{const r=rn(gr,e.__scopeTooltip),n=Li(gr,e.__scopeTooltip),o=u.useRef(null),s=ke(t,o),[i,a]=u.useState(null),{trigger:l,onClose:d}=r,f=o.current,{onPointerInTransitChange:h}=n,p=u.useCallback(()=>{a(null),h(!1)},[h]),m=u.useCallback((b,v)=>{const x=b.currentTarget,y={x:b.clientX,y:b.clientY},g=Rx(y,x.getBoundingClientRect()),w=jx(y,g),P=Tx(v.getBoundingClientRect()),C=_x([...w,...P]);a(C),h(!0)},[h]);return u.useEffect(()=>()=>p(),[p]),u.useEffect(()=>{if(l&&f){const b=x=>m(x,f),v=x=>m(x,l);return l.addEventListener("pointerleave",b),f.addEventListener("pointerleave",v),()=>{l.removeEventListener("pointerleave",b),f.removeEventListener("pointerleave",v)}}},[l,f,m,p]),u.useEffect(()=>{if(i){const b=v=>{const x=v.target,y={x:v.clientX,y:v.clientY},g=l?.contains(x)||f?.contains(x),w=!Ax(y,i);g?p():w&&(p(),d())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[l,f,i,d,p]),c.jsx(Pd,{...e,ref:s})}),[qx,kx]=ho(Wr,{isInside:!1}),Ex=Tv("TooltipContent"),Pd=u.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:i,...a}=e,l=rn(gr,r),d=mo(r),{onClose:f}=l;return u.useEffect(()=>(document.addEventListener(Vs,f),()=>document.removeEventListener(Vs,f)),[f]),u.useEffect(()=>{if(l.trigger){const h=p=>{p.target?.contains(l.trigger)&&f()};return window.addEventListener("scroll",h,{capture:!0}),()=>window.removeEventListener("scroll",h,{capture:!0})}},[l.trigger,f]),c.jsx(ro,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:h=>h.preventDefault(),onDismiss:f,children:c.jsxs(Ti,{"data-state":l.stateAttribute,...d,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[c.jsx(Ex,{children:n}),c.jsx(qx,{scope:r,isInside:!0,children:c.jsx(xx,{id:l.contentId,role:"tooltip",children:o||n})})]})})});wd.displayName=gr;var Cd="TooltipArrow",Sd=u.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=mo(r);return kx(Cd,r).isInside?null:c.jsx(Ai,{...o,...n,ref:t})});Sd.displayName=Cd;function Rx(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(r,n,o,s)){case s:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function jx(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return n}function Tx(e){const{top:t,right:r,bottom:n,left:o}=e;return[{x:o,y:t},{x:r,y:t},{x:r,y:n},{x:o,y:n}]}function Ax(e,t){const{x:r,y:n}=e;let o=!1;for(let s=0,i=t.length-1;s<t.length;i=s++){const a=t[s],l=t[i],d=a.x,f=a.y,h=l.x,p=l.y;f>n!=p>n&&r<(h-d)*(n-f)/(p-f)+d&&(o=!o)}return o}function _x(e){const t=e.slice();return t.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),Ix(t)}function Ix(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const o=e[n];for(;t.length>=2;){const s=t[t.length-1],i=t[t.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))t.pop();else break}t.push(o)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const o=e[n];for(;r.length>=2;){const s=r[r.length-1],i=r[r.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))r.pop();else break}r.push(o)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var Ox=gd,Mx=bd,Hs=xd,Lx=yd,Nd=wd,qd=Sd;const Dx={dark:"border-gray-900 bg-gray-950 text-white",light:"border-gray-200 bg-white text-gray-900",primary:"border-blue-600 bg-blue-600 text-white"},Bx={dark:"fill-gray-950",light:"fill-white",primary:"fill-blue-600"},Fx=({delayDuration:e=0,...t})=>c.jsx(Ox,{delayDuration:e,...t}),$x=Mx,Vx=Lx,kd=u.forwardRef((e,t)=>{const{asChild:r,asChildWrapper:n="span",children:o,className:s,class:i,sx:a,style:l,...d}=e,f=se(),{sxClassName:h,sxInlineStyle:p}=X(a,f),m=j(h,s,i),b=L(l,p);return r?c.jsx(Hs,{asChild:!0,...d,children:c.jsx(n,{ref:t,className:j("inline-flex w-fit",m),style:b,children:o})}):c.jsx(Hs,{ref:t,className:m,style:b,...d,children:o})});kd.displayName=Hs.displayName;const Bi=u.forwardRef((e,t)=>{const{tone:r="dark",className:n,class:o,sx:s,style:i,...a}=e,l=se(),{sxClassName:d,sxInlineStyle:f}=X(s,l);return c.jsx(qd,{ref:t,className:j(Bx[r],d,n,o),style:L(i,f),...a})});Bi.displayName=qd.displayName;const Ed=u.forwardRef((e,t)=>{const{tone:r="dark",arrow:n=!1,sideOffset:o=6,className:s,class:i,sx:a,style:l,children:d,...f}=e,h=se(),{sxClassName:p,sxInlineStyle:m}=X(a,h);return c.jsxs(Nd,{ref:t,sideOffset:o,className:j("z-50 max-w-xs rounded-md border px-3 py-1.5 text-sm leading-5 shadow-md outline-none","origin-[--radix-tooltip-content-transform-origin]","animate-in fade-in-0 zoom-in-95","data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",Dx[r],p,s,i),style:L(l,m),...f,children:[d,n?c.jsx(Bi,{tone:r}):null]})});Ed.displayName=Nd.displayName;let Rd=null;function xl(e){Rd=e}function zx(){return Rd}const Or={placement:"rightTop",duration:4500,closable:!0,offset:24},$e={...Or};let yl=!1;function Ws(e){return{...e,placement:e.placement??$e.placement,duration:e.duration??$e.duration,closable:e.closable??$e.closable,offset:e.offset??$e.offset}}function On(){const e=zx();return e||(yl||(yl=!0,console.warn("notification 调用失败:请先在应用根节点挂载 NotificationProvider。")),null)}function Hx(e,t){return typeof t=="string"?{...Ws({message:t}),type:e}:{...Ws(t),type:e}}function yn(e,t){const r=On();return r?r.push(Hx(e,t)):""}const Wx={open(e){const t=On();return t?t.push(Ws(e)):""},info(e){return yn("info",e)},success(e){return yn("success",e)},warn(e){return yn("warn",e)},error(e){return yn("error",e)},dismiss(e){const t=On();t&&t.dismiss(e)},clear(){const e=On();e&&e.clear()},config(e){$e.placement=e.placement??$e.placement,$e.duration=e.duration??$e.duration,$e.closable=e.closable??$e.closable,$e.offset=e.offset??$e.offset},resetConfig(){$e.placement=Or.placement,$e.duration=Or.duration,$e.closable=Or.closable,$e.offset=Or.offset}},Gx=200,ur=24,jd={info:{icon:"info",iconColor:"#2563eb",role:"status",live:"polite"},success:{icon:"check_circle",iconColor:"#16a34a",role:"status",live:"polite"},warn:{icon:"warning",iconColor:"#d97706",role:"alert",live:"assertive"},error:{icon:"error",iconColor:"#dc2626",role:"alert",live:"assertive"}},Td=u.createContext(null);let wl=0;function Kx(){return wl+=1,`ldkj-notification-${Date.now()}-${wl}`}function Ux(e,t){const r=t??ur,n=typeof r=="number"?{top:r,right:r,bottom:r,left:r}:{top:r.top??ur,right:r.right??ur,bottom:r.bottom??ur,left:r.left??ur};return e===void 0?n:typeof e=="number"?{top:e,right:e,bottom:e,left:e}:{top:e.top??n.top,right:e.right??n.right,bottom:e.bottom??n.bottom,left:e.left??n.left}}function Gs(e,t){return`${e}:${t.top}:${t.right}:${t.bottom}:${t.left}`}function Yx(e){const t=new Map;for(const r of e){const n=Gs(r.placement,r.offset),o=t.get(n);o?o.push(r):t.set(n,[r])}return t}function Go(e){return e!=null&&e!==!1}function Xx(e,t){if(e==="center")return{top:"50%",left:"50%",transform:"translate(-50%, -50%)"};const r={};return e.includes("Top")&&(r.top=t.top),e.includes("Bottom")&&(r.bottom=t.bottom),e.includes("right")&&(r.right=t.right),e.includes("left")&&(r.left=t.left),r}function Jx(e){const t=jd[e.type],r=e.iconColor??t.iconColor;return typeof e.icon=="string"?c.jsx(Le,{name:e.icon,color:r,size:22,className:"ldkj-notification-icon",title:`${e.type} icon`}):e.icon?.svg||e.icon?.src?c.jsx(Le,{svg:e.icon.svg,src:e.icon.src,color:r,size:22,className:"ldkj-notification-icon",title:`${e.type} icon`}):c.jsx(Le,{name:t.icon,color:r,size:22,className:"ldkj-notification-icon",title:`${e.type} icon`})}function Ad(e){const{children:t,placement:r="rightTop",duration:n=4500,queueLimit:o=5,offset:s=ur,closable:i=!0}=e,[a,l]=u.useState([]),d=u.useRef(new Map),f=u.useRef(new Map),h=u.useRef(new Set),p=u.useCallback(C=>{const S=d.current.get(C);S!==void 0&&(window.clearTimeout(S),d.current.delete(C));const N=f.current.get(C);N!==void 0&&(window.clearTimeout(N),f.current.delete(C))},[]),m=u.useCallback(C=>{h.current.has(C.id)||(h.current.add(C.id),C.onClose?.())},[]),b=u.useCallback(C=>{l(S=>{const N=S.find(q=>q.id===C);return N?(p(C),m(N),S.filter(q=>q.id!==C)):S})},[p,m]),v=u.useCallback(C=>{p(C),l(N=>N.map(q=>q.id===C&&!q.leaving?{...q,leaving:!0}:q));const S=window.setTimeout(()=>{b(C)},Gx);f.current.set(C,S)},[p,b]),x=u.useCallback(()=>{l(C=>(C.forEach(S=>{p(S.id),m(S)}),[]))},[p,m]),y=u.useCallback(C=>{const S=C.id??Kx();h.current.delete(S),p(S);const N=C.placement??r,q=Ux(C.offset,s),k={id:S,type:C.type??"info",message:C.message,description:C.description,content:C.content,actions:C.actions,placement:N,offset:q,closable:C.closable??i,icon:C.icon,iconColor:C.iconColor,onClose:C.onClose,leaving:!1},T=Gs(N,q);l(R=>{const _=[...R.filter(M=>M.id!==S),k],O=_.filter(M=>Gs(M.placement,M.offset)===T);if(O.length<=o)return _;const I=O.length-o,$=new Set(O.slice(0,I).map(M=>M.id));return O.slice(0,I).forEach(M=>{p(M.id),m(M)}),_.filter(M=>!$.has(M.id))});const E=C.duration??n;if(E>0){const R=window.setTimeout(()=>{v(S)},E);d.current.set(S,R)}return S},[p,i,v,n,m,s,r,o]);u.useEffect(()=>()=>{d.current.forEach(C=>window.clearTimeout(C)),f.current.forEach(C=>window.clearTimeout(C)),d.current.clear(),f.current.clear()},[]);const g=u.useMemo(()=>({push:y,dismiss:v,clear:x}),[x,v,y]);u.useEffect(()=>(xl(g),()=>xl(null)),[g]);const w=u.useMemo(()=>Yx(a),[a]),P=Array.from(w.entries());return c.jsxs(Td.Provider,{value:g,children:[t,P.map(([C,S])=>{const N=S[0];return N?c.jsx("div",{className:j("ldkj-notification-viewport",`ldkj-notification-viewport-${N.placement}`),style:Xx(N.placement,N.offset),"aria-hidden":S.length===0,children:S.map(q=>{const k=jd[q.type];return c.jsxs("div",{className:j("ldkj-notification-card",`ldkj-notification-card-${q.type}`,q.leaving?"ldkj-notification-leave":"ldkj-notification-appear"),role:k.role,"aria-live":k.live,"aria-atomic":"true",children:[c.jsx("div",{className:"ldkj-notification-icon-wrap",children:Jx(q)}),c.jsxs("div",{className:"ldkj-notification-main",children:[c.jsx("div",{className:"ldkj-notification-title",children:q.message}),Go(q.description)?c.jsx("div",{className:"ldkj-notification-description",children:q.description}):null,Go(q.content)?c.jsx("div",{className:"ldkj-notification-content",children:q.content}):null,Go(q.actions)?c.jsx("div",{className:"ldkj-notification-actions",children:q.actions}):null]}),q.closable?c.jsx("button",{type:"button",className:"ldkj-notification-close","aria-label":"关闭通知",onClick:()=>v(q.id),children:c.jsx(Le,{name:"close",size:16,className:"ldkj-notification-close-icon"})}):null]},q.id)})},C):null})]})}Ad.displayName="NotificationProvider";function Qx(){const e=u.useContext(Td);if(!e)throw new Error("useNotification 必须在 NotificationProvider 内使用。");const t=u.useCallback(i=>e.push(i),[e]),r=u.useCallback(i=>e.push(wn("info",i)),[e]),n=u.useCallback(i=>e.push(wn("success",i)),[e]),o=u.useCallback(i=>e.push(wn("warn",i)),[e]),s=u.useCallback(i=>e.push(wn("error",i)),[e]);return u.useMemo(()=>({open:t,info:r,success:n,warn:o,error:s,dismiss:e.dismiss,clear:e.clear}),[e.clear,e.dismiss,s,r,t,n,o])}function wn(e,t){return typeof t=="string"?{type:e,message:t}:{...t,type:e}}const Zx={primary:"border-slate-200 border-t-blue-600",muted:"border-slate-200 border-t-slate-500",success:"border-emerald-100 border-t-emerald-600",warning:"border-amber-100 border-t-amber-600",danger:"border-rose-100 border-t-rose-600"};function _d(e){const{size:t=18,strokeWidth:r=2,tone:n="primary",label:o="loading",spinning:s=!0,className:i,class:a,style:l,...d}=e;return s?c.jsx("span",{role:"status","aria-label":o,className:j("inline-block shrink-0 animate-spin rounded-full border-solid",Zx[n],i,a),style:{width:t,height:t,borderWidth:r,...l},...d,children:c.jsx("span",{className:"sr-only",children:o})}):null}function ey(e,t){const[r,n]=u.useState(e&&t<=0);return u.useEffect(()=>{if(!e){n(!1);return}if(t<=0){n(!0);return}const o=window.setTimeout(()=>n(!0),t);return()=>window.clearTimeout(o)},[t,e]),r}function ty(e){const{text:t="加载中...",variant:r="inline",size:n=18,tone:o="primary",spinning:s=!0,delay:i=0,children:a,className:l,class:d,...f}=e,p=ey(s,i)?c.jsxs("div",{role:"status","aria-live":"polite",className:j("inline-flex items-center justify-center gap-2 text-sm text-slate-600",r==="block"&&"min-h-24 w-full",r==="overlay"&&"absolute inset-0 z-10 bg-white/75 backdrop-blur-[1px]",r==="fullscreen"&&"fixed inset-0 z-50 bg-white/80 backdrop-blur-[1px]",l,d),...f,children:[c.jsx(_d,{size:n,tone:o}),t?c.jsx("span",{children:t}):null]}):null;return a?c.jsxs("div",{className:"relative","aria-busy":s||void 0,children:[a,r==="overlay"||r==="fullscreen"?p:null]}):p?c.jsx("div",{className:j(r==="block"&&"flex w-full justify-center"),children:p}):null}let Rr=0,Pl="";function ry(){return typeof document>"u"?()=>{}:(Rr===0&&(Pl=document.body.style.overflow,document.body.style.overflow="hidden"),Rr+=1,()=>{Rr=Math.max(0,Rr-1),Rr===0&&(document.body.style.overflow=Pl)})}function ny(e){switch(e){case"left":return{position:"left-0 top-0 h-full",open:"translate-x-0",closed:"-translate-x-full"};case"top":return{position:"left-0 top-0 w-full",open:"translate-y-0",closed:"-translate-y-full"};case"bottom":return{position:"bottom-0 left-0 w-full",open:"translate-y-0",closed:"translate-y-full"};default:return{position:"right-0 top-0 h-full",open:"translate-x-0",closed:"translate-x-full"}}}function oy(e){const{open:t,title:r,width:n=360,height:o=320,placement:s="right",className:i,class:a,overlayClassName:l,bodyClassName:d,footer:f,children:h,onOpenChange:p,animated:m=!0,animationDuration:b=220,lockScroll:v=!0,maskClosable:x=!0,closeOnEsc:y=!0,destroyOnClose:g=!0,role:w="dialog",...P}=e,[C,S]=u.useState(t),[N,q]=u.useState(t),k=u.useRef(null),T=ny(s),E=s==="left"||s==="right";return u.useEffect(()=>{if(t){S(!0);const A=window.requestAnimationFrame(()=>q(!0));return()=>window.cancelAnimationFrame(A)}if(q(!1),!m){g&&S(!1);return}const R=window.setTimeout(()=>{g&&S(!1)},b);return()=>window.clearTimeout(R)},[m,b,g,t]),u.useEffect(()=>{if(!(!t||!v))return ry()},[v,t]),u.useEffect(()=>{if(!t||!y)return;const R=A=>{A.key==="Escape"&&p?.(!1)};return window.addEventListener("keydown",R),()=>window.removeEventListener("keydown",R)},[y,p,t]),u.useEffect(()=>{t&&k.current?.focus()},[t]),C?c.jsxs("div",{className:"fixed inset-0 z-50","aria-hidden":!N,children:[c.jsx("div",{className:j("absolute inset-0 bg-black/45",m&&"transition-opacity ease-out",N?"opacity-100":"opacity-0",l),style:{transitionDuration:m?`${b}ms`:"0ms"},onClick:()=>{x&&p?.(!1)}}),c.jsxs("div",{ref:k,tabIndex:-1,role:w,"aria-modal":"true","aria-label":typeof r=="string"?r:void 0,className:j("absolute flex max-h-full max-w-full flex-col bg-white shadow-xl outline-none",T.position,m&&"transition-transform ease-out will-change-transform",N?T.open:T.closed,i,a),style:{width:E?n:void 0,height:E?void 0:o,transitionDuration:m?`${b}ms`:"0ms"},...P,children:[r?c.jsxs("div",{className:"flex shrink-0 items-center justify-between border-b border-slate-200 px-4 py-3",children:[c.jsx("div",{className:"min-w-0 text-base font-medium text-slate-900",children:r}),c.jsx("button",{type:"button","aria-label":"Close drawer",className:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded text-slate-500 transition hover:bg-slate-100 hover:text-slate-900 focus:outline-none focus:ring-2 focus:ring-blue-500/30",onClick:()=>p?.(!1),children:"x"})]}):null,c.jsx("div",{className:j("min-h-0 flex-1 overflow-auto p-4",d),children:h}),f?c.jsx("div",{className:"shrink-0 border-t border-slate-200 px-4 py-3",children:f}):null]})]}):null}const sy={info:"border-blue-200 bg-blue-50 text-blue-800",success:"border-emerald-200 bg-emerald-50 text-emerald-800",warning:"border-amber-200 bg-amber-50 text-amber-800",error:"border-rose-200 bg-rose-50 text-rose-800"},iy={info:"bg-blue-600 text-white",success:"bg-emerald-600 text-white",warning:"bg-amber-500 text-white",error:"bg-rose-600 text-white"},ay={info:"i",success:"ok",warning:"!",error:"!"};function ly(e){const{className:t,class:r,variant:n="info",title:o,description:s,children:i,icon:a,showIcon:l=!!a,action:d,closable:f=!1,open:h,onClose:p,onOpenChange:m,role:b=n==="error"||n==="warning"?"alert":"status",...v}=e,[x,y]=u.useState(!0);if(!(h??x))return null;const w=()=>{y(!1),m?.(!1),p?.()};return c.jsx("div",{role:b,className:j("rounded-md border p-3",sy[n],t,r),...v,children:c.jsxs("div",{className:"flex items-start gap-3",children:[l?c.jsx("span",{"aria-hidden":!0,className:j("mt-0.5 inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1 text-[10px] font-semibold leading-none",iy[n]),children:a??ay[n]}):null,c.jsxs("div",{className:"min-w-0 flex-1",children:[o?c.jsx("div",{className:"font-medium",children:o}):null,s?c.jsx("div",{className:"mt-1 text-sm opacity-90",children:s}):i,d?c.jsx("div",{className:"mt-2",children:d}):null]}),f?c.jsx("button",{type:"button","aria-label":"Close alert",className:"inline-flex h-6 w-6 shrink-0 items-center justify-center rounded text-current opacity-70 transition hover:bg-current/10 hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-current/30",onClick:w,children:"x"}):null]})})}const cy={normal:"#2563eb",success:"#059669",warning:"#d97706",exception:"#e11d48"};function uy(e,t){return!Number.isFinite(e)||!Number.isFinite(t)||t<=0?0:Math.max(0,Math.min(100,e/t*100))}function dy(e){const{value:t=0,max:r=100,showInfo:n=!1,type:o="line",status:s,size:i=96,strokeWidth:a=8,strokeColor:l,trailColor:d="#e2e8f0",format:f,className:h,class:p,...m}=e,b=uy(t,r),v=s??(b>=100?"success":"normal"),x=l??cy[v],y=f?f(Math.round(b),t,r):`${Math.round(b)}%`;if(o==="circle"){const g=Math.max(1,Math.min(48,a)),w=50-g/2,P=2*Math.PI*w,C=P*(1-b/100);return c.jsxs("div",{role:"progressbar","aria-valuemin":0,"aria-valuemax":r,"aria-valuenow":Math.max(0,Math.min(r,t)),className:j("relative inline-flex items-center justify-center",h,p),style:{width:i,height:i},...m,children:[c.jsxs("svg",{viewBox:"0 0 100 100",className:"h-full w-full -rotate-90",children:[c.jsx("circle",{cx:"50",cy:"50",r:w,fill:"none",stroke:d,strokeWidth:g}),c.jsx("circle",{cx:"50",cy:"50",r:w,fill:"none",stroke:x,strokeLinecap:"round",strokeWidth:g,strokeDasharray:P,strokeDashoffset:C,className:"transition-[stroke-dashoffset,stroke] duration-300 ease-out"})]}),n?c.jsx("div",{className:"absolute inset-0 flex items-center justify-center text-sm font-medium text-slate-700",children:y}):null]})}return c.jsxs("div",{role:"progressbar","aria-valuemin":0,"aria-valuemax":r,"aria-valuenow":Math.max(0,Math.min(r,t)),className:j("w-full",h,p),...m,children:[c.jsx("div",{className:"w-full overflow-hidden rounded-full",style:{height:a,backgroundColor:d},children:c.jsx("div",{className:"h-full transition-[width,background-color] duration-300 ease-out",style:{width:`${b}%`,backgroundColor:x}})}),n?c.jsx("div",{className:"mt-1 text-xs text-slate-500",children:y}):null]})}function po(e){const t=u.useRef({value:e,previous:e});return u.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var vo="Checkbox",[fy]=rt(vo),[hy,Fi]=fy(vo);function my(e){const{__scopeCheckbox:t,checked:r,children:n,defaultChecked:o,disabled:s,form:i,name:a,onCheckedChange:l,required:d,value:f="on",internal_do_not_use_render:h}=e,[p,m]=yt({prop:r,defaultProp:o??!1,onChange:l,caller:vo}),[b,v]=u.useState(null),[x,y]=u.useState(null),g=u.useRef(!1),w=b?!!i||!!b.closest("form"):!0,P={checked:p,disabled:s,setChecked:m,control:b,setControl:v,name:a,form:i,value:f,hasConsumerStoppedPropagationRef:g,required:d,defaultChecked:_t(o)?!1:o,isFormControl:w,bubbleInput:x,setBubbleInput:y};return c.jsx(hy,{scope:t,...P,children:py(h)?h(P):n})}var Id="CheckboxTrigger",Od=u.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:r,...n},o)=>{const{control:s,value:i,disabled:a,checked:l,required:d,setControl:f,setChecked:h,hasConsumerStoppedPropagationRef:p,isFormControl:m,bubbleInput:b}=Fi(Id,e),v=ke(o,f),x=u.useRef(l);return u.useEffect(()=>{const y=s?.form;if(y){const g=()=>h(x.current);return y.addEventListener("reset",g),()=>y.removeEventListener("reset",g)}},[s,h]),c.jsx(be.button,{type:"button",role:"checkbox","aria-checked":_t(l)?"mixed":l,"aria-required":d,"data-state":$d(l),"data-disabled":a?"":void 0,disabled:a,value:i,...n,ref:v,onKeyDown:ce(t,y=>{y.key==="Enter"&&y.preventDefault()}),onClick:ce(r,y=>{h(g=>_t(g)?!0:!g),b&&m&&(p.current=y.isPropagationStopped(),p.current||y.stopPropagation())})})});Od.displayName=Id;var Md=u.forwardRef((e,t)=>{const{__scopeCheckbox:r,name:n,checked:o,defaultChecked:s,required:i,disabled:a,value:l,onCheckedChange:d,form:f,...h}=e;return c.jsx(my,{__scopeCheckbox:r,checked:o,defaultChecked:s,disabled:a,required:i,onCheckedChange:d,name:n,form:f,value:l,internal_do_not_use_render:({isFormControl:p})=>c.jsxs(c.Fragment,{children:[c.jsx(Od,{...h,ref:t,__scopeCheckbox:r}),p&&c.jsx(Fd,{__scopeCheckbox:r})]})})});Md.displayName=vo;var Ld="CheckboxIndicator",Dd=u.forwardRef((e,t)=>{const{__scopeCheckbox:r,forceMount:n,...o}=e,s=Fi(Ld,r);return c.jsx(Bt,{present:n||_t(s.checked)||s.checked===!0,children:c.jsx(be.span,{"data-state":$d(s.checked),"data-disabled":s.disabled?"":void 0,...o,ref:t,style:{pointerEvents:"none",...e.style}})})});Dd.displayName=Ld;var Bd="CheckboxBubbleInput",Fd=u.forwardRef(({__scopeCheckbox:e,...t},r)=>{const{control:n,hasConsumerStoppedPropagationRef:o,checked:s,defaultChecked:i,required:a,disabled:l,name:d,value:f,form:h,bubbleInput:p,setBubbleInput:m}=Fi(Bd,e),b=ke(r,m),v=po(s),x=ao(n);u.useEffect(()=>{const g=p;if(!g)return;const w=window.HTMLInputElement.prototype,C=Object.getOwnPropertyDescriptor(w,"checked").set,S=!o.current;if(v!==s&&C){const N=new Event("click",{bubbles:S});g.indeterminate=_t(s),C.call(g,_t(s)?!1:s),g.dispatchEvent(N)}},[p,v,s,o]);const y=u.useRef(_t(s)?!1:s);return c.jsx(be.input,{type:"checkbox","aria-hidden":!0,defaultChecked:i??y.current,required:a,disabled:l,name:d,value:f,form:h,...t,tabIndex:-1,ref:b,style:{...t.style,...x,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});Fd.displayName=Bd;function py(e){return typeof e=="function"}function _t(e){return e==="indeterminate"}function $d(e){return _t(e)?"indeterminate":e?"checked":"unchecked"}const Vd=u.createContext(null);function vy(e){return u.createElement(Vd.Provider,{value:e.value},e.children)}function gy(){return u.useContext(Vd)}const by=()=>c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",className:"checkbox-check h-3 w-3",fill:"none",children:c.jsx("path",{d:"M3.5 8.5L6.5 11.5L12.5 4.5",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round"})}),xy=()=>c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",className:"checkbox-minus h-3 w-3",fill:"none",children:c.jsx("path",{d:"M4 8H12",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round"})}),nn=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,children:i,checked:a,disabled:l,name:d,onCheckedChange:f,value:h,...p}=e,m=se(),{sxClassName:b,sxInlineStyle:v}=X(o,m),x=gy(),y=typeof h=="string"?h:void 0,g=!!(x&&y!==void 0),w=a??(g?x?.selectedValues.has(y):void 0),P=l||(g?x?.disabled:!1),C=d??(g?x?.name:void 0);return c.jsx(Md,{ref:t,checked:w,disabled:P,name:C,onCheckedChange:S=>{f?.(S),g&&a===void 0&&x?.toggleValue(y,S===!0)},value:h,className:j("peer inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-[4px] border border-solid border-slate-300 bg-white text-white transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50","data-[state=checked]:border-blue-600 data-[state=checked]:bg-blue-600","data-[state=indeterminate]:border-blue-600 data-[state=indeterminate]:bg-blue-600",b,r,n),style:L(s,v),...p,children:i??c.jsxs(Dd,{className:j("inline-flex h-4 w-4 items-center justify-center text-current","[&[data-state=checked]_.checkbox-minus]:hidden","[&[data-state=indeterminate]_.checkbox-check]:hidden"),children:[c.jsx(by,{}),c.jsx(xy,{})]})})});nn.displayName="Checkbox";var yy=Symbol.for("react.lazy"),Gn=u[" use ".trim().toString()];function wy(e){return typeof e=="object"&&e!==null&&"then"in e}function zd(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===yy&&"_payload"in e&&wy(e._payload)}function Py(e){const t=Cy(e),r=u.forwardRef((n,o)=>{let{children:s,...i}=n;zd(s)&&typeof Gn=="function"&&(s=Gn(s._payload));const a=u.Children.toArray(s),l=a.find(Ny);if(l){const d=l.props.children,f=a.map(h=>h===l?u.Children.count(d)>1?u.Children.only(null):u.isValidElement(d)?d.props.children:null:h);return c.jsx(t,{...i,ref:o,children:u.isValidElement(d)?u.cloneElement(d,void 0,f):null})}return c.jsx(t,{...i,ref:o,children:s})});return r.displayName=`${e}.Slot`,r}function Cy(e){const t=u.forwardRef((r,n)=>{let{children:o,...s}=r;if(zd(o)&&typeof Gn=="function"&&(o=Gn(o._payload)),u.isValidElement(o)){const i=ky(o),a=qy(s,o.props);return o.type!==u.Fragment&&(a.ref=n?yi(n,i):i),u.cloneElement(o,a)}return u.Children.count(o)>1?u.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Sy=Symbol("radix.slottable");function Ny(e){return u.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Sy}function qy(e,t){const r={...t};for(const n in t){const o=e[n],s=t[n];/^on[A-Z]/.test(n)?o&&s?r[n]=(...a)=>{const l=s(...a);return o(...a),l}:o&&(r[n]=o):n==="style"?r[n]={...o,...s}:n==="className"&&(r[n]=[o,s].filter(Boolean).join(" "))}return{...e,...r}}function ky(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Ey=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],go=Ey.reduce((e,t)=>{const r=Py(`Primitive.${t}`),n=u.forwardRef((o,s)=>{const{asChild:i,...a}=o,l=i?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(l,{...a,ref:s})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),Ry="Label",Hd=u.forwardRef((e,t)=>c.jsx(go.label,{...e,ref:t,onMouseDown:r=>{r.target.closest("button, input, select, textarea")||(e.onMouseDown?.(r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));Hd.displayName=Ry;var Ks=Hd;function jy(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function Ty(e){return e==="center"?"center":e==="right"?"flex-end":"flex-start"}const bo=u.forwardRef((e,t)=>{const{children:r,className:n,class:o,colon:s,containerClass:i,containerClassName:a,containerStyle:l,containerSx:d,label:f,labelAlign:h="left",labelWidth:p,position:m="left",required:b=!1,sx:v,style:x,...y}=e,g=se(),{sxClassName:w,sxInlineStyle:P}=X(v,g),{sxClassName:C,sxInlineStyle:S}=X(d,g),N=L({width:jy(p),justifyContent:Ty(h)},x,P),q=j("inline-flex gap-1 text-sm font-medium leading-5 text-slate-700","peer-disabled:cursor-not-allowed peer-disabled:opacity-70",w,n,o);return f===void 0?c.jsx(Ks,{ref:t,className:q,style:N,...y,children:r}):c.jsxs("div",{className:j("flex w-fit",m==="top"?"flex-col items-start gap-1.5":"flex-row items-center gap-2",C,a,i),style:L(l,S),children:[c.jsxs(Ks,{ref:t,className:q,style:N,...y,children:[b?c.jsx("span",{className:"text-red-500 font-serif",children:"*"}):null,c.jsx("span",{children:f}),s===!0?":":s??null]}),r]})});bo.displayName="Label";const Cl={xs:"gap-1",sm:"gap-2",md:"gap-3",lg:"gap-4"};function Ay(e){return e===void 0?{className:Cl.md}:e==="xs"||e==="sm"||e==="md"||e==="lg"?{className:Cl[e]}:{style:{gap:typeof e=="number"?`${e}px`:e}}}function _y(e,t){if(e.type==="single"){const r=e.value??t[0];return r===void 0?[]:[r]}return e.value??t}function Iy(e){return e.type==="single"?e.defaultValue===void 0?[]:[e.defaultValue]:e.defaultValue??[]}function Wd(e){const{className:t,class:r,children:n,direction:o="vertical",disabled:s=!1,gap:i="md",name:a,options:l,sx:d,style:f,type:h,value:p,defaultValue:m,onChange:b,...v}=e,x=se(),{sxClassName:y,sxInlineStyle:g}=X(d,x),w=Ay(i),[P,C]=u.useState(()=>Iy(e)),S=_y(e,P),N=new Set(S);function q(E){if(e.value===void 0&&C(E),e.type==="single"){e.onChange?.(E[0]);return}e.onChange?.(E)}function k(E,R){if(e.type==="single"){q(R?[E]:[]);return}const A=new Set(S);R?A.add(E):A.delete(E),q(Array.from(A))}const T=u.useMemo(()=>({disabled:s,name:a,selectedValues:N,toggleValue:k}),[s,a,N]);return c.jsx("div",{role:"group",className:j("flex",o==="horizontal"?"flex-row flex-wrap":"flex-col",w.className,y,t,r),style:L(f,w.style,g),...v,children:c.jsxs(vy,{value:T,children:[l?.map(E=>{const R=s||E.disabled,A=N.has(E.value);return c.jsxs(bo,{className:j("inline-flex items-start gap-2 text-sm leading-5 text-slate-700",R&&"cursor-not-allowed text-slate-400",!R&&"cursor-pointer",E.className),children:[c.jsx(nn,{...E.checkboxProps,name:a,value:E.value,checked:A,disabled:R,onCheckedChange:_=>k(E.value,_===!0)}),c.jsxs("span",{className:"grid gap-0.5",children:[c.jsx("span",{children:E.label}),E.description?c.jsx("span",{className:"text-xs text-slate-500",children:E.description}):null]})]},E.value)}),n]})})}Wd.displayName="CheckboxGroup";const xo=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,type:i="text",...a}=e,l=se(),{sxClassName:d,sxInlineStyle:f}=X(o,l);return c.jsx("input",{ref:t,type:i,className:j("flex h-9 w-full rounded-md border border-solid border-slate-300 bg-white px-3 py-2 text-sm text-slate-900 shadow-sm transition-colors","file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-slate-700","placeholder:text-slate-400","focus-visible:border-blue-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30","disabled:cursor-not-allowed disabled:bg-slate-50 disabled:text-slate-500 disabled:opacity-70",d,r,n),style:L(s,f),...a})});xo.displayName="Input";function Oy(e={}){const{defaultValue:t="",formatOnBlur:r,onValueChange:n,value:o}=e,s=o!==void 0,[i,a]=u.useState(t),l=s?o:i,d=u.useCallback((m,b)=>{s||a(m),n?.(m,{...b,valueAsString:m})},[s,n]),f=u.useCallback(m=>{d(m,{reason:"set",valueAsString:m})},[d]),h=u.useCallback(m=>{d(m.currentTarget.value,{event:m,reason:"input",valueAsString:m.currentTarget.value})},[d]);return{inputProps:{onBlur:u.useCallback(m=>{if(!r)return;const b=r(m.currentTarget.value);m.currentTarget.value=b,d(b,{event:m,reason:"commit",valueAsString:b})},[d,r]),onChange:h,value:l},setValue:f,value:l}}function Kn(e){if(e.trim()==="")return null;const t=Number(e);return Number.isFinite(t)?t:null}function Sl(e){if(!Number.isFinite(e))return 0;const[,t=""]=String(e).split(".");return t.length}function My(e,t,r){if(!Number.isFinite(r)||!r||r<=0)return e;const n=Number.isFinite(t)?t??0:0,o=Math.max(Sl(n),Sl(r)),s=n+Math.round((e-n)/r)*r;return Number(s.toFixed(Math.min(o+2,12)))}function Ly(e,t){return Number.isFinite(t)?e.toFixed(Math.max(0,Math.floor(t??0))):String(e)}function Dy(e,t){const r=Kn(e);if(r===null)return{value:null,valueAsString:""};if(!t.clampOnBlur)return{value:r,valueAsString:e};let n=r;Number.isFinite(t.min)&&(n=Math.max(t.min??n,n)),Number.isFinite(t.max)&&(n=Math.min(t.max??n,n)),n=My(n,t.min,t.step),Number.isFinite(t.min)&&(n=Math.max(t.min??n,n)),Number.isFinite(t.max)&&(n=Math.min(t.max??n,n));const o=Ly(n,t.precision);return{value:n,valueAsString:o}}function Ko(e){return e==null?"":String(e)}function By(e={}){const{defaultValue:t="",onValueChange:r,...n}=e,[o,s]=u.useState(()=>Ko(t)),[i,a]=u.useState(()=>Kn(Ko(t))),l=u.useCallback(h=>{const p=Ko(h);s(p),a(Kn(p))},[]),d=u.useCallback(h=>{s(h.currentTarget.value)},[]),f=u.useCallback((h,p)=>{a(h),p.reason==="commit"&&s(p.valueAsString),r?.(h,p)},[r]);return{inputProps:{...n,onChange:d,onValueChange:f,value:o},numberValue:i,setValue:l,value:o}}const Gd=u.forwardRef((e,t)=>{const{clampOnBlur:r=!1,max:n,min:o,onBlur:s,onChange:i,onValueChange:a,precision:l,step:d,...f}=e,h=m=>{i?.(m),a?.(Kn(m.currentTarget.value),{event:m,reason:"input",valueAsString:m.currentTarget.value})},p=m=>{if(r&&!e.disabled&&!e.readOnly){const b=Dy(m.currentTarget.value,{clampOnBlur:r,max:n,min:o,precision:l,step:d});m.currentTarget.value=b.valueAsString,a?.(b.value,{event:m,reason:"commit",valueAsString:b.valueAsString})}s?.(m)};return c.jsx(xo,{...f,ref:t,type:"number",inputMode:"decimal",min:o,max:n,step:d,onBlur:p,onChange:h})});Gd.displayName="InputNumber";const Fy={numeric:/^[0-9]$/,alphabetic:/^[A-Za-z]$/,alphanumeric:/^[A-Za-z0-9]$/},$y={numeric:"[0-9]*",alphabetic:"[A-Za-z]*",alphanumeric:"[A-Za-z0-9]*"},Vy={sm:"h-8 w-8 text-sm",md:"h-10 w-10 text-base",lg:"h-12 w-12 text-lg"},zy={outline:"rounded-md border border-slate-300 bg-white text-slate-900",filled:"rounded-md border border-slate-100 bg-slate-100 text-slate-900",underline:"border-0 border-b border-slate-300 bg-transparent text-slate-900"};function Hy(e){return Number.isFinite(e)?Math.max(1,Math.floor(e??6)):6}function Wy(e,t){const r=t?typeof t=="string"?new RegExp(t):t:Fy[e];return n=>(r.lastIndex=0,r.test(n))}function Gy(e,t,r){return Array.from(e).filter(r).slice(0,t).join("")}function Ky(e,t){return typeof t=="string"?t:t instanceof RegExp?t.source:$y[e]}const Kd=u.forwardRef((e,t)=>{const{value:r,defaultValue:n="",length:o=6,disabled:s,readOnly:i,className:a,class:l,inputClassName:d,slotClassName:f,onChange:h,onComplete:p,type:m="numeric",pattern:b,pasteTransformer:v,mask:x=!1,placeholder:y="",autoFocus:g=!0,oneTimeCode:w=!0,size:P="md",variant:C="outline",invalid:S=!1,separator:N,style:q,sx:k,inputMode:T,autoComplete:E,onBlur:R,onFocus:A,onKeyDown:_,onPaste:O,"aria-label":I,...$}=e,M=se(),{sxClassName:U,sxInlineStyle:D}=X(k,M),G=Hy(o),me=u.useMemo(()=>Wy(m,b),[b,m]),te=u.useCallback(re=>Gy(re,G,me),[G,me]),J=r!==void 0,[H,Y]=u.useState(()=>te(n)),B=te(J?r??"":H),Q=u.useRef(null),z=u.useRef(B),K=u.useRef(null),[W,Z]=u.useState(!1),ae=Array.from(B),ue=Math.min(ae.length,G-1),pe=Array.from(y)[0]??"",ve=typeof x=="string"?x:"•";u.useImperativeHandle(t,()=>Q.current),u.useEffect(()=>{z.current=B},[B]),u.useEffect(()=>{J||Y(re=>te(re))},[J,te]);const ie=u.useCallback(()=>{const re=Q.current;if(!re)return;const he=re.value.length;try{re.setSelectionRange(he,he)}catch{}},[]),ye=u.useCallback(re=>{const he=te(re),Re=z.current;z.current=he,J||Y(he),he!==Re&&h?.(he),he.length===G?K.current!==he&&(K.current=he,p?.(he)):K.current=null,window.requestAnimationFrame(ie)},[J,ie,te,h,p,G]),Se=u.useCallback(()=>{s||(Q.current?.focus(),window.requestAnimationFrame(ie))},[s,ie]);u.useEffect(()=>{if(!g||s)return;const re=Q.current,he=re?.ownerDocument;!re||!he||he.activeElement!==he.body||(re.focus(),ie())},[g,s,ie]);const Ie=re=>{ye(re.target.value)},oe=re=>{Z(!0),A?.(re),window.requestAnimationFrame(ie)},we=re=>{Z(!1),R?.(re)},Ee=re=>{if(_?.(re),!re.defaultPrevented){if(re.key==="Backspace"||re.key==="Delete"){re.preventDefault(),!i&&z.current.length>0&&ye(z.current.slice(0,-1));return}(re.key==="ArrowLeft"||re.key==="ArrowRight"||re.key==="Home"||re.key==="End")&&(re.preventDefault(),ie())}},de=re=>{if(O?.(re),re.defaultPrevented||i)return;re.preventDefault();const he=re.clipboardData.getData("text"),Re=v?v(he):he;ye(`${z.current}${Re}`)},Ae=re=>{s||(re.preventDefault(),Se())},fe=re=>re>=G-1?null:typeof N=="function"?N(re):N;return c.jsx("div",{className:j("inline-flex flex-col gap-2",U,a,l),style:L(q,D),"data-disabled":s?"":void 0,"data-readonly":i?"":void 0,"data-complete":B.length===G?"":void 0,children:c.jsxs("div",{className:"relative inline-flex items-center gap-2",onMouseDown:Ae,children:[c.jsx("input",{...$,ref:Q,type:"text",value:B,disabled:s,readOnly:i,maxLength:G,inputMode:T??(m==="numeric"?"numeric":"text"),autoComplete:w?"one-time-code":E,pattern:Ky(m,b),"aria-label":I??"一次性验证码","aria-invalid":S||$["aria-invalid"]?!0:void 0,className:j("absolute inset-0 z-10 h-full w-full cursor-text border-0 bg-transparent p-0 text-transparent opacity-0 outline-none","disabled:cursor-not-allowed",d),onChange:Ie,onFocus:oe,onBlur:we,onKeyDown:Ee,onPaste:de}),Array.from({length:G}).map((re,he)=>{const Re=ae[he]??"",_e=Re.length>0,Ye=W&&!s&&he===ue,Ve=_e?x?ve:Re:pe,nt=fe(he);return c.jsxs(u.Fragment,{children:[c.jsx("span",{"aria-hidden":"true",className:j("inline-flex shrink-0 select-none items-center justify-center font-semibold transition-colors",Vy[P],zy[C],!_e&&"font-normal text-slate-400",Ye&&"border-blue-500 ring-2 ring-blue-500/30",S&&"border-red-500 text-red-600",Ye&&S&&"ring-red-500/25",s&&"cursor-not-allowed bg-slate-50 text-slate-400 opacity-70",i&&!s&&"bg-slate-50",f),"data-active":Ye?"":void 0,"data-filled":_e?"":void 0,children:Ve}),nt?c.jsx("span",{"aria-hidden":"true",className:"select-none text-sm text-slate-400",children:nt}):null]},he)})]})})});Kd.displayName="InputOPT";function Nl(e){return e==null?"":String(e)}function Uy(e){return typeof e=="string"||typeof e=="number"?String(e):""}function Yy(e,t){const r=t.trim().toLowerCase();return r?[e.value,e.textValue,Uy(e.label),...e.keywords??[]].filter(Boolean).join(" ").toLowerCase().includes(r):!0}function ql(e,t,r){if(!e.length)return-1;let n=t;for(let o=0;o<e.length;o+=1)if(n=(n+r+e.length)%e.length,!e[n]?.disabled)return n;return-1}function Xy(e,t){const r=window.HTMLInputElement.prototype;Object.getOwnPropertyDescriptor(r,"value")?.set?.call(e,t),e.dispatchEvent(new Event("input",{bubbles:!0}))}function Jy(e,t){if(e){if(typeof e=="function"){e(t);return}e.current=t}}function Qy(...e){return u.useCallback(t=>{for(const r of e)Jy(r,t)},e)}const Ud=u.forwardRef((e,t)=>{const{autoComplete:r="off",class:n,className:o,defaultValue:s,disabled:i,dropdownClassName:a,dropdownStyle:l,dropdownSx:d,emptyText:f="暂无匹配结果",filterOption:h=Yy,onBlur:p,onChange:m,onFocus:b,onKeyDown:v,onOptionSelect:x,onValueChange:y,openOnFocus:g=!0,optionClassName:w,optionStyle:P,optionSx:C,options:S=[],readOnly:N,renderOption:q,rootClassName:k,rootStyle:T,rootSx:E,value:R,...A}=e,_=se(),O=u.useRef(null),I=u.useRef(null),$=u.useRef(null),M=u.useId(),[U,D]=u.useState(()=>Nl(s)),[G,me]=u.useState(!1),[te,J]=u.useState(-1),H=R!==void 0,Y=H?Nl(R):U,B=!i&&!N,Q=X(E,_),z=X(d,_),K=X(C,_),W=Qy(O,t),Z=u.useMemo(()=>h===!1?S:S.filter(oe=>h(oe,Y)),[h,Y,S]),ae=G&&B&&(Z.length>0||f!==null),ue=te>=0?Z[te]:void 0,pe=ae&&ue?`${M}-option-${te}`:void 0;u.useEffect(()=>{if(!G)return;const oe=we=>{const Ee=we.target;Ee instanceof Node&&I.current&&!I.current.contains(Ee)&&(me(!1),J(-1))};return document.addEventListener("pointerdown",oe),()=>{document.removeEventListener("pointerdown",oe)}},[G]),u.useEffect(()=>{te>=Z.length&&J(-1)},[te,Z.length]);const ve=(oe,we)=>{oe.disabled||($.current=oe,H||D(oe.value),O.current&&Xy(O.current,oe.value),me(!1),J(-1),x?.(oe,we),O.current?.focus(),window.setTimeout(()=>{$.current===oe&&($.current=null)},0))},ie=oe=>{const we=oe.currentTarget.value,Ee=$.current;$.current=null,H||D(we),B&&me(!Ee),J(-1),m?.(oe),y?.(we,{event:oe,option:Ee??void 0,reason:Ee?"select":"input"})},ye=oe=>{B&&g&&me(!0),b?.(oe)},Se=oe=>{const we=oe.relatedTarget;if(we instanceof Node&&I.current?.contains(we)){p?.(oe);return}me(!1),J(-1),p?.(oe)},Ie=oe=>{if(!B){v?.(oe);return}oe.key==="ArrowDown"?(oe.preventDefault(),me(!0),J(we=>ql(Z,we<0?-1:we,1))):oe.key==="ArrowUp"?(oe.preventDefault(),me(!0),J(we=>ql(Z,we<0?Z.length:we,-1))):oe.key==="Enter"&&G&&ue?(oe.preventDefault(),ve(ue,oe)):(oe.key==="Escape"||oe.key==="Tab")&&(me(!1),J(-1)),v?.(oe)};return c.jsxs("div",{ref:I,className:j("relative w-full",Q.sxClassName,k),style:L(T,Q.sxInlineStyle),children:[c.jsx(xo,{...A,ref:W,autoComplete:r,class:n,className:o,disabled:i,readOnly:N,role:"combobox","aria-autocomplete":"list","aria-controls":ae?M:void 0,"aria-expanded":ae,"aria-activedescendant":pe,value:Y,onBlur:Se,onChange:ie,onFocus:ye,onKeyDown:Ie}),ae?c.jsx("div",{id:M,role:"listbox",className:j("absolute left-0 top-full z-50 mt-1 max-h-64 w-full overflow-y-auto rounded-md border border-solid border-slate-200 bg-white p-1 text-slate-900 shadow-lg","animate-in fade-in-0 zoom-in-95",z.sxClassName,a),style:L(l,z.sxInlineStyle),children:Z.length>0?Z.map((oe,we)=>{const Ee=te===we,de=oe.value===Y,Ae=!!oe.disabled;return c.jsx("div",{id:`${M}-option-${we}`,role:"option","aria-disabled":Ae||void 0,"aria-selected":de,className:j("grid cursor-default select-none gap-0.5 rounded-sm px-2 py-1.5 text-sm leading-5 outline-none transition-colors",Ee&&"bg-blue-50 text-blue-700",de&&!Ee&&"bg-slate-50 text-slate-900",Ae?"pointer-events-none text-slate-400 opacity-70":"text-slate-700",K.sxClassName,w),style:L(P,K.sxInlineStyle),onMouseDown:fe=>fe.preventDefault(),onMouseEnter:()=>{Ae||J(we)},onClick:fe=>ve(oe,fe),children:q?q(oe,{active:Ee,disabled:Ae,inputValue:Y,selected:de}):c.jsxs(c.Fragment,{children:[c.jsx("span",{className:"truncate font-medium",children:oe.label}),oe.description?c.jsx("span",{className:"truncate text-xs text-slate-500",children:oe.description}):null]})},`${oe.value}-${we}`)}):c.jsx("div",{className:"px-2 py-2 text-sm text-slate-500",children:f})}):null]})});Ud.displayName="AutoComplete";function Yd(e){const t=e+"CollectionProvider",[r,n]=rt(t),[o,s]=r(t,{collectionRef:{current:null},itemMap:new Map}),i=v=>{const{scope:x,children:y}=v,g=je.useRef(null),w=je.useRef(new Map).current;return c.jsx(o,{scope:x,itemMap:w,collectionRef:g,children:y})};i.displayName=t;const a=e+"CollectionSlot",l=zr(a),d=je.forwardRef((v,x)=>{const{scope:y,children:g}=v,w=s(a,y),P=ke(x,w.collectionRef);return c.jsx(l,{ref:P,children:g})});d.displayName=a;const f=e+"CollectionItemSlot",h="data-radix-collection-item",p=zr(f),m=je.forwardRef((v,x)=>{const{scope:y,children:g,...w}=v,P=je.useRef(null),C=ke(x,P),S=s(f,y);return je.useEffect(()=>(S.itemMap.set(P,{ref:P,...w}),()=>{S.itemMap.delete(P)})),c.jsx(p,{[h]:"",ref:C,children:g})});m.displayName=f;function b(v){const x=s(e+"CollectionConsumer",v);return je.useCallback(()=>{const g=x.collectionRef.current;if(!g)return[];const w=Array.from(g.querySelectorAll(`[${h}]`));return Array.from(x.itemMap.values()).sort((S,N)=>w.indexOf(S.ref.current)-w.indexOf(N.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:i,Slot:d,ItemSlot:m},b,n]}var Zy=u.createContext(void 0);function yo(e){const t=u.useContext(Zy);return e||t||"ltr"}var Uo="rovingFocusGroup.onEntryFocus",e0={bubbles:!1,cancelable:!0},on="RovingFocusGroup",[Us,Xd,t0]=Yd(on),[r0,wo]=rt(on,[t0]),[n0,o0]=r0(on),Jd=u.forwardRef((e,t)=>c.jsx(Us.Provider,{scope:e.__scopeRovingFocusGroup,children:c.jsx(Us.Slot,{scope:e.__scopeRovingFocusGroup,children:c.jsx(s0,{...e,ref:t})})}));Jd.displayName=on;var s0=u.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:s,currentTabStopId:i,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:l,onEntryFocus:d,preventScrollOnEntryFocus:f=!1,...h}=e,p=u.useRef(null),m=ke(t,p),b=yo(s),[v,x]=yt({prop:i,defaultProp:a??null,onChange:l,caller:on}),[y,g]=u.useState(!1),w=gt(d),P=Xd(r),C=u.useRef(!1),[S,N]=u.useState(0);return u.useEffect(()=>{const q=p.current;if(q)return q.addEventListener(Uo,w),()=>q.removeEventListener(Uo,w)},[w]),c.jsx(n0,{scope:r,orientation:n,dir:b,loop:o,currentTabStopId:v,onItemFocus:u.useCallback(q=>x(q),[x]),onItemShiftTab:u.useCallback(()=>g(!0),[]),onFocusableItemAdd:u.useCallback(()=>N(q=>q+1),[]),onFocusableItemRemove:u.useCallback(()=>N(q=>q-1),[]),children:c.jsx(be.div,{tabIndex:y||S===0?-1:0,"data-orientation":n,...h,ref:m,style:{outline:"none",...e.style},onMouseDown:ce(e.onMouseDown,()=>{C.current=!0}),onFocus:ce(e.onFocus,q=>{const k=!C.current;if(q.target===q.currentTarget&&k&&!y){const T=new CustomEvent(Uo,e0);if(q.currentTarget.dispatchEvent(T),!T.defaultPrevented){const E=P().filter(I=>I.focusable),R=E.find(I=>I.active),A=E.find(I=>I.id===v),O=[R,A,...E].filter(Boolean).map(I=>I.ref.current);ef(O,f)}}C.current=!1}),onBlur:ce(e.onBlur,()=>g(!1))})})}),Qd="RovingFocusGroupItem",Zd=u.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:s,children:i,...a}=e,l=tr(),d=s||l,f=o0(Qd,r),h=f.currentTabStopId===d,p=Xd(r),{onFocusableItemAdd:m,onFocusableItemRemove:b,currentTabStopId:v}=f;return u.useEffect(()=>{if(n)return m(),()=>b()},[n,m,b]),c.jsx(Us.ItemSlot,{scope:r,id:d,focusable:n,active:o,children:c.jsx(be.span,{tabIndex:h?0:-1,"data-orientation":f.orientation,...a,ref:t,onMouseDown:ce(e.onMouseDown,x=>{n?f.onItemFocus(d):x.preventDefault()}),onFocus:ce(e.onFocus,()=>f.onItemFocus(d)),onKeyDown:ce(e.onKeyDown,x=>{if(x.key==="Tab"&&x.shiftKey){f.onItemShiftTab();return}if(x.target!==x.currentTarget)return;const y=l0(x,f.orientation,f.dir);if(y!==void 0){if(x.metaKey||x.ctrlKey||x.altKey||x.shiftKey)return;x.preventDefault();let w=p().filter(P=>P.focusable).map(P=>P.ref.current);if(y==="last")w.reverse();else if(y==="prev"||y==="next"){y==="prev"&&w.reverse();const P=w.indexOf(x.currentTarget);w=f.loop?c0(w,P+1):w.slice(P+1)}setTimeout(()=>ef(w))}}),children:typeof i=="function"?i({isCurrentTabStop:h,hasTabStop:v!=null}):i})})});Zd.displayName=Qd;var i0={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function a0(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function l0(e,t,r){const n=a0(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return i0[n]}function ef(e,t=!1){const r=document.activeElement;for(const n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function c0(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var tf=Jd,rf=Zd,$i="Radio",[u0,nf]=rt($i),[d0,f0]=u0($i),of=u.forwardRef((e,t)=>{const{__scopeRadio:r,name:n,checked:o=!1,required:s,disabled:i,value:a="on",onCheck:l,form:d,...f}=e,[h,p]=u.useState(null),m=ke(t,x=>p(x)),b=u.useRef(!1),v=h?d||!!h.closest("form"):!0;return c.jsxs(d0,{scope:r,checked:o,disabled:i,children:[c.jsx(be.button,{type:"button",role:"radio","aria-checked":o,"data-state":cf(o),"data-disabled":i?"":void 0,disabled:i,value:a,...f,ref:m,onClick:ce(e.onClick,x=>{o||l?.(),v&&(b.current=x.isPropagationStopped(),b.current||x.stopPropagation())})}),v&&c.jsx(lf,{control:h,bubbles:!b.current,name:n,value:a,checked:o,required:s,disabled:i,form:d,style:{transform:"translateX(-100%)"}})]})});of.displayName=$i;var sf="RadioIndicator",af=u.forwardRef((e,t)=>{const{__scopeRadio:r,forceMount:n,...o}=e,s=f0(sf,r);return c.jsx(Bt,{present:n||s.checked,children:c.jsx(be.span,{"data-state":cf(s.checked),"data-disabled":s.disabled?"":void 0,...o,ref:t})})});af.displayName=sf;var h0="RadioBubbleInput",lf=u.forwardRef(({__scopeRadio:e,control:t,checked:r,bubbles:n=!0,...o},s)=>{const i=u.useRef(null),a=ke(i,s),l=po(r),d=ao(t);return u.useEffect(()=>{const f=i.current;if(!f)return;const h=window.HTMLInputElement.prototype,m=Object.getOwnPropertyDescriptor(h,"checked").set;if(l!==r&&m){const b=new Event("click",{bubbles:n});m.call(f,r),f.dispatchEvent(b)}},[l,r,n]),c.jsx(be.input,{type:"radio","aria-hidden":!0,defaultChecked:r,...o,tabIndex:-1,ref:a,style:{...o.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});lf.displayName=h0;function cf(e){return e?"checked":"unchecked"}var m0=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Po="RadioGroup",[p0]=rt(Po,[wo,nf]),uf=wo(),df=nf(),[v0,g0]=p0(Po),ff=u.forwardRef((e,t)=>{const{__scopeRadioGroup:r,name:n,defaultValue:o,value:s,required:i=!1,disabled:a=!1,orientation:l,dir:d,loop:f=!0,onValueChange:h,...p}=e,m=uf(r),b=yo(d),[v,x]=yt({prop:s,defaultProp:o??null,onChange:h,caller:Po});return c.jsx(v0,{scope:r,name:n,required:i,disabled:a,value:v,onValueChange:x,children:c.jsx(tf,{asChild:!0,...m,orientation:l,dir:b,loop:f,children:c.jsx(be.div,{role:"radiogroup","aria-required":i,"aria-orientation":l,"data-disabled":a?"":void 0,dir:b,...p,ref:t})})})});ff.displayName=Po;var hf="RadioGroupItem",mf=u.forwardRef((e,t)=>{const{__scopeRadioGroup:r,disabled:n,...o}=e,s=g0(hf,r),i=s.disabled||n,a=uf(r),l=df(r),d=u.useRef(null),f=ke(t,d),h=s.value===o.value,p=u.useRef(!1);return u.useEffect(()=>{const m=v=>{m0.includes(v.key)&&(p.current=!0)},b=()=>p.current=!1;return document.addEventListener("keydown",m),document.addEventListener("keyup",b),()=>{document.removeEventListener("keydown",m),document.removeEventListener("keyup",b)}},[]),c.jsx(rf,{asChild:!0,...a,focusable:!i,active:h,children:c.jsx(of,{disabled:i,required:s.required,checked:h,...l,...o,name:s.name,ref:f,onCheck:()=>s.onValueChange(o.value),onKeyDown:ce(m=>{m.key==="Enter"&&m.preventDefault()}),onFocus:ce(o.onFocus,()=>{p.current&&d.current?.click()})})})});mf.displayName=hf;var b0="RadioGroupIndicator",pf=u.forwardRef((e,t)=>{const{__scopeRadioGroup:r,...n}=e,o=df(r);return c.jsx(af,{...o,...n,ref:t})});pf.displayName=b0;var x0=ff,y0=mf,w0=pf;const Vi=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,children:i,...a}=e,l=se(),{sxClassName:d,sxInlineStyle:f}=X(o,l);return c.jsx(y0,{ref:t,className:j("inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full border border-solid border-slate-300 bg-white text-blue-600 transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50","data-[state=checked]:border-blue-600",d,r,n),style:L(s,f),...a,children:i??c.jsx(w0,{className:"inline-flex h-4 w-4 items-center justify-center",children:c.jsx("span",{className:"h-2 w-2 rounded-full bg-current"})})})});Vi.displayName="Radio";const kl={xs:"gap-1",sm:"gap-2",md:"gap-3",lg:"gap-4"};function P0(e){return e===void 0?{className:kl.md}:e==="xs"||e==="sm"||e==="md"||e==="lg"?{className:kl[e]}:{style:{gap:typeof e=="number"?`${e}px`:e}}}const vf=u.forwardRef((e,t)=>{const{className:r,class:n,children:o,direction:s="vertical",disabled:i=!1,gap:a="md",options:l,sx:d,style:f,...h}=e,p=se(),{sxClassName:m,sxInlineStyle:b}=X(d,p),v=P0(a);return c.jsxs(x0,{ref:t,disabled:i,className:j("flex",s==="horizontal"?"flex-row flex-wrap":"flex-col",v.className,m,r,n),style:L(f,v.style,b),...h,children:[l?.map(x=>{const y=i||x.disabled;return c.jsxs(bo,{className:j("inline-flex items-start gap-2 text-sm leading-5 text-slate-700",y&&"cursor-not-allowed text-slate-400",!y&&"cursor-pointer",x.className),children:[c.jsx(Vi,{...x.radioProps,value:x.value,disabled:y}),c.jsxs("span",{className:"grid gap-0.5",children:[c.jsx("span",{children:x.label}),x.description?c.jsx("span",{className:"text-xs text-slate-500",children:x.description}):null]})]},x.value)}),o]})});vf.displayName="RadioGroup";const C0={sm:"h-8 w-8",md:"h-9 w-9",lg:"h-10 w-10"},S0={sm:"h-4 w-4",md:"h-[18px] w-[18px]",lg:"h-5 w-5"};function Yo(e,t){return Number.isFinite(e)?Math.max(0,Math.min(t,Math.round(e))):0}function N0(e){return c.jsx("svg",{viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",...e,children:c.jsx("path",{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z",fill:"currentColor"})})}function q0(e){const{fill:t,size:r,active:n,preview:o,disabled:s,tabIndex:i,onClick:a,onFocus:l,onKeyDown:d,onMouseEnter:f,setRef:h,label:p,character:m}=e,b=m??c.jsx(N0,{className:S0[r]});return c.jsx("button",{ref:h,type:"button",role:"radio","aria-checked":n,"aria-label":p,disabled:s,tabIndex:i,onClick:a,onFocus:l,onKeyDown:d,onMouseEnter:f,className:j("group relative inline-flex items-center justify-center rounded-full outline-none transition","focus-visible:ring-2 focus-visible:ring-blue-500/35 focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50",C0[r],o?"scale-[1.03]":"scale-100"),children:c.jsxs("span",{"aria-hidden":"true",className:j("relative inline-flex items-center justify-center transition-colors",o?"text-amber-300":"text-amber-400"),children:[c.jsx("span",{className:"text-slate-300",children:b}),c.jsx("span",{className:"absolute inset-0 overflow-hidden",style:{width:`${t}%`},children:c.jsx("span",{className:"text-current",children:b})})]})})}const gf=u.forwardRef((e,t)=>{const{value:r,defaultValue:n=0,count:o=5,allowClear:s=!0,borderless:i=!1,disabled:a=!1,readOnly:l=!1,name:d,onChange:f,onHoverChange:h,size:p="md",character:m,className:b,class:v,style:x,sx:y,onMouseLeave:g,onKeyDown:w,...P}=e,C=se(),{sxClassName:S,sxInlineStyle:N}=X(y,C),q=r!==void 0,k=Math.max(1,Math.floor(o||1)),[T,E]=u.useState(()=>Yo(n,k)),[R,A]=u.useState(null),_=u.useRef([]),O=Yo(q?r??0:T,k),I=R??O,$=u.useId(),M=u.useCallback(te=>{if(a||l)return;const J=Yo(te,k),H=s&&J===O?0:J;q||E(H),f?.(H)},[s,O,a,q,f,l,k]),U=u.useCallback(()=>{A(null),h?.(null)},[h]),D=u.useCallback(te=>{_.current[te]?.focus()},[]),G=te=>{U(),g?.(te)},me=(te,J)=>{if(w?.(te),te.defaultPrevented||a||l||te.key!=="ArrowRight"&&te.key!=="ArrowUp"&&te.key!=="ArrowLeft"&&te.key!=="ArrowDown"&&te.key!=="Home"&&te.key!=="End")return;if(te.preventDefault(),te.key==="Home"){U(),D(0),M(0);return}if(te.key==="End"){U(),D(k-1),M(k);return}const Y=te.key==="ArrowRight"||te.key==="ArrowUp"?1:-1,B=Math.max(0,Math.min(k-1,J+Y));U(),D(B),M(B+1)};return c.jsxs("div",{...P,ref:t,role:"radiogroup","aria-label":P["aria-label"]??"评分","aria-readonly":l||void 0,"data-disabled":a?"":void 0,"data-borderless":i?"":void 0,"data-readonly":l?"":void 0,"data-size":p,className:j("inline-flex w-fit items-center gap-1 rounded-full px-2 py-1 transition-colors",i?"border-0 bg-transparent shadow-none":"border border-slate-200 bg-white shadow-sm",!i&&!a?"hover:border-slate-300":void 0,S,b,v),style:L(x,N),onMouseLeave:G,children:[d?c.jsx("input",{type:"hidden",name:d,value:String(O)}):null,Array.from({length:k}).map((te,J)=>{const H=J+1,Y=Math.max(0,Math.min(1,I-J))*100,B=O===H,Q=R!==null;return c.jsx(q0,{fill:Y,size:p,active:B,preview:Q&&H<=I,disabled:a||l,tabIndex:O===0?J===0?0:-1:B?0:-1,label:`选择 ${H} 星`,character:m,setRef:z=>{_.current[J]=z},onClick:()=>{U(),M(H)},onFocus:()=>{a||l||U()},onKeyDown:z=>me(z,J),onMouseEnter:()=>{a||l||(A(H),h?.(H))}},`${$}-${H}`)})]})});gf.displayName="Rate";function Xo(e){const t=se();return X(e,t)}function El(e){const{value:t,defaultValue:r,onChange:n}=e,[o,s]=u.useState(r),i=t!==void 0,a=i?t:o,l=u.useCallback(d=>{i||s(d),n?.(d)},[i,n]);return[a,l]}function Pn(e){return Array.isArray(e)?e.filter(t=>t!==""):[]}function k0(e){return Array.isArray(e)?e:[]}function Sr(e,t){return e?.[t]??t}function E0(e,t){const r=Sr(t,"value");return typeof e[r]=="string"?e[r]:e.value}function R0(e,t){const r=Sr(t,"label");return e[r]??e.label??e.value??""}function j0(e,t){const r=Sr(t,"children");return k0(e[r])}function T0(e,t){const r=Sr(t,"disabled");return!!(e[r]??e.disabled)}function A0(e,t){const r=Sr(t,"isLeaf"),n=e[r];return typeof n=="boolean"?n:e.isLeaf}function _0(e,t){const r=Sr(t,"loading");return!!(e[r]??e.loading)}function bf(e,t){const r=E0(e,t);if(typeof r!="string"||r.length===0)return null;const n=j0(e,t),o=A0(e,t),s=typeof o=="boolean"?o:n.length===0;return{option:e,value:r,label:R0(e,t),children:n,disabled:T0(e,t),isLeaf:s,loading:_0(e,t)}}function Ys(e,t){const r=[];for(const n of e){const o=bf(n,t);o&&r.push(o)}return r}function Jo(e,t,r){const n=[],o=[];let s=e;for(const i of t){const a=Ys(s,r).find(l=>l.value===i);if(!a)break;n.push(a),o.push(a.label),s=a.children}return{matched:n,labels:o,path:n.map(i=>i.value)}}function I0(e,t,r){const n=[];let o=e;n.push(Ys(o,r));for(const s of t){const i=Ys(o,r).find(a=>a.value===s);if(!i||(o=i.children,o.length===0))break;n.push(o.map(a=>bf(a,r)).filter(a=>!!a))}return n}function Qo(e,t){return t.every((r,n)=>e[n]===r)}function O0(e,t){return c.jsx(c.Fragment,{children:e.map((r,n)=>c.jsxs(u.Fragment,{children:[n>0?c.jsx("span",{className:"mx-1 text-slate-400",children:t}):null,c.jsx("span",{className:"min-w-0 truncate",children:r})]},n))})}function M0(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M4 6L8 10L12 6",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function L0(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M6 4L10 8L6 12",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function D0(e){return c.jsxs("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:[c.jsx("path",{d:"M4.5 4.5L11.5 11.5",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"}),c.jsx("path",{d:"M11.5 4.5L4.5 11.5",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"})]})}function Zo(){return c.jsx("span",{className:"inline-block h-3.5 w-3.5 animate-spin rounded-full border-2 border-slate-300 border-t-blue-600","aria-hidden":"true"})}const xf=u.forwardRef((e,t)=>{const{options:r=[],value:n,defaultValue:o=[],onValueChange:s,onOpenChange:i,open:a,defaultOpen:l=!1,placeholder:d="请选择",separator:f="/",displayRender:h,renderOption:p,fieldNames:m,changeOnSelect:b=!1,expandTrigger:v="click",clearable:x=!1,contentWidth:y="auto",maxPanelHeight:g=336,side:w="bottom",align:P="start",sideOffset:C=8,contentClassName:S,contentClass:N,contentStyle:q,contentSx:k,class:T,sx:E,readOnly:R=!1,required:A,loadData:_,optionClassName:O,optionClass:I,optionStyle:$,optionSx:M,className:U,style:D,disabled:G=!1,name:me,id:te,autoFocus:J,onClick:H,onFocus:Y,onBlur:B,onKeyDown:Q,...z}=e,[K,W]=El({value:n===void 0?void 0:Pn(n),defaultValue:Pn(o),onChange:V=>{}}),[Z,ae]=El({value:a,defaultValue:l,onChange:i}),[ue,pe]=u.useState(()=>Pn(o)),[ve,ie]=u.useState(null),ye=u.useRef(null),Se=u.useRef(!0),Ie=u.useRef(Z),{sxClassName:oe,sxInlineStyle:we}=Xo(E),{sxClassName:Ee,sxInlineStyle:de}=Xo(k),{sxClassName:Ae,sxInlineStyle:fe}=Xo(M);u.useEffect(()=>()=>{Se.current=!1},[]),u.useEffect(()=>{Z&&!Ie.current&&pe(K),Ie.current=Z},[Z,K]);const re=u.useMemo(()=>Jo(r,K,m),[m,r,K]),he=re.matched.map(V=>V.option),Re=Z?ue:K,_e=u.useMemo(()=>Jo(r,Re,m),[Re,m,r]),Ye=u.useMemo(()=>I0(r,Re,m),[Re,m,r]),Ve=u.useMemo(()=>{const V=_e.matched[_e.matched.length-1];return!Z||!V?!1:V.children.length===0&&!V.isLeaf},[_e.matched,Z]),nt=u.useMemo(()=>re.labels.length>0?h?h(re.labels,he):O0(re.labels,f):d,[h,d,he,re.labels,f]),Ct=n!==void 0,ot=u.useCallback((V,le)=>{const xe=Pn(V),Ce=Jo(r,xe,m);Ct||W(xe),s?.(xe,{...le,path:Ce.path,options:Ce.matched.map(Te=>Te.option),labels:Ce.labels})},[m,Ct,s,r,W]),ht=u.useCallback(V=>{G||R||(Ct||W([]),pe([]),s?.([],{reason:"clear",path:[],options:[],labels:[],event:V}))},[G,Ct,s,R,W]),st=u.useRef(_);u.useEffect(()=>{st.current=_},[_]);const sr=u.useCallback(async(V,le,xe)=>{if(G||R||V.disabled)return;const Ce=V.children.length>0,Te=Ce||!V.isLeaf&&!!st.current,He=le.join("");if(Te&&!Ce&&st.current){ie(He);try{await st.current([V.option],{option:V.option,path:le,options:r})}finally{Se.current&&ie(Je=>Je===He?null:Je)}}if(b||!Te){ot(le,{reason:"select",option:V.option,event:xe}),ae(!1);return}pe(le),ae(!0)},[b,ot,G,r,R,ae]),mt=u.useCallback(V=>{G||(pe(V),ae(!0))},[G,ae]);u.useImperativeHandle(t,()=>({focus:()=>ye.current?.focus(),blur:()=>ye.current?.blur(),open:()=>mt(K),close:()=>ae(!1),clear:()=>ht(),getValue:()=>K.slice()}),[ht,mt,K,ae]);const F=ve!==null;return c.jsxs("div",{className:"relative inline-flex w-full items-stretch",children:[c.jsxs(fd,{open:Z,onOpenChange:ae,children:[c.jsx(Oi,{asChild:!0,children:c.jsxs("button",{ref:ye,id:te,type:"button",className:j("flex h-9 w-full min-w-0 items-center gap-2 rounded-md border border-solid border-slate-300 bg-white px-3 text-left text-sm text-slate-900 shadow-sm transition-colors","focus-visible:border-blue-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30","disabled:cursor-not-allowed disabled:bg-slate-50 disabled:text-slate-500 disabled:opacity-70",R&&"cursor-default",x&&K.length>0&&!G&&!R?"pr-16":"pr-9",oe,U,T),style:L(D,we),autoFocus:J,disabled:G,"aria-haspopup":"dialog","aria-expanded":Z,"aria-disabled":G||void 0,"aria-readonly":R||void 0,onClick:V=>{H?.(V)},onFocus:Y,onBlur:B,onKeyDown:V=>{Q?.(V),!G&&((V.key==="ArrowDown"||V.key==="Enter")&&(V.preventDefault(),ae(!0)),V.key==="Escape"&&(V.preventDefault(),ae(!1)))},...z,children:[c.jsx("span",{className:j("min-w-0 flex-1 truncate",re.labels.length===0&&"text-slate-400"),children:nt}),c.jsx(M0,{className:"absolute right-3 h-4 w-4 text-slate-500"})]})}),x&&K.length>0&&!G&&!R?c.jsx("button",{type:"button",className:"absolute right-8 top-1/2 z-10 -translate-y-1/2 rounded p-1 text-slate-400 transition-colors hover:text-slate-600 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30","aria-label":"清除选择",onMouseDown:V=>V.preventDefault(),onClick:V=>{V.preventDefault(),V.stopPropagation(),ht(V)},children:c.jsx(D0,{className:"h-3.5 w-3.5"})}):null,c.jsx(Mi,{side:w,align:P,sideOffset:C,width:y,className:j("overflow-hidden p-0",Ee,S,N),style:L(q,de),role:"dialog","aria-label":"级联选择",children:c.jsxs("div",{className:"flex min-w-[320px] overflow-hidden bg-white",style:{maxHeight:typeof g=="number"?`${g}px`:g},children:[Ye.map((V,le)=>{const xe=Re.slice(0,le);return V.length===0?c.jsx("div",{className:"flex min-w-44 items-center justify-center border-r border-slate-200 px-4 py-6 text-sm text-slate-400 last:border-r-0",children:F&&le===Ye.length-1?c.jsxs("span",{className:"inline-flex items-center gap-2",children:[c.jsx(Zo,{}),"加载中"]}):"暂无可选项"},`empty-${le}`):c.jsx("div",{className:j("min-w-48 border-r border-slate-200 last:border-r-0",le>0&&"bg-slate-50/40"),children:c.jsx("div",{className:"max-h-full overflow-y-auto p-1",children:V.map(Ce=>{const Te=[...xe,Ce.value],He=K.length===Te.length&&Qo(K,Te),Je=Qo(Re,Te)||Qo(Te,Re),St=ve===Te.join("")||Ce.loading,Nt=Ce.children.length>0||!Ce.isLeaf&&!!st.current&&!St,xm={active:Je,checked:He,disabled:Ce.disabled,hasChildren:Nt,isLeaf:Ce.isLeaf,level:le,loading:St,path:Te,selected:He};return c.jsxs("button",{type:"button",className:j("flex min-h-10 w-full items-center gap-2 rounded-md px-3 py-2 text-left text-sm text-slate-700 transition-colors","hover:bg-blue-50 hover:text-blue-700 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30",He&&"bg-blue-50 text-blue-700",Je&&!He&&"bg-slate-100 text-slate-900",Ce.disabled&&"cursor-not-allowed text-slate-400 opacity-70 hover:bg-transparent hover:text-slate-400",Ae,O,I),style:L($,fe),disabled:G||R||Ce.disabled,onMouseEnter:()=>{v==="hover"&&!Ce.disabled&&Nt&&(pe(Te),ae(!0))},onClick:qa=>{qa.preventDefault(),sr(Ce,Te,qa)},children:[c.jsx("span",{className:"min-w-0 flex-1 truncate",children:p?p(Ce.option,xm):Ce.label}),St?c.jsx(Zo,{}):Nt?c.jsx(L0,{className:"h-4 w-4 shrink-0 text-slate-400"}):null]},Te.join(""))})})},`column-${le}`)}),Ve?c.jsx("div",{className:"flex min-w-44 items-center justify-center border-l border-slate-200 px-4 py-6 text-sm text-slate-400",children:F?c.jsxs("span",{className:"inline-flex items-center gap-2",children:[c.jsx(Zo,{}),"加载中"]}):"请继续选择"}):null]})})]}),me?c.jsx("input",{type:"hidden",name:me,required:A,value:K.length>0?JSON.stringify(K):""}):null]})});xf.displayName="Cascader";function B0(e){return Array.isArray(e)?Number(e[0]??0):Number(e??0)}function Rl(e,t){const r=Number(e);return Number.isFinite(r)?r:t}function jl(e,t){return e===void 0?t:typeof e=="number"?`${e}px`:e}const F0={solid:{"--ldkj-slider-fill":"rgb(37 99 235)","--ldkj-slider-fill-end":"rgb(37 99 235)","--ldkj-slider-focus-ring":"rgb(37 99 235 / 0.2)","--ldkj-slider-thumb":"rgb(37 99 235)","--ldkj-slider-thumb-ring":"rgb(37 99 235 / 0.18)","--ldkj-slider-track":"rgb(226 232 240)","--ldkj-slider-track-shadow":"inset 0 1px 2px rgba(15,23,42,0.1)","--ldkj-slider-thumb-shadow":"0 0 0 3px var(--ldkj-slider-thumb-ring), 0 4px 12px -2px rgba(0,0,0,0.12)","--ldkj-slider-thumb-shadow-hover":"0 0 0 5px var(--ldkj-slider-thumb-ring), 0 6px 20px -4px rgba(0,0,0,0.16)"},gradient:{"--ldkj-slider-fill":"rgb(6 182 212)","--ldkj-slider-fill-end":"rgb(37 99 235)","--ldkj-slider-focus-ring":"rgb(14 165 233 / 0.22)","--ldkj-slider-thumb":"linear-gradient(145deg, rgb(34 211 238) 0%, rgb(37 99 235) 72%, rgb(30 64 175) 100%)","--ldkj-slider-thumb-ring":"rgb(14 165 233 / 0.16)","--ldkj-slider-track":"rgb(226 232 240)","--ldkj-slider-track-shadow":"inset 0 1px 2px rgba(15,23,42,0.16)","--ldkj-slider-thumb-shadow":"0 0 0 5px var(--ldkj-slider-thumb-ring), 0 10px 24px -10px rgba(14,116,144,0.9)","--ldkj-slider-thumb-shadow-hover":"0 0 0 7px var(--ldkj-slider-thumb-ring), 0 14px 28px -12px rgba(14,116,144,0.95)"}};function yf(e){const{className:t,class:r,defaultValue:n,max:o,min:s,style:i,sx:a,thumbSize:l,trackSize:d,value:f,variant:h="solid",onValueChange:p,...m}=e,b=se(),{sxClassName:v,sxInlineStyle:x}=X(a,b),y=f!==void 0,[g,w]=u.useState(()=>B0(n)),P=y?f:g,C=Rl(s,0),S=Rl(o,100),N=Number.isFinite(P)?P:C,q=S>C?(N-C)/(S-C)*100:0,k=Math.max(0,Math.min(100,q)),T=E=>{const R=Number(E.currentTarget.value);y||w(R),p?.(R)};return c.jsx("input",{...m,type:"range",...y?{value:f}:{defaultValue:n},min:s,max:o,onChange:T,className:j("h-[var(--ldkj-slider-track-size)] w-full cursor-pointer appearance-none rounded-full border border-white/70 bg-transparent align-middle","accent-[var(--ldkj-slider-fill-end)] shadow-[var(--ldkj-slider-track-shadow),0_1px_0_rgba(255,255,255,0.88)]","transition-[filter,opacity,box-shadow] duration-200 ease-out hover:brightness-105","focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-[var(--ldkj-slider-focus-ring)] focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-55 disabled:grayscale","[&::-webkit-slider-thumb]:h-[var(--ldkj-slider-thumb-size)] [&::-webkit-slider-thumb]:w-[var(--ldkj-slider-thumb-size)] [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:border-[3px] [&::-webkit-slider-thumb]:border-white [&::-webkit-slider-thumb]:[background:var(--ldkj-slider-thumb)] [&::-webkit-slider-thumb]:shadow-[var(--ldkj-slider-thumb-shadow),inset_0_1px_0_rgba(255,255,255,0.55)] [&::-webkit-slider-thumb]:transition-[transform,box-shadow,filter] [&::-webkit-slider-thumb]:duration-200 [&::-webkit-slider-thumb]:ease-out","hover:[&::-webkit-slider-thumb]:scale-110 hover:[&::-webkit-slider-thumb]:shadow-[var(--ldkj-slider-thumb-shadow-hover),inset_0_1px_0_rgba(255,255,255,0.65)] active:[&::-webkit-slider-thumb]:scale-95","[&::-moz-range-thumb]:h-[var(--ldkj-slider-thumb-size)] [&::-moz-range-thumb]:w-[var(--ldkj-slider-thumb-size)] [&::-moz-range-thumb]:appearance-none [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:border-[3px] [&::-moz-range-thumb]:border-white [&::-moz-range-thumb]:[background:var(--ldkj-slider-thumb)] [&::-moz-range-thumb]:shadow-[var(--ldkj-slider-thumb-shadow),inset_0_1px_0_rgba(255,255,255,0.55)] [&::-moz-range-thumb]:transition-[transform,box-shadow,filter] [&::-moz-range-thumb]:duration-200 [&::-moz-range-thumb]:ease-out","hover:[&::-moz-range-thumb]:scale-110 hover:[&::-moz-range-thumb]:shadow-[var(--ldkj-slider-thumb-shadow-hover),inset_0_1px_0_rgba(255,255,255,0.65)] active:[&::-moz-range-thumb]:scale-95","[&::-moz-range-track]:h-[var(--ldkj-slider-track-size)] [&::-moz-range-track]:rounded-full [&::-moz-range-track]:bg-transparent",v,t,r),style:L({...F0[h],"--ldkj-slider-thumb-size":jl(l,"1.05rem"),"--ldkj-slider-track-size":jl(d,"0.4rem"),"--ldkj-slider-percent":`${k}%`,background:"linear-gradient(90deg, var(--ldkj-slider-fill) 0%, var(--ldkj-slider-fill-end) var(--ldkj-slider-percent), transparent var(--ldkj-slider-percent), transparent 100%), linear-gradient(180deg, rgba(255,255,255,0.86), rgba(148,163,184,0.22)), var(--ldkj-slider-track)"},i,x)})}yf.displayName="Slider";function $0({children:e}){return c.jsx("span",{className:"text-rose-500",children:e??"*"})}const Co=u.createContext(null);function Gr(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function We(e){return Array.isArray(e)?e.map(t=>We(t)):Gr(e)?Object.fromEntries(Object.entries(e).map(([t,r])=>[t,We(r)])):e}function sn(e){return typeof e=="string"||typeof e=="number"?[e]:Array.from(e)}function Qe(e){return JSON.stringify(sn(e))}function V0(e){return sn(e).join(".")}function Gt(e,t){let r=e;for(const n of sn(t)){if(r==null)return;r=r[n]}return r}function Mr(e,t,r){const n=sn(t);if(n.length===0)return e;const o=(s,i)=>{const a=n[i],l=i===n.length-1,d=Array.isArray(s)?[...s]:Gr(s)?{...s}:typeof a=="number"?[]:{};return d[a]=l?r:o(d[a],i+1),d};return o(e,0)}function z0(e,t){const r=sn(t);if(r.length===0)return e;const n=(o,s)=>{if(!Array.isArray(o)&&!Gr(o))return o;const i=r[s],a=Array.isArray(o)?[...o]:{...o};return s===r.length-1?(delete a[i],a):(a[i]=n(a[i],s+1),a)};return n(e,0)}function H0(e,t){return Mr({},e,t)}function W0(e,t){const r=(n,o)=>{if(Gr(n)&&Gr(o)){const s={...n};for(const[i,a]of Object.entries(o))s[i]=r(s[i],a);return s}return We(o)};return r(e,t)}function Tl(){return{errors:[],touched:!1,validating:!1}}function G0(e){return e==null||e===""||Array.isArray(e)&&e.length===0}function K0(e){return e===void 0?[]:Array.isArray(e)?e:[e]}function U0(e,t,r){if(!e)return!0;const n=K0(t??r);return n.length===0||n.includes(e)}function Y0(e,t){return u.isValidElement(e)?e:typeof e=="string"||typeof e=="number"?String(e):e instanceof Error?e.message:t}function X0(e){let t=We({}),r=We(t),n={},o=0;const s=new Set,i=new Map,a=new Map,l=()=>{for(const g of s)g()},d=g=>a.get(Qe(g))??Tl(),f=(g,w)=>{const P=Qe(g);a.set(P,{...d(g),...w})},h=()=>Array.from(i.values()).map(g=>({name:g.name,value:Gt(t,g.name),...d(g.name)})),p=g=>{n.onFieldsChange?.(g,h())},m=async(g,w)=>{const P=g.rules.filter(S=>U0(w.trigger,S.validateTrigger,g.validateTrigger));if(P.length===0)return[];w.validateOnly||(f(g.name,{validating:!0}),l());const C=[];for(const S of P){const N=Gt(t,g.name),q=S.transform?S.transform(N):N,k=S.message??"该字段为必填项";if(S.required&&G0(q)){if(C.push(k),g.validateFirst)break;continue}if(S.validator){try{const T=await S.validator(q,We(t),y);T===!1?C.push(k):T!==void 0&&T!==!0&&C.push(T)}catch(T){C.push(Y0(T,k))}if(g.validateFirst&&C.length>0)break}}return!w.validateOnly&&w.id===o&&(f(g.name,{errors:C,validating:!1}),p([{name:g.name,value:Gt(t,g.name),...d(g.name),errors:C,validating:!1}]),l()),C},b=async(g,w={})=>{const P=++o,C=g?.map(Qe),S=Array.from(i.values()).filter(k=>C?C.includes(Qe(k.name)):!0),q=(await Promise.all(S.map(async k=>({field:k,errors:await m(k,{id:P,trigger:w.trigger,validateOnly:w.validateOnly})})))).filter(k=>k.errors.length>0).map(k=>({errors:k.errors,name:k.field.name}));if(q.length>0)throw{errorFields:q,outOfDate:P!==o,values:We(t)};return We(t)},v=(g,w)=>{const P=Qe(g);for(const C of i.values())(Qe(C.name)===P||C.dependencies.some(N=>Qe(N)===P))&&b([C.name],{trigger:w}).catch(()=>{})},x=(g,w,P={})=>{t=Mr(t,g,w),P.touched&&f(g,{touched:!0});const C={name:g,value:w,...d(g)};P.source!=="external"&&(n.onValuesChange?.(H0(g,w),We(t)),p([C])),l(),P.trigger&&v(g,P.trigger)},y={getFieldValue:g=>Gt(t,g),getFieldsValue:g=>g?g.reduce((w,P)=>Mr(w,P,Gt(t,P)),{}):We(t),getFieldError:g=>d(g).errors,getFieldsError:g=>(g??Array.from(i.values()).map(P=>P.name)).map(P=>({errors:d(P).errors,name:P})),getFieldMeta:g=>d(g),isFieldTouched:g=>d(g).touched,isFieldsTouched:g=>(g??Array.from(i.values()).map(P=>P.name)).some(P=>d(P).touched),setFieldValue:(g,w)=>x(g,w,{source:"external"}),setFieldsValue:g=>{t=W0(t,g),l()},setFields:g=>{for(const w of g)"value"in w&&(t=Mr(t,w.name,w.value)),f(w.name,{errors:w.errors??d(w.name).errors,touched:w.touched??d(w.name).touched,validating:w.validating??d(w.name).validating});p(g),l()},resetFields:g=>{const w=g??Array.from(i.values()).map(P=>P.name);if(!g)t=We(r),a.clear();else for(const P of w)t=Mr(t,P,Gt(r,P)),a.delete(Qe(P));p(w.map(P=>({name:P,value:Gt(t,P),...d(P)}))),l()},validateFields:g=>b(g),submit:async()=>{try{const g=await b(void 0);n.onFinish?.(g)}catch(g){n.onFinishFailed?.(g)}},subscribe:g=>(s.add(g),()=>s.delete(g)),__INTERNAL__:{getStoreSnapshot:()=>t,getMetaSnapshot:g=>d(g),setCallbacks:g=>{n=g},setInitialValues:(g,w)=>{r=We(g??{}),w&&(t=We(r))},registerField:g=>{const w=Qe(g.name);return i.set(w,g),a.has(w)||a.set(w,Tl()),P=>{i.delete(w),P?.preserve===!1&&(t=z0(t,g.name),a.delete(w),l())}},setFieldValue:x,validateFields:b}};return y}function zi(e){const t=u.useRef(null);return t.current||(t.current=e??X0()),[e??t.current]}function Hi(){const e=u.useContext(Co);if(!e)throw new Error("Form hooks must be used inside a Form or receive a form instance.");return e}function So(e,t){const r=u.useContext(Co),n=t??r;if(!n)throw new Error("useFormValue must be used inside a Form or receive a form instance.");return u.useSyncExternalStore(n.subscribe,()=>e===void 0?n.__INTERNAL__.getStoreSnapshot():n.getFieldValue(e),()=>e===void 0?n.__INTERNAL__.getStoreSnapshot():n.getFieldValue(e))}function wf(e,t){return So(e,t)}function J0(e,t){const r=u.useContext(Co),n=t??r;if(!n)throw new Error("useFormFieldMeta must be used inside a Form or receive a form instance.");return u.useSyncExternalStore(n.subscribe,()=>n.__INTERNAL__.getMetaSnapshot(e),()=>n.__INTERNAL__.getMetaSnapshot(e))}const Fr={emptyValue:"",trigger:"onChange",valuePropName:"value"},Al={AutoComplete:{emptyValue:"",trigger:"onValueChange",valuePropName:"value"},Cascader:{emptyValue:[],trigger:"onValueChange",valuePropName:"value"},Checkbox:{emptyValue:!1,trigger:"onCheckedChange",valuePropName:"checked"},CheckboxGroup:{emptyValue:[],trigger:"onChange",valuePropName:"value"},Input:Fr,InputNumber:Fr,InputOPT:Fr,RadioGroup:{trigger:"onValueChange",valuePropName:"value"},Rate:{emptyValue:0,trigger:"onChange",valuePropName:"value"},Select:{trigger:"onValueChange",valuePropName:"value"},Slider:{emptyValue:0,trigger:"onValueChange",valuePropName:"value"},Switch:{emptyValue:!1,trigger:"onCheckedChange",valuePropName:"checked"},Uploader:{emptyValue:null,skipValueProp:!0,trigger:"onChange",valuePropName:"value"}};function Q0(e){const t=e.type;return t.displayName??t.name??t.render?.displayName??t.render?.name}function Z0(e){if(!e)return Fr;const t=Q0(e);return t&&Al[t]?Al[t]:Fr}function ew(e,t){const[r]=t;if(r&&typeof r=="object"&&"target"in r&&r.target){const n=r.target;return e==="checked"?n.checked:n.value}return r}function tw(e){return e===void 0?[]:Array.isArray(e)?[...e]:[e]}function rw(e,t,r){return e!==void 0?e:r==="checked"?!1:t.emptyValue}function _l(e,t){return(...r)=>{e?.(...r),t(...r)}}function nw(e){const{className:t,class:r,form:n,initialValues:o,nativeSubmit:s=!1,onFieldsChange:i,onFinish:a,onFinishFailed:l,onReset:d,onSubmit:f,onValuesChange:h,style:p,sx:m,...b}=e,[v]=zi(n),x=se(),{sxClassName:y,sxInlineStyle:g}=X(m,x),w=u.useRef(!1),P=!s&&(n!==void 0||a!==void 0||l!==void 0||h!==void 0||i!==void 0);v.__INTERNAL__.setCallbacks({onFieldsChange:i,onFinish:a,onFinishFailed:l,onValuesChange:h}),v.__INTERNAL__.setInitialValues(o,!w.current),w.current=!0;const C=N=>{f?.(N),!(N.defaultPrevented||!P)&&(N.preventDefault(),v.submit())},S=N=>{d?.(N),!(N.defaultPrevented||!P)&&v.resetFields()};return c.jsx(Co.Provider,{value:v,children:c.jsx("form",{className:j("space-y-4",y,t,r),style:L(p,g),onReset:S,onSubmit:C,...b})})}function Wi(e){const{children:t,className:r,class:n,controlClassName:o,controlStyle:s,dependencies:i=[],extra:a,getValueFromEvent:l,getValueProps:d,help:f,initialValue:h,label:p,labelClassName:m,labelStyle:b,name:v,noStyle:x=!1,preserve:y=!0,required:g,rules:w=[],sx:P,style:C,trigger:S,validateFirst:N=!1,validateStatus:q,validateTrigger:k="onChange",valuePropName:T,...E}=e,R=Hi(),A=se(),{sxClassName:_,sxInlineStyle:O}=X(P,A),I=So(void 0,R),$=v===void 0?void 0:Qe(v),M=v===void 0?void 0:R.getFieldValue(v),U=J0(v??"__FORM_ITEM__",R),D=u.isValidElement(t)&&typeof t.type!="string"?t:null,G=Z0(D),me=T??G.valuePropName,te=S??G.trigger,J=w.some(ue=>ue.required),H=u.useMemo(()=>g&&!J?[{required:!0},...w]:w,[J,g,w]),Y=u.useMemo(()=>JSON.stringify(i.map(Qe)),[i]),B=u.useRef(H);B.current=H,u.useEffect(()=>{if(v===void 0)return;h!==void 0&&R.getFieldValue(v)===void 0&&R.__INTERNAL__.setFieldValue(v,h,{source:"external"});const ue=R.__INTERNAL__.registerField({dependencies:i,name:v,rules:B.current,validateFirst:N,validateTrigger:k});return()=>ue({preserve:y})},[Y,R,h,v,$,y,N,k]);const Q={form:R,meta:U,value:M,values:I},z=()=>{if(typeof t=="function")return t(Q);if(!D||v===void 0)return t;const ue=D.props,pe=d?d(M):G.skipValueProp?{}:{[me]:rw(M,G,me)};ue.name===void 0&&(pe.name=V0(v)),pe[te]=_l(ue[te],(...ve)=>{const ie=l?l(...ve):ew(me,ve);R.__INTERNAL__.setFieldValue(v,ie,{source:"internal",touched:!0,trigger:te})});for(const ve of tw(k))ve!==te&&(pe[ve]=_l(pe[ve]??ue[ve],()=>{R.__INTERNAL__.validateFields([v],{trigger:ve}).catch(()=>{})}));return u.cloneElement(D,pe)},K=U.errors,W=f??K[0],Z=q??(U.validating?"validating":K.length>0?"error":void 0),ae=c.jsxs(c.Fragment,{children:[p!==void 0?c.jsxs("div",{className:j("text-sm font-medium leading-5 text-slate-700",m),style:b,children:[p,g||J?c.jsx("span",{className:"ml-1 text-red-500","aria-hidden":"true",children:"*"}):null]}):null,c.jsx("div",{className:o,style:s,children:z()}),W!==void 0?c.jsx("div",{className:j("text-xs leading-5",Z==="error"?"text-red-600":"text-slate-500"),"aria-live":Z==="error"?"polite":void 0,role:Z==="error"?"alert":void 0,children:W}):null,a!==void 0?c.jsx("div",{className:"text-xs leading-5 text-slate-500",children:a}):null]});return x?ae:c.jsx("div",{className:j("space-y-2",Z==="error"&&"[&_input]:border-red-500",_,r,n),style:L(C,O),...E,children:ae})}Wi.displayName="FormItem";const Pf=Object.assign(nw,{Item:Wi,useForm:zi,useFormInstance:Hi,useFormValue:So,useFormWatch:wf});Pf.displayName="Form";function ow(e){const{accept:t,multiple:r=!1,name:n,disabled:o=!1,onChange:s}=e,i=u.useRef(null);return c.jsxs("div",{className:"inline-flex items-center gap-3",children:[c.jsx("input",{ref:i,hidden:!0,type:"file",accept:t,multiple:r,name:n,disabled:o,onChange:a=>s?.(a.target.files)}),c.jsx(Qr,{type:"button",disabled:o,onClick:()=>i.current?.click(),children:"选择文件"})]})}function Il(e,[t,r]){return Math.min(r,Math.max(t,e))}var sw=[" ","Enter","ArrowUp","ArrowDown"],iw=[" ","Enter"],Jt="Select",[No,qo,aw]=Yd(Jt),[Nr]=rt(Jt,[aw,Cr]),ko=Cr(),[lw,$t]=Nr(Jt),[cw,uw]=Nr(Jt),Cf=e=>{const{__scopeSelect:t,children:r,open:n,defaultOpen:o,onOpenChange:s,value:i,defaultValue:a,onValueChange:l,dir:d,name:f,autoComplete:h,disabled:p,required:m,form:b}=e,v=ko(t),[x,y]=u.useState(null),[g,w]=u.useState(null),[P,C]=u.useState(!1),S=yo(d),[N,q]=yt({prop:n,defaultProp:o??!1,onChange:s,caller:Jt}),[k,T]=yt({prop:i,defaultProp:a,onChange:l,caller:Jt}),E=u.useRef(null),R=x?b||!!x.closest("form"):!0,[A,_]=u.useState(new Set),O=Array.from(A).map(I=>I.props.value).join(";");return c.jsx(ji,{...v,children:c.jsxs(lw,{required:m,scope:t,trigger:x,onTriggerChange:y,valueNode:g,onValueNodeChange:w,valueNodeHasChildren:P,onValueNodeHasChildrenChange:C,contentId:tr(),value:k,onValueChange:T,open:N,onOpenChange:q,dir:S,triggerPointerDownPosRef:E,disabled:p,children:[c.jsx(No.Provider,{scope:t,children:c.jsx(cw,{scope:e.__scopeSelect,onNativeOptionAdd:u.useCallback(I=>{_($=>new Set($).add(I))},[]),onNativeOptionRemove:u.useCallback(I=>{_($=>{const M=new Set($);return M.delete(I),M})},[]),children:r})}),R?c.jsxs(Uf,{"aria-hidden":!0,required:m,tabIndex:-1,name:f,autoComplete:h,value:k,onChange:I=>T(I.target.value),disabled:p,form:b,children:[k===void 0?c.jsx("option",{value:""}):null,Array.from(A)]},O):null]})})};Cf.displayName=Jt;var Sf="SelectTrigger",Nf=u.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...o}=e,s=ko(r),i=$t(Sf,r),a=i.disabled||n,l=ke(t,i.onTriggerChange),d=qo(r),f=u.useRef("touch"),[h,p,m]=Xf(v=>{const x=d().filter(w=>!w.disabled),y=x.find(w=>w.value===i.value),g=Jf(x,v,y);g!==void 0&&i.onValueChange(g.value)}),b=v=>{a||(i.onOpenChange(!0),m()),v&&(i.triggerPointerDownPosRef.current={x:Math.round(v.pageX),y:Math.round(v.pageY)})};return c.jsx(lo,{asChild:!0,...s,children:c.jsx(be.button,{type:"button",role:"combobox","aria-controls":i.contentId,"aria-expanded":i.open,"aria-required":i.required,"aria-autocomplete":"none",dir:i.dir,"data-state":i.open?"open":"closed",disabled:a,"data-disabled":a?"":void 0,"data-placeholder":Yf(i.value)?"":void 0,...o,ref:l,onClick:ce(o.onClick,v=>{v.currentTarget.focus(),f.current!=="mouse"&&b(v)}),onPointerDown:ce(o.onPointerDown,v=>{f.current=v.pointerType;const x=v.target;x.hasPointerCapture(v.pointerId)&&x.releasePointerCapture(v.pointerId),v.button===0&&v.ctrlKey===!1&&v.pointerType==="mouse"&&(b(v),v.preventDefault())}),onKeyDown:ce(o.onKeyDown,v=>{const x=h.current!=="";!(v.ctrlKey||v.altKey||v.metaKey)&&v.key.length===1&&p(v.key),!(x&&v.key===" ")&&sw.includes(v.key)&&(b(),v.preventDefault())})})})});Nf.displayName=Sf;var qf="SelectValue",kf=u.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,children:s,placeholder:i="",...a}=e,l=$t(qf,r),{onValueNodeHasChildrenChange:d}=l,f=s!==void 0,h=ke(t,l.onValueNodeChange);return De(()=>{d(f)},[d,f]),c.jsx(be.span,{...a,ref:h,style:{pointerEvents:"none"},children:Yf(l.value)?c.jsx(c.Fragment,{children:i}):s})});kf.displayName=qf;var dw="SelectIcon",Ef=u.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...o}=e;return c.jsx(be.span,{"aria-hidden":!0,...o,ref:t,children:n||"▼"})});Ef.displayName=dw;var fw="SelectPortal",Rf=e=>c.jsx(co,{asChild:!0,...e});Rf.displayName=fw;var Qt="SelectContent",jf=u.forwardRef((e,t)=>{const r=$t(Qt,e.__scopeSelect),[n,o]=u.useState();if(De(()=>{o(new DocumentFragment)},[]),!r.open){const s=n;return s?Yr.createPortal(c.jsx(Tf,{scope:e.__scopeSelect,children:c.jsx(No.Slot,{scope:e.__scopeSelect,children:c.jsx("div",{children:e.children})})}),s):null}return c.jsx(Af,{...e,ref:t})});jf.displayName=Qt;var Ze=10,[Tf,Vt]=Nr(Qt),hw="SelectContentImpl",mw=zr("SelectContent.RemoveScroll"),Af=u.forwardRef((e,t)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:s,onPointerDownOutside:i,side:a,sideOffset:l,align:d,alignOffset:f,arrowPadding:h,collisionBoundary:p,collisionPadding:m,sticky:b,hideWhenDetached:v,avoidCollisions:x,...y}=e,g=$t(Qt,r),[w,P]=u.useState(null),[C,S]=u.useState(null),N=ke(t,B=>P(B)),[q,k]=u.useState(null),[T,E]=u.useState(null),R=qo(r),[A,_]=u.useState(!1),O=u.useRef(!1);u.useEffect(()=>{if(w)return Wu(w)},[w]),wu();const I=u.useCallback(B=>{const[Q,...z]=R().map(Z=>Z.ref.current),[K]=z.slice(-1),W=document.activeElement;for(const Z of B)if(Z===W||(Z?.scrollIntoView({block:"nearest"}),Z===Q&&C&&(C.scrollTop=0),Z===K&&C&&(C.scrollTop=C.scrollHeight),Z?.focus(),document.activeElement!==W))return},[R,C]),$=u.useCallback(()=>I([q,w]),[I,q,w]);u.useEffect(()=>{A&&$()},[A,$]);const{onOpenChange:M,triggerPointerDownPosRef:U}=g;u.useEffect(()=>{if(w){let B={x:0,y:0};const Q=K=>{B={x:Math.abs(Math.round(K.pageX)-(U.current?.x??0)),y:Math.abs(Math.round(K.pageY)-(U.current?.y??0))}},z=K=>{B.x<=10&&B.y<=10?K.preventDefault():w.contains(K.target)||M(!1),document.removeEventListener("pointermove",Q),U.current=null};return U.current!==null&&(document.addEventListener("pointermove",Q),document.addEventListener("pointerup",z,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Q),document.removeEventListener("pointerup",z,{capture:!0})}}},[w,M,U]),u.useEffect(()=>{const B=()=>M(!1);return window.addEventListener("blur",B),window.addEventListener("resize",B),()=>{window.removeEventListener("blur",B),window.removeEventListener("resize",B)}},[M]);const[D,G]=Xf(B=>{const Q=R().filter(W=>!W.disabled),z=Q.find(W=>W.ref.current===document.activeElement),K=Jf(Q,B,z);K&&setTimeout(()=>K.ref.current.focus())}),me=u.useCallback((B,Q,z)=>{const K=!O.current&&!z;(g.value!==void 0&&g.value===Q||K)&&(k(B),K&&(O.current=!0))},[g.value]),te=u.useCallback(()=>w?.focus(),[w]),J=u.useCallback((B,Q,z)=>{const K=!O.current&&!z;(g.value!==void 0&&g.value===Q||K)&&E(B)},[g.value]),H=n==="popper"?Xs:_f,Y=H===Xs?{side:a,sideOffset:l,align:d,alignOffset:f,arrowPadding:h,collisionBoundary:p,collisionPadding:m,sticky:b,hideWhenDetached:v,avoidCollisions:x}:{};return c.jsx(Tf,{scope:r,content:w,viewport:C,onViewportChange:S,itemRefCallback:me,selectedItem:q,onItemLeave:te,itemTextRefCallback:J,focusSelectedItem:$,selectedItemText:T,position:n,isPositioned:A,searchRef:D,children:c.jsx(_i,{as:mw,allowPinchZoom:!0,children:c.jsx(wi,{asChild:!0,trapped:g.open,onMountAutoFocus:B=>{B.preventDefault()},onUnmountAutoFocus:ce(o,B=>{g.trigger?.focus({preventScroll:!0}),B.preventDefault()}),children:c.jsx(ro,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:B=>B.preventDefault(),onDismiss:()=>g.onOpenChange(!1),children:c.jsx(H,{role:"listbox",id:g.contentId,"data-state":g.open?"open":"closed",dir:g.dir,onContextMenu:B=>B.preventDefault(),...y,...Y,onPlaced:()=>_(!0),ref:N,style:{display:"flex",flexDirection:"column",outline:"none",...y.style},onKeyDown:ce(y.onKeyDown,B=>{const Q=B.ctrlKey||B.altKey||B.metaKey;if(B.key==="Tab"&&B.preventDefault(),!Q&&B.key.length===1&&G(B.key),["ArrowUp","ArrowDown","Home","End"].includes(B.key)){let K=R().filter(W=>!W.disabled).map(W=>W.ref.current);if(["ArrowUp","End"].includes(B.key)&&(K=K.slice().reverse()),["ArrowUp","ArrowDown"].includes(B.key)){const W=B.target,Z=K.indexOf(W);K=K.slice(Z+1)}setTimeout(()=>I(K)),B.preventDefault()}})})})})})})});Af.displayName=hw;var pw="SelectItemAlignedPosition",_f=u.forwardRef((e,t)=>{const{__scopeSelect:r,onPlaced:n,...o}=e,s=$t(Qt,r),i=Vt(Qt,r),[a,l]=u.useState(null),[d,f]=u.useState(null),h=ke(t,N=>f(N)),p=qo(r),m=u.useRef(!1),b=u.useRef(!0),{viewport:v,selectedItem:x,selectedItemText:y,focusSelectedItem:g}=i,w=u.useCallback(()=>{if(s.trigger&&s.valueNode&&a&&d&&v&&x&&y){const N=s.trigger.getBoundingClientRect(),q=d.getBoundingClientRect(),k=s.valueNode.getBoundingClientRect(),T=y.getBoundingClientRect();if(s.dir!=="rtl"){const W=T.left-q.left,Z=k.left-W,ae=N.left-Z,ue=N.width+ae,pe=Math.max(ue,q.width),ve=window.innerWidth-Ze,ie=Il(Z,[Ze,Math.max(Ze,ve-pe)]);a.style.minWidth=ue+"px",a.style.left=ie+"px"}else{const W=q.right-T.right,Z=window.innerWidth-k.right-W,ae=window.innerWidth-N.right-Z,ue=N.width+ae,pe=Math.max(ue,q.width),ve=window.innerWidth-Ze,ie=Il(Z,[Ze,Math.max(Ze,ve-pe)]);a.style.minWidth=ue+"px",a.style.right=ie+"px"}const E=p(),R=window.innerHeight-Ze*2,A=v.scrollHeight,_=window.getComputedStyle(d),O=parseInt(_.borderTopWidth,10),I=parseInt(_.paddingTop,10),$=parseInt(_.borderBottomWidth,10),M=parseInt(_.paddingBottom,10),U=O+I+A+M+$,D=Math.min(x.offsetHeight*5,U),G=window.getComputedStyle(v),me=parseInt(G.paddingTop,10),te=parseInt(G.paddingBottom,10),J=N.top+N.height/2-Ze,H=R-J,Y=x.offsetHeight/2,B=x.offsetTop+Y,Q=O+I+B,z=U-Q;if(Q<=J){const W=E.length>0&&x===E[E.length-1].ref.current;a.style.bottom="0px";const Z=d.clientHeight-v.offsetTop-v.offsetHeight,ae=Math.max(H,Y+(W?te:0)+Z+$),ue=Q+ae;a.style.height=ue+"px"}else{const W=E.length>0&&x===E[0].ref.current;a.style.top="0px";const ae=Math.max(J,O+v.offsetTop+(W?me:0)+Y)+z;a.style.height=ae+"px",v.scrollTop=Q-J+v.offsetTop}a.style.margin=`${Ze}px 0`,a.style.minHeight=D+"px",a.style.maxHeight=R+"px",n?.(),requestAnimationFrame(()=>m.current=!0)}},[p,s.trigger,s.valueNode,a,d,v,x,y,s.dir,n]);De(()=>w(),[w]);const[P,C]=u.useState();De(()=>{d&&C(window.getComputedStyle(d).zIndex)},[d]);const S=u.useCallback(N=>{N&&b.current===!0&&(w(),g?.(),b.current=!1)},[w,g]);return c.jsx(gw,{scope:r,contentWrapper:a,shouldExpandOnScrollRef:m,onScrollButtonChange:S,children:c.jsx("div",{ref:l,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:P},children:c.jsx(be.div,{...o,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});_f.displayName=pw;var vw="SelectPopperPosition",Xs=u.forwardRef((e,t)=>{const{__scopeSelect:r,align:n="start",collisionPadding:o=Ze,...s}=e,i=ko(r);return c.jsx(Ti,{...i,...s,ref:t,align:n,collisionPadding:o,style:{boxSizing:"border-box",...s.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Xs.displayName=vw;var[gw,Gi]=Nr(Qt,{}),Js="SelectViewport",If=u.forwardRef((e,t)=>{const{__scopeSelect:r,nonce:n,...o}=e,s=Vt(Js,r),i=Gi(Js,r),a=ke(t,s.onViewportChange),l=u.useRef(0);return c.jsxs(c.Fragment,{children:[c.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:n}),c.jsx(No.Slot,{scope:r,children:c.jsx(be.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:a,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:ce(o.onScroll,d=>{const f=d.currentTarget,{contentWrapper:h,shouldExpandOnScrollRef:p}=i;if(p?.current&&h){const m=Math.abs(l.current-f.scrollTop);if(m>0){const b=window.innerHeight-Ze*2,v=parseFloat(h.style.minHeight),x=parseFloat(h.style.height),y=Math.max(v,x);if(y<b){const g=y+m,w=Math.min(b,g),P=g-w;h.style.height=w+"px",h.style.bottom==="0px"&&(f.scrollTop=P>0?P:0,h.style.justifyContent="flex-end")}}}l.current=f.scrollTop})})})]})});If.displayName=Js;var Of="SelectGroup",[bw,xw]=Nr(Of),Mf=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=tr();return c.jsx(bw,{scope:r,id:o,children:c.jsx(be.div,{role:"group","aria-labelledby":o,...n,ref:t})})});Mf.displayName=Of;var Lf="SelectLabel",Df=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=xw(Lf,r);return c.jsx(be.div,{id:o.id,...n,ref:t})});Df.displayName=Lf;var Un="SelectItem",[yw,Bf]=Nr(Un),Ff=u.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:s,...i}=e,a=$t(Un,r),l=Vt(Un,r),d=a.value===n,[f,h]=u.useState(s??""),[p,m]=u.useState(!1),b=ke(t,g=>l.itemRefCallback?.(g,n,o)),v=tr(),x=u.useRef("touch"),y=()=>{o||(a.onValueChange(n),a.onOpenChange(!1))};if(n==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return c.jsx(yw,{scope:r,value:n,disabled:o,textId:v,isSelected:d,onItemTextChange:u.useCallback(g=>{h(w=>w||(g?.textContent??"").trim())},[]),children:c.jsx(No.ItemSlot,{scope:r,value:n,disabled:o,textValue:f,children:c.jsx(be.div,{role:"option","aria-labelledby":v,"data-highlighted":p?"":void 0,"aria-selected":d&&p,"data-state":d?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...i,ref:b,onFocus:ce(i.onFocus,()=>m(!0)),onBlur:ce(i.onBlur,()=>m(!1)),onClick:ce(i.onClick,()=>{x.current!=="mouse"&&y()}),onPointerUp:ce(i.onPointerUp,()=>{x.current==="mouse"&&y()}),onPointerDown:ce(i.onPointerDown,g=>{x.current=g.pointerType}),onPointerMove:ce(i.onPointerMove,g=>{x.current=g.pointerType,o?l.onItemLeave?.():x.current==="mouse"&&g.currentTarget.focus({preventScroll:!0})}),onPointerLeave:ce(i.onPointerLeave,g=>{g.currentTarget===document.activeElement&&l.onItemLeave?.()}),onKeyDown:ce(i.onKeyDown,g=>{l.searchRef?.current!==""&&g.key===" "||(iw.includes(g.key)&&y(),g.key===" "&&g.preventDefault())})})})})});Ff.displayName=Un;var Lr="SelectItemText",$f=u.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,...s}=e,i=$t(Lr,r),a=Vt(Lr,r),l=Bf(Lr,r),d=uw(Lr,r),[f,h]=u.useState(null),p=ke(t,y=>h(y),l.onItemTextChange,y=>a.itemTextRefCallback?.(y,l.value,l.disabled)),m=f?.textContent,b=u.useMemo(()=>c.jsx("option",{value:l.value,disabled:l.disabled,children:m},l.value),[l.disabled,l.value,m]),{onNativeOptionAdd:v,onNativeOptionRemove:x}=d;return De(()=>(v(b),()=>x(b)),[v,x,b]),c.jsxs(c.Fragment,{children:[c.jsx(be.span,{id:l.textId,...s,ref:p}),l.isSelected&&i.valueNode&&!i.valueNodeHasChildren?Yr.createPortal(s.children,i.valueNode):null]})});$f.displayName=Lr;var Vf="SelectItemIndicator",zf=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return Bf(Vf,r).isSelected?c.jsx(be.span,{"aria-hidden":!0,...n,ref:t}):null});zf.displayName=Vf;var Qs="SelectScrollUpButton",Hf=u.forwardRef((e,t)=>{const r=Vt(Qs,e.__scopeSelect),n=Gi(Qs,e.__scopeSelect),[o,s]=u.useState(!1),i=ke(t,n.onScrollButtonChange);return De(()=>{if(r.viewport&&r.isPositioned){let a=function(){const d=l.scrollTop>0;s(d)};const l=r.viewport;return a(),l.addEventListener("scroll",a),()=>l.removeEventListener("scroll",a)}},[r.viewport,r.isPositioned]),o?c.jsx(Gf,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:l}=r;a&&l&&(a.scrollTop=a.scrollTop-l.offsetHeight)}}):null});Hf.displayName=Qs;var Zs="SelectScrollDownButton",Wf=u.forwardRef((e,t)=>{const r=Vt(Zs,e.__scopeSelect),n=Gi(Zs,e.__scopeSelect),[o,s]=u.useState(!1),i=ke(t,n.onScrollButtonChange);return De(()=>{if(r.viewport&&r.isPositioned){let a=function(){const d=l.scrollHeight-l.clientHeight,f=Math.ceil(l.scrollTop)<d;s(f)};const l=r.viewport;return a(),l.addEventListener("scroll",a),()=>l.removeEventListener("scroll",a)}},[r.viewport,r.isPositioned]),o?c.jsx(Gf,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:l}=r;a&&l&&(a.scrollTop=a.scrollTop+l.offsetHeight)}}):null});Wf.displayName=Zs;var Gf=u.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=e,s=Vt("SelectScrollButton",r),i=u.useRef(null),a=qo(r),l=u.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return u.useEffect(()=>()=>l(),[l]),De(()=>{a().find(f=>f.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[a]),c.jsx(be.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:ce(o.onPointerDown,()=>{i.current===null&&(i.current=window.setInterval(n,50))}),onPointerMove:ce(o.onPointerMove,()=>{s.onItemLeave?.(),i.current===null&&(i.current=window.setInterval(n,50))}),onPointerLeave:ce(o.onPointerLeave,()=>{l()})})}),ww="SelectSeparator",Kf=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return c.jsx(be.div,{"aria-hidden":!0,...n,ref:t})});Kf.displayName=ww;var ei="SelectArrow",Pw=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=ko(r),s=$t(ei,r),i=Vt(ei,r);return s.open&&i.position==="popper"?c.jsx(Ai,{...o,...n,ref:t}):null});Pw.displayName=ei;var Cw="SelectBubbleInput",Uf=u.forwardRef(({__scopeSelect:e,value:t,...r},n)=>{const o=u.useRef(null),s=ke(n,o),i=po(t);return u.useEffect(()=>{const a=o.current;if(!a)return;const l=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(l,"value").set;if(i!==t&&f){const h=new Event("change",{bubbles:!0});f.call(a,t),a.dispatchEvent(h)}},[i,t]),c.jsx(be.select,{...r,style:{...md,...r.style},ref:s,defaultValue:t})});Uf.displayName=Cw;function Yf(e){return e===""||e===void 0}function Xf(e){const t=gt(e),r=u.useRef(""),n=u.useRef(0),o=u.useCallback(i=>{const a=r.current+i;t(a),(function l(d){r.current=d,window.clearTimeout(n.current),d!==""&&(n.current=window.setTimeout(()=>l(""),1e3))})(a)},[t]),s=u.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return u.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,s]}function Jf(e,t,r){const o=t.length>1&&Array.from(t).every(d=>d===t[0])?t[0]:t,s=r?e.indexOf(r):-1;let i=Sw(e,Math.max(s,0));o.length===1&&(i=i.filter(d=>d!==r));const l=i.find(d=>d.textValue.toLowerCase().startsWith(o.toLowerCase()));return l!==r?l:void 0}function Sw(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var Nw=Cf,qw=Nf,kw=kf,Ew=Ef,Rw=Rf,jw=jf,Tw=If,Aw=Mf,_w=Df,Iw=Ff,Ow=$f,Mw=zf,Lw=Hf,Dw=Wf,Bw=Kf;const Ol="data-scroll-locked",Qf=u.createContext({lockScroll:!1});function Fw(e,t){(typeof window>"u"?u.useEffect:u.useLayoutEffect)(e,t)}function Ml(){return document.querySelector('[role="listbox"][data-state="open"][data-ldkj-select-lock-scroll="false"]')!==null}function $w(e){Fw(()=>{if(!e||typeof document>"u")return;const t=document.body,r=()=>{Ml()&&t.removeAttribute(Ol)},n=a=>{Ml()&&a.stopImmediatePropagation()},o=typeof MutationObserver>"u"?null:new MutationObserver(r),s={passive:!1},i=window.setTimeout(r,0);return o?.observe(t,{attributes:!0,attributeFilter:[Ol]}),document.addEventListener("wheel",n,s),document.addEventListener("touchmove",n,s),r(),()=>{window.clearTimeout(i),o?.disconnect(),document.removeEventListener("wheel",n),document.removeEventListener("touchmove",n)}},[e])}function Zf(e){const{lockScroll:t=!1,...r}=e;return $w(!t),c.jsx(Qf.Provider,{value:{lockScroll:t},children:c.jsx(Nw,{...r})})}Zf.displayName="Select";const eh=Aw,Vw=kw;function zw(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M3.5 8.5L6.5 11.5L12.5 4.5",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round"})})}function th(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M4 6L8 10L12 6",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function Hw(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M4 10L8 6L12 10",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function rr(e){const t=se();return X(e,t)}const rh=u.forwardRef((e,t)=>{const{className:r,class:n,children:o,sx:s,style:i,...a}=e,{sxClassName:l,sxInlineStyle:d}=rr(s);return c.jsxs(qw,{ref:t,className:j("flex h-9 w-full items-center justify-between gap-2 rounded-md border border-solid border-slate-300 bg-white px-3 py-2 text-sm text-slate-900 shadow-sm transition-colors","placeholder:text-slate-400 data-[placeholder]:text-slate-400","focus-visible:border-blue-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30","disabled:cursor-not-allowed disabled:bg-slate-50 disabled:text-slate-500 disabled:opacity-70","[&>span]:min-w-0 [&>span]:truncate",l,r,n),style:L(i,d),...a,children:[o,c.jsx(Ew,{asChild:!0,children:c.jsx(th,{className:"h-4 w-4 shrink-0 text-slate-500"})})]})});rh.displayName="SelectTrigger";const Ki=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=rr(o);return c.jsx(Lw,{ref:t,className:j("flex cursor-default items-center justify-center py-1 text-slate-500",a,r,n),style:L(s,l),...i,children:c.jsx(Hw,{className:"h-4 w-4"})})});Ki.displayName="SelectScrollUpButton";const Ui=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=rr(o);return c.jsx(Dw,{ref:t,className:j("flex cursor-default items-center justify-center py-1 text-slate-500",a,r,n),style:L(s,l),...i,children:c.jsx(th,{className:"h-4 w-4"})})});Ui.displayName="SelectScrollDownButton";const nh=u.forwardRef((e,t)=>{const{className:r,class:n,children:o,position:s="popper",sx:i,style:a,...l}=e,{sxClassName:d,sxInlineStyle:f}=rr(i),{lockScroll:h}=u.useContext(Qf);return c.jsx(Rw,{children:c.jsxs(jw,{ref:t,className:j("relative z-50 max-h-[var(--radix-select-content-available-height)] min-w-32 overflow-hidden rounded-md border border-solid border-slate-200 bg-white text-slate-900 shadow-lg","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","origin-[var(--radix-select-content-transform-origin)]",s==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",d,r,n),style:L(a,f),position:s,"data-ldkj-select-lock-scroll":h?"true":"false",...l,children:[c.jsx(Ki,{}),c.jsx(Tw,{className:j("p-1",s==="popper"&&"w-full min-w-[var(--radix-select-trigger-width)]"),children:o}),c.jsx(Ui,{})]})})});nh.displayName="SelectContent";const Yi=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=rr(o);return c.jsx(_w,{ref:t,className:j("px-2 py-1.5 text-xs font-medium text-slate-500",a,r,n),style:L(s,l),...i})});Yi.displayName="SelectLabel";const Yn=u.forwardRef((e,t)=>{const{className:r,class:n,children:o,sx:s,style:i,...a}=e,{sxClassName:l,sxInlineStyle:d}=rr(s);return c.jsxs(Iw,{ref:t,className:j("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm leading-5 text-slate-700 outline-none transition-colors","focus:bg-blue-50 focus:text-blue-700","data-[disabled]:pointer-events-none data-[disabled]:text-slate-400 data-[disabled]:opacity-70",l,r,n),style:L(i,d),...a,children:[c.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center text-blue-600",children:c.jsx(Mw,{children:c.jsx(zw,{className:"h-4 w-4"})})}),c.jsx(Ow,{children:o})]})});Yn.displayName="SelectItem";const Xi=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=rr(o);return c.jsx(Bw,{ref:t,className:j("-mx-1 my-1 h-px bg-slate-200",a,r,n),style:L(s,l),...i})});Xi.displayName="SelectSeparator";function Ww(e){return"options"in e}function Gw(e){const{options:t,itemProps:r,labelProps:n,separatorProps:o}=e;return c.jsx(c.Fragment,{children:t.map((s,i)=>Ww(s)?c.jsxs(eh,{children:[s.label?c.jsx(Yi,{...n,children:s.label}):null,s.options.map(a=>c.jsx(Yn,{...r,value:a.value,disabled:a.disabled,textValue:a.textValue,className:j(r?.className,a.className),class:j(r?.class,a.class),style:L(r?.style,a.style),sx:[r?.sx,a.sx],children:a.label},a.value)),s.separator?c.jsx(Xi,{...o}):null]},`group-${i}`):c.jsx(Yn,{...r,value:s.value,disabled:s.disabled,textValue:s.textValue,className:j(r?.className,s.className),class:j(r?.class,s.class),style:L(r?.style,s.style),sx:[r?.sx,s.sx],children:s.label},s.value))})}var Eo="Switch",[Kw]=rt(Eo),[Uw,Yw]=Kw(Eo),oh=u.forwardRef((e,t)=>{const{__scopeSwitch:r,name:n,checked:o,defaultChecked:s,required:i,disabled:a,value:l="on",onCheckedChange:d,form:f,...h}=e,[p,m]=u.useState(null),b=ke(t,w=>m(w)),v=u.useRef(!1),x=p?f||!!p.closest("form"):!0,[y,g]=yt({prop:o,defaultProp:s??!1,onChange:d,caller:Eo});return c.jsxs(Uw,{scope:r,checked:y,disabled:a,children:[c.jsx(be.button,{type:"button",role:"switch","aria-checked":y,"aria-required":i,"data-state":lh(y),"data-disabled":a?"":void 0,disabled:a,value:l,...h,ref:b,onClick:ce(e.onClick,w=>{g(P=>!P),x&&(v.current=w.isPropagationStopped(),v.current||w.stopPropagation())})}),x&&c.jsx(ah,{control:p,bubbles:!v.current,name:n,value:l,checked:y,required:i,disabled:a,form:f,style:{transform:"translateX(-100%)"}})]})});oh.displayName=Eo;var sh="SwitchThumb",ih=u.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,o=Yw(sh,r);return c.jsx(be.span,{"data-state":lh(o.checked),"data-disabled":o.disabled?"":void 0,...n,ref:t})});ih.displayName=sh;var Xw="SwitchBubbleInput",ah=u.forwardRef(({__scopeSwitch:e,control:t,checked:r,bubbles:n=!0,...o},s)=>{const i=u.useRef(null),a=ke(i,s),l=po(r),d=ao(t);return u.useEffect(()=>{const f=i.current;if(!f)return;const h=window.HTMLInputElement.prototype,m=Object.getOwnPropertyDescriptor(h,"checked").set;if(l!==r&&m){const b=new Event("click",{bubbles:n});m.call(f,r),f.dispatchEvent(b)}},[l,r,n]),c.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...o,tabIndex:-1,ref:a,style:{...o.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});ah.displayName=Xw;function lh(e){return e?"checked":"unchecked"}var Jw=oh,Qw=ih;const Zw={sm:"h-5 w-9",md:"h-6 w-11",lg:"h-7 w-[52px]"},eP={sm:"h-4 w-4 data-[state=checked]:translate-x-4",md:"h-5 w-5 data-[state=checked]:translate-x-5",lg:"h-6 w-6 data-[state=checked]:translate-x-6"},ch=u.forwardRef((e,t)=>{const{className:r,class:n,containerClass:o,containerClassName:s,containerStyle:i,containerSx:a,description:l,disabled:d,id:f,label:h,labelPosition:p="right",size:m="md",style:b,sx:v,"aria-describedby":x,...y}=e,g=se(),{sxClassName:w,sxInlineStyle:P}=X(v,g),{sxClassName:C,sxInlineStyle:S}=X(a,g),N=u.useId(),q=f??`ldkj-switch-${N}`,k=l===void 0?void 0:`${q}-description`,T=[x,k].filter(Boolean).join(" ")||void 0,E=c.jsx(Jw,{ref:t,id:q,disabled:d,"aria-describedby":T,className:j("peer inline-flex shrink-0 cursor-pointer items-center rounded-full border border-transparent bg-slate-300 p-0.5 transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50","data-[state=checked]:bg-blue-600 data-[state=unchecked]:bg-slate-300",Zw[m],w,r,n),style:L(b,P),...y,children:c.jsx(Qw,{className:j("pointer-events-none block rounded-full bg-white shadow-sm ring-0 transition-transform","data-[state=unchecked]:translate-x-0",eP[m])})});if(h===void 0&&l===void 0)return E;const R=c.jsxs("span",{className:"flex min-w-0 flex-col gap-0.5",children:[h!==void 0?c.jsx(Ks,{htmlFor:q,className:j("text-sm font-medium leading-5 text-slate-700",d?"cursor-not-allowed opacity-60":"cursor-pointer"),children:h}):null,l!==void 0?c.jsx("span",{id:k,className:"text-xs leading-5 text-slate-500",children:l}):null]});return c.jsxs("div",{className:j("inline-flex w-fit items-center gap-3",d?"cursor-not-allowed":void 0,C,s,o),style:L(i,S),children:[p==="left"?R:null,E,p==="right"?R:null]})});ch.displayName="Switch";function Xn(e){const{value:t,defaultValue:r,onChange:n}=e,[o,s]=u.useState(r),i=t!==void 0,a=i?t:o,l=u.useCallback(d=>{i||s(d),n?.(d)},[i,n]);return[a,l,i]}function uh(e){const t=se();return X(e,t)}function tP(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function ti(e){return e==="center"?"justify-center text-center":e==="right"?"justify-end text-right":"justify-start text-left"}function rP(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M4 6L8 10L12 6",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function nP(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M6 4L10 8L6 12",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function oP(e){return c.jsxs("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:[c.jsx("path",{d:"M4.5 4.5L11.5 11.5",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"}),c.jsx("path",{d:"M11.5 4.5L4.5 11.5",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"})]})}function Ll(){return c.jsx("span",{className:"inline-block h-3.5 w-3.5 animate-spin rounded-full border-2 border-slate-300 border-t-blue-600","aria-hidden":"true"})}function dh(e){const{open:t,title:r,cancelText:n="取消",confirmText:o="确定",confirmDisabled:s=!1,maxHeight:i="76vh",children:a,className:l,class:d,style:f,sx:h,onCancel:p,onConfirm:m,onOpenChange:b}=e,{sxClassName:v,sxInlineStyle:x}=uh(h);if(u.useEffect(()=>{if(!t||typeof document>"u")return;const g=document.body.style.overflow;document.body.style.overflow="hidden";const w=P=>{P.key==="Escape"&&(p?.(),b?.(!1))};return document.addEventListener("keydown",w),()=>{document.body.style.overflow=g,document.removeEventListener("keydown",w)}},[p,b,t]),!t)return null;const y=()=>{p?.(),b?.(!1)};return c.jsxs("div",{className:"fixed inset-0 z-50",children:[c.jsx("button",{type:"button","aria-label":"关闭选择面板",className:"absolute inset-0 h-full w-full cursor-default border-0 bg-black/45 p-0",onClick:y}),c.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":typeof r=="string"?r:"移动端选择面板",className:j("absolute bottom-0 left-0 right-0 flex max-h-[76vh] flex-col overflow-hidden rounded-t-xl bg-white shadow-2xl",v,l,d),style:L({maxHeight:tP(i)},f,x),children:[c.jsxs("div",{className:"flex min-h-12 shrink-0 items-center gap-3 border-b border-slate-200 px-4",children:[r?c.jsx("div",{className:"min-w-0 flex-1 truncate text-left text-sm font-medium text-slate-900",children:r}):c.jsx("div",{className:"min-w-0 flex-1"}),c.jsxs("div",{className:"flex shrink-0 items-center justify-end gap-2",children:[c.jsx("button",{type:"button",className:"rounded-md bg-blue-50 px-3 py-1.5 text-sm font-medium text-blue-600 transition-colors hover:bg-blue-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30",onClick:y,children:n}),c.jsx("button",{type:"button",className:"rounded-md bg-blue-600 px-3 py-1.5 text-sm font-medium text-white transition-colors hover:bg-blue-700 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30 disabled:cursor-not-allowed disabled:bg-blue-200",disabled:s,onClick:m,children:o})]})]}),a]})]})}const Ji=u.forwardRef((e,t)=>{const{open:r=!1,clearable:n=!1,hasValue:o=!1,placeholder:s="请选择",display:i,className:a,class:l,style:d,sx:f,disabled:h,readOnly:p,onClear:m,...b}=e,{sxClassName:v,sxInlineStyle:x}=uh(f);return c.jsxs("span",{className:"relative inline-flex w-full items-stretch",children:[c.jsxs("button",{ref:t,type:"button",className:j("flex h-10 w-full min-w-0 items-center gap-2 rounded-md border border-solid border-slate-300 bg-white px-3 text-left text-sm text-slate-900 shadow-sm transition-colors","focus-visible:border-blue-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30","disabled:cursor-not-allowed disabled:bg-slate-50 disabled:text-slate-500 disabled:opacity-70",p&&"cursor-default",n&&o&&!h&&!p?"pr-16":"pr-9",v,a,l),style:L(d,x),disabled:h,"aria-haspopup":"dialog","aria-expanded":r,"aria-disabled":h||void 0,"aria-readonly":p||void 0,...b,children:[c.jsx("span",{className:j("min-w-0 flex-1 truncate",!o&&"text-slate-400"),children:o?i:s}),c.jsx(rP,{className:"absolute right-3 h-4 w-4 text-slate-500"})]}),n&&o&&!h&&!p?c.jsx("button",{type:"button",className:"absolute right-8 top-1/2 z-10 -translate-y-1/2 rounded p-1 text-slate-400 transition-colors hover:text-slate-600 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30","aria-label":"清除选择",onMouseDown:y=>y.preventDefault(),onClick:y=>{y.preventDefault(),y.stopPropagation(),m?.(y)},children:c.jsx(oP,{className:"h-3.5 w-3.5"})}):null]})});Ji.displayName="MobileTrigger";function fh(e){return"options"in e}function sP(e){return e.map(t=>fh(t)?{type:"group",label:t.label,options:t.options,separator:t.separator}:{type:"plain",option:t})}function iP(e){const t=[];for(const r of e)fh(r)?t.push(...r.options):t.push(r);return t}const hh=u.forwardRef((e,t)=>{const{options:r=[],value:n,defaultValue:o="",onValueChange:s,open:i,defaultOpen:a=!1,onOpenChange:l,placeholder:d="请选择",title:f="请选择",cancelText:h,confirmText:p,clearable:m=!1,readOnly:b=!1,required:v,align:x="left",displayRender:y,renderOption:g,drawerClassName:w,drawerClass:P,drawerStyle:C,drawerSx:S,maxDrawerHeight:N,optionClassName:q,optionClass:k,optionStyle:T,optionSx:E,className:R,class:A,style:_,sx:O,disabled:I=!1,name:$,id:M,autoFocus:U,onClick:D,onFocus:G,onBlur:me,onKeyDown:te,...J}=e,[H,Y,B]=Xn({value:n,defaultValue:o}),[Q,z]=Xn({value:i,defaultValue:a,onChange:l}),[K,W]=u.useState(H),Z=u.useRef(null),ae=se(),ue=u.useMemo(()=>iP(r),[r]),pe=u.useMemo(()=>sP(r),[r]),ve=u.useMemo(()=>ue.find(de=>de.value===H),[ue,H]),ie=u.useMemo(()=>ue.find(de=>de.value===K),[ue,K]),ye=H!==""&&!!ve,Se=ye?y?.(ve)??ve?.label:d;u.useEffect(()=>{Q&&W(H)},[Q,H]);const Ie=u.useCallback((de,Ae)=>{B||Y(de),s?.(de,Ae)},[s,Y,B]),oe=u.useCallback(de=>{I||b||(W(""),Ie("",{reason:"clear",event:de}))},[Ie,I,b]),we=u.useCallback(()=>{if(I||b){z(!1);return}if(!ie){z(!1);return}Ie(ie.value,{reason:"select",option:ie}),z(!1)},[Ie,I,ie,b,z]),Ee=u.useCallback(()=>{I||z(!0)},[I,z]);return u.useImperativeHandle(t,()=>({focus:()=>Z.current?.focus(),blur:()=>Z.current?.blur(),open:Ee,close:()=>z(!1),clear:()=>oe(),getValue:()=>H}),[oe,Ee,H,z]),c.jsxs(c.Fragment,{children:[c.jsx(Ji,{ref:Z,id:M,open:Q,clearable:m,hasValue:ye,placeholder:d,display:Se,className:R,class:A,style:_,sx:O,disabled:I,readOnly:b,autoFocus:U,onClear:oe,onClick:de=>{D?.(de),Ee()},onFocus:G,onBlur:me,onKeyDown:de=>{te?.(de),!I&&((de.key==="ArrowDown"||de.key==="Enter")&&(de.preventDefault(),Ee()),de.key==="Escape"&&(de.preventDefault(),z(!1)))},...J}),c.jsx(dh,{open:Q,title:f,cancelText:h,confirmText:p,confirmDisabled:!ie||!!ie.disabled,maxHeight:N,className:w,class:P,style:C,sx:S,onCancel:()=>W(H),onConfirm:we,onOpenChange:z,children:c.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto px-4 py-2",children:pe.length===0?c.jsx("div",{className:"flex min-h-32 items-center justify-center text-sm text-slate-400",children:"暂无可选项"}):c.jsx("div",{className:"grid gap-1",children:pe.map((de,Ae)=>{if(de.type==="plain"){const fe=de.option,re=K===fe.value,he={active:re,checked:re,disabled:!!fe.disabled},Re=X([E,fe.sx],ae);return c.jsx("button",{type:"button",className:j("flex min-h-10 w-full items-center rounded-md px-3 py-2 text-sm transition-colors",ti(x),re?"bg-blue-600 text-white":"text-slate-800 hover:bg-blue-50 hover:text-blue-700",fe.disabled&&"cursor-not-allowed bg-transparent text-slate-400 opacity-70 hover:bg-transparent hover:text-slate-400",Re.sxClassName,q,k,fe.className,fe.class),style:L(T,Re.sxInlineStyle,fe.style),disabled:I||b||fe.disabled,onClick:_e=>{_e.preventDefault(),W(fe.value)},children:c.jsx("span",{className:"min-w-0 truncate",children:g?g(fe,he):fe.label})},fe.value)}return c.jsxs("div",{className:j(de.separator&&Ae>0&&"border-t border-slate-200 pt-2"),children:[de.label?c.jsx("div",{className:"px-3 py-2 text-xs font-medium text-slate-500",children:de.label}):null,c.jsx("div",{className:"grid gap-1",children:de.options.map(fe=>{const re=K===fe.value,he={active:re,checked:re,disabled:!!fe.disabled},Re=X([E,fe.sx],ae);return c.jsx("button",{type:"button",className:j("flex min-h-10 w-full items-center rounded-md px-3 py-2 text-sm transition-colors",ti(x),re?"bg-blue-600 text-white":"text-slate-800 hover:bg-blue-50 hover:text-blue-700",fe.disabled&&"cursor-not-allowed bg-transparent text-slate-400 opacity-70 hover:bg-transparent hover:text-slate-400",Re.sxClassName,q,k,fe.className,fe.class),style:L(T,Re.sxInlineStyle,fe.style),disabled:I||b||fe.disabled,onClick:_e=>{_e.preventDefault(),W(fe.value)},children:c.jsx("span",{className:"min-w-0 truncate",children:g?g(fe,he):fe.label})},fe.value)})})]},`group-${Ae}`)})})})}),$?c.jsx("input",{type:"hidden",name:$,required:v,value:H}):null]})});hh.displayName="MobileSelect";function jr(e){return Array.isArray(e)?e.filter(t=>t!==""):[]}function aP(e){return Array.isArray(e)?e:[]}function qr(e,t){return e?.[t]??t}function lP(e,t){const r=qr(t,"value");return typeof e[r]=="string"?e[r]:e.value}function cP(e,t){const r=qr(t,"label");return e[r]??e.label??e.value??""}function uP(e,t){const r=qr(t,"children");return aP(e[r])}function dP(e,t){const r=qr(t,"disabled");return!!(e[r]??e.disabled)}function fP(e,t){const r=qr(t,"isLeaf"),n=e[r];return typeof n=="boolean"?n:e.isLeaf}function hP(e,t){const r=qr(t,"loading");return!!(e[r]??e.loading)}function mP(e,t){const r=lP(e,t);if(typeof r!="string"||r.length===0)return null;const n=uP(e,t),o=fP(e,t),s=typeof o=="boolean"?o:n.length===0;return{option:e,value:r,label:cP(e,t),children:n,disabled:dP(e,t),isLeaf:s,loading:hP(e,t)}}function Mn(e,t){const r=[];for(const n of e){const o=mP(n,t);o&&r.push(o)}return r}function Cn(e,t,r){const n=[],o=[];let s=e;for(const i of t){const a=Mn(s,r).find(l=>l.value===i);if(!a)break;n.push(a),o.push(a.label),s=a.children}return{matched:n,labels:o,path:n.map(i=>i.value)}}function pP(e,t,r){const n=[Mn(e,r)];let o=e;for(const s of t){const i=Mn(o,r).find(a=>a.value===s);if(!i||i.children.length===0)break;o=i.children,n.push(Mn(o,r))}return n}function es(e,t){return t.every((r,n)=>e[n]===r)}function vP(e,t){return c.jsx(c.Fragment,{children:e.map((r,n)=>c.jsxs(u.Fragment,{children:[n>0?c.jsx("span",{className:"mx-1 text-slate-400",children:t}):null,c.jsx("span",{className:"min-w-0 truncate",children:r})]},n))})}function gP(e){return`第${e+1}级`}const mh=u.forwardRef((e,t)=>{const{options:r=[],value:n,defaultValue:o=[],onValueChange:s,open:i,defaultOpen:a=!1,onOpenChange:l,placeholder:d="请选择",title:f="请选择",cancelText:h,confirmText:p,separator:m="/",displayRender:b,renderOption:v,fieldNames:x,changeOnSelect:y=!1,clearable:g=!1,readOnly:w=!1,required:P,loadData:C,align:S="left",levelLabels:N,drawerClassName:q,drawerClass:k,drawerStyle:T,drawerSx:E,maxDrawerHeight:R,optionClassName:A,optionClass:_,optionStyle:O,optionSx:I,className:$,class:M,style:U,sx:D,disabled:G=!1,name:me,id:te,autoFocus:J,onClick:H,onFocus:Y,onBlur:B,onKeyDown:Q,...z}=e,K=n===void 0?void 0:jr(n),[W,Z,ae]=Xn({value:K,defaultValue:jr(o)}),[ue,pe]=Xn({value:i,defaultValue:a,onChange:l}),[ve,ie]=u.useState(()=>jr(o)),[ye,Se]=u.useState(0),[Ie,oe]=u.useState(null),we=u.useRef(null),Ee=u.useRef(!0),de=u.useRef(C),Ae=se();u.useEffect(()=>()=>{Ee.current=!1},[]),u.useEffect(()=>{de.current=C},[C]),u.useEffect(()=>{if(ue){const F=jr(W);ie(F),Se(Math.max(F.length-1,0))}},[ue,W]);const fe=u.useMemo(()=>Cn(r,W,x),[x,r,W]),re=fe.matched.map(F=>F.option),he=u.useMemo(()=>Cn(r,ve,x),[x,r,ve]),Re=u.useMemo(()=>pP(r,ve,x),[x,r,ve]),_e=Math.min(ye,Math.max(Re.length-1,0)),Ye=Re[_e]??[],Ve=he.matched[he.matched.length-1],nt=he.path.length===0||!!Ve?.disabled||!y&&!!Ve&&!Ve?.isLeaf&&(Ve?.children.length??0)>0,Ct=u.useMemo(()=>fe.labels.length>0?b?b(fe.labels,re):vP(fe.labels,m):d,[b,d,re,fe.labels,m]),ot=u.useCallback((F,V)=>{const le=Cn(r,jr(F),x);ae||Z(le.path),s?.(le.path,{...V,path:le.path,options:le.matched.map(xe=>xe.option),labels:le.labels})},[x,s,r,Z,ae]),ht=u.useCallback(F=>{G||w||(ie([]),Se(0),ot([],{reason:"clear",event:F}))},[ot,G,w]),st=u.useCallback(()=>{if(G||w){pe(!1);return}nt||(ot(he.path,{reason:"select",option:Ve?.option}),pe(!1))},[ot,nt,G,Ve?.option,he.path,w,pe]),sr=u.useCallback(async(F,V,le)=>{if(G||w||F.disabled)return;const xe=[...ve.slice(0,V),F.value],Ce=F.children.length>0,Te=!F.isLeaf&&!Ce&&!!de.current,He=Ce||Te,Je=xe.join("");if(ie(xe),Se(He?V+1:V),Te&&de.current){const St=Cn(r,xe,x);oe(Je);try{await de.current(St.matched.map(Nt=>Nt.option),{option:F.option,path:xe,options:r})}finally{Ee.current&&oe(Nt=>Nt===Je?null:Nt)}}y&&!He&&le.currentTarget.focus()},[y,G,x,r,ve,w]),mt=u.useCallback(()=>{G||pe(!0)},[G,pe]);return u.useImperativeHandle(t,()=>({focus:()=>we.current?.focus(),blur:()=>we.current?.blur(),open:mt,close:()=>pe(!1),clear:()=>ht(),getValue:()=>W.slice()}),[ht,mt,W,pe]),c.jsxs(c.Fragment,{children:[c.jsx(Ji,{ref:we,id:te,open:ue,clearable:g,hasValue:fe.path.length>0,placeholder:d,display:Ct,className:$,class:M,style:U,sx:D,disabled:G,readOnly:w,autoFocus:J,onClear:ht,onClick:F=>{H?.(F),mt()},onFocus:Y,onBlur:B,onKeyDown:F=>{Q?.(F),!G&&((F.key==="ArrowDown"||F.key==="Enter")&&(F.preventDefault(),mt()),F.key==="Escape"&&(F.preventDefault(),pe(!1)))},...z}),c.jsx(dh,{open:ue,title:f,cancelText:h,confirmText:p,confirmDisabled:nt,maxHeight:R,className:q,class:k,style:T,sx:E,onCancel:()=>{ie(W),Se(Math.max(W.length-1,0))},onConfirm:st,onOpenChange:pe,children:c.jsxs("div",{className:"flex min-h-0 flex-1 flex-col",children:[c.jsx("div",{className:"flex shrink-0 border-b border-slate-200 px-4",children:Re.map((F,V)=>{const le=_e===V,xe=he.labels[V]??gP(V),Ce=N?.[V]??xe;return c.jsxs("button",{type:"button",className:j("relative min-h-10 min-w-12 px-3 text-sm text-slate-700 transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30",le&&"font-medium text-blue-600"),onClick:()=>Se(V),children:[Ce,le?c.jsx("span",{className:"absolute bottom-0 left-3 right-3 h-0.5 rounded-full bg-blue-600"}):null]},`level-${V}`)})}),c.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto px-4 py-2",children:Ye.length===0?c.jsx("div",{className:"flex min-h-32 items-center justify-center text-sm text-slate-400",children:Ie?c.jsxs("span",{className:"inline-flex items-center gap-2",children:[c.jsx(Ll,{}),"加载中"]}):"暂无可选项"}):c.jsx("div",{className:"grid gap-1",children:Ye.map(F=>{const V=[...ve.slice(0,_e),F.value],le=he.path.length===V.length&&es(he.path,V),xe=es(he.path,V)||es(V,he.path),Ce=Ie===V.join("")||F.loading,Te=F.children.length>0||!F.isLeaf&&!!de.current&&!Ce,He={active:xe,checked:le,disabled:F.disabled,hasChildren:Te,isLeaf:F.isLeaf,level:_e,loading:Ce,path:V,selected:le},Je=X([I,F.option.sx],Ae);return c.jsxs("button",{type:"button",className:j("flex min-h-10 w-full items-center gap-2 rounded-md px-3 py-2 text-sm transition-colors",ti(S),le?"bg-blue-600 text-white":"text-slate-800 hover:bg-blue-50 hover:text-blue-700",xe&&!le&&"bg-slate-100 text-slate-900",F.disabled&&"cursor-not-allowed bg-transparent text-slate-400 opacity-70 hover:bg-transparent hover:text-slate-400",Je.sxClassName,A,_,F.option.className,F.option.class),style:L(O,Je.sxInlineStyle,F.option.style),disabled:G||w||F.disabled,onClick:St=>{St.preventDefault(),sr(F,_e,St)},children:[c.jsx("span",{className:"min-w-0 flex-1 truncate",children:v?v(F.option,He):F.label}),Ce?c.jsx(Ll,{}):Te?c.jsx(nP,{className:j("h-4 w-4 shrink-0",le?"text-white":"text-slate-400")}):null]},V.join(""))})})})]})}),me?c.jsx("input",{type:"hidden",name:me,required:P,value:W.length>0?JSON.stringify(W):""}):null]})});mh.displayName="MobileCascader";function bP(e,t=500){const r=je.useRef(null),n=je.useCallback(()=>{r.current=setTimeout(e,t)},[e,t]),o=je.useCallback(()=>{r.current&&clearTimeout(r.current)},[]);return{onMouseDown:n,onMouseUp:o,onMouseLeave:o,onTouchStart:n,onTouchEnd:o}}function xP(){return c.jsx("span",{className:"h-6 w-6 animate-spin rounded-full border-2 border-blue-200 border-t-blue-600","aria-hidden":"true"})}function Pe(e){const{component:t,sx:r,rounded:n,shadow:o,onLongPress:s,longPressDelay:i=500,style:a,className:l,class:d,loading:f=!1,loadingContent:h,modal:p=!1,modalContent:m,onModalMaskClick:b,children:v,...x}=e,y=t??"div",g=se(),{roundedPreset:w,roundedStyle:P}=Zt(n),{shadowPreset:C,shadowStyle:S}=Xr(o),N=bP(()=>{s?.()},i),{sxClassName:q,sxInlineStyle:k}=X(r,g),E=(f||p)&&a?.position===void 0?{position:"relative"}:void 0;return c.jsxs(y,{className:j(w&&Mt[w],C&&xr[C],q,l,d),style:L(a,P,S,E,k),"aria-busy":f||void 0,...s?N:void 0,...x,children:[v,f?c.jsx("div",{className:"box-loading-mask absolute inset-0 z-10 flex items-center justify-center bg-white/65","aria-hidden":"true",children:h??c.jsx(xP,{})}):null,p?c.jsx("div",{className:"box-modal-mask absolute inset-0 z-20 flex items-center justify-center bg-black/45 p-4",onClick:b,children:c.jsx("div",{className:"box-modal-content max-w-full rounded-lg bg-white p-4 shadow-lg",onClick:R=>R.stopPropagation(),children:m})}):null]})}Pe.displayName="Box";const Dl={outlined:"border border-gray-200 bg-white",elevated:"border border-transparent bg-white",filled:"border border-gray-100 bg-gray-50",ghost:"border border-transparent bg-transparent shadow-none"},Bl={elevated:"md"},yP={none:"p-0",sm:"p-3",md:"p-4",lg:"p-6"};function Dr(e){return e!=null}function wP(e){let t=!1;return u.Children.forEach(e,r=>{u.isValidElement(r)&&PP(r.type)&&(t=!0)}),t}function PP(e){return e===ph||e===vh||e===gh||e===bh||e===xh||e===yh||e===wh}function Sn(e,t){return e===!0||e===t}function ts(e){return yP[e]}function Fl(e,t){return Dr(e)?e:t}function $l(e,t){return e??t}const ph=e=>c.jsx(Pe,{...e,"data-card-slot":"header"}),vh=e=>c.jsx(Pe,{...e,"data-card-slot":"content"}),gh=e=>c.jsx(Pe,{...e,"data-card-slot":"footer"}),bh=e=>c.jsx(Pe,{...e,"data-card-slot":"left"}),xh=e=>c.jsx(Pe,{...e,"data-card-slot":"right"}),yh=e=>c.jsx(Pe,{...e,"data-card-slot":"start"}),wh=e=>c.jsx(Pe,{...e,"data-card-slot":"end"});function CP(e){const{variant:t="outlined",padding:r="md",divided:n=!0,hoverable:o=!1,selected:s=!1,disabled:i=!1,header:a,footer:l,left:d,right:f,start:h,end:p,contentLoading:m=!1,headerProps:b,footerProps:v,leftProps:x,rightProps:y,startProps:g,endProps:w,contentProps:P,children:C,className:S,style:N,rounded:q="lg",shadow:k,onClick:T,...E}=e,R=Fl(d,h),A=Fl(f,p),_=$l(x,g),O=$l(y,w),I=wP(C),{className:$,style:M,loading:U,...D}=P??{};return I?c.jsx(Pe,{rounded:q,shadow:k??Bl[t],className:j("card flex overflow-hidden",Dl[t],o&&!i&&"transition hover:-translate-y-0.5 hover:shadow-lg",s&&"border-blue-500 ring-2 ring-blue-100",i&&"pointer-events-none opacity-50",S),style:L(N,{flexDirection:"row"}),"aria-disabled":i||void 0,onClick:i?void 0:T,...E,children:C}):c.jsxs(Pe,{rounded:q,shadow:k??Bl[t],className:j("card flex overflow-hidden",Dl[t],o&&!i&&"transition hover:-translate-y-0.5 hover:shadow-lg",s&&"border-blue-500 ring-2 ring-blue-100",i&&"pointer-events-none opacity-50",S),style:L(N,{flexDirection:"row"}),"aria-disabled":i||void 0,onClick:i?void 0:T,...E,children:[Dr(R)?c.jsx(Pe,{..._,className:j("card-left shrink-0",Sn(n,"x")&&"border-r border-gray-100",_?.className),children:R}):null,c.jsxs(Pe,{className:"card-main flex min-w-0 flex-1 flex-col",children:[Dr(a)?c.jsx(Pe,{...b,className:j("card-header",ts(r),Sn(n,"y")&&"border-b border-gray-100",b?.className),children:a}):null,c.jsx(Pe,{...D,className:j("card-content min-w-0 flex-1",ts(r),$),style:M,loading:m||U,children:C}),Dr(l)?c.jsx(Pe,{...v,className:j("card-footer",ts(r),Sn(n,"y")&&"border-t border-gray-100",v?.className),children:l}):null]}),Dr(A)?c.jsx(Pe,{...O,className:j("card-right shrink-0",Sn(n,"x")&&"border-l border-gray-100",O?.className),children:A}):null]})}const Pt=Object.assign(CP,{Header:ph,Content:vh,Footer:gh,Left:bh,Right:xh,Start:yh,End:wh});Pt.displayName="Card";Pt.Header.displayName="Card.Header";Pt.Content.displayName="Card.Content";Pt.Footer.displayName="Card.Footer";Pt.Left.displayName="Card.Left";Pt.Right.displayName="Card.Right";Pt.Start.displayName="Card.Start";Pt.End.displayName="Card.End";function SP(e,t=[]){let r=[];function n(s,i){const a=u.createContext(i);a.displayName=s+"Context";const l=r.length;r=[...r,i];const d=h=>{const{scope:p,children:m,...b}=h,v=p?.[e]?.[l]||a,x=u.useMemo(()=>b,Object.values(b));return c.jsx(v.Provider,{value:x,children:m})};d.displayName=s+"Provider";function f(h,p){const m=p?.[e]?.[l]||a,b=u.useContext(m);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${h}\` must be used within \`${s}\``)}return[d,f]}const o=()=>{const s=r.map(i=>u.createContext(i));return function(a){const l=a?.[e]||s;return u.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[n,NP(o,...t)]}function NP(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=n.reduce((a,{useScope:l,scopeName:d})=>{const h=l(s)[`__scope${d}`];return{...a,...h}},{});return u.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function qP(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Nn={exports:{}},rs={};var Vl;function kP(){if(Vl)return rs;Vl=1;var e=je;function t(h,p){return h===p&&(h!==0||1/h===1/p)||h!==h&&p!==p}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,o=e.useEffect,s=e.useLayoutEffect,i=e.useDebugValue;function a(h,p){var m=p(),b=n({inst:{value:m,getSnapshot:p}}),v=b[0].inst,x=b[1];return s(function(){v.value=m,v.getSnapshot=p,l(v)&&x({inst:v})},[h,m,p]),o(function(){return l(v)&&x({inst:v}),h(function(){l(v)&&x({inst:v})})},[h]),i(m),m}function l(h){var p=h.getSnapshot;h=h.value;try{var m=p();return!r(h,m)}catch{return!0}}function d(h,p){return p()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?d:a;return rs.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:f,rs}var ns={};var zl;function EP(){return zl||(zl=1,process.env.NODE_ENV!=="production"&&(function(){function e(m,b){return m===b&&(m!==0||1/m===1/b)||m!==m&&b!==b}function t(m,b){f||o.startTransition===void 0||(f=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var v=b();if(!h){var x=b();s(v,x)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),h=!0)}x=i({inst:{value:v,getSnapshot:b}});var y=x[0].inst,g=x[1];return l(function(){y.value=v,y.getSnapshot=b,r(y)&&g({inst:y})},[m,v,b]),a(function(){return r(y)&&g({inst:y}),m(function(){r(y)&&g({inst:y})})},[m]),d(v),v}function r(m){var b=m.getSnapshot;m=m.value;try{var v=b();return!s(m,v)}catch{return!0}}function n(m,b){return b()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var o=je,s=typeof Object.is=="function"?Object.is:e,i=o.useState,a=o.useEffect,l=o.useLayoutEffect,d=o.useDebugValue,f=!1,h=!1,p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:t;ns.useSyncExternalStore=o.useSyncExternalStore!==void 0?o.useSyncExternalStore:p,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),ns}var Hl;function RP(){return Hl||(Hl=1,process.env.NODE_ENV==="production"?Nn.exports=kP():Nn.exports=EP()),Nn.exports}var jP=RP();function TP(){return jP.useSyncExternalStore(AP,()=>!0,()=>!1)}function AP(){return()=>{}}var Qi="Avatar",[_P]=SP(Qi),[IP,Ph]=_P(Qi),Ch=u.forwardRef((e,t)=>{const{__scopeAvatar:r,...n}=e,[o,s]=u.useState("idle");return c.jsx(IP,{scope:r,imageLoadingStatus:o,onImageLoadingStatusChange:s,children:c.jsx(go.span,{...n,ref:t})})});Ch.displayName=Qi;var Sh="AvatarImage",Nh=u.forwardRef((e,t)=>{const{__scopeAvatar:r,src:n,onLoadingStatusChange:o=()=>{},...s}=e,i=Ph(Sh,r),a=OP(n,s),l=gt(d=>{o(d),i.onImageLoadingStatusChange(d)});return De(()=>{a!=="idle"&&l(a)},[a,l]),a==="loaded"?c.jsx(go.img,{...s,ref:t,src:n}):null});Nh.displayName=Sh;var qh="AvatarFallback",kh=u.forwardRef((e,t)=>{const{__scopeAvatar:r,delayMs:n,...o}=e,s=Ph(qh,r),[i,a]=u.useState(n===void 0);return u.useEffect(()=>{if(n!==void 0){const l=window.setTimeout(()=>a(!0),n);return()=>window.clearTimeout(l)}},[n]),i&&s.imageLoadingStatus!=="loaded"?c.jsx(go.span,{...o,ref:t}):null});kh.displayName=qh;function Wl(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function OP(e,{referrerPolicy:t,crossOrigin:r}){const n=TP(),o=u.useRef(null),s=n?(o.current||(o.current=new window.Image),o.current):null,[i,a]=u.useState(()=>Wl(s,e));return De(()=>{a(Wl(s,e))},[s,e]),De(()=>{const l=h=>()=>{a(h)};if(!s)return;const d=l("loaded"),f=l("error");return s.addEventListener("load",d),s.addEventListener("error",f),t&&(s.referrerPolicy=t),typeof r=="string"&&(s.crossOrigin=r),()=>{s.removeEventListener("load",d),s.removeEventListener("error",f)}},[s,r,t]),i}var MP=Ch,LP=Nh,DP=kh;const Eh={xs:"h-6 w-6 text-[10px]",sm:"h-8 w-8 text-xs",md:"h-10 w-10 text-sm",lg:"h-12 w-12 text-base",xl:"h-16 w-16 text-lg"};function BP(e){if(e!==void 0){if(typeof e=="number")return`${e}px`;if(!(typeof e=="string"&&e in Eh))return e}}const Rh=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,size:i="md",rounded:a="full",shadow:l,...d}=e,f=se(),{sxClassName:h,sxInlineStyle:p}=X(o,f),{roundedPreset:m,roundedStyle:b}=Zt(a),{shadowPreset:v,shadowStyle:x}=Xr(l),y=BP(i);return c.jsx(MP,{ref:t,className:j("avatar relative inline-flex shrink-0 select-none items-center justify-center overflow-hidden bg-slate-100 text-slate-700",typeof i=="string"?Eh[i]:null,m?Mt[m]:null,v?xr[v]:null,h,r,n),style:L(s,b,x,y?{width:y,height:y}:void 0,p),...d})}),Zi=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,a=se(),{sxClassName:l,sxInlineStyle:d}=X(o,a);return c.jsx(LP,{ref:t,className:j("avatar-image h-full w-full object-cover",l,r,n),style:L(s,d),...i})}),ea=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,a=se(),{sxClassName:l,sxInlineStyle:d}=X(o,a);return c.jsx(DP,{ref:t,className:j("avatar-fallback flex h-full w-full items-center justify-center bg-slate-100 font-medium text-slate-600",l,r,n),style:L(s,d),...i})}),jh=Object.assign(Rh,{Image:Zi,Fallback:ea});Rh.displayName="Avatar";Zi.displayName="Avatar.Image";ea.displayName="Avatar.Fallback";jh.displayName="Avatar";const Th=Lc("inline-flex items-center justify-center whitespace-nowrap rounded border border-transparent font-medium transition-colors duration-150",{variants:{variant:{primary:"",success:"",warning:"",danger:"",minor:"",dark:"",light:"",text:""},outline:{true:"",false:""},size:{xs:"px-2 py-0.5 text-[10px]",sm:"px-2.5 py-0.5 text-xs",md:"px-2.5 py-1 text-xs",lg:"px-3 py-1 text-sm",xl:"px-3.5 py-1.5 text-sm"},rounded:Mt,shadow:xr},compoundVariants:[{variant:"primary",outline:!1,className:"bg-blue-600 text-white"},{variant:"primary",outline:!0,className:"border-blue-600 text-blue-600"},{variant:"success",outline:!1,className:"bg-green-600 text-white"},{variant:"success",outline:!0,className:"border-green-600 text-green-600"},{variant:"warning",outline:!1,className:"bg-yellow-500 text-white"},{variant:"warning",outline:!0,className:"border-yellow-500 text-yellow-600"},{variant:"danger",outline:!1,className:"bg-red-600 text-white"},{variant:"danger",outline:!0,className:"border-red-600 text-red-600"},{variant:"minor",outline:!1,className:"bg-gray-200 text-gray-700"},{variant:"minor",outline:!0,className:"border-gray-300 text-gray-600"},{variant:"dark",outline:!1,className:"bg-black/90 text-white"},{variant:"dark",outline:!0,className:"border-black/90 text-black/90"},{variant:"light",outline:!1,className:"bg-white text-gray-900"},{variant:"light",outline:!0,className:"border-white text-white"},{variant:"text",outline:!1,className:"bg-gray-100 text-gray-600"},{variant:"text",outline:!0,className:"border-gray-300 text-gray-500"}],defaultVariants:{variant:"primary",outline:!1,size:"md"}});function Ah(e){const{component:t,variant:r,outline:n,size:o,rounded:s,shadow:i,sx:a,style:l,className:d,class:f,...h}=e,p=t??"span",{roundedPreset:m,roundedStyle:b}=Zt(s),{shadowPreset:v,shadowStyle:x}=Xr(i),y=se(),{sxClassName:g,sxInlineStyle:w}=X(a,y);return c.jsx(p,{className:j(Th({variant:r,outline:n,size:o,rounded:m,shadow:v}),g,d,f),style:L(l,b,x,w),...h})}Ah.displayName="Chip";const Gl={neutral:"bg-slate-200 text-slate-700",primary:"bg-blue-600 text-white",success:"bg-emerald-600 text-white",warning:"bg-amber-200 text-amber-700",danger:"bg-red-600 text-white"},FP={neutral:"bg-slate-100 text-slate-700",primary:"bg-blue-100 text-blue-700",success:"bg-emerald-100 text-emerald-700",warning:"bg-amber-100 text-amber-700",danger:"bg-red-100 text-red-700"};function $P(e){const{className:t,class:r,sx:n,style:o,badgeContent:s,children:i,dot:a=!1,light:l=!1,showZero:d=!1,max:f=99,variant:h="neutral",...p}=e,m=se(),{sxClassName:b,sxInlineStyle:v}=X(n,m),x=typeof s=="number"?s:null,y=x===0&&!d,g=x!==null?x>f?`${f}+`:String(x):s,w=a?Gl[h]:l?FP[h]:Gl[h];return c.jsxs("span",{className:j("relative inline-flex",t,r),style:L(o,v),...p,children:[i,!y&&(a||g!==void 0)?c.jsx("span",{className:j("absolute -right-2 -top-2 inline-flex items-center justify-center rounded-full px-1 text-[10px] font-medium leading-4",w,a?"h-2 min-w-2 p-0":"min-w-4 h-4",b),children:a?null:g}):null]})}function VP(e){const{className:t,class:r,sx:n,style:o,bordered:s=!1,...i}=e,a=se(),{sxClassName:l,sxInlineStyle:d}=X(n,a);return c.jsx("ul",{className:j("m-0 list-none p-0",s&&"divide-y rounded-md border border-slate-200",l,t,r),style:L(o,d),...i})}function zP(e){const{description:t="暂无数据",image:r,children:n,className:o,class:s,...i}=e;return c.jsxs(Pe,{...i,className:j("flex flex-col items-center justify-center gap-2 py-10 text-slate-500",o,s),children:[r??c.jsx("div",{className:"text-4xl",children:"◻"}),c.jsx("div",{className:"text-sm",children:t}),n]})}function Kl(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function HP(e){if(e!==void 0)return typeof e=="number"?String(e):e}function Tr(e,t,r){return Math.min(r,Math.max(t,e))}function WP(e,t){if(e.startsWith("data:")||e.startsWith("blob:")||e.includes("ldkj_retry="))return null;const r=e.match(/^([^?#]+)(\?[^#]*)?(#.*)?$/);if(!r)return null;const n=r[1],o=r[2]??"",s=r[3]??"",i=n.replace(/\.(png|jpe?g|webp|avif)$/i,`.${t}`);return i===n?null:`${i}${o}${s}`}function GP(e){return Array.from(new Set(e.filter(t=>Number.isFinite(t)&&t>0)))}function KP(e,t){const{width:r,height:n,crop:o}=t;if(!o||r===void 0||n===void 0||e.startsWith("data:")||e.startsWith("blob:")||e.includes("x-oss-process=")||e.includes("ldkj_retry="))return e;const s=`x-oss-process=image/resize,m_fill,w_${r},h_${n}`;return`${e}${e.includes("?")?"&":"?"}${s}`}const _h=u.forwardRef(function(t,r){const{className:n,class:o,sx:s,style:i,fallback:a,fallbackSrc:l,loadingFallback:d,fit:f,position:h,aspectRatio:p,placeholder:m,blurDataURL:b,retry:v=0,retryDelay:x=800,onLoadingChange:y,loader:g,quality:w,format:P,crop:C=!1,alt:S,src:N,width:q,height:k,sizes:T,loading:E,decoding:R,onLoad:A,onError:_,sources:O,formats:I,responsiveWidths:$,preview:M=!1,children:U,...D}=t,G=se(),{sxClassName:me,sxInlineStyle:te}=X(s,G),[J,H]=u.useState(N?"loading":"idle"),[Y,B]=u.useState(N),[Q,z]=u.useState(!1),[K,W]=u.useState(1),[Z,ae]=u.useState({x:0,y:0}),[ue,pe]=u.useState(!1),ve=u.useRef(0),ie=u.useRef(null),ye=u.useRef(null),Se=u.useRef(null),Ie=u.useRef(null);u.useEffect(()=>{ve.current=0,B(N),H(N?"loading":"idle"),z(!1),W(1),ae({x:0,y:0}),pe(!1)},[N]),u.useEffect(()=>{y?.(J==="loading")},[y,J]),u.useEffect(()=>{process.env.NODE_ENV!=="production"&&S===void 0&&console.warn('Image missing alt prop. Use alt text or alt="" for decorative images.')},[S]),u.useEffect(()=>()=>{ie.current&&clearTimeout(ie.current)},[]),u.useEffect(()=>{if(!Q)return;Ie.current=document.activeElement,Se.current?.focus();const F=le=>{if(le.key==="Escape"){z(!1),W(1),ae({x:0,y:0}),pe(!1);return}if(le.key==="+"||le.key==="="){W(xe=>Tr(Number((xe+.2).toFixed(2)),1,4));return}if(le.key==="-"||le.key==="_"){W(xe=>Tr(Number((xe-.2).toFixed(2)),1,4));return}le.key==="0"&&(W(1),ae({x:0,y:0}))},V=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",F),()=>{document.body.style.overflow=V,window.removeEventListener("keydown",F),Ie.current?.focus?.()}},[Q]),u.useEffect(()=>{if(!Q||!ue)return;const F=le=>{const xe=ye.current;if(!xe)return;const Ce=le.clientX-xe.x,Te=le.clientY-xe.y;ae({x:xe.offsetX+Ce,y:xe.offsetY+Te})},V=()=>{pe(!1),ye.current=null};return window.addEventListener("mousemove",F),window.addEventListener("mouseup",V),()=>{window.removeEventListener("mousemove",F),window.removeEventListener("mouseup",V)}},[Q,ue]);const oe=typeof q=="number"?q:void 0,we=typeof k=="number"?k:void 0,Ee=u.useMemo(()=>{const F=$??[],V=oe?[...F,oe]:F;return GP(V).sort((le,xe)=>le-xe)},[$,oe]),de=u.useCallback((F,V,le)=>g?g(F,{width:le??oe,height:we,quality:w,format:V??P,crop:C}):KP(F,{width:le??oe,height:we,crop:C}),[g,oe,we,w,P,C]),Ae=Y&&de(Y),fe=u.useMemo(()=>{if(!Y||!I?.length)return[];const F=[];for(const V of I){const le=WP(Y,V);if(!le)continue;if(g&&Ee.length){const Ce=Ee.map(Te=>`${de(le,V,Te)} ${Te}w`).join(", ");F.push({type:`image/${V}`,srcSet:Ce,sizes:T});continue}const xe=de(le,V);!xe||xe===Ae||F.push({type:`image/${V}`,srcSet:xe,sizes:T})}return F},[Y,I,de,Ae,T,g,Ee]),re=u.useMemo(()=>!g||!Y||!Ee.length?null:{srcSet:Ee.map(V=>`${de(Y,P,V)} ${V}w`).join(", "),sizes:T},[g,Y,Ee,de,P,T]),he=u.useMemo(()=>{const V=[...O??[]];return fe.length&&V.push(...fe),re&&V.push(re),V},[O,fe,re]),Re=J==="loading"&&d,_e=J==="loading"&&m==="blur"&&!!b,Ye=J==="error"&&a,Ve=M&&J==="loaded"&&!!Ae&&!Ye,nt={status:J,loading:J==="loading",error:J==="error",loaded:J==="loaded",previewOpen:Q,src:Ae??void 0},Ct=L({width:Kl(q),height:p?void 0:Kl(k),aspectRatio:HP(p),backgroundImage:_e?`url(${b})`:void 0,backgroundSize:_e?"cover":void 0,backgroundPosition:_e?"center":void 0},i,te),ot={width:"100%",height:p||k!==void 0?"100%":"auto",objectFit:f,objectPosition:h,opacity:_e?0:void 0,transition:_e?"opacity 180ms ease":void 0,cursor:Ve?"zoom-in":void 0},ht={transform:`translate(${Z.x}px, ${Z.y}px) scale(${K})`,transition:ue?void 0:"transform 120ms ease",cursor:K>1?ue?"grabbing":"grab":"zoom-in",transformOrigin:"center center"},st=F=>{if(ve.current<v&&Y){ve.current+=1,ie.current=setTimeout(()=>{const V=Y.includes("?")?"&":"?";B(`${Y}${V}ldkj_retry=${ve.current}`),H("loading")},x),_?.(F);return}if(l&&Y!==l){B(l),H("loading"),_?.(F);return}H("error"),_?.(F)},sr=u.useCallback(()=>{z(!1),W(1),ae({x:0,y:0}),pe(!1)},[]),mt=F=>{F.preventDefault(),F.stopPropagation();const V=F.deltaY<0?.2:-.2;W(le=>Tr(Number((le+V).toFixed(2)),1,4))};return c.jsxs(c.Fragment,{children:[c.jsxs("span",{className:j("relative inline-block max-w-full overflow-hidden align-middle",me,n,o),style:Ct,children:[Ye?a:he.length?c.jsxs("picture",{children:[he.map((F,V)=>c.jsx("source",{media:F.media,srcSet:F.srcSet,type:F.type,sizes:F.sizes},`${F.type??"source"}-${V}`)),c.jsx("img",{ref:r,alt:S,src:Ae,width:q,height:k,sizes:T,loading:E??"lazy",decoding:R??"async",onLoad:F=>{H("loaded"),A?.(F)},onError:st,onClick:()=>{Ve&&(z(!0),W(1),ae({x:0,y:0}))},className:"block max-w-full",style:ot,...D})]}):c.jsx("img",{ref:r,alt:S,src:Ae,width:q,height:k,sizes:T,loading:E??"lazy",decoding:R??"async",onLoad:F=>{H("loaded"),A?.(F)},onError:st,onClick:()=>{Ve&&(z(!0),W(1),ae({x:0,y:0}))},className:"block max-w-full",style:ot,...D}),Re?c.jsx("span",{className:"absolute inset-0 flex items-center justify-center",children:d}):null,U?c.jsx("span",{className:"pointer-events-none absolute inset-0",children:U(nt)}):null]}),Q&&Ae?c.jsxs("span",{className:"fixed inset-0 z-[1200] flex items-center justify-center bg-black/80 p-6",role:"dialog","aria-modal":"true","aria-label":"Image preview",onClick:sr,onWheel:mt,children:[c.jsx("img",{src:Ae,alt:S,className:"max-h-[88vh] max-w-[92vw] select-none rounded-md object-contain shadow-2xl",style:ht,onClick:F=>F.stopPropagation(),onMouseDown:F=>{K<=1||(F.preventDefault(),F.stopPropagation(),ye.current={x:F.clientX,y:F.clientY,offsetX:Z.x,offsetY:Z.y},pe(!0))}}),c.jsxs("span",{className:"absolute right-5 top-5 flex items-center gap-2",children:[c.jsx("button",{type:"button",className:"rounded-md bg-white/90 px-2.5 py-1.5 text-xs font-medium text-slate-800 hover:bg-white",onClick:F=>{F.stopPropagation(),W(V=>Tr(V-.2,1,4))},children:"-"}),c.jsx("button",{type:"button",className:"rounded-md bg-white/90 px-2.5 py-1.5 text-xs font-medium text-slate-800 hover:bg-white",onClick:F=>{F.stopPropagation(),W(V=>Tr(V+.2,1,4))},children:"+"}),c.jsx("button",{type:"button",className:"rounded-md bg-white/90 px-2.5 py-1.5 text-xs font-medium text-slate-800 hover:bg-white",onClick:F=>{F.stopPropagation(),W(1),ae({x:0,y:0})},children:"重置"}),c.jsx("button",{ref:Se,type:"button",className:"rounded-md bg-white/90 px-3 py-1.5 text-xs font-medium text-slate-800 hover:bg-white","aria-label":"Close preview",onClick:F=>{F.stopPropagation(),sr()},children:"关闭"})]})]}):null]})});_h.displayName="Image";var cr={},os,Ul;function UP(){return Ul||(Ul=1,os=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),os}var ss={},Et={},Yl;function nr(){if(Yl)return Et;Yl=1;let e;const t=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return Et.getSymbolSize=function(n){if(!n)throw new Error('"version" cannot be null or undefined');if(n<1||n>40)throw new Error('"version" should be in range from 1 to 40');return n*4+17},Et.getSymbolTotalCodewords=function(n){return t[n]},Et.getBCHDigit=function(r){let n=0;for(;r!==0;)n++,r>>>=1;return n},Et.setToSJISFunction=function(n){if(typeof n!="function")throw new Error('"toSJISFunc" is not a valid function.');e=n},Et.isKanjiModeEnabled=function(){return typeof e<"u"},Et.toSJIS=function(n){return e(n)},Et}var is={},Xl;function ta(){return Xl||(Xl=1,(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+r)}}e.isValid=function(n){return n&&typeof n.bit<"u"&&n.bit>=0&&n.bit<4},e.from=function(n,o){if(e.isValid(n))return n;try{return t(n)}catch{return o}}})(is)),is}var as,Jl;function YP(){if(Jl)return as;Jl=1;function e(){this.buffer=[],this.length=0}return e.prototype={get:function(t){const r=Math.floor(t/8);return(this.buffer[r]>>>7-t%8&1)===1},put:function(t,r){for(let n=0;n<r;n++)this.putBit((t>>>r-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const r=Math.floor(this.length/8);this.buffer.length<=r&&this.buffer.push(0),t&&(this.buffer[r]|=128>>>this.length%8),this.length++}},as=e,as}var ls,Ql;function XP(){if(Ql)return ls;Ql=1;function e(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}return e.prototype.set=function(t,r,n,o){const s=t*this.size+r;this.data[s]=n,o&&(this.reservedBit[s]=!0)},e.prototype.get=function(t,r){return this.data[t*this.size+r]},e.prototype.xor=function(t,r,n){this.data[t*this.size+r]^=n},e.prototype.isReserved=function(t,r){return this.reservedBit[t*this.size+r]},ls=e,ls}var cs={},Zl;function JP(){return Zl||(Zl=1,(function(e){const t=nr().getSymbolSize;e.getRowColCoords=function(n){if(n===1)return[];const o=Math.floor(n/7)+2,s=t(n),i=s===145?26:Math.ceil((s-13)/(2*o-2))*2,a=[s-7];for(let l=1;l<o-1;l++)a[l]=a[l-1]-i;return a.push(6),a.reverse()},e.getPositions=function(n){const o=[],s=e.getRowColCoords(n),i=s.length;for(let a=0;a<i;a++)for(let l=0;l<i;l++)a===0&&l===0||a===0&&l===i-1||a===i-1&&l===0||o.push([s[a],s[l]]);return o}})(cs)),cs}var us={},ec;function QP(){if(ec)return us;ec=1;const e=nr().getSymbolSize,t=7;return us.getPositions=function(n){const o=e(n);return[[0,0],[o-t,0],[0,o-t]]},us}var ds={},tc;function ZP(){return tc||(tc=1,(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(o){return o!=null&&o!==""&&!isNaN(o)&&o>=0&&o<=7},e.from=function(o){return e.isValid(o)?parseInt(o,10):void 0},e.getPenaltyN1=function(o){const s=o.size;let i=0,a=0,l=0,d=null,f=null;for(let h=0;h<s;h++){a=l=0,d=f=null;for(let p=0;p<s;p++){let m=o.get(h,p);m===d?a++:(a>=5&&(i+=t.N1+(a-5)),d=m,a=1),m=o.get(p,h),m===f?l++:(l>=5&&(i+=t.N1+(l-5)),f=m,l=1)}a>=5&&(i+=t.N1+(a-5)),l>=5&&(i+=t.N1+(l-5))}return i},e.getPenaltyN2=function(o){const s=o.size;let i=0;for(let a=0;a<s-1;a++)for(let l=0;l<s-1;l++){const d=o.get(a,l)+o.get(a,l+1)+o.get(a+1,l)+o.get(a+1,l+1);(d===4||d===0)&&i++}return i*t.N2},e.getPenaltyN3=function(o){const s=o.size;let i=0,a=0,l=0;for(let d=0;d<s;d++){a=l=0;for(let f=0;f<s;f++)a=a<<1&2047|o.get(d,f),f>=10&&(a===1488||a===93)&&i++,l=l<<1&2047|o.get(f,d),f>=10&&(l===1488||l===93)&&i++}return i*t.N3},e.getPenaltyN4=function(o){let s=0;const i=o.data.length;for(let l=0;l<i;l++)s+=o.data[l];return Math.abs(Math.ceil(s*100/i/5)-10)*t.N4};function r(n,o,s){switch(n){case e.Patterns.PATTERN000:return(o+s)%2===0;case e.Patterns.PATTERN001:return o%2===0;case e.Patterns.PATTERN010:return s%3===0;case e.Patterns.PATTERN011:return(o+s)%3===0;case e.Patterns.PATTERN100:return(Math.floor(o/2)+Math.floor(s/3))%2===0;case e.Patterns.PATTERN101:return o*s%2+o*s%3===0;case e.Patterns.PATTERN110:return(o*s%2+o*s%3)%2===0;case e.Patterns.PATTERN111:return(o*s%3+(o+s)%2)%2===0;default:throw new Error("bad maskPattern:"+n)}}e.applyMask=function(o,s){const i=s.size;for(let a=0;a<i;a++)for(let l=0;l<i;l++)s.isReserved(l,a)||s.xor(l,a,r(o,l,a))},e.getBestMask=function(o,s){const i=Object.keys(e.Patterns).length;let a=0,l=1/0;for(let d=0;d<i;d++){s(d),e.applyMask(d,o);const f=e.getPenaltyN1(o)+e.getPenaltyN2(o)+e.getPenaltyN3(o)+e.getPenaltyN4(o);e.applyMask(d,o),f<l&&(l=f,a=d)}return a}})(ds)),ds}var qn={},rc;function Ih(){if(rc)return qn;rc=1;const e=ta(),t=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],r=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return qn.getBlocksCount=function(o,s){switch(s){case e.L:return t[(o-1)*4+0];case e.M:return t[(o-1)*4+1];case e.Q:return t[(o-1)*4+2];case e.H:return t[(o-1)*4+3];default:return}},qn.getTotalCodewordsCount=function(o,s){switch(s){case e.L:return r[(o-1)*4+0];case e.M:return r[(o-1)*4+1];case e.Q:return r[(o-1)*4+2];case e.H:return r[(o-1)*4+3];default:return}},qn}var fs={},Ar={},nc;function eC(){if(nc)return Ar;nc=1;const e=new Uint8Array(512),t=new Uint8Array(256);return(function(){let n=1;for(let o=0;o<255;o++)e[o]=n,t[n]=o,n<<=1,n&256&&(n^=285);for(let o=255;o<512;o++)e[o]=e[o-255]})(),Ar.log=function(n){if(n<1)throw new Error("log("+n+")");return t[n]},Ar.exp=function(n){return e[n]},Ar.mul=function(n,o){return n===0||o===0?0:e[t[n]+t[o]]},Ar}var oc;function tC(){return oc||(oc=1,(function(e){const t=eC();e.mul=function(n,o){const s=new Uint8Array(n.length+o.length-1);for(let i=0;i<n.length;i++)for(let a=0;a<o.length;a++)s[i+a]^=t.mul(n[i],o[a]);return s},e.mod=function(n,o){let s=new Uint8Array(n);for(;s.length-o.length>=0;){const i=s[0];for(let l=0;l<o.length;l++)s[l]^=t.mul(o[l],i);let a=0;for(;a<s.length&&s[a]===0;)a++;s=s.slice(a)}return s},e.generateECPolynomial=function(n){let o=new Uint8Array([1]);for(let s=0;s<n;s++)o=e.mul(o,new Uint8Array([1,t.exp(s)]));return o}})(fs)),fs}var hs,sc;function rC(){if(sc)return hs;sc=1;const e=tC();function t(r){this.genPoly=void 0,this.degree=r,this.degree&&this.initialize(this.degree)}return t.prototype.initialize=function(n){this.degree=n,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(n){if(!this.genPoly)throw new Error("Encoder not initialized");const o=new Uint8Array(n.length+this.degree);o.set(n);const s=e.mod(o,this.genPoly),i=this.degree-s.length;if(i>0){const a=new Uint8Array(this.degree);return a.set(s,i),a}return s},hs=t,hs}var ms={},ps={},vs={},ic;function Oh(){return ic||(ic=1,vs.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),vs}var it={},ac;function Mh(){if(ac)return it;ac=1;const e="[0-9]+",t="[A-Z $%*+\\-./:]+";let r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";r=r.replace(/u/g,"\\u");const n="(?:(?![A-Z0-9 $%*+\\-./:]|"+r+`)(?:.|[\r
|
|
42
|
-
]))+`;it.KANJI=new RegExp(r,"g"),it.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),it.BYTE=new RegExp(n,"g"),it.NUMERIC=new RegExp(e,"g"),it.ALPHANUMERIC=new RegExp(t,"g");const o=new RegExp("^"+r+"$"),s=new RegExp("^"+e+"$"),i=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return it.testKanji=function(l){return o.test(l)},it.testNumeric=function(l){return s.test(l)},it.testAlphanumeric=function(l){return i.test(l)},it}var
|
|
43
|
-
Make sure your charset is UTF-8`);s=(s>>>8&255)*192+(s&255),n.put(s,13)}},Ps=r,Ps}var Cs={exports:{}},
|
|
44
|
-
Suggested mode is: `+t.toString(P));switch(w===t.KANJI&&!a.isKanjiModeEnabled()&&(w=t.BYTE),w){case t.NUMERIC:return new r(y);case t.ALPHANUMERIC:return new n(y);case t.KANJI:return new s(y);case t.BYTE:return new o(y)}}e.fromArray=function(g){return g.reduce(function(w,P){return typeof P=="string"?w.push(x(P,null)):P.data&&w.push(x(P.data,P.mode)),w},[])},e.fromString=function(g,w){const P=
|
|
41
|
+
`)},sx=0,ur=[];function ix(e){var t=u.useRef([]),r=u.useRef([0,0]),n=u.useRef(),o=u.useState(sx++)[0],s=u.useState(Qu)[0],i=u.useRef(e);u.useEffect(function(){i.current=e},[e]),u.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var h=kb([e.lockRef.current],(e.shards||[]).map(yl),!0).filter(Boolean);return h.forEach(function(x){return x.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),h.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=u.useCallback(function(h,x){if("touches"in h&&h.touches.length===2||h.type==="wheel"&&h.ctrlKey)return!i.current.allowPinchZoom;var y=wn(h),g=r.current,w="deltaX"in h?h.deltaX:g[0]-y[0],P="deltaY"in h?h.deltaY:g[1]-y[1],C,S=h.target,N=Math.abs(w)>Math.abs(P)?"h":"v";if("touches"in h&&N==="h"&&S.type==="range")return!1;var q=window.getSelection(),k=q&&q.anchorNode,A=k?k===S||k.contains(S):!1;if(A)return!1;var E=bl(N,S);if(!E)return!0;if(E?C=N:(C=N==="v"?"h":"v",E=bl(N,S)),!E)return!1;if(!n.current&&"changedTouches"in h&&(w||P)&&(n.current=C),!C)return!0;var R=n.current||C;return rx(R,x,h,R==="h"?w:P)},[]),l=u.useCallback(function(h){var x=h;if(!(!ur.length||ur[ur.length-1]!==s)){var y="deltaY"in x?xl(x):wn(x),g=t.current.filter(function(C){return C.name===x.type&&(C.target===x.target||x.target===C.shadowParent)&&nx(C.delta,y)})[0];if(g&&g.should){x.cancelable&&x.preventDefault();return}if(!g){var w=(i.current.shards||[]).map(yl).filter(Boolean).filter(function(C){return C.contains(x.target)}),P=w.length>0?a(x,w[0]):!i.current.noIsolation;P&&x.cancelable&&x.preventDefault()}}},[]),d=u.useCallback(function(h,x,y,g){var w={name:h,delta:x,target:y,should:g,shadowParent:ax(y)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(P){return P!==w})},1)},[]),f=u.useCallback(function(h){r.current=wn(h),n.current=void 0},[]),m=u.useCallback(function(h){d(h.type,xl(h),h.target,a(h,e.lockRef.current))},[]),p=u.useCallback(function(h){d(h.type,wn(h),h.target,a(h,e.lockRef.current))},[]);u.useEffect(function(){return ur.push(s),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:p}),document.addEventListener("wheel",l,cr),document.addEventListener("touchmove",l,cr),document.addEventListener("touchstart",f,cr),function(){ur=ur.filter(function(h){return h!==s}),document.removeEventListener("wheel",l,cr),document.removeEventListener("touchmove",l,cr),document.removeEventListener("touchstart",f,cr)}},[]);var v=e.removeScrollBar,b=e.inert;return u.createElement(u.Fragment,null,b?u.createElement(s,{styles:ox(o)}):null,v?u.createElement(Yb,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function ax(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const lx=Mb(Ju,ix);var Ti=u.forwardRef(function(e,t){return u.createElement(fo,lt({},e,{ref:t,sideCar:lx}))});Ti.classNames=fo.classNames;var mo="Popover",[rd]=rt(mo,[Nr]),nn=Nr(),[cx,Ft]=rd(mo),nd=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:s,modal:i=!1}=e,a=nn(t),l=u.useRef(null),[d,f]=u.useState(!1),[m,p]=yt({prop:n,defaultProp:o??!1,onChange:s,caller:mo});return c.jsx(ji,{...a,children:c.jsx(cx,{scope:t,contentId:nr(),triggerRef:l,open:m,onOpenChange:p,onOpenToggle:u.useCallback(()=>p(v=>!v),[p]),hasCustomAnchor:d,onCustomAnchorAdd:u.useCallback(()=>f(!0),[]),onCustomAnchorRemove:u.useCallback(()=>f(!1),[]),modal:i,children:r})})};nd.displayName=mo;var od="PopoverAnchor",sd=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Ft(od,r),s=nn(r),{onCustomAnchorAdd:i,onCustomAnchorRemove:a}=o;return u.useEffect(()=>(i(),()=>a()),[i,a]),c.jsx(co,{...s,...n,ref:t})});sd.displayName=od;var id="PopoverTrigger",ad=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Ft(id,r),s=nn(r),i=ke(t,o.triggerRef),a=c.jsx(be.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":md(o.open),...n,ref:i,onClick:ce(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?a:c.jsx(co,{asChild:!0,...s,children:a})});ad.displayName=id;var _i="PopoverPortal",[ux,dx]=rd(_i,{forceMount:void 0}),ld=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,s=Ft(_i,t);return c.jsx(ux,{scope:t,forceMount:r,children:c.jsx(Bt,{present:r||s.open,children:c.jsx(uo,{asChild:!0,container:o,children:n})})})};ld.displayName=_i;var br="PopoverContent",cd=u.forwardRef((e,t)=>{const r=dx(br,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,s=Ft(br,e.__scopePopover);return c.jsx(Bt,{present:n||s.open,children:s.modal?c.jsx(mx,{...o,ref:t}):c.jsx(hx,{...o,ref:t})})});cd.displayName=br;var fx=Wr("PopoverContent.RemoveScroll"),mx=u.forwardRef((e,t)=>{const r=Ft(br,e.__scopePopover),n=u.useRef(null),o=ke(t,n),s=u.useRef(!1);return u.useEffect(()=>{const i=n.current;if(i)return Uu(i)},[]),c.jsx(Ti,{as:fx,allowPinchZoom:!0,children:c.jsx(ud,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ce(e.onCloseAutoFocus,i=>{i.preventDefault(),s.current||r.triggerRef.current?.focus()}),onPointerDownOutside:ce(e.onPointerDownOutside,i=>{const a=i.detail.originalEvent,l=a.button===0&&a.ctrlKey===!0,d=a.button===2||l;s.current=d},{checkForDefaultPrevented:!1}),onFocusOutside:ce(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})})}),hx=u.forwardRef((e,t)=>{const r=Ft(br,e.__scopePopover),n=u.useRef(!1),o=u.useRef(!1);return c.jsx(ud,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{e.onCloseAutoFocus?.(s),s.defaultPrevented||(n.current||r.triggerRef.current?.focus(),s.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:s=>{e.onInteractOutside?.(s),s.defaultPrevented||(n.current=!0,s.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const i=s.target;r.triggerRef.current?.contains(i)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&o.current&&s.preventDefault()}})}),ud=u.forwardRef((e,t)=>{const{__scopePopover:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:s,disableOutsidePointerEvents:i,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:d,onInteractOutside:f,...m}=e,p=Ft(br,r),v=nn(r);return Su(),c.jsx(wi,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:s,children:c.jsx(no,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:f,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:d,onDismiss:()=>p.onOpenChange(!1),children:c.jsx(Ai,{"data-state":md(p.open),role:"dialog",id:p.contentId,...v,...m,ref:t,style:{...m.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),dd="PopoverClose",fd=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Ft(dd,r);return c.jsx(be.button,{type:"button",...n,ref:t,onClick:ce(e.onClick,()=>o.onOpenChange(!1))})});fd.displayName=dd;var px="PopoverArrow",vx=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=nn(r);return c.jsx(Ii,{...o,...n,ref:t})});vx.displayName=px;function md(e){return e?"open":"closed"}var gx=nd,bx=sd,Fs=ad,xx=ld,yx=cd,$s=fd;function wx(e){if(e!==void 0)return{width:typeof e=="number"?`${e}px`:e}}function hd(e){const t=se();return X(e,t)}const pd=gx,Oi=u.forwardRef((e,t)=>{const{asChild:r,asChildWrapper:n="span",children:o,className:s,class:i,sx:a,style:l,...d}=e,{sxClassName:f,sxInlineStyle:m}=hd(a),p=j(f,s,i),v=L(l,m);return r?c.jsx(Fs,{asChild:!0,...d,children:c.jsx(n,{ref:t,className:j("inline-flex w-fit",p),style:v,children:o})}):c.jsx(Fs,{ref:t,className:p,style:v,...d,children:o})});Oi.displayName=Fs.displayName;const Px=bx,vd=u.forwardRef((e,t)=>{const{asChild:r,asChildWrapper:n="span",children:o,className:s,class:i,sx:a,style:l,...d}=e,{sxClassName:f,sxInlineStyle:m}=hd(a),p=j(f,s,i),v=L(l,m);return r?c.jsx($s,{asChild:!0,...d,children:c.jsx(n,{ref:t,className:j("inline-flex w-fit",p),style:v,children:o})}):c.jsx($s,{ref:t,className:p,style:v,...d,children:o})});vd.displayName=$s.displayName;const Mi=u.forwardRef((e,t)=>{const{align:r="center",sideOffset:n=6,width:o=288,rounded:s="lg",shadow:i="md",sx:a,style:l,className:d,class:f,...m}=e,p=se(),{roundedPreset:v,roundedStyle:b}=tr(s),{shadowPreset:h,shadowStyle:x}=Qr(i),{sxClassName:y,sxInlineStyle:g}=X(a,p);return c.jsx(xx,{children:c.jsx(yx,{ref:t,align:r,sideOffset:n,className:j("z-50 border border-gray-200 bg-white p-4 text-sm text-gray-900 outline-none","origin-[--radix-popover-content-transform-origin]","data-[state=open]:animate-in data-[state=closed]:animate-out","data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2","data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",v&&Mt[v],h&&wr[h],y,d,f),style:L(l,wx(o),b,x,g),...m})})});Mi.displayName="PopoverContent";var gd=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),Cx="VisuallyHidden",bd=u.forwardRef((e,t)=>c.jsx(be.span,{...e,ref:t,style:{...gd,...e.style}}));bd.displayName=Cx;var Sx=bd,[ho]=rt("Tooltip",[Nr]),po=Nr(),xd="TooltipProvider",Nx=700,Vs="tooltip.open",[qx,Li]=ho(xd),yd=e=>{const{__scopeTooltip:t,delayDuration:r=Nx,skipDelayDuration:n=300,disableHoverableContent:o=!1,children:s}=e,i=u.useRef(!0),a=u.useRef(!1),l=u.useRef(0);return u.useEffect(()=>{const d=l.current;return()=>window.clearTimeout(d)},[]),c.jsx(qx,{scope:t,isOpenDelayedRef:i,delayDuration:r,onOpen:u.useCallback(()=>{window.clearTimeout(l.current),i.current=!1},[]),onClose:u.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>i.current=!0,n)},[n]),isPointerInTransitRef:a,onPointerInTransitChange:u.useCallback(d=>{a.current=d},[]),disableHoverableContent:o,children:s})};yd.displayName=xd;var Kr="Tooltip",[kx,on]=ho(Kr),wd=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o,onOpenChange:s,disableHoverableContent:i,delayDuration:a}=e,l=Li(Kr,e.__scopeTooltip),d=po(t),[f,m]=u.useState(null),p=nr(),v=u.useRef(0),b=i??l.disableHoverableContent,h=a??l.delayDuration,x=u.useRef(!1),[y,g]=yt({prop:n,defaultProp:o??!1,onChange:N=>{N?(l.onOpen(),document.dispatchEvent(new CustomEvent(Vs))):l.onClose(),s?.(N)},caller:Kr}),w=u.useMemo(()=>y?x.current?"delayed-open":"instant-open":"closed",[y]),P=u.useCallback(()=>{window.clearTimeout(v.current),v.current=0,x.current=!1,g(!0)},[g]),C=u.useCallback(()=>{window.clearTimeout(v.current),v.current=0,g(!1)},[g]),S=u.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>{x.current=!0,g(!0),v.current=0},h)},[h,g]);return u.useEffect(()=>()=>{v.current&&(window.clearTimeout(v.current),v.current=0)},[]),c.jsx(ji,{...d,children:c.jsx(kx,{scope:t,contentId:p,open:y,stateAttribute:w,trigger:f,onTriggerChange:m,onTriggerEnter:u.useCallback(()=>{l.isOpenDelayedRef.current?S():P()},[l.isOpenDelayedRef,S,P]),onTriggerLeave:u.useCallback(()=>{b?C():(window.clearTimeout(v.current),v.current=0)},[C,b]),onOpen:P,onClose:C,disableHoverableContent:b,children:r})})};wd.displayName=Kr;var zs="TooltipTrigger",Pd=u.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=on(zs,r),s=Li(zs,r),i=po(r),a=u.useRef(null),l=ke(t,a,o.onTriggerChange),d=u.useRef(!1),f=u.useRef(!1),m=u.useCallback(()=>d.current=!1,[]);return u.useEffect(()=>()=>document.removeEventListener("pointerup",m),[m]),c.jsx(co,{asChild:!0,...i,children:c.jsx(be.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...n,ref:l,onPointerMove:ce(e.onPointerMove,p=>{p.pointerType!=="touch"&&!f.current&&!s.isPointerInTransitRef.current&&(o.onTriggerEnter(),f.current=!0)}),onPointerLeave:ce(e.onPointerLeave,()=>{o.onTriggerLeave(),f.current=!1}),onPointerDown:ce(e.onPointerDown,()=>{o.open&&o.onClose(),d.current=!0,document.addEventListener("pointerup",m,{once:!0})}),onFocus:ce(e.onFocus,()=>{d.current||o.onOpen()}),onBlur:ce(e.onBlur,o.onClose),onClick:ce(e.onClick,o.onClose)})})});Pd.displayName=zs;var Di="TooltipPortal",[Ex,Rx]=ho(Di,{forceMount:void 0}),Cd=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:o}=e,s=on(Di,t);return c.jsx(Ex,{scope:t,forceMount:r,children:c.jsx(Bt,{present:r||s.open,children:c.jsx(uo,{asChild:!0,container:o,children:n})})})};Cd.displayName=Di;var xr="TooltipContent",Sd=u.forwardRef((e,t)=>{const r=Rx(xr,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...s}=e,i=on(xr,e.__scopeTooltip);return c.jsx(Bt,{present:n||i.open,children:i.disableHoverableContent?c.jsx(Nd,{side:o,...s,ref:t}):c.jsx(jx,{side:o,...s,ref:t})})}),jx=u.forwardRef((e,t)=>{const r=on(xr,e.__scopeTooltip),n=Li(xr,e.__scopeTooltip),o=u.useRef(null),s=ke(t,o),[i,a]=u.useState(null),{trigger:l,onClose:d}=r,f=o.current,{onPointerInTransitChange:m}=n,p=u.useCallback(()=>{a(null),m(!1)},[m]),v=u.useCallback((b,h)=>{const x=b.currentTarget,y={x:b.clientX,y:b.clientY},g=_x(y,x.getBoundingClientRect()),w=Ox(y,g),P=Mx(h.getBoundingClientRect()),C=Dx([...w,...P]);a(C),m(!0)},[m]);return u.useEffect(()=>()=>p(),[p]),u.useEffect(()=>{if(l&&f){const b=x=>v(x,f),h=x=>v(x,l);return l.addEventListener("pointerleave",b),f.addEventListener("pointerleave",h),()=>{l.removeEventListener("pointerleave",b),f.removeEventListener("pointerleave",h)}}},[l,f,v,p]),u.useEffect(()=>{if(i){const b=h=>{const x=h.target,y={x:h.clientX,y:h.clientY},g=l?.contains(x)||f?.contains(x),w=!Lx(y,i);g?p():w&&(p(),d())};return document.addEventListener("pointermove",b),()=>document.removeEventListener("pointermove",b)}},[l,f,i,d,p]),c.jsx(Nd,{...e,ref:s})}),[Ax,Ix]=ho(Kr,{isInside:!1}),Tx=Mv("TooltipContent"),Nd=u.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:i,...a}=e,l=on(xr,r),d=po(r),{onClose:f}=l;return u.useEffect(()=>(document.addEventListener(Vs,f),()=>document.removeEventListener(Vs,f)),[f]),u.useEffect(()=>{if(l.trigger){const m=p=>{p.target?.contains(l.trigger)&&f()};return window.addEventListener("scroll",m,{capture:!0}),()=>window.removeEventListener("scroll",m,{capture:!0})}},[l.trigger,f]),c.jsx(no,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:m=>m.preventDefault(),onDismiss:f,children:c.jsxs(Ai,{"data-state":l.stateAttribute,...d,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[c.jsx(Tx,{children:n}),c.jsx(Ax,{scope:r,isInside:!0,children:c.jsx(Sx,{id:l.contentId,role:"tooltip",children:o||n})})]})})});Sd.displayName=xr;var qd="TooltipArrow",kd=u.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=po(r);return Ix(qd,r).isInside?null:c.jsx(Ii,{...o,...n,ref:t})});kd.displayName=qd;function _x(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(r,n,o,s)){case s:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function Ox(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return n}function Mx(e){const{top:t,right:r,bottom:n,left:o}=e;return[{x:o,y:t},{x:r,y:t},{x:r,y:n},{x:o,y:n}]}function Lx(e,t){const{x:r,y:n}=e;let o=!1;for(let s=0,i=t.length-1;s<t.length;i=s++){const a=t[s],l=t[i],d=a.x,f=a.y,m=l.x,p=l.y;f>n!=p>n&&r<(m-d)*(n-f)/(p-f)+d&&(o=!o)}return o}function Dx(e){const t=e.slice();return t.sort((r,n)=>r.x<n.x?-1:r.x>n.x?1:r.y<n.y?-1:r.y>n.y?1:0),Bx(t)}function Bx(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const o=e[n];for(;t.length>=2;){const s=t[t.length-1],i=t[t.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))t.pop();else break}t.push(o)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const o=e[n];for(;r.length>=2;){const s=r[r.length-1],i=r[r.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))r.pop();else break}r.push(o)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var Fx=yd,$x=wd,Hs=Pd,Vx=Cd,Ed=Sd,Rd=kd;const zx={dark:"border-gray-900 bg-gray-950 text-white",light:"border-gray-200 bg-white text-gray-900",primary:"border-blue-600 bg-blue-600 text-white"},Hx={dark:"fill-gray-950",light:"fill-white",primary:"fill-blue-600"},Wx=({delayDuration:e=0,...t})=>c.jsx(Fx,{delayDuration:e,...t}),Gx=$x,Kx=Vx,jd=u.forwardRef((e,t)=>{const{asChild:r,asChildWrapper:n="span",children:o,className:s,class:i,sx:a,style:l,...d}=e,f=se(),{sxClassName:m,sxInlineStyle:p}=X(a,f),v=j(m,s,i),b=L(l,p);return r?c.jsx(Hs,{asChild:!0,...d,children:c.jsx(n,{ref:t,className:j("inline-flex w-fit",v),style:b,children:o})}):c.jsx(Hs,{ref:t,className:v,style:b,...d,children:o})});jd.displayName=Hs.displayName;const Bi=u.forwardRef((e,t)=>{const{tone:r="dark",className:n,class:o,sx:s,style:i,...a}=e,l=se(),{sxClassName:d,sxInlineStyle:f}=X(s,l);return c.jsx(Rd,{ref:t,className:j(Hx[r],d,n,o),style:L(i,f),...a})});Bi.displayName=Rd.displayName;const Ad=u.forwardRef((e,t)=>{const{tone:r="dark",arrow:n=!1,sideOffset:o=6,className:s,class:i,sx:a,style:l,children:d,...f}=e,m=se(),{sxClassName:p,sxInlineStyle:v}=X(a,m);return c.jsxs(Ed,{ref:t,sideOffset:o,className:j("z-50 max-w-xs rounded-md border px-3 py-1.5 text-sm leading-5 shadow-md outline-none","origin-[--radix-tooltip-content-transform-origin]","animate-in fade-in-0 zoom-in-95","data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",zx[r],p,s,i),style:L(l,v),...f,children:[d,n?c.jsx(Bi,{tone:r}):null]})});Ad.displayName=Ed.displayName;let Id=null;function wl(e){Id=e}function Ux(){return Id}const Lr={placement:"rightTop",duration:4500,closable:!0,offset:24},$e={...Lr};let Pl=!1;function Ws(e){return{...e,placement:e.placement??$e.placement,duration:e.duration??$e.duration,closable:e.closable??$e.closable,offset:e.offset??$e.offset}}function Ln(){const e=Ux();return e||(Pl||(Pl=!0,console.warn("notification 调用失败:请先在应用根节点挂载 NotificationProvider。")),null)}function Yx(e,t){return typeof t=="string"?{...Ws({message:t}),type:e}:{...Ws(t),type:e}}function Pn(e,t){const r=Ln();return r?r.push(Yx(e,t)):""}const Xx={open(e){const t=Ln();return t?t.push(Ws(e)):""},info(e){return Pn("info",e)},success(e){return Pn("success",e)},warn(e){return Pn("warn",e)},error(e){return Pn("error",e)},dismiss(e){const t=Ln();t&&t.dismiss(e)},clear(){const e=Ln();e&&e.clear()},config(e){$e.placement=e.placement??$e.placement,$e.duration=e.duration??$e.duration,$e.closable=e.closable??$e.closable,$e.offset=e.offset??$e.offset},resetConfig(){$e.placement=Lr.placement,$e.duration=Lr.duration,$e.closable=Lr.closable,$e.offset=Lr.offset}},Jx=200,fr=24,Td={info:{icon:"info",iconColor:"#2563eb",role:"status",live:"polite"},success:{icon:"check_circle",iconColor:"#16a34a",role:"status",live:"polite"},warn:{icon:"warning",iconColor:"#d97706",role:"alert",live:"assertive"},error:{icon:"error",iconColor:"#dc2626",role:"alert",live:"assertive"}},_d=u.createContext(null);let Cl=0;function Qx(){return Cl+=1,`ldkj-notification-${Date.now()}-${Cl}`}function Zx(e,t){const r=t??fr,n=typeof r=="number"?{top:r,right:r,bottom:r,left:r}:{top:r.top??fr,right:r.right??fr,bottom:r.bottom??fr,left:r.left??fr};return e===void 0?n:typeof e=="number"?{top:e,right:e,bottom:e,left:e}:{top:e.top??n.top,right:e.right??n.right,bottom:e.bottom??n.bottom,left:e.left??n.left}}function Gs(e,t){return`${e}:${t.top}:${t.right}:${t.bottom}:${t.left}`}function ey(e){const t=new Map;for(const r of e){const n=Gs(r.placement,r.offset),o=t.get(n);o?o.push(r):t.set(n,[r])}return t}function Ko(e){return e!=null&&e!==!1}function ty(e,t){if(e==="center")return{top:"50%",left:"50%",transform:"translate(-50%, -50%)"};const r={};return e.includes("Top")&&(r.top=t.top),e.includes("Bottom")&&(r.bottom=t.bottom),e.includes("right")&&(r.right=t.right),e.includes("left")&&(r.left=t.left),r}function ry(e){const t=Td[e.type],r=e.iconColor??t.iconColor;return typeof e.icon=="string"?c.jsx(Le,{name:e.icon,color:r,size:22,className:"ldkj-notification-icon",title:`${e.type} icon`}):e.icon?.svg||e.icon?.src?c.jsx(Le,{svg:e.icon.svg,src:e.icon.src,color:r,size:22,className:"ldkj-notification-icon",title:`${e.type} icon`}):c.jsx(Le,{name:t.icon,color:r,size:22,className:"ldkj-notification-icon",title:`${e.type} icon`})}function Od(e){const{children:t,placement:r="rightTop",duration:n=4500,queueLimit:o=5,offset:s=fr,closable:i=!0}=e,[a,l]=u.useState([]),d=u.useRef(new Map),f=u.useRef(new Map),m=u.useRef(new Set),p=u.useCallback(C=>{const S=d.current.get(C);S!==void 0&&(window.clearTimeout(S),d.current.delete(C));const N=f.current.get(C);N!==void 0&&(window.clearTimeout(N),f.current.delete(C))},[]),v=u.useCallback(C=>{m.current.has(C.id)||(m.current.add(C.id),C.onClose?.())},[]),b=u.useCallback(C=>{l(S=>{const N=S.find(q=>q.id===C);return N?(p(C),v(N),S.filter(q=>q.id!==C)):S})},[p,v]),h=u.useCallback(C=>{p(C),l(N=>N.map(q=>q.id===C&&!q.leaving?{...q,leaving:!0}:q));const S=window.setTimeout(()=>{b(C)},Jx);f.current.set(C,S)},[p,b]),x=u.useCallback(()=>{l(C=>(C.forEach(S=>{p(S.id),v(S)}),[]))},[p,v]),y=u.useCallback(C=>{const S=C.id??Qx();m.current.delete(S),p(S);const N=C.placement??r,q=Zx(C.offset,s),k={id:S,type:C.type??"info",message:C.message,description:C.description,content:C.content,actions:C.actions,placement:N,offset:q,closable:C.closable??i,icon:C.icon,iconColor:C.iconColor,onClose:C.onClose,leaving:!1},A=Gs(N,q);l(R=>{const T=[...R.filter(M=>M.id!==S),k],O=T.filter(M=>Gs(M.placement,M.offset)===A);if(O.length<=o)return T;const _=O.length-o,$=new Set(O.slice(0,_).map(M=>M.id));return O.slice(0,_).forEach(M=>{p(M.id),v(M)}),T.filter(M=>!$.has(M.id))});const E=C.duration??n;if(E>0){const R=window.setTimeout(()=>{h(S)},E);d.current.set(S,R)}return S},[p,i,h,n,v,s,r,o]);u.useEffect(()=>()=>{d.current.forEach(C=>window.clearTimeout(C)),f.current.forEach(C=>window.clearTimeout(C)),d.current.clear(),f.current.clear()},[]);const g=u.useMemo(()=>({push:y,dismiss:h,clear:x}),[x,h,y]);u.useEffect(()=>(wl(g),()=>wl(null)),[g]);const w=u.useMemo(()=>ey(a),[a]),P=Array.from(w.entries());return c.jsxs(_d.Provider,{value:g,children:[t,P.map(([C,S])=>{const N=S[0];return N?c.jsx("div",{className:j("ldkj-notification-viewport",`ldkj-notification-viewport-${N.placement}`),style:ty(N.placement,N.offset),"aria-hidden":S.length===0,children:S.map(q=>{const k=Td[q.type];return c.jsxs("div",{className:j("ldkj-notification-card",`ldkj-notification-card-${q.type}`,q.leaving?"ldkj-notification-leave":"ldkj-notification-appear"),role:k.role,"aria-live":k.live,"aria-atomic":"true",children:[c.jsx("div",{className:"ldkj-notification-icon-wrap",children:ry(q)}),c.jsxs("div",{className:"ldkj-notification-main",children:[c.jsx("div",{className:"ldkj-notification-title",children:q.message}),Ko(q.description)?c.jsx("div",{className:"ldkj-notification-description",children:q.description}):null,Ko(q.content)?c.jsx("div",{className:"ldkj-notification-content",children:q.content}):null,Ko(q.actions)?c.jsx("div",{className:"ldkj-notification-actions",children:q.actions}):null]}),q.closable?c.jsx("button",{type:"button",className:"ldkj-notification-close","aria-label":"关闭通知",onClick:()=>h(q.id),children:c.jsx(Le,{name:"close",size:16,className:"ldkj-notification-close-icon"})}):null]},q.id)})},C):null})]})}Od.displayName="NotificationProvider";function ny(){const e=u.useContext(_d);if(!e)throw new Error("useNotification 必须在 NotificationProvider 内使用。");const t=u.useCallback(i=>e.push(i),[e]),r=u.useCallback(i=>e.push(Cn("info",i)),[e]),n=u.useCallback(i=>e.push(Cn("success",i)),[e]),o=u.useCallback(i=>e.push(Cn("warn",i)),[e]),s=u.useCallback(i=>e.push(Cn("error",i)),[e]);return u.useMemo(()=>({open:t,info:r,success:n,warn:o,error:s,dismiss:e.dismiss,clear:e.clear}),[e.clear,e.dismiss,s,r,t,n,o])}function Cn(e,t){return typeof t=="string"?{type:e,message:t}:{...t,type:e}}const oy={primary:"border-slate-200 border-t-blue-600",muted:"border-slate-200 border-t-slate-500",success:"border-emerald-100 border-t-emerald-600",warning:"border-amber-100 border-t-amber-600",danger:"border-rose-100 border-t-rose-600"};function Md(e){const{size:t=18,strokeWidth:r=2,tone:n="primary",label:o="loading",spinning:s=!0,className:i,class:a,style:l,...d}=e;return s?c.jsx("span",{role:"status","aria-label":o,className:j("inline-block shrink-0 animate-spin rounded-full border-solid",oy[n],i,a),style:{width:t,height:t,borderWidth:r,...l},...d,children:c.jsx("span",{className:"sr-only",children:o})}):null}function sy(e,t){const[r,n]=u.useState(e&&t<=0);return u.useEffect(()=>{if(!e){n(!1);return}if(t<=0){n(!0);return}const o=window.setTimeout(()=>n(!0),t);return()=>window.clearTimeout(o)},[t,e]),r}function iy(e){const{text:t="加载中...",variant:r="inline",size:n=18,tone:o="primary",spinning:s=!0,delay:i=0,children:a,className:l,class:d,...f}=e,p=sy(s,i)?c.jsxs("div",{role:"status","aria-live":"polite",className:j("inline-flex items-center justify-center gap-2 text-sm text-slate-600",r==="block"&&"min-h-24 w-full",r==="overlay"&&"absolute inset-0 z-10 bg-white/75 backdrop-blur-[1px]",r==="fullscreen"&&"fixed inset-0 z-50 bg-white/80 backdrop-blur-[1px]",l,d),...f,children:[c.jsx(Md,{size:n,tone:o}),t?c.jsx("span",{children:t}):null]}):null;return a?c.jsxs("div",{className:"relative","aria-busy":s||void 0,children:[a,r==="overlay"||r==="fullscreen"?p:null]}):p?c.jsx("div",{className:j(r==="block"&&"flex w-full justify-center"),children:p}):null}let Ar=0,Sl="";function ay(){return typeof document>"u"?()=>{}:(Ar===0&&(Sl=document.body.style.overflow,document.body.style.overflow="hidden"),Ar+=1,()=>{Ar=Math.max(0,Ar-1),Ar===0&&(document.body.style.overflow=Sl)})}function ly(e){switch(e){case"left":return{position:"left-0 top-0 h-full",open:"translate-x-0",closed:"-translate-x-full"};case"top":return{position:"left-0 top-0 w-full",open:"translate-y-0",closed:"-translate-y-full"};case"bottom":return{position:"bottom-0 left-0 w-full",open:"translate-y-0",closed:"translate-y-full"};default:return{position:"right-0 top-0 h-full",open:"translate-x-0",closed:"translate-x-full"}}}function cy(e){const{open:t,title:r,width:n=360,height:o=320,placement:s="right",className:i,class:a,overlayClassName:l,bodyClassName:d,footer:f,children:m,onOpenChange:p,animated:v=!0,animationDuration:b=220,lockScroll:h=!0,maskClosable:x=!0,closeOnEsc:y=!0,destroyOnClose:g=!0,role:w="dialog",...P}=e,[C,S]=u.useState(t),[N,q]=u.useState(t),k=u.useRef(null),A=ly(s),E=s==="left"||s==="right";return u.useEffect(()=>{if(t){S(!0);const I=window.requestAnimationFrame(()=>q(!0));return()=>window.cancelAnimationFrame(I)}if(q(!1),!v){g&&S(!1);return}const R=window.setTimeout(()=>{g&&S(!1)},b);return()=>window.clearTimeout(R)},[v,b,g,t]),u.useEffect(()=>{if(!(!t||!h))return ay()},[h,t]),u.useEffect(()=>{if(!t||!y)return;const R=I=>{I.key==="Escape"&&p?.(!1)};return window.addEventListener("keydown",R),()=>window.removeEventListener("keydown",R)},[y,p,t]),u.useEffect(()=>{t&&k.current?.focus()},[t]),C?c.jsxs("div",{className:"fixed inset-0 z-50","aria-hidden":!N,children:[c.jsx("div",{className:j("absolute inset-0 bg-black/45",v&&"transition-opacity ease-out",N?"opacity-100":"opacity-0",l),style:{transitionDuration:v?`${b}ms`:"0ms"},onClick:()=>{x&&p?.(!1)}}),c.jsxs("div",{ref:k,tabIndex:-1,role:w,"aria-modal":"true","aria-label":typeof r=="string"?r:void 0,className:j("absolute flex max-h-full max-w-full flex-col bg-white shadow-xl outline-none",A.position,v&&"transition-transform ease-out will-change-transform",N?A.open:A.closed,i,a),style:{width:E?n:void 0,height:E?void 0:o,transitionDuration:v?`${b}ms`:"0ms"},...P,children:[r?c.jsxs("div",{className:"flex shrink-0 items-center justify-between border-b border-slate-200 px-4 py-3",children:[c.jsx("div",{className:"min-w-0 text-base font-medium text-slate-900",children:r}),c.jsx("button",{type:"button","aria-label":"Close drawer",className:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded text-slate-500 transition hover:bg-slate-100 hover:text-slate-900 focus:outline-none focus:ring-2 focus:ring-blue-500/30",onClick:()=>p?.(!1),children:"x"})]}):null,c.jsx("div",{className:j("min-h-0 flex-1 overflow-auto p-4",d),children:m}),f?c.jsx("div",{className:"shrink-0 border-t border-slate-200 px-4 py-3",children:f}):null]})]}):null}const uy={info:"border-blue-200 bg-blue-50 text-blue-800",success:"border-emerald-200 bg-emerald-50 text-emerald-800",warning:"border-amber-200 bg-amber-50 text-amber-800",error:"border-rose-200 bg-rose-50 text-rose-800"},dy={info:"bg-blue-600 text-white",success:"bg-emerald-600 text-white",warning:"bg-amber-500 text-white",error:"bg-rose-600 text-white"},fy={info:"i",success:"ok",warning:"!",error:"!"};function my(e){const{className:t,class:r,variant:n="info",title:o,description:s,children:i,icon:a,showIcon:l=!!a,action:d,closable:f=!1,open:m,onClose:p,onOpenChange:v,role:b=n==="error"||n==="warning"?"alert":"status",...h}=e,[x,y]=u.useState(!0);if(!(m??x))return null;const w=()=>{y(!1),v?.(!1),p?.()};return c.jsx("div",{role:b,className:j("rounded-md border p-3",uy[n],t,r),...h,children:c.jsxs("div",{className:"flex items-start gap-3",children:[l?c.jsx("span",{"aria-hidden":!0,className:j("mt-0.5 inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1 text-[10px] font-semibold leading-none",dy[n]),children:a??fy[n]}):null,c.jsxs("div",{className:"min-w-0 flex-1",children:[o?c.jsx("div",{className:"font-medium",children:o}):null,s?c.jsx("div",{className:"mt-1 text-sm opacity-90",children:s}):i,d?c.jsx("div",{className:"mt-2",children:d}):null]}),f?c.jsx("button",{type:"button","aria-label":"Close alert",className:"inline-flex h-6 w-6 shrink-0 items-center justify-center rounded text-current opacity-70 transition hover:bg-current/10 hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-current/30",onClick:w,children:"x"}):null]})})}const hy={normal:"#2563eb",success:"#059669",warning:"#d97706",exception:"#e11d48"},py={xs:48,sm:64,md:96,lg:120,xl:144},vy={xs:4,sm:6,md:8,lg:10,xl:12};function gy(e,t){return!Number.isFinite(e)||!Number.isFinite(t)||t<=0?0:Math.max(0,Math.min(100,e/t*100))}function by(e,t){return typeof e=="number"?e:t==="circle"?py[e]:vy[e]}function xy(e){const{value:t=0,max:r=100,showInfo:n=!1,type:o="line",status:s,size:i="md",strokeWidth:a,strokeColor:l,trailColor:d="#e2e8f0",format:f,className:m,class:p,...v}=e,b=gy(t,r),h=s??(b>=100?"success":"normal"),x=l??hy[h],y=f?f(Math.round(b),t,r):`${Math.round(b)}%`,g=by(i,o),w=a??(o==="circle"?8:g);if(o==="circle"){const P=Math.max(1,Math.min(48,w)),C=50-P/2,S=2*Math.PI*C,N=S*(1-b/100);return c.jsxs("div",{role:"progressbar","aria-valuemin":0,"aria-valuemax":r,"aria-valuenow":Math.max(0,Math.min(r,t)),className:j("relative inline-flex items-center justify-center",m,p),style:{width:g,height:g},...v,children:[c.jsxs("svg",{viewBox:"0 0 100 100",className:"h-full w-full -rotate-90",children:[c.jsx("circle",{cx:"50",cy:"50",r:C,fill:"none",stroke:d,strokeWidth:P}),c.jsx("circle",{cx:"50",cy:"50",r:C,fill:"none",stroke:x,strokeLinecap:"round",strokeWidth:P,strokeDasharray:S,strokeDashoffset:N,className:"transition-[stroke-dashoffset,stroke] duration-300 ease-out"})]}),n?c.jsx("div",{className:"absolute inset-0 flex items-center justify-center text-sm font-medium text-slate-700",children:y}):null]})}return c.jsxs("div",{role:"progressbar","aria-valuemin":0,"aria-valuemax":r,"aria-valuenow":Math.max(0,Math.min(r,t)),className:j("w-full",m,p),...v,children:[c.jsx("div",{className:"w-full overflow-hidden rounded-full",style:{height:w,backgroundColor:d},children:c.jsx("div",{className:"h-full transition-[width,background-color] duration-300 ease-out",style:{width:`${b}%`,backgroundColor:x}})}),n?c.jsx("div",{className:"mt-1 text-xs text-slate-500",children:y}):null]})}function vo(e){const t=u.useRef({value:e,previous:e});return u.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var go="Checkbox",[yy]=rt(go),[wy,Fi]=yy(go);function Py(e){const{__scopeCheckbox:t,checked:r,children:n,defaultChecked:o,disabled:s,form:i,name:a,onCheckedChange:l,required:d,value:f="on",internal_do_not_use_render:m}=e,[p,v]=yt({prop:r,defaultProp:o??!1,onChange:l,caller:go}),[b,h]=u.useState(null),[x,y]=u.useState(null),g=u.useRef(!1),w=b?!!i||!!b.closest("form"):!0,P={checked:p,disabled:s,setChecked:v,control:b,setControl:h,name:a,form:i,value:f,hasConsumerStoppedPropagationRef:g,required:d,defaultChecked:Tt(o)?!1:o,isFormControl:w,bubbleInput:x,setBubbleInput:y};return c.jsx(wy,{scope:t,...P,children:Cy(m)?m(P):n})}var Ld="CheckboxTrigger",Dd=u.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:r,...n},o)=>{const{control:s,value:i,disabled:a,checked:l,required:d,setControl:f,setChecked:m,hasConsumerStoppedPropagationRef:p,isFormControl:v,bubbleInput:b}=Fi(Ld,e),h=ke(o,f),x=u.useRef(l);return u.useEffect(()=>{const y=s?.form;if(y){const g=()=>m(x.current);return y.addEventListener("reset",g),()=>y.removeEventListener("reset",g)}},[s,m]),c.jsx(be.button,{type:"button",role:"checkbox","aria-checked":Tt(l)?"mixed":l,"aria-required":d,"data-state":Hd(l),"data-disabled":a?"":void 0,disabled:a,value:i,...n,ref:h,onKeyDown:ce(t,y=>{y.key==="Enter"&&y.preventDefault()}),onClick:ce(r,y=>{m(g=>Tt(g)?!0:!g),b&&v&&(p.current=y.isPropagationStopped(),p.current||y.stopPropagation())})})});Dd.displayName=Ld;var Bd=u.forwardRef((e,t)=>{const{__scopeCheckbox:r,name:n,checked:o,defaultChecked:s,required:i,disabled:a,value:l,onCheckedChange:d,form:f,...m}=e;return c.jsx(Py,{__scopeCheckbox:r,checked:o,defaultChecked:s,disabled:a,required:i,onCheckedChange:d,name:n,form:f,value:l,internal_do_not_use_render:({isFormControl:p})=>c.jsxs(c.Fragment,{children:[c.jsx(Dd,{...m,ref:t,__scopeCheckbox:r}),p&&c.jsx(zd,{__scopeCheckbox:r})]})})});Bd.displayName=go;var Fd="CheckboxIndicator",$d=u.forwardRef((e,t)=>{const{__scopeCheckbox:r,forceMount:n,...o}=e,s=Fi(Fd,r);return c.jsx(Bt,{present:n||Tt(s.checked)||s.checked===!0,children:c.jsx(be.span,{"data-state":Hd(s.checked),"data-disabled":s.disabled?"":void 0,...o,ref:t,style:{pointerEvents:"none",...e.style}})})});$d.displayName=Fd;var Vd="CheckboxBubbleInput",zd=u.forwardRef(({__scopeCheckbox:e,...t},r)=>{const{control:n,hasConsumerStoppedPropagationRef:o,checked:s,defaultChecked:i,required:a,disabled:l,name:d,value:f,form:m,bubbleInput:p,setBubbleInput:v}=Fi(Vd,e),b=ke(r,v),h=vo(s),x=lo(n);u.useEffect(()=>{const g=p;if(!g)return;const w=window.HTMLInputElement.prototype,C=Object.getOwnPropertyDescriptor(w,"checked").set,S=!o.current;if(h!==s&&C){const N=new Event("click",{bubbles:S});g.indeterminate=Tt(s),C.call(g,Tt(s)?!1:s),g.dispatchEvent(N)}},[p,h,s,o]);const y=u.useRef(Tt(s)?!1:s);return c.jsx(be.input,{type:"checkbox","aria-hidden":!0,defaultChecked:i??y.current,required:a,disabled:l,name:d,value:f,form:m,...t,tabIndex:-1,ref:b,style:{...t.style,...x,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});zd.displayName=Vd;function Cy(e){return typeof e=="function"}function Tt(e){return e==="indeterminate"}function Hd(e){return Tt(e)?"indeterminate":e?"checked":"unchecked"}const Wd=u.createContext(null);function Sy(e){return u.createElement(Wd.Provider,{value:e.value},e.children)}function Ny(){return u.useContext(Wd)}const qy=()=>c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",className:"checkbox-check h-3 w-3",fill:"none",children:c.jsx("path",{d:"M3.5 8.5L6.5 11.5L12.5 4.5",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round"})}),ky=()=>c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",className:"checkbox-minus h-3 w-3",fill:"none",children:c.jsx("path",{d:"M4 8H12",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round"})}),sn=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,children:i,checked:a,disabled:l,name:d,onCheckedChange:f,value:m,...p}=e,v=se(),{sxClassName:b,sxInlineStyle:h}=X(o,v),x=Ny(),y=typeof m=="string"?m:void 0,g=!!(x&&y!==void 0),w=a??(g?x?.selectedValues.has(y):void 0),P=l||(g?x?.disabled:!1),C=d??(g?x?.name:void 0);return c.jsx(Bd,{ref:t,checked:w,disabled:P,name:C,onCheckedChange:S=>{f?.(S),g&&a===void 0&&x?.toggleValue(y,S===!0)},value:m,className:j("peer inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-[4px] border border-solid border-slate-300 bg-white text-white transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50","data-[state=checked]:border-blue-600 data-[state=checked]:bg-blue-600","data-[state=indeterminate]:border-blue-600 data-[state=indeterminate]:bg-blue-600",b,r,n),style:L(s,h),...p,children:i??c.jsxs($d,{className:j("inline-flex h-4 w-4 items-center justify-center text-current","[&[data-state=checked]_.checkbox-minus]:hidden","[&[data-state=indeterminate]_.checkbox-check]:hidden"),children:[c.jsx(qy,{}),c.jsx(ky,{})]})})});sn.displayName="Checkbox";var Ey=Symbol.for("react.lazy"),Un=u[" use ".trim().toString()];function Ry(e){return typeof e=="object"&&e!==null&&"then"in e}function Gd(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Ey&&"_payload"in e&&Ry(e._payload)}function jy(e){const t=Ay(e),r=u.forwardRef((n,o)=>{let{children:s,...i}=n;Gd(s)&&typeof Un=="function"&&(s=Un(s._payload));const a=u.Children.toArray(s),l=a.find(Ty);if(l){const d=l.props.children,f=a.map(m=>m===l?u.Children.count(d)>1?u.Children.only(null):u.isValidElement(d)?d.props.children:null:m);return c.jsx(t,{...i,ref:o,children:u.isValidElement(d)?u.cloneElement(d,void 0,f):null})}return c.jsx(t,{...i,ref:o,children:s})});return r.displayName=`${e}.Slot`,r}function Ay(e){const t=u.forwardRef((r,n)=>{let{children:o,...s}=r;if(Gd(o)&&typeof Un=="function"&&(o=Un(o._payload)),u.isValidElement(o)){const i=Oy(o),a=_y(s,o.props);return o.type!==u.Fragment&&(a.ref=n?yi(n,i):i),u.cloneElement(o,a)}return u.Children.count(o)>1?u.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Iy=Symbol("radix.slottable");function Ty(e){return u.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Iy}function _y(e,t){const r={...t};for(const n in t){const o=e[n],s=t[n];/^on[A-Z]/.test(n)?o&&s?r[n]=(...a)=>{const l=s(...a);return o(...a),l}:o&&(r[n]=o):n==="style"?r[n]={...o,...s}:n==="className"&&(r[n]=[o,s].filter(Boolean).join(" "))}return{...e,...r}}function Oy(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var My=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],bo=My.reduce((e,t)=>{const r=jy(`Primitive.${t}`),n=u.forwardRef((o,s)=>{const{asChild:i,...a}=o,l=i?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(l,{...a,ref:s})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),Ly="Label",Kd=u.forwardRef((e,t)=>c.jsx(bo.label,{...e,ref:t,onMouseDown:r=>{r.target.closest("button, input, select, textarea")||(e.onMouseDown?.(r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));Kd.displayName=Ly;var Ks=Kd;function Dy(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function By(e){return e==="center"?"center":e==="right"?"flex-end":"flex-start"}const xo=u.forwardRef((e,t)=>{const{children:r,className:n,class:o,colon:s,containerClass:i,containerClassName:a,containerStyle:l,containerSx:d,label:f,labelAlign:m="left",labelWidth:p,position:v="left",required:b=!1,sx:h,style:x,...y}=e,g=se(),{sxClassName:w,sxInlineStyle:P}=X(h,g),{sxClassName:C,sxInlineStyle:S}=X(d,g),N=L({width:Dy(p),justifyContent:By(m)},x,P),q=j("inline-flex gap-1 text-sm font-medium leading-5 text-slate-700","peer-disabled:cursor-not-allowed peer-disabled:opacity-70",w,n,o);return f===void 0?c.jsx(Ks,{ref:t,className:q,style:N,...y,children:r}):c.jsxs("div",{className:j("flex w-fit",v==="top"?"flex-col items-start gap-1.5":"flex-row items-center gap-2",C,a,i),style:L(l,S),children:[c.jsxs(Ks,{ref:t,className:q,style:N,...y,children:[b?c.jsx("span",{className:"text-red-500 font-serif",children:"*"}):null,c.jsx("span",{children:f}),s===!0?":":s??null]}),r]})});xo.displayName="Label";const Nl={xs:"gap-1",sm:"gap-2",md:"gap-3",lg:"gap-4"};function Fy(e){return e===void 0?{className:Nl.md}:e==="xs"||e==="sm"||e==="md"||e==="lg"?{className:Nl[e]}:{style:{gap:typeof e=="number"?`${e}px`:e}}}function $y(e,t){if(e.type==="single"){const r=e.value??t[0];return r===void 0?[]:[r]}return e.value??t}function Vy(e){return e.type==="single"?e.defaultValue===void 0?[]:[e.defaultValue]:e.defaultValue??[]}function Ud(e){const{className:t,class:r,children:n,direction:o="vertical",disabled:s=!1,gap:i="md",name:a,options:l,sx:d,style:f,type:m,value:p,defaultValue:v,onChange:b,...h}=e,x=se(),{sxClassName:y,sxInlineStyle:g}=X(d,x),w=Fy(i),[P,C]=u.useState(()=>Vy(e)),S=$y(e,P),N=new Set(S);function q(E){if(e.value===void 0&&C(E),e.type==="single"){e.onChange?.(E[0]);return}e.onChange?.(E)}function k(E,R){if(e.type==="single"){q(R?[E]:[]);return}const I=new Set(S);R?I.add(E):I.delete(E),q(Array.from(I))}const A=u.useMemo(()=>({disabled:s,name:a,selectedValues:N,toggleValue:k}),[s,a,N]);return c.jsx("div",{role:"group",className:j("flex",o==="horizontal"?"flex-row flex-wrap":"flex-col",w.className,y,t,r),style:L(f,w.style,g),...h,children:c.jsxs(Sy,{value:A,children:[l?.map(E=>{const R=s||E.disabled,I=N.has(E.value);return c.jsxs(xo,{className:j("inline-flex items-start gap-2 text-sm leading-5 text-slate-700",R&&"cursor-not-allowed text-slate-400",!R&&"cursor-pointer",E.className),children:[c.jsx(sn,{...E.checkboxProps,name:a,value:E.value,checked:I,disabled:R,onCheckedChange:T=>k(E.value,T===!0)}),c.jsxs("span",{className:"grid gap-0.5",children:[c.jsx("span",{children:E.label}),E.description?c.jsx("span",{className:"text-xs text-slate-500",children:E.description}):null]})]},E.value)}),n]})})}Ud.displayName="CheckboxGroup";function yo(e,t){const r=n=>c.jsx(c.Fragment,{children:n.children});return r.displayName=e,Object.defineProperty(r,"__ldkjInputSlot",{value:t}),r}const zy=yo("Input.Prefix","prefix"),Hy=yo("Input.Suffix","suffix"),Wy=yo("Input.AddonBefore","addonBefore"),Gy=yo("Input.AddonAfter","addonAfter"),$i=e=>c.jsx(c.Fragment,{children:e.children});$i.displayName="Input.Addon";Object.defineProperty($i,"__ldkjInputSlot",{value:"addon"});function Ky(e){if(!u.isValidElement(e))return;const r=e.type.__ldkjInputSlot;return r==="addon"?(e.props.position??"before")==="after"?"addonAfter":"addonBefore":r}function Uy(e,t){const r={addonAfter:t.addonAfter,addonBefore:t.addonBefore,prefix:t.prefix,suffix:t.suffix};return u.Children.forEach(e,n=>{const o=Ky(n);!o||!u.isValidElement(n)||(r[o]=n.props.children)}),r}function Yy(e){return Object.values(e).some(t=>t!=null)}const Yd=u.forwardRef((e,t)=>{const{addonAfter:r,addonBefore:n,children:o,className:s,class:i,prefix:a,suffix:l,sx:d,style:f,type:m="text",...p}=e,v=se(),{sxClassName:b,sxInlineStyle:h}=X(d,v),x=Uy(o,{addonAfter:r,addonBefore:n,prefix:a,suffix:l}),y=Yy(x),g=j(y?"min-w-0 flex-1 border-0 bg-transparent px-0 py-0 text-sm text-slate-900 outline-none file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-slate-700 placeholder:text-slate-400 focus-visible:outline-none disabled:cursor-not-allowed disabled:text-slate-500":"flex h-9 w-full rounded-md border border-solid border-slate-300 bg-white px-3 py-2 text-sm text-slate-900 shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-slate-700 placeholder:text-slate-400 focus-visible:border-blue-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30 disabled:cursor-not-allowed disabled:bg-slate-50 disabled:text-slate-500 disabled:opacity-70",!y&&b,!y&&s,!y&&i),w=c.jsx("input",{ref:t,type:m,className:g,style:y?void 0:L(f,h),...p});if(!y)return w;const P=!!p.disabled;return c.jsxs("span",{className:j("inline-flex h-9 w-full items-stretch rounded-md text-sm shadow-sm transition-colors",P&&"opacity-70",b,s,i),style:L(f,h),children:[x.addonBefore?c.jsx("span",{className:"inline-flex shrink-0 items-center rounded-l-md border border-r-0 border-solid border-slate-300 bg-slate-50 px-3 text-slate-600",children:x.addonBefore}):null,c.jsxs("span",{className:j("inline-flex min-w-0 flex-1 items-center gap-2 border border-solid border-slate-300 bg-white px-3 text-slate-900 transition-colors",x.addonBefore?"rounded-l-none":"rounded-l-md",x.addonAfter?"rounded-r-none":"rounded-r-md","focus-within:border-blue-500 focus-within:ring-2 focus-within:ring-blue-500/30",P&&"bg-slate-50 text-slate-500"),children:[x.prefix?c.jsx("span",{className:"inline-flex shrink-0 items-center text-slate-500",children:x.prefix}):null,w,x.suffix?c.jsx("span",{className:"inline-flex shrink-0 items-center text-slate-500",children:x.suffix}):null]}),x.addonAfter?c.jsx("span",{className:"inline-flex shrink-0 items-center rounded-r-md border border-l-0 border-solid border-slate-300 bg-slate-50 px-3 text-slate-600",children:x.addonAfter}):null]})});Yd.displayName="Input";const Vi=Object.assign(Yd,{Addon:$i,AddonAfter:Gy,AddonBefore:Wy,Prefix:zy,Suffix:Hy});function Yt(e){if(e.trim()==="")return null;const t=Number(e);return Number.isFinite(t)?t:null}function ql(e){if(!Number.isFinite(e))return 0;const[,t=""]=String(e).split(".");return t.length}function Xy(e,t,r){if(!Number.isFinite(r)||!r||r<=0)return e;const n=Number.isFinite(t)?t??0:0,o=Math.max(ql(n),ql(r)),s=n+Math.round((e-n)/r)*r;return Number(s.toFixed(Math.min(o+2,12)))}function Jy(e,t){return Number.isFinite(t)?e.toFixed(Math.max(0,Math.floor(t??0))):String(e)}function Qy(e,t){const r=Yt(e);if(r===null)return{value:null,valueAsString:""};if(!t.clampOnBlur)return{value:r,valueAsString:e};let n=r;Number.isFinite(t.min)&&(n=Math.max(t.min??n,n)),Number.isFinite(t.max)&&(n=Math.min(t.max??n,n)),n=Xy(n,t.min,t.step),Number.isFinite(t.min)&&(n=Math.max(t.min??n,n)),Number.isFinite(t.max)&&(n=Math.min(t.max??n,n));const o=Jy(n,t.precision);return{value:n,valueAsString:o}}function Xt(e){return e==null?"":String(e)}function kl(e){return!e.disabled&&!e.readOnly}function Xd(e={}){const{clampOnBlur:t=!1,defaultValue:r="",max:n,min:o,onValueChange:s,onValueCommit:i,precision:a,step:l,value:d}=e,f=d!==void 0,[m,p]=u.useState(()=>Xt(r)),v=f?Xt(d):m,b=u.useMemo(()=>Yt(v),[v]),h=u.useCallback(w=>{f||p(w)},[f]),x=u.useCallback(w=>{const P=Xt(w);h(P),s?.(Yt(P),{reason:"set",valueAsString:P})},[s,h]),y=u.useCallback((w=v)=>{const P=Xt(w),C=Qy(P,{clampOnBlur:t,max:n,min:o,precision:a,step:l}),S=t?C.valueAsString:P,N=t?C.value:Yt(P);return h(S),{value:N,valueAsString:S}},[t,n,o,a,l,h,v]),g=u.useCallback((w={})=>{const{disabled:P,onBlur:C,onChange:S,onKeyDown:N,readOnly:q,...k}=w;return{...k,disabled:P,inputMode:"decimal",max:n,min:o,readOnly:q,step:l,type:"number",value:v,onBlur:A=>{if(kl({disabled:P,readOnly:q})){const E=y(A.currentTarget.value);t&&(A.currentTarget.value=E.valueAsString,s?.(E.value,{event:A,reason:"commit",valueAsString:E.valueAsString})),i?.(E.value,{event:A,reason:"commit",valueAsString:E.valueAsString})}C?.(A)},onChange:A=>{S?.(A),h(A.currentTarget.value),s?.(Yt(A.currentTarget.value),{event:A,reason:"input",valueAsString:A.currentTarget.value})},onKeyDown:A=>{if(N?.(A),A.key==="Enter"&&!A.defaultPrevented&&kl({disabled:P,readOnly:q})){const E=y(A.currentTarget.value);t&&(A.currentTarget.value=E.valueAsString,s?.(E.value,{event:A,reason:"commit",valueAsString:E.valueAsString})),i?.(E.value,{event:A,reason:"commit",valueAsString:E.valueAsString})}}}},[t,y,n,o,s,i,a,l,h,v]);return{commitValue:y,getInputProps:g,numberValue:b,setValue:x,value:v}}function Zy(e={}){const{defaultValue:t="",onValueChange:r,...n}=e,[o,s]=u.useState(()=>Xt(t)),[i,a]=u.useState(()=>Yt(Xt(t))),l=u.useCallback(m=>{const p=Xt(m);s(p),a(Yt(p))},[]),d=u.useCallback(m=>{s(m.currentTarget.value)},[]),f=u.useCallback((m,p)=>{a(m),p.reason==="commit"&&s(p.valueAsString),r?.(m,p)},[r]);return{inputProps:{...n,onChange:d,onValueChange:f,value:o},numberValue:i,setValue:l,value:o}}const Jd=u.forwardRef((e,t)=>{const{clampOnBlur:r=!1,defaultValue:n,disabled:o,max:s,min:i,onBlur:a,onChange:l,onKeyDown:d,onValueChange:f,onValueCommit:m,precision:p,readOnly:v,step:b,value:h,...x}=e,y=Xd({clampOnBlur:r,defaultValue:n,max:s,min:i,onValueChange:f,onValueCommit:m,precision:p,step:b,value:h});return c.jsx(Vi,{...x,...y.getInputProps({disabled:o,onBlur:a,onChange:l,onKeyDown:d,readOnly:v}),ref:t})});Jd.displayName="InputNumber";const e0={numeric:/^[0-9]$/,alphabetic:/^[A-Za-z]$/,alphanumeric:/^[A-Za-z0-9]$/},t0={numeric:"[0-9]*",alphabetic:"[A-Za-z]*",alphanumeric:"[A-Za-z0-9]*"},r0={sm:"h-8 w-8 text-sm",md:"h-10 w-10 text-base",lg:"h-12 w-12 text-lg"},n0={outline:"rounded-md border border-slate-300 bg-white text-slate-900",filled:"rounded-md border border-slate-100 bg-slate-100 text-slate-900",underline:"border-0 border-b border-slate-300 bg-transparent text-slate-900"};function o0(e){return Number.isFinite(e)?Math.max(1,Math.floor(e??6)):6}function s0(e,t){const r=t?typeof t=="string"?new RegExp(t):t:e0[e];return n=>(r.lastIndex=0,r.test(n))}function i0(e,t,r){return Array.from(e).filter(r).slice(0,t).join("")}function a0(e,t){return typeof t=="string"?t:t instanceof RegExp?t.source:t0[e]}const Qd=u.forwardRef((e,t)=>{const{value:r,defaultValue:n="",length:o=6,disabled:s,readOnly:i,className:a,class:l,inputClassName:d,slotClassName:f,onChange:m,onComplete:p,type:v="numeric",pattern:b,pasteTransformer:h,mask:x=!1,placeholder:y="",autoFocus:g=!0,oneTimeCode:w=!0,size:P="md",variant:C="outline",invalid:S=!1,separator:N,style:q,sx:k,inputMode:A,autoComplete:E,onBlur:R,onFocus:I,onKeyDown:T,onPaste:O,"aria-label":_,...$}=e,M=se(),{sxClassName:U,sxInlineStyle:D}=X(k,M),G=o0(o),he=u.useMemo(()=>s0(v,b),[b,v]),te=u.useCallback(re=>i0(re,G,he),[G,he]),J=r!==void 0,[H,Y]=u.useState(()=>te(n)),B=te(J?r??"":H),Q=u.useRef(null),z=u.useRef(B),K=u.useRef(null),[W,Z]=u.useState(!1),ae=Array.from(B),ue=Math.min(ae.length,G-1),pe=Array.from(y)[0]??"",ve=typeof x=="string"?x:"•";u.useImperativeHandle(t,()=>Q.current),u.useEffect(()=>{z.current=B},[B]),u.useEffect(()=>{J||Y(re=>te(re))},[J,te]);const ie=u.useCallback(()=>{const re=Q.current;if(!re)return;const me=re.value.length;try{re.setSelectionRange(me,me)}catch{}},[]),ye=u.useCallback(re=>{const me=te(re),Re=z.current;z.current=me,J||Y(me),me!==Re&&m?.(me),me.length===G?K.current!==me&&(K.current=me,p?.(me)):K.current=null,window.requestAnimationFrame(ie)},[J,ie,te,m,p,G]),Se=u.useCallback(()=>{s||(Q.current?.focus(),window.requestAnimationFrame(ie))},[s,ie]);u.useEffect(()=>{if(!g||s)return;const re=Q.current,me=re?.ownerDocument;!re||!me||me.activeElement!==me.body||(re.focus(),ie())},[g,s,ie]);const _e=re=>{ye(re.target.value)},oe=re=>{Z(!0),I?.(re),window.requestAnimationFrame(ie)},we=re=>{Z(!1),R?.(re)},Ee=re=>{if(T?.(re),!re.defaultPrevented){if(re.key==="Backspace"||re.key==="Delete"){re.preventDefault(),!i&&z.current.length>0&&ye(z.current.slice(0,-1));return}(re.key==="ArrowLeft"||re.key==="ArrowRight"||re.key==="Home"||re.key==="End")&&(re.preventDefault(),ie())}},de=re=>{if(O?.(re),re.defaultPrevented||i)return;re.preventDefault();const me=re.clipboardData.getData("text"),Re=h?h(me):me;ye(`${z.current}${Re}`)},Ie=re=>{s||(re.preventDefault(),Se())},fe=re=>re>=G-1?null:typeof N=="function"?N(re):N;return c.jsx("div",{className:j("inline-flex flex-col gap-2",U,a,l),style:L(q,D),"data-disabled":s?"":void 0,"data-readonly":i?"":void 0,"data-complete":B.length===G?"":void 0,children:c.jsxs("div",{className:"relative inline-flex items-center gap-2",onMouseDown:Ie,children:[c.jsx("input",{...$,ref:Q,type:"text",value:B,disabled:s,readOnly:i,maxLength:G,inputMode:A??(v==="numeric"?"numeric":"text"),autoComplete:w?"one-time-code":E,pattern:a0(v,b),"aria-label":_??"一次性验证码","aria-invalid":S||$["aria-invalid"]?!0:void 0,className:j("absolute inset-0 z-10 h-full w-full cursor-text border-0 bg-transparent p-0 text-transparent opacity-0 outline-none","disabled:cursor-not-allowed",d),onChange:_e,onFocus:oe,onBlur:we,onKeyDown:Ee,onPaste:de}),Array.from({length:G}).map((re,me)=>{const Re=ae[me]??"",Te=Re.length>0,Ye=W&&!s&&me===ue,Ve=Te?x?ve:Re:pe,nt=fe(me);return c.jsxs(u.Fragment,{children:[c.jsx("span",{"aria-hidden":"true",className:j("inline-flex shrink-0 select-none items-center justify-center font-semibold transition-colors",r0[P],n0[C],!Te&&"font-normal text-slate-400",Ye&&"border-blue-500 ring-2 ring-blue-500/30",S&&"border-red-500 text-red-600",Ye&&S&&"ring-red-500/25",s&&"cursor-not-allowed bg-slate-50 text-slate-400 opacity-70",i&&!s&&"bg-slate-50",f),"data-active":Ye?"":void 0,"data-filled":Te?"":void 0,children:Ve}),nt?c.jsx("span",{"aria-hidden":"true",className:"select-none text-sm text-slate-400",children:nt}):null]},me)})]})})});Qd.displayName="InputOPT";function El(e){return e==null?"":String(e)}function l0(e){return typeof e=="string"||typeof e=="number"?String(e):""}function c0(e,t){const r=t.trim().toLowerCase();return r?[e.value,e.textValue,l0(e.label),...e.keywords??[]].filter(Boolean).join(" ").toLowerCase().includes(r):!0}function Rl(e,t,r){if(!e.length)return-1;let n=t;for(let o=0;o<e.length;o+=1)if(n=(n+r+e.length)%e.length,!e[n]?.disabled)return n;return-1}function u0(e,t){const r=window.HTMLInputElement.prototype;Object.getOwnPropertyDescriptor(r,"value")?.set?.call(e,t),e.dispatchEvent(new Event("input",{bubbles:!0}))}function d0(e,t){if(e){if(typeof e=="function"){e(t);return}e.current=t}}function f0(...e){return u.useCallback(t=>{for(const r of e)d0(r,t)},e)}const Zd=u.forwardRef((e,t)=>{const{autoComplete:r="off",class:n,className:o,defaultValue:s,disabled:i,dropdownClassName:a,dropdownStyle:l,dropdownSx:d,emptyText:f="暂无匹配结果",filterOption:m=c0,onBlur:p,onChange:v,onFocus:b,onKeyDown:h,onOptionSelect:x,onValueChange:y,openOnFocus:g=!0,optionClassName:w,optionStyle:P,optionSx:C,options:S=[],readOnly:N,renderOption:q,rootClassName:k,rootStyle:A,rootSx:E,value:R,...I}=e,T=se(),O=u.useRef(null),_=u.useRef(null),$=u.useRef(null),M=u.useId(),[U,D]=u.useState(()=>El(s)),[G,he]=u.useState(!1),[te,J]=u.useState(-1),H=R!==void 0,Y=H?El(R):U,B=!i&&!N,Q=X(E,T),z=X(d,T),K=X(C,T),W=f0(O,t),Z=u.useMemo(()=>m===!1?S:S.filter(oe=>m(oe,Y)),[m,Y,S]),ae=G&&B&&(Z.length>0||f!==null),ue=te>=0?Z[te]:void 0,pe=ae&&ue?`${M}-option-${te}`:void 0;u.useEffect(()=>{if(!G)return;const oe=we=>{const Ee=we.target;Ee instanceof Node&&_.current&&!_.current.contains(Ee)&&(he(!1),J(-1))};return document.addEventListener("pointerdown",oe),()=>{document.removeEventListener("pointerdown",oe)}},[G]),u.useEffect(()=>{te>=Z.length&&J(-1)},[te,Z.length]);const ve=(oe,we)=>{oe.disabled||($.current=oe,H||D(oe.value),O.current&&u0(O.current,oe.value),he(!1),J(-1),x?.(oe,we),O.current?.focus(),window.setTimeout(()=>{$.current===oe&&($.current=null)},0))},ie=oe=>{const we=oe.currentTarget.value,Ee=$.current;$.current=null,H||D(we),B&&he(!Ee),J(-1),v?.(oe),y?.(we,{event:oe,option:Ee??void 0,reason:Ee?"select":"input"})},ye=oe=>{B&&g&&he(!0),b?.(oe)},Se=oe=>{const we=oe.relatedTarget;if(we instanceof Node&&_.current?.contains(we)){p?.(oe);return}he(!1),J(-1),p?.(oe)},_e=oe=>{if(!B){h?.(oe);return}oe.key==="ArrowDown"?(oe.preventDefault(),he(!0),J(we=>Rl(Z,we<0?-1:we,1))):oe.key==="ArrowUp"?(oe.preventDefault(),he(!0),J(we=>Rl(Z,we<0?Z.length:we,-1))):oe.key==="Enter"&&G&&ue?(oe.preventDefault(),ve(ue,oe)):(oe.key==="Escape"||oe.key==="Tab")&&(he(!1),J(-1)),h?.(oe)};return c.jsxs("div",{ref:_,className:j("relative w-full",Q.sxClassName,k),style:L(A,Q.sxInlineStyle),children:[c.jsx(Vi,{...I,ref:W,autoComplete:r,class:n,className:o,disabled:i,readOnly:N,role:"combobox","aria-autocomplete":"list","aria-controls":ae?M:void 0,"aria-expanded":ae,"aria-activedescendant":pe,value:Y,onBlur:Se,onChange:ie,onFocus:ye,onKeyDown:_e}),ae?c.jsx("div",{id:M,role:"listbox",className:j("absolute left-0 top-full z-50 mt-1 max-h-64 w-full overflow-y-auto rounded-md border border-solid border-slate-200 bg-white p-1 text-slate-900 shadow-lg","animate-in fade-in-0 zoom-in-95",z.sxClassName,a),style:L(l,z.sxInlineStyle),children:Z.length>0?Z.map((oe,we)=>{const Ee=te===we,de=oe.value===Y,Ie=!!oe.disabled;return c.jsx("div",{id:`${M}-option-${we}`,role:"option","aria-disabled":Ie||void 0,"aria-selected":de,className:j("grid cursor-default select-none gap-0.5 rounded-sm px-2 py-1.5 text-sm leading-5 outline-none transition-colors",Ee&&"bg-blue-50 text-blue-700",de&&!Ee&&"bg-slate-50 text-slate-900",Ie?"pointer-events-none text-slate-400 opacity-70":"text-slate-700",K.sxClassName,w),style:L(P,K.sxInlineStyle),onMouseDown:fe=>fe.preventDefault(),onMouseEnter:()=>{Ie||J(we)},onClick:fe=>ve(oe,fe),children:q?q(oe,{active:Ee,disabled:Ie,inputValue:Y,selected:de}):c.jsxs(c.Fragment,{children:[c.jsx("span",{className:"truncate font-medium",children:oe.label}),oe.description?c.jsx("span",{className:"truncate text-xs text-slate-500",children:oe.description}):null]})},`${oe.value}-${we}`)}):c.jsx("div",{className:"px-2 py-2 text-sm text-slate-500",children:f})}):null]})});Zd.displayName="AutoComplete";function ef(e){const t=e+"CollectionProvider",[r,n]=rt(t),[o,s]=r(t,{collectionRef:{current:null},itemMap:new Map}),i=h=>{const{scope:x,children:y}=h,g=je.useRef(null),w=je.useRef(new Map).current;return c.jsx(o,{scope:x,itemMap:w,collectionRef:g,children:y})};i.displayName=t;const a=e+"CollectionSlot",l=Wr(a),d=je.forwardRef((h,x)=>{const{scope:y,children:g}=h,w=s(a,y),P=ke(x,w.collectionRef);return c.jsx(l,{ref:P,children:g})});d.displayName=a;const f=e+"CollectionItemSlot",m="data-radix-collection-item",p=Wr(f),v=je.forwardRef((h,x)=>{const{scope:y,children:g,...w}=h,P=je.useRef(null),C=ke(x,P),S=s(f,y);return je.useEffect(()=>(S.itemMap.set(P,{ref:P,...w}),()=>{S.itemMap.delete(P)})),c.jsx(p,{[m]:"",ref:C,children:g})});v.displayName=f;function b(h){const x=s(e+"CollectionConsumer",h);return je.useCallback(()=>{const g=x.collectionRef.current;if(!g)return[];const w=Array.from(g.querySelectorAll(`[${m}]`));return Array.from(x.itemMap.values()).sort((S,N)=>w.indexOf(S.ref.current)-w.indexOf(N.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:i,Slot:d,ItemSlot:v},b,n]}var m0=u.createContext(void 0);function wo(e){const t=u.useContext(m0);return e||t||"ltr"}var Uo="rovingFocusGroup.onEntryFocus",h0={bubbles:!1,cancelable:!0},an="RovingFocusGroup",[Us,tf,p0]=ef(an),[v0,Po]=rt(an,[p0]),[g0,b0]=v0(an),rf=u.forwardRef((e,t)=>c.jsx(Us.Provider,{scope:e.__scopeRovingFocusGroup,children:c.jsx(Us.Slot,{scope:e.__scopeRovingFocusGroup,children:c.jsx(x0,{...e,ref:t})})}));rf.displayName=an;var x0=u.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:s,currentTabStopId:i,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:l,onEntryFocus:d,preventScrollOnEntryFocus:f=!1,...m}=e,p=u.useRef(null),v=ke(t,p),b=wo(s),[h,x]=yt({prop:i,defaultProp:a??null,onChange:l,caller:an}),[y,g]=u.useState(!1),w=gt(d),P=tf(r),C=u.useRef(!1),[S,N]=u.useState(0);return u.useEffect(()=>{const q=p.current;if(q)return q.addEventListener(Uo,w),()=>q.removeEventListener(Uo,w)},[w]),c.jsx(g0,{scope:r,orientation:n,dir:b,loop:o,currentTabStopId:h,onItemFocus:u.useCallback(q=>x(q),[x]),onItemShiftTab:u.useCallback(()=>g(!0),[]),onFocusableItemAdd:u.useCallback(()=>N(q=>q+1),[]),onFocusableItemRemove:u.useCallback(()=>N(q=>q-1),[]),children:c.jsx(be.div,{tabIndex:y||S===0?-1:0,"data-orientation":n,...m,ref:v,style:{outline:"none",...e.style},onMouseDown:ce(e.onMouseDown,()=>{C.current=!0}),onFocus:ce(e.onFocus,q=>{const k=!C.current;if(q.target===q.currentTarget&&k&&!y){const A=new CustomEvent(Uo,h0);if(q.currentTarget.dispatchEvent(A),!A.defaultPrevented){const E=P().filter(_=>_.focusable),R=E.find(_=>_.active),I=E.find(_=>_.id===h),O=[R,I,...E].filter(Boolean).map(_=>_.ref.current);sf(O,f)}}C.current=!1}),onBlur:ce(e.onBlur,()=>g(!1))})})}),nf="RovingFocusGroupItem",of=u.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:s,children:i,...a}=e,l=nr(),d=s||l,f=b0(nf,r),m=f.currentTabStopId===d,p=tf(r),{onFocusableItemAdd:v,onFocusableItemRemove:b,currentTabStopId:h}=f;return u.useEffect(()=>{if(n)return v(),()=>b()},[n,v,b]),c.jsx(Us.ItemSlot,{scope:r,id:d,focusable:n,active:o,children:c.jsx(be.span,{tabIndex:m?0:-1,"data-orientation":f.orientation,...a,ref:t,onMouseDown:ce(e.onMouseDown,x=>{n?f.onItemFocus(d):x.preventDefault()}),onFocus:ce(e.onFocus,()=>f.onItemFocus(d)),onKeyDown:ce(e.onKeyDown,x=>{if(x.key==="Tab"&&x.shiftKey){f.onItemShiftTab();return}if(x.target!==x.currentTarget)return;const y=P0(x,f.orientation,f.dir);if(y!==void 0){if(x.metaKey||x.ctrlKey||x.altKey||x.shiftKey)return;x.preventDefault();let w=p().filter(P=>P.focusable).map(P=>P.ref.current);if(y==="last")w.reverse();else if(y==="prev"||y==="next"){y==="prev"&&w.reverse();const P=w.indexOf(x.currentTarget);w=f.loop?C0(w,P+1):w.slice(P+1)}setTimeout(()=>sf(w))}}),children:typeof i=="function"?i({isCurrentTabStop:m,hasTabStop:h!=null}):i})})});of.displayName=nf;var y0={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function w0(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function P0(e,t,r){const n=w0(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return y0[n]}function sf(e,t=!1){const r=document.activeElement;for(const n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function C0(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var af=rf,lf=of,zi="Radio",[S0,cf]=rt(zi),[N0,q0]=S0(zi),uf=u.forwardRef((e,t)=>{const{__scopeRadio:r,name:n,checked:o=!1,required:s,disabled:i,value:a="on",onCheck:l,form:d,...f}=e,[m,p]=u.useState(null),v=ke(t,x=>p(x)),b=u.useRef(!1),h=m?d||!!m.closest("form"):!0;return c.jsxs(N0,{scope:r,checked:o,disabled:i,children:[c.jsx(be.button,{type:"button",role:"radio","aria-checked":o,"data-state":hf(o),"data-disabled":i?"":void 0,disabled:i,value:a,...f,ref:v,onClick:ce(e.onClick,x=>{o||l?.(),h&&(b.current=x.isPropagationStopped(),b.current||x.stopPropagation())})}),h&&c.jsx(mf,{control:m,bubbles:!b.current,name:n,value:a,checked:o,required:s,disabled:i,form:d,style:{transform:"translateX(-100%)"}})]})});uf.displayName=zi;var df="RadioIndicator",ff=u.forwardRef((e,t)=>{const{__scopeRadio:r,forceMount:n,...o}=e,s=q0(df,r);return c.jsx(Bt,{present:n||s.checked,children:c.jsx(be.span,{"data-state":hf(s.checked),"data-disabled":s.disabled?"":void 0,...o,ref:t})})});ff.displayName=df;var k0="RadioBubbleInput",mf=u.forwardRef(({__scopeRadio:e,control:t,checked:r,bubbles:n=!0,...o},s)=>{const i=u.useRef(null),a=ke(i,s),l=vo(r),d=lo(t);return u.useEffect(()=>{const f=i.current;if(!f)return;const m=window.HTMLInputElement.prototype,v=Object.getOwnPropertyDescriptor(m,"checked").set;if(l!==r&&v){const b=new Event("click",{bubbles:n});v.call(f,r),f.dispatchEvent(b)}},[l,r,n]),c.jsx(be.input,{type:"radio","aria-hidden":!0,defaultChecked:r,...o,tabIndex:-1,ref:a,style:{...o.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});mf.displayName=k0;function hf(e){return e?"checked":"unchecked"}var E0=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Co="RadioGroup",[R0]=rt(Co,[Po,cf]),pf=Po(),vf=cf(),[j0,A0]=R0(Co),gf=u.forwardRef((e,t)=>{const{__scopeRadioGroup:r,name:n,defaultValue:o,value:s,required:i=!1,disabled:a=!1,orientation:l,dir:d,loop:f=!0,onValueChange:m,...p}=e,v=pf(r),b=wo(d),[h,x]=yt({prop:s,defaultProp:o??null,onChange:m,caller:Co});return c.jsx(j0,{scope:r,name:n,required:i,disabled:a,value:h,onValueChange:x,children:c.jsx(af,{asChild:!0,...v,orientation:l,dir:b,loop:f,children:c.jsx(be.div,{role:"radiogroup","aria-required":i,"aria-orientation":l,"data-disabled":a?"":void 0,dir:b,...p,ref:t})})})});gf.displayName=Co;var bf="RadioGroupItem",xf=u.forwardRef((e,t)=>{const{__scopeRadioGroup:r,disabled:n,...o}=e,s=A0(bf,r),i=s.disabled||n,a=pf(r),l=vf(r),d=u.useRef(null),f=ke(t,d),m=s.value===o.value,p=u.useRef(!1);return u.useEffect(()=>{const v=h=>{E0.includes(h.key)&&(p.current=!0)},b=()=>p.current=!1;return document.addEventListener("keydown",v),document.addEventListener("keyup",b),()=>{document.removeEventListener("keydown",v),document.removeEventListener("keyup",b)}},[]),c.jsx(lf,{asChild:!0,...a,focusable:!i,active:m,children:c.jsx(uf,{disabled:i,required:s.required,checked:m,...l,...o,name:s.name,ref:f,onCheck:()=>s.onValueChange(o.value),onKeyDown:ce(v=>{v.key==="Enter"&&v.preventDefault()}),onFocus:ce(o.onFocus,()=>{p.current&&d.current?.click()})})})});xf.displayName=bf;var I0="RadioGroupIndicator",yf=u.forwardRef((e,t)=>{const{__scopeRadioGroup:r,...n}=e,o=vf(r);return c.jsx(ff,{...o,...n,ref:t})});yf.displayName=I0;var T0=gf,_0=xf,O0=yf;const Hi=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,children:i,...a}=e,l=se(),{sxClassName:d,sxInlineStyle:f}=X(o,l);return c.jsx(_0,{ref:t,className:j("inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full border border-solid border-slate-300 bg-white text-blue-600 transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50","data-[state=checked]:border-blue-600",d,r,n),style:L(s,f),...a,children:i??c.jsx(O0,{className:"inline-flex h-4 w-4 items-center justify-center",children:c.jsx("span",{className:"h-2 w-2 rounded-full bg-current"})})})});Hi.displayName="Radio";const jl={xs:"gap-1",sm:"gap-2",md:"gap-3",lg:"gap-4"};function M0(e){return e===void 0?{className:jl.md}:e==="xs"||e==="sm"||e==="md"||e==="lg"?{className:jl[e]}:{style:{gap:typeof e=="number"?`${e}px`:e}}}const wf=u.forwardRef((e,t)=>{const{className:r,class:n,children:o,direction:s="vertical",disabled:i=!1,gap:a="md",options:l,sx:d,style:f,...m}=e,p=se(),{sxClassName:v,sxInlineStyle:b}=X(d,p),h=M0(a);return c.jsxs(T0,{ref:t,disabled:i,className:j("flex",s==="horizontal"?"flex-row flex-wrap":"flex-col",h.className,v,r,n),style:L(f,h.style,b),...m,children:[l?.map(x=>{const y=i||x.disabled;return c.jsxs(xo,{className:j("inline-flex items-start gap-2 text-sm leading-5 text-slate-700",y&&"cursor-not-allowed text-slate-400",!y&&"cursor-pointer",x.className),children:[c.jsx(Hi,{...x.radioProps,value:x.value,disabled:y}),c.jsxs("span",{className:"grid gap-0.5",children:[c.jsx("span",{children:x.label}),x.description?c.jsx("span",{className:"text-xs text-slate-500",children:x.description}):null]})]},x.value)}),o]})});wf.displayName="RadioGroup";const L0={sm:"h-8 w-8",md:"h-9 w-9",lg:"h-10 w-10"},D0={sm:"h-4 w-4",md:"h-[18px] w-[18px]",lg:"h-5 w-5"};function Yo(e,t){return Number.isFinite(e)?Math.max(0,Math.min(t,Math.round(e))):0}function B0(e){return c.jsx("svg",{viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",...e,children:c.jsx("path",{d:"M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z",fill:"currentColor"})})}function F0(e){const{fill:t,size:r,active:n,preview:o,disabled:s,tabIndex:i,onClick:a,onFocus:l,onKeyDown:d,onMouseEnter:f,setRef:m,label:p,character:v}=e,b=v??c.jsx(B0,{className:D0[r]});return c.jsx("button",{ref:m,type:"button",role:"radio","aria-checked":n,"aria-label":p,disabled:s,tabIndex:i,onClick:a,onFocus:l,onKeyDown:d,onMouseEnter:f,className:j("group relative inline-flex items-center justify-center rounded-full outline-none transition","focus-visible:ring-2 focus-visible:ring-blue-500/35 focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50",L0[r],o?"scale-[1.03]":"scale-100"),children:c.jsxs("span",{"aria-hidden":"true",className:j("relative inline-flex items-center justify-center transition-colors",o?"text-amber-300":"text-amber-400"),children:[c.jsx("span",{className:"text-slate-300",children:b}),c.jsx("span",{className:"absolute inset-0 overflow-hidden",style:{width:`${t}%`},children:c.jsx("span",{className:"text-current",children:b})})]})})}const Pf=u.forwardRef((e,t)=>{const{value:r,defaultValue:n=0,count:o=5,allowClear:s=!0,borderless:i=!1,disabled:a=!1,readOnly:l=!1,name:d,onChange:f,onHoverChange:m,size:p="md",character:v,className:b,class:h,style:x,sx:y,onMouseLeave:g,onKeyDown:w,...P}=e,C=se(),{sxClassName:S,sxInlineStyle:N}=X(y,C),q=r!==void 0,k=Math.max(1,Math.floor(o||1)),[A,E]=u.useState(()=>Yo(n,k)),[R,I]=u.useState(null),T=u.useRef([]),O=Yo(q?r??0:A,k),_=R??O,$=u.useId(),M=u.useCallback(te=>{if(a||l)return;const J=Yo(te,k),H=s&&J===O?0:J;q||E(H),f?.(H)},[s,O,a,q,f,l,k]),U=u.useCallback(()=>{I(null),m?.(null)},[m]),D=u.useCallback(te=>{T.current[te]?.focus()},[]),G=te=>{U(),g?.(te)},he=(te,J)=>{if(w?.(te),te.defaultPrevented||a||l||te.key!=="ArrowRight"&&te.key!=="ArrowUp"&&te.key!=="ArrowLeft"&&te.key!=="ArrowDown"&&te.key!=="Home"&&te.key!=="End")return;if(te.preventDefault(),te.key==="Home"){U(),D(0),M(0);return}if(te.key==="End"){U(),D(k-1),M(k);return}const Y=te.key==="ArrowRight"||te.key==="ArrowUp"?1:-1,B=Math.max(0,Math.min(k-1,J+Y));U(),D(B),M(B+1)};return c.jsxs("div",{...P,ref:t,role:"radiogroup","aria-label":P["aria-label"]??"评分","aria-readonly":l||void 0,"data-disabled":a?"":void 0,"data-borderless":i?"":void 0,"data-readonly":l?"":void 0,"data-size":p,className:j("inline-flex w-fit items-center gap-1 rounded-full px-2 py-1 transition-colors",i?"border-0 bg-transparent shadow-none":"border border-slate-200 bg-white shadow-sm",!i&&!a?"hover:border-slate-300":void 0,S,b,h),style:L(x,N),onMouseLeave:G,children:[d?c.jsx("input",{type:"hidden",name:d,value:String(O)}):null,Array.from({length:k}).map((te,J)=>{const H=J+1,Y=Math.max(0,Math.min(1,_-J))*100,B=O===H,Q=R!==null;return c.jsx(F0,{fill:Y,size:p,active:B,preview:Q&&H<=_,disabled:a||l,tabIndex:O===0?J===0?0:-1:B?0:-1,label:`选择 ${H} 星`,character:v,setRef:z=>{T.current[J]=z},onClick:()=>{U(),M(H)},onFocus:()=>{a||l||U()},onKeyDown:z=>he(z,J),onMouseEnter:()=>{a||l||(I(H),m?.(H))}},`${$}-${H}`)})]})});Pf.displayName="Rate";function Xo(e){const t=se();return X(e,t)}function Al(e){const{value:t,defaultValue:r,onChange:n}=e,[o,s]=u.useState(r),i=t!==void 0,a=i?t:o,l=u.useCallback(d=>{i||s(d),n?.(d)},[i,n]);return[a,l]}function Sn(e){return Array.isArray(e)?e.filter(t=>t!==""):[]}function $0(e){return Array.isArray(e)?e:[]}function qr(e,t){return e?.[t]??t}function V0(e,t){const r=qr(t,"value");return typeof e[r]=="string"?e[r]:e.value}function z0(e,t){const r=qr(t,"label");return e[r]??e.label??e.value??""}function H0(e,t){const r=qr(t,"children");return $0(e[r])}function W0(e,t){const r=qr(t,"disabled");return!!(e[r]??e.disabled)}function G0(e,t){const r=qr(t,"isLeaf"),n=e[r];return typeof n=="boolean"?n:e.isLeaf}function K0(e,t){const r=qr(t,"loading");return!!(e[r]??e.loading)}function Cf(e,t){const r=V0(e,t);if(typeof r!="string"||r.length===0)return null;const n=H0(e,t),o=G0(e,t),s=typeof o=="boolean"?o:n.length===0;return{option:e,value:r,label:z0(e,t),children:n,disabled:W0(e,t),isLeaf:s,loading:K0(e,t)}}function Ys(e,t){const r=[];for(const n of e){const o=Cf(n,t);o&&r.push(o)}return r}function Jo(e,t,r){const n=[],o=[];let s=e;for(const i of t){const a=Ys(s,r).find(l=>l.value===i);if(!a)break;n.push(a),o.push(a.label),s=a.children}return{matched:n,labels:o,path:n.map(i=>i.value)}}function U0(e,t,r){const n=[];let o=e;n.push(Ys(o,r));for(const s of t){const i=Ys(o,r).find(a=>a.value===s);if(!i||(o=i.children,o.length===0))break;n.push(o.map(a=>Cf(a,r)).filter(a=>!!a))}return n}function Qo(e,t){return t.every((r,n)=>e[n]===r)}function Y0(e,t){return c.jsx(c.Fragment,{children:e.map((r,n)=>c.jsxs(u.Fragment,{children:[n>0?c.jsx("span",{className:"mx-1 text-slate-400",children:t}):null,c.jsx("span",{className:"min-w-0 truncate",children:r})]},n))})}function X0(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M4 6L8 10L12 6",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function J0(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M6 4L10 8L6 12",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function Q0(e){return c.jsxs("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:[c.jsx("path",{d:"M4.5 4.5L11.5 11.5",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"}),c.jsx("path",{d:"M11.5 4.5L4.5 11.5",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"})]})}function Zo(){return c.jsx("span",{className:"inline-block h-3.5 w-3.5 animate-spin rounded-full border-2 border-slate-300 border-t-blue-600","aria-hidden":"true"})}const Sf=u.forwardRef((e,t)=>{const{options:r=[],value:n,defaultValue:o=[],onValueChange:s,onOpenChange:i,open:a,defaultOpen:l=!1,placeholder:d="请选择",separator:f="/",displayRender:m,renderOption:p,fieldNames:v,changeOnSelect:b=!1,expandTrigger:h="click",clearable:x=!1,contentWidth:y="auto",maxPanelHeight:g=336,side:w="bottom",align:P="start",sideOffset:C=8,contentClassName:S,contentClass:N,contentStyle:q,contentSx:k,class:A,sx:E,readOnly:R=!1,required:I,loadData:T,optionClassName:O,optionClass:_,optionStyle:$,optionSx:M,className:U,style:D,disabled:G=!1,name:he,id:te,autoFocus:J,onClick:H,onFocus:Y,onBlur:B,onKeyDown:Q,...z}=e,[K,W]=Al({value:n===void 0?void 0:Sn(n),defaultValue:Sn(o),onChange:V=>{}}),[Z,ae]=Al({value:a,defaultValue:l,onChange:i}),[ue,pe]=u.useState(()=>Sn(o)),[ve,ie]=u.useState(null),ye=u.useRef(null),Se=u.useRef(!0),_e=u.useRef(Z),{sxClassName:oe,sxInlineStyle:we}=Xo(E),{sxClassName:Ee,sxInlineStyle:de}=Xo(k),{sxClassName:Ie,sxInlineStyle:fe}=Xo(M);u.useEffect(()=>()=>{Se.current=!1},[]),u.useEffect(()=>{Z&&!_e.current&&pe(K),_e.current=Z},[Z,K]);const re=u.useMemo(()=>Jo(r,K,v),[v,r,K]),me=re.matched.map(V=>V.option),Re=Z?ue:K,Te=u.useMemo(()=>Jo(r,Re,v),[Re,v,r]),Ye=u.useMemo(()=>U0(r,Re,v),[Re,v,r]),Ve=u.useMemo(()=>{const V=Te.matched[Te.matched.length-1];return!Z||!V?!1:V.children.length===0&&!V.isLeaf},[Te.matched,Z]),nt=u.useMemo(()=>re.labels.length>0?m?m(re.labels,me):Y0(re.labels,f):d,[m,d,me,re.labels,f]),Ct=n!==void 0,ot=u.useCallback((V,le)=>{const xe=Sn(V),Ce=Jo(r,xe,v);Ct||W(xe),s?.(xe,{...le,path:Ce.path,options:Ce.matched.map(Ae=>Ae.option),labels:Ce.labels})},[v,Ct,s,r,W]),mt=u.useCallback(V=>{G||R||(Ct||W([]),pe([]),s?.([],{reason:"clear",path:[],options:[],labels:[],event:V}))},[G,Ct,s,R,W]),st=u.useRef(T);u.useEffect(()=>{st.current=T},[T]);const ar=u.useCallback(async(V,le,xe)=>{if(G||R||V.disabled)return;const Ce=V.children.length>0,Ae=Ce||!V.isLeaf&&!!st.current,He=le.join("");if(Ae&&!Ce&&st.current){ie(He);try{await st.current([V.option],{option:V.option,path:le,options:r})}finally{Se.current&&ie(Je=>Je===He?null:Je)}}if(b||!Ae){ot(le,{reason:"select",option:V.option,event:xe}),ae(!1);return}pe(le),ae(!0)},[b,ot,G,r,R,ae]),ht=u.useCallback(V=>{G||(pe(V),ae(!0))},[G,ae]);u.useImperativeHandle(t,()=>({focus:()=>ye.current?.focus(),blur:()=>ye.current?.blur(),open:()=>ht(K),close:()=>ae(!1),clear:()=>mt(),getValue:()=>K.slice()}),[mt,ht,K,ae]);const F=ve!==null;return c.jsxs("div",{className:"relative inline-flex w-full items-stretch",children:[c.jsxs(pd,{open:Z,onOpenChange:ae,children:[c.jsx(Oi,{asChild:!0,children:c.jsxs("button",{ref:ye,id:te,type:"button",className:j("flex h-9 w-full min-w-0 items-center gap-2 rounded-md border border-solid border-slate-300 bg-white px-3 text-left text-sm text-slate-900 shadow-sm transition-colors","focus-visible:border-blue-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30","disabled:cursor-not-allowed disabled:bg-slate-50 disabled:text-slate-500 disabled:opacity-70",R&&"cursor-default",x&&K.length>0&&!G&&!R?"pr-16":"pr-9",oe,U,A),style:L(D,we),autoFocus:J,disabled:G,"aria-haspopup":"dialog","aria-expanded":Z,"aria-disabled":G||void 0,"aria-readonly":R||void 0,onClick:V=>{H?.(V)},onFocus:Y,onBlur:B,onKeyDown:V=>{Q?.(V),!G&&((V.key==="ArrowDown"||V.key==="Enter")&&(V.preventDefault(),ae(!0)),V.key==="Escape"&&(V.preventDefault(),ae(!1)))},...z,children:[c.jsx("span",{className:j("min-w-0 flex-1 truncate",re.labels.length===0&&"text-slate-400"),children:nt}),c.jsx(X0,{className:"absolute right-3 h-4 w-4 text-slate-500"})]})}),x&&K.length>0&&!G&&!R?c.jsx("button",{type:"button",className:"absolute right-8 top-1/2 z-10 -translate-y-1/2 rounded p-1 text-slate-400 transition-colors hover:text-slate-600 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30","aria-label":"清除选择",onMouseDown:V=>V.preventDefault(),onClick:V=>{V.preventDefault(),V.stopPropagation(),mt(V)},children:c.jsx(Q0,{className:"h-3.5 w-3.5"})}):null,c.jsx(Mi,{side:w,align:P,sideOffset:C,width:y,className:j("overflow-hidden p-0",Ee,S,N),style:L(q,de),role:"dialog","aria-label":"级联选择",children:c.jsxs("div",{className:"flex min-w-[320px] overflow-hidden bg-white",style:{maxHeight:typeof g=="number"?`${g}px`:g},children:[Ye.map((V,le)=>{const xe=Re.slice(0,le);return V.length===0?c.jsx("div",{className:"flex min-w-44 items-center justify-center border-r border-slate-200 px-4 py-6 text-sm text-slate-400 last:border-r-0",children:F&&le===Ye.length-1?c.jsxs("span",{className:"inline-flex items-center gap-2",children:[c.jsx(Zo,{}),"加载中"]}):"暂无可选项"},`empty-${le}`):c.jsx("div",{className:j("min-w-48 border-r border-slate-200 last:border-r-0",le>0&&"bg-slate-50/40"),children:c.jsx("div",{className:"max-h-full overflow-y-auto p-1",children:V.map(Ce=>{const Ae=[...xe,Ce.value],He=K.length===Ae.length&&Qo(K,Ae),Je=Qo(Re,Ae)||Qo(Ae,Re),St=ve===Ae.join("")||Ce.loading,Nt=Ce.children.length>0||!Ce.isLeaf&&!!st.current&&!St,Sh={active:Je,checked:He,disabled:Ce.disabled,hasChildren:Nt,isLeaf:Ce.isLeaf,level:le,loading:St,path:Ae,selected:He};return c.jsxs("button",{type:"button",className:j("flex min-h-10 w-full items-center gap-2 rounded-md px-3 py-2 text-left text-sm text-slate-700 transition-colors","hover:bg-blue-50 hover:text-blue-700 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30",He&&"bg-blue-50 text-blue-700",Je&&!He&&"bg-slate-100 text-slate-900",Ce.disabled&&"cursor-not-allowed text-slate-400 opacity-70 hover:bg-transparent hover:text-slate-400",Ie,O,_),style:L($,fe),disabled:G||R||Ce.disabled,onMouseEnter:()=>{h==="hover"&&!Ce.disabled&&Nt&&(pe(Ae),ae(!0))},onClick:Ea=>{Ea.preventDefault(),ar(Ce,Ae,Ea)},children:[c.jsx("span",{className:"min-w-0 flex-1 truncate",children:p?p(Ce.option,Sh):Ce.label}),St?c.jsx(Zo,{}):Nt?c.jsx(J0,{className:"h-4 w-4 shrink-0 text-slate-400"}):null]},Ae.join(""))})})},`column-${le}`)}),Ve?c.jsx("div",{className:"flex min-w-44 items-center justify-center border-l border-slate-200 px-4 py-6 text-sm text-slate-400",children:F?c.jsxs("span",{className:"inline-flex items-center gap-2",children:[c.jsx(Zo,{}),"加载中"]}):"请继续选择"}):null]})})]}),he?c.jsx("input",{type:"hidden",name:he,required:I,value:K.length>0?JSON.stringify(K):""}):null]})});Sf.displayName="Cascader";function Z0(e){return Array.isArray(e)?Number(e[0]??0):Number(e??0)}function Il(e,t){const r=Number(e);return Number.isFinite(r)?r:t}function Tl(e,t){return e===void 0?t:typeof e=="number"?`${e}px`:e}const ew={solid:{"--ldkj-slider-fill":"rgb(37 99 235)","--ldkj-slider-fill-end":"rgb(37 99 235)","--ldkj-slider-focus-ring":"rgb(37 99 235 / 0.2)","--ldkj-slider-thumb":"rgb(37 99 235)","--ldkj-slider-thumb-ring":"rgb(37 99 235 / 0.18)","--ldkj-slider-track":"rgb(226 232 240)","--ldkj-slider-track-shadow":"inset 0 1px 2px rgba(15,23,42,0.1)","--ldkj-slider-thumb-shadow":"0 0 0 3px var(--ldkj-slider-thumb-ring), 0 4px 12px -2px rgba(0,0,0,0.12)","--ldkj-slider-thumb-shadow-hover":"0 0 0 5px var(--ldkj-slider-thumb-ring), 0 6px 20px -4px rgba(0,0,0,0.16)"},gradient:{"--ldkj-slider-fill":"rgb(6 182 212)","--ldkj-slider-fill-end":"rgb(37 99 235)","--ldkj-slider-focus-ring":"rgb(14 165 233 / 0.22)","--ldkj-slider-thumb":"linear-gradient(145deg, rgb(34 211 238) 0%, rgb(37 99 235) 72%, rgb(30 64 175) 100%)","--ldkj-slider-thumb-ring":"rgb(14 165 233 / 0.16)","--ldkj-slider-track":"rgb(226 232 240)","--ldkj-slider-track-shadow":"inset 0 1px 2px rgba(15,23,42,0.16)","--ldkj-slider-thumb-shadow":"0 0 0 5px var(--ldkj-slider-thumb-ring), 0 10px 24px -10px rgba(14,116,144,0.9)","--ldkj-slider-thumb-shadow-hover":"0 0 0 7px var(--ldkj-slider-thumb-ring), 0 14px 28px -12px rgba(14,116,144,0.95)"}};function Nf(e){const{className:t,class:r,defaultValue:n,max:o,min:s,style:i,sx:a,thumbSize:l,trackSize:d,value:f,variant:m="solid",onValueChange:p,...v}=e,b=se(),{sxClassName:h,sxInlineStyle:x}=X(a,b),y=f!==void 0,[g,w]=u.useState(()=>Z0(n)),P=y?f:g,C=Il(s,0),S=Il(o,100),N=Number.isFinite(P)?P:C,q=S>C?(N-C)/(S-C)*100:0,k=Math.max(0,Math.min(100,q)),A=E=>{const R=Number(E.currentTarget.value);y||w(R),p?.(R)};return c.jsx("input",{...v,type:"range",...y?{value:f}:{defaultValue:n},min:s,max:o,onChange:A,className:j("h-[var(--ldkj-slider-track-size)] w-full cursor-pointer appearance-none rounded-full border border-white/70 bg-transparent align-middle","accent-[var(--ldkj-slider-fill-end)] shadow-[var(--ldkj-slider-track-shadow),0_1px_0_rgba(255,255,255,0.88)]","transition-[filter,opacity,box-shadow] duration-200 ease-out hover:brightness-105","focus-visible:outline-none focus-visible:ring-4 focus-visible:ring-[var(--ldkj-slider-focus-ring)] focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-55 disabled:grayscale","[&::-webkit-slider-thumb]:h-[var(--ldkj-slider-thumb-size)] [&::-webkit-slider-thumb]:w-[var(--ldkj-slider-thumb-size)] [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:border-[3px] [&::-webkit-slider-thumb]:border-white [&::-webkit-slider-thumb]:[background:var(--ldkj-slider-thumb)] [&::-webkit-slider-thumb]:shadow-[var(--ldkj-slider-thumb-shadow),inset_0_1px_0_rgba(255,255,255,0.55)] [&::-webkit-slider-thumb]:transition-[transform,box-shadow,filter] [&::-webkit-slider-thumb]:duration-200 [&::-webkit-slider-thumb]:ease-out","hover:[&::-webkit-slider-thumb]:scale-110 hover:[&::-webkit-slider-thumb]:shadow-[var(--ldkj-slider-thumb-shadow-hover),inset_0_1px_0_rgba(255,255,255,0.65)] active:[&::-webkit-slider-thumb]:scale-95","[&::-moz-range-thumb]:h-[var(--ldkj-slider-thumb-size)] [&::-moz-range-thumb]:w-[var(--ldkj-slider-thumb-size)] [&::-moz-range-thumb]:appearance-none [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:border-[3px] [&::-moz-range-thumb]:border-white [&::-moz-range-thumb]:[background:var(--ldkj-slider-thumb)] [&::-moz-range-thumb]:shadow-[var(--ldkj-slider-thumb-shadow),inset_0_1px_0_rgba(255,255,255,0.55)] [&::-moz-range-thumb]:transition-[transform,box-shadow,filter] [&::-moz-range-thumb]:duration-200 [&::-moz-range-thumb]:ease-out","hover:[&::-moz-range-thumb]:scale-110 hover:[&::-moz-range-thumb]:shadow-[var(--ldkj-slider-thumb-shadow-hover),inset_0_1px_0_rgba(255,255,255,0.65)] active:[&::-moz-range-thumb]:scale-95","[&::-moz-range-track]:h-[var(--ldkj-slider-track-size)] [&::-moz-range-track]:rounded-full [&::-moz-range-track]:bg-transparent",h,t,r),style:L({...ew[m],"--ldkj-slider-thumb-size":Tl(l,"1.05rem"),"--ldkj-slider-track-size":Tl(d,"0.4rem"),"--ldkj-slider-percent":`${k}%`,background:"linear-gradient(90deg, var(--ldkj-slider-fill) 0%, var(--ldkj-slider-fill-end) var(--ldkj-slider-percent), transparent var(--ldkj-slider-percent), transparent 100%), linear-gradient(180deg, rgba(255,255,255,0.86), rgba(148,163,184,0.22)), var(--ldkj-slider-track)"},i,x)})}Nf.displayName="Slider";function tw({children:e}){return c.jsx("span",{className:"text-rose-500",children:e??"*"})}const So=u.createContext(null);function Ur(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function We(e){return Array.isArray(e)?e.map(t=>We(t)):Ur(e)?Object.fromEntries(Object.entries(e).map(([t,r])=>[t,We(r)])):e}function ln(e){return typeof e=="string"||typeof e=="number"?[e]:Array.from(e)}function Qe(e){return JSON.stringify(ln(e))}function rw(e){return ln(e).join(".")}function Gt(e,t){let r=e;for(const n of ln(t)){if(r==null)return;r=r[n]}return r}function Dr(e,t,r){const n=ln(t);if(n.length===0)return e;const o=(s,i)=>{const a=n[i],l=i===n.length-1,d=Array.isArray(s)?[...s]:Ur(s)?{...s}:typeof a=="number"?[]:{};return d[a]=l?r:o(d[a],i+1),d};return o(e,0)}function nw(e,t){const r=ln(t);if(r.length===0)return e;const n=(o,s)=>{if(!Array.isArray(o)&&!Ur(o))return o;const i=r[s],a=Array.isArray(o)?[...o]:{...o};return s===r.length-1?(delete a[i],a):(a[i]=n(a[i],s+1),a)};return n(e,0)}function ow(e,t){return Dr({},e,t)}function sw(e,t){const r=(n,o)=>{if(Ur(n)&&Ur(o)){const s={...n};for(const[i,a]of Object.entries(o))s[i]=r(s[i],a);return s}return We(o)};return r(e,t)}function _l(){return{errors:[],touched:!1,validating:!1}}function iw(e){return e==null||e===""||Array.isArray(e)&&e.length===0}function aw(e){return e===void 0?[]:Array.isArray(e)?e:[e]}function lw(e,t,r){if(!e)return!0;const n=aw(t??r);return n.length===0||n.includes(e)}function cw(e,t){return u.isValidElement(e)?e:typeof e=="string"||typeof e=="number"?String(e):e instanceof Error?e.message:t}function uw(e){let t=We({}),r=We(t),n={},o=0;const s=new Set,i=new Map,a=new Map,l=()=>{for(const g of s)g()},d=g=>a.get(Qe(g))??_l(),f=(g,w)=>{const P=Qe(g);a.set(P,{...d(g),...w})},m=()=>Array.from(i.values()).map(g=>({name:g.name,value:Gt(t,g.name),...d(g.name)})),p=g=>{n.onFieldsChange?.(g,m())},v=async(g,w)=>{const P=g.rules.filter(S=>lw(w.trigger,S.validateTrigger,g.validateTrigger));if(P.length===0)return[];w.validateOnly||(f(g.name,{validating:!0}),l());const C=[];for(const S of P){const N=Gt(t,g.name),q=S.transform?S.transform(N):N,k=S.message??"该字段为必填项";if(S.required&&iw(q)){if(C.push(k),g.validateFirst)break;continue}if(S.validator){try{const A=await S.validator(q,We(t),y);A===!1?C.push(k):A!==void 0&&A!==!0&&C.push(A)}catch(A){C.push(cw(A,k))}if(g.validateFirst&&C.length>0)break}}return!w.validateOnly&&w.id===o&&(f(g.name,{errors:C,validating:!1}),p([{name:g.name,value:Gt(t,g.name),...d(g.name),errors:C,validating:!1}]),l()),C},b=async(g,w={})=>{const P=++o,C=g?.map(Qe),S=Array.from(i.values()).filter(k=>C?C.includes(Qe(k.name)):!0),q=(await Promise.all(S.map(async k=>({field:k,errors:await v(k,{id:P,trigger:w.trigger,validateOnly:w.validateOnly})})))).filter(k=>k.errors.length>0).map(k=>({errors:k.errors,name:k.field.name}));if(q.length>0)throw{errorFields:q,outOfDate:P!==o,values:We(t)};return We(t)},h=(g,w)=>{const P=Qe(g);for(const C of i.values())(Qe(C.name)===P||C.dependencies.some(N=>Qe(N)===P))&&b([C.name],{trigger:w}).catch(()=>{})},x=(g,w,P={})=>{t=Dr(t,g,w),P.touched&&f(g,{touched:!0});const C={name:g,value:w,...d(g)};P.source!=="external"&&(n.onValuesChange?.(ow(g,w),We(t)),p([C])),l(),P.trigger&&h(g,P.trigger)},y={getFieldValue:g=>Gt(t,g),getFieldsValue:g=>g?g.reduce((w,P)=>Dr(w,P,Gt(t,P)),{}):We(t),getFieldError:g=>d(g).errors,getFieldsError:g=>(g??Array.from(i.values()).map(P=>P.name)).map(P=>({errors:d(P).errors,name:P})),getFieldMeta:g=>d(g),isFieldTouched:g=>d(g).touched,isFieldsTouched:g=>(g??Array.from(i.values()).map(P=>P.name)).some(P=>d(P).touched),setFieldValue:(g,w)=>x(g,w,{source:"external"}),setFieldsValue:g=>{t=sw(t,g),l()},setFields:g=>{for(const w of g)"value"in w&&(t=Dr(t,w.name,w.value)),f(w.name,{errors:w.errors??d(w.name).errors,touched:w.touched??d(w.name).touched,validating:w.validating??d(w.name).validating});p(g),l()},resetFields:g=>{const w=g??Array.from(i.values()).map(P=>P.name);if(!g)t=We(r),a.clear();else for(const P of w)t=Dr(t,P,Gt(r,P)),a.delete(Qe(P));p(w.map(P=>({name:P,value:Gt(t,P),...d(P)}))),l()},validateFields:g=>b(g),submit:async()=>{try{const g=await b(void 0);n.onFinish?.(g)}catch(g){n.onFinishFailed?.(g)}},subscribe:g=>(s.add(g),()=>s.delete(g)),__INTERNAL__:{getStoreSnapshot:()=>t,getMetaSnapshot:g=>d(g),setCallbacks:g=>{n=g},setInitialValues:(g,w)=>{r=We(g??{}),w&&(t=We(r))},registerField:g=>{const w=Qe(g.name);return i.set(w,g),a.has(w)||a.set(w,_l()),P=>{i.delete(w),P?.preserve===!1&&(t=nw(t,g.name),a.delete(w),l())}},setFieldValue:x,validateFields:b}};return y}function Wi(e){const t=u.useRef(null);return t.current||(t.current=e??uw()),[e??t.current]}function Gi(){const e=u.useContext(So);if(!e)throw new Error("Form hooks must be used inside a Form or receive a form instance.");return e}function No(e,t){const r=u.useContext(So),n=t??r;if(!n)throw new Error("useFormValue must be used inside a Form or receive a form instance.");return u.useSyncExternalStore(n.subscribe,()=>e===void 0?n.__INTERNAL__.getStoreSnapshot():n.getFieldValue(e),()=>e===void 0?n.__INTERNAL__.getStoreSnapshot():n.getFieldValue(e))}function qf(e,t){return No(e,t)}function dw(e,t){const r=u.useContext(So),n=t??r;if(!n)throw new Error("useFormFieldMeta must be used inside a Form or receive a form instance.");return u.useSyncExternalStore(n.subscribe,()=>n.__INTERNAL__.getMetaSnapshot(e),()=>n.__INTERNAL__.getMetaSnapshot(e))}const Vr={emptyValue:"",trigger:"onChange",valuePropName:"value"},Ol={AutoComplete:{emptyValue:"",trigger:"onValueChange",valuePropName:"value"},Cascader:{emptyValue:[],trigger:"onValueChange",valuePropName:"value"},Checkbox:{emptyValue:!1,trigger:"onCheckedChange",valuePropName:"checked"},CheckboxGroup:{emptyValue:[],trigger:"onChange",valuePropName:"value"},Input:Vr,InputNumber:Vr,InputOPT:Vr,RadioGroup:{trigger:"onValueChange",valuePropName:"value"},Rate:{emptyValue:0,trigger:"onChange",valuePropName:"value"},Select:{trigger:"onValueChange",valuePropName:"value"},Slider:{emptyValue:0,trigger:"onValueChange",valuePropName:"value"},Switch:{emptyValue:!1,trigger:"onCheckedChange",valuePropName:"checked"},Uploader:{emptyValue:null,skipValueProp:!0,trigger:"onChange",valuePropName:"value"}};function fw(e){const t=e.type;return t.displayName??t.name??t.render?.displayName??t.render?.name}function mw(e){if(!e)return Vr;const t=fw(e);return t&&Ol[t]?Ol[t]:Vr}function hw(e,t){const[r]=t;if(r&&typeof r=="object"&&"target"in r&&r.target){const n=r.target;return e==="checked"?n.checked:n.value}return r}function pw(e){return e===void 0?[]:Array.isArray(e)?[...e]:[e]}function vw(e,t,r){return e!==void 0?e:r==="checked"?!1:t.emptyValue}function Ml(e,t){return(...r)=>{e?.(...r),t(...r)}}function gw(e){const{className:t,class:r,form:n,initialValues:o,nativeSubmit:s=!1,onFieldsChange:i,onFinish:a,onFinishFailed:l,onReset:d,onSubmit:f,onValuesChange:m,style:p,sx:v,...b}=e,[h]=Wi(n),x=se(),{sxClassName:y,sxInlineStyle:g}=X(v,x),w=u.useRef(!1),P=!s&&(n!==void 0||a!==void 0||l!==void 0||m!==void 0||i!==void 0);h.__INTERNAL__.setCallbacks({onFieldsChange:i,onFinish:a,onFinishFailed:l,onValuesChange:m}),h.__INTERNAL__.setInitialValues(o,!w.current),w.current=!0;const C=N=>{f?.(N),!(N.defaultPrevented||!P)&&(N.preventDefault(),h.submit())},S=N=>{d?.(N),!(N.defaultPrevented||!P)&&h.resetFields()};return c.jsx(So.Provider,{value:h,children:c.jsx("form",{className:j("space-y-4",y,t,r),style:L(p,g),onReset:S,onSubmit:C,...b})})}function Ki(e){const{children:t,className:r,class:n,controlClassName:o,controlStyle:s,dependencies:i=[],extra:a,getValueFromEvent:l,getValueProps:d,help:f,initialValue:m,label:p,labelClassName:v,labelStyle:b,name:h,noStyle:x=!1,preserve:y=!0,required:g,rules:w=[],sx:P,style:C,trigger:S,validateFirst:N=!1,validateStatus:q,validateTrigger:k="onChange",valuePropName:A,...E}=e,R=Gi(),I=se(),{sxClassName:T,sxInlineStyle:O}=X(P,I),_=No(void 0,R),$=h===void 0?void 0:Qe(h),M=h===void 0?void 0:R.getFieldValue(h),U=dw(h??"__FORM_ITEM__",R),D=u.isValidElement(t)&&typeof t.type!="string"?t:null,G=mw(D),he=A??G.valuePropName,te=S??G.trigger,J=w.some(ue=>ue.required),H=u.useMemo(()=>g&&!J?[{required:!0},...w]:w,[J,g,w]),Y=u.useMemo(()=>JSON.stringify(i.map(Qe)),[i]),B=u.useRef(H);B.current=H,u.useEffect(()=>{if(h===void 0)return;m!==void 0&&R.getFieldValue(h)===void 0&&R.__INTERNAL__.setFieldValue(h,m,{source:"external"});const ue=R.__INTERNAL__.registerField({dependencies:i,name:h,rules:B.current,validateFirst:N,validateTrigger:k});return()=>ue({preserve:y})},[Y,R,m,h,$,y,N,k]);const Q={form:R,meta:U,value:M,values:_},z=()=>{if(typeof t=="function")return t(Q);if(!D||h===void 0)return t;const ue=D.props,pe=d?d(M):G.skipValueProp?{}:{[he]:vw(M,G,he)};ue.name===void 0&&(pe.name=rw(h)),pe[te]=Ml(ue[te],(...ve)=>{const ie=l?l(...ve):hw(he,ve);R.__INTERNAL__.setFieldValue(h,ie,{source:"internal",touched:!0,trigger:te})});for(const ve of pw(k))ve!==te&&(pe[ve]=Ml(pe[ve]??ue[ve],()=>{R.__INTERNAL__.validateFields([h],{trigger:ve}).catch(()=>{})}));return u.cloneElement(D,pe)},K=U.errors,W=f??K[0],Z=q??(U.validating?"validating":K.length>0?"error":void 0),ae=c.jsxs(c.Fragment,{children:[p!==void 0?c.jsxs("div",{className:j("text-sm font-medium leading-5 text-slate-700",v),style:b,children:[p,g||J?c.jsx("span",{className:"ml-1 text-red-500","aria-hidden":"true",children:"*"}):null]}):null,c.jsx("div",{className:o,style:s,children:z()}),W!==void 0?c.jsx("div",{className:j("text-xs leading-5",Z==="error"?"text-red-600":"text-slate-500"),"aria-live":Z==="error"?"polite":void 0,role:Z==="error"?"alert":void 0,children:W}):null,a!==void 0?c.jsx("div",{className:"text-xs leading-5 text-slate-500",children:a}):null]});return x?ae:c.jsx("div",{className:j("space-y-2",Z==="error"&&"[&_input]:border-red-500",T,r,n),style:L(C,O),...E,children:ae})}Ki.displayName="FormItem";const kf=Object.assign(gw,{Item:Ki,useForm:Wi,useFormInstance:Gi,useFormValue:No,useFormWatch:qf});kf.displayName="Form";function bw(e){const{accept:t,multiple:r=!1,name:n,disabled:o=!1,onChange:s}=e,i=u.useRef(null);return c.jsxs("div",{className:"inline-flex items-center gap-3",children:[c.jsx("input",{ref:i,hidden:!0,type:"file",accept:t,multiple:r,name:n,disabled:o,onChange:a=>s?.(a.target.files)}),c.jsx(en,{type:"button",disabled:o,onClick:()=>i.current?.click(),children:"选择文件"})]})}function Ll(e,[t,r]){return Math.min(r,Math.max(t,e))}var xw=[" ","Enter","ArrowUp","ArrowDown"],yw=[" ","Enter"],Zt="Select",[qo,ko,ww]=ef(Zt),[kr]=rt(Zt,[ww,Nr]),Eo=Nr(),[Pw,$t]=kr(Zt),[Cw,Sw]=kr(Zt),Ef=e=>{const{__scopeSelect:t,children:r,open:n,defaultOpen:o,onOpenChange:s,value:i,defaultValue:a,onValueChange:l,dir:d,name:f,autoComplete:m,disabled:p,required:v,form:b}=e,h=Eo(t),[x,y]=u.useState(null),[g,w]=u.useState(null),[P,C]=u.useState(!1),S=wo(d),[N,q]=yt({prop:n,defaultProp:o??!1,onChange:s,caller:Zt}),[k,A]=yt({prop:i,defaultProp:a,onChange:l,caller:Zt}),E=u.useRef(null),R=x?b||!!x.closest("form"):!0,[I,T]=u.useState(new Set),O=Array.from(I).map(_=>_.props.value).join(";");return c.jsx(ji,{...h,children:c.jsxs(Pw,{required:v,scope:t,trigger:x,onTriggerChange:y,valueNode:g,onValueNodeChange:w,valueNodeHasChildren:P,onValueNodeHasChildrenChange:C,contentId:nr(),value:k,onValueChange:A,open:N,onOpenChange:q,dir:S,triggerPointerDownPosRef:E,disabled:p,children:[c.jsx(qo.Provider,{scope:t,children:c.jsx(Cw,{scope:e.__scopeSelect,onNativeOptionAdd:u.useCallback(_=>{T($=>new Set($).add(_))},[]),onNativeOptionRemove:u.useCallback(_=>{T($=>{const M=new Set($);return M.delete(_),M})},[]),children:r})}),R?c.jsxs(Zf,{"aria-hidden":!0,required:v,tabIndex:-1,name:f,autoComplete:m,value:k,onChange:_=>A(_.target.value),disabled:p,form:b,children:[k===void 0?c.jsx("option",{value:""}):null,Array.from(I)]},O):null]})})};Ef.displayName=Zt;var Rf="SelectTrigger",jf=u.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...o}=e,s=Eo(r),i=$t(Rf,r),a=i.disabled||n,l=ke(t,i.onTriggerChange),d=ko(r),f=u.useRef("touch"),[m,p,v]=tm(h=>{const x=d().filter(w=>!w.disabled),y=x.find(w=>w.value===i.value),g=rm(x,h,y);g!==void 0&&i.onValueChange(g.value)}),b=h=>{a||(i.onOpenChange(!0),v()),h&&(i.triggerPointerDownPosRef.current={x:Math.round(h.pageX),y:Math.round(h.pageY)})};return c.jsx(co,{asChild:!0,...s,children:c.jsx(be.button,{type:"button",role:"combobox","aria-controls":i.contentId,"aria-expanded":i.open,"aria-required":i.required,"aria-autocomplete":"none",dir:i.dir,"data-state":i.open?"open":"closed",disabled:a,"data-disabled":a?"":void 0,"data-placeholder":em(i.value)?"":void 0,...o,ref:l,onClick:ce(o.onClick,h=>{h.currentTarget.focus(),f.current!=="mouse"&&b(h)}),onPointerDown:ce(o.onPointerDown,h=>{f.current=h.pointerType;const x=h.target;x.hasPointerCapture(h.pointerId)&&x.releasePointerCapture(h.pointerId),h.button===0&&h.ctrlKey===!1&&h.pointerType==="mouse"&&(b(h),h.preventDefault())}),onKeyDown:ce(o.onKeyDown,h=>{const x=m.current!=="";!(h.ctrlKey||h.altKey||h.metaKey)&&h.key.length===1&&p(h.key),!(x&&h.key===" ")&&xw.includes(h.key)&&(b(),h.preventDefault())})})})});jf.displayName=Rf;var Af="SelectValue",If=u.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,children:s,placeholder:i="",...a}=e,l=$t(Af,r),{onValueNodeHasChildrenChange:d}=l,f=s!==void 0,m=ke(t,l.onValueNodeChange);return De(()=>{d(f)},[d,f]),c.jsx(be.span,{...a,ref:m,style:{pointerEvents:"none"},children:em(l.value)?c.jsx(c.Fragment,{children:i}):s})});If.displayName=Af;var Nw="SelectIcon",Tf=u.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...o}=e;return c.jsx(be.span,{"aria-hidden":!0,...o,ref:t,children:n||"▼"})});Tf.displayName=Nw;var qw="SelectPortal",_f=e=>c.jsx(uo,{asChild:!0,...e});_f.displayName=qw;var er="SelectContent",Of=u.forwardRef((e,t)=>{const r=$t(er,e.__scopeSelect),[n,o]=u.useState();if(De(()=>{o(new DocumentFragment)},[]),!r.open){const s=n;return s?Jr.createPortal(c.jsx(Mf,{scope:e.__scopeSelect,children:c.jsx(qo.Slot,{scope:e.__scopeSelect,children:c.jsx("div",{children:e.children})})}),s):null}return c.jsx(Lf,{...e,ref:t})});Of.displayName=er;var Ze=10,[Mf,Vt]=kr(er),kw="SelectContentImpl",Ew=Wr("SelectContent.RemoveScroll"),Lf=u.forwardRef((e,t)=>{const{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:s,onPointerDownOutside:i,side:a,sideOffset:l,align:d,alignOffset:f,arrowPadding:m,collisionBoundary:p,collisionPadding:v,sticky:b,hideWhenDetached:h,avoidCollisions:x,...y}=e,g=$t(er,r),[w,P]=u.useState(null),[C,S]=u.useState(null),N=ke(t,B=>P(B)),[q,k]=u.useState(null),[A,E]=u.useState(null),R=ko(r),[I,T]=u.useState(!1),O=u.useRef(!1);u.useEffect(()=>{if(w)return Uu(w)},[w]),Su();const _=u.useCallback(B=>{const[Q,...z]=R().map(Z=>Z.ref.current),[K]=z.slice(-1),W=document.activeElement;for(const Z of B)if(Z===W||(Z?.scrollIntoView({block:"nearest"}),Z===Q&&C&&(C.scrollTop=0),Z===K&&C&&(C.scrollTop=C.scrollHeight),Z?.focus(),document.activeElement!==W))return},[R,C]),$=u.useCallback(()=>_([q,w]),[_,q,w]);u.useEffect(()=>{I&&$()},[I,$]);const{onOpenChange:M,triggerPointerDownPosRef:U}=g;u.useEffect(()=>{if(w){let B={x:0,y:0};const Q=K=>{B={x:Math.abs(Math.round(K.pageX)-(U.current?.x??0)),y:Math.abs(Math.round(K.pageY)-(U.current?.y??0))}},z=K=>{B.x<=10&&B.y<=10?K.preventDefault():w.contains(K.target)||M(!1),document.removeEventListener("pointermove",Q),U.current=null};return U.current!==null&&(document.addEventListener("pointermove",Q),document.addEventListener("pointerup",z,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Q),document.removeEventListener("pointerup",z,{capture:!0})}}},[w,M,U]),u.useEffect(()=>{const B=()=>M(!1);return window.addEventListener("blur",B),window.addEventListener("resize",B),()=>{window.removeEventListener("blur",B),window.removeEventListener("resize",B)}},[M]);const[D,G]=tm(B=>{const Q=R().filter(W=>!W.disabled),z=Q.find(W=>W.ref.current===document.activeElement),K=rm(Q,B,z);K&&setTimeout(()=>K.ref.current.focus())}),he=u.useCallback((B,Q,z)=>{const K=!O.current&&!z;(g.value!==void 0&&g.value===Q||K)&&(k(B),K&&(O.current=!0))},[g.value]),te=u.useCallback(()=>w?.focus(),[w]),J=u.useCallback((B,Q,z)=>{const K=!O.current&&!z;(g.value!==void 0&&g.value===Q||K)&&E(B)},[g.value]),H=n==="popper"?Xs:Df,Y=H===Xs?{side:a,sideOffset:l,align:d,alignOffset:f,arrowPadding:m,collisionBoundary:p,collisionPadding:v,sticky:b,hideWhenDetached:h,avoidCollisions:x}:{};return c.jsx(Mf,{scope:r,content:w,viewport:C,onViewportChange:S,itemRefCallback:he,selectedItem:q,onItemLeave:te,itemTextRefCallback:J,focusSelectedItem:$,selectedItemText:A,position:n,isPositioned:I,searchRef:D,children:c.jsx(Ti,{as:Ew,allowPinchZoom:!0,children:c.jsx(wi,{asChild:!0,trapped:g.open,onMountAutoFocus:B=>{B.preventDefault()},onUnmountAutoFocus:ce(o,B=>{g.trigger?.focus({preventScroll:!0}),B.preventDefault()}),children:c.jsx(no,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:B=>B.preventDefault(),onDismiss:()=>g.onOpenChange(!1),children:c.jsx(H,{role:"listbox",id:g.contentId,"data-state":g.open?"open":"closed",dir:g.dir,onContextMenu:B=>B.preventDefault(),...y,...Y,onPlaced:()=>T(!0),ref:N,style:{display:"flex",flexDirection:"column",outline:"none",...y.style},onKeyDown:ce(y.onKeyDown,B=>{const Q=B.ctrlKey||B.altKey||B.metaKey;if(B.key==="Tab"&&B.preventDefault(),!Q&&B.key.length===1&&G(B.key),["ArrowUp","ArrowDown","Home","End"].includes(B.key)){let K=R().filter(W=>!W.disabled).map(W=>W.ref.current);if(["ArrowUp","End"].includes(B.key)&&(K=K.slice().reverse()),["ArrowUp","ArrowDown"].includes(B.key)){const W=B.target,Z=K.indexOf(W);K=K.slice(Z+1)}setTimeout(()=>_(K)),B.preventDefault()}})})})})})})});Lf.displayName=kw;var Rw="SelectItemAlignedPosition",Df=u.forwardRef((e,t)=>{const{__scopeSelect:r,onPlaced:n,...o}=e,s=$t(er,r),i=Vt(er,r),[a,l]=u.useState(null),[d,f]=u.useState(null),m=ke(t,N=>f(N)),p=ko(r),v=u.useRef(!1),b=u.useRef(!0),{viewport:h,selectedItem:x,selectedItemText:y,focusSelectedItem:g}=i,w=u.useCallback(()=>{if(s.trigger&&s.valueNode&&a&&d&&h&&x&&y){const N=s.trigger.getBoundingClientRect(),q=d.getBoundingClientRect(),k=s.valueNode.getBoundingClientRect(),A=y.getBoundingClientRect();if(s.dir!=="rtl"){const W=A.left-q.left,Z=k.left-W,ae=N.left-Z,ue=N.width+ae,pe=Math.max(ue,q.width),ve=window.innerWidth-Ze,ie=Ll(Z,[Ze,Math.max(Ze,ve-pe)]);a.style.minWidth=ue+"px",a.style.left=ie+"px"}else{const W=q.right-A.right,Z=window.innerWidth-k.right-W,ae=window.innerWidth-N.right-Z,ue=N.width+ae,pe=Math.max(ue,q.width),ve=window.innerWidth-Ze,ie=Ll(Z,[Ze,Math.max(Ze,ve-pe)]);a.style.minWidth=ue+"px",a.style.right=ie+"px"}const E=p(),R=window.innerHeight-Ze*2,I=h.scrollHeight,T=window.getComputedStyle(d),O=parseInt(T.borderTopWidth,10),_=parseInt(T.paddingTop,10),$=parseInt(T.borderBottomWidth,10),M=parseInt(T.paddingBottom,10),U=O+_+I+M+$,D=Math.min(x.offsetHeight*5,U),G=window.getComputedStyle(h),he=parseInt(G.paddingTop,10),te=parseInt(G.paddingBottom,10),J=N.top+N.height/2-Ze,H=R-J,Y=x.offsetHeight/2,B=x.offsetTop+Y,Q=O+_+B,z=U-Q;if(Q<=J){const W=E.length>0&&x===E[E.length-1].ref.current;a.style.bottom="0px";const Z=d.clientHeight-h.offsetTop-h.offsetHeight,ae=Math.max(H,Y+(W?te:0)+Z+$),ue=Q+ae;a.style.height=ue+"px"}else{const W=E.length>0&&x===E[0].ref.current;a.style.top="0px";const ae=Math.max(J,O+h.offsetTop+(W?he:0)+Y)+z;a.style.height=ae+"px",h.scrollTop=Q-J+h.offsetTop}a.style.margin=`${Ze}px 0`,a.style.minHeight=D+"px",a.style.maxHeight=R+"px",n?.(),requestAnimationFrame(()=>v.current=!0)}},[p,s.trigger,s.valueNode,a,d,h,x,y,s.dir,n]);De(()=>w(),[w]);const[P,C]=u.useState();De(()=>{d&&C(window.getComputedStyle(d).zIndex)},[d]);const S=u.useCallback(N=>{N&&b.current===!0&&(w(),g?.(),b.current=!1)},[w,g]);return c.jsx(Aw,{scope:r,contentWrapper:a,shouldExpandOnScrollRef:v,onScrollButtonChange:S,children:c.jsx("div",{ref:l,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:P},children:c.jsx(be.div,{...o,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});Df.displayName=Rw;var jw="SelectPopperPosition",Xs=u.forwardRef((e,t)=>{const{__scopeSelect:r,align:n="start",collisionPadding:o=Ze,...s}=e,i=Eo(r);return c.jsx(Ai,{...i,...s,ref:t,align:n,collisionPadding:o,style:{boxSizing:"border-box",...s.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Xs.displayName=jw;var[Aw,Ui]=kr(er,{}),Js="SelectViewport",Bf=u.forwardRef((e,t)=>{const{__scopeSelect:r,nonce:n,...o}=e,s=Vt(Js,r),i=Ui(Js,r),a=ke(t,s.onViewportChange),l=u.useRef(0);return c.jsxs(c.Fragment,{children:[c.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:n}),c.jsx(qo.Slot,{scope:r,children:c.jsx(be.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:a,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:ce(o.onScroll,d=>{const f=d.currentTarget,{contentWrapper:m,shouldExpandOnScrollRef:p}=i;if(p?.current&&m){const v=Math.abs(l.current-f.scrollTop);if(v>0){const b=window.innerHeight-Ze*2,h=parseFloat(m.style.minHeight),x=parseFloat(m.style.height),y=Math.max(h,x);if(y<b){const g=y+v,w=Math.min(b,g),P=g-w;m.style.height=w+"px",m.style.bottom==="0px"&&(f.scrollTop=P>0?P:0,m.style.justifyContent="flex-end")}}}l.current=f.scrollTop})})})]})});Bf.displayName=Js;var Ff="SelectGroup",[Iw,Tw]=kr(Ff),$f=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=nr();return c.jsx(Iw,{scope:r,id:o,children:c.jsx(be.div,{role:"group","aria-labelledby":o,...n,ref:t})})});$f.displayName=Ff;var Vf="SelectLabel",zf=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=Tw(Vf,r);return c.jsx(be.div,{id:o.id,...n,ref:t})});zf.displayName=Vf;var Yn="SelectItem",[_w,Hf]=kr(Yn),Wf=u.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:s,...i}=e,a=$t(Yn,r),l=Vt(Yn,r),d=a.value===n,[f,m]=u.useState(s??""),[p,v]=u.useState(!1),b=ke(t,g=>l.itemRefCallback?.(g,n,o)),h=nr(),x=u.useRef("touch"),y=()=>{o||(a.onValueChange(n),a.onOpenChange(!1))};if(n==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return c.jsx(_w,{scope:r,value:n,disabled:o,textId:h,isSelected:d,onItemTextChange:u.useCallback(g=>{m(w=>w||(g?.textContent??"").trim())},[]),children:c.jsx(qo.ItemSlot,{scope:r,value:n,disabled:o,textValue:f,children:c.jsx(be.div,{role:"option","aria-labelledby":h,"data-highlighted":p?"":void 0,"aria-selected":d&&p,"data-state":d?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...i,ref:b,onFocus:ce(i.onFocus,()=>v(!0)),onBlur:ce(i.onBlur,()=>v(!1)),onClick:ce(i.onClick,()=>{x.current!=="mouse"&&y()}),onPointerUp:ce(i.onPointerUp,()=>{x.current==="mouse"&&y()}),onPointerDown:ce(i.onPointerDown,g=>{x.current=g.pointerType}),onPointerMove:ce(i.onPointerMove,g=>{x.current=g.pointerType,o?l.onItemLeave?.():x.current==="mouse"&&g.currentTarget.focus({preventScroll:!0})}),onPointerLeave:ce(i.onPointerLeave,g=>{g.currentTarget===document.activeElement&&l.onItemLeave?.()}),onKeyDown:ce(i.onKeyDown,g=>{l.searchRef?.current!==""&&g.key===" "||(yw.includes(g.key)&&y(),g.key===" "&&g.preventDefault())})})})})});Wf.displayName=Yn;var Br="SelectItemText",Gf=u.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,...s}=e,i=$t(Br,r),a=Vt(Br,r),l=Hf(Br,r),d=Sw(Br,r),[f,m]=u.useState(null),p=ke(t,y=>m(y),l.onItemTextChange,y=>a.itemTextRefCallback?.(y,l.value,l.disabled)),v=f?.textContent,b=u.useMemo(()=>c.jsx("option",{value:l.value,disabled:l.disabled,children:v},l.value),[l.disabled,l.value,v]),{onNativeOptionAdd:h,onNativeOptionRemove:x}=d;return De(()=>(h(b),()=>x(b)),[h,x,b]),c.jsxs(c.Fragment,{children:[c.jsx(be.span,{id:l.textId,...s,ref:p}),l.isSelected&&i.valueNode&&!i.valueNodeHasChildren?Jr.createPortal(s.children,i.valueNode):null]})});Gf.displayName=Br;var Kf="SelectItemIndicator",Uf=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return Hf(Kf,r).isSelected?c.jsx(be.span,{"aria-hidden":!0,...n,ref:t}):null});Uf.displayName=Kf;var Qs="SelectScrollUpButton",Yf=u.forwardRef((e,t)=>{const r=Vt(Qs,e.__scopeSelect),n=Ui(Qs,e.__scopeSelect),[o,s]=u.useState(!1),i=ke(t,n.onScrollButtonChange);return De(()=>{if(r.viewport&&r.isPositioned){let a=function(){const d=l.scrollTop>0;s(d)};const l=r.viewport;return a(),l.addEventListener("scroll",a),()=>l.removeEventListener("scroll",a)}},[r.viewport,r.isPositioned]),o?c.jsx(Jf,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:l}=r;a&&l&&(a.scrollTop=a.scrollTop-l.offsetHeight)}}):null});Yf.displayName=Qs;var Zs="SelectScrollDownButton",Xf=u.forwardRef((e,t)=>{const r=Vt(Zs,e.__scopeSelect),n=Ui(Zs,e.__scopeSelect),[o,s]=u.useState(!1),i=ke(t,n.onScrollButtonChange);return De(()=>{if(r.viewport&&r.isPositioned){let a=function(){const d=l.scrollHeight-l.clientHeight,f=Math.ceil(l.scrollTop)<d;s(f)};const l=r.viewport;return a(),l.addEventListener("scroll",a),()=>l.removeEventListener("scroll",a)}},[r.viewport,r.isPositioned]),o?c.jsx(Jf,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:l}=r;a&&l&&(a.scrollTop=a.scrollTop+l.offsetHeight)}}):null});Xf.displayName=Zs;var Jf=u.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=e,s=Vt("SelectScrollButton",r),i=u.useRef(null),a=ko(r),l=u.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return u.useEffect(()=>()=>l(),[l]),De(()=>{a().find(f=>f.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[a]),c.jsx(be.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:ce(o.onPointerDown,()=>{i.current===null&&(i.current=window.setInterval(n,50))}),onPointerMove:ce(o.onPointerMove,()=>{s.onItemLeave?.(),i.current===null&&(i.current=window.setInterval(n,50))}),onPointerLeave:ce(o.onPointerLeave,()=>{l()})})}),Ow="SelectSeparator",Qf=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return c.jsx(be.div,{"aria-hidden":!0,...n,ref:t})});Qf.displayName=Ow;var ei="SelectArrow",Mw=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=Eo(r),s=$t(ei,r),i=Vt(ei,r);return s.open&&i.position==="popper"?c.jsx(Ii,{...o,...n,ref:t}):null});Mw.displayName=ei;var Lw="SelectBubbleInput",Zf=u.forwardRef(({__scopeSelect:e,value:t,...r},n)=>{const o=u.useRef(null),s=ke(n,o),i=vo(t);return u.useEffect(()=>{const a=o.current;if(!a)return;const l=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(l,"value").set;if(i!==t&&f){const m=new Event("change",{bubbles:!0});f.call(a,t),a.dispatchEvent(m)}},[i,t]),c.jsx(be.select,{...r,style:{...gd,...r.style},ref:s,defaultValue:t})});Zf.displayName=Lw;function em(e){return e===""||e===void 0}function tm(e){const t=gt(e),r=u.useRef(""),n=u.useRef(0),o=u.useCallback(i=>{const a=r.current+i;t(a),(function l(d){r.current=d,window.clearTimeout(n.current),d!==""&&(n.current=window.setTimeout(()=>l(""),1e3))})(a)},[t]),s=u.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return u.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,s]}function rm(e,t,r){const o=t.length>1&&Array.from(t).every(d=>d===t[0])?t[0]:t,s=r?e.indexOf(r):-1;let i=Dw(e,Math.max(s,0));o.length===1&&(i=i.filter(d=>d!==r));const l=i.find(d=>d.textValue.toLowerCase().startsWith(o.toLowerCase()));return l!==r?l:void 0}function Dw(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var Bw=Ef,Fw=jf,$w=If,Vw=Tf,zw=_f,Hw=Of,Ww=Bf,Gw=$f,Kw=zf,Uw=Wf,Yw=Gf,Xw=Uf,Jw=Yf,Qw=Xf,Zw=Qf;const Dl="data-scroll-locked",nm=u.createContext({lockScroll:!1});function eP(e,t){(typeof window>"u"?u.useEffect:u.useLayoutEffect)(e,t)}function Bl(){return document.querySelector('[role="listbox"][data-state="open"][data-ldkj-select-lock-scroll="false"]')!==null}function tP(e){eP(()=>{if(!e||typeof document>"u")return;const t=document.body,r=()=>{Bl()&&t.removeAttribute(Dl)},n=a=>{Bl()&&a.stopImmediatePropagation()},o=typeof MutationObserver>"u"?null:new MutationObserver(r),s={passive:!1},i=window.setTimeout(r,0);return o?.observe(t,{attributes:!0,attributeFilter:[Dl]}),document.addEventListener("wheel",n,s),document.addEventListener("touchmove",n,s),r(),()=>{window.clearTimeout(i),o?.disconnect(),document.removeEventListener("wheel",n),document.removeEventListener("touchmove",n)}},[e])}function om(e){const{lockScroll:t=!1,...r}=e;return tP(!t),c.jsx(nm.Provider,{value:{lockScroll:t},children:c.jsx(Bw,{...r})})}om.displayName="Select";const sm=Gw,rP=$w;function nP(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M3.5 8.5L6.5 11.5L12.5 4.5",stroke:"currentColor",strokeWidth:"2.25",strokeLinecap:"round",strokeLinejoin:"round"})})}function im(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M4 6L8 10L12 6",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function oP(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M4 10L8 6L12 10",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function or(e){const t=se();return X(e,t)}const am=u.forwardRef((e,t)=>{const{className:r,class:n,children:o,sx:s,style:i,...a}=e,{sxClassName:l,sxInlineStyle:d}=or(s);return c.jsxs(Fw,{ref:t,className:j("flex h-9 w-full items-center justify-between gap-2 rounded-md border border-solid border-slate-300 bg-white px-3 py-2 text-sm text-slate-900 shadow-sm transition-colors","placeholder:text-slate-400 data-[placeholder]:text-slate-400","focus-visible:border-blue-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30","disabled:cursor-not-allowed disabled:bg-slate-50 disabled:text-slate-500 disabled:opacity-70","[&>span]:min-w-0 [&>span]:truncate",l,r,n),style:L(i,d),...a,children:[o,c.jsx(Vw,{asChild:!0,children:c.jsx(im,{className:"h-4 w-4 shrink-0 text-slate-500"})})]})});am.displayName="SelectTrigger";const Yi=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=or(o);return c.jsx(Jw,{ref:t,className:j("flex cursor-default items-center justify-center py-1 text-slate-500",a,r,n),style:L(s,l),...i,children:c.jsx(oP,{className:"h-4 w-4"})})});Yi.displayName="SelectScrollUpButton";const Xi=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=or(o);return c.jsx(Qw,{ref:t,className:j("flex cursor-default items-center justify-center py-1 text-slate-500",a,r,n),style:L(s,l),...i,children:c.jsx(im,{className:"h-4 w-4"})})});Xi.displayName="SelectScrollDownButton";const lm=u.forwardRef((e,t)=>{const{className:r,class:n,children:o,position:s="popper",sx:i,style:a,...l}=e,{sxClassName:d,sxInlineStyle:f}=or(i),{lockScroll:m}=u.useContext(nm);return c.jsx(zw,{children:c.jsxs(Hw,{ref:t,className:j("relative z-50 max-h-[var(--radix-select-content-available-height)] min-w-32 overflow-hidden rounded-md border border-solid border-slate-200 bg-white text-slate-900 shadow-lg","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","origin-[var(--radix-select-content-transform-origin)]",s==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",d,r,n),style:L(a,f),position:s,"data-ldkj-select-lock-scroll":m?"true":"false",...l,children:[c.jsx(Yi,{}),c.jsx(Ww,{className:j("p-1",s==="popper"&&"w-full min-w-[var(--radix-select-trigger-width)]"),children:o}),c.jsx(Xi,{})]})})});lm.displayName="SelectContent";const Ji=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=or(o);return c.jsx(Kw,{ref:t,className:j("px-2 py-1.5 text-xs font-medium text-slate-500",a,r,n),style:L(s,l),...i})});Ji.displayName="SelectLabel";const Xn=u.forwardRef((e,t)=>{const{className:r,class:n,children:o,sx:s,style:i,...a}=e,{sxClassName:l,sxInlineStyle:d}=or(s);return c.jsxs(Uw,{ref:t,className:j("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm leading-5 text-slate-700 outline-none transition-colors","focus:bg-blue-50 focus:text-blue-700","data-[disabled]:pointer-events-none data-[disabled]:text-slate-400 data-[disabled]:opacity-70",l,r,n),style:L(i,d),...a,children:[c.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center text-blue-600",children:c.jsx(Xw,{children:c.jsx(nP,{className:"h-4 w-4"})})}),c.jsx(Yw,{children:o})]})});Xn.displayName="SelectItem";const Qi=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=or(o);return c.jsx(Zw,{ref:t,className:j("-mx-1 my-1 h-px bg-slate-200",a,r,n),style:L(s,l),...i})});Qi.displayName="SelectSeparator";function sP(e){return"options"in e}function iP(e){const{options:t,itemProps:r,labelProps:n,separatorProps:o}=e;return c.jsx(c.Fragment,{children:t.map((s,i)=>sP(s)?c.jsxs(sm,{children:[s.label?c.jsx(Ji,{...n,children:s.label}):null,s.options.map(a=>c.jsx(Xn,{...r,value:a.value,disabled:a.disabled,textValue:a.textValue,className:j(r?.className,a.className),class:j(r?.class,a.class),style:L(r?.style,a.style),sx:[r?.sx,a.sx],children:a.label},a.value)),s.separator?c.jsx(Qi,{...o}):null]},`group-${i}`):c.jsx(Xn,{...r,value:s.value,disabled:s.disabled,textValue:s.textValue,className:j(r?.className,s.className),class:j(r?.class,s.class),style:L(r?.style,s.style),sx:[r?.sx,s.sx],children:s.label},s.value))})}var Ro="Switch",[aP]=rt(Ro),[lP,cP]=aP(Ro),cm=u.forwardRef((e,t)=>{const{__scopeSwitch:r,name:n,checked:o,defaultChecked:s,required:i,disabled:a,value:l="on",onCheckedChange:d,form:f,...m}=e,[p,v]=u.useState(null),b=ke(t,w=>v(w)),h=u.useRef(!1),x=p?f||!!p.closest("form"):!0,[y,g]=yt({prop:o,defaultProp:s??!1,onChange:d,caller:Ro});return c.jsxs(lP,{scope:r,checked:y,disabled:a,children:[c.jsx(be.button,{type:"button",role:"switch","aria-checked":y,"aria-required":i,"data-state":mm(y),"data-disabled":a?"":void 0,disabled:a,value:l,...m,ref:b,onClick:ce(e.onClick,w=>{g(P=>!P),x&&(h.current=w.isPropagationStopped(),h.current||w.stopPropagation())})}),x&&c.jsx(fm,{control:p,bubbles:!h.current,name:n,value:l,checked:y,required:i,disabled:a,form:f,style:{transform:"translateX(-100%)"}})]})});cm.displayName=Ro;var um="SwitchThumb",dm=u.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,o=cP(um,r);return c.jsx(be.span,{"data-state":mm(o.checked),"data-disabled":o.disabled?"":void 0,...n,ref:t})});dm.displayName=um;var uP="SwitchBubbleInput",fm=u.forwardRef(({__scopeSwitch:e,control:t,checked:r,bubbles:n=!0,...o},s)=>{const i=u.useRef(null),a=ke(i,s),l=vo(r),d=lo(t);return u.useEffect(()=>{const f=i.current;if(!f)return;const m=window.HTMLInputElement.prototype,v=Object.getOwnPropertyDescriptor(m,"checked").set;if(l!==r&&v){const b=new Event("click",{bubbles:n});v.call(f,r),f.dispatchEvent(b)}},[l,r,n]),c.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...o,tabIndex:-1,ref:a,style:{...o.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});fm.displayName=uP;function mm(e){return e?"checked":"unchecked"}var dP=cm,fP=dm;const mP={sm:"h-5 w-9",md:"h-6 w-11",lg:"h-7 w-[52px]"},hP={sm:"h-4 w-4 data-[state=checked]:translate-x-4",md:"h-5 w-5 data-[state=checked]:translate-x-5",lg:"h-6 w-6 data-[state=checked]:translate-x-6"},hm=u.forwardRef((e,t)=>{const{className:r,class:n,containerClass:o,containerClassName:s,containerStyle:i,containerSx:a,description:l,disabled:d,id:f,label:m,labelPosition:p="right",size:v="md",style:b,sx:h,"aria-describedby":x,...y}=e,g=se(),{sxClassName:w,sxInlineStyle:P}=X(h,g),{sxClassName:C,sxInlineStyle:S}=X(a,g),N=u.useId(),q=f??`ldkj-switch-${N}`,k=l===void 0?void 0:`${q}-description`,A=[x,k].filter(Boolean).join(" ")||void 0,E=c.jsx(dP,{ref:t,id:q,disabled:d,"aria-describedby":A,className:j("peer inline-flex shrink-0 cursor-pointer items-center rounded-full border border-transparent bg-slate-300 p-0.5 transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2","disabled:cursor-not-allowed disabled:opacity-50","data-[state=checked]:bg-blue-600 data-[state=unchecked]:bg-slate-300",mP[v],w,r,n),style:L(b,P),...y,children:c.jsx(fP,{className:j("pointer-events-none block rounded-full bg-white shadow-sm ring-0 transition-transform","data-[state=unchecked]:translate-x-0",hP[v])})});if(m===void 0&&l===void 0)return E;const R=c.jsxs("span",{className:"flex min-w-0 flex-col gap-0.5",children:[m!==void 0?c.jsx(Ks,{htmlFor:q,className:j("text-sm font-medium leading-5 text-slate-700",d?"cursor-not-allowed opacity-60":"cursor-pointer"),children:m}):null,l!==void 0?c.jsx("span",{id:k,className:"text-xs leading-5 text-slate-500",children:l}):null]});return c.jsxs("div",{className:j("inline-flex w-fit items-center gap-3",d?"cursor-not-allowed":void 0,C,s,o),style:L(i,S),children:[p==="left"?R:null,E,p==="right"?R:null]})});hm.displayName="Switch";function Jn(e){const{value:t,defaultValue:r,onChange:n}=e,[o,s]=u.useState(r),i=t!==void 0,a=i?t:o,l=u.useCallback(d=>{i||s(d),n?.(d)},[i,n]);return[a,l,i]}function pm(e){const t=se();return X(e,t)}function pP(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function ti(e){return e==="center"?"justify-center text-center":e==="right"?"justify-end text-right":"justify-start text-left"}function vP(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M4 6L8 10L12 6",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function gP(e){return c.jsx("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:c.jsx("path",{d:"M6 4L10 8L6 12",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}function bP(e){return c.jsxs("svg",{"aria-hidden":"true",viewBox:"0 0 16 16",fill:"none",...e,children:[c.jsx("path",{d:"M4.5 4.5L11.5 11.5",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"}),c.jsx("path",{d:"M11.5 4.5L4.5 11.5",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round"})]})}function Fl(){return c.jsx("span",{className:"inline-block h-3.5 w-3.5 animate-spin rounded-full border-2 border-slate-300 border-t-blue-600","aria-hidden":"true"})}function vm(e){const{open:t,title:r,cancelText:n="取消",confirmText:o="确定",confirmDisabled:s=!1,maxHeight:i="76vh",children:a,className:l,class:d,style:f,sx:m,onCancel:p,onConfirm:v,onOpenChange:b}=e,{sxClassName:h,sxInlineStyle:x}=pm(m);if(u.useEffect(()=>{if(!t||typeof document>"u")return;const g=document.body.style.overflow;document.body.style.overflow="hidden";const w=P=>{P.key==="Escape"&&(p?.(),b?.(!1))};return document.addEventListener("keydown",w),()=>{document.body.style.overflow=g,document.removeEventListener("keydown",w)}},[p,b,t]),!t)return null;const y=()=>{p?.(),b?.(!1)};return c.jsxs("div",{className:"fixed inset-0 z-50",children:[c.jsx("button",{type:"button","aria-label":"关闭选择面板",className:"absolute inset-0 h-full w-full cursor-default border-0 bg-black/45 p-0",onClick:y}),c.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":typeof r=="string"?r:"移动端选择面板",className:j("absolute bottom-0 left-0 right-0 flex max-h-[76vh] flex-col overflow-hidden rounded-t-xl bg-white shadow-2xl",h,l,d),style:L({maxHeight:pP(i)},f,x),children:[c.jsxs("div",{className:"flex min-h-12 shrink-0 items-center gap-3 border-b border-slate-200 px-4",children:[r?c.jsx("div",{className:"min-w-0 flex-1 truncate text-left text-sm font-medium text-slate-900",children:r}):c.jsx("div",{className:"min-w-0 flex-1"}),c.jsxs("div",{className:"flex shrink-0 items-center justify-end gap-2",children:[c.jsx("button",{type:"button",className:"rounded-md bg-blue-50 px-3 py-1.5 text-sm font-medium text-blue-600 transition-colors hover:bg-blue-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30",onClick:y,children:n}),c.jsx("button",{type:"button",className:"rounded-md bg-blue-600 px-3 py-1.5 text-sm font-medium text-white transition-colors hover:bg-blue-700 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30 disabled:cursor-not-allowed disabled:bg-blue-200",disabled:s,onClick:v,children:o})]})]}),a]})]})}const Zi=u.forwardRef((e,t)=>{const{open:r=!1,clearable:n=!1,hasValue:o=!1,placeholder:s="请选择",display:i,className:a,class:l,style:d,sx:f,disabled:m,readOnly:p,onClear:v,...b}=e,{sxClassName:h,sxInlineStyle:x}=pm(f);return c.jsxs("span",{className:"relative inline-flex w-full items-stretch",children:[c.jsxs("button",{ref:t,type:"button",className:j("flex h-10 w-full min-w-0 items-center gap-2 rounded-md border border-solid border-slate-300 bg-white px-3 text-left text-sm text-slate-900 shadow-sm transition-colors","focus-visible:border-blue-500 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30","disabled:cursor-not-allowed disabled:bg-slate-50 disabled:text-slate-500 disabled:opacity-70",p&&"cursor-default",n&&o&&!m&&!p?"pr-16":"pr-9",h,a,l),style:L(d,x),disabled:m,"aria-haspopup":"dialog","aria-expanded":r,"aria-disabled":m||void 0,"aria-readonly":p||void 0,...b,children:[c.jsx("span",{className:j("min-w-0 flex-1 truncate",!o&&"text-slate-400"),children:o?i:s}),c.jsx(vP,{className:"absolute right-3 h-4 w-4 text-slate-500"})]}),n&&o&&!m&&!p?c.jsx("button",{type:"button",className:"absolute right-8 top-1/2 z-10 -translate-y-1/2 rounded p-1 text-slate-400 transition-colors hover:text-slate-600 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30","aria-label":"清除选择",onMouseDown:y=>y.preventDefault(),onClick:y=>{y.preventDefault(),y.stopPropagation(),v?.(y)},children:c.jsx(bP,{className:"h-3.5 w-3.5"})}):null]})});Zi.displayName="MobileTrigger";function gm(e){return"options"in e}function xP(e){return e.map(t=>gm(t)?{type:"group",label:t.label,options:t.options,separator:t.separator}:{type:"plain",option:t})}function yP(e){const t=[];for(const r of e)gm(r)?t.push(...r.options):t.push(r);return t}const bm=u.forwardRef((e,t)=>{const{options:r=[],value:n,defaultValue:o="",onValueChange:s,open:i,defaultOpen:a=!1,onOpenChange:l,placeholder:d="请选择",title:f="请选择",cancelText:m,confirmText:p,clearable:v=!1,readOnly:b=!1,required:h,align:x="left",displayRender:y,renderOption:g,drawerClassName:w,drawerClass:P,drawerStyle:C,drawerSx:S,maxDrawerHeight:N,optionClassName:q,optionClass:k,optionStyle:A,optionSx:E,className:R,class:I,style:T,sx:O,disabled:_=!1,name:$,id:M,autoFocus:U,onClick:D,onFocus:G,onBlur:he,onKeyDown:te,...J}=e,[H,Y,B]=Jn({value:n,defaultValue:o}),[Q,z]=Jn({value:i,defaultValue:a,onChange:l}),[K,W]=u.useState(H),Z=u.useRef(null),ae=se(),ue=u.useMemo(()=>yP(r),[r]),pe=u.useMemo(()=>xP(r),[r]),ve=u.useMemo(()=>ue.find(de=>de.value===H),[ue,H]),ie=u.useMemo(()=>ue.find(de=>de.value===K),[ue,K]),ye=H!==""&&!!ve,Se=ye?y?.(ve)??ve?.label:d;u.useEffect(()=>{Q&&W(H)},[Q,H]);const _e=u.useCallback((de,Ie)=>{B||Y(de),s?.(de,Ie)},[s,Y,B]),oe=u.useCallback(de=>{_||b||(W(""),_e("",{reason:"clear",event:de}))},[_e,_,b]),we=u.useCallback(()=>{if(_||b){z(!1);return}if(!ie){z(!1);return}_e(ie.value,{reason:"select",option:ie}),z(!1)},[_e,_,ie,b,z]),Ee=u.useCallback(()=>{_||z(!0)},[_,z]);return u.useImperativeHandle(t,()=>({focus:()=>Z.current?.focus(),blur:()=>Z.current?.blur(),open:Ee,close:()=>z(!1),clear:()=>oe(),getValue:()=>H}),[oe,Ee,H,z]),c.jsxs(c.Fragment,{children:[c.jsx(Zi,{ref:Z,id:M,open:Q,clearable:v,hasValue:ye,placeholder:d,display:Se,className:R,class:I,style:T,sx:O,disabled:_,readOnly:b,autoFocus:U,onClear:oe,onClick:de=>{D?.(de),Ee()},onFocus:G,onBlur:he,onKeyDown:de=>{te?.(de),!_&&((de.key==="ArrowDown"||de.key==="Enter")&&(de.preventDefault(),Ee()),de.key==="Escape"&&(de.preventDefault(),z(!1)))},...J}),c.jsx(vm,{open:Q,title:f,cancelText:m,confirmText:p,confirmDisabled:!ie||!!ie.disabled,maxHeight:N,className:w,class:P,style:C,sx:S,onCancel:()=>W(H),onConfirm:we,onOpenChange:z,children:c.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto px-4 py-2",children:pe.length===0?c.jsx("div",{className:"flex min-h-32 items-center justify-center text-sm text-slate-400",children:"暂无可选项"}):c.jsx("div",{className:"grid gap-1",children:pe.map((de,Ie)=>{if(de.type==="plain"){const fe=de.option,re=K===fe.value,me={active:re,checked:re,disabled:!!fe.disabled},Re=X([E,fe.sx],ae);return c.jsx("button",{type:"button",className:j("flex min-h-10 w-full items-center rounded-md px-3 py-2 text-sm transition-colors",ti(x),re?"bg-blue-600 text-white":"text-slate-800 hover:bg-blue-50 hover:text-blue-700",fe.disabled&&"cursor-not-allowed bg-transparent text-slate-400 opacity-70 hover:bg-transparent hover:text-slate-400",Re.sxClassName,q,k,fe.className,fe.class),style:L(A,Re.sxInlineStyle,fe.style),disabled:_||b||fe.disabled,onClick:Te=>{Te.preventDefault(),W(fe.value)},children:c.jsx("span",{className:"min-w-0 truncate",children:g?g(fe,me):fe.label})},fe.value)}return c.jsxs("div",{className:j(de.separator&&Ie>0&&"border-t border-slate-200 pt-2"),children:[de.label?c.jsx("div",{className:"px-3 py-2 text-xs font-medium text-slate-500",children:de.label}):null,c.jsx("div",{className:"grid gap-1",children:de.options.map(fe=>{const re=K===fe.value,me={active:re,checked:re,disabled:!!fe.disabled},Re=X([E,fe.sx],ae);return c.jsx("button",{type:"button",className:j("flex min-h-10 w-full items-center rounded-md px-3 py-2 text-sm transition-colors",ti(x),re?"bg-blue-600 text-white":"text-slate-800 hover:bg-blue-50 hover:text-blue-700",fe.disabled&&"cursor-not-allowed bg-transparent text-slate-400 opacity-70 hover:bg-transparent hover:text-slate-400",Re.sxClassName,q,k,fe.className,fe.class),style:L(A,Re.sxInlineStyle,fe.style),disabled:_||b||fe.disabled,onClick:Te=>{Te.preventDefault(),W(fe.value)},children:c.jsx("span",{className:"min-w-0 truncate",children:g?g(fe,me):fe.label})},fe.value)})})]},`group-${Ie}`)})})})}),$?c.jsx("input",{type:"hidden",name:$,required:h,value:H}):null]})});bm.displayName="MobileSelect";function Ir(e){return Array.isArray(e)?e.filter(t=>t!==""):[]}function wP(e){return Array.isArray(e)?e:[]}function Er(e,t){return e?.[t]??t}function PP(e,t){const r=Er(t,"value");return typeof e[r]=="string"?e[r]:e.value}function CP(e,t){const r=Er(t,"label");return e[r]??e.label??e.value??""}function SP(e,t){const r=Er(t,"children");return wP(e[r])}function NP(e,t){const r=Er(t,"disabled");return!!(e[r]??e.disabled)}function qP(e,t){const r=Er(t,"isLeaf"),n=e[r];return typeof n=="boolean"?n:e.isLeaf}function kP(e,t){const r=Er(t,"loading");return!!(e[r]??e.loading)}function EP(e,t){const r=PP(e,t);if(typeof r!="string"||r.length===0)return null;const n=SP(e,t),o=qP(e,t),s=typeof o=="boolean"?o:n.length===0;return{option:e,value:r,label:CP(e,t),children:n,disabled:NP(e,t),isLeaf:s,loading:kP(e,t)}}function Dn(e,t){const r=[];for(const n of e){const o=EP(n,t);o&&r.push(o)}return r}function Nn(e,t,r){const n=[],o=[];let s=e;for(const i of t){const a=Dn(s,r).find(l=>l.value===i);if(!a)break;n.push(a),o.push(a.label),s=a.children}return{matched:n,labels:o,path:n.map(i=>i.value)}}function RP(e,t,r){const n=[Dn(e,r)];let o=e;for(const s of t){const i=Dn(o,r).find(a=>a.value===s);if(!i||i.children.length===0)break;o=i.children,n.push(Dn(o,r))}return n}function es(e,t){return t.every((r,n)=>e[n]===r)}function jP(e,t){return c.jsx(c.Fragment,{children:e.map((r,n)=>c.jsxs(u.Fragment,{children:[n>0?c.jsx("span",{className:"mx-1 text-slate-400",children:t}):null,c.jsx("span",{className:"min-w-0 truncate",children:r})]},n))})}function AP(e){return`第${e+1}级`}const xm=u.forwardRef((e,t)=>{const{options:r=[],value:n,defaultValue:o=[],onValueChange:s,open:i,defaultOpen:a=!1,onOpenChange:l,placeholder:d="请选择",title:f="请选择",cancelText:m,confirmText:p,separator:v="/",displayRender:b,renderOption:h,fieldNames:x,changeOnSelect:y=!1,clearable:g=!1,readOnly:w=!1,required:P,loadData:C,align:S="left",levelLabels:N,drawerClassName:q,drawerClass:k,drawerStyle:A,drawerSx:E,maxDrawerHeight:R,optionClassName:I,optionClass:T,optionStyle:O,optionSx:_,className:$,class:M,style:U,sx:D,disabled:G=!1,name:he,id:te,autoFocus:J,onClick:H,onFocus:Y,onBlur:B,onKeyDown:Q,...z}=e,K=n===void 0?void 0:Ir(n),[W,Z,ae]=Jn({value:K,defaultValue:Ir(o)}),[ue,pe]=Jn({value:i,defaultValue:a,onChange:l}),[ve,ie]=u.useState(()=>Ir(o)),[ye,Se]=u.useState(0),[_e,oe]=u.useState(null),we=u.useRef(null),Ee=u.useRef(!0),de=u.useRef(C),Ie=se();u.useEffect(()=>()=>{Ee.current=!1},[]),u.useEffect(()=>{de.current=C},[C]),u.useEffect(()=>{if(ue){const F=Ir(W);ie(F),Se(Math.max(F.length-1,0))}},[ue,W]);const fe=u.useMemo(()=>Nn(r,W,x),[x,r,W]),re=fe.matched.map(F=>F.option),me=u.useMemo(()=>Nn(r,ve,x),[x,r,ve]),Re=u.useMemo(()=>RP(r,ve,x),[x,r,ve]),Te=Math.min(ye,Math.max(Re.length-1,0)),Ye=Re[Te]??[],Ve=me.matched[me.matched.length-1],nt=me.path.length===0||!!Ve?.disabled||!y&&!!Ve&&!Ve?.isLeaf&&(Ve?.children.length??0)>0,Ct=u.useMemo(()=>fe.labels.length>0?b?b(fe.labels,re):jP(fe.labels,v):d,[b,d,re,fe.labels,v]),ot=u.useCallback((F,V)=>{const le=Nn(r,Ir(F),x);ae||Z(le.path),s?.(le.path,{...V,path:le.path,options:le.matched.map(xe=>xe.option),labels:le.labels})},[x,s,r,Z,ae]),mt=u.useCallback(F=>{G||w||(ie([]),Se(0),ot([],{reason:"clear",event:F}))},[ot,G,w]),st=u.useCallback(()=>{if(G||w){pe(!1);return}nt||(ot(me.path,{reason:"select",option:Ve?.option}),pe(!1))},[ot,nt,G,Ve?.option,me.path,w,pe]),ar=u.useCallback(async(F,V,le)=>{if(G||w||F.disabled)return;const xe=[...ve.slice(0,V),F.value],Ce=F.children.length>0,Ae=!F.isLeaf&&!Ce&&!!de.current,He=Ce||Ae,Je=xe.join("");if(ie(xe),Se(He?V+1:V),Ae&&de.current){const St=Nn(r,xe,x);oe(Je);try{await de.current(St.matched.map(Nt=>Nt.option),{option:F.option,path:xe,options:r})}finally{Ee.current&&oe(Nt=>Nt===Je?null:Nt)}}y&&!He&&le.currentTarget.focus()},[y,G,x,r,ve,w]),ht=u.useCallback(()=>{G||pe(!0)},[G,pe]);return u.useImperativeHandle(t,()=>({focus:()=>we.current?.focus(),blur:()=>we.current?.blur(),open:ht,close:()=>pe(!1),clear:()=>mt(),getValue:()=>W.slice()}),[mt,ht,W,pe]),c.jsxs(c.Fragment,{children:[c.jsx(Zi,{ref:we,id:te,open:ue,clearable:g,hasValue:fe.path.length>0,placeholder:d,display:Ct,className:$,class:M,style:U,sx:D,disabled:G,readOnly:w,autoFocus:J,onClear:mt,onClick:F=>{H?.(F),ht()},onFocus:Y,onBlur:B,onKeyDown:F=>{Q?.(F),!G&&((F.key==="ArrowDown"||F.key==="Enter")&&(F.preventDefault(),ht()),F.key==="Escape"&&(F.preventDefault(),pe(!1)))},...z}),c.jsx(vm,{open:ue,title:f,cancelText:m,confirmText:p,confirmDisabled:nt,maxHeight:R,className:q,class:k,style:A,sx:E,onCancel:()=>{ie(W),Se(Math.max(W.length-1,0))},onConfirm:st,onOpenChange:pe,children:c.jsxs("div",{className:"flex min-h-0 flex-1 flex-col",children:[c.jsx("div",{className:"flex shrink-0 border-b border-slate-200 px-4",children:Re.map((F,V)=>{const le=Te===V,xe=me.labels[V]??AP(V),Ce=N?.[V]??xe;return c.jsxs("button",{type:"button",className:j("relative min-h-10 min-w-12 px-3 text-sm text-slate-700 transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/30",le&&"font-medium text-blue-600"),onClick:()=>Se(V),children:[Ce,le?c.jsx("span",{className:"absolute bottom-0 left-3 right-3 h-0.5 rounded-full bg-blue-600"}):null]},`level-${V}`)})}),c.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto px-4 py-2",children:Ye.length===0?c.jsx("div",{className:"flex min-h-32 items-center justify-center text-sm text-slate-400",children:_e?c.jsxs("span",{className:"inline-flex items-center gap-2",children:[c.jsx(Fl,{}),"加载中"]}):"暂无可选项"}):c.jsx("div",{className:"grid gap-1",children:Ye.map(F=>{const V=[...ve.slice(0,Te),F.value],le=me.path.length===V.length&&es(me.path,V),xe=es(me.path,V)||es(V,me.path),Ce=_e===V.join("")||F.loading,Ae=F.children.length>0||!F.isLeaf&&!!de.current&&!Ce,He={active:xe,checked:le,disabled:F.disabled,hasChildren:Ae,isLeaf:F.isLeaf,level:Te,loading:Ce,path:V,selected:le},Je=X([_,F.option.sx],Ie);return c.jsxs("button",{type:"button",className:j("flex min-h-10 w-full items-center gap-2 rounded-md px-3 py-2 text-sm transition-colors",ti(S),le?"bg-blue-600 text-white":"text-slate-800 hover:bg-blue-50 hover:text-blue-700",xe&&!le&&"bg-slate-100 text-slate-900",F.disabled&&"cursor-not-allowed bg-transparent text-slate-400 opacity-70 hover:bg-transparent hover:text-slate-400",Je.sxClassName,I,T,F.option.className,F.option.class),style:L(O,Je.sxInlineStyle,F.option.style),disabled:G||w||F.disabled,onClick:St=>{St.preventDefault(),ar(F,Te,St)},children:[c.jsx("span",{className:"min-w-0 flex-1 truncate",children:h?h(F.option,He):F.label}),Ce?c.jsx(Fl,{}):Ae?c.jsx(gP,{className:j("h-4 w-4 shrink-0",le?"text-white":"text-slate-400")}):null]},V.join(""))})})})]})}),he?c.jsx("input",{type:"hidden",name:he,required:P,value:W.length>0?JSON.stringify(W):""}):null]})});xm.displayName="MobileCascader";function IP(e,t=500){const r=je.useRef(null),n=je.useCallback(()=>{r.current=setTimeout(e,t)},[e,t]),o=je.useCallback(()=>{r.current&&clearTimeout(r.current)},[]);return{onMouseDown:n,onMouseUp:o,onMouseLeave:o,onTouchStart:n,onTouchEnd:o}}function TP(){return c.jsx("span",{className:"h-6 w-6 animate-spin rounded-full border-2 border-blue-200 border-t-blue-600","aria-hidden":"true"})}function Pe(e){const{component:t,sx:r,rounded:n,shadow:o,onLongPress:s,longPressDelay:i=500,style:a,className:l,class:d,loading:f=!1,loadingContent:m,modal:p=!1,modalContent:v,onModalMaskClick:b,children:h,...x}=e,y=t??"div",g=se(),{roundedPreset:w,roundedStyle:P}=tr(n),{shadowPreset:C,shadowStyle:S}=Qr(o),N=IP(()=>{s?.()},i),{sxClassName:q,sxInlineStyle:k}=X(r,g),E=(f||p)&&a?.position===void 0?{position:"relative"}:void 0;return c.jsxs(y,{className:j(w&&Mt[w],C&&wr[C],q,l,d),style:L(a,P,S,E,k),"aria-busy":f||void 0,...s?N:void 0,...x,children:[h,f?c.jsx("div",{className:"box-loading-mask absolute inset-0 z-10 flex items-center justify-center bg-white/65","aria-hidden":"true",children:m??c.jsx(TP,{})}):null,p?c.jsx("div",{className:"box-modal-mask absolute inset-0 z-20 flex items-center justify-center bg-black/45 p-4",onClick:b,children:c.jsx("div",{className:"box-modal-content max-w-full rounded-lg bg-white p-4 shadow-lg",onClick:R=>R.stopPropagation(),children:v})}):null]})}Pe.displayName="Box";const $l={outlined:"border border-gray-200 bg-white",elevated:"border border-transparent bg-white",filled:"border border-gray-100 bg-gray-50",ghost:"border border-transparent bg-transparent shadow-none"},Vl={elevated:"md"},_P={none:"p-0",sm:"p-3",md:"p-4",lg:"p-6"};function Fr(e){return e!=null}function OP(e){let t=!1;return u.Children.forEach(e,r=>{u.isValidElement(r)&&MP(r.type)&&(t=!0)}),t}function MP(e){return e===ym||e===wm||e===Pm||e===Cm||e===Sm||e===Nm||e===qm}function qn(e,t){return e===!0||e===t}function ts(e){return _P[e]}function zl(e,t){return Fr(e)?e:t}function Hl(e,t){return e??t}const ym=e=>c.jsx(Pe,{...e,"data-card-slot":"header"}),wm=e=>c.jsx(Pe,{...e,"data-card-slot":"content"}),Pm=e=>c.jsx(Pe,{...e,"data-card-slot":"footer"}),Cm=e=>c.jsx(Pe,{...e,"data-card-slot":"left"}),Sm=e=>c.jsx(Pe,{...e,"data-card-slot":"right"}),Nm=e=>c.jsx(Pe,{...e,"data-card-slot":"start"}),qm=e=>c.jsx(Pe,{...e,"data-card-slot":"end"});function LP(e){const{variant:t="outlined",padding:r="md",divided:n=!0,hoverable:o=!1,selected:s=!1,disabled:i=!1,header:a,footer:l,left:d,right:f,start:m,end:p,contentLoading:v=!1,headerProps:b,footerProps:h,leftProps:x,rightProps:y,startProps:g,endProps:w,contentProps:P,children:C,className:S,style:N,rounded:q="lg",shadow:k,onClick:A,...E}=e,R=zl(d,m),I=zl(f,p),T=Hl(x,g),O=Hl(y,w),_=OP(C),{className:$,style:M,loading:U,...D}=P??{};return _?c.jsx(Pe,{rounded:q,shadow:k??Vl[t],className:j("card flex overflow-hidden",$l[t],o&&!i&&"transition hover:-translate-y-0.5 hover:shadow-lg",s&&"border-blue-500 ring-2 ring-blue-100",i&&"pointer-events-none opacity-50",S),style:L(N,{flexDirection:"row"}),"aria-disabled":i||void 0,onClick:i?void 0:A,...E,children:C}):c.jsxs(Pe,{rounded:q,shadow:k??Vl[t],className:j("card flex overflow-hidden",$l[t],o&&!i&&"transition hover:-translate-y-0.5 hover:shadow-lg",s&&"border-blue-500 ring-2 ring-blue-100",i&&"pointer-events-none opacity-50",S),style:L(N,{flexDirection:"row"}),"aria-disabled":i||void 0,onClick:i?void 0:A,...E,children:[Fr(R)?c.jsx(Pe,{...T,className:j("card-left shrink-0",qn(n,"x")&&"border-r border-gray-100",T?.className),children:R}):null,c.jsxs(Pe,{className:"card-main flex min-w-0 flex-1 flex-col",children:[Fr(a)?c.jsx(Pe,{...b,className:j("card-header",ts(r),qn(n,"y")&&"border-b border-gray-100",b?.className),children:a}):null,c.jsx(Pe,{...D,className:j("card-content min-w-0 flex-1",ts(r),$),style:M,loading:v||U,children:C}),Fr(l)?c.jsx(Pe,{...h,className:j("card-footer",ts(r),qn(n,"y")&&"border-t border-gray-100",h?.className),children:l}):null]}),Fr(I)?c.jsx(Pe,{...O,className:j("card-right shrink-0",qn(n,"x")&&"border-l border-gray-100",O?.className),children:I}):null]})}const Pt=Object.assign(LP,{Header:ym,Content:wm,Footer:Pm,Left:Cm,Right:Sm,Start:Nm,End:qm});Pt.displayName="Card";Pt.Header.displayName="Card.Header";Pt.Content.displayName="Card.Content";Pt.Footer.displayName="Card.Footer";Pt.Left.displayName="Card.Left";Pt.Right.displayName="Card.Right";Pt.Start.displayName="Card.Start";Pt.End.displayName="Card.End";function DP(e,t=[]){let r=[];function n(s,i){const a=u.createContext(i);a.displayName=s+"Context";const l=r.length;r=[...r,i];const d=m=>{const{scope:p,children:v,...b}=m,h=p?.[e]?.[l]||a,x=u.useMemo(()=>b,Object.values(b));return c.jsx(h.Provider,{value:x,children:v})};d.displayName=s+"Provider";function f(m,p){const v=p?.[e]?.[l]||a,b=u.useContext(v);if(b)return b;if(i!==void 0)return i;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[d,f]}const o=()=>{const s=r.map(i=>u.createContext(i));return function(a){const l=a?.[e]||s;return u.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[n,BP(o,...t)]}function BP(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const i=n.reduce((a,{useScope:l,scopeName:d})=>{const m=l(s)[`__scope${d}`];return{...a,...m}},{});return u.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}function FP(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var kn={exports:{}},rs={};var Wl;function $P(){if(Wl)return rs;Wl=1;var e=je;function t(m,p){return m===p&&(m!==0||1/m===1/p)||m!==m&&p!==p}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,o=e.useEffect,s=e.useLayoutEffect,i=e.useDebugValue;function a(m,p){var v=p(),b=n({inst:{value:v,getSnapshot:p}}),h=b[0].inst,x=b[1];return s(function(){h.value=v,h.getSnapshot=p,l(h)&&x({inst:h})},[m,v,p]),o(function(){return l(h)&&x({inst:h}),m(function(){l(h)&&x({inst:h})})},[m]),i(v),v}function l(m){var p=m.getSnapshot;m=m.value;try{var v=p();return!r(m,v)}catch{return!0}}function d(m,p){return p()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?d:a;return rs.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:f,rs}var ns={};var Gl;function VP(){return Gl||(Gl=1,process.env.NODE_ENV!=="production"&&(function(){function e(v,b){return v===b&&(v!==0||1/v===1/b)||v!==v&&b!==b}function t(v,b){f||o.startTransition===void 0||(f=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var h=b();if(!m){var x=b();s(h,x)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),m=!0)}x=i({inst:{value:h,getSnapshot:b}});var y=x[0].inst,g=x[1];return l(function(){y.value=h,y.getSnapshot=b,r(y)&&g({inst:y})},[v,h,b]),a(function(){return r(y)&&g({inst:y}),v(function(){r(y)&&g({inst:y})})},[v]),d(h),h}function r(v){var b=v.getSnapshot;v=v.value;try{var h=b();return!s(v,h)}catch{return!0}}function n(v,b){return b()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var o=je,s=typeof Object.is=="function"?Object.is:e,i=o.useState,a=o.useEffect,l=o.useLayoutEffect,d=o.useDebugValue,f=!1,m=!1,p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:t;ns.useSyncExternalStore=o.useSyncExternalStore!==void 0?o.useSyncExternalStore:p,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),ns}var Kl;function zP(){return Kl||(Kl=1,process.env.NODE_ENV==="production"?kn.exports=$P():kn.exports=VP()),kn.exports}var HP=zP();function WP(){return HP.useSyncExternalStore(GP,()=>!0,()=>!1)}function GP(){return()=>{}}var ea="Avatar",[KP]=DP(ea),[UP,km]=KP(ea),Em=u.forwardRef((e,t)=>{const{__scopeAvatar:r,...n}=e,[o,s]=u.useState("idle");return c.jsx(UP,{scope:r,imageLoadingStatus:o,onImageLoadingStatusChange:s,children:c.jsx(bo.span,{...n,ref:t})})});Em.displayName=ea;var Rm="AvatarImage",jm=u.forwardRef((e,t)=>{const{__scopeAvatar:r,src:n,onLoadingStatusChange:o=()=>{},...s}=e,i=km(Rm,r),a=YP(n,s),l=gt(d=>{o(d),i.onImageLoadingStatusChange(d)});return De(()=>{a!=="idle"&&l(a)},[a,l]),a==="loaded"?c.jsx(bo.img,{...s,ref:t,src:n}):null});jm.displayName=Rm;var Am="AvatarFallback",Im=u.forwardRef((e,t)=>{const{__scopeAvatar:r,delayMs:n,...o}=e,s=km(Am,r),[i,a]=u.useState(n===void 0);return u.useEffect(()=>{if(n!==void 0){const l=window.setTimeout(()=>a(!0),n);return()=>window.clearTimeout(l)}},[n]),i&&s.imageLoadingStatus!=="loaded"?c.jsx(bo.span,{...o,ref:t}):null});Im.displayName=Am;function Ul(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function YP(e,{referrerPolicy:t,crossOrigin:r}){const n=WP(),o=u.useRef(null),s=n?(o.current||(o.current=new window.Image),o.current):null,[i,a]=u.useState(()=>Ul(s,e));return De(()=>{a(Ul(s,e))},[s,e]),De(()=>{const l=m=>()=>{a(m)};if(!s)return;const d=l("loaded"),f=l("error");return s.addEventListener("load",d),s.addEventListener("error",f),t&&(s.referrerPolicy=t),typeof r=="string"&&(s.crossOrigin=r),()=>{s.removeEventListener("load",d),s.removeEventListener("error",f)}},[s,r,t]),i}var XP=Em,JP=jm,QP=Im;const Tm={xs:"h-6 w-6 text-[10px]",sm:"h-8 w-8 text-xs",md:"h-10 w-10 text-sm",lg:"h-12 w-12 text-base",xl:"h-16 w-16 text-lg"};function ZP(e){if(e!==void 0){if(typeof e=="number")return`${e}px`;if(!(typeof e=="string"&&e in Tm))return e}}const _m=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,size:i="md",rounded:a="full",shadow:l,...d}=e,f=se(),{sxClassName:m,sxInlineStyle:p}=X(o,f),{roundedPreset:v,roundedStyle:b}=tr(a),{shadowPreset:h,shadowStyle:x}=Qr(l),y=ZP(i);return c.jsx(XP,{ref:t,className:j("avatar relative inline-flex shrink-0 select-none items-center justify-center overflow-hidden bg-slate-100 text-slate-700",typeof i=="string"?Tm[i]:null,v?Mt[v]:null,h?wr[h]:null,m,r,n),style:L(s,b,x,y?{width:y,height:y}:void 0,p),...d})}),ta=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,a=se(),{sxClassName:l,sxInlineStyle:d}=X(o,a);return c.jsx(JP,{ref:t,className:j("avatar-image h-full w-full object-cover",l,r,n),style:L(s,d),...i})}),ra=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,a=se(),{sxClassName:l,sxInlineStyle:d}=X(o,a);return c.jsx(QP,{ref:t,className:j("avatar-fallback flex h-full w-full items-center justify-center bg-slate-100 font-medium text-slate-600",l,r,n),style:L(s,d),...i})}),Om=Object.assign(_m,{Image:ta,Fallback:ra});_m.displayName="Avatar";ta.displayName="Avatar.Image";ra.displayName="Avatar.Fallback";Om.displayName="Avatar";const Mm=Fc("inline-flex items-center justify-center whitespace-nowrap rounded border border-transparent font-medium transition-colors duration-150",{variants:{variant:{primary:"",success:"",warning:"",danger:"",minor:"",dark:"",light:"",text:""},outline:{true:"",false:""},size:{xs:"px-2 py-0.5 text-[10px]",sm:"px-2.5 py-0.5 text-xs",md:"px-2.5 py-1 text-xs",lg:"px-3 py-1 text-sm",xl:"px-3.5 py-1.5 text-sm"},rounded:Mt,shadow:wr},compoundVariants:[{variant:"primary",outline:!1,className:"bg-blue-600 text-white"},{variant:"primary",outline:!0,className:"border-blue-600 text-blue-600"},{variant:"success",outline:!1,className:"bg-green-600 text-white"},{variant:"success",outline:!0,className:"border-green-600 text-green-600"},{variant:"warning",outline:!1,className:"bg-yellow-500 text-white"},{variant:"warning",outline:!0,className:"border-yellow-500 text-yellow-600"},{variant:"danger",outline:!1,className:"bg-red-600 text-white"},{variant:"danger",outline:!0,className:"border-red-600 text-red-600"},{variant:"minor",outline:!1,className:"bg-gray-200 text-gray-700"},{variant:"minor",outline:!0,className:"border-gray-300 text-gray-600"},{variant:"dark",outline:!1,className:"bg-black/90 text-white"},{variant:"dark",outline:!0,className:"border-black/90 text-black/90"},{variant:"light",outline:!1,className:"bg-white text-gray-900"},{variant:"light",outline:!0,className:"border-white text-white"},{variant:"text",outline:!1,className:"bg-gray-100 text-gray-600"},{variant:"text",outline:!0,className:"border-gray-300 text-gray-500"}],defaultVariants:{variant:"primary",outline:!1,size:"md"}});function Lm(e){const{component:t,variant:r,outline:n,size:o,rounded:s,shadow:i,sx:a,style:l,className:d,class:f,...m}=e,p=t??"span",{roundedPreset:v,roundedStyle:b}=tr(s),{shadowPreset:h,shadowStyle:x}=Qr(i),y=se(),{sxClassName:g,sxInlineStyle:w}=X(a,y);return c.jsx(p,{className:j(Mm({variant:r,outline:n,size:o,rounded:v,shadow:h}),g,d,f),style:L(l,b,x,w),...m})}Lm.displayName="Chip";const Yl={neutral:"bg-slate-200 text-slate-700",primary:"bg-blue-600 text-white",success:"bg-emerald-600 text-white",warning:"bg-amber-200 text-amber-700",danger:"bg-red-600 text-white"},eC={neutral:"bg-slate-100 text-slate-700",primary:"bg-blue-100 text-blue-700",success:"bg-emerald-100 text-emerald-700",warning:"bg-amber-100 text-amber-700",danger:"bg-red-100 text-red-700"};function tC(e){const{className:t,class:r,sx:n,style:o,badgeContent:s,children:i,dot:a=!1,light:l=!1,showZero:d=!1,max:f=99,variant:m="neutral",...p}=e,v=se(),{sxClassName:b,sxInlineStyle:h}=X(n,v),x=typeof s=="number"?s:null,y=x===0&&!d,g=x!==null?x>f?`${f}+`:String(x):s,w=a?Yl[m]:l?eC[m]:Yl[m];return c.jsxs("span",{className:j("relative inline-flex",t,r),style:L(o,h),...p,children:[i,!y&&(a||g!==void 0)?c.jsx("span",{className:j("absolute -right-2 -top-2 inline-flex items-center justify-center rounded-full px-1 text-[10px] font-medium leading-4",w,a?"h-2 min-w-2 p-0":"min-w-4 h-4",b),children:a?null:g}):null]})}function rC(e){const{className:t,class:r,sx:n,style:o,bordered:s=!1,...i}=e,a=se(),{sxClassName:l,sxInlineStyle:d}=X(n,a);return c.jsx("ul",{className:j("m-0 list-none p-0",s&&"divide-y rounded-md border border-slate-200",l,t,r),style:L(o,d),...i})}function nC(e){const{description:t="暂无数据",image:r,children:n,className:o,class:s,...i}=e;return c.jsxs(Pe,{...i,className:j("flex flex-col items-center justify-center gap-2 py-10 text-slate-500",o,s),children:[r??c.jsx("div",{className:"text-4xl",children:"◻"}),c.jsx("div",{className:"text-sm",children:t}),n]})}function Xl(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function oC(e){if(e!==void 0)return typeof e=="number"?String(e):e}function Tr(e,t,r){return Math.min(r,Math.max(t,e))}function sC(e,t){if(e.startsWith("data:")||e.startsWith("blob:")||e.includes("ldkj_retry="))return null;const r=e.match(/^([^?#]+)(\?[^#]*)?(#.*)?$/);if(!r)return null;const n=r[1],o=r[2]??"",s=r[3]??"",i=n.replace(/\.(png|jpe?g|webp|avif)$/i,`.${t}`);return i===n?null:`${i}${o}${s}`}function iC(e){return Array.from(new Set(e.filter(t=>Number.isFinite(t)&&t>0)))}function aC(e,t){const{width:r,height:n,crop:o}=t;if(!o||r===void 0||n===void 0||e.startsWith("data:")||e.startsWith("blob:")||e.includes("x-oss-process=")||e.includes("ldkj_retry="))return e;const s=`x-oss-process=image/resize,m_fill,w_${r},h_${n}`;return`${e}${e.includes("?")?"&":"?"}${s}`}const Dm=u.forwardRef(function(t,r){const{className:n,class:o,sx:s,style:i,fallback:a,fallbackSrc:l,loadingFallback:d,fit:f,position:m,aspectRatio:p,placeholder:v,blurDataURL:b,retry:h=0,retryDelay:x=800,onLoadingChange:y,loader:g,quality:w,format:P,crop:C=!1,alt:S,src:N,width:q,height:k,sizes:A,loading:E,decoding:R,onLoad:I,onError:T,sources:O,formats:_,responsiveWidths:$,preview:M=!1,children:U,...D}=t,G=se(),{sxClassName:he,sxInlineStyle:te}=X(s,G),[J,H]=u.useState(N?"loading":"idle"),[Y,B]=u.useState(N),[Q,z]=u.useState(!1),[K,W]=u.useState(1),[Z,ae]=u.useState({x:0,y:0}),[ue,pe]=u.useState(!1),ve=u.useRef(0),ie=u.useRef(null),ye=u.useRef(null),Se=u.useRef(null),_e=u.useRef(null);u.useEffect(()=>{ve.current=0,B(N),H(N?"loading":"idle"),z(!1),W(1),ae({x:0,y:0}),pe(!1)},[N]),u.useEffect(()=>{y?.(J==="loading")},[y,J]),u.useEffect(()=>{process.env.NODE_ENV!=="production"&&S===void 0&&console.warn('Image missing alt prop. Use alt text or alt="" for decorative images.')},[S]),u.useEffect(()=>()=>{ie.current&&clearTimeout(ie.current)},[]),u.useEffect(()=>{if(!Q)return;_e.current=document.activeElement,Se.current?.focus();const F=le=>{if(le.key==="Escape"){z(!1),W(1),ae({x:0,y:0}),pe(!1);return}if(le.key==="+"||le.key==="="){W(xe=>Tr(Number((xe+.2).toFixed(2)),1,4));return}if(le.key==="-"||le.key==="_"){W(xe=>Tr(Number((xe-.2).toFixed(2)),1,4));return}le.key==="0"&&(W(1),ae({x:0,y:0}))},V=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",F),()=>{document.body.style.overflow=V,window.removeEventListener("keydown",F),_e.current?.focus?.()}},[Q]),u.useEffect(()=>{if(!Q||!ue)return;const F=le=>{const xe=ye.current;if(!xe)return;const Ce=le.clientX-xe.x,Ae=le.clientY-xe.y;ae({x:xe.offsetX+Ce,y:xe.offsetY+Ae})},V=()=>{pe(!1),ye.current=null};return window.addEventListener("mousemove",F),window.addEventListener("mouseup",V),()=>{window.removeEventListener("mousemove",F),window.removeEventListener("mouseup",V)}},[Q,ue]);const oe=typeof q=="number"?q:void 0,we=typeof k=="number"?k:void 0,Ee=u.useMemo(()=>{const F=$??[],V=oe?[...F,oe]:F;return iC(V).sort((le,xe)=>le-xe)},[$,oe]),de=u.useCallback((F,V,le)=>g?g(F,{width:le??oe,height:we,quality:w,format:V??P,crop:C}):aC(F,{width:le??oe,height:we,crop:C}),[g,oe,we,w,P,C]),Ie=Y&&de(Y),fe=u.useMemo(()=>{if(!Y||!_?.length)return[];const F=[];for(const V of _){const le=sC(Y,V);if(!le)continue;if(g&&Ee.length){const Ce=Ee.map(Ae=>`${de(le,V,Ae)} ${Ae}w`).join(", ");F.push({type:`image/${V}`,srcSet:Ce,sizes:A});continue}const xe=de(le,V);!xe||xe===Ie||F.push({type:`image/${V}`,srcSet:xe,sizes:A})}return F},[Y,_,de,Ie,A,g,Ee]),re=u.useMemo(()=>!g||!Y||!Ee.length?null:{srcSet:Ee.map(V=>`${de(Y,P,V)} ${V}w`).join(", "),sizes:A},[g,Y,Ee,de,P,A]),me=u.useMemo(()=>{const V=[...O??[]];return fe.length&&V.push(...fe),re&&V.push(re),V},[O,fe,re]),Re=J==="loading"&&d,Te=J==="loading"&&v==="blur"&&!!b,Ye=J==="error"&&a,Ve=M&&J==="loaded"&&!!Ie&&!Ye,nt={status:J,loading:J==="loading",error:J==="error",loaded:J==="loaded",previewOpen:Q,src:Ie??void 0},Ct=L({width:Xl(q),height:p?void 0:Xl(k),aspectRatio:oC(p),backgroundImage:Te?`url(${b})`:void 0,backgroundSize:Te?"cover":void 0,backgroundPosition:Te?"center":void 0},i,te),ot={width:"100%",height:p||k!==void 0?"100%":"auto",objectFit:f,objectPosition:m,opacity:Te?0:void 0,transition:Te?"opacity 180ms ease":void 0,cursor:Ve?"zoom-in":void 0},mt={transform:`translate(${Z.x}px, ${Z.y}px) scale(${K})`,transition:ue?void 0:"transform 120ms ease",cursor:K>1?ue?"grabbing":"grab":"zoom-in",transformOrigin:"center center"},st=F=>{if(ve.current<h&&Y){ve.current+=1,ie.current=setTimeout(()=>{const V=Y.includes("?")?"&":"?";B(`${Y}${V}ldkj_retry=${ve.current}`),H("loading")},x),T?.(F);return}if(l&&Y!==l){B(l),H("loading"),T?.(F);return}H("error"),T?.(F)},ar=u.useCallback(()=>{z(!1),W(1),ae({x:0,y:0}),pe(!1)},[]),ht=F=>{F.preventDefault(),F.stopPropagation();const V=F.deltaY<0?.2:-.2;W(le=>Tr(Number((le+V).toFixed(2)),1,4))};return c.jsxs(c.Fragment,{children:[c.jsxs("span",{className:j("relative inline-block max-w-full overflow-hidden align-middle",he,n,o),style:Ct,children:[Ye?a:me.length?c.jsxs("picture",{children:[me.map((F,V)=>c.jsx("source",{media:F.media,srcSet:F.srcSet,type:F.type,sizes:F.sizes},`${F.type??"source"}-${V}`)),c.jsx("img",{ref:r,alt:S,src:Ie,width:q,height:k,sizes:A,loading:E??"lazy",decoding:R??"async",onLoad:F=>{H("loaded"),I?.(F)},onError:st,onClick:()=>{Ve&&(z(!0),W(1),ae({x:0,y:0}))},className:"block max-w-full",style:ot,...D})]}):c.jsx("img",{ref:r,alt:S,src:Ie,width:q,height:k,sizes:A,loading:E??"lazy",decoding:R??"async",onLoad:F=>{H("loaded"),I?.(F)},onError:st,onClick:()=>{Ve&&(z(!0),W(1),ae({x:0,y:0}))},className:"block max-w-full",style:ot,...D}),Re?c.jsx("span",{className:"absolute inset-0 flex items-center justify-center",children:d}):null,U?c.jsx("span",{className:"pointer-events-none absolute inset-0",children:U(nt)}):null]}),Q&&Ie?c.jsxs("span",{className:"fixed inset-0 z-[1200] flex items-center justify-center bg-black/80 p-6",role:"dialog","aria-modal":"true","aria-label":"Image preview",onClick:ar,onWheel:ht,children:[c.jsx("img",{src:Ie,alt:S,className:"max-h-[88vh] max-w-[92vw] select-none rounded-md object-contain shadow-2xl",style:mt,onClick:F=>F.stopPropagation(),onMouseDown:F=>{K<=1||(F.preventDefault(),F.stopPropagation(),ye.current={x:F.clientX,y:F.clientY,offsetX:Z.x,offsetY:Z.y},pe(!0))}}),c.jsxs("span",{className:"absolute right-5 top-5 flex items-center gap-2",children:[c.jsx("button",{type:"button",className:"rounded-md bg-white/90 px-2.5 py-1.5 text-xs font-medium text-slate-800 hover:bg-white",onClick:F=>{F.stopPropagation(),W(V=>Tr(V-.2,1,4))},children:"-"}),c.jsx("button",{type:"button",className:"rounded-md bg-white/90 px-2.5 py-1.5 text-xs font-medium text-slate-800 hover:bg-white",onClick:F=>{F.stopPropagation(),W(V=>Tr(V+.2,1,4))},children:"+"}),c.jsx("button",{type:"button",className:"rounded-md bg-white/90 px-2.5 py-1.5 text-xs font-medium text-slate-800 hover:bg-white",onClick:F=>{F.stopPropagation(),W(1),ae({x:0,y:0})},children:"重置"}),c.jsx("button",{ref:Se,type:"button",className:"rounded-md bg-white/90 px-3 py-1.5 text-xs font-medium text-slate-800 hover:bg-white","aria-label":"Close preview",onClick:F=>{F.stopPropagation(),ar()},children:"关闭"})]})]}):null]})});Dm.displayName="Image";var dr={},os,Jl;function lC(){return Jl||(Jl=1,os=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),os}var ss={},Et={},Ql;function sr(){if(Ql)return Et;Ql=1;let e;const t=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return Et.getSymbolSize=function(n){if(!n)throw new Error('"version" cannot be null or undefined');if(n<1||n>40)throw new Error('"version" should be in range from 1 to 40');return n*4+17},Et.getSymbolTotalCodewords=function(n){return t[n]},Et.getBCHDigit=function(r){let n=0;for(;r!==0;)n++,r>>>=1;return n},Et.setToSJISFunction=function(n){if(typeof n!="function")throw new Error('"toSJISFunc" is not a valid function.');e=n},Et.isKanjiModeEnabled=function(){return typeof e<"u"},Et.toSJIS=function(n){return e(n)},Et}var is={},Zl;function na(){return Zl||(Zl=1,(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+r)}}e.isValid=function(n){return n&&typeof n.bit<"u"&&n.bit>=0&&n.bit<4},e.from=function(n,o){if(e.isValid(n))return n;try{return t(n)}catch{return o}}})(is)),is}var as,ec;function cC(){if(ec)return as;ec=1;function e(){this.buffer=[],this.length=0}return e.prototype={get:function(t){const r=Math.floor(t/8);return(this.buffer[r]>>>7-t%8&1)===1},put:function(t,r){for(let n=0;n<r;n++)this.putBit((t>>>r-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const r=Math.floor(this.length/8);this.buffer.length<=r&&this.buffer.push(0),t&&(this.buffer[r]|=128>>>this.length%8),this.length++}},as=e,as}var ls,tc;function uC(){if(tc)return ls;tc=1;function e(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}return e.prototype.set=function(t,r,n,o){const s=t*this.size+r;this.data[s]=n,o&&(this.reservedBit[s]=!0)},e.prototype.get=function(t,r){return this.data[t*this.size+r]},e.prototype.xor=function(t,r,n){this.data[t*this.size+r]^=n},e.prototype.isReserved=function(t,r){return this.reservedBit[t*this.size+r]},ls=e,ls}var cs={},rc;function dC(){return rc||(rc=1,(function(e){const t=sr().getSymbolSize;e.getRowColCoords=function(n){if(n===1)return[];const o=Math.floor(n/7)+2,s=t(n),i=s===145?26:Math.ceil((s-13)/(2*o-2))*2,a=[s-7];for(let l=1;l<o-1;l++)a[l]=a[l-1]-i;return a.push(6),a.reverse()},e.getPositions=function(n){const o=[],s=e.getRowColCoords(n),i=s.length;for(let a=0;a<i;a++)for(let l=0;l<i;l++)a===0&&l===0||a===0&&l===i-1||a===i-1&&l===0||o.push([s[a],s[l]]);return o}})(cs)),cs}var us={},nc;function fC(){if(nc)return us;nc=1;const e=sr().getSymbolSize,t=7;return us.getPositions=function(n){const o=e(n);return[[0,0],[o-t,0],[0,o-t]]},us}var ds={},oc;function mC(){return oc||(oc=1,(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(o){return o!=null&&o!==""&&!isNaN(o)&&o>=0&&o<=7},e.from=function(o){return e.isValid(o)?parseInt(o,10):void 0},e.getPenaltyN1=function(o){const s=o.size;let i=0,a=0,l=0,d=null,f=null;for(let m=0;m<s;m++){a=l=0,d=f=null;for(let p=0;p<s;p++){let v=o.get(m,p);v===d?a++:(a>=5&&(i+=t.N1+(a-5)),d=v,a=1),v=o.get(p,m),v===f?l++:(l>=5&&(i+=t.N1+(l-5)),f=v,l=1)}a>=5&&(i+=t.N1+(a-5)),l>=5&&(i+=t.N1+(l-5))}return i},e.getPenaltyN2=function(o){const s=o.size;let i=0;for(let a=0;a<s-1;a++)for(let l=0;l<s-1;l++){const d=o.get(a,l)+o.get(a,l+1)+o.get(a+1,l)+o.get(a+1,l+1);(d===4||d===0)&&i++}return i*t.N2},e.getPenaltyN3=function(o){const s=o.size;let i=0,a=0,l=0;for(let d=0;d<s;d++){a=l=0;for(let f=0;f<s;f++)a=a<<1&2047|o.get(d,f),f>=10&&(a===1488||a===93)&&i++,l=l<<1&2047|o.get(f,d),f>=10&&(l===1488||l===93)&&i++}return i*t.N3},e.getPenaltyN4=function(o){let s=0;const i=o.data.length;for(let l=0;l<i;l++)s+=o.data[l];return Math.abs(Math.ceil(s*100/i/5)-10)*t.N4};function r(n,o,s){switch(n){case e.Patterns.PATTERN000:return(o+s)%2===0;case e.Patterns.PATTERN001:return o%2===0;case e.Patterns.PATTERN010:return s%3===0;case e.Patterns.PATTERN011:return(o+s)%3===0;case e.Patterns.PATTERN100:return(Math.floor(o/2)+Math.floor(s/3))%2===0;case e.Patterns.PATTERN101:return o*s%2+o*s%3===0;case e.Patterns.PATTERN110:return(o*s%2+o*s%3)%2===0;case e.Patterns.PATTERN111:return(o*s%3+(o+s)%2)%2===0;default:throw new Error("bad maskPattern:"+n)}}e.applyMask=function(o,s){const i=s.size;for(let a=0;a<i;a++)for(let l=0;l<i;l++)s.isReserved(l,a)||s.xor(l,a,r(o,l,a))},e.getBestMask=function(o,s){const i=Object.keys(e.Patterns).length;let a=0,l=1/0;for(let d=0;d<i;d++){s(d),e.applyMask(d,o);const f=e.getPenaltyN1(o)+e.getPenaltyN2(o)+e.getPenaltyN3(o)+e.getPenaltyN4(o);e.applyMask(d,o),f<l&&(l=f,a=d)}return a}})(ds)),ds}var En={},sc;function Bm(){if(sc)return En;sc=1;const e=na(),t=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],r=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return En.getBlocksCount=function(o,s){switch(s){case e.L:return t[(o-1)*4+0];case e.M:return t[(o-1)*4+1];case e.Q:return t[(o-1)*4+2];case e.H:return t[(o-1)*4+3];default:return}},En.getTotalCodewordsCount=function(o,s){switch(s){case e.L:return r[(o-1)*4+0];case e.M:return r[(o-1)*4+1];case e.Q:return r[(o-1)*4+2];case e.H:return r[(o-1)*4+3];default:return}},En}var fs={},_r={},ic;function hC(){if(ic)return _r;ic=1;const e=new Uint8Array(512),t=new Uint8Array(256);return(function(){let n=1;for(let o=0;o<255;o++)e[o]=n,t[n]=o,n<<=1,n&256&&(n^=285);for(let o=255;o<512;o++)e[o]=e[o-255]})(),_r.log=function(n){if(n<1)throw new Error("log("+n+")");return t[n]},_r.exp=function(n){return e[n]},_r.mul=function(n,o){return n===0||o===0?0:e[t[n]+t[o]]},_r}var ac;function pC(){return ac||(ac=1,(function(e){const t=hC();e.mul=function(n,o){const s=new Uint8Array(n.length+o.length-1);for(let i=0;i<n.length;i++)for(let a=0;a<o.length;a++)s[i+a]^=t.mul(n[i],o[a]);return s},e.mod=function(n,o){let s=new Uint8Array(n);for(;s.length-o.length>=0;){const i=s[0];for(let l=0;l<o.length;l++)s[l]^=t.mul(o[l],i);let a=0;for(;a<s.length&&s[a]===0;)a++;s=s.slice(a)}return s},e.generateECPolynomial=function(n){let o=new Uint8Array([1]);for(let s=0;s<n;s++)o=e.mul(o,new Uint8Array([1,t.exp(s)]));return o}})(fs)),fs}var ms,lc;function vC(){if(lc)return ms;lc=1;const e=pC();function t(r){this.genPoly=void 0,this.degree=r,this.degree&&this.initialize(this.degree)}return t.prototype.initialize=function(n){this.degree=n,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(n){if(!this.genPoly)throw new Error("Encoder not initialized");const o=new Uint8Array(n.length+this.degree);o.set(n);const s=e.mod(o,this.genPoly),i=this.degree-s.length;if(i>0){const a=new Uint8Array(this.degree);return a.set(s,i),a}return s},ms=t,ms}var hs={},ps={},vs={},cc;function Fm(){return cc||(cc=1,vs.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),vs}var it={},uc;function $m(){if(uc)return it;uc=1;const e="[0-9]+",t="[A-Z $%*+\\-./:]+";let r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";r=r.replace(/u/g,"\\u");const n="(?:(?![A-Z0-9 $%*+\\-./:]|"+r+`)(?:.|[\r
|
|
42
|
+
]))+`;it.KANJI=new RegExp(r,"g"),it.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),it.BYTE=new RegExp(n,"g"),it.NUMERIC=new RegExp(e,"g"),it.ALPHANUMERIC=new RegExp(t,"g");const o=new RegExp("^"+r+"$"),s=new RegExp("^"+e+"$"),i=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return it.testKanji=function(l){return o.test(l)},it.testNumeric=function(l){return s.test(l)},it.testAlphanumeric=function(l){return i.test(l)},it}var dc;function ir(){return dc||(dc=1,(function(e){const t=Fm(),r=$m();e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(s,i){if(!s.ccBits)throw new Error("Invalid mode: "+s);if(!t.isValid(i))throw new Error("Invalid version: "+i);return i>=1&&i<10?s.ccBits[0]:i<27?s.ccBits[1]:s.ccBits[2]},e.getBestModeForData=function(s){return r.testNumeric(s)?e.NUMERIC:r.testAlphanumeric(s)?e.ALPHANUMERIC:r.testKanji(s)?e.KANJI:e.BYTE},e.toString=function(s){if(s&&s.id)return s.id;throw new Error("Invalid mode")},e.isValid=function(s){return s&&s.bit&&s.ccBits};function n(o){if(typeof o!="string")throw new Error("Param is not a string");switch(o.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+o)}}e.from=function(s,i){if(e.isValid(s))return s;try{return n(s)}catch{return i}}})(ps)),ps}var fc;function gC(){return fc||(fc=1,(function(e){const t=sr(),r=Bm(),n=na(),o=ir(),s=Fm(),i=7973,a=t.getBCHDigit(i);function l(p,v,b){for(let h=1;h<=40;h++)if(v<=e.getCapacity(h,b,p))return h}function d(p,v){return o.getCharCountIndicator(p,v)+4}function f(p,v){let b=0;return p.forEach(function(h){const x=d(h.mode,v);b+=x+h.getBitsLength()}),b}function m(p,v){for(let b=1;b<=40;b++)if(f(p,b)<=e.getCapacity(b,v,o.MIXED))return b}e.from=function(v,b){return s.isValid(v)?parseInt(v,10):b},e.getCapacity=function(v,b,h){if(!s.isValid(v))throw new Error("Invalid QR Code version");typeof h>"u"&&(h=o.BYTE);const x=t.getSymbolTotalCodewords(v),y=r.getTotalCodewordsCount(v,b),g=(x-y)*8;if(h===o.MIXED)return g;const w=g-d(h,v);switch(h){case o.NUMERIC:return Math.floor(w/10*3);case o.ALPHANUMERIC:return Math.floor(w/11*2);case o.KANJI:return Math.floor(w/13);case o.BYTE:default:return Math.floor(w/8)}},e.getBestVersionForData=function(v,b){let h;const x=n.from(b,n.M);if(Array.isArray(v)){if(v.length>1)return m(v,x);if(v.length===0)return 1;h=v[0]}else h=v;return l(h.mode,h.getLength(),x)},e.getEncodedBits=function(v){if(!s.isValid(v)||v<7)throw new Error("Invalid QR Code version");let b=v<<12;for(;t.getBCHDigit(b)-a>=0;)b^=i<<t.getBCHDigit(b)-a;return v<<12|b}})(hs)),hs}var gs={},mc;function bC(){if(mc)return gs;mc=1;const e=sr(),t=1335,r=21522,n=e.getBCHDigit(t);return gs.getEncodedBits=function(s,i){const a=s.bit<<3|i;let l=a<<10;for(;e.getBCHDigit(l)-n>=0;)l^=t<<e.getBCHDigit(l)-n;return(a<<10|l)^r},gs}var bs={},xs,hc;function xC(){if(hc)return xs;hc=1;const e=ir();function t(r){this.mode=e.NUMERIC,this.data=r.toString()}return t.getBitsLength=function(n){return 10*Math.floor(n/3)+(n%3?n%3*3+1:0)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(n){let o,s,i;for(o=0;o+3<=this.data.length;o+=3)s=this.data.substr(o,3),i=parseInt(s,10),n.put(i,10);const a=this.data.length-o;a>0&&(s=this.data.substr(o),i=parseInt(s,10),n.put(i,a*3+1))},xs=t,xs}var ys,pc;function yC(){if(pc)return ys;pc=1;const e=ir(),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function r(n){this.mode=e.ALPHANUMERIC,this.data=n}return r.getBitsLength=function(o){return 11*Math.floor(o/2)+6*(o%2)},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(o){let s;for(s=0;s+2<=this.data.length;s+=2){let i=t.indexOf(this.data[s])*45;i+=t.indexOf(this.data[s+1]),o.put(i,11)}this.data.length%2&&o.put(t.indexOf(this.data[s]),6)},ys=r,ys}var ws,vc;function wC(){if(vc)return ws;vc=1;const e=ir();function t(r){this.mode=e.BYTE,typeof r=="string"?this.data=new TextEncoder().encode(r):this.data=new Uint8Array(r)}return t.getBitsLength=function(n){return n*8},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(r){for(let n=0,o=this.data.length;n<o;n++)r.put(this.data[n],8)},ws=t,ws}var Ps,gc;function PC(){if(gc)return Ps;gc=1;const e=ir(),t=sr();function r(n){this.mode=e.KANJI,this.data=n}return r.getBitsLength=function(o){return o*13},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(n){let o;for(o=0;o<this.data.length;o++){let s=t.toSJIS(this.data[o]);if(s>=33088&&s<=40956)s-=33088;else if(s>=57408&&s<=60351)s-=49472;else throw new Error("Invalid SJIS character: "+this.data[o]+`
|
|
43
|
+
Make sure your charset is UTF-8`);s=(s>>>8&255)*192+(s&255),n.put(s,13)}},Ps=r,Ps}var Cs={exports:{}},bc;function CC(){return bc||(bc=1,(function(e){var t={single_source_shortest_paths:function(r,n,o){var s={},i={};i[n]=0;var a=t.PriorityQueue.make();a.push(n,0);for(var l,d,f,m,p,v,b,h,x;!a.empty();){l=a.pop(),d=l.value,m=l.cost,p=r[d]||{};for(f in p)p.hasOwnProperty(f)&&(v=p[f],b=m+v,h=i[f],x=typeof i[f]>"u",(x||h>b)&&(i[f]=b,a.push(f,b),s[f]=d))}if(typeof o<"u"&&typeof i[o]>"u"){var y=["Could not find a path from ",n," to ",o,"."].join("");throw new Error(y)}return s},extract_shortest_path_from_predecessor_list:function(r,n){for(var o=[],s=n;s;)o.push(s),r[s],s=r[s];return o.reverse(),o},find_path:function(r,n,o){var s=t.single_source_shortest_paths(r,n,o);return t.extract_shortest_path_from_predecessor_list(s,o)},PriorityQueue:{make:function(r){var n=t.PriorityQueue,o={},s;r=r||{};for(s in n)n.hasOwnProperty(s)&&(o[s]=n[s]);return o.queue=[],o.sorter=r.sorter||n.default_sorter,o},default_sorter:function(r,n){return r.cost-n.cost},push:function(r,n){var o={value:r,cost:n};this.queue.push(o),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(Cs)),Cs.exports}var xc;function SC(){return xc||(xc=1,(function(e){const t=ir(),r=xC(),n=yC(),o=wC(),s=PC(),i=$m(),a=sr(),l=CC();function d(y){return unescape(encodeURIComponent(y)).length}function f(y,g,w){const P=[];let C;for(;(C=y.exec(w))!==null;)P.push({data:C[0],index:C.index,mode:g,length:C[0].length});return P}function m(y){const g=f(i.NUMERIC,t.NUMERIC,y),w=f(i.ALPHANUMERIC,t.ALPHANUMERIC,y);let P,C;return a.isKanjiModeEnabled()?(P=f(i.BYTE,t.BYTE,y),C=f(i.KANJI,t.KANJI,y)):(P=f(i.BYTE_KANJI,t.BYTE,y),C=[]),g.concat(w,P,C).sort(function(N,q){return N.index-q.index}).map(function(N){return{data:N.data,mode:N.mode,length:N.length}})}function p(y,g){switch(g){case t.NUMERIC:return r.getBitsLength(y);case t.ALPHANUMERIC:return n.getBitsLength(y);case t.KANJI:return s.getBitsLength(y);case t.BYTE:return o.getBitsLength(y)}}function v(y){return y.reduce(function(g,w){const P=g.length-1>=0?g[g.length-1]:null;return P&&P.mode===w.mode?(g[g.length-1].data+=w.data,g):(g.push(w),g)},[])}function b(y){const g=[];for(let w=0;w<y.length;w++){const P=y[w];switch(P.mode){case t.NUMERIC:g.push([P,{data:P.data,mode:t.ALPHANUMERIC,length:P.length},{data:P.data,mode:t.BYTE,length:P.length}]);break;case t.ALPHANUMERIC:g.push([P,{data:P.data,mode:t.BYTE,length:P.length}]);break;case t.KANJI:g.push([P,{data:P.data,mode:t.BYTE,length:d(P.data)}]);break;case t.BYTE:g.push([{data:P.data,mode:t.BYTE,length:d(P.data)}])}}return g}function h(y,g){const w={},P={start:{}};let C=["start"];for(let S=0;S<y.length;S++){const N=y[S],q=[];for(let k=0;k<N.length;k++){const A=N[k],E=""+S+k;q.push(E),w[E]={node:A,lastCount:0},P[E]={};for(let R=0;R<C.length;R++){const I=C[R];w[I]&&w[I].node.mode===A.mode?(P[I][E]=p(w[I].lastCount+A.length,A.mode)-p(w[I].lastCount,A.mode),w[I].lastCount+=A.length):(w[I]&&(w[I].lastCount=A.length),P[I][E]=p(A.length,A.mode)+4+t.getCharCountIndicator(A.mode,g))}}C=q}for(let S=0;S<C.length;S++)P[C[S]].end=0;return{map:P,table:w}}function x(y,g){let w;const P=t.getBestModeForData(y);if(w=t.from(g,P),w!==t.BYTE&&w.bit<P.bit)throw new Error('"'+y+'" cannot be encoded with mode '+t.toString(w)+`.
|
|
44
|
+
Suggested mode is: `+t.toString(P));switch(w===t.KANJI&&!a.isKanjiModeEnabled()&&(w=t.BYTE),w){case t.NUMERIC:return new r(y);case t.ALPHANUMERIC:return new n(y);case t.KANJI:return new s(y);case t.BYTE:return new o(y)}}e.fromArray=function(g){return g.reduce(function(w,P){return typeof P=="string"?w.push(x(P,null)):P.data&&w.push(x(P.data,P.mode)),w},[])},e.fromString=function(g,w){const P=m(g,a.isKanjiModeEnabled()),C=b(P),S=h(C,w),N=l.find_path(S.map,"start","end"),q=[];for(let k=1;k<N.length-1;k++)q.push(S.table[N[k]].node);return e.fromArray(v(q))},e.rawSplit=function(g){return e.fromArray(m(g,a.isKanjiModeEnabled()))}})(bs)),bs}var yc;function NC(){if(yc)return ss;yc=1;const e=sr(),t=na(),r=cC(),n=uC(),o=dC(),s=fC(),i=mC(),a=Bm(),l=vC(),d=gC(),f=bC(),m=ir(),p=SC();function v(S,N){const q=S.size,k=s.getPositions(N);for(let A=0;A<k.length;A++){const E=k[A][0],R=k[A][1];for(let I=-1;I<=7;I++)if(!(E+I<=-1||q<=E+I))for(let T=-1;T<=7;T++)R+T<=-1||q<=R+T||(I>=0&&I<=6&&(T===0||T===6)||T>=0&&T<=6&&(I===0||I===6)||I>=2&&I<=4&&T>=2&&T<=4?S.set(E+I,R+T,!0,!0):S.set(E+I,R+T,!1,!0))}}function b(S){const N=S.size;for(let q=8;q<N-8;q++){const k=q%2===0;S.set(q,6,k,!0),S.set(6,q,k,!0)}}function h(S,N){const q=o.getPositions(N);for(let k=0;k<q.length;k++){const A=q[k][0],E=q[k][1];for(let R=-2;R<=2;R++)for(let I=-2;I<=2;I++)R===-2||R===2||I===-2||I===2||R===0&&I===0?S.set(A+R,E+I,!0,!0):S.set(A+R,E+I,!1,!0)}}function x(S,N){const q=S.size,k=d.getEncodedBits(N);let A,E,R;for(let I=0;I<18;I++)A=Math.floor(I/3),E=I%3+q-8-3,R=(k>>I&1)===1,S.set(A,E,R,!0),S.set(E,A,R,!0)}function y(S,N,q){const k=S.size,A=f.getEncodedBits(N,q);let E,R;for(E=0;E<15;E++)R=(A>>E&1)===1,E<6?S.set(E,8,R,!0):E<8?S.set(E+1,8,R,!0):S.set(k-15+E,8,R,!0),E<8?S.set(8,k-E-1,R,!0):E<9?S.set(8,15-E-1+1,R,!0):S.set(8,15-E-1,R,!0);S.set(k-8,8,1,!0)}function g(S,N){const q=S.size;let k=-1,A=q-1,E=7,R=0;for(let I=q-1;I>0;I-=2)for(I===6&&I--;;){for(let T=0;T<2;T++)if(!S.isReserved(A,I-T)){let O=!1;R<N.length&&(O=(N[R]>>>E&1)===1),S.set(A,I-T,O),E--,E===-1&&(R++,E=7)}if(A+=k,A<0||q<=A){A-=k,k=-k;break}}}function w(S,N,q){const k=new r;q.forEach(function(T){k.put(T.mode.bit,4),k.put(T.getLength(),m.getCharCountIndicator(T.mode,S)),T.write(k)});const A=e.getSymbolTotalCodewords(S),E=a.getTotalCodewordsCount(S,N),R=(A-E)*8;for(k.getLengthInBits()+4<=R&&k.put(0,4);k.getLengthInBits()%8!==0;)k.putBit(0);const I=(R-k.getLengthInBits())/8;for(let T=0;T<I;T++)k.put(T%2?17:236,8);return P(k,S,N)}function P(S,N,q){const k=e.getSymbolTotalCodewords(N),A=a.getTotalCodewordsCount(N,q),E=k-A,R=a.getBlocksCount(N,q),I=k%R,T=R-I,O=Math.floor(k/R),_=Math.floor(E/R),$=_+1,M=O-_,U=new l(M);let D=0;const G=new Array(R),he=new Array(R);let te=0;const J=new Uint8Array(S.buffer);for(let z=0;z<R;z++){const K=z<T?_:$;G[z]=J.slice(D,D+K),he[z]=U.encode(G[z]),D+=K,te=Math.max(te,K)}const H=new Uint8Array(k);let Y=0,B,Q;for(B=0;B<te;B++)for(Q=0;Q<R;Q++)B<G[Q].length&&(H[Y++]=G[Q][B]);for(B=0;B<M;B++)for(Q=0;Q<R;Q++)H[Y++]=he[Q][B];return H}function C(S,N,q,k){let A;if(Array.isArray(S))A=p.fromArray(S);else if(typeof S=="string"){let O=N;if(!O){const _=p.rawSplit(S);O=d.getBestVersionForData(_,q)}A=p.fromString(S,O||40)}else throw new Error("Invalid data");const E=d.getBestVersionForData(A,q);if(!E)throw new Error("The amount of data is too big to be stored in a QR Code");if(!N)N=E;else if(N<E)throw new Error(`
|
|
45
45
|
The chosen QR Code version cannot contain this amount of data.
|
|
46
46
|
Minimum version required to store current data is: `+E+`.
|
|
47
|
-
`);const R=w(N,q,
|
|
48
|
-
`;return typeof a=="function"&&a(null,x),x},qs}var wc;function mC(){if(wc)return cr;wc=1;const e=UP(),t=dC(),r=fC(),n=hC();function o(s,i,a,l,d){const f=[].slice.call(arguments,1),h=f.length,p=typeof f[h-1]=="function";if(!p&&!e())throw new Error("Callback required as last argument");if(p){if(h<2)throw new Error("Too few arguments provided");h===2?(d=a,a=i,i=l=void 0):h===3&&(i.getContext&&typeof d>"u"?(d=l,l=void 0):(d=l,l=a,a=i,i=void 0))}else{if(h<1)throw new Error("Too few arguments provided");return h===1?(a=i,i=l=void 0):h===2&&!i.getContext&&(l=a,a=i,i=void 0),new Promise(function(m,b){try{const v=t.create(a,l);m(s(v,i,l))}catch(v){b(v)}})}try{const m=t.create(a,l);d(null,s(m,i,l))}catch(m){d(m)}}return cr.create=t.create,cr.toCanvas=o.bind(null,r.render),cr.toDataURL=o.bind(null,r.renderToDataURL),cr.toString=o.bind(null,function(s,i,a){return n.render(s,a)}),cr}var pC=mC();const ra=qP(pC),Dh=({value:e,useful:t=!0,uselessElem:r,uselessProps:{style:n={},...o}={},foregroundColor:s="#000000",backgroundColor:i="#ffffff",margin:a=4,errorCorrectionLevel:l="medium",size:d=200,fullWidth:f,sx:h,className:p,style:m,...b})=>{const v=je.useRef(null),x=je.useRef(null),y=se(),{sxClassName:g,sxInlineStyle:w}=X(h,y),P=je.useCallback(C=>{const S=v.current;S&&ra.toCanvas(S,e,{errorCorrectionLevel:l,margin:a,width:C,color:{dark:s,light:i}},N=>{if(N&&console.error(N),!t){const q=S.getContext("2d");q&&(q.globalCompositeOperation="source-over",q.fillStyle="rgba(255, 255, 255, 0.5)",q.fillRect(0,0,S.width,S.height),q.filter="grayscale(100%) opacity(0.5)",q.drawImage(S,0,0))}})},[i,l,s,a,t,e]);return je.useEffect(()=>{const C=x.current;if(!C)return;const S=new ResizeObserver(()=>{const N=Math.min(C.clientWidth,C.clientHeight);P(N)});return S.observe(C),()=>S.disconnect()},[e,t,s,i,a,l,P]),c.jsxs("div",{ref:x,className:j(g,p),style:L(m,{width:f?"100%":d,height:f?"100%":d,display:"flex",aspectRatio:"1",position:"relative"},w),...b,children:[c.jsx("canvas",{ref:v}),!t&&r&&c.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",color:"white",background:"radial-gradient(circle at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0.3) 80%)",opacity:.5,...n},...o,children:r})]})},vC=e=>e?{width:e,height:e}:{},Bh=({size:e=200,fullWidth:t,sx:r,value:n,useful:o=!0,uselessElem:s,uselessProps:{style:i={},...a}={},alt:l,style:d,className:f,foregroundColor:h,backgroundColor:p,margin:m=4,errorCorrectionLevel:b,unload:v,width:x,height:y,...g})=>{const[w,P]=je.useState(""),[C,S]=je.useState(),N=je.useRef(null),q=se(),{sxClassName:k,sxInlineStyle:T}=X(r,q);return je.useEffect(()=>{if(!t)return;const E=N.current;if(!E)return;const R=()=>{S(Math.min(E.clientWidth,E.clientHeight))};R();const A=new ResizeObserver(R);return A.observe(E),()=>A.disconnect()},[t]),je.useEffect(()=>{const E=t?C:x?Ut.getInstance().convertToPx(x):e?Ut.getInstance().convertToPx(e):void 0;ra.toDataURL(n,{color:{dark:h,light:p},width:E,margin:m,errorCorrectionLevel:b}).then(R=>P(R)).catch(R=>console.error(R))},[p,b,h,m,t,C,x,e,n]),w?c.jsxs("div",{ref:N,style:{width:t?"100%":e,height:t?"100%":e,display:"flex",aspectRatio:"1",position:"relative"},children:[c.jsx("img",{src:w,alt:l??"QR Code",className:j(k,f),style:L({filter:o?"none":"grayscale(100%) opacity(0.5)",transition:"filter 0.2s ease",position:"relative",...t?{width:"100%",height:"100%"}:vC(e)},d,T),...!t&&{width:x,height:y},...g}),!o&&s&&c.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",color:"white",background:"radial-gradient(circle at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0.3) 80%)",opacity:.5,...i},...a,children:s})]}):c.jsx(c.Fragment,{children:v})};function gC({canvas:e,...t}){return e?c.jsx(Dh,{...t}):c.jsx(Bh,{...t})}const bC=e=>e?{width:e,height:e}:{},xC=({size:e,value:t,useful:r=!0,alt:n,style:o,foregroundColor:s,backgroundColor:i,margin:a,errorCorrectionLevel:l,unload:d,...f})=>{const[h,p]=je.useState("");return je.useEffect(()=>{ra.toDataURL(t,{color:{dark:s,light:i},width:e,margin:a,errorCorrectionLevel:l}).then(m=>p(m)).catch(m=>console.error(m))},[i,l,s,a,e,t]),h?c.jsx("img",{src:h,alt:n??"QR Code",style:{filter:r?"none":"grayscale(100%) opacity(0.5)",transition:"filter 0.2s ease",...bC(e),...o},...f}):c.jsx(c.Fragment,{children:d})},Yt={sm:"px-3 py-2 text-xs",md:"px-4 py-3 text-sm",lg:"px-5 py-4 text-base"},yC={outlined:"border border-slate-200 bg-white",filled:"border border-slate-100 bg-slate-50",ghost:"border border-transparent bg-transparent"};function Fh(e){return null}function $h(e){const{className:t,...r}=e;return c.jsx(Pe,{component:"thead",className:j("bg-slate-50",t),...r})}function Vh(e){return c.jsx(Pe,{component:"tbody",...e})}function Jn(e){const{className:t,...r}=e;return c.jsx(Pe,{component:"tr",className:j("border-b border-slate-100 last:border-b-0",t),...r})}function Ln(e){const{className:t,style:r,...n}=e;return c.jsx(Pe,{component:"th",scope:"col",className:j("whitespace-nowrap font-medium text-slate-700",t),style:L({textAlign:"left"},r),...n})}function Br(e){const{className:t,style:r,...n}=e;return c.jsx(Pe,{component:"td",className:j("text-slate-700",t),style:L({textAlign:"left"},r),...n})}const ks="ellipsis";function Es(e,t){return Number.isFinite(e)?Math.min(Math.max(Math.trunc(e),1),t):1}function Rs(e,t){const r=Math.max(t-e+1,0);return Array.from({length:r},(n,o)=>e+o)}function wC(e){const{count:t,page:r,defaultPage:n=1}=e,[o,s]=u.useState(()=>Es(n,t)),i=r!==void 0,a=Es(i?r:o,t);return u.useEffect(()=>{i||s(l=>Es(l,t))},[t,i]),{page:a,setPage:s,isControlled:i}}function PC(e){const{count:t,page:r,siblingCount:n,boundaryCount:o,showPreviousNext:s,disabled:i}=e,a=Rs(1,Math.min(o,t)),l=Rs(Math.max(t-o+1,o+1),t),d=Math.max(Math.min(r-n,t-o-n*2-1),o+2),f=Math.min(Math.max(r+n,o+n*2+2),l.length>0?l[0]-2:t-1),p=[...a,...d>o+2?[ks]:o+1<t-o?[o+1]:[],...Rs(d,f),...f<t-o-1?[ks]:t-o>o?[t-o]:[],...l].map(m=>m===ks?{type:"ellipsis",page:null,selected:!1,disabled:!0}:{type:"page",page:m,selected:m===r,disabled:i});return s?[{type:"previous",page:Math.max(r-1,1),selected:!1,disabled:i||r<=1},...p,{type:"next",page:Math.min(r+1,t),selected:!1,disabled:i||r>=t}]:p}const na=({count:e,page:t,defaultPage:r,onPageChange:n,siblingCount:o=1,boundaryCount:s=1,variant:i="filled",showPreviousNext:a=!0,disabled:l=!1,getItemHref:d,renderItem:f,contentProps:h,className:p,class:m,sx:b,style:v,children:x,...y})=>{const g=se(),{sxClassName:w,sxInlineStyle:P}=X(b,g),C=typeof e=="number"&&e>0,{page:S,setPage:N,isControlled:q}=wC({count:C?e:1,page:t,defaultPage:r}),k=C?PC({count:e,page:S,siblingCount:Math.max(Math.trunc(o),0),boundaryCount:Math.max(Math.trunc(s),0),showPreviousNext:a,disabled:l}):[],T=(E,R,A)=>{if(A){E.preventDefault();return}E.preventDefault(),q||N(R),n?.(E,R)};return c.jsx("nav",{role:"navigation","aria-label":"分页",className:j("mx-auto flex w-full justify-center",w,p,m),style:L(v,P),...y,children:C?c.jsx(oa,{...h,children:k.map((E,R)=>{const A=`${E.type}-${E.page??R}`,_=E.page===null?void 0:d?.(E.page,E.type)??`#page-${E.page}`,O=E.page===null?void 0:$=>T($,E.page,E.disabled),I={...E,href:_,onClick:O};return f?c.jsx(Kt,{children:f(I)},A):E.type==="ellipsis"?c.jsx(Kt,{children:c.jsx(aa,{})},A):E.type==="previous"?c.jsx(Kt,{children:c.jsx(sa,{href:_,variant:i,disabled:E.disabled,onClick:O})},A):E.type==="next"?c.jsx(Kt,{children:c.jsx(ia,{href:_,variant:i,disabled:E.disabled,onClick:O})},A):c.jsx(Kt,{children:c.jsx(an,{href:_,variant:i,isActive:E.selected,disabled:E.disabled,onClick:O,children:E.page})},A)})}):x})};na.displayName="Pagination";const oa=u.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(r,i),d={listStyle:"none",margin:0,padding:0};return c.jsx("ul",{ref:s,className:j("m-0 flex list-none flex-row items-center gap-1 p-0",a,e,t),style:L(d,n,l),...o})});oa.displayName="PaginationContent";const Kt=u.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(r,i);return c.jsx("li",{ref:s,className:j(a,e,t),style:L({listStyle:"none",margin:0},n,l),...o})});Kt.displayName="PaginationItem";function CC(e,t){return t?e==="filled"?"primary":"outline":"ghost"}const an=({className:e,class:t,isActive:r,disabled:n,variant:o="outline",size:s="icon",tabIndex:i,...a})=>c.jsx(Qr,{component:"a","aria-current":r?"page":void 0,"aria-disabled":n?!0:void 0,variant:CC(o,r),size:s,tabIndex:n?-1:i,className:j(n&&"pointer-events-none opacity-50",r&&o==="filled"&&"!text-white hover:!text-white",e,t),...a});an.displayName="PaginationLink";const sa=({className:e,children:t,...r})=>c.jsx(an,{"aria-label":"上一页",size:"md",className:j("gap-1 pl-2.5",e),...r,children:t??c.jsxs(c.Fragment,{children:[c.jsx(Le,{name:"chevron_left",size:16}),c.jsx("span",{children:"上一页"})]})});sa.displayName="PaginationPrevious";const ia=({className:e,children:t,...r})=>c.jsx(an,{"aria-label":"下一页",size:"md",className:j("gap-1 pr-2.5",e),...r,children:t??c.jsxs(c.Fragment,{children:[c.jsx("span",{children:"下一页"}),c.jsx(Le,{name:"chevron_right",size:16})]})});ia.displayName="PaginationNext";const aa=({className:e,class:t,sx:r,style:n,...o})=>{const s=se(),{sxClassName:i,sxInlineStyle:a}=X(r,s);return c.jsxs("span",{"aria-hidden":!0,className:j("flex h-8 w-8 items-center justify-center",i,e,t),style:L(n,a),...o,children:[c.jsx(Le,{name:"more_horiz",size:16}),c.jsx("span",{className:"sr-only",children:"更多页码"})]})};aa.displayName="PaginationEllipsis";function Kr(e){return typeof e=="number"?`${e}px`:e}function SC(e,t){if(t)return e[String(t)]}function la(e,t){return e.key!==void 0?e.key:e.dataIndex!==void 0?String(e.dataIndex):t}function Pc(e,t,r){if(typeof r=="function")return r(e,t);if(r){const o=e[String(r)];if(typeof o=="string"||typeof o=="number"||typeof o=="bigint")return o}const n=e.key;return typeof n=="string"||typeof n=="number"||typeof n=="bigint"?n:t}function NC(e){const t=e[0];return t?Object.keys(t).map(r=>({key:r,dataIndex:r,title:r})):[]}function qC(e){return u.isValidElement(e)&&e.type===Fh}function kC(e){const t=[],r=[];return u.Children.forEach(e,n=>{if(qC(n)){t.push(n.props);return}r.push(n)}),{childColumns:t,restChildren:r}}function EC(e){const{selectedRowKeys:t,defaultSelectedRowKeys:r=[]}=e,[n,o]=u.useState(r),s=t!==void 0;return{selectedKeys:s?t:n,setSelectedKeys:o,isControlled:s}}function RC(e){const{selectionEnabled:t,size:r,allChecked:n,partiallyChecked:o,selectableKeysLength:s,onToggleCurrentPage:i,indexColumn:a,visibleColumns:l}=e;return c.jsxs(Jn,{className:"border-b border-slate-200",children:[t?c.jsx(Ln,{className:j(Yt[r],"w-12 text-center"),style:{textAlign:"center"},children:c.jsx(nn,{"aria-label":"选择当前页",checked:o?"indeterminate":n,disabled:!s,onCheckedChange:d=>i(d===!0)})}):null,a?c.jsx(Ln,{className:j(Yt[r],"text-slate-600"),style:{width:Kr(typeof a=="object"?a.width:64),textAlign:"center"},children:typeof a=="object"?a.title??"#":"#"}):null,l.map((d,f)=>c.jsx(Ln,{sx:d.headerSx,className:j(Yt[r],d.headerClassName),style:{width:Kr(d.width),textAlign:d.headerAlign??d.align??"left"},children:d.title??String(d.dataIndex??"")},la(d,f)))]})}function jC(e){const{bodyProps:t,currentRowMeta:r,selectedSet:n,rowProps:o,size:s,striped:i,hoverable:a,selectionEnabled:l,onToggleRow:d,indexColumn:f,visibleColumns:h,empty:p,tableColumnCount:m}=e,b=r.length>0;return c.jsx(Vh,{...t,children:b?r.map(({record:v,index:x,absoluteIndex:y,key:g,disabled:w})=>{const P=n.has(g),C=typeof o=="function"?o(v,y):o;return c.jsxs(Jn,{...C,"data-selected":P?"":void 0,className:j(i&&x%2===1&&"bg-slate-50/70",a&&"transition-colors hover:bg-blue-50/50",P&&"bg-blue-50",C?.className),children:[l?c.jsx(Br,{className:j(Yt[s],"w-12 text-center"),style:{textAlign:"center"},children:c.jsx(nn,{"aria-label":`选择第 ${y+1} 行`,checked:P,disabled:w,onCheckedChange:S=>d(g,S===!0)})}):null,f?c.jsx(Br,{className:j(Yt[s],"text-slate-500"),style:{textAlign:"center"},children:y+1}):null,h.map((S,N)=>{const q=SC(v,S.dataIndex);return c.jsx(Br,{sx:S.sx,className:j(Yt[s],S.className),style:{width:Kr(S.width),textAlign:S.align??"left"},children:S.render?S.render(q,v,y):q},la(S,N))})]},g)}):c.jsx(Jn,{children:c.jsx(Br,{className:j(Yt[s],"text-center text-slate-500"),colSpan:Math.max(m,1),style:{textAlign:"center"},children:p})})})}function TC(e){const{pageCount:t,currentPage:r,justifyClassName:n,onPageChange:o}=e;return t<=1?null:c.jsx(Pe,{className:j("flex border-t border-slate-100 p-3",n),children:c.jsx(na,{count:t,page:r,onPageChange:o})})}function AC(e){const{columns:t,dataSource:r=[],rowKey:n="id",size:o="md",variant:s="outlined",striped:i=!1,bordered:a=!1,hoverable:l=!0,stickyHeader:d=!1,loading:f=!1,empty:h="暂无数据",caption:p,indexColumn:m=!1,rowSelection:b,pagination:v,tableProps:x,headProps:y,bodyProps:g,rowProps:w,className:P,children:C,rounded:S="lg",...N}=e,{childColumns:q,restChildren:k}=kC(C),E=(t??(q.length?q:NC(r))).filter(ie=>!ie.hidden),R=v===!1?r.length||1:v?.pageSize??(r.length||1),A=v===!1?r.length:v?.total??r.length,_=Math.max(Math.ceil(A/R),1),[O,I]=u.useState(v===!1?1:v?.defaultPage??1),$=v===!1?1:v?.page??O,M=($-1)*R,U=v===!1?r:r.slice(M,M+R),D=!!b,{selectedKeys:G,setSelectedKeys:me,isControlled:te}=EC({selectedRowKeys:b?.selectedRowKeys,defaultSelectedRowKeys:b?.defaultSelectedRowKeys}),J=U.map((ie,ye)=>{const Se=M+ye,Ie=Pc(ie,Se,n),oe=b?.getCheckboxProps?.(ie,Se);return{record:ie,index:ye,absoluteIndex:Se,key:Ie,disabled:!!oe?.disabled}}),H=J.filter(ie=>!ie.disabled).map(ie=>ie.key),Y=new Set(G),B=H.filter(ie=>Y.has(ie)).length,Q=H.length>0&&B===H.length,z=B>0&&!Q,K=v!==!1&&v?.position==="left"?"justify-start":v!==!1&&v?.position==="center"?"justify-center":"justify-end",W=E.length+(D?1:0)+(m?1:0),Z=Kr(typeof m=="object"?m.width:64);function ae(ie){te||me(ie);const ye=new Set(ie);b?.onChange?.(ie,r.filter((Se,Ie)=>ye.has(Pc(Se,Ie,n))))}function ue(ie,ye){const Se=new Set(G);ye?Se.add(ie):Se.delete(ie),ae(Array.from(Se))}function pe(ie){const ye=new Set(G);H.forEach(Se=>{ie?ye.add(Se):ye.delete(Se)}),ae(Array.from(ye))}function ve(ie,ye){v!==!1&&v?.page===void 0&&I(ye),v!==!1&&v?.onPageChange?.(ye,R)}return c.jsxs(Pe,{rounded:S,loading:f,className:j("table-root w-full overflow-hidden",yC[s],P),...N,children:[c.jsx(Pe,{className:"table-scroll w-full overflow-x-auto",children:c.jsxs(Pe,{component:"table",...x,className:j("table w-full table-fixed border-collapse text-left",a&&"[&_td]:border-r [&_td]:border-slate-100 [&_td:last-child]:border-r-0 [&_th]:border-r [&_th]:border-slate-100 [&_th:last-child]:border-r-0",x?.className),style:L({borderCollapse:"collapse",display:"table",tableLayout:"fixed",width:"100%"},x?.style),children:[W>0?c.jsxs("colgroup",{children:[D?c.jsx("col",{style:{width:48}}):null,m?c.jsx("col",{style:{width:Z}}):null,E.map((ie,ye)=>c.jsx("col",{style:{width:Kr(ie.width)}},la(ie,ye)))]}):null,p?c.jsx("caption",{className:"px-4 py-3 text-left text-sm text-slate-600",children:p}):null,c.jsx($h,{...y,className:j(d&&"sticky top-0 z-10",y?.className),children:c.jsx(RC,{selectionEnabled:D,size:o,allChecked:Q,partiallyChecked:z,selectableKeysLength:H.length,onToggleCurrentPage:pe,indexColumn:m,visibleColumns:E})}),c.jsx(jC,{bodyProps:g,currentRowMeta:J,selectedSet:Y,rowProps:w,size:o,striped:i,hoverable:l,selectionEnabled:D,onToggleRow:ue,indexColumn:m,visibleColumns:E,empty:h,tableColumnCount:W})]})}),v!==!1&&_>1?c.jsx(TC,{pageCount:_,currentPage:$,justifyClassName:K,onPageChange:ve}):null,k]})}const zt=Object.assign(AC,{Column:Fh,Head:$h,Body:Vh,Row:Jn,Cell:Br,HeaderCell:Ln});zt.displayName="Table";zt.Column.displayName="Table.Column";zt.Head.displayName="Table.Head";zt.Body.displayName="Table.Body";zt.Row.displayName="Table.Row";zt.Cell.displayName="Table.Cell";zt.HeaderCell.displayName="Table.HeaderCell";const _C={text:"origin-left rounded-sm",rect:"",circle:"rounded-full"};function vt(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function IC(e,t,r){return e==="circle"?{width:vt(t??r??40),height:vt(r??t??40)}:e==="text"?{width:vt(t??"100%"),height:vt(r??"1em")}:{width:vt(t),height:vt(r)}}function OC(e,t,r,n){return r?.[e]!==void 0?r[e]:t>1&&e===t-1?"68%":n??"100%"}function ln(e){const{className:t,class:r,sx:n,style:o,rounded:s,width:i,height:a,inline:l=!1,animated:d=!0,variant:f="rect",role:h,...p}=e,m=se(),{roundedPreset:b,roundedStyle:v}=Zt(s??(f==="circle"?"full":f==="rect"?"md":"sm")),{sxClassName:x,sxInlineStyle:y}=X(n,m),g=IC(f,i,a);return c.jsx("div",{role:h??"status","aria-live":"polite","aria-label":e["aria-label"]??"Loading",className:j("skeleton bg-gray-200",l?"inline-block align-middle":"block",d&&"animate-pulse",_C[f],b&&Mt[b],x,t,r),style:L(o,g,v,y),...p})}function ca(e){const{rows:t=3,rowHeight:r="0.875rem",gap:n=8,widths:o,width:s,sx:i,style:a,className:l,class:d,rounded:f,animated:h,inline:p=!1,...m}=e,b=se(),{sxClassName:v,sxInlineStyle:x}=X(i,b),y=Math.max(1,Math.floor(t));return c.jsx("div",{className:j("skeleton-text flex-col",p?"inline-flex align-middle":"flex",v,l,d),style:L(a,{gap:vt(n),width:vt(s)},x),...m,children:Array.from({length:y}).map((g,w)=>c.jsx(ln,{...m,animated:h,rounded:f,variant:"text",width:OC(w,y,o,s),height:r},w))})}function ua(e){const{size:t=40,...r}=e;return c.jsx(ln,{...r,variant:"circle",width:t,height:t})}function zh(e){const{width:t=96,height:r=36,rounded:n="md",...o}=e;return c.jsx(ln,{...o,variant:"rect",width:t,height:r,rounded:n})}function Hh(e){const{showAvatar:t=!0,rows:r=3,width:n,animated:o=!0,rounded:s="lg",className:i,class:a,style:l,sx:d,...f}=e,h=se(),{roundedPreset:p,roundedStyle:m}=Zt(s),{sxClassName:b,sxInlineStyle:v}=X(d,h);return c.jsx("div",{className:j("skeleton-card border border-gray-200 bg-white p-4",p&&Mt[p],b,i,a),style:L(l,{width:vt(n)},m,v),...f,children:c.jsxs("div",{className:"flex items-start gap-3",children:[t?c.jsx(ua,{animated:o,size:40}):null,c.jsx("div",{className:"min-w-0 flex-1",children:c.jsx(ca,{animated:o,rows:r,widths:["56%","100%","76%"]})})]})})}ln.displayName="Skeleton";ca.displayName="SkeletonText";ua.displayName="SkeletonAvatar";zh.displayName="SkeletonButton";Hh.displayName="SkeletonCard";const Cc={full:"",middle:"px-4",inset:"pl-4"},MC={full:"",middle:"py-4",inset:"pt-4"};function Wh(e){const{vertical:t=!1,variant:r="full",align:n="center",type:o="solid",color:s="text-gray-200",sx:i,children:a,className:l,style:d,...f}=e,h=se(),{sxClassName:p,sxInlineStyle:m}=X(i,h),b=L(d,m);if(t)return c.jsx("div",{role:"separator","aria-orientation":"vertical",className:j("inline-flex min-h-6 self-stretch items-stretch text-gray-200",MC[r],p,l),style:b,...f,children:c.jsx("span",{"aria-hidden":!0,className:j("border-l border-current",s),style:{borderStyle:o}})});const v=a!=null,x=n==="left"?"w-8 flex-none":"flex-1",y=n==="right"?"w-8 flex-none":"flex-1";return v?c.jsxs("div",{role:"separator","aria-orientation":"horizontal",className:j("flex w-full items-center text-gray-200",Cc[r],p,l),style:b,...f,children:[c.jsx("span",{"aria-hidden":!0,className:j(x,"border-t border-current",s),style:{borderStyle:o}}),c.jsx("span",{className:"shrink-0 px-3 text-gray-500",children:a}),c.jsx("span",{"aria-hidden":!0,className:j(y,"border-t border-current",s),style:{borderStyle:o}})]}):c.jsx("div",{role:"separator","aria-orientation":"horizontal",className:j("w-full text-gray-200",Cc[r],p,l),style:b,...f,children:c.jsx("span",{"aria-hidden":!0,className:j("block w-full border-t border-current",s),style:{borderStyle:o}})})}Wh.displayName="Divider";const Sc={xs:"gap-1",sm:"gap-2",md:"gap-3",lg:"gap-4",xl:"gap-6"};function LC(e){return e==="col"?"column":e==="col-reverse"?"column-reverse":e}function DC(e){return typeof e=="boolean"?e?"wrap":"nowrap":e}function Nc(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function BC(e){return typeof e=="number"?{gapStyle:`${e}px`}:typeof e=="string"&&e in Sc?{gapClass:Sc[e]}:{gapStyle:e}}function Gh(e){const{direction:t="row",justify:r,items:n,flex:o,wrap:s="nowrap",gap:i="md",width:a,height:l,sx:d,className:f,style:h,...p}=e,{gapClass:m,gapStyle:b}=BC(i),v={flexDirection:LC(t),justifyContent:r,alignItems:n,flexWrap:DC(s),flex:o,gap:b,width:Nc(a),height:Nc(l)};return c.jsx(Pe,{className:j("flex",m,f),style:L(h,v),sx:d,...p})}Gh.displayName="Flex";function qc(e){if(e!==void 0)return typeof e=="number"?`${e*8}px`:e}function FC(e){return!e||Number.isNaN(e)||e<=0?12:e}function $C(e){return typeof e=="boolean"?e?"wrap":"nowrap":e}function VC(e){return e==="grow"?{flexBasis:0,flexGrow:1,maxWidth:"100%"}:{flexBasis:`calc(100% * ${e} / var(--ldkj-grid-columns, 12))`,maxWidth:`calc(100% * ${e} / var(--ldkj-grid-columns, 12))`,flexGrow:0}}function zC(e){return e==="auto"?{marginLeft:"auto"}:{marginLeft:`calc(100% * ${e} / var(--ldkj-grid-columns, 12))`}}function Ro(e){const{container:t=!1,size:r,offset:n,columns:o,spacing:s,rowSpacing:i,columnSpacing:a,wrap:l="wrap",direction:d="row",sx:f,className:h,style:p,...m}=e,b=FC(o),v=qc(i??s),x=qc(a??s),y={};return t?(y.display="flex",y.flexWrap=$C(l),y.flexDirection=d,y.rowGap=v,y.columnGap=x,y["--ldkj-grid-columns"]=String(b)):o!==void 0&&(y["--ldkj-grid-columns"]=String(b)),r!==void 0&&Object.assign(y,VC(r)),n!==void 0&&Object.assign(y,zC(n)),c.jsx(Pe,{className:j("min-w-0",h),style:L(p,y),sx:f,...m})}Ro.displayName="Grid";function HC(e,t){return{paddingTop:e==="top"||e==="both"?"env(safe-area-inset-top, 0px)":void 0,paddingBottom:e==="bottom"||e==="both"?"env(safe-area-inset-bottom, 0px)":void 0,paddingLeft:t?"env(safe-area-inset-left, 0px)":void 0,paddingRight:t?"env(safe-area-inset-right, 0px)":void 0}}function jo(e){const{component:t,position:r="both",horizontal:n=!1,sx:o,className:s,style:i,children:a,...l}=e,d=HC(r,n);return c.jsx(Pe,{component:t,className:j("box-border",s),style:L(i,d),sx:o,...l,children:a})}function Kh(e){return c.jsx(jo,{...e,position:"top"})}function Uh(e){return c.jsx(jo,{...e,position:"bottom"})}jo.displayName="SafeArea";Kh.displayName="SafeAreaTop";Uh.displayName="SafeAreaBottom";const kc={sm:640,md:768,lg:1024,xl:1280},Ec={xs:"0.25rem",sm:"0.5rem",md:"0.75rem",lg:"1rem",xl:"1.5rem"},Yh=Symbol("ldkj-space-item"),br=(e=>{const{className:t,class:r,style:n,sx:o,flex:s,grow:i,shrink:a,basis:l,order:d,alignSelf:f,children:h,...p}=e;return c.jsx(Pe,{className:[t,r].filter(Boolean).join(" "),style:L(n,{flex:s,flexGrow:i,flexShrink:a,flexBasis:l,order:d,alignSelf:f}),sx:o,...p,children:h})});br.displayName="SpaceItem";br[Yh]=!0;function Xh(e){return typeof e!="object"||e===null||Array.isArray(e)?!1:Object.keys(e).some(r=>["xs","sm","md","lg","xl"].includes(r))}function _r(e){if(e!==void 0)return Xh(e)?e.xs:e}function Ir(e,t){if(e===void 0||!Xh(e))return;const r={};return Object.keys(kc).forEach(n=>{const o=e[n];if(o===void 0)return;const s=kc[n];r[`@media (min-width: ${s}px)`]=t(o)}),Object.keys(r).length?r:void 0}function Rc(e){return e==="vertical"?"column":"row"}function jc(e){return e===void 0?"wrap":typeof e=="boolean"?e?"wrap":"nowrap":e}function Rt(e){return typeof e=="number"?`${e}px`:e in Ec?Ec[e]:e}function Tc(e){if(e===void 0){const r=Rt("md");return{rowGap:r,columnGap:r}}if(Array.isArray(e))return{rowGap:Rt(e[0]),columnGap:Rt(e[1])};if(typeof e=="object"){if("row"in e||"column"in e)return{rowGap:Rt(e.row??"md"),columnGap:Rt(e.column??"md")};if("x"in e||"y"in e)return{rowGap:Rt(e.y??"md"),columnGap:Rt(e.x??"md")}}const t=Rt(e);return{rowGap:t,columnGap:t}}function WC(e){return!!e.type?.[Yh]}function Jh(e,t,r,n,o){if(u.isValidElement(e)&&WC(e)){const s=[r,e.props.className,e.props.class].filter(Boolean).join(" ");return c.jsx(br,{...e.props,className:s||void 0,style:L(n,e.props.style),sx:[o,e.props.sx],children:e.props.children},e.key??`space-item-${t}`)}return c.jsx(br,{className:r,style:n,sx:o,children:e},u.isValidElement(e)?e.key??`space-item-${t}`:`space-item-${t}`)}function GC(e,t,r,n,o){const s=u.Children.toArray(e),i=[];return s.forEach((a,l)=>{i.push(Jh(a,l,r,n,o)),l<s.length-1&&i.push(c.jsx(br,{"aria-hidden":"true",children:t},`space-split-${l}`))}),i}const da=e=>{const{direction:t="horizontal",size:r="md",wrap:n=!0,align:o,justify:s,split:i,itemClassName:a,itemStyle:l,itemSx:d,sx:f,children:h,style:p,...m}=e,b=_r(t)??"horizontal",v=_r(r)??"md",x=_r(n)??!0,y=_r(o),g=_r(s),w=Tc(v),P={display:"flex",flexDirection:Rc(b),flexWrap:jc(x),alignItems:y,justifyContent:g,rowGap:w.rowGap,columnGap:w.columnGap},C=Ir(t,R=>({flexDirection:Rc(R)})),S=Ir(r,R=>Tc(R)),N=Ir(n,R=>({flexWrap:jc(R)})),q=Ir(o,R=>({alignItems:R})),k=Ir(s,R=>({justifyContent:R})),T=[C,S,N,q,k,f],E=i!=null?GC(h,i,a,l,d):u.Children.toArray(h).map((R,A)=>Jh(R,A,a,l,d));return c.jsx(Pe,{style:L(p,P),sx:T,...m,children:E})};da.displayName="Space";da.Item=br;const KC={h1:"text-3xl font-semibold leading-tight",h2:"text-2xl font-semibold leading-tight",h3:"text-xl font-semibold leading-snug",body:"text-sm leading-6 text-slate-700",caption:"text-xs leading-5 text-slate-500"};function UC(e){const{component:t,className:r,class:n,sx:o,style:s,variant:i="body",...a}=e,l=t??"p",d=se(),{sxClassName:f,sxInlineStyle:h}=X(o,d);return c.jsx(l,{className:j(KC[i],f,r,n),style:L(s,h),...a})}function YC(e){return e===void 0?{}:Array.isArray(e)?{rowSpacing:e[0],columnSpacing:e[1]}:{spacing:e}}function Qh(e){const{gutter:t=0,align:r,justify:n,wrap:o="wrap",direction:s="row",style:i,...a}=e,l=YC(t);return c.jsx(Ro,{container:!0,wrap:o,direction:s,style:L(i,{alignItems:r,justifyContent:n}),...l,...a})}Qh.displayName="Row";function Zh(e){const{span:t,offset:r,flex:n,style:o,...s}=e;return c.jsx(Ro,{size:t,offset:r,style:L(o,{flex:n}),...s})}Zh.displayName="Col";const em=u.createContext({}),tm=u.forwardRef(({separator:e,items:t,listProps:r,sx:n,style:o,className:s,class:i,children:a,...l},d)=>{const f=se(),{sxClassName:h,sxInlineStyle:p}=X(n,f),m=Array.isArray(t)&&t.length>0;return c.jsx(em.Provider,{value:{separator:e},children:c.jsx("nav",{ref:d,"aria-label":"breadcrumb",className:j(h,s,i),style:L(o,p),...l,children:m?c.jsx(fa,{...r,children:t.map((b,v)=>{const{key:x,label:y,href:g,current:w,separator:P,ellipsis:C,itemProps:S,linkProps:N,pageProps:q}=b,k=v===t.length-1,T=w??k;return c.jsxs(u.Fragment,{children:[c.jsx(ha,{...S,children:C?c.jsx(ga,{}):T?c.jsx(pa,{...q,children:y}):c.jsx(ma,{href:g,...N,children:y})}),k?null:c.jsx(va,{children:P})]},x??v)})}):a})})});tm.displayName="Breadcrumb";const fa=u.forwardRef(({sx:e,style:t,className:r,class:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(e,i),d={listStyle:"none",margin:0,padding:0};return c.jsx("ol",{ref:s,className:j("m-0 flex list-none flex-wrap items-center gap-1.5 break-words p-0 text-sm text-muted-foreground sm:gap-2.5",a,r,n),style:L(d,t,l),...o})});fa.displayName="BreadcrumbList";const ha=u.forwardRef(({sx:e,style:t,className:r,class:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(e,i),d={margin:0,display:"inline-flex",alignItems:"center"};return c.jsx("li",{ref:s,className:j("inline-flex items-center gap-1.5 leading-none",a,r,n),style:L(d,t,l),...o})});ha.displayName="BreadcrumbItem";const ma=u.forwardRef(({component:e,sx:t,style:r,className:n,class:o,...s},i)=>{const a=e??"a",l=se(),{sxClassName:d,sxInlineStyle:f}=X(t,l);return c.jsx(a,{ref:i,className:j("inline-flex items-center leading-none transition-colors hover:text-foreground",d,n,o),style:L(r,f),...s})});ma.displayName="BreadcrumbLink";const pa=u.forwardRef(({sx:e,style:t,className:r,class:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(e,i);return c.jsx("span",{ref:s,role:"link","aria-disabled":"true","aria-current":"page",className:j("inline-flex items-center font-normal leading-none text-foreground",a,r,n),style:L(t,l),...o})});pa.displayName="BreadcrumbPage";const va=({children:e,sx:t,style:r,className:n,class:o,...s})=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(t,i),{separator:d}=u.useContext(em),f={margin:0,display:"inline-flex",alignItems:"center"};return c.jsx("li",{role:"presentation","aria-hidden":"true",className:j("shrink-0 leading-none [&>svg]:h-3.5 [&>svg]:w-3.5",a,n,o),style:L(f,r,l),...s,children:e??d??c.jsx(Le,{name:"chevron_right"})})};va.displayName="BreadcrumbSeparator";const ga=({sx:e,style:t,className:r,class:n,...o})=>{const s=se(),{sxClassName:i,sxInlineStyle:a}=X(e,s);return c.jsxs("span",{role:"presentation","aria-hidden":"true",className:j("flex h-9 w-9 items-center justify-center",i,r,n),style:L(t,a),...o,children:[c.jsx(Le,{name:"more_horiz",className:"h-4 w-4"}),c.jsx("span",{className:"sr-only",children:"More"})]})};ga.displayName="BreadcrumbEllipsis";function XC(e,t){if(typeof document>"u"||typeof window>"u")return;const r=document.getElementById(e);if(r){if(t.offset!==0){const n=r.getBoundingClientRect(),o=window.scrollY+n.top-t.offset;window.scrollTo({top:o,behavior:t.behavior});return}r.scrollIntoView({behavior:t.behavior,block:t.block,inline:t.inline})}}function rm(e){const{id:t,offset:r=0,behavior:n="smooth",block:o="start",inline:s="nearest",onNavigate:i,className:a,class:l,sx:d,style:f}=e,h=se(),{sxClassName:p,sxInlineStyle:m}=X(d,h),b=j("inline-flex w-fit p-0",p,a,l),v=L(f,m),x=()=>{XC(t,{behavior:n,block:o,inline:s,offset:r}),i?.(t)};if(e.hash===!0){const{hash:O,onClick:I,href:$,onNavigate:M,class:U,sx:D,offset:G,behavior:me,block:te,inline:J,...H}=e;return c.jsx("a",{href:$??`#${t}`,className:b,style:v,onClick:Y=>{Y.preventDefault(),x(),I?.(Y)},...H})}const{component:y,onClick:g,onKeyDown:w,hash:P,onNavigate:C,class:S,sx:N,offset:q,behavior:k,block:T,inline:E,...R}=e,A=y??"button",_=A==="button";return c.jsx(A,{className:b,style:v,type:_?"button":void 0,role:_?void 0:"button",tabIndex:_?void 0:0,onClick:O=>{x(),g?.(O)},onKeyDown:O=>{!_&&(O.key==="Enter"||O.key===" ")&&(O.preventDefault(),x()),w?.(O)},...R})}rm.displayName="Anchor";function JC(){return u.useRef(null)}const ba=u.createContext(null),Ur=u.createContext(0),ri=u.createContext(null);function nm(e){const t=u.useContext(ba);if(!t)throw new Error(`${e} must be used within Menu.`);return t}function Ac(e){const{value:t,defaultValue:r=[],onChange:n}=e,[o,s]=u.useState(r),i=t!==void 0,a=i?t:o,l=u.useCallback((d,f)=>{i||s(d),n?.(d,{key:f,keys:d})},[i,n]);return[a,l]}function Qn(e){return typeof e=="number"?`${e}px`:e}function QC(e){if(!e)return;const t={};return e.itemText&&(t["--menu-item-text"]=e.itemText),e.itemBackground&&(t["--menu-item-bg"]=e.itemBackground),e.itemHoverText&&(t["--menu-item-hover-text"]=e.itemHoverText),e.itemHoverBackground&&(t["--menu-item-hover-bg"]=e.itemHoverBackground),e.itemSelectedText&&(t["--menu-item-selected-text"]=e.itemSelectedText),e.itemSelectedBackground&&(t["--menu-item-selected-bg"]=e.itemSelectedBackground),e.itemSelectedHoverText&&(t["--menu-item-selected-hover-text"]=e.itemSelectedHoverText),e.itemDisabledText&&(t["--menu-item-disabled-text"]=e.itemDisabledText),Object.keys(t).length?t:void 0}function ZC(e,t){return e.key??e.href??t.join("-")}function eS(e){return e.key==="Enter"||e.key===" "}function cn(e){const{className:t,class:r,sx:n,style:o,...s}=e,i=u.useContext(ba),a=se(),{sxClassName:l,sxInlineStyle:d}=X(n,a),f={display:"flex",flexDirection:"column",gap:i?Qn(i.itemGap):void 0,listStyle:"none",margin:0,padding:0};return c.jsx("ul",{className:j("m-0 list-none p-0",l,t,r),style:L(f,o,d),...s})}cn.displayName="Menu.List";function xa(e){const{itemKey:t,label:r,icon:n,iconProps:o,href:s,component:i,disabled:a=!1,selected:l,unselectOnClick:d,onClick:f,onSelect:h,className:p,class:m,sx:b,style:v,children:x,...y}=e,g=nm("Menu.Item"),w=u.useContext(Ur),P=l??g.selectedKeys.includes(t),C=se(),{sxClassName:S,sxInlineStyle:N}=X(b,C),q=i??(s?"a":"button"),k=q==="button",T=E=>{if(a){E.preventDefault();return}g.selectKey(t,d),h?.(t),f?.(E)};return c.jsx("li",{role:"none",style:{listStyle:"none",margin:0},children:c.jsxs(q,{className:j("flex min-h-10 w-full items-center gap-2 rounded-md px-3 py-2 text-left text-sm leading-5 text-[color:var(--menu-item-text,#334155)] transition-colors hover:bg-[color:var(--menu-item-hover-bg,#f1f5f9)] hover:text-[color:var(--menu-item-hover-text,#0f172a)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",P&&"bg-[color:var(--menu-item-selected-bg,#e0f2fe)] text-[color:var(--menu-item-selected-text,#075985)] hover:bg-[color:var(--menu-item-selected-bg,#e0f2fe)] hover:text-[color:var(--menu-item-selected-hover-text,#075985)]",a&&"cursor-not-allowed text-[color:var(--menu-item-disabled-text,#94a3b8)] opacity-70 hover:bg-transparent",S,p,m),style:L({paddingLeft:`calc(0.75rem + ${w} * ${Qn(g.indent)})`},v,N),href:s,type:k?"button":void 0,role:"menuitem","aria-disabled":a||void 0,"aria-current":P?"page":void 0,"data-menu-item-key":t,"data-selected":P?"":void 0,disabled:k?a:void 0,onClick:T,...y,children:[n?c.jsx(Le,{name:n,size:18,className:"shrink-0",...o}):null,c.jsx("span",{className:"min-w-0 flex-1 truncate",children:r??x})]})})}xa.displayName="Menu.Item";function ya(e){const{itemKey:t,label:r,icon:n,iconProps:o,disabled:s=!1,className:i,class:a,sx:l,style:d,children:f,...h}=e,p=nm("Menu.Sub"),m=u.useContext(Ur),b=u.useContext(ri),v=p.openKeys.includes(t),x=se(),{sxClassName:y,sxInlineStyle:g}=X(l,x);return u.useEffect(()=>p.registerSub(t,b),[p,t,b]),c.jsxs("li",{className:j(y,i,a),style:L({display:"flex",flexDirection:"column",gap:Qn(p.itemGap),listStyle:"none",margin:0},d,g),...h,children:[c.jsxs("button",{type:"button",className:j("flex min-h-10 w-full items-center gap-2 rounded-md px-3 py-2 text-left text-sm leading-5 text-[color:var(--menu-item-text,#334155)] transition-colors hover:bg-[color:var(--menu-item-hover-bg,#f1f5f9)] hover:text-[color:var(--menu-item-hover-text,#0f172a)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",v&&"bg-slate-100 text-slate-950",s&&"cursor-not-allowed text-[color:var(--menu-item-disabled-text,#94a3b8)] opacity-70 hover:bg-transparent"),style:{paddingLeft:`calc(0.75rem + ${m} * ${Qn(p.indent)})`},"aria-expanded":v,"aria-disabled":s||void 0,"data-menu-sub-key":t,disabled:s,onClick:()=>{s||p.toggleOpenKey(t)},onKeyDown:w=>{!s&&eS(w)&&(w.preventDefault(),p.toggleOpenKey(t))},children:[n?c.jsx(Le,{name:n,size:18,className:"shrink-0",...o}):null,c.jsx("span",{className:"min-w-0 flex-1 truncate",children:r}),c.jsx(Le,{name:"unfold_more",size:18,className:j("shrink-0 transition-transform",v?"rotate-180":"rotate-90")})]}),v?c.jsx(Ur.Provider,{value:m+1,children:c.jsx(ri.Provider,{value:t,children:c.jsx(cn,{role:"menu","aria-label":typeof r=="string"?r:void 0,children:f})})}):null]})}ya.displayName="Menu.Sub";function wa(e){const{label:t,className:r,class:n,sx:o,style:s,children:i,...a}=e,l=u.useContext(Ur),d=se(),{sxClassName:f,sxInlineStyle:h}=X(o,d);return c.jsxs("li",{className:j("py-1",f,r,n),style:L({listStyle:"none",margin:0},s,h),...a,children:[t?c.jsx("div",{className:"px-3 py-2 text-xs font-medium uppercase text-slate-500",style:{paddingLeft:`calc(0.75rem + ${l} * 12px)`},children:t}):null,c.jsx(cn,{role:"group",children:i})]})}wa.displayName="Menu.Group";function ni(e,t=[]){return e.map((r,n)=>{const o=[...t,n],s=ZC(r,o);return r.type==="group"?c.jsx(wa,{label:r.label,...r.groupProps,children:r.children?ni(r.children,o):null},s):r.children?.length||r.type==="sub"?c.jsx(ya,{itemKey:s,label:r.label,icon:r.icon,iconProps:r.iconProps,disabled:r.disabled,...r.subProps,children:r.children?ni(r.children,o):null},s):c.jsx(xa,{itemKey:s,label:r.label,icon:r.icon,iconProps:r.iconProps,href:r.href,disabled:r.disabled,unselectOnClick:r.unselectOnClick,...r.itemProps},s)})}function om(e){const{items:t,selectedKeys:r,defaultSelectedKeys:n,onSelectedKeysChange:o,openKeys:s,defaultOpenKeys:i,onOpenKeysChange:a,multiple:l=!1,accordion:d=!1,indent:f=18,itemGap:h=4,itemColors:p,menuRef:m,children:b,listProps:v,className:x,class:y,style:g,component:w,...P}=e,[C,S]=Ac({value:r,defaultValue:n,onChange:o}),[N,q]=Ac({value:s,defaultValue:i,onChange:a}),k=u.useRef(new Map),T=u.useCallback((O,I)=>(k.current.set(O,I),()=>{k.current.delete(O)}),[]),E=u.useCallback((O,I)=>{const $=l?C.includes(O)?C.filter(M=>M!==O):[...C,O]:C.includes(O)&&I?[]:[O];S($,O)},[l,C,S]),R=u.useCallback((O,I)=>{const $=N;let M=$;if(I){if($.includes(O))return;if(d){const U=k.current.get(O)??null;M=$.filter(D=>k.current.get(D)!==U)}M=[...M,O]}else M=$.filter(U=>U!==O);q(M,O)},[d,N,q]),A=u.useCallback(O=>{R(O,!N.includes(O))},[N,R]);u.useImperativeHandle(m,()=>({select:O=>E(O),unselect:O=>S(C.filter(I=>I!==O),O),open:O=>R(O,!0),close:O=>R(O,!1),toggleOpen:A,getSelectedKeys:()=>C,getOpenKeys:()=>N}),[N,E,C,R,S,A]);const _=u.useMemo(()=>({selectedKeys:C,openKeys:N,multiple:l,accordion:d,indent:f,itemGap:h,selectKey:E,toggleOpenKey:A,registerSub:T}),[d,f,h,l,N,T,E,C,A]);return c.jsx(ba.Provider,{value:_,children:c.jsx(Ur.Provider,{value:0,children:c.jsx(ri.Provider,{value:null,children:c.jsx(Pe,{component:w??"nav",className:j("w-64 rounded-lg border border-slate-200 bg-white p-1",x,y),style:L(QC(p),g),"aria-label":"Menu",...P,children:c.jsx(cn,{role:"menu",...v,children:t?ni(t):b})})})})})}om.displayName="Menu";const tS=Object.assign(om,{Item:xa,Sub:ya,Group:wa,List:cn});var To="Tabs",[rS]=rt(To,[wo]),sm=wo(),[nS,Pa]=rS(To),im=u.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,onValueChange:o,defaultValue:s,orientation:i="horizontal",dir:a,activationMode:l="automatic",...d}=e,f=yo(a),[h,p]=yt({prop:n,onChange:o,defaultProp:s??"",caller:To});return c.jsx(nS,{scope:r,baseId:tr(),value:h,onValueChange:p,orientation:i,dir:f,activationMode:l,children:c.jsx(be.div,{dir:f,"data-orientation":i,...d,ref:t})})});im.displayName=To;var am="TabsList",lm=u.forwardRef((e,t)=>{const{__scopeTabs:r,loop:n=!0,...o}=e,s=Pa(am,r),i=sm(r);return c.jsx(tf,{asChild:!0,...i,orientation:s.orientation,dir:s.dir,loop:n,children:c.jsx(be.div,{role:"tablist","aria-orientation":s.orientation,...o,ref:t})})});lm.displayName=am;var cm="TabsTrigger",um=u.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...s}=e,i=Pa(cm,r),a=sm(r),l=hm(i.baseId,n),d=mm(i.baseId,n),f=n===i.value;return c.jsx(rf,{asChild:!0,...a,focusable:!o,active:f,children:c.jsx(be.button,{type:"button",role:"tab","aria-selected":f,"aria-controls":d,"data-state":f?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l,...s,ref:t,onMouseDown:ce(e.onMouseDown,h=>{!o&&h.button===0&&h.ctrlKey===!1?i.onValueChange(n):h.preventDefault()}),onKeyDown:ce(e.onKeyDown,h=>{[" ","Enter"].includes(h.key)&&i.onValueChange(n)}),onFocus:ce(e.onFocus,()=>{const h=i.activationMode!=="manual";!f&&!o&&h&&i.onValueChange(n)})})})});um.displayName=cm;var dm="TabsContent",fm=u.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,forceMount:o,children:s,...i}=e,a=Pa(dm,r),l=hm(a.baseId,n),d=mm(a.baseId,n),f=n===a.value,h=u.useRef(f);return u.useEffect(()=>{const p=requestAnimationFrame(()=>h.current=!1);return()=>cancelAnimationFrame(p)},[]),c.jsx(Bt,{present:o||f,children:({present:p})=>c.jsx(be.div,{"data-state":f?"active":"inactive","data-orientation":a.orientation,role:"tabpanel","aria-labelledby":l,hidden:!p,id:d,tabIndex:0,...i,ref:t,style:{...e.style,animationDuration:h.current?"0s":void 0},children:p&&s})})});fm.displayName=dm;function hm(e,t){return`${e}-trigger-${t}`}function mm(e,t){return`${e}-content-${t}`}var oS=im,pm=lm,vm=um,gm=fm;function bm(e){const{items:t,listProps:r,sx:n,style:o,className:s,class:i,children:a,...l}=e,d=se(),{sxClassName:f,sxInlineStyle:h}=X(n,d),p=Array.isArray(t)&&t.length>0;return c.jsx(oS,{className:j("w-full",f,s,i),style:L(o,h),...l,children:p?c.jsxs(c.Fragment,{children:[c.jsx(Ca,{...r,children:t.map(m=>c.jsx(Sa,{value:m.value,disabled:m.disabled,...m.triggerProps,children:m.label},m.value))}),t.map(m=>c.jsx(Na,{value:m.value,...m.contentProps,children:m.content},m.value))]}):a})}bm.displayName="Tabs";const Ca=u.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(r,i);return c.jsx(pm,{ref:s,className:j("inline-flex min-h-10 items-center gap-1 rounded-lg bg-slate-100 p-1 text-slate-600",a,e,t),style:L(n,l),...o})});Ca.displayName=pm.displayName;const Sa=u.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(r,i);return c.jsx(vm,{ref:s,className:j("inline-flex min-h-8 items-center justify-center whitespace-nowrap rounded-md px-3 py-1.5 text-sm font-medium leading-5 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-white data-[state=active]:text-blue-700 data-[state=active]:shadow-sm",a,e,t),style:L(n,l),...o})});Sa.displayName=vm.displayName;const Na=u.forwardRef(({className:e,class:t,sx:r,style:n,borderless:o=!1,...s},i)=>{const a=se(),{sxClassName:l,sxInlineStyle:d}=X(r,a);return c.jsx(gm,{ref:i,className:j("mt-3 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",!o&&"rounded-lg border border-slate-200 bg-white p-4",l,e,t),style:L(n,d),...s})});Na.displayName=gm.displayName;exports.Alert=ly;exports.Anchor=rm;exports.AutoComplete=Ud;exports.Avatar=jh;exports.AvatarFallback=ea;exports.AvatarImage=Zi;exports.Badge=$P;exports.Box=Pe;exports.Breadcrumb=tm;exports.BreadcrumbEllipsis=ga;exports.BreadcrumbItem=ha;exports.BreadcrumbLink=ma;exports.BreadcrumbList=fa;exports.BreadcrumbPage=pa;exports.BreadcrumbSeparator=va;exports.Button=Qr;exports.Card=Pt;exports.Cascader=xf;exports.Checkbox=nn;exports.CheckboxGroup=Wd;exports.Chip=Ah;exports.Col=Zh;exports.Dialog=Ev;exports.DialogClose=hi;exports.DialogContent=pi;exports.DialogDescription=xi;exports.DialogFooter=gi;exports.DialogHeader=vi;exports.DialogOverlay=mi;exports.DialogPortal=gu;exports.DialogTitle=bi;exports.DialogTrigger=fi;exports.Divider=Wh;exports.Drawer=oy;exports.Empty=zP;exports.Flex=Gh;exports.Form=Pf;exports.FormItem=Wi;exports.GhostButton=$n;exports.GhostButtonGroup=cu;exports.Grid=Ro;exports.Icon=Le;exports.Image=_h;exports.Input=xo;exports.InputNumber=Gd;exports.InputOPT=Kd;exports.Label=bo;exports.List=VP;exports.Loading=ty;exports.Menu=tS;exports.MobileCascader=mh;exports.MobileSelect=hh;exports.Modal=di;exports.NotificationProvider=Ad;exports.Pagination=na;exports.PaginationContent=oa;exports.PaginationEllipsis=aa;exports.PaginationItem=Kt;exports.PaginationLink=an;exports.PaginationNext=ia;exports.PaginationPrevious=sa;exports.Popover=fd;exports.PopoverAnchor=gx;exports.PopoverClose=hd;exports.PopoverContent=Mi;exports.PopoverTrigger=Oi;exports.Progress=dy;exports.QRCode=gC;exports.QRCodeBase=xC;exports.QRCodeCanvas=Dh;exports.QRCodeSizable=Bh;exports.Radio=Vi;exports.RadioGroup=vf;exports.Rate=gf;exports.Required=$0;exports.Row=Qh;exports.SafeArea=jo;exports.SafeAreaBottom=Uh;exports.SafeAreaTop=Kh;exports.Select=Zf;exports.SelectContent=nh;exports.SelectGroup=eh;exports.SelectItem=Yn;exports.SelectItems=Gw;exports.SelectLabel=Yi;exports.SelectScrollDownButton=Ui;exports.SelectScrollUpButton=Ki;exports.SelectSeparator=Xi;exports.SelectTrigger=rh;exports.SelectValue=Vw;exports.Skeleton=ln;exports.SkeletonAvatar=ua;exports.SkeletonButton=zh;exports.SkeletonCard=Hh;exports.SkeletonText=ca;exports.Slider=yf;exports.Space=da;exports.Spin=_d;exports.Switch=ch;exports.SxProvider=fp;exports.Table=zt;exports.Tabs=bm;exports.TabsContent=Na;exports.TabsList=Ca;exports.TabsTrigger=Sa;exports.ToastProvider=hu;exports.Tooltip=$x;exports.TooltipArrow=Bi;exports.TooltipContent=Ed;exports.TooltipPortal=Vx;exports.TooltipProvider=Fx;exports.TooltipTrigger=kd;exports.Typography=UC;exports.Uploader=ow;exports.buttonVariants=Dc;exports.chipVariants=Th;exports.createTheme=hp;exports.getRegisteredIconNames=pv;exports.mergeSxStyle=L;exports.notification=Wx;exports.registerIconLoaders=fv;exports.resetIconLoaders=mv;exports.resolveSx=X;exports.setIconLoaders=hv;exports.toast=Nv;exports.useForm=zi;exports.useFormInstance=Hi;exports.useFormValue=So;exports.useFormWatch=wf;exports.useInputNumberState=By;exports.useInputValue=Oy;exports.useMenuRef=JC;exports.useNotification=Qx;exports.useSxTheme=se;exports.useToast=Sv;
|
|
47
|
+
`);const R=w(N,q,A),I=e.getSymbolSize(N),T=new n(I);return v(T,N),b(T),h(T,N),y(T,q,0),N>=7&&x(T,N),g(T,R),isNaN(k)&&(k=i.getBestMask(T,y.bind(null,T,q))),i.applyMask(k,T),y(T,q,k),{modules:T,version:N,errorCorrectionLevel:q,maskPattern:k,segments:A}}return ss.create=function(N,q){if(typeof N>"u"||N==="")throw new Error("No input text");let k=t.M,A,E;return typeof q<"u"&&(k=t.from(q.errorCorrectionLevel,t.M),A=d.from(q.version),E=i.from(q.maskPattern),q.toSJISFunc&&e.setToSJISFunction(q.toSJISFunc)),C(N,A,k,E)},ss}var Ss={},Ns={},wc;function Vm(){return wc||(wc=1,(function(e){function t(r){if(typeof r=="number"&&(r=r.toString()),typeof r!="string")throw new Error("Color should be defined as hex string");let n=r.slice().replace("#","").split("");if(n.length<3||n.length===5||n.length>8)throw new Error("Invalid hex color: "+r);(n.length===3||n.length===4)&&(n=Array.prototype.concat.apply([],n.map(function(s){return[s,s]}))),n.length===6&&n.push("F","F");const o=parseInt(n.join(""),16);return{r:o>>24&255,g:o>>16&255,b:o>>8&255,a:o&255,hex:"#"+n.slice(0,6).join("")}}e.getOptions=function(n){n||(n={}),n.color||(n.color={});const o=typeof n.margin>"u"||n.margin===null||n.margin<0?4:n.margin,s=n.width&&n.width>=21?n.width:void 0,i=n.scale||4;return{width:s,scale:s?4:i,margin:o,color:{dark:t(n.color.dark||"#000000ff"),light:t(n.color.light||"#ffffffff")},type:n.type,rendererOpts:n.rendererOpts||{}}},e.getScale=function(n,o){return o.width&&o.width>=n+o.margin*2?o.width/(n+o.margin*2):o.scale},e.getImageWidth=function(n,o){const s=e.getScale(n,o);return Math.floor((n+o.margin*2)*s)},e.qrToImageData=function(n,o,s){const i=o.modules.size,a=o.modules.data,l=e.getScale(i,s),d=Math.floor((i+s.margin*2)*l),f=s.margin*l,m=[s.color.light,s.color.dark];for(let p=0;p<d;p++)for(let v=0;v<d;v++){let b=(p*d+v)*4,h=s.color.light;if(p>=f&&v>=f&&p<d-f&&v<d-f){const x=Math.floor((p-f)/l),y=Math.floor((v-f)/l);h=m[a[x*i+y]?1:0]}n[b++]=h.r,n[b++]=h.g,n[b++]=h.b,n[b]=h.a}}})(Ns)),Ns}var Pc;function qC(){return Pc||(Pc=1,(function(e){const t=Vm();function r(o,s,i){o.clearRect(0,0,s.width,s.height),s.style||(s.style={}),s.height=i,s.width=i,s.style.height=i+"px",s.style.width=i+"px"}function n(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(s,i,a){let l=a,d=i;typeof l>"u"&&(!i||!i.getContext)&&(l=i,i=void 0),i||(d=n()),l=t.getOptions(l);const f=t.getImageWidth(s.modules.size,l),m=d.getContext("2d"),p=m.createImageData(f,f);return t.qrToImageData(p.data,s,l),r(m,d,f),m.putImageData(p,0,0),d},e.renderToDataURL=function(s,i,a){let l=a;typeof l>"u"&&(!i||!i.getContext)&&(l=i,i=void 0),l||(l={});const d=e.render(s,i,l),f=l.type||"image/png",m=l.rendererOpts||{};return d.toDataURL(f,m.quality)}})(Ss)),Ss}var qs={},Cc;function kC(){if(Cc)return qs;Cc=1;const e=Vm();function t(o,s){const i=o.a/255,a=s+'="'+o.hex+'"';return i<1?a+" "+s+'-opacity="'+i.toFixed(2).slice(1)+'"':a}function r(o,s,i){let a=o+s;return typeof i<"u"&&(a+=" "+i),a}function n(o,s,i){let a="",l=0,d=!1,f=0;for(let m=0;m<o.length;m++){const p=Math.floor(m%s),v=Math.floor(m/s);!p&&!d&&(d=!0),o[m]?(f++,m>0&&p>0&&o[m-1]||(a+=d?r("M",p+i,.5+v+i):r("m",l,0),l=0,d=!1),p+1<s&&o[m+1]||(a+=r("h",f),f=0)):l++}return a}return qs.render=function(s,i,a){const l=e.getOptions(i),d=s.modules.size,f=s.modules.data,m=d+l.margin*2,p=l.color.light.a?"<path "+t(l.color.light,"fill")+' d="M0 0h'+m+"v"+m+'H0z"/>':"",v="<path "+t(l.color.dark,"stroke")+' d="'+n(f,d,l.margin)+'"/>',b='viewBox="0 0 '+m+" "+m+'"',x='<svg xmlns="http://www.w3.org/2000/svg" '+(l.width?'width="'+l.width+'" height="'+l.width+'" ':"")+b+' shape-rendering="crispEdges">'+p+v+`</svg>
|
|
48
|
+
`;return typeof a=="function"&&a(null,x),x},qs}var Sc;function EC(){if(Sc)return dr;Sc=1;const e=lC(),t=NC(),r=qC(),n=kC();function o(s,i,a,l,d){const f=[].slice.call(arguments,1),m=f.length,p=typeof f[m-1]=="function";if(!p&&!e())throw new Error("Callback required as last argument");if(p){if(m<2)throw new Error("Too few arguments provided");m===2?(d=a,a=i,i=l=void 0):m===3&&(i.getContext&&typeof d>"u"?(d=l,l=void 0):(d=l,l=a,a=i,i=void 0))}else{if(m<1)throw new Error("Too few arguments provided");return m===1?(a=i,i=l=void 0):m===2&&!i.getContext&&(l=a,a=i,i=void 0),new Promise(function(v,b){try{const h=t.create(a,l);v(s(h,i,l))}catch(h){b(h)}})}try{const v=t.create(a,l);d(null,s(v,i,l))}catch(v){d(v)}}return dr.create=t.create,dr.toCanvas=o.bind(null,r.render),dr.toDataURL=o.bind(null,r.renderToDataURL),dr.toString=o.bind(null,function(s,i,a){return n.render(s,a)}),dr}var RC=EC();const oa=FP(RC),zm=({value:e,useful:t=!0,uselessElem:r,uselessProps:{style:n={},...o}={},foregroundColor:s="#000000",backgroundColor:i="#ffffff",margin:a=4,errorCorrectionLevel:l="medium",size:d=200,fullWidth:f,sx:m,className:p,style:v,...b})=>{const h=je.useRef(null),x=je.useRef(null),y=se(),{sxClassName:g,sxInlineStyle:w}=X(m,y),P=je.useCallback(C=>{const S=h.current;S&&oa.toCanvas(S,e,{errorCorrectionLevel:l,margin:a,width:C,color:{dark:s,light:i}},N=>{if(N&&console.error(N),!t){const q=S.getContext("2d");q&&(q.globalCompositeOperation="source-over",q.fillStyle="rgba(255, 255, 255, 0.5)",q.fillRect(0,0,S.width,S.height),q.filter="grayscale(100%) opacity(0.5)",q.drawImage(S,0,0))}})},[i,l,s,a,t,e]);return je.useEffect(()=>{const C=x.current;if(!C)return;const S=new ResizeObserver(()=>{const N=Math.min(C.clientWidth,C.clientHeight);P(N)});return S.observe(C),()=>S.disconnect()},[e,t,s,i,a,l,P]),c.jsxs("div",{ref:x,className:j(g,p),style:L(v,{width:f?"100%":d,height:f?"100%":d,display:"flex",aspectRatio:"1",position:"relative"},w),...b,children:[c.jsx("canvas",{ref:h}),!t&&r&&c.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",color:"white",background:"radial-gradient(circle at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0.3) 80%)",opacity:.5,...n},...o,children:r})]})},jC=e=>e?{width:e,height:e}:{},Hm=({size:e=200,fullWidth:t,sx:r,value:n,useful:o=!0,uselessElem:s,uselessProps:{style:i={},...a}={},alt:l,style:d,className:f,foregroundColor:m,backgroundColor:p,margin:v=4,errorCorrectionLevel:b,unload:h,width:x,height:y,...g})=>{const[w,P]=je.useState(""),[C,S]=je.useState(),N=je.useRef(null),q=se(),{sxClassName:k,sxInlineStyle:A}=X(r,q);return je.useEffect(()=>{if(!t)return;const E=N.current;if(!E)return;const R=()=>{S(Math.min(E.clientWidth,E.clientHeight))};R();const I=new ResizeObserver(R);return I.observe(E),()=>I.disconnect()},[t]),je.useEffect(()=>{const E=t?C:x?Ut.getInstance().convertToPx(x):e?Ut.getInstance().convertToPx(e):void 0;oa.toDataURL(n,{color:{dark:m,light:p},width:E,margin:v,errorCorrectionLevel:b}).then(R=>P(R)).catch(R=>console.error(R))},[p,b,m,v,t,C,x,e,n]),w?c.jsxs("div",{ref:N,style:{width:t?"100%":e,height:t?"100%":e,display:"flex",aspectRatio:"1",position:"relative"},children:[c.jsx("img",{src:w,alt:l??"QR Code",className:j(k,f),style:L({filter:o?"none":"grayscale(100%) opacity(0.5)",transition:"filter 0.2s ease",position:"relative",...t?{width:"100%",height:"100%"}:jC(e)},d,A),...!t&&{width:x,height:y},...g}),!o&&s&&c.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",color:"white",background:"radial-gradient(circle at center, rgba(0,0,0,1) 0%, rgba(0,0,0,0.3) 80%)",opacity:.5,...i},...a,children:s})]}):c.jsx(c.Fragment,{children:h})};function AC({canvas:e,...t}){return e?c.jsx(zm,{...t}):c.jsx(Hm,{...t})}const IC=e=>e?{width:e,height:e}:{},TC=({size:e,value:t,useful:r=!0,alt:n,style:o,foregroundColor:s,backgroundColor:i,margin:a,errorCorrectionLevel:l,unload:d,...f})=>{const[m,p]=je.useState("");return je.useEffect(()=>{oa.toDataURL(t,{color:{dark:s,light:i},width:e,margin:a,errorCorrectionLevel:l}).then(v=>p(v)).catch(v=>console.error(v))},[i,l,s,a,e,t]),m?c.jsx("img",{src:m,alt:n??"QR Code",style:{filter:r?"none":"grayscale(100%) opacity(0.5)",transition:"filter 0.2s ease",...IC(e),...o},...f}):c.jsx(c.Fragment,{children:d})},Jt={sm:"px-3 py-2 text-xs",md:"px-4 py-3 text-sm",lg:"px-5 py-4 text-base"},_C={outlined:"border border-slate-200 bg-white",filled:"border border-slate-100 bg-slate-50",ghost:"border border-transparent bg-transparent"};function Wm(e){return null}function Gm(e){const{className:t,...r}=e;return c.jsx(Pe,{component:"thead",className:j("bg-slate-50",t),...r})}function Km(e){return c.jsx(Pe,{component:"tbody",...e})}function Qn(e){const{className:t,...r}=e;return c.jsx(Pe,{component:"tr",className:j("border-b border-slate-100 last:border-b-0",t),...r})}function Bn(e){const{className:t,style:r,...n}=e;return c.jsx(Pe,{component:"th",scope:"col",className:j("whitespace-nowrap font-medium text-slate-700",t),style:L({textAlign:"left"},r),...n})}function $r(e){const{className:t,style:r,...n}=e;return c.jsx(Pe,{component:"td",className:j("text-slate-700",t),style:L({textAlign:"left"},r),...n})}const ks="ellipsis";function Es(e,t){return Number.isFinite(e)?Math.min(Math.max(Math.trunc(e),1),t):1}function Rs(e,t){const r=Math.max(t-e+1,0);return Array.from({length:r},(n,o)=>e+o)}function OC(e){const{count:t,page:r,defaultPage:n=1}=e,[o,s]=u.useState(()=>Es(n,t)),i=r!==void 0,a=Es(i?r:o,t);return u.useEffect(()=>{i||s(l=>Es(l,t))},[t,i]),{page:a,setPage:s,isControlled:i}}function MC(e){const{count:t,page:r,siblingCount:n,boundaryCount:o,showPreviousNext:s,disabled:i}=e,a=Rs(1,Math.min(o,t)),l=Rs(Math.max(t-o+1,o+1),t),d=Math.max(Math.min(r-n,t-o-n*2-1),o+2),f=Math.min(Math.max(r+n,o+n*2+2),l.length>0?l[0]-2:t-1),p=[...a,...d>o+2?[ks]:o+1<t-o?[o+1]:[],...Rs(d,f),...f<t-o-1?[ks]:t-o>o?[t-o]:[],...l].map(v=>v===ks?{type:"ellipsis",page:null,selected:!1,disabled:!0}:{type:"page",page:v,selected:v===r,disabled:i});return s?[{type:"previous",page:Math.max(r-1,1),selected:!1,disabled:i||r<=1},...p,{type:"next",page:Math.min(r+1,t),selected:!1,disabled:i||r>=t}]:p}const sa=({count:e,page:t,defaultPage:r,onPageChange:n,siblingCount:o=1,boundaryCount:s=1,variant:i="filled",showPreviousNext:a=!0,disabled:l=!1,getItemHref:d,renderItem:f,contentProps:m,className:p,class:v,sx:b,style:h,children:x,...y})=>{const g=se(),{sxClassName:w,sxInlineStyle:P}=X(b,g),C=typeof e=="number"&&e>0,{page:S,setPage:N,isControlled:q}=OC({count:C?e:1,page:t,defaultPage:r}),k=C?MC({count:e,page:S,siblingCount:Math.max(Math.trunc(o),0),boundaryCount:Math.max(Math.trunc(s),0),showPreviousNext:a,disabled:l}):[],A=(E,R,I)=>{if(I){E.preventDefault();return}E.preventDefault(),q||N(R),n?.(E,R)};return c.jsx("nav",{role:"navigation","aria-label":"分页",className:j("mx-auto flex w-full justify-center",w,p,v),style:L(h,P),...y,children:C?c.jsx(ia,{...m,children:k.map((E,R)=>{const I=`${E.type}-${E.page??R}`,T=E.page===null?void 0:d?.(E.page,E.type)??`#page-${E.page}`,O=E.page===null?void 0:$=>A($,E.page,E.disabled),_={...E,href:T,onClick:O};return f?c.jsx(Kt,{children:f(_)},I):E.type==="ellipsis"?c.jsx(Kt,{children:c.jsx(ca,{})},I):E.type==="previous"?c.jsx(Kt,{children:c.jsx(aa,{href:T,variant:i,disabled:E.disabled,onClick:O})},I):E.type==="next"?c.jsx(Kt,{children:c.jsx(la,{href:T,variant:i,disabled:E.disabled,onClick:O})},I):c.jsx(Kt,{children:c.jsx(cn,{href:T,variant:i,isActive:E.selected,disabled:E.disabled,onClick:O,children:E.page})},I)})}):x})};sa.displayName="Pagination";const ia=u.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(r,i),d={listStyle:"none",margin:0,padding:0};return c.jsx("ul",{ref:s,className:j("m-0 flex list-none flex-row items-center gap-1 p-0",a,e,t),style:L(d,n,l),...o})});ia.displayName="PaginationContent";const Kt=u.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(r,i);return c.jsx("li",{ref:s,className:j(a,e,t),style:L({listStyle:"none",margin:0},n,l),...o})});Kt.displayName="PaginationItem";function LC(e,t){return t?e==="filled"?"primary":"outline":"ghost"}const cn=({className:e,class:t,isActive:r,disabled:n,variant:o="outline",size:s="icon",tabIndex:i,...a})=>c.jsx(en,{component:"a","aria-current":r?"page":void 0,"aria-disabled":n?!0:void 0,variant:LC(o,r),size:s,tabIndex:n?-1:i,className:j(n&&"pointer-events-none opacity-50",r&&o==="filled"&&"!text-white hover:!text-white",e,t),...a});cn.displayName="PaginationLink";const aa=({className:e,children:t,...r})=>c.jsx(cn,{"aria-label":"上一页",size:"md",className:j("gap-1 pl-2.5",e),...r,children:t??c.jsxs(c.Fragment,{children:[c.jsx(Le,{name:"chevron_left",size:16}),c.jsx("span",{children:"上一页"})]})});aa.displayName="PaginationPrevious";const la=({className:e,children:t,...r})=>c.jsx(cn,{"aria-label":"下一页",size:"md",className:j("gap-1 pr-2.5",e),...r,children:t??c.jsxs(c.Fragment,{children:[c.jsx("span",{children:"下一页"}),c.jsx(Le,{name:"chevron_right",size:16})]})});la.displayName="PaginationNext";const ca=({className:e,class:t,sx:r,style:n,...o})=>{const s=se(),{sxClassName:i,sxInlineStyle:a}=X(r,s);return c.jsxs("span",{"aria-hidden":!0,className:j("flex h-8 w-8 items-center justify-center",i,e,t),style:L(n,a),...o,children:[c.jsx(Le,{name:"more_horiz",size:16}),c.jsx("span",{className:"sr-only",children:"更多页码"})]})};ca.displayName="PaginationEllipsis";function Yr(e){return typeof e=="number"?`${e}px`:e}function DC(e,t){if(t)return e[String(t)]}function ua(e,t){return e.key!==void 0?e.key:e.dataIndex!==void 0?String(e.dataIndex):t}function Nc(e,t,r){if(typeof r=="function")return r(e,t);if(r){const o=e[String(r)];if(typeof o=="string"||typeof o=="number"||typeof o=="bigint")return o}const n=e.key;return typeof n=="string"||typeof n=="number"||typeof n=="bigint"?n:t}function BC(e){const t=e[0];return t?Object.keys(t).map(r=>({key:r,dataIndex:r,title:r})):[]}function FC(e){return u.isValidElement(e)&&e.type===Wm}function $C(e){const t=[],r=[];return u.Children.forEach(e,n=>{if(FC(n)){t.push(n.props);return}r.push(n)}),{childColumns:t,restChildren:r}}function VC(e){const{selectedRowKeys:t,defaultSelectedRowKeys:r=[]}=e,[n,o]=u.useState(r),s=t!==void 0;return{selectedKeys:s?t:n,setSelectedKeys:o,isControlled:s}}function zC(e){const{selectionEnabled:t,size:r,allChecked:n,partiallyChecked:o,selectableKeysLength:s,onToggleCurrentPage:i,indexColumn:a,visibleColumns:l}=e;return c.jsxs(Qn,{className:"border-b border-slate-200",children:[t?c.jsx(Bn,{className:j(Jt[r],"w-12 text-center"),style:{textAlign:"center"},children:c.jsx(sn,{"aria-label":"选择当前页",checked:o?"indeterminate":n,disabled:!s,onCheckedChange:d=>i(d===!0)})}):null,a?c.jsx(Bn,{className:j(Jt[r],"text-slate-600"),style:{width:Yr(typeof a=="object"?a.width:64),textAlign:"center"},children:typeof a=="object"?a.title??"#":"#"}):null,l.map((d,f)=>c.jsx(Bn,{sx:d.headerSx,className:j(Jt[r],d.headerClassName),style:{width:Yr(d.width),textAlign:d.headerAlign??d.align??"left"},children:d.title??String(d.dataIndex??"")},ua(d,f)))]})}function HC(e){const{bodyProps:t,currentRowMeta:r,selectedSet:n,rowProps:o,size:s,striped:i,hoverable:a,selectionEnabled:l,onToggleRow:d,indexColumn:f,visibleColumns:m,empty:p,tableColumnCount:v}=e,b=r.length>0;return c.jsx(Km,{...t,children:b?r.map(({record:h,index:x,absoluteIndex:y,key:g,disabled:w})=>{const P=n.has(g),C=typeof o=="function"?o(h,y):o;return c.jsxs(Qn,{...C,"data-selected":P?"":void 0,className:j(i&&x%2===1&&"bg-slate-50/70",a&&"transition-colors hover:bg-blue-50/50",P&&"bg-blue-50",C?.className),children:[l?c.jsx($r,{className:j(Jt[s],"w-12 text-center"),style:{textAlign:"center"},children:c.jsx(sn,{"aria-label":`选择第 ${y+1} 行`,checked:P,disabled:w,onCheckedChange:S=>d(g,S===!0)})}):null,f?c.jsx($r,{className:j(Jt[s],"text-slate-500"),style:{textAlign:"center"},children:y+1}):null,m.map((S,N)=>{const q=DC(h,S.dataIndex);return c.jsx($r,{sx:S.sx,className:j(Jt[s],S.className),style:{width:Yr(S.width),textAlign:S.align??"left"},children:S.render?S.render(q,h,y):q},ua(S,N))})]},g)}):c.jsx(Qn,{children:c.jsx($r,{className:j(Jt[s],"text-center text-slate-500"),colSpan:Math.max(v,1),style:{textAlign:"center"},children:p})})})}function WC(e){const{pageCount:t,currentPage:r,justifyClassName:n,onPageChange:o}=e;return t<=1?null:c.jsx(Pe,{className:j("flex border-t border-slate-100 p-3",n),children:c.jsx(sa,{count:t,page:r,onPageChange:o})})}function GC(e){const{columns:t,dataSource:r=[],rowKey:n="id",size:o="md",variant:s="outlined",striped:i=!1,bordered:a=!1,hoverable:l=!0,stickyHeader:d=!1,loading:f=!1,empty:m="暂无数据",caption:p,indexColumn:v=!1,rowSelection:b,pagination:h,tableProps:x,headProps:y,bodyProps:g,rowProps:w,className:P,children:C,rounded:S="lg",...N}=e,{childColumns:q,restChildren:k}=$C(C),E=(t??(q.length?q:BC(r))).filter(ie=>!ie.hidden),R=h===!1?r.length||1:h?.pageSize??(r.length||1),I=h===!1?r.length:h?.total??r.length,T=Math.max(Math.ceil(I/R),1),[O,_]=u.useState(h===!1?1:h?.defaultPage??1),$=h===!1?1:h?.page??O,M=($-1)*R,U=h===!1?r:r.slice(M,M+R),D=!!b,{selectedKeys:G,setSelectedKeys:he,isControlled:te}=VC({selectedRowKeys:b?.selectedRowKeys,defaultSelectedRowKeys:b?.defaultSelectedRowKeys}),J=U.map((ie,ye)=>{const Se=M+ye,_e=Nc(ie,Se,n),oe=b?.getCheckboxProps?.(ie,Se);return{record:ie,index:ye,absoluteIndex:Se,key:_e,disabled:!!oe?.disabled}}),H=J.filter(ie=>!ie.disabled).map(ie=>ie.key),Y=new Set(G),B=H.filter(ie=>Y.has(ie)).length,Q=H.length>0&&B===H.length,z=B>0&&!Q,K=h!==!1&&h?.position==="left"?"justify-start":h!==!1&&h?.position==="center"?"justify-center":"justify-end",W=E.length+(D?1:0)+(v?1:0),Z=Yr(typeof v=="object"?v.width:64);function ae(ie){te||he(ie);const ye=new Set(ie);b?.onChange?.(ie,r.filter((Se,_e)=>ye.has(Nc(Se,_e,n))))}function ue(ie,ye){const Se=new Set(G);ye?Se.add(ie):Se.delete(ie),ae(Array.from(Se))}function pe(ie){const ye=new Set(G);H.forEach(Se=>{ie?ye.add(Se):ye.delete(Se)}),ae(Array.from(ye))}function ve(ie,ye){h!==!1&&h?.page===void 0&&_(ye),h!==!1&&h?.onPageChange?.(ye,R)}return c.jsxs(Pe,{rounded:S,loading:f,className:j("table-root w-full overflow-hidden",_C[s],P),...N,children:[c.jsx(Pe,{className:"table-scroll w-full overflow-x-auto",children:c.jsxs(Pe,{component:"table",...x,className:j("table w-full table-fixed border-collapse text-left",a&&"[&_td]:border-r [&_td]:border-slate-100 [&_td:last-child]:border-r-0 [&_th]:border-r [&_th]:border-slate-100 [&_th:last-child]:border-r-0",x?.className),style:L({borderCollapse:"collapse",display:"table",tableLayout:"fixed",width:"100%"},x?.style),children:[W>0?c.jsxs("colgroup",{children:[D?c.jsx("col",{style:{width:48}}):null,v?c.jsx("col",{style:{width:Z}}):null,E.map((ie,ye)=>c.jsx("col",{style:{width:Yr(ie.width)}},ua(ie,ye)))]}):null,p?c.jsx("caption",{className:"px-4 py-3 text-left text-sm text-slate-600",children:p}):null,c.jsx(Gm,{...y,className:j(d&&"sticky top-0 z-10",y?.className),children:c.jsx(zC,{selectionEnabled:D,size:o,allChecked:Q,partiallyChecked:z,selectableKeysLength:H.length,onToggleCurrentPage:pe,indexColumn:v,visibleColumns:E})}),c.jsx(HC,{bodyProps:g,currentRowMeta:J,selectedSet:Y,rowProps:w,size:o,striped:i,hoverable:l,selectionEnabled:D,onToggleRow:ue,indexColumn:v,visibleColumns:E,empty:m,tableColumnCount:W})]})}),h!==!1&&T>1?c.jsx(WC,{pageCount:T,currentPage:$,justifyClassName:K,onPageChange:ve}):null,k]})}const zt=Object.assign(GC,{Column:Wm,Head:Gm,Body:Km,Row:Qn,Cell:$r,HeaderCell:Bn});zt.displayName="Table";zt.Column.displayName="Table.Column";zt.Head.displayName="Table.Head";zt.Body.displayName="Table.Body";zt.Row.displayName="Table.Row";zt.Cell.displayName="Table.Cell";zt.HeaderCell.displayName="Table.HeaderCell";const KC={text:"origin-left rounded-sm",rect:"",circle:"rounded-full"};function vt(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function UC(e,t,r){return e==="circle"?{width:vt(t??r??40),height:vt(r??t??40)}:e==="text"?{width:vt(t??"100%"),height:vt(r??"1em")}:{width:vt(t),height:vt(r)}}function YC(e,t,r,n){return r?.[e]!==void 0?r[e]:t>1&&e===t-1?"68%":n??"100%"}function un(e){const{className:t,class:r,sx:n,style:o,rounded:s,width:i,height:a,inline:l=!1,animated:d=!0,variant:f="rect",role:m,...p}=e,v=se(),{roundedPreset:b,roundedStyle:h}=tr(s??(f==="circle"?"full":f==="rect"?"md":"sm")),{sxClassName:x,sxInlineStyle:y}=X(n,v),g=UC(f,i,a);return c.jsx("div",{role:m??"status","aria-live":"polite","aria-label":e["aria-label"]??"Loading",className:j("skeleton bg-gray-200",l?"inline-block align-middle":"block",d&&"animate-pulse",KC[f],b&&Mt[b],x,t,r),style:L(o,g,h,y),...p})}function da(e){const{rows:t=3,rowHeight:r="0.875rem",gap:n=8,widths:o,width:s,sx:i,style:a,className:l,class:d,rounded:f,animated:m,inline:p=!1,...v}=e,b=se(),{sxClassName:h,sxInlineStyle:x}=X(i,b),y=Math.max(1,Math.floor(t));return c.jsx("div",{className:j("skeleton-text flex-col",p?"inline-flex align-middle":"flex",h,l,d),style:L(a,{gap:vt(n),width:vt(s)},x),...v,children:Array.from({length:y}).map((g,w)=>c.jsx(un,{...v,animated:m,rounded:f,variant:"text",width:YC(w,y,o,s),height:r},w))})}function fa(e){const{size:t=40,...r}=e;return c.jsx(un,{...r,variant:"circle",width:t,height:t})}function Um(e){const{width:t=96,height:r=36,rounded:n="md",...o}=e;return c.jsx(un,{...o,variant:"rect",width:t,height:r,rounded:n})}function Ym(e){const{showAvatar:t=!0,rows:r=3,width:n,animated:o=!0,rounded:s="lg",className:i,class:a,style:l,sx:d,...f}=e,m=se(),{roundedPreset:p,roundedStyle:v}=tr(s),{sxClassName:b,sxInlineStyle:h}=X(d,m);return c.jsx("div",{className:j("skeleton-card border border-gray-200 bg-white p-4",p&&Mt[p],b,i,a),style:L(l,{width:vt(n)},v,h),...f,children:c.jsxs("div",{className:"flex items-start gap-3",children:[t?c.jsx(fa,{animated:o,size:40}):null,c.jsx("div",{className:"min-w-0 flex-1",children:c.jsx(da,{animated:o,rows:r,widths:["56%","100%","76%"]})})]})})}un.displayName="Skeleton";da.displayName="SkeletonText";fa.displayName="SkeletonAvatar";Um.displayName="SkeletonButton";Ym.displayName="SkeletonCard";const qc={full:"",middle:"px-4",inset:"pl-4"},XC={full:"",middle:"py-4",inset:"pt-4"};function Xm(e){const{vertical:t=!1,variant:r="full",align:n="center",type:o="solid",color:s="text-gray-200",sx:i,children:a,className:l,style:d,...f}=e,m=se(),{sxClassName:p,sxInlineStyle:v}=X(i,m),b=L(d,v);if(t)return c.jsx("div",{role:"separator","aria-orientation":"vertical",className:j("inline-flex min-h-6 self-stretch items-stretch text-gray-200",XC[r],p,l),style:b,...f,children:c.jsx("span",{"aria-hidden":!0,className:j("border-l border-current",s),style:{borderStyle:o}})});const h=a!=null,x=n==="left"?"w-8 flex-none":"flex-1",y=n==="right"?"w-8 flex-none":"flex-1";return h?c.jsxs("div",{role:"separator","aria-orientation":"horizontal",className:j("flex w-full items-center text-gray-200",qc[r],p,l),style:b,...f,children:[c.jsx("span",{"aria-hidden":!0,className:j(x,"border-t border-current",s),style:{borderStyle:o}}),c.jsx("span",{className:"shrink-0 px-3 text-gray-500",children:a}),c.jsx("span",{"aria-hidden":!0,className:j(y,"border-t border-current",s),style:{borderStyle:o}})]}):c.jsx("div",{role:"separator","aria-orientation":"horizontal",className:j("w-full text-gray-200",qc[r],p,l),style:b,...f,children:c.jsx("span",{"aria-hidden":!0,className:j("block w-full border-t border-current",s),style:{borderStyle:o}})})}Xm.displayName="Divider";const kc={xs:"gap-1",sm:"gap-2",md:"gap-3",lg:"gap-4",xl:"gap-6"};function JC(e){return e==="col"?"column":e==="col-reverse"?"column-reverse":e}function QC(e){return typeof e=="boolean"?e?"wrap":"nowrap":e}function Ec(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function ZC(e){return typeof e=="number"?{gapStyle:`${e}px`}:typeof e=="string"&&e in kc?{gapClass:kc[e]}:{gapStyle:e}}function Jm(e){const{direction:t="row",justify:r,items:n,flex:o,wrap:s="nowrap",gap:i="md",width:a,height:l,sx:d,className:f,style:m,...p}=e,{gapClass:v,gapStyle:b}=ZC(i),h={flexDirection:JC(t),justifyContent:r,alignItems:n,flexWrap:QC(s),flex:o,gap:b,width:Ec(a),height:Ec(l)};return c.jsx(Pe,{className:j("flex",v,f),style:L(m,h),sx:d,...p})}Jm.displayName="Flex";function Rc(e){if(e!==void 0)return typeof e=="number"?`${e*8}px`:e}function eS(e){return!e||Number.isNaN(e)||e<=0?12:e}function tS(e){return typeof e=="boolean"?e?"wrap":"nowrap":e}function rS(e){return e==="grow"?{flexBasis:0,flexGrow:1,maxWidth:"100%"}:{flexBasis:`calc(100% * ${e} / var(--ldkj-grid-columns, 12))`,maxWidth:`calc(100% * ${e} / var(--ldkj-grid-columns, 12))`,flexGrow:0}}function nS(e){return e==="auto"?{marginLeft:"auto"}:{marginLeft:`calc(100% * ${e} / var(--ldkj-grid-columns, 12))`}}function jo(e){const{container:t=!1,size:r,offset:n,columns:o,spacing:s,rowSpacing:i,columnSpacing:a,wrap:l="wrap",direction:d="row",sx:f,className:m,style:p,...v}=e,b=eS(o),h=Rc(i??s),x=Rc(a??s),y={};return t?(y.display="flex",y.flexWrap=tS(l),y.flexDirection=d,y.rowGap=h,y.columnGap=x,y["--ldkj-grid-columns"]=String(b)):o!==void 0&&(y["--ldkj-grid-columns"]=String(b)),r!==void 0&&Object.assign(y,rS(r)),n!==void 0&&Object.assign(y,nS(n)),c.jsx(Pe,{className:j("min-w-0",m),style:L(p,y),sx:f,...v})}jo.displayName="Grid";function oS(e,t){return{paddingTop:e==="top"||e==="both"?"env(safe-area-inset-top, 0px)":void 0,paddingBottom:e==="bottom"||e==="both"?"env(safe-area-inset-bottom, 0px)":void 0,paddingLeft:t?"env(safe-area-inset-left, 0px)":void 0,paddingRight:t?"env(safe-area-inset-right, 0px)":void 0}}function Ao(e){const{component:t,position:r="both",horizontal:n=!1,sx:o,className:s,style:i,children:a,...l}=e,d=oS(r,n);return c.jsx(Pe,{component:t,className:j("box-border",s),style:L(i,d),sx:o,...l,children:a})}function Qm(e){return c.jsx(Ao,{...e,position:"top"})}function Zm(e){return c.jsx(Ao,{...e,position:"bottom"})}Ao.displayName="SafeArea";Qm.displayName="SafeAreaTop";Zm.displayName="SafeAreaBottom";const jc={sm:640,md:768,lg:1024,xl:1280},Ac={xs:"0.25rem",sm:"0.5rem",md:"0.75rem",lg:"1rem",xl:"1.5rem"},eh=Symbol("ldkj-space-item"),yr=(e=>{const{className:t,class:r,style:n,sx:o,flex:s,grow:i,shrink:a,basis:l,order:d,alignSelf:f,children:m,...p}=e;return c.jsx(Pe,{className:[t,r].filter(Boolean).join(" "),style:L(n,{flex:s,flexGrow:i,flexShrink:a,flexBasis:l,order:d,alignSelf:f}),sx:o,...p,children:m})});yr.displayName="SpaceItem";yr[eh]=!0;function th(e){return typeof e!="object"||e===null||Array.isArray(e)?!1:Object.keys(e).some(r=>["xs","sm","md","lg","xl"].includes(r))}function Or(e){if(e!==void 0)return th(e)?e.xs:e}function Mr(e,t){if(e===void 0||!th(e))return;const r={};return Object.keys(jc).forEach(n=>{const o=e[n];if(o===void 0)return;const s=jc[n];r[`@media (min-width: ${s}px)`]=t(o)}),Object.keys(r).length?r:void 0}function Ic(e){return e==="vertical"?"column":"row"}function Tc(e){return e===void 0?"wrap":typeof e=="boolean"?e?"wrap":"nowrap":e}function Rt(e){return typeof e=="number"?`${e}px`:e in Ac?Ac[e]:e}function _c(e){if(e===void 0){const r=Rt("md");return{rowGap:r,columnGap:r}}if(Array.isArray(e))return{rowGap:Rt(e[0]),columnGap:Rt(e[1])};if(typeof e=="object"){if("row"in e||"column"in e)return{rowGap:Rt(e.row??"md"),columnGap:Rt(e.column??"md")};if("x"in e||"y"in e)return{rowGap:Rt(e.y??"md"),columnGap:Rt(e.x??"md")}}const t=Rt(e);return{rowGap:t,columnGap:t}}function sS(e){return!!e.type?.[eh]}function rh(e,t,r,n,o){if(u.isValidElement(e)&&sS(e)){const s=[r,e.props.className,e.props.class].filter(Boolean).join(" ");return c.jsx(yr,{...e.props,className:s||void 0,style:L(n,e.props.style),sx:[o,e.props.sx],children:e.props.children},e.key??`space-item-${t}`)}return c.jsx(yr,{className:r,style:n,sx:o,children:e},u.isValidElement(e)?e.key??`space-item-${t}`:`space-item-${t}`)}function iS(e,t,r,n,o){const s=u.Children.toArray(e),i=[];return s.forEach((a,l)=>{i.push(rh(a,l,r,n,o)),l<s.length-1&&i.push(c.jsx(yr,{"aria-hidden":"true",children:t},`space-split-${l}`))}),i}const ma=e=>{const{direction:t="horizontal",size:r="md",wrap:n=!0,align:o,justify:s,split:i,itemClassName:a,itemStyle:l,itemSx:d,sx:f,children:m,style:p,...v}=e,b=Or(t)??"horizontal",h=Or(r)??"md",x=Or(n)??!0,y=Or(o),g=Or(s),w=_c(h),P={display:"flex",flexDirection:Ic(b),flexWrap:Tc(x),alignItems:y,justifyContent:g,rowGap:w.rowGap,columnGap:w.columnGap},C=Mr(t,R=>({flexDirection:Ic(R)})),S=Mr(r,R=>_c(R)),N=Mr(n,R=>({flexWrap:Tc(R)})),q=Mr(o,R=>({alignItems:R})),k=Mr(s,R=>({justifyContent:R})),A=[C,S,N,q,k,f],E=i!=null?iS(m,i,a,l,d):u.Children.toArray(m).map((R,I)=>rh(R,I,a,l,d));return c.jsx(Pe,{style:L(p,P),sx:A,...v,children:E})};ma.displayName="Space";ma.Item=yr;const aS={h1:"text-3xl font-semibold leading-tight",h2:"text-2xl font-semibold leading-tight",h3:"text-xl font-semibold leading-snug",body:"text-sm leading-6 text-slate-700",caption:"text-xs leading-5 text-slate-500"};function lS(e){const{component:t,className:r,class:n,sx:o,style:s,variant:i="body",...a}=e,l=t??"p",d=se(),{sxClassName:f,sxInlineStyle:m}=X(o,d);return c.jsx(l,{className:j(aS[i],f,r,n),style:L(s,m),...a})}function cS(e){return e===void 0?{}:Array.isArray(e)?{rowSpacing:e[0],columnSpacing:e[1]}:{spacing:e}}function nh(e){const{gutter:t=0,align:r,justify:n,wrap:o="wrap",direction:s="row",style:i,...a}=e,l=cS(t);return c.jsx(jo,{container:!0,wrap:o,direction:s,style:L(i,{alignItems:r,justifyContent:n}),...l,...a})}nh.displayName="Row";function oh(e){const{span:t,offset:r,flex:n,style:o,...s}=e;return c.jsx(jo,{size:t,offset:r,style:L(o,{flex:n}),...s})}oh.displayName="Col";const sh=u.createContext({}),ih=u.forwardRef(({separator:e,items:t,listProps:r,sx:n,style:o,className:s,class:i,children:a,...l},d)=>{const f=se(),{sxClassName:m,sxInlineStyle:p}=X(n,f),v=Array.isArray(t)&&t.length>0;return c.jsx(sh.Provider,{value:{separator:e},children:c.jsx("nav",{ref:d,"aria-label":"breadcrumb",className:j(m,s,i),style:L(o,p),...l,children:v?c.jsx(ha,{...r,children:t.map((b,h)=>{const{key:x,label:y,href:g,current:w,separator:P,ellipsis:C,itemProps:S,linkProps:N,pageProps:q}=b,k=h===t.length-1,A=w??k;return c.jsxs(u.Fragment,{children:[c.jsx(pa,{...S,children:C?c.jsx(xa,{}):A?c.jsx(ga,{...q,children:y}):c.jsx(va,{href:g,...N,children:y})}),k?null:c.jsx(ba,{children:P})]},x??h)})}):a})})});ih.displayName="Breadcrumb";const ha=u.forwardRef(({sx:e,style:t,className:r,class:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(e,i),d={listStyle:"none",margin:0,padding:0};return c.jsx("ol",{ref:s,className:j("m-0 flex list-none flex-wrap items-center gap-1.5 break-words p-0 text-sm text-muted-foreground sm:gap-2.5",a,r,n),style:L(d,t,l),...o})});ha.displayName="BreadcrumbList";const pa=u.forwardRef(({sx:e,style:t,className:r,class:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(e,i),d={margin:0,display:"inline-flex",alignItems:"center"};return c.jsx("li",{ref:s,className:j("inline-flex items-center gap-1.5 leading-none",a,r,n),style:L(d,t,l),...o})});pa.displayName="BreadcrumbItem";const va=u.forwardRef(({component:e,sx:t,style:r,className:n,class:o,...s},i)=>{const a=e??"a",l=se(),{sxClassName:d,sxInlineStyle:f}=X(t,l);return c.jsx(a,{ref:i,className:j("inline-flex items-center leading-none transition-colors hover:text-foreground",d,n,o),style:L(r,f),...s})});va.displayName="BreadcrumbLink";const ga=u.forwardRef(({sx:e,style:t,className:r,class:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(e,i);return c.jsx("span",{ref:s,role:"link","aria-disabled":"true","aria-current":"page",className:j("inline-flex items-center font-normal leading-none text-foreground",a,r,n),style:L(t,l),...o})});ga.displayName="BreadcrumbPage";const ba=({children:e,sx:t,style:r,className:n,class:o,...s})=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(t,i),{separator:d}=u.useContext(sh),f={margin:0,display:"inline-flex",alignItems:"center"};return c.jsx("li",{role:"presentation","aria-hidden":"true",className:j("shrink-0 leading-none [&>svg]:h-3.5 [&>svg]:w-3.5",a,n,o),style:L(f,r,l),...s,children:e??d??c.jsx(Le,{name:"chevron_right"})})};ba.displayName="BreadcrumbSeparator";const xa=({sx:e,style:t,className:r,class:n,...o})=>{const s=se(),{sxClassName:i,sxInlineStyle:a}=X(e,s);return c.jsxs("span",{role:"presentation","aria-hidden":"true",className:j("flex h-9 w-9 items-center justify-center",i,r,n),style:L(t,a),...o,children:[c.jsx(Le,{name:"more_horiz",className:"h-4 w-4"}),c.jsx("span",{className:"sr-only",children:"More"})]})};xa.displayName="BreadcrumbEllipsis";function uS(e,t){if(typeof document>"u"||typeof window>"u")return;const r=document.getElementById(e);if(r){if(t.offset!==0){const n=r.getBoundingClientRect(),o=window.scrollY+n.top-t.offset;window.scrollTo({top:o,behavior:t.behavior});return}r.scrollIntoView({behavior:t.behavior,block:t.block,inline:t.inline})}}function ah(e){const{id:t,offset:r=0,behavior:n="smooth",block:o="start",inline:s="nearest",onNavigate:i,className:a,class:l,sx:d,style:f}=e,m=se(),{sxClassName:p,sxInlineStyle:v}=X(d,m),b=j("inline-flex w-fit p-0",p,a,l),h=L(f,v),x=()=>{uS(t,{behavior:n,block:o,inline:s,offset:r}),i?.(t)};if(e.hash===!0){const{hash:O,onClick:_,href:$,onNavigate:M,class:U,sx:D,offset:G,behavior:he,block:te,inline:J,...H}=e;return c.jsx("a",{href:$??`#${t}`,className:b,style:h,onClick:Y=>{Y.preventDefault(),x(),_?.(Y)},...H})}const{component:y,onClick:g,onKeyDown:w,hash:P,onNavigate:C,class:S,sx:N,offset:q,behavior:k,block:A,inline:E,...R}=e,I=y??"button",T=I==="button";return c.jsx(I,{className:b,style:h,type:T?"button":void 0,role:T?void 0:"button",tabIndex:T?void 0:0,onClick:O=>{x(),g?.(O)},onKeyDown:O=>{!T&&(O.key==="Enter"||O.key===" ")&&(O.preventDefault(),x()),w?.(O)},...R})}ah.displayName="Anchor";function dS(){return u.useRef(null)}const ya=u.createContext(null),Xr=u.createContext(0),ri=u.createContext(null);function lh(e){const t=u.useContext(ya);if(!t)throw new Error(`${e} must be used within Menu.`);return t}function Oc(e){const{value:t,defaultValue:r=[],onChange:n}=e,[o,s]=u.useState(r),i=t!==void 0,a=i?t:o,l=u.useCallback((d,f)=>{i||s(d),n?.(d,{key:f,keys:d})},[i,n]);return[a,l]}function Zn(e){return typeof e=="number"?`${e}px`:e}function fS(e){if(!e)return;const t={};return e.itemText&&(t["--menu-item-text"]=e.itemText),e.itemBackground&&(t["--menu-item-bg"]=e.itemBackground),e.itemHoverText&&(t["--menu-item-hover-text"]=e.itemHoverText),e.itemHoverBackground&&(t["--menu-item-hover-bg"]=e.itemHoverBackground),e.itemSelectedText&&(t["--menu-item-selected-text"]=e.itemSelectedText),e.itemSelectedBackground&&(t["--menu-item-selected-bg"]=e.itemSelectedBackground),e.itemSelectedHoverText&&(t["--menu-item-selected-hover-text"]=e.itemSelectedHoverText),e.itemDisabledText&&(t["--menu-item-disabled-text"]=e.itemDisabledText),Object.keys(t).length?t:void 0}function mS(e,t){return e.key??e.href??t.join("-")}function hS(e){return e.key==="Enter"||e.key===" "}function dn(e){const{className:t,class:r,sx:n,style:o,...s}=e,i=u.useContext(ya),a=se(),{sxClassName:l,sxInlineStyle:d}=X(n,a),f={display:"flex",flexDirection:"column",gap:i?Zn(i.itemGap):void 0,listStyle:"none",margin:0,padding:0};return c.jsx("ul",{className:j("m-0 list-none p-0",l,t,r),style:L(f,o,d),...s})}dn.displayName="Menu.List";function wa(e){const{itemKey:t,label:r,icon:n,iconProps:o,href:s,component:i,disabled:a=!1,selected:l,unselectOnClick:d,onClick:f,onSelect:m,className:p,class:v,sx:b,style:h,children:x,...y}=e,g=lh("Menu.Item"),w=u.useContext(Xr),P=l??g.selectedKeys.includes(t),C=se(),{sxClassName:S,sxInlineStyle:N}=X(b,C),q=i??(s?"a":"button"),k=q==="button",A=E=>{if(a){E.preventDefault();return}g.selectKey(t,d),m?.(t),f?.(E)};return c.jsx("li",{role:"none",style:{listStyle:"none",margin:0},children:c.jsxs(q,{className:j("flex min-h-10 w-full items-center gap-2 rounded-md px-3 py-2 text-left text-sm leading-5 text-[color:var(--menu-item-text,#334155)] transition-colors hover:bg-[color:var(--menu-item-hover-bg,#f1f5f9)] hover:text-[color:var(--menu-item-hover-text,#0f172a)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",P&&"bg-[color:var(--menu-item-selected-bg,#e0f2fe)] text-[color:var(--menu-item-selected-text,#075985)] hover:bg-[color:var(--menu-item-selected-bg,#e0f2fe)] hover:text-[color:var(--menu-item-selected-hover-text,#075985)]",a&&"cursor-not-allowed text-[color:var(--menu-item-disabled-text,#94a3b8)] opacity-70 hover:bg-transparent",S,p,v),style:L({paddingLeft:`calc(0.75rem + ${w} * ${Zn(g.indent)})`},h,N),href:s,type:k?"button":void 0,role:"menuitem","aria-disabled":a||void 0,"aria-current":P?"page":void 0,"data-menu-item-key":t,"data-selected":P?"":void 0,disabled:k?a:void 0,onClick:A,...y,children:[n?c.jsx(Le,{name:n,size:18,className:"shrink-0",...o}):null,c.jsx("span",{className:"min-w-0 flex-1 truncate",children:r??x})]})})}wa.displayName="Menu.Item";function Pa(e){const{itemKey:t,label:r,icon:n,iconProps:o,disabled:s=!1,className:i,class:a,sx:l,style:d,children:f,...m}=e,p=lh("Menu.Sub"),v=u.useContext(Xr),b=u.useContext(ri),h=p.openKeys.includes(t),x=se(),{sxClassName:y,sxInlineStyle:g}=X(l,x);return u.useEffect(()=>p.registerSub(t,b),[p,t,b]),c.jsxs("li",{className:j(y,i,a),style:L({display:"flex",flexDirection:"column",gap:Zn(p.itemGap),listStyle:"none",margin:0},d,g),...m,children:[c.jsxs("button",{type:"button",className:j("flex min-h-10 w-full items-center gap-2 rounded-md px-3 py-2 text-left text-sm leading-5 text-[color:var(--menu-item-text,#334155)] transition-colors hover:bg-[color:var(--menu-item-hover-bg,#f1f5f9)] hover:text-[color:var(--menu-item-hover-text,#0f172a)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",h&&"bg-slate-100 text-slate-950",s&&"cursor-not-allowed text-[color:var(--menu-item-disabled-text,#94a3b8)] opacity-70 hover:bg-transparent"),style:{paddingLeft:`calc(0.75rem + ${v} * ${Zn(p.indent)})`},"aria-expanded":h,"aria-disabled":s||void 0,"data-menu-sub-key":t,disabled:s,onClick:()=>{s||p.toggleOpenKey(t)},onKeyDown:w=>{!s&&hS(w)&&(w.preventDefault(),p.toggleOpenKey(t))},children:[n?c.jsx(Le,{name:n,size:18,className:"shrink-0",...o}):null,c.jsx("span",{className:"min-w-0 flex-1 truncate",children:r}),c.jsx(Le,{name:"unfold_more",size:18,className:j("shrink-0 transition-transform",h?"rotate-180":"rotate-90")})]}),h?c.jsx(Xr.Provider,{value:v+1,children:c.jsx(ri.Provider,{value:t,children:c.jsx(dn,{role:"menu","aria-label":typeof r=="string"?r:void 0,children:f})})}):null]})}Pa.displayName="Menu.Sub";function Ca(e){const{label:t,className:r,class:n,sx:o,style:s,children:i,...a}=e,l=u.useContext(Xr),d=se(),{sxClassName:f,sxInlineStyle:m}=X(o,d);return c.jsxs("li",{className:j("py-1",f,r,n),style:L({listStyle:"none",margin:0},s,m),...a,children:[t?c.jsx("div",{className:"px-3 py-2 text-xs font-medium uppercase text-slate-500",style:{paddingLeft:`calc(0.75rem + ${l} * 12px)`},children:t}):null,c.jsx(dn,{role:"group",children:i})]})}Ca.displayName="Menu.Group";function ni(e,t=[]){return e.map((r,n)=>{const o=[...t,n],s=mS(r,o);return r.type==="group"?c.jsx(Ca,{label:r.label,...r.groupProps,children:r.children?ni(r.children,o):null},s):r.children?.length||r.type==="sub"?c.jsx(Pa,{itemKey:s,label:r.label,icon:r.icon,iconProps:r.iconProps,disabled:r.disabled,...r.subProps,children:r.children?ni(r.children,o):null},s):c.jsx(wa,{itemKey:s,label:r.label,icon:r.icon,iconProps:r.iconProps,href:r.href,disabled:r.disabled,unselectOnClick:r.unselectOnClick,...r.itemProps},s)})}function ch(e){const{items:t,selectedKeys:r,defaultSelectedKeys:n,onSelectedKeysChange:o,openKeys:s,defaultOpenKeys:i,onOpenKeysChange:a,multiple:l=!1,accordion:d=!1,indent:f=18,itemGap:m=4,itemColors:p,menuRef:v,children:b,listProps:h,className:x,class:y,style:g,component:w,...P}=e,[C,S]=Oc({value:r,defaultValue:n,onChange:o}),[N,q]=Oc({value:s,defaultValue:i,onChange:a}),k=u.useRef(new Map),A=u.useCallback((O,_)=>(k.current.set(O,_),()=>{k.current.delete(O)}),[]),E=u.useCallback((O,_)=>{const $=l?C.includes(O)?C.filter(M=>M!==O):[...C,O]:C.includes(O)&&_?[]:[O];S($,O)},[l,C,S]),R=u.useCallback((O,_)=>{const $=N;let M=$;if(_){if($.includes(O))return;if(d){const U=k.current.get(O)??null;M=$.filter(D=>k.current.get(D)!==U)}M=[...M,O]}else M=$.filter(U=>U!==O);q(M,O)},[d,N,q]),I=u.useCallback(O=>{R(O,!N.includes(O))},[N,R]);u.useImperativeHandle(v,()=>({select:O=>E(O),unselect:O=>S(C.filter(_=>_!==O),O),open:O=>R(O,!0),close:O=>R(O,!1),toggleOpen:I,getSelectedKeys:()=>C,getOpenKeys:()=>N}),[N,E,C,R,S,I]);const T=u.useMemo(()=>({selectedKeys:C,openKeys:N,multiple:l,accordion:d,indent:f,itemGap:m,selectKey:E,toggleOpenKey:I,registerSub:A}),[d,f,m,l,N,A,E,C,I]);return c.jsx(ya.Provider,{value:T,children:c.jsx(Xr.Provider,{value:0,children:c.jsx(ri.Provider,{value:null,children:c.jsx(Pe,{component:w??"nav",className:j("w-64 rounded-lg border border-slate-200 bg-white p-1",x,y),style:L(fS(p),g),"aria-label":"Menu",...P,children:c.jsx(dn,{role:"menu",...h,children:t?ni(t):b})})})})})}ch.displayName="Menu";const pS=Object.assign(ch,{Item:wa,Sub:Pa,Group:Ca,List:dn});var Io="Tabs",[vS]=rt(Io,[Po]),uh=Po(),[gS,Sa]=vS(Io),dh=u.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,onValueChange:o,defaultValue:s,orientation:i="horizontal",dir:a,activationMode:l="automatic",...d}=e,f=wo(a),[m,p]=yt({prop:n,onChange:o,defaultProp:s??"",caller:Io});return c.jsx(gS,{scope:r,baseId:nr(),value:m,onValueChange:p,orientation:i,dir:f,activationMode:l,children:c.jsx(be.div,{dir:f,"data-orientation":i,...d,ref:t})})});dh.displayName=Io;var fh="TabsList",mh=u.forwardRef((e,t)=>{const{__scopeTabs:r,loop:n=!0,...o}=e,s=Sa(fh,r),i=uh(r);return c.jsx(af,{asChild:!0,...i,orientation:s.orientation,dir:s.dir,loop:n,children:c.jsx(be.div,{role:"tablist","aria-orientation":s.orientation,...o,ref:t})})});mh.displayName=fh;var hh="TabsTrigger",ph=u.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...s}=e,i=Sa(hh,r),a=uh(r),l=bh(i.baseId,n),d=xh(i.baseId,n),f=n===i.value;return c.jsx(lf,{asChild:!0,...a,focusable:!o,active:f,children:c.jsx(be.button,{type:"button",role:"tab","aria-selected":f,"aria-controls":d,"data-state":f?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l,...s,ref:t,onMouseDown:ce(e.onMouseDown,m=>{!o&&m.button===0&&m.ctrlKey===!1?i.onValueChange(n):m.preventDefault()}),onKeyDown:ce(e.onKeyDown,m=>{[" ","Enter"].includes(m.key)&&i.onValueChange(n)}),onFocus:ce(e.onFocus,()=>{const m=i.activationMode!=="manual";!f&&!o&&m&&i.onValueChange(n)})})})});ph.displayName=hh;var vh="TabsContent",gh=u.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,forceMount:o,children:s,...i}=e,a=Sa(vh,r),l=bh(a.baseId,n),d=xh(a.baseId,n),f=n===a.value,m=u.useRef(f);return u.useEffect(()=>{const p=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(p)},[]),c.jsx(Bt,{present:o||f,children:({present:p})=>c.jsx(be.div,{"data-state":f?"active":"inactive","data-orientation":a.orientation,role:"tabpanel","aria-labelledby":l,hidden:!p,id:d,tabIndex:0,...i,ref:t,style:{...e.style,animationDuration:m.current?"0s":void 0},children:p&&s})})});gh.displayName=vh;function bh(e,t){return`${e}-trigger-${t}`}function xh(e,t){return`${e}-content-${t}`}var bS=dh,yh=mh,wh=ph,Ph=gh;function Ch(e){const{items:t,listProps:r,sx:n,style:o,className:s,class:i,children:a,...l}=e,d=se(),{sxClassName:f,sxInlineStyle:m}=X(n,d),p=Array.isArray(t)&&t.length>0;return c.jsx(bS,{className:j("w-full",f,s,i),style:L(o,m),...l,children:p?c.jsxs(c.Fragment,{children:[c.jsx(Na,{...r,children:t.map(v=>c.jsx(qa,{value:v.value,disabled:v.disabled,...v.triggerProps,children:v.label},v.value))}),t.map(v=>c.jsx(ka,{value:v.value,...v.contentProps,children:v.content},v.value))]}):a})}Ch.displayName="Tabs";const Na=u.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(r,i);return c.jsx(yh,{ref:s,className:j("inline-flex min-h-10 items-center gap-1 rounded-lg bg-slate-100 p-1 text-slate-600",a,e,t),style:L(n,l),...o})});Na.displayName=yh.displayName;const qa=u.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=X(r,i);return c.jsx(wh,{ref:s,className:j("inline-flex min-h-8 items-center justify-center whitespace-nowrap rounded-md px-3 py-1.5 text-sm font-medium leading-5 transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-white data-[state=active]:text-blue-700 data-[state=active]:shadow-sm",a,e,t),style:L(n,l),...o})});qa.displayName=wh.displayName;const ka=u.forwardRef(({className:e,class:t,sx:r,style:n,borderless:o=!1,...s},i)=>{const a=se(),{sxClassName:l,sxInlineStyle:d}=X(r,a);return c.jsx(Ph,{ref:i,className:j("mt-3 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500",!o&&"rounded-lg border border-slate-200 bg-white p-4",l,e,t),style:L(n,d),...s})});ka.displayName=Ph.displayName;exports.Alert=my;exports.Anchor=ah;exports.AutoComplete=Zd;exports.Avatar=Om;exports.AvatarFallback=ra;exports.AvatarImage=ta;exports.Badge=tC;exports.Box=Pe;exports.Breadcrumb=ih;exports.BreadcrumbEllipsis=xa;exports.BreadcrumbItem=pa;exports.BreadcrumbLink=va;exports.BreadcrumbList=ha;exports.BreadcrumbPage=ga;exports.BreadcrumbSeparator=ba;exports.Button=en;exports.Card=Pt;exports.Cascader=Sf;exports.Checkbox=sn;exports.CheckboxGroup=Ud;exports.Chip=Lm;exports.Col=oh;exports.Dialog=Tv;exports.DialogClose=mi;exports.DialogContent=pi;exports.DialogDescription=xi;exports.DialogFooter=gi;exports.DialogHeader=vi;exports.DialogOverlay=hi;exports.DialogPortal=yu;exports.DialogTitle=bi;exports.DialogTrigger=fi;exports.Divider=Xm;exports.Drawer=cy;exports.Empty=nC;exports.Flex=Jm;exports.Form=kf;exports.FormItem=Ki;exports.GhostButton=zn;exports.GhostButtonGroup=fu;exports.Grid=jo;exports.Icon=Le;exports.Image=Dm;exports.Input=Vi;exports.InputNumber=Jd;exports.InputOPT=Qd;exports.Label=xo;exports.List=rC;exports.Loading=iy;exports.Menu=pS;exports.MobileCascader=xm;exports.MobileSelect=bm;exports.Modal=di;exports.NotificationProvider=Od;exports.Pagination=sa;exports.PaginationContent=ia;exports.PaginationEllipsis=ca;exports.PaginationItem=Kt;exports.PaginationLink=cn;exports.PaginationNext=la;exports.PaginationPrevious=aa;exports.Popover=pd;exports.PopoverAnchor=Px;exports.PopoverClose=vd;exports.PopoverContent=Mi;exports.PopoverTrigger=Oi;exports.Progress=xy;exports.QRCode=AC;exports.QRCodeBase=TC;exports.QRCodeCanvas=zm;exports.QRCodeSizable=Hm;exports.Radio=Hi;exports.RadioGroup=wf;exports.Rate=Pf;exports.Required=tw;exports.Row=nh;exports.SafeArea=Ao;exports.SafeAreaBottom=Zm;exports.SafeAreaTop=Qm;exports.Select=om;exports.SelectContent=lm;exports.SelectGroup=sm;exports.SelectItem=Xn;exports.SelectItems=iP;exports.SelectLabel=Ji;exports.SelectScrollDownButton=Xi;exports.SelectScrollUpButton=Yi;exports.SelectSeparator=Qi;exports.SelectTrigger=am;exports.SelectValue=rP;exports.Skeleton=un;exports.SkeletonAvatar=fa;exports.SkeletonButton=Um;exports.SkeletonCard=Ym;exports.SkeletonText=da;exports.Slider=Nf;exports.Space=ma;exports.Spin=Md;exports.Switch=hm;exports.SxProvider=gp;exports.Table=zt;exports.Tabs=Ch;exports.TabsContent=ka;exports.TabsList=Na;exports.TabsTrigger=qa;exports.ToastProvider=vu;exports.Tooltip=Gx;exports.TooltipArrow=Bi;exports.TooltipContent=Ad;exports.TooltipPortal=Kx;exports.TooltipProvider=Wx;exports.TooltipTrigger=jd;exports.Typography=lS;exports.Uploader=bw;exports.buttonVariants=$c;exports.chipVariants=Mm;exports.createTheme=bp;exports.getRegisteredIconNames=yv;exports.mergeSxStyle=L;exports.notification=Xx;exports.registerIconLoaders=gv;exports.resetIconLoaders=xv;exports.resolveSx=X;exports.setIconLoaders=bv;exports.toast=jv;exports.useForm=Wi;exports.useFormInstance=Gi;exports.useFormValue=No;exports.useFormWatch=qf;exports.useInputNumberState=Zy;exports.useMenuRef=dS;exports.useNotification=ny;exports.useNumberInput=Xd;exports.useSxTheme=se;exports.useToast=Rv;
|