moi-computer 0.3.0-next.2 → 0.3.0-next.3

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 (125) hide show
  1. package/README.md +1 -1
  2. package/client/AGENTS.md +2 -2
  3. package/client/api/http.ts +1 -1
  4. package/client/api/workspace-keys.ts +1 -0
  5. package/client/app/AppRouter.tsx +14 -5
  6. package/client/app/routes/HomeRoute.tsx +1 -1
  7. package/client/app/routes/WorkspaceRoute.tsx +8 -2
  8. package/client/app/shell/SidebarLayout.tsx +10 -5
  9. package/client/assets/openai.svg +3 -0
  10. package/client/components/shared/BottomPanel.tsx +2 -2
  11. package/client/components/ui/button.tsx +3 -2
  12. package/client/components/ui/input.tsx +1 -1
  13. package/client/features/applets/AppletMount.tsx +44 -0
  14. package/client/features/applets/WidgetShell.tsx +4 -1
  15. package/client/features/applets/applet-cache.ts +8 -0
  16. package/client/features/applets/applet-styles.ts +61 -0
  17. package/client/features/chat/ChatComposer.tsx +2 -2
  18. package/client/features/chat/ChatPanel.tsx +8 -25
  19. package/client/features/chat/ChatPopup.tsx +3 -3
  20. package/client/features/chat/{ThreadSelector.tsx → ChatSelector.tsx} +4 -4
  21. package/client/features/chat/TurnView.tsx +8 -9
  22. package/client/features/chat/api.ts +1 -1
  23. package/client/features/chat/chat-send.ts +57 -0
  24. package/client/features/chat/tool-group/ToolCallGroup.tsx +2 -1
  25. package/client/features/chat/tool-group/format.ts +117 -0
  26. package/client/features/chat/useChat.ts +10 -34
  27. package/client/features/connectors/McpMenu.tsx +4 -21
  28. package/client/features/dev/DevRoutes.tsx +18 -0
  29. package/client/features/dev/HarnessDebugPage.tsx +468 -0
  30. package/client/{components/playground → features/dev}/PlaygroundPage.tsx +1 -1
  31. package/client/features/home/CreateWorkspaceDialog.tsx +64 -158
  32. package/client/features/home/CreateWorkspaceDialogSteps.tsx +234 -0
  33. package/client/features/home/HomeLogo.tsx +344 -0
  34. package/client/features/home/HomePage.tsx +15 -21
  35. package/client/features/home/WorkspacePreview.tsx +2 -2
  36. package/client/features/home/api.ts +11 -3
  37. package/client/features/home/workspace-presentation.tsx +4 -4
  38. package/client/features/settings/GeneralSettings.tsx +3 -3
  39. package/client/features/settings/IconPicker.tsx +4 -3
  40. package/client/features/settings/icon-picker-options.ts +0 -131
  41. package/client/features/views/ViewBuilderTab.tsx +153 -0
  42. package/client/features/views/api.ts +124 -0
  43. package/client/features/views/useViewBuilderActions.ts +72 -0
  44. package/client/features/widgets/WidgetGrid.tsx +36 -20
  45. package/client/features/widgets/Widgets.tsx +140 -90
  46. package/client/features/workspace/WorkspaceLayoutContext.tsx +3 -9
  47. package/client/features/workspace/WorkspaceScreen.tsx +179 -40
  48. package/client/features/workspace/WorkspaceTabs.tsx +4 -4
  49. package/client/index.css +0 -35
  50. package/client/index.html +1 -1
  51. package/client/lib/app-icon-registry.ts +145 -0
  52. package/client/runtime/useWorkspaceEvents.ts +3 -1
  53. package/client/theme.css +1 -1
  54. package/dist/chunk-4vf1t6v1.js +10 -0
  55. package/dist/chunk-6c24yndg.js +61 -0
  56. package/dist/chunk-6c8cwpzc.js +1 -0
  57. package/dist/chunk-b4b276wx.js +15 -0
  58. package/dist/{chunk-c4j722at.js → chunk-cs8vbert.js} +2 -2
  59. package/dist/chunk-cwqmay73.css +1 -0
  60. package/dist/chunk-kxmvv1ax.js +48 -0
  61. package/dist/chunk-rq0ar7vp.js +1 -0
  62. package/dist/{chunk-p68fnz3q.js → chunk-vkvb3hjm.js} +1 -1
  63. package/dist/chunk-zpxrb1ce.js +2 -0
  64. package/dist/index.html +2 -2
  65. package/dist/openai-h13pza4b.svg +3 -0
  66. package/lib/format.ts +2 -2
  67. package/lib/types.ts +38 -2
  68. package/lib/view-builder-meta.ts +35 -0
  69. package/lib/workspace-layout.ts +14 -0
  70. package/package.json +2 -1
  71. package/server/AGENTS.md +3 -3
  72. package/server/api.ts +165 -51
  73. package/server/applets.ts +1 -1
  74. package/server/bundle-queue.ts +19 -0
  75. package/server/bundler/applet-css.ts +50 -0
  76. package/server/{build-applet.ts → bundler/build-applet.ts} +36 -26
  77. package/server/cli.ts +79 -2
  78. package/server/control.ts +106 -8
  79. package/server/env-apply.ts +2 -2
  80. package/server/harness/README.md +228 -0
  81. package/server/harness/claude-code/NOTES.md +578 -0
  82. package/{lib/claude-adapter.ts → server/harness/claude-code/adapter.ts} +67 -5
  83. package/server/harness/claude-code/index.ts +124 -0
  84. package/server/{mcp.ts → harness/claude-code/mcp.ts} +1 -1
  85. package/server/{cc-session.ts → harness/claude-code/session.ts} +42 -14
  86. package/server/harness/claude-code/sessions.ts +42 -0
  87. package/server/harness/codex/NOTES.md +239 -0
  88. package/server/harness/codex/adapter.ts +414 -0
  89. package/server/harness/codex/client.ts +343 -0
  90. package/server/harness/codex/index.ts +68 -0
  91. package/server/harness/codex/probe.ts +186 -0
  92. package/server/harness/codex/session.ts +617 -0
  93. package/server/harness/debug.ts +57 -0
  94. package/server/harness/openclaw/NOTES.md +316 -0
  95. package/server/{openclaw-adapter.ts → harness/openclaw/adapter.ts} +2 -2
  96. package/server/harness/openclaw/index.ts +93 -0
  97. package/server/{openclaw-session.ts → harness/openclaw/session.ts} +44 -9
  98. package/server/{openclaw-strip.ts → harness/openclaw/strip.ts} +3 -1
  99. package/server/harness/registry.ts +36 -0
  100. package/server/harness/types.ts +87 -0
  101. package/server/layout.ts +6 -12
  102. package/server/moi-scaffold.ts +1 -1
  103. package/server/registry.ts +14 -52
  104. package/server/state.ts +5 -38
  105. package/server/status.ts +7 -46
  106. package/server/vendor.ts +1 -1
  107. package/server/view-builders.ts +428 -0
  108. package/server/views.ts +0 -0
  109. package/server/web.ts +18 -40
  110. package/server/workspace-init.ts +6 -6
  111. package/workspace/.claude/skills/moi-workspace/DESIGN.md +1 -0
  112. package/workspace/.claude/skills/moi-workspace/SKILL.md +28 -7
  113. package/client/assets/hermes-nous.png +0 -0
  114. package/client/hooks/useScrollFade.ts +0 -38
  115. package/dist/chunk-23cgr1tz.css +0 -1
  116. package/dist/chunk-3hy3qy6d.js +0 -10
  117. package/dist/chunk-dyfaffyz.js +0 -119
  118. package/dist/chunk-kpe40hm8.js +0 -1
  119. package/dist/chunk-ty6dvda0.js +0 -1
  120. package/dist/hermes-nous-pznd63x9.png +0 -0
  121. /package/client/{components/playground → features/dev}/PixelPainter.tsx +0 -0
  122. /package/client/{components/playground → features/dev}/ToolCallsPage.tsx +0 -0
  123. /package/server/{agent.ts → harness/claude-code/models.ts} +0 -0
  124. /package/server/{openclaw.ts → harness/openclaw/discovery.ts} +0 -0
  125. /package/server/{openclaw-gateway.ts → harness/openclaw/gateway.ts} +0 -0
