moi-computer 0.9.1-next.5 → 0.10.1-next.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.
Files changed (35) hide show
  1. package/README.md +124 -58
  2. package/client/app/shell/SidebarLayout.tsx +111 -79
  3. package/client/features/chat/ChatEmptyState.tsx +70 -34
  4. package/client/features/chat/ChatPanel.tsx +8 -1
  5. package/client/features/chat/chat-store.ts +4 -0
  6. package/client/features/home/workspace-setup/WorkspaceAgentStep.tsx +22 -5
  7. package/client/features/update/Update.tsx +78 -0
  8. package/client/features/update/api.ts +35 -0
  9. package/client/features/workspace/WorkspaceScreen.tsx +15 -0
  10. package/dist/{chunk-yt2qjn3m.js → chunk-0set7tmf.js} +2 -2
  11. package/dist/chunk-4057kxht.css +1 -0
  12. package/dist/{chunk-te5sfhvx.js → chunk-5t06zksf.js} +2 -2
  13. package/dist/{chunk-9y2zbzqz.js → chunk-97eg9mjn.js} +1 -1
  14. package/dist/chunk-b5c62p8h.js +1 -0
  15. package/dist/chunk-dfe7qnrp.js +1 -0
  16. package/dist/{chunk-0pcdwjkp.js → chunk-efdyz6xp.js} +1 -1
  17. package/dist/chunk-f6xmz3tn.js +83 -0
  18. package/dist/chunk-h2kj1ysj.js +1 -0
  19. package/dist/{chunk-yhj9bg1s.js → chunk-ht1f95h9.js} +2 -2
  20. package/dist/chunk-qtc5a8qa.js +10 -0
  21. package/dist/index.html +1 -1
  22. package/lib/types.ts +9 -0
  23. package/lib/update.ts +2 -0
  24. package/package.json +1 -1
  25. package/server/api.ts +46 -0
  26. package/server/cli.ts +7 -6
  27. package/server/constants.ts +4 -2
  28. package/server/update.ts +293 -5
  29. package/server/web.ts +1 -1
  30. package/dist/chunk-4xmcsjjv.js +0 -1
  31. package/dist/chunk-9m59hf8p.js +0 -10
  32. package/dist/chunk-dfs36zgc.js +0 -1
  33. package/dist/chunk-hffvjnmj.js +0 -85
  34. package/dist/chunk-pq93pv5z.js +0 -1
  35. package/dist/chunk-xtr8kvqx.css +0 -1
