@ldkj/web-ui 0.20.0 → 0.22.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/LICENSE +21 -21
- package/README.md +1 -1
- package/components/data-display/collapse/Collapse.d.ts +145 -0
- package/components/data-display/collapse/index.d.ts +1 -0
- package/components/form/uploader/Uploader.d.ts +177 -5
- package/index.cjs +17 -17
- package/index.d.ts +1 -0
- package/index.js +6747 -5573
- package/package.json +1 -1
- package/style.css +1 -1
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"),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(
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),Oe=require("react"),fu=require("react-dom");function mu(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=mu(Oe),fn=mu(fu);function hu(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=hu(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function pu(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=hu(e))&&(n&&(n+=" "),n+=t);return n}const rl=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,nl=pu,vu=(e,t)=>r=>{var n;if(t?.variants==null)return nl(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=rl(f)||rl(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(g=>{let[h,y]=g;return Array.isArray(y)?y.includes({...s,...a}[h]):{...s,...a}[h]===y})?[...d,m,p]:d},[]);return nl(e,i,l,r?.class,r?.className)},Yt={xs:"rounded-[2px]",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"};function lp(e){return typeof e=="string"&&Object.prototype.hasOwnProperty.call(Yt,e)}function hr(e){return e===void 0?{}:typeof e=="number"?{roundedStyle:{borderRadius:`${e}px`}}:lp(e)?{roundedPreset:e}:{roundedStyle:{borderRadius:e}}}const _r={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 cp(e){return typeof e=="string"&&Object.prototype.hasOwnProperty.call(_r,e)}function mn(e){return e===void 0?{}:cp(e)?{shadowPreset:e}:{shadowStyle:{boxShadow:e}}}const gu=vu("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:Yt,shadow:_r,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}}),up=(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},dp=(e,t)=>({classGroupId:e,validator:t}),bu=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),eo="-",ol=[],fp="arbitrary..",mp=e=>{const t=pp(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return hp(i);const a=i.split(eo),l=a[0]===""&&a.length>1?1:0;return xu(a,l,t)},getConflictingClassGroupIds:(i,a)=>{if(a){const l=n[i],d=r[i];return l?d?up(d,l):l:d||ol}return r[i]||ol}}},xu=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const o=e[t],s=r.nextPart.get(o);if(s){const d=xu(e,t+1,s);if(d)return d}const i=r.validators;if(i===null)return;const a=t===0?e.join(eo):e.slice(t).join(eo),l=i.length;for(let d=0;d<l;d++){const f=i[d];if(f.validator(a))return f.classGroupId}},hp=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?fp+n:void 0})(),pp=e=>{const{theme:t,classGroups:r}=e;return vp(r,t)},vp=(e,t)=>{const r=bu();for(const n in e){const o=e[n];Ni(o,r,n,t)}return r},Ni=(e,t,r,n)=>{const o=e.length;for(let s=0;s<o;s++){const i=e[s];gp(i,t,r,n)}},gp=(e,t,r,n)=>{if(typeof e=="string"){bp(e,t,r);return}if(typeof e=="function"){xp(e,t,r,n);return}yp(e,t,r,n)},bp=(e,t,r)=>{const n=e===""?t:yu(t,e);n.classGroupId=r},xp=(e,t,r,n)=>{if(wp(e)){Ni(e(n),t,r,n);return}t.validators===null&&(t.validators=[]),t.validators.push(dp(r,e))},yp=(e,t,r,n)=>{const o=Object.entries(e),s=o.length;for(let i=0;i<s;i++){const[a,l]=o[i];Ni(l,yu(t,a),r,n)}},yu=(e,t)=>{let r=e;const n=t.split(eo),o=n.length;for(let s=0;s<o;s++){const i=n[s];let a=r.nextPart.get(i);a||(a=bu(),r.nextPart.set(i,a)),r=a}return r},wp=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Pp=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="!",sl=":",Cp=[],il=(e,t,r,n,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:o}),Sp=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 y=o[h];if(i===0&&a===0){if(y===sl){s.push(o.slice(l,h)),l=h+1;continue}if(y==="/"){d=h;continue}}y==="["?i++:y==="]"?i--:y==="("?a++:y===")"&&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 g=d&&d>l?d-l:void 0;return il(s,v,p,g)};if(t){const o=t+sl,s=n;n=i=>i.startsWith(o)?s(i.slice(o.length)):il(Cp,!1,i,void 0,!0)}if(r){const o=n;n=s=>r({className:s,parseClassName:o})}return n},Np=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}},kp=e=>({cache:Pp(e.cacheSize),parseClassName:Sp(e),sortModifiers:Np(e),...mp(e)}),qp=/\s+/,jp=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:s}=t,i=[],a=e.trim().split(qp);let l="";for(let d=a.length-1;d>=0;d-=1){const f=a[d],{isExternal:m,modifiers:p,hasImportantModifier:v,baseClassName:g,maybePostfixModifierPosition:h}=r(f);if(m){l=f+(l.length>0?" "+l:l);continue}let y=!!h,x=n(y?g.substring(0,h):g);if(!x){if(!y){l=f+(l.length>0?" "+l:l);continue}if(x=n(g),!x){l=f+(l.length>0?" "+l:l);continue}y=!1}const b=p.length===0?"":p.length===1?p[0]:s(p).join(":"),w=v?b+Js:b,P=w+x;if(i.indexOf(P)>-1)continue;i.push(P);const C=o(x,y);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},Ep=(...e)=>{let t=0,r,n,o="";for(;t<e.length;)(r=e[t++])&&(n=wu(r))&&(o&&(o+=" "),o+=n);return o},wu=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=wu(e[n]))&&(r&&(r+=" "),r+=t);return r},Rp=(e,...t)=>{let r,n,o,s;const i=l=>{const d=t.reduce((f,m)=>m(f),e());return r=kp(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=jp(l,r);return o(l,f),f};return s=i,(...l)=>s(Ep(...l))},Ap=[],Be=e=>{const t=r=>r[e]||Ap;return t.isThemeGetter=!0,t},Pu=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Cu=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ip=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Tp=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_p=/\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$/,Op=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Mp=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Lp=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ft=e=>Ip.test(e),xe=e=>!!e&&!Number.isNaN(Number(e)),Bt=e=>!!e&&Number.isInteger(Number(e)),Qo=e=>e.endsWith("%")&&xe(e.slice(0,-1)),Et=e=>Tp.test(e),Su=()=>!0,Dp=e=>_p.test(e)&&!Op.test(e),ki=()=>!1,Fp=e=>Mp.test(e),Bp=e=>Lp.test(e),$p=e=>!oe(e)&&!ae(e),Vp=e=>Xt(e,qu,ki),oe=e=>Pu.test(e),nr=e=>Xt(e,ju,Dp),al=e=>Xt(e,Xp,xe),zp=e=>Xt(e,Ru,Su),Hp=e=>Xt(e,Eu,ki),ll=e=>Xt(e,Nu,ki),Up=e=>Xt(e,ku,Bp),kn=e=>Xt(e,Au,Fp),ae=e=>Cu.test(e),Vr=e=>pr(e,ju),Wp=e=>pr(e,Eu),cl=e=>pr(e,Nu),Kp=e=>pr(e,qu),Gp=e=>pr(e,ku),qn=e=>pr(e,Au,!0),Yp=e=>pr(e,Ru,!0),Xt=(e,t,r)=>{const n=Pu.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},pr=(e,t,r=!1)=>{const n=Cu.exec(e);return n?n[1]?t(n[1]):r:!1},Nu=e=>e==="position"||e==="percentage",ku=e=>e==="image"||e==="url",qu=e=>e==="length"||e==="size"||e==="bg-size",ju=e=>e==="length",Xp=e=>e==="number",Eu=e=>e==="family-name",Ru=e=>e==="number"||e==="weight",Au=e=>e==="shadow",Jp=()=>{const e=Be("color"),t=Be("font"),r=Be("text"),n=Be("font-weight"),o=Be("tracking"),s=Be("leading"),i=Be("breakpoint"),a=Be("container"),l=Be("spacing"),d=Be("radius"),f=Be("shadow"),m=Be("inset-shadow"),p=Be("text-shadow"),v=Be("drop-shadow"),g=Be("blur"),h=Be("perspective"),y=Be("aspect"),x=Be("ease"),b=Be("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(),ae,oe],S=()=>["auto","hidden","clip","visible","scroll"],N=()=>["auto","contain","none"],k=()=>[ae,oe,l],q=()=>[Ft,"full","auto",...k()],A=()=>[Bt,"none","subgrid",ae,oe],j=()=>["auto",{span:["full",Bt,ae,oe]},Bt,ae,oe],E=()=>[Bt,"auto",ae,oe],I=()=>["auto","min","max","fr",ae,oe],_=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],O=()=>["start","end","center","stretch","center-safe","end-safe"],T=()=>["auto",...k()],$=()=>[Ft,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...k()],M=()=>[Ft,"screen","full","dvw","lvw","svw","min","max","fit",...k()],W=()=>[Ft,"screen","full","lh","dvh","lvh","svh","min","max","fit",...k()],F=()=>[e,ae,oe],X=()=>[...P(),cl,ll,{position:[ae,oe]}],de=()=>["no-repeat",{repeat:["","x","y","space","round"]}],te=()=>["auto","cover","contain",Kp,Vp,{size:[ae,oe]}],Z=()=>[Qo,Vr,nr],K=()=>["","none","full",d,ae,oe],J=()=>["",xe,Vr,nr],B=()=>["solid","dashed","dotted","double"],G=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],H=()=>[xe,Qo,cl,ll],U=()=>["","none",g,ae,oe],Y=()=>["none",xe,ae,oe],Q=()=>["none",xe,ae,oe],le=()=>[xe,ae,oe],fe=()=>[Ft,"full",...k()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Et],breakpoint:[Et],color:[Su],container:[Et],"drop-shadow":[Et],ease:["in","out","in-out"],font:[$p],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Et],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Et],shadow:[Et],spacing:["px",xe],text:[Et],"text-shadow":[Et],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Ft,oe,ae,y]}],container:["container"],columns:[{columns:[xe,oe,ae,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:q()}],"inset-x":[{"inset-x":q()}],"inset-y":[{"inset-y":q()}],start:[{"inset-s":q(),start:q()}],end:[{"inset-e":q(),end:q()}],"inset-bs":[{"inset-bs":q()}],"inset-be":[{"inset-be":q()}],top:[{top:q()}],right:[{right:q()}],bottom:[{bottom:q()}],left:[{left:q()}],visibility:["visible","invisible","collapse"],z:[{z:[Bt,"auto",ae,oe]}],basis:[{basis:[Ft,"full","auto",a,...k()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[xe,Ft,"auto","initial","none",oe]}],grow:[{grow:["",xe,ae,oe]}],shrink:[{shrink:["",xe,ae,oe]}],order:[{order:[Bt,"first","last","none",ae,oe]}],"grid-cols":[{"grid-cols":A()}],"col-start-end":[{col:j()}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":A()}],"row-start-end":[{row:j()}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":I()}],"auto-rows":[{"auto-rows":I()}],gap:[{gap:k()}],"gap-x":[{"gap-x":k()}],"gap-y":[{"gap-y":k()}],"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:k()}],px:[{px:k()}],py:[{py:k()}],ps:[{ps:k()}],pe:[{pe:k()}],pbs:[{pbs:k()}],pbe:[{pbe:k()}],pt:[{pt:k()}],pr:[{pr:k()}],pb:[{pb:k()}],pl:[{pl:k()}],m:[{m:T()}],mx:[{mx:T()}],my:[{my:T()}],ms:[{ms:T()}],me:[{me:T()}],mbs:[{mbs:T()}],mbe:[{mbe:T()}],mt:[{mt:T()}],mr:[{mr:T()}],mb:[{mb:T()}],ml:[{ml:T()}],"space-x":[{"space-x":k()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":k()}],"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",...W()]}],"min-block-size":[{"min-block":["auto",...W()]}],"max-block-size":[{"max-block":["none",...W()]}],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,Vr,nr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,Yp,zp]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Qo,oe]}],"font-family":[{font:[Wp,Hp,t]}],"font-features":[{"font-features":[oe]}],"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,ae,oe]}],"line-clamp":[{"line-clamp":[xe,"none",ae,al]}],leading:[{leading:[s,...k()]}],"list-image":[{"list-image":["none",ae,oe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ae,oe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:F()}],"text-color":[{text:F()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:[xe,"from-font","auto",ae,nr]}],"text-decoration-color":[{decoration:F()}],"underline-offset":[{"underline-offset":[xe,"auto",ae,oe]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ae,oe]}],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",ae,oe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:X()}],"bg-repeat":[{bg:de()}],"bg-size":[{bg:te()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Bt,ae,oe],radial:["",ae,oe],conic:[Bt,ae,oe]},Gp,Up]}],"bg-color":[{bg:F()}],"gradient-from-pos":[{from:Z()}],"gradient-via-pos":[{via:Z()}],"gradient-to-pos":[{to:Z()}],"gradient-from":[{from:F()}],"gradient-via":[{via:F()}],"gradient-to":[{to:F()}],rounded:[{rounded:K()}],"rounded-s":[{"rounded-s":K()}],"rounded-e":[{"rounded-e":K()}],"rounded-t":[{"rounded-t":K()}],"rounded-r":[{"rounded-r":K()}],"rounded-b":[{"rounded-b":K()}],"rounded-l":[{"rounded-l":K()}],"rounded-ss":[{"rounded-ss":K()}],"rounded-se":[{"rounded-se":K()}],"rounded-ee":[{"rounded-ee":K()}],"rounded-es":[{"rounded-es":K()}],"rounded-tl":[{"rounded-tl":K()}],"rounded-tr":[{"rounded-tr":K()}],"rounded-br":[{"rounded-br":K()}],"rounded-bl":[{"rounded-bl":K()}],"border-w":[{border:J()}],"border-w-x":[{"border-x":J()}],"border-w-y":[{"border-y":J()}],"border-w-s":[{"border-s":J()}],"border-w-e":[{"border-e":J()}],"border-w-bs":[{"border-bs":J()}],"border-w-be":[{"border-be":J()}],"border-w-t":[{"border-t":J()}],"border-w-r":[{"border-r":J()}],"border-w-b":[{"border-b":J()}],"border-w-l":[{"border-l":J()}],"divide-x":[{"divide-x":J()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":J()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...B(),"hidden","none"]}],"divide-style":[{divide:[...B(),"hidden","none"]}],"border-color":[{border:F()}],"border-color-x":[{"border-x":F()}],"border-color-y":[{"border-y":F()}],"border-color-s":[{"border-s":F()}],"border-color-e":[{"border-e":F()}],"border-color-bs":[{"border-bs":F()}],"border-color-be":[{"border-be":F()}],"border-color-t":[{"border-t":F()}],"border-color-r":[{"border-r":F()}],"border-color-b":[{"border-b":F()}],"border-color-l":[{"border-l":F()}],"divide-color":[{divide:F()}],"outline-style":[{outline:[...B(),"none","hidden"]}],"outline-offset":[{"outline-offset":[xe,ae,oe]}],"outline-w":[{outline:["",xe,Vr,nr]}],"outline-color":[{outline:F()}],shadow:[{shadow:["","none",f,qn,kn]}],"shadow-color":[{shadow:F()}],"inset-shadow":[{"inset-shadow":["none",m,qn,kn]}],"inset-shadow-color":[{"inset-shadow":F()}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:F()}],"ring-offset-w":[{"ring-offset":[xe,nr]}],"ring-offset-color":[{"ring-offset":F()}],"inset-ring-w":[{"inset-ring":J()}],"inset-ring-color":[{"inset-ring":F()}],"text-shadow":[{"text-shadow":["none",p,qn,kn]}],"text-shadow-color":[{"text-shadow":F()}],opacity:[{opacity:[xe,ae,oe]}],"mix-blend":[{"mix-blend":[...G(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":G()}],"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":[xe]}],"mask-image-linear-from-pos":[{"mask-linear-from":H()}],"mask-image-linear-to-pos":[{"mask-linear-to":H()}],"mask-image-linear-from-color":[{"mask-linear-from":F()}],"mask-image-linear-to-color":[{"mask-linear-to":F()}],"mask-image-t-from-pos":[{"mask-t-from":H()}],"mask-image-t-to-pos":[{"mask-t-to":H()}],"mask-image-t-from-color":[{"mask-t-from":F()}],"mask-image-t-to-color":[{"mask-t-to":F()}],"mask-image-r-from-pos":[{"mask-r-from":H()}],"mask-image-r-to-pos":[{"mask-r-to":H()}],"mask-image-r-from-color":[{"mask-r-from":F()}],"mask-image-r-to-color":[{"mask-r-to":F()}],"mask-image-b-from-pos":[{"mask-b-from":H()}],"mask-image-b-to-pos":[{"mask-b-to":H()}],"mask-image-b-from-color":[{"mask-b-from":F()}],"mask-image-b-to-color":[{"mask-b-to":F()}],"mask-image-l-from-pos":[{"mask-l-from":H()}],"mask-image-l-to-pos":[{"mask-l-to":H()}],"mask-image-l-from-color":[{"mask-l-from":F()}],"mask-image-l-to-color":[{"mask-l-to":F()}],"mask-image-x-from-pos":[{"mask-x-from":H()}],"mask-image-x-to-pos":[{"mask-x-to":H()}],"mask-image-x-from-color":[{"mask-x-from":F()}],"mask-image-x-to-color":[{"mask-x-to":F()}],"mask-image-y-from-pos":[{"mask-y-from":H()}],"mask-image-y-to-pos":[{"mask-y-to":H()}],"mask-image-y-from-color":[{"mask-y-from":F()}],"mask-image-y-to-color":[{"mask-y-to":F()}],"mask-image-radial":[{"mask-radial":[ae,oe]}],"mask-image-radial-from-pos":[{"mask-radial-from":H()}],"mask-image-radial-to-pos":[{"mask-radial-to":H()}],"mask-image-radial-from-color":[{"mask-radial-from":F()}],"mask-image-radial-to-color":[{"mask-radial-to":F()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":P()}],"mask-image-conic-pos":[{"mask-conic":[xe]}],"mask-image-conic-from-pos":[{"mask-conic-from":H()}],"mask-image-conic-to-pos":[{"mask-conic-to":H()}],"mask-image-conic-from-color":[{"mask-conic-from":F()}],"mask-image-conic-to-color":[{"mask-conic-to":F()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:X()}],"mask-repeat":[{mask:de()}],"mask-size":[{mask:te()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ae,oe]}],filter:[{filter:["","none",ae,oe]}],blur:[{blur:U()}],brightness:[{brightness:[xe,ae,oe]}],contrast:[{contrast:[xe,ae,oe]}],"drop-shadow":[{"drop-shadow":["","none",v,qn,kn]}],"drop-shadow-color":[{"drop-shadow":F()}],grayscale:[{grayscale:["",xe,ae,oe]}],"hue-rotate":[{"hue-rotate":[xe,ae,oe]}],invert:[{invert:["",xe,ae,oe]}],saturate:[{saturate:[xe,ae,oe]}],sepia:[{sepia:["",xe,ae,oe]}],"backdrop-filter":[{"backdrop-filter":["","none",ae,oe]}],"backdrop-blur":[{"backdrop-blur":U()}],"backdrop-brightness":[{"backdrop-brightness":[xe,ae,oe]}],"backdrop-contrast":[{"backdrop-contrast":[xe,ae,oe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",xe,ae,oe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[xe,ae,oe]}],"backdrop-invert":[{"backdrop-invert":["",xe,ae,oe]}],"backdrop-opacity":[{"backdrop-opacity":[xe,ae,oe]}],"backdrop-saturate":[{"backdrop-saturate":[xe,ae,oe]}],"backdrop-sepia":[{"backdrop-sepia":["",xe,ae,oe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":k()}],"border-spacing-x":[{"border-spacing-x":k()}],"border-spacing-y":[{"border-spacing-y":k()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ae,oe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[xe,"initial",ae,oe]}],ease:[{ease:["linear","initial",x,ae,oe]}],delay:[{delay:[xe,ae,oe]}],animate:[{animate:["none",b,ae,oe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,ae,oe]}],"perspective-origin":[{"perspective-origin":C()}],rotate:[{rotate:Y()}],"rotate-x":[{"rotate-x":Y()}],"rotate-y":[{"rotate-y":Y()}],"rotate-z":[{"rotate-z":Y()}],scale:[{scale:Q()}],"scale-x":[{"scale-x":Q()}],"scale-y":[{"scale-y":Q()}],"scale-z":[{"scale-z":Q()}],"scale-3d":["scale-3d"],skew:[{skew:le()}],"skew-x":[{"skew-x":le()}],"skew-y":[{"skew-y":le()}],transform:[{transform:[ae,oe,"","none","gpu","cpu"]}],"transform-origin":[{origin:C()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:fe()}],"translate-x":[{"translate-x":fe()}],"translate-y":[{"translate-y":fe()}],"translate-z":[{"translate-z":fe()}],"translate-none":["translate-none"],accent:[{accent:F()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:F()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ae,oe]}],"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":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mbs":[{"scroll-mbs":k()}],"scroll-mbe":[{"scroll-mbe":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pbs":[{"scroll-pbs":k()}],"scroll-pbe":[{"scroll-pbe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"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",ae,oe]}],fill:[{fill:["none",...F()]}],"stroke-w":[{stroke:[xe,Vr,nr,al]}],stroke:[{stroke:["none",...F()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","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"]}},Qp=Rp(Jp);class ar{static instance;constructor(){}static getInstance(){return ar.instance||(ar.instance=new ar),ar.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,g=r.viewportHeight||window.innerHeight,h=Math.max(v,g);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 R(...e){return Qp(pu(e))}const Zp={},Qs=u.createContext(Zp);function ev({theme:e,children:t}){const r=u.useContext(Qs),n=u.useMemo(()=>({...r,...e}),[r,e]);return c.jsx(Qs.Provider,{value:n,children:t})}function se(){return u.useContext(Qs)}function tv(e){return e}function rv(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 nv(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 ov=(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(nv(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=rv(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})(),Qe="-ms-",to="-moz-",je="-webkit-",Iu="comm",qi="rule",ji="decl",sv="@import",Tu="@keyframes",iv="@layer",av=Math.abs,go=String.fromCharCode,lv=Object.assign;function cv(e,t){return We(e,0)^45?(((t<<2^We(e,0))<<2^We(e,1))<<2^We(e,2))<<2^We(e,3):0}function _u(e){return e.trim()}function uv(e,t){return(e=t.exec(e))?e[0]:e}function Ee(e,t,r){return e.replace(t,r)}function Zs(e,t){return e.indexOf(t)}function We(e,t){return e.charCodeAt(t)|0}function nn(e,t,r){return e.slice(t,r)}function Ct(e){return e.length}function Ei(e){return e.length}function jn(e,t){return t.push(e),e}function dv(e,t){return e.map(t).join("")}var bo=1,Er=1,Ou=0,nt=0,De=0,Or="";function xo(e,t,r,n,o,s,i){return{value:e,root:t,parent:r,type:n,props:o,children:s,line:bo,column:Er,length:i,return:""}}function zr(e,t){return lv(xo("",null,null,"",null,null,0),e,{length:-e.length},t)}function fv(){return De}function mv(){return De=nt>0?We(Or,--nt):0,Er--,De===10&&(Er=1,bo--),De}function lt(){return De=nt<Ou?We(Or,nt++):0,Er++,De===10&&(Er=1,bo++),De}function kt(){return We(Or,nt)}function zn(){return nt}function hn(e,t){return nn(Or,e,t)}function on(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 Mu(e){return bo=Er=1,Ou=Ct(Or=e),nt=0,[]}function Lu(e){return Or="",e}function Hn(e){return _u(hn(nt-1,ei(e===91?e+2:e===40?e+1:e)))}function hv(e){for(;(De=kt())&&De<33;)lt();return on(e)>2||on(De)>3?"":" "}function pv(e,t){for(;--t&<()&&!(De<48||De>102||De>57&&De<65||De>70&&De<97););return hn(e,zn()+(t<6&&kt()==32&<()==32))}function ei(e){for(;lt();)switch(De){case e:return nt;case 34:case 39:e!==34&&e!==39&&ei(De);break;case 40:e===41&&ei(e);break;case 92:lt();break}return nt}function vv(e,t){for(;lt()&&e+De!==57;)if(e+De===84&&kt()===47)break;return"/*"+hn(t,nt-1)+"*"+go(e===47?e:lt())}function gv(e){for(;!on(kt());)lt();return hn(e,nt)}function bv(e){return Lu(Un("",null,null,null,[""],e=Mu(e),0,[0],e))}function Un(e,t,r,n,o,s,i,a,l){for(var d=0,f=0,m=i,p=0,v=0,g=0,h=1,y=1,x=1,b=0,w="",P=o,C=s,S=n,N=w;y;)switch(g=b,b=lt()){case 40:if(g!=108&&We(N,m-1)==58){Zs(N+=Ee(Hn(b),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:N+=Hn(b);break;case 9:case 10:case 13:case 32:N+=hv(g);break;case 92:N+=pv(zn()-1,7);continue;case 47:switch(kt()){case 42:case 47:jn(xv(vv(lt(),zn()),t,r),l);break;default:N+="/"}break;case 123*h:a[d++]=Ct(N)*x;case 125*h:case 59:case 0:switch(b){case 0:case 125:y=0;case 59+f:x==-1&&(N=Ee(N,/\f/g,"")),v>0&&Ct(N)-m&&jn(v>32?dl(N+";",n,r,m-1):dl(Ee(N," ","")+";",n,r,m-2),l);break;case 59:N+=";";default:if(jn(S=ul(N,t,r,d,f,o,a,w,P=[],C=[],m),s),b===123)if(f===0)Un(N,t,S,S,P,s,m,a,C);else switch(p===99&&We(N,3)===110?100:p){case 100:case 108:case 109:case 115:Un(e,S,S,n&&jn(ul(e,S,S,0,0,o,a,w,o,P=[],m),C),o,C,m,a,n?P:C);break;default:Un(N,S,S,S,[""],C,0,a,C)}}d=f=v=0,h=x=1,w=N="",m=i;break;case 58:m=1+Ct(N),v=g;default:if(h<1){if(b==123)--h;else if(b==125&&h++==0&&mv()==125)continue}switch(N+=go(b),b*h){case 38:x=f>0?1:(N+="\f",-1);break;case 44:a[d++]=(Ct(N)-1)*x,x=1;break;case 64:kt()===45&&(N+=Hn(lt())),p=kt(),f=m=Ct(w=N+=gv(zn())),b++;break;case 45:g===45&&Ct(N)==2&&(h=0)}}return s}function ul(e,t,r,n,o,s,i,a,l,d,f){for(var m=o-1,p=o===0?s:[""],v=Ei(p),g=0,h=0,y=0;g<n;++g)for(var x=0,b=nn(e,m+1,m=av(h=i[g])),w=e;x<v;++x)(w=_u(h>0?p[x]+" "+b:Ee(b,/&\f/g,p[x])))&&(l[y++]=w);return xo(e,t,r,o===0?qi:a,l,d,f)}function xv(e,t,r){return xo(e,t,r,Iu,go(fv()),nn(e,2,-2),0)}function dl(e,t,r,n){return xo(e,t,r,ji,nn(e,0,n),nn(e,n+1,-1),n)}function kr(e,t){for(var r="",n=Ei(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function yv(e,t,r,n){switch(e.type){case iv:if(e.children.length)break;case sv:case ji:return e.return=e.return||e.value;case Iu:return"";case Tu:return e.return=e.value+"{"+kr(e.children,n)+"}";case qi:e.value=e.props.join(",")}return Ct(r=kr(e.children,n))?e.return=e.value+"{"+r+"}":""}function wv(e){var t=Ei(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 Pv(e){return function(t){t.root||(t=t.return)&&e(t)}}function Cv(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Sv=function(t,r,n){for(var o=0,s=0;o=s,s=kt(),o===38&&s===12&&(r[n]=1),!on(s);)lt();return hn(t,nt)},Nv=function(t,r){var n=-1,o=44;do switch(on(o)){case 0:o===38&&kt()===12&&(r[n]=1),t[n]+=Sv(nt-1,r,n);break;case 2:t[n]+=Hn(o);break;case 4:if(o===44){t[++n]=kt()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=go(o)}while(o=lt());return t},kv=function(t,r){return Lu(Nv(Mu(t),r))},fl=new WeakMap,qv=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&&!fl.get(n))&&!o){fl.set(t,!0);for(var s=[],i=kv(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]}}},jv=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function Du(e,t){switch(cv(e,t)){case 5103:return je+"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 je+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return je+e+to+e+Qe+e+e;case 6828:case 4268:return je+e+Qe+e+e;case 6165:return je+e+Qe+"flex-"+e+e;case 5187:return je+e+Ee(e,/(\w+).+(:[^]+)/,je+"box-$1$2"+Qe+"flex-$1$2")+e;case 5443:return je+e+Qe+"flex-item-"+Ee(e,/flex-|-self/,"")+e;case 4675:return je+e+Qe+"flex-line-pack"+Ee(e,/align-content|flex-|-self/,"")+e;case 5548:return je+e+Qe+Ee(e,"shrink","negative")+e;case 5292:return je+e+Qe+Ee(e,"basis","preferred-size")+e;case 6060:return je+"box-"+Ee(e,"-grow","")+je+e+Qe+Ee(e,"grow","positive")+e;case 4554:return je+Ee(e,/([^-])(transform)/g,"$1"+je+"$2")+e;case 6187:return Ee(Ee(Ee(e,/(zoom-|grab)/,je+"$1"),/(image-set)/,je+"$1"),e,"")+e;case 5495:case 3959:return Ee(e,/(image-set\([^]*)/,je+"$1$`$1");case 4968:return Ee(Ee(e,/(.+:)(flex-)?(.*)/,je+"box-pack:$3"+Qe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+je+e+e;case 4095:case 3583:case 4068:case 2532:return Ee(e,/(.+)-inline(.+)/,je+"$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(Ct(e)-1-t>6)switch(We(e,t+1)){case 109:if(We(e,t+4)!==45)break;case 102:return Ee(e,/(.+:)(.+)-([^]+)/,"$1"+je+"$2-$3$1"+to+(We(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Zs(e,"stretch")?Du(Ee(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(We(e,t+1)!==115)break;case 6444:switch(We(e,Ct(e)-3-(~Zs(e,"!important")&&10))){case 107:return Ee(e,":",":"+je)+e;case 101:return Ee(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+je+(We(e,14)===45?"inline-":"")+"box$3$1"+je+"$2$3$1"+Qe+"$2box$3")+e}break;case 5936:switch(We(e,t+11)){case 114:return je+e+Qe+Ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return je+e+Qe+Ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return je+e+Qe+Ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return je+e+Qe+e+e}return e}var Ev=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case ji:t.return=Du(t.value,t.length);break;case Tu:return kr([zr(t,{value:Ee(t.value,"@","@"+je)})],o);case qi:if(t.length)return dv(t.props,function(s){switch(uv(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return kr([zr(t,{props:[Ee(s,/:(read-\w+)/,":"+to+"$1")]})],o);case"::placeholder":return kr([zr(t,{props:[Ee(s,/:(plac\w+)/,":"+je+"input-$1")]}),zr(t,{props:[Ee(s,/:(plac\w+)/,":"+to+"$1")]}),zr(t,{props:[Ee(s,/:(plac\w+)/,Qe+"input-$1")]})],o)}return""})}},Rv=[Ev],Av=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 y=h.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var o=t.stylisPlugins||Rv,s={},i,a=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(h){for(var y=h.getAttribute("data-emotion").split(" "),x=1;x<y.length;x++)s[y[x]]=!0;a.push(h)});var l,d=[qv,jv];{var f,m=[yv,Pv(function(h){f.insert(h)})],p=wv(d.concat(o,m)),v=function(y){return kr(bv(y),p)};l=function(y,x,b,w){f=b,v(y?y+"{"+x.styles+"}":x.styles),w&&(g.inserted[x.name]=!0)}}var g={key:r,sheet:new ov({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 g.sheet.hydrate(a),g};function Iv(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 Tv={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},_v=/[A-Z]|^ms/g,Ov=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Fu=function(t){return t.charCodeAt(1)===45},ml=function(t){return t!=null&&typeof t!="boolean"},Zo=Cv(function(e){return Fu(e)?e:e.replace(_v,"-$&").toLowerCase()}),hl=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Ov,function(n,o,s){return Ht={name:o,styles:s,next:Ht},o})}return Tv[t]!==1&&!Fu(t)&&typeof r=="number"&&r!==0?r+"px":r};function ro(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 Ht={name:o.name,styles:o.styles,next:Ht},o.name;var s=r;if(s.styles!==void 0){var i=s.next;if(i!==void 0)for(;i!==void 0;)Ht={name:i.name,styles:i.styles,next:Ht},i=i.next;var a=s.styles+";";return a}return Mv(e,t,r)}}var l=r;if(t==null)return l;var d=t[l];return d!==void 0?d:l}function Mv(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=ro(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]+"}":ml(a)&&(n+=Zo(s)+":"+hl(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++)ml(i[l])&&(n+=Zo(s)+":"+hl(s,i[l])+";");else{var d=ro(e,t,i);switch(s){case"animation":case"animationName":{n+=Zo(s)+":"+d+";";break}default:n+=s+"{"+d+"}"}}}return n}var pl=/label:\s*([^\s;{]+)\s*(;|$)/g,Ht;function es(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="";Ht=void 0;var s=e[0];if(s==null||s.raw===void 0)n=!1,o+=ro(r,t,s);else{var i=s;o+=i[0]}for(var a=1;a<e.length;a++)if(o+=ro(r,t,e[a]),n){var l=s;o+=l[a]}pl.lastIndex=0;for(var d="",f;(f=pl.exec(o))!==null;)d+="-"+f[1];var m=Iv(o)+d;return{name:m,styles:o,next:Ht}}function Bu(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(n+=o+" ")}),n}var Lv=function(t,r,n){var o=t.key+"-"+r.name;t.registered[o]===void 0&&(t.registered[o]=r.styles)},Dv=function(t,r,n){Lv(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 vl(e,t){if(e.inserted[t.name]===void 0)return e.insert("",t,e.sheet,!0)}function gl(e,t,r){var n=[],o=Bu(e,n,r);return n.length<2?r:o+t(n)}var Fv=function(t){var r=Av(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=es(d,r.registered,void 0);return Dv(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=es(d,r.registered),p="animation-"+m.name;return vl(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=es(d,r.registered);vl(r,m)},i=function(){for(var l=arguments.length,d=new Array(l),f=0;f<l;f++)d[f]=arguments[f];return gl(r.registered,n,Bv(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:Bu.bind(null,r.registered),merge:gl.bind(null,r.registered,n)}},Bv=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},$v=Fv({key:"css"}),Vv=$v.css;function zv(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function ti(e,t,r){if(e){if(typeof e=="function"){ti(e(t),t,r);return}if(Array.isArray(e)){for(const n of e)ti(n,t,r);return}zv(e)&&r.push(e)}}function Hv(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 Uv(e){const t={};for(const[r,n]of Object.entries(e))Hv(r,n)&&(t[r]=n);return t}function ee(e,t){const r=[];if(ti(e,t,r),!r.length)return{sxClassName:void 0,sxInlineStyle:void 0};const n=Vv(r),o=r.reduce((s,i)=>({...s,...Uv(i)}),{});return{sxClassName:n,sxInlineStyle:o}}function D(...e){const t=e.reduce((r,n)=>n?{...r,...n}:r,{});return Object.keys(t).length?t:void 0}function vt(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:g,roundedStyle:h}=hr(o),{shadowPreset:y,shadowStyle:x}=mn(s),b=se(),{sxClassName:w,sxInlineStyle:P}=ee(l,b);return c.jsx(v,{className:R(gu({variant:r,size:n,rounded:g,shadow:y,bounce:i,splash:a}),w,f,m),style:D(d,h,x,P),...p})}vt.displayName="Button";const ts={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 Wv(e){if(e===void 0)return{sizeClassName:ts.md};if(typeof e=="string"&&e in ts)return{sizeClassName:ts[e]};const t=typeof e=="number"?`${e}px`:e;return{sizeStyle:{width:t,height:t}}}function no(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:g}=Wv(r),h={...p,component:t,size:"icon",rounded:d,className:R("shrink-0 overflow-hidden p-0",v,f),style:D({position:n,left:o,top:s,right:i,bottom:a,zIndex:l},g,m)};return c.jsx(vt,{...h})}no.displayName="GhostButton";const $u="__LDKJ_GHOST_BUTTON_GROUP_ITEM__";function Ri(e){return null}Ri.displayName="GhostButtonGroup.Item";Ri[$u]=!0;function Kv(e){return!!(e&&typeof e=="function"&&e[$u]===!0)}function Gv(e){return typeof e=="number"?`${e}px`:e}function bl(e,t){return e.includes(t)}function Yv(e){const t=[],r=[];return u.Children.forEach(e,n=>{if(u.isValidElement(n)&&Kv(n.type)){r.push(n);return}t.push(n)}),{triggerChildren:t,itemChildren:r}}function Xv(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 Jv(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 Qv(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)":Jv(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 Zv(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,g=Array.isArray(t)?t:[t],h=Gv(n),{triggerChildren:y,itemChildren:x}=Yv(s),b=[...o??[],...x.map(T=>({...T.props,key:T.key??void 0}))],[w,P]=u.useState(!1),[C,S]=u.useState("closed"),N=u.useRef(null),k=u.useRef(null),q=y.length>0?c.jsx(c.Fragment,{children:y}):void 0,A=bl(g,"hover"),j=bl(g,"click"),E=Math.max(b.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 T=window.setTimeout(()=>{S("closed")},E);return()=>window.clearTimeout(T)},[E,C,w]),u.useLayoutEffect(()=>{if(C!=="preparing")return;k.current?.offsetHeight;const T=window.requestAnimationFrame(()=>{S($=>$==="preparing"?"open":$)});return()=>window.cancelAnimationFrame(T)},[C]),u.useEffect(()=>{if(!w||!j)return;const T=M=>{const W=M.target;W instanceof Node&&(N.current?.contains(W)||P(!1))},$=M=>{M.key==="Escape"&&P(!1)};return document.addEventListener("pointerdown",T),document.addEventListener("keydown",$),()=>{document.removeEventListener("pointerdown",T),document.removeEventListener("keydown",$)}},[w,j]);const O={...v,position:"static",right:void 0,bottom:void 0,left:void 0,top:void 0,zIndex:m,onClick:T=>{j&&P($=>!$),p?.(T)},"aria-expanded":w,"aria-haspopup":"menu",children:q};return c.jsx("div",{ref:N,className:R("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:R("relative inline-flex w-fit"),children:[I&&b.length>0?c.jsx("div",{ref:k,style:{...Xv(r,h),pointerEvents:C==="open"?"auto":"none"},children:b.map((T,$)=>{const{itemKey:M,onClick:W,...F}=T;return c.jsx("div",{style:Qv(r,C,$,b.length),children:c.jsx(no,{position:"static",...F,onClick:X=>{W?.(X),P(!1)}})},M??T.key??$)})}):null,c.jsx(no,{...O})]})})}const Vu=Object.assign(Zv,{Item:Ri});Vu.displayName="GhostButtonGroup";const Ai={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(Ai));const Ut={};function zu(e){return{...e}}function eg(e){Object.assign(Ut,zu(e))}function tg(e){const t=zu(e);Object.keys(Ut).forEach(r=>{delete Ut[r]}),Object.assign(Ut,t)}function rg(){Object.keys(Ut).forEach(e=>{delete Ut[e]})}function ng(){const e=Object.keys(Ut),t=Object.keys(Ai);return Array.from(new Set([...e,...t]))}function xl(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 og(e,t){const r=Ut[e]??Ai[e]??null;return r?t==="rounded"?r.rounded??r.outlined:t==="sharp"?r.sharp??r.outlined:r.outlined:null}function sg(e,t){return u.lazy(async()=>{const r=og(e,t);if(!r)return{default:xl};try{return{default:(await r()).default}}catch{return{default:xl}}})}function $e(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(()=>sg(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})})}$e.displayName="Icon";let Hu=null;function yl(e){Hu=e}function ig(){return Hu}const ag=200,lg={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"}},Uu=u.createContext(null);let wl=0;function cg(){return wl+=1,`ldkj-toast-${Date.now()}-${wl}`}function ug(e,t){return e.filter(r=>r.id!==t)}function dg(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 Wu(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(b=>{const w=l.current.get(b);w!==void 0&&(window.clearTimeout(w),l.current.delete(b));const P=d.current.get(b);P!==void 0&&(window.clearTimeout(P),d.current.delete(b))},[]),m=u.useCallback(b=>{f(b),a(w=>ug(w,b))},[f]),p=u.useCallback(b=>{f(b),a(P=>P.map(C=>C.id===b&&!C.leaving?{...C,leaving:!0}:C));const w=window.setTimeout(()=>{m(b)},ag);d.current.set(b,w)},[f,m]),v=u.useCallback(()=>{a(b=>(b.forEach(w=>f(w.id)),[]))},[f]),g=u.useCallback(b=>{const w=b.duration??n,P=b.id??cg(),C={id:P,message:b.message,type:b.type??"info",placement:b.placement??r,closable:b.closable??!0,icon:b.icon,iconColor:b.iconColor,leaving:!1};a(N=>{const k=[...N,C];if(k.length<=o)return k;const q=k.length-o;return k.slice(0,q).forEach(j=>f(j.id)),k.slice(q)});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(b=>window.clearTimeout(b)),d.current.forEach(b=>window.clearTimeout(b)),l.current.clear(),d.current.clear()},[]);const h=u.useMemo(()=>({push:g,dismiss:p,clear:v}),[v,p,g]);u.useEffect(()=>(yl(h),()=>yl(null)),[h]);const y=u.useMemo(()=>dg(i),[i]),x=Array.from(y.keys());return c.jsxs(Uu.Provider,{value:h,children:[t,x.map(b=>{const w=y.get(b)??[],P=s?[...w].reverse():w;return c.jsx("div",{className:R("ldkj-toast-viewport",`ldkj-toast-viewport-${b}`),"aria-hidden":P.length===0,children:P.map(C=>{const S=lg[C.type],N=C.iconColor??S.iconColor;return c.jsxs("div",{className:R("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($e,{name:C.icon,color:N,size:20,className:"ldkj-toast-icon",title:`${C.type} icon`}):C.icon?.svg||C.icon?.src?c.jsx($e,{svg:C.icon.svg,src:C.icon.src,color:N,size:20,className:"ldkj-toast-icon",title:`${C.type} icon`}):c.jsx($e,{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($e,{name:"close",size:16,className:"ldkj-toast-close-icon"})}):null]},C.id)})},b)})]})}Wu.displayName="ToastProvider";function fg(){const e=u.useContext(Uu);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 Wn={placement:"top",duration:3e3,closable:!0};let Pl=!1;const ft={...Wn};function Ku(e){return{placement:e?.placement??ft.placement,duration:e?.duration??ft.duration,id:e?.id,closable:e?.closable??ft.closable,icon:e?.icon,iconColor:e?.iconColor}}function Kn(){const e=ig();return e||(Pl||(Pl=!0,console.warn("toast 调用失败:请先在应用根节点挂载 ToastProvider。")),null)}function En(e,t,r){const n=Kn();return n?n.push({type:e,message:t,...Ku(r)}):""}const mg={show(e,t){const r=Kn();return r?r.push({type:"info",message:typeof e=="string"?e:String(e),...Ku(t)}):""},info(e,t){return En("info",e,t)},success(e,t){return En("success",e,t)},warn(e,t){return En("warn",e,t)},error(e,t){return En("error",e,t)},dismiss(e){const t=Kn();t&&t.dismiss(e)},clear(){const e=Kn();e&&e.clear()},config(e){ft.placement=e.placement??ft.placement,ft.duration=e.duration??ft.duration,ft.closable=e.closable??ft.closable},resetConfig(){ft.placement=Wn.placement,ft.duration=Wn.duration,ft.closable=Wn.closable}};function Cl(e){if(e!=null)return typeof e=="boolean"?e?"blur(5px)":void 0:typeof e=="number"?`blur(${e}px)`:`blur(${e})`}function Ii(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:g,style:h,sx:y,contentClassName:x,contentClass:b,contentStyle:w,contentSx:P,children:C,...S}=e,N=se(),{sxClassName:k,sxInlineStyle:q}=ee(y,N),{sxClassName:A,sxInlineStyle:j}=ee(P,N),E=u.useRef(!1);return u.useEffect(()=>{if(E.current){t?p?.():m?.();return}E.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:R("fixed inset-0 z-[9999]",k,v,g),style:D({backgroundColor:`rgba(0, 0, 0, ${s})`,backdropFilter:Cl(i),WebkitBackdropFilter:Cl(i)},h,q),onTouchStart:I=>{o||(I.preventDefault(),I.stopPropagation())},onClick:()=>{n&&m?.()},...S,children:c.jsx("div",{className:R("absolute",A,x,b),style:D({left:a,top:l,transform:`translate(${d}, ${f})`},w,j),onClick:I=>{I.stopPropagation()},children:C})})}Ii.displayName="Modal";const Gu=u.createContext(null),Yu=u.createContext(null);function pn(e){const t=u.useContext(Gu);if(!t)throw new Error(`${e} 必须在 <Dialog> 内使用`);return t}function Jt(e){const t=se();return ee(e,t)}function hg(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 pg=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]=hg({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(Gu.Provider,{value:p,children:d})},Ti=u.forwardRef((e,t)=>{const{setOpen:r}=pn("DialogTrigger"),{asChild:n,asChildWrapper:o="span",className:s,class:i,sx:a,style:l,children:d,onClick:f,...m}=e,{sxClassName:p,sxInlineStyle:v}=Jt(a),g=h=>{f?.(h),!h.defaultPrevented&&r(!0)};return n?c.jsx(o,{ref:t,className:R("inline-flex w-fit",p,s,i),style:D(l,v),onClick:g,...m,children:d}):c.jsx("button",{ref:t,type:"button",className:R(p,s,i),style:D(l,v),onClick:g,...m,children:d})});Ti.displayName="DialogTrigger";const _i=u.forwardRef((e,t)=>{const{setOpen:r}=pn("DialogClose"),{asChild:n,asChildWrapper:o="span",className:s,class:i,sx:a,style:l,children:d,onClick:f,...m}=e,{sxClassName:p,sxInlineStyle:v}=Jt(a),g=h=>{f?.(h),!h.defaultPrevented&&r(!1)};return n?c.jsx(o,{ref:t,className:R("inline-flex w-fit",p,s,i),style:D(l,v),onClick:g,...m,children:d}):c.jsx("button",{ref:t,type:"button",className:R(p,s,i),style:D(l,v),onClick:g,...m,children:d})});_i.displayName="DialogClose";const Xu=e=>{const{children:t,container:r}=e;if(typeof document>"u")return null;const n=r??document.body;return n?fn.createPortal(t,n):null},Oi=u.forwardRef((e,t)=>{const{open:r,destroyOnClose:n,closeOnMaskClick:o,setOpen:s}=pn("DialogOverlay"),{className:i,class:a,sx:l,style:d,blur:f=!0,onClick:m,...p}=e,{sxClassName:v,sxInlineStyle:g}=Jt(l);return!r&&n?null:c.jsx("div",{ref:t,hidden:!r,"data-state":r?"open":"closed",className:R("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:D(d,g),onClick:h=>{m?.(h),!h.defaultPrevented&&o&&s(!1)},...p})});Oi.displayName="DialogOverlay";const Mi=u.forwardRef((e,t)=>{const r=pn("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:g,onCloseAutoFocus:h,...y}=e,{sxClassName:x,sxInlineStyle:b}=Jt(i),w=u.useRef(null),P=u.useRef(r.open);u.useImperativeHandle(t,()=>w.current),u.useEffect(()=>{const k=P.current;if(!k&&r.open){const q=new Event("openAutoFocus",{cancelable:!0});g?.(q),q.defaultPrevented||w.current?.focus()}if(k&&!r.open){const q=new Event("closeAutoFocus",{cancelable:!0});h?.(q)}P.current=r.open},[r.open,h,g]),u.useEffect(()=>{if(!r.open)return;const k=q=>{q.key==="Escape"&&(p?.(q),!q.defaultPrevented&&r.setOpen(!1))};return window.addEventListener("keydown",k),()=>{window.removeEventListener("keydown",k)}},[r,p]);const C=r.lockScroll&&r.modal,S=r.scrollable||!C,N=r.modal&&r.closeOnMaskClick;return c.jsx(Ii,{open:r.open,destroyOnClose:r.destroyOnClose,closeOnMaskClick:N,scrollable:S,blur:m?1:!1,className:R("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 k=new PointerEvent("pointerdown",{bubbles:!0,cancelable:!0});v?.(k),k.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:R("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%]",x,o,s),style:D(a,b),...y,children:c.jsx(Yu.Provider,{value:{showClose:l},children:n})})})});Mi.displayName="DialogContent";const Li=u.forwardRef((e,t)=>{const r=pn("DialogHeader"),o=u.useContext(Yu)?.showClose??!1,{className:s,class:i,sx:a,style:l,children:d,...f}=e,{sxClassName:m,sxInlineStyle:p}=Jt(a);return c.jsxs("div",{ref:t,className:R("flex items-start justify-between gap-3",m,s,i),style:D(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:R("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($e,{name:"close",size:16})}):null]})});Li.displayName="DialogHeader";const Di=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=Jt(o);return c.jsx("div",{ref:t,className:R("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",a,r,n),style:D(s,l),...i})});Di.displayName="DialogFooter";const Fi=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=Jt(o);return c.jsx("h2",{ref:t,className:R("m-0 text-lg font-semibold leading-6 text-slate-950",a,r,n),style:D({margin:0,borderTop:0,paddingTop:0,letterSpacing:0,fontSize:"1.125rem",fontWeight:600,lineHeight:"1.5rem"},s,l),...i})});Fi.displayName="DialogTitle";const Bi=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=Jt(o);return c.jsx("p",{ref:t,className:R("m-0 text-sm leading-5 text-slate-600",a,r,n),style:D({margin:0,fontSize:"0.875rem",lineHeight:"1.25rem"},s,l),...i})});Bi.displayName="DialogDescription";const vg=Object.assign(pg,{Trigger:Ti,Portal:Xu,Close:_i,Overlay:Oi,Content:Mi,Header:Li,Footer:Di,Title:Fi,Description:Bi});function pe(e,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(e?.(o),r===!1||!o.defaultPrevented)return t?.(o)}}function Sl(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function $i(...e){return t=>{let r=!1;const n=e.map(o=>{const s=Sl(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():Sl(e[o],null)}}}}function Re(...e){return u.useCallback($i(...e),e)}function xt(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,...g}=m,h=p?.[e]?.[l]||a,y=u.useMemo(()=>g,Object.values(g));return c.jsx(h.Provider,{value:y,children:v})};d.displayName=s+"Provider";function f(m,p){const v=p?.[e]?.[l]||a,g=u.useContext(v);if(g)return g;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,gg(o,...t)]}function gg(...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 sn(e){const t=bg(e),r=u.forwardRef((n,o)=>{const{children:s,...i}=n,a=u.Children.toArray(s),l=a.find(yg);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 bg(e){const t=u.forwardRef((r,n)=>{const{children:o,...s}=r;if(u.isValidElement(o)){const i=Pg(o),a=wg(s,o.props);return o.type!==u.Fragment&&(a.ref=n?$i(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 Ju=Symbol("radix.slottable");function xg(e){const t=({children:r})=>c.jsx(c.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=Ju,t}function yg(e){return u.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Ju}function wg(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 Pg(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 Cg=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ye=Cg.reduce((e,t)=>{const r=sn(`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 Sg(e,t){e&&fn.flushSync(()=>e.dispatchEvent(t))}function At(e){const t=u.useRef(e);return u.useEffect(()=>{t.current=e}),u.useMemo(()=>(...r)=>t.current?.(...r),[])}function Ng(e,t=globalThis?.document){const r=At(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 kg="DismissableLayer",ri="dismissableLayer.update",qg="dismissableLayer.pointerDownOutside",jg="dismissableLayer.focusOutside",Nl,Qu=u.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),yo=u.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:i,onDismiss:a,...l}=e,d=u.useContext(Qu),[f,m]=u.useState(null),p=f?.ownerDocument??globalThis?.document,[,v]=u.useState({}),g=Re(t,N=>m(N)),h=Array.from(d.layers),[y]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=h.indexOf(y),b=f?h.indexOf(f):-1,w=d.layersWithOutsidePointerEventsDisabled.size>0,P=b>=x,C=Ag(N=>{const k=N.target,q=[...d.branches].some(A=>A.contains(k));!P||q||(o?.(N),i?.(N),N.defaultPrevented||a?.())},p),S=Ig(N=>{const k=N.target;[...d.branches].some(A=>A.contains(k))||(s?.(N),i?.(N),N.defaultPrevented||a?.())},p);return Ng(N=>{b===d.layers.size-1&&(n?.(N),!N.defaultPrevented&&a&&(N.preventDefault(),a()))},p),u.useEffect(()=>{if(f)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Nl=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),kl(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=Nl)}},[f,p,r,d]),u.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),kl())},[f,d]),u.useEffect(()=>{const N=()=>v({});return document.addEventListener(ri,N),()=>document.removeEventListener(ri,N)},[]),c.jsx(ye.div,{...l,ref:g,style:{pointerEvents:w?P?"auto":"none":void 0,...e.style},onFocusCapture:pe(e.onFocusCapture,S.onFocusCapture),onBlurCapture:pe(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:pe(e.onPointerDownCapture,C.onPointerDownCapture)})});yo.displayName=kg;var Eg="DismissableLayerBranch",Rg=u.forwardRef((e,t)=>{const r=u.useContext(Qu),n=u.useRef(null),o=Re(t,n);return u.useEffect(()=>{const s=n.current;if(s)return r.branches.add(s),()=>{r.branches.delete(s)}},[r.branches]),c.jsx(ye.div,{...e,ref:o})});Rg.displayName=Eg;function Ag(e,t=globalThis?.document){const r=At(e),n=u.useRef(!1),o=u.useRef(()=>{});return u.useEffect(()=>{const s=a=>{if(a.target&&!n.current){let l=function(){Zu(qg,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 Ig(e,t=globalThis?.document){const r=At(e),n=u.useRef(!1);return u.useEffect(()=>{const o=s=>{s.target&&!n.current&&Zu(jg,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 kl(){const e=new CustomEvent(ri);document.dispatchEvent(e)}function Zu(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?Sg(o,s):o.dispatchEvent(s)}var rs=0;function ed(){u.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??ql()),document.body.insertAdjacentElement("beforeend",e[1]??ql()),rs++,()=>{rs===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),rs--}},[])}function ql(){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 ns="focusScope.autoFocusOnMount",os="focusScope.autoFocusOnUnmount",jl={bubbles:!1,cancelable:!0},Tg="FocusScope",Vi=u.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...i}=e,[a,l]=u.useState(null),d=At(o),f=At(s),m=u.useRef(null),p=Re(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:zt(m.current,{select:!0})},y=function(w){if(v.paused||!a)return;const P=w.relatedTarget;P!==null&&(a.contains(P)||zt(m.current,{select:!0}))},x=function(w){if(document.activeElement===document.body)for(const C of w)C.removedNodes.length>0&&zt(a)};document.addEventListener("focusin",h),document.addEventListener("focusout",y);const b=new MutationObserver(x);return a&&b.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",y),b.disconnect()}}},[n,a,v.paused]),u.useEffect(()=>{if(a){Rl.add(v);const h=document.activeElement;if(!a.contains(h)){const x=new CustomEvent(ns,jl);a.addEventListener(ns,d),a.dispatchEvent(x),x.defaultPrevented||(_g(Fg(td(a)),{select:!0}),document.activeElement===h&&zt(a))}return()=>{a.removeEventListener(ns,d),setTimeout(()=>{const x=new CustomEvent(os,jl);a.addEventListener(os,f),a.dispatchEvent(x),x.defaultPrevented||zt(h??document.body,{select:!0}),a.removeEventListener(os,f),Rl.remove(v)},0)}}},[a,d,f,v]);const g=u.useCallback(h=>{if(!r&&!n||v.paused)return;const y=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,x=document.activeElement;if(y&&x){const b=h.currentTarget,[w,P]=Og(b);w&&P?!h.shiftKey&&x===P?(h.preventDefault(),r&&zt(w,{select:!0})):h.shiftKey&&x===w&&(h.preventDefault(),r&&zt(P,{select:!0})):x===b&&h.preventDefault()}},[r,n,v.paused]);return c.jsx(ye.div,{tabIndex:-1,...i,ref:p,onKeyDown:g})});Vi.displayName=Tg;function _g(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(zt(n,{select:t}),document.activeElement!==r)return}function Og(e){const t=td(e),r=El(t,e),n=El(t.reverse(),e);return[r,n]}function td(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(!Mg(r,{upTo:t}))return r}function Mg(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 Lg(e){return e instanceof HTMLInputElement&&"select"in e}function zt(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Lg(e)&&t&&e.select()}}var Rl=Dg();function Dg(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=Al(e,t),e.unshift(t)},remove(t){e=Al(e,t),e[0]?.resume()}}}function Al(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function Fg(e){return e.filter(t=>t.tagName!=="A")}var Ve=globalThis?.document?u.useLayoutEffect:()=>{},Bg=u[" useId ".trim().toString()]||(()=>{}),$g=0;function vr(e){const[t,r]=u.useState(Bg());return Ve(()=>{r(n=>n??String($g++))},[e]),e||(t?`radix-${t}`:"")}const Vg=["top","right","bottom","left"],Kt=Math.min,at=Math.max,oo=Math.round,Rn=Math.floor,qt=e=>({x:e,y:e}),zg={left:"right",right:"left",bottom:"top",top:"bottom"};function ni(e,t,r){return at(e,Kt(t,r))}function It(e,t){return typeof e=="function"?e(t):e}function Tt(e){return e.split("-")[0]}function Mr(e){return e.split("-")[1]}function zi(e){return e==="x"?"y":"x"}function Hi(e){return e==="y"?"height":"width"}function Nt(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Ui(e){return zi(Nt(e))}function Hg(e,t,r){r===void 0&&(r=!1);const n=Mr(e),o=Ui(e),s=Hi(o);let i=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=so(i)),[i,so(i)]}function Ug(e){const t=so(e);return[oi(e),t,oi(t)]}function oi(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Il=["left","right"],Tl=["right","left"],Wg=["top","bottom"],Kg=["bottom","top"];function Gg(e,t,r){switch(e){case"top":case"bottom":return r?t?Tl:Il:t?Il:Tl;case"left":case"right":return t?Wg:Kg;default:return[]}}function Yg(e,t,r,n){const o=Mr(e);let s=Gg(Tt(e),r==="start",n);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(oi)))),s}function so(e){const t=Tt(e);return zg[t]+e.slice(t.length)}function Xg(e){return{top:0,right:0,bottom:0,left:0,...e}}function rd(e){return typeof e!="number"?Xg(e):{top:e,right:e,bottom:e,left:e}}function io(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 _l(e,t,r){let{reference:n,floating:o}=e;const s=Nt(t),i=Ui(t),a=Hi(i),l=Tt(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(Mr(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 Jg(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}=It(t,e),g=rd(v),y=a[p?m==="floating"?"reference":"floating":m],x=io(await s.getClippingRect({element:(r=await(s.isElement==null?void 0:s.isElement(y)))==null||r?y:y.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:d,rootBoundary:f,strategy:l})),b=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=io(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:b,offsetParent:w,strategy:l}):b);return{top:(x.top-C.top+g.top)/P.y,bottom:(C.bottom-x.bottom+g.bottom)/P.y,left:(x.left-C.left+g.left)/P.x,right:(C.right-x.right+g.right)/P.x}}const Qg=50,Zg=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:s=[],platform:i}=r,a=i.detectOverflow?i:{...i,detectOverflow:Jg},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}=_l(d,n,l),p=n,v=0;const g={};for(let h=0;h<s.length;h++){const y=s[h];if(!y)continue;const{name:x,fn:b}=y,{x:w,y:P,data:C,reset:S}=await b({x:f,y:m,initialPlacement:n,placement:p,strategy:o,middlewareData:g,rects:d,platform:a,elements:{reference:e,floating:t}});f=w??f,m=P??m,g[x]={...g[x],...C},S&&v<Qg&&(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}=_l(d,p,l)),h=-1)}return{x:f,y:m,placement:p,strategy:o,middlewareData:g}},eb=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}=It(e,t)||{};if(d==null)return{};const m=rd(f),p={x:r,y:n},v=Ui(o),g=Hi(v),h=await i.getDimensions(d),y=v==="y",x=y?"top":"left",b=y?"bottom":"right",w=y?"clientHeight":"clientWidth",P=s.reference[g]+s.reference[v]-p[v]-s.floating[g],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[g]);const k=P/2-C/2,q=N/2-h[g]/2-1,A=Kt(m[x],q),j=Kt(m[b],q),E=A,I=N-h[g]-j,_=N/2-h[g]/2+k,O=ni(E,_,I),T=!l.arrow&&Mr(o)!=null&&_!==O&&s.reference[g]/2-(_<E?A:j)-h[g]/2<0,$=T?_<E?_-E:_-I:0;return{[v]:p[v]+$,data:{[v]:O,centerOffset:_-O-$,...T&&{alignmentOffset:$}},reset:T}}}),tb=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:g="none",flipAlignment:h=!0,...y}=It(e,t);if((r=s.arrow)!=null&&r.alignmentOffset)return{};const x=Tt(o),b=Nt(a),w=Tt(a)===a,P=await(l.isRTL==null?void 0:l.isRTL(d.floating)),C=p||(w||!h?[so(a)]:Ug(a)),S=g!=="none";!p&&S&&C.push(...Yg(a,h,g,P));const N=[a,...C],k=await l.detectOverflow(t,y),q=[];let A=((n=s.flip)==null?void 0:n.overflows)||[];if(f&&q.push(k[x]),m){const _=Hg(o,i,P);q.push(k[_[0]],k[_[1]])}if(A=[...A,{placement:o,overflows:q}],!q.every(_=>_<=0)){var j,E;const _=(((j=s.flip)==null?void 0:j.index)||0)+1,O=N[_];if(O&&(!(m==="alignment"?b!==Nt(O):!1)||A.every(M=>Nt(M.placement)===b?M.overflows[0]>0:!0)))return{data:{index:_,overflows:A},reset:{placement:O}};let T=(E=A.filter($=>$.overflows[0]<=0).sort(($,M)=>$.overflows[1]-M.overflows[1])[0])==null?void 0:E.placement;if(!T)switch(v){case"bestFit":{var I;const $=(I=A.filter(M=>{if(S){const W=Nt(M.placement);return W===b||W==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(W=>W>0).reduce((W,F)=>W+F,0)]).sort((M,W)=>M[1]-W[1])[0])==null?void 0:I[0];$&&(T=$);break}case"initialPlacement":T=a;break}if(o!==T)return{reset:{placement:T}}}return{}}}};function Ol(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Ml(e){return Vg.some(t=>e[t]>=0)}const rb=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r,platform:n}=t,{strategy:o="referenceHidden",...s}=It(e,t);switch(o){case"referenceHidden":{const i=await n.detectOverflow(t,{...s,elementContext:"reference"}),a=Ol(i,r.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Ml(a)}}}case"escaped":{const i=await n.detectOverflow(t,{...s,altBoundary:!0}),a=Ol(i,r.floating);return{data:{escapedOffsets:a,escaped:Ml(a)}}}default:return{}}}}},nd=new Set(["left","top"]);async function nb(e,t){const{placement:r,platform:n,elements:o}=e,s=await(n.isRTL==null?void 0:n.isRTL(o.floating)),i=Tt(r),a=Mr(r),l=Nt(r)==="y",d=nd.has(i)?-1:1,f=s&&l?-1:1,m=It(t,e);let{mainAxis:p,crossAxis:v,alignmentAxis:g}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return a&&typeof g=="number"&&(v=a==="end"?g*-1:g),l?{x:v*f,y:p*d}:{x:p*d,y:v*f}}const ob=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 nb(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}}}}},sb=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:x=>{let{x:b,y:w}=x;return{x:b,y:w}}},...d}=It(e,t),f={x:r,y:n},m=await s.detectOverflow(t,d),p=Nt(Tt(o)),v=zi(p);let g=f[v],h=f[p];if(i){const x=v==="y"?"top":"left",b=v==="y"?"bottom":"right",w=g+m[x],P=g-m[b];g=ni(w,g,P)}if(a){const x=p==="y"?"top":"left",b=p==="y"?"bottom":"right",w=h+m[x],P=h-m[b];h=ni(w,h,P)}const y=l.fn({...t,[v]:g,[p]:h});return{...y,data:{x:y.x-r,y:y.y-n,enabled:{[v]:i,[p]:a}}}}}},ib=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}=It(e,t),f={x:r,y:n},m=Nt(o),p=zi(m);let v=f[p],g=f[m];const h=It(a,t),y=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]+y.mainAxis,C=s.reference[p]+s.reference[w]-y.mainAxis;v<P?v=P:v>C&&(v=C)}if(d){var x,b;const w=p==="y"?"width":"height",P=nd.has(Tt(o)),C=s.reference[m]-s.floating[w]+(P&&((x=i.offset)==null?void 0:x[m])||0)+(P?0:y.crossAxis),S=s.reference[m]+s.reference[w]+(P?0:((b=i.offset)==null?void 0:b[m])||0)-(P?y.crossAxis:0);g<C?g=C:g>S&&(g=S)}return{[p]:v,[m]:g}}}},ab=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}=It(e,t),f=await i.detectOverflow(t,d),m=Tt(o),p=Mr(o),v=Nt(o)==="y",{width:g,height:h}=s.floating;let y,x;m==="top"||m==="bottom"?(y=m,x=p===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(x=m,y=p==="end"?"top":"bottom");const b=h-f.top-f.bottom,w=g-f.left-f.right,P=Kt(h-f[y],b),C=Kt(g-f[x],w),S=!t.middlewareData.shift;let N=P,k=C;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(k=w),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(N=b),S&&!p){const A=at(f.left,0),j=at(f.right,0),E=at(f.top,0),I=at(f.bottom,0);v?k=g-2*(A!==0||j!==0?A+j:at(f.left,f.right)):N=h-2*(E!==0||I!==0?E+I:at(f.top,f.bottom))}await l({...t,availableWidth:k,availableHeight:N});const q=await i.getDimensions(a.floating);return g!==q.width||h!==q.height?{reset:{rects:!0}}:{}}}};function wo(){return typeof window<"u"}function Lr(e){return od(e)?(e.nodeName||"").toLowerCase():"#document"}function ct(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function jt(e){var t;return(t=(od(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function od(e){return wo()?e instanceof Node||e instanceof ct(e).Node:!1}function gt(e){return wo()?e instanceof Element||e instanceof ct(e).Element:!1}function Ot(e){return wo()?e instanceof HTMLElement||e instanceof ct(e).HTMLElement:!1}function Ll(e){return!wo()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ct(e).ShadowRoot}function vn(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=bt(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&o!=="inline"&&o!=="contents"}function lb(e){return/^(table|td|th)$/.test(Lr(e))}function Po(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const cb=/transform|translate|scale|rotate|perspective|filter/,ub=/paint|layout|strict|content/,or=e=>!!e&&e!=="none";let ss;function Wi(e){const t=gt(e)?bt(e):e;return or(t.transform)||or(t.translate)||or(t.scale)||or(t.rotate)||or(t.perspective)||!Ki()&&(or(t.backdropFilter)||or(t.filter))||cb.test(t.willChange||"")||ub.test(t.contain||"")}function db(e){let t=Gt(e);for(;Ot(t)&&!Rr(t);){if(Wi(t))return t;if(Po(t))return null;t=Gt(t)}return null}function Ki(){return ss==null&&(ss=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ss}function Rr(e){return/^(html|body|#document)$/.test(Lr(e))}function bt(e){return ct(e).getComputedStyle(e)}function Co(e){return gt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Gt(e){if(Lr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ll(e)&&e.host||jt(e);return Ll(t)?t.host:t}function sd(e){const t=Gt(e);return Rr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ot(t)&&vn(t)?t:sd(t)}function an(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=sd(e),s=o===((n=e.ownerDocument)==null?void 0:n.body),i=ct(o);if(s){const a=si(i);return t.concat(i,i.visualViewport||[],vn(o)?o:[],a&&r?an(a):[])}else return t.concat(o,an(o,[],r))}function si(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function id(e){const t=bt(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=Ot(e),s=o?e.offsetWidth:r,i=o?e.offsetHeight:n,a=oo(r)!==s||oo(n)!==i;return a&&(r=s,n=i),{width:r,height:n,$:a}}function Gi(e){return gt(e)?e:e.contextElement}function qr(e){const t=Gi(e);if(!Ot(t))return qt(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:s}=id(t);let i=(s?oo(r.width):r.width)/n,a=(s?oo(r.height):r.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const fb=qt(0);function ad(e){const t=ct(e);return!Ki()||!t.visualViewport?fb:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function mb(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==ct(e)?!1:t}function dr(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),s=Gi(e);let i=qt(1);t&&(n?gt(n)&&(i=qr(n)):i=qr(e));const a=mb(s,r,n)?ad(s):qt(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=ct(s),v=n&>(n)?ct(n):n;let g=p,h=si(g);for(;h&&n&&v!==g;){const y=qr(h),x=h.getBoundingClientRect(),b=bt(h),w=x.left+(h.clientLeft+parseFloat(b.paddingLeft))*y.x,P=x.top+(h.clientTop+parseFloat(b.paddingTop))*y.y;l*=y.x,d*=y.y,f*=y.x,m*=y.y,l+=w,d+=P,g=ct(h),h=si(g)}}return io({width:f,height:m,x:l,y:d})}function So(e,t){const r=Co(e).scrollLeft;return t?t.left+r:dr(jt(e)).left+r}function ld(e,t){const r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-So(e,r),o=r.top+t.scrollTop;return{x:n,y:o}}function hb(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const s=o==="fixed",i=jt(n),a=t?Po(t.floating):!1;if(n===i||a&&s)return r;let l={scrollLeft:0,scrollTop:0},d=qt(1);const f=qt(0),m=Ot(n);if((m||!m&&!s)&&((Lr(n)!=="body"||vn(i))&&(l=Co(n)),m)){const v=dr(n);d=qr(n),f.x=v.x+n.clientLeft,f.y=v.y+n.clientTop}const p=i&&!m&&!s?ld(i,l):qt(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 pb(e){return Array.from(e.getClientRects())}function vb(e){const t=jt(e),r=Co(e),n=e.ownerDocument.body,o=at(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=at(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let i=-r.scrollLeft+So(e);const a=-r.scrollTop;return bt(n).direction==="rtl"&&(i+=at(t.clientWidth,n.clientWidth)-o),{width:o,height:s,x:i,y:a}}const Dl=25;function gb(e,t){const r=ct(e),n=jt(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=Ki();(!f||f&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}const d=So(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,g=Math.abs(n.clientWidth-m.clientWidth-v);g<=Dl&&(s-=g)}else d<=Dl&&(s+=d);return{width:s,height:i,x:a,y:l}}function bb(e,t){const r=dr(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,s=Ot(e)?qr(e):qt(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=gb(e,r);else if(t==="document")n=vb(jt(e));else if(gt(t))n=bb(t,r);else{const o=ad(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return io(n)}function cd(e,t){const r=Gt(e);return r===t||!gt(r)||Rr(r)?!1:bt(r).position==="fixed"||cd(r,t)}function xb(e,t){const r=t.get(e);if(r)return r;let n=an(e,[],!1).filter(a=>gt(a)&&Lr(a)!=="body"),o=null;const s=bt(e).position==="fixed";let i=s?Gt(e):e;for(;gt(i)&&!Rr(i);){const a=bt(i),l=Wi(i);!l&&a.position==="fixed"&&(o=null),(s?!l&&!o:!l&&a.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||vn(i)&&!l&&cd(e,i))?n=n.filter(f=>f!==i):o=a,i=Gt(i)}return t.set(e,n),n}function yb(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const i=[...r==="clippingAncestors"?Po(t)?[]:xb(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=at(v.top,l),d=Kt(v.right,d),f=Kt(v.bottom,f),m=at(v.left,m)}return{width:d-m,height:f-l,x:m,y:l}}function wb(e){const{width:t,height:r}=id(e);return{width:t,height:r}}function Pb(e,t,r){const n=Ot(t),o=jt(t),s=r==="fixed",i=dr(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=qt(0);function d(){l.x=So(o)}if(n||!n&&!s)if((Lr(t)!=="body"||vn(o))&&(a=Co(t)),n){const v=dr(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?ld(o,a):qt(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 is(e){return bt(e).position==="static"}function Bl(e,t){if(!Ot(e)||bt(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return jt(e)===r&&(r=r.ownerDocument.body),r}function ud(e,t){const r=ct(e);if(Po(e))return r;if(!Ot(e)){let o=Gt(e);for(;o&&!Rr(o);){if(gt(o)&&!is(o))return o;o=Gt(o)}return r}let n=Bl(e,t);for(;n&&lb(n)&&is(n);)n=Bl(n,t);return n&&Rr(n)&&is(n)&&!Wi(n)?r:n||db(e)||r}const Cb=async function(e){const t=this.getOffsetParent||ud,r=this.getDimensions,n=await r(e.floating);return{reference:Pb(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Sb(e){return bt(e).direction==="rtl"}const Nb={convertOffsetParentRelativeRectToViewportRelativeRect:hb,getDocumentElement:jt,getClippingRect:yb,getOffsetParent:ud,getElementRects:Cb,getClientRects:pb,getDimensions:wb,getScale:qr,isElement:gt,isRTL:Sb};function dd(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function kb(e,t){let r=null,n;const o=jt(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 g=Rn(m),h=Rn(o.clientWidth-(f+p)),y=Rn(o.clientHeight-(m+v)),x=Rn(f),w={rootMargin:-g+"px "+-h+"px "+-y+"px "+-x+"px",threshold:at(0,Kt(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&&!dd(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 qb(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=Gi(e),f=o||s?[...d?an(d):[],...t?an(t):[]]:[];f.forEach(x=>{o&&x.addEventListener("scroll",r,{passive:!0}),s&&x.addEventListener("resize",r)});const m=d&&a?kb(d,r):null;let p=-1,v=null;i&&(v=new ResizeObserver(x=>{let[b]=x;b&&b.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 g,h=l?dr(e):null;l&&y();function y(){const x=dr(e);h&&!dd(h,x)&&r(),h=x,g=requestAnimationFrame(y)}return r(),()=>{var x;f.forEach(b=>{o&&b.removeEventListener("scroll",r),s&&b.removeEventListener("resize",r)}),m?.(),(x=v)==null||x.disconnect(),v=null,l&&cancelAnimationFrame(g)}}const jb=ob,Eb=sb,Rb=tb,Ab=ab,Ib=rb,$l=eb,Tb=ib,_b=(e,t,r)=>{const n=new Map,o={platform:Nb,...r},s={...o.platform,_c:n};return Zg(e,t,{...o,platform:s})};var Ob=typeof document<"u",Mb=function(){},Gn=Ob?Oe.useLayoutEffect:Mb;function ao(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(!ao(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)&&!ao(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function fd(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Vl(e,t){const r=fd(e);return Math.round(t*r)/r}function as(e){const t=u.useRef(e);return Gn(()=>{t.current=e}),t}function Lb(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);ao(p,n)||v(n);const[g,h]=u.useState(null),[y,x]=u.useState(null),b=u.useCallback(M=>{M!==S.current&&(S.current=M,h(M))},[]),w=u.useCallback(M=>{M!==N.current&&(N.current=M,x(M))},[]),P=s||g,C=i||y,S=u.useRef(null),N=u.useRef(null),k=u.useRef(f),q=l!=null,A=as(l),j=as(o),E=as(d),I=u.useCallback(()=>{if(!S.current||!N.current)return;const M={placement:t,strategy:r,middleware:p};j.current&&(M.platform=j.current),_b(S.current,N.current,M).then(W=>{const F={...W,isPositioned:E.current!==!1};_.current&&!ao(k.current,F)&&(k.current=F,fn.flushSync(()=>{m(F)}))})},[p,t,r,j,E]);Gn(()=>{d===!1&&k.current.isPositioned&&(k.current.isPositioned=!1,m(M=>({...M,isPositioned:!1})))},[d]);const _=u.useRef(!1);Gn(()=>(_.current=!0,()=>{_.current=!1}),[]),Gn(()=>{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,q]);const O=u.useMemo(()=>({reference:S,floating:N,setReference:b,setFloating:w}),[b,w]),T=u.useMemo(()=>({reference:P,floating:C}),[P,C]),$=u.useMemo(()=>{const M={position:r,left:0,top:0};if(!T.floating)return M;const W=Vl(T.floating,f.x),F=Vl(T.floating,f.y);return a?{...M,transform:"translate("+W+"px, "+F+"px)",...fd(T.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:W,top:F}},[r,a,T.floating,f.x,f.y]);return u.useMemo(()=>({...f,update:I,refs:O,elements:T,floatingStyles:$}),[f,I,O,T,$])}const Db=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?$l({element:n.current,padding:o}).fn(r):{}:n?$l({element:n,padding:o}).fn(r):{}}}},Fb=(e,t)=>{const r=jb(e);return{name:r.name,fn:r.fn,options:[e,t]}},Bb=(e,t)=>{const r=Eb(e);return{name:r.name,fn:r.fn,options:[e,t]}},$b=(e,t)=>({fn:Tb(e).fn,options:[e,t]}),Vb=(e,t)=>{const r=Rb(e);return{name:r.name,fn:r.fn,options:[e,t]}},zb=(e,t)=>{const r=Ab(e);return{name:r.name,fn:r.fn,options:[e,t]}},Hb=(e,t)=>{const r=Ib(e);return{name:r.name,fn:r.fn,options:[e,t]}},Ub=(e,t)=>{const r=Db(e);return{name:r.name,fn:r.fn,options:[e,t]}};var Wb="Arrow",md=u.forwardRef((e,t)=>{const{children:r,width:n=10,height:o=5,...s}=e;return c.jsx(ye.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"})})});md.displayName=Wb;var Kb=md;function No(e){const[t,r]=u.useState(void 0);return Ve(()=>{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 Yi="Popper",[hd,Dr]=xt(Yi),[Gb,pd]=hd(Yi),vd=e=>{const{__scopePopper:t,children:r}=e,[n,o]=u.useState(null);return c.jsx(Gb,{scope:t,anchor:n,onAnchorChange:o,children:r})};vd.displayName=Yi;var gd="PopperAnchor",bd=u.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...o}=e,s=pd(gd,r),i=u.useRef(null),a=Re(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(ye.div,{...o,ref:a})});bd.displayName=gd;var Xi="PopperContent",[Yb,Xb]=hd(Xi),xd=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:g,...h}=e,y=pd(Xi,r),[x,b]=u.useState(null),w=Re(t,B=>b(B)),[P,C]=u.useState(null),S=No(P),N=S?.width??0,k=S?.height??0,q=n+(s!=="center"?"-"+s:""),A=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},j=Array.isArray(d)?d:[d],E=j.length>0,I={padding:A,boundary:j.filter(Qb),altBoundary:E},{refs:_,floatingStyles:O,placement:T,isPositioned:$,middlewareData:M}=Lb({strategy:"fixed",placement:q,whileElementsMounted:(...B)=>qb(...B,{animationFrame:v==="always"}),elements:{reference:y.anchor},middleware:[Fb({mainAxis:o+k,alignmentAxis:i}),l&&Bb({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?$b():void 0,...I}),l&&Vb({...I}),zb({...I,apply:({elements:B,rects:G,availableWidth:H,availableHeight:U})=>{const{width:Y,height:Q}=G.reference,le=B.floating.style;le.setProperty("--radix-popper-available-width",`${H}px`),le.setProperty("--radix-popper-available-height",`${U}px`),le.setProperty("--radix-popper-anchor-width",`${Y}px`),le.setProperty("--radix-popper-anchor-height",`${Q}px`)}}),P&&Ub({element:P,padding:a}),Zb({arrowWidth:N,arrowHeight:k}),p&&Hb({strategy:"referenceHidden",...I})]}),[W,F]=Pd(T),X=At(g);Ve(()=>{$&&X?.()},[$,X]);const de=M.arrow?.x,te=M.arrow?.y,Z=M.arrow?.centerOffset!==0,[K,J]=u.useState();return Ve(()=>{x&&J(window.getComputedStyle(x).zIndex)},[x]),c.jsx("div",{ref:_.setFloating,"data-radix-popper-content-wrapper":"",style:{...O,transform:$?O.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:K,"--radix-popper-transform-origin":[M.transformOrigin?.x,M.transformOrigin?.y].join(" "),...M.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:c.jsx(Yb,{scope:r,placedSide:W,onArrowChange:C,arrowX:de,arrowY:te,shouldHideArrow:Z,children:c.jsx(ye.div,{"data-side":W,"data-align":F,...h,ref:w,style:{...h.style,animation:$?void 0:"none"}})})})});xd.displayName=Xi;var yd="PopperArrow",Jb={top:"bottom",right:"left",bottom:"top",left:"right"},wd=u.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,s=Xb(yd,n),i=Jb[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(Kb,{...o,ref:r,style:{...o.style,display:"block"}})})});wd.displayName=yd;function Qb(e){return e!==null}var Zb=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]=Pd(r),m={start:"0%",center:"50%",end:"100%"}[f],p=(o.arrow?.x??0)+a/2,v=(o.arrow?.y??0)+l/2;let g="",h="";return d==="bottom"?(g=i?m:`${p}px`,h=`${-l}px`):d==="top"?(g=i?m:`${p}px`,h=`${n.floating.height+l}px`):d==="right"?(g=`${-l}px`,h=i?m:`${v}px`):d==="left"&&(g=`${n.floating.width+l}px`,h=i?m:`${v}px`),{data:{x:g,y:h}}}});function Pd(e){const[t,r="center"]=e.split("-");return[t,r]}var Ji=vd,ko=bd,Qi=xd,Zi=wd,ex="Portal",qo=u.forwardRef((e,t)=>{const{container:r,...n}=e,[o,s]=u.useState(!1);Ve(()=>s(!0),[]);const i=r||o&&globalThis?.document?.body;return i?fu.createPortal(c.jsx(ye.div,{...n,ref:t}),i):null});qo.displayName=ex;function tx(e,t){return u.useReducer((r,n)=>t[r][n]??r,e)}var Qt=e=>{const{present:t,children:r}=e,n=rx(t),o=typeof r=="function"?r({present:n.isPresent}):u.Children.only(r),s=Re(n.ref,nx(o));return typeof r=="function"||n.isPresent?u.cloneElement(o,{ref:s}):null};Qt.displayName="Presence";function rx(e){const[t,r]=u.useState(),n=u.useRef(null),o=u.useRef(e),s=u.useRef("none"),i=e?"mounted":"unmounted",[a,l]=tx(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return u.useEffect(()=>{const d=An(n.current);s.current=a==="mounted"?d:"none"},[a]),Ve(()=>{const d=n.current,f=o.current;if(f!==e){const p=s.current,v=An(d);e?l("MOUNT"):v==="none"||d?.display==="none"?l("UNMOUNT"):l(f&&p!==v?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Ve(()=>{if(t){let d;const f=t.ownerDocument.defaultView??window,m=v=>{const h=An(n.current).includes(CSS.escape(v.animationName));if(v.target===t&&h&&(l("ANIMATION_END"),!o.current)){const y=t.style.animationFillMode;t.style.animationFillMode="forwards",d=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=y)})}},p=v=>{v.target===t&&(s.current=An(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 An(e){return e?.animationName||"none"}function nx(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 ox=u[" useInsertionEffect ".trim().toString()]||Ve;function _t({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){const[o,s,i]=sx({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=ix(f)?f(e):f;m!==e&&i.current?.(m)}else s(f)},[a,e,s,i]);return[l,d]}function sx({defaultProp:e,onChange:t}){const[r,n]=u.useState(e),o=u.useRef(r),s=u.useRef(t);return ox(()=>{s.current=t},[t]),u.useEffect(()=>{o.current!==r&&(s.current?.(r),o.current=r)},[r,o]),[r,n,s]}function ix(e){return typeof e=="function"}var ax=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},wr=new WeakMap,In=new WeakMap,Tn={},ls=0,Cd=function(e){return e&&(e.host||Cd(e.parentNode))},lx=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Cd(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})},cx=function(e,t,r,n){var o=lx(t,Array.isArray(e)?e:[e]);Tn[r]||(Tn[r]=new WeakMap);var s=Tn[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),g=v!==null&&v!=="false",h=(wr.get(p)||0)+1,y=(s.get(p)||0)+1;wr.set(p,h),s.set(p,y),i.push(p),h===1&&g&&In.set(p,!0),y===1&&p.setAttribute(r,"true"),g||p.setAttribute(n,"true")}catch(x){console.error("aria-hidden: cannot operate on ",p,x)}})};return f(t),a.clear(),ls++,function(){i.forEach(function(m){var p=wr.get(m)-1,v=s.get(m)-1;wr.set(m,p),s.set(m,v),p||(In.has(m)||m.removeAttribute(n),In.delete(m)),v||m.removeAttribute(r)}),ls--,ls||(wr=new WeakMap,wr=new WeakMap,In=new WeakMap,Tn={})}},Sd=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=ax(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live], script"))),cx(n,o,r,"aria-hidden")):function(){return null}},St=function(){return St=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},St.apply(this,arguments)};function Nd(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 ux(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 Yn="right-scroll-bar-position",Xn="width-before-scroll-bar",dx="with-scroll-bars-hidden",fx="--removed-body-scroll-bar-size";function cs(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function mx(e,t){var r=Oe.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 hx=typeof window<"u"?u.useLayoutEffect:u.useEffect,zl=new WeakMap;function px(e,t){var r=mx(null,function(n){return e.forEach(function(o){return cs(o,n)})});return hx(function(){var n=zl.get(r);if(n){var o=new Set(n),s=new Set(e),i=r.current;o.forEach(function(a){s.has(a)||cs(a,null)}),s.forEach(function(a){o.has(a)||cs(a,i)})}zl.set(r,e)},[e]),r}function vx(e){return e}function gx(e,t){t===void 0&&(t=vx);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 bx(e){e===void 0&&(e={});var t=gx(null);return t.options=St({async:!0,ssr:!1},e),t}var kd=function(e){var t=e.sideCar,r=Nd(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,St({},r))};kd.isSideCarExport=!0;function xx(e,t){return e.useMedium(t),kd}var qd=bx(),us=function(){},jo=u.forwardRef(function(e,t){var r=u.useRef(null),n=u.useState({onScrollCapture:us,onWheelCapture:us,onTouchMoveCapture:us}),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,g=e.noIsolation,h=e.inert,y=e.allowPinchZoom,x=e.as,b=x===void 0?"div":x,w=e.gapMode,P=Nd(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=p,S=px([r,t]),N=St(St({},P),o);return u.createElement(u.Fragment,null,f&&u.createElement(C,{sideCar:qd,removeScrollBar:d,shards:m,noRelative:v,noIsolation:g,inert:h,setCallbacks:s,allowPinchZoom:!!y,lockRef:r,gapMode:w}),i?u.cloneElement(u.Children.only(a),St(St({},N),{ref:S})):u.createElement(b,St({},N,{className:l,ref:S}),a))});jo.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};jo.classNames={fullWidth:Xn,zeroRight:Yn};var yx=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function wx(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=yx();return t&&e.setAttribute("nonce",t),e}function Px(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Cx(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Sx=function(){var e=0,t=null;return{add:function(r){e==0&&(t=wx())&&(Px(t,r),Cx(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Nx=function(){var e=Sx();return function(t,r){u.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},jd=function(){var e=Nx(),t=function(r){var n=r.styles,o=r.dynamic;return e(n,o),null};return t},kx={left:0,top:0,right:0,gap:0},ds=function(e){return parseInt(e||"",10)||0},qx=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[ds(r),ds(n),ds(o)]},jx=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return kx;var t=qx(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])}},Ex=jd(),jr="data-scroll-locked",Rx=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(dx,` {
|
|
3
3
|
overflow: hidden `).concat(n,`;
|
|
4
4
|
padding-right: `).concat(a,"px ").concat(n,`;
|
|
5
5
|
}
|
|
6
|
-
body[`).concat(
|
|
6
|
+
body[`).concat(jr,`] {
|
|
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(Yn,` {
|
|
20
20
|
right: `).concat(a,"px ").concat(n,`;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.`).concat(
|
|
23
|
+
.`).concat(Xn,` {
|
|
24
24
|
margin-right: `).concat(a,"px ").concat(n,`;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.`).concat(
|
|
27
|
+
.`).concat(Yn," .").concat(Yn,` {
|
|
28
28
|
right: 0 `).concat(n,`;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.`).concat(
|
|
31
|
+
.`).concat(Xn," .").concat(Xn,` {
|
|
32
32
|
margin-right: 0 `).concat(n,`;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
body[`).concat(
|
|
36
|
-
`).concat(
|
|
35
|
+
body[`).concat(jr,`] {
|
|
36
|
+
`).concat(fx,": ").concat(a,`px;
|
|
37
37
|
}
|
|
38
|
-
`)},
|
|
38
|
+
`)},Hl=function(){var e=parseInt(document.body.getAttribute(jr)||"0",10);return isFinite(e)?e:0},Ax=function(){u.useEffect(function(){return document.body.setAttribute(jr,(Hl()+1).toString()),function(){var e=Hl()-1;e<=0?document.body.removeAttribute(jr):document.body.setAttribute(jr,e.toString())}},[])},Ix=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=n===void 0?"margin":n;Ax();var s=u.useMemo(function(){return jx(o)},[o]);return u.createElement(Ex,{styles:Rx(s,!t,o,r?"":"!important")})},ii=!1;if(typeof window<"u")try{var _n=Object.defineProperty({},"passive",{get:function(){return ii=!0,!0}});window.addEventListener("test",_n,_n),window.removeEventListener("test",_n,_n)}catch{ii=!1}var Pr=ii?{passive:!1}:!1,Tx=function(e){return e.tagName==="TEXTAREA"},Ed=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!Tx(e)&&r[t]==="visible")},_x=function(e){return Ed(e,"overflowY")},Ox=function(e){return Ed(e,"overflowX")},Ul=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var o=Rd(e,n);if(o){var s=Ad(e,n),i=s[1],a=s[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},Mx=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},Lx=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},Rd=function(e,t){return e==="v"?_x(t):Ox(t)},Ad=function(e,t){return e==="v"?Mx(t):Lx(t)},Dx=function(e,t){return e==="h"&&t==="rtl"?-1:1},Fx=function(e,t,r,n,o){var s=Dx(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=Ad(e,a),g=v[0],h=v[1],y=v[2],x=h-y-s*g;(g||x)&&Rd(e,a)&&(m+=x,p+=g);var b=a.parentNode;a=b&&b.nodeType===Node.DOCUMENT_FRAGMENT_NODE?b.host:b}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},On=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Wl=function(e){return[e.deltaX,e.deltaY]},Kl=function(e){return e&&"current"in e?e.current:e},Bx=function(e,t){return e[0]===t[0]&&e[1]===t[1]},$x=function(e){return`
|
|
39
39
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
40
40
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
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
|
-
]))+`;
|
|
43
|
-
Make sure your charset is UTF-8`);s=(s>>>8&255)*192+(s&255),n.put(s,13)}},
|
|
44
|
-
Suggested mode is: `+t.toString(P));switch(w===t.KANJI&&!a.isKanjiModeEnabled()&&(w=t.BYTE),w){case t.NUMERIC:return new r(
|
|
41
|
+
`)},Vx=0,Cr=[];function zx(e){var t=u.useRef([]),r=u.useRef([0,0]),n=u.useRef(),o=u.useState(Vx++)[0],s=u.useState(jd)[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=ux([e.lockRef.current],(e.shards||[]).map(Kl),!0).filter(Boolean);return h.forEach(function(y){return y.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),h.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=u.useCallback(function(h,y){if("touches"in h&&h.touches.length===2||h.type==="wheel"&&h.ctrlKey)return!i.current.allowPinchZoom;var x=On(h),b=r.current,w="deltaX"in h?h.deltaX:b[0]-x[0],P="deltaY"in h?h.deltaY:b[1]-x[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 k=window.getSelection(),q=k&&k.anchorNode,A=q?q===S||q.contains(S):!1;if(A)return!1;var j=Ul(N,S);if(!j)return!0;if(j?C=N:(C=N==="v"?"h":"v",j=Ul(N,S)),!j)return!1;if(!n.current&&"changedTouches"in h&&(w||P)&&(n.current=C),!C)return!0;var E=n.current||C;return Fx(E,y,h,E==="h"?w:P)},[]),l=u.useCallback(function(h){var y=h;if(!(!Cr.length||Cr[Cr.length-1]!==s)){var x="deltaY"in y?Wl(y):On(y),b=t.current.filter(function(C){return C.name===y.type&&(C.target===y.target||y.target===C.shadowParent)&&Bx(C.delta,x)})[0];if(b&&b.should){y.cancelable&&y.preventDefault();return}if(!b){var w=(i.current.shards||[]).map(Kl).filter(Boolean).filter(function(C){return C.contains(y.target)}),P=w.length>0?a(y,w[0]):!i.current.noIsolation;P&&y.cancelable&&y.preventDefault()}}},[]),d=u.useCallback(function(h,y,x,b){var w={name:h,delta:y,target:x,should:b,shadowParent:Hx(x)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(P){return P!==w})},1)},[]),f=u.useCallback(function(h){r.current=On(h),n.current=void 0},[]),m=u.useCallback(function(h){d(h.type,Wl(h),h.target,a(h,e.lockRef.current))},[]),p=u.useCallback(function(h){d(h.type,On(h),h.target,a(h,e.lockRef.current))},[]);u.useEffect(function(){return Cr.push(s),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:p}),document.addEventListener("wheel",l,Pr),document.addEventListener("touchmove",l,Pr),document.addEventListener("touchstart",f,Pr),function(){Cr=Cr.filter(function(h){return h!==s}),document.removeEventListener("wheel",l,Pr),document.removeEventListener("touchmove",l,Pr),document.removeEventListener("touchstart",f,Pr)}},[]);var v=e.removeScrollBar,g=e.inert;return u.createElement(u.Fragment,null,g?u.createElement(s,{styles:$x(o)}):null,v?u.createElement(Ix,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function Hx(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Ux=xx(qd,zx);var ea=u.forwardRef(function(e,t){return u.createElement(jo,St({},e,{ref:t,sideCar:Ux}))});ea.classNames=jo.classNames;var Eo="Popover",[Id]=xt(Eo,[Dr]),gn=Dr(),[Wx,Zt]=Id(Eo),Td=e=>{const{__scopePopover:t,children:r,open:n,defaultOpen:o,onOpenChange:s,modal:i=!1}=e,a=gn(t),l=u.useRef(null),[d,f]=u.useState(!1),[m,p]=_t({prop:n,defaultProp:o??!1,onChange:s,caller:Eo});return c.jsx(Ji,{...a,children:c.jsx(Wx,{scope:t,contentId:vr(),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})})};Td.displayName=Eo;var _d="PopoverAnchor",Od=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Zt(_d,r),s=gn(r),{onCustomAnchorAdd:i,onCustomAnchorRemove:a}=o;return u.useEffect(()=>(i(),()=>a()),[i,a]),c.jsx(ko,{...s,...n,ref:t})});Od.displayName=_d;var Md="PopoverTrigger",Ld=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Zt(Md,r),s=gn(r),i=Re(t,o.triggerRef),a=c.jsx(ye.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":zd(o.open),...n,ref:i,onClick:pe(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?a:c.jsx(ko,{asChild:!0,...s,children:a})});Ld.displayName=Md;var ta="PopoverPortal",[Kx,Gx]=Id(ta,{forceMount:void 0}),Dd=e=>{const{__scopePopover:t,forceMount:r,children:n,container:o}=e,s=Zt(ta,t);return c.jsx(Kx,{scope:t,forceMount:r,children:c.jsx(Qt,{present:r||s.open,children:c.jsx(qo,{asChild:!0,container:o,children:n})})})};Dd.displayName=ta;var Ar="PopoverContent",Fd=u.forwardRef((e,t)=>{const r=Gx(Ar,e.__scopePopover),{forceMount:n=r.forceMount,...o}=e,s=Zt(Ar,e.__scopePopover);return c.jsx(Qt,{present:n||s.open,children:s.modal?c.jsx(Xx,{...o,ref:t}):c.jsx(Jx,{...o,ref:t})})});Fd.displayName=Ar;var Yx=sn("PopoverContent.RemoveScroll"),Xx=u.forwardRef((e,t)=>{const r=Zt(Ar,e.__scopePopover),n=u.useRef(null),o=Re(t,n),s=u.useRef(!1);return u.useEffect(()=>{const i=n.current;if(i)return Sd(i)},[]),c.jsx(ea,{as:Yx,allowPinchZoom:!0,children:c.jsx(Bd,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:pe(e.onCloseAutoFocus,i=>{i.preventDefault(),s.current||r.triggerRef.current?.focus()}),onPointerDownOutside:pe(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:pe(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})})}),Jx=u.forwardRef((e,t)=>{const r=Zt(Ar,e.__scopePopover),n=u.useRef(!1),o=u.useRef(!1);return c.jsx(Bd,{...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()}})}),Bd=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=Zt(Ar,r),v=gn(r);return ed(),c.jsx(Vi,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:s,children:c.jsx(yo,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:f,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:d,onDismiss:()=>p.onOpenChange(!1),children:c.jsx(Qi,{"data-state":zd(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)"}})})})}),$d="PopoverClose",Vd=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=Zt($d,r);return c.jsx(ye.button,{type:"button",...n,ref:t,onClick:pe(e.onClick,()=>o.onOpenChange(!1))})});Vd.displayName=$d;var Qx="PopoverArrow",Zx=u.forwardRef((e,t)=>{const{__scopePopover:r,...n}=e,o=gn(r);return c.jsx(Zi,{...o,...n,ref:t})});Zx.displayName=Qx;function zd(e){return e?"open":"closed"}var ey=Td,ty=Od,ai=Ld,ry=Dd,ny=Fd,li=Vd;function oy(e){if(e!==void 0)return{width:typeof e=="number"?`${e}px`:e}}function Hd(e){const t=se();return ee(e,t)}const Ud=ey,ra=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=R(f,s,i),v=D(l,m);return r?c.jsx(ai,{asChild:!0,...d,children:c.jsx(n,{ref:t,className:R("inline-flex w-fit",p),style:v,children:o})}):c.jsx(ai,{ref:t,className:p,style:v,...d,children:o})});ra.displayName=ai.displayName;const sy=ty,Wd=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=R(f,s,i),v=D(l,m);return r?c.jsx(li,{asChild:!0,...d,children:c.jsx(n,{ref:t,className:R("inline-flex w-fit",p),style:v,children:o})}):c.jsx(li,{ref:t,className:p,style:v,...d,children:o})});Wd.displayName=li.displayName;const na=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:g}=hr(s),{shadowPreset:h,shadowStyle:y}=mn(i),{sxClassName:x,sxInlineStyle:b}=ee(a,p);return c.jsx(ry,{children:c.jsx(ny,{ref:t,align:r,sideOffset:n,className:R("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&&Yt[v],h&&_r[h],x,d,f),style:D(l,oy(o),g,y,b),...m})})});na.displayName="PopoverContent";var Kd=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"}),iy="VisuallyHidden",Gd=u.forwardRef((e,t)=>c.jsx(ye.span,{...e,ref:t,style:{...Kd,...e.style}}));Gd.displayName=iy;var ay=Gd,[Ro]=xt("Tooltip",[Dr]),Ao=Dr(),Yd="TooltipProvider",ly=700,ci="tooltip.open",[cy,oa]=Ro(Yd),Xd=e=>{const{__scopeTooltip:t,delayDuration:r=ly,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(cy,{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})};Xd.displayName=Yd;var ln="Tooltip",[uy,bn]=Ro(ln),Jd=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:o,onOpenChange:s,disableHoverableContent:i,delayDuration:a}=e,l=oa(ln,e.__scopeTooltip),d=Ao(t),[f,m]=u.useState(null),p=vr(),v=u.useRef(0),g=i??l.disableHoverableContent,h=a??l.delayDuration,y=u.useRef(!1),[x,b]=_t({prop:n,defaultProp:o??!1,onChange:N=>{N?(l.onOpen(),document.dispatchEvent(new CustomEvent(ci))):l.onClose(),s?.(N)},caller:ln}),w=u.useMemo(()=>x?y.current?"delayed-open":"instant-open":"closed",[x]),P=u.useCallback(()=>{window.clearTimeout(v.current),v.current=0,y.current=!1,b(!0)},[b]),C=u.useCallback(()=>{window.clearTimeout(v.current),v.current=0,b(!1)},[b]),S=u.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>{y.current=!0,b(!0),v.current=0},h)},[h,b]);return u.useEffect(()=>()=>{v.current&&(window.clearTimeout(v.current),v.current=0)},[]),c.jsx(Ji,{...d,children:c.jsx(uy,{scope:t,contentId:p,open:x,stateAttribute:w,trigger:f,onTriggerChange:m,onTriggerEnter:u.useCallback(()=>{l.isOpenDelayedRef.current?S():P()},[l.isOpenDelayedRef,S,P]),onTriggerLeave:u.useCallback(()=>{g?C():(window.clearTimeout(v.current),v.current=0)},[C,g]),onOpen:P,onClose:C,disableHoverableContent:g,children:r})})};Jd.displayName=ln;var ui="TooltipTrigger",Qd=u.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=bn(ui,r),s=oa(ui,r),i=Ao(r),a=u.useRef(null),l=Re(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(ko,{asChild:!0,...i,children:c.jsx(ye.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...n,ref:l,onPointerMove:pe(e.onPointerMove,p=>{p.pointerType!=="touch"&&!f.current&&!s.isPointerInTransitRef.current&&(o.onTriggerEnter(),f.current=!0)}),onPointerLeave:pe(e.onPointerLeave,()=>{o.onTriggerLeave(),f.current=!1}),onPointerDown:pe(e.onPointerDown,()=>{o.open&&o.onClose(),d.current=!0,document.addEventListener("pointerup",m,{once:!0})}),onFocus:pe(e.onFocus,()=>{d.current||o.onOpen()}),onBlur:pe(e.onBlur,o.onClose),onClick:pe(e.onClick,o.onClose)})})});Qd.displayName=ui;var sa="TooltipPortal",[dy,fy]=Ro(sa,{forceMount:void 0}),Zd=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:o}=e,s=bn(sa,t);return c.jsx(dy,{scope:t,forceMount:r,children:c.jsx(Qt,{present:r||s.open,children:c.jsx(qo,{asChild:!0,container:o,children:n})})})};Zd.displayName=sa;var Ir="TooltipContent",ef=u.forwardRef((e,t)=>{const r=fy(Ir,e.__scopeTooltip),{forceMount:n=r.forceMount,side:o="top",...s}=e,i=bn(Ir,e.__scopeTooltip);return c.jsx(Qt,{present:n||i.open,children:i.disableHoverableContent?c.jsx(tf,{side:o,...s,ref:t}):c.jsx(my,{side:o,...s,ref:t})})}),my=u.forwardRef((e,t)=>{const r=bn(Ir,e.__scopeTooltip),n=oa(Ir,e.__scopeTooltip),o=u.useRef(null),s=Re(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((g,h)=>{const y=g.currentTarget,x={x:g.clientX,y:g.clientY},b=gy(x,y.getBoundingClientRect()),w=by(x,b),P=xy(h.getBoundingClientRect()),C=wy([...w,...P]);a(C),m(!0)},[m]);return u.useEffect(()=>()=>p(),[p]),u.useEffect(()=>{if(l&&f){const g=y=>v(y,f),h=y=>v(y,l);return l.addEventListener("pointerleave",g),f.addEventListener("pointerleave",h),()=>{l.removeEventListener("pointerleave",g),f.removeEventListener("pointerleave",h)}}},[l,f,v,p]),u.useEffect(()=>{if(i){const g=h=>{const y=h.target,x={x:h.clientX,y:h.clientY},b=l?.contains(y)||f?.contains(y),w=!yy(x,i);b?p():w&&(p(),d())};return document.addEventListener("pointermove",g),()=>document.removeEventListener("pointermove",g)}},[l,f,i,d,p]),c.jsx(tf,{...e,ref:s})}),[hy,py]=Ro(ln,{isInside:!1}),vy=xg("TooltipContent"),tf=u.forwardRef((e,t)=>{const{__scopeTooltip:r,children:n,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:i,...a}=e,l=bn(Ir,r),d=Ao(r),{onClose:f}=l;return u.useEffect(()=>(document.addEventListener(ci,f),()=>document.removeEventListener(ci,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(yo,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:m=>m.preventDefault(),onDismiss:f,children:c.jsxs(Qi,{"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(vy,{children:n}),c.jsx(hy,{scope:r,isInside:!0,children:c.jsx(ay,{id:l.contentId,role:"tooltip",children:o||n})})]})})});ef.displayName=Ir;var rf="TooltipArrow",nf=u.forwardRef((e,t)=>{const{__scopeTooltip:r,...n}=e,o=Ao(r);return py(rf,r).isInside?null:c.jsx(Zi,{...o,...n,ref:t})});nf.displayName=rf;function gy(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 by(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 xy(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 yy(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 wy(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),Py(t)}function Py(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 Cy=Xd,Sy=Jd,di=Qd,Ny=Zd,of=ef,sf=nf;const ky={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"},qy={dark:"fill-gray-950",light:"fill-white",primary:"fill-blue-600"},jy=({delayDuration:e=0,...t})=>c.jsx(Cy,{delayDuration:e,...t}),Ey=Sy,Ry=Ny,af=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}=ee(a,f),v=R(m,s,i),g=D(l,p);return r?c.jsx(di,{asChild:!0,...d,children:c.jsx(n,{ref:t,className:R("inline-flex w-fit",v),style:g,children:o})}):c.jsx(di,{ref:t,className:v,style:g,...d,children:o})});af.displayName=di.displayName;const ia=u.forwardRef((e,t)=>{const{tone:r="dark",className:n,class:o,sx:s,style:i,...a}=e,l=se(),{sxClassName:d,sxInlineStyle:f}=ee(s,l);return c.jsx(sf,{ref:t,className:R(qy[r],d,n,o),style:D(i,f),...a})});ia.displayName=sf.displayName;const lf=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}=ee(a,m);return c.jsxs(of,{ref:t,sideOffset:o,className:R("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",ky[r],p,s,i),style:D(l,v),...f,children:[d,n?c.jsx(ia,{tone:r}):null]})});lf.displayName=of.displayName;let cf=null;function Gl(e){cf=e}function Ay(){return cf}const Xr={placement:"rightTop",duration:4500,closable:!0,offset:24},Ze={...Xr};let Yl=!1;function fi(e){return{...e,placement:e.placement??Ze.placement,duration:e.duration??Ze.duration,closable:e.closable??Ze.closable,offset:e.offset??Ze.offset}}function Jn(){const e=Ay();return e||(Yl||(Yl=!0,console.warn("notification 调用失败:请先在应用根节点挂载 NotificationProvider。")),null)}function Iy(e,t){return typeof t=="string"?{...fi({message:t}),type:e}:{...fi(t),type:e}}function Mn(e,t){const r=Jn();return r?r.push(Iy(e,t)):""}const Ty={open(e){const t=Jn();return t?t.push(fi(e)):""},info(e){return Mn("info",e)},success(e){return Mn("success",e)},warn(e){return Mn("warn",e)},error(e){return Mn("error",e)},dismiss(e){const t=Jn();t&&t.dismiss(e)},clear(){const e=Jn();e&&e.clear()},config(e){Ze.placement=e.placement??Ze.placement,Ze.duration=e.duration??Ze.duration,Ze.closable=e.closable??Ze.closable,Ze.offset=e.offset??Ze.offset},resetConfig(){Ze.placement=Xr.placement,Ze.duration=Xr.duration,Ze.closable=Xr.closable,Ze.offset=Xr.offset}},_y=200,Nr=24,uf={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"}},df=u.createContext(null);let Xl=0;function Oy(){return Xl+=1,`ldkj-notification-${Date.now()}-${Xl}`}function My(e,t){const r=t??Nr,n=typeof r=="number"?{top:r,right:r,bottom:r,left:r}:{top:r.top??Nr,right:r.right??Nr,bottom:r.bottom??Nr,left:r.left??Nr};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 mi(e,t){return`${e}:${t.top}:${t.right}:${t.bottom}:${t.left}`}function Ly(e){const t=new Map;for(const r of e){const n=mi(r.placement,r.offset),o=t.get(n);o?o.push(r):t.set(n,[r])}return t}function fs(e){return e!=null&&e!==!1}function Dy(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 Fy(e){const t=uf[e.type],r=e.iconColor??t.iconColor;return typeof e.icon=="string"?c.jsx($e,{name:e.icon,color:r,size:22,className:"ldkj-notification-icon",title:`${e.type} icon`}):e.icon?.svg||e.icon?.src?c.jsx($e,{svg:e.icon.svg,src:e.icon.src,color:r,size:22,className:"ldkj-notification-icon",title:`${e.type} icon`}):c.jsx($e,{name:t.icon,color:r,size:22,className:"ldkj-notification-icon",title:`${e.type} icon`})}function ff(e){const{children:t,placement:r="rightTop",duration:n=4500,queueLimit:o=5,offset:s=Nr,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?.())},[]),g=u.useCallback(C=>{l(S=>{const N=S.find(k=>k.id===C);return N?(p(C),v(N),S.filter(k=>k.id!==C)):S})},[p,v]),h=u.useCallback(C=>{p(C),l(N=>N.map(k=>k.id===C&&!k.leaving?{...k,leaving:!0}:k));const S=window.setTimeout(()=>{g(C)},_y);f.current.set(C,S)},[p,g]),y=u.useCallback(()=>{l(C=>(C.forEach(S=>{p(S.id),v(S)}),[]))},[p,v]),x=u.useCallback(C=>{const S=C.id??Oy();m.current.delete(S),p(S);const N=C.placement??r,k=My(C.offset,s),q={id:S,type:C.type??"info",message:C.message,description:C.description,content:C.content,actions:C.actions,placement:N,offset:k,closable:C.closable??i,icon:C.icon,iconColor:C.iconColor,onClose:C.onClose,leaving:!1},A=mi(N,k);l(E=>{const _=[...E.filter(M=>M.id!==S),q],O=_.filter(M=>mi(M.placement,M.offset)===A);if(O.length<=o)return _;const T=O.length-o,$=new Set(O.slice(0,T).map(M=>M.id));return O.slice(0,T).forEach(M=>{p(M.id),v(M)}),_.filter(M=>!$.has(M.id))});const j=C.duration??n;if(j>0){const E=window.setTimeout(()=>{h(S)},j);d.current.set(S,E)}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 b=u.useMemo(()=>({push:x,dismiss:h,clear:y}),[y,h,x]);u.useEffect(()=>(Gl(b),()=>Gl(null)),[b]);const w=u.useMemo(()=>Ly(a),[a]),P=Array.from(w.entries());return c.jsxs(df.Provider,{value:b,children:[t,P.map(([C,S])=>{const N=S[0];return N?c.jsx("div",{className:R("ldkj-notification-viewport",`ldkj-notification-viewport-${N.placement}`),style:Dy(N.placement,N.offset),"aria-hidden":S.length===0,children:S.map(k=>{const q=uf[k.type];return c.jsxs("div",{className:R("ldkj-notification-card",`ldkj-notification-card-${k.type}`,k.leaving?"ldkj-notification-leave":"ldkj-notification-appear"),role:q.role,"aria-live":q.live,"aria-atomic":"true",children:[c.jsx("div",{className:"ldkj-notification-icon-wrap",children:Fy(k)}),c.jsxs("div",{className:"ldkj-notification-main",children:[c.jsx("div",{className:"ldkj-notification-title",children:k.message}),fs(k.description)?c.jsx("div",{className:"ldkj-notification-description",children:k.description}):null,fs(k.content)?c.jsx("div",{className:"ldkj-notification-content",children:k.content}):null,fs(k.actions)?c.jsx("div",{className:"ldkj-notification-actions",children:k.actions}):null]}),k.closable?c.jsx("button",{type:"button",className:"ldkj-notification-close","aria-label":"关闭通知",onClick:()=>h(k.id),children:c.jsx($e,{name:"close",size:16,className:"ldkj-notification-close-icon"})}):null]},k.id)})},C):null})]})}ff.displayName="NotificationProvider";function By(){const e=u.useContext(df);if(!e)throw new Error("useNotification 必须在 NotificationProvider 内使用。");const t=u.useCallback(i=>e.push(i),[e]),r=u.useCallback(i=>e.push(Ln("info",i)),[e]),n=u.useCallback(i=>e.push(Ln("success",i)),[e]),o=u.useCallback(i=>e.push(Ln("warn",i)),[e]),s=u.useCallback(i=>e.push(Ln("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 Ln(e,t){return typeof t=="string"?{type:e,message:t}:{...t,type:e}}const $y={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 mf(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:R("inline-block shrink-0 animate-spin rounded-full border-solid",$y[n],i,a),style:{width:t,height:t,borderWidth:r,...l},...d,children:c.jsx("span",{className:"sr-only",children:o})}):null}function Vy(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 zy(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=Vy(s,i)?c.jsxs("div",{role:"status","aria-live":"polite",className:R("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(mf,{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:R(r==="block"&&"flex w-full justify-center"),children:p}):null}let Hr=0,Jl="";function Hy(){return typeof document>"u"?()=>{}:(Hr===0&&(Jl=document.body.style.overflow,document.body.style.overflow="hidden"),Hr+=1,()=>{Hr=Math.max(0,Hr-1),Hr===0&&(document.body.style.overflow=Jl)})}function Uy(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 Wy(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:g=220,lockScroll:h=!0,maskClosable:y=!0,closeOnEsc:x=!0,destroyOnClose:b=!0,role:w="dialog",...P}=e,[C,S]=u.useState(t),[N,k]=u.useState(t),q=u.useRef(null),A=Uy(s),j=s==="left"||s==="right";return u.useEffect(()=>{if(t){S(!0);const I=window.requestAnimationFrame(()=>k(!0));return()=>window.cancelAnimationFrame(I)}if(k(!1),!v){b&&S(!1);return}const E=window.setTimeout(()=>{b&&S(!1)},g);return()=>window.clearTimeout(E)},[v,g,b,t]),u.useEffect(()=>{if(!(!t||!h))return Hy()},[h,t]),u.useEffect(()=>{if(!t||!x)return;const E=I=>{I.key==="Escape"&&p?.(!1)};return window.addEventListener("keydown",E),()=>window.removeEventListener("keydown",E)},[x,p,t]),u.useEffect(()=>{t&&q.current?.focus()},[t]),C?c.jsxs("div",{className:"fixed inset-0 z-50","aria-hidden":!N,children:[c.jsx("div",{className:R("absolute inset-0 bg-black/45",v&&"transition-opacity ease-out",N?"opacity-100":"opacity-0",l),style:{transitionDuration:v?`${g}ms`:"0ms"},onClick:()=>{y&&p?.(!1)}}),c.jsxs("div",{ref:q,tabIndex:-1,role:w,"aria-modal":"true","aria-label":typeof r=="string"?r:void 0,className:R("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:j?n:void 0,height:j?void 0:o,transitionDuration:v?`${g}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:R("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 Ky={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"},Gy={info:"bg-blue-600 text-white",success:"bg-emerald-600 text-white",warning:"bg-amber-500 text-white",error:"bg-rose-600 text-white"},Yy={info:"i",success:"ok",warning:"!",error:"!"};function Xy(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:g=n==="error"||n==="warning"?"alert":"status",...h}=e,[y,x]=u.useState(!0);if(!(m??y))return null;const w=()=>{x(!1),v?.(!1),p?.()};return c.jsx("div",{role:g,className:R("rounded-md border p-3",Ky[n],t,r),...h,children:c.jsxs("div",{className:"flex items-start gap-3",children:[l?c.jsx("span",{"aria-hidden":!0,className:R("mt-0.5 inline-flex h-5 min-w-5 items-center justify-center rounded-full px-1 text-[10px] font-semibold leading-none",Gy[n]),children:a??Yy[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 Jy={normal:"#2563eb",success:"#059669",warning:"#d97706",exception:"#e11d48"},Qy={xs:48,sm:64,md:96,lg:120,xl:144},Zy={xs:4,sm:6,md:8,lg:10,xl:12};function e0(e,t){return!Number.isFinite(e)||!Number.isFinite(t)||t<=0?0:Math.max(0,Math.min(100,e/t*100))}function t0(e,t){return typeof e=="number"?e:t==="circle"?Qy[e]:Zy[e]}function hf(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,g=e0(t,r),h=s??(g>=100?"success":"normal"),y=l??Jy[h],x=f?f(Math.round(g),t,r):`${Math.round(g)}%`,b=t0(i,o),w=a??(o==="circle"?8:b);if(o==="circle"){const P=Math.max(1,Math.min(48,w)),C=50-P/2,S=2*Math.PI*C,N=S*(1-g/100);return c.jsxs("div",{role:"progressbar","aria-valuemin":0,"aria-valuemax":r,"aria-valuenow":Math.max(0,Math.min(r,t)),className:R("relative inline-flex items-center justify-center",m,p),style:{width:b,height:b},...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:y,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:x}):null]})}return c.jsxs("div",{role:"progressbar","aria-valuemin":0,"aria-valuemax":r,"aria-valuenow":Math.max(0,Math.min(r,t)),className:R("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:`${g}%`,backgroundColor:y}})}),n?c.jsx("div",{className:"mt-1 text-xs text-slate-500",children:x}):null]})}function Io(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 To="Checkbox",[r0]=xt(To),[n0,aa]=r0(To);function o0(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]=_t({prop:r,defaultProp:o??!1,onChange:l,caller:To}),[g,h]=u.useState(null),[y,x]=u.useState(null),b=u.useRef(!1),w=g?!!i||!!g.closest("form"):!0,P={checked:p,disabled:s,setChecked:v,control:g,setControl:h,name:a,form:i,value:f,hasConsumerStoppedPropagationRef:b,required:d,defaultChecked:Wt(o)?!1:o,isFormControl:w,bubbleInput:y,setBubbleInput:x};return c.jsx(n0,{scope:t,...P,children:s0(m)?m(P):n})}var pf="CheckboxTrigger",vf=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:g}=aa(pf,e),h=Re(o,f),y=u.useRef(l);return u.useEffect(()=>{const x=s?.form;if(x){const b=()=>m(y.current);return x.addEventListener("reset",b),()=>x.removeEventListener("reset",b)}},[s,m]),c.jsx(ye.button,{type:"button",role:"checkbox","aria-checked":Wt(l)?"mixed":l,"aria-required":d,"data-state":Pf(l),"data-disabled":a?"":void 0,disabled:a,value:i,...n,ref:h,onKeyDown:pe(t,x=>{x.key==="Enter"&&x.preventDefault()}),onClick:pe(r,x=>{m(b=>Wt(b)?!0:!b),g&&v&&(p.current=x.isPropagationStopped(),p.current||x.stopPropagation())})})});vf.displayName=pf;var gf=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(o0,{__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(vf,{...m,ref:t,__scopeCheckbox:r}),p&&c.jsx(wf,{__scopeCheckbox:r})]})})});gf.displayName=To;var bf="CheckboxIndicator",xf=u.forwardRef((e,t)=>{const{__scopeCheckbox:r,forceMount:n,...o}=e,s=aa(bf,r);return c.jsx(Qt,{present:n||Wt(s.checked)||s.checked===!0,children:c.jsx(ye.span,{"data-state":Pf(s.checked),"data-disabled":s.disabled?"":void 0,...o,ref:t,style:{pointerEvents:"none",...e.style}})})});xf.displayName=bf;var yf="CheckboxBubbleInput",wf=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}=aa(yf,e),g=Re(r,v),h=Io(s),y=No(n);u.useEffect(()=>{const b=p;if(!b)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});b.indeterminate=Wt(s),C.call(b,Wt(s)?!1:s),b.dispatchEvent(N)}},[p,h,s,o]);const x=u.useRef(Wt(s)?!1:s);return c.jsx(ye.input,{type:"checkbox","aria-hidden":!0,defaultChecked:i??x.current,required:a,disabled:l,name:d,value:f,form:m,...t,tabIndex:-1,ref:g,style:{...t.style,...y,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});wf.displayName=yf;function s0(e){return typeof e=="function"}function Wt(e){return e==="indeterminate"}function Pf(e){return Wt(e)?"indeterminate":e?"checked":"unchecked"}const Cf=u.createContext(null);function i0(e){return u.createElement(Cf.Provider,{value:e.value},e.children)}function a0(){return u.useContext(Cf)}const l0=()=>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"})}),c0=()=>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"})}),xn=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:g,sxInlineStyle:h}=ee(o,v),y=a0(),x=typeof m=="string"?m:void 0,b=!!(y&&x!==void 0),w=a??(b?y?.selectedValues.has(x):void 0),P=l||(b?y?.disabled:!1),C=d??(b?y?.name:void 0);return c.jsx(gf,{ref:t,checked:w,disabled:P,name:C,onCheckedChange:S=>{f?.(S),b&&a===void 0&&y?.toggleValue(x,S===!0)},value:m,className:R("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",g,r,n),style:D(s,h),...p,children:i??c.jsxs(xf,{className:R("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(l0,{}),c.jsx(c0,{})]})})});xn.displayName="Checkbox";var u0=Symbol.for("react.lazy"),lo=u[" use ".trim().toString()];function d0(e){return typeof e=="object"&&e!==null&&"then"in e}function Sf(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===u0&&"_payload"in e&&d0(e._payload)}function f0(e){const t=m0(e),r=u.forwardRef((n,o)=>{let{children:s,...i}=n;Sf(s)&&typeof lo=="function"&&(s=lo(s._payload));const a=u.Children.toArray(s),l=a.find(p0);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 m0(e){const t=u.forwardRef((r,n)=>{let{children:o,...s}=r;if(Sf(o)&&typeof lo=="function"&&(o=lo(o._payload)),u.isValidElement(o)){const i=g0(o),a=v0(s,o.props);return o.type!==u.Fragment&&(a.ref=n?$i(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 h0=Symbol("radix.slottable");function p0(e){return u.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===h0}function v0(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 g0(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 b0=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],_o=b0.reduce((e,t)=>{const r=f0(`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}},{}),x0="Label",Nf=u.forwardRef((e,t)=>c.jsx(_o.label,{...e,ref:t,onMouseDown:r=>{r.target.closest("button, input, select, textarea")||(e.onMouseDown?.(r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));Nf.displayName=x0;var hi=Nf;function y0(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function w0(e){return e==="center"?"center":e==="right"?"flex-end":"flex-start"}const Oo=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:g=!1,sx:h,style:y,...x}=e,b=se(),{sxClassName:w,sxInlineStyle:P}=ee(h,b),{sxClassName:C,sxInlineStyle:S}=ee(d,b),N=D({width:y0(p),justifyContent:w0(m)},y,P),k=R("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(hi,{ref:t,className:k,style:N,...x,children:r}):c.jsxs("div",{className:R("flex w-fit",v==="top"?"flex-col items-start gap-1.5":"flex-row items-center gap-2",C,a,i),style:D(l,S),children:[c.jsxs(hi,{ref:t,className:k,style:N,...x,children:[g?c.jsx("span",{className:"text-red-500 font-serif",children:"*"}):null,c.jsx("span",{children:f}),s===!0?":":s??null]}),r]})});Oo.displayName="Label";const Ql={xs:"gap-1",sm:"gap-2",md:"gap-3",lg:"gap-4"};function P0(e){return e===void 0?{className:Ql.md}:e==="xs"||e==="sm"||e==="md"||e==="lg"?{className:Ql[e]}:{style:{gap:typeof e=="number"?`${e}px`:e}}}function C0(e,t){if(e.type==="single"){const r=e.value??t[0];return r===void 0?[]:[r]}return e.value??t}function S0(e){return e.type==="single"?e.defaultValue===void 0?[]:[e.defaultValue]:e.defaultValue??[]}function kf(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:g,...h}=e,y=se(),{sxClassName:x,sxInlineStyle:b}=ee(d,y),w=P0(i),[P,C]=u.useState(()=>S0(e)),S=C0(e,P),N=new Set(S);function k(j){if(e.value===void 0&&C(j),e.type==="single"){e.onChange?.(j[0]);return}e.onChange?.(j)}function q(j,E){if(e.type==="single"){k(E?[j]:[]);return}const I=new Set(S);E?I.add(j):I.delete(j),k(Array.from(I))}const A=u.useMemo(()=>({disabled:s,name:a,selectedValues:N,toggleValue:q}),[s,a,N]);return c.jsx("div",{role:"group",className:R("flex",o==="horizontal"?"flex-row flex-wrap":"flex-col",w.className,x,t,r),style:D(f,w.style,b),...h,children:c.jsxs(i0,{value:A,children:[l?.map(j=>{const E=s||j.disabled,I=N.has(j.value);return c.jsxs(Oo,{className:R("inline-flex items-start gap-2 text-sm leading-5 text-slate-700",E&&"cursor-not-allowed text-slate-400",!E&&"cursor-pointer",j.className),children:[c.jsx(xn,{...j.checkboxProps,name:a,value:j.value,checked:I,disabled:E,onCheckedChange:_=>q(j.value,_===!0)}),c.jsxs("span",{className:"grid gap-0.5",children:[c.jsx("span",{children:j.label}),j.description?c.jsx("span",{className:"text-xs text-slate-500",children:j.description}):null]})]},j.value)}),n]})})}kf.displayName="CheckboxGroup";function Mo(e,t){const r=n=>c.jsx(c.Fragment,{children:n.children});return r.displayName=e,Object.defineProperty(r,"__ldkjInputSlot",{value:t}),r}const N0=Mo("Input.Prefix","prefix"),k0=Mo("Input.Suffix","suffix"),q0=Mo("Input.AddonBefore","addonBefore"),j0=Mo("Input.AddonAfter","addonAfter"),la=e=>c.jsx(c.Fragment,{children:e.children});la.displayName="Input.Addon";Object.defineProperty(la,"__ldkjInputSlot",{value:"addon"});function E0(e){if(!u.isValidElement(e))return;const r=e.type.__ldkjInputSlot;return r==="addon"?(e.props.position??"before")==="after"?"addonAfter":"addonBefore":r}function R0(e,t){const r={addonAfter:t.addonAfter,addonBefore:t.addonBefore,prefix:t.prefix,suffix:t.suffix};return u.Children.forEach(e,n=>{const o=E0(n);!o||!u.isValidElement(n)||(r[o]=n.props.children)}),r}function A0(e){return Object.values(e).some(t=>t!=null)}const qf=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:g,sxInlineStyle:h}=ee(d,v),y=R0(o,{addonAfter:r,addonBefore:n,prefix:a,suffix:l}),x=A0(y),b=R(x?"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",!x&&g,!x&&s,!x&&i),w=c.jsx("input",{ref:t,type:m,className:b,style:x?void 0:D(f,h),...p});if(!x)return w;const P=!!p.disabled;return c.jsxs("span",{className:R("inline-flex h-9 w-full items-stretch rounded-md text-sm shadow-sm transition-colors",P&&"opacity-70",g,s,i),style:D(f,h),children:[y.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:y.addonBefore}):null,c.jsxs("span",{className:R("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",y.addonBefore?"rounded-l-none":"rounded-l-md",y.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:[y.prefix?c.jsx("span",{className:"inline-flex shrink-0 items-center text-slate-500",children:y.prefix}):null,w,y.suffix?c.jsx("span",{className:"inline-flex shrink-0 items-center text-slate-500",children:y.suffix}):null]}),y.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:y.addonAfter}):null]})});qf.displayName="Input";const ca=Object.assign(qf,{Addon:la,AddonAfter:j0,AddonBefore:q0,Prefix:N0,Suffix:k0});function lr(e){if(e.trim()==="")return null;const t=Number(e);return Number.isFinite(t)?t:null}function Zl(e){if(!Number.isFinite(e))return 0;const[,t=""]=String(e).split(".");return t.length}function I0(e,t,r){if(!Number.isFinite(r)||!r||r<=0)return e;const n=Number.isFinite(t)?t??0:0,o=Math.max(Zl(n),Zl(r)),s=n+Math.round((e-n)/r)*r;return Number(s.toFixed(Math.min(o+2,12)))}function T0(e,t){return Number.isFinite(t)?e.toFixed(Math.max(0,Math.floor(t??0))):String(e)}function _0(e,t){const r=lr(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=I0(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=T0(n,t.precision);return{value:n,valueAsString:o}}function cr(e){return e==null?"":String(e)}function ec(e){return!e.disabled&&!e.readOnly}function jf(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(()=>cr(r)),v=f?cr(d):m,g=u.useMemo(()=>lr(v),[v]),h=u.useCallback(w=>{f||p(w)},[f]),y=u.useCallback(w=>{const P=cr(w);h(P),s?.(lr(P),{reason:"set",valueAsString:P})},[s,h]),x=u.useCallback((w=v)=>{const P=cr(w),C=_0(P,{clampOnBlur:t,max:n,min:o,precision:a,step:l}),S=t?C.valueAsString:P,N=t?C.value:lr(P);return h(S),{value:N,valueAsString:S}},[t,n,o,a,l,h,v]),b=u.useCallback((w={})=>{const{disabled:P,onBlur:C,onChange:S,onKeyDown:N,readOnly:k,...q}=w;return{...q,disabled:P,inputMode:"decimal",max:n,min:o,readOnly:k,step:l,type:"number",value:v,onBlur:A=>{if(ec({disabled:P,readOnly:k})){const j=x(A.currentTarget.value);t&&(A.currentTarget.value=j.valueAsString,s?.(j.value,{event:A,reason:"commit",valueAsString:j.valueAsString})),i?.(j.value,{event:A,reason:"commit",valueAsString:j.valueAsString})}C?.(A)},onChange:A=>{S?.(A),h(A.currentTarget.value),s?.(lr(A.currentTarget.value),{event:A,reason:"input",valueAsString:A.currentTarget.value})},onKeyDown:A=>{if(N?.(A),A.key==="Enter"&&!A.defaultPrevented&&ec({disabled:P,readOnly:k})){const j=x(A.currentTarget.value);t&&(A.currentTarget.value=j.valueAsString,s?.(j.value,{event:A,reason:"commit",valueAsString:j.valueAsString})),i?.(j.value,{event:A,reason:"commit",valueAsString:j.valueAsString})}}}},[t,x,n,o,s,i,a,l,h,v]);return{commitValue:x,getInputProps:b,numberValue:g,setValue:y,value:v}}function O0(e={}){const{defaultValue:t="",onValueChange:r,...n}=e,[o,s]=u.useState(()=>cr(t)),[i,a]=u.useState(()=>lr(cr(t))),l=u.useCallback(m=>{const p=cr(m);s(p),a(lr(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 Ef=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:g,value:h,...y}=e,x=jf({clampOnBlur:r,defaultValue:n,max:s,min:i,onValueChange:f,onValueCommit:m,precision:p,step:g,value:h});return c.jsx(ca,{...y,...x.getInputProps({disabled:o,onBlur:a,onChange:l,onKeyDown:d,readOnly:v}),ref:t})});Ef.displayName="InputNumber";const M0={numeric:/^[0-9]$/,alphabetic:/^[A-Za-z]$/,alphanumeric:/^[A-Za-z0-9]$/},L0={numeric:"[0-9]*",alphabetic:"[A-Za-z]*",alphanumeric:"[A-Za-z0-9]*"},D0={sm:"h-8 w-8 text-sm",md:"h-10 w-10 text-base",lg:"h-12 w-12 text-lg"},F0={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 B0(e){return Number.isFinite(e)?Math.max(1,Math.floor(e??6)):6}function $0(e,t){const r=t?typeof t=="string"?new RegExp(t):t:M0[e];return n=>(r.lastIndex=0,r.test(n))}function V0(e,t,r){return Array.from(e).filter(r).slice(0,t).join("")}function z0(e,t){return typeof t=="string"?t:t instanceof RegExp?t.source:L0[e]}const Rf=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:g,pasteTransformer:h,mask:y=!1,placeholder:x="",autoFocus:b=!0,oneTimeCode:w=!0,size:P="md",variant:C="outline",invalid:S=!1,separator:N,style:k,sx:q,inputMode:A,autoComplete:j,onBlur:E,onFocus:I,onKeyDown:_,onPaste:O,"aria-label":T,...$}=e,M=se(),{sxClassName:W,sxInlineStyle:F}=ee(q,M),X=B0(o),de=u.useMemo(()=>$0(v,g),[g,v]),te=u.useCallback(re=>V0(re,X,de),[X,de]),Z=r!==void 0,[K,J]=u.useState(()=>te(n)),B=te(Z?r??"":K),G=u.useRef(null),H=u.useRef(B),U=u.useRef(null),[Y,Q]=u.useState(!1),le=Array.from(B),fe=Math.min(le.length,X-1),ve=Array.from(x)[0]??"",ge=typeof y=="string"?y:"•";u.useImperativeHandle(t,()=>G.current),u.useEffect(()=>{H.current=B},[B]),u.useEffect(()=>{Z||J(re=>te(re))},[Z,te]);const ie=u.useCallback(()=>{const re=G.current;if(!re)return;const me=re.value.length;try{re.setSelectionRange(me,me)}catch{}},[]),we=u.useCallback(re=>{const me=te(re),Se=H.current;H.current=me,Z||J(me),me!==Se&&m?.(me),me.length===X?U.current!==me&&(U.current=me,p?.(me)):U.current=null,window.requestAnimationFrame(ie)},[Z,ie,te,m,p,X]),qe=u.useCallback(()=>{s||(G.current?.focus(),window.requestAnimationFrame(ie))},[s,ie]);u.useEffect(()=>{if(!b||s)return;const re=G.current,me=re?.ownerDocument;!re||!me||me.activeElement!==me.body||(re.focus(),ie())},[b,s,ie]);const Me=re=>{we(re.target.value)},ne=re=>{Q(!0),I?.(re),window.requestAnimationFrame(ie)},Pe=re=>{Q(!1),E?.(re)},Ce=re=>{if(_?.(re),!re.defaultPrevented){if(re.key==="Backspace"||re.key==="Delete"){re.preventDefault(),!i&&H.current.length>0&&we(H.current.slice(0,-1));return}(re.key==="ArrowLeft"||re.key==="ArrowRight"||re.key==="Home"||re.key==="End")&&(re.preventDefault(),ie())}},ue=re=>{if(O?.(re),re.defaultPrevented||i)return;re.preventDefault();const me=re.clipboardData.getData("text"),Se=h?h(me):me;we(`${H.current}${Se}`)},_e=re=>{s||(re.preventDefault(),qe())},he=re=>re>=X-1?null:typeof N=="function"?N(re):N;return c.jsx("div",{className:R("inline-flex flex-col gap-2",W,a,l),style:D(k,F),"data-disabled":s?"":void 0,"data-readonly":i?"":void 0,"data-complete":B.length===X?"":void 0,children:c.jsxs("div",{className:"relative inline-flex items-center gap-2",onMouseDown:_e,children:[c.jsx("input",{...$,ref:G,type:"text",value:B,disabled:s,readOnly:i,maxLength:X,inputMode:A??(v==="numeric"?"numeric":"text"),autoComplete:w?"one-time-code":j,pattern:z0(v,g),"aria-label":T??"一次性验证码","aria-invalid":S||$["aria-invalid"]?!0:void 0,className:R("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:Me,onFocus:ne,onBlur:Pe,onKeyDown:Ce,onPaste:ue}),Array.from({length:X}).map((re,me)=>{const Se=le[me]??"",Te=Se.length>0,et=Y&&!s&&me===fe,Ke=Te?y?ge:Se:ve,ut=he(me);return c.jsxs(u.Fragment,{children:[c.jsx("span",{"aria-hidden":"true",className:R("inline-flex shrink-0 select-none items-center justify-center font-semibold transition-colors",D0[P],F0[C],!Te&&"font-normal text-slate-400",et&&"border-blue-500 ring-2 ring-blue-500/30",S&&"border-red-500 text-red-600",et&&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":et?"":void 0,"data-filled":Te?"":void 0,children:Ke}),ut?c.jsx("span",{"aria-hidden":"true",className:"select-none text-sm text-slate-400",children:ut}):null]},me)})]})})});Rf.displayName="InputOPT";function tc(e){return e==null?"":String(e)}function H0(e){return typeof e=="string"||typeof e=="number"?String(e):""}function U0(e,t){const r=t.trim().toLowerCase();return r?[e.value,e.textValue,H0(e.label),...e.keywords??[]].filter(Boolean).join(" ").toLowerCase().includes(r):!0}function rc(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 W0(e,t){const r=window.HTMLInputElement.prototype;Object.getOwnPropertyDescriptor(r,"value")?.set?.call(e,t),e.dispatchEvent(new Event("input",{bubbles:!0}))}function K0(e,t){if(e){if(typeof e=="function"){e(t);return}e.current=t}}function G0(...e){return u.useCallback(t=>{for(const r of e)K0(r,t)},e)}const Af=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=U0,onBlur:p,onChange:v,onFocus:g,onKeyDown:h,onOptionSelect:y,onValueChange:x,openOnFocus:b=!0,optionClassName:w,optionStyle:P,optionSx:C,options:S=[],readOnly:N,renderOption:k,rootClassName:q,rootStyle:A,rootSx:j,value:E,...I}=e,_=se(),O=u.useRef(null),T=u.useRef(null),$=u.useRef(null),M=u.useId(),[W,F]=u.useState(()=>tc(s)),[X,de]=u.useState(!1),[te,Z]=u.useState(-1),K=E!==void 0,J=K?tc(E):W,B=!i&&!N,G=ee(j,_),H=ee(d,_),U=ee(C,_),Y=G0(O,t),Q=u.useMemo(()=>m===!1?S:S.filter(ne=>m(ne,J)),[m,J,S]),le=X&&B&&(Q.length>0||f!==null),fe=te>=0?Q[te]:void 0,ve=le&&fe?`${M}-option-${te}`:void 0;u.useEffect(()=>{if(!X)return;const ne=Pe=>{const Ce=Pe.target;Ce instanceof Node&&T.current&&!T.current.contains(Ce)&&(de(!1),Z(-1))};return document.addEventListener("pointerdown",ne),()=>{document.removeEventListener("pointerdown",ne)}},[X]),u.useEffect(()=>{te>=Q.length&&Z(-1)},[te,Q.length]);const ge=(ne,Pe)=>{ne.disabled||($.current=ne,K||F(ne.value),O.current&&W0(O.current,ne.value),de(!1),Z(-1),y?.(ne,Pe),O.current?.focus(),window.setTimeout(()=>{$.current===ne&&($.current=null)},0))},ie=ne=>{const Pe=ne.currentTarget.value,Ce=$.current;$.current=null,K||F(Pe),B&&de(!Ce),Z(-1),v?.(ne),x?.(Pe,{event:ne,option:Ce??void 0,reason:Ce?"select":"input"})},we=ne=>{B&&b&&de(!0),g?.(ne)},qe=ne=>{const Pe=ne.relatedTarget;if(Pe instanceof Node&&T.current?.contains(Pe)){p?.(ne);return}de(!1),Z(-1),p?.(ne)},Me=ne=>{if(!B){h?.(ne);return}ne.key==="ArrowDown"?(ne.preventDefault(),de(!0),Z(Pe=>rc(Q,Pe<0?-1:Pe,1))):ne.key==="ArrowUp"?(ne.preventDefault(),de(!0),Z(Pe=>rc(Q,Pe<0?Q.length:Pe,-1))):ne.key==="Enter"&&X&&fe?(ne.preventDefault(),ge(fe,ne)):(ne.key==="Escape"||ne.key==="Tab")&&(de(!1),Z(-1)),h?.(ne)};return c.jsxs("div",{ref:T,className:R("relative w-full",G.sxClassName,q),style:D(A,G.sxInlineStyle),children:[c.jsx(ca,{...I,ref:Y,autoComplete:r,class:n,className:o,disabled:i,readOnly:N,role:"combobox","aria-autocomplete":"list","aria-controls":le?M:void 0,"aria-expanded":le,"aria-activedescendant":ve,value:J,onBlur:qe,onChange:ie,onFocus:we,onKeyDown:Me}),le?c.jsx("div",{id:M,role:"listbox",className:R("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",H.sxClassName,a),style:D(l,H.sxInlineStyle),children:Q.length>0?Q.map((ne,Pe)=>{const Ce=te===Pe,ue=ne.value===J,_e=!!ne.disabled;return c.jsx("div",{id:`${M}-option-${Pe}`,role:"option","aria-disabled":_e||void 0,"aria-selected":ue,className:R("grid cursor-default select-none gap-0.5 rounded-sm px-2 py-1.5 text-sm leading-5 outline-none transition-colors",Ce&&"bg-blue-50 text-blue-700",ue&&!Ce&&"bg-slate-50 text-slate-900",_e?"pointer-events-none text-slate-400 opacity-70":"text-slate-700",U.sxClassName,w),style:D(P,U.sxInlineStyle),onMouseDown:he=>he.preventDefault(),onMouseEnter:()=>{_e||Z(Pe)},onClick:he=>ge(ne,he),children:k?k(ne,{active:Ce,disabled:_e,inputValue:J,selected:ue}):c.jsxs(c.Fragment,{children:[c.jsx("span",{className:"truncate font-medium",children:ne.label}),ne.description?c.jsx("span",{className:"truncate text-xs text-slate-500",children:ne.description}):null]})},`${ne.value}-${Pe}`)}):c.jsx("div",{className:"px-2 py-2 text-sm text-slate-500",children:f})}):null]})});Af.displayName="AutoComplete";function If(e){const t=e+"CollectionProvider",[r,n]=xt(t),[o,s]=r(t,{collectionRef:{current:null},itemMap:new Map}),i=h=>{const{scope:y,children:x}=h,b=Oe.useRef(null),w=Oe.useRef(new Map).current;return c.jsx(o,{scope:y,itemMap:w,collectionRef:b,children:x})};i.displayName=t;const a=e+"CollectionSlot",l=sn(a),d=Oe.forwardRef((h,y)=>{const{scope:x,children:b}=h,w=s(a,x),P=Re(y,w.collectionRef);return c.jsx(l,{ref:P,children:b})});d.displayName=a;const f=e+"CollectionItemSlot",m="data-radix-collection-item",p=sn(f),v=Oe.forwardRef((h,y)=>{const{scope:x,children:b,...w}=h,P=Oe.useRef(null),C=Re(y,P),S=s(f,x);return Oe.useEffect(()=>(S.itemMap.set(P,{ref:P,...w}),()=>{S.itemMap.delete(P)})),c.jsx(p,{[m]:"",ref:C,children:b})});v.displayName=f;function g(h){const y=s(e+"CollectionConsumer",h);return Oe.useCallback(()=>{const b=y.collectionRef.current;if(!b)return[];const w=Array.from(b.querySelectorAll(`[${m}]`));return Array.from(y.itemMap.values()).sort((S,N)=>w.indexOf(S.ref.current)-w.indexOf(N.ref.current))},[y.collectionRef,y.itemMap])}return[{Provider:i,Slot:d,ItemSlot:v},g,n]}var Y0=u.createContext(void 0);function Lo(e){const t=u.useContext(Y0);return e||t||"ltr"}var ms="rovingFocusGroup.onEntryFocus",X0={bubbles:!1,cancelable:!0},yn="RovingFocusGroup",[pi,Tf,J0]=If(yn),[Q0,Do]=xt(yn,[J0]),[Z0,ew]=Q0(yn),_f=u.forwardRef((e,t)=>c.jsx(pi.Provider,{scope:e.__scopeRovingFocusGroup,children:c.jsx(pi.Slot,{scope:e.__scopeRovingFocusGroup,children:c.jsx(tw,{...e,ref:t})})}));_f.displayName=yn;var tw=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=Re(t,p),g=Lo(s),[h,y]=_t({prop:i,defaultProp:a??null,onChange:l,caller:yn}),[x,b]=u.useState(!1),w=At(d),P=Tf(r),C=u.useRef(!1),[S,N]=u.useState(0);return u.useEffect(()=>{const k=p.current;if(k)return k.addEventListener(ms,w),()=>k.removeEventListener(ms,w)},[w]),c.jsx(Z0,{scope:r,orientation:n,dir:g,loop:o,currentTabStopId:h,onItemFocus:u.useCallback(k=>y(k),[y]),onItemShiftTab:u.useCallback(()=>b(!0),[]),onFocusableItemAdd:u.useCallback(()=>N(k=>k+1),[]),onFocusableItemRemove:u.useCallback(()=>N(k=>k-1),[]),children:c.jsx(ye.div,{tabIndex:x||S===0?-1:0,"data-orientation":n,...m,ref:v,style:{outline:"none",...e.style},onMouseDown:pe(e.onMouseDown,()=>{C.current=!0}),onFocus:pe(e.onFocus,k=>{const q=!C.current;if(k.target===k.currentTarget&&q&&!x){const A=new CustomEvent(ms,X0);if(k.currentTarget.dispatchEvent(A),!A.defaultPrevented){const j=P().filter(T=>T.focusable),E=j.find(T=>T.active),I=j.find(T=>T.id===h),O=[E,I,...j].filter(Boolean).map(T=>T.ref.current);Lf(O,f)}}C.current=!1}),onBlur:pe(e.onBlur,()=>b(!1))})})}),Of="RovingFocusGroupItem",Mf=u.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:s,children:i,...a}=e,l=vr(),d=s||l,f=ew(Of,r),m=f.currentTabStopId===d,p=Tf(r),{onFocusableItemAdd:v,onFocusableItemRemove:g,currentTabStopId:h}=f;return u.useEffect(()=>{if(n)return v(),()=>g()},[n,v,g]),c.jsx(pi.ItemSlot,{scope:r,id:d,focusable:n,active:o,children:c.jsx(ye.span,{tabIndex:m?0:-1,"data-orientation":f.orientation,...a,ref:t,onMouseDown:pe(e.onMouseDown,y=>{n?f.onItemFocus(d):y.preventDefault()}),onFocus:pe(e.onFocus,()=>f.onItemFocus(d)),onKeyDown:pe(e.onKeyDown,y=>{if(y.key==="Tab"&&y.shiftKey){f.onItemShiftTab();return}if(y.target!==y.currentTarget)return;const x=ow(y,f.orientation,f.dir);if(x!==void 0){if(y.metaKey||y.ctrlKey||y.altKey||y.shiftKey)return;y.preventDefault();let w=p().filter(P=>P.focusable).map(P=>P.ref.current);if(x==="last")w.reverse();else if(x==="prev"||x==="next"){x==="prev"&&w.reverse();const P=w.indexOf(y.currentTarget);w=f.loop?sw(w,P+1):w.slice(P+1)}setTimeout(()=>Lf(w))}}),children:typeof i=="function"?i({isCurrentTabStop:m,hasTabStop:h!=null}):i})})});Mf.displayName=Of;var rw={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function nw(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function ow(e,t,r){const n=nw(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return rw[n]}function Lf(e,t=!1){const r=document.activeElement;for(const n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function sw(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var Df=_f,Ff=Mf,ua="Radio",[iw,Bf]=xt(ua),[aw,lw]=iw(ua),$f=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=Re(t,y=>p(y)),g=u.useRef(!1),h=m?d||!!m.closest("form"):!0;return c.jsxs(aw,{scope:r,checked:o,disabled:i,children:[c.jsx(ye.button,{type:"button",role:"radio","aria-checked":o,"data-state":Uf(o),"data-disabled":i?"":void 0,disabled:i,value:a,...f,ref:v,onClick:pe(e.onClick,y=>{o||l?.(),h&&(g.current=y.isPropagationStopped(),g.current||y.stopPropagation())})}),h&&c.jsx(Hf,{control:m,bubbles:!g.current,name:n,value:a,checked:o,required:s,disabled:i,form:d,style:{transform:"translateX(-100%)"}})]})});$f.displayName=ua;var Vf="RadioIndicator",zf=u.forwardRef((e,t)=>{const{__scopeRadio:r,forceMount:n,...o}=e,s=lw(Vf,r);return c.jsx(Qt,{present:n||s.checked,children:c.jsx(ye.span,{"data-state":Uf(s.checked),"data-disabled":s.disabled?"":void 0,...o,ref:t})})});zf.displayName=Vf;var cw="RadioBubbleInput",Hf=u.forwardRef(({__scopeRadio:e,control:t,checked:r,bubbles:n=!0,...o},s)=>{const i=u.useRef(null),a=Re(i,s),l=Io(r),d=No(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 g=new Event("click",{bubbles:n});v.call(f,r),f.dispatchEvent(g)}},[l,r,n]),c.jsx(ye.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}})});Hf.displayName=cw;function Uf(e){return e?"checked":"unchecked"}var uw=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Fo="RadioGroup",[dw]=xt(Fo,[Do,Bf]),Wf=Do(),Kf=Bf(),[fw,mw]=dw(Fo),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=Wf(r),g=Lo(d),[h,y]=_t({prop:s,defaultProp:o??null,onChange:m,caller:Fo});return c.jsx(fw,{scope:r,name:n,required:i,disabled:a,value:h,onValueChange:y,children:c.jsx(Df,{asChild:!0,...v,orientation:l,dir:g,loop:f,children:c.jsx(ye.div,{role:"radiogroup","aria-required":i,"aria-orientation":l,"data-disabled":a?"":void 0,dir:g,...p,ref:t})})})});Gf.displayName=Fo;var Yf="RadioGroupItem",Xf=u.forwardRef((e,t)=>{const{__scopeRadioGroup:r,disabled:n,...o}=e,s=mw(Yf,r),i=s.disabled||n,a=Wf(r),l=Kf(r),d=u.useRef(null),f=Re(t,d),m=s.value===o.value,p=u.useRef(!1);return u.useEffect(()=>{const v=h=>{uw.includes(h.key)&&(p.current=!0)},g=()=>p.current=!1;return document.addEventListener("keydown",v),document.addEventListener("keyup",g),()=>{document.removeEventListener("keydown",v),document.removeEventListener("keyup",g)}},[]),c.jsx(Ff,{asChild:!0,...a,focusable:!i,active:m,children:c.jsx($f,{disabled:i,required:s.required,checked:m,...l,...o,name:s.name,ref:f,onCheck:()=>s.onValueChange(o.value),onKeyDown:pe(v=>{v.key==="Enter"&&v.preventDefault()}),onFocus:pe(o.onFocus,()=>{p.current&&d.current?.click()})})})});Xf.displayName=Yf;var hw="RadioGroupIndicator",Jf=u.forwardRef((e,t)=>{const{__scopeRadioGroup:r,...n}=e,o=Kf(r);return c.jsx(zf,{...o,...n,ref:t})});Jf.displayName=hw;var pw=Gf,vw=Xf,gw=Jf;const da=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,children:i,...a}=e,l=se(),{sxClassName:d,sxInlineStyle:f}=ee(o,l);return c.jsx(vw,{ref:t,className:R("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:D(s,f),...a,children:i??c.jsx(gw,{className:"inline-flex h-4 w-4 items-center justify-center",children:c.jsx("span",{className:"h-2 w-2 rounded-full bg-current"})})})});da.displayName="Radio";const nc={xs:"gap-1",sm:"gap-2",md:"gap-3",lg:"gap-4"};function bw(e){return e===void 0?{className:nc.md}:e==="xs"||e==="sm"||e==="md"||e==="lg"?{className:nc[e]}:{style:{gap:typeof e=="number"?`${e}px`:e}}}const Qf=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:g}=ee(d,p),h=bw(a);return c.jsxs(pw,{ref:t,disabled:i,className:R("flex",s==="horizontal"?"flex-row flex-wrap":"flex-col",h.className,v,r,n),style:D(f,h.style,g),...m,children:[l?.map(y=>{const x=i||y.disabled;return c.jsxs(Oo,{className:R("inline-flex items-start gap-2 text-sm leading-5 text-slate-700",x&&"cursor-not-allowed text-slate-400",!x&&"cursor-pointer",y.className),children:[c.jsx(da,{...y.radioProps,value:y.value,disabled:x}),c.jsxs("span",{className:"grid gap-0.5",children:[c.jsx("span",{children:y.label}),y.description?c.jsx("span",{className:"text-xs text-slate-500",children:y.description}):null]})]},y.value)}),o]})});Qf.displayName="RadioGroup";const xw={sm:"h-8 w-8",md:"h-9 w-9",lg:"h-10 w-10"},yw={sm:"h-4 w-4",md:"h-[18px] w-[18px]",lg:"h-5 w-5"};function hs(e,t){return Number.isFinite(e)?Math.max(0,Math.min(t,Math.round(e))):0}function ww(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 Pw(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,g=v??c.jsx(ww,{className:yw[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:R("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",xw[r],o?"scale-[1.03]":"scale-100"),children:c.jsxs("span",{"aria-hidden":"true",className:R("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:g}),c.jsx("span",{className:"absolute inset-0 overflow-hidden",style:{width:`${t}%`},children:c.jsx("span",{className:"text-current",children:g})})]})})}const Zf=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:g,class:h,style:y,sx:x,onMouseLeave:b,onKeyDown:w,...P}=e,C=se(),{sxClassName:S,sxInlineStyle:N}=ee(x,C),k=r!==void 0,q=Math.max(1,Math.floor(o||1)),[A,j]=u.useState(()=>hs(n,q)),[E,I]=u.useState(null),_=u.useRef([]),O=hs(k?r??0:A,q),T=E??O,$=u.useId(),M=u.useCallback(te=>{if(a||l)return;const Z=hs(te,q),K=s&&Z===O?0:Z;k||j(K),f?.(K)},[s,O,a,k,f,l,q]),W=u.useCallback(()=>{I(null),m?.(null)},[m]),F=u.useCallback(te=>{_.current[te]?.focus()},[]),X=te=>{W(),b?.(te)},de=(te,Z)=>{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"){W(),F(0),M(0);return}if(te.key==="End"){W(),F(q-1),M(q);return}const J=te.key==="ArrowRight"||te.key==="ArrowUp"?1:-1,B=Math.max(0,Math.min(q-1,Z+J));W(),F(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:R("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,g,h),style:D(y,N),onMouseLeave:X,children:[d?c.jsx("input",{type:"hidden",name:d,value:String(O)}):null,Array.from({length:q}).map((te,Z)=>{const K=Z+1,J=Math.max(0,Math.min(1,T-Z))*100,B=O===K,G=E!==null;return c.jsx(Pw,{fill:J,size:p,active:B,preview:G&&K<=T,disabled:a||l,tabIndex:O===0?Z===0?0:-1:B?0:-1,label:`选择 ${K} 星`,character:v,setRef:H=>{_.current[Z]=H},onClick:()=>{W(),M(K)},onFocus:()=>{a||l||W()},onKeyDown:H=>de(H,Z),onMouseEnter:()=>{a||l||(I(K),m?.(K))}},`${$}-${K}`)})]})});Zf.displayName="Rate";function ps(e){const t=se();return ee(e,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=>{i||s(d),n?.(d)},[i,n]);return[a,l]}function Dn(e){return Array.isArray(e)?e.filter(t=>t!==""):[]}function Cw(e){return Array.isArray(e)?e:[]}function Fr(e,t){return e?.[t]??t}function Sw(e,t){const r=Fr(t,"value");return typeof e[r]=="string"?e[r]:e.value}function Nw(e,t){const r=Fr(t,"label");return e[r]??e.label??e.value??""}function kw(e,t){const r=Fr(t,"children");return Cw(e[r])}function qw(e,t){const r=Fr(t,"disabled");return!!(e[r]??e.disabled)}function jw(e,t){const r=Fr(t,"isLeaf"),n=e[r];return typeof n=="boolean"?n:e.isLeaf}function Ew(e,t){const r=Fr(t,"loading");return!!(e[r]??e.loading)}function em(e,t){const r=Sw(e,t);if(typeof r!="string"||r.length===0)return null;const n=kw(e,t),o=jw(e,t),s=typeof o=="boolean"?o:n.length===0;return{option:e,value:r,label:Nw(e,t),children:n,disabled:qw(e,t),isLeaf:s,loading:Ew(e,t)}}function vi(e,t){const r=[];for(const n of e){const o=em(n,t);o&&r.push(o)}return r}function vs(e,t,r){const n=[],o=[];let s=e;for(const i of t){const a=vi(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 Rw(e,t,r){const n=[];let o=e;n.push(vi(o,r));for(const s of t){const i=vi(o,r).find(a=>a.value===s);if(!i||(o=i.children,o.length===0))break;n.push(o.map(a=>em(a,r)).filter(a=>!!a))}return n}function gs(e,t){return t.every((r,n)=>e[n]===r)}function Aw(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 Iw(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 Tw(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 _w(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 bs(){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 tm=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:g=!1,expandTrigger:h="click",clearable:y=!1,contentWidth:x="auto",maxPanelHeight:b=336,side:w="bottom",align:P="start",sideOffset:C=8,contentClassName:S,contentClass:N,contentStyle:k,contentSx:q,class:A,sx:j,readOnly:E=!1,required:I,loadData:_,optionClassName:O,optionClass:T,optionStyle:$,optionSx:M,className:W,style:F,disabled:X=!1,name:de,id:te,autoFocus:Z,onClick:K,onFocus:J,onBlur:B,onKeyDown:G,...H}=e,[U,Y]=oc({value:n===void 0?void 0:Dn(n),defaultValue:Dn(o),onChange:z=>{}}),[Q,le]=oc({value:a,defaultValue:l,onChange:i}),[fe,ve]=u.useState(()=>Dn(o)),[ge,ie]=u.useState(null),we=u.useRef(null),qe=u.useRef(!0),Me=u.useRef(Q),{sxClassName:ne,sxInlineStyle:Pe}=ps(j),{sxClassName:Ce,sxInlineStyle:ue}=ps(q),{sxClassName:_e,sxInlineStyle:he}=ps(M);u.useEffect(()=>()=>{qe.current=!1},[]),u.useEffect(()=>{Q&&!Me.current&&ve(U),Me.current=Q},[Q,U]);const re=u.useMemo(()=>vs(r,U,v),[v,r,U]),me=re.matched.map(z=>z.option),Se=Q?fe:U,Te=u.useMemo(()=>vs(r,Se,v),[Se,v,r]),et=u.useMemo(()=>Rw(r,Se,v),[Se,v,r]),Ke=u.useMemo(()=>{const z=Te.matched[Te.matched.length-1];return!Q||!z?!1:z.children.length===0&&!z.isLeaf},[Te.matched,Q]),ut=u.useMemo(()=>re.labels.length>0?m?m(re.labels,me):Aw(re.labels,f):d,[m,d,me,re.labels,f]),yt=n!==void 0,He=u.useCallback((z,ce)=>{const be=Dn(z),Ne=vs(r,be,v);yt||Y(be),s?.(be,{...ce,path:Ne.path,options:Ne.matched.map(Ie=>Ie.option),labels:Ne.labels})},[v,yt,s,r,Y]),ot=u.useCallback(z=>{X||E||(yt||Y([]),ve([]),s?.([],{reason:"clear",path:[],options:[],labels:[],event:z}))},[X,yt,s,E,Y]),Ge=u.useRef(_);u.useEffect(()=>{Ge.current=_},[_]);const Lt=u.useCallback(async(z,ce,be)=>{if(X||E||z.disabled)return;const Ne=z.children.length>0,Ie=Ne||!z.isLeaf&&!!Ge.current,tt=ce.join("");if(Ie&&!Ne&&Ge.current){ie(tt);try{await Ge.current([z.option],{option:z.option,path:ce,options:r})}finally{qe.current&&ie(st=>st===tt?null:st)}}if(g||!Ie){He(ce,{reason:"select",option:z.option,event:be}),le(!1);return}ve(ce),le(!0)},[g,He,X,r,E,le]),Ye=u.useCallback(z=>{X||(ve(z),le(!0))},[X,le]);u.useImperativeHandle(t,()=>({focus:()=>we.current?.focus(),blur:()=>we.current?.blur(),open:()=>Ye(U),close:()=>le(!1),clear:()=>ot(),getValue:()=>U.slice()}),[ot,Ye,U,le]);const V=ge!==null;return c.jsxs("div",{className:"relative inline-flex w-full items-stretch",children:[c.jsxs(Ud,{open:Q,onOpenChange:le,children:[c.jsx(ra,{asChild:!0,children:c.jsxs("button",{ref:we,id:te,type:"button",className:R("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",E&&"cursor-default",y&&U.length>0&&!X&&!E?"pr-16":"pr-9",ne,W,A),style:D(F,Pe),autoFocus:Z,disabled:X,"aria-haspopup":"dialog","aria-expanded":Q,"aria-disabled":X||void 0,"aria-readonly":E||void 0,onClick:z=>{K?.(z)},onFocus:J,onBlur:B,onKeyDown:z=>{G?.(z),!X&&((z.key==="ArrowDown"||z.key==="Enter")&&(z.preventDefault(),le(!0)),z.key==="Escape"&&(z.preventDefault(),le(!1)))},...H,children:[c.jsx("span",{className:R("min-w-0 flex-1 truncate",re.labels.length===0&&"text-slate-400"),children:ut}),c.jsx(Iw,{className:"absolute right-3 h-4 w-4 text-slate-500"})]})}),y&&U.length>0&&!X&&!E?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:z=>z.preventDefault(),onClick:z=>{z.preventDefault(),z.stopPropagation(),ot(z)},children:c.jsx(_w,{className:"h-3.5 w-3.5"})}):null,c.jsx(na,{side:w,align:P,sideOffset:C,width:x,className:R("overflow-hidden p-0",Ce,S,N),style:D(k,ue),role:"dialog","aria-label":"级联选择",children:c.jsxs("div",{className:"flex min-w-[320px] overflow-hidden bg-white",style:{maxHeight:typeof b=="number"?`${b}px`:b},children:[et.map((z,ce)=>{const be=Se.slice(0,ce);return z.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:V&&ce===et.length-1?c.jsxs("span",{className:"inline-flex items-center gap-2",children:[c.jsx(bs,{}),"加载中"]}):"暂无可选项"},`empty-${ce}`):c.jsx("div",{className:R("min-w-48 border-r border-slate-200 last:border-r-0",ce>0&&"bg-slate-50/40"),children:c.jsx("div",{className:"max-h-full overflow-y-auto p-1",children:z.map(Ne=>{const Ie=[...be,Ne.value],tt=U.length===Ie.length&&gs(U,Ie),st=gs(Se,Ie)||gs(Ie,Se),dt=ge===Ie.join("")||Ne.loading,mt=Ne.children.length>0||!Ne.isLeaf&&!!Ge.current&&!dt,Jo={active:st,checked:tt,disabled:Ne.disabled,hasChildren:mt,isLeaf:Ne.isLeaf,level:ce,loading:dt,path:Ie,selected:tt};return c.jsxs("button",{type:"button",className:R("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",tt&&"bg-blue-50 text-blue-700",st&&!tt&&"bg-slate-100 text-slate-900",Ne.disabled&&"cursor-not-allowed text-slate-400 opacity-70 hover:bg-transparent hover:text-slate-400",_e,O,T),style:D($,he),disabled:X||E||Ne.disabled,onMouseEnter:()=>{h==="hover"&&!Ne.disabled&&mt&&(ve(Ie),le(!0))},onClick:L=>{L.preventDefault(),Lt(Ne,Ie,L)},children:[c.jsx("span",{className:"min-w-0 flex-1 truncate",children:p?p(Ne.option,Jo):Ne.label}),dt?c.jsx(bs,{}):mt?c.jsx(Tw,{className:"h-4 w-4 shrink-0 text-slate-400"}):null]},Ie.join(""))})})},`column-${ce}`)}),Ke?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:V?c.jsxs("span",{className:"inline-flex items-center gap-2",children:[c.jsx(bs,{}),"加载中"]}):"请继续选择"}):null]})})]}),de?c.jsx("input",{type:"hidden",name:de,required:I,value:U.length>0?JSON.stringify(U):""}):null]})});tm.displayName="Cascader";function Ow(e){return Array.isArray(e)?Number(e[0]??0):Number(e??0)}function sc(e,t){const r=Number(e);return Number.isFinite(r)?r:t}function ic(e,t){return e===void 0?t:typeof e=="number"?`${e}px`:e}const Mw={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 rm(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,g=se(),{sxClassName:h,sxInlineStyle:y}=ee(a,g),x=f!==void 0,[b,w]=u.useState(()=>Ow(n)),P=x?f:b,C=sc(s,0),S=sc(o,100),N=Number.isFinite(P)?P:C,k=S>C?(N-C)/(S-C)*100:0,q=Math.max(0,Math.min(100,k)),A=j=>{const E=Number(j.currentTarget.value);x||w(E),p?.(E)};return c.jsx("input",{...v,type:"range",...x?{value:f}:{defaultValue:n},min:s,max:o,onChange:A,className:R("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:D({...Mw[m],"--ldkj-slider-thumb-size":ic(l,"1.05rem"),"--ldkj-slider-track-size":ic(d,"0.4rem"),"--ldkj-slider-percent":`${q}%`,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,y)})}rm.displayName="Slider";function Lw({children:e}){return c.jsx("span",{className:"text-rose-500",children:e??"*"})}const Bo=u.createContext(null);function cn(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function it(e){return Array.isArray(e)?e.map(t=>it(t)):cn(e)?Object.fromEntries(Object.entries(e).map(([t,r])=>[t,it(r)])):e}function wn(e){return typeof e=="string"||typeof e=="number"?[e]:Array.from(e)}function ht(e){return JSON.stringify(wn(e))}function Dw(e){return wn(e).join(".")}function sr(e,t){let r=e;for(const n of wn(t)){if(r==null)return;r=r[n]}return r}function Jr(e,t,r){const n=wn(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]:cn(s)?{...s}:typeof a=="number"?[]:{};return d[a]=l?r:o(d[a],i+1),d};return o(e,0)}function Fw(e,t){const r=wn(t);if(r.length===0)return e;const n=(o,s)=>{if(!Array.isArray(o)&&!cn(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 Bw(e,t){return Jr({},e,t)}function $w(e,t){const r=(n,o)=>{if(cn(n)&&cn(o)){const s={...n};for(const[i,a]of Object.entries(o))s[i]=r(s[i],a);return s}return it(o)};return r(e,t)}function ac(){return{errors:[],touched:!1,validating:!1}}function Vw(e){return e==null||e===""||Array.isArray(e)&&e.length===0}function zw(e){return e===void 0?[]:Array.isArray(e)?e:[e]}function Hw(e,t,r){if(!e)return!0;const n=zw(t??r);return n.length===0||n.includes(e)}function Uw(e,t){return u.isValidElement(e)?e:typeof e=="string"||typeof e=="number"?String(e):e instanceof Error?e.message:t}function Ww(e){let t=it({}),r=it(t),n={},o=0;const s=new Set,i=new Map,a=new Map,l=()=>{for(const b of s)b()},d=b=>{const w=ht(b),P=a.get(w);if(P)return P;const C=ac();return a.set(w,C),C},f=(b,w)=>{const P=ht(b);a.set(P,{...d(b),...w})},m=()=>Array.from(i.values()).map(b=>({name:b.name,value:sr(t,b.name),...d(b.name)})),p=b=>{n.onFieldsChange?.(b,m())},v=async(b,w)=>{const P=b.rules.filter(S=>Hw(w.trigger,S.validateTrigger,b.validateTrigger));if(P.length===0)return[];w.validateOnly||(f(b.name,{validating:!0}),l());const C=[];for(const S of P){const N=sr(t,b.name),k=S.transform?S.transform(N):N,q=S.message??"该字段为必填项";if(S.required&&Vw(k)){if(C.push(q),b.validateFirst)break;continue}if(S.validator){try{const A=await S.validator(k,it(t),x);A===!1?C.push(q):A!==void 0&&A!==!0&&C.push(A)}catch(A){C.push(Uw(A,q))}if(b.validateFirst&&C.length>0)break}}return!w.validateOnly&&w.id===o&&(f(b.name,{errors:C,validating:!1}),p([{name:b.name,value:sr(t,b.name),...d(b.name),errors:C,validating:!1}]),l()),C},g=async(b,w={})=>{const P=++o,C=b?.map(ht),S=Array.from(i.values()).filter(q=>C?C.includes(ht(q.name)):!0),k=(await Promise.all(S.map(async q=>({field:q,errors:await v(q,{id:P,trigger:w.trigger,validateOnly:w.validateOnly})})))).filter(q=>q.errors.length>0).map(q=>({errors:q.errors,name:q.field.name}));if(k.length>0)throw{errorFields:k,outOfDate:P!==o,values:it(t)};return it(t)},h=(b,w)=>{const P=ht(b);for(const C of i.values())(ht(C.name)===P||C.dependencies.some(N=>ht(N)===P))&&g([C.name],{trigger:w}).catch(()=>{})},y=(b,w,P={})=>{t=Jr(t,b,w),P.touched&&f(b,{touched:!0});const C={name:b,value:w,...d(b)};P.source!=="external"&&(n.onValuesChange?.(Bw(b,w),it(t)),p([C])),l(),P.trigger&&h(b,P.trigger)},x={getFieldValue:b=>sr(t,b),getFieldsValue:b=>b?b.reduce((w,P)=>Jr(w,P,sr(t,P)),{}):it(t),getFieldError:b=>d(b).errors,getFieldsError:b=>(b??Array.from(i.values()).map(P=>P.name)).map(P=>({errors:d(P).errors,name:P})),getFieldMeta:b=>d(b),isFieldTouched:b=>d(b).touched,isFieldsTouched:b=>(b??Array.from(i.values()).map(P=>P.name)).some(P=>d(P).touched),setFieldValue:(b,w)=>y(b,w,{source:"external"}),setFieldsValue:b=>{t=$w(t,b),l()},setFields:b=>{for(const w of b)"value"in w&&(t=Jr(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(b),l()},resetFields:b=>{const w=b??Array.from(i.values()).map(P=>P.name);if(!b)t=it(r),a.clear();else for(const P of w)t=Jr(t,P,sr(r,P)),a.delete(ht(P));p(w.map(P=>({name:P,value:sr(t,P),...d(P)}))),l()},validateFields:b=>g(b),submit:async()=>{try{const b=await g(void 0);n.onFinish?.(b)}catch(b){n.onFinishFailed?.(b)}},subscribe:b=>(s.add(b),()=>s.delete(b)),__INTERNAL__:{getStoreSnapshot:()=>t,getMetaSnapshot:b=>d(b),setCallbacks:b=>{n=b},setInitialValues:(b,w)=>{r=it(b??{}),w&&(t=it(r))},registerField:b=>{const w=ht(b.name);return i.set(w,b),a.has(w)||a.set(w,ac()),P=>{i.delete(w),P?.preserve===!1&&(t=Fw(t,b.name),a.delete(w),l())}},setFieldValue:y,validateFields:g}};return x}function fa(e){const t=u.useRef(null);return t.current||(t.current=e??Ww()),[e??t.current]}function ma(){const e=u.useContext(Bo);if(!e)throw new Error("Form hooks must be used inside a Form or receive a form instance.");return e}function $o(e,t){const r=u.useContext(Bo),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 nm(e,t){return $o(e,t)}function Kw(e,t){const r=u.useContext(Bo),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 rn={emptyValue:"",trigger:"onChange",valuePropName:"value"},lc={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:rn,InputNumber:rn,InputOPT:rn,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,trigger:"onValueChange",valuePropName:"value"}};function Gw(e){const t=e.type;return t.displayName??t.name??t.render?.displayName??t.render?.name}function Yw(e){if(!e)return rn;const t=Gw(e);return t&&lc[t]?lc[t]:rn}function Xw(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 Jw(e){return e===void 0?[]:Array.isArray(e)?[...e]:[e]}function Qw(e,t,r){return e!==void 0?e:r==="checked"?!1:t.emptyValue}function cc(e,t){return(...r)=>{e?.(...r),t(...r)}}function Zw(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,...g}=e,[h]=fa(n),y=se(),{sxClassName:x,sxInlineStyle:b}=ee(v,y),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(Bo.Provider,{value:h,children:c.jsx("form",{className:R("space-y-4",x,t,r),style:D(p,b),onReset:S,onSubmit:C,...g})})}function ha(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:g,name:h,noStyle:y=!1,preserve:x=!0,required:b,rules:w=[],sx:P,style:C,trigger:S,validateFirst:N=!1,validateStatus:k,validateTrigger:q="onChange",valuePropName:A,...j}=e,E=ma(),I=se(),{sxClassName:_,sxInlineStyle:O}=ee(P,I),T=$o(void 0,E),$=h===void 0?void 0:ht(h),M=h===void 0?void 0:E.getFieldValue(h),W=Kw(h??"__FORM_ITEM__",E),F=u.isValidElement(t)&&typeof t.type!="string"?t:null,X=Yw(F),de=A??X.valuePropName,te=S??X.trigger,Z=w.some(fe=>fe.required),K=u.useMemo(()=>b&&!Z?[{required:!0},...w]:w,[Z,b,w]),J=u.useMemo(()=>JSON.stringify(i.map(ht)),[i]),B=u.useRef(K);B.current=K,u.useEffect(()=>{if(h===void 0)return;m!==void 0&&E.getFieldValue(h)===void 0&&E.__INTERNAL__.setFieldValue(h,m,{source:"external"});const fe=E.__INTERNAL__.registerField({dependencies:i,name:h,rules:B.current,validateFirst:N,validateTrigger:q});return()=>fe({preserve:x})},[J,E,m,h,$,x,N,q]);const G={form:E,meta:W,value:M,values:T},H=()=>{if(typeof t=="function")return t(G);if(!F||h===void 0)return t;const fe=F.props,ve=d?d(M):X.skipValueProp?{}:{[de]:Qw(M,X,de)};fe.name===void 0&&(ve.name=Dw(h)),ve[te]=cc(fe[te],(...ge)=>{const ie=l?l(...ge):Xw(de,ge);E.__INTERNAL__.setFieldValue(h,ie,{source:"internal",touched:!0,trigger:te})});for(const ge of Jw(q))ge!==te&&(ve[ge]=cc(ve[ge]??fe[ge],()=>{E.__INTERNAL__.validateFields([h],{trigger:ge}).catch(()=>{})}));return u.cloneElement(F,ve)},U=W.errors,Y=f??U[0],Q=k??(W.validating?"validating":U.length>0?"error":void 0),le=c.jsxs(c.Fragment,{children:[p!==void 0?c.jsxs("div",{className:R("text-sm font-medium leading-5 text-slate-700",v),style:g,children:[p,b||Z?c.jsx("span",{className:"ml-1 text-red-500","aria-hidden":"true",children:"*"}):null]}):null,c.jsx("div",{className:o,style:s,children:H()}),Y!==void 0?c.jsx("div",{className:R("text-xs leading-5",Q==="error"?"text-red-600":"text-slate-500"),"aria-live":Q==="error"?"polite":void 0,role:Q==="error"?"alert":void 0,children:Y}):null,a!==void 0?c.jsx("div",{className:"text-xs leading-5 text-slate-500",children:a}):null]});return y?le:c.jsx("div",{className:R("space-y-2",Q==="error"&&"[&_input]:border-red-500",_,r,n),style:D(C,O),...j,children:le})}ha.displayName="FormItem";const om=Object.assign(Zw,{Item:ha,useForm:fa,useFormInstance:ma,useFormValue:$o,useFormWatch:nm});om.displayName="Form";const pa="__LDKJ_UPLOADER_LIST_IGNORE__",co=u.createContext(null);let uc=0;function eP(){return uc+=1,`ldkj-upload-${Date.now()}-${uc}`}function tP(e){return!!(e&&typeof e.then=="function")}function rP(e){return typeof File<"u"&&e instanceof File}function nP(e){return typeof Blob<"u"&&e instanceof Blob}function dc(e,t){return rP(e)?e:new File([e],t,{type:e.type})}function oP(e){return e===void 0?"":e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(1)} KB`:`${(e/1024/1024).toFixed(1)} MB`}function xs(e){if(e.type?.startsWith("image/"))return!0;const t=e.thumbUrl??e.url??e.name;return/\.(apng|avif|gif|jpe?g|png|svg|webp)$/i.test(t)}function sP(e,t){if(!t)return!0;const r=t.split(",").map(s=>s.trim()).filter(Boolean);if(r.length===0)return!0;const n=e.name.toLowerCase(),o=e.type.toLowerCase();return r.some(s=>{const i=s.toLowerCase();return i.startsWith(".")?n.endsWith(i):i.endsWith("/*")?o.startsWith(i.slice(0,-1)):o===i})}function iP(e){return Number.isFinite(e)?Math.max(0,Math.min(100,Math.round(e))):0}function aP(e){const t=e.responseText;if(!t)return e.response;try{return JSON.parse(t)}catch{return t}}async function lP(e){const{action:t,data:r,file:n,filename:o,headers:s,method:i,signal:a,withCredentials:l,onProgress:d}=e;if(t)return new Promise((f,m)=>{const p=new XMLHttpRequest,v=new FormData;v.append(o,n),Object.entries(r??{}).forEach(([g,h])=>{h!=null&&v.append(g,h instanceof Blob?h:String(h))}),p.open(i,t),p.withCredentials=l,Object.entries(s??{}).forEach(([g,h])=>{p.setRequestHeader(g,h)}),p.upload.onprogress=g=>{g.lengthComputable&&d(g.loaded/g.total*100)},p.onload=()=>{const g=aP(p);if(p.status>=200&&p.status<300){f({response:g,url:g&&typeof g=="object"&&"url"in g&&typeof g.url=="string"?g.url:void 0});return}m(new Error(`Upload failed with status ${p.status}`))},p.onerror=()=>m(new Error("Upload request failed")),p.onabort=()=>m(new DOMException("Upload aborted","AbortError")),a.addEventListener("abort",()=>p.abort(),{once:!0}),p.send(v)})}async function ys(e){return tP(e)?e:Promise.resolve(e)}function cP(e,t,r){const n=e.filter(o=>o.status==="success"||o.status==="ready").map(o=>o.value!==void 0?o.value:o.originFile).filter(o=>o!==void 0);return t||r!==void 0&&r>1?n:n[0]??null}function uP(){const e=u.useRef(new Set);return u.useEffect(()=>()=>{e.current.forEach(t=>URL.revokeObjectURL(t)),e.current.clear()},[]),u.useCallback(t=>{const r=URL.createObjectURL(t);return e.current.add(r),r},[])}function dP(...e){return t=>{e.forEach(r=>{if(r){if(typeof r=="function"){r(t);return}r.current=t}})}}function sm(e,t){const r={...e??{}};return Object.entries(t??{}).forEach(([n,o])=>{o!==void 0&&(r[n]=o)}),r}function fP(e,t){return sm(e,t)}function im(e){const{children:t,...r}=e,n=u.useContext(co),o=u.useMemo(()=>sm(n,r),[n,r]);return c.jsx(co.Provider,{value:o,children:t})}function mP(){return u.useContext(co)}const am=u.forwardRef(function(t,r){const n=u.useContext(co),o=u.useMemo(()=>fP(n,t),[n,t]),{accept:s,action:i,autoUpload:a=!0,beforeRemove:l,beforeUpload:d,children:f,className:m,class:p,customRequest:v,data:g,defaultFileList:h,directory:y=!1,disabled:x=!1,drag:b=!1,fileList:w,getValueFromResult:P,headers:C,listType:S="text",maxCount:N,maxSize:k,method:q="POST",multiple:A=!1,name:j="file",openFileDialogOnClick:E=!0,pastable:I=!1,preview:_=!0,request:O,renderActions:T,renderItem:$,renderTrigger:M,showFileList:W=!0,style:F,sx:X,transformFile:de,withCredentials:te=!1,onChange:Z,onDownload:K,onDrop:J,onDragEnter:B,onDragLeave:G,onDragOver:H,onError:U,onExceed:Y,onFileListChange:Q,onPreview:le,onReject:fe,onRemove:ve,onSelect:ge,onSuccess:ie,onValueChange:we,defaultValue:qe,value:Me,...ne}=o,Pe=u.useRef(null),Ce=u.useRef(h??[]),ue=u.useRef(new Map),[_e,he]=u.useState(h??[]),[re,me]=u.useState(!1),[Se,Te]=u.useState(null),et=uP(),Ke=se(),{sxClassName:ut,sxInlineStyle:yt}=ee(X,Ke),He=w??_e,ot=O??v,Ge=!!(ot||i),Lt=He.some(L=>L.status==="uploading");u.useEffect(()=>{Ce.current=He},[He]),u.useEffect(()=>{if(!I||x)return;const L=Ae=>{const Xe=Array.from(Ae.clipboardData?.files??[]);Xe.length!==0&&ce(Xe)};return window.addEventListener("paste",L),()=>window.removeEventListener("paste",L)}),u.useEffect(()=>()=>{ue.current.forEach(L=>L.abort()),ue.current.clear()},[]);const Ye=u.useCallback((L,Ae)=>{Ce.current=L,w===void 0&&he(L),Q?.(L,Ae),Ae.reason!=="progress"&&we?.(cP(L,A,N),Ae)},[w,N,A,Q,we]),V=u.useCallback((L,Ae,Xe)=>{const Le=Ce.current.map(Fe=>Fe.uid===L?{...Fe,...Ae}:Fe),Ue=Le.find(Fe=>Fe.uid===L);return Ye(Le,{file:Ue,fileList:Le,reason:Xe}),{file:Ue,fileList:Le}},[Ye]),z=u.useCallback(async L=>{const Ae=L.originFile;if(!Ae||x)return;const Xe=new AbortController;ue.current.set(L.uid,Xe),V(L.uid,{status:"uploading",percent:0,error:void 0},"retry");try{const Le=typeof i=="function"?await i(Ae):i,Ue=typeof g=="function"?await g(Ae):g,Je=await(ot??lP)({action:Le,data:Ue,file:Ae,filename:j,headers:C,item:L,method:q,signal:Xe.signal,withCredentials:te,onProgress:rt=>{V(L.uid,{percent:iP(rt)},"progress")}}),Dt=Ce.current.find(rt=>rt.uid===L.uid)??L,ze=P?P(Je,Dt):Je&&"value"in Je?Je.value:Dt.value,wt=V(L.uid,{name:Je?.name??Dt.name,percent:100,response:Je?.response??Je,status:"success",thumbUrl:Je?.thumbUrl??Je?.url??Dt.thumbUrl,url:Je?.url??Dt.url,value:ze},"success");wt.file&&ie?.(wt.file,wt.fileList)}catch(Le){if(Le.name==="AbortError")return;const Ue=Le instanceof Error?Le:new Error(String(Le)),Fe=V(L.uid,{error:Ue,status:"error"},"error");Fe.file&&U?.(Ue,Fe.file,Fe.fileList)}finally{ue.current.delete(L.uid)}},[i,g,x,ot,P,C,q,j,U,ie,V,te]),ce=u.useCallback(async L=>{if(x||L.length===0)return;ge?.(L);const Ae=[];for(const ze of L){if(!sP(ze,s)){fe?.(ze,"accept");continue}if(k!==void 0&&ze.size>k){fe?.(ze,"maxSize");continue}Ae.push(ze)}if(Ae.length===0)return;const Xe=Ce.current,Le=N??(A?void 0:1);let Ue=Ae;if(Le!==void 0){const ze=Math.max(0,Le-(Le===1?0:Xe.length));Ue.length>ze&&(Y?.(Ue.slice(ze),Xe),Ue=Ue.slice(0,ze))}if(Ue.length===0)return;const Fe=[],Je=[];for(const ze of Ue){let wt=a&&Ge,rt=ze;if(d){const Nn=await ys(d(ze,Ue));if(Nn===pa)continue;Nn===!1?wt=!1:nP(Nn)&&(rt=dc(Nn,ze.name))}wt&&de&&(rt=dc(await ys(de(rt)),ze.name));const ap=xs(rt)?et(rt):void 0,tl={uid:eP(),name:rt.name,originFile:rt,percent:wt?0:Ge?void 0:100,size:rt.size,status:wt?"uploading":Ge?"ready":"success",thumbUrl:ap,type:rt.type,value:wt?void 0:rt};Fe.push(tl),wt&&Je.push(tl)}if(Fe.length===0)return;const Dt=Le===1?Fe.slice(-1):[...Ce.current,...Fe];Ye(Dt,{file:Fe[Fe.length-1],fileList:Dt,reason:"add"}),Je.forEach(ze=>{z(ze)})},[s,a,d,et,x,Ye,Ge,N,k,A,Y,fe,ge,de,z]),be=u.useCallback(()=>{x||!E||Pe.current?.click()},[x,E]),Ne=u.useCallback(async L=>{const Ae=Ce.current;if(l&&!await ys(l(L,Ae)))return;ue.current.get(L.uid)?.abort(),ue.current.delete(L.uid);const Xe=Ae.filter(Le=>Le.uid!==L.uid);Ye(Xe,{file:L,fileList:Xe,reason:"remove"}),ve?.(L,Xe)},[l,Ye,ve]),Ie={disabled:x,dragging:re,fileList:He,open:be,uploading:Lt},tt=()=>M?M(Ie):typeof f=="function"?f(Ie):f||(b?c.jsx("div",{className:"grid min-h-32 place-items-center rounded-md border border-dashed border-slate-300 bg-slate-50 px-6 py-8 text-center transition-colors hover:border-blue-400 hover:bg-blue-50/40",children:c.jsxs("div",{className:"space-y-1",children:[c.jsx("div",{className:"text-sm font-medium text-slate-700",children:"点击或拖拽文件到此处上传"}),c.jsx("div",{className:"text-xs text-slate-500",children:s?`支持 ${s}`:"支持单个或多个文件"})]})}):c.jsx(vt,{type:"button",disabled:x,size:"sm",children:"选择文件"})),st=L=>{const Ae={preview:()=>{dt(L)},download:()=>mt(L),remove:()=>{Ne(L)},retry:()=>{z(L)},upload:()=>{z(L)}};return T?T(L,Ae):c.jsxs("div",{className:R("flex shrink-0 items-center gap-1",S==="picture-card"&&"w-full flex-wrap justify-end"),children:[_&&(L.url||L.thumbUrl)?c.jsx(vt,{type:"button",variant:"ghost",size:"xs",disabled:x,onClick:Ae.preview,children:"预览"}):null,L.url?c.jsx(vt,{type:"button",variant:"ghost",size:"xs",disabled:x,onClick:Ae.download,children:"下载"}):null,L.status==="ready"&&Ge?c.jsx(vt,{type:"button",variant:"ghost",size:"xs",disabled:x,onClick:Ae.upload,children:"上传"}):null,L.status==="error"?c.jsx(vt,{type:"button",variant:"ghost",size:"xs",disabled:x,onClick:Ae.retry,children:"重试"}):null,c.jsx(vt,{type:"button",variant:"ghost",size:"xs",disabled:x,onClick:Ae.remove,children:"删除"})]})},dt=async L=>{await le?.(L)!==!1&&_&&(L.url||L.thumbUrl)&&Te(L)},mt=L=>{if(K){K(L);return}L.url&&window.open(L.url,"_blank","noopener,noreferrer")},Jo=L=>{const Ae=S!=="text"&&(L.thumbUrl||L.url),Xe=L.status==="uploading"?"上传中":L.status==="success"?"已完成":L.status==="error"?"失败":"待上传",Le=S==="picture-card"?"flex min-w-0 flex-col items-stretch gap-3 rounded-md border border-slate-200 bg-white p-3":"flex min-w-0 items-center gap-3 rounded-md border border-slate-200 bg-white p-3",Ue=S==="picture-card"?"grid min-w-0 gap-2":"flex min-w-0 items-center justify-between gap-3",Fe=S==="picture-card"?"grid aspect-square w-full shrink-0 place-items-center overflow-hidden rounded-md border border-slate-200 bg-slate-50":"grid size-14 shrink-0 place-items-center overflow-hidden rounded-md border border-slate-200 bg-slate-50",Je=c.jsxs("div",{className:R(Le,L.status==="error"&&"border-red-200 bg-red-50/40"),children:[Ae?c.jsx("button",{type:"button",className:Fe,onClick:()=>{dt(L)},children:xs(L)?c.jsx("img",{src:L.thumbUrl??L.url,alt:L.name,className:"h-full w-full object-cover",loading:"lazy",decoding:"async"}):c.jsx("span",{className:"px-2 text-xs text-slate-500",children:"FILE"})}):null,c.jsxs("div",{className:"min-w-0 flex-1 space-y-1",children:[c.jsxs("div",{className:Ue,children:[c.jsxs("div",{className:"min-w-0",children:[c.jsx("div",{className:"truncate text-sm font-medium text-slate-800",children:L.name}),c.jsxs("div",{className:"text-xs text-slate-500",children:[Xe,L.size!==void 0?` · ${oP(L.size)}`:""]})]}),st(L)]}),L.status==="uploading"?c.jsx(hf,{value:L.percent??0,size:"xs"}):null,L.status==="error"?c.jsx("div",{className:"text-xs text-red-600",children:L.error?.message??"上传失败"}):null]})]});return $?$(L,Je,{preview:()=>{dt(L)},download:()=>mt(L),remove:()=>{Ne(L)},retry:()=>{z(L)},upload:()=>{z(L)}}):Je};return c.jsxs("div",{...ne,className:R("grid gap-3",x&&"cursor-not-allowed opacity-60",ut,m,p),style:D(F,yt),onDragEnter:L=>{B?.(L),!(!b||x)&&(L.preventDefault(),me(!0))},onDragOver:L=>{H?.(L),!(!b||x)&&(L.preventDefault(),me(!0))},onDragLeave:L=>{G?.(L),!(!b||x)&&(L.currentTarget.contains(L.relatedTarget)||me(!1))},onDrop:L=>{J?.(L),!(!b||x)&&(L.preventDefault(),me(!1),ce(Array.from(L.dataTransfer.files)))},children:[c.jsx("input",{ref:dP(Pe,r),hidden:!0,type:"file",accept:s,multiple:A,name:j,disabled:x,...y?{directory:"",webkitdirectory:""}:{},onChange:L=>{Z?.(L.target.files),ce(Array.from(L.target.files??[])),L.currentTarget.value=""}}),c.jsx("div",{className:R("inline-block",b&&"rounded-md",re&&"ring-2 ring-blue-500 ring-offset-2"),role:b||M||f?"button":void 0,tabIndex:b||M||f?0:void 0,"aria-disabled":x||void 0,onClick:be,onKeyDown:L=>{L.key!=="Enter"&&L.key!==" "||(L.preventDefault(),be())},children:tt()}),W&&He.length>0?c.jsx("div",{role:"list","aria-label":"上传文件列表",className:R(S==="picture-card"?"grid grid-cols-[repeat(auto-fill,minmax(160px,1fr))] gap-3":"grid gap-2"),children:He.map(L=>c.jsx("div",{role:"listitem",children:Jo(L)},L.uid))}):null,Se&&(Se.url||Se.thumbUrl)?c.jsxs("div",{className:"fixed inset-0 z-[1200] flex items-center justify-center bg-black/80 p-6",role:"dialog","aria-modal":"true","aria-label":"文件预览",onClick:()=>Te(null),children:[xs(Se)?c.jsx("img",{src:Se.url??Se.thumbUrl,alt:Se.name,className:"max-h-[88vh] max-w-[92vw] rounded-md object-contain shadow-2xl",onClick:L=>L.stopPropagation()}):c.jsx("div",{className:"rounded-md bg-white p-6 text-sm text-slate-700 shadow-xl",onClick:L=>L.stopPropagation(),children:Se.name}),c.jsx(vt,{type:"button",variant:"minor",size:"sm",className:"absolute right-5 top-5",onClick:L=>{L.stopPropagation(),Te(null)},children:"关闭"})]}):null]})});am.displayName="Uploader";const hP=Object.assign(am,{LIST_IGNORE:pa,Provider:im});function fc(e,[t,r]){return Math.min(r,Math.max(t,e))}var pP=[" ","Enter","ArrowUp","ArrowDown"],vP=[" ","Enter"],fr="Select",[Vo,zo,gP]=If(fr),[Br]=xt(fr,[gP,Dr]),Ho=Dr(),[bP,er]=Br(fr),[xP,yP]=Br(fr),lm=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:g}=e,h=Ho(t),[y,x]=u.useState(null),[b,w]=u.useState(null),[P,C]=u.useState(!1),S=Lo(d),[N,k]=_t({prop:n,defaultProp:o??!1,onChange:s,caller:fr}),[q,A]=_t({prop:i,defaultProp:a,onChange:l,caller:fr}),j=u.useRef(null),E=y?g||!!y.closest("form"):!0,[I,_]=u.useState(new Set),O=Array.from(I).map(T=>T.props.value).join(";");return c.jsx(Ji,{...h,children:c.jsxs(bP,{required:v,scope:t,trigger:y,onTriggerChange:x,valueNode:b,onValueNodeChange:w,valueNodeHasChildren:P,onValueNodeHasChildrenChange:C,contentId:vr(),value:q,onValueChange:A,open:N,onOpenChange:k,dir:S,triggerPointerDownPosRef:j,disabled:p,children:[c.jsx(Vo.Provider,{scope:t,children:c.jsx(xP,{scope:e.__scopeSelect,onNativeOptionAdd:u.useCallback(T=>{_($=>new Set($).add(T))},[]),onNativeOptionRemove:u.useCallback(T=>{_($=>{const M=new Set($);return M.delete(T),M})},[]),children:r})}),E?c.jsxs(Tm,{"aria-hidden":!0,required:v,tabIndex:-1,name:f,autoComplete:m,value:q,onChange:T=>A(T.target.value),disabled:p,form:g,children:[q===void 0?c.jsx("option",{value:""}):null,Array.from(I)]},O):null]})})};lm.displayName=fr;var cm="SelectTrigger",um=u.forwardRef((e,t)=>{const{__scopeSelect:r,disabled:n=!1,...o}=e,s=Ho(r),i=er(cm,r),a=i.disabled||n,l=Re(t,i.onTriggerChange),d=zo(r),f=u.useRef("touch"),[m,p,v]=Om(h=>{const y=d().filter(w=>!w.disabled),x=y.find(w=>w.value===i.value),b=Mm(y,h,x);b!==void 0&&i.onValueChange(b.value)}),g=h=>{a||(i.onOpenChange(!0),v()),h&&(i.triggerPointerDownPosRef.current={x:Math.round(h.pageX),y:Math.round(h.pageY)})};return c.jsx(ko,{asChild:!0,...s,children:c.jsx(ye.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":_m(i.value)?"":void 0,...o,ref:l,onClick:pe(o.onClick,h=>{h.currentTarget.focus(),f.current!=="mouse"&&g(h)}),onPointerDown:pe(o.onPointerDown,h=>{f.current=h.pointerType;const y=h.target;y.hasPointerCapture(h.pointerId)&&y.releasePointerCapture(h.pointerId),h.button===0&&h.ctrlKey===!1&&h.pointerType==="mouse"&&(g(h),h.preventDefault())}),onKeyDown:pe(o.onKeyDown,h=>{const y=m.current!=="";!(h.ctrlKey||h.altKey||h.metaKey)&&h.key.length===1&&p(h.key),!(y&&h.key===" ")&&pP.includes(h.key)&&(g(),h.preventDefault())})})})});um.displayName=cm;var dm="SelectValue",fm=u.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,children:s,placeholder:i="",...a}=e,l=er(dm,r),{onValueNodeHasChildrenChange:d}=l,f=s!==void 0,m=Re(t,l.onValueNodeChange);return Ve(()=>{d(f)},[d,f]),c.jsx(ye.span,{...a,ref:m,style:{pointerEvents:"none"},children:_m(l.value)?c.jsx(c.Fragment,{children:i}):s})});fm.displayName=dm;var wP="SelectIcon",mm=u.forwardRef((e,t)=>{const{__scopeSelect:r,children:n,...o}=e;return c.jsx(ye.span,{"aria-hidden":!0,...o,ref:t,children:n||"▼"})});mm.displayName=wP;var PP="SelectPortal",hm=e=>c.jsx(qo,{asChild:!0,...e});hm.displayName=PP;var mr="SelectContent",pm=u.forwardRef((e,t)=>{const r=er(mr,e.__scopeSelect),[n,o]=u.useState();if(Ve(()=>{o(new DocumentFragment)},[]),!r.open){const s=n;return s?fn.createPortal(c.jsx(vm,{scope:e.__scopeSelect,children:c.jsx(Vo.Slot,{scope:e.__scopeSelect,children:c.jsx("div",{children:e.children})})}),s):null}return c.jsx(gm,{...e,ref:t})});pm.displayName=mr;var pt=10,[vm,tr]=Br(mr),CP="SelectContentImpl",SP=sn("SelectContent.RemoveScroll"),gm=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:g,hideWhenDetached:h,avoidCollisions:y,...x}=e,b=er(mr,r),[w,P]=u.useState(null),[C,S]=u.useState(null),N=Re(t,B=>P(B)),[k,q]=u.useState(null),[A,j]=u.useState(null),E=zo(r),[I,_]=u.useState(!1),O=u.useRef(!1);u.useEffect(()=>{if(w)return Sd(w)},[w]),ed();const T=u.useCallback(B=>{const[G,...H]=E().map(Q=>Q.ref.current),[U]=H.slice(-1),Y=document.activeElement;for(const Q of B)if(Q===Y||(Q?.scrollIntoView({block:"nearest"}),Q===G&&C&&(C.scrollTop=0),Q===U&&C&&(C.scrollTop=C.scrollHeight),Q?.focus(),document.activeElement!==Y))return},[E,C]),$=u.useCallback(()=>T([k,w]),[T,k,w]);u.useEffect(()=>{I&&$()},[I,$]);const{onOpenChange:M,triggerPointerDownPosRef:W}=b;u.useEffect(()=>{if(w){let B={x:0,y:0};const G=U=>{B={x:Math.abs(Math.round(U.pageX)-(W.current?.x??0)),y:Math.abs(Math.round(U.pageY)-(W.current?.y??0))}},H=U=>{B.x<=10&&B.y<=10?U.preventDefault():w.contains(U.target)||M(!1),document.removeEventListener("pointermove",G),W.current=null};return W.current!==null&&(document.addEventListener("pointermove",G),document.addEventListener("pointerup",H,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",G),document.removeEventListener("pointerup",H,{capture:!0})}}},[w,M,W]),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[F,X]=Om(B=>{const G=E().filter(Y=>!Y.disabled),H=G.find(Y=>Y.ref.current===document.activeElement),U=Mm(G,B,H);U&&setTimeout(()=>U.ref.current.focus())}),de=u.useCallback((B,G,H)=>{const U=!O.current&&!H;(b.value!==void 0&&b.value===G||U)&&(q(B),U&&(O.current=!0))},[b.value]),te=u.useCallback(()=>w?.focus(),[w]),Z=u.useCallback((B,G,H)=>{const U=!O.current&&!H;(b.value!==void 0&&b.value===G||U)&&j(B)},[b.value]),K=n==="popper"?gi:bm,J=K===gi?{side:a,sideOffset:l,align:d,alignOffset:f,arrowPadding:m,collisionBoundary:p,collisionPadding:v,sticky:g,hideWhenDetached:h,avoidCollisions:y}:{};return c.jsx(vm,{scope:r,content:w,viewport:C,onViewportChange:S,itemRefCallback:de,selectedItem:k,onItemLeave:te,itemTextRefCallback:Z,focusSelectedItem:$,selectedItemText:A,position:n,isPositioned:I,searchRef:F,children:c.jsx(ea,{as:SP,allowPinchZoom:!0,children:c.jsx(Vi,{asChild:!0,trapped:b.open,onMountAutoFocus:B=>{B.preventDefault()},onUnmountAutoFocus:pe(o,B=>{b.trigger?.focus({preventScroll:!0}),B.preventDefault()}),children:c.jsx(yo,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:i,onFocusOutside:B=>B.preventDefault(),onDismiss:()=>b.onOpenChange(!1),children:c.jsx(K,{role:"listbox",id:b.contentId,"data-state":b.open?"open":"closed",dir:b.dir,onContextMenu:B=>B.preventDefault(),...x,...J,onPlaced:()=>_(!0),ref:N,style:{display:"flex",flexDirection:"column",outline:"none",...x.style},onKeyDown:pe(x.onKeyDown,B=>{const G=B.ctrlKey||B.altKey||B.metaKey;if(B.key==="Tab"&&B.preventDefault(),!G&&B.key.length===1&&X(B.key),["ArrowUp","ArrowDown","Home","End"].includes(B.key)){let U=E().filter(Y=>!Y.disabled).map(Y=>Y.ref.current);if(["ArrowUp","End"].includes(B.key)&&(U=U.slice().reverse()),["ArrowUp","ArrowDown"].includes(B.key)){const Y=B.target,Q=U.indexOf(Y);U=U.slice(Q+1)}setTimeout(()=>T(U)),B.preventDefault()}})})})})})})});gm.displayName=CP;var NP="SelectItemAlignedPosition",bm=u.forwardRef((e,t)=>{const{__scopeSelect:r,onPlaced:n,...o}=e,s=er(mr,r),i=tr(mr,r),[a,l]=u.useState(null),[d,f]=u.useState(null),m=Re(t,N=>f(N)),p=zo(r),v=u.useRef(!1),g=u.useRef(!0),{viewport:h,selectedItem:y,selectedItemText:x,focusSelectedItem:b}=i,w=u.useCallback(()=>{if(s.trigger&&s.valueNode&&a&&d&&h&&y&&x){const N=s.trigger.getBoundingClientRect(),k=d.getBoundingClientRect(),q=s.valueNode.getBoundingClientRect(),A=x.getBoundingClientRect();if(s.dir!=="rtl"){const Y=A.left-k.left,Q=q.left-Y,le=N.left-Q,fe=N.width+le,ve=Math.max(fe,k.width),ge=window.innerWidth-pt,ie=fc(Q,[pt,Math.max(pt,ge-ve)]);a.style.minWidth=fe+"px",a.style.left=ie+"px"}else{const Y=k.right-A.right,Q=window.innerWidth-q.right-Y,le=window.innerWidth-N.right-Q,fe=N.width+le,ve=Math.max(fe,k.width),ge=window.innerWidth-pt,ie=fc(Q,[pt,Math.max(pt,ge-ve)]);a.style.minWidth=fe+"px",a.style.right=ie+"px"}const j=p(),E=window.innerHeight-pt*2,I=h.scrollHeight,_=window.getComputedStyle(d),O=parseInt(_.borderTopWidth,10),T=parseInt(_.paddingTop,10),$=parseInt(_.borderBottomWidth,10),M=parseInt(_.paddingBottom,10),W=O+T+I+M+$,F=Math.min(y.offsetHeight*5,W),X=window.getComputedStyle(h),de=parseInt(X.paddingTop,10),te=parseInt(X.paddingBottom,10),Z=N.top+N.height/2-pt,K=E-Z,J=y.offsetHeight/2,B=y.offsetTop+J,G=O+T+B,H=W-G;if(G<=Z){const Y=j.length>0&&y===j[j.length-1].ref.current;a.style.bottom="0px";const Q=d.clientHeight-h.offsetTop-h.offsetHeight,le=Math.max(K,J+(Y?te:0)+Q+$),fe=G+le;a.style.height=fe+"px"}else{const Y=j.length>0&&y===j[0].ref.current;a.style.top="0px";const le=Math.max(Z,O+h.offsetTop+(Y?de:0)+J)+H;a.style.height=le+"px",h.scrollTop=G-Z+h.offsetTop}a.style.margin=`${pt}px 0`,a.style.minHeight=F+"px",a.style.maxHeight=E+"px",n?.(),requestAnimationFrame(()=>v.current=!0)}},[p,s.trigger,s.valueNode,a,d,h,y,x,s.dir,n]);Ve(()=>w(),[w]);const[P,C]=u.useState();Ve(()=>{d&&C(window.getComputedStyle(d).zIndex)},[d]);const S=u.useCallback(N=>{N&&g.current===!0&&(w(),b?.(),g.current=!1)},[w,b]);return c.jsx(qP,{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(ye.div,{...o,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});bm.displayName=NP;var kP="SelectPopperPosition",gi=u.forwardRef((e,t)=>{const{__scopeSelect:r,align:n="start",collisionPadding:o=pt,...s}=e,i=Ho(r);return c.jsx(Qi,{...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)"}})});gi.displayName=kP;var[qP,va]=Br(mr,{}),bi="SelectViewport",xm=u.forwardRef((e,t)=>{const{__scopeSelect:r,nonce:n,...o}=e,s=tr(bi,r),i=va(bi,r),a=Re(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(Vo.Slot,{scope:r,children:c.jsx(ye.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:a,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:pe(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 g=window.innerHeight-pt*2,h=parseFloat(m.style.minHeight),y=parseFloat(m.style.height),x=Math.max(h,y);if(x<g){const b=x+v,w=Math.min(g,b),P=b-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})})})]})});xm.displayName=bi;var ym="SelectGroup",[jP,EP]=Br(ym),wm=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=vr();return c.jsx(jP,{scope:r,id:o,children:c.jsx(ye.div,{role:"group","aria-labelledby":o,...n,ref:t})})});wm.displayName=ym;var Pm="SelectLabel",Cm=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=EP(Pm,r);return c.jsx(ye.div,{id:o.id,...n,ref:t})});Cm.displayName=Pm;var uo="SelectItem",[RP,Sm]=Br(uo),Nm=u.forwardRef((e,t)=>{const{__scopeSelect:r,value:n,disabled:o=!1,textValue:s,...i}=e,a=er(uo,r),l=tr(uo,r),d=a.value===n,[f,m]=u.useState(s??""),[p,v]=u.useState(!1),g=Re(t,b=>l.itemRefCallback?.(b,n,o)),h=vr(),y=u.useRef("touch"),x=()=>{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(RP,{scope:r,value:n,disabled:o,textId:h,isSelected:d,onItemTextChange:u.useCallback(b=>{m(w=>w||(b?.textContent??"").trim())},[]),children:c.jsx(Vo.ItemSlot,{scope:r,value:n,disabled:o,textValue:f,children:c.jsx(ye.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:g,onFocus:pe(i.onFocus,()=>v(!0)),onBlur:pe(i.onBlur,()=>v(!1)),onClick:pe(i.onClick,()=>{y.current!=="mouse"&&x()}),onPointerUp:pe(i.onPointerUp,()=>{y.current==="mouse"&&x()}),onPointerDown:pe(i.onPointerDown,b=>{y.current=b.pointerType}),onPointerMove:pe(i.onPointerMove,b=>{y.current=b.pointerType,o?l.onItemLeave?.():y.current==="mouse"&&b.currentTarget.focus({preventScroll:!0})}),onPointerLeave:pe(i.onPointerLeave,b=>{b.currentTarget===document.activeElement&&l.onItemLeave?.()}),onKeyDown:pe(i.onKeyDown,b=>{l.searchRef?.current!==""&&b.key===" "||(vP.includes(b.key)&&x(),b.key===" "&&b.preventDefault())})})})})});Nm.displayName=uo;var Qr="SelectItemText",km=u.forwardRef((e,t)=>{const{__scopeSelect:r,className:n,style:o,...s}=e,i=er(Qr,r),a=tr(Qr,r),l=Sm(Qr,r),d=yP(Qr,r),[f,m]=u.useState(null),p=Re(t,x=>m(x),l.onItemTextChange,x=>a.itemTextRefCallback?.(x,l.value,l.disabled)),v=f?.textContent,g=u.useMemo(()=>c.jsx("option",{value:l.value,disabled:l.disabled,children:v},l.value),[l.disabled,l.value,v]),{onNativeOptionAdd:h,onNativeOptionRemove:y}=d;return Ve(()=>(h(g),()=>y(g)),[h,y,g]),c.jsxs(c.Fragment,{children:[c.jsx(ye.span,{id:l.textId,...s,ref:p}),l.isSelected&&i.valueNode&&!i.valueNodeHasChildren?fn.createPortal(s.children,i.valueNode):null]})});km.displayName=Qr;var qm="SelectItemIndicator",jm=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return Sm(qm,r).isSelected?c.jsx(ye.span,{"aria-hidden":!0,...n,ref:t}):null});jm.displayName=qm;var xi="SelectScrollUpButton",Em=u.forwardRef((e,t)=>{const r=tr(xi,e.__scopeSelect),n=va(xi,e.__scopeSelect),[o,s]=u.useState(!1),i=Re(t,n.onScrollButtonChange);return Ve(()=>{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(Am,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:l}=r;a&&l&&(a.scrollTop=a.scrollTop-l.offsetHeight)}}):null});Em.displayName=xi;var yi="SelectScrollDownButton",Rm=u.forwardRef((e,t)=>{const r=tr(yi,e.__scopeSelect),n=va(yi,e.__scopeSelect),[o,s]=u.useState(!1),i=Re(t,n.onScrollButtonChange);return Ve(()=>{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(Am,{...e,ref:i,onAutoScroll:()=>{const{viewport:a,selectedItem:l}=r;a&&l&&(a.scrollTop=a.scrollTop+l.offsetHeight)}}):null});Rm.displayName=yi;var Am=u.forwardRef((e,t)=>{const{__scopeSelect:r,onAutoScroll:n,...o}=e,s=tr("SelectScrollButton",r),i=u.useRef(null),a=zo(r),l=u.useCallback(()=>{i.current!==null&&(window.clearInterval(i.current),i.current=null)},[]);return u.useEffect(()=>()=>l(),[l]),Ve(()=>{a().find(f=>f.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[a]),c.jsx(ye.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:pe(o.onPointerDown,()=>{i.current===null&&(i.current=window.setInterval(n,50))}),onPointerMove:pe(o.onPointerMove,()=>{s.onItemLeave?.(),i.current===null&&(i.current=window.setInterval(n,50))}),onPointerLeave:pe(o.onPointerLeave,()=>{l()})})}),AP="SelectSeparator",Im=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e;return c.jsx(ye.div,{"aria-hidden":!0,...n,ref:t})});Im.displayName=AP;var wi="SelectArrow",IP=u.forwardRef((e,t)=>{const{__scopeSelect:r,...n}=e,o=Ho(r),s=er(wi,r),i=tr(wi,r);return s.open&&i.position==="popper"?c.jsx(Zi,{...o,...n,ref:t}):null});IP.displayName=wi;var TP="SelectBubbleInput",Tm=u.forwardRef(({__scopeSelect:e,value:t,...r},n)=>{const o=u.useRef(null),s=Re(n,o),i=Io(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(ye.select,{...r,style:{...Kd,...r.style},ref:s,defaultValue:t})});Tm.displayName=TP;function _m(e){return e===""||e===void 0}function Om(e){const t=At(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 Mm(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=_P(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 _P(e,t){return e.map((r,n)=>e[(t+n)%e.length])}var OP=lm,MP=um,LP=fm,DP=mm,FP=hm,BP=pm,$P=xm,VP=wm,zP=Cm,HP=Nm,UP=km,WP=jm,KP=Em,GP=Rm,YP=Im;const mc="data-scroll-locked",Lm=u.createContext({lockScroll:!1});function XP(e,t){(typeof window>"u"?u.useEffect:u.useLayoutEffect)(e,t)}function hc(){return document.querySelector('[role="listbox"][data-state="open"][data-ldkj-select-lock-scroll="false"]')!==null}function JP(e){XP(()=>{if(!e||typeof document>"u")return;const t=document.body,r=()=>{hc()&&t.removeAttribute(mc)},n=a=>{hc()&&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:[mc]}),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 Dm(e){const{lockScroll:t=!1,...r}=e;return JP(!t),c.jsx(Lm.Provider,{value:{lockScroll:t},children:c.jsx(OP,{...r})})}Dm.displayName="Select";const Fm=VP,QP=LP;function ZP(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 Bm(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 eC(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 gr(e){const t=se();return ee(e,t)}const $m=u.forwardRef((e,t)=>{const{className:r,class:n,children:o,sx:s,style:i,...a}=e,{sxClassName:l,sxInlineStyle:d}=gr(s);return c.jsxs(MP,{ref:t,className:R("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:D(i,d),...a,children:[o,c.jsx(DP,{asChild:!0,children:c.jsx(Bm,{className:"h-4 w-4 shrink-0 text-slate-500"})})]})});$m.displayName="SelectTrigger";const ga=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=gr(o);return c.jsx(KP,{ref:t,className:R("flex cursor-default items-center justify-center py-1 text-slate-500",a,r,n),style:D(s,l),...i,children:c.jsx(eC,{className:"h-4 w-4"})})});ga.displayName="SelectScrollUpButton";const ba=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=gr(o);return c.jsx(GP,{ref:t,className:R("flex cursor-default items-center justify-center py-1 text-slate-500",a,r,n),style:D(s,l),...i,children:c.jsx(Bm,{className:"h-4 w-4"})})});ba.displayName="SelectScrollDownButton";const Vm=u.forwardRef((e,t)=>{const{className:r,class:n,children:o,position:s="popper",sx:i,style:a,...l}=e,{sxClassName:d,sxInlineStyle:f}=gr(i),{lockScroll:m}=u.useContext(Lm);return c.jsx(FP,{children:c.jsxs(BP,{ref:t,className:R("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:D(a,f),position:s,"data-ldkj-select-lock-scroll":m?"true":"false",...l,children:[c.jsx(ga,{}),c.jsx($P,{className:R("p-1",s==="popper"&&"w-full min-w-[var(--radix-select-trigger-width)]"),children:o}),c.jsx(ba,{})]})})});Vm.displayName="SelectContent";const xa=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=gr(o);return c.jsx(zP,{ref:t,className:R("px-2 py-1.5 text-xs font-medium text-slate-500",a,r,n),style:D(s,l),...i})});xa.displayName="SelectLabel";const fo=u.forwardRef((e,t)=>{const{className:r,class:n,children:o,sx:s,style:i,...a}=e,{sxClassName:l,sxInlineStyle:d}=gr(s);return c.jsxs(HP,{ref:t,className:R("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:D(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(WP,{children:c.jsx(ZP,{className:"h-4 w-4"})})}),c.jsx(UP,{children:o})]})});fo.displayName="SelectItem";const ya=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=gr(o);return c.jsx(YP,{ref:t,className:R("-mx-1 my-1 h-px bg-slate-200",a,r,n),style:D(s,l),...i})});ya.displayName="SelectSeparator";function tC(e){return"options"in e}function rC(e){const{options:t,itemProps:r,labelProps:n,separatorProps:o}=e;return c.jsx(c.Fragment,{children:t.map((s,i)=>tC(s)?c.jsxs(Fm,{children:[s.label?c.jsx(xa,{...n,children:s.label}):null,s.options.map(a=>c.jsx(fo,{...r,value:a.value,disabled:a.disabled,textValue:a.textValue,className:R(r?.className,a.className),class:R(r?.class,a.class),style:D(r?.style,a.style),sx:[r?.sx,a.sx],children:a.label},a.value)),s.separator?c.jsx(ya,{...o}):null]},`group-${i}`):c.jsx(fo,{...r,value:s.value,disabled:s.disabled,textValue:s.textValue,className:R(r?.className,s.className),class:R(r?.class,s.class),style:D(r?.style,s.style),sx:[r?.sx,s.sx],children:s.label},s.value))})}var Uo="Switch",[nC]=xt(Uo),[oC,sC]=nC(Uo),zm=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),g=Re(t,w=>v(w)),h=u.useRef(!1),y=p?f||!!p.closest("form"):!0,[x,b]=_t({prop:o,defaultProp:s??!1,onChange:d,caller:Uo});return c.jsxs(oC,{scope:r,checked:x,disabled:a,children:[c.jsx(ye.button,{type:"button",role:"switch","aria-checked":x,"aria-required":i,"data-state":Km(x),"data-disabled":a?"":void 0,disabled:a,value:l,...m,ref:g,onClick:pe(e.onClick,w=>{b(P=>!P),y&&(h.current=w.isPropagationStopped(),h.current||w.stopPropagation())})}),y&&c.jsx(Wm,{control:p,bubbles:!h.current,name:n,value:l,checked:x,required:i,disabled:a,form:f,style:{transform:"translateX(-100%)"}})]})});zm.displayName=Uo;var Hm="SwitchThumb",Um=u.forwardRef((e,t)=>{const{__scopeSwitch:r,...n}=e,o=sC(Hm,r);return c.jsx(ye.span,{"data-state":Km(o.checked),"data-disabled":o.disabled?"":void 0,...n,ref:t})});Um.displayName=Hm;var iC="SwitchBubbleInput",Wm=u.forwardRef(({__scopeSwitch:e,control:t,checked:r,bubbles:n=!0,...o},s)=>{const i=u.useRef(null),a=Re(i,s),l=Io(r),d=No(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 g=new Event("click",{bubbles:n});v.call(f,r),f.dispatchEvent(g)}},[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}})});Wm.displayName=iC;function Km(e){return e?"checked":"unchecked"}var aC=zm,lC=Um;const cC={sm:"h-5 w-9",md:"h-6 w-11",lg:"h-7 w-[52px]"},uC={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"},Gm=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:g,sx:h,"aria-describedby":y,...x}=e,b=se(),{sxClassName:w,sxInlineStyle:P}=ee(h,b),{sxClassName:C,sxInlineStyle:S}=ee(a,b),N=u.useId(),k=f??`ldkj-switch-${N}`,q=l===void 0?void 0:`${k}-description`,A=[y,q].filter(Boolean).join(" ")||void 0,j=c.jsx(aC,{ref:t,id:k,disabled:d,"aria-describedby":A,className:R("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",cC[v],w,r,n),style:D(g,P),...x,children:c.jsx(lC,{className:R("pointer-events-none block rounded-full bg-white shadow-sm ring-0 transition-transform","data-[state=unchecked]:translate-x-0",uC[v])})});if(m===void 0&&l===void 0)return j;const E=c.jsxs("span",{className:"flex min-w-0 flex-col gap-0.5",children:[m!==void 0?c.jsx(hi,{htmlFor:k,className:R("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:q,className:"text-xs leading-5 text-slate-500",children:l}):null]});return c.jsxs("div",{className:R("inline-flex w-fit items-center gap-3",d?"cursor-not-allowed":void 0,C,s,o),style:D(i,S),children:[p==="left"?E:null,j,p==="right"?E:null]})});Gm.displayName="Switch";function mo(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 Ym(e){const t=se();return ee(e,t)}function dC(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function Pi(e){return e==="center"?"justify-center text-center":e==="right"?"justify-end text-right":"justify-start text-left"}function fC(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 mC(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 hC(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 pc(){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 Xm(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:g}=e,{sxClassName:h,sxInlineStyle:y}=Ym(m);if(u.useEffect(()=>{if(!t||typeof document>"u")return;const b=document.body.style.overflow;document.body.style.overflow="hidden";const w=P=>{P.key==="Escape"&&(p?.(),g?.(!1))};return document.addEventListener("keydown",w),()=>{document.body.style.overflow=b,document.removeEventListener("keydown",w)}},[p,g,t]),!t)return null;const x=()=>{p?.(),g?.(!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:x}),c.jsxs("div",{role:"dialog","aria-modal":"true","aria-label":typeof r=="string"?r:"移动端选择面板",className:R("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:D({maxHeight:dC(i)},f,y),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:x,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 wa=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,...g}=e,{sxClassName:h,sxInlineStyle:y}=Ym(f);return c.jsxs("span",{className:"relative inline-flex w-full items-stretch",children:[c.jsxs("button",{ref:t,type:"button",className:R("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:D(d,y),disabled:m,"aria-haspopup":"dialog","aria-expanded":r,"aria-disabled":m||void 0,"aria-readonly":p||void 0,...g,children:[c.jsx("span",{className:R("min-w-0 flex-1 truncate",!o&&"text-slate-400"),children:o?i:s}),c.jsx(fC,{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:x=>x.preventDefault(),onClick:x=>{x.preventDefault(),x.stopPropagation(),v?.(x)},children:c.jsx(hC,{className:"h-3.5 w-3.5"})}):null]})});wa.displayName="MobileTrigger";function Jm(e){return"options"in e}function pC(e){return e.map(t=>Jm(t)?{type:"group",label:t.label,options:t.options,separator:t.separator}:{type:"plain",option:t})}function vC(e){const t=[];for(const r of e)Jm(r)?t.push(...r.options):t.push(r);return t}const Qm=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:g=!1,required:h,align:y="left",displayRender:x,renderOption:b,drawerClassName:w,drawerClass:P,drawerStyle:C,drawerSx:S,maxDrawerHeight:N,optionClassName:k,optionClass:q,optionStyle:A,optionSx:j,className:E,class:I,style:_,sx:O,disabled:T=!1,name:$,id:M,autoFocus:W,onClick:F,onFocus:X,onBlur:de,onKeyDown:te,...Z}=e,[K,J,B]=mo({value:n,defaultValue:o}),[G,H]=mo({value:i,defaultValue:a,onChange:l}),[U,Y]=u.useState(K),Q=u.useRef(null),le=se(),fe=u.useMemo(()=>vC(r),[r]),ve=u.useMemo(()=>pC(r),[r]),ge=u.useMemo(()=>fe.find(ue=>ue.value===K),[fe,K]),ie=u.useMemo(()=>fe.find(ue=>ue.value===U),[fe,U]),we=K!==""&&!!ge,qe=we?x?.(ge)??ge?.label:d;u.useEffect(()=>{G&&Y(K)},[G,K]);const Me=u.useCallback((ue,_e)=>{B||J(ue),s?.(ue,_e)},[s,J,B]),ne=u.useCallback(ue=>{T||g||(Y(""),Me("",{reason:"clear",event:ue}))},[Me,T,g]),Pe=u.useCallback(()=>{if(T||g){H(!1);return}if(!ie){H(!1);return}Me(ie.value,{reason:"select",option:ie}),H(!1)},[Me,T,ie,g,H]),Ce=u.useCallback(()=>{T||H(!0)},[T,H]);return u.useImperativeHandle(t,()=>({focus:()=>Q.current?.focus(),blur:()=>Q.current?.blur(),open:Ce,close:()=>H(!1),clear:()=>ne(),getValue:()=>K}),[ne,Ce,K,H]),c.jsxs(c.Fragment,{children:[c.jsx(wa,{ref:Q,id:M,open:G,clearable:v,hasValue:we,placeholder:d,display:qe,className:E,class:I,style:_,sx:O,disabled:T,readOnly:g,autoFocus:W,onClear:ne,onClick:ue=>{F?.(ue),Ce()},onFocus:X,onBlur:de,onKeyDown:ue=>{te?.(ue),!T&&((ue.key==="ArrowDown"||ue.key==="Enter")&&(ue.preventDefault(),Ce()),ue.key==="Escape"&&(ue.preventDefault(),H(!1)))},...Z}),c.jsx(Xm,{open:G,title:f,cancelText:m,confirmText:p,confirmDisabled:!ie||!!ie.disabled,maxHeight:N,className:w,class:P,style:C,sx:S,onCancel:()=>Y(K),onConfirm:Pe,onOpenChange:H,children:c.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto px-4 py-2",children:ve.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:ve.map((ue,_e)=>{if(ue.type==="plain"){const he=ue.option,re=U===he.value,me={active:re,checked:re,disabled:!!he.disabled},Se=ee([j,he.sx],le);return c.jsx("button",{type:"button",className:R("flex min-h-10 w-full items-center rounded-md px-3 py-2 text-sm transition-colors",Pi(y),re?"bg-blue-600 text-white":"text-slate-800 hover:bg-blue-50 hover:text-blue-700",he.disabled&&"cursor-not-allowed bg-transparent text-slate-400 opacity-70 hover:bg-transparent hover:text-slate-400",Se.sxClassName,k,q,he.className,he.class),style:D(A,Se.sxInlineStyle,he.style),disabled:T||g||he.disabled,onClick:Te=>{Te.preventDefault(),Y(he.value)},children:c.jsx("span",{className:"min-w-0 truncate",children:b?b(he,me):he.label})},he.value)}return c.jsxs("div",{className:R(ue.separator&&_e>0&&"border-t border-slate-200 pt-2"),children:[ue.label?c.jsx("div",{className:"px-3 py-2 text-xs font-medium text-slate-500",children:ue.label}):null,c.jsx("div",{className:"grid gap-1",children:ue.options.map(he=>{const re=U===he.value,me={active:re,checked:re,disabled:!!he.disabled},Se=ee([j,he.sx],le);return c.jsx("button",{type:"button",className:R("flex min-h-10 w-full items-center rounded-md px-3 py-2 text-sm transition-colors",Pi(y),re?"bg-blue-600 text-white":"text-slate-800 hover:bg-blue-50 hover:text-blue-700",he.disabled&&"cursor-not-allowed bg-transparent text-slate-400 opacity-70 hover:bg-transparent hover:text-slate-400",Se.sxClassName,k,q,he.className,he.class),style:D(A,Se.sxInlineStyle,he.style),disabled:T||g||he.disabled,onClick:Te=>{Te.preventDefault(),Y(he.value)},children:c.jsx("span",{className:"min-w-0 truncate",children:b?b(he,me):he.label})},he.value)})})]},`group-${_e}`)})})})}),$?c.jsx("input",{type:"hidden",name:$,required:h,value:K}):null]})});Qm.displayName="MobileSelect";function Ur(e){return Array.isArray(e)?e.filter(t=>t!==""):[]}function gC(e){return Array.isArray(e)?e:[]}function $r(e,t){return e?.[t]??t}function bC(e,t){const r=$r(t,"value");return typeof e[r]=="string"?e[r]:e.value}function xC(e,t){const r=$r(t,"label");return e[r]??e.label??e.value??""}function yC(e,t){const r=$r(t,"children");return gC(e[r])}function wC(e,t){const r=$r(t,"disabled");return!!(e[r]??e.disabled)}function PC(e,t){const r=$r(t,"isLeaf"),n=e[r];return typeof n=="boolean"?n:e.isLeaf}function CC(e,t){const r=$r(t,"loading");return!!(e[r]??e.loading)}function SC(e,t){const r=bC(e,t);if(typeof r!="string"||r.length===0)return null;const n=yC(e,t),o=PC(e,t),s=typeof o=="boolean"?o:n.length===0;return{option:e,value:r,label:xC(e,t),children:n,disabled:wC(e,t),isLeaf:s,loading:CC(e,t)}}function Qn(e,t){const r=[];for(const n of e){const o=SC(n,t);o&&r.push(o)}return r}function Fn(e,t,r){const n=[],o=[];let s=e;for(const i of t){const a=Qn(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 NC(e,t,r){const n=[Qn(e,r)];let o=e;for(const s of t){const i=Qn(o,r).find(a=>a.value===s);if(!i||i.children.length===0)break;o=i.children,n.push(Qn(o,r))}return n}function ws(e,t){return t.every((r,n)=>e[n]===r)}function kC(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 qC(e){return`第${e+1}级`}const Zm=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:g,renderOption:h,fieldNames:y,changeOnSelect:x=!1,clearable:b=!1,readOnly:w=!1,required:P,loadData:C,align:S="left",levelLabels:N,drawerClassName:k,drawerClass:q,drawerStyle:A,drawerSx:j,maxDrawerHeight:E,optionClassName:I,optionClass:_,optionStyle:O,optionSx:T,className:$,class:M,style:W,sx:F,disabled:X=!1,name:de,id:te,autoFocus:Z,onClick:K,onFocus:J,onBlur:B,onKeyDown:G,...H}=e,U=n===void 0?void 0:Ur(n),[Y,Q,le]=mo({value:U,defaultValue:Ur(o)}),[fe,ve]=mo({value:i,defaultValue:a,onChange:l}),[ge,ie]=u.useState(()=>Ur(o)),[we,qe]=u.useState(0),[Me,ne]=u.useState(null),Pe=u.useRef(null),Ce=u.useRef(!0),ue=u.useRef(C),_e=se();u.useEffect(()=>()=>{Ce.current=!1},[]),u.useEffect(()=>{ue.current=C},[C]),u.useEffect(()=>{if(fe){const V=Ur(Y);ie(V),qe(Math.max(V.length-1,0))}},[fe,Y]);const he=u.useMemo(()=>Fn(r,Y,y),[y,r,Y]),re=he.matched.map(V=>V.option),me=u.useMemo(()=>Fn(r,ge,y),[y,r,ge]),Se=u.useMemo(()=>NC(r,ge,y),[y,r,ge]),Te=Math.min(we,Math.max(Se.length-1,0)),et=Se[Te]??[],Ke=me.matched[me.matched.length-1],ut=me.path.length===0||!!Ke?.disabled||!x&&!!Ke&&!Ke?.isLeaf&&(Ke?.children.length??0)>0,yt=u.useMemo(()=>he.labels.length>0?g?g(he.labels,re):kC(he.labels,v):d,[g,d,re,he.labels,v]),He=u.useCallback((V,z)=>{const ce=Fn(r,Ur(V),y);le||Q(ce.path),s?.(ce.path,{...z,path:ce.path,options:ce.matched.map(be=>be.option),labels:ce.labels})},[y,s,r,Q,le]),ot=u.useCallback(V=>{X||w||(ie([]),qe(0),He([],{reason:"clear",event:V}))},[He,X,w]),Ge=u.useCallback(()=>{if(X||w){ve(!1);return}ut||(He(me.path,{reason:"select",option:Ke?.option}),ve(!1))},[He,ut,X,Ke?.option,me.path,w,ve]),Lt=u.useCallback(async(V,z,ce)=>{if(X||w||V.disabled)return;const be=[...ge.slice(0,z),V.value],Ne=V.children.length>0,Ie=!V.isLeaf&&!Ne&&!!ue.current,tt=Ne||Ie,st=be.join("");if(ie(be),qe(tt?z+1:z),Ie&&ue.current){const dt=Fn(r,be,y);ne(st);try{await ue.current(dt.matched.map(mt=>mt.option),{option:V.option,path:be,options:r})}finally{Ce.current&&ne(mt=>mt===st?null:mt)}}x&&!tt&&ce.currentTarget.focus()},[x,X,y,r,ge,w]),Ye=u.useCallback(()=>{X||ve(!0)},[X,ve]);return u.useImperativeHandle(t,()=>({focus:()=>Pe.current?.focus(),blur:()=>Pe.current?.blur(),open:Ye,close:()=>ve(!1),clear:()=>ot(),getValue:()=>Y.slice()}),[ot,Ye,Y,ve]),c.jsxs(c.Fragment,{children:[c.jsx(wa,{ref:Pe,id:te,open:fe,clearable:b,hasValue:he.path.length>0,placeholder:d,display:yt,className:$,class:M,style:W,sx:F,disabled:X,readOnly:w,autoFocus:Z,onClear:ot,onClick:V=>{K?.(V),Ye()},onFocus:J,onBlur:B,onKeyDown:V=>{G?.(V),!X&&((V.key==="ArrowDown"||V.key==="Enter")&&(V.preventDefault(),Ye()),V.key==="Escape"&&(V.preventDefault(),ve(!1)))},...H}),c.jsx(Xm,{open:fe,title:f,cancelText:m,confirmText:p,confirmDisabled:ut,maxHeight:E,className:k,class:q,style:A,sx:j,onCancel:()=>{ie(Y),qe(Math.max(Y.length-1,0))},onConfirm:Ge,onOpenChange:ve,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:Se.map((V,z)=>{const ce=Te===z,be=me.labels[z]??qC(z),Ne=N?.[z]??be;return c.jsxs("button",{type:"button",className:R("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",ce&&"font-medium text-blue-600"),onClick:()=>qe(z),children:[Ne,ce?c.jsx("span",{className:"absolute bottom-0 left-3 right-3 h-0.5 rounded-full bg-blue-600"}):null]},`level-${z}`)})}),c.jsx("div",{className:"min-h-0 flex-1 overflow-y-auto px-4 py-2",children:et.length===0?c.jsx("div",{className:"flex min-h-32 items-center justify-center text-sm text-slate-400",children:Me?c.jsxs("span",{className:"inline-flex items-center gap-2",children:[c.jsx(pc,{}),"加载中"]}):"暂无可选项"}):c.jsx("div",{className:"grid gap-1",children:et.map(V=>{const z=[...ge.slice(0,Te),V.value],ce=me.path.length===z.length&&ws(me.path,z),be=ws(me.path,z)||ws(z,me.path),Ne=Me===z.join("")||V.loading,Ie=V.children.length>0||!V.isLeaf&&!!ue.current&&!Ne,tt={active:be,checked:ce,disabled:V.disabled,hasChildren:Ie,isLeaf:V.isLeaf,level:Te,loading:Ne,path:z,selected:ce},st=ee([T,V.option.sx],_e);return c.jsxs("button",{type:"button",className:R("flex min-h-10 w-full items-center gap-2 rounded-md px-3 py-2 text-sm transition-colors",Pi(S),ce?"bg-blue-600 text-white":"text-slate-800 hover:bg-blue-50 hover:text-blue-700",be&&!ce&&"bg-slate-100 text-slate-900",V.disabled&&"cursor-not-allowed bg-transparent text-slate-400 opacity-70 hover:bg-transparent hover:text-slate-400",st.sxClassName,I,_,V.option.className,V.option.class),style:D(O,st.sxInlineStyle,V.option.style),disabled:X||w||V.disabled,onClick:dt=>{dt.preventDefault(),Lt(V,Te,dt)},children:[c.jsx("span",{className:"min-w-0 flex-1 truncate",children:h?h(V.option,tt):V.label}),Ne?c.jsx(pc,{}):Ie?c.jsx(mC,{className:R("h-4 w-4 shrink-0",ce?"text-white":"text-slate-400")}):null]},z.join(""))})})})]})}),de?c.jsx("input",{type:"hidden",name:de,required:P,value:Y.length>0?JSON.stringify(Y):""}):null]})});Zm.displayName="MobileCascader";function jC(e,t=500){const r=Oe.useRef(null),n=Oe.useCallback(()=>{r.current=setTimeout(e,t)},[e,t]),o=Oe.useCallback(()=>{r.current&&clearTimeout(r.current)},[]);return{onMouseDown:n,onMouseUp:o,onMouseLeave:o,onTouchStart:n,onTouchEnd:o}}function EC(){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 ke(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:g,children:h,...y}=e,x=t??"div",b=se(),{roundedPreset:w,roundedStyle:P}=hr(n),{shadowPreset:C,shadowStyle:S}=mn(o),N=jC(()=>{s?.()},i),{sxClassName:k,sxInlineStyle:q}=ee(r,b),j=(f||p)&&a?.position===void 0?{position:"relative"}:void 0;return c.jsxs(x,{className:R(w&&Yt[w],C&&_r[C],k,l,d),style:D(a,P,S,j,q),"aria-busy":f||void 0,...s?N:void 0,...y,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(EC,{})}):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:g,children:c.jsx("div",{className:"box-modal-content max-w-full rounded-lg bg-white p-4 shadow-lg",onClick:E=>E.stopPropagation(),children:v})}):null]})}ke.displayName="Box";const vc={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"},gc={elevated:"md"},RC={none:"p-0",sm:"p-3",md:"p-4",lg:"p-6"};function Zr(e){return e!=null}function AC(e){let t=!1;return u.Children.forEach(e,r=>{u.isValidElement(r)&&IC(r.type)&&(t=!0)}),t}function IC(e){return e===eh||e===th||e===rh||e===nh||e===oh||e===sh||e===ih}function Bn(e,t){return e===!0||e===t}function Ps(e){return RC[e]}function bc(e,t){return Zr(e)?e:t}function xc(e,t){return e??t}const eh=e=>c.jsx(ke,{...e,"data-card-slot":"header"}),th=e=>c.jsx(ke,{...e,"data-card-slot":"content"}),rh=e=>c.jsx(ke,{...e,"data-card-slot":"footer"}),nh=e=>c.jsx(ke,{...e,"data-card-slot":"left"}),oh=e=>c.jsx(ke,{...e,"data-card-slot":"right"}),sh=e=>c.jsx(ke,{...e,"data-card-slot":"start"}),ih=e=>c.jsx(ke,{...e,"data-card-slot":"end"});function TC(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:g,footerProps:h,leftProps:y,rightProps:x,startProps:b,endProps:w,contentProps:P,children:C,className:S,style:N,rounded:k="lg",shadow:q,onClick:A,...j}=e,E=bc(d,m),I=bc(f,p),_=xc(y,b),O=xc(x,w),T=AC(C),{className:$,style:M,loading:W,...F}=P??{};return T?c.jsx(ke,{rounded:k,shadow:q??gc[t],className:R("card flex overflow-hidden",vc[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:D(N,{flexDirection:"row"}),"aria-disabled":i||void 0,onClick:i?void 0:A,...j,children:C}):c.jsxs(ke,{rounded:k,shadow:q??gc[t],className:R("card flex overflow-hidden",vc[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:D(N,{flexDirection:"row"}),"aria-disabled":i||void 0,onClick:i?void 0:A,...j,children:[Zr(E)?c.jsx(ke,{..._,className:R("card-left shrink-0",Bn(n,"x")&&"border-r border-gray-100",_?.className),children:E}):null,c.jsxs(ke,{className:"card-main flex min-w-0 flex-1 flex-col",children:[Zr(a)?c.jsx(ke,{...g,className:R("card-header",Ps(r),Bn(n,"y")&&"border-b border-gray-100",g?.className),children:a}):null,c.jsx(ke,{...F,className:R("card-content min-w-0 flex-1",Ps(r),$),style:M,loading:v||W,children:C}),Zr(l)?c.jsx(ke,{...h,className:R("card-footer",Ps(r),Bn(n,"y")&&"border-t border-gray-100",h?.className),children:l}):null]}),Zr(I)?c.jsx(ke,{...O,className:R("card-right shrink-0",Bn(n,"x")&&"border-l border-gray-100",O?.className),children:I}):null]})}const Mt=Object.assign(TC,{Header:eh,Content:th,Footer:rh,Left:nh,Right:oh,Start:sh,End:ih});Mt.displayName="Card";Mt.Header.displayName="Card.Header";Mt.Content.displayName="Card.Content";Mt.Footer.displayName="Card.Footer";Mt.Left.displayName="Card.Left";Mt.Right.displayName="Card.Right";Mt.Start.displayName="Card.Start";Mt.End.displayName="Card.End";function _C(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,...g}=m,h=p?.[e]?.[l]||a,y=u.useMemo(()=>g,Object.values(g));return c.jsx(h.Provider,{value:y,children:v})};d.displayName=s+"Provider";function f(m,p){const v=p?.[e]?.[l]||a,g=u.useContext(v);if(g)return g;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,OC(o,...t)]}function OC(...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 MC(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var $n={exports:{}},Cs={};var yc;function LC(){if(yc)return Cs;yc=1;var e=Oe;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(),g=n({inst:{value:v,getSnapshot:p}}),h=g[0].inst,y=g[1];return s(function(){h.value=v,h.getSnapshot=p,l(h)&&y({inst:h})},[m,v,p]),o(function(){return l(h)&&y({inst:h}),m(function(){l(h)&&y({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 Cs.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:f,Cs}var Ss={};var wc;function DC(){return wc||(wc=1,process.env.NODE_ENV!=="production"&&(function(){function e(v,g){return v===g&&(v!==0||1/v===1/g)||v!==v&&g!==g}function t(v,g){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=g();if(!m){var y=g();s(h,y)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),m=!0)}y=i({inst:{value:h,getSnapshot:g}});var x=y[0].inst,b=y[1];return l(function(){x.value=h,x.getSnapshot=g,r(x)&&b({inst:x})},[v,h,g]),a(function(){return r(x)&&b({inst:x}),v(function(){r(x)&&b({inst:x})})},[v]),d(h),h}function r(v){var g=v.getSnapshot;v=v.value;try{var h=g();return!s(v,h)}catch{return!0}}function n(v,g){return g()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var o=Oe,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;Ss.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())})()),Ss}var Pc;function FC(){return Pc||(Pc=1,process.env.NODE_ENV==="production"?$n.exports=LC():$n.exports=DC()),$n.exports}var BC=FC();function $C(){return BC.useSyncExternalStore(VC,()=>!0,()=>!1)}function VC(){return()=>{}}var Pa="Avatar",[zC]=_C(Pa),[HC,ah]=zC(Pa),lh=u.forwardRef((e,t)=>{const{__scopeAvatar:r,...n}=e,[o,s]=u.useState("idle");return c.jsx(HC,{scope:r,imageLoadingStatus:o,onImageLoadingStatusChange:s,children:c.jsx(_o.span,{...n,ref:t})})});lh.displayName=Pa;var ch="AvatarImage",uh=u.forwardRef((e,t)=>{const{__scopeAvatar:r,src:n,onLoadingStatusChange:o=()=>{},...s}=e,i=ah(ch,r),a=UC(n,s),l=At(d=>{o(d),i.onImageLoadingStatusChange(d)});return Ve(()=>{a!=="idle"&&l(a)},[a,l]),a==="loaded"?c.jsx(_o.img,{...s,ref:t,src:n}):null});uh.displayName=ch;var dh="AvatarFallback",fh=u.forwardRef((e,t)=>{const{__scopeAvatar:r,delayMs:n,...o}=e,s=ah(dh,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(_o.span,{...o,ref:t}):null});fh.displayName=dh;function Cc(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function UC(e,{referrerPolicy:t,crossOrigin:r}){const n=$C(),o=u.useRef(null),s=n?(o.current||(o.current=new window.Image),o.current):null,[i,a]=u.useState(()=>Cc(s,e));return Ve(()=>{a(Cc(s,e))},[s,e]),Ve(()=>{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 WC=lh,KC=uh,GC=fh;const mh={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 YC(e){if(e!==void 0){if(typeof e=="number")return`${e}px`;if(!(typeof e=="string"&&e in mh))return e}}const hh=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}=ee(o,f),{roundedPreset:v,roundedStyle:g}=hr(a),{shadowPreset:h,shadowStyle:y}=mn(l),x=YC(i);return c.jsx(WC,{ref:t,className:R("avatar relative inline-flex shrink-0 select-none items-center justify-center overflow-hidden bg-slate-100 text-slate-700",typeof i=="string"?mh[i]:null,v?Yt[v]:null,h?_r[h]:null,m,r,n),style:D(s,g,y,x?{width:x,height:x}:void 0,p),...d})}),Ca=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,a=se(),{sxClassName:l,sxInlineStyle:d}=ee(o,a);return c.jsx(KC,{ref:t,className:R("avatar-image h-full w-full object-cover",l,r,n),style:D(s,d),...i})}),Sa=u.forwardRef((e,t)=>{const{className:r,class:n,sx:o,style:s,...i}=e,a=se(),{sxClassName:l,sxInlineStyle:d}=ee(o,a);return c.jsx(GC,{ref:t,className:R("avatar-fallback flex h-full w-full items-center justify-center bg-slate-100 font-medium text-slate-600",l,r,n),style:D(s,d),...i})}),ph=Object.assign(hh,{Image:Ca,Fallback:Sa});hh.displayName="Avatar";Ca.displayName="Avatar.Image";Sa.displayName="Avatar.Fallback";ph.displayName="Avatar";const vh=vu("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:Yt,shadow:_r},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 gh(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:g}=hr(s),{shadowPreset:h,shadowStyle:y}=mn(i),x=se(),{sxClassName:b,sxInlineStyle:w}=ee(a,x);return c.jsx(p,{className:R(vh({variant:r,outline:n,size:o,rounded:v,shadow:h}),b,d,f),style:D(l,g,y,w),...m})}gh.displayName="Chip";const Sc={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"},XC={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 JC(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:g,sxInlineStyle:h}=ee(n,v),y=typeof s=="number"?s:null,x=y===0&&!d,b=y!==null?y>f?`${f}+`:String(y):s,w=a?Sc[m]:l?XC[m]:Sc[m];return c.jsxs("span",{className:R("relative inline-flex",t,r),style:D(o,h),...p,children:[i,!x&&(a||b!==void 0)?c.jsx("span",{className:R("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",g),children:a?null:b}):null]})}function QC(e){const{className:t,class:r,sx:n,style:o,bordered:s=!1,...i}=e,a=se(),{sxClassName:l,sxInlineStyle:d}=ee(n,a);return c.jsx("ul",{className:R("m-0 list-none p-0",s&&"divide-y rounded-md border border-slate-200",l,t,r),style:D(o,d),...i})}function ZC(e){const{description:t="暂无数据",image:r,children:n,className:o,class:s,...i}=e;return c.jsxs(ke,{...i,className:R("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 Nc(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function eS(e){if(e!==void 0)return typeof e=="number"?String(e):e}function Wr(e,t,r){return Math.min(r,Math.max(t,e))}function tS(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 rS(e){return Array.from(new Set(e.filter(t=>Number.isFinite(t)&&t>0)))}function nS(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 bh=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:g,retry:h=0,retryDelay:y=800,onLoadingChange:x,loader:b,quality:w,format:P,crop:C=!1,alt:S,src:N,width:k,height:q,sizes:A,loading:j,decoding:E,onLoad:I,onError:_,sources:O,formats:T,responsiveWidths:$,preview:M=!1,children:W,...F}=t,X=se(),{sxClassName:de,sxInlineStyle:te}=ee(s,X),[Z,K]=u.useState(N?"loading":"idle"),[J,B]=u.useState(N),[G,H]=u.useState(!1),[U,Y]=u.useState(1),[Q,le]=u.useState({x:0,y:0}),[fe,ve]=u.useState(!1),ge=u.useRef(0),ie=u.useRef(null),we=u.useRef(null),qe=u.useRef(null),Me=u.useRef(null);u.useEffect(()=>{ge.current=0,B(N),K(N?"loading":"idle"),H(!1),Y(1),le({x:0,y:0}),ve(!1)},[N]),u.useEffect(()=>{x?.(Z==="loading")},[x,Z]),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(!G)return;Me.current=document.activeElement,qe.current?.focus();const V=ce=>{if(ce.key==="Escape"){H(!1),Y(1),le({x:0,y:0}),ve(!1);return}if(ce.key==="+"||ce.key==="="){Y(be=>Wr(Number((be+.2).toFixed(2)),1,4));return}if(ce.key==="-"||ce.key==="_"){Y(be=>Wr(Number((be-.2).toFixed(2)),1,4));return}ce.key==="0"&&(Y(1),le({x:0,y:0}))},z=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",V),()=>{document.body.style.overflow=z,window.removeEventListener("keydown",V),Me.current?.focus?.()}},[G]),u.useEffect(()=>{if(!G||!fe)return;const V=ce=>{const be=we.current;if(!be)return;const Ne=ce.clientX-be.x,Ie=ce.clientY-be.y;le({x:be.offsetX+Ne,y:be.offsetY+Ie})},z=()=>{ve(!1),we.current=null};return window.addEventListener("mousemove",V),window.addEventListener("mouseup",z),()=>{window.removeEventListener("mousemove",V),window.removeEventListener("mouseup",z)}},[G,fe]);const ne=typeof k=="number"?k:void 0,Pe=typeof q=="number"?q:void 0,Ce=u.useMemo(()=>{const V=$??[],z=ne?[...V,ne]:V;return rS(z).sort((ce,be)=>ce-be)},[$,ne]),ue=u.useCallback((V,z,ce)=>b?b(V,{width:ce??ne,height:Pe,quality:w,format:z??P,crop:C}):nS(V,{width:ce??ne,height:Pe,crop:C}),[b,ne,Pe,w,P,C]),_e=J&&ue(J),he=u.useMemo(()=>{if(!J||!T?.length)return[];const V=[];for(const z of T){const ce=tS(J,z);if(!ce)continue;if(b&&Ce.length){const Ne=Ce.map(Ie=>`${ue(ce,z,Ie)} ${Ie}w`).join(", ");V.push({type:`image/${z}`,srcSet:Ne,sizes:A});continue}const be=ue(ce,z);!be||be===_e||V.push({type:`image/${z}`,srcSet:be,sizes:A})}return V},[J,T,ue,_e,A,b,Ce]),re=u.useMemo(()=>!b||!J||!Ce.length?null:{srcSet:Ce.map(z=>`${ue(J,P,z)} ${z}w`).join(", "),sizes:A},[b,J,Ce,ue,P,A]),me=u.useMemo(()=>{const z=[...O??[]];return he.length&&z.push(...he),re&&z.push(re),z},[O,he,re]),Se=Z==="loading"&&d,Te=Z==="loading"&&v==="blur"&&!!g,et=Z==="error"&&a,Ke=M&&Z==="loaded"&&!!_e&&!et,ut={status:Z,loading:Z==="loading",error:Z==="error",loaded:Z==="loaded",previewOpen:G,src:_e??void 0},yt=D({width:Nc(k),height:p?void 0:Nc(q),aspectRatio:eS(p),backgroundImage:Te?`url(${g})`:void 0,backgroundSize:Te?"cover":void 0,backgroundPosition:Te?"center":void 0},i,te),He={width:"100%",height:p||q!==void 0?"100%":"auto",objectFit:f,objectPosition:m,opacity:Te?0:void 0,transition:Te?"opacity 180ms ease":void 0,cursor:Ke?"zoom-in":void 0},ot={transform:`translate(${Q.x}px, ${Q.y}px) scale(${U})`,transition:fe?void 0:"transform 120ms ease",cursor:U>1?fe?"grabbing":"grab":"zoom-in",transformOrigin:"center center"},Ge=V=>{if(ge.current<h&&J){ge.current+=1,ie.current=setTimeout(()=>{const z=J.includes("?")?"&":"?";B(`${J}${z}ldkj_retry=${ge.current}`),K("loading")},y),_?.(V);return}if(l&&J!==l){B(l),K("loading"),_?.(V);return}K("error"),_?.(V)},Lt=u.useCallback(()=>{H(!1),Y(1),le({x:0,y:0}),ve(!1)},[]),Ye=V=>{V.preventDefault(),V.stopPropagation();const z=V.deltaY<0?.2:-.2;Y(ce=>Wr(Number((ce+z).toFixed(2)),1,4))};return c.jsxs(c.Fragment,{children:[c.jsxs("span",{className:R("relative inline-block max-w-full overflow-hidden align-middle",de,n,o),style:yt,children:[et?a:me.length?c.jsxs("picture",{children:[me.map((V,z)=>c.jsx("source",{media:V.media,srcSet:V.srcSet,type:V.type,sizes:V.sizes},`${V.type??"source"}-${z}`)),c.jsx("img",{ref:r,alt:S,src:_e,width:k,height:q,sizes:A,loading:j??"lazy",decoding:E??"async",onLoad:V=>{K("loaded"),I?.(V)},onError:Ge,onClick:()=>{Ke&&(H(!0),Y(1),le({x:0,y:0}))},className:"block max-w-full",style:He,...F})]}):c.jsx("img",{ref:r,alt:S,src:_e,width:k,height:q,sizes:A,loading:j??"lazy",decoding:E??"async",onLoad:V=>{K("loaded"),I?.(V)},onError:Ge,onClick:()=>{Ke&&(H(!0),Y(1),le({x:0,y:0}))},className:"block max-w-full",style:He,...F}),Se?c.jsx("span",{className:"absolute inset-0 flex items-center justify-center",children:d}):null,W?c.jsx("span",{className:"pointer-events-none absolute inset-0",children:W(ut)}):null]}),G&&_e?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:Lt,onWheel:Ye,children:[c.jsx("img",{src:_e,alt:S,className:"max-h-[88vh] max-w-[92vw] select-none rounded-md object-contain shadow-2xl",style:ot,onClick:V=>V.stopPropagation(),onMouseDown:V=>{U<=1||(V.preventDefault(),V.stopPropagation(),we.current={x:V.clientX,y:V.clientY,offsetX:Q.x,offsetY:Q.y},ve(!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:V=>{V.stopPropagation(),Y(z=>Wr(z-.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:V=>{V.stopPropagation(),Y(z=>Wr(z+.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:V=>{V.stopPropagation(),Y(1),le({x:0,y:0})},children:"重置"}),c.jsx("button",{ref:qe,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:V=>{V.stopPropagation(),Lt()},children:"关闭"})]})]}):null]})});bh.displayName="Image";var Sr={},Ns,kc;function oS(){return kc||(kc=1,Ns=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),Ns}var ks={},$t={},qc;function br(){if(qc)return $t;qc=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 $t.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},$t.getSymbolTotalCodewords=function(n){return t[n]},$t.getBCHDigit=function(r){let n=0;for(;r!==0;)n++,r>>>=1;return n},$t.setToSJISFunction=function(n){if(typeof n!="function")throw new Error('"toSJISFunc" is not a valid function.');e=n},$t.isKanjiModeEnabled=function(){return typeof e<"u"},$t.toSJIS=function(n){return e(n)},$t}var qs={},jc;function Na(){return jc||(jc=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}}})(qs)),qs}var js,Ec;function sS(){if(Ec)return js;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++}},js=e,js}var Es,Rc;function iS(){if(Rc)return Es;Rc=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]},Es=e,Es}var Rs={},Ac;function aS(){return Ac||(Ac=1,(function(e){const t=br().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}})(Rs)),Rs}var As={},Ic;function lS(){if(Ic)return As;Ic=1;const e=br().getSymbolSize,t=7;return As.getPositions=function(n){const o=e(n);return[[0,0],[o-t,0],[0,o-t]]},As}var Is={},Tc;function cS(){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 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}})(Is)),Is}var Vn={},_c;function xh(){if(_c)return Vn;_c=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 Vn.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}},Vn.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}},Vn}var Ts={},Kr={},Oc;function uS(){if(Oc)return Kr;Oc=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]})(),Kr.log=function(n){if(n<1)throw new Error("log("+n+")");return t[n]},Kr.exp=function(n){return e[n]},Kr.mul=function(n,o){return n===0||o===0?0:e[t[n]+t[o]]},Kr}var Mc;function dS(){return Mc||(Mc=1,(function(e){const t=uS();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}})(Ts)),Ts}var _s,Lc;function fS(){if(Lc)return _s;Lc=1;const e=dS();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},_s=t,_s}var Os={},Ms={},Ls={},Dc;function yh(){return Dc||(Dc=1,Ls.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),Ls}var Pt={},Fc;function wh(){if(Fc)return Pt;Fc=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
|
+
]))+`;Pt.KANJI=new RegExp(r,"g"),Pt.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),Pt.BYTE=new RegExp(n,"g"),Pt.NUMERIC=new RegExp(e,"g"),Pt.ALPHANUMERIC=new RegExp(t,"g");const o=new RegExp("^"+r+"$"),s=new RegExp("^"+e+"$"),i=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return Pt.testKanji=function(l){return o.test(l)},Pt.testNumeric=function(l){return s.test(l)},Pt.testAlphanumeric=function(l){return i.test(l)},Pt}var Bc;function xr(){return Bc||(Bc=1,(function(e){const t=yh(),r=wh();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}}})(Ms)),Ms}var $c;function mS(){return $c||($c=1,(function(e){const t=br(),r=xh(),n=Na(),o=xr(),s=yh(),i=7973,a=t.getBCHDigit(i);function l(p,v,g){for(let h=1;h<=40;h++)if(v<=e.getCapacity(h,g,p))return h}function d(p,v){return o.getCharCountIndicator(p,v)+4}function f(p,v){let g=0;return p.forEach(function(h){const y=d(h.mode,v);g+=y+h.getBitsLength()}),g}function m(p,v){for(let g=1;g<=40;g++)if(f(p,g)<=e.getCapacity(g,v,o.MIXED))return g}e.from=function(v,g){return s.isValid(v)?parseInt(v,10):g},e.getCapacity=function(v,g,h){if(!s.isValid(v))throw new Error("Invalid QR Code version");typeof h>"u"&&(h=o.BYTE);const y=t.getSymbolTotalCodewords(v),x=r.getTotalCodewordsCount(v,g),b=(y-x)*8;if(h===o.MIXED)return b;const w=b-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,g){let h;const y=n.from(g,n.M);if(Array.isArray(v)){if(v.length>1)return m(v,y);if(v.length===0)return 1;h=v[0]}else h=v;return l(h.mode,h.getLength(),y)},e.getEncodedBits=function(v){if(!s.isValid(v)||v<7)throw new Error("Invalid QR Code version");let g=v<<12;for(;t.getBCHDigit(g)-a>=0;)g^=i<<t.getBCHDigit(g)-a;return v<<12|g}})(Os)),Os}var Ds={},Vc;function hS(){if(Vc)return Ds;Vc=1;const e=br(),t=1335,r=21522,n=e.getBCHDigit(t);return Ds.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},Ds}var Fs={},Bs,zc;function pS(){if(zc)return Bs;zc=1;const e=xr();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))},Bs=t,Bs}var $s,Hc;function vS(){if(Hc)return $s;Hc=1;const e=xr(),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)},$s=r,$s}var Vs,Uc;function gS(){if(Uc)return Vs;Uc=1;const e=xr();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)},Vs=t,Vs}var zs,Wc;function bS(){if(Wc)return zs;Wc=1;const e=xr(),t=br();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)}},zs=r,zs}var Hs={exports:{}},Kc;function xS(){return Kc||(Kc=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,g,h,y;!a.empty();){l=a.pop(),d=l.value,m=l.cost,p=r[d]||{};for(f in p)p.hasOwnProperty(f)&&(v=p[f],g=m+v,h=i[f],y=typeof i[f]>"u",(y||h>g)&&(i[f]=g,a.push(f,g),s[f]=d))}if(typeof o<"u"&&typeof i[o]>"u"){var x=["Could not find a path from ",n," to ",o,"."].join("");throw new Error(x)}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})(Hs)),Hs.exports}var Gc;function yS(){return Gc||(Gc=1,(function(e){const t=xr(),r=pS(),n=vS(),o=gS(),s=bS(),i=wh(),a=br(),l=xS();function d(x){return unescape(encodeURIComponent(x)).length}function f(x,b,w){const P=[];let C;for(;(C=x.exec(w))!==null;)P.push({data:C[0],index:C.index,mode:b,length:C[0].length});return P}function m(x){const b=f(i.NUMERIC,t.NUMERIC,x),w=f(i.ALPHANUMERIC,t.ALPHANUMERIC,x);let P,C;return a.isKanjiModeEnabled()?(P=f(i.BYTE,t.BYTE,x),C=f(i.KANJI,t.KANJI,x)):(P=f(i.BYTE_KANJI,t.BYTE,x),C=[]),b.concat(w,P,C).sort(function(N,k){return N.index-k.index}).map(function(N){return{data:N.data,mode:N.mode,length:N.length}})}function p(x,b){switch(b){case t.NUMERIC:return r.getBitsLength(x);case t.ALPHANUMERIC:return n.getBitsLength(x);case t.KANJI:return s.getBitsLength(x);case t.BYTE:return o.getBitsLength(x)}}function v(x){return x.reduce(function(b,w){const P=b.length-1>=0?b[b.length-1]:null;return P&&P.mode===w.mode?(b[b.length-1].data+=w.data,b):(b.push(w),b)},[])}function g(x){const b=[];for(let w=0;w<x.length;w++){const P=x[w];switch(P.mode){case t.NUMERIC:b.push([P,{data:P.data,mode:t.ALPHANUMERIC,length:P.length},{data:P.data,mode:t.BYTE,length:P.length}]);break;case t.ALPHANUMERIC:b.push([P,{data:P.data,mode:t.BYTE,length:P.length}]);break;case t.KANJI:b.push([P,{data:P.data,mode:t.BYTE,length:d(P.data)}]);break;case t.BYTE:b.push([{data:P.data,mode:t.BYTE,length:d(P.data)}])}}return b}function h(x,b){const w={},P={start:{}};let C=["start"];for(let S=0;S<x.length;S++){const N=x[S],k=[];for(let q=0;q<N.length;q++){const A=N[q],j=""+S+q;k.push(j),w[j]={node:A,lastCount:0},P[j]={};for(let E=0;E<C.length;E++){const I=C[E];w[I]&&w[I].node.mode===A.mode?(P[I][j]=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][j]=p(A.length,A.mode)+4+t.getCharCountIndicator(A.mode,b))}}C=k}for(let S=0;S<C.length;S++)P[C[S]].end=0;return{map:P,table:w}}function y(x,b){let w;const P=t.getBestModeForData(x);if(w=t.from(b,P),w!==t.BYTE&&w.bit<P.bit)throw new Error('"'+x+'" 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(x);case t.ALPHANUMERIC:return new n(x);case t.KANJI:return new s(x);case t.BYTE:return new o(x)}}e.fromArray=function(b){return b.reduce(function(w,P){return typeof P=="string"?w.push(y(P,null)):P.data&&w.push(y(P.data,P.mode)),w},[])},e.fromString=function(b,w){const P=m(b,a.isKanjiModeEnabled()),C=g(P),S=h(C,w),N=l.find_path(S.map,"start","end"),k=[];for(let q=1;q<N.length-1;q++)k.push(S.table[N[q]].node);return e.fromArray(v(k))},e.rawSplit=function(b){return e.fromArray(m(b,a.isKanjiModeEnabled()))}})(Fs)),Fs}var Yc;function wS(){if(Yc)return ks;Yc=1;const e=br(),t=Na(),r=sS(),n=iS(),o=aS(),s=lS(),i=cS(),a=xh(),l=fS(),d=mS(),f=hS(),m=xr(),p=yS();function v(S,N){const k=S.size,q=s.getPositions(N);for(let A=0;A<q.length;A++){const j=q[A][0],E=q[A][1];for(let I=-1;I<=7;I++)if(!(j+I<=-1||k<=j+I))for(let _=-1;_<=7;_++)E+_<=-1||k<=E+_||(I>=0&&I<=6&&(_===0||_===6)||_>=0&&_<=6&&(I===0||I===6)||I>=2&&I<=4&&_>=2&&_<=4?S.set(j+I,E+_,!0,!0):S.set(j+I,E+_,!1,!0))}}function g(S){const N=S.size;for(let k=8;k<N-8;k++){const q=k%2===0;S.set(k,6,q,!0),S.set(6,k,q,!0)}}function h(S,N){const k=o.getPositions(N);for(let q=0;q<k.length;q++){const A=k[q][0],j=k[q][1];for(let E=-2;E<=2;E++)for(let I=-2;I<=2;I++)E===-2||E===2||I===-2||I===2||E===0&&I===0?S.set(A+E,j+I,!0,!0):S.set(A+E,j+I,!1,!0)}}function y(S,N){const k=S.size,q=d.getEncodedBits(N);let A,j,E;for(let I=0;I<18;I++)A=Math.floor(I/3),j=I%3+k-8-3,E=(q>>I&1)===1,S.set(A,j,E,!0),S.set(j,A,E,!0)}function x(S,N,k){const q=S.size,A=f.getEncodedBits(N,k);let j,E;for(j=0;j<15;j++)E=(A>>j&1)===1,j<6?S.set(j,8,E,!0):j<8?S.set(j+1,8,E,!0):S.set(q-15+j,8,E,!0),j<8?S.set(8,q-j-1,E,!0):j<9?S.set(8,15-j-1+1,E,!0):S.set(8,15-j-1,E,!0);S.set(q-8,8,1,!0)}function b(S,N){const k=S.size;let q=-1,A=k-1,j=7,E=0;for(let I=k-1;I>0;I-=2)for(I===6&&I--;;){for(let _=0;_<2;_++)if(!S.isReserved(A,I-_)){let O=!1;E<N.length&&(O=(N[E]>>>j&1)===1),S.set(A,I-_,O),j--,j===-1&&(E++,j=7)}if(A+=q,A<0||k<=A){A-=q,q=-q;break}}}function w(S,N,k){const q=new r;k.forEach(function(_){q.put(_.mode.bit,4),q.put(_.getLength(),m.getCharCountIndicator(_.mode,S)),_.write(q)});const A=e.getSymbolTotalCodewords(S),j=a.getTotalCodewordsCount(S,N),E=(A-j)*8;for(q.getLengthInBits()+4<=E&&q.put(0,4);q.getLengthInBits()%8!==0;)q.putBit(0);const I=(E-q.getLengthInBits())/8;for(let _=0;_<I;_++)q.put(_%2?17:236,8);return P(q,S,N)}function P(S,N,k){const q=e.getSymbolTotalCodewords(N),A=a.getTotalCodewordsCount(N,k),j=q-A,E=a.getBlocksCount(N,k),I=q%E,_=E-I,O=Math.floor(q/E),T=Math.floor(j/E),$=T+1,M=O-T,W=new l(M);let F=0;const X=new Array(E),de=new Array(E);let te=0;const Z=new Uint8Array(S.buffer);for(let H=0;H<E;H++){const U=H<_?T:$;X[H]=Z.slice(F,F+U),de[H]=W.encode(X[H]),F+=U,te=Math.max(te,U)}const K=new Uint8Array(q);let J=0,B,G;for(B=0;B<te;B++)for(G=0;G<E;G++)B<X[G].length&&(K[J++]=X[G][B]);for(B=0;B<M;B++)for(G=0;G<E;G++)K[J++]=de[G][B];return K}function C(S,N,k,q){let A;if(Array.isArray(S))A=p.fromArray(S);else if(typeof S=="string"){let O=N;if(!O){const T=p.rawSplit(S);O=d.getBestVersionForData(T,k)}A=p.fromString(S,O||40)}else throw new Error("Invalid data");const j=d.getBestVersionForData(A,k);if(!j)throw new Error("The amount of data is too big to be stored in a QR Code");if(!N)N=j;else if(N<j)throw new Error(`
|
|
45
45
|
The chosen QR Code version cannot contain this amount of data.
|
|
46
|
-
Minimum version required to store current data is: `+
|
|
47
|
-
`);const
|
|
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;
|
|
46
|
+
Minimum version required to store current data is: `+j+`.
|
|
47
|
+
`);const E=w(N,k,A),I=e.getSymbolSize(N),_=new n(I);return v(_,N),g(_),h(_,N),x(_,k,0),N>=7&&y(_,N),b(_,E),isNaN(q)&&(q=i.getBestMask(_,x.bind(null,_,k))),i.applyMask(q,_),x(_,k,q),{modules:_,version:N,errorCorrectionLevel:k,maskPattern:q,segments:A}}return ks.create=function(N,k){if(typeof N>"u"||N==="")throw new Error("No input text");let q=t.M,A,j;return typeof k<"u"&&(q=t.from(k.errorCorrectionLevel,t.M),A=d.from(k.version),j=i.from(k.maskPattern),k.toSJISFunc&&e.setToSJISFunction(k.toSJISFunc)),C(N,A,q,j)},ks}var Us={},Ws={},Xc;function Ph(){return Xc||(Xc=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 g=(p*d+v)*4,h=s.color.light;if(p>=f&&v>=f&&p<d-f&&v<d-f){const y=Math.floor((p-f)/l),x=Math.floor((v-f)/l);h=m[a[y*i+x]?1:0]}n[g++]=h.r,n[g++]=h.g,n[g++]=h.b,n[g]=h.a}}})(Ws)),Ws}var Jc;function PS(){return Jc||(Jc=1,(function(e){const t=Ph();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)}})(Us)),Us}var Ks={},Qc;function CS(){if(Qc)return Ks;Qc=1;const e=Ph();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 Ks.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)+'"/>',g='viewBox="0 0 '+m+" "+m+'"',y='<svg xmlns="http://www.w3.org/2000/svg" '+(l.width?'width="'+l.width+'" height="'+l.width+'" ':"")+g+' shape-rendering="crispEdges">'+p+v+`</svg>
|
|
48
|
+
`;return typeof a=="function"&&a(null,y),y},Ks}var Zc;function SS(){if(Zc)return Sr;Zc=1;const e=oS(),t=wS(),r=PS(),n=CS();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,g){try{const h=t.create(a,l);v(s(h,i,l))}catch(h){g(h)}})}try{const v=t.create(a,l);d(null,s(v,i,l))}catch(v){d(v)}}return Sr.create=t.create,Sr.toCanvas=o.bind(null,r.render),Sr.toDataURL=o.bind(null,r.renderToDataURL),Sr.toString=o.bind(null,function(s,i,a){return n.render(s,a)}),Sr}var NS=SS();const ka=MC(NS),Ch=({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,...g})=>{const h=Oe.useRef(null),y=Oe.useRef(null),x=se(),{sxClassName:b,sxInlineStyle:w}=ee(m,x),P=Oe.useCallback(C=>{const S=h.current;S&&ka.toCanvas(S,e,{errorCorrectionLevel:l,margin:a,width:C,color:{dark:s,light:i}},N=>{if(N&&console.error(N),!t){const k=S.getContext("2d");k&&(k.globalCompositeOperation="source-over",k.fillStyle="rgba(255, 255, 255, 0.5)",k.fillRect(0,0,S.width,S.height),k.filter="grayscale(100%) opacity(0.5)",k.drawImage(S,0,0))}})},[i,l,s,a,t,e]);return Oe.useEffect(()=>{const C=y.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:y,className:R(b,p),style:D(v,{width:f?"100%":d,height:f?"100%":d,display:"flex",aspectRatio:"1",position:"relative"},w),...g,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})]})},kS=e=>e?{width:e,height:e}:{},Sh=({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:g,unload:h,width:y,height:x,...b})=>{const[w,P]=Oe.useState(""),[C,S]=Oe.useState(),N=Oe.useRef(null),k=se(),{sxClassName:q,sxInlineStyle:A}=ee(r,k);return Oe.useEffect(()=>{if(!t)return;const j=N.current;if(!j)return;const E=()=>{S(Math.min(j.clientWidth,j.clientHeight))};E();const I=new ResizeObserver(E);return I.observe(j),()=>I.disconnect()},[t]),Oe.useEffect(()=>{const j=t?C:y?ar.getInstance().convertToPx(y):e?ar.getInstance().convertToPx(e):void 0;ka.toDataURL(n,{color:{dark:m,light:p},width:j,margin:v,errorCorrectionLevel:g}).then(E=>P(E)).catch(E=>console.error(E))},[p,g,m,v,t,C,y,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:R(q,f),style:D({filter:o?"none":"grayscale(100%) opacity(0.5)",transition:"filter 0.2s ease",position:"relative",...t?{width:"100%",height:"100%"}:kS(e)},d,A),...!t&&{width:y,height:x},...b}),!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 qS({canvas:e,...t}){return e?c.jsx(Ch,{...t}):c.jsx(Sh,{...t})}const jS=e=>e?{width:e,height:e}:{},ES=({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]=Oe.useState("");return Oe.useEffect(()=>{ka.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",...jS(e),...o},...f}):c.jsx(c.Fragment,{children:d})},ur={sm:"px-3 py-2 text-xs",md:"px-4 py-3 text-sm",lg:"px-5 py-4 text-base"},RS={outlined:"border border-slate-200 bg-white",filled:"border border-slate-100 bg-slate-50",ghost:"border border-transparent bg-transparent"};function Nh(e){return null}function kh(e){const{className:t,...r}=e;return c.jsx(ke,{component:"thead",className:R("bg-slate-50",t),...r})}function qh(e){return c.jsx(ke,{component:"tbody",...e})}function ho(e){const{className:t,...r}=e;return c.jsx(ke,{component:"tr",className:R("border-b border-slate-100 last:border-b-0",t),...r})}function Zn(e){const{className:t,style:r,...n}=e;return c.jsx(ke,{component:"th",scope:"col",className:R("whitespace-nowrap font-medium text-slate-700",t),style:D({textAlign:"left"},r),...n})}function en(e){const{className:t,style:r,...n}=e;return c.jsx(ke,{component:"td",className:R("text-slate-700",t),style:D({textAlign:"left"},r),...n})}const Gs="ellipsis";function Ys(e,t){return Number.isFinite(e)?Math.min(Math.max(Math.trunc(e),1),t):1}function Xs(e,t){const r=Math.max(t-e+1,0);return Array.from({length:r},(n,o)=>e+o)}function AS(e){const{count:t,page:r,defaultPage:n=1}=e,[o,s]=u.useState(()=>Ys(n,t)),i=r!==void 0,a=Ys(i?r:o,t);return u.useEffect(()=>{i||s(l=>Ys(l,t))},[t,i]),{page:a,setPage:s,isControlled:i}}function IS(e){const{count:t,page:r,siblingCount:n,boundaryCount:o,showPreviousNext:s,disabled:i}=e,a=Xs(1,Math.min(o,t)),l=Xs(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?[Gs]:o+1<t-o?[o+1]:[],...Xs(d,f),...f<t-o-1?[Gs]:t-o>o?[t-o]:[],...l].map(v=>v===Gs?{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 qa=({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:g,style:h,children:y,...x})=>{const b=se(),{sxClassName:w,sxInlineStyle:P}=ee(g,b),C=typeof e=="number"&&e>0,{page:S,setPage:N,isControlled:k}=AS({count:C?e:1,page:t,defaultPage:r}),q=C?IS({count:e,page:S,siblingCount:Math.max(Math.trunc(o),0),boundaryCount:Math.max(Math.trunc(s),0),showPreviousNext:a,disabled:l}):[],A=(j,E,I)=>{if(I){j.preventDefault();return}j.preventDefault(),k||N(E),n?.(j,E)};return c.jsx("nav",{role:"navigation","aria-label":"分页",className:R("mx-auto flex w-full justify-center",w,p,v),style:D(h,P),...x,children:C?c.jsx(ja,{...m,children:q.map((j,E)=>{const I=`${j.type}-${j.page??E}`,_=j.page===null?void 0:d?.(j.page,j.type)??`#page-${j.page}`,O=j.page===null?void 0:$=>A($,j.page,j.disabled),T={...j,href:_,onClick:O};return f?c.jsx(ir,{children:f(T)},I):j.type==="ellipsis"?c.jsx(ir,{children:c.jsx(Aa,{})},I):j.type==="previous"?c.jsx(ir,{children:c.jsx(Ea,{href:_,variant:i,disabled:j.disabled,onClick:O})},I):j.type==="next"?c.jsx(ir,{children:c.jsx(Ra,{href:_,variant:i,disabled:j.disabled,onClick:O})},I):c.jsx(ir,{children:c.jsx(Pn,{href:_,variant:i,isActive:j.selected,disabled:j.disabled,onClick:O,children:j.page})},I)})}):y})};qa.displayName="Pagination";const ja=u.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=ee(r,i),d={listStyle:"none",margin:0,padding:0};return c.jsx("ul",{ref:s,className:R("m-0 flex list-none flex-row items-center gap-1 p-0",a,e,t),style:D(d,n,l),...o})});ja.displayName="PaginationContent";const ir=u.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=ee(r,i);return c.jsx("li",{ref:s,className:R(a,e,t),style:D({listStyle:"none",margin:0},n,l),...o})});ir.displayName="PaginationItem";function TS(e,t){return t?e==="filled"?"primary":"outline":"ghost"}const Pn=({className:e,class:t,isActive:r,disabled:n,variant:o="outline",size:s="icon",tabIndex:i,...a})=>c.jsx(vt,{component:"a","aria-current":r?"page":void 0,"aria-disabled":n?!0:void 0,variant:TS(o,r),size:s,tabIndex:n?-1:i,className:R(n&&"pointer-events-none opacity-50",r&&o==="filled"&&"!text-white hover:!text-white",e,t),...a});Pn.displayName="PaginationLink";const Ea=({className:e,children:t,...r})=>c.jsx(Pn,{"aria-label":"上一页",size:"md",className:R("gap-1 pl-2.5",e),...r,children:t??c.jsxs(c.Fragment,{children:[c.jsx($e,{name:"chevron_left",size:16}),c.jsx("span",{children:"上一页"})]})});Ea.displayName="PaginationPrevious";const Ra=({className:e,children:t,...r})=>c.jsx(Pn,{"aria-label":"下一页",size:"md",className:R("gap-1 pr-2.5",e),...r,children:t??c.jsxs(c.Fragment,{children:[c.jsx("span",{children:"下一页"}),c.jsx($e,{name:"chevron_right",size:16})]})});Ra.displayName="PaginationNext";const Aa=({className:e,class:t,sx:r,style:n,...o})=>{const s=se(),{sxClassName:i,sxInlineStyle:a}=ee(r,s);return c.jsxs("span",{"aria-hidden":!0,className:R("flex h-8 w-8 items-center justify-center",i,e,t),style:D(n,a),...o,children:[c.jsx($e,{name:"more_horiz",size:16}),c.jsx("span",{className:"sr-only",children:"更多页码"})]})};Aa.displayName="PaginationEllipsis";function un(e){return typeof e=="number"?`${e}px`:e}function _S(e,t){if(t)return e[String(t)]}function Ia(e,t){return e.key!==void 0?e.key:e.dataIndex!==void 0?String(e.dataIndex):t}function eu(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 OS(e){const t=e[0];return t?Object.keys(t).map(r=>({key:r,dataIndex:r,title:r})):[]}function MS(e){return u.isValidElement(e)&&e.type===Nh}function LS(e){const t=[],r=[];return u.Children.forEach(e,n=>{if(MS(n)){t.push(n.props);return}r.push(n)}),{childColumns:t,restChildren:r}}function DS(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 FS(e){const{selectionEnabled:t,size:r,allChecked:n,partiallyChecked:o,selectableKeysLength:s,onToggleCurrentPage:i,indexColumn:a,visibleColumns:l}=e;return c.jsxs(ho,{className:"border-b border-slate-200",children:[t?c.jsx(Zn,{className:R(ur[r],"w-12 text-center"),style:{textAlign:"center"},children:c.jsx(xn,{"aria-label":"选择当前页",checked:o?"indeterminate":n,disabled:!s,onCheckedChange:d=>i(d===!0)})}):null,a?c.jsx(Zn,{className:R(ur[r],"text-slate-600"),style:{width:un(typeof a=="object"?a.width:64),textAlign:"center"},children:typeof a=="object"?a.title??"#":"#"}):null,l.map((d,f)=>c.jsx(Zn,{sx:d.headerSx,className:R(ur[r],d.headerClassName),style:{width:un(d.width),textAlign:d.headerAlign??d.align??"left"},children:d.title??String(d.dataIndex??"")},Ia(d,f)))]})}function BS(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,g=r.length>0;return c.jsx(qh,{...t,children:g?r.map(({record:h,index:y,absoluteIndex:x,key:b,disabled:w})=>{const P=n.has(b),C=typeof o=="function"?o(h,x):o;return c.jsxs(ho,{...C,"data-selected":P?"":void 0,className:R(i&&y%2===1&&"bg-slate-50/70",a&&"transition-colors hover:bg-blue-50/50",P&&"bg-blue-50",C?.className),children:[l?c.jsx(en,{className:R(ur[s],"w-12 text-center"),style:{textAlign:"center"},children:c.jsx(xn,{"aria-label":`选择第 ${x+1} 行`,checked:P,disabled:w,onCheckedChange:S=>d(b,S===!0)})}):null,f?c.jsx(en,{className:R(ur[s],"text-slate-500"),style:{textAlign:"center"},children:x+1}):null,m.map((S,N)=>{const k=_S(h,S.dataIndex);return c.jsx(en,{sx:S.sx,className:R(ur[s],S.className),style:{width:un(S.width),textAlign:S.align??"left"},children:S.render?S.render(k,h,x):k},Ia(S,N))})]},b)}):c.jsx(ho,{children:c.jsx(en,{className:R(ur[s],"text-center text-slate-500"),colSpan:Math.max(v,1),style:{textAlign:"center"},children:p})})})}function $S(e){const{pageCount:t,currentPage:r,justifyClassName:n,onPageChange:o}=e;return t<=1?null:c.jsx(ke,{className:R("flex border-t border-slate-100 p-3",n),children:c.jsx(qa,{count:t,page:r,onPageChange:o})})}function VS(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:g,pagination:h,tableProps:y,headProps:x,bodyProps:b,rowProps:w,className:P,children:C,rounded:S="lg",...N}=e,{childColumns:k,restChildren:q}=LS(C),j=(t??(k.length?k:OS(r))).filter(ie=>!ie.hidden),E=h===!1?r.length||1:h?.pageSize??(r.length||1),I=h===!1?r.length:h?.total??r.length,_=Math.max(Math.ceil(I/E),1),[O,T]=u.useState(h===!1?1:h?.defaultPage??1),$=h===!1?1:h?.page??O,M=($-1)*E,W=h===!1?r:r.slice(M,M+E),F=!!g,{selectedKeys:X,setSelectedKeys:de,isControlled:te}=DS({selectedRowKeys:g?.selectedRowKeys,defaultSelectedRowKeys:g?.defaultSelectedRowKeys}),Z=W.map((ie,we)=>{const qe=M+we,Me=eu(ie,qe,n),ne=g?.getCheckboxProps?.(ie,qe);return{record:ie,index:we,absoluteIndex:qe,key:Me,disabled:!!ne?.disabled}}),K=Z.filter(ie=>!ie.disabled).map(ie=>ie.key),J=new Set(X),B=K.filter(ie=>J.has(ie)).length,G=K.length>0&&B===K.length,H=B>0&&!G,U=h!==!1&&h?.position==="left"?"justify-start":h!==!1&&h?.position==="center"?"justify-center":"justify-end",Y=j.length+(F?1:0)+(v?1:0),Q=un(typeof v=="object"?v.width:64);function le(ie){te||de(ie);const we=new Set(ie);g?.onChange?.(ie,r.filter((qe,Me)=>we.has(eu(qe,Me,n))))}function fe(ie,we){const qe=new Set(X);we?qe.add(ie):qe.delete(ie),le(Array.from(qe))}function ve(ie){const we=new Set(X);K.forEach(qe=>{ie?we.add(qe):we.delete(qe)}),le(Array.from(we))}function ge(ie,we){h!==!1&&h?.page===void 0&&T(we),h!==!1&&h?.onPageChange?.(we,E)}return c.jsxs(ke,{rounded:S,loading:f,className:R("table-root w-full overflow-hidden",RS[s],P),...N,children:[c.jsx(ke,{className:"table-scroll w-full overflow-x-auto",children:c.jsxs(ke,{component:"table",...y,className:R("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",y?.className),style:D({borderCollapse:"collapse",display:"table",tableLayout:"fixed",width:"100%"},y?.style),children:[Y>0?c.jsxs("colgroup",{children:[F?c.jsx("col",{style:{width:48}}):null,v?c.jsx("col",{style:{width:Q}}):null,j.map((ie,we)=>c.jsx("col",{style:{width:un(ie.width)}},Ia(ie,we)))]}):null,p?c.jsx("caption",{className:"px-4 py-3 text-left text-sm text-slate-600",children:p}):null,c.jsx(kh,{...x,className:R(d&&"sticky top-0 z-10",x?.className),children:c.jsx(FS,{selectionEnabled:F,size:o,allChecked:G,partiallyChecked:H,selectableKeysLength:K.length,onToggleCurrentPage:ve,indexColumn:v,visibleColumns:j})}),c.jsx(BS,{bodyProps:b,currentRowMeta:Z,selectedSet:J,rowProps:w,size:o,striped:i,hoverable:l,selectionEnabled:F,onToggleRow:fe,indexColumn:v,visibleColumns:j,empty:m,tableColumnCount:Y})]})}),h!==!1&&_>1?c.jsx($S,{pageCount:_,currentPage:$,justifyClassName:U,onPageChange:ge}):null,q]})}const rr=Object.assign(VS,{Column:Nh,Head:kh,Body:qh,Row:ho,Cell:en,HeaderCell:Zn});rr.displayName="Table";rr.Column.displayName="Table.Column";rr.Head.displayName="Table.Head";rr.Body.displayName="Table.Body";rr.Row.displayName="Table.Row";rr.Cell.displayName="Table.Cell";rr.HeaderCell.displayName="Table.HeaderCell";const zS={text:"origin-left rounded-sm",rect:"",circle:"rounded-full"};function Rt(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function HS(e,t,r){return e==="circle"?{width:Rt(t??r??40),height:Rt(r??t??40)}:e==="text"?{width:Rt(t??"100%"),height:Rt(r??"1em")}:{width:Rt(t),height:Rt(r)}}function US(e,t,r,n){return r?.[e]!==void 0?r[e]:t>1&&e===t-1?"68%":n??"100%"}function Cn(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:g,roundedStyle:h}=hr(s??(f==="circle"?"full":f==="rect"?"md":"sm")),{sxClassName:y,sxInlineStyle:x}=ee(n,v),b=HS(f,i,a);return c.jsx("div",{role:m??"status","aria-live":"polite","aria-label":e["aria-label"]??"Loading",className:R("skeleton bg-gray-200",l?"inline-block align-middle":"block",d&&"animate-pulse",zS[f],g&&Yt[g],y,t,r),style:D(o,b,h,x),...p})}function Ta(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,g=se(),{sxClassName:h,sxInlineStyle:y}=ee(i,g),x=Math.max(1,Math.floor(t));return c.jsx("div",{className:R("skeleton-text flex-col",p?"inline-flex align-middle":"flex",h,l,d),style:D(a,{gap:Rt(n),width:Rt(s)},y),...v,children:Array.from({length:x}).map((b,w)=>c.jsx(Cn,{...v,animated:m,rounded:f,variant:"text",width:US(w,x,o,s),height:r},w))})}function _a(e){const{size:t=40,...r}=e;return c.jsx(Cn,{...r,variant:"circle",width:t,height:t})}function jh(e){const{width:t=96,height:r=36,rounded:n="md",...o}=e;return c.jsx(Cn,{...o,variant:"rect",width:t,height:r,rounded:n})}function Eh(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}=hr(s),{sxClassName:g,sxInlineStyle:h}=ee(d,m);return c.jsx("div",{className:R("skeleton-card border border-gray-200 bg-white p-4",p&&Yt[p],g,i,a),style:D(l,{width:Rt(n)},v,h),...f,children:c.jsxs("div",{className:"flex items-start gap-3",children:[t?c.jsx(_a,{animated:o,size:40}):null,c.jsx("div",{className:"min-w-0 flex-1",children:c.jsx(Ta,{animated:o,rows:r,widths:["56%","100%","76%"]})})]})})}Cn.displayName="Skeleton";Ta.displayName="SkeletonText";_a.displayName="SkeletonAvatar";jh.displayName="SkeletonButton";Eh.displayName="SkeletonCard";const Rh=u.createContext(null),Ah=u.createContext(null),po={sm:{trigger:"min-h-10 px-3 py-2 text-sm",body:"px-3 py-3 text-sm",icon:"h-4 w-4"},md:{trigger:"min-h-12 px-4 py-3 text-sm",body:"px-4 py-4 text-sm",icon:"h-4 w-4"},lg:{trigger:"min-h-14 px-5 py-4 text-base",body:"px-5 py-5 text-sm",icon:"h-5 w-5"}},WS={outlined:"bg-white",filled:"bg-slate-50",plain:"bg-transparent",ghost:"bg-transparent"},KS={outlined:"bg-white",filled:"bg-slate-50",plain:"bg-transparent",ghost:"bg-transparent"},GS={outlined:"hover:bg-slate-50",filled:"hover:bg-slate-100",plain:"hover:bg-slate-50",ghost:"hover:bg-slate-50"};function tn(e){return String(e)}function tu(e){return e==null?[]:(Array.isArray(e)?e:[e]).map(tn)}function YS(e,t){return t?e[0]??null:e}function XS(e){const{activeKey:t,defaultActiveKey:r,accordion:n,onChange:o}=e,s=t!==void 0,[i,a]=u.useState(()=>tu(r)),l=s?tu(t):i,d=u.useCallback(f=>{s||a(f),o?.(YS(f,n))},[n,s,o]);return[l,d]}function yr(e){const t=se();return ee(e,t)}function Wo(e){const t=u.useContext(Rh);if(!t)throw new Error(`${e} must be used inside Collapse.`);return t}function Ko(e){const t=u.useContext(Ah);if(!t)throw new Error(`${e} must be used inside Collapse.Item.`);return t}function JS(...e){return t=>{e.forEach(r=>{if(r){if(typeof r=="function"){r(t);return}r.current=t}})}}function QS(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 ZS(e){const{active:t,className:r}=e;return c.jsx(QS,{className:R("shrink-0 text-slate-500 transition-transform duration-200",t&&"rotate-180",r)})}function e1(e){const{className:t,class:r,sx:n,style:o,children:s,...i}=e,{sxClassName:a,sxInlineStyle:l}=yr(n);return c.jsx("div",{className:R(a,t,r),style:D(o,l),...i,children:s})}function t1(e,t){const{itemProps:r,headerProps:n,triggerProps:o,contentProps:s,bodyProps:i,lazyMount:a,destroyOnHidden:l,forceRender:d}=t;return e.map(f=>c.jsxs(Oa,{value:f.key,disabled:f.disabled,collapsible:f.collapsible,forceRender:f.forceRender??d,lazyMount:f.lazyMount??a,destroyOnHidden:f.destroyOnHidden??l,...r,...f.itemProps,children:[c.jsxs(Ma,{...n,...f.headerProps,children:[c.jsx(La,{showArrow:f.showArrow,...o,...f.triggerProps,children:f.label}),f.extra?c.jsx(Fa,{children:f.extra}):null]}),c.jsx(Da,{forceRender:f.forceRender??d,...s,...f.contentProps,children:c.jsx(e1,{...i,...f.bodyProps,children:f.children})})]},f.key))}const Ih=u.forwardRef(function(t,r){const{items:n,activeKey:o,defaultActiveKey:s,onChange:i,accordion:a=!1,multiple:l=!0,collapsible:d,disabled:f=!1,bordered:m=!0,size:p="md",variant:v="outlined",expandIcon:g,expandIconPosition:h="end",lazyMount:y=!1,destroyOnHidden:x=!1,forceRender:b=!1,itemProps:w,headerProps:P,triggerProps:C,contentProps:S,bodyProps:N,className:k,class:q,sx:A,style:j,children:E,...I}=t,{sxClassName:_,sxInlineStyle:O}=yr(A),T=u.useRef(new Map),$=!a&&l,M=d??!a,[W,F]=XS({activeKey:o,defaultActiveKey:s,accordion:a,onChange:i}),X=u.useCallback(J=>W.includes(tn(J)),[W]),de=u.useCallback((J,B)=>{if(f||B===!1)return;const G=tn(J),H=W.includes(G);let U;$?U=H?W.filter(Y=>Y!==G):[...W,G]:H?U=M?[]:W:U=[G],U.join("\0")!==W.join("\0")&&F(U)},[W,$,M,f,F]),te=u.useCallback((J,B)=>{const G=tn(J);if(B){T.current.set(G,B);return}T.current.delete(G)},[]),Z=u.useCallback((J,B)=>{const G=Array.from(T.current.entries()).filter(([,Q])=>!Q.disabled);if(G.length===0)return;const H=G.findIndex(([Q])=>Q===tn(J)),U=G.length-1,Y=B==="first"?0:B==="last"?U:B==="next"?H>=U?0:H+1:H<=0?U:H-1;G[Y]?.[1].focus()},[]),K=u.useMemo(()=>({activeKeys:W,accordion:a,allowMultiple:$,bordered:m,collapsible:M,disabled:f,destroyOnHidden:x,expandIcon:g,expandIconPosition:h,focusTrigger:Z,forceRender:b,isActive:X,lazyMount:y,registerTrigger:te,size:p,toggle:de,variant:v}),[W,a,$,m,M,f,x,g,h,Z,b,X,y,te,p,de,v]);return c.jsx(Rh.Provider,{value:K,children:c.jsx("div",{ref:r,className:R("w-full overflow-hidden",m&&v!=="plain"&&"rounded-md border border-slate-200",WS[v],v==="ghost"&&"space-y-2 overflow-visible",_,k,q),style:D(j,O),"data-accordion":a?"":void 0,...I,children:n?t1(n,t):E})})});Ih.displayName="Collapse";const Oa=u.forwardRef(function(t,r){const{value:n,disabled:o=!1,collapsible:s,forceRender:i,lazyMount:a,destroyOnHidden:l,className:d,class:f,sx:m,style:p,children:v,...g}=t,h=Wo("Collapse.Item"),{sxClassName:y,sxInlineStyle:x}=yr(m),b=h.isActive(n),w=u.useId(),P=h.disabled||o,C=u.useMemo(()=>({active:b,collapsible:s,contentId:`${w}-content`,destroyOnHidden:l,disabled:P,forceRender:i,lazyMount:a,triggerId:`${w}-trigger`,value:n}),[b,s,l,i,P,a,w,n]);return c.jsx(Ah.Provider,{value:C,children:c.jsx("div",{ref:r,className:R("overflow-hidden",h.variant==="ghost"&&"rounded-md border border-slate-200",h.bordered&&h.variant!=="ghost"&&"border-b border-slate-200 last:border-b-0",KS[h.variant],P&&"opacity-60",y,d,f),style:D(p,x),"data-state":b?"open":"closed","data-disabled":P?"":void 0,...g,children:v})})});Oa.displayName="CollapseItem";const Ma=u.forwardRef(function(t,r){const{headingLevel:n,className:o,class:s,sx:i,style:a,children:l,...d}=t,f=Ko("Collapse.Header"),{sxClassName:m,sxInlineStyle:p}=yr(i),v=n?`h${n}`:"div";return c.jsx(v,{ref:r,className:R("m-0 flex min-w-0 items-stretch text-slate-900",m,o,s),style:D(a,p),"data-state":f.active?"open":"closed",...d,children:l})});Ma.displayName="CollapseHeader";const La=u.forwardRef(function(t,r){const{className:n,class:o,sx:s,style:i,children:a,disabled:l,showArrow:d=!0,onClick:f,onKeyDown:m,type:p="button",...v}=t,g=Wo("Collapse.Trigger"),h=Ko("Collapse.Trigger"),{sxClassName:y,sxInlineStyle:x}=yr(s),b=g.disabled||h.disabled||l||h.collapsible===!1,w=d===!1?null:g.expandIcon?.({active:h.active,disabled:b,value:h.value})??c.jsx(ZS,{active:h.active,disabled:b,value:h.value,className:po[g.size].icon}),P=u.useCallback(C=>{g.registerTrigger(h.value,C)},[h.value,g]);return c.jsxs("button",{ref:JS(r,P),id:h.triggerId,type:p,className:R("flex min-w-0 flex-1 items-center gap-3 text-left font-medium leading-5 text-slate-900 transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500/40 focus-visible:ring-inset","disabled:cursor-not-allowed disabled:text-slate-500",po[g.size].trigger,GS[g.variant],g.expandIconPosition==="start"&&"flex-row-reverse justify-end",y,n,o),style:D(i,x),disabled:b,"aria-expanded":h.active,"aria-controls":h.contentId,"data-state":h.active?"open":"closed",onClick:C=>{f?.(C),!C.defaultPrevented&&g.toggle(h.value,h.collapsible)},onKeyDown:C=>{m?.(C),!C.defaultPrevented&&(C.key==="ArrowDown"||C.key==="ArrowRight"?(C.preventDefault(),g.focusTrigger(h.value,"next")):C.key==="ArrowUp"||C.key==="ArrowLeft"?(C.preventDefault(),g.focusTrigger(h.value,"prev")):C.key==="Home"?(C.preventDefault(),g.focusTrigger(h.value,"first")):C.key==="End"&&(C.preventDefault(),g.focusTrigger(h.value,"last")))},...v,children:[g.expandIconPosition==="start"?w:null,c.jsx("span",{className:"min-w-0 flex-1",children:a}),g.expandIconPosition==="end"?w:null]})});La.displayName="CollapseTrigger";const Da=u.forwardRef(function(t,r){const{className:n,class:o,sx:s,style:i,children:a,forceRender:l,...d}=t,f=Wo("Collapse.Content"),m=Ko("Collapse.Content"),{sxClassName:p,sxInlineStyle:v}=yr(s),g=m.active,[h,y]=u.useState(g),x=l??m.forceRender??f.forceRender,b=m.destroyOnHidden??f.destroyOnHidden,w=m.lazyMount??f.lazyMount;return u.useEffect(()=>{g&&y(!0)},[g]),x||g||!w&&!b||h&&!b?c.jsx("div",{ref:r,id:m.contentId,role:"region","aria-labelledby":m.triggerId,"aria-hidden":!g,className:R("grid overflow-hidden text-slate-600 transition-[grid-template-rows,opacity] duration-200 ease-out",g?"grid-rows-[1fr] opacity-100":"grid-rows-[0fr] opacity-0",p,n,o),style:D(i,v),"data-state":g?"open":"closed",...d,children:c.jsx("div",{className:"min-h-0 overflow-hidden",children:c.jsx("div",{className:po[f.size].body,children:a})})}):null});Da.displayName="CollapseContent";const Fa=u.forwardRef(function(t,r){const{className:n,class:o,sx:s,style:i,onClick:a,children:l,...d}=t,f=Wo("Collapse.Actions"),m=Ko("Collapse.Actions"),{sxClassName:p,sxInlineStyle:v}=yr(s);return c.jsx("div",{ref:r,className:R("flex shrink-0 items-center gap-2 text-sm text-slate-500",po[f.size].trigger,m.disabled&&"pointer-events-none",p,n,o),style:D(i,v),onClick:g=>{g.stopPropagation(),a?.(g)},...d,children:l})});Fa.displayName="CollapseActions";const r1=Object.assign(Ih,{Actions:Fa,Content:Da,Header:Ma,Item:Oa,Trigger:La}),ru={full:"",middle:"px-4",inset:"pl-4"},n1={full:"",middle:"py-4",inset:"pt-4"};function Th(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}=ee(i,m),g=D(d,v);if(t)return c.jsx("div",{role:"separator","aria-orientation":"vertical",className:R("inline-flex min-h-6 self-stretch items-stretch text-gray-200",n1[r],p,l),style:g,...f,children:c.jsx("span",{"aria-hidden":!0,className:R("border-l border-current",s),style:{borderStyle:o}})});const h=a!=null,y=n==="left"?"w-8 flex-none":"flex-1",x=n==="right"?"w-8 flex-none":"flex-1";return h?c.jsxs("div",{role:"separator","aria-orientation":"horizontal",className:R("flex w-full items-center text-gray-200",ru[r],p,l),style:g,...f,children:[c.jsx("span",{"aria-hidden":!0,className:R(y,"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:R(x,"border-t border-current",s),style:{borderStyle:o}})]}):c.jsx("div",{role:"separator","aria-orientation":"horizontal",className:R("w-full text-gray-200",ru[r],p,l),style:g,...f,children:c.jsx("span",{"aria-hidden":!0,className:R("block w-full border-t border-current",s),style:{borderStyle:o}})})}Th.displayName="Divider";const nu={xs:"gap-1",sm:"gap-2",md:"gap-3",lg:"gap-4",xl:"gap-6"};function o1(e){return e==="col"?"column":e==="col-reverse"?"column-reverse":e}function s1(e){return typeof e=="boolean"?e?"wrap":"nowrap":e}function ou(e){if(e!==void 0)return typeof e=="number"?`${e}px`:e}function i1(e){return typeof e=="number"?{gapStyle:`${e}px`}:typeof e=="string"&&e in nu?{gapClass:nu[e]}:{gapStyle:e}}function _h(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:g}=i1(i),h={flexDirection:o1(t),justifyContent:r,alignItems:n,flexWrap:s1(s),flex:o,gap:g,width:ou(a),height:ou(l)};return c.jsx(ke,{className:R("flex",v,f),style:D(m,h),sx:d,...p})}_h.displayName="Flex";function su(e){if(e!==void 0)return typeof e=="number"?`${e*8}px`:e}function a1(e){return!e||Number.isNaN(e)||e<=0?12:e}function l1(e){return typeof e=="boolean"?e?"wrap":"nowrap":e}function c1(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 u1(e){return e==="auto"?{marginLeft:"auto"}:{marginLeft:`calc(100% * ${e} / var(--ldkj-grid-columns, 12))`}}function Go(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,g=a1(o),h=su(i??s),y=su(a??s),x={};return t?(x.display="flex",x.flexWrap=l1(l),x.flexDirection=d,x.rowGap=h,x.columnGap=y,x["--ldkj-grid-columns"]=String(g)):o!==void 0&&(x["--ldkj-grid-columns"]=String(g)),r!==void 0&&Object.assign(x,c1(r)),n!==void 0&&Object.assign(x,u1(n)),c.jsx(ke,{className:R("min-w-0",m),style:D(p,x),sx:f,...v})}Go.displayName="Grid";function d1(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 Yo(e){const{component:t,position:r="both",horizontal:n=!1,sx:o,className:s,style:i,children:a,...l}=e,d=d1(r,n);return c.jsx(ke,{component:t,className:R("box-border",s),style:D(i,d),sx:o,...l,children:a})}function Oh(e){return c.jsx(Yo,{...e,position:"top"})}function Mh(e){return c.jsx(Yo,{...e,position:"bottom"})}Yo.displayName="SafeArea";Oh.displayName="SafeAreaTop";Mh.displayName="SafeAreaBottom";const iu={sm:640,md:768,lg:1024,xl:1280},au={xs:"0.25rem",sm:"0.5rem",md:"0.75rem",lg:"1rem",xl:"1.5rem"},Lh=Symbol("ldkj-space-item"),Tr=(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(ke,{className:[t,r].filter(Boolean).join(" "),style:D(n,{flex:s,flexGrow:i,flexShrink:a,flexBasis:l,order:d,alignSelf:f}),sx:o,...p,children:m})});Tr.displayName="SpaceItem";Tr[Lh]=!0;function Dh(e){return typeof e!="object"||e===null||Array.isArray(e)?!1:Object.keys(e).some(r=>["xs","sm","md","lg","xl"].includes(r))}function Gr(e){if(e!==void 0)return Dh(e)?e.xs:e}function Yr(e,t){if(e===void 0||!Dh(e))return;const r={};return Object.keys(iu).forEach(n=>{const o=e[n];if(o===void 0)return;const s=iu[n];r[`@media (min-width: ${s}px)`]=t(o)}),Object.keys(r).length?r:void 0}function lu(e){return e==="vertical"?"column":"row"}function cu(e){return e===void 0?"wrap":typeof e=="boolean"?e?"wrap":"nowrap":e}function Vt(e){return typeof e=="number"?`${e}px`:e in au?au[e]:e}function uu(e){if(e===void 0){const r=Vt("md");return{rowGap:r,columnGap:r}}if(Array.isArray(e))return{rowGap:Vt(e[0]),columnGap:Vt(e[1])};if(typeof e=="object"){if("row"in e||"column"in e)return{rowGap:Vt(e.row??"md"),columnGap:Vt(e.column??"md")};if("x"in e||"y"in e)return{rowGap:Vt(e.y??"md"),columnGap:Vt(e.x??"md")}}const t=Vt(e);return{rowGap:t,columnGap:t}}function f1(e){return!!e.type?.[Lh]}function Fh(e,t,r,n,o){if(u.isValidElement(e)&&f1(e)){const s=[r,e.props.className,e.props.class].filter(Boolean).join(" ");return c.jsx(Tr,{...e.props,className:s||void 0,style:D(n,e.props.style),sx:[o,e.props.sx],children:e.props.children},e.key??`space-item-${t}`)}return c.jsx(Tr,{className:r,style:n,sx:o,children:e},u.isValidElement(e)?e.key??`space-item-${t}`:`space-item-${t}`)}function m1(e,t,r,n,o){const s=u.Children.toArray(e),i=[];return s.forEach((a,l)=>{i.push(Fh(a,l,r,n,o)),l<s.length-1&&i.push(c.jsx(Tr,{"aria-hidden":"true",children:t},`space-split-${l}`))}),i}const Ba=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,g=Gr(t)??"horizontal",h=Gr(r)??"md",y=Gr(n)??!0,x=Gr(o),b=Gr(s),w=uu(h),P={display:"flex",flexDirection:lu(g),flexWrap:cu(y),alignItems:x,justifyContent:b,rowGap:w.rowGap,columnGap:w.columnGap},C=Yr(t,E=>({flexDirection:lu(E)})),S=Yr(r,E=>uu(E)),N=Yr(n,E=>({flexWrap:cu(E)})),k=Yr(o,E=>({alignItems:E})),q=Yr(s,E=>({justifyContent:E})),A=[C,S,N,k,q,f],j=i!=null?m1(m,i,a,l,d):u.Children.toArray(m).map((E,I)=>Fh(E,I,a,l,d));return c.jsx(ke,{style:D(p,P),sx:A,...v,children:j})};Ba.displayName="Space";Ba.Item=Tr;const h1={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 p1(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}=ee(o,d);return c.jsx(l,{className:R(h1[i],f,r,n),style:D(s,m),...a})}function v1(e){return e===void 0?{}:Array.isArray(e)?{rowSpacing:e[0],columnSpacing:e[1]}:{spacing:e}}function Bh(e){const{gutter:t=0,align:r,justify:n,wrap:o="wrap",direction:s="row",style:i,...a}=e,l=v1(t);return c.jsx(Go,{container:!0,wrap:o,direction:s,style:D(i,{alignItems:r,justifyContent:n}),...l,...a})}Bh.displayName="Row";function $h(e){const{span:t,offset:r,flex:n,style:o,...s}=e;return c.jsx(Go,{size:t,offset:r,style:D(o,{flex:n}),...s})}$h.displayName="Col";const Vh=u.createContext({}),zh=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}=ee(n,f),v=Array.isArray(t)&&t.length>0;return c.jsx(Vh.Provider,{value:{separator:e},children:c.jsx("nav",{ref:d,"aria-label":"breadcrumb",className:R(m,s,i),style:D(o,p),...l,children:v?c.jsx($a,{...r,children:t.map((g,h)=>{const{key:y,label:x,href:b,current:w,separator:P,ellipsis:C,itemProps:S,linkProps:N,pageProps:k}=g,q=h===t.length-1,A=w??q;return c.jsxs(u.Fragment,{children:[c.jsx(Va,{...S,children:C?c.jsx(Wa,{}):A?c.jsx(Ha,{...k,children:x}):c.jsx(za,{href:b,...N,children:x})}),q?null:c.jsx(Ua,{children:P})]},y??h)})}):a})})});zh.displayName="Breadcrumb";const $a=u.forwardRef(({sx:e,style:t,className:r,class:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=ee(e,i),d={listStyle:"none",margin:0,padding:0};return c.jsx("ol",{ref:s,className:R("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:D(d,t,l),...o})});$a.displayName="BreadcrumbList";const Va=u.forwardRef(({sx:e,style:t,className:r,class:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=ee(e,i),d={margin:0,display:"inline-flex",alignItems:"center"};return c.jsx("li",{ref:s,className:R("inline-flex items-center gap-1.5 leading-none",a,r,n),style:D(d,t,l),...o})});Va.displayName="BreadcrumbItem";const za=u.forwardRef(({component:e,sx:t,style:r,className:n,class:o,...s},i)=>{const a=e??"a",l=se(),{sxClassName:d,sxInlineStyle:f}=ee(t,l);return c.jsx(a,{ref:i,className:R("inline-flex items-center leading-none transition-colors hover:text-foreground",d,n,o),style:D(r,f),...s})});za.displayName="BreadcrumbLink";const Ha=u.forwardRef(({sx:e,style:t,className:r,class:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=ee(e,i);return c.jsx("span",{ref:s,role:"link","aria-disabled":"true","aria-current":"page",className:R("inline-flex items-center font-normal leading-none text-foreground",a,r,n),style:D(t,l),...o})});Ha.displayName="BreadcrumbPage";const Ua=({children:e,sx:t,style:r,className:n,class:o,...s})=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=ee(t,i),{separator:d}=u.useContext(Vh),f={margin:0,display:"inline-flex",alignItems:"center"};return c.jsx("li",{role:"presentation","aria-hidden":"true",className:R("shrink-0 leading-none [&>svg]:h-3.5 [&>svg]:w-3.5",a,n,o),style:D(f,r,l),...s,children:e??d??c.jsx($e,{name:"chevron_right"})})};Ua.displayName="BreadcrumbSeparator";const Wa=({sx:e,style:t,className:r,class:n,...o})=>{const s=se(),{sxClassName:i,sxInlineStyle:a}=ee(e,s);return c.jsxs("span",{role:"presentation","aria-hidden":"true",className:R("flex h-9 w-9 items-center justify-center",i,r,n),style:D(t,a),...o,children:[c.jsx($e,{name:"more_horiz",className:"h-4 w-4"}),c.jsx("span",{className:"sr-only",children:"More"})]})};Wa.displayName="BreadcrumbEllipsis";function g1(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 Hh(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}=ee(d,m),g=R("inline-flex w-fit p-0",p,a,l),h=D(f,v),y=()=>{g1(t,{behavior:n,block:o,inline:s,offset:r}),i?.(t)};if(e.hash===!0){const{hash:O,onClick:T,href:$,onNavigate:M,class:W,sx:F,offset:X,behavior:de,block:te,inline:Z,...K}=e;return c.jsx("a",{href:$??`#${t}`,className:g,style:h,onClick:J=>{J.preventDefault(),y(),T?.(J)},...K})}const{component:x,onClick:b,onKeyDown:w,hash:P,onNavigate:C,class:S,sx:N,offset:k,behavior:q,block:A,inline:j,...E}=e,I=x??"button",_=I==="button";return c.jsx(I,{className:g,style:h,type:_?"button":void 0,role:_?void 0:"button",tabIndex:_?void 0:0,onClick:O=>{y(),b?.(O)},onKeyDown:O=>{!_&&(O.key==="Enter"||O.key===" ")&&(O.preventDefault(),y()),w?.(O)},...E})}Hh.displayName="Anchor";function b1(){return u.useRef(null)}const Ka=u.createContext(null),dn=u.createContext(0),Ci=u.createContext(null);function Uh(e){const t=u.useContext(Ka);if(!t)throw new Error(`${e} must be used within Menu.`);return t}function du(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 vo(e){return typeof e=="number"?`${e}px`:e}function x1(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 y1(e,t){return e.key??e.href??t.join("-")}function w1(e){return e.key==="Enter"||e.key===" "}function Sn(e){const{className:t,class:r,sx:n,style:o,...s}=e,i=u.useContext(Ka),a=se(),{sxClassName:l,sxInlineStyle:d}=ee(n,a),f={display:"flex",flexDirection:"column",gap:i?vo(i.itemGap):void 0,listStyle:"none",margin:0,padding:0};return c.jsx("ul",{className:R("m-0 list-none p-0",l,t,r),style:D(f,o,d),...s})}Sn.displayName="Menu.List";function Ga(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:g,style:h,children:y,...x}=e,b=Uh("Menu.Item"),w=u.useContext(dn),P=l??b.selectedKeys.includes(t),C=se(),{sxClassName:S,sxInlineStyle:N}=ee(g,C),k=i??(s?"a":"button"),q=k==="button",A=j=>{if(a){j.preventDefault();return}b.selectKey(t,d),m?.(t),f?.(j)};return c.jsx("li",{role:"none",style:{listStyle:"none",margin:0},children:c.jsxs(k,{className:R("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:D({paddingLeft:`calc(0.75rem + ${w} * ${vo(b.indent)})`},h,N),href:s,type:q?"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:q?a:void 0,onClick:A,...x,children:[n?c.jsx($e,{name:n,size:18,className:"shrink-0",...o}):null,c.jsx("span",{className:"min-w-0 flex-1 truncate",children:r??y})]})})}Ga.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,...m}=e,p=Uh("Menu.Sub"),v=u.useContext(dn),g=u.useContext(Ci),h=p.openKeys.includes(t),y=se(),{sxClassName:x,sxInlineStyle:b}=ee(l,y);return u.useEffect(()=>p.registerSub(t,g),[p,t,g]),c.jsxs("li",{className:R(x,i,a),style:D({display:"flex",flexDirection:"column",gap:vo(p.itemGap),listStyle:"none",margin:0},d,b),...m,children:[c.jsxs("button",{type:"button",className:R("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} * ${vo(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&&w1(w)&&(w.preventDefault(),p.toggleOpenKey(t))},children:[n?c.jsx($e,{name:n,size:18,className:"shrink-0",...o}):null,c.jsx("span",{className:"min-w-0 flex-1 truncate",children:r}),c.jsx($e,{name:"unfold_more",size:18,className:R("shrink-0 transition-transform",h?"rotate-180":"rotate-90")})]}),h?c.jsx(dn.Provider,{value:v+1,children:c.jsx(Ci.Provider,{value:t,children:c.jsx(Sn,{role:"menu","aria-label":typeof r=="string"?r:void 0,children:f})})}):null]})}Ya.displayName="Menu.Sub";function Xa(e){const{label:t,className:r,class:n,sx:o,style:s,children:i,...a}=e,l=u.useContext(dn),d=se(),{sxClassName:f,sxInlineStyle:m}=ee(o,d);return c.jsxs("li",{className:R("py-1",f,r,n),style:D({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(Sn,{role:"group",children:i})]})}Xa.displayName="Menu.Group";function Si(e,t=[]){return e.map((r,n)=>{const o=[...t,n],s=y1(r,o);return r.type==="group"?c.jsx(Xa,{label:r.label,...r.groupProps,children:r.children?Si(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?Si(r.children,o):null},s):c.jsx(Ga,{itemKey:s,label:r.label,icon:r.icon,iconProps:r.iconProps,href:r.href,disabled:r.disabled,unselectOnClick:r.unselectOnClick,...r.itemProps},s)})}function Wh(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:g,listProps:h,className:y,class:x,style:b,component:w,...P}=e,[C,S]=du({value:r,defaultValue:n,onChange:o}),[N,k]=du({value:s,defaultValue:i,onChange:a}),q=u.useRef(new Map),A=u.useCallback((O,T)=>(q.current.set(O,T),()=>{q.current.delete(O)}),[]),j=u.useCallback((O,T)=>{const $=l?C.includes(O)?C.filter(M=>M!==O):[...C,O]:C.includes(O)&&T?[]:[O];S($,O)},[l,C,S]),E=u.useCallback((O,T)=>{const $=N;let M=$;if(T){if($.includes(O))return;if(d){const W=q.current.get(O)??null;M=$.filter(F=>q.current.get(F)!==W)}M=[...M,O]}else M=$.filter(W=>W!==O);k(M,O)},[d,N,k]),I=u.useCallback(O=>{E(O,!N.includes(O))},[N,E]);u.useImperativeHandle(v,()=>({select:O=>j(O),unselect:O=>S(C.filter(T=>T!==O),O),open:O=>E(O,!0),close:O=>E(O,!1),toggleOpen:I,getSelectedKeys:()=>C,getOpenKeys:()=>N}),[N,j,C,E,S,I]);const _=u.useMemo(()=>({selectedKeys:C,openKeys:N,multiple:l,accordion:d,indent:f,itemGap:m,selectKey:j,toggleOpenKey:I,registerSub:A}),[d,f,m,l,N,A,j,C,I]);return c.jsx(Ka.Provider,{value:_,children:c.jsx(dn.Provider,{value:0,children:c.jsx(Ci.Provider,{value:null,children:c.jsx(ke,{component:w??"nav",className:R("w-64 rounded-lg border border-slate-200 bg-white p-1",y,x),style:D(x1(p),b),"aria-label":"Menu",...P,children:c.jsx(Sn,{role:"menu",...h,children:t?Si(t):g})})})})})}Wh.displayName="Menu";const P1=Object.assign(Wh,{Item:Ga,Sub:Ya,Group:Xa,List:Sn});var Xo="Tabs",[C1]=xt(Xo,[Do]),Kh=Do(),[S1,Ja]=C1(Xo),Gh=u.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,onValueChange:o,defaultValue:s,orientation:i="horizontal",dir:a,activationMode:l="automatic",...d}=e,f=Lo(a),[m,p]=_t({prop:n,onChange:o,defaultProp:s??"",caller:Xo});return c.jsx(S1,{scope:r,baseId:vr(),value:m,onValueChange:p,orientation:i,dir:f,activationMode:l,children:c.jsx(ye.div,{dir:f,"data-orientation":i,...d,ref:t})})});Gh.displayName=Xo;var Yh="TabsList",Xh=u.forwardRef((e,t)=>{const{__scopeTabs:r,loop:n=!0,...o}=e,s=Ja(Yh,r),i=Kh(r);return c.jsx(Df,{asChild:!0,...i,orientation:s.orientation,dir:s.dir,loop:n,children:c.jsx(ye.div,{role:"tablist","aria-orientation":s.orientation,...o,ref:t})})});Xh.displayName=Yh;var Jh="TabsTrigger",Qh=u.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...s}=e,i=Ja(Jh,r),a=Kh(r),l=tp(i.baseId,n),d=rp(i.baseId,n),f=n===i.value;return c.jsx(Ff,{asChild:!0,...a,focusable:!o,active:f,children:c.jsx(ye.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:pe(e.onMouseDown,m=>{!o&&m.button===0&&m.ctrlKey===!1?i.onValueChange(n):m.preventDefault()}),onKeyDown:pe(e.onKeyDown,m=>{[" ","Enter"].includes(m.key)&&i.onValueChange(n)}),onFocus:pe(e.onFocus,()=>{const m=i.activationMode!=="manual";!f&&!o&&m&&i.onValueChange(n)})})})});Qh.displayName=Jh;var Zh="TabsContent",ep=u.forwardRef((e,t)=>{const{__scopeTabs:r,value:n,forceMount:o,children:s,...i}=e,a=Ja(Zh,r),l=tp(a.baseId,n),d=rp(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(Qt,{present:o||f,children:({present:p})=>c.jsx(ye.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})})});ep.displayName=Zh;function tp(e,t){return`${e}-trigger-${t}`}function rp(e,t){return`${e}-content-${t}`}var N1=Gh,np=Xh,op=Qh,sp=ep;function ip(e){const{items:t,listProps:r,sx:n,style:o,className:s,class:i,children:a,...l}=e,d=se(),{sxClassName:f,sxInlineStyle:m}=ee(n,d),p=Array.isArray(t)&&t.length>0;return c.jsx(N1,{className:R("w-full",f,s,i),style:D(o,m),...l,children:p?c.jsxs(c.Fragment,{children:[c.jsx(Qa,{...r,children:t.map(v=>c.jsx(Za,{value:v.value,disabled:v.disabled,...v.triggerProps,children:v.label},v.value))}),t.map(v=>c.jsx(el,{value:v.value,...v.contentProps,children:v.content},v.value))]}):a})}ip.displayName="Tabs";const Qa=u.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=ee(r,i);return c.jsx(np,{ref:s,className:R("inline-flex min-h-10 items-center gap-1 rounded-lg bg-slate-100 p-1 text-slate-600",a,e,t),style:D(n,l),...o})});Qa.displayName=np.displayName;const Za=u.forwardRef(({className:e,class:t,sx:r,style:n,...o},s)=>{const i=se(),{sxClassName:a,sxInlineStyle:l}=ee(r,i);return c.jsx(op,{ref:s,className:R("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:D(n,l),...o})});Za.displayName=op.displayName;const el=u.forwardRef(({className:e,class:t,sx:r,style:n,borderless:o=!1,...s},i)=>{const a=se(),{sxClassName:l,sxInlineStyle:d}=ee(r,a);return c.jsx(sp,{ref:i,className:R("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:D(n,d),...s})});el.displayName=sp.displayName;exports.Alert=Xy;exports.Anchor=Hh;exports.AutoComplete=Af;exports.Avatar=ph;exports.AvatarFallback=Sa;exports.AvatarImage=Ca;exports.Badge=JC;exports.Box=ke;exports.Breadcrumb=zh;exports.BreadcrumbEllipsis=Wa;exports.BreadcrumbItem=Va;exports.BreadcrumbLink=za;exports.BreadcrumbList=$a;exports.BreadcrumbPage=Ha;exports.BreadcrumbSeparator=Ua;exports.Button=vt;exports.Card=Mt;exports.Cascader=tm;exports.Checkbox=xn;exports.CheckboxGroup=kf;exports.Chip=gh;exports.Col=$h;exports.Collapse=r1;exports.Dialog=vg;exports.DialogClose=_i;exports.DialogContent=Mi;exports.DialogDescription=Bi;exports.DialogFooter=Di;exports.DialogHeader=Li;exports.DialogOverlay=Oi;exports.DialogPortal=Xu;exports.DialogTitle=Fi;exports.DialogTrigger=Ti;exports.Divider=Th;exports.Drawer=Wy;exports.Empty=ZC;exports.Flex=_h;exports.Form=om;exports.FormItem=ha;exports.GhostButton=no;exports.GhostButtonGroup=Vu;exports.Grid=Go;exports.Icon=$e;exports.Image=bh;exports.Input=ca;exports.InputNumber=Ef;exports.InputOPT=Rf;exports.Label=Oo;exports.List=QC;exports.Loading=zy;exports.Menu=P1;exports.MobileCascader=Zm;exports.MobileSelect=Qm;exports.Modal=Ii;exports.NotificationProvider=ff;exports.Pagination=qa;exports.PaginationContent=ja;exports.PaginationEllipsis=Aa;exports.PaginationItem=ir;exports.PaginationLink=Pn;exports.PaginationNext=Ra;exports.PaginationPrevious=Ea;exports.Popover=Ud;exports.PopoverAnchor=sy;exports.PopoverClose=Wd;exports.PopoverContent=na;exports.PopoverTrigger=ra;exports.Progress=hf;exports.QRCode=qS;exports.QRCodeBase=ES;exports.QRCodeCanvas=Ch;exports.QRCodeSizable=Sh;exports.Radio=da;exports.RadioGroup=Qf;exports.Rate=Zf;exports.Required=Lw;exports.Row=Bh;exports.SafeArea=Yo;exports.SafeAreaBottom=Mh;exports.SafeAreaTop=Oh;exports.Select=Dm;exports.SelectContent=Vm;exports.SelectGroup=Fm;exports.SelectItem=fo;exports.SelectItems=rC;exports.SelectLabel=xa;exports.SelectScrollDownButton=ba;exports.SelectScrollUpButton=ga;exports.SelectSeparator=ya;exports.SelectTrigger=$m;exports.SelectValue=QP;exports.Skeleton=Cn;exports.SkeletonAvatar=_a;exports.SkeletonButton=jh;exports.SkeletonCard=Eh;exports.SkeletonText=Ta;exports.Slider=rm;exports.Space=Ba;exports.Spin=mf;exports.Switch=Gm;exports.SxProvider=ev;exports.Table=rr;exports.Tabs=ip;exports.TabsContent=el;exports.TabsList=Qa;exports.TabsTrigger=Za;exports.ToastProvider=Wu;exports.Tooltip=Ey;exports.TooltipArrow=ia;exports.TooltipContent=lf;exports.TooltipPortal=Ry;exports.TooltipProvider=jy;exports.TooltipTrigger=af;exports.Typography=p1;exports.UPLOADER_LIST_IGNORE=pa;exports.Uploader=hP;exports.UploaderProvider=im;exports.buttonVariants=gu;exports.chipVariants=vh;exports.createTheme=tv;exports.getRegisteredIconNames=ng;exports.mergeSxStyle=D;exports.notification=Ty;exports.registerIconLoaders=eg;exports.resetIconLoaders=rg;exports.resolveSx=ee;exports.setIconLoaders=tg;exports.toast=mg;exports.useForm=fa;exports.useFormInstance=ma;exports.useFormValue=$o;exports.useFormWatch=nm;exports.useInputNumberState=O0;exports.useMenuRef=b1;exports.useNotification=By;exports.useNumberInput=jf;exports.useSxTheme=se;exports.useToast=fg;exports.useUploaderProvider=mP;
|