@@ -1,10 +0,0 @@
1
- import{Qb as R,Rb as P6,Tb as jW}from"/chunk-p68fnz3q.js";var x=P6((Sz,a9)=>{a9.exports=globalThis.__esm.react});var l0=P6((kz,t9)=>{t9.exports=globalThis.__esm["react/jsx-runtime"]});var rY=P6((jz,e9)=>{e9.exports=globalThis.__esm["react-dom/client"]});var JY=P6((cZ6,QY)=>{QY.exports=globalThis.__esm["react-dom"]});var H8=new Map;function bz(Q,J){if(J)H8.set(Q,J);else H8.delete(Q)}function Rz(Q){return H8.get(Q)}var E6=R(x(),1),JQ=R(l0(),1),QQ=E6.createContext("default");function hz(){return E6.useContext(QQ)}function xz({id:Q,children:J}){return JQ.jsx(QQ,{value:Q,children:J})}var k6=R(x(),1);function ZQ(Q){return`${location.protocol==="https:"?"wss":"ws"}://${location.host}${Q}`}var L5=new Set,o1=null,S6=!1;function YQ(){if(o1||S6)return;S6=!0;let Q=new WebSocket(ZQ("/api/workspaces/ws"));Q.onopen=()=>{o1=Q,S6=!1},Q.onmessage=(J)=>{try{let Z=JSON.parse(J.data);for(let Y of L5)Y(Z)}catch{}},Q.onclose=()=>{if(o1=null,S6=!1,L5.size>0)setTimeout(YQ,2000)},Q.onerror=()=>{Q.close()}}function gz(Q){let J=k6.useRef(Q);J.current=Q,k6.useEffect(()=>{let Z=(Y)=>J.current(Y);return L5.add(Z),YQ(),()=>{if(L5.delete(Z),L5.size===0&&o1)o1.close(),o1=null}},[])}function XQ(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=XQ(Q[J]))&&(Y&&(Y+=" "),Y+=Z)}else for(Z in Q)Q[Z]&&(Y&&(Y+=" "),Y+=Z);return Y}function W8(){for(var Q,J,Z=0,Y="",X=arguments.length;Z<X;Z++)(Q=arguments[Z])&&(J=XQ(Q))&&(Y&&(Y+=" "),Y+=J);return Y}var cz=W8;var iY=(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},sY=(Q,J)=>({classGroupId:Q,validator:J}),GQ=(Q=new Map,J=null,Z)=>({nextPart:Q,validators:J,classGroupId:Z});var qQ=[];var oY=(Q)=>{let J=aY(Q),{conflictingClassGroups:Z,conflictingClassGroupModifiers:Y}=Q;return{getClassGroupId:(q)=>{if(q.startsWith("[")&&q.endsWith("]"))return nY(q);let H=q.split("-"),W=H[0]===""&&H.length>1?1:0;return KQ(H,W,J)},getConflictingClassGroupIds:(q,H)=>{if(H){let W=Y[q],G=Z[q];if(W){if(G)return iY(G,W);return W}return G||qQ}return Z[q]||qQ}}},KQ=(Q,J,Z)=>{if(Q.length-J===0)return Z.classGroupId;let X=Q[J],$=Z.nextPart.get(X);if($){let G=KQ(Q,J+1,$);if(G)return G}let q=Z.validators;if(q===null)return;let H=J===0?Q.join("-"):Q.slice(J).join("-"),W=q.length;for(let G=0;G<W;G++){let z=q[G];if(z.validator(H))return z.classGroupId}return},nY=(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})(),aY=(Q)=>{let{theme:J,classGroups:Z}=Q;return tY(Z,J)},tY=(Q,J)=>{let Z=GQ();for(let Y in Q){let X=Q[Y];G8(X,Z,Y,J)}return Z},G8=(Q,J,Z,Y)=>{let X=Q.length;for(let $=0;$<X;$++){let q=Q[$];eY(q,J,Z,Y)}},eY=(Q,J,Z,Y)=>{if(typeof Q==="string"){Q3(Q,J,Z);return}if(typeof Q==="function"){J3(Q,J,Z,Y);return}Z3(Q,J,Z,Y)},Q3=(Q,J,Z)=>{let Y=Q===""?J:BQ(J,Q);Y.classGroupId=Z},J3=(Q,J,Z,Y)=>{if(Y3(Q)){G8(Q(Y),J,Z,Y);return}if(J.validators===null)J.validators=[];J.validators.push(sY(Z,Q))},Z3=(Q,J,Z,Y)=>{let X=Object.entries(Q),$=X.length;for(let q=0;q<$;q++){let[H,W]=X[q];G8(W,BQ(J,H),Z,Y)}},BQ=(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=GQ(),Z.nextPart.set(q,H);Z=H}return Z},Y3=(Q)=>("isThemeGetter"in Q)&&Q.isThemeGetter===!0,X3=(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 q3=[],$Q=(Q,J,Z,Y,X)=>({modifiers:Q,hasImportantModifier:J,baseClassName:Z,maybePostfixModifierPosition:Y,isExternal:X}),$3=(Q)=>{let{prefix:J,experimentalParseClassName:Z}=Q,Y=(X)=>{let $=[],q=0,H=0,W=0,G,z=X.length;for(let D=0;D<z;D++){let _=X[D];if(q===0&&H===0){if(_===":"){$.push(X.slice(W,D)),W=D+1;continue}if(_==="/"){G=D;continue}}if(_==="[")q++;else if(_==="]")q--;else if(_==="(")H++;else if(_===")")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=G&&G>W?G-W:void 0;return $Q($,O,B,U)};if(J){let X=J+":",$=Y;Y=(q)=>q.startsWith(X)?$(q.slice(X.length)):$Q(q3,!1,q,void 0,!0)}if(Z){let X=Y;Y=($)=>Z({className:$,parseClassName:X})}return Y},H3=(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}},W3=(Q)=>({cache:X3(Q.cacheSize),parseClassName:$3(Q),sortModifiers:H3(Q),...oY(Q)}),z3=/\s+/,G3=(Q,J)=>{let{parseClassName:Z,getClassGroupId:Y,getConflictingClassGroupIds:X,sortModifiers:$}=J,q=[],H=Q.trim().split(z3),W="";for(let G=H.length-1;G>=0;G-=1){let z=H[G],{isExternal:K,modifiers:B,hasImportantModifier:O,baseClassName:U,maybePostfixModifierPosition:D}=Z(z);if(K){W=z+(W.length>0?" "+W:W);continue}let _=!!D,N=Y(_?U.substring(0,D):U);if(!N){if(!_){W=z+(W.length>0?" "+W:W);continue}if(N=Y(U),!N){W=z+(W.length>0?" "+W:W);continue}_=!1}let A=B.length===0?"":B.length===1?B[0]:$(B).join(":"),w=O?A+"!":A,V=w+N;if(q.indexOf(V)>-1)continue;q.push(V);let T=X(N,_);for(let M=0;M<T.length;++M){let j=T[M];q.push(w+j)}W=z+(W.length>0?" "+W:W)}return W},K3=(...Q)=>{let J=0,Z,Y,X="";while(J<Q.length)if(Z=Q[J++]){if(Y=FQ(Z))X&&(X+=" "),X+=Y}return X},FQ=(Q)=>{if(typeof Q==="string")return Q;let J,Z="";for(let Y=0;Y<Q.length;Y++)if(Q[Y]){if(J=FQ(Q[Y]))Z&&(Z+=" "),Z+=J}return Z},B3=(Q,...J)=>{let Z,Y,X,$,q=(W)=>{let G=J.reduce((z,K)=>K(z),Q());return Z=W3(G),Y=Z.cache.get,X=Z.cache.set,$=H,H(W)},H=(W)=>{let G=Y(W);if(G)return G;let z=G3(W,Z);return X(W,z),z};return $=q,(...W)=>$(K3(...W))},F3=[],Y0=(Q)=>{let J=(Z)=>Z[Q]||F3;return J.isThemeGetter=!0,J},OQ=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,UQ=/^\((?:(\w[\w-]*):)?(.+)\)$/i,O3=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,U3=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,D3=/\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$/,_3=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,N3=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,w3=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,J1=(Q)=>O3.test(Q),h=(Q)=>!!Q&&!Number.isNaN(Number(Q)),Z1=(Q)=>!!Q&&Number.isInteger(Number(Q)),z8=(Q)=>Q.endsWith("%")&&h(Q.slice(0,-1)),r0=(Q)=>U3.test(Q),DQ=()=>!0,I3=(Q)=>D3.test(Q)&&!_3.test(Q),K8=()=>!1,V3=(Q)=>N3.test(Q),A3=(Q)=>w3.test(Q),T3=(Q)=>!E(Q)&&!k(Q),L3=(Q)=>Y1(Q,wQ,K8),E=(Q)=>OQ.test(Q),N1=(Q)=>Y1(Q,IQ,I3),HQ=(Q)=>Y1(Q,R3,h),M3=(Q)=>Y1(Q,AQ,DQ),P3=(Q)=>Y1(Q,VQ,K8),WQ=(Q)=>Y1(Q,_Q,K8),E3=(Q)=>Y1(Q,NQ,A3),j6=(Q)=>Y1(Q,TQ,V3),k=(Q)=>UQ.test(Q),M5=(Q)=>w1(Q,IQ),S3=(Q)=>w1(Q,VQ),zQ=(Q)=>w1(Q,_Q),k3=(Q)=>w1(Q,wQ),j3=(Q)=>w1(Q,NQ),b6=(Q)=>w1(Q,TQ,!0),b3=(Q)=>w1(Q,AQ,!0),Y1=(Q,J,Z)=>{let Y=OQ.exec(Q);if(Y){if(Y[1])return J(Y[1]);return Z(Y[2])}return!1},w1=(Q,J,Z=!1)=>{let Y=UQ.exec(Q);if(Y){if(Y[1])return J(Y[1]);return Z}return!1},_Q=(Q)=>Q==="position"||Q==="percentage",NQ=(Q)=>Q==="image"||Q==="url",wQ=(Q)=>Q==="length"||Q==="size"||Q==="bg-size",IQ=(Q)=>Q==="length",R3=(Q)=>Q==="number",VQ=(Q)=>Q==="family-name",AQ=(Q)=>Q==="number"||Q==="weight",TQ=(Q)=>Q==="shadow";var C3=()=>{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"),G=Y0("radius"),z=Y0("shadow"),K=Y0("inset-shadow"),B=Y0("text-shadow"),O=Y0("drop-shadow"),U=Y0("blur"),D=Y0("perspective"),_=Y0("aspect"),N=Y0("ease"),A=Y0("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],T=()=>[...V(),k,E],M=()=>["auto","hidden","clip","visible","scroll"],j=()=>["auto","contain","none"],I=()=>[k,E,W],S=()=>[J1,"full","auto",...I()],f=()=>[Z1,"none","subgrid",k,E],o=()=>["auto",{span:["full",Z1,k,E]},Z1,k,E],d=()=>[Z1,"auto",k,E],n=()=>["auto","min","max","fr",k,E],c=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],t=()=>["start","end","center","stretch","center-safe","end-safe"],v=()=>["auto",...I()],r=()=>[J1,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...I()],b=()=>[J1,"screen","full","dvw","lvw","svw","min","max","fit",...I()],g=()=>[J1,"screen","full","lh","dvh","lvh","svh","min","max","fit",...I()],P=()=>[Q,k,E],m0=()=>[...V(),zQ,WQ,{position:[k,E]}],V6=()=>["no-repeat",{repeat:["","x","y","space","round"]}],s9=()=>["auto","cover","contain",k3,L3,{size:[k,E]}],q8=()=>[z8,M5,N1],G0=()=>["","none","full",G,k,E],K0=()=>["",h,M5,N1],A6=()=>["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=()=>[h,z8,zQ,WQ],n9=()=>["","none",U,k,E],T6=()=>["none",h,k,E],L6=()=>["none",h,k,E],$8=()=>[h,k,E],M6=()=>[J1,"full",...I()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[r0],breakpoint:[r0],color:[DQ],container:[r0],"drop-shadow":[r0],ease:["in","out","in-out"],font:[T3],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[r0],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[r0],shadow:[r0],spacing:["px",h],text:[r0],"text-shadow":[r0],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",J1,E,k,_]}],container:["container"],columns:[{columns:[h,E,k,H]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:T()}],overflow:[{overflow:M()}],"overflow-x":[{"overflow-x":M()}],"overflow-y":[{"overflow-y":M()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:S()}],"inset-x":[{"inset-x":S()}],"inset-y":[{"inset-y":S()}],start:[{"inset-s":S(),start:S()}],end:[{"inset-e":S(),end:S()}],"inset-bs":[{"inset-bs":S()}],"inset-be":[{"inset-be":S()}],top:[{top:S()}],right:[{right:S()}],bottom:[{bottom:S()}],left:[{left:S()}],visibility:["visible","invisible","collapse"],z:[{z:[Z1,"auto",k,E]}],basis:[{basis:[J1,"full","auto",H,...I()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[h,J1,"auto","initial","none",E]}],grow:[{grow:["",h,k,E]}],shrink:[{shrink:["",h,k,E]}],order:[{order:[Z1,"first","last","none",k,E]}],"grid-cols":[{"grid-cols":f()}],"col-start-end":[{col:o()}],"col-start":[{"col-start":d()}],"col-end":[{"col-end":d()}],"grid-rows":[{"grid-rows":f()}],"row-start-end":[{row:o()}],"row-start":[{"row-start":d()}],"row-end":[{"row-end":d()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":n()}],"auto-rows":[{"auto-rows":n()}],gap:[{gap:I()}],"gap-x":[{"gap-x":I()}],"gap-y":[{"gap-y":I()}],"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:I()}],px:[{px:I()}],py:[{py:I()}],ps:[{ps:I()}],pe:[{pe:I()}],pbs:[{pbs:I()}],pbe:[{pbe:I()}],pt:[{pt:I()}],pr:[{pr:I()}],pb:[{pb:I()}],pl:[{pl:I()}],m:[{m:v()}],mx:[{mx:v()}],my:[{my:v()}],ms:[{ms:v()}],me:[{me:v()}],mbs:[{mbs:v()}],mbe:[{mbe:v()}],mt:[{mt:v()}],mr:[{mr:v()}],mb:[{mb:v()}],ml:[{ml:v()}],"space-x":[{"space-x":I()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":I()}],"space-y-reverse":["space-y-reverse"],size:[{size:r()}],"inline-size":[{inline:["auto",...b()]}],"min-inline-size":[{"min-inline":["auto",...b()]}],"max-inline-size":[{"max-inline":["none",...b()]}],"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,M5,N1]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[Y,b3,M3]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",z8,E]}],"font-family":[{font:[S3,P3,J]}],"font-features":[{"font-features":[E]}],"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,k,E]}],"line-clamp":[{"line-clamp":[h,"none",k,HQ]}],leading:[{leading:[$,...I()]}],"list-image":[{"list-image":["none",k,E]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",k,E]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...A6(),"wavy"]}],"text-decoration-thickness":[{decoration:[h,"from-font","auto",k,N1]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[h,"auto",k,E]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",k,E]}],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",k,E]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:m0()}],"bg-repeat":[{bg:V6()}],"bg-size":[{bg:s9()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Z1,k,E],radial:["",k,E],conic:[Z1,k,E]},j3,E3]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:q8()}],"gradient-via-pos":[{via:q8()}],"gradient-to-pos":[{to:q8()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],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:[...A6(),"hidden","none"]}],"divide-style":[{divide:[...A6(),"hidden","none"]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-bs":[{"border-bs":P()}],"border-color-be":[{"border-be":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:[...A6(),"none","hidden"]}],"outline-offset":[{"outline-offset":[h,k,E]}],"outline-w":[{outline:["",h,M5,N1]}],"outline-color":[{outline:P()}],shadow:[{shadow:["","none",z,b6,j6]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":["none",K,b6,j6]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:K0()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[h,N1]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":K0()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":["none",B,b6,j6]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[h,k,E]}],"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":[h]}],"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":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"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":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"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":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"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":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"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":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"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":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"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":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[k,E]}],"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":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"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":V()}],"mask-image-conic-pos":[{"mask-conic":[h]}],"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":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:m0()}],"mask-repeat":[{mask:V6()}],"mask-size":[{mask:s9()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",k,E]}],filter:[{filter:["","none",k,E]}],blur:[{blur:n9()}],brightness:[{brightness:[h,k,E]}],contrast:[{contrast:[h,k,E]}],"drop-shadow":[{"drop-shadow":["","none",O,b6,j6]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:["",h,k,E]}],"hue-rotate":[{"hue-rotate":[h,k,E]}],invert:[{invert:["",h,k,E]}],saturate:[{saturate:[h,k,E]}],sepia:[{sepia:["",h,k,E]}],"backdrop-filter":[{"backdrop-filter":["","none",k,E]}],"backdrop-blur":[{"backdrop-blur":n9()}],"backdrop-brightness":[{"backdrop-brightness":[h,k,E]}],"backdrop-contrast":[{"backdrop-contrast":[h,k,E]}],"backdrop-grayscale":[{"backdrop-grayscale":["",h,k,E]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h,k,E]}],"backdrop-invert":[{"backdrop-invert":["",h,k,E]}],"backdrop-opacity":[{"backdrop-opacity":[h,k,E]}],"backdrop-saturate":[{"backdrop-saturate":[h,k,E]}],"backdrop-sepia":[{"backdrop-sepia":["",h,k,E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":I()}],"border-spacing-x":[{"border-spacing-x":I()}],"border-spacing-y":[{"border-spacing-y":I()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",k,E]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[h,"initial",k,E]}],ease:[{ease:["linear","initial",N,k,E]}],delay:[{delay:[h,k,E]}],animate:[{animate:["none",A,k,E]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[D,k,E]}],"perspective-origin":[{"perspective-origin":T()}],rotate:[{rotate:T6()}],"rotate-x":[{"rotate-x":T6()}],"rotate-y":[{"rotate-y":T6()}],"rotate-z":[{"rotate-z":T6()}],scale:[{scale:L6()}],"scale-x":[{"scale-x":L6()}],"scale-y":[{"scale-y":L6()}],"scale-z":[{"scale-z":L6()}],"scale-3d":["scale-3d"],skew:[{skew:$8()}],"skew-x":[{"skew-x":$8()}],"skew-y":[{"skew-y":$8()}],transform:[{transform:[k,E,"","none","gpu","cpu"]}],"transform-origin":[{origin:T()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:M6()}],"translate-x":[{"translate-x":M6()}],"translate-y":[{"translate-y":M6()}],"translate-z":[{"translate-z":M6()}],"translate-none":["translate-none"],accent:[{accent:P()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:P()}],"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",k,E]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mbs":[{"scroll-mbs":I()}],"scroll-mbe":[{"scroll-mbe":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pbs":[{"scroll-pbs":I()}],"scroll-pbe":[{"scroll-pbe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"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",k,E]}],fill:[{fill:["none",...P()]}],"stroke-w":[{stroke:[h,M5,N1,HQ]}],stroke:[{stroke:["none",...P()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}};var LQ=B3(C3);function rz(...Q){return LQ(W8(Q))}var n1=R(x(),1);var MQ={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=n1.forwardRef(({color:$="currentColor",size:q=24,stroke:H=2,title:W,className:G,children:z,...K},B)=>n1.createElement("svg",{ref:B,...MQ[Q],width:q,height:q,className:["tabler-icon",`tabler-icon-${J}`,G].join(" "),...Q==="filled"?{fill:$}:{strokeWidth:H,stroke:$},...K},[W&&n1.createElement("title",{key:"svg-title"},W),...Y.map(([O,U])=>n1.createElement(O,U)),...Array.isArray(z)?z:[z]]));return X.displayName=`${Z}`,X};var h3=[["path",{d:"M17 7l-10 10",key:"svg-0"}],["path",{d:"M8 7l9 0l0 9",key:"svg-1"}]],x3=F("outline","arrow-up-right","ArrowUpRight",h3);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"}]],f3=F("outline","eraser","Eraser",y3);var v3=[["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"}]],g3=F("outline","hand-stop","HandStop",v3);var d3=[["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"}]],u3=F("outline","highlight","Highlight",d3);var c3=[["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"}]],p3=F("outline","line","Line",c3);var m3=[["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"}]],l3=F("outline","pointer-2","Pointer2",m3);var r3=[["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"}]],i3=F("outline","sketching","Sketching",r3);var s3=[["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"}]],o3=F("outline","square","Square",s3);var n3=[["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"}]],a3=F("outline","sticker-2","Sticker2",n3);var t3=[["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",t3);var QX=[["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"}]],JX=F("outline","versions","Versions",QX);var ZX=[["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"}]],PQ=F("outline","package","Package",ZX);var YX=[["path",{d:"M3 12h4l3 8l4 -16l3 8h4",key:"svg-0"}]],XX=F("outline","activity","Activity",YX);var qX=[["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"}]],$X=F("outline","alert-triangle","AlertTriangle",qX);var HX=[["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"}]],WX=F("outline","api","Api",HX);var zX=[["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:"M6 8h.01",key:"svg-1"}],["path",{d:"M9 8h.01",key:"svg-2"}]],GX=F("outline","app-window","AppWindow",zX);var KX=[["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"}]],BX=F("outline","arrow-up","ArrowUp",KX);var FX=[["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"}]],OX=F("outline","arrows-shuffle","ArrowsShuffle",FX);var UX=[["path",{d:"M8 9a1 1 0 0 1 1 -1h6a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-6a1 1 0 0 1 -1 -1l0 -6",key:"svg-0"}],["path",{d:"M3 8l1 0",key:"svg-1"}],["path",{d:"M3 16l1 0",key:"svg-2"}],["path",{d:"M8 3l0 1",key:"svg-3"}],["path",{d:"M16 3l0 1",key:"svg-4"}],["path",{d:"M20 8l1 0",key:"svg-5"}],["path",{d:"M20 16l1 0",key:"svg-6"}],["path",{d:"M8 20l0 1",key:"svg-7"}],["path",{d:"M16 20l0 1",key:"svg-8"}]],DX=F("outline","artboard","Artboard",UX);var _X=[["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"}]],NX=F("outline","atom","Atom",_X);var wX=[["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"}]],IX=F("outline","bell","Bell",wX);var VX=[["path",{d:"M13 3l0 7l6 0l-8 11l0 -7l-6 0l8 -11",key:"svg-0"}]],AX=F("outline","bolt","Bolt",VX);var TX=[["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"}]],LX=F("outline","book","Book",TX);var MX=[["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"}]],PX=F("outline","brain","Brain",MX);var EX=[["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"}]],SX=F("outline","briefcase","Briefcase",EX);var kX=[["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"}]],jX=F("outline","bug","Bug",kX);var bX=[["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"}]],RX=F("outline","bulb","Bulb",bX);var CX=[["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"}]],hX=F("outline","calendar","Calendar",CX);var xX=[["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"}]],yX=F("outline","camera","Camera",xX);var fX=[["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"}]],vX=F("outline","chart-bar","ChartBar",fX);var gX=[["path",{d:"M5 12l5 5l10 -10",key:"svg-0"}]],dX=F("outline","check","Check",gX);var uX=[["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"}]],cX=F("outline","chef-hat","ChefHat",uX);var pX=[["path",{d:"M6 9l6 6l6 -6",key:"svg-0"}]],mX=F("outline","chevron-down","ChevronDown",pX);var lX=[["path",{d:"M9 6l6 6l-6 6",key:"svg-0"}]],rX=F("outline","chevron-right","ChevronRight",lX);var iX=[["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"}]],sX=F("outline","circle-off","CircleOff",iX);var oX=[["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"}]],nX=F("outline","cloud","Cloud",oX);var aX=[["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"}]],tX=F("outline","code","Code",aX);var eX=[["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"}]],Q2=F("outline","compass","Compass",eX);var J2=[["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"}]],Z2=F("outline","copy","Copy",J2);var Y2=[["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"}]],X2=F("outline","cpu","Cpu",Y2);var q2=[["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"}]],$2=F("outline","cube","Cube",q2);var H2=[["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"}]],W2=F("outline","database","Database",H2);var z2=[["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"}]],G2=F("outline","device-gamepad-2","DeviceGamepad2",z2);var K2=[["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"}]],B2=F("outline","diamond","Diamond",K2);var F2=[["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"}]],O2=F("outline","feather","Feather",F2);var U2=[["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"}]],D2=F("outline","file","File",U2);var _2=[["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"}]],N2=F("outline","flame","Flame",_2);var w2=[["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"}]],I2=F("outline","flask","Flask",w2);var V2=[["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"}]],A2=F("outline","folder","Folder",V2);var T2=[["path",{d:"M9 3h3l2 2h5a2 2 0 0 1 2 2v7a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-9a2 2 0 0 1 2 -2",key:"svg-0"}],["path",{d:"M17 16v2a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2v-9a2 2 0 0 1 2 -2h2",key:"svg-1"}]],L2=F("outline","folders","Folders",T2);var M2=[["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"}]],P2=F("outline","ghost","Ghost",M2);var E2=[["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"}]],S2=F("outline","gift","Gift",E2);var k2=[["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"}]],j2=F("outline","globe","Globe",k2);var b2=[["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"}]],R2=F("outline","heart","Heart",b2);var C2=[["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"}]],h2=F("outline","hexagon","Hexagon",C2);var x2=[["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"}]],y2=F("outline","home","Home",x2);var f2=[["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"}]],v2=F("outline","key","Key",f2);var g2=[["path",{d:"M4 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4",key:"svg-0"}],["path",{d:"M14 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4",key:"svg-1"}],["path",{d:"M4 15a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4",key:"svg-2"}],["path",{d:"M14 15a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4",key:"svg-3"}]],d2=F("outline","layout-grid","LayoutGrid",g2);var u2=[["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"}]],c2=F("outline","layout-sidebar-right","LayoutSidebarRight",u2);var p2=[["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"}]],m2=F("outline","leaf","Leaf",p2);var l2=[["path",{d:"M12 3a9 9 0 1 0 9 9",key:"svg-0"}]],r2=F("outline","loader-2","Loader2",l2);var i2=[["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"}]],s2=F("outline","mail","Mail",i2);var o2=[["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"}]],n2=F("outline","map","Map",o2);var a2=[["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"}]],t2=F("outline","message","Message",a2);var e2=[["path",{d:"M5 12l14 0",key:"svg-0"}]],Qq=F("outline","minus","Minus",e2);var Jq=[["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"}]],Zq=F("outline","mood-sad","MoodSad",Jq);var Yq=[["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"}]],Xq=F("outline","moon","Moon",Yq);var qq=[["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"}]],$q=F("outline","mountain","Mountain",qq);var Hq=[["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"}]],Wq=F("outline","music","Music",Hq);var zq=[["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"}]],Gq=F("outline","palette","Palette",zq);var Kq=[["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"}]],Bq=F("outline","paperclip","Paperclip",Kq);var Fq=[["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"}]],Oq=F("outline","photo","Photo",Fq);var Uq=[["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"}]],Dq=F("outline","planet","Planet",Uq);var _q=[["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"}]],Nq=F("outline","play-basketball","PlayBasketball",_q);var wq=[["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"}]],Iq=F("outline","play-football","PlayFootball",wq);var Vq=[["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"}]],Aq=F("outline","play-volleyball","PlayVolleyball",Vq);var Tq=[["path",{d:"M5 7a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-10a2 2 0 0 1 -2 -2l0 -10",key:"svg-0"}]],Lq=F("outline","player-stop","PlayerStop",Tq);var Mq=[["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"}]],Pq=F("outline","plug-connected","PlugConnected",Mq);var Eq=[["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"}]],Sq=F("outline","plug","Plug",Eq);var kq=[["path",{d:"M12 5l0 14",key:"svg-0"}],["path",{d:"M5 12l14 0",key:"svg-1"}]],jq=F("outline","plus","Plus",kq);var bq=[["path",{d:"M6 5h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2",key:"svg-0"}],["path",{d:"M9 16c1 .667 2 1 3 1s2 -.333 3 -1",key:"svg-1"}],["path",{d:"M9 7l-1 -4",key:"svg-2"}],["path",{d:"M15 7l1 -4",key:"svg-3"}],["path",{d:"M9 12v-1",key:"svg-4"}],["path",{d:"M15 12v-1",key:"svg-5"}]],Rq=F("outline","robot-face","RobotFace",bq);var Cq=[["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"}]],hq=F("outline","robot","Robot",Cq);var xq=[["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"}]],yq=F("outline","rocket","Rocket",xq);var fq=[["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"}]],vq=F("outline","settings","Settings",fq);var gq=[["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"}]],dq=F("outline","shield","Shield",gq);var uq=[["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"}]],cq=F("outline","shopping-cart","ShoppingCart",uq);var pq=[["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"}]],mq=F("outline","smart-home","SmartHome",pq);var lq=[["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"}]],rq=F("outline","snowflake","Snowflake",lq);var iq=[["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"}]],sq=F("outline","sparkles","Sparkles",iq);var oq=[["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"}]],nq=F("outline","star","Star",oq);var aq=[["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"}]],tq=F("outline","sun","Sun",aq);var eq=[["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"}]],Q$=F("outline","target","Target",eq);var J$=[["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"}]],Z$=F("outline","terminal-2","Terminal2",J$);var Y$=[["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"}]],X$=F("outline","tool","Tool",Y$);var q$=[["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"}]],$$=F("outline","trash","Trash",q$);var H$=[["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"}]],W$=F("outline","trophy","Trophy",H$);var z$=[["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"}]],G$=F("outline","upload","Upload",z$);var K$=[["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"}]],B$=F("outline","user","User",K$);var F$=[["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"}]],O$=F("outline","wand","Wand",F$);var U$=[["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"}]],D$=F("outline","world","World",U$);var _$=[["path",{d:"M18 6l-12 12",key:"svg-0"}],["path",{d:"M6 6l12 12",key:"svg-1"}]],N$=F("outline","x","X",_$);var w$=[["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"}]],I$=F("filled","alert-circle-filled","AlertCircleFilled",w$);function I1(Q,J){if(Q.indexOf(J)===-1)Q.push(J)}function X1(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 B8(Q,J){return J?`${Q}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${J}`:Q}var b0=()=>{},O0=()=>{};if(typeof process<"u"&&process.env?.NODE_ENV!=="production")b0=(Q,J,Z)=>{if(!Q&&typeof console<"u")console.warn(B8(J,Z))},O0=(Q,J,Z)=>{if(!Q)throw Error(B8(J,Z))};var W0={};var P5=(Q)=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(Q);function E5(Q){return typeof Q==="object"&&Q!==null}var S5=(Q)=>/^0[^.\s]+$/u.test(Q);function k5(Q){let J;return()=>{if(J===void 0)J=Q();return J}}var i=(Q)=>Q;var V$=(Q,J)=>(Z)=>J(Q(Z)),L0=(...Q)=>Q.reduce(V$);var R0=(Q,J,Z)=>{let Y=J-Q;return Y===0?1:(Z-Q)/Y};class q1{constructor(){this.subscriptions=[]}add(Q){return I1(this.subscriptions,Q),()=>X1(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 j5(Q,J){return J?Q*(1000/J):0}var EQ=(Q,J,Z)=>(((1-3*Z+3*J)*Q+(3*Z-6*J))*Q+3*J)*Q,A$=0.0000001,T$=12;function L$(Q,J,Z,Y,X){let $,q,H=0;do if(q=J+(Z-J)/2,$=EQ(q,Y,X)-Q,$>0)Z=q;else J=q;while(Math.abs($)>A$&&++H<T$);return q}function $1(Q,J,Z,Y){if(Q===J&&Z===Y)return i;let X=($)=>L$($,0,1,Q,Z);return($)=>$===0||$===1?$:EQ(X($),J,Y)}var R6=(Q)=>(J)=>J<=0.5?Q(2*J)/2:(2-Q(2*(1-J)))/2;var C6=(Q)=>(J)=>1-Q(1-J);var h6=$1(0.33,1.53,0.69,0.99),a1=C6(h6),b5=R6(a1);var R5=(Q)=>(Q*=2)<1?0.5*a1(Q):0.5*(2-Math.pow(2,-10*(Q-1)));var C5=(Q)=>1-Math.sin(Math.acos(Q)),h5=C6(C5),x5=R6(C5);var F8=$1(0.42,0,1,1),O8=$1(0,0,0.58,1),y5=$1(0.42,0,0.58,1);var U8=(Q)=>{return Array.isArray(Q)&&typeof Q[0]!=="number"};var f5=(Q)=>Array.isArray(Q)&&typeof Q[0]==="number";var SQ={linear:i,easeIn:F8,easeInOut:y5,easeOut:O8,circIn:C5,circInOut:x5,circOut:h5,backIn:a1,backInOut:b5,backOut:h6,anticipate:R5},M$=(Q)=>{return typeof Q==="string"},x6=(Q)=>{if(f5(Q)){O0(Q.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[J,Z,Y,X]=Q;return $1(J,Z,Y,X)}else if(M$(Q))return O0(SQ[Q]!==void 0,`Invalid easing type '${Q}'`,"invalid-easing-type"),SQ[Q];return Q};var v5=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var _0={value:null,addProjectionMetrics:null};function kQ(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 G(K){if(q.has(K))z.schedule(K),Q();W++,K(H)}let z={schedule:(K,B=!1,O=!1)=>{let D=O&&X?Z:Y;if(B)q.add(K);if(!D.has(K))D.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(G),J&&_0.value)_0.value.frameloop[J].push(W);if(W=0,Z.clear(),X=!1,$)$=!1,z.process(K)}};return z}var P$=40;function y6(Q,J){let Z=!1,Y=!0,X={delta:0,timestamp:0,isProcessing:!1},$=()=>Z=!0,q=v5.reduce((w,V)=>{return w[V]=kQ($,J?V:void 0),w},{}),{setup:H,read:W,resolveKeyframes:G,preUpdate:z,update:K,preRender:B,render:O,postRender:U}=q,D=()=>{let w=W0.useManualTiming?X.timestamp:performance.now();if(Z=!1,!W0.useManualTiming)X.delta=Y?16.666666666666668:Math.max(Math.min(w-X.timestamp,P$),1);if(X.timestamp=w,X.isProcessing=!0,H.process(X),W.process(X),G.process(X),z.process(X),K.process(X),B.process(X),O.process(X),U.process(X),X.isProcessing=!1,Z&&J)Y=!1,Q(D)},_=()=>{if(Z=!0,Y=!0,!X.isProcessing)Q(D)};return{schedule:v5.reduce((w,V)=>{let T=q[V];return w[V]=(M,j=!1,I=!1)=>{if(!Z)_();return T.schedule(M,j,I)},w},{}),cancel:(w)=>{for(let V=0;V<v5.length;V++)q[v5[V]].cancel(w)},state:X,steps:q}}var{schedule:C,cancel:U0,state:a,steps:g5}=y6(typeof requestAnimationFrame<"u"?requestAnimationFrame:i,!0);var f6;function E$(){f6=void 0}var s={now:()=>{if(f6===void 0)s.set(a.isProcessing||W0.useManualTiming?a.timestamp:performance.now());return f6},set:(Q)=>{f6=Q,queueMicrotask(E$)}};var C0={layout:0,mainThread:0,waapi:0};var jQ=(Q)=>(J)=>typeof J==="string"&&J.startsWith(Q),v6=jQ("--"),S$=jQ("var(--"),t1=(Q)=>{if(!S$(Q))return!1;return k$.test(Q.split("/*")[0].trim())},k$=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function D8(Q){if(typeof Q!=="string")return!1;return Q.split("/*")[0].includes("var(--")}var h0={test:(Q)=>typeof Q==="number",parse:parseFloat,transform:(Q)=>Q},i0={...h0,transform:(Q)=>e(0,1,Q)},d5={...h0,default:1};var H1=(Q)=>Math.round(Q*1e5)/1e5;var e1=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function bQ(Q){return Q==null}var RQ=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var Q5=(Q,J)=>(Z)=>{return Boolean(typeof Z==="string"&&RQ.test(Z)&&Z.startsWith(Q)||J&&!bQ(Z)&&Object.prototype.hasOwnProperty.call(Z,J))},g6=(Q,J,Z)=>(Y)=>{if(typeof Y!=="string")return Y;let[X,$,q,H]=Y.match(e1);return{[Q]:parseFloat(X),[J]:parseFloat($),[Z]:parseFloat(q),alpha:H!==void 0?parseFloat(H):1}};var j$=(Q)=>e(0,255,Q),_8={...h0,transform:(Q)=>Math.round(j$(Q))},x0={test:Q5("rgb","red"),parse:g6("red","green","blue"),transform:({red:Q,green:J,blue:Z,alpha:Y=1})=>"rgba("+_8.transform(Q)+", "+_8.transform(J)+", "+_8.transform(Z)+", "+H1(i0.transform(Y))+")"};function b$(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 u5={test:Q5("#"),parse:b$,transform:x0.transform};var c5=(Q)=>({test:(J)=>typeof J==="string"&&J.endsWith(Q)&&J.split(" ").length===1,parse:parseFloat,transform:(J)=>`${J}${Q}`}),M0=c5("deg"),z0=c5("%"),L=c5("px"),N8=c5("vh"),w8=c5("vw"),d6=(()=>({...z0,parse:(Q)=>z0.parse(Q)/100,transform:(Q)=>z0.transform(Q*100)}))();var W1={test:Q5("hsl","hue"),parse:g6("hue","saturation","lightness"),transform:({hue:Q,saturation:J,lightness:Z,alpha:Y=1})=>{return"hsla("+Math.round(Q)+", "+z0.transform(H1(J))+", "+z0.transform(H1(Z))+", "+H1(i0.transform(Y))+")"}};var m={test:(Q)=>x0.test(Q)||u5.test(Q)||W1.test(Q),parse:(Q)=>{if(x0.test(Q))return x0.parse(Q);else if(W1.test(Q))return W1.parse(Q);else return u5.parse(Q)},transform:(Q)=>{return typeof Q==="string"?Q:Q.hasOwnProperty("red")?x0.transform(Q):W1.transform(Q)},getAnimatableNone:(Q)=>{let J=m.parse(Q);return J.alpha=0,m.transform(J)}};var CQ=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function R$(Q){return isNaN(Q)&&typeof Q==="string"&&(Q.match(e1)?.length||0)+(Q.match(CQ)?.length||0)>0}var xQ="number",yQ="color",C$="var",h$="var(",hQ="${}",x$=/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 V1(Q){let J=Q.toString(),Z=[],Y={color:[],number:[],var:[]},X=[],$=0,H=J.replace(x$,(W)=>{if(m.test(W))Y.color.push($),X.push(yQ),Z.push(m.parse(W));else if(W.startsWith(h$))Y.var.push($),X.push(C$),Z.push(W);else Y.number.push($),X.push(xQ),Z.push(parseFloat(W));return++$,hQ}).split(hQ);return{values:Z,split:H,indexes:Y,types:X}}function fQ(Q){return V1(Q).values}function vQ(Q){let{split:J,types:Z}=V1(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===xQ)$+=H1(X[q]);else if(H===yQ)$+=m.transform(X[q]);else $+=X[q]}return $}}var y$=(Q)=>typeof Q==="number"?0:m.test(Q)?m.getAnimatableNone(Q):Q;function f$(Q){let J=fQ(Q);return vQ(Q)(J.map(y$))}var q0={test:R$,parse:fQ,createTransformer:vQ,getAnimatableNone:f$};function I8(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 gQ({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=I8(W,H,Q+0.3333333333333333),$=I8(W,H,Q),q=I8(W,H,Q-0.3333333333333333)}return{red:Math.round(X*255),green:Math.round($*255),blue:Math.round(q*255),alpha:Y}}function J5(Q,J){return(Z)=>Z>0?J:Q}var y=(Q,J,Z)=>{return Q+(J-Q)*Z};var V8=(Q,J,Z)=>{let Y=Q*Q,X=Z*(J*J-Y)+Y;return X<0?0:Math.sqrt(X)},v$=[u5,x0,W1],g$=(Q)=>v$.find((J)=>J.test(Q));function dQ(Q){let J=g$(Q);if(b0(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===W1)Z=gQ(Z);return Z}var A8=(Q,J)=>{let Z=dQ(Q),Y=dQ(J);if(!Z||!Y)return J5(Q,J);let X={...Z};return($)=>{return X.red=V8(Z.red,Y.red,$),X.green=V8(Z.green,Y.green,$),X.blue=V8(Z.blue,Y.blue,$),X.alpha=y(Z.alpha,Y.alpha,$),x0.transform(X)}};var u6=new Set(["none","hidden"]);function uQ(Q,J){if(u6.has(Q))return(Z)=>Z<=0?Q:J;else return(Z)=>Z>=1?J:Q}function d$(Q,J){return(Z)=>y(Q,J,Z)}function c6(Q){if(typeof Q==="number")return d$;else if(typeof Q==="string")return t1(Q)?J5:m.test(Q)?A8:p$;else if(Array.isArray(Q))return cQ;else if(typeof Q==="object")return m.test(Q)?A8:u$;return J5}function cQ(Q,J){let Z=[...Q],Y=Z.length,X=Q.map(($,q)=>c6($)($,J[q]));return($)=>{for(let q=0;q<Y;q++)Z[q]=X[q]($);return Z}}function u$(Q,J){let Z={...Q,...J},Y={};for(let X in Z)if(Q[X]!==void 0&&J[X]!==void 0)Y[X]=c6(Q[X])(Q[X],J[X]);return(X)=>{for(let $ in Y)Z[$]=Y[$](X);return Z}}function c$(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 p$=(Q,J)=>{let Z=q0.createTransformer(J),Y=V1(Q),X=V1(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(u6.has(Q)&&!X.values.length||u6.has(J)&&!Y.values.length)return uQ(Q,J);return L0(cQ(c$(Y,X),X.values),Z)}else return b0(!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"),J5(Q,J)};function p6(Q,J,Z){if(typeof Q==="number"&&typeof J==="number"&&typeof Z==="number")return y(Q,J,Z);return c6(Q)(Q,J)}var pQ=(Q)=>{let J=({timestamp:Z})=>Q(Z);return{start:(Z=!0)=>C.update(J,Z),stop:()=>U0(J),now:()=>a.isProcessing?a.timestamp:s.now()}};var m6=(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 l6=20000;function Z5(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 mQ(Q,J=100,Z){let Y=Z({...Q,keyframes:[0,J]}),X=Math.min(Z5(Y),l6);return{type:"keyframes",ease:($)=>{return Y.next(X*$).value/J},duration:X0(X)}}var m$=5;function r6(Q,J,Z){let Y=Math.max(J-m$,0);return j5(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 T8=0.001;function lQ({duration:Q=p.duration,bounce:J=p.bounce,velocity:Z=p.velocity,mass:Y=p.mass}){let X,$;b0(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=(G)=>{let z=G*q,K=z*Q,B=z-Z,O=i6(G,q),U=Math.exp(-K);return T8-B/O*U},$=(G)=>{let K=G*q*Q,B=K*Z+Z,O=Math.pow(q,2)*Math.pow(G,2)*Q,U=Math.exp(-K),D=i6(Math.pow(G,2),q);return(-X(G)+T8>0?-1:1)*((B-O)*U)/D};else X=(G)=>{let z=Math.exp(-G*Q),K=(G-Z)*Q+1;return-T8+z*K},$=(G)=>{let z=Math.exp(-G*Q),K=(Z-G)*(Q*Q);return z*K};let H=5/Q,W=r$(X,$,H);if(Q=Q0(Q),isNaN(W))return{stiffness:p.stiffness,damping:p.damping,duration:Q};else{let G=Math.pow(W,2)*Y;return{stiffness:G,damping:q*2*Math.sqrt(Y*G),duration:Q}}}var l$=12;function r$(Q,J,Z){let Y=Z;for(let X=1;X<l$;X++)Y=Y-Q(Y)/J(Y);return Y}function i6(Q,J){return Q*Math.sqrt(1-J*J)}var i$=["duration","bounce"],s$=["stiffness","damping","mass"];function rQ(Q,J){return J.some((Z)=>Q[Z]!==void 0)}function o$(Q){let J={velocity:p.velocity,stiffness:p.stiffness,damping:p.damping,mass:p.mass,isResolvedFromDuration:!1,...Q};if(!rQ(Q,s$)&&rQ(Q,i$))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=lQ({...Q,velocity:0});J={...J,...Z,mass:p.mass},J.isResolvedFromDuration=!0}return J}function Y5(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:G,mass:z,duration:K,velocity:B,isResolvedFromDuration:O}=o$({...Z,velocity:-X0(Z.velocity||0)}),U=B||0,D=G/(2*Math.sqrt(W*z)),_=q-$,N=X0(Math.sqrt(W/z)),A=Math.abs(_)<5;Y||(Y=A?p.restSpeed.granular:p.restSpeed.default),X||(X=A?p.restDelta.granular:p.restDelta.default);let w;if(D<1){let T=i6(N,D);w=(M)=>{let j=Math.exp(-D*N*M);return q-j*((U+D*N*_)/T*Math.sin(T*M)+_*Math.cos(T*M))}}else if(D===1)w=(T)=>q-Math.exp(-N*T)*(_+(U+N*_)*T);else{let T=N*Math.sqrt(D*D-1);w=(M)=>{let j=Math.exp(-D*N*M),I=Math.min(T*M,300);return q-j*((U+D*N*_)*Math.sinh(I)+T*_*Math.cosh(I))/T}}let V={calculatedDuration:O?K||null:null,next:(T)=>{let M=w(T);if(!O){let j=T===0?U:0;if(D<1)j=T===0?Q0(U):r6(w,T,M);let I=Math.abs(j)<=Y,S=Math.abs(q-M)<=X;H.done=I&&S}else H.done=T>=K;return H.value=H.done?q:M,H},toString:()=>{let T=Math.min(Z5(V),l6),M=m6((j)=>V.next(T*j).value,T,30);return T+"ms "+M},toTransition:()=>{}};return V}Y5.applyToOptions=(Q)=>{let J=mQ(Q,100,Y5);return Q.ease=J.ease,Q.duration=Q0(J.duration),Q.type="keyframes",Q};function p5({keyframes:Q,velocity:J=0,power:Z=0.8,timeConstant:Y=325,bounceDamping:X=10,bounceStiffness:$=500,modifyTarget:q,min:H,max:W,restDelta:G=0.5,restSpeed:z}){let K=Q[0],B={done:!1,value:K},O=(I)=>H!==void 0&&I<H||W!==void 0&&I>W,U=(I)=>{if(H===void 0)return W;if(W===void 0)return H;return Math.abs(H-I)<Math.abs(W-I)?H:W},D=Z*J,_=K+D,N=q===void 0?_:q(_);if(N!==_)D=N-K;let A=(I)=>-D*Math.exp(-I/Y),w=(I)=>N+A(I),V=(I)=>{let S=A(I),f=w(I);B.done=Math.abs(S)<=G,B.value=B.done?N:f},T,M,j=(I)=>{if(!O(B.value))return;T=I,M=Y5({keyframes:[B.value,U(B.value)],velocity:r6(w,I,B.value),damping:X,stiffness:$,restDelta:G,restSpeed:z})};return j(0),{calculatedDuration:null,next:(I)=>{let S=!1;if(!M&&T===void 0)S=!0,V(I),j(I);if(T!==void 0&&I>=T)return M.next(I-T);else return!S&&V(I),B}}}function n$(Q,J,Z){let Y=[],X=Z||W0.mix||p6,$=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=L0(W,H)}Y.push(H)}return Y}function iQ(Q,J,{clamp:Z=!0,ease:Y,mixer:X}={}){let $=Q.length;if(O0($===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=n$(J,Y,X),W=H.length,G=(z)=>{if(q&&z<Q[0])return J[0];let K=0;if(W>1){for(;K<Q.length-2;K++)if(z<Q[K+1])break}let B=R0(Q[K],Q[K+1],z);return H[K](B)};return Z?(z)=>G(e(Q[0],Q[$-1],z)):G}function sQ(Q,J){let Z=Q[Q.length-1];for(let Y=1;Y<=J;Y++){let X=R0(0,J,Y);Q.push(y(Z,1,X))}}function oQ(Q){let J=[0];return sQ(J,Q.length-1),J}function nQ(Q,J){return Q.map((Z)=>Z*J)}function a$(Q,J){return Q.map(()=>J||y5).splice(0,Q.length-1)}function A1({duration:Q=300,keyframes:J,times:Z,ease:Y="easeInOut"}){let X=U8(Y)?Y.map(x6):x6(Y),$={done:!1,value:J[0]},q=nQ(Z&&Z.length===J.length?Z:oQ(J),Q),H=iQ(q,J,{ease:Array.isArray(X)?X:a$(J,X)});return{calculatedDuration:Q,next:(W)=>{return $.value=H(W),$.done=W>=Q,$}}}var t$=(Q)=>Q!==null;function X5(Q,{repeat:J,repeatType:Z="loop"},Y,X=1){let $=Q.filter(t$),H=X<0||J&&Z!=="loop"&&J%2===1?0:$.length-1;return!H||Y===void 0?$[H]:Y}var e$={decay:p5,inertia:p5,tween:A1,keyframes:A1,spring:Y5};function s6(Q){if(typeof Q.type==="string")Q.type=e$[Q.type]}class T1{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 QH=(Q)=>Q/100;class L1 extends T1{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?.()},C0.mainThread++,this.options=Q,this.initAnimation(),this.play(),Q.autoplay===!1)this.pause()}initAnimation(){let{options:Q}=this;s6(Q);let{type:J=A1,repeat:Z=0,repeatDelay:Y=0,repeatType:X,velocity:$=0}=Q,{keyframes:q}=Q,H=J||A1;if(H!==A1&&typeof q[0]!=="number")this.mixKeyframes=L0(QH,p6(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=Z5(W);let{calculatedDuration:G}=W;this.calculatedDuration=G,this.resolvedDuration=G+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:G,repeat:z,repeatType:K,repeatDelay:B,type:O,onUpdate:U,finalKeyframe:D}=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 _=this.currentTime-W*(this.playbackSpeed>=0?1:-1),N=this.playbackSpeed>=0?_<0:_>Y;if(this.currentTime=Math.max(_,0),this.state==="finished"&&this.holdTime===null)this.currentTime=Y;let A=this.currentTime,w=Z;if(z){let j=Math.min(this.currentTime,Y)/q,I=Math.floor(j),S=j%1;if(!S&&j>=1)S=1;if(S===1&&I--,I=Math.min(I,z+1),Boolean(I%2)){if(K==="reverse"){if(S=1-S,B)S-=B/q}else if(K==="mirror")w=$}A=e(0,1,S)*q}let V=N?{done:!1,value:G[0]}:w.next(A);if(X&&!N)V.value=X(V.value);let{done:T}=V;if(!N&&H!==null)T=this.playbackSpeed>=0?this.currentTime>=Y:this.currentTime<=0;let M=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&T);if(M&&O!==p5)V.value=X5(G,this.options,D,this.speed);if(U)U(V.value);if(M)this.finish();return V}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=pQ,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,C0.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 aQ(Q){for(let J=1;J<Q.length;J++)Q[J]??(Q[J]=Q[J-1])}var M1=(Q)=>Q*180/Math.PI,L8=(Q)=>{let J=M1(Math.atan2(Q[1],Q[0]));return M8(J)},JH={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:(Q)=>(Math.abs(Q[0])+Math.abs(Q[3]))/2,rotate:L8,rotateZ:L8,skewX:(Q)=>M1(Math.atan(Q[1])),skewY:(Q)=>M1(Math.atan(Q[2])),skew:(Q)=>(Math.abs(Q[1])+Math.abs(Q[2]))/2},M8=(Q)=>{if(Q=Q%360,Q<0)Q+=360;return Q},tQ=L8,eQ=(Q)=>Math.sqrt(Q[0]*Q[0]+Q[1]*Q[1]),Q4=(Q)=>Math.sqrt(Q[4]*Q[4]+Q[5]*Q[5]),ZH={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:eQ,scaleY:Q4,scale:(Q)=>(eQ(Q)+Q4(Q))/2,rotateX:(Q)=>M8(M1(Math.atan2(Q[6],Q[5]))),rotateY:(Q)=>M8(M1(Math.atan2(-Q[2],Q[0]))),rotateZ:tQ,rotate:tQ,skewX:(Q)=>M1(Math.atan(Q[4])),skewY:(Q)=>M1(Math.atan(Q[1])),skew:(Q)=>(Math.abs(Q[1])+Math.abs(Q[4]))/2};function o6(Q){return Q.includes("scale")?1:0}function n6(Q,J){if(!Q||Q==="none")return o6(J);let Z=Q.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),Y,X;if(Z)Y=ZH,X=Z;else{let H=Q.match(/^matrix\(([-\d.e\s,]+)\)$/u);Y=JH,X=H}if(!X)return o6(J);let $=Y[J],q=X[1].split(",").map(YH);return typeof $==="function"?$(q):q[$]}var J4=(Q,J)=>{let{transform:Z="none"}=getComputedStyle(Q);return n6(Z,J)};function YH(Q){return parseFloat(Q.trim())}var y0=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],w0=(()=>new Set(y0))();var P8=(Q)=>Q===h0||Q===L,XH=new Set(["x","y","z"]),qH=y0.filter((Q)=>!XH.has(Q));function Z4(Q){let J=[];return qH.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 s0={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})=>n6(J,"x"),y:(Q,{transform:J})=>n6(J,"y")};s0.translateX=s0.x;s0.translateY=s0.y;var P1=new Set,E8=!1,S8=!1,k8=!1;function Y4(){if(S8){let Q=Array.from(P1).filter((Y)=>Y.needsMeasurement),J=new Set(Q.map((Y)=>Y.element)),Z=new Map;J.forEach((Y)=>{let X=Z4(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)})}S8=!1,E8=!1,P1.forEach((Q)=>Q.complete(k8)),P1.clear()}function X4(){P1.forEach((Q)=>{if(Q.readKeyframes(),Q.needsMeasurement)S8=!0})}function q4(){k8=!0,X4(),Y4(),k8=!1}class E1{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(P1.add(this),!E8)E8=!0,C.read(X4),C.resolveKeyframes(Y4)}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])}aQ(Q)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(Q=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,Q),P1.delete(this)}cancel(){if(this.state==="scheduled")P1.delete(this),this.state="pending"}resume(){if(this.state==="pending")this.scheduleResolve()}}var $4=(Q)=>Q.startsWith("--");function a6(Q,J,Z){$4(J)?Q.style.setProperty(J,Z):Q.style[J]=Z}var H4={};function t6(Q,J){let Z=k5(Q);return()=>H4[J]??Z()}var W4=t6(()=>window.ScrollTimeline!==void 0,"scrollTimeline");var e6=t6(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(Q){return!1}return!0},"linearEasing");var S1=([Q,J,Z,Y])=>`cubic-bezier(${Q}, ${J}, ${Z}, ${Y})`;var j8={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:S1([0,0.65,0.55,1]),circOut:S1([0.55,0,1,0.45]),backIn:S1([0.31,0.01,0.66,-0.59]),backOut:S1([0.33,1.53,0.69,0.99])};function b8(Q,J){if(!Q)return;else if(typeof Q==="function")return e6()?m6(Q,J):"ease-out";else if(f5(Q))return S1(Q);else if(Array.isArray(Q))return Q.map((Z)=>b8(Z,J)||j8.easeOut);else return j8[Q]}function z4(Q,J,Z,{delay:Y=0,duration:X=300,repeat:$=0,repeatType:q="loop",ease:H="easeOut",times:W}={},G=void 0){let z={[J]:Z};if(W)z.offset=W;let K=b8(H,X);if(Array.isArray(K))z.easing=K;if(_0.value)C0.waapi++;let B={delay:Y,duration:X,easing:!Array.isArray(K)?K:"linear",fill:"both",iterations:$+1,direction:q==="reverse"?"alternate":"normal"};if(G)B.pseudoElement=G;let O=Q.animate(z,B);if(_0.value)O.finished.finally(()=>{C0.waapi--});return O}function Q7(Q){return typeof Q==="function"&&"applyToOptions"in Q}function G4({type:Q,...J}){if(Q7(Q)&&e6())return Q.applyToOptions(J);else J.duration??(J.duration=300),J.ease??(J.ease="easeOut");return J}class m5 extends T1{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,O0(typeof Q.type!=="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");let W=G4(Q);if(this.animation=z4(J,Z,Y,W,X),W.autoplay===!1)this.animation.pause();this.animation.onfinish=()=>{if(this.finishedTime=this.time,!X){let G=X5(Y,this.options,q,this.speed);if(this.updateMotionValue)this.updateMotionValue(G);a6(J,Z,G),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&&W4()){if(this.animation.timeline=Q,J)this.animation.rangeStart=J;if(Z)this.animation.rangeEnd=Z;return i}else return Y(this)}}var K4={anticipate:R5,backInOut:b5,circInOut:x5};function $H(Q){return Q in K4}function B4(Q){if(typeof Q.ease==="string"&&$H(Q.ease))Q.ease=K4[Q.ease]}var R8=10;class C8 extends m5{constructor(Q){B4(Q),s6(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 L1({...$,autoplay:!1}),H=Math.max(R8,s.now()-this.startTime),W=e(0,R8,H-R8),G=q.sample(H).value,{name:z}=this.options;if(X&&z)a6(X,z,G);J.setWithVelocity(q.sample(Math.max(0,H-W)).value,G,W),q.stop()}}var h8=(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 HH(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 F4(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=h8(X,J),H=h8($,J);if(b0(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 HH(Q)||(Z==="spring"||Q7(Z))&&Y}function l5(Q){Q.duration=0,Q.type="keyframes"}var WH=new Set(["opacity","clipPath","filter","transform"]),zH=k5(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function O4(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:G}=J.owner.getProps();return zH()&&Z&&WH.has(Z)&&(Z!=="transform"||!G)&&!W&&!Y&&X!=="mirror"&&$!==0&&q!=="inertia"}var GH=40;class x8 extends T1{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:G,...z}){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:G,...z},B=G?.KeyframeResolver||E1;this.keyframeResolver=new B(q,(O,U,D)=>this.onKeyframesResolved(O,U,K,!D),H,W,G),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(Q,J,Z,Y){this.keyframeResolver=void 0;let{name:X,type:$,velocity:q,delay:H,isHandoff:W,onUpdate:G}=Z;if(this.resolvedAt=s.now(),!F4(Q,X,$,q)){if(W0.instantAnimations||!H)G?.(X5(Q,Z,J));Q[0]=Q[Q.length-1],l5(Z),Z.repeat=0}let K={startTime:Y?!this.resolvedAt?this.createdAt:this.resolvedAt-this.createdAt>GH?this.resolvedAt:this.createdAt:void 0,finalKeyframe:J,...Z,keyframes:Q},B=!W&&O4(K),O=K.motionValue?.owner?.current,U=B?new C8({...K,element:O}):new L1(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(),q4();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 J7(Q,J,Z,Y=0,X=1){let $=Array.from(Q).sort((G,z)=>G.sortNodePosition(z)).indexOf(J),q=Q.size,H=(q-1)*Y;return typeof Z==="function"?Z($,q):X===1?$*Y:H-$*Y}var KH=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function BH(Q){let J=KH.exec(Q);if(!J)return[,];let[,Z,Y,X]=J;return[`--${Z??Y}`,X]}var FH=4;function y8(Q,J,Z=1){O0(Z<=FH,`Max CSS variable fallback depth detected in property "${Q}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[Y,X]=BH(Q);if(!Y)return;let $=window.getComputedStyle(J).getPropertyValue(Y);if($){let q=$.trim();return P5(q)?parseFloat(q):q}return t1(X)?y8(X,J,Z+1):X}var OH={type:"spring",stiffness:500,damping:25,restSpeed:10},UH=(Q)=>({type:"spring",stiffness:550,damping:Q===0?2*Math.sqrt(550):30,restSpeed:10}),DH={type:"keyframes",duration:0.8},_H={type:"keyframes",ease:[0.25,0.1,0.35,1],duration:0.3},U4=(Q,{keyframes:J})=>{if(J.length>2)return DH;else if(w0.has(Q))return Q.startsWith("scale")?UH(J[1]):OH;return _H};var NH=(Q)=>Q!==null;function D4(Q,{repeat:J,repeatType:Z="loop"},Y){let X=Q.filter(NH),$=J&&Z!=="loop"&&J%2===1?0:X.length-1;return!$||Y===void 0?X[$]:Y}function Z7(Q,J){if(Q?.inherit&&J){let{inherit:Z,...Y}=Q;return{...J,...Y}}return Q}function q5(Q,J){let Z=Q?.[J]??Q?.default??Q;if(Z!==Q)return Z7(Z,Q);return Z}function _4({when:Q,delay:J,delayChildren:Z,staggerChildren:Y,staggerDirection:X,repeat:$,repeatType:q,repeatDelay:H,from:W,elapsed:G,...z}){return!!Object.keys(z).length}var k1=(Q,J,Z,Y={},X,$)=>(q)=>{let H=q5(Y,Q)||{},W=H.delay||Y.delay||0,{elapsed:G=0}=Y;G=G-Q0(W);let z={keyframes:Array.isArray(Z)?Z:[null,Z],ease:"easeOut",velocity:J.getVelocity(),...H,delay:-G,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(!_4(H))Object.assign(z,U4(Q,z));if(z.duration&&(z.duration=Q0(z.duration)),z.repeatDelay&&(z.repeatDelay=Q0(z.repeatDelay)),z.from!==void 0)z.keyframes[0]=z.from;let K=!1;if(z.type===!1||z.duration===0&&!z.repeatDelay){if(l5(z),z.delay===0)K=!0}if(W0.instantAnimations||W0.skipAnimations||X?.shouldSkipAnimations)K=!0,l5(z),z.delay=0;if(z.allowFlatten=!H.type&&!H.ease,K&&!$&&J.get()!==void 0){let B=D4(z.keyframes,H);if(B!==void 0){C.update(()=>{z.onUpdate(B),z.onComplete()});return}}return H.isSync?new L1(z):new x8(z)};function N4(Q){let J=[{},{}];return Q?.values.forEach((Z,Y)=>{J[0][Y]=Z.get(),J[1][Y]=Z.getVelocity()}),J}function j1(Q,J,Z,Y){if(typeof J==="function"){let[X,$]=N4(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,$]=N4(Y);J=J(Z!==void 0?Z:Q.custom,X,$)}return J}function f0(Q,J,Z){let Y=Q.getProps();return j1(Y,J,Z!==void 0?Z:Y.custom,Q)}var Y7=new Set(["width","height","top","left","right","bottom",...y0]);var w4=30,IH=(Q)=>{return!isNaN(parseFloat(Q))},I4={current:void 0};class V4{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=IH(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 q1;let Z=this.events[Q].add(J);if(Q==="change")return()=>{Z(),C.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(I4.current)I4.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>w4)return 0;let J=Math.min(this.updatedAt-this.prevUpdatedAt,w4);return j5(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 P0(Q,J){return new V4(Q,J)}var r5=(Q)=>{return Array.isArray(Q)};function VH(Q,J,Z){if(Q.hasValue(J))Q.getValue(J).set(Z);else Q.addValue(J,P0(Z))}function AH(Q){return r5(Q)?Q[Q.length-1]||0:Q}function A4(Q,J){let Z=f0(Q,J),{transitionEnd:Y={},transition:X={},...$}=Z||{};$={...$,...Y};for(let q in $){let H=AH($[q]);VH(Q,q,H)}}var u=(Q)=>Boolean(Q&&Q.getVelocity);function T4(Q){return Boolean(u(Q)&&Q.add)}function $5(Q,J){let Z=Q.getValue("willChange");if(T4(Z))return Z.add(J);else if(!Z&&W0.WillChange){let Y=new W0.WillChange("auto");Q.addValue("willChange",Y),Y.add(J)}}function H5(Q){return Q.replace(/([A-Z])/g,(J)=>`-${J.toLowerCase()}`)}var L4="framerAppearId",i5="data-"+H5(L4);function X7(Q){return Q.props[i5]}function TH({protectedKeys:Q,needsAnimating:J},Z){let Y=Q.hasOwnProperty(Z)&&J[Z]!==!0;return J[Z]=!1,Y}function q7(Q,J,{delay:Z=0,transitionOverride:Y,type:X}={}){let{transition:$,transitionEnd:q,...H}=J,W=Q.getDefaultTransition();$=$?Z7($,W):W;let G=$?.reduceMotion;if(Y)$=Y;let z=[],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&&TH(K,B))continue;let D={delay:Z,...q5($||{},B)},_=O.get();if(_!==void 0&&!O.isAnimating&&!Array.isArray(U)&&U===_&&!D.velocity)continue;let N=!1;if(window.MotionHandoffAnimation){let V=X7(Q);if(V){let T=window.MotionHandoffAnimation(V,B,C);if(T!==null)D.startTime=T,N=!0}}$5(Q,B);let A=G??Q.shouldReduceMotion;O.start(k1(B,O,U,A&&Y7.has(B)?{type:!1}:D,Q,N));let w=O.animation;if(w)z.push(w)}if(q){let B=()=>C.update(()=>{q&&A4(Q,q)});if(z.length)Promise.all(z).then(B);else B()}return z}function $7(Q,J,Z={}){let Y=f0(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(q7(Q,Y,Z)):()=>Promise.resolve(),q=Q.variantChildren&&Q.variantChildren.size?(W=0)=>{let{delayChildren:G=0,staggerChildren:z,staggerDirection:K}=X;return LH(Q,J,W,G,z,K,Z)}:()=>Promise.resolve(),{when:H}=X;if(H){let[W,G]=H==="beforeChildren"?[$,q]:[q,$];return W().then(()=>G())}else return Promise.all([$(),q(Z.delay)])}function LH(Q,J,Z=0,Y=0,X=0,$=1,q){let H=[];for(let W of Q.variantChildren)W.notify("AnimationStart",J),H.push($7(W,J,{...q,delay:Z+(typeof Y==="function"?0:Y)+J7(Q.variantChildren,W,Y,X,$)}).then(()=>W.notify("AnimationComplete",J)));return Promise.all(H)}function M4(Q,J,Z={}){Q.notify("AnimationStart",J);let Y;if(Array.isArray(J)){let X=J.map(($)=>$7(Q,$,Z));Y=Promise.all(X)}else if(typeof J==="string")Y=$7(Q,J,Z);else{let X=typeof J==="function"?f0(Q,J,Z.custom):J;Y=Promise.all(q7(Q,X,Z))}return Y.then(()=>{Q.notify("AnimationComplete",J)})}var P4={test:(Q)=>Q==="auto",parse:(Q)=>Q};var H7=(Q)=>(J)=>J.test(Q);var f8=[h0,L,z0,M0,w8,N8,P4],v8=(Q)=>f8.find(H7(Q));function E4(Q){if(typeof Q==="number")return Q===0;else if(Q!==null)return Q==="none"||Q==="0"||S5(Q);else return!0}var MH=new Set(["brightness","contrast","saturate","opacity"]);function PH(Q){let[J,Z]=Q.slice(0,-1).split("(");if(J==="drop-shadow")return Q;let[Y]=Z.match(e1)||[];if(!Y)return Q;let X=Z.replace(Y,""),$=MH.has(J)?1:0;if(Y!==Z)$*=100;return J+"("+$+X+")"}var EH=/\b([a-z-]*)\(.*?\)/gu,s5={...q0,getAnimatableNone:(Q)=>{let J=Q.match(EH);return J?J.map(PH).join(" "):Q}};var o5={...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 g8={...h0,transform:Math.round};var S4={rotate:M0,rotateX:M0,rotateY:M0,rotateZ:M0,scale:d5,scaleX:d5,scaleY:d5,scaleZ:d5,skew:M0,skewX:M0,skewY:M0,distance:L,translateX:L,translateY:L,translateZ:L,x:L,y:L,z:L,perspective:L,transformPerspective:L,opacity:i0,originX:d6,originY:d6,originZ:L};var W5={borderWidth:L,borderTopWidth:L,borderRightWidth:L,borderBottomWidth:L,borderLeftWidth:L,borderRadius:L,borderTopLeftRadius:L,borderTopRightRadius:L,borderBottomRightRadius:L,borderBottomLeftRadius:L,width:L,maxWidth:L,height:L,maxHeight:L,top:L,right:L,bottom:L,left:L,inset:L,insetBlock:L,insetBlockStart:L,insetBlockEnd:L,insetInline:L,insetInlineStart:L,insetInlineEnd:L,padding:L,paddingTop:L,paddingRight:L,paddingBottom:L,paddingLeft:L,paddingBlock:L,paddingBlockStart:L,paddingBlockEnd:L,paddingInline:L,paddingInlineStart:L,paddingInlineEnd:L,margin:L,marginTop:L,marginRight:L,marginBottom:L,marginLeft:L,marginBlock:L,marginBlockStart:L,marginBlockEnd:L,marginInline:L,marginInlineStart:L,marginInlineEnd:L,fontSize:L,backgroundPositionX:L,backgroundPositionY:L,...S4,zIndex:g8,fillOpacity:i0,strokeOpacity:i0,numOctaves:g8};var SH={...W5,color:m,backgroundColor:m,outlineColor:m,fill:m,stroke:m,borderColor:m,borderTopColor:m,borderRightColor:m,borderBottomColor:m,borderLeftColor:m,filter:s5,WebkitFilter:s5,mask:o5,WebkitMask:o5},W7=(Q)=>SH[Q];var kH=new Set([s5,o5]);function z7(Q,J){let Z=W7(Q);if(!kH.has(Z))Z=q0;return Z.getAnimatableNone?Z.getAnimatableNone(J):void 0}var jH=new Set(["auto","none","0"]);function k4(Q,J,Z){let Y=0,X=void 0;while(Y<Q.length&&!X){let $=Q[Y];if(typeof $==="string"&&!jH.has($)&&V1($).values.length)X=Q[Y];Y++}if(X&&Z)for(let $ of J)Q[$]=z7(Z,X)}class d8 extends E1{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 G=0;G<Q.length;G++){let z=Q[G];if(typeof z==="string"){if(z=z.trim(),t1(z)){let K=y8(z,J.current);if(K!==void 0)Q[G]=K;if(G===Q.length-1)this.finalKeyframe=z}}}if(this.resolveNoneKeyframes(),!Y7.has(Z)||Q.length!==2)return;let[Y,X]=Q,$=v8(Y),q=v8(X),H=D8(Y),W=D8(X);if(H!==W&&s0[Z]){this.needsMeasurement=!0;return}if($===q)return;if(P8($)&&P8(q))for(let G=0;G<Q.length;G++){let z=Q[G];if(typeof z==="string")Q[G]=parseFloat(z)}else if(s0[Z])this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:Q,name:J}=this,Z=[];for(let Y=0;Y<Q.length;Y++)if(Q[Y]===null||E4(Q[Y]))Z.push(Y);if(Z.length)k4(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=s0[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]=s0[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 j4=new Set(["opacity","clipPath","filter","transform"]);function G7(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 K7=(Q,J)=>{return J&&typeof Q==="number"?J.transform(Q):Q};function z5(Q){return E5(Q)&&"offsetHeight"in Q}var{schedule:b1,cancel:bH}=y6(queueMicrotask,!1);var I0={x:!1,y:!1};function B7(){return I0.x||I0.y}function u8(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 F7(Q,J){let Z=G7(Q),Y=new AbortController,X={passive:!0,...J,signal:Y.signal};return[Z,X,()=>Y.abort()]}function RH(Q){return!(Q.pointerType==="touch"||B7())}function c8(Q,J,Z={}){let[Y,X,$]=F7(Q,Z);return Y.forEach((q)=>{let H=!1,W=!1,G,z=()=>{q.removeEventListener("pointerleave",U)},K=(_)=>{if(G)G(_),G=void 0;z()},B=(_)=>{if(H=!1,window.removeEventListener("pointerup",B),window.removeEventListener("pointercancel",B),W)W=!1,K(_)},O=()=>{H=!0,window.addEventListener("pointerup",B,X),window.addEventListener("pointercancel",B,X)},U=(_)=>{if(_.pointerType==="touch")return;if(H){W=!0;return}K(_)},D=(_)=>{if(!RH(_))return;W=!1;let N=J(q,_);if(typeof N!=="function")return;G=N,q.addEventListener("pointerleave",U,X)};q.addEventListener("pointerenter",D,X),q.addEventListener("pointerdown",O,X)}),$}var p8=(Q,J)=>{if(!J)return!1;else if(Q===J)return!0;else return p8(Q,J.parentElement)};var R1=(Q)=>{if(Q.pointerType==="mouse")return typeof Q.button!=="number"||Q.button<=0;else return Q.isPrimary!==!1};var CH=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function m8(Q){return CH.has(Q.tagName)||Q.isContentEditable===!0}var hH=new Set(["INPUT","SELECT","TEXTAREA"]);function l8(Q){return hH.has(Q.tagName)||Q.isContentEditable===!0}var G5=new WeakSet;function b4(Q){return(J)=>{if(J.key!=="Enter")return;Q(J)}}function r8(Q,J){Q.dispatchEvent(new PointerEvent("pointer"+J,{isPrimary:!0,bubbles:!0}))}var R4=(Q,J)=>{let Z=Q.currentTarget;if(!Z)return;let Y=b4(()=>{if(G5.has(Z))return;r8(Z,"down");let X=b4(()=>{r8(Z,"up")}),$=()=>r8(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 C4(Q){return R1(Q)&&!B7()}var h4=new WeakSet;function i8(Q,J,Z={}){let[Y,X,$]=F7(Q,Z),q=(H)=>{let W=H.currentTarget;if(!C4(H))return;if(h4.has(H))return;if(G5.add(W),Z.stopPropagation)h4.add(H);let G=J(W,H),z=(O,U)=>{if(window.removeEventListener("pointerup",K),window.removeEventListener("pointercancel",B),G5.has(W))G5.delete(W);if(!C4(O))return;if(typeof G==="function")G(O,{success:U})},K=(O)=>{z(O,W===window||W===document||Z.useGlobalTarget||p8(W,O.target))},B=(O)=>{z(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),z5(H)){if(H.addEventListener("focus",(G)=>R4(G,X)),!m8(H)&&!H.hasAttribute("tabindex"))H.tabIndex=0}}),$}function K5(Q){return E5(Q)&&"ownerSVGElement"in Q}var O7=new WeakMap,U7,x4=(Q,J,Z)=>(Y,X)=>{if(X&&X[0])return X[0][Q+"Size"];else if(K5(Y)&&"getBBox"in Y)return Y.getBBox()[J];else return Y[Z]},xH=x4("inline","width","offsetWidth"),yH=x4("block","height","offsetHeight");function fH({target:Q,borderBoxSize:J}){O7.get(Q)?.forEach((Z)=>{Z(Q,{get width(){return xH(Q,J)},get height(){return yH(Q,J)}})})}function vH(Q){Q.forEach(fH)}function gH(){if(typeof ResizeObserver>"u")return;U7=new ResizeObserver(vH)}function y4(Q,J){if(!U7)gH();let Z=G7(Q);return Z.forEach((Y)=>{let X=O7.get(Y);if(!X)X=new Set,O7.set(Y,X);X.add(J),U7?.observe(Y)}),()=>{Z.forEach((Y)=>{let X=O7.get(Y);if(X?.delete(J),!X?.size)U7?.unobserve(Y)})}}var D7=new Set,B5;function dH(){B5=()=>{let Q={get width(){return window.innerWidth},get height(){return window.innerHeight}};D7.forEach((J)=>J(Q))},window.addEventListener("resize",B5)}function f4(Q){if(D7.add(Q),!B5)dH();return()=>{if(D7.delete(Q),!D7.size&&typeof B5==="function")window.removeEventListener("resize",B5),B5=void 0}}function _7(Q,J){return typeof Q==="function"?f4(Q):y4(Q,J)}function v4(Q){return K5(Q)&&Q.tagName==="svg"}var uH=[...f8,m,q0],g4=(Q)=>uH.find(H7(Q));var s8=()=>({translate:0,scale:1,origin:0,originPoint:0}),z1=()=>({x:s8(),y:s8()}),o8=()=>({min:0,max:0}),l=()=>({x:o8(),y:o8()});var d4=new WeakMap;function o0(Q){return Q!==null&&typeof Q==="object"&&typeof Q.start==="function"}function v0(Q){return typeof Q==="string"||Array.isArray(Q)}var N7=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],n5=["initial",...N7];function G1(Q){return o0(Q.animate)||n5.some((J)=>v0(Q[J]))}function a5(Q){return Boolean(G1(Q)||Q.variants)}function u4(Q,J,Z){for(let Y in J){let X=J[Y],$=Z[Y];if(u(X))Q.addValue(Y,X);else if(u($))Q.addValue(Y,P0(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,P0(q!==void 0?q:X,{owner:Q}))}}for(let Y in Z)if(J[Y]===void 0)Q.removeValue(Y);return J}var t5={current:null},w7={current:!1};var cH=typeof window<"u";function c4(){if(w7.current=!0,!cH)return;if(window.matchMedia){let Q=window.matchMedia("(prefers-reduced-motion)"),J=()=>t5.current=Q.matches;Q.addEventListener("change",J),J()}else t5.current=!1}var p4=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],I7={};function e5(Q){I7=Q}function n8(){return I7}class V7{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=E1,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,C.render(this.render,!1,!0)};let{latestValues:W,renderState:G}=q;if(this.latestValues=W,this.baseTarget={...W},this.initialValues=J.initial?{...W}:{},this.renderState=G,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=G1(J),this.isVariantNode=a5(J),this.isVariantNode)this.variantChildren=new Set;this.manuallyAnimateOnMount=Boolean(Q&&Q.current);let{willChange:z,...K}=this.scrapeMotionValuesFromProps(J,{},this);for(let B in K){let O=K[B];if(W[B]!==void 0&&u(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,d4.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(!w7.current)c4();this.shouldReduceMotion=t5.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(),U0(this.notifyUpdate),U0(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&&j4.has(Q)&&this.current instanceof HTMLElement){let{factory:$,keyframes:q,times:H,ease:W,duration:G}=J.accelerate,z=new m5({element:this.current,name:Q,keyframes:q,times:H,ease:W,duration:Q0(G)}),K=$(z);this.valueSubscriptions.set(Q,()=>{K(),z.cancel()});return}let Z=w0.has(Q);if(Z&&this.onBindTransform)this.onBindTransform();let Y=J.on("change",($)=>{if(this.latestValues[Q]=$,this.props.onUpdate&&C.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 I7){let J=I7[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<p4.length;Z++){let Y=p4[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=u4(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=P0(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"&&(P5(Z)||S5(Z)))Z=parseFloat(Z);else if(!g4(Z)&&q0.test(J))Z=z7(Q,J);this.setBaseTarget(Q,u(Z)?Z.get():Z)}return u(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=j1(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&&!u(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 q1;return this.events[Q].add(J)}notify(Q,...J){if(this.events[Q])this.events[Q].notify(...J)}scheduleRenderMicrotask(){b1.render(this.render)}}class Q6 extends V7{constructor(){super(...arguments);this.KeyframeResolver=d8}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(u(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 J6({top:Q,left:J,right:Z,bottom:Y}){return{x:{min:J,max:Z},y:{min:Q,max:Y}}}function a8({x:Q,y:J}){return{top:J.min,right:Q.max,bottom:J.max,left:Q.min}}function t8(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 e8(Q){return Q===void 0||Q===1}function A7({scale:Q,scaleX:J,scaleY:Z}){return!e8(Q)||!e8(J)||!e8(Z)}function n0(Q){return A7(Q)||Q9(Q)||Q.z||Q.rotate||Q.rotateX||Q.rotateY||Q.skewX||Q.skewY}function Q9(Q){return m4(Q.x)||m4(Q.y)}function m4(Q){return Q&&Q!=="0%"}function Z6(Q,J,Z){let Y=Q-Z,X=J*Y;return Z+X}function l4(Q,J,Z,Y,X){if(X!==void 0)Q=Z6(Q,X,Y);return Z6(Q,Z,Y)+J}function J9(Q,J=0,Z=1,Y,X){Q.min=l4(Q.min,J,Z,Y,X),Q.max=l4(Q.max,J,Z,Y,X)}function Z9(Q,{x:J,y:Z}){J9(Q.x,J.translate,J.scale,J.originPoint),J9(Q.y,Z.translate,Z.scale,Z.originPoint)}var r4=0.999999999999,i4=1.0000000000001;function n4(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)C1(Q,{x:-$.scroll.offset.x,y:-$.scroll.offset.y});if(q)J.x*=q.x.scale,J.y*=q.y.scale,Z9(Q,q);if(Y&&n0($.latestValues))C1(Q,$.latestValues)}if(J.x<i4&&J.x>r4)J.x=1;if(J.y<i4&&J.y>r4)J.y=1}function K1(Q,J){Q.min=Q.min+J,Q.max=Q.max+J}function s4(Q,J,Z,Y,X=0.5){let $=y(Q.min,Q.max,X);J9(Q,J,Z,$,Y)}function o4(Q,J){if(typeof Q==="string")return parseFloat(Q)/100*(J.max-J.min);return Q}function C1(Q,J){s4(Q.x,o4(J.x,Q.x),J.scaleX,J.scale,J.originX),s4(Q.y,o4(J.y,Q.y),J.scaleY,J.scale,J.originY)}function T7(Q,J){return J6(t8(Q.getBoundingClientRect(),J))}function Y9(Q,J,Z){let Y=T7(Q,Z),{scroll:X}=J;if(X)K1(Y.x,X.offset.x),K1(Y.y,X.offset.y);return Y}var pH={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},mH=y0.length;function a4(Q,J,Z){let Y="",X=!0;for(let $=0;$<mH;$++){let q=y0[$],H=Q[q];if(H===void 0)continue;let W=!0;if(typeof H==="number")W=H===(q.startsWith("scale")?1:0);else{let G=parseFloat(H);W=q.startsWith("scale")?G===1:G===0}if(!W||Z){let G=K7(H,W5[q]);if(!W){X=!1;let z=pH[q]||q;Y+=`${z}(${G}) `}if(Z)J[q]=G}}if(Y=Y.trim(),Z)Y=Z(J,X?"":Y);else if(X)Y="none";return Y}function h1(Q,J,Z){let{style:Y,vars:X,transformOrigin:$}=Q,q=!1,H=!1;for(let W in J){let G=J[W];if(w0.has(W)){q=!0;continue}else if(v6(W)){X[W]=G;continue}else{let z=K7(G,W5[W]);if(W.startsWith("origin"))H=!0,$[W]=z;else Y[W]=z}}if(!J.transform){if(q||Z)Y.transform=a4(J,Q.transform,Z);else if(Y.transform)Y.transform="none"}if(H){let{originX:W="50%",originY:G="50%",originZ:z=0}=$;Y.transformOrigin=`${W} ${G} ${z}`}}function L7(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 t4(Q,J){if(J.max===J.min)return 0;return Q/(J.max-J.min)*100}var F5={correct:(Q,J)=>{if(!J.target)return Q;if(typeof Q==="string")if(L.test(Q))Q=parseFloat(Q);else return Q;let Z=t4(Q,J.target.x),Y=t4(Q,J.target.y);return`${Z}% ${Y}%`}};var e4={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 G=y(H,W,0.5);if(typeof X[2+q]==="number")X[2+q]/=G;if(typeof X[3+q]==="number")X[3+q]/=G;return $(X)}};var Y6={borderRadius:{...F5,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:F5,borderTopRightRadius:F5,borderBottomLeftRadius:F5,borderBottomRightRadius:F5,boxShadow:e4};function X6(Q,{layout:J,layoutId:Z}){return w0.has(Q)||Q.startsWith("origin")||(J||Z!==void 0)&&(!!Y6[Q]||Q==="opacity")}function x1(Q,J,Z){let Y=Q.style,X=J?.style,$={};if(!Y)return $;for(let q in Y)if(u(Y[q])||X&&u(X[q])||X6(q,Q)||Z?.getValue(q)?.liveStyle!==void 0)$[q]=Y[q];return $}function lH(Q){return window.getComputedStyle(Q)}class M7 extends Q6{constructor(){super(...arguments);this.type="html",this.renderInstance=L7}readValueFromInstance(Q,J){if(w0.has(J))return this.projection?.isProjecting?o6(J):J4(Q,J);else{let Z=lH(Q),Y=(v6(J)?Z.getPropertyValue(J):Z[J])||0;return typeof Y==="string"?Y.trim():Y}}measureInstanceViewportBox(Q,{transformPagePoint:J}){return T7(Q,J)}build(Q,J,Z){h1(Q,J,Z.transformTemplate)}scrapeMotionValuesFromProps(Q,J,Z){return x1(Q,J,Z)}}var rH={offset:"stroke-dashoffset",array:"stroke-dasharray"},iH={offset:"strokeDashoffset",array:"strokeDasharray"};function QJ(Q,J,Z=1,Y=0,X=!0){Q.pathLength=1;let $=X?rH:iH;Q[$.offset]=`${-Y}`,Q[$.array]=`${J} ${Z}`}var sH=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function q6(Q,{attrX:J,attrY:Z,attrScale:Y,pathLength:X,pathSpacing:$=1,pathOffset:q=0,...H},W,G,z){if(h1(Q,H,G),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=z?.transformBox??"fill-box",delete K.transformBox;for(let O of sH)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)QJ(K,X,$,q,!1)}var P7=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 $6=(Q)=>typeof Q==="string"&&Q.toLowerCase()==="svg";function JJ(Q,J,Z,Y){L7(Q,J,void 0,Y);for(let X in J.attrs)Q.setAttribute(!P7.has(X)?H5(X):X,J.attrs[X])}function H6(Q,J,Z){let Y=x1(Q,J,Z);for(let X in Q)if(u(Q[X])||u(J[X])){let $=y0.indexOf(X)!==-1?"attr"+X.charAt(0).toUpperCase()+X.substring(1):X;Y[$]=Q[X]}return Y}class E7 extends Q6{constructor(){super(...arguments);this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=l}getBaseTargetFromProps(Q,J){return Q[J]}readValueFromInstance(Q,J){if(w0.has(J)){let Z=W7(J);return Z?Z.default||0:0}return J=!P7.has(J)?H5(J):J,Q.getAttribute(J)}scrapeMotionValuesFromProps(Q,J,Z){return H6(Q,J,Z)}build(Q,J,Z){q6(Q,J,this.isSVGTag,Z.transformTemplate,Z.style)}renderInstance(Q,J,Z,Y){JJ(Q,J,Z,Y)}mount(Q){this.isSVGTag=$6(Q.tagName),super.mount(Q)}}var oH=n5.length;function X9(Q){if(!Q)return;if(!Q.isControllingVariants){let Z=Q.parent?X9(Q.parent)||{}:{};if(Q.props.initial!==void 0)Z.initial=Q.props.initial;return Z}let J={};for(let Z=0;Z<oH;Z++){let Y=n5[Z],X=Q.props[Y];if(v0(X)||X===!1)J[Y]=X}return J}function q9(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 nH=[...N7].reverse(),aH=N7.length;function tH(Q){return(J)=>{return Promise.all(J.map(({animation:Z,options:Y})=>M4(Q,Z,Y)))}}function $9(Q){let J=tH(Q),Z=ZJ(),Y=!0,X=!1,$=(G)=>(z,K)=>{let B=f0(Q,K,G==="exit"?Q.presenceContext?.custom:void 0);if(B){let{transition:O,transitionEnd:U,...D}=B;z={...z,...D,...U}}return z};function q(G){J=G(Q)}function H(G){let{props:z}=Q,K=X9(Q.parent)||{},B=[],O=new Set,U={},D=1/0;for(let N=0;N<aH;N++){let A=nH[N],w=Z[A],V=z[A]!==void 0?z[A]:K[A],T=v0(V),M=A===G?w.isActive:null;if(M===!1)D=N;let j=V===K[A]&&V!==z[A]&&T;if(j&&(Y||X)&&Q.manuallyAnimateOnMount)j=!1;if(w.protectedKeys={...U},!w.isActive&&M===null||!V&&!w.prevProp||o0(V)||typeof V==="boolean")continue;if(A==="exit"&&w.isActive&&M!==!0){if(w.prevResolvedValues)U={...U,...w.prevResolvedValues};continue}let I=YJ(w.prevProp,V),S=I||A===G&&w.isActive&&!j&&T||N>D&&T,f=!1,o=Array.isArray(V)?V:[V],d=o.reduce($(A),{});if(M===!1)d={};let{prevResolvedValues:n={}}=w,c={...n,...d},t=(b)=>{if(S=!0,O.has(b))f=!0,O.delete(b);w.needsAnimating[b]=!0;let g=Q.getValue(b);if(g)g.liveStyle=!1};for(let b in c){let g=d[b],P=n[b];if(U.hasOwnProperty(b))continue;let m0=!1;if(r5(g)&&r5(P))m0=!q9(g,P);else m0=g!==P;if(m0)if(g!==void 0&&g!==null)t(b);else O.add(b);else if(g!==void 0&&O.has(b))t(b);else w.protectedKeys[b]=!0}if(w.prevProp=V,w.prevResolvedValues=d,w.isActive)U={...U,...d};if((Y||X)&&Q.blockInitialAnimation)S=!1;let v=j&&I;if(S&&(!v||f))B.push(...o.map((b)=>{let g={type:A};if(typeof b==="string"&&(Y||X)&&!v&&Q.manuallyAnimateOnMount&&Q.parent){let{parent:P}=Q,m0=f0(P,b);if(P.enteringChildren&&m0){let{delayChildren:V6}=m0.transition||{};g.delay=J7(P.enteringChildren,Q,V6)}}return{animation:b,options:g}}))}if(O.size){let N={};if(typeof z.initial!=="boolean"){let A=f0(Q,Array.isArray(z.initial)?z.initial[0]:z.initial);if(A&&A.transition)N.transition=A.transition}O.forEach((A)=>{let w=Q.getBaseTarget(A),V=Q.getValue(A);if(V)V.liveStyle=!0;N[A]=w??null}),B.push({animation:N})}let _=Boolean(B.length);if(Y&&(z.initial===!1||z.initial===z.animate)&&!Q.manuallyAnimateOnMount)_=!1;return Y=!1,X=!1,_?J(B):Promise.resolve()}function W(G,z){if(Z[G].isActive===z)return Promise.resolve();Q.variantChildren?.forEach((B)=>B.animationState?.setActive(G,z)),Z[G].isActive=z;let K=H(G);for(let B in Z)Z[B].protectedKeys={};return K}return{animateChanges:H,setActive:W,setAnimateFunction:q,getState:()=>Z,reset:()=>{Z=ZJ(),X=!0}}}function YJ(Q,J){if(typeof J==="string")return J!==Q;else if(Array.isArray(J))return!q9(J,Q);return!1}function y1(Q=!1){return{isActive:Q,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ZJ(){return{animate:y1(!0),whileInView:y1(),whileHover:y1(),whileTap:y1(),whileDrag:y1(),whileFocus:y1(),exit:y1()}}function XJ(Q,J){Q.min=J.min,Q.max=J.max}function V0(Q,J){XJ(Q.x,J.x),XJ(Q.y,J.y)}function H9(Q,J){Q.translate=J.translate,Q.scale=J.scale,Q.originPoint=J.originPoint,Q.origin=J.origin}var qJ=0.0001,eH=1-qJ,QW=1+qJ,$J=0.01,JW=0-$J,ZW=0+$J;function J0(Q){return Q.max-Q.min}function K9(Q,J,Z){return Math.abs(Q-J)<=Z}function W9(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>=eH&&Q.scale<=QW||isNaN(Q.scale))Q.scale=1;if(Q.translate>=JW&&Q.translate<=ZW||isNaN(Q.translate))Q.translate=0}function f1(Q,J,Z,Y){W9(Q.x,J.x,Z.x,Y?Y.originX:void 0),W9(Q.y,J.y,Z.y,Y?Y.originY:void 0)}function z9(Q,J,Z){Q.min=Z.min+J.min,Q.max=Q.min+J0(J)}function B9(Q,J,Z){z9(Q.x,J.x,Z.x),z9(Q.y,J.y,Z.y)}function G9(Q,J,Z){Q.min=J.min-Z.min,Q.max=Q.min+J0(J)}function O5(Q,J,Z){G9(Q.x,J.x,Z.x),G9(Q.y,J.y,Z.y)}function HJ(Q,J,Z,Y,X){if(Q-=J,Q=Z6(Q,1/Z,Y),X!==void 0)Q=Z6(Q,1/X,Y);return Q}function YW(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=HJ(Q.min,J,Z,H,X),Q.max=HJ(Q.max,J,Z,H,X)}function WJ(Q,J,[Z,Y,X],$,q){YW(Q,J[Z],J[Y],J[X],J.scale,$,q)}var XW=["x","scaleX","originX"],qW=["y","scaleY","originY"];function F9(Q,J,Z,Y){WJ(Q.x,J,XW,Z?Z.x:void 0,Y?Y.x:void 0),WJ(Q.y,J,qW,Z?Z.y:void 0,Y?Y.y:void 0)}function zJ(Q){return Q.translate===0&&Q.scale===1}function O9(Q){return zJ(Q.x)&&zJ(Q.y)}function GJ(Q,J){return Q.min===J.min&&Q.max===J.max}function BJ(Q,J){return GJ(Q.x,J.x)&&GJ(Q.y,J.y)}function KJ(Q,J){return Math.round(Q.min)===Math.round(J.min)&&Math.round(Q.max)===Math.round(J.max)}function U9(Q,J){return KJ(Q.x,J.x)&&KJ(Q.y,J.y)}function D9(Q){return J0(Q.x)/J0(Q.y)}function _9(Q,J){return Q.translate===J.translate&&Q.scale===J.scale&&Q.originPoint===J.originPoint}function N0(Q){return[Q("x"),Q("y")]}function FJ(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:G,rotate:z,rotateX:K,rotateY:B,skewX:O,skewY:U}=Z;if(G)Y=`perspective(${G}px) ${Y}`;if(z)Y+=`rotate(${z}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 _J=["TopLeft","TopRight","BottomLeft","BottomRight"],$W=_J.length,OJ=(Q)=>typeof Q==="string"?parseFloat(Q):Q,UJ=(Q)=>typeof Q==="number"||L.test(Q);function NJ(Q,J,Z,Y,X,$){if(X)Q.opacity=y(0,Z.opacity??1,HW(Y)),Q.opacityExit=y(J.opacity??1,0,WW(Y));else if($)Q.opacity=y(J.opacity??1,Z.opacity??1,Y);for(let q=0;q<$W;q++){let H=`border${_J[q]}Radius`,W=DJ(J,H),G=DJ(Z,H);if(W===void 0&&G===void 0)continue;if(W||(W=0),G||(G=0),W===0||G===0||UJ(W)===UJ(G)){if(Q[H]=Math.max(y(OJ(W),OJ(G),Y),0),z0.test(G)||z0.test(W))Q[H]+="%"}else Q[H]=G}if(J.rotate||Z.rotate)Q.rotate=y(J.rotate||0,Z.rotate||0,Y)}function DJ(Q,J){return Q[J]!==void 0?Q[J]:Q.borderRadius}var HW=wJ(0,0.5,h5),WW=wJ(0.5,0.95,i);function wJ(Q,J,Z){return(Y)=>{if(Y<Q)return 0;if(Y>J)return 1;return Z(R0(Q,J,Y))}}function IJ(Q,J,Z){let Y=u(Q)?Q:P0(Q);return Y.start(k1("",Y,J,Z)),Y.animation}function g0(Q,J,Z,Y={passive:!0}){return Q.addEventListener(J,Z,Y),()=>Q.removeEventListener(J,Z)}var VJ=(Q,J)=>Q.depth-J.depth;class N9{constructor(){this.children=[],this.isDirty=!1}add(Q){I1(this.children,Q),this.isDirty=!0}remove(Q){X1(this.children,Q),this.isDirty=!0}forEach(Q){this.isDirty&&this.children.sort(VJ),this.isDirty=!1,this.children.forEach(Q)}}function AJ(Q,J){let Z=s.now(),Y=({timestamp:X})=>{let $=X-Z;if($>=J)U0(Y),Q($-J)};return C.setup(Y,!0),()=>U0(Y)}function v1(Q){return u(Q)?Q.get():Q}class w9{constructor(){this.members=[]}add(Q){I1(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)X1(this.members,Z),Z.unmount()}Q.scheduleRender()}remove(Q){if(X1(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 g1={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var d1={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},I9=["","X","Y","Z"],zW=1000,GW=0;function V9(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 bJ(Q){if(Q.hasCheckedOptimisedAppear=!0,Q.root===Q)return;let{visualElement:J}=Q.options;if(!J)return;let Z=X7(J);if(window.MotionHasOptimisedAnimation(Z,"transform")){let{layout:X,layoutId:$}=Q.options;window.MotionCancelOptimisedAnimation(Z,"transform",C,!(X||$))}let{parent:Y}=Q;if(Y&&!Y.hasCheckedOptimisedAppear)bJ(Y)}function S7({attachResizeListener:Q,defaultParent:J,measureScroll:Z,checkIsScrollRoot:Y,resetTransform:X}){return class{constructor(q={},H=J?.()){this.id=GW++,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,_0.value)d1.nodes=d1.calculatedTargetDeltas=d1.calculatedProjections=0;if(this.nodes.forEach(FW),this.nodes.forEach(_W),this.nodes.forEach(NW),this.nodes.forEach(OW),_0.addProjectionMetrics)_0.addProjectionMetrics(d1)},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 N9}addEventListener(q,H){if(!this.eventHandlers.has(q))this.eventHandlers.set(q,new q1);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=K5(q)&&!v4(q),this.instance=q;let{layoutId:H,layout:W,visualElement:G}=this.options;if(G&&!G.current)G.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 z,K=0,B=()=>this.root.updateBlockedByResize=!1;C.read(()=>{K=window.innerWidth}),Q(q,()=>{let O=window.innerWidth;if(O===K)return;if(K=O,this.root.updateBlockedByResize=!0,z&&z(),z=AJ(B,250),g1.hasAnimatedSinceResize)g1.hasAnimatedSinceResize=!1,this.nodes.forEach(MJ)})}if(H)this.root.registerSharedNode(H,this);if(this.options.animate!==!1&&G&&(H||W))this.addEventListener("didUpdate",({delta:z,hasLayoutChanged:K,hasRelativeLayoutChanged:B,layout:O})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let U=this.options.transition||G.getDefaultTransition()||TW,{onLayoutAnimationStart:D,onLayoutAnimationComplete:_}=G.getProps(),N=!this.targetLayout||!U9(this.targetLayout,O),A=!K&&B;if(this.options.layoutRoot||this.resumeFrom||A||K&&(N||!this.currentAnimation)){if(this.resumeFrom)this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0;let w={...q5(U,"layout"),onPlay:D,onComplete:_};if(G.shouldReduceMotion||this.options.layoutRoot)w.delay=0,w.type=!1;this.startAnimation(w),this.setAnimationOrigin(z,A)}else{if(!K)MJ(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(),U0(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(wW),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)bJ(this);if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let z=0;z<this.path.length;z++){let K=this.path[z];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 G=this.getTransformTemplate();this.prevTransformTemplateValue=G?G(this.latestValues,""):void 0,this.updateSnapshot(),q&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(TJ);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(LJ);return}if(this.animationCommitId=this.animationId,!this.isUpdating)this.nodes.forEach(LJ);else this.isUpdating=!1,this.nodes.forEach(DW),this.nodes.forEach(KW),this.nodes.forEach(BW);this.clearAllSnapshots();let H=s.now();a.delta=e(0,16.666666666666668,H-a.timestamp),a.timestamp=H,a.isProcessing=!0,g5.update.process(a),g5.preRender.process(a),g5.render.process(a),a.isProcessing=!1}didUpdate(){if(!this.updateScheduled)this.updateScheduled=!0,b1.read(this.scheduleUpdate)}clearAllSnapshots(){this.nodes.forEach(UW),this.sharedNodes.forEach(IW)}scheduleUpdateProjection(){if(!this.projectionUpdateScheduled)this.projectionUpdateScheduled=!0,C.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){C.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&&!O9(this.projectionDelta),W=this.getTransformTemplate(),G=W?W(this.latestValues,""):void 0,z=G!==this.prevTransformTemplateValue;if(q&&this.instance&&(H||n0(this.latestValues)||z))X(this.instance,G),this.shouldResetTransform=!1,this.scheduleRender()}measure(q=!0){let H=this.measurePageBox(),W=this.removeElementScroll(H);if(q)W=this.removeTransform(W);return LW(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(MW))){let{scroll:G}=this.root;if(G)K1(H.x,G.offset.x),K1(H.y,G.offset.y)}return H}removeElementScroll(q){let H=l();if(V0(H,q),this.scroll?.wasRoot)return H;for(let W=0;W<this.path.length;W++){let G=this.path[W],{scroll:z,options:K}=G;if(G!==this.root&&z&&K.layoutScroll){if(z.wasRoot)V0(H,q);K1(H.x,z.offset.x),K1(H.y,z.offset.y)}}return H}applyTransform(q,H=!1){let W=l();V0(W,q);for(let G=0;G<this.path.length;G++){let z=this.path[G];if(!H&&z.options.layoutScroll&&z.scroll&&z!==z.root)C1(W,{x:-z.scroll.offset.x,y:-z.scroll.offset.y});if(!n0(z.latestValues))continue;C1(W,z.latestValues)}if(n0(this.latestValues))C1(W,this.latestValues);return W}removeTransform(q){let H=l();V0(H,q);for(let W=0;W<this.path.length;W++){let G=this.path[W];if(!G.instance)continue;if(!n0(G.latestValues))continue;A7(G.latestValues)&&G.updateSnapshot();let z=l(),K=G.measurePageBox();V0(z,K),F9(H,G.latestValues,G.snapshot?G.snapshot.layoutBox:void 0,z)}if(n0(this.latestValues))F9(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:z,layoutId:K}=this.options;if(!this.layout||!(z||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(),B9(this.target,this.relativeTarget,this.relativeParent.target);else if(this.targetDelta){if(Boolean(this.resumingFrom))this.target=this.applyTransform(this.layout.layoutBox);else V0(this.target,this.layout.layoutBox);Z9(this.target,this.targetDelta)}else V0(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(_0.value)d1.calculatedTargetDeltas++}getClosestProjectingParent(){if(!this.parent||A7(this.parent.latestValues)||Q9(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(),O5(this.relativeTargetOrigin,H,W),V0(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:G,layoutId:z}=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||!(G||z))return;V0(this.layoutCorrected,this.layout.layoutBox);let K=this.treeScale.x,B=this.treeScale.y;if(n4(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 H9(this.prevProjectionDelta.x,this.projectionDelta.x),H9(this.prevProjectionDelta.y,this.projectionDelta.y);if(f1(this.projectionDelta,this.layoutCorrected,O,this.latestValues),this.treeScale.x!==K||this.treeScale.y!==B||!_9(this.projectionDelta.x,this.prevProjectionDelta.x)||!_9(this.projectionDelta.y,this.prevProjectionDelta.y))this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",O);if(_0.value)d1.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=z1(),this.projectionDelta=z1(),this.projectionDeltaWithTransform=z1()}setAnimationOrigin(q,H=!1){let W=this.snapshot,G=W?W.latestValues:{},z={...this.latestValues},K=z1();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,D=O!==U,_=this.getStack(),N=!_||_.members.length<=1,A=Boolean(D&&!N&&this.options.crossfade===!0&&!this.path.some(AW));this.animationProgress=0;let w;this.mixTargetDelta=(V)=>{let T=V/1000;if(PJ(K.x,q.x,T),PJ(K.y,q.y,T),this.setTargetDelta(K),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){if(O5(B,this.layout.layoutBox,this.relativeParent.layout.layoutBox),VW(this.relativeTarget,this.relativeTargetOrigin,B,T),w&&BJ(this.relativeTarget,w))this.isProjectionDirty=!1;if(!w)w=l();V0(w,this.relativeTarget)}if(D)this.animationValues=z,NJ(z,G,this.latestValues,T,A,N);this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=T},this.mixTargetDelta(this.options.layoutRoot?1000:0)}startAnimation(q){if(this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation)U0(this.pendingAnimation),this.pendingAnimation=void 0;this.pendingAnimation=C.update(()=>{if(g1.hasAnimatedSinceResize=!0,C0.layout++,this.motionValue||(this.motionValue=P0(0)),this.motionValue.jump(0,!1),this.currentAnimation=IJ(this.motionValue,[0,1000],{...q,velocity:0,isSync:!0,onUpdate:(H)=>{this.mixTargetDelta(H),q.onUpdate&&q.onUpdate(H)},onStop:()=>{C0.layout--},onComplete:()=>{C0.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(zW),this.currentAnimation.stop();this.completeAnimation()}applyTransformsToTarget(){let q=this.getLead(),{targetWithTransforms:H,target:W,layout:G,latestValues:z}=q;if(!H||!W||!G)return;if(this!==q&&this.layout&&G&&RJ(this.options.animationType,this.layout.layoutBox,G.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}V0(H,W),C1(H,z),f1(this.projectionDeltaWithTransform,this.layoutCorrected,H,z)}registerSharedNode(q,H){if(!this.sharedNodes.has(q))this.sharedNodes.set(q,new w9);this.sharedNodes.get(q).add(H);let G=H.options.initialPromotionConfig;H.promote({transition:G?G.transition:void 0,preserveFollowOpacity:G&&G.shouldPreserveFollowOpacity?G.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 G=this.getStack();if(G)G.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 G={};if(W.z)V9("z",q,G,this.animationValues);for(let z=0;z<I9.length;z++)V9(`rotate${I9[z]}`,q,G,this.animationValues),V9(`skew${I9[z]}`,q,G,this.animationValues);q.render();for(let z in G)if(q.setStaticValue(z,G[z]),this.animationValues)this.animationValues[z]=G[z];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=v1(H?.pointerEvents)||"",q.transform=W?W(this.latestValues,""):"none";return}let G=this.getLead();if(!this.projectionDelta||!this.layout||!G.target){if(this.options.layoutId)q.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,q.pointerEvents=v1(H?.pointerEvents)||"";if(this.hasProjected&&!n0(this.latestValues))q.transform=W?W({},""):"none",this.hasProjected=!1;return}q.visibility="";let z=G.animationValues||G.latestValues;this.applyTransformsToTarget();let K=FJ(this.projectionDeltaWithTransform,this.treeScale,z);if(W)K=W(z,K);q.transform=K;let{x:B,y:O}=this.projectionDelta;if(q.transformOrigin=`${B.origin*100}% ${O.origin*100}% 0`,G.animationValues)q.opacity=G===this?z.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:z.opacityExit;else q.opacity=G===this?z.opacity!==void 0?z.opacity:"":z.opacityExit!==void 0?z.opacityExit:0;for(let U in Y6){if(z[U]===void 0)continue;let{correct:D,applyTo:_,isCSSVariable:N}=Y6[U],A=K==="none"?z[U]:D(z[U],G);if(_){let w=_.length;for(let V=0;V<w;V++)q[_[V]]=A}else if(N)this.options.visualElement.renderState.vars[U]=A;else q[U]=A}if(this.options.layoutId)q.pointerEvents=G===this?v1(H?.pointerEvents)||"":"none"}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((q)=>q.currentAnimation?.stop()),this.root.nodes.forEach(TJ),this.root.sharedNodes.clear()}}}function KW(Q){Q.updateLayout()}function BW(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")N0((z)=>{let K=$?J.measuredBox[z]:J.layoutBox[z],B=J0(K);K.min=Z[z].min,K.max=K.min+B});else if(RJ(X,J.layoutBox,Z))N0((z)=>{let K=$?J.measuredBox[z]:J.layoutBox[z],B=J0(Z[z]);if(K.max=K.min+B,Q.relativeTarget&&!Q.currentAnimation)Q.isProjectionDirty=!0,Q.relativeTarget[z].max=Q.relativeTarget[z].min+B});let q=z1();f1(q,Z,J.layoutBox);let H=z1();if($)f1(H,Q.applyTransform(Y,!0),J.measuredBox);else f1(H,Z,J.layoutBox);let W=!O9(q),G=!1;if(!Q.resumeFrom){let z=Q.getClosestProjectingParent();if(z&&!z.resumeFrom){let{snapshot:K,layout:B}=z;if(K&&B){let O=l();O5(O,J.layoutBox,K.layoutBox);let U=l();if(O5(U,Z,B.layoutBox),!U9(O,U))G=!0;if(z.options.layoutRoot)Q.relativeTarget=U,Q.relativeTargetOrigin=O,Q.relativeParent=z}}}Q.notifyListeners("didUpdate",{layout:Z,snapshot:J,delta:H,layoutDelta:q,hasLayoutChanged:W,hasRelativeLayoutChanged:G})}else if(Q.isLead()){let{onExitComplete:Z}=Q.options;Z&&Z()}Q.options.transition=void 0}function FW(Q){if(_0.value)d1.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 OW(Q){Q.isProjectionDirty=Q.isSharedProjectionDirty=Q.isTransformDirty=!1}function UW(Q){Q.clearSnapshot()}function TJ(Q){Q.clearMeasurements()}function LJ(Q){Q.isLayoutDirty=!1}function DW(Q){let{visualElement:J}=Q.options;if(J&&J.getProps().onBeforeLayoutMeasure)J.notify("BeforeLayoutMeasure");Q.resetTransform()}function MJ(Q){Q.finishAnimation(),Q.targetDelta=Q.relativeTarget=Q.target=void 0,Q.isProjectionDirty=!0}function _W(Q){Q.resolveTargetDelta()}function NW(Q){Q.calcProjection()}function wW(Q){Q.resetSkewAndRotation()}function IW(Q){Q.removeLeadSnapshot()}function PJ(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 EJ(Q,J,Z,Y){Q.min=y(J.min,Z.min,Y),Q.max=y(J.max,Z.max,Y)}function VW(Q,J,Z,Y){EJ(Q.x,J.x,Z.x,Y),EJ(Q.y,J.y,Z.y,Y)}function AW(Q){return Q.animationValues&&Q.animationValues.opacityExit!==void 0}var TW={duration:0.45,ease:[0.4,0,0.1,1]},SJ=(Q)=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(Q),kJ=SJ("applewebkit/")&&!SJ("chrome/")?Math.round:i;function jJ(Q){Q.min=kJ(Q.min),Q.max=kJ(Q.max)}function LW(Q){jJ(Q.x),jJ(Q.y)}function RJ(Q,J,Z){return Q==="position"||Q==="preserve-aspect"&&!K9(D9(J),D9(Z),0.2)}function MW(Q){return Q!==Q.root&&Q.scroll?.wasRoot}var CJ=S7({attachResizeListener:(Q,J)=>g0(Q,"resize",J),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0});var PW=(Q)=>!Q.isLayoutDirty&&Q.willUpdate(!1);function k7(){let Q=new Set,J=new WeakMap,Z=()=>Q.forEach(PW);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 j7={current:void 0},W6=S7({measureScroll:(Q)=>({x:Q.scrollLeft,y:Q.scrollTop}),defaultParent:()=>{if(!j7.current){let Q=new CJ({});Q.mount(window),Q.setOptions({layoutScroll:!0}),j7.current=Q}return j7.current},resetTransform:(Q,J)=>{Q.style.transform=J!==void 0?J:"none"},checkIsScrollRoot:(Q)=>Boolean(window.getComputedStyle(Q).position==="fixed")});var xJ=R(x(),1);var hJ=["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 U5(Q){if(typeof Q!=="string"||Q.includes("-"))return!1;else if(hJ.indexOf(Q)>-1||/[A-Z]/u.test(Q))return!0;return!1}var yJ=(Q,J)=>{return J.isSVG??U5(Q)?new E7(J):new M7(J,{allowProjection:Q!==xJ.Fragment})};var v7=R(l0(),1);var V5=R(x(),1);var fJ=R(x(),1),a0=fJ.createContext({});var vJ=R(x(),1),b7=vJ.createContext({strict:!1});var gJ=R(x(),1),D5=gJ.createContext({transformPagePoint:(Q)=>Q,isStatic:!1,reducedMotion:"never"});var dJ=R(x(),1),B1=dJ.createContext({});var R7=R(x(),1);function uJ(Q,J){if(G1(Q)){let{initial:Z,animate:Y}=Q;return{initial:Z===!1||v0(Z)?Z:void 0,animate:v0(Y)?Y:void 0}}return Q.inherit!==!1?J:{}}function pJ(Q){let{initial:J,animate:Z}=uJ(Q,R7.useContext(B1));return R7.useMemo(()=>({initial:J,animate:Z}),[cJ(J),cJ(Z)])}function cJ(Q){return Array.isArray(Q)?Q.join(" "):Q}var N5=R(x(),1);var mJ=R(x(),1);var _5=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function A9(Q,J,Z){for(let Y in J)if(!u(J[Y])&&!X6(Y,Z))Q[Y]=J[Y]}function EW({transformTemplate:Q},J){return mJ.useMemo(()=>{let Z=_5();return h1(Z,J,Q),Object.assign({},Z.vars,Z.style)},[J])}function SW(Q,J){let Z=Q.style||{},Y={};return A9(Y,Z,Q),Object.assign(Y,EW(Q,J)),Y}function lJ(Q,J){let Z={},Y=SW(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 rJ=R(x(),1);var C7=()=>({..._5(),attrs:{}});function iJ(Q,J,Z,Y){let X=rJ.useMemo(()=>{let $=C7();return q6($,J,$6(Y),Q.transformTemplate,Q.style),{...$.attrs,style:{...$.style}}},[J]);if(Q.style){let $={};A9($,Q.style,Q),X.style={...$,...X.style}}return X}var kW=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 z6(Q){return Q.startsWith("while")||Q.startsWith("drag")&&Q!=="draggable"||Q.startsWith("layout")||Q.startsWith("onTap")||Q.startsWith("onPan")||Q.startsWith("onLayout")||kW.has(Q)}var sJ=(Q)=>!z6(Q);function bW(Q){if(typeof Q!=="function")return;sJ=(J)=>J.startsWith("on")?!z6(J):Q(J)}try{bW((()=>{throw new Error("Cannot require module "+"@emotion/is-prop-valid");})().default)}catch{}function oJ(Q,J,Z){let Y={};for(let X in Q){if(X==="values"&&typeof Q.values==="object")continue;if(sJ(X)||Z===!0&&z6(X)||!J&&!z6(X)||Q.draggable&&X.startsWith("onDrag"))Y[X]=Q[X]}return Y}function nJ(Q,J,Z,{latestValues:Y},X,$=!1,q){let W=(q??U5(Q)?iJ:lJ)(J,Y,X,Q),G=oJ(J,typeof Q==="string",$),z=Q!==N5.Fragment?{...G,...W,ref:Z}:{},{children:K}=J,B=N5.useMemo(()=>u(K)?K.get():K,[K]);return N5.createElement(Q,{...z,children:B})}var T9=R(x(),1);var aJ=R(x(),1),F1=aJ.createContext(null);var tJ=R(x(),1);function w5(Q){let J=tJ.useRef(null);if(J.current===null)J.current=Q();return J.current}function RW({scrapeMotionValuesFromProps:Q,createRenderState:J},Z,Y,X){return{latestValues:CW(Z,Y,X,Q),renderState:J()}}function CW(Q,J,Z,Y){let X={},$=Y(Q,{});for(let B in $)X[B]=v1($[B]);let{initial:q,animate:H}=Q,W=G1(Q),G=a5(Q);if(J&&G&&!W&&Q.inherit!==!1){if(q===void 0)q=J.initial;if(H===void 0)H=J.animate}let z=Z?Z.initial===!1:!1;z=z||q===!1;let K=z?H:q;if(K&&typeof K!=="boolean"&&!o0(K)){let B=Array.isArray(K)?K:[K];for(let O=0;O<B.length;O++){let U=j1(Q,B[O]);if(U){let{transitionEnd:D,transition:_,...N}=U;for(let A in N){let w=N[A];if(Array.isArray(w)){let V=z?w.length-1:0;w=w[V]}if(w!==null)X[A]=w}for(let A in D)X[A]=D[A]}}}return X}var h7=(Q)=>(J,Z)=>{let Y=T9.useContext(B1),X=T9.useContext(F1),$=()=>RW(Q,J,Y,X);return Z?$():w5($)};var eJ=h7({scrapeMotionValuesFromProps:x1,createRenderState:_5});var QZ=h7({scrapeMotionValuesFromProps:H6,createRenderState:C7});var JZ={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"]},ZZ=!1;function hW(){if(ZZ)return;let Q={};for(let J in JZ)Q[J]={isEnabled:(Z)=>JZ[J].some((Y)=>!!Z[Y])};e5(Q),ZZ=!0}function x7(){return hW(),n8()}function YZ(Q){let J=x7();for(let Z in Q)J[Z]={...J[Z],...Q[Z]};e5(J)}var XZ=Symbol.for("motionComponentSymbol");var u1=R(x(),1);function qZ(Q,J,Z){let Y=u1.useRef(Z);u1.useInsertionEffect(()=>{Y.current=Z});let X=u1.useRef(null);return u1.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=R(x(),1);var $Z=R(x(),1),y7=$Z.createContext({});function O1(Q){return Q&&typeof Q==="object"&&Object.prototype.hasOwnProperty.call(Q,"current")}var f7=R(x(),1);var HZ=typeof window<"u";var I5=HZ?f7.useLayoutEffect:f7.useEffect;function WZ(Q,J,Z,Y,X,$){let{visualElement:q}=B0.useContext(B1),H=B0.useContext(b7),W=B0.useContext(F1),G=B0.useContext(D5),z=G.reducedMotion,K=G.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:z,skipAnimations:K,isSVG:$}),O.current&&B.current)B.current.manuallyAnimateOnMount=!0}let U=B.current,D=B0.useContext(y7);if(U&&!U.projection&&X&&(U.type==="html"||U.type==="svg"))xW(B.current,Z,X,D);let _=B0.useRef(!1);B0.useInsertionEffect(()=>{if(U&&_.current)U.update(Z,W)});let N=Z[i5],A=B0.useRef(Boolean(N)&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(N)&&window.MotionHasOptimisedAnimation?.(N));return I5(()=>{if(O.current=!0,!U)return;if(_.current=!0,window.MotionIsMounted=!0,U.updateFeatures(),U.scheduleRenderMicrotask(),A.current&&U.animationState)U.animationState.animateChanges()}),B0.useEffect(()=>{if(!U)return;if(!A.current&&U.animationState)U.animationState.animateChanges();if(A.current)queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(N)}),A.current=!1;U.enteringChildren=void 0}),U}function xW(Q,J,Z,Y){let{layoutId:X,layout:$,drag:q,dragConstraints:H,layoutScroll:W,layoutRoot:G,layoutCrossfade:z}=J;Q.projection=new Z(Q.latestValues,J["data-framer-portal-id"]?void 0:zZ(Q.parent)),Q.projection.setOptions({layoutId:X,layout:$,alwaysMeasureLayout:Boolean(q)||H&&O1(H),visualElement:Q,animationType:typeof $==="string"?$:"both",initialPromotionConfig:Y,crossfade:z,layoutScroll:W,layoutRoot:G})}function zZ(Q){if(!Q)return;return Q.options.allowProjection!==!1?Q.projection:zZ(Q.parent)}function g7(Q,{forwardMotionProps:J=!1,type:Z}={},Y,X){Y&&YZ(Y);let $=Z?Z==="svg":U5(Q),q=$?QZ:eJ;function H(G,z){let K,B={...V5.useContext(D5),...G,layoutId:yW(G)},{isStatic:O}=B,U=pJ(G),D=q(G,O);if(!O&&typeof window<"u"){fW(B,Y);let _=vW(B);K=_.MeasureLayout,U.visualElement=WZ(Q,D,B,X,_.ProjectionNode,$)}return v7.jsxs(B1.Provider,{value:U,children:[K&&U.visualElement?v7.jsx(K,{visualElement:U.visualElement,...B}):null,nJ(Q,G,qZ(D,U.visualElement,z),D,O,J,$)]})}H.displayName=`motion.${typeof Q==="string"?Q:`create(${Q.displayName??Q.name??""})`}`;let W=V5.forwardRef(H);return W[XZ]=Q,W}function yW({layoutId:Q}){let J=V5.useContext(a0).id;return J&&Q!==void 0?J+"-"+Q:Q}function fW(Q,J){let Z=V5.useContext(b7).strict}function vW(Q){let J=x7(),{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 GZ(Q,J){if(typeof Proxy>"u")return g7;let Z=new Map,Y=($,q)=>{return g7($,q,Q,J)};return new Proxy(($,q)=>{return Y($,q)},{get:($,q)=>{if(q==="create")return Y;if(!Z.has(q))Z.set(q,g7(q,void 0,Q,J));return Z.get(q)}})}class L9 extends H0{constructor(Q){super(Q);Q.animationState||(Q.animationState=$9(Q))}updateAnimationControlsSubscription(){let{animate:Q}=this.node.getProps();if(o0(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 gW=0;class M9 extends H0{constructor(){super(...arguments);this.id=gW++}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 KZ={animation:{Feature:L9},exit:{Feature:M9}};function t0(Q){return{point:{x:Q.pageX,y:Q.pageY}}}var BZ=(Q)=>{return(J)=>R1(J)&&Q(J,t0(J))};function U1(Q,J,Z,Y){return g0(Q,J,BZ(Z),Y)}var d7=({current:Q})=>{return Q?Q.ownerDocument.defaultView:null};var FZ=(Q,J)=>Math.abs(Q-J);function OZ(Q,J){let Z=FZ(Q.x,J.x),Y=FZ(Q.y,J.y);return Math.sqrt(Z**2+Y**2)}var UZ=new Set(["auto","scroll"]);class G6{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=E9(this.lastMoveEventInfo,this.history),O=this.startEvent!==null,U=OZ(B.offset,{x:0,y:0})>=this.distanceThreshold;if(!O&&!U)return;let{point:D}=B,{timestamp:_}=a;this.history.push({...D,timestamp:_});let{onStart:N,onMove:A}=this.handlers;if(!O)N&&N(this.lastMoveEvent,B),this.startEvent=this.lastMoveEvent;A&&A(this.lastMoveEvent,B)},this.handlePointerMove=(B,O)=>{this.lastMoveEvent=B,this.lastMoveEventInfo=P9(O,this.transformPagePoint),C.update(this.updatePoint,!0)},this.handlePointerUp=(B,O)=>{this.end();let{onEnd:U,onSessionEnd:D,resumeAnimation:_}=this.handlers;if(this.dragSnapToOrigin||!this.startEvent)_&&_();if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let N=E9(B.type==="pointercancel"?this.lastMoveEventInfo:P9(O,this.transformPagePoint),this.history);if(this.startEvent&&U)U(B,N);D&&D(B,N)},!R1(Q))return;this.dragSnapToOrigin=X,this.handlers=J,this.transformPagePoint=Z,this.distanceThreshold=$,this.contextWindow=Y||window;let H=t0(Q),W=P9(H,this.transformPagePoint),{point:G}=W,{timestamp:z}=a;this.history=[{...G,timestamp:z}];let{onSessionStart:K}=J;if(K&&K(Q,E9(W,this.history)),this.removeListeners=L0(U1(this.contextWindow,"pointermove",this.handlePointerMove),U1(this.contextWindow,"pointerup",this.handlePointerUp),U1(this.contextWindow,"pointercancel",this.handlePointerUp)),q)this.startScrollTracking(q)}startScrollTracking(Q){let J=Q.parentElement;while(J){let Z=getComputedStyle(J);if(UZ.has(Z.overflowX)||UZ.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),C.update(this.updatePoint,!0)}updateHandlers(Q){this.handlers=Q}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),U0(this.updatePoint)}}function P9(Q,J){return J?{point:J(Q.point)}:Q}function DZ(Q,J){return{x:Q.x-J.x,y:Q.y-J.y}}function E9({point:Q},J){return{point:Q,delta:DZ(Q,_Z(J)),offset:DZ(Q,dW(J)),velocity:uW(J,0.1)}}function dW(Q){return Q[0]}function _Z(Q){return Q[Q.length-1]}function uW(Q,J){if(Q.length<2)return{x:0,y:0};let Z=Q.length-1,Y=null,X=_Z(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 AZ(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 NZ(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 TZ(Q,{top:J,left:Z,bottom:Y,right:X}){return{x:NZ(Q.x,Z,X),y:NZ(Q.y,J,Y)}}function wZ(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 LZ(Q,J){return{x:wZ(Q.x,J.x),y:wZ(Q.y,J.y)}}function MZ(Q,J){let Z=0.5,Y=J0(Q),X=J0(J);if(X>Y)Z=R0(J.min,J.max-Y,Q.min);else if(Y>X)Z=R0(Q.min,Q.max-X,J.min);return e(0,1,Z)}function PZ(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 u7=0.35;function EZ(Q=u7){if(Q===!1)Q=0;else if(Q===!0)Q=u7;return{x:IZ(Q,"left","right"),y:IZ(Q,"top","bottom")}}function IZ(Q,J,Z){return{min:VZ(Q,J),max:VZ(Q,Z)}}function VZ(Q,J){return typeof Q==="number"?Q:Q[J]||0}var cW=new WeakMap;class S9{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=(z)=>{if(J)this.snapToCursor(t0(z).point);this.stopAnimation()},$=(z,K)=>{let{drag:B,dragPropagation:O,onDragStart:U}=this.getProps();if(B&&!O){if(this.openDragLock)this.openDragLock();if(this.openDragLock=u8(B),!this.openDragLock)return}if(this.latestPointerEvent=z,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(N0((_)=>{let N=this.getAxisMotionValue(_).get()||0;if(z0.test(N)){let{projection:A}=this.visualElement;if(A&&A.layout){let w=A.layout.layoutBox[_];if(w)N=J0(w)*(parseFloat(N)/100)}}this.originPoint[_]=N}),U)C.update(()=>U(z,K),!1,!0);$5(this.visualElement,"transform");let{animationState:D}=this.visualElement;D&&D.setActive("whileDrag",!0)},q=(z,K)=>{this.latestPointerEvent=z,this.latestPanInfo=K;let{dragPropagation:B,dragDirectionLock:O,onDirectionLock:U,onDrag:D}=this.getProps();if(!B&&!this.openDragLock)return;let{offset:_}=K;if(O&&this.currentDirection===null){if(this.currentDirection=mW(_),this.currentDirection!==null)U&&U(this.currentDirection);return}if(this.updateAxis("x",K.point,_),this.updateAxis("y",K.point,_),this.visualElement.render(),D)C.update(()=>D(z,K),!1,!0)},H=(z,K)=>{this.latestPointerEvent=z,this.latestPanInfo=K,this.stop(z,K),this.latestPointerEvent=null,this.latestPanInfo=null},W=()=>{let{dragSnapToOrigin:z}=this.getProps();if(z||this.constraints)this.startAnimation({x:0,y:0})},{dragSnapToOrigin:G}=this.getProps();this.panSession=new G6(Q,{onSessionStart:X,onStart:$,onMove:q,onSessionEnd:H,resumeAnimation:W},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:G,distanceThreshold:Z,contextWindow:d7(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)C.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||!c7(Q,Y,this.currentDirection))return;let X=this.getAxisMotionValue(Q),$=this.originPoint[Q]+Z[Q];if(this.constraints&&this.constraints[Q])$=AZ($,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&&O1(Q)){if(!this.constraints)this.constraints=this.resolveRefConstraints()}else if(Q&&Z)this.constraints=TZ(Z.layoutBox,Q);else this.constraints=!1;if(this.elastic=EZ(J),Y!==this.constraints&&!O1(Q)&&Z&&this.constraints&&!this.hasMutatedConstraints)N0((X)=>{if(this.constraints!==!1&&this.getAxisMotionValue(X))this.constraints[X]=PZ(Z.layoutBox[X],this.constraints[X])})}resolveRefConstraints(){let{dragConstraints:Q,onMeasureDragConstraints:J}=this.getProps();if(!Q||!O1(Q))return!1;let Z=Q.current;O0(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=Y9(Z,Y.root,this.visualElement.getTransformPagePoint()),$=LZ(Y.layout.layoutBox,X);if(J){let q=J(a8($));if(this.hasMutatedConstraints=!!q,q)$=J6(q)}return $}startAnimation(Q){let{drag:J,dragMomentum:Z,dragElastic:Y,dragTransition:X,dragSnapToOrigin:$,onDragTransitionEnd:q}=this.getProps(),H=this.constraints||{},W=N0((G)=>{if(!c7(G,J,this.currentDirection))return;let z=H&&H[G]||{};if($)z={min:0,max:0};let K=Y?200:1e6,B=Y?40:1e7,O={type:"inertia",velocity:Z?Q[G]:0,bounceStiffness:K,bounceDamping:B,timeConstant:750,restDelta:1,restSpeed:10,...X,...z};return this.startAxisValueAnimation(G,O)});return Promise.all(W).then(q)}startAxisValueAnimation(Q,J){let Z=this.getAxisMotionValue(Q);return $5(this.visualElement,Q),Z.start(k1(Q,Z,0,J,this.visualElement,!1))}stopAnimation(){N0((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){N0((J)=>{let{drag:Z}=this.getProps();if(!c7(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(!O1(J)||!Z||!this.constraints)return;this.stopAnimation();let Y={x:0,y:0};N0(($)=>{let q=this.getAxisMotionValue($);if(q&&this.constraints!==!1){let H=q.get();Y[$]=MZ({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(),N0(($)=>{if(!c7($,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;cW.set(this.visualElement,this);let Q=this.visualElement.current,J=U1(Q,"pointerdown",(W)=>{let{drag:G,dragListener:z=!0}=this.getProps(),K=W.target,B=K!==Q&&l8(K);if(G&&z&&!B)this.start(W)}),Z,Y=()=>{let{dragConstraints:W}=this.getProps();if(O1(W)&&W.current){if(this.constraints=this.resolveRefConstraints(),!Z)Z=pW(Q,W.current,()=>this.scalePositionWithinConstraints())}},{projection:X}=this.visualElement,$=X.addEventListener("measure",Y);if(X&&!X.layout)X.root&&X.root.updateScroll(),X.updateLayout();C.read(Y);let q=g0(window,"resize",()=>this.scalePositionWithinConstraints()),H=X.addEventListener("didUpdate",({delta:W,hasLayoutChanged:G})=>{if(this.isDragging&&G)N0((z)=>{let K=this.getAxisMotionValue(z);if(!K)return;this.originPoint[z]+=W[z].translate,K.set(K.get()+W[z].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:$=u7,dragMomentum:q=!0}=Q;return{...Q,drag:J,dragDirectionLock:Z,dragPropagation:Y,dragConstraints:X,dragElastic:$,dragMomentum:q}}}function SZ(Q){let J=!0;return()=>{if(J){J=!1;return}Q()}}function pW(Q,J,Z){let Y=_7(Q,SZ(Z)),X=_7(J,SZ(Z));return()=>{Y(),X()}}function c7(Q,J,Z){return(J===!0||J===Q)&&(Z===null||Z===Q)}function mW(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 k9 extends H0{constructor(Q){super(Q);this.removeGroupControls=i,this.removeListeners=i,this.controls=new S9(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 j9=(Q)=>(J,Z)=>{if(Q)C.update(()=>Q(J,Z),!1,!0)};class b9 extends H0{constructor(){super(...arguments);this.removePointerDownListener=i}onPointerDown(Q){this.session=new G6(Q,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:d7(this.node)})}createPanHandlers(){let{onPanSessionStart:Q,onPanStart:J,onPan:Z,onPanEnd:Y}=this.node.getProps();return{onSessionStart:j9(Q),onStart:j9(J),onMove:j9(Z),onEnd:(X,$)=>{if(delete this.session,Y)C.postRender(()=>Y(X,$))}}}mount(){this.removePointerDownListener=U1(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 kZ=R(l0(),1);var K6=R(x(),1);var D1=R(x(),1);function p7(Q=!0){let J=D1.useContext(F1);if(J===null)return[!0,null];let{isPresent:Z,onExitComplete:Y,register:X}=J,$=D1.useId();D1.useEffect(()=>{if(Q)return X($)},[Q]);let q=D1.useCallback(()=>Q&&Y&&Y($),[$,Y,Q]);return!Z&&Y?[!1,q]:[!0]}var R9=!1;class jZ extends K6.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(R9)X.root.didUpdate();X.addEventListener("animationComplete",()=>{this.safeToRemove()}),X.setOptions({...X.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})}g1.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(R9=!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())C.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(),b1.postRender(()=>{if(!Q.currentAnimation&&Q.isLead())this.safeToRemove()})}componentWillUnmount(){let{visualElement:Q,layoutGroup:J,switchLayoutGroup:Z}=this.props,{projection:Y}=Q;if(R9=!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 m7(Q){let[J,Z]=p7(),Y=K6.useContext(a0);return kZ.jsx(jZ,{...Q,layoutGroup:Y,switchLayoutGroup:K6.useContext(y7),isPresent:J,safeToRemove:Z})}var bZ={pan:{Feature:b9},drag:{Feature:k9,ProjectionNode:W6,MeasureLayout:m7}};function RZ(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($)C.postRender(()=>$(J,t0(J)))}class C9 extends H0{mount(){let{current:Q}=this.node;if(!Q)return;this.unmount=c8(Q,(J,Z)=>{return RZ(this.node,Z,"Start"),(Y)=>RZ(this.node,Y,"End")})}unmount(){}}class h9 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=L0(g0(this.node.current,"focus",()=>this.onFocus()),g0(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function CZ(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($)C.postRender(()=>$(J,t0(J)))}class x9 extends H0{mount(){let{current:Q}=this.node;if(!Q)return;let{globalTapTarget:J,propagate:Z}=this.node.props;this.unmount=i8(Q,(Y,X)=>{return CZ(this.node,X,"Start"),($,{success:q})=>CZ(this.node,$,q?"End":"Cancel")},{useGlobalTarget:J,stopPropagation:Z?.tap===!1})}unmount(){}}var f9=new WeakMap,y9=new WeakMap,lW=(Q)=>{let J=f9.get(Q.target);J&&J(Q)},rW=(Q)=>{Q.forEach(lW)};function iW({root:Q,...J}){let Z=Q||document;if(!y9.has(Z))y9.set(Z,{});let Y=y9.get(Z),X=JSON.stringify(J);if(!Y[X])Y[X]=new IntersectionObserver(rW,{root:Q,...J});return Y[X]}function hZ(Q,J,Z){let Y=iW(J);return f9.set(Q,Z),Y.observe(Q),()=>{f9.delete(Q),Y.unobserve(Q)}}var sW={some:0,all:1};class v9 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:sW[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:G,onViewportLeave:z}=this.node.getProps(),K=W?G:z;K&&K(H)};return hZ(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(oW(Q,J)))this.startObserver()}unmount(){}}function oW({viewport:Q={}},{viewport:J={}}={}){return(Z)=>Q[Z]!==J[Z]}var xZ={inView:{Feature:v9},tap:{Feature:x9},focus:{Feature:h9},hover:{Feature:C9}};var yZ={layout:{ProjectionNode:W6,MeasureLayout:m7}};var fZ={...KZ,...xZ,...bZ,...yZ};var vZ=GZ(fZ,yJ);var O6=R(l0(),1),E0=R(x(),1);var g9=R(l0(),1),lZ=R(x(),1),B6=R(x(),1);var cZ=R(l0(),1);var l7=R(x(),1),e0=R(x(),1);var dZ=R(x(),1);function gZ(Q,J){if(typeof Q==="function")return Q(J);else if(Q!==null&&Q!==void 0)Q.current=J}function nW(...Q){return(J)=>{let Z=!1,Y=Q.map((X)=>{let $=gZ(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 gZ(Q[X],null)}}}}function uZ(...Q){return dZ.useCallback(nW(...Q),Q)}class pZ extends l7.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=z5(Z)?Z.offsetWidth||0:0,X=z5(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 mZ({children:Q,isPresent:J,anchorX:Z,anchorY:Y,root:X,pop:$}){let q=e0.useId(),H=e0.useRef(null),W=e0.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:G}=e0.useContext(D5),z=Q.props?.ref??Q?.ref,K=uZ(H,z);return e0.useInsertionEffect(()=>{let{width:B,height:O,top:U,left:D,right:_,bottom:N}=W.current;if(J||$===!1||!H.current||!B||!O)return;let A=Z==="left"?`left: ${D}`:`right: ${_}`,w=Y==="bottom"?`bottom: ${N}`:`top: ${U}`;H.current.dataset.motionPopId=q;let V=document.createElement("style");if(G)V.nonce=G;let T=X??document.head;if(T.appendChild(V),V.sheet)V.sheet.insertRule(`
2
- [data-motion-pop-id="${q}"] {
3
- position: absolute !important;
4
- width: ${B}px !important;
5
- height: ${O}px !important;
6
- ${A}px !important;
7
- ${w}px !important;
8
- }
9
- `);return()=>{if(T.contains(V))T.removeChild(V)}},[J]),cZ.jsx(pZ,{isPresent:J,childRef:H,sizeRef:W,pop:$,children:$===!1?Q:l7.cloneElement(Q,{ref:K})})}var rZ=({children:Q,initial:J,isPresent:Z,onExitComplete:Y,custom:X,presenceAffectsLayout:$,mode:q,anchorX:H,anchorY:W,root:G})=>{let z=w5(aW),K=B6.useId(),B=!0,O=B6.useMemo(()=>{return B=!1,{id:K,initial:J,isPresent:Z,custom:X,onExitComplete:(U)=>{z.set(U,!0);for(let D of z.values())if(!D)return;Y&&Y()},register:(U)=>{return z.set(U,!1),()=>z.delete(U)}}},[Z,z,Y]);if($&&B)O={...O};return B6.useMemo(()=>{z.forEach((U,D)=>z.set(D,!1))},[Z]),lZ.useEffect(()=>{!Z&&!z.size&&Y&&Y()},[Z]),Q=g9.jsx(mZ,{pop:q==="popLayout",isPresent:Z,anchorX:H,anchorY:W,root:G,children:Q}),g9.jsx(F1.Provider,{value:O,children:Q})};function aW(){return new Map}var r7=R(x(),1),F6=(Q)=>Q.key||"";function d9(Q){let J=[];return r7.Children.forEach(Q,(Z)=>{if(r7.isValidElement(Z))J.push(Z)}),J}var tW=({children:Q,custom:J,initial:Z=!0,onExitComplete:Y,presenceAffectsLayout:X=!0,mode:$="sync",propagate:q=!1,anchorX:H="left",anchorY:W="top",root:G})=>{let[z,K]=p7(q),B=E0.useMemo(()=>d9(Q),[Q]),O=q&&!z?[]:B.map(F6),U=E0.useRef(!0),D=E0.useRef(B),_=w5(()=>new Map),N=E0.useRef(new Set),[A,w]=E0.useState(B),[V,T]=E0.useState(B);I5(()=>{U.current=!1,D.current=B;for(let I=0;I<V.length;I++){let S=F6(V[I]);if(!O.includes(S)){if(_.get(S)!==!0)_.set(S,!1)}else _.delete(S),N.current.delete(S)}},[V,O.length,O.join("-")]);let M=[];if(B!==A){let I=[...B];for(let S=0;S<V.length;S++){let f=V[S],o=F6(f);if(!O.includes(o))I.splice(S,0,f),M.push(f)}if($==="wait"&&M.length)I=M;return T(d9(I)),w(B),null}let{forceRender:j}=E0.useContext(a0);return O6.jsx(O6.Fragment,{children:V.map((I)=>{let S=F6(I),f=q&&!z?!1:B===V||O.includes(S),o=()=>{if(N.current.has(S))return;if(N.current.add(S),_.has(S))_.set(S,!0);else return;let d=!0;if(_.forEach((n)=>{if(!n)d=!1}),d)j?.(),T(D.current),q&&K?.(),Y&&Y()};return O6.jsx(rZ,{isPresent:f,initial:!U.current||Z?void 0:!1,custom:J,presenceAffectsLayout:X,mode:$,root:G,onExitComplete:f?void 0:o,anchorX:H,anchorY:W,children:I},S)})})};var tZ=R(l0(),1),c1=R(x(),1);var iZ=R(x(),1),sZ=iZ.createContext(null);var U6=R(x(),1);var oZ=R(x(),1);function nZ(){let Q=oZ.useRef(!1);return I5(()=>{return Q.current=!0,()=>{Q.current=!1}},[]),Q}function aZ(){let Q=nZ(),[J,Z]=U6.useState(0),Y=U6.useCallback(()=>{Q.current&&Z(J+1)},[J]);return[U6.useCallback(()=>C.postRender(Y),[Y]),J]}var eZ=(Q)=>Q===!0,eW=(Q)=>eZ(Q===!0)||Q==="id",Qz=({children:Q,id:J,inherit:Z=!0})=>{let Y=c1.useContext(a0),X=c1.useContext(sZ),[$,q]=aZ(),H=c1.useRef(null),W=Y.id||X;if(H.current===null){if(eW(Z)&&W)J=J?W+"-"+J:W;H.current={id:J,group:eZ(Z)?Y.group||k7():k7()}}let G=c1.useMemo(()=>({...H.current,forceRender:$}),[q]);return tZ.jsx(a0.Provider,{value:G,children:Q})};var XY=["top","right","bottom","left"];var{min:d0,max:F0,round:_6,floor:N6}=Math,S0=(Q)=>({x:Q,y:Q}),Jz={left:"right",right:"left",bottom:"top",top:"bottom"};function s7(Q,J,Z){return F0(Q,d0(J,Z))}function u0(Q,J){return typeof Q==="function"?Q(J):Q}function c0(Q){return Q.split("-")[0]}function p1(Q){return Q.split("-")[1]}function o7(Q){return Q==="x"?"y":"x"}function n7(Q){return Q==="y"?"height":"width"}function k0(Q){let J=Q[0];return J==="t"||J==="b"?"y":"x"}function a7(Q){return o7(k0(Q))}function qY(Q,J,Z){if(Z===void 0)Z=!1;let Y=p1(Q),X=a7(Q),$=n7(X),q=X==="x"?Y===(Z?"end":"start")?"right":"left":Y==="start"?"bottom":"top";if(J.reference[$]>J.floating[$])q=D6(q);return[q,D6(q)]}function $Y(Q){let J=D6(Q);return[i7(Q),J,i7(J)]}function i7(Q){return Q.includes("start")?Q.replace("start","end"):Q.replace("end","start")}var ZY=["left","right"],YY=["right","left"],Zz=["top","bottom"],Yz=["bottom","top"];function Xz(Q,J,Z){switch(Q){case"top":case"bottom":if(Z)return J?YY:ZY;return J?ZY:YY;case"left":case"right":return J?Zz:Yz;default:return[]}}function HY(Q,J,Z,Y){let X=p1(Q),$=Xz(c0(Q),Z==="start",Y);if(X){if($=$.map((q)=>q+"-"+X),J)$=$.concat($.map(i7))}return $}function D6(Q){let J=c0(Q);return Jz[J]+Q.slice(J.length)}function qz(Q){return{top:0,right:0,bottom:0,left:0,...Q}}function u9(Q){return typeof Q!=="number"?qz(Q):{top:Q,right:Q,bottom:Q,left:Q}}function m1(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 WY(Q,J,Z){let{reference:Y,floating:X}=Q,$=k0(J),q=a7(J),H=n7(q),W=c0(J),G=$==="y",z=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:z,y:Y.y-X.height};break;case"bottom":O={x:z,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(p1(J)){case"start":O[q]-=B*(Z&&G?-1:1);break;case"end":O[q]+=B*(Z&&G?-1:1);break}return O}async function KY(Q,J){var Z;if(J===void 0)J={};let{x:Y,y:X,platform:$,rects:q,elements:H,strategy:W}=Q,{boundary:G="clippingAncestors",rootBoundary:z="viewport",elementContext:K="floating",altBoundary:B=!1,padding:O=0}=u0(J,Q),U=u9(O),_=H[B?K==="floating"?"reference":"floating":K],N=m1(await $.getClippingRect({element:((Z=await($.isElement==null?void 0:$.isElement(_)))!=null?Z:!0)?_:_.contextElement||await($.getDocumentElement==null?void 0:$.getDocumentElement(H.floating)),boundary:G,rootBoundary:z,strategy:W})),A=K==="floating"?{x:Y,y:X,width:q.floating.width,height:q.floating.height}:q.reference,w=await($.getOffsetParent==null?void 0:$.getOffsetParent(H.floating)),V=await($.isElement==null?void 0:$.isElement(w))?await($.getScale==null?void 0:$.getScale(w))||{x:1,y:1}:{x:1,y:1},T=m1($.convertOffsetParentRelativeRectToViewportRelativeRect?await $.convertOffsetParentRelativeRectToViewportRelativeRect({elements:H,rect:A,offsetParent:w,strategy:W}):A);return{top:(N.top-T.top+U.top)/V.y,bottom:(T.bottom-N.bottom+U.bottom)/V.y,left:(N.left-T.left+U.left)/V.x,right:(T.right-N.right+U.right)/V.x}}var $z=50,BY=async(Q,J,Z)=>{let{placement:Y="bottom",strategy:X="absolute",middleware:$=[],platform:q}=Z,H=q.detectOverflow?q:{...q,detectOverflow:KY},W=await(q.isRTL==null?void 0:q.isRTL(J)),G=await q.getElementRects({reference:Q,floating:J,strategy:X}),{x:z,y:K}=WY(G,Y,W),B=Y,O=0,U={};for(let D=0;D<$.length;D++){let _=$[D];if(!_)continue;let{name:N,fn:A}=_,{x:w,y:V,data:T,reset:M}=await A({x:z,y:K,initialPlacement:Y,placement:B,strategy:X,middlewareData:U,rects:G,platform:H,elements:{reference:Q,floating:J}});if(z=w!=null?w:z,K=V!=null?V:K,U[N]={...U[N],...T},M&&O<$z){if(O++,typeof M==="object"){if(M.placement)B=M.placement;if(M.rects)G=M.rects===!0?await q.getElementRects({reference:Q,floating:J,strategy:X}):M.rects;({x:z,y:K}=WY(G,B,W))}D=-1}}return{x:z,y:K,placement:B,strategy:X,middlewareData:U}},FY=(Q)=>({name:"arrow",options:Q,async fn(J){let{x:Z,y:Y,placement:X,rects:$,platform:q,elements:H,middlewareData:W}=J,{element:G,padding:z=0}=u0(Q,J)||{};if(G==null)return{};let K=u9(z),B={x:Z,y:Y},O=a7(X),U=n7(O),D=await q.getDimensions(G),_=O==="y",N=_?"top":"left",A=_?"bottom":"right",w=_?"clientHeight":"clientWidth",V=$.reference[U]+$.reference[O]-B[O]-$.floating[U],T=B[O]-$.reference[O],M=await(q.getOffsetParent==null?void 0:q.getOffsetParent(G)),j=M?M[w]:0;if(!j||!await(q.isElement==null?void 0:q.isElement(M)))j=H.floating[w]||$.floating[U];let I=V/2-T/2,S=j/2-D[U]/2-1,f=d0(K[N],S),o=d0(K[A],S),d=f,n=j-D[U]-o,c=j/2-D[U]/2+I,t=s7(d,c,n),v=!W.arrow&&p1(X)!=null&&c!==t&&$.reference[U]/2-(c<d?f:o)-D[U]/2<0,r=v?c<d?c-d:c-n:0;return{[O]:B[O]+r,data:{[O]:t,centerOffset:c-t-r,...v&&{alignmentOffset:r}},reset:v}}});var OY=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:G}=J,{mainAxis:z=!0,crossAxis:K=!0,fallbackPlacements:B,fallbackStrategy:O="bestFit",fallbackAxisSideDirection:U="none",flipAlignment:D=!0,..._}=u0(Q,J);if((Z=$.arrow)!=null&&Z.alignmentOffset)return{};let N=c0(X),A=k0(H),w=c0(H)===H,V=await(W.isRTL==null?void 0:W.isRTL(G.floating)),T=B||(w||!D?[D6(H)]:$Y(H)),M=U!=="none";if(!B&&M)T.push(...HY(H,D,U,V));let j=[H,...T],I=await W.detectOverflow(J,_),S=[],f=((Y=$.flip)==null?void 0:Y.overflows)||[];if(z)S.push(I[N]);if(K){let c=qY(X,q,V);S.push(I[c[0]],I[c[1]])}if(f=[...f,{placement:X,overflows:S}],!S.every((c)=>c<=0)){var o,d;let c=(((o=$.flip)==null?void 0:o.index)||0)+1,t=j[c];if(t){if(!(K==="alignment"?A!==k0(t):!1)||f.every((b)=>k0(b.placement)===A?b.overflows[0]>0:!0))return{data:{index:c,overflows:f},reset:{placement:t}}}let v=(d=f.filter((r)=>r.overflows[0]<=0).sort((r,b)=>r.overflows[1]-b.overflows[1])[0])==null?void 0:d.placement;if(!v)switch(O){case"bestFit":{var n;let r=(n=f.filter((b)=>{if(M){let g=k0(b.placement);return g===A||g==="y"}return!0}).map((b)=>[b.placement,b.overflows.filter((g)=>g>0).reduce((g,P)=>g+P,0)]).sort((b,g)=>b[1]-g[1])[0])==null?void 0:n[0];if(r)v=r;break}case"initialPlacement":v=H;break}if(X!==v)return{reset:{placement:v}}}return{}}}};function zY(Q,J){return{top:Q.top-J.height,right:Q.right-J.width,bottom:Q.bottom-J.height,left:Q.left-J.width}}function GY(Q){return XY.some((J)=>Q[J]>=0)}var UY=function(Q){if(Q===void 0)Q={};return{name:"hide",options:Q,async fn(J){let{rects:Z,platform:Y}=J,{strategy:X="referenceHidden",...$}=u0(Q,J);switch(X){case"referenceHidden":{let q=await Y.detectOverflow(J,{...$,elementContext:"reference"}),H=zY(q,Z.reference);return{data:{referenceHiddenOffsets:H,referenceHidden:GY(H)}}}case"escaped":{let q=await Y.detectOverflow(J,{...$,altBoundary:!0}),H=zY(q,Z.floating);return{data:{escapedOffsets:H,escaped:GY(H)}}}default:return{}}}}};var DY=new Set(["left","top"]);async function Hz(Q,J){let{placement:Z,platform:Y,elements:X}=Q,$=await(Y.isRTL==null?void 0:Y.isRTL(X.floating)),q=c0(Z),H=p1(Z),W=k0(Z)==="y",G=DY.has(q)?-1:1,z=$&&W?-1:1,K=u0(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*z,y:B*G}:{x:B*G,y:O*z}}var _Y=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 Hz(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}}}}},NY=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:A,y:w}=N;return{x:A,y:w}}},...G}=u0(Q,J),z={x:Z,y:Y},K=await $.detectOverflow(J,G),B=k0(c0(X)),O=o7(B),U=z[O],D=z[B];if(q){let N=O==="y"?"top":"left",A=O==="y"?"bottom":"right",w=U+K[N],V=U-K[A];U=s7(w,U,V)}if(H){let N=B==="y"?"top":"left",A=B==="y"?"bottom":"right",w=D+K[N],V=D-K[A];D=s7(w,D,V)}let _=W.fn({...J,[O]:U,[B]:D});return{..._,data:{x:_.x-Z,y:_.y-Y,enabled:{[O]:q,[B]:H}}}}}},wY=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:G=!0}=u0(Q,J),z={x:Z,y:Y},K=k0(X),B=o7(K),O=z[B],U=z[K],D=u0(H,J),_=typeof D==="number"?{mainAxis:D,crossAxis:0}:{mainAxis:0,crossAxis:0,...D};if(W){let w=B==="y"?"height":"width",V=$.reference[B]-$.floating[w]+_.mainAxis,T=$.reference[B]+$.reference[w]-_.mainAxis;if(O<V)O=V;else if(O>T)O=T}if(G){var N,A;let w=B==="y"?"width":"height",V=DY.has(c0(X)),T=$.reference[K]-$.floating[w]+(V?((N=q.offset)==null?void 0:N[K])||0:0)+(V?0:_.crossAxis),M=$.reference[K]+$.reference[w]+(V?0:((A=q.offset)==null?void 0:A[K])||0)-(V?_.crossAxis:0);if(U<T)U=T;else if(U>M)U=M}return{[B]:O,[K]:U}}}},IY=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=()=>{},...G}=u0(Q,J),z=await q.detectOverflow(J,G),K=c0(X),B=p1(X),O=k0(X)==="y",{width:U,height:D}=$.floating,_,N;if(K==="top"||K==="bottom")_=K,N=B===(await(q.isRTL==null?void 0:q.isRTL(H.floating))?"start":"end")?"left":"right";else N=K,_=B==="end"?"top":"bottom";let A=D-z.top-z.bottom,w=U-z.left-z.right,V=d0(D-z[_],A),T=d0(U-z[N],w),M=!J.middlewareData.shift,j=V,I=T;if((Z=J.middlewareData.shift)!=null&&Z.enabled.x)I=w;if((Y=J.middlewareData.shift)!=null&&Y.enabled.y)j=A;if(M&&!B){let f=F0(z.left,0),o=F0(z.right,0),d=F0(z.top,0),n=F0(z.bottom,0);if(O)I=U-2*(f!==0||o!==0?f+o:F0(z.left,z.right));else j=D-2*(d!==0||n!==0?d+n:F0(z.top,z.bottom))}await W({...J,availableWidth:I,availableHeight:j});let S=await q.getDimensions(H.floating);if(U!==S.width||D!==S.height)return{reset:{rects:!0}};return{}}}};function t7(){return typeof window<"u"}function r1(Q){if(AY(Q))return(Q.nodeName||"").toLowerCase();return"#document"}function D0(Q){var J;return(Q==null||(J=Q.ownerDocument)==null?void 0:J.defaultView)||window}function j0(Q){var J;return(J=(AY(Q)?Q.ownerDocument:Q.document)||window.document)==null?void 0:J.documentElement}function AY(Q){if(!t7())return!1;return Q instanceof Node||Q instanceof D0(Q).Node}function A0(Q){if(!t7())return!1;return Q instanceof Element||Q instanceof D0(Q).Element}function p0(Q){if(!t7())return!1;return Q instanceof HTMLElement||Q instanceof D0(Q).HTMLElement}function VY(Q){if(!t7()||typeof ShadowRoot>"u")return!1;return Q instanceof ShadowRoot||Q instanceof D0(Q).ShadowRoot}function A5(Q){let{overflow:J,overflowX:Z,overflowY:Y,display:X}=T0(Q);return/auto|scroll|overlay|hidden|clip/.test(J+Y+Z)&&X!=="inline"&&X!=="contents"}function TY(Q){return/^(table|td|th)$/.test(r1(Q))}function w6(Q){try{if(Q.matches(":popover-open"))return!0}catch(J){}try{return Q.matches(":modal")}catch(J){return!1}}var Wz=/transform|translate|scale|rotate|perspective|filter/,zz=/paint|layout|strict|content/,l1=(Q)=>!!Q&&Q!=="none",c9;function e7(Q){let J=A0(Q)?T0(Q):Q;return l1(J.transform)||l1(J.translate)||l1(J.scale)||l1(J.rotate)||l1(J.perspective)||!Q8()&&(l1(J.backdropFilter)||l1(J.filter))||Wz.test(J.willChange||"")||zz.test(J.contain||"")}function LY(Q){let J=Q1(Q);while(p0(J)&&!i1(J)){if(e7(J))return J;else if(w6(J))return null;J=Q1(J)}return null}function Q8(){if(c9==null)c9=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none");return c9}function i1(Q){return/^(html|body|#document)$/.test(r1(Q))}function T0(Q){return D0(Q).getComputedStyle(Q)}function I6(Q){if(A0(Q))return{scrollLeft:Q.scrollLeft,scrollTop:Q.scrollTop};return{scrollLeft:Q.scrollX,scrollTop:Q.scrollY}}function Q1(Q){if(r1(Q)==="html")return Q;let J=Q.assignedSlot||Q.parentNode||VY(Q)&&Q.host||j0(Q);return VY(J)?J.host:J}function MY(Q){let J=Q1(Q);if(i1(J))return Q.ownerDocument?Q.ownerDocument.body:Q.body;if(p0(J)&&A5(J))return J;return MY(J)}function _1(Q,J,Z){var Y;if(J===void 0)J=[];if(Z===void 0)Z=!0;let X=MY(Q),$=X===((Y=Q.ownerDocument)==null?void 0:Y.body),q=D0(X);if($){let H=J8(q);return J.concat(q,q.visualViewport||[],A5(X)?X:[],H&&Z?_1(H):[])}else return J.concat(X,_1(X,[],Z))}function J8(Q){return Q.parent&&Object.getPrototypeOf(Q.parent)?Q.frameElement:null}function kY(Q){let J=T0(Q),Z=parseFloat(J.width)||0,Y=parseFloat(J.height)||0,X=p0(Q),$=X?Q.offsetWidth:Z,q=X?Q.offsetHeight:Y,H=_6(Z)!==$||_6(Y)!==q;if(H)Z=$,Y=q;return{width:Z,height:Y,$:H}}function m9(Q){return!A0(Q)?Q.contextElement:Q}function T5(Q){let J=m9(Q);if(!p0(J))return S0(1);let Z=J.getBoundingClientRect(),{width:Y,height:X,$}=kY(J),q=($?_6(Z.width):Z.width)/Y,H=($?_6(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 Gz=S0(0);function jY(Q){let J=D0(Q);if(!Q8()||!J.visualViewport)return Gz;return{x:J.visualViewport.offsetLeft,y:J.visualViewport.offsetTop}}function Kz(Q,J,Z){if(J===void 0)J=!1;if(!Z||J&&Z!==D0(Q))return!1;return J}function s1(Q,J,Z,Y){if(J===void 0)J=!1;if(Z===void 0)Z=!1;let X=Q.getBoundingClientRect(),$=m9(Q),q=S0(1);if(J)if(Y){if(A0(Y))q=T5(Y)}else q=T5(Q);let H=Kz($,Z,Y)?jY($):S0(0),W=(X.left+H.x)/q.x,G=(X.top+H.y)/q.y,z=X.width/q.x,K=X.height/q.y;if($){let B=D0($),O=Y&&A0(Y)?D0(Y):Y,U=B,D=J8(U);while(D&&Y&&O!==U){let _=T5(D),N=D.getBoundingClientRect(),A=T0(D),w=N.left+(D.clientLeft+parseFloat(A.paddingLeft))*_.x,V=N.top+(D.clientTop+parseFloat(A.paddingTop))*_.y;W*=_.x,G*=_.y,z*=_.x,K*=_.y,W+=w,G+=V,U=D0(D),D=J8(U)}}return m1({width:z,height:K,x:W,y:G})}function Z8(Q,J){let Z=I6(Q).scrollLeft;if(!J)return s1(j0(Q)).left+Z;return J.left+Z}function bY(Q,J){let Z=Q.getBoundingClientRect(),Y=Z.left+J.scrollLeft-Z8(Q,Z),X=Z.top+J.scrollTop;return{x:Y,y:X}}function Bz(Q){let{elements:J,rect:Z,offsetParent:Y,strategy:X}=Q,$=X==="fixed",q=j0(Y),H=J?w6(J.floating):!1;if(Y===q||H&&$)return Z;let W={scrollLeft:0,scrollTop:0},G=S0(1),z=S0(0),K=p0(Y);if(K||!K&&!$){if(r1(Y)!=="body"||A5(q))W=I6(Y);if(K){let O=s1(Y);G=T5(Y),z.x=O.x+Y.clientLeft,z.y=O.y+Y.clientTop}}let B=q&&!K&&!$?bY(q,W):S0(0);return{width:Z.width*G.x,height:Z.height*G.y,x:Z.x*G.x-W.scrollLeft*G.x+z.x+B.x,y:Z.y*G.y-W.scrollTop*G.y+z.y+B.y}}function Fz(Q){return Array.from(Q.getClientRects())}function Oz(Q){let J=j0(Q),Z=I6(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+Z8(Q),H=-Z.scrollTop;if(T0(Y).direction==="rtl")q+=F0(J.clientWidth,Y.clientWidth)-X;return{width:X,height:$,x:q,y:H}}var PY=25;function Uz(Q,J){let Z=D0(Q),Y=j0(Q),X=Z.visualViewport,$=Y.clientWidth,q=Y.clientHeight,H=0,W=0;if(X){$=X.width,q=X.height;let z=Q8();if(!z||z&&J==="fixed")H=X.offsetLeft,W=X.offsetTop}let G=Z8(Y);if(G<=0){let z=Y.ownerDocument,K=z.body,B=getComputedStyle(K),O=z.compatMode==="CSS1Compat"?parseFloat(B.marginLeft)+parseFloat(B.marginRight)||0:0,U=Math.abs(Y.clientWidth-K.clientWidth-O);if(U<=PY)$-=U}else if(G<=PY)$+=G;return{width:$,height:q,x:H,y:W}}function Dz(Q,J){let Z=s1(Q,!0,J==="fixed"),Y=Z.top+Q.clientTop,X=Z.left+Q.clientLeft,$=p0(Q)?T5(Q):S0(1),q=Q.clientWidth*$.x,H=Q.clientHeight*$.y,W=X*$.x,G=Y*$.y;return{width:q,height:H,x:W,y:G}}function EY(Q,J,Z){let Y;if(J==="viewport")Y=Uz(Q,Z);else if(J==="document")Y=Oz(j0(Q));else if(A0(J))Y=Dz(J,Z);else{let X=jY(Q);Y={x:J.x-X.x,y:J.y-X.y,width:J.width,height:J.height}}return m1(Y)}function RY(Q,J){let Z=Q1(Q);if(Z===J||!A0(Z)||i1(Z))return!1;return T0(Z).position==="fixed"||RY(Z,J)}function _z(Q,J){let Z=J.get(Q);if(Z)return Z;let Y=_1(Q,[],!1).filter((H)=>A0(H)&&r1(H)!=="body"),X=null,$=T0(Q).position==="fixed",q=$?Q1(Q):Q;while(A0(q)&&!i1(q)){let H=T0(q),W=e7(q);if(!W&&H.position==="fixed")X=null;if($?!W&&!X:!W&&H.position==="static"&&!!X&&(X.position==="absolute"||X.position==="fixed")||A5(q)&&!W&&RY(Q,q))Y=Y.filter((z)=>z!==q);else X=H;q=Q1(q)}return J.set(Q,Y),Y}function Nz(Q){let{element:J,boundary:Z,rootBoundary:Y,strategy:X}=Q,q=[...Z==="clippingAncestors"?w6(J)?[]:_z(J,this._c):[].concat(Z),Y],H=EY(J,q[0],X),W=H.top,G=H.right,z=H.bottom,K=H.left;for(let B=1;B<q.length;B++){let O=EY(J,q[B],X);W=F0(O.top,W),G=d0(O.right,G),z=d0(O.bottom,z),K=F0(O.left,K)}return{width:G-K,height:z-W,x:K,y:W}}function wz(Q){let{width:J,height:Z}=kY(Q);return{width:J,height:Z}}function Iz(Q,J,Z){let Y=p0(J),X=j0(J),$=Z==="fixed",q=s1(Q,!0,$,J),H={scrollLeft:0,scrollTop:0},W=S0(0);function G(){W.x=Z8(X)}if(Y||!Y&&!$){if(r1(J)!=="body"||A5(X))H=I6(J);if(Y){let O=s1(J,!0,$,J);W.x=O.x+J.clientLeft,W.y=O.y+J.clientTop}else if(X)G()}if($&&!Y&&X)G();let z=X&&!Y&&!$?bY(X,H):S0(0),K=q.left+H.scrollLeft-W.x-z.x,B=q.top+H.scrollTop-W.y-z.y;return{x:K,y:B,width:q.width,height:q.height}}function p9(Q){return T0(Q).position==="static"}function SY(Q,J){if(!p0(Q)||T0(Q).position==="fixed")return null;if(J)return J(Q);let Z=Q.offsetParent;if(j0(Q)===Z)Z=Z.ownerDocument.body;return Z}function CY(Q,J){let Z=D0(Q);if(w6(Q))return Z;if(!p0(Q)){let X=Q1(Q);while(X&&!i1(X)){if(A0(X)&&!p9(X))return X;X=Q1(X)}return Z}let Y=SY(Q,J);while(Y&&TY(Y)&&p9(Y))Y=SY(Y,J);if(Y&&i1(Y)&&p9(Y)&&!e7(Y))return Z;return Y||LY(Q)||Z}var Vz=async function(Q){let J=this.getOffsetParent||CY,Z=this.getDimensions,Y=await Z(Q.floating);return{reference:Iz(Q.reference,await J(Q.floating),Q.strategy),floating:{x:0,y:0,width:Y.width,height:Y.height}}};function Az(Q){return T0(Q).direction==="rtl"}var hY={convertOffsetParentRelativeRectToViewportRelativeRect:Bz,getDocumentElement:j0,getClippingRect:Nz,getOffsetParent:CY,getElementRects:Vz,getClientRects:Fz,getDimensions:wz,getScale:T5,isElement:A0,isRTL:Az};function xY(Q,J){return Q.x===J.x&&Q.y===J.y&&Q.width===J.width&&Q.height===J.height}function Tz(Q,J){let Z=null,Y,X=j0(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 G=Q.getBoundingClientRect(),{left:z,top:K,width:B,height:O}=G;if(!H)J();if(!B||!O)return;let U=N6(K),D=N6(X.clientWidth-(z+B)),_=N6(X.clientHeight-(K+O)),N=N6(z),w={rootMargin:-U+"px "+-D+"px "+-_+"px "+-N+"px",threshold:F0(0,d0(1,W))||1},V=!0;function T(M){let j=M[0].intersectionRatio;if(j!==W){if(!V)return q();if(!j)Y=setTimeout(()=>{q(!1,0.0000001)},1000);else q(!1,j)}if(j===1&&!xY(G,Q.getBoundingClientRect()))q();V=!1}try{Z=new IntersectionObserver(T,{...w,root:X.ownerDocument})}catch(M){Z=new IntersectionObserver(T,w)}Z.observe(Q)}return q(!0),$}function Lz(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,G=m9(Q),z=X||$?[...G?_1(G):[],...J?_1(J):[]]:[];z.forEach((N)=>{X&&N.addEventListener("scroll",Z,{passive:!0}),$&&N.addEventListener("resize",Z)});let K=G&&H?Tz(G,Z):null,B=-1,O=null;if(q){if(O=new ResizeObserver((N)=>{let[A]=N;if(A&&A.target===G&&O&&J)O.unobserve(J),cancelAnimationFrame(B),B=requestAnimationFrame(()=>{var w;(w=O)==null||w.observe(J)});Z()}),G&&!W)O.observe(G);if(J)O.observe(J)}let U,D=W?s1(Q):null;if(W)_();function _(){let N=s1(Q);if(D&&!xY(D,N))Z();D=N,U=requestAnimationFrame(_)}return Z(),()=>{var N;if(z.forEach((A)=>{X&&A.removeEventListener("scroll",Z),$&&A.removeEventListener("resize",Z)}),K==null||K(),(N=O)==null||N.disconnect(),O=null,W)cancelAnimationFrame(U)}}var yY=_Y;var fY=NY,vY=OY,gY=IY,dY=UY,l9=FY;var uY=wY,r9=(Q,J,Z)=>{let Y=new Map,X={platform:hY,...Z},$={...X.platform,_c:Y};return BY(Q,J,{...X,platform:$})};var Z0=R(x(),1),pY=R(x(),1),mY=R(JY(),1),Mz=typeof document<"u",Pz=function(){},Y8=Mz?pY.useLayoutEffect:Pz;function X8(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(!X8(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(!X8(Q[$],J[$]))return!1}return!0}return Q!==Q&&J!==J}function lY(Q){if(typeof window>"u")return 1;return(Q.ownerDocument.defaultView||window).devicePixelRatio||1}function cY(Q,J){let Z=lY(Q);return Math.round(J*Z)/Z}function i9(Q){let J=Z0.useRef(Q);return Y8(()=>{J.current=Q}),J}function $Y6(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:G}=Q,[z,K]=Z0.useState({x:0,y:0,strategy:Z,placement:J,middlewareData:{},isPositioned:!1}),[B,O]=Z0.useState(Y);if(!X8(B,Y))O(Y);let[U,D]=Z0.useState(null),[_,N]=Z0.useState(null),A=Z0.useCallback((b)=>{if(b!==M.current)M.current=b,D(b)},[]),w=Z0.useCallback((b)=>{if(b!==j.current)j.current=b,N(b)},[]),V=$||U,T=q||_,M=Z0.useRef(null),j=Z0.useRef(null),I=Z0.useRef(z),S=W!=null,f=i9(W),o=i9(X),d=i9(G),n=Z0.useCallback(()=>{if(!M.current||!j.current)return;let b={placement:J,strategy:Z,middleware:B};if(o.current)b.platform=o.current;r9(M.current,j.current,b).then((g)=>{let P={...g,isPositioned:d.current!==!1};if(c.current&&!X8(I.current,P))I.current=P,mY.flushSync(()=>{K(P)})})},[B,J,Z,o,d]);Y8(()=>{if(G===!1&&I.current.isPositioned)I.current.isPositioned=!1,K((b)=>({...b,isPositioned:!1}))},[G]);let c=Z0.useRef(!1);Y8(()=>{return c.current=!0,()=>{c.current=!1}},[]),Y8(()=>{if(V)M.current=V;if(T)j.current=T;if(V&&T){if(f.current)return f.current(V,T,n);n()}},[V,T,n,f,S]);let t=Z0.useMemo(()=>({reference:M,floating:j,setReference:A,setFloating:w}),[A,w]),v=Z0.useMemo(()=>({reference:V,floating:T}),[V,T]),r=Z0.useMemo(()=>{let b={position:Z,left:0,top:0};if(!v.floating)return b;let g=cY(v.floating,z.x),P=cY(v.floating,z.y);if(H)return{...b,transform:"translate("+g+"px, "+P+"px)",...lY(v.floating)>=1.5&&{willChange:"transform"}};return{position:Z,left:g,top:P}},[Z,H,v.floating,z.x,z.y]);return Z0.useMemo(()=>({...z,update:n,refs:t,elements:v,floatingStyles:r}),[z,n,t,v,r])}var Ez=(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 l9({element:Y.current,padding:X}).fn(Z);return{}}if(Y)return l9({element:Y,padding:X}).fn(Z);return{}}}},HY6=(Q,J)=>{let Z=yY(Q);return{name:Z.name,fn:Z.fn,options:[Q,J]}},WY6=(Q,J)=>{let Z=fY(Q);return{name:Z.name,fn:Z.fn,options:[Q,J]}},zY6=(Q,J)=>{return{fn:uY(Q).fn,options:[Q,J]}},GY6=(Q,J)=>{let Z=vY(Q);return{name:Z.name,fn:Z.fn,options:[Q,J]}},KY6=(Q,J)=>{let Z=gY(Q);return{name:Z.name,fn:Z.fn,options:[Q,J]}};var BY6=(Q,J)=>{let Z=dY(Q);return{name:Z.name,fn:Z.fn,options:[Q,J]}};var FY6=(Q,J)=>{let Z=Ez(Q);return{name:Z.name,fn:Z.fn,options:[Q,J]}};
10
- export{x as b,l0 as c,JY as d,rY as e,ZQ as f,bz as g,Rz as h,r1 as i,D0 as j,AY as k,A0 as l,p0 as m,VY as n,A5 as o,Q8 as p,i1 as q,T0 as r,Q1 as s,_1 as t,W8 as u,cz as v,rz as w,PQ as x,XX as y,$X as z,WX as A,GX as B,x3 as C,BX as D,OX as E,DX as F,NX as G,IX as H,AX as I,LX as J,PX as K,SX as L,jX as M,RX as N,hX as O,yX as P,vX as Q,dX as R,cX as S,mX as T,rX as U,sX as V,nX as W,tX as X,Q2 as Y,Z2 as Z,X2 as _,$2 as $,W2 as aa,G2 as ba,B2 as ca,f3 as da,O2 as ea,D2 as fa,N2 as ga,I2 as ha,A2 as ia,L2 as ja,P2 as ka,S2 as la,j2 as ma,g3 as na,R2 as oa,h2 as pa,u3 as qa,y2 as ra,v2 as sa,d2 as ta,c2 as ua,m2 as va,p3 as wa,r2 as xa,s2 as ya,n2 as za,t2 as Aa,Qq as Ba,Zq as Ca,Xq as Da,$q as Ea,Wq as Fa,Gq as Ga,Bq as Ha,Oq as Ia,Dq as Ja,Nq as Ka,Iq as La,Aq as Ma,Lq as Na,Pq as Oa,Sq as Pa,jq as Qa,l3 as Ra,Rq as Sa,hq as Ta,yq as Ua,vq as Va,dq as Wa,cq as Xa,i3 as Ya,mq as Za,rq as _a,sq as $a,o3 as ab,nq as bb,a3 as cb,tq as db,Q$ as eb,Z$ as fb,X$ as gb,$$ as hb,W$ as ib,e3 as jb,G$ as kb,B$ as lb,JX as mb,O$ as nb,D$ as ob,N$ as pb,I$ as qb,tW as rb,Qz as sb,vZ as tb,hz as ub,xz as vb,_6 as wb,N6 as xb,s7 as yb,u0 as zb,c0 as Ab,p1 as Bb,n7 as Cb,k0 as Db,a7 as Eb,u9 as Fb,Lz as Gb,$Y6 as Hb,HY6 as Ib,WY6 as Jb,zY6 as Kb,GY6 as Lb,KY6 as Mb,BY6 as Nb,FY6 as Ob,gz as Pb};