@@ -1,10 +0,0 @@
1
- import{Qc as C}from"/chunk-yhj9bg1s.js";import{Uc as b,Vc as D7,Xc as dG}from"/chunk-9y2zbzqz.js";var M0=D7((fK,D9)=>{D9.exports=globalThis.__esm["react/jsx-runtime"]});var v2=D7((gK,w9)=>{w9.exports=globalThis.__esm["react-dom/client"]});var aY=D7((R38,nY)=>{nY.exports=globalThis.__esm["react-dom"]});var w7=new Map;function uK(Q,J){if(J)w7.set(Q,J);else w7.delete(Q)}function dK(Q){return w7.get(Q)}var y8=b(C(),1),N9=b(M0(),1),V9=y8.createContext("default");function pK(){return y8.useContext(V9)}function mK({id:Q,children:J}){return N9.jsx(V9,{value:Q,children:J})}function A9(Q){var J,Z,Y="";if(typeof Q=="string"||typeof Q=="number")Y+=Q;else if(typeof Q=="object")if(Array.isArray(Q)){var X=Q.length;for(J=0;J<X;J++)Q[J]&&(Z=A9(Q[J]))&&(Y&&(Y+=" "),Y+=Z)}else for(Z in Q)Q[Z]&&(Y&&(Y+=" "),Y+=Z);return Y}function S1(){for(var Q,J,Z=0,Y="",X=arguments.length;Z<X;Z++)(Q=arguments[Z])&&(J=A9(Q))&&(Y&&(Y+=" "),Y+=J);return Y}var iK=S1;var f2=(Q,J)=>{let Z=Array(Q.length+J.length);for(let Y=0;Y<Q.length;Y++)Z[Y]=Q[Y];for(let Y=0;Y<J.length;Y++)Z[Q.length+Y]=J[Y];return Z},g2=(Q,J)=>({classGroupId:Q,validator:J}),E9=(Q=new Map,J=null,Z)=>({nextPart:Q,validators:J,classGroupId:Z});var _9=[];var u2=(Q)=>{let J=c2(Q),{conflictingClassGroups:Z,conflictingClassGroupModifiers:Y}=Q;return{getClassGroupId:(q)=>{if(q.startsWith("[")&&q.endsWith("]"))return d2(q);let H=q.split("-"),W=H[0]===""&&H.length>1?1:0;return P9(H,W,J)},getConflictingClassGroupIds:(q,H)=>{if(H){let W=Y[q],z=Z[q];if(W){if(z)return f2(z,W);return W}return z||_9}return Z[q]||_9}}},P9=(Q,J,Z)=>{if(Q.length-J===0)return Z.classGroupId;let X=Q[J],$=Z.nextPart.get(X);if($){let z=P9(Q,J+1,$);if(z)return z}let q=Z.validators;if(q===null)return;let H=J===0?Q.join("-"):Q.slice(J).join("-"),W=q.length;for(let z=0;z<W;z++){let G=q[z];if(G.validator(H))return G.classGroupId}return},d2=(Q)=>Q.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let J=Q.slice(1,-1),Z=J.indexOf(":"),Y=J.slice(0,Z);return Y?"arbitrary.."+Y:void 0})(),c2=(Q)=>{let{theme:J,classGroups:Z}=Q;return p2(Z,J)},p2=(Q,J)=>{let Z=E9();for(let Y in Q){let X=Q[Y];N7(X,Z,Y,J)}return Z},N7=(Q,J,Z,Y)=>{let X=Q.length;for(let $=0;$<X;$++){let q=Q[$];m2(q,J,Z,Y)}},m2=(Q,J,Z,Y)=>{if(typeof Q==="string"){l2(Q,J,Z);return}if(typeof Q==="function"){r2(Q,J,Z,Y);return}i2(Q,J,Z,Y)},l2=(Q,J,Z)=>{let Y=Q===""?J:S9(J,Q);Y.classGroupId=Z},r2=(Q,J,Z,Y)=>{if(s2(Q)){N7(Q(Y),J,Z,Y);return}if(J.validators===null)J.validators=[];J.validators.push(g2(Z,Q))},i2=(Q,J,Z,Y)=>{let X=Object.entries(Q),$=X.length;for(let q=0;q<$;q++){let[H,W]=X[q];N7(W,S9(J,H),Z,Y)}},S9=(Q,J)=>{let Z=Q,Y=J.split("-"),X=Y.length;for(let $=0;$<X;$++){let q=Y[$],H=Z.nextPart.get(q);if(!H)H=E9(),Z.nextPart.set(q,H);Z=H}return Z},s2=(Q)=>("isThemeGetter"in Q)&&Q.isThemeGetter===!0,o2=(Q)=>{if(Q<1)return{get:()=>{return},set:()=>{}};let J=0,Z=Object.create(null),Y=Object.create(null),X=($,q)=>{if(Z[$]=q,J++,J>Q)J=0,Y=Z,Z=Object.create(null)};return{get($){let q=Z[$];if(q!==void 0)return q;if((q=Y[$])!==void 0)return X($,q),q},set($,q){if($ in Z)Z[$]=q;else X($,q)}}};var n2=[],T9=(Q,J,Z,Y,X)=>({modifiers:Q,hasImportantModifier:J,baseClassName:Z,maybePostfixModifierPosition:Y,isExternal:X}),a2=(Q)=>{let{prefix:J,experimentalParseClassName:Z}=Q,Y=(X)=>{let $=[],q=0,H=0,W=0,z,G=X.length;for(let V=0;V<G;V++){let D=X[V];if(q===0&&H===0){if(D===":"){$.push(X.slice(W,V)),W=V+1;continue}if(D==="/"){z=V;continue}}if(D==="[")q++;else if(D==="]")q--;else if(D==="(")H++;else if(D===")")H--}let K=$.length===0?X:X.slice(W),B=K,O=!1;if(K.endsWith("!"))B=K.slice(0,-1),O=!0;else if(K.startsWith("!"))B=K.slice(1),O=!0;let U=z&&z>W?z-W:void 0;return T9($,O,B,U)};if(J){let X=J+":",$=Y;Y=(q)=>q.startsWith(X)?$(q.slice(X.length)):T9(n2,!1,q,void 0,!0)}if(Z){let X=Y;Y=($)=>Z({className:$,parseClassName:X})}return Y},t2=(Q)=>{let J=new Map;return Q.orderSensitiveModifiers.forEach((Z,Y)=>{J.set(Z,1e6+Y)}),(Z)=>{let Y=[],X=[];for(let $=0;$<Z.length;$++){let q=Z[$],H=q[0]==="[",W=J.has(q);if(H||W){if(X.length>0)X.sort(),Y.push(...X),X=[];Y.push(q)}else X.push(q)}if(X.length>0)X.sort(),Y.push(...X);return Y}},e2=(Q)=>({cache:o2(Q.cacheSize),parseClassName:a2(Q),sortModifiers:t2(Q),postfixLookupClassGroupIds:QX(Q),...u2(Q)}),QX=(Q)=>{let J=Object.create(null),Z=Q.postfixLookupClassGroups;if(Z)for(let Y=0;Y<Z.length;Y++)J[Z[Y]]=!0;return J},JX=/\s+/,ZX=(Q,J)=>{let{parseClassName:Z,getClassGroupId:Y,getConflictingClassGroupIds:X,sortModifiers:$,postfixLookupClassGroupIds:q}=J,H=[],W=Q.trim().split(JX),z="";for(let G=W.length-1;G>=0;G-=1){let K=W[G],{isExternal:B,modifiers:O,hasImportantModifier:U,baseClassName:V,maybePostfixModifierPosition:D}=Z(K);if(B){z=K+(z.length>0?" "+z:z);continue}let N=!!D,T;if(N){let k=V.substring(0,D);T=Y(k);let _=T&&q[T]?Y(V):void 0;if(_&&_!==T)T=_,N=!1}else T=Y(V);if(!T){if(!N){z=K+(z.length>0?" "+z:z);continue}if(T=Y(V),!T){z=K+(z.length>0?" "+z:z);continue}N=!1}let A=O.length===0?"":O.length===1?O[0]:$(O).join(":"),w=U?A+"!":A,I=w+T;if(H.indexOf(I)>-1)continue;H.push(I);let L=X(T,N);for(let k=0;k<L.length;++k){let _=L[k];H.push(w+_)}z=K+(z.length>0?" "+z:z)}return z},YX=(...Q)=>{let J=0,Z,Y,X="";while(J<Q.length)if(Z=Q[J++]){if(Y=j9(Z))X&&(X+=" "),X+=Y}return X},j9=(Q)=>{if(typeof Q==="string")return Q;let J,Z="";for(let Y=0;Y<Q.length;Y++)if(Q[Y]){if(J=j9(Q[Y]))Z&&(Z+=" "),Z+=J}return Z},XX=(Q,...J)=>{let Z,Y,X,$,q=(W)=>{let z=J.reduce((G,K)=>K(G),Q());return Z=e2(z),Y=Z.cache.get,X=Z.cache.set,$=H,H(W)},H=(W)=>{let z=Y(W);if(z)return z;let G=ZX(W,Z);return X(W,G),G};return $=q,(...W)=>$(YX(...W))},qX=[],Y0=(Q)=>{let J=(Z)=>Z[Q]||qX;return J.isThemeGetter=!0,J},k9=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,b9=/^\((?:(\w[\w-]*):)?(.+)\)$/i,$X=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,HX=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,WX=/\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$/,zX=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,GX=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,KX=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Z5=(Q)=>$X.test(Q),x=(Q)=>!!Q&&!Number.isNaN(Number(Q)),C0=(Q)=>!!Q&&Number.isInteger(Number(Q)),V7=(Q)=>Q.endsWith("%")&&x(Q.slice(0,-1)),i0=(Q)=>HX.test(Q),h9=()=>!0,BX=(Q)=>WX.test(Q)&&!zX.test(Q),A7=()=>!1,FX=(Q)=>GX.test(Q),OX=(Q)=>KX.test(Q),UX=(Q)=>!P(Q)&&!S(Q),DX=(Q)=>Q.startsWith("@container")&&(Q[10]==="/"&&Q[11]!==void 0||Q[11]==="s"&&Q[16]!==void 0&&Q.startsWith("-size/",10)||Q[11]==="n"&&Q[18]!==void 0&&Q.startsWith("-normal/",10)),wX=(Q)=>Y5(Q,x9,A7),P=(Q)=>k9.test(Q),_5=(Q)=>Y5(Q,y9,BX),I9=(Q)=>Y5(Q,MX,x),VX=(Q)=>Y5(Q,f9,h9),NX=(Q)=>Y5(Q,v9,A7),L9=(Q)=>Y5(Q,C9,A7),AX=(Q)=>Y5(Q,R9,OX),v8=(Q)=>Y5(Q,g9,FX),S=(Q)=>b9.test(Q),j1=(Q)=>T5(Q,y9),_X=(Q)=>T5(Q,v9),M9=(Q)=>T5(Q,C9),TX=(Q)=>T5(Q,x9),IX=(Q)=>T5(Q,R9),f8=(Q)=>T5(Q,g9,!0),LX=(Q)=>T5(Q,f9,!0),Y5=(Q,J,Z)=>{let Y=k9.exec(Q);if(Y){if(Y[1])return J(Y[1]);return Z(Y[2])}return!1},T5=(Q,J,Z=!1)=>{let Y=b9.exec(Q);if(Y){if(Y[1])return J(Y[1]);return Z}return!1},C9=(Q)=>Q==="position"||Q==="percentage",R9=(Q)=>Q==="image"||Q==="url",x9=(Q)=>Q==="length"||Q==="size"||Q==="bg-size",y9=(Q)=>Q==="length",MX=(Q)=>Q==="number",v9=(Q)=>Q==="family-name",f9=(Q)=>Q==="number"||Q==="weight",g9=(Q)=>Q==="shadow";var EX=()=>{let Q=Y0("color"),J=Y0("font"),Z=Y0("text"),Y=Y0("font-weight"),X=Y0("tracking"),$=Y0("leading"),q=Y0("breakpoint"),H=Y0("container"),W=Y0("spacing"),z=Y0("radius"),G=Y0("shadow"),K=Y0("inset-shadow"),B=Y0("text-shadow"),O=Y0("drop-shadow"),U=Y0("blur"),V=Y0("perspective"),D=Y0("aspect"),N=Y0("ease"),T=Y0("animate"),A=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],I=()=>[...w(),S,P],L=()=>["auto","hidden","clip","visible","scroll"],k=()=>["auto","contain","none"],_=()=>[S,P,W],j=()=>[Z5,"full","auto",..._()],v=()=>[C0,"none","subgrid",S,P],o=()=>["auto",{span:["full",C0,S,P]},C0,S,P],u=()=>[C0,"auto",S,P],n=()=>["auto","min","max","fr",S,P],c=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],t=()=>["start","end","center","stretch","center-safe","end-safe"],f=()=>["auto",..._()],r=()=>[Z5,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",..._()],h=()=>[Z5,"screen","full","dvw","lvw","svw","min","max","fit",..._()],g=()=>[Z5,"screen","full","lh","dvh","lvh","svh","min","max","fit",..._()],E=()=>[Q,S,P],r0=()=>[...w(),M9,L9,{position:[S,P]}],b8=()=>["no-repeat",{repeat:["","x","y","space","round"]}],F9=()=>["auto","cover","contain",TX,wX,{size:[S,P]}],O7=()=>[V7,j1,_5],G0=()=>["","none","full",z,S,P],K0=()=>["",x,j1,_5],h8=()=>["solid","dashed","dotted","double"],O9=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],$0=()=>[x,V7,M9,L9],U9=()=>["","none",U,S,P],C8=()=>["none",x,S,P],R8=()=>["none",x,S,P],U7=()=>[x,S,P],x8=()=>[Z5,"full",..._()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[i0],breakpoint:[i0],color:[h9],container:[i0],"drop-shadow":[i0],ease:["in","out","in-out"],font:[UX],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[i0],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[i0],shadow:[i0],spacing:["px",x],text:[i0],"text-shadow":[i0],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Z5,P,S,D]}],container:["container"],"container-type":[{"@container":["","normal","size",S,P]}],"container-named":[DX],columns:[{columns:[x,P,S,H]}],"break-after":[{"break-after":A()}],"break-before":[{"break-before":A()}],"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:I()}],overflow:[{overflow:L()}],"overflow-x":[{"overflow-x":L()}],"overflow-y":[{"overflow-y":L()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:j()}],"inset-x":[{"inset-x":j()}],"inset-y":[{"inset-y":j()}],start:[{"inset-s":j(),start:j()}],end:[{"inset-e":j(),end:j()}],"inset-bs":[{"inset-bs":j()}],"inset-be":[{"inset-be":j()}],top:[{top:j()}],right:[{right:j()}],bottom:[{bottom:j()}],left:[{left:j()}],visibility:["visible","invisible","collapse"],z:[{z:[C0,"auto",S,P]}],basis:[{basis:[Z5,"full","auto",H,..._()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[x,Z5,"auto","initial","none",P]}],grow:[{grow:["",x,S,P]}],shrink:[{shrink:["",x,S,P]}],order:[{order:[C0,"first","last","none",S,P]}],"grid-cols":[{"grid-cols":v()}],"col-start-end":[{col:o()}],"col-start":[{"col-start":u()}],"col-end":[{"col-end":u()}],"grid-rows":[{"grid-rows":v()}],"row-start-end":[{row:o()}],"row-start":[{"row-start":u()}],"row-end":[{"row-end":u()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":n()}],"auto-rows":[{"auto-rows":n()}],gap:[{gap:_()}],"gap-x":[{"gap-x":_()}],"gap-y":[{"gap-y":_()}],"justify-content":[{justify:[...c(),"normal"]}],"justify-items":[{"justify-items":[...t(),"normal"]}],"justify-self":[{"justify-self":["auto",...t()]}],"align-content":[{content:["normal",...c()]}],"align-items":[{items:[...t(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...t(),{baseline:["","last"]}]}],"place-content":[{"place-content":c()}],"place-items":[{"place-items":[...t(),"baseline"]}],"place-self":[{"place-self":["auto",...t()]}],p:[{p:_()}],px:[{px:_()}],py:[{py:_()}],ps:[{ps:_()}],pe:[{pe:_()}],pbs:[{pbs:_()}],pbe:[{pbe:_()}],pt:[{pt:_()}],pr:[{pr:_()}],pb:[{pb:_()}],pl:[{pl:_()}],m:[{m:f()}],mx:[{mx:f()}],my:[{my:f()}],ms:[{ms:f()}],me:[{me:f()}],mbs:[{mbs:f()}],mbe:[{mbe:f()}],mt:[{mt:f()}],mr:[{mr:f()}],mb:[{mb:f()}],ml:[{ml:f()}],"space-x":[{"space-x":_()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":_()}],"space-y-reverse":["space-y-reverse"],size:[{size:r()}],"inline-size":[{inline:["auto",...h()]}],"min-inline-size":[{"min-inline":["auto",...h()]}],"max-inline-size":[{"max-inline":["none",...h()]}],"block-size":[{block:["auto",...g()]}],"min-block-size":[{"min-block":["auto",...g()]}],"max-block-size":[{"max-block":["none",...g()]}],w:[{w:[H,"screen",...r()]}],"min-w":[{"min-w":[H,"screen","none",...r()]}],"max-w":[{"max-w":[H,"screen","none","prose",{screen:[q]},...r()]}],h:[{h:["screen","lh",...r()]}],"min-h":[{"min-h":["screen","lh","none",...r()]}],"max-h":[{"max-h":["screen","lh",...r()]}],"font-size":[{text:["base",Z,j1,_5]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[Y,LX,VX]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",V7,P]}],"font-family":[{font:[_X,NX,J]}],"font-features":[{"font-features":[P]}],"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:[X,S,P]}],"line-clamp":[{"line-clamp":[x,"none",S,I9]}],leading:[{leading:[$,..._()]}],"list-image":[{"list-image":["none",S,P]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",S,P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:E()}],"text-color":[{text:E()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...h8(),"wavy"]}],"text-decoration-thickness":[{decoration:[x,"from-font","auto",S,_5]}],"text-decoration-color":[{decoration:E()}],"underline-offset":[{"underline-offset":[x,"auto",S,P]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:_()}],"tab-size":[{tab:[C0,S,P]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",S,P]}],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",S,P]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:r0()}],"bg-repeat":[{bg:b8()}],"bg-size":[{bg:F9()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},C0,S,P],radial:["",S,P],conic:[C0,S,P]},IX,AX]}],"bg-color":[{bg:E()}],"gradient-from-pos":[{from:O7()}],"gradient-via-pos":[{via:O7()}],"gradient-to-pos":[{to:O7()}],"gradient-from":[{from:E()}],"gradient-via":[{via:E()}],"gradient-to":[{to:E()}],rounded:[{rounded:G0()}],"rounded-s":[{"rounded-s":G0()}],"rounded-e":[{"rounded-e":G0()}],"rounded-t":[{"rounded-t":G0()}],"rounded-r":[{"rounded-r":G0()}],"rounded-b":[{"rounded-b":G0()}],"rounded-l":[{"rounded-l":G0()}],"rounded-ss":[{"rounded-ss":G0()}],"rounded-se":[{"rounded-se":G0()}],"rounded-ee":[{"rounded-ee":G0()}],"rounded-es":[{"rounded-es":G0()}],"rounded-tl":[{"rounded-tl":G0()}],"rounded-tr":[{"rounded-tr":G0()}],"rounded-br":[{"rounded-br":G0()}],"rounded-bl":[{"rounded-bl":G0()}],"border-w":[{border:K0()}],"border-w-x":[{"border-x":K0()}],"border-w-y":[{"border-y":K0()}],"border-w-s":[{"border-s":K0()}],"border-w-e":[{"border-e":K0()}],"border-w-bs":[{"border-bs":K0()}],"border-w-be":[{"border-be":K0()}],"border-w-t":[{"border-t":K0()}],"border-w-r":[{"border-r":K0()}],"border-w-b":[{"border-b":K0()}],"border-w-l":[{"border-l":K0()}],"divide-x":[{"divide-x":K0()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":K0()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...h8(),"hidden","none"]}],"divide-style":[{divide:[...h8(),"hidden","none"]}],"border-color":[{border:E()}],"border-color-x":[{"border-x":E()}],"border-color-y":[{"border-y":E()}],"border-color-s":[{"border-s":E()}],"border-color-e":[{"border-e":E()}],"border-color-bs":[{"border-bs":E()}],"border-color-be":[{"border-be":E()}],"border-color-t":[{"border-t":E()}],"border-color-r":[{"border-r":E()}],"border-color-b":[{"border-b":E()}],"border-color-l":[{"border-l":E()}],"divide-color":[{divide:E()}],"outline-style":[{outline:[...h8(),"none","hidden"]}],"outline-offset":[{"outline-offset":[x,S,P]}],"outline-w":[{outline:["",x,j1,_5]}],"outline-color":[{outline:E()}],shadow:[{shadow:["","none",G,f8,v8]}],"shadow-color":[{shadow:E()}],"inset-shadow":[{"inset-shadow":["none",K,f8,v8]}],"inset-shadow-color":[{"inset-shadow":E()}],"ring-w":[{ring:K0()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:E()}],"ring-offset-w":[{"ring-offset":[x,_5]}],"ring-offset-color":[{"ring-offset":E()}],"inset-ring-w":[{"inset-ring":K0()}],"inset-ring-color":[{"inset-ring":E()}],"text-shadow":[{"text-shadow":["none",B,f8,v8]}],"text-shadow-color":[{"text-shadow":E()}],opacity:[{opacity:[x,S,P]}],"mix-blend":[{"mix-blend":[...O9(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":O9()}],"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":[x]}],"mask-image-linear-from-pos":[{"mask-linear-from":$0()}],"mask-image-linear-to-pos":[{"mask-linear-to":$0()}],"mask-image-linear-from-color":[{"mask-linear-from":E()}],"mask-image-linear-to-color":[{"mask-linear-to":E()}],"mask-image-t-from-pos":[{"mask-t-from":$0()}],"mask-image-t-to-pos":[{"mask-t-to":$0()}],"mask-image-t-from-color":[{"mask-t-from":E()}],"mask-image-t-to-color":[{"mask-t-to":E()}],"mask-image-r-from-pos":[{"mask-r-from":$0()}],"mask-image-r-to-pos":[{"mask-r-to":$0()}],"mask-image-r-from-color":[{"mask-r-from":E()}],"mask-image-r-to-color":[{"mask-r-to":E()}],"mask-image-b-from-pos":[{"mask-b-from":$0()}],"mask-image-b-to-pos":[{"mask-b-to":$0()}],"mask-image-b-from-color":[{"mask-b-from":E()}],"mask-image-b-to-color":[{"mask-b-to":E()}],"mask-image-l-from-pos":[{"mask-l-from":$0()}],"mask-image-l-to-pos":[{"mask-l-to":$0()}],"mask-image-l-from-color":[{"mask-l-from":E()}],"mask-image-l-to-color":[{"mask-l-to":E()}],"mask-image-x-from-pos":[{"mask-x-from":$0()}],"mask-image-x-to-pos":[{"mask-x-to":$0()}],"mask-image-x-from-color":[{"mask-x-from":E()}],"mask-image-x-to-color":[{"mask-x-to":E()}],"mask-image-y-from-pos":[{"mask-y-from":$0()}],"mask-image-y-to-pos":[{"mask-y-to":$0()}],"mask-image-y-from-color":[{"mask-y-from":E()}],"mask-image-y-to-color":[{"mask-y-to":E()}],"mask-image-radial":[{"mask-radial":[S,P]}],"mask-image-radial-from-pos":[{"mask-radial-from":$0()}],"mask-image-radial-to-pos":[{"mask-radial-to":$0()}],"mask-image-radial-from-color":[{"mask-radial-from":E()}],"mask-image-radial-to-color":[{"mask-radial-to":E()}],"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":w()}],"mask-image-conic-pos":[{"mask-conic":[x]}],"mask-image-conic-from-pos":[{"mask-conic-from":$0()}],"mask-image-conic-to-pos":[{"mask-conic-to":$0()}],"mask-image-conic-from-color":[{"mask-conic-from":E()}],"mask-image-conic-to-color":[{"mask-conic-to":E()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:r0()}],"mask-repeat":[{mask:b8()}],"mask-size":[{mask:F9()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",S,P]}],filter:[{filter:["","none",S,P]}],blur:[{blur:U9()}],brightness:[{brightness:[x,S,P]}],contrast:[{contrast:[x,S,P]}],"drop-shadow":[{"drop-shadow":["","none",O,f8,v8]}],"drop-shadow-color":[{"drop-shadow":E()}],grayscale:[{grayscale:["",x,S,P]}],"hue-rotate":[{"hue-rotate":[x,S,P]}],invert:[{invert:["",x,S,P]}],saturate:[{saturate:[x,S,P]}],sepia:[{sepia:["",x,S,P]}],"backdrop-filter":[{"backdrop-filter":["","none",S,P]}],"backdrop-blur":[{"backdrop-blur":U9()}],"backdrop-brightness":[{"backdrop-brightness":[x,S,P]}],"backdrop-contrast":[{"backdrop-contrast":[x,S,P]}],"backdrop-grayscale":[{"backdrop-grayscale":["",x,S,P]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[x,S,P]}],"backdrop-invert":[{"backdrop-invert":["",x,S,P]}],"backdrop-opacity":[{"backdrop-opacity":[x,S,P]}],"backdrop-saturate":[{"backdrop-saturate":[x,S,P]}],"backdrop-sepia":[{"backdrop-sepia":["",x,S,P]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":_()}],"border-spacing-x":[{"border-spacing-x":_()}],"border-spacing-y":[{"border-spacing-y":_()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",S,P]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[x,"initial",S,P]}],ease:[{ease:["linear","initial",N,S,P]}],delay:[{delay:[x,S,P]}],animate:[{animate:["none",T,S,P]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[V,S,P]}],"perspective-origin":[{"perspective-origin":I()}],rotate:[{rotate:C8()}],"rotate-x":[{"rotate-x":C8()}],"rotate-y":[{"rotate-y":C8()}],"rotate-z":[{"rotate-z":C8()}],scale:[{scale:R8()}],"scale-x":[{"scale-x":R8()}],"scale-y":[{"scale-y":R8()}],"scale-z":[{"scale-z":R8()}],"scale-3d":["scale-3d"],skew:[{skew:U7()}],"skew-x":[{"skew-x":U7()}],"skew-y":[{"skew-y":U7()}],transform:[{transform:[S,P,"","none","gpu","cpu"]}],"transform-origin":[{origin:I()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:x8()}],"translate-x":[{"translate-x":x8()}],"translate-y":[{"translate-y":x8()}],"translate-z":[{"translate-z":x8()}],"translate-none":["translate-none"],zoom:[{zoom:[C0,S,P]}],accent:[{accent:E()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:E()}],"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",S,P]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":E()}],"scrollbar-track-color":[{"scrollbar-track":E()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mbs":[{"scroll-mbs":_()}],"scroll-mbe":[{"scroll-mbe":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pbs":[{"scroll-pbs":_()}],"scroll-pbe":[{"scroll-pbe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"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",S,P]}],fill:[{fill:["none",...E()]}],"stroke-w":[{stroke:[x,j1,_5,I9]}],stroke:[{stroke:["none",...E()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],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"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}};var u9=XX(EX);function d9(...Q){return u9(S1(Q))}var FQ=b(C(),1);var Q1=b(C(),1);function g8(){return typeof window<"u"}function L5(Q){if(p9(Q))return(Q.nodeName||"").toLowerCase();return"#document"}function O0(Q){var J;return(Q==null||(J=Q.ownerDocument)==null?void 0:J.defaultView)||window}function E0(Q){var J;return(J=(p9(Q)?Q.ownerDocument:Q.document)||window.document)==null?void 0:J.documentElement}function p9(Q){if(!g8())return!1;return Q instanceof Node||Q instanceof O0(Q).Node}function N0(Q){if(!g8())return!1;return Q instanceof Element||Q instanceof O0(Q).Element}function A0(Q){if(!g8())return!1;return Q instanceof HTMLElement||Q instanceof O0(Q).HTMLElement}function c9(Q){if(!g8()||typeof ShadowRoot>"u")return!1;return Q instanceof ShadowRoot||Q instanceof O0(Q).ShadowRoot}function e5(Q){let{overflow:J,overflowX:Z,overflowY:Y,display:X}=_0(Q);return/auto|scroll|overlay|hidden|clip/.test(J+Y+Z)&&X!=="inline"&&X!=="contents"}function m9(Q){return/^(table|td|th)$/.test(L5(Q))}function k1(Q){try{if(Q.matches(":popover-open"))return!0}catch(J){}try{return Q.matches(":modal")}catch(J){return!1}}var PX=/transform|translate|scale|rotate|perspective|filter/,SX=/paint|layout|strict|content/,I5=(Q)=>!!Q&&Q!=="none",_7;function u8(Q){let J=N0(Q)?_0(Q):Q;return I5(J.transform)||I5(J.translate)||I5(J.scale)||I5(J.rotate)||I5(J.perspective)||!d8()&&(I5(J.backdropFilter)||I5(J.filter))||PX.test(J.willChange||"")||SX.test(J.contain||"")}function l9(Q){let J=s0(Q);while(A0(J)&&!M5(J)){if(u8(J))return J;else if(k1(J))return null;J=s0(J)}return null}function d8(){if(_7==null)_7=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none");return _7}function M5(Q){return/^(html|body|#document)$/.test(L5(Q))}function _0(Q){return O0(Q).getComputedStyle(Q)}function b1(Q){if(N0(Q))return{scrollLeft:Q.scrollLeft,scrollTop:Q.scrollTop};return{scrollLeft:Q.scrollX,scrollTop:Q.scrollY}}function s0(Q){if(L5(Q)==="html")return Q;let J=Q.assignedSlot||Q.parentNode||c9(Q)&&Q.host||E0(Q);return c9(J)?J.host:J}function r9(Q){let J=s0(Q);if(M5(J))return Q.ownerDocument?Q.ownerDocument.body:Q.body;if(A0(J)&&e5(J))return J;return r9(J)}function X5(Q,J,Z){var Y;if(J===void 0)J=[];if(Z===void 0)Z=!0;let X=r9(Q),$=X===((Y=Q.ownerDocument)==null?void 0:Y.body),q=O0(X);if($){let H=c8(q);return J.concat(q,q.visualViewport||[],e5(X)?X:[],H&&Z?X5(H):[])}else return J.concat(X,X5(X,[],Z))}function c8(Q){return Q.parent&&Object.getPrototypeOf(Q.parent)?Q.frameElement:null}var I7=b(C(),1);var s9=b(C(),1),i9={};function h1(Q,J){let Z=s9.useRef(i9);if(Z.current===i9)Z.current=Q(J);return Z}var T7=I7[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],jX=T7&&T7!==I7.useLayoutEffect?T7:(Q)=>Q();function L7(Q){let J=h1(kX).current;return J.next=Q,jX(J.effect),J.trampoline}function kX(){let Q={next:void 0,callback:bX,trampoline:(...J)=>Q.callback?.(...J),effect:()=>{Q.callback=Q.next}};return Q}function bX(){}var hX=b(C(),1),ZB={...hX};var o9=b(C(),1),CX=()=>{},n9=typeof document<"u"?o9.useLayoutEffect:CX;function C1(Q,J){if(Q&&!J)return Q;if(!Q&&J)return J;if(Q||J)return{...Q,...J};return}var x1={};function p8(Q,J,Z,Y,X){let $={...M7(Q,x1)};if(J)$=R1($,J);if(Z)$=R1($,Z);if(Y)$=R1($,Y);if(X)$=R1($,X);return $}function a9(Q){if(Q.length===0)return x1;if(Q.length===1)return M7(Q[0],x1);let J={...M7(Q[0],x1)};for(let Z=1;Z<Q.length;Z+=1)J=R1(J,Q[Z]);return J}function R1(Q,J){if(t9(J))return J(Q);return RX(Q,J)}function RX(Q,J){if(!J)return Q;for(let Z in J){let Y=J[Z];switch(Z){case"style":{Q[Z]=C1(Q.style,Y);break}case"className":{Q[Z]=E7(Q.className,Y);break}default:if(xX(Z,Y))Q[Z]=yX(Q[Z],Y);else Q[Z]=Y}}return Q}function xX(Q,J){let Z=Q.charCodeAt(0),Y=Q.charCodeAt(1),X=Q.charCodeAt(2);return Z===111&&Y===110&&X>=65&&X<=90&&(typeof J==="function"||typeof J>"u")}function t9(Q){return typeof Q==="function"}function M7(Q,J){if(t9(Q))return Q(J);return Q??x1}function yX(Q,J){if(!J)return Q;if(!Q)return J;return(Z)=>{if(vX(Z)){let X=Z;m8(X);let $=J(X);if(!X.baseUIHandlerPrevented)Q?.(X);return $}let Y=J(Z);return Q?.(Z),Y}}function m8(Q){return Q.preventBaseUIHandler=()=>{Q.baseUIHandlerPrevented=!0},Q}function E7(Q,J){if(J){if(Q)return J+" "+Q;return J}return Q}function vX(Q){return Q!=null&&typeof Q==="object"&&"nativeEvent"in Q}function y1(Q,...J){let Z=new URL("https://base-ui.com/production-error");return Z.searchParams.set("code",Q.toString()),J.forEach((Y)=>Z.searchParams.append("args[]",Y)),`Base UI error #${Q}; visit ${Z} for the full message.`}var l8=b(C(),1),fX=l8.createContext(void 0);function e9(Q=!1){let J=l8.useContext(fX);if(J===void 0&&!Q)throw Error(y1(16));return J}var QQ=b(C(),1);function JQ(Q){let{focusableWhenDisabled:J,disabled:Z,composite:Y=!1,tabIndex:X=0,isNativeButton:$}=Q,q=Y&&J!==!1,H=Y&&J===!1;return{props:QQ.useMemo(()=>{let z={onKeyDown(G){if(Z&&J&&G.key!=="Tab")G.preventDefault()}};if(!Y){if(z.tabIndex=X,!$&&Z)z.tabIndex=J?X:-1}if($&&(J||q)||!$&&Z)z["aria-disabled"]=Z;if($&&(!J||H))z.disabled=Z;return z},[Y,Z,J,q,H,$,X])}}function ZQ(Q={}){let{disabled:J=!1,focusableWhenDisabled:Z,tabIndex:Y=0,native:X=!0}=Q,$=Q1.useRef(null),q=e9(!0)!==void 0,H=L7(()=>{let B=$.current;return Boolean(B?.tagName==="A"&&B?.href)}),{props:W}=JQ({focusableWhenDisabled:Z,disabled:J,composite:q,tabIndex:Y,isNativeButton:X}),z=Q1.useCallback(()=>{let B=$.current;if(!gX(B))return;if(q&&J&&W.disabled===void 0&&B.disabled)B.disabled=!1},[J,W.disabled,q]);n9(z,[z]);let G=Q1.useCallback((B={})=>{let{onClick:O,onMouseDown:U,onKeyUp:V,onKeyDown:D,onPointerDown:N,...T}=B;return p8({type:X?"button":void 0,onClick(w){if(J){w.preventDefault();return}O?.(w)},onMouseDown(w){if(!J)U?.(w)},onKeyDown(w){if(!J)m8(w),D?.(w);if(w.baseUIHandlerPrevented)return;let I=w.target===w.currentTarget&&!X&&!H()&&!J,L=w.key==="Enter",k=w.key===" ";if(I){if(k||L)w.preventDefault();if(L)O?.(w)}},onKeyUp(w){if(!J)m8(w),V?.(w);if(w.baseUIHandlerPrevented)return;if(w.target===w.currentTarget&&!X&&!J&&w.key===" ")O?.(w)},onPointerDown(w){if(J){w.preventDefault();return}N?.(w)}},!X?{role:"button"}:void 0,W,T)},[J,W,X,H]),K=L7((B)=>{$.current=B,z()});return{getButtonProps:G,buttonRef:K}}function gX(Q){return A0(Q)&&Q.tagName==="BUTTON"}var $5=b(C(),1);function P7(Q,J,Z,Y){let X=h1(XQ).current;if(uX(X,Q,J,Z,Y))qQ(X,[Q,J,Z,Y]);return X.callback}function YQ(Q){let J=h1(XQ).current;if(dX(J,Q))qQ(J,Q);return J.callback}function XQ(){return{callback:null,cleanup:null,refs:[]}}function uX(Q,J,Z,Y,X){return Q.refs[0]!==J||Q.refs[1]!==Z||Q.refs[2]!==Y||Q.refs[3]!==X}function dX(Q,J){return Q.refs.length!==J.length||Q.refs.some((Z,Y)=>Z!==J[Y])}function qQ(Q,J){if(Q.refs=J,J.every((Z)=>Z==null)){Q.callback=null;return}Q.callback=(Z)=>{if(Q.cleanup)Q.cleanup(),Q.cleanup=null;if(Z!=null){let Y=Array(J.length).fill(null);for(let X=0;X<J.length;X+=1){let $=J[X];if($==null)continue;switch(typeof $){case"function":{let q=$(Z);if(typeof q==="function")Y[X]=q;break}case"object":{$.current=Z;break}default:}}Q.cleanup=()=>{for(let X=0;X<J.length;X+=1){let $=J[X];if($==null)continue;switch(typeof $){case"function":{let q=Y[X];if(typeof q==="function")q();else $(null);break}case"object":{$.current=null;break}default:}}}}}}var WQ=b(C(),1);var $Q=b(C(),1),cX=parseInt($Q.version,10);function HQ(Q){return cX>=Q}function S7(Q){if(!WQ.isValidElement(Q))return null;let J=Q,Z=J.props;return(HQ(19)?Z?.ref:J.ref)??null}function zQ(Q,J){let Z={};for(let Y in Q){let X=Q[Y];if(J?.hasOwnProperty(Y)){let $=J[Y](X);if($!=null)Object.assign(Z,$);continue}if(X===!0)Z[`data-${Y.toLowerCase()}`]="";else if(X)Z[`data-${Y.toLowerCase()}`]=X.toString()}return Z}function GQ(Q,J){return typeof Q==="function"?Q(J):Q}function KQ(Q,J){return typeof Q==="function"?Q(J):Q}function PB(){}var pX=Object.freeze([]),q5=Object.freeze({});var jB=500,kB=500,bB={style:{transition:"none"}},hB="data-base-ui-click-trigger",CB={fallbackAxisSide:"none"},RB={fallbackAxisSide:"end"},xB={clipPath:"inset(50%)",position:"fixed",top:0,left:0};var j7=b(C(),1);function BQ(Q,J,Z={}){let Y=J.render,X=mX(J,Z);if(Z.enabled===!1)return null;let $=Z.state??q5;return rX(Q,Y,X,$)}function mX(Q,J={}){let{className:Z,style:Y,render:X}=Q,{state:$=q5,ref:q,props:H,stateAttributesMapping:W,enabled:z=!0}=J,G=z?GQ(Z,$):void 0,K=z?KQ(Y,$):void 0,B=z?zQ($,W):q5,O=z?C1(B,Array.isArray(H)?a9(H):H)??q5:q5;if(typeof document<"u")if(!z)P7(null,null);else if(Array.isArray(q))O.ref=YQ([O.ref,S7(X),...q]);else O.ref=P7(O.ref,S7(X),q);if(!z)return q5;if(G!==void 0)O.className=E7(O.className,G);if(K!==void 0)O.style=C1(O.style,K);return O}var lX=Symbol.for("react.lazy");function rX(Q,J,Z,Y){if(J){if(typeof J==="function")return J(Z,Y);let X=p8(Z,J.props);X.ref=Z.ref;let $=J;if($?.$$typeof===lX)$=$5.Children.toArray(J)[0];return $5.cloneElement($,X)}if(Q){if(typeof Q==="string")return iX(Q,Z)}throw Error(y1(8))}function iX(Q,J){if(Q==="button")return j7.createElement("button",{type:"button",...J,key:J.key});if(Q==="img")return j7.createElement("img",{alt:"",...J,key:J.key});return $5.createElement(Q,J)}var k7=FQ.forwardRef(function(J,Z){let{render:Y,className:X,disabled:$=!1,focusableWhenDisabled:q=!1,nativeButton:H=!0,...W}=J,{getButtonProps:z,buttonRef:G}=ZQ({disabled:$,focusableWhenDisabled:q,native:H});return BQ("button",J,{state:{disabled:$},ref:[Z,G],props:[W,z]})});var OQ=(Q)=>typeof Q==="boolean"?`${Q}`:Q===0?"0":Q,UQ=S1,DQ=(Q,J)=>(Z)=>{var Y;if((J===null||J===void 0?void 0:J.variants)==null)return UQ(Q,Z===null||Z===void 0?void 0:Z.class,Z===null||Z===void 0?void 0:Z.className);let{variants:X,defaultVariants:$}=J,q=Object.keys(X).map((z)=>{let G=Z===null||Z===void 0?void 0:Z[z],K=$===null||$===void 0?void 0:$[z];if(G===null)return null;let B=OQ(G)||OQ(K);return X[z][B]}),H=Z&&Object.entries(Z).reduce((z,G)=>{let[K,B]=G;if(B===void 0)return z;return z[K]=B,z},{}),W=J===null||J===void 0?void 0:(Y=J.compoundVariants)===null||Y===void 0?void 0:Y.reduce((z,G)=>{let{class:K,className:B,...O}=G;return Object.entries(O).every((U)=>{let[V,D]=U;return Array.isArray(D)?D.includes({...$,...H}[V]):{...$,...H}[V]===D})?[...z,K,B]:z},[]);return UQ(Q,q,W,Z===null||Z===void 0?void 0:Z.class,Z===null||Z===void 0?void 0:Z.className)};var wQ=b(M0(),1),sX=DQ("inline-flex shrink-0 cursor-pointer items-center justify-center gap-1.5 rounded-lg text-sm font-medium whitespace-nowrap transition-all duration-100 outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground inset-shadow-[0_0_8px_color-mix(in_oklab,var(--color-white)_20%,transparent)] hover:bg-primary/90 disabled:bg-accent disabled:text-muted-foreground disabled:opacity-100 disabled:shadow-none",secondary:"bg-accent text-foreground hover:bg-[color-mix(in_oklch,var(--accent),var(--foreground)_3%)] hover:text-accent-foreground",outline:"bg-background text-foreground shadow-xs hover:text-accent-foreground hover:shadow-sm",ghost:"hover:bg-accent hover:text-accent-foreground",destructive:"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20"},size:{sm:"h-7 gap-1.5 rounded-md px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2 [&_svg]:size-4",default:"h-8 px-3 has-data-[icon=inline-end]:pr-2.5 has-data-[icon=inline-start]:pl-2.5 [&_svg]:size-5",lg:"h-10 rounded-xl px-4 has-data-[icon=inline-end]:pr-3 has-data-[icon=inline-start]:pl-3 [&_svg]:size-5","icon-sm":"size-7 rounded-md [&_svg]:size-4",icon:"size-8 [&_svg]:size-5","icon-lg":"size-10 rounded-xl [&_svg]:size-5"}},defaultVariants:{variant:"default",size:"default"}});function XF({className:Q,variant:J="default",size:Z="default",...Y}){return wQ.jsx(k7,{"data-slot":"button",className:d9(sX({variant:J,size:Z,className:Q})),...Y})}var J1=b(C(),1);var VQ={outline:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},filled:{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none"}};var F=(Q,J,Z,Y)=>{let X=J1.forwardRef(({color:$="currentColor",size:q=24,stroke:H=2,title:W,className:z,children:G,...K},B)=>J1.createElement("svg",{ref:B,...VQ[Q],width:q,height:q,className:["tabler-icon",`tabler-icon-${J}`,z].join(" "),...Q==="filled"?{fill:$}:{strokeWidth:H,stroke:$},...K},[W&&J1.createElement("title",{key:"svg-title"},W),...Y.map(([O,U])=>J1.createElement(O,U)),...Array.isArray(G)?G:[G]]));return X.displayName=`${Z}`,X};var oX=[["path",{d:"M12.802 2.165l5.575 2.389c.48 .206 .863 .589 1.07 1.07l2.388 5.574c.22 .512 .22 1.092 0 1.604l-2.389 5.575c-.206 .48 -.589 .863 -1.07 1.07l-5.574 2.388c-.512 .22 -1.092 .22 -1.604 0l-5.575 -2.389a2.036 2.036 0 0 1 -1.07 -1.07l-2.388 -5.574a2.036 2.036 0 0 1 0 -1.604l2.389 -5.575c.206 -.48 .589 -.863 1.07 -1.07l5.574 -2.388a2.036 2.036 0 0 1 1.604 0",key:"svg-0"}],["path",{d:"M12 8v4",key:"svg-1"}],["path",{d:"M12 16h.01",key:"svg-2"}]],nX=F("outline","alert-octagon","AlertOctagon",oX);var aX=[["path",{d:"M12 9v4",key:"svg-0"}],["path",{d:"M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0",key:"svg-1"}],["path",{d:"M12 16h.01",key:"svg-2"}]],tX=F("outline","alert-triangle","AlertTriangle",aX);var eX=[["path",{d:"M17 7l-10 10",key:"svg-0"}],["path",{d:"M8 7l9 0l0 9",key:"svg-1"}]],Q3=F("outline","arrow-up-right","ArrowUpRight",eX);var J3=[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-0"}],["path",{d:"M9 12l2 2l4 -4",key:"svg-1"}]],Z3=F("outline","circle-check","CircleCheck",J3);var Y3=[["path",{d:"M19 20h-10.5l-4.21 -4.3a1 1 0 0 1 0 -1.41l10 -10a1 1 0 0 1 1.41 0l5 5a1 1 0 0 1 0 1.41l-9.2 9.3",key:"svg-0"}],["path",{d:"M18 13.3l-6.3 -6.3",key:"svg-1"}]],X3=F("outline","eraser","Eraser",Y3);var q3=[["path",{d:"M8 13v-7.5a1.5 1.5 0 0 1 3 0v6.5",key:"svg-0"}],["path",{d:"M11 5.5v-2a1.5 1.5 0 1 1 3 0v8.5",key:"svg-1"}],["path",{d:"M14 5.5a1.5 1.5 0 0 1 3 0v6.5",key:"svg-2"}],["path",{d:"M17 7.5a1.5 1.5 0 0 1 3 0v8.5a6 6 0 0 1 -6 6h-2h.208a6 6 0 0 1 -5.012 -2.7a69.74 69.74 0 0 1 -.196 -.3c-.312 -.479 -1.407 -2.388 -3.286 -5.728a1.5 1.5 0 0 1 .536 -2.022a1.867 1.867 0 0 1 2.28 .28l1.47 1.47",key:"svg-3"}]],$3=F("outline","hand-stop","HandStop",q3);var H3=[["path",{d:"M3 19h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4",key:"svg-0"}],["path",{d:"M12.5 5.5l4 4",key:"svg-1"}],["path",{d:"M4.5 13.5l4 4",key:"svg-2"}],["path",{d:"M21 15v4h-8l4 -4l4 0",key:"svg-3"}]],W3=F("outline","highlight","Highlight",H3);var z3=[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M12 9h.01",key:"svg-1"}],["path",{d:"M11 12h1v4h1",key:"svg-2"}]],G3=F("outline","info-circle","InfoCircle",z3);var K3=[["path",{d:"M4 18a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-0"}],["path",{d:"M16 6a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-1"}],["path",{d:"M7.5 16.5l9 -9",key:"svg-2"}]],B3=F("outline","line","Line",K3);var F3=[["path",{d:"M12 6l0 -3",key:"svg-0"}],["path",{d:"M16.25 7.75l2.15 -2.15",key:"svg-1"}],["path",{d:"M18 12l3 0",key:"svg-2"}],["path",{d:"M16.25 16.25l2.15 2.15",key:"svg-3"}],["path",{d:"M12 18l0 3",key:"svg-4"}],["path",{d:"M7.75 16.25l-2.15 2.15",key:"svg-5"}],["path",{d:"M6 12l-3 0",key:"svg-6"}],["path",{d:"M7.75 7.75l-2.15 -2.15",key:"svg-7"}]],O3=F("outline","loader","Loader",F3);var U3=[["path",{d:"M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4",key:"svg-0"}],["path",{d:"M13.5 6.5l4 4",key:"svg-1"}]],D3=F("outline","pencil","Pencil",U3);var w3=[["path",{d:"M14.185 13.14l5.644 -2.202c1.625 -.634 1.538 -2.962 -.13 -3.473l-14.319 -4.382c-1.41 -.431 -2.73 .888 -2.298 2.298l4.382 14.318c.51 1.668 2.84 1.755 3.473 .13l2.202 -5.644a1.84 1.84 0 0 1 1.045 -1.045",key:"svg-0"}]],V3=F("outline","pointer-2","Pointer2",w3);var N3=[["path",{d:"M4 15c2 -4.97 7.356 -11 9 -11c4.25 0 -5.5 11.958 -3 13s5.65 -6.678 7.4 -5.902c1.75 .777 -1.05 7.589 -.3 8.63s3.15 -.897 3.9 -2.728",key:"svg-0"}]],A3=F("outline","sketching","Sketching",N3);var _3=[["path",{d:"M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14",key:"svg-0"}]],T3=F("outline","square","Square",_3);var I3=[["path",{d:"M6 4h12a2 2 0 0 1 2 2v7h-5a2 2 0 0 0 -2 2v5h-7a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2",key:"svg-0"}],["path",{d:"M20 13v.172a2 2 0 0 1 -.586 1.414l-4.828 4.828a2 2 0 0 1 -1.414 .586h-.172",key:"svg-1"}]],L3=F("outline","sticker-2","Sticker2",I3);var M3=[["path",{d:"M4 20l3 0",key:"svg-0"}],["path",{d:"M14 20l7 0",key:"svg-1"}],["path",{d:"M6.9 15l6.9 0",key:"svg-2"}],["path",{d:"M10.2 6.3l5.8 13.7",key:"svg-3"}],["path",{d:"M5 20l6 -16l2 0l7 16",key:"svg-4"}]],E3=F("outline","typography","Typography",M3);var P3=[["path",{d:"M10 7a2 2 0 0 1 2 -2h6a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-6a2 2 0 0 1 -2 -2l0 -10",key:"svg-0"}],["path",{d:"M7 7l0 10",key:"svg-1"}],["path",{d:"M4 8l0 8",key:"svg-2"}]],S3=F("outline","versions","Versions",P3);var j3=[["path",{d:"M18 6l-12 12",key:"svg-0"}],["path",{d:"M6 6l12 12",key:"svg-1"}]],k3=F("outline","x","X",j3);var b3=[["path",{d:"M12 3l8 4.5l0 9l-8 4.5l-8 -4.5l0 -9l8 -4.5",key:"svg-0"}],["path",{d:"M12 12l8 -4.5",key:"svg-1"}],["path",{d:"M12 12l0 9",key:"svg-2"}],["path",{d:"M12 12l-8 -4.5",key:"svg-3"}],["path",{d:"M16 5.25l-8 4.5",key:"svg-4"}]],NQ=F("outline","package","Package",b3);var h3=[["path",{d:"M3 12h4l3 8l4 -16l3 8h4",key:"svg-0"}]],C3=F("outline","activity","Activity",h3);var R3=[["path",{d:"M4 13h5",key:"svg-0"}],["path",{d:"M12 16v-8h3a2 2 0 0 1 2 2v1a2 2 0 0 1 -2 2h-3",key:"svg-1"}],["path",{d:"M20 8v8",key:"svg-2"}],["path",{d:"M9 16v-5.5a2.5 2.5 0 0 0 -5 0v5.5",key:"svg-3"}]],x3=F("outline","api","Api",R3);var y3=[["path",{d:"M3 6a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2",key:"svg-0"}],["path",{d:"M5 8v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-10",key:"svg-1"}],["path",{d:"M10 12l4 0",key:"svg-2"}]],v3=F("outline","archive","Archive",y3);var f3=[["path",{d:"M9 14l-4 -4l4 -4",key:"svg-0"}],["path",{d:"M5 10h11a4 4 0 1 1 0 8h-1",key:"svg-1"}]],g3=F("outline","arrow-back-up","ArrowBackUp",f3);var u3=[["path",{d:"M15 14l4 -4l-4 -4",key:"svg-0"}],["path",{d:"M19 10h-11a4 4 0 1 0 0 8h1",key:"svg-1"}]],d3=F("outline","arrow-forward-up","ArrowForwardUp",u3);var c3=[["path",{d:"M12 5l0 14",key:"svg-0"}],["path",{d:"M18 11l-6 -6",key:"svg-1"}],["path",{d:"M6 11l6 -6",key:"svg-2"}]],p3=F("outline","arrow-up","ArrowUp",c3);var m3=[["path",{d:"M18 4l3 3l-3 3",key:"svg-0"}],["path",{d:"M18 20l3 -3l-3 -3",key:"svg-1"}],["path",{d:"M3 7h3a5 5 0 0 1 5 5a5 5 0 0 0 5 5h5",key:"svg-2"}],["path",{d:"M21 7h-5a4.978 4.978 0 0 0 -3 1m-4 8a4.984 4.984 0 0 1 -3 1h-3",key:"svg-3"}]],l3=F("outline","arrows-shuffle","ArrowsShuffle",m3);var r3=[["path",{d:"M3 6a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2l0 -12",key:"svg-0"}],["path",{d:"M7 8h10",key:"svg-1"}],["path",{d:"M7 12h10",key:"svg-2"}],["path",{d:"M7 16h10",key:"svg-3"}]],i3=F("outline","article","Article",r3);var s3=[["path",{d:"M12 12v.01",key:"svg-0"}],["path",{d:"M19.071 4.929c-1.562 -1.562 -6 .337 -9.9 4.243c-3.905 3.905 -5.804 8.337 -4.242 9.9c1.562 1.561 6 -.338 9.9 -4.244c3.905 -3.905 5.804 -8.337 4.242 -9.9",key:"svg-1"}],["path",{d:"M4.929 4.929c-1.562 1.562 .337 6 4.243 9.9c3.905 3.905 8.337 5.804 9.9 4.242c1.561 -1.562 -.338 -6 -4.244 -9.9c-3.905 -3.905 -8.337 -5.804 -9.9 -4.242",key:"svg-2"}]],o3=F("outline","atom","Atom",s3);var n3=[["path",{d:"M10 5a2 2 0 1 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3h-16a4 4 0 0 0 2 -3v-3a7 7 0 0 1 4 -6",key:"svg-0"}],["path",{d:"M9 17v1a3 3 0 0 0 6 0v-1",key:"svg-1"}]],a3=F("outline","bell","Bell",n3);var t3=[["path",{d:"M13 3l0 7l6 0l-8 11l0 -7l-6 0l8 -11",key:"svg-0"}]],e3=F("outline","bolt","Bolt",t3);var Qq=[["path",{d:"M3 19a9 9 0 0 1 9 0a9 9 0 0 1 9 0",key:"svg-0"}],["path",{d:"M3 6a9 9 0 0 1 9 0a9 9 0 0 1 9 0",key:"svg-1"}],["path",{d:"M3 6l0 13",key:"svg-2"}],["path",{d:"M12 6l0 13",key:"svg-3"}],["path",{d:"M21 6l0 13",key:"svg-4"}]],Jq=F("outline","book","Book",Qq);var Zq=[["path",{d:"M15.5 13a3.5 3.5 0 0 0 -3.5 3.5v1a3.5 3.5 0 0 0 7 0v-1.8",key:"svg-0"}],["path",{d:"M8.5 13a3.5 3.5 0 0 1 3.5 3.5v1a3.5 3.5 0 0 1 -7 0v-1.8",key:"svg-1"}],["path",{d:"M17.5 16a3.5 3.5 0 0 0 0 -7h-.5",key:"svg-2"}],["path",{d:"M19 9.3v-2.8a3.5 3.5 0 0 0 -7 0",key:"svg-3"}],["path",{d:"M6.5 16a3.5 3.5 0 0 1 0 -7h.5",key:"svg-4"}],["path",{d:"M5 9.3v-2.8a3.5 3.5 0 0 1 7 0v10",key:"svg-5"}]],Yq=F("outline","brain","Brain",Zq);var Xq=[["path",{d:"M3 9a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v9a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2l0 -9",key:"svg-0"}],["path",{d:"M8 7v-2a2 2 0 0 1 2 -2h4a2 2 0 0 1 2 2v2",key:"svg-1"}],["path",{d:"M12 12l0 .01",key:"svg-2"}],["path",{d:"M3 13a20 20 0 0 0 18 0",key:"svg-3"}]],qq=F("outline","briefcase","Briefcase",Xq);var $q=[["path",{d:"M4 8h16",key:"svg-0"}],["path",{d:"M12 20h-6a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v6",key:"svg-1"}],["path",{d:"M8 4v4",key:"svg-2"}],["path",{d:"M16 19h6",key:"svg-3"}],["path",{d:"M19 16v6",key:"svg-4"}]],Hq=F("outline","browser-plus","BrowserPlus",$q);var Wq=[["path",{d:"M9 9v-1a3 3 0 0 1 6 0v1",key:"svg-0"}],["path",{d:"M8 9h8a6 6 0 0 1 1 3v3a5 5 0 0 1 -10 0v-3a6 6 0 0 1 1 -3",key:"svg-1"}],["path",{d:"M3 13l4 0",key:"svg-2"}],["path",{d:"M17 13l4 0",key:"svg-3"}],["path",{d:"M12 20l0 -6",key:"svg-4"}],["path",{d:"M4 19l3.35 -2",key:"svg-5"}],["path",{d:"M20 19l-3.35 -2",key:"svg-6"}],["path",{d:"M4 7l3.75 2.4",key:"svg-7"}],["path",{d:"M20 7l-3.75 2.4",key:"svg-8"}]],zq=F("outline","bug","Bug",Wq);var Gq=[["path",{d:"M3 12h1m8 -9v1m8 8h1m-15.4 -6.4l.7 .7m12.1 -.7l-.7 .7",key:"svg-0"}],["path",{d:"M9 16a5 5 0 1 1 6 0a3.5 3.5 0 0 0 -1 3a2 2 0 0 1 -4 0a3.5 3.5 0 0 0 -1 -3",key:"svg-1"}],["path",{d:"M9.7 17l4.6 0",key:"svg-2"}]],Kq=F("outline","bulb","Bulb",Gq);var Bq=[["path",{d:"M4 7a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12",key:"svg-0"}],["path",{d:"M16 3v4",key:"svg-1"}],["path",{d:"M8 3v4",key:"svg-2"}],["path",{d:"M4 11h16",key:"svg-3"}],["path",{d:"M11 15h1",key:"svg-4"}],["path",{d:"M12 15v3",key:"svg-5"}]],Fq=F("outline","calendar","Calendar",Bq);var Oq=[["path",{d:"M5 7h1a2 2 0 0 0 2 -2a1 1 0 0 1 1 -1h6a1 1 0 0 1 1 1a2 2 0 0 0 2 2h1a2 2 0 0 1 2 2v9a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-9a2 2 0 0 1 2 -2",key:"svg-0"}],["path",{d:"M9 13a3 3 0 1 0 6 0a3 3 0 0 0 -6 0",key:"svg-1"}]],Uq=F("outline","camera","Camera",Oq);var Dq=[["path",{d:"M3 13a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -6",key:"svg-0"}],["path",{d:"M15 9a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -10",key:"svg-1"}],["path",{d:"M9 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v14a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -14",key:"svg-2"}],["path",{d:"M4 20h14",key:"svg-3"}]],wq=F("outline","chart-bar","ChartBar",Dq);var Vq=[["path",{d:"M5 12l5 5l10 -10",key:"svg-0"}]],Nq=F("outline","check","Check",Vq);var Aq=[["path",{d:"M12 3c1.918 0 3.52 1.35 3.91 3.151a4 4 0 0 1 2.09 7.723l0 7.126h-12v-7.126a4 4 0 1 1 2.092 -7.723a4 4 0 0 1 3.908 -3.151",key:"svg-0"}],["path",{d:"M6.161 17.009l11.839 -.009",key:"svg-1"}]],_q=F("outline","chef-hat","ChefHat",Aq);var Tq=[["path",{d:"M6 9l6 6l6 -6",key:"svg-0"}]],Iq=F("outline","chevron-down","ChevronDown",Tq);var Lq=[["path",{d:"M9 6l6 6l-6 6",key:"svg-0"}]],Mq=F("outline","chevron-right","ChevronRight",Lq);var Eq=[["path",{d:"M7 7l5 5l-5 5",key:"svg-0"}],["path",{d:"M13 7l5 5l-5 5",key:"svg-1"}]],Pq=F("outline","chevrons-right","ChevronsRight",Eq);var Sq=[["path",{d:"M20.042 16.045a9 9 0 0 0 -12.087 -12.087m-2.318 1.677a9 9 0 1 0 12.725 12.73",key:"svg-0"}],["path",{d:"M3 3l18 18",key:"svg-1"}]],jq=F("outline","circle-off","CircleOff",Sq);var kq=[["path",{d:"M6.657 18c-2.572 0 -4.657 -2.007 -4.657 -4.483c0 -2.475 2.085 -4.482 4.657 -4.482c.393 -1.762 1.794 -3.2 3.675 -3.773c1.88 -.572 3.956 -.193 5.444 1c1.488 1.19 2.162 3.007 1.77 4.769h.99c1.913 0 3.464 1.56 3.464 3.486c0 1.927 -1.551 3.487 -3.465 3.487h-11.878",key:"svg-0"}]],bq=F("outline","cloud","Cloud",kq);var hq=[["path",{d:"M7 8l-4 4l4 4",key:"svg-0"}],["path",{d:"M17 8l4 4l-4 4",key:"svg-1"}],["path",{d:"M14 4l-4 16",key:"svg-2"}]],Cq=F("outline","code","Code",hq);var Rq=[["path",{d:"M8 16l2 -6l6 -2l-2 6l-6 2",key:"svg-0"}],["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-1"}],["path",{d:"M12 3l0 2",key:"svg-2"}],["path",{d:"M12 19l0 2",key:"svg-3"}],["path",{d:"M3 12l2 0",key:"svg-4"}],["path",{d:"M19 12l2 0",key:"svg-5"}]],xq=F("outline","compass","Compass",Rq);var yq=[["path",{d:"M7 9.667a2.667 2.667 0 0 1 2.667 -2.667h8.666a2.667 2.667 0 0 1 2.667 2.667v8.666a2.667 2.667 0 0 1 -2.667 2.667h-8.666a2.667 2.667 0 0 1 -2.667 -2.667l0 -8.666",key:"svg-0"}],["path",{d:"M4.012 16.737a2.005 2.005 0 0 1 -1.012 -1.737v-10c0 -1.1 .9 -2 2 -2h10c.75 0 1.158 .385 1.5 1",key:"svg-1"}]],vq=F("outline","copy","Copy",yq);var fq=[["path",{d:"M5 6a1 1 0 0 1 1 -1h12a1 1 0 0 1 1 1v12a1 1 0 0 1 -1 1h-12a1 1 0 0 1 -1 -1l0 -12",key:"svg-0"}],["path",{d:"M9 9h6v6h-6l0 -6",key:"svg-1"}],["path",{d:"M3 10h2",key:"svg-2"}],["path",{d:"M3 14h2",key:"svg-3"}],["path",{d:"M10 3v2",key:"svg-4"}],["path",{d:"M14 3v2",key:"svg-5"}],["path",{d:"M21 10h-2",key:"svg-6"}],["path",{d:"M21 14h-2",key:"svg-7"}],["path",{d:"M14 21v-2",key:"svg-8"}],["path",{d:"M10 21v-2",key:"svg-9"}]],gq=F("outline","cpu","Cpu",fq);var uq=[["path",{d:"M21 16.008v-8.018a1.98 1.98 0 0 0 -1 -1.717l-7 -4.008a2.016 2.016 0 0 0 -2 0l-7 4.008c-.619 .355 -1 1.01 -1 1.718v8.018c0 .709 .381 1.363 1 1.717l7 4.008a2.016 2.016 0 0 0 2 0l7 -4.008c.619 -.355 1 -1.01 1 -1.718",key:"svg-0"}],["path",{d:"M12 22v-10",key:"svg-1"}],["path",{d:"M12 12l8.73 -5.04",key:"svg-2"}],["path",{d:"M3.27 6.96l8.73 5.04",key:"svg-3"}]],dq=F("outline","cube","Cube",uq);var cq=[["path",{d:"M4 6a8 3 0 1 0 16 0a8 3 0 1 0 -16 0",key:"svg-0"}],["path",{d:"M4 6v6a8 3 0 0 0 16 0v-6",key:"svg-1"}],["path",{d:"M4 12v6a8 3 0 0 0 16 0v-6",key:"svg-2"}]],pq=F("outline","database","Database",cq);var mq=[["path",{d:"M12 5h3.5a5 5 0 0 1 0 10h-5.5l-4.015 4.227a2.3 2.3 0 0 1 -3.923 -2.035l1.634 -8.173a5 5 0 0 1 4.904 -4.019h3.4",key:"svg-0"}],["path",{d:"M14 15l4.07 4.284a2.3 2.3 0 0 0 3.925 -2.023l-1.6 -8.232",key:"svg-1"}],["path",{d:"M8 9v2",key:"svg-2"}],["path",{d:"M7 10h2",key:"svg-3"}],["path",{d:"M14 10h2",key:"svg-4"}]],lq=F("outline","device-gamepad-2","DeviceGamepad2",mq);var rq=[["path",{d:"M6 5h12l3 5l-8.5 9.5a.7 .7 0 0 1 -1 0l-8.5 -9.5l3 -5",key:"svg-0"}],["path",{d:"M10 12l-2 -2.2l.6 -1",key:"svg-1"}]],iq=F("outline","diamond","Diamond",rq);var sq=[["path",{d:"M7 7h-1a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-1",key:"svg-0"}],["path",{d:"M20.385 6.585a2.1 2.1 0 0 0 -2.97 -2.97l-8.415 8.385v3h3l8.385 -8.415",key:"svg-1"}],["path",{d:"M16 5l3 3",key:"svg-2"}]],oq=F("outline","edit","Edit",sq);var nq=[["path",{d:"M19 14.083c0 4.154 -2.966 6.74 -7 6.917c-4.2 0 -7 -2.763 -7 -6.917c0 -5.538 3.5 -11.09 7 -11.083c3.5 .007 7 5.545 7 11.083",key:"svg-0"}],["path",{d:"M12 3l-1.5 5l3.5 2.5l-2 3.5",key:"svg-1"}]],aq=F("outline","egg-cracked","EggCracked",nq);var tq=[["path",{d:"M4 20l10 -10m0 -5v5h5m-9 -1v5h5m-9 -1v5h5m-5 -5l4 -4l4 -4",key:"svg-0"}],["path",{d:"M19 10c.638 -.636 1 -1.515 1 -2.486a3.515 3.515 0 0 0 -3.517 -3.514c-.97 0 -1.847 .367 -2.483 1m-3 13l4 -4l4 -4",key:"svg-1"}]],eq=F("outline","feather","Feather",tq);var Q$=[["path",{d:"M14 3v4a1 1 0 0 0 1 1h4",key:"svg-0"}],["path",{d:"M12 21h-5a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v4.5",key:"svg-1"}],["path",{d:"M14 17.5a2.5 2.5 0 1 0 5 0a2.5 2.5 0 1 0 -5 0",key:"svg-2"}],["path",{d:"M18.5 19.5l2.5 2.5",key:"svg-3"}]],J$=F("outline","file-search","FileSearch",Q$);var Z$=[["path",{d:"M14 3v4a1 1 0 0 0 1 1h4",key:"svg-0"}],["path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2",key:"svg-1"}]],Y$=F("outline","file","File",Z$);var X$=[["path",{d:"M12 10.941c2.333 -3.308 .167 -7.823 -1 -8.941c0 3.395 -2.235 5.299 -3.667 6.706c-1.43 1.408 -2.333 3.294 -2.333 5.588c0 3.704 3.134 6.706 7 6.706c3.866 0 7 -3.002 7 -6.706c0 -1.712 -1.232 -4.403 -2.333 -5.588c-2.084 3.353 -3.257 3.353 -4.667 2.235",key:"svg-0"}]],q$=F("outline","flame","Flame",X$);var $$=[["path",{d:"M9 3l6 0",key:"svg-0"}],["path",{d:"M10 9l4 0",key:"svg-1"}],["path",{d:"M10 3v6l-4 11a.7 .7 0 0 0 .5 1h11a.7 .7 0 0 0 .5 -1l-4 -11v-6",key:"svg-2"}]],H$=F("outline","flask","Flask",$$);var W$=[["path",{d:"M15 19h-10a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2h4l3 3h7a2 2 0 0 1 2 2v3.5",key:"svg-0"}],["path",{d:"M19 16v3",key:"svg-1"}],["path",{d:"M19 22v.01",key:"svg-2"}]],z$=F("outline","folder-exclamation","FolderExclamation",W$);var G$=[["path",{d:"M5 19l2.757 -7.351a1 1 0 0 1 .936 -.649h12.307a1 1 0 0 1 .986 1.164l-.996 5.211a2 2 0 0 1 -1.964 1.625h-14.026a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2h4l3 3h7a2 2 0 0 1 2 2v2",key:"svg-0"}]],K$=F("outline","folder-open","FolderOpen",G$);var B$=[["path",{d:"M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2",key:"svg-0"}]],F$=F("outline","folder","Folder",B$);var O$=[["path",{d:"M5 11a7 7 0 0 1 14 0v7a1.78 1.78 0 0 1 -3.1 1.4a1.65 1.65 0 0 0 -2.6 0a1.65 1.65 0 0 1 -2.6 0a1.65 1.65 0 0 0 -2.6 0a1.78 1.78 0 0 1 -3.1 -1.4v-7",key:"svg-0"}],["path",{d:"M10 10l.01 0",key:"svg-1"}],["path",{d:"M14 10l.01 0",key:"svg-2"}],["path",{d:"M10 14a3.5 3.5 0 0 0 4 0",key:"svg-3"}]],U$=F("outline","ghost","Ghost",O$);var D$=[["path",{d:"M3 9a1 1 0 0 1 1 -1h16a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-16a1 1 0 0 1 -1 -1l0 -2",key:"svg-0"}],["path",{d:"M12 8l0 13",key:"svg-1"}],["path",{d:"M19 12v7a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-7",key:"svg-2"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0 -5a4.8 8 0 0 1 4.5 5a4.8 8 0 0 1 4.5 -5a2.5 2.5 0 0 1 0 5",key:"svg-3"}]],w$=F("outline","gift","Gift",D$);var V$=[["path",{d:"M7 9a4 4 0 1 0 8 0a4 4 0 0 0 -8 0",key:"svg-0"}],["path",{d:"M5.75 15a8.015 8.015 0 1 0 9.25 -13",key:"svg-1"}],["path",{d:"M11 17v4",key:"svg-2"}],["path",{d:"M7 21h8",key:"svg-3"}]],N$=F("outline","globe","Globe",V$);var A$=[["path",{d:"M19.5 12.572l-7.5 7.428l-7.5 -7.428a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572",key:"svg-0"}]],_$=F("outline","heart","Heart",A$);var T$=[["path",{d:"M19.875 6.27a2.225 2.225 0 0 1 1.125 1.948v7.284c0 .809 -.443 1.555 -1.158 1.948l-6.75 4.27a2.269 2.269 0 0 1 -2.184 0l-6.75 -4.27a2.225 2.225 0 0 1 -1.158 -1.948v-7.285c0 -.809 .443 -1.554 1.158 -1.947l6.75 -3.98a2.33 2.33 0 0 1 2.25 0l6.75 3.98h-.033",key:"svg-0"}]],I$=F("outline","hexagon","Hexagon",T$);var L$=[["path",{d:"M5 12l-2 0l9 -9l9 9l-2 0",key:"svg-0"}],["path",{d:"M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7",key:"svg-1"}],["path",{d:"M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6",key:"svg-2"}]],M$=F("outline","home","Home",L$);var E$=[["path",{d:"M16.555 3.843l3.602 3.602a2.877 2.877 0 0 1 0 4.069l-2.643 2.643a2.877 2.877 0 0 1 -4.069 0l-.301 -.301l-6.558 6.558a2 2 0 0 1 -1.239 .578l-.175 .008h-1.172a1 1 0 0 1 -.993 -.883l-.007 -.117v-1.172a2 2 0 0 1 .467 -1.284l.119 -.13l.414 -.414h2v-2h2v-2l2.144 -2.144l-.301 -.301a2.877 2.877 0 0 1 0 -4.069l2.643 -2.643a2.877 2.877 0 0 1 4.069 0",key:"svg-0"}],["path",{d:"M15 9h.01",key:"svg-1"}]],P$=F("outline","key","Key",E$);var S$=[["path",{d:"M4 6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v1a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2l0 -1",key:"svg-0"}],["path",{d:"M4 15a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2l0 -3",key:"svg-1"}],["path",{d:"M14 6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2l0 -3",key:"svg-2"}],["path",{d:"M14 17a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v1a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2l0 -1",key:"svg-3"}]],j$=F("outline","layout-2","Layout2",S$);var k$=[["path",{d:"M4 6a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2l0 -12",key:"svg-0"}],["path",{d:"M15 4l0 16",key:"svg-1"}]],b$=F("outline","layout-sidebar-right","LayoutSidebarRight",k$);var h$=[["path",{d:"M5 21c.5 -4.5 2.5 -8 7 -10",key:"svg-0"}],["path",{d:"M9 18c6.218 0 10.5 -3.288 11 -12v-2h-4.014c-9 0 -11.986 4 -12 9c0 1 0 3 2 5h3l.014 0",key:"svg-1"}]],C$=F("outline","leaf","Leaf",h$);var R$=[["path",{d:"M14 15.5a3.5 3.5 0 1 0 7 0a3.5 3.5 0 1 0 -7 0",key:"svg-0"}],["path",{d:"M3 19v-10.5a3.5 3.5 0 0 1 7 0v10.5",key:"svg-1"}],["path",{d:"M3 13h7",key:"svg-2"}],["path",{d:"M21 12v7",key:"svg-3"}]],x$=F("outline","letter-case","LetterCase",R$);var y$=[["path",{d:"M12 3a9 9 0 1 0 9 9",key:"svg-0"}]],v$=F("outline","loader-2","Loader2",y$);var f$=[["path",{d:"M15 8v-2a2 2 0 0 0 -2 -2h-7a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h7a2 2 0 0 0 2 -2v-2",key:"svg-0"}],["path",{d:"M21 12h-13l3 -3",key:"svg-1"}],["path",{d:"M11 15l-3 -3",key:"svg-2"}]],g$=F("outline","login","Login",f$);var u$=[["path",{d:"M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10",key:"svg-0"}],["path",{d:"M3 7l9 6l9 -6",key:"svg-1"}]],d$=F("outline","mail","Mail",u$);var c$=[["path",{d:"M3 7l6 -3l6 3l6 -3v13l-6 3l-6 -3l-6 3v-13",key:"svg-0"}],["path",{d:"M9 4v13",key:"svg-1"}],["path",{d:"M15 7v13",key:"svg-2"}]],p$=F("outline","map","Map",c$);var m$=[["path",{d:"M18 4a3 3 0 0 1 3 3v8a3 3 0 0 1 -3 3h-5l-5 3v-3h-2a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3h12",key:"svg-0"}],["path",{d:"M9.5 9h.01",key:"svg-1"}],["path",{d:"M14.5 9h.01",key:"svg-2"}],["path",{d:"M9.5 13a3.5 3.5 0 0 0 5 0",key:"svg-3"}]],l$=F("outline","message-chatbot","MessageChatbot",m$);var r$=[["path",{d:"M8 9h8",key:"svg-0"}],["path",{d:"M8 13h6",key:"svg-1"}],["path",{d:"M18 4a3 3 0 0 1 3 3v8a3 3 0 0 1 -3 3h-5l-5 3v-3h-2a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3h12",key:"svg-2"}]],i$=F("outline","message","Message",r$);var s$=[["path",{d:"M21 14l-3 -3h-7a1 1 0 0 1 -1 -1v-6a1 1 0 0 1 1 -1h9a1 1 0 0 1 1 1v10",key:"svg-0"}],["path",{d:"M14 15v2a1 1 0 0 1 -1 1h-7l-3 3v-10a1 1 0 0 1 1 -1h2",key:"svg-1"}]],o$=F("outline","messages","Messages",s$);var n$=[["path",{d:"M5 12l14 0",key:"svg-0"}]],a$=F("outline","minus","Minus",n$);var t$=[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-0"}],["path",{d:"M9 10l.01 0",key:"svg-1"}],["path",{d:"M15 10l.01 0",key:"svg-2"}],["path",{d:"M9.5 15.25a3.5 3.5 0 0 1 5 0",key:"svg-3"}]],e$=F("outline","mood-sad","MoodSad",t$);var QH=[["path",{d:"M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454l0 .008",key:"svg-0"}]],JH=F("outline","moon","Moon",QH);var ZH=[["path",{d:"M3 20h18l-6.921 -14.612a2.3 2.3 0 0 0 -4.158 0l-6.921 14.612",key:"svg-0"}],["path",{d:"M7.5 11l2 2.5l2.5 -2.5l2 3l2.5 -2",key:"svg-1"}]],YH=F("outline","mountain","Mountain",ZH);var XH=[["path",{d:"M3 17a3 3 0 1 0 6 0a3 3 0 0 0 -6 0",key:"svg-0"}],["path",{d:"M13 17a3 3 0 1 0 6 0a3 3 0 0 0 -6 0",key:"svg-1"}],["path",{d:"M9 17v-13h10v13",key:"svg-2"}],["path",{d:"M9 8h10",key:"svg-3"}]],qH=F("outline","music","Music",XH);var $H=[["path",{d:"M12 21a9 9 0 0 1 0 -18c4.97 0 9 3.582 9 8c0 1.06 -.474 2.078 -1.318 2.828c-.844 .75 -1.989 1.172 -3.182 1.172h-2.5a2 2 0 0 0 -1 3.75a1.3 1.3 0 0 1 -1 2.25",key:"svg-0"}],["path",{d:"M7.5 10.5a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-1"}],["path",{d:"M11.5 7.5a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-2"}],["path",{d:"M15.5 10.5a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-3"}]],HH=F("outline","palette","Palette",$H);var WH=[["path",{d:"M15 7l-6.5 6.5a1.5 1.5 0 0 0 3 3l6.5 -6.5a3 3 0 0 0 -6 -6l-6.5 6.5a4.5 4.5 0 0 0 9 9l6.5 -6.5",key:"svg-0"}]],zH=F("outline","paperclip","Paperclip",WH);var GH=[["path",{d:"M15 8h.01",key:"svg-0"}],["path",{d:"M3 6a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v12a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3v-12",key:"svg-1"}],["path",{d:"M3 16l5 -5c.928 -.893 2.072 -.893 3 0l5 5",key:"svg-2"}],["path",{d:"M14 14l1 -1c.928 -.893 2.072 -.893 3 0l3 3",key:"svg-3"}]],KH=F("outline","photo","Photo",GH);var BH=[["path",{d:"M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10",key:"svg-0"}],["path",{d:"M9 19v-6",key:"svg-1"}],["path",{d:"M8 5v8h2v-8",key:"svg-2"}],["path",{d:"M15 19v-6",key:"svg-3"}],["path",{d:"M14 5v8h2v-8",key:"svg-4"}]],FH=F("outline","piano","Piano",BH);var OH=[["path",{d:"M18.816 13.58c2.292 2.138 3.546 4 3.092 4.9c-.745 1.46 -5.783 -.259 -11.255 -3.838c-5.47 -3.579 -9.304 -7.664 -8.56 -9.123c.464 -.91 2.926 -.444 5.803 .805",key:"svg-0"}],["path",{d:"M5 12a7 7 0 1 0 14 0a7 7 0 1 0 -14 0",key:"svg-1"}]],UH=F("outline","planet","Planet",OH);var DH=[["path",{d:"M9.007 5a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-0"}],["path",{d:"M5 21l3 -3l.75 -1.5",key:"svg-1"}],["path",{d:"M14 21v-4l-4 -3l.5 -6",key:"svg-2"}],["path",{d:"M5 12l1 -3l4.5 -1l3.5 3l4 -.5",key:"svg-3"}],["path",{d:"M18.007 15.5a1.5 1.5 0 1 0 3 0a1.5 1.5 0 1 0 -3 0",key:"svg-4"}]],wH=F("outline","play-basketball","PlayBasketball",DH);var VH=[["path",{d:"M3 17l5 1l.75 -1.5",key:"svg-0"}],["path",{d:"M14 21v-4l-4 -3l1 -6",key:"svg-1"}],["path",{d:"M6 12v-3l5 -1l3 3l3 1",key:"svg-2"}],["path",{d:"M18.007 19.5a1.5 1.5 0 1 0 3 0a1.5 1.5 0 1 0 -3 0",key:"svg-3"}],["path",{d:"M10.007 5a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-4"}]],NH=F("outline","play-football","PlayFootball",VH);var AH=[["path",{d:"M11.007 5a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-0"}],["path",{d:"M19.007 9.5a1.5 1.5 0 1 0 3 0a1.5 1.5 0 1 0 -3 0",key:"svg-1"}],["path",{d:"M2 16l5 1l.5 -2.5",key:"svg-2"}],["path",{d:"M11.5 21l2.5 -5.5l-5.5 -3.5l3.5 -4l3 4l4 2",key:"svg-3"}]],_H=F("outline","play-volleyball","PlayVolleyball",AH);var TH=[["path",{d:"M7 12l5 5l-1.5 1.5a3.536 3.536 0 1 1 -5 -5l1.5 -1.5",key:"svg-0"}],["path",{d:"M17 12l-5 -5l1.5 -1.5a3.536 3.536 0 1 1 5 5l-1.5 1.5",key:"svg-1"}],["path",{d:"M3 21l2.5 -2.5",key:"svg-2"}],["path",{d:"M18.5 5.5l2.5 -2.5",key:"svg-3"}],["path",{d:"M10 11l-2 2",key:"svg-4"}],["path",{d:"M13 14l-2 2",key:"svg-5"}]],IH=F("outline","plug-connected","PlugConnected",TH);var LH=[["path",{d:"M9.785 6l8.215 8.215l-2.054 2.054a5.81 5.81 0 1 1 -8.215 -8.215l2.054 -2.054",key:"svg-0"}],["path",{d:"M4 20l3.5 -3.5",key:"svg-1"}],["path",{d:"M15 4l-3.5 3.5",key:"svg-2"}],["path",{d:"M20 9l-3.5 3.5",key:"svg-3"}]],MH=F("outline","plug","Plug",LH);var EH=[["path",{d:"M12 5l0 14",key:"svg-0"}],["path",{d:"M5 12l14 0",key:"svg-1"}]],PH=F("outline","plus","Plus",EH);var SH=[["path",{d:"M6 6a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v4a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2l0 -4",key:"svg-0"}],["path",{d:"M12 2v2",key:"svg-1"}],["path",{d:"M9 12v9",key:"svg-2"}],["path",{d:"M15 12v9",key:"svg-3"}],["path",{d:"M5 16l4 -2",key:"svg-4"}],["path",{d:"M15 14l4 2",key:"svg-5"}],["path",{d:"M9 18h6",key:"svg-6"}],["path",{d:"M10 8v.01",key:"svg-7"}],["path",{d:"M14 8v.01",key:"svg-8"}]],jH=F("outline","robot","Robot",SH);var kH=[["path",{d:"M4 13a8 8 0 0 1 7 7a6 6 0 0 0 3 -5a9 9 0 0 0 6 -8a3 3 0 0 0 -3 -3a9 9 0 0 0 -8 6a6 6 0 0 0 -5 3",key:"svg-0"}],["path",{d:"M7 14a6 6 0 0 0 -3 6a6 6 0 0 0 6 -3",key:"svg-1"}],["path",{d:"M14 9a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-2"}]],bH=F("outline","rocket","Rocket",kH);var hH=[["path",{d:"M3 15c2 3 4 4 7 4s7 -3 7 -7s-3 -7 -6 -7s-5 1.5 -5 4s2 5 6 5s8.408 -2.453 10 -5",key:"svg-0"}]],CH=F("outline","scribble","Scribble",hH);var RH=[["path",{d:"M10.325 4.317c.426 -1.756 2.924 -1.756 3.35 0a1.724 1.724 0 0 0 2.573 1.066c1.543 -.94 3.31 .826 2.37 2.37a1.724 1.724 0 0 0 1.065 2.572c1.756 .426 1.756 2.924 0 3.35a1.724 1.724 0 0 0 -1.066 2.573c.94 1.543 -.826 3.31 -2.37 2.37a1.724 1.724 0 0 0 -2.572 1.065c-.426 1.756 -2.924 1.756 -3.35 0a1.724 1.724 0 0 0 -2.573 -1.066c-1.543 .94 -3.31 -.826 -2.37 -2.37a1.724 1.724 0 0 0 -1.065 -2.572c-1.756 -.426 -1.756 -2.924 0 -3.35a1.724 1.724 0 0 0 1.066 -2.573c-.94 -1.543 .826 -3.31 2.37 -2.37c1 .608 2.296 .07 2.572 -1.065",key:"svg-0"}],["path",{d:"M9 12a3 3 0 1 0 6 0a3 3 0 0 0 -6 0",key:"svg-1"}]],xH=F("outline","settings","Settings",RH);var yH=[["path",{d:"M12 3a12 12 0 0 0 8.5 3a12 12 0 0 1 -8.5 15a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3",key:"svg-0"}]],vH=F("outline","shield","Shield",yH);var fH=[["path",{d:"M4 19a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-0"}],["path",{d:"M15 19a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-1"}],["path",{d:"M17 17h-11v-14h-2",key:"svg-2"}],["path",{d:"M6 5l14 1l-1 7h-13",key:"svg-3"}]],gH=F("outline","shopping-cart","ShoppingCart",fH);var uH=[["path",{d:"M19 8.71l-5.333 -4.148a2.666 2.666 0 0 0 -3.274 0l-5.334 4.148a2.665 2.665 0 0 0 -1.029 2.105v7.2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-7.2c0 -.823 -.38 -1.6 -1.03 -2.105",key:"svg-0"}],["path",{d:"M16 15c-2.21 1.333 -5.792 1.333 -8 0",key:"svg-1"}]],dH=F("outline","smart-home","SmartHome",uH);var cH=[["path",{d:"M10 4l2 1l2 -1",key:"svg-0"}],["path",{d:"M12 2v6.5l3 1.72",key:"svg-1"}],["path",{d:"M17.928 6.268l.134 2.232l1.866 1.232",key:"svg-2"}],["path",{d:"M20.66 7l-5.629 3.25l.01 3.458",key:"svg-3"}],["path",{d:"M19.928 14.268l-1.866 1.232l-.134 2.232",key:"svg-4"}],["path",{d:"M20.66 17l-5.629 -3.25l-2.99 1.738",key:"svg-5"}],["path",{d:"M14 20l-2 -1l-2 1",key:"svg-6"}],["path",{d:"M12 22v-6.5l-3 -1.72",key:"svg-7"}],["path",{d:"M6.072 17.732l-.134 -2.232l-1.866 -1.232",key:"svg-8"}],["path",{d:"M3.34 17l5.629 -3.25l-.01 -3.458",key:"svg-9"}],["path",{d:"M4.072 9.732l1.866 -1.232l.134 -2.232",key:"svg-10"}],["path",{d:"M3.34 7l5.629 3.25l2.99 -1.738",key:"svg-11"}]],pH=F("outline","snowflake","Snowflake",cH);var mH=[["path",{d:"M16 18a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2m0 -12a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2m-7 12a6 6 0 0 1 6 -6a6 6 0 0 1 -6 -6a6 6 0 0 1 -6 6a6 6 0 0 1 6 6",key:"svg-0"}]],lH=F("outline","sparkles","Sparkles",mH);var rH=[["path",{d:"M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873l-6.158 -3.245",key:"svg-0"}]],iH=F("outline","star","Star",rH);var sH=[["path",{d:"M8 12a4 4 0 1 0 8 0a4 4 0 1 0 -8 0",key:"svg-0"}],["path",{d:"M3 12h1m8 -9v1m8 8h1m-9 8v1m-6.4 -15.4l.7 .7m12.1 -.7l-.7 .7m0 11.4l.7 .7m-12.1 -.7l-.7 .7",key:"svg-1"}]],oH=F("outline","sun","Sun",sH);var nH=[["path",{d:"M19 22.5a4.75 4.75 0 0 1 3.5 -3.5a4.75 4.75 0 0 1 -3.5 -3.5a4.75 4.75 0 0 1 -3.5 3.5a4.75 4.75 0 0 1 3.5 3.5",key:"svg-0"}],["path",{d:"M12 21h-7a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v7",key:"svg-1"}],["path",{d:"M3 10h18",key:"svg-2"}],["path",{d:"M10 3v18",key:"svg-3"}]],aH=F("outline","table-spark","TableSpark",nH);var tH=[["path",{d:"M11 12a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-0"}],["path",{d:"M7 12a5 5 0 1 0 10 0a5 5 0 1 0 -10 0",key:"svg-1"}],["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-2"}]],eH=F("outline","target","Target",tH);var QW=[["path",{d:"M8 9l3 3l-3 3",key:"svg-0"}],["path",{d:"M13 15l3 0",key:"svg-1"}],["path",{d:"M3 6a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2l0 -12",key:"svg-2"}]],JW=F("outline","terminal-2","Terminal2",QW);var ZW=[["path",{d:"M7 10h3v-3l-3.5 -3.5a6 6 0 0 1 8 8l6 6a2 2 0 0 1 -3 3l-6 -6a6 6 0 0 1 -8 -8l3.5 3.5",key:"svg-0"}]],YW=F("outline","tool","Tool",ZW);var XW=[["path",{d:"M4 7l16 0",key:"svg-0"}],["path",{d:"M10 11l0 6",key:"svg-1"}],["path",{d:"M14 11l0 6",key:"svg-2"}],["path",{d:"M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2 -2l1 -12",key:"svg-3"}],["path",{d:"M9 7v-3a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v3",key:"svg-4"}]],qW=F("outline","trash","Trash",XW);var $W=[["path",{d:"M8 21l8 0",key:"svg-0"}],["path",{d:"M12 17l0 4",key:"svg-1"}],["path",{d:"M7 4l10 0",key:"svg-2"}],["path",{d:"M17 4v8a5 5 0 0 1 -10 0v-8",key:"svg-3"}],["path",{d:"M3 9a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-4"}],["path",{d:"M17 9a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-5"}]],HW=F("outline","trophy","Trophy",$W);var WW=[["path",{d:"M5.343 7.343a8 8 0 1 1 11.314 11.314l-11.314 -11.314",key:"svg-0"}],["path",{d:"M10.828 13.34l-4.242 4.243a2 2 0 1 0 2.828 2.828",key:"svg-1"}]],zW=F("outline","umbrella-2","Umbrella2",WW);var GW=[["path",{d:"M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2",key:"svg-0"}],["path",{d:"M7 9l5 -5l5 5",key:"svg-1"}],["path",{d:"M12 4l0 12",key:"svg-2"}]],KW=F("outline","upload","Upload",GW);var BW=[["path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0",key:"svg-0"}],["path",{d:"M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2",key:"svg-1"}]],FW=F("outline","user","User",BW);var OW=[["path",{d:"M6 21l15 -15l-3 -3l-15 15l3 3",key:"svg-0"}],["path",{d:"M15 6l3 3",key:"svg-1"}],["path",{d:"M9 3a2 2 0 0 0 2 2a2 2 0 0 0 -2 2a2 2 0 0 0 -2 -2a2 2 0 0 0 2 -2",key:"svg-2"}],["path",{d:"M19 13a2 2 0 0 0 2 2a2 2 0 0 0 -2 2a2 2 0 0 0 -2 -2a2 2 0 0 0 2 -2",key:"svg-3"}]],UW=F("outline","wand","Wand",OW);var DW=[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M3.6 9h16.8",key:"svg-1"}],["path",{d:"M3.6 15h16.8",key:"svg-2"}],["path",{d:"M11.5 3a17 17 0 0 0 0 18",key:"svg-3"}],["path",{d:"M12.5 3a17 17 0 0 1 0 18",key:"svg-4"}]],wW=F("outline","world","World",DW);var VW=[["path",{d:"M12 2c5.523 0 10 4.477 10 10a10 10 0 0 1 -19.995 .324l-.005 -.324l.004 -.28c.148 -5.393 4.566 -9.72 9.996 -9.72zm.01 13l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-.01 -8a1 1 0 0 0 -.993 .883l-.007 .117v4l.007 .117a1 1 0 0 0 1.986 0l.007 -.117v-4l-.007 -.117a1 1 0 0 0 -.993 -.883z",key:"svg-0"}]],NW=F("filled","alert-circle-filled","AlertCircleFilled",VW);var AW=[["path",{d:"M12 2l.642 .005l.616 .017l.299 .013l.579 .034l.553 .046c4.687 .455 6.65 2.333 7.166 6.906l.03 .29l.046 .553l.041 .727l.006 .15l.017 .617l.005 .642l-.005 .642l-.017 .616l-.013 .299l-.034 .579l-.046 .553c-.455 4.687 -2.333 6.65 -6.906 7.166l-.29 .03l-.553 .046l-.727 .041l-.15 .006l-.617 .017l-.642 .005l-.642 -.005l-.616 -.017l-.299 -.013l-.579 -.034l-.553 -.046c-4.687 -.455 -6.65 -2.333 -7.166 -6.906l-.03 -.29l-.046 -.553l-.041 -.727l-.006 -.15l-.017 -.617l-.004 -.318v-.648l.004 -.318l.017 -.616l.013 -.299l.034 -.579l.046 -.553c.455 -4.687 2.333 -6.65 6.906 -7.166l.29 -.03l.553 -.046l.727 -.041l.15 -.006l.617 -.017c.21 -.003 .424 -.005 .642 -.005zm.01 13l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007zm-.01 -8a1 1 0 0 0 -.993 .883l-.007 .117v4l.007 .117a1 1 0 0 0 1.986 0l.007 -.117v-4l-.007 -.117a1 1 0 0 0 -.993 -.883z",key:"svg-0"}]],_W=F("filled","alert-square-rounded-filled","AlertSquareRoundedFilled",AW);var TW=[["path",{d:"M13 2l.018 .001l.016 .001l.083 .005l.011 .002h.011l.038 .009l.052 .008l.016 .006l.011 .001l.029 .011l.052 .014l.019 .009l.015 .004l.028 .014l.04 .017l.021 .012l.022 .01l.023 .015l.031 .017l.034 .024l.018 .011l.013 .012l.024 .017l.038 .034l.022 .017l.008 .01l.014 .012l.036 .041l.026 .027l.006 .009c.12 .147 .196 .322 .218 .513l.001 .012l.002 .041l.004 .064v6h5a1 1 0 0 1 .868 1.497l-.06 .091l-8 11c-.568 .783 -1.808 .38 -1.808 -.588v-6h-5a1 1 0 0 1 -.868 -1.497l.06 -.091l8 -11l.01 -.013l.018 -.024l.033 -.038l.018 -.022l.009 -.008l.013 -.014l.04 -.036l.028 -.026l.008 -.006a1 1 0 0 1 .402 -.199l.011 -.001l.027 -.005l.074 -.013l.011 -.001l.041 -.002z",key:"svg-0"}]],IW=F("filled","bolt-filled","BoltFilled",TW);var LW=[["path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.293 5.953a1 1 0 0 0 -1.32 -.083l-.094 .083l-3.293 3.292l-1.293 -1.292l-.094 -.083a1 1 0 0 0 -1.403 1.403l.083 .094l2 2l.094 .083a1 1 0 0 0 1.226 0l.094 -.083l4 -4l.083 -.094a1 1 0 0 0 -.083 -1.32z",key:"svg-0"}]],MW=F("filled","circle-check-filled","CircleCheckFilled",LW);var EW=[["path",{d:"M17 4h-10a3 3 0 0 0 -3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3 -3v-10a3 3 0 0 0 -3 -3z",key:"svg-0"}]],PW=F("filled","player-stop-filled","PlayerStopFilled",EW);var v1=b(C(),1);var AQ=(Q)=>{let J,Z=new Set,Y=(z,G)=>{let K=typeof z==="function"?z(J):z;if(!Object.is(K,J)){let B=J;J=(G!=null?G:typeof K!=="object"||K===null)?K:Object.assign({},J,K),Z.forEach((O)=>O(J,B))}},X=()=>J,H={setState:Y,getState:X,getInitialState:()=>W,subscribe:(z)=>{return Z.add(z),()=>Z.delete(z)}},W=J=Q(Y,X,H);return H},_Q=(Q)=>Q?AQ(Q):AQ;var SW=(Q)=>Q;function jW(Q,J=SW){let Z=v1.default.useSyncExternalStore(Q.subscribe,v1.default.useCallback(()=>J(Q.getState()),[Q,J]),v1.default.useCallback(()=>J(Q.getInitialState()),[Q,J]));return v1.default.useDebugValue(Z),Z}var TQ=(Q)=>{let J=_Q(Q),Z=(Y)=>jW(J,Y);return Object.assign(Z,J),Z},Vt1=(Q)=>Q?TQ(Q):TQ;function kW(Q,J){let Z;try{Z=Q()}catch(X){return}return{getItem:(X)=>{var $;let q=(W)=>{if(W===null)return null;return JSON.parse(W,J==null?void 0:J.reviver)},H=($=Z.getItem(X))!=null?$:null;if(H instanceof Promise)return H.then(q);return q(H)},setItem:(X,$)=>Z.setItem(X,JSON.stringify($,J==null?void 0:J.replacer)),removeItem:(X)=>Z.removeItem(X)}}var b7=(Q)=>(J)=>{try{let Z=Q(J);if(Z instanceof Promise)return Z;return{then(Y){return b7(Y)(Z)},catch(Y){return this}}}catch(Z){return{then(Y){return this},catch(Y){return b7(Y)(Z)}}}},bW=(Q,J)=>(Z,Y,X)=>{let $={storage:kW(()=>window.localStorage),partialize:(D)=>D,version:0,merge:(D,N)=>({...N,...D}),...J},q=!1,H=0,W=new Set,z=new Set,G=$.storage;if(!G)return Q((...D)=>{console.warn(`[zustand persist middleware] Unable to update item '${$.name}', the given storage is currently unavailable.`),Z(...D)},Y,X);let K=()=>{let D=$.partialize({...Y()});return G.setItem($.name,{state:D,version:$.version})},B=X.setState;X.setState=(D,N)=>{return B(D,N),K()};let O=Q((...D)=>{return Z(...D),K()},Y,X);X.getInitialState=()=>O;let U,V=()=>{var D,N;if(!G)return;let T=++H;q=!1,W.forEach((w)=>{var I;return w((I=Y())!=null?I:O)});let A=((N=$.onRehydrateStorage)==null?void 0:N.call($,(D=Y())!=null?D:O))||void 0;return b7(G.getItem.bind(G))($.name).then((w)=>{if(w)if(typeof w.version==="number"&&w.version!==$.version){if($.migrate){let I=$.migrate(w.state,w.version);if(I instanceof Promise)return I.then((L)=>[!0,L]);return[!0,I]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,w.state];return[!1,void 0]}).then((w)=>{var I;if(T!==H)return;let[L,k]=w;if(U=$.merge(k,(I=Y())!=null?I:O),Z(U,!0),L)return K()}).then(()=>{if(T!==H)return;A==null||A(Y(),void 0),U=Y(),q=!0,z.forEach((w)=>w(U))}).catch((w)=>{if(T!==H)return;A==null||A(void 0,w)})};if(X.persist={setOptions:(D)=>{if($={...$,...D},D.storage)G=D.storage},clearStorage:()=>{G==null||G.removeItem($.name)},getOptions:()=>$,rehydrate:()=>V(),hasHydrated:()=>q,onHydrate:(D)=>{return W.add(D),()=>{W.delete(D)}},onFinishHydration:(D)=>{return z.add(D),()=>{z.delete(D)}}},!$.skipHydration)V();return U||O},At1=bW;function E5(Q,J){if(Q.indexOf(J)===-1)Q.push(J)}function H5(Q,J){let Z=Q.indexOf(J);if(Z>-1)Q.splice(Z,1)}var e=(Q,J,Z)=>{if(Z>J)return J;if(Z<Q)return Q;return Z};function h7(Q,J){return J?`${Q}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${J}`:Q}var R0=()=>{},U0=()=>{};if(typeof process<"u"&&process.env?.NODE_ENV!=="production")R0=(Q,J,Z)=>{if(!Q&&typeof console<"u")console.warn(h7(J,Z))},U0=(Q,J,Z)=>{if(!Q)throw Error(h7(J,Z))};var W0={};var f1=(Q)=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(Q);function g1(Q){return typeof Q==="object"&&Q!==null}var u1=(Q)=>/^0[^.\s]+$/u.test(Q);function d1(Q){let J;return()=>{if(J===void 0)J=Q();return J}}var i=(Q)=>Q;var hW=(Q,J)=>(Z)=>J(Q(Z)),P0=(...Q)=>Q.reduce(hW);var x0=(Q,J,Z)=>{let Y=J-Q;return Y===0?1:(Z-Q)/Y};class W5{constructor(){this.subscriptions=[]}add(Q){return E5(this.subscriptions,Q),()=>H5(this.subscriptions,Q)}notify(Q,J,Z){let Y=this.subscriptions.length;if(!Y)return;if(Y===1)this.subscriptions[0](Q,J,Z);else for(let X=0;X<Y;X++){let $=this.subscriptions[X];$&&$(Q,J,Z)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}var Q0=(Q)=>Q*1000,X0=(Q)=>Q/1000;function c1(Q,J){return J?Q*(1000/J):0}var IQ=(Q,J,Z)=>(((1-3*Z+3*J)*Q+(3*Z-6*J))*Q+3*J)*Q,CW=0.0000001,RW=12;function xW(Q,J,Z,Y,X){let $,q,H=0;do if(q=J+(Z-J)/2,$=IQ(q,Y,X)-Q,$>0)Z=q;else J=q;while(Math.abs($)>CW&&++H<RW);return q}function z5(Q,J,Z,Y){if(Q===J&&Z===Y)return i;let X=($)=>xW($,0,1,Q,Z);return($)=>$===0||$===1?$:IQ(X($),J,Y)}var r8=(Q)=>(J)=>J<=0.5?Q(2*J)/2:(2-Q(2*(1-J)))/2;var i8=(Q)=>(J)=>1-Q(1-J);var s8=z5(0.33,1.53,0.69,0.99),Z1=i8(s8),p1=r8(Z1);var m1=(Q)=>(Q*=2)<1?0.5*Z1(Q):0.5*(2-Math.pow(2,-10*(Q-1)));var l1=(Q)=>1-Math.sin(Math.acos(Q)),r1=i8(l1),i1=r8(l1);var C7=z5(0.42,0,1,1),R7=z5(0,0,0.58,1),s1=z5(0.42,0,0.58,1);var x7=(Q)=>{return Array.isArray(Q)&&typeof Q[0]!=="number"};var o1=(Q)=>Array.isArray(Q)&&typeof Q[0]==="number";var LQ={linear:i,easeIn:C7,easeInOut:s1,easeOut:R7,circIn:l1,circInOut:i1,circOut:r1,backIn:Z1,backInOut:p1,backOut:s8,anticipate:m1},yW=(Q)=>{return typeof Q==="string"},o8=(Q)=>{if(o1(Q)){U0(Q.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[J,Z,Y,X]=Q;return z5(J,Z,Y,X)}else if(yW(Q))return U0(LQ[Q]!==void 0,`Invalid easing type '${Q}'`,"invalid-easing-type"),LQ[Q];return Q};var n1=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var w0={value:null,addProjectionMetrics:null};function MQ(Q,J){let Z=new Set,Y=new Set,X=!1,$=!1,q=new WeakSet,H={delta:0,timestamp:0,isProcessing:!1},W=0;function z(K){if(q.has(K))G.schedule(K),Q();W++,K(H)}let G={schedule:(K,B=!1,O=!1)=>{let V=O&&X?Z:Y;if(B)q.add(K);if(!V.has(K))V.add(K);return K},cancel:(K)=>{Y.delete(K),q.delete(K)},process:(K)=>{if(H=K,X){$=!0;return}if(X=!0,[Z,Y]=[Y,Z],Z.forEach(z),J&&w0.value)w0.value.frameloop[J].push(W);if(W=0,Z.clear(),X=!1,$)$=!1,G.process(K)}};return G}var vW=40;function n8(Q,J){let Z=!1,Y=!0,X={delta:0,timestamp:0,isProcessing:!1},$=()=>Z=!0,q=n1.reduce((A,w)=>{return A[w]=MQ($,J?w:void 0),A},{}),{setup:H,read:W,resolveKeyframes:z,preUpdate:G,update:K,preRender:B,render:O,postRender:U}=q,V=()=>{let A=W0.useManualTiming?X.timestamp:performance.now();if(Z=!1,!W0.useManualTiming)X.delta=Y?16.666666666666668:Math.max(Math.min(A-X.timestamp,vW),1);if(X.timestamp=A,X.isProcessing=!0,H.process(X),W.process(X),z.process(X),G.process(X),K.process(X),B.process(X),O.process(X),U.process(X),X.isProcessing=!1,Z&&J)Y=!1,Q(V)},D=()=>{if(Z=!0,Y=!0,!X.isProcessing)Q(V)};return{schedule:n1.reduce((A,w)=>{let I=q[w];return A[w]=(L,k=!1,_=!1)=>{if(!Z)D();return I.schedule(L,k,_)},A},{}),cancel:(A)=>{for(let w=0;w<n1.length;w++)q[n1[w]].cancel(A)},state:X,steps:q}}var{schedule:R,cancel:D0,state:a,steps:a1}=n8(typeof requestAnimationFrame<"u"?requestAnimationFrame:i,!0);var a8;function fW(){a8=void 0}var s={now:()=>{if(a8===void 0)s.set(a.isProcessing||W0.useManualTiming?a.timestamp:performance.now());return a8},set:(Q)=>{a8=Q,queueMicrotask(fW)}};var y0={layout:0,mainThread:0,waapi:0};var EQ=(Q)=>(J)=>typeof J==="string"&&J.startsWith(Q),t8=EQ("--"),gW=EQ("var(--"),Y1=(Q)=>{if(!gW(Q))return!1;return uW.test(Q.split("/*")[0].trim())},uW=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function y7(Q){if(typeof Q!=="string")return!1;return Q.split("/*")[0].includes("var(--")}var v0={test:(Q)=>typeof Q==="number",parse:parseFloat,transform:(Q)=>Q},o0={...v0,transform:(Q)=>e(0,1,Q)},t1={...v0,default:1};var G5=(Q)=>Math.round(Q*1e5)/1e5;var X1=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function PQ(Q){return Q==null}var SQ=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var q1=(Q,J)=>(Z)=>{return Boolean(typeof Z==="string"&&SQ.test(Z)&&Z.startsWith(Q)||J&&!PQ(Z)&&Object.prototype.hasOwnProperty.call(Z,J))},e8=(Q,J,Z)=>(Y)=>{if(typeof Y!=="string")return Y;let[X,$,q,H]=Y.match(X1);return{[Q]:parseFloat(X),[J]:parseFloat($),[Z]:parseFloat(q),alpha:H!==void 0?parseFloat(H):1}};var dW=(Q)=>e(0,255,Q),v7={...v0,transform:(Q)=>Math.round(dW(Q))},f0={test:q1("rgb","red"),parse:e8("red","green","blue"),transform:({red:Q,green:J,blue:Z,alpha:Y=1})=>"rgba("+v7.transform(Q)+", "+v7.transform(J)+", "+v7.transform(Z)+", "+G5(o0.transform(Y))+")"};function cW(Q){let J="",Z="",Y="",X="";if(Q.length>5)J=Q.substring(1,3),Z=Q.substring(3,5),Y=Q.substring(5,7),X=Q.substring(7,9);else J=Q.substring(1,2),Z=Q.substring(2,3),Y=Q.substring(3,4),X=Q.substring(4,5),J+=J,Z+=Z,Y+=Y,X+=X;return{red:parseInt(J,16),green:parseInt(Z,16),blue:parseInt(Y,16),alpha:X?parseInt(X,16)/255:1}}var e1={test:q1("#"),parse:cW,transform:f0.transform};var Q8=(Q)=>({test:(J)=>typeof J==="string"&&J.endsWith(Q)&&J.split(" ").length===1,parse:parseFloat,transform:(J)=>`${J}${Q}`}),S0=Q8("deg"),z0=Q8("%"),M=Q8("px"),f7=Q8("vh"),g7=Q8("vw"),Q6=(()=>({...z0,parse:(Q)=>z0.parse(Q)/100,transform:(Q)=>z0.transform(Q*100)}))();var K5={test:q1("hsl","hue"),parse:e8("hue","saturation","lightness"),transform:({hue:Q,saturation:J,lightness:Z,alpha:Y=1})=>{return"hsla("+Math.round(Q)+", "+z0.transform(G5(J))+", "+z0.transform(G5(Z))+", "+G5(o0.transform(Y))+")"}};var m={test:(Q)=>f0.test(Q)||e1.test(Q)||K5.test(Q),parse:(Q)=>{if(f0.test(Q))return f0.parse(Q);else if(K5.test(Q))return K5.parse(Q);else return e1.parse(Q)},transform:(Q)=>{return typeof Q==="string"?Q:Q.hasOwnProperty("red")?f0.transform(Q):K5.transform(Q)},getAnimatableNone:(Q)=>{let J=m.parse(Q);return J.alpha=0,m.transform(J)}};var jQ=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function pW(Q){return isNaN(Q)&&typeof Q==="string"&&(Q.match(X1)?.length||0)+(Q.match(jQ)?.length||0)>0}var bQ="number",hQ="color",mW="var",lW="var(",kQ="${}",rW=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function P5(Q){let J=Q.toString(),Z=[],Y={color:[],number:[],var:[]},X=[],$=0,H=J.replace(rW,(W)=>{if(m.test(W))Y.color.push($),X.push(hQ),Z.push(m.parse(W));else if(W.startsWith(lW))Y.var.push($),X.push(mW),Z.push(W);else Y.number.push($),X.push(bQ),Z.push(parseFloat(W));return++$,kQ}).split(kQ);return{values:Z,split:H,indexes:Y,types:X}}function CQ(Q){return P5(Q).values}function RQ(Q){let{split:J,types:Z}=P5(Q),Y=J.length;return(X)=>{let $="";for(let q=0;q<Y;q++)if($+=J[q],X[q]!==void 0){let H=Z[q];if(H===bQ)$+=G5(X[q]);else if(H===hQ)$+=m.transform(X[q]);else $+=X[q]}return $}}var iW=(Q)=>typeof Q==="number"?0:m.test(Q)?m.getAnimatableNone(Q):Q;function sW(Q){let J=CQ(Q);return RQ(Q)(J.map(iW))}var q0={test:pW,parse:CQ,createTransformer:RQ,getAnimatableNone:sW};function u7(Q,J,Z){if(Z<0)Z+=1;if(Z>1)Z-=1;if(Z<0.16666666666666666)return Q+(J-Q)*6*Z;if(Z<0.5)return J;if(Z<0.6666666666666666)return Q+(J-Q)*(0.6666666666666666-Z)*6;return Q}function xQ({hue:Q,saturation:J,lightness:Z,alpha:Y}){Q/=360,J/=100,Z/=100;let X=0,$=0,q=0;if(!J)X=$=q=Z;else{let H=Z<0.5?Z*(1+J):Z+J-Z*J,W=2*Z-H;X=u7(W,H,Q+0.3333333333333333),$=u7(W,H,Q),q=u7(W,H,Q-0.3333333333333333)}return{red:Math.round(X*255),green:Math.round($*255),blue:Math.round(q*255),alpha:Y}}function $1(Q,J){return(Z)=>Z>0?J:Q}var y=(Q,J,Z)=>{return Q+(J-Q)*Z};var d7=(Q,J,Z)=>{let Y=Q*Q,X=Z*(J*J-Y)+Y;return X<0?0:Math.sqrt(X)},oW=[e1,f0,K5],nW=(Q)=>oW.find((J)=>J.test(Q));function yQ(Q){let J=nW(Q);if(R0(Boolean(J),`'${Q}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!Boolean(J))return!1;let Z=J.parse(Q);if(J===K5)Z=xQ(Z);return Z}var c7=(Q,J)=>{let Z=yQ(Q),Y=yQ(J);if(!Z||!Y)return $1(Q,J);let X={...Z};return($)=>{return X.red=d7(Z.red,Y.red,$),X.green=d7(Z.green,Y.green,$),X.blue=d7(Z.blue,Y.blue,$),X.alpha=y(Z.alpha,Y.alpha,$),f0.transform(X)}};var J6=new Set(["none","hidden"]);function vQ(Q,J){if(J6.has(Q))return(Z)=>Z<=0?Q:J;else return(Z)=>Z>=1?J:Q}function aW(Q,J){return(Z)=>y(Q,J,Z)}function Z6(Q){if(typeof Q==="number")return aW;else if(typeof Q==="string")return Y1(Q)?$1:m.test(Q)?c7:Qz;else if(Array.isArray(Q))return fQ;else if(typeof Q==="object")return m.test(Q)?c7:tW;return $1}function fQ(Q,J){let Z=[...Q],Y=Z.length,X=Q.map(($,q)=>Z6($)($,J[q]));return($)=>{for(let q=0;q<Y;q++)Z[q]=X[q]($);return Z}}function tW(Q,J){let Z={...Q,...J},Y={};for(let X in Z)if(Q[X]!==void 0&&J[X]!==void 0)Y[X]=Z6(Q[X])(Q[X],J[X]);return(X)=>{for(let $ in Y)Z[$]=Y[$](X);return Z}}function eW(Q,J){let Z=[],Y={color:0,var:0,number:0};for(let X=0;X<J.values.length;X++){let $=J.types[X],q=Q.indexes[$][Y[$]],H=Q.values[q]??0;Z[X]=H,Y[$]++}return Z}var Qz=(Q,J)=>{let Z=q0.createTransformer(J),Y=P5(Q),X=P5(J);if(Y.indexes.var.length===X.indexes.var.length&&Y.indexes.color.length===X.indexes.color.length&&Y.indexes.number.length>=X.indexes.number.length){if(J6.has(Q)&&!X.values.length||J6.has(J)&&!Y.values.length)return vQ(Q,J);return P0(fQ(eW(Y,X),X.values),Z)}else return R0(!0,`Complex values '${Q}' and '${J}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),$1(Q,J)};function Y6(Q,J,Z){if(typeof Q==="number"&&typeof J==="number"&&typeof Z==="number")return y(Q,J,Z);return Z6(Q)(Q,J)}var gQ=(Q)=>{let J=({timestamp:Z})=>Q(Z);return{start:(Z=!0)=>R.update(J,Z),stop:()=>D0(J),now:()=>a.isProcessing?a.timestamp:s.now()}};var X6=(Q,J,Z=10)=>{let Y="",X=Math.max(Math.round(J/Z),2);for(let $=0;$<X;$++)Y+=Math.round(Q($/(X-1))*1e4)/1e4+", ";return`linear(${Y.substring(0,Y.length-2)})`};var q6=20000;function H1(Q){let J=0,Z=50,Y=Q.next(J);while(!Y.done&&J<20000)J+=Z,Y=Q.next(J);return J>=20000?1/0:J}function uQ(Q,J=100,Z){let Y=Z({...Q,keyframes:[0,J]}),X=Math.min(H1(Y),q6);return{type:"keyframes",ease:($)=>{return Y.next(X*$).value/J},duration:X0(X)}}var Jz=5;function $6(Q,J,Z){let Y=Math.max(J-Jz,0);return c1(Z-Q(Y),J-Y)}var p={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:0.3,visualDuration:0.3,restSpeed:{granular:0.01,default:2},restDelta:{granular:0.005,default:0.5},minDuration:0.01,maxDuration:10,minDamping:0.05,maxDamping:1};var p7=0.001;function dQ({duration:Q=p.duration,bounce:J=p.bounce,velocity:Z=p.velocity,mass:Y=p.mass}){let X,$;R0(Q<=Q0(p.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let q=1-J;if(q=e(p.minDamping,p.maxDamping,q),Q=e(p.minDuration,p.maxDuration,X0(Q)),q<1)X=(z)=>{let G=z*q,K=G*Q,B=G-Z,O=H6(z,q),U=Math.exp(-K);return p7-B/O*U},$=(z)=>{let K=z*q*Q,B=K*Z+Z,O=Math.pow(q,2)*Math.pow(z,2)*Q,U=Math.exp(-K),V=H6(Math.pow(z,2),q);return(-X(z)+p7>0?-1:1)*((B-O)*U)/V};else X=(z)=>{let G=Math.exp(-z*Q),K=(z-Z)*Q+1;return-p7+G*K},$=(z)=>{let G=Math.exp(-z*Q),K=(Z-z)*(Q*Q);return G*K};let H=5/Q,W=Yz(X,$,H);if(Q=Q0(Q),isNaN(W))return{stiffness:p.stiffness,damping:p.damping,duration:Q};else{let z=Math.pow(W,2)*Y;return{stiffness:z,damping:q*2*Math.sqrt(Y*z),duration:Q}}}var Zz=12;function Yz(Q,J,Z){let Y=Z;for(let X=1;X<Zz;X++)Y=Y-Q(Y)/J(Y);return Y}function H6(Q,J){return Q*Math.sqrt(1-J*J)}var Xz=["duration","bounce"],qz=["stiffness","damping","mass"];function cQ(Q,J){return J.some((Z)=>Q[Z]!==void 0)}function $z(Q){let J={velocity:p.velocity,stiffness:p.stiffness,damping:p.damping,mass:p.mass,isResolvedFromDuration:!1,...Q};if(!cQ(Q,qz)&&cQ(Q,Xz))if(J.velocity=0,Q.visualDuration){let Z=Q.visualDuration,Y=2*Math.PI/(Z*1.2),X=Y*Y,$=2*e(0.05,1,1-(Q.bounce||0))*Math.sqrt(X);J={...J,mass:p.mass,stiffness:X,damping:$}}else{let Z=dQ({...Q,velocity:0});J={...J,...Z,mass:p.mass},J.isResolvedFromDuration=!0}return J}function W1(Q=p.visualDuration,J=p.bounce){let Z=typeof Q!=="object"?{visualDuration:Q,keyframes:[0,1],bounce:J}:Q,{restSpeed:Y,restDelta:X}=Z,$=Z.keyframes[0],q=Z.keyframes[Z.keyframes.length-1],H={done:!1,value:$},{stiffness:W,damping:z,mass:G,duration:K,velocity:B,isResolvedFromDuration:O}=$z({...Z,velocity:-X0(Z.velocity||0)}),U=B||0,V=z/(2*Math.sqrt(W*G)),D=q-$,N=X0(Math.sqrt(W/G)),T=Math.abs(D)<5;Y||(Y=T?p.restSpeed.granular:p.restSpeed.default),X||(X=T?p.restDelta.granular:p.restDelta.default);let A;if(V<1){let I=H6(N,V);A=(L)=>{let k=Math.exp(-V*N*L);return q-k*((U+V*N*D)/I*Math.sin(I*L)+D*Math.cos(I*L))}}else if(V===1)A=(I)=>q-Math.exp(-N*I)*(D+(U+N*D)*I);else{let I=N*Math.sqrt(V*V-1);A=(L)=>{let k=Math.exp(-V*N*L),_=Math.min(I*L,300);return q-k*((U+V*N*D)*Math.sinh(_)+I*D*Math.cosh(_))/I}}let w={calculatedDuration:O?K||null:null,next:(I)=>{let L=A(I);if(!O){let k=I===0?U:0;if(V<1)k=I===0?Q0(U):$6(A,I,L);let _=Math.abs(k)<=Y,j=Math.abs(q-L)<=X;H.done=_&&j}else H.done=I>=K;return H.value=H.done?q:L,H},toString:()=>{let I=Math.min(H1(w),q6),L=X6((k)=>w.next(I*k).value,I,30);return I+"ms "+L},toTransition:()=>{}};return w}W1.applyToOptions=(Q)=>{let J=uQ(Q,100,W1);return Q.ease=J.ease,Q.duration=Q0(J.duration),Q.type="keyframes",Q};function J8({keyframes:Q,velocity:J=0,power:Z=0.8,timeConstant:Y=325,bounceDamping:X=10,bounceStiffness:$=500,modifyTarget:q,min:H,max:W,restDelta:z=0.5,restSpeed:G}){let K=Q[0],B={done:!1,value:K},O=(_)=>H!==void 0&&_<H||W!==void 0&&_>W,U=(_)=>{if(H===void 0)return W;if(W===void 0)return H;return Math.abs(H-_)<Math.abs(W-_)?H:W},V=Z*J,D=K+V,N=q===void 0?D:q(D);if(N!==D)V=N-K;let T=(_)=>-V*Math.exp(-_/Y),A=(_)=>N+T(_),w=(_)=>{let j=T(_),v=A(_);B.done=Math.abs(j)<=z,B.value=B.done?N:v},I,L,k=(_)=>{if(!O(B.value))return;I=_,L=W1({keyframes:[B.value,U(B.value)],velocity:$6(A,_,B.value),damping:X,stiffness:$,restDelta:z,restSpeed:G})};return k(0),{calculatedDuration:null,next:(_)=>{let j=!1;if(!L&&I===void 0)j=!0,w(_),k(_);if(I!==void 0&&_>=I)return L.next(_-I);else return!j&&w(_),B}}}function Hz(Q,J,Z){let Y=[],X=Z||W0.mix||Y6,$=Q.length-1;for(let q=0;q<$;q++){let H=X(Q[q],Q[q+1]);if(J){let W=Array.isArray(J)?J[q]||i:J;H=P0(W,H)}Y.push(H)}return Y}function pQ(Q,J,{clamp:Z=!0,ease:Y,mixer:X}={}){let $=Q.length;if(U0($===J.length,"Both input and output ranges must be the same length","range-length"),$===1)return()=>J[0];if($===2&&J[0]===J[1])return()=>J[1];let q=Q[0]===Q[1];if(Q[0]>Q[$-1])Q=[...Q].reverse(),J=[...J].reverse();let H=Hz(J,Y,X),W=H.length,z=(G)=>{if(q&&G<Q[0])return J[0];let K=0;if(W>1){for(;K<Q.length-2;K++)if(G<Q[K+1])break}let B=x0(Q[K],Q[K+1],G);return H[K](B)};return Z?(G)=>z(e(Q[0],Q[$-1],G)):z}function mQ(Q,J){let Z=Q[Q.length-1];for(let Y=1;Y<=J;Y++){let X=x0(0,J,Y);Q.push(y(Z,1,X))}}function lQ(Q){let J=[0];return mQ(J,Q.length-1),J}function rQ(Q,J){return Q.map((Z)=>Z*J)}function Wz(Q,J){return Q.map(()=>J||s1).splice(0,Q.length-1)}function S5({duration:Q=300,keyframes:J,times:Z,ease:Y="easeInOut"}){let X=x7(Y)?Y.map(o8):o8(Y),$={done:!1,value:J[0]},q=rQ(Z&&Z.length===J.length?Z:lQ(J),Q),H=pQ(q,J,{ease:Array.isArray(X)?X:Wz(J,X)});return{calculatedDuration:Q,next:(W)=>{return $.value=H(W),$.done=W>=Q,$}}}var zz=(Q)=>Q!==null;function z1(Q,{repeat:J,repeatType:Z="loop"},Y,X=1){let $=Q.filter(zz),H=X<0||J&&Z!=="loop"&&J%2===1?0:$.length-1;return!H||Y===void 0?$[H]:Y}var Gz={decay:J8,inertia:J8,tween:S5,keyframes:S5,spring:W1};function W6(Q){if(typeof Q.type==="string")Q.type=Gz[Q.type]}class j5{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise((Q)=>{this.resolve=Q})}notifyFinished(){this.resolve()}then(Q,J){return this.finished.then(Q,J)}}var Kz=(Q)=>Q/100;class k5 extends j5{constructor(Q){super();if(this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:J}=this.options;if(J&&J.updatedAt!==s.now())this.tick(s.now());if(this.isStopped=!0,this.state==="idle")return;this.teardown(),this.options.onStop?.()},y0.mainThread++,this.options=Q,this.initAnimation(),this.play(),Q.autoplay===!1)this.pause()}initAnimation(){let{options:Q}=this;W6(Q);let{type:J=S5,repeat:Z=0,repeatDelay:Y=0,repeatType:X,velocity:$=0}=Q,{keyframes:q}=Q,H=J||S5;if(H!==S5&&typeof q[0]!=="number")this.mixKeyframes=P0(Kz,Y6(q[0],q[1])),q=[0,100];let W=H({...Q,keyframes:q});if(X==="mirror")this.mirroredGenerator=H({...Q,keyframes:[...q].reverse(),velocity:-$});if(W.calculatedDuration===null)W.calculatedDuration=H1(W);let{calculatedDuration:z}=W;this.calculatedDuration=z,this.resolvedDuration=z+Y,this.totalDuration=this.resolvedDuration*(Z+1)-Y,this.generator=W}updateTime(Q){let J=Math.round(Q-this.startTime)*this.playbackSpeed;if(this.holdTime!==null)this.currentTime=this.holdTime;else this.currentTime=J}tick(Q,J=!1){let{generator:Z,totalDuration:Y,mixKeyframes:X,mirroredGenerator:$,resolvedDuration:q,calculatedDuration:H}=this;if(this.startTime===null)return Z.next(0);let{delay:W=0,keyframes:z,repeat:G,repeatType:K,repeatDelay:B,type:O,onUpdate:U,finalKeyframe:V}=this.options;if(this.speed>0)this.startTime=Math.min(this.startTime,Q);else if(this.speed<0)this.startTime=Math.min(Q-Y/this.speed,this.startTime);if(J)this.currentTime=Q;else this.updateTime(Q);let D=this.currentTime-W*(this.playbackSpeed>=0?1:-1),N=this.playbackSpeed>=0?D<0:D>Y;if(this.currentTime=Math.max(D,0),this.state==="finished"&&this.holdTime===null)this.currentTime=Y;let T=this.currentTime,A=Z;if(G){let k=Math.min(this.currentTime,Y)/q,_=Math.floor(k),j=k%1;if(!j&&k>=1)j=1;if(j===1&&_--,_=Math.min(_,G+1),Boolean(_%2)){if(K==="reverse"){if(j=1-j,B)j-=B/q}else if(K==="mirror")A=$}T=e(0,1,j)*q}let w=N?{done:!1,value:z[0]}:A.next(T);if(X&&!N)w.value=X(w.value);let{done:I}=w;if(!N&&H!==null)I=this.playbackSpeed>=0?this.currentTime>=Y:this.currentTime<=0;let L=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&I);if(L&&O!==J8)w.value=z1(z,this.options,V,this.speed);if(U)U(w.value);if(L)this.finish();return w}then(Q,J){return this.finished.then(Q,J)}get duration(){return X0(this.calculatedDuration)}get iterationDuration(){let{delay:Q=0}=this.options||{};return this.duration+X0(Q)}get time(){return X0(this.currentTime)}set time(Q){if(Q=Q0(Q),this.currentTime=Q,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0)this.holdTime=Q;else if(this.driver)this.startTime=this.driver.now()-Q/this.playbackSpeed;if(this.driver)this.driver.start(!1);else this.startTime=0,this.state="paused",this.holdTime=Q,this.tick(Q)}get speed(){return this.playbackSpeed}set speed(Q){let J=this.playbackSpeed!==Q;if(J&&this.driver)this.updateTime(s.now());if(this.playbackSpeed=Q,J&&this.driver)this.time=X0(this.currentTime)}play(){if(this.isStopped)return;let{driver:Q=gQ,startTime:J}=this.options;if(!this.driver)this.driver=Q((Y)=>this.tick(Y));this.options.onPlay?.();let Z=this.driver.now();if(this.state==="finished")this.updateFinished(),this.startTime=Z;else if(this.holdTime!==null)this.startTime=Z-this.holdTime;else if(!this.startTime)this.startTime=J??Z;if(this.state==="finished"&&this.speed<0)this.startTime+=this.calculatedDuration;this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(s.now()),this.holdTime=this.currentTime}complete(){if(this.state!=="running")this.play();this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,y0.mainThread--}stopDriver(){if(!this.driver)return;this.driver.stop(),this.driver=void 0}sample(Q){return this.startTime=0,this.tick(Q,!0)}attachTimeline(Q){if(this.options.allowFlatten)this.options.type="keyframes",this.options.ease="linear",this.initAnimation();return this.driver?.stop(),Q.observe(this)}}function iQ(Q){for(let J=1;J<Q.length;J++)Q[J]??(Q[J]=Q[J-1])}var b5=(Q)=>Q*180/Math.PI,m7=(Q)=>{let J=b5(Math.atan2(Q[1],Q[0]));return l7(J)},Bz={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:(Q)=>(Math.abs(Q[0])+Math.abs(Q[3]))/2,rotate:m7,rotateZ:m7,skewX:(Q)=>b5(Math.atan(Q[1])),skewY:(Q)=>b5(Math.atan(Q[2])),skew:(Q)=>(Math.abs(Q[1])+Math.abs(Q[2]))/2},l7=(Q)=>{if(Q=Q%360,Q<0)Q+=360;return Q},sQ=m7,oQ=(Q)=>Math.sqrt(Q[0]*Q[0]+Q[1]*Q[1]),nQ=(Q)=>Math.sqrt(Q[4]*Q[4]+Q[5]*Q[5]),Fz={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:oQ,scaleY:nQ,scale:(Q)=>(oQ(Q)+nQ(Q))/2,rotateX:(Q)=>l7(b5(Math.atan2(Q[6],Q[5]))),rotateY:(Q)=>l7(b5(Math.atan2(-Q[2],Q[0]))),rotateZ:sQ,rotate:sQ,skewX:(Q)=>b5(Math.atan(Q[4])),skewY:(Q)=>b5(Math.atan(Q[1])),skew:(Q)=>(Math.abs(Q[1])+Math.abs(Q[4]))/2};function z6(Q){return Q.includes("scale")?1:0}function G6(Q,J){if(!Q||Q==="none")return z6(J);let Z=Q.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),Y,X;if(Z)Y=Fz,X=Z;else{let H=Q.match(/^matrix\(([-\d.e\s,]+)\)$/u);Y=Bz,X=H}if(!X)return z6(J);let $=Y[J],q=X[1].split(",").map(Oz);return typeof $==="function"?$(q):q[$]}var aQ=(Q,J)=>{let{transform:Z="none"}=getComputedStyle(Q);return G6(Z,J)};function Oz(Q){return parseFloat(Q.trim())}var g0=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],T0=(()=>new Set(g0))();var r7=(Q)=>Q===v0||Q===M,Uz=new Set(["x","y","z"]),Dz=g0.filter((Q)=>!Uz.has(Q));function tQ(Q){let J=[];return Dz.forEach((Z)=>{let Y=Q.getValue(Z);if(Y!==void 0)J.push([Z,Y.get()]),Y.set(Z.startsWith("scale")?1:0)}),J}var n0={width:({x:Q},{paddingLeft:J="0",paddingRight:Z="0"})=>Q.max-Q.min-parseFloat(J)-parseFloat(Z),height:({y:Q},{paddingTop:J="0",paddingBottom:Z="0"})=>Q.max-Q.min-parseFloat(J)-parseFloat(Z),top:(Q,{top:J})=>parseFloat(J),left:(Q,{left:J})=>parseFloat(J),bottom:({y:Q},{top:J})=>parseFloat(J)+(Q.max-Q.min),right:({x:Q},{left:J})=>parseFloat(J)+(Q.max-Q.min),x:(Q,{transform:J})=>G6(J,"x"),y:(Q,{transform:J})=>G6(J,"y")};n0.translateX=n0.x;n0.translateY=n0.y;var h5=new Set,i7=!1,s7=!1,o7=!1;function eQ(){if(s7){let Q=Array.from(h5).filter((Y)=>Y.needsMeasurement),J=new Set(Q.map((Y)=>Y.element)),Z=new Map;J.forEach((Y)=>{let X=tQ(Y);if(!X.length)return;Z.set(Y,X),Y.render()}),Q.forEach((Y)=>Y.measureInitialState()),J.forEach((Y)=>{Y.render();let X=Z.get(Y);if(X)X.forEach(([$,q])=>{Y.getValue($)?.set(q)})}),Q.forEach((Y)=>Y.measureEndState()),Q.forEach((Y)=>{if(Y.suspendedScrollY!==void 0)window.scrollTo(0,Y.suspendedScrollY)})}s7=!1,i7=!1,h5.forEach((Q)=>Q.complete(o7)),h5.clear()}function QJ(){h5.forEach((Q)=>{if(Q.readKeyframes(),Q.needsMeasurement)s7=!0})}function JJ(){o7=!0,QJ(),eQ(),o7=!1}class C5{constructor(Q,J,Z,Y,X,$=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...Q],this.onComplete=J,this.name=Z,this.motionValue=Y,this.element=X,this.isAsync=$}scheduleResolve(){if(this.state="scheduled",this.isAsync){if(h5.add(this),!i7)i7=!0,R.read(QJ),R.resolveKeyframes(eQ)}else this.readKeyframes(),this.complete()}readKeyframes(){let{unresolvedKeyframes:Q,name:J,element:Z,motionValue:Y}=this;if(Q[0]===null){let X=Y?.get(),$=Q[Q.length-1];if(X!==void 0)Q[0]=X;else if(Z&&J){let q=Z.readValue(J,$);if(q!==void 0&&q!==null)Q[0]=q}if(Q[0]===void 0)Q[0]=$;if(Y&&X===void 0)Y.set(Q[0])}iQ(Q)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(Q=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,Q),h5.delete(this)}cancel(){if(this.state==="scheduled")h5.delete(this),this.state="pending"}resume(){if(this.state==="pending")this.scheduleResolve()}}var ZJ=(Q)=>Q.startsWith("--");function K6(Q,J,Z){ZJ(J)?Q.style.setProperty(J,Z):Q.style[J]=Z}var YJ={};function B6(Q,J){let Z=d1(Q);return()=>YJ[J]??Z()}var XJ=B6(()=>window.ScrollTimeline!==void 0,"scrollTimeline");var F6=B6(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(Q){return!1}return!0},"linearEasing");var R5=([Q,J,Z,Y])=>`cubic-bezier(${Q}, ${J}, ${Z}, ${Y})`;var n7={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:R5([0,0.65,0.55,1]),circOut:R5([0.55,0,1,0.45]),backIn:R5([0.31,0.01,0.66,-0.59]),backOut:R5([0.33,1.53,0.69,0.99])};function a7(Q,J){if(!Q)return;else if(typeof Q==="function")return F6()?X6(Q,J):"ease-out";else if(o1(Q))return R5(Q);else if(Array.isArray(Q))return Q.map((Z)=>a7(Z,J)||n7.easeOut);else return n7[Q]}function qJ(Q,J,Z,{delay:Y=0,duration:X=300,repeat:$=0,repeatType:q="loop",ease:H="easeOut",times:W}={},z=void 0){let G={[J]:Z};if(W)G.offset=W;let K=a7(H,X);if(Array.isArray(K))G.easing=K;if(w0.value)y0.waapi++;let B={delay:Y,duration:X,easing:!Array.isArray(K)?K:"linear",fill:"both",iterations:$+1,direction:q==="reverse"?"alternate":"normal"};if(z)B.pseudoElement=z;let O=Q.animate(G,B);if(w0.value)O.finished.finally(()=>{y0.waapi--});return O}function O6(Q){return typeof Q==="function"&&"applyToOptions"in Q}function $J({type:Q,...J}){if(O6(Q)&&F6())return Q.applyToOptions(J);else J.duration??(J.duration=300),J.ease??(J.ease="easeOut");return J}class Z8 extends j5{constructor(Q){super();if(this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!Q)return;let{element:J,name:Z,keyframes:Y,pseudoElement:X,allowFlatten:$=!1,finalKeyframe:q,onComplete:H}=Q;this.isPseudoElement=Boolean(X),this.allowFlatten=$,this.options=Q,U0(typeof Q.type!=="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");let W=$J(Q);if(this.animation=qJ(J,Z,Y,W,X),W.autoplay===!1)this.animation.pause();this.animation.onfinish=()=>{if(this.finishedTime=this.time,!X){let z=z1(Y,this.options,q,this.speed);if(this.updateMotionValue)this.updateMotionValue(z);K6(J,Z,z),this.animation.cancel()}H?.(),this.notifyFinished()}}play(){if(this.isStopped)return;if(this.manualStartTime=null,this.animation.play(),this.state==="finished")this.updateFinished()}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(Q){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:Q}=this;if(Q==="idle"||Q==="finished")return;if(this.updateMotionValue)this.updateMotionValue();else this.commitStyles();if(!this.isPseudoElement)this.cancel()}commitStyles(){let Q=this.options?.element;if(!this.isPseudoElement&&Q?.isConnected)this.animation.commitStyles?.()}get duration(){let Q=this.animation.effect?.getComputedTiming?.().duration||0;return X0(Number(Q))}get iterationDuration(){let{delay:Q=0}=this.options||{};return this.duration+X0(Q)}get time(){return X0(Number(this.animation.currentTime)||0)}set time(Q){let J=this.finishedTime!==null;if(this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Q0(Q),J)this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(Q){if(Q<0)this.finishedTime=null;this.animation.playbackRate=Q}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(Q){this.manualStartTime=this.animation.startTime=Q}attachTimeline({timeline:Q,rangeStart:J,rangeEnd:Z,observe:Y}){if(this.allowFlatten)this.animation.effect?.updateTiming({easing:"linear"});if(this.animation.onfinish=null,Q&&XJ()){if(this.animation.timeline=Q,J)this.animation.rangeStart=J;if(Z)this.animation.rangeEnd=Z;return i}else return Y(this)}}var HJ={anticipate:m1,backInOut:p1,circInOut:i1};function wz(Q){return Q in HJ}function WJ(Q){if(typeof Q.ease==="string"&&wz(Q.ease))Q.ease=HJ[Q.ease]}var t7=10;class e7 extends Z8{constructor(Q){WJ(Q),W6(Q);super(Q);if(Q.startTime!==void 0)this.startTime=Q.startTime;this.options=Q}updateMotionValue(Q){let{motionValue:J,onUpdate:Z,onComplete:Y,element:X,...$}=this.options;if(!J)return;if(Q!==void 0){J.set(Q);return}let q=new k5({...$,autoplay:!1}),H=Math.max(t7,s.now()-this.startTime),W=e(0,t7,H-t7),z=q.sample(H).value,{name:G}=this.options;if(X&&G)K6(X,G,z);J.setWithVelocity(q.sample(Math.max(0,H-W)).value,z,W),q.stop()}}var Q4=(Q,J)=>{if(J==="zIndex")return!1;if(typeof Q==="number"||Array.isArray(Q))return!0;if(typeof Q==="string"&&(q0.test(Q)||Q==="0")&&!Q.startsWith("url("))return!0;return!1};function Vz(Q){let J=Q[0];if(Q.length===1)return!0;for(let Z=0;Z<Q.length;Z++)if(Q[Z]!==J)return!0}function zJ(Q,J,Z,Y){let X=Q[0];if(X===null)return!1;if(J==="display"||J==="visibility")return!0;let $=Q[Q.length-1],q=Q4(X,J),H=Q4($,J);if(R0(q===H,`You are trying to animate ${J} from "${X}" to "${$}". "${q?$:X}" is not an animatable value.`,"value-not-animatable"),!q||!H)return!1;return Vz(Q)||(Z==="spring"||O6(Z))&&Y}function Y8(Q){Q.duration=0,Q.type="keyframes"}var Nz=new Set(["opacity","clipPath","filter","transform"]),Az=d1(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function GJ(Q){let{motionValue:J,name:Z,repeatDelay:Y,repeatType:X,damping:$,type:q}=Q;if(!(J?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:W,transformTemplate:z}=J.owner.getProps();return Az()&&Z&&Nz.has(Z)&&(Z!=="transform"||!z)&&!W&&!Y&&X!=="mirror"&&$!==0&&q!=="inertia"}var _z=40;class J4 extends j5{constructor({autoplay:Q=!0,delay:J=0,type:Z="keyframes",repeat:Y=0,repeatDelay:X=0,repeatType:$="loop",keyframes:q,name:H,motionValue:W,element:z,...G}){super();this.stop=()=>{if(this._animation)this._animation.stop(),this.stopTimeline?.();this.keyframeResolver?.cancel()},this.createdAt=s.now();let K={autoplay:Q,delay:J,type:Z,repeat:Y,repeatDelay:X,repeatType:$,name:H,motionValue:W,element:z,...G},B=z?.KeyframeResolver||C5;this.keyframeResolver=new B(q,(O,U,V)=>this.onKeyframesResolved(O,U,K,!V),H,W,z),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(Q,J,Z,Y){this.keyframeResolver=void 0;let{name:X,type:$,velocity:q,delay:H,isHandoff:W,onUpdate:z}=Z;if(this.resolvedAt=s.now(),!zJ(Q,X,$,q)){if(W0.instantAnimations||!H)z?.(z1(Q,Z,J));Q[0]=Q[Q.length-1],Y8(Z),Z.repeat=0}let K={startTime:Y?!this.resolvedAt?this.createdAt:this.resolvedAt-this.createdAt>_z?this.resolvedAt:this.createdAt:void 0,finalKeyframe:J,...Z,keyframes:Q},B=!W&&GJ(K),O=K.motionValue?.owner?.current,U=B?new e7({...K,element:O}):new k5(K);if(U.finished.then(()=>{this.notifyFinished()}).catch(i),this.pendingTimeline)this.stopTimeline=U.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0;this._animation=U}get finished(){if(!this._animation)return this._finished;else return this.animation.finished}then(Q,J){return this.finished.finally(Q).then(()=>{})}get animation(){if(!this._animation)this.keyframeResolver?.resume(),JJ();return this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(Q){this.animation.time=Q}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(Q){this.animation.speed=Q}get startTime(){return this.animation.startTime}attachTimeline(Q){if(this._animation)this.stopTimeline=this.animation.attachTimeline(Q);else this.pendingTimeline=Q;return()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){if(this._animation)this.animation.cancel();this.keyframeResolver?.cancel()}}function U6(Q,J,Z,Y=0,X=1){let $=Array.from(Q).sort((z,G)=>z.sortNodePosition(G)).indexOf(J),q=Q.size,H=(q-1)*Y;return typeof Z==="function"?Z($,q):X===1?$*Y:H-$*Y}var Tz=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Iz(Q){let J=Tz.exec(Q);if(!J)return[,];let[,Z,Y,X]=J;return[`--${Z??Y}`,X]}var Lz=4;function Z4(Q,J,Z=1){U0(Z<=Lz,`Max CSS variable fallback depth detected in property "${Q}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[Y,X]=Iz(Q);if(!Y)return;let $=window.getComputedStyle(J).getPropertyValue(Y);if($){let q=$.trim();return f1(q)?parseFloat(q):q}return Y1(X)?Z4(X,J,Z+1):X}var Mz={type:"spring",stiffness:500,damping:25,restSpeed:10},Ez=(Q)=>({type:"spring",stiffness:550,damping:Q===0?2*Math.sqrt(550):30,restSpeed:10}),Pz={type:"keyframes",duration:0.8},Sz={type:"keyframes",ease:[0.25,0.1,0.35,1],duration:0.3},KJ=(Q,{keyframes:J})=>{if(J.length>2)return Pz;else if(T0.has(Q))return Q.startsWith("scale")?Ez(J[1]):Mz;return Sz};var jz=(Q)=>Q!==null;function BJ(Q,{repeat:J,repeatType:Z="loop"},Y){let X=Q.filter(jz),$=J&&Z!=="loop"&&J%2===1?0:X.length-1;return!$||Y===void 0?X[$]:Y}function D6(Q,J){if(Q?.inherit&&J){let{inherit:Z,...Y}=Q;return{...J,...Y}}return Q}function G1(Q,J){let Z=Q?.[J]??Q?.default??Q;if(Z!==Q)return D6(Z,Q);return Z}function FJ({when:Q,delay:J,delayChildren:Z,staggerChildren:Y,staggerDirection:X,repeat:$,repeatType:q,repeatDelay:H,from:W,elapsed:z,...G}){return!!Object.keys(G).length}var x5=(Q,J,Z,Y={},X,$)=>(q)=>{let H=G1(Y,Q)||{},W=H.delay||Y.delay||0,{elapsed:z=0}=Y;z=z-Q0(W);let G={keyframes:Array.isArray(Z)?Z:[null,Z],ease:"easeOut",velocity:J.getVelocity(),...H,delay:-z,onUpdate:(B)=>{J.set(B),H.onUpdate&&H.onUpdate(B)},onComplete:()=>{q(),H.onComplete&&H.onComplete()},name:Q,motionValue:J,element:$?void 0:X};if(!FJ(H))Object.assign(G,KJ(Q,G));if(G.duration&&(G.duration=Q0(G.duration)),G.repeatDelay&&(G.repeatDelay=Q0(G.repeatDelay)),G.from!==void 0)G.keyframes[0]=G.from;let K=!1;if(G.type===!1||G.duration===0&&!G.repeatDelay){if(Y8(G),G.delay===0)K=!0}if(W0.instantAnimations||W0.skipAnimations||X?.shouldSkipAnimations)K=!0,Y8(G),G.delay=0;if(G.allowFlatten=!H.type&&!H.ease,K&&!$&&J.get()!==void 0){let B=BJ(G.keyframes,H);if(B!==void 0){R.update(()=>{G.onUpdate(B),G.onComplete()});return}}return H.isSync?new k5(G):new J4(G)};function OJ(Q){let J=[{},{}];return Q?.values.forEach((Z,Y)=>{J[0][Y]=Z.get(),J[1][Y]=Z.getVelocity()}),J}function y5(Q,J,Z,Y){if(typeof J==="function"){let[X,$]=OJ(Y);J=J(Z!==void 0?Z:Q.custom,X,$)}if(typeof J==="string")J=Q.variants&&Q.variants[J];if(typeof J==="function"){let[X,$]=OJ(Y);J=J(Z!==void 0?Z:Q.custom,X,$)}return J}function u0(Q,J,Z){let Y=Q.getProps();return y5(Y,J,Z!==void 0?Z:Y.custom,Q)}var w6=new Set(["width","height","top","left","right","bottom",...g0]);var UJ=30,bz=(Q)=>{return!isNaN(parseFloat(Q))},DJ={current:void 0};class wJ{constructor(Q,J={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(Z)=>{let Y=s.now();if(this.updatedAt!==Y)this.setPrevFrameValue();if(this.prev=this.current,this.setCurrent(Z),this.current!==this.prev){if(this.events.change?.notify(this.current),this.dependents)for(let X of this.dependents)X.dirty()}},this.hasAnimated=!1,this.setCurrent(Q),this.owner=J.owner}setCurrent(Q){if(this.current=Q,this.updatedAt=s.now(),this.canTrackVelocity===null&&Q!==void 0)this.canTrackVelocity=bz(this.current)}setPrevFrameValue(Q=this.current){this.prevFrameValue=Q,this.prevUpdatedAt=this.updatedAt}onChange(Q){return this.on("change",Q)}on(Q,J){if(!this.events[Q])this.events[Q]=new W5;let Z=this.events[Q].add(J);if(Q==="change")return()=>{Z(),R.read(()=>{if(!this.events.change.getSize())this.stop()})};return Z}clearListeners(){for(let Q in this.events)this.events[Q].clear()}attach(Q,J){this.passiveEffect=Q,this.stopPassiveEffect=J}set(Q){if(!this.passiveEffect)this.updateAndNotify(Q);else this.passiveEffect(Q,this.updateAndNotify)}setWithVelocity(Q,J,Z){this.set(J),this.prev=void 0,this.prevFrameValue=Q,this.prevUpdatedAt=this.updatedAt-Z}jump(Q,J=!0){if(this.updateAndNotify(Q),this.prev=Q,this.prevUpdatedAt=this.prevFrameValue=void 0,J&&this.stop(),this.stopPassiveEffect)this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(Q){if(!this.dependents)this.dependents=new Set;this.dependents.add(Q)}removeDependent(Q){if(this.dependents)this.dependents.delete(Q)}get(){if(DJ.current)DJ.current.push(this);return this.current}getPrevious(){return this.prev}getVelocity(){let Q=s.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||Q-this.updatedAt>UJ)return 0;let J=Math.min(this.updatedAt-this.prevUpdatedAt,UJ);return c1(parseFloat(this.current)-parseFloat(this.prevFrameValue),J)}start(Q){return this.stop(),new Promise((J)=>{if(this.hasAnimated=!0,this.animation=Q(J),this.events.animationStart)this.events.animationStart.notify()}).then(()=>{if(this.events.animationComplete)this.events.animationComplete.notify();this.clearAnimation()})}stop(){if(this.animation){if(this.animation.stop(),this.events.animationCancel)this.events.animationCancel.notify()}this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){if(this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect)this.stopPassiveEffect()}}function j0(Q,J){return new wJ(Q,J)}var X8=(Q)=>{return Array.isArray(Q)};function hz(Q,J,Z){if(Q.hasValue(J))Q.getValue(J).set(Z);else Q.addValue(J,j0(Z))}function Cz(Q){return X8(Q)?Q[Q.length-1]||0:Q}function VJ(Q,J){let Z=u0(Q,J),{transitionEnd:Y={},transition:X={},...$}=Z||{};$={...$,...Y};for(let q in $){let H=Cz($[q]);hz(Q,q,H)}}var d=(Q)=>Boolean(Q&&Q.getVelocity);function NJ(Q){return Boolean(d(Q)&&Q.add)}function K1(Q,J){let Z=Q.getValue("willChange");if(NJ(Z))return Z.add(J);else if(!Z&&W0.WillChange){let Y=new W0.WillChange("auto");Q.addValue("willChange",Y),Y.add(J)}}function B1(Q){return Q.replace(/([A-Z])/g,(J)=>`-${J.toLowerCase()}`)}var AJ="framerAppearId",q8="data-"+B1(AJ);function V6(Q){return Q.props[q8]}function Rz({protectedKeys:Q,needsAnimating:J},Z){let Y=Q.hasOwnProperty(Z)&&J[Z]!==!0;return J[Z]=!1,Y}function N6(Q,J,{delay:Z=0,transitionOverride:Y,type:X}={}){let{transition:$,transitionEnd:q,...H}=J,W=Q.getDefaultTransition();$=$?D6($,W):W;let z=$?.reduceMotion;if(Y)$=Y;let G=[],K=X&&Q.animationState&&Q.animationState.getState()[X];for(let B in H){let O=Q.getValue(B,Q.latestValues[B]??null),U=H[B];if(U===void 0||K&&Rz(K,B))continue;let V={delay:Z,...G1($||{},B)},D=O.get();if(D!==void 0&&!O.isAnimating&&!Array.isArray(U)&&U===D&&!V.velocity)continue;let N=!1;if(window.MotionHandoffAnimation){let w=V6(Q);if(w){let I=window.MotionHandoffAnimation(w,B,R);if(I!==null)V.startTime=I,N=!0}}K1(Q,B);let T=z??Q.shouldReduceMotion;O.start(x5(B,O,U,T&&w6.has(B)?{type:!1}:V,Q,N));let A=O.animation;if(A)G.push(A)}if(q){let B=()=>R.update(()=>{q&&VJ(Q,q)});if(G.length)Promise.all(G).then(B);else B()}return G}function A6(Q,J,Z={}){let Y=u0(Q,J,Z.type==="exit"?Q.presenceContext?.custom:void 0),{transition:X=Q.getDefaultTransition()||{}}=Y||{};if(Z.transitionOverride)X=Z.transitionOverride;let $=Y?()=>Promise.all(N6(Q,Y,Z)):()=>Promise.resolve(),q=Q.variantChildren&&Q.variantChildren.size?(W=0)=>{let{delayChildren:z=0,staggerChildren:G,staggerDirection:K}=X;return xz(Q,J,W,z,G,K,Z)}:()=>Promise.resolve(),{when:H}=X;if(H){let[W,z]=H==="beforeChildren"?[$,q]:[q,$];return W().then(()=>z())}else return Promise.all([$(),q(Z.delay)])}function xz(Q,J,Z=0,Y=0,X=0,$=1,q){let H=[];for(let W of Q.variantChildren)W.notify("AnimationStart",J),H.push(A6(W,J,{...q,delay:Z+(typeof Y==="function"?0:Y)+U6(Q.variantChildren,W,Y,X,$)}).then(()=>W.notify("AnimationComplete",J)));return Promise.all(H)}function _J(Q,J,Z={}){Q.notify("AnimationStart",J);let Y;if(Array.isArray(J)){let X=J.map(($)=>A6(Q,$,Z));Y=Promise.all(X)}else if(typeof J==="string")Y=A6(Q,J,Z);else{let X=typeof J==="function"?u0(Q,J,Z.custom):J;Y=Promise.all(N6(Q,X,Z))}return Y.then(()=>{Q.notify("AnimationComplete",J)})}var TJ={test:(Q)=>Q==="auto",parse:(Q)=>Q};var _6=(Q)=>(J)=>J.test(Q);var Y4=[v0,M,z0,S0,g7,f7,TJ],X4=(Q)=>Y4.find(_6(Q));function IJ(Q){if(typeof Q==="number")return Q===0;else if(Q!==null)return Q==="none"||Q==="0"||u1(Q);else return!0}var yz=new Set(["brightness","contrast","saturate","opacity"]);function vz(Q){let[J,Z]=Q.slice(0,-1).split("(");if(J==="drop-shadow")return Q;let[Y]=Z.match(X1)||[];if(!Y)return Q;let X=Z.replace(Y,""),$=yz.has(J)?1:0;if(Y!==Z)$*=100;return J+"("+$+X+")"}var fz=/\b([a-z-]*)\(.*?\)/gu,$8={...q0,getAnimatableNone:(Q)=>{let J=Q.match(fz);return J?J.map(vz).join(" "):Q}};var H8={...q0,getAnimatableNone:(Q)=>{let J=q0.parse(Q);return q0.createTransformer(Q)(J.map((Y)=>typeof Y==="number"?0:typeof Y==="object"?{...Y,alpha:1}:Y))}};var q4={...v0,transform:Math.round};var LJ={rotate:S0,rotateX:S0,rotateY:S0,rotateZ:S0,scale:t1,scaleX:t1,scaleY:t1,scaleZ:t1,skew:S0,skewX:S0,skewY:S0,distance:M,translateX:M,translateY:M,translateZ:M,x:M,y:M,z:M,perspective:M,transformPerspective:M,opacity:o0,originX:Q6,originY:Q6,originZ:M};var F1={borderWidth:M,borderTopWidth:M,borderRightWidth:M,borderBottomWidth:M,borderLeftWidth:M,borderRadius:M,borderTopLeftRadius:M,borderTopRightRadius:M,borderBottomRightRadius:M,borderBottomLeftRadius:M,width:M,maxWidth:M,height:M,maxHeight:M,top:M,right:M,bottom:M,left:M,inset:M,insetBlock:M,insetBlockStart:M,insetBlockEnd:M,insetInline:M,insetInlineStart:M,insetInlineEnd:M,padding:M,paddingTop:M,paddingRight:M,paddingBottom:M,paddingLeft:M,paddingBlock:M,paddingBlockStart:M,paddingBlockEnd:M,paddingInline:M,paddingInlineStart:M,paddingInlineEnd:M,margin:M,marginTop:M,marginRight:M,marginBottom:M,marginLeft:M,marginBlock:M,marginBlockStart:M,marginBlockEnd:M,marginInline:M,marginInlineStart:M,marginInlineEnd:M,fontSize:M,backgroundPositionX:M,backgroundPositionY:M,...LJ,zIndex:q4,fillOpacity:o0,strokeOpacity:o0,numOctaves:q4};var gz={...F1,color:m,backgroundColor:m,outlineColor:m,fill:m,stroke:m,borderColor:m,borderTopColor:m,borderRightColor:m,borderBottomColor:m,borderLeftColor:m,filter:$8,WebkitFilter:$8,mask:H8,WebkitMask:H8},T6=(Q)=>gz[Q];var uz=new Set([$8,H8]);function I6(Q,J){let Z=T6(Q);if(!uz.has(Z))Z=q0;return Z.getAnimatableNone?Z.getAnimatableNone(J):void 0}var dz=new Set(["auto","none","0"]);function MJ(Q,J,Z){let Y=0,X=void 0;while(Y<Q.length&&!X){let $=Q[Y];if(typeof $==="string"&&!dz.has($)&&P5($).values.length)X=Q[Y];Y++}if(X&&Z)for(let $ of J)Q[$]=I6(Z,X)}class $4 extends C5{constructor(Q,J,Z,Y,X){super(Q,J,Z,Y,X,!0)}readKeyframes(){let{unresolvedKeyframes:Q,element:J,name:Z}=this;if(!J||!J.current)return;super.readKeyframes();for(let z=0;z<Q.length;z++){let G=Q[z];if(typeof G==="string"){if(G=G.trim(),Y1(G)){let K=Z4(G,J.current);if(K!==void 0)Q[z]=K;if(z===Q.length-1)this.finalKeyframe=G}}}if(this.resolveNoneKeyframes(),!w6.has(Z)||Q.length!==2)return;let[Y,X]=Q,$=X4(Y),q=X4(X),H=y7(Y),W=y7(X);if(H!==W&&n0[Z]){this.needsMeasurement=!0;return}if($===q)return;if(r7($)&&r7(q))for(let z=0;z<Q.length;z++){let G=Q[z];if(typeof G==="string")Q[z]=parseFloat(G)}else if(n0[Z])this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:Q,name:J}=this,Z=[];for(let Y=0;Y<Q.length;Y++)if(Q[Y]===null||IJ(Q[Y]))Z.push(Y);if(Z.length)MJ(Q,Z,J)}measureInitialState(){let{element:Q,unresolvedKeyframes:J,name:Z}=this;if(!Q||!Q.current)return;if(Z==="height")this.suspendedScrollY=window.pageYOffset;this.measuredOrigin=n0[Z](Q.measureViewportBox(),window.getComputedStyle(Q.current)),J[0]=this.measuredOrigin;let Y=J[J.length-1];if(Y!==void 0)Q.getValue(Z,Y).jump(Y,!1)}measureEndState(){let{element:Q,name:J,unresolvedKeyframes:Z}=this;if(!Q||!Q.current)return;let Y=Q.getValue(J);Y&&Y.jump(this.measuredOrigin,!1);let X=Z.length-1,$=Z[X];if(Z[X]=n0[J](Q.measureViewportBox(),window.getComputedStyle(Q.current)),$!==null&&this.finalKeyframe===void 0)this.finalKeyframe=$;if(this.removedTransforms?.length)this.removedTransforms.forEach(([q,H])=>{Q.getValue(q).set(H)});this.resolveNoneKeyframes()}}var EJ=new Set(["opacity","clipPath","filter","transform"]);function L6(Q,J,Z){if(Q==null)return[];if(Q instanceof EventTarget)return[Q];else if(typeof Q==="string"){let Y=document;if(J)Y=J.current;let X=Z?.[Q]??Y.querySelectorAll(Q);return X?Array.from(X):[]}return Array.from(Q).filter((Y)=>Y!=null)}var M6=(Q,J)=>{return J&&typeof Q==="number"?J.transform(Q):Q};function O1(Q){return g1(Q)&&"offsetHeight"in Q}var{schedule:v5,cancel:cz}=n8(queueMicrotask,!1);var I0={x:!1,y:!1};function E6(){return I0.x||I0.y}function H4(Q){if(Q==="x"||Q==="y")if(I0[Q])return null;else return I0[Q]=!0,()=>{I0[Q]=!1};else if(I0.x||I0.y)return null;else return I0.x=I0.y=!0,()=>{I0.x=I0.y=!1}}function P6(Q,J){let Z=L6(Q),Y=new AbortController,X={passive:!0,...J,signal:Y.signal};return[Z,X,()=>Y.abort()]}function pz(Q){return!(Q.pointerType==="touch"||E6())}function W4(Q,J,Z={}){let[Y,X,$]=P6(Q,Z);return Y.forEach((q)=>{let H=!1,W=!1,z,G=()=>{q.removeEventListener("pointerleave",U)},K=(D)=>{if(z)z(D),z=void 0;G()},B=(D)=>{if(H=!1,window.removeEventListener("pointerup",B),window.removeEventListener("pointercancel",B),W)W=!1,K(D)},O=()=>{H=!0,window.addEventListener("pointerup",B,X),window.addEventListener("pointercancel",B,X)},U=(D)=>{if(D.pointerType==="touch")return;if(H){W=!0;return}K(D)},V=(D)=>{if(!pz(D))return;W=!1;let N=J(q,D);if(typeof N!=="function")return;z=N,q.addEventListener("pointerleave",U,X)};q.addEventListener("pointerenter",V,X),q.addEventListener("pointerdown",O,X)}),$}var z4=(Q,J)=>{if(!J)return!1;else if(Q===J)return!0;else return z4(Q,J.parentElement)};var f5=(Q)=>{if(Q.pointerType==="mouse")return typeof Q.button!=="number"||Q.button<=0;else return Q.isPrimary!==!1};var mz=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function G4(Q){return mz.has(Q.tagName)||Q.isContentEditable===!0}var lz=new Set(["INPUT","SELECT","TEXTAREA"]);function K4(Q){return lz.has(Q.tagName)||Q.isContentEditable===!0}var U1=new WeakSet;function PJ(Q){return(J)=>{if(J.key!=="Enter")return;Q(J)}}function B4(Q,J){Q.dispatchEvent(new PointerEvent("pointer"+J,{isPrimary:!0,bubbles:!0}))}var SJ=(Q,J)=>{let Z=Q.currentTarget;if(!Z)return;let Y=PJ(()=>{if(U1.has(Z))return;B4(Z,"down");let X=PJ(()=>{B4(Z,"up")}),$=()=>B4(Z,"cancel");Z.addEventListener("keyup",X,J),Z.addEventListener("blur",$,J)});Z.addEventListener("keydown",Y,J),Z.addEventListener("blur",()=>Z.removeEventListener("keydown",Y),J)};function jJ(Q){return f5(Q)&&!E6()}var kJ=new WeakSet;function F4(Q,J,Z={}){let[Y,X,$]=P6(Q,Z),q=(H)=>{let W=H.currentTarget;if(!jJ(H))return;if(kJ.has(H))return;if(U1.add(W),Z.stopPropagation)kJ.add(H);let z=J(W,H),G=(O,U)=>{if(window.removeEventListener("pointerup",K),window.removeEventListener("pointercancel",B),U1.has(W))U1.delete(W);if(!jJ(O))return;if(typeof z==="function")z(O,{success:U})},K=(O)=>{G(O,W===window||W===document||Z.useGlobalTarget||z4(W,O.target))},B=(O)=>{G(O,!1)};window.addEventListener("pointerup",K,X),window.addEventListener("pointercancel",B,X)};return Y.forEach((H)=>{if((Z.useGlobalTarget?window:H).addEventListener("pointerdown",q,X),O1(H)){if(H.addEventListener("focus",(z)=>SJ(z,X)),!G4(H)&&!H.hasAttribute("tabindex"))H.tabIndex=0}}),$}function D1(Q){return g1(Q)&&"ownerSVGElement"in Q}var S6=new WeakMap,j6,bJ=(Q,J,Z)=>(Y,X)=>{if(X&&X[0])return X[0][Q+"Size"];else if(D1(Y)&&"getBBox"in Y)return Y.getBBox()[J];else return Y[Z]},rz=bJ("inline","width","offsetWidth"),iz=bJ("block","height","offsetHeight");function sz({target:Q,borderBoxSize:J}){S6.get(Q)?.forEach((Z)=>{Z(Q,{get width(){return rz(Q,J)},get height(){return iz(Q,J)}})})}function oz(Q){Q.forEach(sz)}function nz(){if(typeof ResizeObserver>"u")return;j6=new ResizeObserver(oz)}function hJ(Q,J){if(!j6)nz();let Z=L6(Q);return Z.forEach((Y)=>{let X=S6.get(Y);if(!X)X=new Set,S6.set(Y,X);X.add(J),j6?.observe(Y)}),()=>{Z.forEach((Y)=>{let X=S6.get(Y);if(X?.delete(J),!X?.size)j6?.unobserve(Y)})}}var k6=new Set,w1;function az(){w1=()=>{let Q={get width(){return window.innerWidth},get height(){return window.innerHeight}};k6.forEach((J)=>J(Q))},window.addEventListener("resize",w1)}function CJ(Q){if(k6.add(Q),!w1)az();return()=>{if(k6.delete(Q),!k6.size&&typeof w1==="function")window.removeEventListener("resize",w1),w1=void 0}}function b6(Q,J){return typeof Q==="function"?CJ(Q):hJ(Q,J)}function RJ(Q){return D1(Q)&&Q.tagName==="svg"}var tz=[...Y4,m,q0],xJ=(Q)=>tz.find(_6(Q));var O4=()=>({translate:0,scale:1,origin:0,originPoint:0}),B5=()=>({x:O4(),y:O4()}),U4=()=>({min:0,max:0}),l=()=>({x:U4(),y:U4()});var yJ=new WeakMap;function a0(Q){return Q!==null&&typeof Q==="object"&&typeof Q.start==="function"}function d0(Q){return typeof Q==="string"||Array.isArray(Q)}var h6=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],W8=["initial",...h6];function F5(Q){return a0(Q.animate)||W8.some((J)=>d0(Q[J]))}function z8(Q){return Boolean(F5(Q)||Q.variants)}function vJ(Q,J,Z){for(let Y in J){let X=J[Y],$=Z[Y];if(d(X))Q.addValue(Y,X);else if(d($))Q.addValue(Y,j0(X,{owner:Q}));else if($!==X)if(Q.hasValue(Y)){let q=Q.getValue(Y);if(q.liveStyle===!0)q.jump(X);else if(!q.hasAnimated)q.set(X)}else{let q=Q.getStaticValue(Y);Q.addValue(Y,j0(q!==void 0?q:X,{owner:Q}))}}for(let Y in Z)if(J[Y]===void 0)Q.removeValue(Y);return J}var O5={current:null},g5={current:!1};var ez=typeof window<"u";function G8(){if(g5.current=!0,!ez)return;if(window.matchMedia){let Q=window.matchMedia("(prefers-reduced-motion)"),J=()=>O5.current=Q.matches;Q.addEventListener("change",J),J()}else O5.current=!1}var fJ=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],C6={};function K8(Q){C6=Q}function D4(){return C6}class R6{scrapeMotionValuesFromProps(Q,J,Z){return{}}constructor({parent:Q,props:J,presenceContext:Z,reducedMotionConfig:Y,skipAnimations:X,blockInitialAnimation:$,visualState:q},H={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=C5,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{if(!this.current)return;this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection)},this.renderScheduledAt=0,this.scheduleRender=()=>{let B=s.now();if(this.renderScheduledAt<B)this.renderScheduledAt=B,R.render(this.render,!1,!0)};let{latestValues:W,renderState:z}=q;if(this.latestValues=W,this.baseTarget={...W},this.initialValues=J.initial?{...W}:{},this.renderState=z,this.parent=Q,this.props=J,this.presenceContext=Z,this.depth=Q?Q.depth+1:0,this.reducedMotionConfig=Y,this.skipAnimationsConfig=X,this.options=H,this.blockInitialAnimation=Boolean($),this.isControllingVariants=F5(J),this.isVariantNode=z8(J),this.isVariantNode)this.variantChildren=new Set;this.manuallyAnimateOnMount=Boolean(Q&&Q.current);let{willChange:G,...K}=this.scrapeMotionValuesFromProps(J,{},this);for(let B in K){let O=K[B];if(W[B]!==void 0&&d(O))O.set(W[B])}}mount(Q){if(this.hasBeenMounted)for(let J in this.initialValues)this.values.get(J)?.jump(this.initialValues[J]),this.latestValues[J]=this.initialValues[J];if(this.current=Q,yJ.set(Q,this),this.projection&&!this.projection.instance)this.projection.mount(Q);if(this.parent&&this.isVariantNode&&!this.isControllingVariants)this.removeFromVariantTree=this.parent.addVariantChild(this);if(this.values.forEach((J,Z)=>this.bindToMotionValue(Z,J)),this.reducedMotionConfig==="never")this.shouldReduceMotion=!1;else if(this.reducedMotionConfig==="always")this.shouldReduceMotion=!0;else{if(!g5.current)G8();this.shouldReduceMotion=O5.current}this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),D0(this.notifyUpdate),D0(this.render),this.valueSubscriptions.forEach((Q)=>Q()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let Q in this.events)this.events[Q].clear();for(let Q in this.features){let J=this.features[Q];if(J)J.unmount(),J.isMounted=!1}this.current=null}addChild(Q){this.children.add(Q),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(Q)}removeChild(Q){this.children.delete(Q),this.enteringChildren&&this.enteringChildren.delete(Q)}bindToMotionValue(Q,J){if(this.valueSubscriptions.has(Q))this.valueSubscriptions.get(Q)();if(J.accelerate&&EJ.has(Q)&&this.current instanceof HTMLElement){let{factory:$,keyframes:q,times:H,ease:W,duration:z}=J.accelerate,G=new Z8({element:this.current,name:Q,keyframes:q,times:H,ease:W,duration:Q0(z)}),K=$(G);this.valueSubscriptions.set(Q,()=>{K(),G.cancel()});return}let Z=T0.has(Q);if(Z&&this.onBindTransform)this.onBindTransform();let Y=J.on("change",($)=>{if(this.latestValues[Q]=$,this.props.onUpdate&&R.preRender(this.notifyUpdate),Z&&this.projection)this.projection.isTransformDirty=!0;this.scheduleRender()}),X;if(typeof window<"u"&&window.MotionCheckAppearSync)X=window.MotionCheckAppearSync(this,Q,J);this.valueSubscriptions.set(Q,()=>{if(Y(),X)X();if(J.owner)J.stop()})}sortNodePosition(Q){if(!this.current||!this.sortInstanceNodePosition||this.type!==Q.type)return 0;return this.sortInstanceNodePosition(this.current,Q.current)}updateFeatures(){let Q="animation";for(Q in C6){let J=C6[Q];if(!J)continue;let{isEnabled:Z,Feature:Y}=J;if(!this.features[Q]&&Y&&Z(this.props))this.features[Q]=new Y(this);if(this.features[Q]){let X=this.features[Q];if(X.isMounted)X.update();else X.mount(),X.isMounted=!0}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):l()}getStaticValue(Q){return this.latestValues[Q]}setStaticValue(Q,J){this.latestValues[Q]=J}update(Q,J){if(Q.transformTemplate||this.props.transformTemplate)this.scheduleRender();this.prevProps=this.props,this.props=Q,this.prevPresenceContext=this.presenceContext,this.presenceContext=J;for(let Z=0;Z<fJ.length;Z++){let Y=fJ[Z];if(this.propEventSubscriptions[Y])this.propEventSubscriptions[Y](),delete this.propEventSubscriptions[Y];let X="on"+Y,$=Q[X];if($)this.propEventSubscriptions[Y]=this.on(Y,$)}if(this.prevMotionValues=vJ(this,this.scrapeMotionValuesFromProps(Q,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue)this.handleChildMotionValue()}getProps(){return this.props}getVariant(Q){return this.props.variants?this.props.variants[Q]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(Q){let J=this.getClosestVariantNode();if(J)return J.variantChildren&&J.variantChildren.add(Q),()=>J.variantChildren.delete(Q)}addValue(Q,J){let Z=this.values.get(Q);if(J!==Z){if(Z)this.removeValue(Q);this.bindToMotionValue(Q,J),this.values.set(Q,J),this.latestValues[Q]=J.get()}}removeValue(Q){this.values.delete(Q);let J=this.valueSubscriptions.get(Q);if(J)J(),this.valueSubscriptions.delete(Q);delete this.latestValues[Q],this.removeValueFromRenderState(Q,this.renderState)}hasValue(Q){return this.values.has(Q)}getValue(Q,J){if(this.props.values&&this.props.values[Q])return this.props.values[Q];let Z=this.values.get(Q);if(Z===void 0&&J!==void 0)Z=j0(J===null?void 0:J,{owner:this}),this.addValue(Q,Z);return Z}readValue(Q,J){let Z=this.latestValues[Q]!==void 0||!this.current?this.latestValues[Q]:this.getBaseTargetFromProps(this.props,Q)??this.readValueFromInstance(this.current,Q,this.options);if(Z!==void 0&&Z!==null){if(typeof Z==="string"&&(f1(Z)||u1(Z)))Z=parseFloat(Z);else if(!xJ(Z)&&q0.test(J))Z=I6(Q,J);this.setBaseTarget(Q,d(Z)?Z.get():Z)}return d(Z)?Z.get():Z}setBaseTarget(Q,J){this.baseTarget[Q]=J}getBaseTarget(Q){let{initial:J}=this.props,Z;if(typeof J==="string"||typeof J==="object"){let X=y5(this.props,J,this.presenceContext?.custom);if(X)Z=X[Q]}if(J&&Z!==void 0)return Z;let Y=this.getBaseTargetFromProps(this.props,Q);if(Y!==void 0&&!d(Y))return Y;return this.initialValues[Q]!==void 0&&Z===void 0?void 0:this.baseTarget[Q]}on(Q,J){if(!this.events[Q])this.events[Q]=new W5;return this.events[Q].add(J)}notify(Q,...J){if(this.events[Q])this.events[Q].notify(...J)}scheduleRenderMicrotask(){v5.render(this.render)}}class B8 extends R6{constructor(){super(...arguments);this.KeyframeResolver=$4}sortInstanceNodePosition(Q,J){return Q.compareDocumentPosition(J)&2?1:-1}getBaseTargetFromProps(Q,J){let Z=Q.style;return Z?Z[J]:void 0}removeValueFromRenderState(Q,{vars:J,style:Z}){delete J[Q],delete Z[Q]}handleChildMotionValue(){if(this.childSubscription)this.childSubscription(),delete this.childSubscription;let{children:Q}=this.props;if(d(Q))this.childSubscription=Q.on("change",(J)=>{if(this.current)this.current.textContent=`${J}`})}}class H0{constructor(Q){this.isMounted=!1,this.node=Q}update(){}}function F8({top:Q,left:J,right:Z,bottom:Y}){return{x:{min:J,max:Z},y:{min:Q,max:Y}}}function w4({x:Q,y:J}){return{top:J.min,right:Q.max,bottom:J.max,left:Q.min}}function V4(Q,J){if(!J)return Q;let Z=J({x:Q.left,y:Q.top}),Y=J({x:Q.right,y:Q.bottom});return{top:Z.y,left:Z.x,bottom:Y.y,right:Y.x}}function N4(Q){return Q===void 0||Q===1}function x6({scale:Q,scaleX:J,scaleY:Z}){return!N4(Q)||!N4(J)||!N4(Z)}function t0(Q){return x6(Q)||A4(Q)||Q.z||Q.rotate||Q.rotateX||Q.rotateY||Q.skewX||Q.skewY}function A4(Q){return gJ(Q.x)||gJ(Q.y)}function gJ(Q){return Q&&Q!=="0%"}function O8(Q,J,Z){let Y=Q-Z,X=J*Y;return Z+X}function uJ(Q,J,Z,Y,X){if(X!==void 0)Q=O8(Q,X,Y);return O8(Q,Z,Y)+J}function _4(Q,J=0,Z=1,Y,X){Q.min=uJ(Q.min,J,Z,Y,X),Q.max=uJ(Q.max,J,Z,Y,X)}function T4(Q,{x:J,y:Z}){_4(Q.x,J.translate,J.scale,J.originPoint),_4(Q.y,Z.translate,Z.scale,Z.originPoint)}var dJ=0.999999999999,cJ=1.0000000000001;function lJ(Q,J,Z,Y=!1){let X=Z.length;if(!X)return;J.x=J.y=1;let $,q;for(let H=0;H<X;H++){$=Z[H],q=$.projectionDelta;let{visualElement:W}=$.options;if(W&&W.props.style&&W.props.style.display==="contents")continue;if(Y&&$.options.layoutScroll&&$.scroll&&$!==$.root)u5(Q,{x:-$.scroll.offset.x,y:-$.scroll.offset.y});if(q)J.x*=q.x.scale,J.y*=q.y.scale,T4(Q,q);if(Y&&t0($.latestValues))u5(Q,$.latestValues)}if(J.x<cJ&&J.x>dJ)J.x=1;if(J.y<cJ&&J.y>dJ)J.y=1}function U5(Q,J){Q.min=Q.min+J,Q.max=Q.max+J}function pJ(Q,J,Z,Y,X=0.5){let $=y(Q.min,Q.max,X);_4(Q,J,Z,$,Y)}function mJ(Q,J){if(typeof Q==="string")return parseFloat(Q)/100*(J.max-J.min);return Q}function u5(Q,J){pJ(Q.x,mJ(J.x,Q.x),J.scaleX,J.scale,J.originX),pJ(Q.y,mJ(J.y,Q.y),J.scaleY,J.scale,J.originY)}function y6(Q,J){return F8(V4(Q.getBoundingClientRect(),J))}function I4(Q,J,Z){let Y=y6(Q,Z),{scroll:X}=J;if(X)U5(Y.x,X.offset.x),U5(Y.y,X.offset.y);return Y}var QG={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},JG=g0.length;function rJ(Q,J,Z){let Y="",X=!0;for(let $=0;$<JG;$++){let q=g0[$],H=Q[q];if(H===void 0)continue;let W=!0;if(typeof H==="number")W=H===(q.startsWith("scale")?1:0);else{let z=parseFloat(H);W=q.startsWith("scale")?z===1:z===0}if(!W||Z){let z=M6(H,F1[q]);if(!W){X=!1;let G=QG[q]||q;Y+=`${G}(${z}) `}if(Z)J[q]=z}}if(Y=Y.trim(),Z)Y=Z(J,X?"":Y);else if(X)Y="none";return Y}function d5(Q,J,Z){let{style:Y,vars:X,transformOrigin:$}=Q,q=!1,H=!1;for(let W in J){let z=J[W];if(T0.has(W)){q=!0;continue}else if(t8(W)){X[W]=z;continue}else{let G=M6(z,F1[W]);if(W.startsWith("origin"))H=!0,$[W]=G;else Y[W]=G}}if(!J.transform){if(q||Z)Y.transform=rJ(J,Q.transform,Z);else if(Y.transform)Y.transform="none"}if(H){let{originX:W="50%",originY:z="50%",originZ:G=0}=$;Y.transformOrigin=`${W} ${z} ${G}`}}function v6(Q,{style:J,vars:Z},Y,X){let $=Q.style,q;for(q in J)$[q]=J[q];X?.applyProjectionStyles($,Y);for(q in Z)$.setProperty(q,Z[q])}function iJ(Q,J){if(J.max===J.min)return 0;return Q/(J.max-J.min)*100}var V1={correct:(Q,J)=>{if(!J.target)return Q;if(typeof Q==="string")if(M.test(Q))Q=parseFloat(Q);else return Q;let Z=iJ(Q,J.target.x),Y=iJ(Q,J.target.y);return`${Z}% ${Y}%`}};var sJ={correct:(Q,{treeScale:J,projectionDelta:Z})=>{let Y=Q,X=q0.parse(Q);if(X.length>5)return Y;let $=q0.createTransformer(Q),q=typeof X[0]!=="number"?1:0,H=Z.x.scale*J.x,W=Z.y.scale*J.y;X[0+q]/=H,X[1+q]/=W;let z=y(H,W,0.5);if(typeof X[2+q]==="number")X[2+q]/=z;if(typeof X[3+q]==="number")X[3+q]/=z;return $(X)}};var U8={borderRadius:{...V1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:V1,borderTopRightRadius:V1,borderBottomLeftRadius:V1,borderBottomRightRadius:V1,boxShadow:sJ};function D8(Q,{layout:J,layoutId:Z}){return T0.has(Q)||Q.startsWith("origin")||(J||Z!==void 0)&&(!!U8[Q]||Q==="opacity")}function c5(Q,J,Z){let Y=Q.style,X=J?.style,$={};if(!Y)return $;for(let q in Y)if(d(Y[q])||X&&d(X[q])||D8(q,Q)||Z?.getValue(q)?.liveStyle!==void 0)$[q]=Y[q];return $}function ZG(Q){return window.getComputedStyle(Q)}class f6 extends B8{constructor(){super(...arguments);this.type="html",this.renderInstance=v6}readValueFromInstance(Q,J){if(T0.has(J))return this.projection?.isProjecting?z6(J):aQ(Q,J);else{let Z=ZG(Q),Y=(t8(J)?Z.getPropertyValue(J):Z[J])||0;return typeof Y==="string"?Y.trim():Y}}measureInstanceViewportBox(Q,{transformPagePoint:J}){return y6(Q,J)}build(Q,J,Z){d5(Q,J,Z.transformTemplate)}scrapeMotionValuesFromProps(Q,J,Z){return c5(Q,J,Z)}}var YG={offset:"stroke-dashoffset",array:"stroke-dasharray"},XG={offset:"strokeDashoffset",array:"strokeDasharray"};function oJ(Q,J,Z=1,Y=0,X=!0){Q.pathLength=1;let $=X?YG:XG;Q[$.offset]=`${-Y}`,Q[$.array]=`${J} ${Z}`}var qG=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function w8(Q,{attrX:J,attrY:Z,attrScale:Y,pathLength:X,pathSpacing:$=1,pathOffset:q=0,...H},W,z,G){if(d5(Q,H,z),W){if(Q.style.viewBox)Q.attrs.viewBox=Q.style.viewBox;return}Q.attrs=Q.style,Q.style={};let{attrs:K,style:B}=Q;if(K.transform)B.transform=K.transform,delete K.transform;if(B.transform||K.transformOrigin)B.transformOrigin=K.transformOrigin??"50% 50%",delete K.transformOrigin;if(B.transform)B.transformBox=G?.transformBox??"fill-box",delete K.transformBox;for(let O of qG)if(K[O]!==void 0)B[O]=K[O],delete K[O];if(J!==void 0)K.x=J;if(Z!==void 0)K.y=Z;if(Y!==void 0)K.scale=Y;if(X!==void 0)oJ(K,X,$,q,!1)}var g6=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);var V8=(Q)=>typeof Q==="string"&&Q.toLowerCase()==="svg";function nJ(Q,J,Z,Y){v6(Q,J,void 0,Y);for(let X in J.attrs)Q.setAttribute(!g6.has(X)?B1(X):X,J.attrs[X])}function N8(Q,J,Z){let Y=c5(Q,J,Z);for(let X in Q)if(d(Q[X])||d(J[X])){let $=g0.indexOf(X)!==-1?"attr"+X.charAt(0).toUpperCase()+X.substring(1):X;Y[$]=Q[X]}return Y}class u6 extends B8{constructor(){super(...arguments);this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=l}getBaseTargetFromProps(Q,J){return Q[J]}readValueFromInstance(Q,J){if(T0.has(J)){let Z=T6(J);return Z?Z.default||0:0}return J=!g6.has(J)?B1(J):J,Q.getAttribute(J)}scrapeMotionValuesFromProps(Q,J,Z){return N8(Q,J,Z)}build(Q,J,Z){w8(Q,J,this.isSVGTag,Z.transformTemplate,Z.style)}renderInstance(Q,J,Z,Y){nJ(Q,J,Z,Y)}mount(Q){this.isSVGTag=V8(Q.tagName),super.mount(Q)}}var $G=W8.length;function L4(Q){if(!Q)return;if(!Q.isControllingVariants){let Z=Q.parent?L4(Q.parent)||{}:{};if(Q.props.initial!==void 0)Z.initial=Q.props.initial;return Z}let J={};for(let Z=0;Z<$G;Z++){let Y=W8[Z],X=Q.props[Y];if(d0(X)||X===!1)J[Y]=X}return J}function M4(Q,J){if(!Array.isArray(J))return!1;let Z=J.length;if(Z!==Q.length)return!1;for(let Y=0;Y<Z;Y++)if(J[Y]!==Q[Y])return!1;return!0}var HG=[...h6].reverse(),WG=h6.length;function zG(Q){return(J)=>{return Promise.all(J.map(({animation:Z,options:Y})=>_J(Q,Z,Y)))}}function E4(Q){let J=zG(Q),Z=aJ(),Y=!0,X=!1,$=(z)=>(G,K)=>{let B=u0(Q,K,z==="exit"?Q.presenceContext?.custom:void 0);if(B){let{transition:O,transitionEnd:U,...V}=B;G={...G,...V,...U}}return G};function q(z){J=z(Q)}function H(z){let{props:G}=Q,K=L4(Q.parent)||{},B=[],O=new Set,U={},V=1/0;for(let N=0;N<WG;N++){let T=HG[N],A=Z[T],w=G[T]!==void 0?G[T]:K[T],I=d0(w),L=T===z?A.isActive:null;if(L===!1)V=N;let k=w===K[T]&&w!==G[T]&&I;if(k&&(Y||X)&&Q.manuallyAnimateOnMount)k=!1;if(A.protectedKeys={...U},!A.isActive&&L===null||!w&&!A.prevProp||a0(w)||typeof w==="boolean")continue;if(T==="exit"&&A.isActive&&L!==!0){if(A.prevResolvedValues)U={...U,...A.prevResolvedValues};continue}let _=tJ(A.prevProp,w),j=_||T===z&&A.isActive&&!k&&I||N>V&&I,v=!1,o=Array.isArray(w)?w:[w],u=o.reduce($(T),{});if(L===!1)u={};let{prevResolvedValues:n={}}=A,c={...n,...u},t=(h)=>{if(j=!0,O.has(h))v=!0,O.delete(h);A.needsAnimating[h]=!0;let g=Q.getValue(h);if(g)g.liveStyle=!1};for(let h in c){let g=u[h],E=n[h];if(U.hasOwnProperty(h))continue;let r0=!1;if(X8(g)&&X8(E))r0=!M4(g,E);else r0=g!==E;if(r0)if(g!==void 0&&g!==null)t(h);else O.add(h);else if(g!==void 0&&O.has(h))t(h);else A.protectedKeys[h]=!0}if(A.prevProp=w,A.prevResolvedValues=u,A.isActive)U={...U,...u};if((Y||X)&&Q.blockInitialAnimation)j=!1;let f=k&&_;if(j&&(!f||v))B.push(...o.map((h)=>{let g={type:T};if(typeof h==="string"&&(Y||X)&&!f&&Q.manuallyAnimateOnMount&&Q.parent){let{parent:E}=Q,r0=u0(E,h);if(E.enteringChildren&&r0){let{delayChildren:b8}=r0.transition||{};g.delay=U6(E.enteringChildren,Q,b8)}}return{animation:h,options:g}}))}if(O.size){let N={};if(typeof G.initial!=="boolean"){let T=u0(Q,Array.isArray(G.initial)?G.initial[0]:G.initial);if(T&&T.transition)N.transition=T.transition}O.forEach((T)=>{let A=Q.getBaseTarget(T),w=Q.getValue(T);if(w)w.liveStyle=!0;N[T]=A??null}),B.push({animation:N})}let D=Boolean(B.length);if(Y&&(G.initial===!1||G.initial===G.animate)&&!Q.manuallyAnimateOnMount)D=!1;return Y=!1,X=!1,D?J(B):Promise.resolve()}function W(z,G){if(Z[z].isActive===G)return Promise.resolve();Q.variantChildren?.forEach((B)=>B.animationState?.setActive(z,G)),Z[z].isActive=G;let K=H(z);for(let B in Z)Z[B].protectedKeys={};return K}return{animateChanges:H,setActive:W,setAnimateFunction:q,getState:()=>Z,reset:()=>{Z=aJ(),X=!0}}}function tJ(Q,J){if(typeof J==="string")return J!==Q;else if(Array.isArray(J))return!M4(J,Q);return!1}function p5(Q=!1){return{isActive:Q,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function aJ(){return{animate:p5(!0),whileInView:p5(),whileHover:p5(),whileTap:p5(),whileDrag:p5(),whileFocus:p5(),exit:p5()}}function eJ(Q,J){Q.min=J.min,Q.max=J.max}function L0(Q,J){eJ(Q.x,J.x),eJ(Q.y,J.y)}function P4(Q,J){Q.translate=J.translate,Q.scale=J.scale,Q.originPoint=J.originPoint,Q.origin=J.origin}var QZ=0.0001,GG=1-QZ,KG=1+QZ,JZ=0.01,BG=0-JZ,FG=0+JZ;function J0(Q){return Q.max-Q.min}function b4(Q,J,Z){return Math.abs(Q-J)<=Z}function S4(Q,J,Z,Y=0.5){if(Q.origin=Y,Q.originPoint=y(J.min,J.max,Q.origin),Q.scale=J0(Z)/J0(J),Q.translate=y(Z.min,Z.max,Q.origin)-Q.originPoint,Q.scale>=GG&&Q.scale<=KG||isNaN(Q.scale))Q.scale=1;if(Q.translate>=BG&&Q.translate<=FG||isNaN(Q.translate))Q.translate=0}function m5(Q,J,Z,Y){S4(Q.x,J.x,Z.x,Y?Y.originX:void 0),S4(Q.y,J.y,Z.y,Y?Y.originY:void 0)}function j4(Q,J,Z){Q.min=Z.min+J.min,Q.max=Q.min+J0(J)}function h4(Q,J,Z){j4(Q.x,J.x,Z.x),j4(Q.y,J.y,Z.y)}function k4(Q,J,Z){Q.min=J.min-Z.min,Q.max=Q.min+J0(J)}function N1(Q,J,Z){k4(Q.x,J.x,Z.x),k4(Q.y,J.y,Z.y)}function ZZ(Q,J,Z,Y,X){if(Q-=J,Q=O8(Q,1/Z,Y),X!==void 0)Q=O8(Q,1/X,Y);return Q}function OG(Q,J=0,Z=1,Y=0.5,X,$=Q,q=Q){if(z0.test(J))J=parseFloat(J),J=y(q.min,q.max,J/100)-q.min;if(typeof J!=="number")return;let H=y($.min,$.max,Y);if(Q===$)H-=J;Q.min=ZZ(Q.min,J,Z,H,X),Q.max=ZZ(Q.max,J,Z,H,X)}function YZ(Q,J,[Z,Y,X],$,q){OG(Q,J[Z],J[Y],J[X],J.scale,$,q)}var UG=["x","scaleX","originX"],DG=["y","scaleY","originY"];function C4(Q,J,Z,Y){YZ(Q.x,J,UG,Z?Z.x:void 0,Y?Y.x:void 0),YZ(Q.y,J,DG,Z?Z.y:void 0,Y?Y.y:void 0)}function XZ(Q){return Q.translate===0&&Q.scale===1}function R4(Q){return XZ(Q.x)&&XZ(Q.y)}function qZ(Q,J){return Q.min===J.min&&Q.max===J.max}function HZ(Q,J){return qZ(Q.x,J.x)&&qZ(Q.y,J.y)}function $Z(Q,J){return Math.round(Q.min)===Math.round(J.min)&&Math.round(Q.max)===Math.round(J.max)}function x4(Q,J){return $Z(Q.x,J.x)&&$Z(Q.y,J.y)}function y4(Q){return J0(Q.x)/J0(Q.y)}function v4(Q,J){return Q.translate===J.translate&&Q.scale===J.scale&&Q.originPoint===J.originPoint}function V0(Q){return[Q("x"),Q("y")]}function WZ(Q,J,Z){let Y="",X=Q.x.translate/J.x,$=Q.y.translate/J.y,q=Z?.z||0;if(X||$||q)Y=`translate3d(${X}px, ${$}px, ${q}px) `;if(J.x!==1||J.y!==1)Y+=`scale(${1/J.x}, ${1/J.y}) `;if(Z){let{transformPerspective:z,rotate:G,rotateX:K,rotateY:B,skewX:O,skewY:U}=Z;if(z)Y=`perspective(${z}px) ${Y}`;if(G)Y+=`rotate(${G}deg) `;if(K)Y+=`rotateX(${K}deg) `;if(B)Y+=`rotateY(${B}deg) `;if(O)Y+=`skewX(${O}deg) `;if(U)Y+=`skewY(${U}deg) `}let H=Q.x.scale*J.x,W=Q.y.scale*J.y;if(H!==1||W!==1)Y+=`scale(${H}, ${W})`;return Y||"none"}var BZ=["TopLeft","TopRight","BottomLeft","BottomRight"],wG=BZ.length,zZ=(Q)=>typeof Q==="string"?parseFloat(Q):Q,GZ=(Q)=>typeof Q==="number"||M.test(Q);function FZ(Q,J,Z,Y,X,$){if(X)Q.opacity=y(0,Z.opacity??1,VG(Y)),Q.opacityExit=y(J.opacity??1,0,NG(Y));else if($)Q.opacity=y(J.opacity??1,Z.opacity??1,Y);for(let q=0;q<wG;q++){let H=`border${BZ[q]}Radius`,W=KZ(J,H),z=KZ(Z,H);if(W===void 0&&z===void 0)continue;if(W||(W=0),z||(z=0),W===0||z===0||GZ(W)===GZ(z)){if(Q[H]=Math.max(y(zZ(W),zZ(z),Y),0),z0.test(z)||z0.test(W))Q[H]+="%"}else Q[H]=z}if(J.rotate||Z.rotate)Q.rotate=y(J.rotate||0,Z.rotate||0,Y)}function KZ(Q,J){return Q[J]!==void 0?Q[J]:Q.borderRadius}var VG=OZ(0,0.5,r1),NG=OZ(0.5,0.95,i);function OZ(Q,J,Z){return(Y)=>{if(Y<Q)return 0;if(Y>J)return 1;return Z(x0(Q,J,Y))}}function UZ(Q,J,Z){let Y=d(Q)?Q:j0(Q);return Y.start(x5("",Y,J,Z)),Y.animation}function c0(Q,J,Z,Y={passive:!0}){return Q.addEventListener(J,Z,Y),()=>Q.removeEventListener(J,Z)}var DZ=(Q,J)=>Q.depth-J.depth;class f4{constructor(){this.children=[],this.isDirty=!1}add(Q){E5(this.children,Q),this.isDirty=!0}remove(Q){H5(this.children,Q),this.isDirty=!0}forEach(Q){this.isDirty&&this.children.sort(DZ),this.isDirty=!1,this.children.forEach(Q)}}function wZ(Q,J){let Z=s.now(),Y=({timestamp:X})=>{let $=X-Z;if($>=J)D0(Y),Q($-J)};return R.setup(Y,!0),()=>D0(Y)}function l5(Q){return d(Q)?Q.get():Q}class g4{constructor(){this.members=[]}add(Q){E5(this.members,Q);for(let J=this.members.length-1;J>=0;J--){let Z=this.members[J];if(Z===Q||Z===this.lead||Z===this.prevLead)continue;let Y=Z.instance;if((!Y||Y.isConnected===!1)&&!Z.snapshot)H5(this.members,Z),Z.unmount()}Q.scheduleRender()}remove(Q){if(H5(this.members,Q),Q===this.prevLead)this.prevLead=void 0;if(Q===this.lead){let J=this.members[this.members.length-1];if(J)this.promote(J)}}relegate(Q){for(let J=this.members.indexOf(Q)-1;J>=0;J--){let Z=this.members[J];if(Z.isPresent!==!1&&Z.instance?.isConnected!==!1)return this.promote(Z),!0}return!1}promote(Q,J){let Z=this.lead;if(Q===Z)return;if(this.prevLead=Z,this.lead=Q,Q.show(),Z){Z.updateSnapshot(),Q.scheduleRender();let{layoutDependency:Y}=Z.options,{layoutDependency:X}=Q.options;if(Y===void 0||Y!==X){if(Q.resumeFrom=Z,J)Z.preserveOpacity=!0;if(Z.snapshot)Q.snapshot=Z.snapshot,Q.snapshot.latestValues=Z.animationValues||Z.latestValues;if(Q.root?.isUpdating)Q.isLayoutDirty=!0}if(Q.options.crossfade===!1)Z.hide()}}exitAnimationComplete(){this.members.forEach((Q)=>{Q.options.onExitComplete?.(),Q.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach((Q)=>Q.instance&&Q.scheduleRender(!1))}removeLeadSnapshot(){if(this.lead?.snapshot)this.lead.snapshot=void 0}}var r5={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var i5={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},u4=["","X","Y","Z"],AG=1000,_G=0;function d4(Q,J,Z,Y){let{latestValues:X}=J;if(X[Q]){if(Z[Q]=X[Q],J.setStaticValue(Q,0),Y)Y[Q]=0}}function EZ(Q){if(Q.hasCheckedOptimisedAppear=!0,Q.root===Q)return;let{visualElement:J}=Q.options;if(!J)return;let Z=V6(J);if(window.MotionHasOptimisedAnimation(Z,"transform")){let{layout:X,layoutId:$}=Q.options;window.MotionCancelOptimisedAnimation(Z,"transform",R,!(X||$))}let{parent:Y}=Q;if(Y&&!Y.hasCheckedOptimisedAppear)EZ(Y)}function d6({attachResizeListener:Q,defaultParent:J,measureScroll:Z,checkIsScrollRoot:Y,resetTransform:X}){return class{constructor(q={},H=J?.()){this.id=_G++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{if(this.isUpdating)this.isUpdating=!1,this.clearAllSnapshots()},this.updateProjection=()=>{if(this.projectionUpdateScheduled=!1,w0.value)i5.nodes=i5.calculatedTargetDeltas=i5.calculatedProjections=0;if(this.nodes.forEach(LG),this.nodes.forEach(SG),this.nodes.forEach(jG),this.nodes.forEach(MG),w0.addProjectionMetrics)w0.addProjectionMetrics(i5)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=q,this.root=H?H.root||H:this,this.path=H?[...H.path,H]:[],this.parent=H,this.depth=H?H.depth+1:0;for(let W=0;W<this.path.length;W++)this.path[W].shouldResetTransform=!0;if(this.root===this)this.nodes=new f4}addEventListener(q,H){if(!this.eventHandlers.has(q))this.eventHandlers.set(q,new W5);return this.eventHandlers.get(q).add(H)}notifyListeners(q,...H){let W=this.eventHandlers.get(q);W&&W.notify(...H)}hasListeners(q){return this.eventHandlers.has(q)}mount(q){if(this.instance)return;this.isSVG=D1(q)&&!RJ(q),this.instance=q;let{layoutId:H,layout:W,visualElement:z}=this.options;if(z&&!z.current)z.mount(q);if(this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(W||H))this.isLayoutDirty=!0;if(Q){let G,K=0,B=()=>this.root.updateBlockedByResize=!1;R.read(()=>{K=window.innerWidth}),Q(q,()=>{let O=window.innerWidth;if(O===K)return;if(K=O,this.root.updateBlockedByResize=!0,G&&G(),G=wZ(B,250),r5.hasAnimatedSinceResize)r5.hasAnimatedSinceResize=!1,this.nodes.forEach(AZ)})}if(H)this.root.registerSharedNode(H,this);if(this.options.animate!==!1&&z&&(H||W))this.addEventListener("didUpdate",({delta:G,hasLayoutChanged:K,hasRelativeLayoutChanged:B,layout:O})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let U=this.options.transition||z.getDefaultTransition()||RG,{onLayoutAnimationStart:V,onLayoutAnimationComplete:D}=z.getProps(),N=!this.targetLayout||!x4(this.targetLayout,O),T=!K&&B;if(this.options.layoutRoot||this.resumeFrom||T||K&&(N||!this.currentAnimation)){if(this.resumeFrom)this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0;let A={...G1(U,"layout"),onPlay:V,onComplete:D};if(z.shouldReduceMotion||this.options.layoutRoot)A.delay=0,A.type=!1;this.startAnimation(A),this.setAnimationOrigin(G,T)}else{if(!K)AZ(this);if(this.isLead()&&this.options.onExitComplete)this.options.onExitComplete()}this.targetLayout=O})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let q=this.getStack();q&&q.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),D0(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){if(this.isUpdateBlocked())return;this.isUpdating=!0,this.nodes&&this.nodes.forEach(kG),this.animationId++}getTransformTemplate(){let{visualElement:q}=this.options;return q&&q.getProps().transformTemplate}willUpdate(q=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear)EZ(this);if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let G=0;G<this.path.length;G++){let K=this.path[G];if(K.shouldResetTransform=!0,K.updateScroll("snapshot"),K.options.layoutRoot)K.willUpdate(!1)}let{layoutId:H,layout:W}=this.options;if(H===void 0&&!W)return;let z=this.getTransformTemplate();this.prevTransformTemplateValue=z?z(this.latestValues,""):void 0,this.updateSnapshot(),q&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(VZ);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(NZ);return}if(this.animationCommitId=this.animationId,!this.isUpdating)this.nodes.forEach(NZ);else this.isUpdating=!1,this.nodes.forEach(PG),this.nodes.forEach(TG),this.nodes.forEach(IG);this.clearAllSnapshots();let H=s.now();a.delta=e(0,16.666666666666668,H-a.timestamp),a.timestamp=H,a.isProcessing=!0,a1.update.process(a),a1.preRender.process(a),a1.render.process(a),a.isProcessing=!1}didUpdate(){if(!this.updateScheduled)this.updateScheduled=!0,v5.read(this.scheduleUpdate)}clearAllSnapshots(){this.nodes.forEach(EG),this.sharedNodes.forEach(bG)}scheduleUpdateProjection(){if(!this.projectionUpdateScheduled)this.projectionUpdateScheduled=!0,R.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){R.postRender(()=>{if(this.isLayoutDirty)this.root.didUpdate();else this.root.checkUpdateFailed()})}updateSnapshot(){if(this.snapshot||!this.instance)return;if(this.snapshot=this.measure(),this.snapshot&&!J0(this.snapshot.measuredBox.x)&&!J0(this.snapshot.measuredBox.y))this.snapshot=void 0}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty)return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let W=0;W<this.path.length;W++)this.path[W].updateScroll();let q=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=l(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:H}=this.options;H&&H.notify("LayoutMeasure",this.layout.layoutBox,q?q.layoutBox:void 0)}updateScroll(q="measure"){let H=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===q)H=!1;if(H&&this.instance){let W=Y(this.instance);this.scroll={animationId:this.root.animationId,phase:q,isRoot:W,offset:Z(this.instance),wasRoot:this.scroll?this.scroll.isRoot:W}}}resetTransform(){if(!X)return;let q=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,H=this.projectionDelta&&!R4(this.projectionDelta),W=this.getTransformTemplate(),z=W?W(this.latestValues,""):void 0,G=z!==this.prevTransformTemplateValue;if(q&&this.instance&&(H||t0(this.latestValues)||G))X(this.instance,z),this.shouldResetTransform=!1,this.scheduleRender()}measure(q=!0){let H=this.measurePageBox(),W=this.removeElementScroll(H);if(q)W=this.removeTransform(W);return xG(W),{animationId:this.root.animationId,measuredBox:H,layoutBox:W,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:q}=this.options;if(!q)return l();let H=q.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(yG))){let{scroll:z}=this.root;if(z)U5(H.x,z.offset.x),U5(H.y,z.offset.y)}return H}removeElementScroll(q){let H=l();if(L0(H,q),this.scroll?.wasRoot)return H;for(let W=0;W<this.path.length;W++){let z=this.path[W],{scroll:G,options:K}=z;if(z!==this.root&&G&&K.layoutScroll){if(G.wasRoot)L0(H,q);U5(H.x,G.offset.x),U5(H.y,G.offset.y)}}return H}applyTransform(q,H=!1){let W=l();L0(W,q);for(let z=0;z<this.path.length;z++){let G=this.path[z];if(!H&&G.options.layoutScroll&&G.scroll&&G!==G.root)u5(W,{x:-G.scroll.offset.x,y:-G.scroll.offset.y});if(!t0(G.latestValues))continue;u5(W,G.latestValues)}if(t0(this.latestValues))u5(W,this.latestValues);return W}removeTransform(q){let H=l();L0(H,q);for(let W=0;W<this.path.length;W++){let z=this.path[W];if(!z.instance)continue;if(!t0(z.latestValues))continue;x6(z.latestValues)&&z.updateSnapshot();let G=l(),K=z.measurePageBox();L0(G,K),C4(H,z.latestValues,z.snapshot?z.snapshot.layoutBox:void 0,G)}if(t0(this.latestValues))C4(H,this.latestValues);return H}setTargetDelta(q){this.targetDelta=q,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(q){this.options={...this.options,...q,crossfade:q.crossfade!==void 0?q.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){if(!this.relativeParent)return;if(this.relativeParent.resolvedRelativeTargetAt!==a.timestamp)this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(q=!1){let H=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=H.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=H.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=H.isSharedProjectionDirty);let W=Boolean(this.resumingFrom)||this!==H;if(!(q||W&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:G,layoutId:K}=this.options;if(!this.layout||!(G||K))return;this.resolvedRelativeTargetAt=a.timestamp;let B=this.getClosestProjectingParent();if(B&&this.linkedParentVersion!==B.layoutVersion&&!B.options.layoutRoot)this.removeRelativeTarget();if(!this.targetDelta&&!this.relativeTarget)if(B&&B.layout)this.createRelativeTarget(B,this.layout.layoutBox,B.layout.layoutBox);else this.removeRelativeTarget();if(!this.relativeTarget&&!this.targetDelta)return;if(!this.target)this.target=l(),this.targetWithTransforms=l();if(this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)this.forceRelativeParentToResolveTarget(),h4(this.target,this.relativeTarget,this.relativeParent.target);else if(this.targetDelta){if(Boolean(this.resumingFrom))this.target=this.applyTransform(this.layout.layoutBox);else L0(this.target,this.layout.layoutBox);T4(this.target,this.targetDelta)}else L0(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget)if(this.attemptToResolveRelativeTarget=!1,B&&Boolean(B.resumingFrom)===Boolean(this.resumingFrom)&&!B.options.layoutScroll&&B.target&&this.animationProgress!==1)this.createRelativeTarget(B,this.target,B.target);else this.relativeParent=this.relativeTarget=void 0;if(w0.value)i5.calculatedTargetDeltas++}getClosestProjectingParent(){if(!this.parent||x6(this.parent.latestValues)||A4(this.parent.latestValues))return;if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(q,H,W){this.relativeParent=q,this.linkedParentVersion=q.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=l(),this.relativeTargetOrigin=l(),N1(this.relativeTargetOrigin,H,W),L0(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let q=this.getLead(),H=Boolean(this.resumingFrom)||this!==q,W=!0;if(this.isProjectionDirty||this.parent?.isProjectionDirty)W=!1;if(H&&(this.isSharedProjectionDirty||this.isTransformDirty))W=!1;if(this.resolvedRelativeTargetAt===a.timestamp)W=!1;if(W)return;let{layout:z,layoutId:G}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),!this.isTreeAnimating)this.targetDelta=this.relativeTarget=void 0;if(!this.layout||!(z||G))return;L0(this.layoutCorrected,this.layout.layoutBox);let K=this.treeScale.x,B=this.treeScale.y;if(lJ(this.layoutCorrected,this.treeScale,this.path,H),q.layout&&!q.target&&(this.treeScale.x!==1||this.treeScale.y!==1))q.target=q.layout.layoutBox,q.targetWithTransforms=l();let{target:O}=q;if(!O){if(this.prevProjectionDelta)this.createProjectionDeltas(),this.scheduleRender();return}if(!this.projectionDelta||!this.prevProjectionDelta)this.createProjectionDeltas();else P4(this.prevProjectionDelta.x,this.projectionDelta.x),P4(this.prevProjectionDelta.y,this.projectionDelta.y);if(m5(this.projectionDelta,this.layoutCorrected,O,this.latestValues),this.treeScale.x!==K||this.treeScale.y!==B||!v4(this.projectionDelta.x,this.prevProjectionDelta.x)||!v4(this.projectionDelta.y,this.prevProjectionDelta.y))this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",O);if(w0.value)i5.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(q=!0){if(this.options.visualElement?.scheduleRender(),q){let H=this.getStack();H&&H.scheduleRender()}if(this.resumingFrom&&!this.resumingFrom.instance)this.resumingFrom=void 0}createProjectionDeltas(){this.prevProjectionDelta=B5(),this.projectionDelta=B5(),this.projectionDeltaWithTransform=B5()}setAnimationOrigin(q,H=!1){let W=this.snapshot,z=W?W.latestValues:{},G={...this.latestValues},K=B5();if(!this.relativeParent||!this.relativeParent.options.layoutRoot)this.relativeTarget=this.relativeTargetOrigin=void 0;this.attemptToResolveRelativeTarget=!H;let B=l(),O=W?W.source:void 0,U=this.layout?this.layout.source:void 0,V=O!==U,D=this.getStack(),N=!D||D.members.length<=1,T=Boolean(V&&!N&&this.options.crossfade===!0&&!this.path.some(CG));this.animationProgress=0;let A;this.mixTargetDelta=(w)=>{let I=w/1000;if(_Z(K.x,q.x,I),_Z(K.y,q.y,I),this.setTargetDelta(K),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){if(N1(B,this.layout.layoutBox,this.relativeParent.layout.layoutBox),hG(this.relativeTarget,this.relativeTargetOrigin,B,I),A&&HZ(this.relativeTarget,A))this.isProjectionDirty=!1;if(!A)A=l();L0(A,this.relativeTarget)}if(V)this.animationValues=G,FZ(G,z,this.latestValues,I,T,N);this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=I},this.mixTargetDelta(this.options.layoutRoot?1000:0)}startAnimation(q){if(this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation)D0(this.pendingAnimation),this.pendingAnimation=void 0;this.pendingAnimation=R.update(()=>{if(r5.hasAnimatedSinceResize=!0,y0.layout++,this.motionValue||(this.motionValue=j0(0)),this.motionValue.jump(0,!1),this.currentAnimation=UZ(this.motionValue,[0,1000],{...q,velocity:0,isSync:!0,onUpdate:(H)=>{this.mixTargetDelta(H),q.onUpdate&&q.onUpdate(H)},onStop:()=>{y0.layout--},onComplete:()=>{y0.layout--,q.onComplete&&q.onComplete(),this.completeAnimation()}}),this.resumingFrom)this.resumingFrom.currentAnimation=this.currentAnimation;this.pendingAnimation=void 0})}completeAnimation(){if(this.resumingFrom)this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0;let q=this.getStack();q&&q.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){if(this.currentAnimation)this.mixTargetDelta&&this.mixTargetDelta(AG),this.currentAnimation.stop();this.completeAnimation()}applyTransformsToTarget(){let q=this.getLead(),{targetWithTransforms:H,target:W,layout:z,latestValues:G}=q;if(!H||!W||!z)return;if(this!==q&&this.layout&&z&&PZ(this.options.animationType,this.layout.layoutBox,z.layoutBox)){W=this.target||l();let K=J0(this.layout.layoutBox.x);W.x.min=q.target.x.min,W.x.max=W.x.min+K;let B=J0(this.layout.layoutBox.y);W.y.min=q.target.y.min,W.y.max=W.y.min+B}L0(H,W),u5(H,G),m5(this.projectionDeltaWithTransform,this.layoutCorrected,H,G)}registerSharedNode(q,H){if(!this.sharedNodes.has(q))this.sharedNodes.set(q,new g4);this.sharedNodes.get(q).add(H);let z=H.options.initialPromotionConfig;H.promote({transition:z?z.transition:void 0,preserveFollowOpacity:z&&z.shouldPreserveFollowOpacity?z.shouldPreserveFollowOpacity(H):void 0})}isLead(){let q=this.getStack();return q?q.lead===this:!0}getLead(){let{layoutId:q}=this.options;return q?this.getStack()?.lead||this:this}getPrevLead(){let{layoutId:q}=this.options;return q?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:q}=this.options;if(q)return this.root.sharedNodes.get(q)}promote({needsReset:q,transition:H,preserveFollowOpacity:W}={}){let z=this.getStack();if(z)z.promote(this,W);if(q)this.projectionDelta=void 0,this.needsReset=!0;if(H)this.setOptions({transition:H})}relegate(){let q=this.getStack();if(q)return q.relegate(this);else return!1}resetSkewAndRotation(){let{visualElement:q}=this.options;if(!q)return;let H=!1,{latestValues:W}=q;if(W.z||W.rotate||W.rotateX||W.rotateY||W.rotateZ||W.skewX||W.skewY)H=!0;if(!H)return;let z={};if(W.z)d4("z",q,z,this.animationValues);for(let G=0;G<u4.length;G++)d4(`rotate${u4[G]}`,q,z,this.animationValues),d4(`skew${u4[G]}`,q,z,this.animationValues);q.render();for(let G in z)if(q.setStaticValue(G,z[G]),this.animationValues)this.animationValues[G]=z[G];q.scheduleRender()}applyProjectionStyles(q,H){if(!this.instance||this.isSVG)return;if(!this.isVisible){q.visibility="hidden";return}let W=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,q.visibility="",q.opacity="",q.pointerEvents=l5(H?.pointerEvents)||"",q.transform=W?W(this.latestValues,""):"none";return}let z=this.getLead();if(!this.projectionDelta||!this.layout||!z.target){if(this.options.layoutId)q.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,q.pointerEvents=l5(H?.pointerEvents)||"";if(this.hasProjected&&!t0(this.latestValues))q.transform=W?W({},""):"none",this.hasProjected=!1;return}q.visibility="";let G=z.animationValues||z.latestValues;this.applyTransformsToTarget();let K=WZ(this.projectionDeltaWithTransform,this.treeScale,G);if(W)K=W(G,K);q.transform=K;let{x:B,y:O}=this.projectionDelta;if(q.transformOrigin=`${B.origin*100}% ${O.origin*100}% 0`,z.animationValues)q.opacity=z===this?G.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:G.opacityExit;else q.opacity=z===this?G.opacity!==void 0?G.opacity:"":G.opacityExit!==void 0?G.opacityExit:0;for(let U in U8){if(G[U]===void 0)continue;let{correct:V,applyTo:D,isCSSVariable:N}=U8[U],T=K==="none"?G[U]:V(G[U],z);if(D){let A=D.length;for(let w=0;w<A;w++)q[D[w]]=T}else if(N)this.options.visualElement.renderState.vars[U]=T;else q[U]=T}if(this.options.layoutId)q.pointerEvents=z===this?l5(H?.pointerEvents)||"":"none"}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((q)=>q.currentAnimation?.stop()),this.root.nodes.forEach(VZ),this.root.sharedNodes.clear()}}}function TG(Q){Q.updateLayout()}function IG(Q){let J=Q.resumeFrom?.snapshot||Q.snapshot;if(Q.isLead()&&Q.layout&&J&&Q.hasListeners("didUpdate")){let{layoutBox:Z,measuredBox:Y}=Q.layout,{animationType:X}=Q.options,$=J.source!==Q.layout.source;if(X==="size")V0((G)=>{let K=$?J.measuredBox[G]:J.layoutBox[G],B=J0(K);K.min=Z[G].min,K.max=K.min+B});else if(PZ(X,J.layoutBox,Z))V0((G)=>{let K=$?J.measuredBox[G]:J.layoutBox[G],B=J0(Z[G]);if(K.max=K.min+B,Q.relativeTarget&&!Q.currentAnimation)Q.isProjectionDirty=!0,Q.relativeTarget[G].max=Q.relativeTarget[G].min+B});let q=B5();m5(q,Z,J.layoutBox);let H=B5();if($)m5(H,Q.applyTransform(Y,!0),J.measuredBox);else m5(H,Z,J.layoutBox);let W=!R4(q),z=!1;if(!Q.resumeFrom){let G=Q.getClosestProjectingParent();if(G&&!G.resumeFrom){let{snapshot:K,layout:B}=G;if(K&&B){let O=l();N1(O,J.layoutBox,K.layoutBox);let U=l();if(N1(U,Z,B.layoutBox),!x4(O,U))z=!0;if(G.options.layoutRoot)Q.relativeTarget=U,Q.relativeTargetOrigin=O,Q.relativeParent=G}}}Q.notifyListeners("didUpdate",{layout:Z,snapshot:J,delta:H,layoutDelta:q,hasLayoutChanged:W,hasRelativeLayoutChanged:z})}else if(Q.isLead()){let{onExitComplete:Z}=Q.options;Z&&Z()}Q.options.transition=void 0}function LG(Q){if(w0.value)i5.nodes++;if(!Q.parent)return;if(!Q.isProjecting())Q.isProjectionDirty=Q.parent.isProjectionDirty;Q.isSharedProjectionDirty||(Q.isSharedProjectionDirty=Boolean(Q.isProjectionDirty||Q.parent.isProjectionDirty||Q.parent.isSharedProjectionDirty)),Q.isTransformDirty||(Q.isTransformDirty=Q.parent.isTransformDirty)}function MG(Q){Q.isProjectionDirty=Q.isSharedProjectionDirty=Q.isTransformDirty=!1}function EG(Q){Q.clearSnapshot()}function VZ(Q){Q.clearMeasurements()}function NZ(Q){Q.isLayoutDirty=!1}function PG(Q){let{visualElement:J}=Q.options;if(J&&J.getProps().onBeforeLayoutMeasure)J.notify("BeforeLayoutMeasure");Q.resetTransform()}function AZ(Q){Q.finishAnimation(),Q.targetDelta=Q.relativeTarget=Q.target=void 0,Q.isProjectionDirty=!0}function SG(Q){Q.resolveTargetDelta()}function jG(Q){Q.calcProjection()}function kG(Q){Q.resetSkewAndRotation()}function bG(Q){Q.removeLeadSnapshot()}function _Z(Q,J,Z){Q.translate=y(J.translate,0,Z),Q.scale=y(J.scale,1,Z),Q.origin=J.origin,Q.originPoint=J.originPoint}function TZ(Q,J,Z,Y){Q.min=y(J.min,Z.min,Y),Q.max=y(J.max,Z.max,Y)}function hG(Q,J,Z,Y){TZ(Q.x,J.x,Z.x,Y),TZ(Q.y,J.y,Z.y,Y)}function CG(Q){return Q.animationValues&&Q.animationValues.opacityExit!==void 0}var RG={duration:0.45,ease:[0.4,0,0.1,1]},IZ=(Q)=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(Q),LZ=IZ("applewebkit/")&&!IZ("chrome/")?Math.round:i;function MZ(Q){Q.min=LZ(Q.min),Q.max=LZ(Q.max)}function xG(Q){MZ(Q.x),MZ(Q.y)}function PZ(Q,J,Z){return Q==="position"||Q==="preserve-aspect"&&!b4(y4(J),y4(Z),0.2)}function yG(Q){return Q!==Q.root&&Q.scroll?.wasRoot}var SZ=d6({attachResizeListener:(Q,J)=>c0(Q,"resize",J),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0});var vG=(Q)=>!Q.isLayoutDirty&&Q.willUpdate(!1);function c6(){let Q=new Set,J=new WeakMap,Z=()=>Q.forEach(vG);return{add:(Y)=>{Q.add(Y),J.set(Y,Y.addEventListener("willUpdate",Z))},remove:(Y)=>{Q.delete(Y);let X=J.get(Y);if(X)X(),J.delete(Y);Z()},dirty:Z}}var p6={current:void 0},A8=d6({measureScroll:(Q)=>({x:Q.scrollLeft,y:Q.scrollTop}),defaultParent:()=>{if(!p6.current){let Q=new SZ({});Q.mount(window),Q.setOptions({layoutScroll:!0}),p6.current=Q}return p6.current},resetTransform:(Q,J)=>{Q.style.transform=J!==void 0?J:"none"},checkIsScrollRoot:(Q)=>Boolean(window.getComputedStyle(Q).position==="fixed")});var kZ=b(C(),1);var jZ=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function A1(Q){if(typeof Q!=="string"||Q.includes("-"))return!1;else if(jZ.indexOf(Q)>-1||/[A-Z]/u.test(Q))return!0;return!1}var bZ=(Q,J)=>{return J.isSVG??A1(Q)?new u6(J):new f6(J,{allowProjection:Q!==kZ.Fragment})};var a6=b(M0(),1);var E1=b(C(),1);var hZ=b(C(),1),e0=hZ.createContext({});var CZ=b(C(),1),m6=CZ.createContext({strict:!1});var RZ=b(C(),1),_1=RZ.createContext({transformPagePoint:(Q)=>Q,isStatic:!1,reducedMotion:"never"});var xZ=b(C(),1),D5=xZ.createContext({});var l6=b(C(),1);function yZ(Q,J){if(F5(Q)){let{initial:Z,animate:Y}=Q;return{initial:Z===!1||d0(Z)?Z:void 0,animate:d0(Y)?Y:void 0}}return Q.inherit!==!1?J:{}}function fZ(Q){let{initial:J,animate:Z}=yZ(Q,l6.useContext(D5));return l6.useMemo(()=>({initial:J,animate:Z}),[vZ(J),vZ(Z)])}function vZ(Q){return Array.isArray(Q)?Q.join(" "):Q}var I1=b(C(),1);var gZ=b(C(),1);var T1=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function c4(Q,J,Z){for(let Y in J)if(!d(J[Y])&&!D8(Y,Z))Q[Y]=J[Y]}function fG({transformTemplate:Q},J){return gZ.useMemo(()=>{let Z=T1();return d5(Z,J,Q),Object.assign({},Z.vars,Z.style)},[J])}function gG(Q,J){let Z=Q.style||{},Y={};return c4(Y,Z,Q),Object.assign(Y,fG(Q,J)),Y}function uZ(Q,J){let Z={},Y=gG(Q,J);if(Q.drag&&Q.dragListener!==!1)Z.draggable=!1,Y.userSelect=Y.WebkitUserSelect=Y.WebkitTouchCallout="none",Y.touchAction=Q.drag===!0?"none":`pan-${Q.drag==="x"?"y":"x"}`;if(Q.tabIndex===void 0&&(Q.onTap||Q.onTapStart||Q.whileTap))Z.tabIndex=0;return Z.style=Y,Z}var dZ=b(C(),1);var r6=()=>({...T1(),attrs:{}});function cZ(Q,J,Z,Y){let X=dZ.useMemo(()=>{let $=r6();return w8($,J,V8(Y),Q.transformTemplate,Q.style),{...$.attrs,style:{...$.style}}},[J]);if(Q.style){let $={};c4($,Q.style,Q),X.style={...$,...X.style}}return X}var uG=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function _8(Q){return Q.startsWith("while")||Q.startsWith("drag")&&Q!=="draggable"||Q.startsWith("layout")||Q.startsWith("onTap")||Q.startsWith("onPan")||Q.startsWith("onLayout")||uG.has(Q)}var pZ=(Q)=>!_8(Q);function cG(Q){if(typeof Q!=="function")return;pZ=(J)=>J.startsWith("on")?!_8(J):Q(J)}try{cG((()=>{throw new Error("Cannot require module "+"@emotion/is-prop-valid");})().default)}catch{}function mZ(Q,J,Z){let Y={};for(let X in Q){if(X==="values"&&typeof Q.values==="object")continue;if(pZ(X)||Z===!0&&_8(X)||!J&&!_8(X)||Q.draggable&&X.startsWith("onDrag"))Y[X]=Q[X]}return Y}function lZ(Q,J,Z,{latestValues:Y},X,$=!1,q){let W=(q??A1(Q)?cZ:uZ)(J,Y,X,Q),z=mZ(J,typeof Q==="string",$),G=Q!==I1.Fragment?{...z,...W,ref:Z}:{},{children:K}=J,B=I1.useMemo(()=>d(K)?K.get():K,[K]);return I1.createElement(Q,{...G,children:B})}var p4=b(C(),1);var rZ=b(C(),1),w5=rZ.createContext(null);var iZ=b(C(),1);function L1(Q){let J=iZ.useRef(null);if(J.current===null)J.current=Q();return J.current}function pG({scrapeMotionValuesFromProps:Q,createRenderState:J},Z,Y,X){return{latestValues:mG(Z,Y,X,Q),renderState:J()}}function mG(Q,J,Z,Y){let X={},$=Y(Q,{});for(let B in $)X[B]=l5($[B]);let{initial:q,animate:H}=Q,W=F5(Q),z=z8(Q);if(J&&z&&!W&&Q.inherit!==!1){if(q===void 0)q=J.initial;if(H===void 0)H=J.animate}let G=Z?Z.initial===!1:!1;G=G||q===!1;let K=G?H:q;if(K&&typeof K!=="boolean"&&!a0(K)){let B=Array.isArray(K)?K:[K];for(let O=0;O<B.length;O++){let U=y5(Q,B[O]);if(U){let{transitionEnd:V,transition:D,...N}=U;for(let T in N){let A=N[T];if(Array.isArray(A)){let w=G?A.length-1:0;A=A[w]}if(A!==null)X[T]=A}for(let T in V)X[T]=V[T]}}}return X}var i6=(Q)=>(J,Z)=>{let Y=p4.useContext(D5),X=p4.useContext(w5),$=()=>pG(Q,J,Y,X);return Z?$():L1($)};var sZ=i6({scrapeMotionValuesFromProps:c5,createRenderState:T1});var oZ=i6({scrapeMotionValuesFromProps:N8,createRenderState:r6});var nZ={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},aZ=!1;function lG(){if(aZ)return;let Q={};for(let J in nZ)Q[J]={isEnabled:(Z)=>nZ[J].some((Y)=>!!Z[Y])};K8(Q),aZ=!0}function s6(){return lG(),D4()}function tZ(Q){let J=s6();for(let Z in Q)J[Z]={...J[Z],...Q[Z]};K8(J)}var eZ=Symbol.for("motionComponentSymbol");var s5=b(C(),1);function QY(Q,J,Z){let Y=s5.useRef(Z);s5.useInsertionEffect(()=>{Y.current=Z});let X=s5.useRef(null);return s5.useCallback(($)=>{if($)Q.onMount?.($);let q=Y.current;if(typeof q==="function")if($){let H=q($);if(typeof H==="function")X.current=H}else if(X.current)X.current(),X.current=null;else q($);else if(q)q.current=$;if(J)$?J.mount($):J.unmount()},[J])}var B0=b(C(),1);var JY=b(C(),1),o6=JY.createContext({});function V5(Q){return Q&&typeof Q==="object"&&Object.prototype.hasOwnProperty.call(Q,"current")}var n6=b(C(),1);var ZY=typeof window<"u";var M1=ZY?n6.useLayoutEffect:n6.useEffect;function YY(Q,J,Z,Y,X,$){let{visualElement:q}=B0.useContext(D5),H=B0.useContext(m6),W=B0.useContext(w5),z=B0.useContext(_1),G=z.reducedMotion,K=z.skipAnimations,B=B0.useRef(null),O=B0.useRef(!1);if(Y=Y||H.renderer,!B.current&&Y){if(B.current=Y(Q,{visualState:J,parent:q,props:Z,presenceContext:W,blockInitialAnimation:W?W.initial===!1:!1,reducedMotionConfig:G,skipAnimations:K,isSVG:$}),O.current&&B.current)B.current.manuallyAnimateOnMount=!0}let U=B.current,V=B0.useContext(o6);if(U&&!U.projection&&X&&(U.type==="html"||U.type==="svg"))rG(B.current,Z,X,V);let D=B0.useRef(!1);B0.useInsertionEffect(()=>{if(U&&D.current)U.update(Z,W)});let N=Z[q8],T=B0.useRef(Boolean(N)&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(N)&&window.MotionHasOptimisedAnimation?.(N));return M1(()=>{if(O.current=!0,!U)return;if(D.current=!0,window.MotionIsMounted=!0,U.updateFeatures(),U.scheduleRenderMicrotask(),T.current&&U.animationState)U.animationState.animateChanges()}),B0.useEffect(()=>{if(!U)return;if(!T.current&&U.animationState)U.animationState.animateChanges();if(T.current)queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(N)}),T.current=!1;U.enteringChildren=void 0}),U}function rG(Q,J,Z,Y){let{layoutId:X,layout:$,drag:q,dragConstraints:H,layoutScroll:W,layoutRoot:z,layoutCrossfade:G}=J;Q.projection=new Z(Q.latestValues,J["data-framer-portal-id"]?void 0:XY(Q.parent)),Q.projection.setOptions({layoutId:X,layout:$,alwaysMeasureLayout:Boolean(q)||H&&V5(H),visualElement:Q,animationType:typeof $==="string"?$:"both",initialPromotionConfig:Y,crossfade:G,layoutScroll:W,layoutRoot:z})}function XY(Q){if(!Q)return;return Q.options.allowProjection!==!1?Q.projection:XY(Q.parent)}function t6(Q,{forwardMotionProps:J=!1,type:Z}={},Y,X){Y&&tZ(Y);let $=Z?Z==="svg":A1(Q),q=$?oZ:sZ;function H(z,G){let K,B={...E1.useContext(_1),...z,layoutId:iG(z)},{isStatic:O}=B,U=fZ(z),V=q(z,O);if(!O&&typeof window<"u"){sG(B,Y);let D=oG(B);K=D.MeasureLayout,U.visualElement=YY(Q,V,B,X,D.ProjectionNode,$)}return a6.jsxs(D5.Provider,{value:U,children:[K&&U.visualElement?a6.jsx(K,{visualElement:U.visualElement,...B}):null,lZ(Q,z,QY(V,U.visualElement,G),V,O,J,$)]})}H.displayName=`motion.${typeof Q==="string"?Q:`create(${Q.displayName??Q.name??""})`}`;let W=E1.forwardRef(H);return W[eZ]=Q,W}function iG({layoutId:Q}){let J=E1.useContext(e0).id;return J&&Q!==void 0?J+"-"+Q:Q}function sG(Q,J){let Z=E1.useContext(m6).strict}function oG(Q){let J=s6(),{drag:Z,layout:Y}=J;if(!Z&&!Y)return{};let X={...Z,...Y};return{MeasureLayout:Z?.isEnabled(Q)||Y?.isEnabled(Q)?X.MeasureLayout:void 0,ProjectionNode:X.ProjectionNode}}function qY(Q,J){if(typeof Proxy>"u")return t6;let Z=new Map,Y=($,q)=>{return t6($,q,Q,J)};return new Proxy(($,q)=>{return Y($,q)},{get:($,q)=>{if(q==="create")return Y;if(!Z.has(q))Z.set(q,t6(q,void 0,Q,J));return Z.get(q)}})}class m4 extends H0{constructor(Q){super(Q);Q.animationState||(Q.animationState=E4(Q))}updateAnimationControlsSubscription(){let{animate:Q}=this.node.getProps();if(a0(Q))this.unmountControls=Q.subscribe(this.node)}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:Q}=this.node.getProps(),{animate:J}=this.node.prevProps||{};if(Q!==J)this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}var nG=0;class l4 extends H0{constructor(){super(...arguments);this.id=nG++}update(){if(!this.node.presenceContext)return;let{isPresent:Q,onExitComplete:J}=this.node.presenceContext,{isPresent:Z}=this.node.prevPresenceContext||{};if(!this.node.animationState||Q===Z)return;let Y=this.node.animationState.setActive("exit",!Q);if(J&&!Q)Y.then(()=>{J(this.id)})}mount(){let{register:Q,onExitComplete:J}=this.node.presenceContext||{};if(J)J(this.id);if(Q)this.unmount=Q(this.id)}unmount(){}}var $Y={animation:{Feature:m4},exit:{Feature:l4}};function Q5(Q){return{point:{x:Q.pageX,y:Q.pageY}}}var HY=(Q)=>{return(J)=>f5(J)&&Q(J,Q5(J))};function N5(Q,J,Z,Y){return c0(Q,J,HY(Z),Y)}var e6=({current:Q})=>{return Q?Q.ownerDocument.defaultView:null};var WY=(Q,J)=>Math.abs(Q-J);function zY(Q,J){let Z=WY(Q.x,J.x),Y=WY(Q.y,J.y);return Math.sqrt(Z**2+Y**2)}var GY=new Set(["auto","scroll"]);class T8{constructor(Q,J,{transformPagePoint:Z,contextWindow:Y=window,dragSnapToOrigin:X=!1,distanceThreshold:$=3,element:q}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=(B)=>{this.handleScroll(B.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let B=i4(this.lastMoveEventInfo,this.history),O=this.startEvent!==null,U=zY(B.offset,{x:0,y:0})>=this.distanceThreshold;if(!O&&!U)return;let{point:V}=B,{timestamp:D}=a;this.history.push({...V,timestamp:D});let{onStart:N,onMove:T}=this.handlers;if(!O)N&&N(this.lastMoveEvent,B),this.startEvent=this.lastMoveEvent;T&&T(this.lastMoveEvent,B)},this.handlePointerMove=(B,O)=>{this.lastMoveEvent=B,this.lastMoveEventInfo=r4(O,this.transformPagePoint),R.update(this.updatePoint,!0)},this.handlePointerUp=(B,O)=>{this.end();let{onEnd:U,onSessionEnd:V,resumeAnimation:D}=this.handlers;if(this.dragSnapToOrigin||!this.startEvent)D&&D();if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let N=i4(B.type==="pointercancel"?this.lastMoveEventInfo:r4(O,this.transformPagePoint),this.history);if(this.startEvent&&U)U(B,N);V&&V(B,N)},!f5(Q))return;this.dragSnapToOrigin=X,this.handlers=J,this.transformPagePoint=Z,this.distanceThreshold=$,this.contextWindow=Y||window;let H=Q5(Q),W=r4(H,this.transformPagePoint),{point:z}=W,{timestamp:G}=a;this.history=[{...z,timestamp:G}];let{onSessionStart:K}=J;if(K&&K(Q,i4(W,this.history)),this.removeListeners=P0(N5(this.contextWindow,"pointermove",this.handlePointerMove),N5(this.contextWindow,"pointerup",this.handlePointerUp),N5(this.contextWindow,"pointercancel",this.handlePointerUp)),q)this.startScrollTracking(q)}startScrollTracking(Q){let J=Q.parentElement;while(J){let Z=getComputedStyle(J);if(GY.has(Z.overflowX)||GY.has(Z.overflowY))this.scrollPositions.set(J,{x:J.scrollLeft,y:J.scrollTop});J=J.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(Q){let J=this.scrollPositions.get(Q);if(!J)return;let Z=Q===window,Y=Z?{x:window.scrollX,y:window.scrollY}:{x:Q.scrollLeft,y:Q.scrollTop},X={x:Y.x-J.x,y:Y.y-J.y};if(X.x===0&&X.y===0)return;if(Z){if(this.lastMoveEventInfo)this.lastMoveEventInfo.point.x+=X.x,this.lastMoveEventInfo.point.y+=X.y}else if(this.history.length>0)this.history[0].x-=X.x,this.history[0].y-=X.y;this.scrollPositions.set(Q,Y),R.update(this.updatePoint,!0)}updateHandlers(Q){this.handlers=Q}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),D0(this.updatePoint)}}function r4(Q,J){return J?{point:J(Q.point)}:Q}function KY(Q,J){return{x:Q.x-J.x,y:Q.y-J.y}}function i4({point:Q},J){return{point:Q,delta:KY(Q,BY(J)),offset:KY(Q,aG(J)),velocity:tG(J,0.1)}}function aG(Q){return Q[0]}function BY(Q){return Q[Q.length-1]}function tG(Q,J){if(Q.length<2)return{x:0,y:0};let Z=Q.length-1,Y=null,X=BY(Q);while(Z>=0){if(Y=Q[Z],X.timestamp-Y.timestamp>Q0(J))break;Z--}if(!Y)return{x:0,y:0};if(Y===Q[0]&&Q.length>2&&X.timestamp-Y.timestamp>Q0(J)*2)Y=Q[1];let $=X0(X.timestamp-Y.timestamp);if($===0)return{x:0,y:0};let q={x:(X.x-Y.x)/$,y:(X.y-Y.y)/$};if(q.x===1/0)q.x=0;if(q.y===1/0)q.y=0;return q}function wY(Q,{min:J,max:Z},Y){if(J!==void 0&&Q<J)Q=Y?y(J,Q,Y.min):Math.max(Q,J);else if(Z!==void 0&&Q>Z)Q=Y?y(Z,Q,Y.max):Math.min(Q,Z);return Q}function FY(Q,J,Z){return{min:J!==void 0?Q.min+J:void 0,max:Z!==void 0?Q.max+Z-(Q.max-Q.min):void 0}}function VY(Q,{top:J,left:Z,bottom:Y,right:X}){return{x:FY(Q.x,Z,X),y:FY(Q.y,J,Y)}}function OY(Q,J){let Z=J.min-Q.min,Y=J.max-Q.max;if(J.max-J.min<Q.max-Q.min)[Z,Y]=[Y,Z];return{min:Z,max:Y}}function NY(Q,J){return{x:OY(Q.x,J.x),y:OY(Q.y,J.y)}}function AY(Q,J){let Z=0.5,Y=J0(Q),X=J0(J);if(X>Y)Z=x0(J.min,J.max-Y,Q.min);else if(Y>X)Z=x0(Q.min,Q.max-X,J.min);return e(0,1,Z)}function _Y(Q,J){let Z={};if(J.min!==void 0)Z.min=J.min-Q.min;if(J.max!==void 0)Z.max=J.max-Q.min;return Z}var Q7=0.35;function TY(Q=Q7){if(Q===!1)Q=0;else if(Q===!0)Q=Q7;return{x:UY(Q,"left","right"),y:UY(Q,"top","bottom")}}function UY(Q,J,Z){return{min:DY(Q,J),max:DY(Q,Z)}}function DY(Q,J){return typeof Q==="number"?Q:Q[J]||0}var eG=new WeakMap;class s4{constructor(Q){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=l(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=Q}start(Q,{snapToCursor:J=!1,distanceThreshold:Z}={}){let{presenceContext:Y}=this.visualElement;if(Y&&Y.isPresent===!1)return;let X=(G)=>{if(J)this.snapToCursor(Q5(G).point);this.stopAnimation()},$=(G,K)=>{let{drag:B,dragPropagation:O,onDragStart:U}=this.getProps();if(B&&!O){if(this.openDragLock)this.openDragLock();if(this.openDragLock=H4(B),!this.openDragLock)return}if(this.latestPointerEvent=G,this.latestPanInfo=K,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection)this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0;if(V0((D)=>{let N=this.getAxisMotionValue(D).get()||0;if(z0.test(N)){let{projection:T}=this.visualElement;if(T&&T.layout){let A=T.layout.layoutBox[D];if(A)N=J0(A)*(parseFloat(N)/100)}}this.originPoint[D]=N}),U)R.update(()=>U(G,K),!1,!0);K1(this.visualElement,"transform");let{animationState:V}=this.visualElement;V&&V.setActive("whileDrag",!0)},q=(G,K)=>{this.latestPointerEvent=G,this.latestPanInfo=K;let{dragPropagation:B,dragDirectionLock:O,onDirectionLock:U,onDrag:V}=this.getProps();if(!B&&!this.openDragLock)return;let{offset:D}=K;if(O&&this.currentDirection===null){if(this.currentDirection=JK(D),this.currentDirection!==null)U&&U(this.currentDirection);return}if(this.updateAxis("x",K.point,D),this.updateAxis("y",K.point,D),this.visualElement.render(),V)R.update(()=>V(G,K),!1,!0)},H=(G,K)=>{this.latestPointerEvent=G,this.latestPanInfo=K,this.stop(G,K),this.latestPointerEvent=null,this.latestPanInfo=null},W=()=>{let{dragSnapToOrigin:G}=this.getProps();if(G||this.constraints)this.startAnimation({x:0,y:0})},{dragSnapToOrigin:z}=this.getProps();this.panSession=new T8(Q,{onSessionStart:X,onStart:$,onMove:q,onSessionEnd:H,resumeAnimation:W},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:z,distanceThreshold:Z,contextWindow:e6(this.visualElement),element:this.visualElement.current})}stop(Q,J){let Z=Q||this.latestPointerEvent,Y=J||this.latestPanInfo,X=this.isDragging;if(this.cancel(),!X||!Y||!Z)return;let{velocity:$}=Y;this.startAnimation($);let{onDragEnd:q}=this.getProps();if(q)R.postRender(()=>q(Z,Y))}cancel(){this.isDragging=!1;let{projection:Q,animationState:J}=this.visualElement;if(Q)Q.isAnimationBlocked=!1;this.endPanSession();let{dragPropagation:Z}=this.getProps();if(!Z&&this.openDragLock)this.openDragLock(),this.openDragLock=null;J&&J.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(Q,J,Z){let{drag:Y}=this.getProps();if(!Z||!J7(Q,Y,this.currentDirection))return;let X=this.getAxisMotionValue(Q),$=this.originPoint[Q]+Z[Q];if(this.constraints&&this.constraints[Q])$=wY($,this.constraints[Q],this.elastic[Q]);X.set($)}resolveConstraints(){let{dragConstraints:Q,dragElastic:J}=this.getProps(),Z=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,Y=this.constraints;if(Q&&V5(Q)){if(!this.constraints)this.constraints=this.resolveRefConstraints()}else if(Q&&Z)this.constraints=VY(Z.layoutBox,Q);else this.constraints=!1;if(this.elastic=TY(J),Y!==this.constraints&&!V5(Q)&&Z&&this.constraints&&!this.hasMutatedConstraints)V0((X)=>{if(this.constraints!==!1&&this.getAxisMotionValue(X))this.constraints[X]=_Y(Z.layoutBox[X],this.constraints[X])})}resolveRefConstraints(){let{dragConstraints:Q,onMeasureDragConstraints:J}=this.getProps();if(!Q||!V5(Q))return!1;let Z=Q.current;U0(Z!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:Y}=this.visualElement;if(!Y||!Y.layout)return!1;let X=I4(Z,Y.root,this.visualElement.getTransformPagePoint()),$=NY(Y.layout.layoutBox,X);if(J){let q=J(w4($));if(this.hasMutatedConstraints=!!q,q)$=F8(q)}return $}startAnimation(Q){let{drag:J,dragMomentum:Z,dragElastic:Y,dragTransition:X,dragSnapToOrigin:$,onDragTransitionEnd:q}=this.getProps(),H=this.constraints||{},W=V0((z)=>{if(!J7(z,J,this.currentDirection))return;let G=H&&H[z]||{};if($)G={min:0,max:0};let K=Y?200:1e6,B=Y?40:1e7,O={type:"inertia",velocity:Z?Q[z]:0,bounceStiffness:K,bounceDamping:B,timeConstant:750,restDelta:1,restSpeed:10,...X,...G};return this.startAxisValueAnimation(z,O)});return Promise.all(W).then(q)}startAxisValueAnimation(Q,J){let Z=this.getAxisMotionValue(Q);return K1(this.visualElement,Q),Z.start(x5(Q,Z,0,J,this.visualElement,!1))}stopAnimation(){V0((Q)=>this.getAxisMotionValue(Q).stop())}getAxisMotionValue(Q){let J=`_drag${Q.toUpperCase()}`,Z=this.visualElement.getProps(),Y=Z[J];return Y?Y:this.visualElement.getValue(Q,(Z.initial?Z.initial[Q]:void 0)||0)}snapToCursor(Q){V0((J)=>{let{drag:Z}=this.getProps();if(!J7(J,Z,this.currentDirection))return;let{projection:Y}=this.visualElement,X=this.getAxisMotionValue(J);if(Y&&Y.layout){let{min:$,max:q}=Y.layout.layoutBox[J],H=X.get()||0;X.set(Q[J]-y($,q,0.5)+H)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:Q,dragConstraints:J}=this.getProps(),{projection:Z}=this.visualElement;if(!V5(J)||!Z||!this.constraints)return;this.stopAnimation();let Y={x:0,y:0};V0(($)=>{let q=this.getAxisMotionValue($);if(q&&this.constraints!==!1){let H=q.get();Y[$]=AY({min:H,max:H},this.constraints[$])}});let{transformTemplate:X}=this.visualElement.getProps();this.visualElement.current.style.transform=X?X({},""):"none",Z.root&&Z.root.updateScroll(),Z.updateLayout(),this.constraints=!1,this.resolveConstraints(),V0(($)=>{if(!J7($,Q,null))return;let q=this.getAxisMotionValue($),{min:H,max:W}=this.constraints[$];q.set(y(H,W,Y[$]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;eG.set(this.visualElement,this);let Q=this.visualElement.current,J=N5(Q,"pointerdown",(W)=>{let{drag:z,dragListener:G=!0}=this.getProps(),K=W.target,B=K!==Q&&K4(K);if(z&&G&&!B)this.start(W)}),Z,Y=()=>{let{dragConstraints:W}=this.getProps();if(V5(W)&&W.current){if(this.constraints=this.resolveRefConstraints(),!Z)Z=QK(Q,W.current,()=>this.scalePositionWithinConstraints())}},{projection:X}=this.visualElement,$=X.addEventListener("measure",Y);if(X&&!X.layout)X.root&&X.root.updateScroll(),X.updateLayout();R.read(Y);let q=c0(window,"resize",()=>this.scalePositionWithinConstraints()),H=X.addEventListener("didUpdate",({delta:W,hasLayoutChanged:z})=>{if(this.isDragging&&z)V0((G)=>{let K=this.getAxisMotionValue(G);if(!K)return;this.originPoint[G]+=W[G].translate,K.set(K.get()+W[G].translate)}),this.visualElement.render()});return()=>{q(),J(),$(),H&&H(),Z&&Z()}}getProps(){let Q=this.visualElement.getProps(),{drag:J=!1,dragDirectionLock:Z=!1,dragPropagation:Y=!1,dragConstraints:X=!1,dragElastic:$=Q7,dragMomentum:q=!0}=Q;return{...Q,drag:J,dragDirectionLock:Z,dragPropagation:Y,dragConstraints:X,dragElastic:$,dragMomentum:q}}}function IY(Q){let J=!0;return()=>{if(J){J=!1;return}Q()}}function QK(Q,J,Z){let Y=b6(Q,IY(Z)),X=b6(J,IY(Z));return()=>{Y(),X()}}function J7(Q,J,Z){return(J===!0||J===Q)&&(Z===null||Z===Q)}function JK(Q,J=10){let Z=null;if(Math.abs(Q.y)>J)Z="y";else if(Math.abs(Q.x)>J)Z="x";return Z}class o4 extends H0{constructor(Q){super(Q);this.removeGroupControls=i,this.removeListeners=i,this.controls=new s4(Q)}mount(){let{dragControls:Q}=this.node.getProps();if(Q)this.removeGroupControls=Q.subscribe(this.controls);this.removeListeners=this.controls.addListeners()||i}update(){let{dragControls:Q}=this.node.getProps(),{dragControls:J}=this.node.prevProps||{};if(Q!==J){if(this.removeGroupControls(),Q)this.removeGroupControls=Q.subscribe(this.controls)}}unmount(){if(this.removeGroupControls(),this.removeListeners(),!this.controls.isDragging)this.controls.endPanSession()}}var n4=(Q)=>(J,Z)=>{if(Q)R.update(()=>Q(J,Z),!1,!0)};class a4 extends H0{constructor(){super(...arguments);this.removePointerDownListener=i}onPointerDown(Q){this.session=new T8(Q,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:e6(this.node)})}createPanHandlers(){let{onPanSessionStart:Q,onPanStart:J,onPan:Z,onPanEnd:Y}=this.node.getProps();return{onSessionStart:n4(Q),onStart:n4(J),onMove:n4(Z),onEnd:(X,$)=>{if(delete this.session,Y)R.postRender(()=>Y(X,$))}}}mount(){this.removePointerDownListener=N5(this.node.current,"pointerdown",(Q)=>this.onPointerDown(Q))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var LY=b(M0(),1);var I8=b(C(),1);var A5=b(C(),1);function Z7(Q=!0){let J=A5.useContext(w5);if(J===null)return[!0,null];let{isPresent:Z,onExitComplete:Y,register:X}=J,$=A5.useId();A5.useEffect(()=>{if(Q)return X($)},[Q]);let q=A5.useCallback(()=>Q&&Y&&Y($),[$,Y,Q]);return!Z&&Y?[!1,q]:[!0]}var t4=!1;class MY extends I8.Component{componentDidMount(){let{visualElement:Q,layoutGroup:J,switchLayoutGroup:Z,layoutId:Y}=this.props,{projection:X}=Q;if(X){if(J.group)J.group.add(X);if(Z&&Z.register&&Y)Z.register(X);if(t4)X.root.didUpdate();X.addEventListener("animationComplete",()=>{this.safeToRemove()}),X.setOptions({...X.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})}r5.hasEverUpdated=!0}getSnapshotBeforeUpdate(Q){let{layoutDependency:J,visualElement:Z,drag:Y,isPresent:X}=this.props,{projection:$}=Z;if(!$)return null;if($.isPresent=X,Q.layoutDependency!==J)$.setOptions({...$.options,layoutDependency:J});if(t4=!0,Y||Q.layoutDependency!==J||J===void 0||Q.isPresent!==X)$.willUpdate();else this.safeToRemove();if(Q.isPresent!==X){if(X)$.promote();else if(!$.relegate())R.postRender(()=>{let q=$.getStack();if(!q||!q.members.length)this.safeToRemove()})}return null}componentDidUpdate(){let{projection:Q}=this.props.visualElement;if(Q)Q.root.didUpdate(),v5.postRender(()=>{if(!Q.currentAnimation&&Q.isLead())this.safeToRemove()})}componentWillUnmount(){let{visualElement:Q,layoutGroup:J,switchLayoutGroup:Z}=this.props,{projection:Y}=Q;if(t4=!0,Y){if(Y.scheduleCheckAfterUnmount(),J&&J.group)J.group.remove(Y);if(Z&&Z.deregister)Z.deregister(Y)}}safeToRemove(){let{safeToRemove:Q}=this.props;Q&&Q()}render(){return null}}function Y7(Q){let[J,Z]=Z7(),Y=I8.useContext(e0);return LY.jsx(MY,{...Q,layoutGroup:Y,switchLayoutGroup:I8.useContext(o6),isPresent:J,safeToRemove:Z})}var EY={pan:{Feature:a4},drag:{Feature:o4,ProjectionNode:A8,MeasureLayout:Y7}};function PY(Q,J,Z){let{props:Y}=Q;if(Q.animationState&&Y.whileHover)Q.animationState.setActive("whileHover",Z==="Start");let X="onHover"+Z,$=Y[X];if($)R.postRender(()=>$(J,Q5(J)))}class e4 extends H0{mount(){let{current:Q}=this.node;if(!Q)return;this.unmount=W4(Q,(J,Z)=>{return PY(this.node,Z,"Start"),(Y)=>PY(this.node,Y,"End")})}unmount(){}}class Q9 extends H0{constructor(){super(...arguments);this.isActive=!1}onFocus(){let Q=!1;try{Q=this.node.current.matches(":focus-visible")}catch(J){Q=!0}if(!Q||!this.node.animationState)return;this.node.animationState.setActive("whileFocus",!0),this.isActive=!0}onBlur(){if(!this.isActive||!this.node.animationState)return;this.node.animationState.setActive("whileFocus",!1),this.isActive=!1}mount(){this.unmount=P0(c0(this.node.current,"focus",()=>this.onFocus()),c0(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function SY(Q,J,Z){let{props:Y}=Q;if(Q.current instanceof HTMLButtonElement&&Q.current.disabled)return;if(Q.animationState&&Y.whileTap)Q.animationState.setActive("whileTap",Z==="Start");let X="onTap"+(Z==="End"?"":Z),$=Y[X];if($)R.postRender(()=>$(J,Q5(J)))}class J9 extends H0{mount(){let{current:Q}=this.node;if(!Q)return;let{globalTapTarget:J,propagate:Z}=this.node.props;this.unmount=F4(Q,(Y,X)=>{return SY(this.node,X,"Start"),($,{success:q})=>SY(this.node,$,q?"End":"Cancel")},{useGlobalTarget:J,stopPropagation:Z?.tap===!1})}unmount(){}}var Y9=new WeakMap,Z9=new WeakMap,ZK=(Q)=>{let J=Y9.get(Q.target);J&&J(Q)},YK=(Q)=>{Q.forEach(ZK)};function XK({root:Q,...J}){let Z=Q||document;if(!Z9.has(Z))Z9.set(Z,{});let Y=Z9.get(Z),X=JSON.stringify(J);if(!Y[X])Y[X]=new IntersectionObserver(YK,{root:Q,...J});return Y[X]}function jY(Q,J,Z){let Y=XK(J);return Y9.set(Q,Z),Y.observe(Q),()=>{Y9.delete(Q),Y.unobserve(Q)}}var qK={some:0,all:1};class X9 extends H0{constructor(){super(...arguments);this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:Q={}}=this.node.getProps(),{root:J,margin:Z,amount:Y="some",once:X}=Q,$={root:J?J.current:void 0,rootMargin:Z,threshold:typeof Y==="number"?Y:qK[Y]},q=(H)=>{let{isIntersecting:W}=H;if(this.isInView===W)return;if(this.isInView=W,X&&!W&&this.hasEnteredView)return;else if(W)this.hasEnteredView=!0;if(this.node.animationState)this.node.animationState.setActive("whileInView",W);let{onViewportEnter:z,onViewportLeave:G}=this.node.getProps(),K=W?z:G;K&&K(H)};return jY(this.node.current,$,q)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:Q,prevProps:J}=this.node;if(["amount","margin","root"].some($K(Q,J)))this.startObserver()}unmount(){}}function $K({viewport:Q={}},{viewport:J={}}={}){return(Z)=>Q[Z]!==J[Z]}var kY={inView:{Feature:X9},tap:{Feature:J9},focus:{Feature:Q9},hover:{Feature:e4}};var bY={layout:{ProjectionNode:A8,MeasureLayout:Y7}};var hY={...$Y,...kY,...EY,...bY};var CY=qY(hY,bZ);var E8=b(M0(),1),k0=b(C(),1);var q9=b(M0(),1),uY=b(C(),1),L8=b(C(),1);var vY=b(M0(),1);var X7=b(C(),1),J5=b(C(),1);var xY=b(C(),1);function RY(Q,J){if(typeof Q==="function")return Q(J);else if(Q!==null&&Q!==void 0)Q.current=J}function HK(...Q){return(J)=>{let Z=!1,Y=Q.map((X)=>{let $=RY(X,J);if(!Z&&typeof $==="function")Z=!0;return $});if(Z)return()=>{for(let X=0;X<Y.length;X++){let $=Y[X];if(typeof $==="function")$();else RY(Q[X],null)}}}}function yY(...Q){return xY.useCallback(HK(...Q),Q)}class fY extends X7.Component{getSnapshotBeforeUpdate(Q){let J=this.props.childRef.current;if(J&&Q.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let Z=J.offsetParent,Y=O1(Z)?Z.offsetWidth||0:0,X=O1(Z)?Z.offsetHeight||0:0,$=this.props.sizeRef.current;$.height=J.offsetHeight||0,$.width=J.offsetWidth||0,$.top=J.offsetTop,$.left=J.offsetLeft,$.right=Y-$.width-$.left,$.bottom=X-$.height-$.top}return null}componentDidUpdate(){}render(){return this.props.children}}function gY({children:Q,isPresent:J,anchorX:Z,anchorY:Y,root:X,pop:$}){let q=J5.useId(),H=J5.useRef(null),W=J5.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:z}=J5.useContext(_1),G=Q.props?.ref??Q?.ref,K=yY(H,G);return J5.useInsertionEffect(()=>{let{width:B,height:O,top:U,left:V,right:D,bottom:N}=W.current;if(J||$===!1||!H.current||!B||!O)return;let T=Z==="left"?`left: ${V}`:`right: ${D}`,A=Y==="bottom"?`bottom: ${N}`:`top: ${U}`;H.current.dataset.motionPopId=q;let w=document.createElement("style");if(z)w.nonce=z;let I=X??document.head;if(I.appendChild(w),w.sheet)w.sheet.insertRule(`
2
- [data-motion-pop-id="${q}"] {
3
- position: absolute !important;
4
- width: ${B}px !important;
5
- height: ${O}px !important;
6
- ${T}px !important;
7
- ${A}px !important;
8
- }
9
- `);return()=>{if(I.contains(w))I.removeChild(w)}},[J]),vY.jsx(fY,{isPresent:J,childRef:H,sizeRef:W,pop:$,children:$===!1?Q:X7.cloneElement(Q,{ref:K})})}var dY=({children:Q,initial:J,isPresent:Z,onExitComplete:Y,custom:X,presenceAffectsLayout:$,mode:q,anchorX:H,anchorY:W,root:z})=>{let G=L1(WK),K=L8.useId(),B=!0,O=L8.useMemo(()=>{return B=!1,{id:K,initial:J,isPresent:Z,custom:X,onExitComplete:(U)=>{G.set(U,!0);for(let V of G.values())if(!V)return;Y&&Y()},register:(U)=>{return G.set(U,!1),()=>G.delete(U)}}},[Z,G,Y]);if($&&B)O={...O};return L8.useMemo(()=>{G.forEach((U,V)=>G.set(V,!1))},[Z]),uY.useEffect(()=>{!Z&&!G.size&&Y&&Y()},[Z]),Q=q9.jsx(gY,{pop:q==="popLayout",isPresent:Z,anchorX:H,anchorY:W,root:z,children:Q}),q9.jsx(w5.Provider,{value:O,children:Q})};function WK(){return new Map}var q7=b(C(),1),M8=(Q)=>Q.key||"";function $9(Q){let J=[];return q7.Children.forEach(Q,(Z)=>{if(q7.isValidElement(Z))J.push(Z)}),J}var zK=({children:Q,custom:J,initial:Z=!0,onExitComplete:Y,presenceAffectsLayout:X=!0,mode:$="sync",propagate:q=!1,anchorX:H="left",anchorY:W="top",root:z})=>{let[G,K]=Z7(q),B=k0.useMemo(()=>$9(Q),[Q]),O=q&&!G?[]:B.map(M8),U=k0.useRef(!0),V=k0.useRef(B),D=L1(()=>new Map),N=k0.useRef(new Set),[T,A]=k0.useState(B),[w,I]=k0.useState(B);M1(()=>{U.current=!1,V.current=B;for(let _=0;_<w.length;_++){let j=M8(w[_]);if(!O.includes(j)){if(D.get(j)!==!0)D.set(j,!1)}else D.delete(j),N.current.delete(j)}},[w,O.length,O.join("-")]);let L=[];if(B!==T){let _=[...B];for(let j=0;j<w.length;j++){let v=w[j],o=M8(v);if(!O.includes(o))_.splice(j,0,v),L.push(v)}if($==="wait"&&L.length)_=L;return I($9(_)),A(B),null}let{forceRender:k}=k0.useContext(e0);return E8.jsx(E8.Fragment,{children:w.map((_)=>{let j=M8(_),v=q&&!G?!1:B===w||O.includes(j),o=()=>{if(N.current.has(j))return;if(N.current.add(j),D.has(j))D.set(j,!0);else return;let u=!0;if(D.forEach((n)=>{if(!n)u=!1}),u)k?.(),I(V.current),q&&K?.(),Y&&Y()};return E8.jsx(dY,{isPresent:v,initial:!U.current||Z?void 0:!1,custom:J,presenceAffectsLayout:X,mode:$,root:z,onExitComplete:v?void 0:o,anchorX:H,anchorY:W,children:_},j)})})};var iY=b(M0(),1),o5=b(C(),1);var cY=b(C(),1),pY=cY.createContext(null);var P8=b(C(),1);var mY=b(C(),1);function lY(){let Q=mY.useRef(!1);return M1(()=>{return Q.current=!0,()=>{Q.current=!1}},[]),Q}function rY(){let Q=lY(),[J,Z]=P8.useState(0),Y=P8.useCallback(()=>{Q.current&&Z(J+1)},[J]);return[P8.useCallback(()=>R.postRender(Y),[Y]),J]}var sY=(Q)=>Q===!0,GK=(Q)=>sY(Q===!0)||Q==="id",KK=({children:Q,id:J,inherit:Z=!0})=>{let Y=o5.useContext(e0),X=o5.useContext(pY),[$,q]=rY(),H=o5.useRef(null),W=Y.id||X;if(H.current===null){if(GK(Z)&&W)J=J?W+"-"+J:W;H.current={id:J,group:sY(Z)?Y.group||c6():c6()}}let z=o5.useMemo(()=>({...H.current,forceRender:$}),[q]);return iY.jsx(e0.Provider,{value:z,children:Q})};var oY=b(C(),1);function BK(){!g5.current&&G8();let[Q]=oY.useState(O5.current);return Q}var Q2=["top","right","bottom","left"];var{min:p0,max:F0,round:j8,floor:k8}=Math,b0=(Q)=>({x:Q,y:Q}),FK={left:"right",right:"left",bottom:"top",top:"bottom"};function H7(Q,J,Z){return F0(Q,p0(J,Z))}function m0(Q,J){return typeof Q==="function"?Q(J):Q}function l0(Q){return Q.split("-")[0]}function n5(Q){return Q.split("-")[1]}function W7(Q){return Q==="x"?"y":"x"}function z7(Q){return Q==="y"?"height":"width"}function h0(Q){let J=Q[0];return J==="t"||J==="b"?"y":"x"}function G7(Q){return W7(h0(Q))}function J2(Q,J,Z){if(Z===void 0)Z=!1;let Y=n5(Q),X=G7(Q),$=z7(X),q=X==="x"?Y===(Z?"end":"start")?"right":"left":Y==="start"?"bottom":"top";if(J.reference[$]>J.floating[$])q=S8(q);return[q,S8(q)]}function Z2(Q){let J=S8(Q);return[$7(Q),J,$7(J)]}function $7(Q){return Q.includes("start")?Q.replace("start","end"):Q.replace("end","start")}var tY=["left","right"],eY=["right","left"],OK=["top","bottom"],UK=["bottom","top"];function DK(Q,J,Z){switch(Q){case"top":case"bottom":if(Z)return J?eY:tY;return J?tY:eY;case"left":case"right":return J?OK:UK;default:return[]}}function Y2(Q,J,Z,Y){let X=n5(Q),$=DK(l0(Q),Z==="start",Y);if(X){if($=$.map((q)=>q+"-"+X),J)$=$.concat($.map($7))}return $}function S8(Q){let J=l0(Q);return FK[J]+Q.slice(J.length)}function wK(Q){return{top:0,right:0,bottom:0,left:0,...Q}}function H9(Q){return typeof Q!=="number"?wK(Q):{top:Q,right:Q,bottom:Q,left:Q}}function a5(Q){let{x:J,y:Z,width:Y,height:X}=Q;return{width:Y,height:X,top:Z,left:J,right:J+Y,bottom:Z+X,x:J,y:Z}}function X2(Q,J,Z){let{reference:Y,floating:X}=Q,$=h0(J),q=G7(J),H=z7(q),W=l0(J),z=$==="y",G=Y.x+Y.width/2-X.width/2,K=Y.y+Y.height/2-X.height/2,B=Y[H]/2-X[H]/2,O;switch(W){case"top":O={x:G,y:Y.y-X.height};break;case"bottom":O={x:G,y:Y.y+Y.height};break;case"right":O={x:Y.x+Y.width,y:K};break;case"left":O={x:Y.x-X.width,y:K};break;default:O={x:Y.x,y:Y.y}}switch(n5(J)){case"start":O[q]-=B*(Z&&z?-1:1);break;case"end":O[q]+=B*(Z&&z?-1:1);break}return O}async function H2(Q,J){var Z;if(J===void 0)J={};let{x:Y,y:X,platform:$,rects:q,elements:H,strategy:W}=Q,{boundary:z="clippingAncestors",rootBoundary:G="viewport",elementContext:K="floating",altBoundary:B=!1,padding:O=0}=m0(J,Q),U=H9(O),D=H[B?K==="floating"?"reference":"floating":K],N=a5(await $.getClippingRect({element:((Z=await($.isElement==null?void 0:$.isElement(D)))!=null?Z:!0)?D:D.contextElement||await($.getDocumentElement==null?void 0:$.getDocumentElement(H.floating)),boundary:z,rootBoundary:G,strategy:W})),T=K==="floating"?{x:Y,y:X,width:q.floating.width,height:q.floating.height}:q.reference,A=await($.getOffsetParent==null?void 0:$.getOffsetParent(H.floating)),w=await($.isElement==null?void 0:$.isElement(A))?await($.getScale==null?void 0:$.getScale(A))||{x:1,y:1}:{x:1,y:1},I=a5($.convertOffsetParentRelativeRectToViewportRelativeRect?await $.convertOffsetParentRelativeRectToViewportRelativeRect({elements:H,rect:T,offsetParent:A,strategy:W}):T);return{top:(N.top-I.top+U.top)/w.y,bottom:(I.bottom-N.bottom+U.bottom)/w.y,left:(N.left-I.left+U.left)/w.x,right:(I.right-N.right+U.right)/w.x}}var VK=50,W2=async(Q,J,Z)=>{let{placement:Y="bottom",strategy:X="absolute",middleware:$=[],platform:q}=Z,H=q.detectOverflow?q:{...q,detectOverflow:H2},W=await(q.isRTL==null?void 0:q.isRTL(J)),z=await q.getElementRects({reference:Q,floating:J,strategy:X}),{x:G,y:K}=X2(z,Y,W),B=Y,O=0,U={};for(let V=0;V<$.length;V++){let D=$[V];if(!D)continue;let{name:N,fn:T}=D,{x:A,y:w,data:I,reset:L}=await T({x:G,y:K,initialPlacement:Y,placement:B,strategy:X,middlewareData:U,rects:z,platform:H,elements:{reference:Q,floating:J}});if(G=A!=null?A:G,K=w!=null?w:K,U[N]={...U[N],...I},L&&O<VK){if(O++,typeof L==="object"){if(L.placement)B=L.placement;if(L.rects)z=L.rects===!0?await q.getElementRects({reference:Q,floating:J,strategy:X}):L.rects;({x:G,y:K}=X2(z,B,W))}V=-1}}return{x:G,y:K,placement:B,strategy:X,middlewareData:U}},z2=(Q)=>({name:"arrow",options:Q,async fn(J){let{x:Z,y:Y,placement:X,rects:$,platform:q,elements:H,middlewareData:W}=J,{element:z,padding:G=0}=m0(Q,J)||{};if(z==null)return{};let K=H9(G),B={x:Z,y:Y},O=G7(X),U=z7(O),V=await q.getDimensions(z),D=O==="y",N=D?"top":"left",T=D?"bottom":"right",A=D?"clientHeight":"clientWidth",w=$.reference[U]+$.reference[O]-B[O]-$.floating[U],I=B[O]-$.reference[O],L=await(q.getOffsetParent==null?void 0:q.getOffsetParent(z)),k=L?L[A]:0;if(!k||!await(q.isElement==null?void 0:q.isElement(L)))k=H.floating[A]||$.floating[U];let _=w/2-I/2,j=k/2-V[U]/2-1,v=p0(K[N],j),o=p0(K[T],j),u=v,n=k-V[U]-o,c=k/2-V[U]/2+_,t=H7(u,c,n),f=!W.arrow&&n5(X)!=null&&c!==t&&$.reference[U]/2-(c<u?v:o)-V[U]/2<0,r=f?c<u?c-u:c-n:0;return{[O]:B[O]+r,data:{[O]:t,centerOffset:c-t-r,...f&&{alignmentOffset:r}},reset:f}}});var G2=function(Q){if(Q===void 0)Q={};return{name:"flip",options:Q,async fn(J){var Z,Y;let{placement:X,middlewareData:$,rects:q,initialPlacement:H,platform:W,elements:z}=J,{mainAxis:G=!0,crossAxis:K=!0,fallbackPlacements:B,fallbackStrategy:O="bestFit",fallbackAxisSideDirection:U="none",flipAlignment:V=!0,...D}=m0(Q,J);if((Z=$.arrow)!=null&&Z.alignmentOffset)return{};let N=l0(X),T=h0(H),A=l0(H)===H,w=await(W.isRTL==null?void 0:W.isRTL(z.floating)),I=B||(A||!V?[S8(H)]:Z2(H)),L=U!=="none";if(!B&&L)I.push(...Y2(H,V,U,w));let k=[H,...I],_=await W.detectOverflow(J,D),j=[],v=((Y=$.flip)==null?void 0:Y.overflows)||[];if(G)j.push(_[N]);if(K){let c=J2(X,q,w);j.push(_[c[0]],_[c[1]])}if(v=[...v,{placement:X,overflows:j}],!j.every((c)=>c<=0)){var o,u;let c=(((o=$.flip)==null?void 0:o.index)||0)+1,t=k[c];if(t){if(!(K==="alignment"?T!==h0(t):!1)||v.every((h)=>h0(h.placement)===T?h.overflows[0]>0:!0))return{data:{index:c,overflows:v},reset:{placement:t}}}let f=(u=v.filter((r)=>r.overflows[0]<=0).sort((r,h)=>r.overflows[1]-h.overflows[1])[0])==null?void 0:u.placement;if(!f)switch(O){case"bestFit":{var n;let r=(n=v.filter((h)=>{if(L){let g=h0(h.placement);return g===T||g==="y"}return!0}).map((h)=>[h.placement,h.overflows.filter((g)=>g>0).reduce((g,E)=>g+E,0)]).sort((h,g)=>h[1]-g[1])[0])==null?void 0:n[0];if(r)f=r;break}case"initialPlacement":f=H;break}if(X!==f)return{reset:{placement:f}}}return{}}}};function q2(Q,J){return{top:Q.top-J.height,right:Q.right-J.width,bottom:Q.bottom-J.height,left:Q.left-J.width}}function $2(Q){return Q2.some((J)=>Q[J]>=0)}var K2=function(Q){if(Q===void 0)Q={};return{name:"hide",options:Q,async fn(J){let{rects:Z,platform:Y}=J,{strategy:X="referenceHidden",...$}=m0(Q,J);switch(X){case"referenceHidden":{let q=await Y.detectOverflow(J,{...$,elementContext:"reference"}),H=q2(q,Z.reference);return{data:{referenceHiddenOffsets:H,referenceHidden:$2(H)}}}case"escaped":{let q=await Y.detectOverflow(J,{...$,altBoundary:!0}),H=q2(q,Z.floating);return{data:{escapedOffsets:H,escaped:$2(H)}}}default:return{}}}}};var B2=new Set(["left","top"]);async function NK(Q,J){let{placement:Z,platform:Y,elements:X}=Q,$=await(Y.isRTL==null?void 0:Y.isRTL(X.floating)),q=l0(Z),H=n5(Z),W=h0(Z)==="y",z=B2.has(q)?-1:1,G=$&&W?-1:1,K=m0(J,Q),{mainAxis:B,crossAxis:O,alignmentAxis:U}=typeof K==="number"?{mainAxis:K,crossAxis:0,alignmentAxis:null}:{mainAxis:K.mainAxis||0,crossAxis:K.crossAxis||0,alignmentAxis:K.alignmentAxis};if(H&&typeof U==="number")O=H==="end"?U*-1:U;return W?{x:O*G,y:B*z}:{x:B*z,y:O*G}}var F2=function(Q){if(Q===void 0)Q=0;return{name:"offset",options:Q,async fn(J){var Z,Y;let{x:X,y:$,placement:q,middlewareData:H}=J,W=await NK(J,Q);if(q===((Z=H.offset)==null?void 0:Z.placement)&&(Y=H.arrow)!=null&&Y.alignmentOffset)return{};return{x:X+W.x,y:$+W.y,data:{...W,placement:q}}}}},O2=function(Q){if(Q===void 0)Q={};return{name:"shift",options:Q,async fn(J){let{x:Z,y:Y,placement:X,platform:$}=J,{mainAxis:q=!0,crossAxis:H=!1,limiter:W={fn:(N)=>{let{x:T,y:A}=N;return{x:T,y:A}}},...z}=m0(Q,J),G={x:Z,y:Y},K=await $.detectOverflow(J,z),B=h0(l0(X)),O=W7(B),U=G[O],V=G[B];if(q){let N=O==="y"?"top":"left",T=O==="y"?"bottom":"right",A=U+K[N],w=U-K[T];U=H7(A,U,w)}if(H){let N=B==="y"?"top":"left",T=B==="y"?"bottom":"right",A=V+K[N],w=V-K[T];V=H7(A,V,w)}let D=W.fn({...J,[O]:U,[B]:V});return{...D,data:{x:D.x-Z,y:D.y-Y,enabled:{[O]:q,[B]:H}}}}}},U2=function(Q){if(Q===void 0)Q={};return{options:Q,fn(J){let{x:Z,y:Y,placement:X,rects:$,middlewareData:q}=J,{offset:H=0,mainAxis:W=!0,crossAxis:z=!0}=m0(Q,J),G={x:Z,y:Y},K=h0(X),B=W7(K),O=G[B],U=G[K],V=m0(H,J),D=typeof V==="number"?{mainAxis:V,crossAxis:0}:{mainAxis:0,crossAxis:0,...V};if(W){let A=B==="y"?"height":"width",w=$.reference[B]-$.floating[A]+D.mainAxis,I=$.reference[B]+$.reference[A]-D.mainAxis;if(O<w)O=w;else if(O>I)O=I}if(z){var N,T;let A=B==="y"?"width":"height",w=B2.has(l0(X)),I=$.reference[K]-$.floating[A]+(w?((N=q.offset)==null?void 0:N[K])||0:0)+(w?0:D.crossAxis),L=$.reference[K]+$.reference[A]+(w?0:((T=q.offset)==null?void 0:T[K])||0)-(w?D.crossAxis:0);if(U<I)U=I;else if(U>L)U=L}return{[B]:O,[K]:U}}}},D2=function(Q){if(Q===void 0)Q={};return{name:"size",options:Q,async fn(J){var Z,Y;let{placement:X,rects:$,platform:q,elements:H}=J,{apply:W=()=>{},...z}=m0(Q,J),G=await q.detectOverflow(J,z),K=l0(X),B=n5(X),O=h0(X)==="y",{width:U,height:V}=$.floating,D,N;if(K==="top"||K==="bottom")D=K,N=B===(await(q.isRTL==null?void 0:q.isRTL(H.floating))?"start":"end")?"left":"right";else N=K,D=B==="end"?"top":"bottom";let T=V-G.top-G.bottom,A=U-G.left-G.right,w=p0(V-G[D],T),I=p0(U-G[N],A),L=!J.middlewareData.shift,k=w,_=I;if((Z=J.middlewareData.shift)!=null&&Z.enabled.x)_=A;if((Y=J.middlewareData.shift)!=null&&Y.enabled.y)k=T;if(L&&!B){let v=F0(G.left,0),o=F0(G.right,0),u=F0(G.top,0),n=F0(G.bottom,0);if(O)_=U-2*(v!==0||o!==0?v+o:F0(G.left,G.right));else k=V-2*(u!==0||n!==0?u+n:F0(G.top,G.bottom))}await W({...J,availableWidth:_,availableHeight:k});let j=await q.getDimensions(H.floating);if(U!==j.width||V!==j.height)return{reset:{rects:!0}};return{}}}};function A2(Q){let J=_0(Q),Z=parseFloat(J.width)||0,Y=parseFloat(J.height)||0,X=A0(Q),$=X?Q.offsetWidth:Z,q=X?Q.offsetHeight:Y,H=j8(Z)!==$||j8(Y)!==q;if(H)Z=$,Y=q;return{width:Z,height:Y,$:H}}function z9(Q){return!N0(Q)?Q.contextElement:Q}function P1(Q){let J=z9(Q);if(!A0(J))return b0(1);let Z=J.getBoundingClientRect(),{width:Y,height:X,$}=A2(J),q=($?j8(Z.width):Z.width)/Y,H=($?j8(Z.height):Z.height)/X;if(!q||!Number.isFinite(q))q=1;if(!H||!Number.isFinite(H))H=1;return{x:q,y:H}}var AK=b0(0);function _2(Q){let J=O0(Q);if(!d8()||!J.visualViewport)return AK;return{x:J.visualViewport.offsetLeft,y:J.visualViewport.offsetTop}}function _K(Q,J,Z){if(J===void 0)J=!1;if(!Z||J&&Z!==O0(Q))return!1;return J}function t5(Q,J,Z,Y){if(J===void 0)J=!1;if(Z===void 0)Z=!1;let X=Q.getBoundingClientRect(),$=z9(Q),q=b0(1);if(J)if(Y){if(N0(Y))q=P1(Y)}else q=P1(Q);let H=_K($,Z,Y)?_2($):b0(0),W=(X.left+H.x)/q.x,z=(X.top+H.y)/q.y,G=X.width/q.x,K=X.height/q.y;if($){let B=O0($),O=Y&&N0(Y)?O0(Y):Y,U=B,V=c8(U);while(V&&Y&&O!==U){let D=P1(V),N=V.getBoundingClientRect(),T=_0(V),A=N.left+(V.clientLeft+parseFloat(T.paddingLeft))*D.x,w=N.top+(V.clientTop+parseFloat(T.paddingTop))*D.y;W*=D.x,z*=D.y,G*=D.x,K*=D.y,W+=A,z+=w,U=O0(V),V=c8(U)}}return a5({width:G,height:K,x:W,y:z})}function K7(Q,J){let Z=b1(Q).scrollLeft;if(!J)return t5(E0(Q)).left+Z;return J.left+Z}function T2(Q,J){let Z=Q.getBoundingClientRect(),Y=Z.left+J.scrollLeft-K7(Q,Z),X=Z.top+J.scrollTop;return{x:Y,y:X}}function TK(Q){let{elements:J,rect:Z,offsetParent:Y,strategy:X}=Q,$=X==="fixed",q=E0(Y),H=J?k1(J.floating):!1;if(Y===q||H&&$)return Z;let W={scrollLeft:0,scrollTop:0},z=b0(1),G=b0(0),K=A0(Y);if(K||!K&&!$){if(L5(Y)!=="body"||e5(q))W=b1(Y);if(K){let O=t5(Y);z=P1(Y),G.x=O.x+Y.clientLeft,G.y=O.y+Y.clientTop}}let B=q&&!K&&!$?T2(q,W):b0(0);return{width:Z.width*z.x,height:Z.height*z.y,x:Z.x*z.x-W.scrollLeft*z.x+G.x+B.x,y:Z.y*z.y-W.scrollTop*z.y+G.y+B.y}}function IK(Q){return Array.from(Q.getClientRects())}function LK(Q){let J=E0(Q),Z=b1(Q),Y=Q.ownerDocument.body,X=F0(J.scrollWidth,J.clientWidth,Y.scrollWidth,Y.clientWidth),$=F0(J.scrollHeight,J.clientHeight,Y.scrollHeight,Y.clientHeight),q=-Z.scrollLeft+K7(Q),H=-Z.scrollTop;if(_0(Y).direction==="rtl")q+=F0(J.clientWidth,Y.clientWidth)-X;return{width:X,height:$,x:q,y:H}}var w2=25;function MK(Q,J){let Z=O0(Q),Y=E0(Q),X=Z.visualViewport,$=Y.clientWidth,q=Y.clientHeight,H=0,W=0;if(X){$=X.width,q=X.height;let G=d8();if(!G||G&&J==="fixed")H=X.offsetLeft,W=X.offsetTop}let z=K7(Y);if(z<=0){let G=Y.ownerDocument,K=G.body,B=getComputedStyle(K),O=G.compatMode==="CSS1Compat"?parseFloat(B.marginLeft)+parseFloat(B.marginRight)||0:0,U=Math.abs(Y.clientWidth-K.clientWidth-O);if(U<=w2)$-=U}else if(z<=w2)$+=z;return{width:$,height:q,x:H,y:W}}function EK(Q,J){let Z=t5(Q,!0,J==="fixed"),Y=Z.top+Q.clientTop,X=Z.left+Q.clientLeft,$=A0(Q)?P1(Q):b0(1),q=Q.clientWidth*$.x,H=Q.clientHeight*$.y,W=X*$.x,z=Y*$.y;return{width:q,height:H,x:W,y:z}}function V2(Q,J,Z){let Y;if(J==="viewport")Y=MK(Q,Z);else if(J==="document")Y=LK(E0(Q));else if(N0(J))Y=EK(J,Z);else{let X=_2(Q);Y={x:J.x-X.x,y:J.y-X.y,width:J.width,height:J.height}}return a5(Y)}function I2(Q,J){let Z=s0(Q);if(Z===J||!N0(Z)||M5(Z))return!1;return _0(Z).position==="fixed"||I2(Z,J)}function PK(Q,J){let Z=J.get(Q);if(Z)return Z;let Y=X5(Q,[],!1).filter((H)=>N0(H)&&L5(H)!=="body"),X=null,$=_0(Q).position==="fixed",q=$?s0(Q):Q;while(N0(q)&&!M5(q)){let H=_0(q),W=u8(q);if(!W&&H.position==="fixed")X=null;if($?!W&&!X:!W&&H.position==="static"&&!!X&&(X.position==="absolute"||X.position==="fixed")||e5(q)&&!W&&I2(Q,q))Y=Y.filter((G)=>G!==q);else X=H;q=s0(q)}return J.set(Q,Y),Y}function SK(Q){let{element:J,boundary:Z,rootBoundary:Y,strategy:X}=Q,q=[...Z==="clippingAncestors"?k1(J)?[]:PK(J,this._c):[].concat(Z),Y],H=V2(J,q[0],X),W=H.top,z=H.right,G=H.bottom,K=H.left;for(let B=1;B<q.length;B++){let O=V2(J,q[B],X);W=F0(O.top,W),z=p0(O.right,z),G=p0(O.bottom,G),K=F0(O.left,K)}return{width:z-K,height:G-W,x:K,y:W}}function jK(Q){let{width:J,height:Z}=A2(Q);return{width:J,height:Z}}function kK(Q,J,Z){let Y=A0(J),X=E0(J),$=Z==="fixed",q=t5(Q,!0,$,J),H={scrollLeft:0,scrollTop:0},W=b0(0);function z(){W.x=K7(X)}if(Y||!Y&&!$){if(L5(J)!=="body"||e5(X))H=b1(J);if(Y){let O=t5(J,!0,$,J);W.x=O.x+J.clientLeft,W.y=O.y+J.clientTop}else if(X)z()}if($&&!Y&&X)z();let G=X&&!Y&&!$?T2(X,H):b0(0),K=q.left+H.scrollLeft-W.x-G.x,B=q.top+H.scrollTop-W.y-G.y;return{x:K,y:B,width:q.width,height:q.height}}function W9(Q){return _0(Q).position==="static"}function N2(Q,J){if(!A0(Q)||_0(Q).position==="fixed")return null;if(J)return J(Q);let Z=Q.offsetParent;if(E0(Q)===Z)Z=Z.ownerDocument.body;return Z}function L2(Q,J){let Z=O0(Q);if(k1(Q))return Z;if(!A0(Q)){let X=s0(Q);while(X&&!M5(X)){if(N0(X)&&!W9(X))return X;X=s0(X)}return Z}let Y=N2(Q,J);while(Y&&m9(Y)&&W9(Y))Y=N2(Y,J);if(Y&&M5(Y)&&W9(Y)&&!u8(Y))return Z;return Y||l9(Q)||Z}var bK=async function(Q){let J=this.getOffsetParent||L2,Z=this.getDimensions,Y=await Z(Q.floating);return{reference:kK(Q.reference,await J(Q.floating),Q.strategy),floating:{x:0,y:0,width:Y.width,height:Y.height}}};function hK(Q){return _0(Q).direction==="rtl"}var M2={convertOffsetParentRelativeRectToViewportRelativeRect:TK,getDocumentElement:E0,getClippingRect:SK,getOffsetParent:L2,getElementRects:bK,getClientRects:IK,getDimensions:jK,getScale:P1,isElement:N0,isRTL:hK};function E2(Q,J){return Q.x===J.x&&Q.y===J.y&&Q.width===J.width&&Q.height===J.height}function CK(Q,J){let Z=null,Y,X=E0(Q);function $(){var H;clearTimeout(Y),(H=Z)==null||H.disconnect(),Z=null}function q(H,W){if(H===void 0)H=!1;if(W===void 0)W=1;$();let z=Q.getBoundingClientRect(),{left:G,top:K,width:B,height:O}=z;if(!H)J();if(!B||!O)return;let U=k8(K),V=k8(X.clientWidth-(G+B)),D=k8(X.clientHeight-(K+O)),N=k8(G),A={rootMargin:-U+"px "+-V+"px "+-D+"px "+-N+"px",threshold:F0(0,p0(1,W))||1},w=!0;function I(L){let k=L[0].intersectionRatio;if(k!==W){if(!w)return q();if(!k)Y=setTimeout(()=>{q(!1,0.0000001)},1000);else q(!1,k)}if(k===1&&!E2(z,Q.getBoundingClientRect()))q();w=!1}try{Z=new IntersectionObserver(I,{...A,root:X.ownerDocument})}catch(L){Z=new IntersectionObserver(I,A)}Z.observe(Q)}return q(!0),$}function RK(Q,J,Z,Y){if(Y===void 0)Y={};let{ancestorScroll:X=!0,ancestorResize:$=!0,elementResize:q=typeof ResizeObserver==="function",layoutShift:H=typeof IntersectionObserver==="function",animationFrame:W=!1}=Y,z=z9(Q),G=X||$?[...z?X5(z):[],...J?X5(J):[]]:[];G.forEach((N)=>{X&&N.addEventListener("scroll",Z,{passive:!0}),$&&N.addEventListener("resize",Z)});let K=z&&H?CK(z,Z):null,B=-1,O=null;if(q){if(O=new ResizeObserver((N)=>{let[T]=N;if(T&&T.target===z&&O&&J)O.unobserve(J),cancelAnimationFrame(B),B=requestAnimationFrame(()=>{var A;(A=O)==null||A.observe(J)});Z()}),z&&!W)O.observe(z);if(J)O.observe(J)}let U,V=W?t5(Q):null;if(W)D();function D(){let N=t5(Q);if(V&&!E2(V,N))Z();V=N,U=requestAnimationFrame(D)}return Z(),()=>{var N;if(G.forEach((T)=>{X&&T.removeEventListener("scroll",Z),$&&T.removeEventListener("resize",Z)}),K==null||K(),(N=O)==null||N.disconnect(),O=null,W)cancelAnimationFrame(U)}}var P2=F2;var S2=O2,j2=G2,k2=D2,b2=K2,G9=z2;var h2=U2,K9=(Q,J,Z)=>{let Y=new Map,X={platform:M2,...Z},$={...X.platform,_c:Y};return W2(Q,J,{...X,platform:$})};var Z0=b(C(),1),R2=b(C(),1),x2=b(aY(),1),xK=typeof document<"u",yK=function(){},B7=xK?R2.useLayoutEffect:yK;function F7(Q,J){if(Q===J)return!0;if(typeof Q!==typeof J)return!1;if(typeof Q==="function"&&Q.toString()===J.toString())return!0;let Z,Y,X;if(Q&&J&&typeof Q==="object"){if(Array.isArray(Q)){if(Z=Q.length,Z!==J.length)return!1;for(Y=Z;Y--!==0;)if(!F7(Q[Y],J[Y]))return!1;return!0}if(X=Object.keys(Q),Z=X.length,Z!==Object.keys(J).length)return!1;for(Y=Z;Y--!==0;)if(!{}.hasOwnProperty.call(J,X[Y]))return!1;for(Y=Z;Y--!==0;){let $=X[Y];if($==="_owner"&&Q.$$typeof)continue;if(!F7(Q[$],J[$]))return!1}return!0}return Q!==Q&&J!==J}function y2(Q){if(typeof window>"u")return 1;return(Q.ownerDocument.defaultView||window).devicePixelRatio||1}function C2(Q,J){let Z=y2(Q);return Math.round(J*Z)/Z}function B9(Q){let J=Z0.useRef(Q);return B7(()=>{J.current=Q}),J}function a38(Q){if(Q===void 0)Q={};let{placement:J="bottom",strategy:Z="absolute",middleware:Y=[],platform:X,elements:{reference:$,floating:q}={},transform:H=!0,whileElementsMounted:W,open:z}=Q,[G,K]=Z0.useState({x:0,y:0,strategy:Z,placement:J,middlewareData:{},isPositioned:!1}),[B,O]=Z0.useState(Y);if(!F7(B,Y))O(Y);let[U,V]=Z0.useState(null),[D,N]=Z0.useState(null),T=Z0.useCallback((h)=>{if(h!==L.current)L.current=h,V(h)},[]),A=Z0.useCallback((h)=>{if(h!==k.current)k.current=h,N(h)},[]),w=$||U,I=q||D,L=Z0.useRef(null),k=Z0.useRef(null),_=Z0.useRef(G),j=W!=null,v=B9(W),o=B9(X),u=B9(z),n=Z0.useCallback(()=>{if(!L.current||!k.current)return;let h={placement:J,strategy:Z,middleware:B};if(o.current)h.platform=o.current;K9(L.current,k.current,h).then((g)=>{let E={...g,isPositioned:u.current!==!1};if(c.current&&!F7(_.current,E))_.current=E,x2.flushSync(()=>{K(E)})})},[B,J,Z,o,u]);B7(()=>{if(z===!1&&_.current.isPositioned)_.current.isPositioned=!1,K((h)=>({...h,isPositioned:!1}))},[z]);let c=Z0.useRef(!1);B7(()=>{return c.current=!0,()=>{c.current=!1}},[]),B7(()=>{if(w)L.current=w;if(I)k.current=I;if(w&&I){if(v.current)return v.current(w,I,n);n()}},[w,I,n,v,j]);let t=Z0.useMemo(()=>({reference:L,floating:k,setReference:T,setFloating:A}),[T,A]),f=Z0.useMemo(()=>({reference:w,floating:I}),[w,I]),r=Z0.useMemo(()=>{let h={position:Z,left:0,top:0};if(!f.floating)return h;let g=C2(f.floating,G.x),E=C2(f.floating,G.y);if(H)return{...h,transform:"translate("+g+"px, "+E+"px)",...y2(f.floating)>=1.5&&{willChange:"transform"}};return{position:Z,left:g,top:E}},[Z,H,f.floating,G.x,G.y]);return Z0.useMemo(()=>({...G,update:n,refs:t,elements:f,floatingStyles:r}),[G,n,t,f,r])}var vK=(Q)=>{function J(Z){return{}.hasOwnProperty.call(Z,"current")}return{name:"arrow",options:Q,fn(Z){let{element:Y,padding:X}=typeof Q==="function"?Q(Z):Q;if(Y&&J(Y)){if(Y.current!=null)return G9({element:Y.current,padding:X}).fn(Z);return{}}if(Y)return G9({element:Y,padding:X}).fn(Z);return{}}}},t38=(Q,J)=>{let Z=P2(Q);return{name:Z.name,fn:Z.fn,options:[Q,J]}},e38=(Q,J)=>{let Z=S2(Q);return{name:Z.name,fn:Z.fn,options:[Q,J]}},Qq8=(Q,J)=>{return{fn:h2(Q).fn,options:[Q,J]}},Jq8=(Q,J)=>{let Z=j2(Q);return{name:Z.name,fn:Z.fn,options:[Q,J]}},Zq8=(Q,J)=>{let Z=k2(Q);return{name:Z.name,fn:Z.fn,options:[Q,J]}};var Yq8=(Q,J)=>{let Z=b2(Q);return{name:Z.name,fn:Z.fn,options:[Q,J]}};var Xq8=(Q,J)=>{let Z=vK(Q);return{name:Z.name,fn:Z.fn,options:[Q,J]}};
10
- export{M0 as b,aY as c,v2 as d,h1 as e,y1 as f,HQ as g,L7 as h,n9 as i,PB as j,pX as k,q5 as l,L5 as m,O0 as n,p9 as o,N0 as p,A0 as q,c9 as r,e5 as s,d8 as t,M5 as u,_0 as v,s0 as w,X5 as x,j8 as y,k8 as z,H7 as A,m0 as B,l0 as C,n5 as D,z7 as E,h0 as F,G7 as G,H9 as H,P7 as I,p8 as J,jB as K,kB as L,bB as M,hB as N,CB as O,RB as P,xB as Q,BQ as R,ZB as S,e9 as T,ZQ as U,RK as V,a38 as W,t38 as X,e38 as Y,Qq8 as Z,Jq8 as _,Zq8 as $,Yq8 as aa,Xq8 as ba,iK as ca,d9 as da,DQ as ea,sX as fa,XF as ga,NQ as ha,C3 as ia,nX as ja,tX as ka,x3 as la,v3 as ma,g3 as na,d3 as oa,Q3 as pa,p3 as qa,l3 as ra,i3 as sa,o3 as ta,a3 as ua,e3 as va,Jq as wa,Yq as xa,qq as ya,Hq as za,zq as Aa,Kq as Ba,Fq as Ca,Uq as Da,wq as Ea,Nq as Fa,_q as Ga,Iq as Ha,Mq as Ia,Pq as Ja,Z3 as Ka,jq as La,bq as Ma,Cq as Na,xq as Oa,vq as Pa,gq as Qa,dq as Ra,pq as Sa,lq as Ta,iq as Ua,oq as Va,aq as Wa,X3 as Xa,eq as Ya,J$ as Za,Y$ as _a,q$ as $a,H$ as ab,z$ as bb,K$ as cb,F$ as db,U$ as eb,w$ as fb,N$ as gb,$3 as hb,_$ as ib,I$ as jb,W3 as kb,M$ as lb,G3 as mb,P$ as nb,j$ as ob,b$ as pb,C$ as qb,x$ as rb,B3 as sb,v$ as tb,O3 as ub,g$ as vb,d$ as wb,p$ as xb,l$ as yb,i$ as zb,o$ as Ab,a$ as Bb,e$ as Cb,JH as Db,YH as Eb,qH as Fb,HH as Gb,zH as Hb,D3 as Ib,KH as Jb,FH as Kb,UH as Lb,wH as Mb,NH as Nb,_H as Ob,IH as Pb,MH as Qb,PH as Rb,V3 as Sb,jH as Tb,bH as Ub,CH as Vb,xH as Wb,vH as Xb,gH as Yb,A3 as Zb,dH as _b,pH as $b,lH as ac,T3 as bc,iH as cc,L3 as dc,oH as ec,aH as fc,eH as gc,JW as hc,YW as ic,qW as jc,HW as kc,E3 as lc,zW as mc,KW as nc,FW as oc,S3 as pc,UW as qc,wW as rc,k3 as sc,NW as tc,_W as uc,IW as vc,MW as wc,PW as xc,_Q as yc,jW as zc,Vt1 as Ac,uK as Bc,dK as Cc,pK as Dc,mK as Ec,kW as Fc,At1 as Gc,zK as Hc,KK as Ic,CY as Jc,BK as Kc};