moi-computer 0.3.1-next.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +49 -12
- package/client/api/workspace-keys.ts +2 -2
- package/client/app/AppRouter.tsx +0 -2
- package/client/app/shell/SidebarLayout.tsx +3 -16
- package/client/assets/openai.svg +1 -3
- package/client/components/shared/Composer.tsx +53 -2
- package/client/components/ui/button.tsx +1 -1
- package/client/components/ui/tooltip.tsx +12 -15
- package/client/features/chat/ChatComposer.tsx +25 -15
- package/client/features/chat/ChatPanel.tsx +5 -2
- package/client/features/chat/MarkdownContent.tsx +20 -2
- package/client/features/chat/ModelPicker.tsx +5 -3
- package/client/features/chat/TurnView.tsx +2 -2
- package/client/features/chat/chat-frames.ts +13 -6
- package/client/features/chat/chat-send.ts +1 -1
- package/client/features/chat/chat-store.ts +22 -17
- package/client/features/chat/tool-group/ToolOutput.tsx +4 -12
- package/client/features/chat/tool-group/format.ts +22 -7
- package/client/features/chat/useChat.ts +11 -2
- package/client/features/connectors/McpServerCards.tsx +95 -0
- package/client/features/connectors/api.ts +0 -11
- package/client/features/dev/HarnessDebugPage.tsx +210 -74
- package/client/features/home/HomePage.tsx +33 -28
- package/client/features/home/api.ts +24 -12
- package/client/features/home/workspace-presentation.tsx +17 -15
- package/client/features/home/workspace-setup/CreateWorkspaceDialog.tsx +243 -0
- package/client/features/home/workspace-setup/ImportWorkspaceDialog.tsx +95 -0
- package/client/features/home/workspace-setup/WorkspaceAgentStep.tsx +230 -0
- package/client/features/home/workspace-setup/WorkspaceDialogContent.tsx +35 -0
- package/client/features/home/workspace-setup/useWorkspaceImport.ts +61 -0
- package/client/features/settings/ConnectorsSettings.tsx +89 -0
- package/client/features/settings/SettingsLayout.tsx +2 -2
- package/client/features/settings/WorkspaceSettings.tsx +8 -4
- package/client/features/views/ViewBuilderTab.tsx +19 -15
- package/client/features/views/useViewBuilderActions.ts +1 -1
- package/client/features/workspace/WorkspaceLayoutContext.tsx +3 -4
- package/client/features/workspace/WorkspaceScreen.tsx +11 -3
- package/client/features/workspace/api.ts +19 -1
- package/client/features/workspace/moi-context.ts +85 -0
- package/client/main.tsx +16 -5
- package/dist/chunk-19g80zc9.css +1 -0
- package/dist/{chunk-jen6xcm1.js → chunk-2vaafjp4.js} +1 -1
- package/dist/{chunk-vkvb3hjm.js → chunk-35fq49qa.js} +1 -1
- package/dist/chunk-69nhbjhy.js +50 -0
- package/dist/{chunk-axszxe4c.js → chunk-72atbmh3.js} +1 -1
- package/dist/{chunk-zpxrb1ce.js → chunk-7mkv2gr0.js} +2 -2
- package/dist/{chunk-cs8vbert.js → chunk-fh2mf6v9.js} +3 -3
- package/dist/chunk-gt7n06ef.js +1 -0
- package/dist/chunk-jwmc32rp.js +63 -0
- package/dist/chunk-kh24bstm.js +10 -0
- package/dist/chunk-sfa4mbmx.js +15 -0
- package/dist/index.html +1 -1
- package/dist/openai-ep9ht2pq.svg +1 -0
- package/lib/ids.ts +15 -0
- package/lib/moi-context.ts +170 -0
- package/lib/types.ts +29 -11
- package/lib/view-builder-directives.ts +16 -0
- package/lib/workspace-types.ts +12 -0
- package/package.json +2 -1
- package/server/api.ts +92 -30
- package/server/harness/README.md +25 -9
- package/server/harness/claude-code/NOTES.md +20 -6
- package/server/harness/claude-code/adapter.ts +2 -2
- package/server/harness/claude-code/git-worktree.ts +32 -0
- package/server/harness/claude-code/index.ts +33 -12
- package/server/harness/claude-code/mcp.ts +16 -65
- package/server/harness/claude-code/models.ts +3 -0
- package/server/harness/claude-code/session.ts +196 -61
- package/server/harness/codex/NOTES.md +41 -11
- package/server/harness/codex/adapter.ts +121 -16
- package/server/harness/codex/client.ts +67 -18
- package/server/harness/codex/discovery.ts +114 -0
- package/server/harness/codex/index.ts +10 -5
- package/server/harness/codex/probe.ts +4 -2
- package/server/harness/codex/session.ts +89 -13
- package/server/harness/executable.ts +82 -0
- package/server/harness/openclaw/adapter.ts +8 -1
- package/server/harness/openclaw/index.ts +8 -14
- package/server/harness/openclaw/session.ts +50 -10
- package/server/harness/openclaw/strip.ts +2 -2
- package/server/harness/shell-path.ts +79 -0
- package/server/harness/types.ts +22 -5
- package/server/registry.ts +57 -12
- package/server/view-builders.ts +3 -2
- package/server/web.ts +24 -8
- package/server/workspace-import.ts +45 -0
- package/workspace/.claude/skills/moi-workspace/SKILL.md +3 -3
- package/client/features/connectors/ConnectorsPage.tsx +0 -92
- package/client/features/connectors/McpMenu.tsx +0 -145
- package/client/features/home/CreateWorkspaceDialog.tsx +0 -130
- package/client/features/home/CreateWorkspaceDialogSteps.tsx +0 -234
- package/dist/chunk-4vf1t6v1.js +0 -10
- package/dist/chunk-6c8cwpzc.js +0 -1
- package/dist/chunk-b3ynfk4g.js +0 -62
- package/dist/chunk-b4b276wx.js +0 -15
- package/dist/chunk-kxmvv1ax.js +0 -48
- package/dist/chunk-npwq6jmr.css +0 -1
- package/dist/openai-h13pza4b.svg +0 -3
- package/lib/view-builder-meta.ts +0 -35
package/dist/chunk-4vf1t6v1.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import{Ec as j,Fc as X9,Hc as tq}from"/chunk-vkvb3hjm.js";var C=X9((jH,q9)=>{q9.exports=globalThis.__esm.react});var j0=X9((bH,H9)=>{H9.exports=globalThis.__esm["react/jsx-runtime"]});var e5=j(C(),1),z9=j(j0(),1),W9=e5.createContext("default");function RH(){return e5.useContext(W9)}function hH({id:Q,children:J}){return z9.jsx(W9,{value:Q,children:J})}function xH(Q){return`${location.protocol==="https:"?"wss":"ws"}://${location.host}${Q}`}var k1=j(C(),1);var G9={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,$)=>{let Y=k1.forwardRef(({color:q="currentColor",size:X=24,stroke:H=2,title:W,className:G,children:z,...K},B)=>k1.createElement("svg",{ref:B,...G9[Q],width:X,height:X,className:["tabler-icon",`tabler-icon-${J}`,G].join(" "),...Q==="filled"?{fill:q}:{strokeWidth:H,stroke:q},...K},[W&&k1.createElement("title",{key:"svg-title"},W),...$.map(([O,w])=>k1.createElement(O,w)),...Array.isArray(z)?z:[z]]));return Y.displayName=`${Z}`,Y};var wZ=[["path",{d:"M17 7l-10 10",key:"svg-0"}],["path",{d:"M8 7l9 0l0 9",key:"svg-1"}]],DZ=F("outline","arrow-up-right","ArrowUpRight",wZ);var UZ=[["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"}]],_Z=F("outline","eraser","Eraser",UZ);var AZ=[["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"}]],NZ=F("outline","hand-stop","HandStop",AZ);var IZ=[["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"}]],VZ=F("outline","highlight","Highlight",IZ);var PZ=[["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"}]],TZ=F("outline","line","Line",PZ);var LZ=[["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"}]],MZ=F("outline","pointer-2","Pointer2",LZ);var EZ=[["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"}]],SZ=F("outline","sketching","Sketching",EZ);var kZ=[["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"}]],jZ=F("outline","square","Square",kZ);var bZ=[["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"}]],RZ=F("outline","sticker-2","Sticker2",bZ);var hZ=[["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"}]],CZ=F("outline","typography","Typography",hZ);var xZ=[["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"}]],fZ=F("outline","versions","Versions",xZ);var yZ=[["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"}]],K9=F("outline","package","Package",yZ);var vZ=[["path",{d:"M3 12h4l3 8l4 -16l3 8h4",key:"svg-0"}]],gZ=F("outline","activity","Activity",vZ);var dZ=[["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"}]],uZ=F("outline","alert-triangle","AlertTriangle",dZ);var cZ=[["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"}]],pZ=F("outline","api","Api",cZ);var mZ=[["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"}]],lZ=F("outline","arrow-up","ArrowUp",mZ);var rZ=[["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"}]],iZ=F("outline","arrows-shuffle","ArrowsShuffle",rZ);var sZ=[["path",{d:"M3 6a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2l0 -12",key:"svg-0"}],["path",{d:"M7 8h10",key:"svg-1"}],["path",{d:"M7 12h10",key:"svg-2"}],["path",{d:"M7 16h10",key:"svg-3"}]],oZ=F("outline","article","Article",sZ);var nZ=[["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"}]],aZ=F("outline","atom","Atom",nZ);var tZ=[["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"}]],eZ=F("outline","bell","Bell",tZ);var Q$=[["path",{d:"M13 3l0 7l6 0l-8 11l0 -7l-6 0l8 -11",key:"svg-0"}]],J$=F("outline","bolt","Bolt",Q$);var Z$=[["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"}]],$$=F("outline","book","Book",Z$);var Y$=[["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"}]],X$=F("outline","brain","Brain",Y$);var q$=[["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"}]],H$=F("outline","briefcase","Briefcase",q$);var W$=[["path",{d:"M4 8h16",key:"svg-0"}],["path",{d:"M12 20h-6a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v6",key:"svg-1"}],["path",{d:"M8 4v4",key:"svg-2"}],["path",{d:"M16 19h6",key:"svg-3"}],["path",{d:"M19 16v6",key:"svg-4"}]],z$=F("outline","browser-plus","BrowserPlus",W$);var G$=[["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"}]],K$=F("outline","bug","Bug",G$);var F$=[["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"}]],B$=F("outline","bulb","Bulb",F$);var O$=[["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"}]],w$=F("outline","calendar","Calendar",O$);var D$=[["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"}]],U$=F("outline","camera","Camera",D$);var _$=[["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"}]],A$=F("outline","chart-bar","ChartBar",_$);var N$=[["path",{d:"M5 12l5 5l10 -10",key:"svg-0"}]],I$=F("outline","check","Check",N$);var V$=[["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"}]],P$=F("outline","chef-hat","ChefHat",V$);var T$=[["path",{d:"M6 9l6 6l6 -6",key:"svg-0"}]],L$=F("outline","chevron-down","ChevronDown",T$);var M$=[["path",{d:"M9 6l6 6l-6 6",key:"svg-0"}]],E$=F("outline","chevron-right","ChevronRight",M$);var S$=[["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"}]],k$=F("outline","circle-off","CircleOff",S$);var j$=[["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"}]],b$=F("outline","cloud","Cloud",j$);var R$=[["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"}]],h$=F("outline","code","Code",R$);var C$=[["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"}]],x$=F("outline","compass","Compass",C$);var f$=[["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"}]],y$=F("outline","copy","Copy",f$);var v$=[["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"}]],g$=F("outline","cpu","Cpu",v$);var d$=[["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"}]],u$=F("outline","cube","Cube",d$);var c$=[["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"}]],p$=F("outline","database","Database",c$);var m$=[["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"}]],l$=F("outline","device-gamepad-2","DeviceGamepad2",m$);var r$=[["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"}]],i$=F("outline","diamond","Diamond",r$);var s$=[["path",{d:"M19 14.083c0 4.154 -2.966 6.74 -7 6.917c-4.2 0 -7 -2.763 -7 -6.917c0 -5.538 3.5 -11.09 7 -11.083c3.5 .007 7 5.545 7 11.083",key:"svg-0"}],["path",{d:"M12 3l-1.5 5l3.5 2.5l-2 3.5",key:"svg-1"}]],o$=F("outline","egg-cracked","EggCracked",s$);var n$=[["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"}]],a$=F("outline","feather","Feather",n$);var t$=[["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"}]],e$=F("outline","file","File",t$);var Q3=[["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"}]],J3=F("outline","flame","Flame",Q3);var Z3=[["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"}]],$3=F("outline","flask","Flask",Z3);var Y3=[["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"}]],X3=F("outline","folder","Folder",Y3);var q3=[["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"}]],H3=F("outline","ghost","Ghost",q3);var W3=[["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"}]],z3=F("outline","gift","Gift",W3);var G3=[["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"}]],K3=F("outline","globe","Globe",G3);var F3=[["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"}]],B3=F("outline","heart","Heart",F3);var O3=[["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"}]],w3=F("outline","hexagon","Hexagon",O3);var D3=[["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"}]],U3=F("outline","home","Home",D3);var _3=[["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"}]],A3=F("outline","key","Key",_3);var N3=[["path",{d:"M4 6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v1a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2l0 -1",key:"svg-0"}],["path",{d:"M4 15a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2l0 -3",key:"svg-1"}],["path",{d:"M14 6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2l0 -3",key:"svg-2"}],["path",{d:"M14 17a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v1a2 2 0 0 1 -2 2h-2a2 2 0 0 1 -2 -2l0 -1",key:"svg-3"}]],I3=F("outline","layout-2","Layout2",N3);var V3=[["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"}]],P3=F("outline","layout-sidebar-right","LayoutSidebarRight",V3);var T3=[["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"}]],L3=F("outline","leaf","Leaf",T3);var M3=[["path",{d:"M12 3a9 9 0 1 0 9 9",key:"svg-0"}]],E3=F("outline","loader-2","Loader2",M3);var S3=[["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"}]],k3=F("outline","mail","Mail",S3);var j3=[["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"}]],b3=F("outline","map","Map",j3);var R3=[["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"}]],h3=F("outline","message","Message",R3);var C3=[["path",{d:"M5 12l14 0",key:"svg-0"}]],x3=F("outline","minus","Minus",C3);var f3=[["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"}]],y3=F("outline","mood-sad","MoodSad",f3);var v3=[["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"}]],g3=F("outline","moon","Moon",v3);var d3=[["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"}]],u3=F("outline","mountain","Mountain",d3);var c3=[["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"}]],p3=F("outline","music","Music",c3);var m3=[["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"}]],l3=F("outline","palette","Palette",m3);var r3=[["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"}]],i3=F("outline","paperclip","Paperclip",r3);var s3=[["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"}]],o3=F("outline","photo","Photo",s3);var n3=[["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"}]],a3=F("outline","planet","Planet",n3);var t3=[["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"}]],e3=F("outline","play-basketball","PlayBasketball",t3);var QY=[["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"}]],JY=F("outline","play-football","PlayFootball",QY);var ZY=[["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"}]],$Y=F("outline","play-volleyball","PlayVolleyball",ZY);var YY=[["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"}]],XY=F("outline","player-stop","PlayerStop",YY);var qY=[["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"}]],HY=F("outline","plug-connected","PlugConnected",qY);var WY=[["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"}]],zY=F("outline","plug","Plug",WY);var GY=[["path",{d:"M12 5l0 14",key:"svg-0"}],["path",{d:"M5 12l14 0",key:"svg-1"}]],KY=F("outline","plus","Plus",GY);var FY=[["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"}]],BY=F("outline","robot","Robot",FY);var OY=[["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"}]],wY=F("outline","rocket","Rocket",OY);var DY=[["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"}]],UY=F("outline","settings","Settings",DY);var _Y=[["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"}]],AY=F("outline","shield","Shield",_Y);var NY=[["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"}]],IY=F("outline","shopping-cart","ShoppingCart",NY);var VY=[["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"}]],PY=F("outline","smart-home","SmartHome",VY);var TY=[["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"}]],LY=F("outline","snowflake","Snowflake",TY);var MY=[["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"}]],EY=F("outline","sparkles","Sparkles",MY);var SY=[["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"}]],kY=F("outline","star","Star",SY);var jY=[["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"}]],bY=F("outline","sun","Sun",jY);var RY=[["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"}]],hY=F("outline","target","Target",RY);var CY=[["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"}]],xY=F("outline","terminal-2","Terminal2",CY);var fY=[["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"}]],yY=F("outline","tool","Tool",fY);var vY=[["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"}]],gY=F("outline","trash","Trash",vY);var dY=[["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"}]],uY=F("outline","trophy","Trophy",dY);var cY=[["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"}]],pY=F("outline","upload","Upload",cY);var mY=[["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"}]],lY=F("outline","user","User",mY);var rY=[["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"}]],iY=F("outline","wand","Wand",rY);var sY=[["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"}]],oY=F("outline","world","World",sY);var nY=[["path",{d:"M18 6l-12 12",key:"svg-0"}],["path",{d:"M6 6l12 12",key:"svg-1"}]],aY=F("outline","x","X",nY);var tY=[["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"}]],eY=F("filled","alert-circle-filled","AlertCircleFilled",tY);var Q2=[["path",{d:"M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336zm-1.293 5.953a1 1 0 0 0 -1.32 -.083l-.094 .083l-3.293 3.292l-1.293 -1.292l-.094 -.083a1 1 0 0 0 -1.403 1.403l.083 .094l2 2l.094 .083a1 1 0 0 0 1.226 0l.094 -.083l4 -4l.083 -.094a1 1 0 0 0 -.083 -1.32z",key:"svg-0"}]],J2=F("filled","circle-check-filled","CircleCheckFilled",Q2);function F9(Q){var J,Z,$="";if(typeof Q=="string"||typeof Q=="number")$+=Q;else if(typeof Q=="object")if(Array.isArray(Q)){var Y=Q.length;for(J=0;J<Y;J++)Q[J]&&(Z=F9(Q[J]))&&($&&($+=" "),$+=Z)}else for(Z in Q)Q[Z]&&($&&($+=" "),$+=Z);return $}function N7(){for(var Q,J,Z=0,$="",Y=arguments.length;Z<Y;Z++)(Q=arguments[Z])&&(J=F9(Q))&&($&&($+=" "),$+=J);return $}var Lr5=N7;var Z2=(Q,J)=>{let Z=Array(Q.length+J.length);for(let $=0;$<Q.length;$++)Z[$]=Q[$];for(let $=0;$<J.length;$++)Z[Q.length+$]=J[$];return Z},$2=(Q,J)=>({classGroupId:Q,validator:J}),_9=(Q=new Map,J=null,Z)=>({nextPart:Q,validators:J,classGroupId:Z});var B9=[];var Y2=(Q)=>{let J=q2(Q),{conflictingClassGroups:Z,conflictingClassGroupModifiers:$}=Q;return{getClassGroupId:(X)=>{if(X.startsWith("[")&&X.endsWith("]"))return X2(X);let H=X.split("-"),W=H[0]===""&&H.length>1?1:0;return A9(H,W,J)},getConflictingClassGroupIds:(X,H)=>{if(H){let W=$[X],G=Z[X];if(W){if(G)return Z2(G,W);return W}return G||B9}return Z[X]||B9}}},A9=(Q,J,Z)=>{if(Q.length-J===0)return Z.classGroupId;let Y=Q[J],q=Z.nextPart.get(Y);if(q){let G=A9(Q,J+1,q);if(G)return G}let X=Z.validators;if(X===null)return;let H=J===0?Q.join("-"):Q.slice(J).join("-"),W=X.length;for(let G=0;G<W;G++){let z=X[G];if(z.validator(H))return z.classGroupId}return},X2=(Q)=>Q.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let J=Q.slice(1,-1),Z=J.indexOf(":"),$=J.slice(0,Z);return $?"arbitrary.."+$:void 0})(),q2=(Q)=>{let{theme:J,classGroups:Z}=Q;return H2(Z,J)},H2=(Q,J)=>{let Z=_9();for(let $ in Q){let Y=Q[$];V7(Y,Z,$,J)}return Z},V7=(Q,J,Z,$)=>{let Y=Q.length;for(let q=0;q<Y;q++){let X=Q[q];W2(X,J,Z,$)}},W2=(Q,J,Z,$)=>{if(typeof Q==="string"){z2(Q,J,Z);return}if(typeof Q==="function"){G2(Q,J,Z,$);return}K2(Q,J,Z,$)},z2=(Q,J,Z)=>{let $=Q===""?J:N9(J,Q);$.classGroupId=Z},G2=(Q,J,Z,$)=>{if(F2(Q)){V7(Q($),J,Z,$);return}if(J.validators===null)J.validators=[];J.validators.push($2(Z,Q))},K2=(Q,J,Z,$)=>{let Y=Object.entries(Q),q=Y.length;for(let X=0;X<q;X++){let[H,W]=Y[X];V7(W,N9(J,H),Z,$)}},N9=(Q,J)=>{let Z=Q,$=J.split("-"),Y=$.length;for(let q=0;q<Y;q++){let X=$[q],H=Z.nextPart.get(X);if(!H)H=_9(),Z.nextPart.set(X,H);Z=H}return Z},F2=(Q)=>("isThemeGetter"in Q)&&Q.isThemeGetter===!0,B2=(Q)=>{if(Q<1)return{get:()=>{return},set:()=>{}};let J=0,Z=Object.create(null),$=Object.create(null),Y=(q,X)=>{if(Z[q]=X,J++,J>Q)J=0,$=Z,Z=Object.create(null)};return{get(q){let X=Z[q];if(X!==void 0)return X;if((X=$[q])!==void 0)return Y(q,X),X},set(q,X){if(q in Z)Z[q]=X;else Y(q,X)}}};var O2=[],O9=(Q,J,Z,$,Y)=>({modifiers:Q,hasImportantModifier:J,baseClassName:Z,maybePostfixModifierPosition:$,isExternal:Y}),w2=(Q)=>{let{prefix:J,experimentalParseClassName:Z}=Q,$=(Y)=>{let q=[],X=0,H=0,W=0,G,z=Y.length;for(let _=0;_<z;_++){let U=Y[_];if(X===0&&H===0){if(U===":"){q.push(Y.slice(W,_)),W=_+1;continue}if(U==="/"){G=_;continue}}if(U==="[")X++;else if(U==="]")X--;else if(U==="(")H++;else if(U===")")H--}let K=q.length===0?Y:Y.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 w=G&&G>W?G-W:void 0;return O9(q,O,B,w)};if(J){let Y=J+":",q=$;$=(X)=>X.startsWith(Y)?q(X.slice(Y.length)):O9(O2,!1,X,void 0,!0)}if(Z){let Y=$;$=(q)=>Z({className:q,parseClassName:Y})}return $},D2=(Q)=>{let J=new Map;return Q.orderSensitiveModifiers.forEach((Z,$)=>{J.set(Z,1e6+$)}),(Z)=>{let $=[],Y=[];for(let q=0;q<Z.length;q++){let X=Z[q],H=X[0]==="[",W=J.has(X);if(H||W){if(Y.length>0)Y.sort(),$.push(...Y),Y=[];$.push(X)}else Y.push(X)}if(Y.length>0)Y.sort(),$.push(...Y);return $}},U2=(Q)=>({cache:B2(Q.cacheSize),parseClassName:w2(Q),sortModifiers:D2(Q),...Y2(Q)}),_2=/\s+/,A2=(Q,J)=>{let{parseClassName:Z,getClassGroupId:$,getConflictingClassGroupIds:Y,sortModifiers:q}=J,X=[],H=Q.trim().split(_2),W="";for(let G=H.length-1;G>=0;G-=1){let z=H[G],{isExternal:K,modifiers:B,hasImportantModifier:O,baseClassName:w,maybePostfixModifierPosition:_}=Z(z);if(K){W=z+(W.length>0?" "+W:W);continue}let U=!!_,N=$(U?w.substring(0,_):w);if(!N){if(!U){W=z+(W.length>0?" "+W:W);continue}if(N=$(w),!N){W=z+(W.length>0?" "+W:W);continue}U=!1}let P=B.length===0?"":B.length===1?B[0]:q(B).join(":"),A=O?P+"!":P,I=A+N;if(X.indexOf(I)>-1)continue;X.push(I);let M=Y(N,U);for(let R=0;R<M.length;++R){let x=M[R];X.push(A+x)}W=z+(W.length>0?" "+W:W)}return W},N2=(...Q)=>{let J=0,Z,$,Y="";while(J<Q.length)if(Z=Q[J++]){if($=I9(Z))Y&&(Y+=" "),Y+=$}return Y},I9=(Q)=>{if(typeof Q==="string")return Q;let J,Z="";for(let $=0;$<Q.length;$++)if(Q[$]){if(J=I9(Q[$]))Z&&(Z+=" "),Z+=J}return Z},I2=(Q,...J)=>{let Z,$,Y,q,X=(W)=>{let G=J.reduce((z,K)=>K(z),Q());return Z=U2(G),$=Z.cache.get,Y=Z.cache.set,q=H,H(W)},H=(W)=>{let G=$(W);if(G)return G;let z=A2(W,Z);return Y(W,z),z};return q=X,(...W)=>q(N2(...W))},V2=[],i=(Q)=>{let J=(Z)=>Z[Q]||V2;return J.isThemeGetter=!0,J},V9=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,P9=/^\((?:(\w[\w-]*):)?(.+)\)$/i,P2=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,T2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,L2=/\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$/,M2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,E2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,S2=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,d0=(Q)=>P2.test(Q),b=(Q)=>!!Q&&!Number.isNaN(Number(Q)),u0=(Q)=>!!Q&&Number.isInteger(Number(Q)),I7=(Q)=>Q.endsWith("%")&&b(Q.slice(0,-1)),b0=(Q)=>T2.test(Q),T9=()=>!0,k2=(Q)=>L2.test(Q)&&!M2.test(Q),P7=()=>!1,j2=(Q)=>E2.test(Q),b2=(Q)=>S2.test(Q),R2=(Q)=>!T(Q)&&!L(Q),h2=(Q)=>c0(Q,E9,P7),T=(Q)=>V9.test(Q),$1=(Q)=>c0(Q,S9,k2),w9=(Q)=>c0(Q,u2,b),C2=(Q)=>c0(Q,j9,T9),x2=(Q)=>c0(Q,k9,P7),D9=(Q)=>c0(Q,L9,P7),f2=(Q)=>c0(Q,M9,b2),Q6=(Q)=>c0(Q,b9,j2),L=(Q)=>P9.test(Q),$5=(Q)=>Y1(Q,S9),y2=(Q)=>Y1(Q,k9),U9=(Q)=>Y1(Q,L9),v2=(Q)=>Y1(Q,E9),g2=(Q)=>Y1(Q,M9),J6=(Q)=>Y1(Q,b9,!0),d2=(Q)=>Y1(Q,j9,!0),c0=(Q,J,Z)=>{let $=V9.exec(Q);if($){if($[1])return J($[1]);return Z($[2])}return!1},Y1=(Q,J,Z=!1)=>{let $=P9.exec(Q);if($){if($[1])return J($[1]);return Z}return!1},L9=(Q)=>Q==="position"||Q==="percentage",M9=(Q)=>Q==="image"||Q==="url",E9=(Q)=>Q==="length"||Q==="size"||Q==="bg-size",S9=(Q)=>Q==="length",u2=(Q)=>Q==="number",k9=(Q)=>Q==="family-name",j9=(Q)=>Q==="number"||Q==="weight",b9=(Q)=>Q==="shadow";var c2=()=>{let Q=i("color"),J=i("font"),Z=i("text"),$=i("font-weight"),Y=i("tracking"),q=i("leading"),X=i("breakpoint"),H=i("container"),W=i("spacing"),G=i("radius"),z=i("shadow"),K=i("inset-shadow"),B=i("text-shadow"),O=i("drop-shadow"),w=i("blur"),_=i("perspective"),U=i("aspect"),N=i("ease"),P=i("animate"),A=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],M=()=>[...I(),L,T],R=()=>["auto","hidden","clip","visible","scroll"],x=()=>["auto","contain","none"],D=()=>[L,T,W],S=()=>[d0,"full","auto",...D()],J0=()=>[u0,"none","subgrid",L,T],E0=()=>["auto",{span:["full",u0,L,T]},u0,L,T],W0=()=>[u0,"auto",L,T],Z1=()=>["auto","min","max","fr",L,T],Z5=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],S0=()=>["start","end","center","stretch","center-safe","end-safe"],X0=()=>["auto",...D()],g0=()=>[d0,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...D()],p=()=>[d0,"screen","full","dvw","lvw","svw","min","max","fit",...D()],t=()=>[d0,"screen","full","lh","dvh","lvh","svh","min","max","fit",...D()],E=()=>[Q,L,T],k0=()=>[...I(),U9,D9,{position:[L,T]}],s5=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Z9=()=>["auto","cover","contain",v2,h2,{size:[L,T]}],_7=()=>[I7,$5,$1],Z0=()=>["","none","full",G,L,T],$0=()=>["",b,$5,$1],o5=()=>["solid","dashed","dotted","double"],$9=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],n=()=>[b,I7,U9,D9],Y9=()=>["","none",w,L,T],n5=()=>["none",b,L,T],a5=()=>["none",b,L,T],A7=()=>[b,L,T],t5=()=>[d0,"full",...D()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[b0],breakpoint:[b0],color:[T9],container:[b0],"drop-shadow":[b0],ease:["in","out","in-out"],font:[R2],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[b0],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[b0],shadow:[b0],spacing:["px",b],text:[b0],"text-shadow":[b0],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",d0,T,L,U]}],container:["container"],columns:[{columns:[b,T,L,H]}],"break-after":[{"break-after":A()}],"break-before":[{"break-before":A()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:M()}],overflow:[{overflow:R()}],"overflow-x":[{"overflow-x":R()}],"overflow-y":[{"overflow-y":R()}],overscroll:[{overscroll:x()}],"overscroll-x":[{"overscroll-x":x()}],"overscroll-y":[{"overscroll-y":x()}],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:[u0,"auto",L,T]}],basis:[{basis:[d0,"full","auto",H,...D()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[b,d0,"auto","initial","none",T]}],grow:[{grow:["",b,L,T]}],shrink:[{shrink:["",b,L,T]}],order:[{order:[u0,"first","last","none",L,T]}],"grid-cols":[{"grid-cols":J0()}],"col-start-end":[{col:E0()}],"col-start":[{"col-start":W0()}],"col-end":[{"col-end":W0()}],"grid-rows":[{"grid-rows":J0()}],"row-start-end":[{row:E0()}],"row-start":[{"row-start":W0()}],"row-end":[{"row-end":W0()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Z1()}],"auto-rows":[{"auto-rows":Z1()}],gap:[{gap:D()}],"gap-x":[{"gap-x":D()}],"gap-y":[{"gap-y":D()}],"justify-content":[{justify:[...Z5(),"normal"]}],"justify-items":[{"justify-items":[...S0(),"normal"]}],"justify-self":[{"justify-self":["auto",...S0()]}],"align-content":[{content:["normal",...Z5()]}],"align-items":[{items:[...S0(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...S0(),{baseline:["","last"]}]}],"place-content":[{"place-content":Z5()}],"place-items":[{"place-items":[...S0(),"baseline"]}],"place-self":[{"place-self":["auto",...S0()]}],p:[{p:D()}],px:[{px:D()}],py:[{py:D()}],ps:[{ps:D()}],pe:[{pe:D()}],pbs:[{pbs:D()}],pbe:[{pbe:D()}],pt:[{pt:D()}],pr:[{pr:D()}],pb:[{pb:D()}],pl:[{pl:D()}],m:[{m:X0()}],mx:[{mx:X0()}],my:[{my:X0()}],ms:[{ms:X0()}],me:[{me:X0()}],mbs:[{mbs:X0()}],mbe:[{mbe:X0()}],mt:[{mt:X0()}],mr:[{mr:X0()}],mb:[{mb:X0()}],ml:[{ml:X0()}],"space-x":[{"space-x":D()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":D()}],"space-y-reverse":["space-y-reverse"],size:[{size:g0()}],"inline-size":[{inline:["auto",...p()]}],"min-inline-size":[{"min-inline":["auto",...p()]}],"max-inline-size":[{"max-inline":["none",...p()]}],"block-size":[{block:["auto",...t()]}],"min-block-size":[{"min-block":["auto",...t()]}],"max-block-size":[{"max-block":["none",...t()]}],w:[{w:[H,"screen",...g0()]}],"min-w":[{"min-w":[H,"screen","none",...g0()]}],"max-w":[{"max-w":[H,"screen","none","prose",{screen:[X]},...g0()]}],h:[{h:["screen","lh",...g0()]}],"min-h":[{"min-h":["screen","lh","none",...g0()]}],"max-h":[{"max-h":["screen","lh",...g0()]}],"font-size":[{text:["base",Z,$5,$1]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[$,d2,C2]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",I7,T]}],"font-family":[{font:[y2,x2,J]}],"font-features":[{"font-features":[T]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[Y,L,T]}],"line-clamp":[{"line-clamp":[b,"none",L,w9]}],leading:[{leading:[q,...D()]}],"list-image":[{"list-image":["none",L,T]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",L,T]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:E()}],"text-color":[{text:E()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...o5(),"wavy"]}],"text-decoration-thickness":[{decoration:[b,"from-font","auto",L,$1]}],"text-decoration-color":[{decoration:E()}],"underline-offset":[{"underline-offset":[b,"auto",L,T]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",L,T]}],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",L,T]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:k0()}],"bg-repeat":[{bg:s5()}],"bg-size":[{bg:Z9()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},u0,L,T],radial:["",L,T],conic:[u0,L,T]},g2,f2]}],"bg-color":[{bg:E()}],"gradient-from-pos":[{from:_7()}],"gradient-via-pos":[{via:_7()}],"gradient-to-pos":[{to:_7()}],"gradient-from":[{from:E()}],"gradient-via":[{via:E()}],"gradient-to":[{to:E()}],rounded:[{rounded:Z0()}],"rounded-s":[{"rounded-s":Z0()}],"rounded-e":[{"rounded-e":Z0()}],"rounded-t":[{"rounded-t":Z0()}],"rounded-r":[{"rounded-r":Z0()}],"rounded-b":[{"rounded-b":Z0()}],"rounded-l":[{"rounded-l":Z0()}],"rounded-ss":[{"rounded-ss":Z0()}],"rounded-se":[{"rounded-se":Z0()}],"rounded-ee":[{"rounded-ee":Z0()}],"rounded-es":[{"rounded-es":Z0()}],"rounded-tl":[{"rounded-tl":Z0()}],"rounded-tr":[{"rounded-tr":Z0()}],"rounded-br":[{"rounded-br":Z0()}],"rounded-bl":[{"rounded-bl":Z0()}],"border-w":[{border:$0()}],"border-w-x":[{"border-x":$0()}],"border-w-y":[{"border-y":$0()}],"border-w-s":[{"border-s":$0()}],"border-w-e":[{"border-e":$0()}],"border-w-bs":[{"border-bs":$0()}],"border-w-be":[{"border-be":$0()}],"border-w-t":[{"border-t":$0()}],"border-w-r":[{"border-r":$0()}],"border-w-b":[{"border-b":$0()}],"border-w-l":[{"border-l":$0()}],"divide-x":[{"divide-x":$0()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":$0()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...o5(),"hidden","none"]}],"divide-style":[{divide:[...o5(),"hidden","none"]}],"border-color":[{border:E()}],"border-color-x":[{"border-x":E()}],"border-color-y":[{"border-y":E()}],"border-color-s":[{"border-s":E()}],"border-color-e":[{"border-e":E()}],"border-color-bs":[{"border-bs":E()}],"border-color-be":[{"border-be":E()}],"border-color-t":[{"border-t":E()}],"border-color-r":[{"border-r":E()}],"border-color-b":[{"border-b":E()}],"border-color-l":[{"border-l":E()}],"divide-color":[{divide:E()}],"outline-style":[{outline:[...o5(),"none","hidden"]}],"outline-offset":[{"outline-offset":[b,L,T]}],"outline-w":[{outline:["",b,$5,$1]}],"outline-color":[{outline:E()}],shadow:[{shadow:["","none",z,J6,Q6]}],"shadow-color":[{shadow:E()}],"inset-shadow":[{"inset-shadow":["none",K,J6,Q6]}],"inset-shadow-color":[{"inset-shadow":E()}],"ring-w":[{ring:$0()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:E()}],"ring-offset-w":[{"ring-offset":[b,$1]}],"ring-offset-color":[{"ring-offset":E()}],"inset-ring-w":[{"inset-ring":$0()}],"inset-ring-color":[{"inset-ring":E()}],"text-shadow":[{"text-shadow":["none",B,J6,Q6]}],"text-shadow-color":[{"text-shadow":E()}],opacity:[{opacity:[b,L,T]}],"mix-blend":[{"mix-blend":[...$9(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":$9()}],"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":[b]}],"mask-image-linear-from-pos":[{"mask-linear-from":n()}],"mask-image-linear-to-pos":[{"mask-linear-to":n()}],"mask-image-linear-from-color":[{"mask-linear-from":E()}],"mask-image-linear-to-color":[{"mask-linear-to":E()}],"mask-image-t-from-pos":[{"mask-t-from":n()}],"mask-image-t-to-pos":[{"mask-t-to":n()}],"mask-image-t-from-color":[{"mask-t-from":E()}],"mask-image-t-to-color":[{"mask-t-to":E()}],"mask-image-r-from-pos":[{"mask-r-from":n()}],"mask-image-r-to-pos":[{"mask-r-to":n()}],"mask-image-r-from-color":[{"mask-r-from":E()}],"mask-image-r-to-color":[{"mask-r-to":E()}],"mask-image-b-from-pos":[{"mask-b-from":n()}],"mask-image-b-to-pos":[{"mask-b-to":n()}],"mask-image-b-from-color":[{"mask-b-from":E()}],"mask-image-b-to-color":[{"mask-b-to":E()}],"mask-image-l-from-pos":[{"mask-l-from":n()}],"mask-image-l-to-pos":[{"mask-l-to":n()}],"mask-image-l-from-color":[{"mask-l-from":E()}],"mask-image-l-to-color":[{"mask-l-to":E()}],"mask-image-x-from-pos":[{"mask-x-from":n()}],"mask-image-x-to-pos":[{"mask-x-to":n()}],"mask-image-x-from-color":[{"mask-x-from":E()}],"mask-image-x-to-color":[{"mask-x-to":E()}],"mask-image-y-from-pos":[{"mask-y-from":n()}],"mask-image-y-to-pos":[{"mask-y-to":n()}],"mask-image-y-from-color":[{"mask-y-from":E()}],"mask-image-y-to-color":[{"mask-y-to":E()}],"mask-image-radial":[{"mask-radial":[L,T]}],"mask-image-radial-from-pos":[{"mask-radial-from":n()}],"mask-image-radial-to-pos":[{"mask-radial-to":n()}],"mask-image-radial-from-color":[{"mask-radial-from":E()}],"mask-image-radial-to-color":[{"mask-radial-to":E()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":I()}],"mask-image-conic-pos":[{"mask-conic":[b]}],"mask-image-conic-from-pos":[{"mask-conic-from":n()}],"mask-image-conic-to-pos":[{"mask-conic-to":n()}],"mask-image-conic-from-color":[{"mask-conic-from":E()}],"mask-image-conic-to-color":[{"mask-conic-to":E()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:k0()}],"mask-repeat":[{mask:s5()}],"mask-size":[{mask:Z9()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",L,T]}],filter:[{filter:["","none",L,T]}],blur:[{blur:Y9()}],brightness:[{brightness:[b,L,T]}],contrast:[{contrast:[b,L,T]}],"drop-shadow":[{"drop-shadow":["","none",O,J6,Q6]}],"drop-shadow-color":[{"drop-shadow":E()}],grayscale:[{grayscale:["",b,L,T]}],"hue-rotate":[{"hue-rotate":[b,L,T]}],invert:[{invert:["",b,L,T]}],saturate:[{saturate:[b,L,T]}],sepia:[{sepia:["",b,L,T]}],"backdrop-filter":[{"backdrop-filter":["","none",L,T]}],"backdrop-blur":[{"backdrop-blur":Y9()}],"backdrop-brightness":[{"backdrop-brightness":[b,L,T]}],"backdrop-contrast":[{"backdrop-contrast":[b,L,T]}],"backdrop-grayscale":[{"backdrop-grayscale":["",b,L,T]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[b,L,T]}],"backdrop-invert":[{"backdrop-invert":["",b,L,T]}],"backdrop-opacity":[{"backdrop-opacity":[b,L,T]}],"backdrop-saturate":[{"backdrop-saturate":[b,L,T]}],"backdrop-sepia":[{"backdrop-sepia":["",b,L,T]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":D()}],"border-spacing-x":[{"border-spacing-x":D()}],"border-spacing-y":[{"border-spacing-y":D()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",L,T]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[b,"initial",L,T]}],ease:[{ease:["linear","initial",N,L,T]}],delay:[{delay:[b,L,T]}],animate:[{animate:["none",P,L,T]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[_,L,T]}],"perspective-origin":[{"perspective-origin":M()}],rotate:[{rotate:n5()}],"rotate-x":[{"rotate-x":n5()}],"rotate-y":[{"rotate-y":n5()}],"rotate-z":[{"rotate-z":n5()}],scale:[{scale:a5()}],"scale-x":[{"scale-x":a5()}],"scale-y":[{"scale-y":a5()}],"scale-z":[{"scale-z":a5()}],"scale-3d":["scale-3d"],skew:[{skew:A7()}],"skew-x":[{"skew-x":A7()}],"skew-y":[{"skew-y":A7()}],transform:[{transform:[L,T,"","none","gpu","cpu"]}],"transform-origin":[{origin:M()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:t5()}],"translate-x":[{"translate-x":t5()}],"translate-y":[{"translate-y":t5()}],"translate-z":[{"translate-z":t5()}],"translate-none":["translate-none"],accent:[{accent:E()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:E()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",L,T]}],"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":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mbs":[{"scroll-mbs":D()}],"scroll-mbe":[{"scroll-mbe":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pbs":[{"scroll-pbs":D()}],"scroll-pbe":[{"scroll-pbe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"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",L,T]}],fill:[{fill:["none",...E()]}],"stroke-w":[{stroke:[b,$5,$1,w9]}],stroke:[{stroke:["none",...E()]}],"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 R9=I2(c2);function kr5(...Q){return R9(N7(Q))}function X1(Q,J){if(Q.indexOf(J)===-1)Q.push(J)}function p0(Q,J){let Z=Q.indexOf(J);if(Z>-1)Q.splice(Z,1)}var m=(Q,J,Z)=>{if(Z>J)return J;if(Z<Q)return Q;return Z};function T7(Q,J){return J?`${Q}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${J}`:Q}var _0=()=>{},q0=()=>{};if(typeof process<"u"&&process.env?.NODE_ENV!=="production")_0=(Q,J,Z)=>{if(!Q&&typeof console<"u")console.warn(T7(J,Z))},q0=(Q,J,Z)=>{if(!Q)throw Error(T7(J,Z))};var e={};var Y5=(Q)=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(Q);function X5(Q){return typeof Q==="object"&&Q!==null}var q5=(Q)=>/^0[^.\s]+$/u.test(Q);function H5(Q){let J;return()=>{if(J===void 0)J=Q();return J}}var d=(Q)=>Q;var p2=(Q,J)=>(Z)=>J(Q(Z)),O0=(...Q)=>Q.reduce(p2);var A0=(Q,J,Z)=>{let $=J-Q;return $===0?1:(Z-Q)/$};class m0{constructor(){this.subscriptions=[]}add(Q){return X1(this.subscriptions,Q),()=>p0(this.subscriptions,Q)}notify(Q,J,Z){let $=this.subscriptions.length;if(!$)return;if($===1)this.subscriptions[0](Q,J,Z);else for(let Y=0;Y<$;Y++){let q=this.subscriptions[Y];q&&q(Q,J,Z)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}var l=(Q)=>Q*1000,s=(Q)=>Q/1000;function W5(Q,J){return J?Q*(1000/J):0}var h9=(Q,J,Z)=>(((1-3*Z+3*J)*Q+(3*Z-6*J))*Q+3*J)*Q,m2=0.0000001,l2=12;function r2(Q,J,Z,$,Y){let q,X,H=0;do if(X=J+(Z-J)/2,q=h9(X,$,Y)-Q,q>0)Z=X;else J=X;while(Math.abs(q)>m2&&++H<l2);return X}function l0(Q,J,Z,$){if(Q===J&&Z===$)return d;let Y=(q)=>r2(q,0,1,Q,Z);return(q)=>q===0||q===1?q:h9(Y(q),J,$)}var Z6=(Q)=>(J)=>J<=0.5?Q(2*J)/2:(2-Q(2*(1-J)))/2;var $6=(Q)=>(J)=>1-Q(1-J);var Y6=l0(0.33,1.53,0.69,0.99),j1=$6(Y6),z5=Z6(j1);var G5=(Q)=>(Q*=2)<1?0.5*j1(Q):0.5*(2-Math.pow(2,-10*(Q-1)));var K5=(Q)=>1-Math.sin(Math.acos(Q)),F5=$6(K5),B5=Z6(K5);var L7=l0(0.42,0,1,1),M7=l0(0,0,0.58,1),O5=l0(0.42,0,0.58,1);var E7=(Q)=>{return Array.isArray(Q)&&typeof Q[0]!=="number"};var w5=(Q)=>Array.isArray(Q)&&typeof Q[0]==="number";var C9={linear:d,easeIn:L7,easeInOut:O5,easeOut:M7,circIn:K5,circInOut:B5,circOut:F5,backIn:j1,backInOut:z5,backOut:Y6,anticipate:G5},i2=(Q)=>{return typeof Q==="string"},X6=(Q)=>{if(w5(Q)){q0(Q.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[J,Z,$,Y]=Q;return l0(J,Z,$,Y)}else if(i2(Q))return q0(C9[Q]!==void 0,`Invalid easing type '${Q}'`,"invalid-easing-type"),C9[Q];return Q};var D5=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var z0={value:null,addProjectionMetrics:null};function x9(Q,J){let Z=new Set,$=new Set,Y=!1,q=!1,X=new WeakSet,H={delta:0,timestamp:0,isProcessing:!1},W=0;function G(K){if(X.has(K))z.schedule(K),Q();W++,K(H)}let z={schedule:(K,B=!1,O=!1)=>{let _=O&&Y?Z:$;if(B)X.add(K);if(!_.has(K))_.add(K);return K},cancel:(K)=>{$.delete(K),X.delete(K)},process:(K)=>{if(H=K,Y){q=!0;return}if(Y=!0,[Z,$]=[$,Z],Z.forEach(G),J&&z0.value)z0.value.frameloop[J].push(W);if(W=0,Z.clear(),Y=!1,q)q=!1,z.process(K)}};return z}var s2=40;function q6(Q,J){let Z=!1,$=!0,Y={delta:0,timestamp:0,isProcessing:!1},q=()=>Z=!0,X=D5.reduce((A,I)=>{return A[I]=x9(q,J?I:void 0),A},{}),{setup:H,read:W,resolveKeyframes:G,preUpdate:z,update:K,preRender:B,render:O,postRender:w}=X,_=()=>{let A=e.useManualTiming?Y.timestamp:performance.now();if(Z=!1,!e.useManualTiming)Y.delta=$?16.666666666666668:Math.max(Math.min(A-Y.timestamp,s2),1);if(Y.timestamp=A,Y.isProcessing=!0,H.process(Y),W.process(Y),G.process(Y),z.process(Y),K.process(Y),B.process(Y),O.process(Y),w.process(Y),Y.isProcessing=!1,Z&&J)$=!1,Q(_)},U=()=>{if(Z=!0,$=!0,!Y.isProcessing)Q(_)};return{schedule:D5.reduce((A,I)=>{let M=X[I];return A[I]=(R,x=!1,D=!1)=>{if(!Z)U();return M.schedule(R,x,D)},A},{}),cancel:(A)=>{for(let I=0;I<D5.length;I++)X[D5[I]].cancel(A)},state:Y,steps:X}}var{schedule:k,cancel:H0,state:c,steps:U5}=q6(typeof requestAnimationFrame<"u"?requestAnimationFrame:d,!0);var H6;function o2(){H6=void 0}var u={now:()=>{if(H6===void 0)u.set(c.isProcessing||e.useManualTiming?c.timestamp:performance.now());return H6},set:(Q)=>{H6=Q,queueMicrotask(o2)}};var N0={layout:0,mainThread:0,waapi:0};var f9=(Q)=>(J)=>typeof J==="string"&&J.startsWith(Q),W6=f9("--"),n2=f9("var(--"),b1=(Q)=>{if(!n2(Q))return!1;return a2.test(Q.split("/*")[0].trim())},a2=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function S7(Q){if(typeof Q!=="string")return!1;return Q.split("/*")[0].includes("var(--")}var I0={test:(Q)=>typeof Q==="number",parse:parseFloat,transform:(Q)=>Q},R0={...I0,transform:(Q)=>m(0,1,Q)},_5={...I0,default:1};var r0=(Q)=>Math.round(Q*1e5)/1e5;var R1=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function y9(Q){return Q==null}var v9=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var h1=(Q,J)=>(Z)=>{return Boolean(typeof Z==="string"&&v9.test(Z)&&Z.startsWith(Q)||J&&!y9(Z)&&Object.prototype.hasOwnProperty.call(Z,J))},z6=(Q,J,Z)=>($)=>{if(typeof $!=="string")return $;let[Y,q,X,H]=$.match(R1);return{[Q]:parseFloat(Y),[J]:parseFloat(q),[Z]:parseFloat(X),alpha:H!==void 0?parseFloat(H):1}};var t2=(Q)=>m(0,255,Q),k7={...I0,transform:(Q)=>Math.round(t2(Q))},V0={test:h1("rgb","red"),parse:z6("red","green","blue"),transform:({red:Q,green:J,blue:Z,alpha:$=1})=>"rgba("+k7.transform(Q)+", "+k7.transform(J)+", "+k7.transform(Z)+", "+r0(R0.transform($))+")"};function e2(Q){let J="",Z="",$="",Y="";if(Q.length>5)J=Q.substring(1,3),Z=Q.substring(3,5),$=Q.substring(5,7),Y=Q.substring(7,9);else J=Q.substring(1,2),Z=Q.substring(2,3),$=Q.substring(3,4),Y=Q.substring(4,5),J+=J,Z+=Z,$+=$,Y+=Y;return{red:parseInt(J,16),green:parseInt(Z,16),blue:parseInt($,16),alpha:Y?parseInt(Y,16)/255:1}}var A5={test:h1("#"),parse:e2,transform:V0.transform};var N5=(Q)=>({test:(J)=>typeof J==="string"&&J.endsWith(Q)&&J.split(" ").length===1,parse:parseFloat,transform:(J)=>`${J}${Q}`}),w0=N5("deg"),Q0=N5("%"),V=N5("px"),j7=N5("vh"),b7=N5("vw"),G6=(()=>({...Q0,parse:(Q)=>Q0.parse(Q)/100,transform:(Q)=>Q0.transform(Q*100)}))();var i0={test:h1("hsl","hue"),parse:z6("hue","saturation","lightness"),transform:({hue:Q,saturation:J,lightness:Z,alpha:$=1})=>{return"hsla("+Math.round(Q)+", "+Q0.transform(r0(J))+", "+Q0.transform(r0(Z))+", "+r0(R0.transform($))+")"}};var v={test:(Q)=>V0.test(Q)||A5.test(Q)||i0.test(Q),parse:(Q)=>{if(V0.test(Q))return V0.parse(Q);else if(i0.test(Q))return i0.parse(Q);else return A5.parse(Q)},transform:(Q)=>{return typeof Q==="string"?Q:Q.hasOwnProperty("red")?V0.transform(Q):i0.transform(Q)},getAnimatableNone:(Q)=>{let J=v.parse(Q);return J.alpha=0,v.transform(J)}};var g9=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function QX(Q){return isNaN(Q)&&typeof Q==="string"&&(Q.match(R1)?.length||0)+(Q.match(g9)?.length||0)>0}var u9="number",c9="color",JX="var",ZX="var(",d9="${}",$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 q1(Q){let J=Q.toString(),Z=[],$={color:[],number:[],var:[]},Y=[],q=0,H=J.replace($X,(W)=>{if(v.test(W))$.color.push(q),Y.push(c9),Z.push(v.parse(W));else if(W.startsWith(ZX))$.var.push(q),Y.push(JX),Z.push(W);else $.number.push(q),Y.push(u9),Z.push(parseFloat(W));return++q,d9}).split(d9);return{values:Z,split:H,indexes:$,types:Y}}function p9(Q){return q1(Q).values}function m9(Q){let{split:J,types:Z}=q1(Q),$=J.length;return(Y)=>{let q="";for(let X=0;X<$;X++)if(q+=J[X],Y[X]!==void 0){let H=Z[X];if(H===u9)q+=r0(Y[X]);else if(H===c9)q+=v.transform(Y[X]);else q+=Y[X]}return q}}var YX=(Q)=>typeof Q==="number"?0:v.test(Q)?v.getAnimatableNone(Q):Q;function XX(Q){let J=p9(Q);return m9(Q)(J.map(YX))}var o={test:QX,parse:p9,createTransformer:m9,getAnimatableNone:XX};function R7(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 l9({hue:Q,saturation:J,lightness:Z,alpha:$}){Q/=360,J/=100,Z/=100;let Y=0,q=0,X=0;if(!J)Y=q=X=Z;else{let H=Z<0.5?Z*(1+J):Z+J-Z*J,W=2*Z-H;Y=R7(W,H,Q+0.3333333333333333),q=R7(W,H,Q),X=R7(W,H,Q-0.3333333333333333)}return{red:Math.round(Y*255),green:Math.round(q*255),blue:Math.round(X*255),alpha:$}}function C1(Q,J){return(Z)=>Z>0?J:Q}var h=(Q,J,Z)=>{return Q+(J-Q)*Z};var h7=(Q,J,Z)=>{let $=Q*Q,Y=Z*(J*J-$)+$;return Y<0?0:Math.sqrt(Y)},qX=[A5,V0,i0],HX=(Q)=>qX.find((J)=>J.test(Q));function r9(Q){let J=HX(Q);if(_0(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===i0)Z=l9(Z);return Z}var C7=(Q,J)=>{let Z=r9(Q),$=r9(J);if(!Z||!$)return C1(Q,J);let Y={...Z};return(q)=>{return Y.red=h7(Z.red,$.red,q),Y.green=h7(Z.green,$.green,q),Y.blue=h7(Z.blue,$.blue,q),Y.alpha=h(Z.alpha,$.alpha,q),V0.transform(Y)}};var K6=new Set(["none","hidden"]);function i9(Q,J){if(K6.has(Q))return(Z)=>Z<=0?Q:J;else return(Z)=>Z>=1?J:Q}function WX(Q,J){return(Z)=>h(Q,J,Z)}function F6(Q){if(typeof Q==="number")return WX;else if(typeof Q==="string")return b1(Q)?C1:v.test(Q)?C7:KX;else if(Array.isArray(Q))return s9;else if(typeof Q==="object")return v.test(Q)?C7:zX;return C1}function s9(Q,J){let Z=[...Q],$=Z.length,Y=Q.map((q,X)=>F6(q)(q,J[X]));return(q)=>{for(let X=0;X<$;X++)Z[X]=Y[X](q);return Z}}function zX(Q,J){let Z={...Q,...J},$={};for(let Y in Z)if(Q[Y]!==void 0&&J[Y]!==void 0)$[Y]=F6(Q[Y])(Q[Y],J[Y]);return(Y)=>{for(let q in $)Z[q]=$[q](Y);return Z}}function GX(Q,J){let Z=[],$={color:0,var:0,number:0};for(let Y=0;Y<J.values.length;Y++){let q=J.types[Y],X=Q.indexes[q][$[q]],H=Q.values[X]??0;Z[Y]=H,$[q]++}return Z}var KX=(Q,J)=>{let Z=o.createTransformer(J),$=q1(Q),Y=q1(J);if($.indexes.var.length===Y.indexes.var.length&&$.indexes.color.length===Y.indexes.color.length&&$.indexes.number.length>=Y.indexes.number.length){if(K6.has(Q)&&!Y.values.length||K6.has(J)&&!$.values.length)return i9(Q,J);return O0(s9(GX($,Y),Y.values),Z)}else return _0(!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"),C1(Q,J)};function B6(Q,J,Z){if(typeof Q==="number"&&typeof J==="number"&&typeof Z==="number")return h(Q,J,Z);return F6(Q)(Q,J)}var o9=(Q)=>{let J=({timestamp:Z})=>Q(Z);return{start:(Z=!0)=>k.update(J,Z),stop:()=>H0(J),now:()=>c.isProcessing?c.timestamp:u.now()}};var O6=(Q,J,Z=10)=>{let $="",Y=Math.max(Math.round(J/Z),2);for(let q=0;q<Y;q++)$+=Math.round(Q(q/(Y-1))*1e4)/1e4+", ";return`linear(${$.substring(0,$.length-2)})`};var w6=20000;function x1(Q){let J=0,Z=50,$=Q.next(J);while(!$.done&&J<20000)J+=Z,$=Q.next(J);return J>=20000?1/0:J}function n9(Q,J=100,Z){let $=Z({...Q,keyframes:[0,J]}),Y=Math.min(x1($),w6);return{type:"keyframes",ease:(q)=>{return $.next(Y*q).value/J},duration:s(Y)}}var FX=5;function D6(Q,J,Z){let $=Math.max(J-FX,0);return W5(Z-Q($),J-$)}var y={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 x7=0.001;function a9({duration:Q=y.duration,bounce:J=y.bounce,velocity:Z=y.velocity,mass:$=y.mass}){let Y,q;_0(Q<=l(y.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let X=1-J;if(X=m(y.minDamping,y.maxDamping,X),Q=m(y.minDuration,y.maxDuration,s(Q)),X<1)Y=(G)=>{let z=G*X,K=z*Q,B=z-Z,O=U6(G,X),w=Math.exp(-K);return x7-B/O*w},q=(G)=>{let K=G*X*Q,B=K*Z+Z,O=Math.pow(X,2)*Math.pow(G,2)*Q,w=Math.exp(-K),_=U6(Math.pow(G,2),X);return(-Y(G)+x7>0?-1:1)*((B-O)*w)/_};else Y=(G)=>{let z=Math.exp(-G*Q),K=(G-Z)*Q+1;return-x7+z*K},q=(G)=>{let z=Math.exp(-G*Q),K=(Z-G)*(Q*Q);return z*K};let H=5/Q,W=OX(Y,q,H);if(Q=l(Q),isNaN(W))return{stiffness:y.stiffness,damping:y.damping,duration:Q};else{let G=Math.pow(W,2)*$;return{stiffness:G,damping:X*2*Math.sqrt($*G),duration:Q}}}var BX=12;function OX(Q,J,Z){let $=Z;for(let Y=1;Y<BX;Y++)$=$-Q($)/J($);return $}function U6(Q,J){return Q*Math.sqrt(1-J*J)}var wX=["duration","bounce"],DX=["stiffness","damping","mass"];function t9(Q,J){return J.some((Z)=>Q[Z]!==void 0)}function UX(Q){let J={velocity:y.velocity,stiffness:y.stiffness,damping:y.damping,mass:y.mass,isResolvedFromDuration:!1,...Q};if(!t9(Q,DX)&&t9(Q,wX))if(J.velocity=0,Q.visualDuration){let Z=Q.visualDuration,$=2*Math.PI/(Z*1.2),Y=$*$,q=2*m(0.05,1,1-(Q.bounce||0))*Math.sqrt(Y);J={...J,mass:y.mass,stiffness:Y,damping:q}}else{let Z=a9({...Q,velocity:0});J={...J,...Z,mass:y.mass},J.isResolvedFromDuration=!0}return J}function f1(Q=y.visualDuration,J=y.bounce){let Z=typeof Q!=="object"?{visualDuration:Q,keyframes:[0,1],bounce:J}:Q,{restSpeed:$,restDelta:Y}=Z,q=Z.keyframes[0],X=Z.keyframes[Z.keyframes.length-1],H={done:!1,value:q},{stiffness:W,damping:G,mass:z,duration:K,velocity:B,isResolvedFromDuration:O}=UX({...Z,velocity:-s(Z.velocity||0)}),w=B||0,_=G/(2*Math.sqrt(W*z)),U=X-q,N=s(Math.sqrt(W/z)),P=Math.abs(U)<5;$||($=P?y.restSpeed.granular:y.restSpeed.default),Y||(Y=P?y.restDelta.granular:y.restDelta.default);let A;if(_<1){let M=U6(N,_);A=(R)=>{let x=Math.exp(-_*N*R);return X-x*((w+_*N*U)/M*Math.sin(M*R)+U*Math.cos(M*R))}}else if(_===1)A=(M)=>X-Math.exp(-N*M)*(U+(w+N*U)*M);else{let M=N*Math.sqrt(_*_-1);A=(R)=>{let x=Math.exp(-_*N*R),D=Math.min(M*R,300);return X-x*((w+_*N*U)*Math.sinh(D)+M*U*Math.cosh(D))/M}}let I={calculatedDuration:O?K||null:null,next:(M)=>{let R=A(M);if(!O){let x=M===0?w:0;if(_<1)x=M===0?l(w):D6(A,M,R);let D=Math.abs(x)<=$,S=Math.abs(X-R)<=Y;H.done=D&&S}else H.done=M>=K;return H.value=H.done?X:R,H},toString:()=>{let M=Math.min(x1(I),w6),R=O6((x)=>I.next(M*x).value,M,30);return M+"ms "+R},toTransition:()=>{}};return I}f1.applyToOptions=(Q)=>{let J=n9(Q,100,f1);return Q.ease=J.ease,Q.duration=l(J.duration),Q.type="keyframes",Q};function I5({keyframes:Q,velocity:J=0,power:Z=0.8,timeConstant:$=325,bounceDamping:Y=10,bounceStiffness:q=500,modifyTarget:X,min:H,max:W,restDelta:G=0.5,restSpeed:z}){let K=Q[0],B={done:!1,value:K},O=(D)=>H!==void 0&&D<H||W!==void 0&&D>W,w=(D)=>{if(H===void 0)return W;if(W===void 0)return H;return Math.abs(H-D)<Math.abs(W-D)?H:W},_=Z*J,U=K+_,N=X===void 0?U:X(U);if(N!==U)_=N-K;let P=(D)=>-_*Math.exp(-D/$),A=(D)=>N+P(D),I=(D)=>{let S=P(D),J0=A(D);B.done=Math.abs(S)<=G,B.value=B.done?N:J0},M,R,x=(D)=>{if(!O(B.value))return;M=D,R=f1({keyframes:[B.value,w(B.value)],velocity:D6(A,D,B.value),damping:Y,stiffness:q,restDelta:G,restSpeed:z})};return x(0),{calculatedDuration:null,next:(D)=>{let S=!1;if(!R&&M===void 0)S=!0,I(D),x(D);if(M!==void 0&&D>=M)return R.next(D-M);else return!S&&I(D),B}}}function _X(Q,J,Z){let $=[],Y=Z||e.mix||B6,q=Q.length-1;for(let X=0;X<q;X++){let H=Y(Q[X],Q[X+1]);if(J){let W=Array.isArray(J)?J[X]||d:J;H=O0(W,H)}$.push(H)}return $}function e9(Q,J,{clamp:Z=!0,ease:$,mixer:Y}={}){let q=Q.length;if(q0(q===J.length,"Both input and output ranges must be the same length","range-length"),q===1)return()=>J[0];if(q===2&&J[0]===J[1])return()=>J[1];let X=Q[0]===Q[1];if(Q[0]>Q[q-1])Q=[...Q].reverse(),J=[...J].reverse();let H=_X(J,$,Y),W=H.length,G=(z)=>{if(X&&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=A0(Q[K],Q[K+1],z);return H[K](B)};return Z?(z)=>G(m(Q[0],Q[q-1],z)):G}function QQ(Q,J){let Z=Q[Q.length-1];for(let $=1;$<=J;$++){let Y=A0(0,J,$);Q.push(h(Z,1,Y))}}function JQ(Q){let J=[0];return QQ(J,Q.length-1),J}function ZQ(Q,J){return Q.map((Z)=>Z*J)}function AX(Q,J){return Q.map(()=>J||O5).splice(0,Q.length-1)}function H1({duration:Q=300,keyframes:J,times:Z,ease:$="easeInOut"}){let Y=E7($)?$.map(X6):X6($),q={done:!1,value:J[0]},X=ZQ(Z&&Z.length===J.length?Z:JQ(J),Q),H=e9(X,J,{ease:Array.isArray(Y)?Y:AX(J,Y)});return{calculatedDuration:Q,next:(W)=>{return q.value=H(W),q.done=W>=Q,q}}}var NX=(Q)=>Q!==null;function y1(Q,{repeat:J,repeatType:Z="loop"},$,Y=1){let q=Q.filter(NX),H=Y<0||J&&Z!=="loop"&&J%2===1?0:q.length-1;return!H||$===void 0?q[H]:$}var IX={decay:I5,inertia:I5,tween:H1,keyframes:H1,spring:f1};function _6(Q){if(typeof Q.type==="string")Q.type=IX[Q.type]}class W1{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 VX=(Q)=>Q/100;class z1 extends W1{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!==u.now())this.tick(u.now());if(this.isStopped=!0,this.state==="idle")return;this.teardown(),this.options.onStop?.()},N0.mainThread++,this.options=Q,this.initAnimation(),this.play(),Q.autoplay===!1)this.pause()}initAnimation(){let{options:Q}=this;_6(Q);let{type:J=H1,repeat:Z=0,repeatDelay:$=0,repeatType:Y,velocity:q=0}=Q,{keyframes:X}=Q,H=J||H1;if(H!==H1&&typeof X[0]!=="number")this.mixKeyframes=O0(VX,B6(X[0],X[1])),X=[0,100];let W=H({...Q,keyframes:X});if(Y==="mirror")this.mirroredGenerator=H({...Q,keyframes:[...X].reverse(),velocity:-q});if(W.calculatedDuration===null)W.calculatedDuration=x1(W);let{calculatedDuration:G}=W;this.calculatedDuration=G,this.resolvedDuration=G+$,this.totalDuration=this.resolvedDuration*(Z+1)-$,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:$,mixKeyframes:Y,mirroredGenerator:q,resolvedDuration:X,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:w,finalKeyframe:_}=this.options;if(this.speed>0)this.startTime=Math.min(this.startTime,Q);else if(this.speed<0)this.startTime=Math.min(Q-$/this.speed,this.startTime);if(J)this.currentTime=Q;else this.updateTime(Q);let U=this.currentTime-W*(this.playbackSpeed>=0?1:-1),N=this.playbackSpeed>=0?U<0:U>$;if(this.currentTime=Math.max(U,0),this.state==="finished"&&this.holdTime===null)this.currentTime=$;let P=this.currentTime,A=Z;if(z){let x=Math.min(this.currentTime,$)/X,D=Math.floor(x),S=x%1;if(!S&&x>=1)S=1;if(S===1&&D--,D=Math.min(D,z+1),Boolean(D%2)){if(K==="reverse"){if(S=1-S,B)S-=B/X}else if(K==="mirror")A=q}P=m(0,1,S)*X}let I=N?{done:!1,value:G[0]}:A.next(P);if(Y&&!N)I.value=Y(I.value);let{done:M}=I;if(!N&&H!==null)M=this.playbackSpeed>=0?this.currentTime>=$:this.currentTime<=0;let R=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&M);if(R&&O!==I5)I.value=y1(G,this.options,_,this.speed);if(w)w(I.value);if(R)this.finish();return I}then(Q,J){return this.finished.then(Q,J)}get duration(){return s(this.calculatedDuration)}get iterationDuration(){let{delay:Q=0}=this.options||{};return this.duration+s(Q)}get time(){return s(this.currentTime)}set time(Q){if(Q=l(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(u.now());if(this.playbackSpeed=Q,J&&this.driver)this.time=s(this.currentTime)}play(){if(this.isStopped)return;let{driver:Q=o9,startTime:J}=this.options;if(!this.driver)this.driver=Q(($)=>this.tick($));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(u.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,N0.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 $Q(Q){for(let J=1;J<Q.length;J++)Q[J]??(Q[J]=Q[J-1])}var G1=(Q)=>Q*180/Math.PI,f7=(Q)=>{let J=G1(Math.atan2(Q[1],Q[0]));return y7(J)},PX={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:(Q)=>(Math.abs(Q[0])+Math.abs(Q[3]))/2,rotate:f7,rotateZ:f7,skewX:(Q)=>G1(Math.atan(Q[1])),skewY:(Q)=>G1(Math.atan(Q[2])),skew:(Q)=>(Math.abs(Q[1])+Math.abs(Q[2]))/2},y7=(Q)=>{if(Q=Q%360,Q<0)Q+=360;return Q},YQ=f7,XQ=(Q)=>Math.sqrt(Q[0]*Q[0]+Q[1]*Q[1]),qQ=(Q)=>Math.sqrt(Q[4]*Q[4]+Q[5]*Q[5]),TX={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:XQ,scaleY:qQ,scale:(Q)=>(XQ(Q)+qQ(Q))/2,rotateX:(Q)=>y7(G1(Math.atan2(Q[6],Q[5]))),rotateY:(Q)=>y7(G1(Math.atan2(-Q[2],Q[0]))),rotateZ:YQ,rotate:YQ,skewX:(Q)=>G1(Math.atan(Q[4])),skewY:(Q)=>G1(Math.atan(Q[1])),skew:(Q)=>(Math.abs(Q[1])+Math.abs(Q[4]))/2};function A6(Q){return Q.includes("scale")?1:0}function N6(Q,J){if(!Q||Q==="none")return A6(J);let Z=Q.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),$,Y;if(Z)$=TX,Y=Z;else{let H=Q.match(/^matrix\(([-\d.e\s,]+)\)$/u);$=PX,Y=H}if(!Y)return A6(J);let q=$[J],X=Y[1].split(",").map(LX);return typeof q==="function"?q(X):X[q]}var HQ=(Q,J)=>{let{transform:Z="none"}=getComputedStyle(Q);return N6(Z,J)};function LX(Q){return parseFloat(Q.trim())}var P0=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],K0=(()=>new Set(P0))();var v7=(Q)=>Q===I0||Q===V,MX=new Set(["x","y","z"]),EX=P0.filter((Q)=>!MX.has(Q));function WQ(Q){let J=[];return EX.forEach((Z)=>{let $=Q.getValue(Z);if($!==void 0)J.push([Z,$.get()]),$.set(Z.startsWith("scale")?1:0)}),J}var h0={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")};h0.translateX=h0.x;h0.translateY=h0.y;var K1=new Set,g7=!1,d7=!1,u7=!1;function zQ(){if(d7){let Q=Array.from(K1).filter(($)=>$.needsMeasurement),J=new Set(Q.map(($)=>$.element)),Z=new Map;J.forEach(($)=>{let Y=WQ($);if(!Y.length)return;Z.set($,Y),$.render()}),Q.forEach(($)=>$.measureInitialState()),J.forEach(($)=>{$.render();let Y=Z.get($);if(Y)Y.forEach(([q,X])=>{$.getValue(q)?.set(X)})}),Q.forEach(($)=>$.measureEndState()),Q.forEach(($)=>{if($.suspendedScrollY!==void 0)window.scrollTo(0,$.suspendedScrollY)})}d7=!1,g7=!1,K1.forEach((Q)=>Q.complete(u7)),K1.clear()}function GQ(){K1.forEach((Q)=>{if(Q.readKeyframes(),Q.needsMeasurement)d7=!0})}function KQ(){u7=!0,GQ(),zQ(),u7=!1}class F1{constructor(Q,J,Z,$,Y,q=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...Q],this.onComplete=J,this.name=Z,this.motionValue=$,this.element=Y,this.isAsync=q}scheduleResolve(){if(this.state="scheduled",this.isAsync){if(K1.add(this),!g7)g7=!0,k.read(GQ),k.resolveKeyframes(zQ)}else this.readKeyframes(),this.complete()}readKeyframes(){let{unresolvedKeyframes:Q,name:J,element:Z,motionValue:$}=this;if(Q[0]===null){let Y=$?.get(),q=Q[Q.length-1];if(Y!==void 0)Q[0]=Y;else if(Z&&J){let X=Z.readValue(J,q);if(X!==void 0&&X!==null)Q[0]=X}if(Q[0]===void 0)Q[0]=q;if($&&Y===void 0)$.set(Q[0])}$Q(Q)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(Q=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,Q),K1.delete(this)}cancel(){if(this.state==="scheduled")K1.delete(this),this.state="pending"}resume(){if(this.state==="pending")this.scheduleResolve()}}var FQ=(Q)=>Q.startsWith("--");function I6(Q,J,Z){FQ(J)?Q.style.setProperty(J,Z):Q.style[J]=Z}var BQ={};function V6(Q,J){let Z=H5(Q);return()=>BQ[J]??Z()}var OQ=V6(()=>window.ScrollTimeline!==void 0,"scrollTimeline");var P6=V6(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(Q){return!1}return!0},"linearEasing");var B1=([Q,J,Z,$])=>`cubic-bezier(${Q}, ${J}, ${Z}, ${$})`;var c7={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:B1([0,0.65,0.55,1]),circOut:B1([0.55,0,1,0.45]),backIn:B1([0.31,0.01,0.66,-0.59]),backOut:B1([0.33,1.53,0.69,0.99])};function p7(Q,J){if(!Q)return;else if(typeof Q==="function")return P6()?O6(Q,J):"ease-out";else if(w5(Q))return B1(Q);else if(Array.isArray(Q))return Q.map((Z)=>p7(Z,J)||c7.easeOut);else return c7[Q]}function wQ(Q,J,Z,{delay:$=0,duration:Y=300,repeat:q=0,repeatType:X="loop",ease:H="easeOut",times:W}={},G=void 0){let z={[J]:Z};if(W)z.offset=W;let K=p7(H,Y);if(Array.isArray(K))z.easing=K;if(z0.value)N0.waapi++;let B={delay:$,duration:Y,easing:!Array.isArray(K)?K:"linear",fill:"both",iterations:q+1,direction:X==="reverse"?"alternate":"normal"};if(G)B.pseudoElement=G;let O=Q.animate(z,B);if(z0.value)O.finished.finally(()=>{N0.waapi--});return O}function T6(Q){return typeof Q==="function"&&"applyToOptions"in Q}function DQ({type:Q,...J}){if(T6(Q)&&P6())return Q.applyToOptions(J);else J.duration??(J.duration=300),J.ease??(J.ease="easeOut");return J}class V5 extends W1{constructor(Q){super();if(this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!Q)return;let{element:J,name:Z,keyframes:$,pseudoElement:Y,allowFlatten:q=!1,finalKeyframe:X,onComplete:H}=Q;this.isPseudoElement=Boolean(Y),this.allowFlatten=q,this.options=Q,q0(typeof Q.type!=="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");let W=DQ(Q);if(this.animation=wQ(J,Z,$,W,Y),W.autoplay===!1)this.animation.pause();this.animation.onfinish=()=>{if(this.finishedTime=this.time,!Y){let G=y1($,this.options,X,this.speed);if(this.updateMotionValue)this.updateMotionValue(G);I6(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 s(Number(Q))}get iterationDuration(){let{delay:Q=0}=this.options||{};return this.duration+s(Q)}get time(){return s(Number(this.animation.currentTime)||0)}set time(Q){let J=this.finishedTime!==null;if(this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=l(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:$}){if(this.allowFlatten)this.animation.effect?.updateTiming({easing:"linear"});if(this.animation.onfinish=null,Q&&OQ()){if(this.animation.timeline=Q,J)this.animation.rangeStart=J;if(Z)this.animation.rangeEnd=Z;return d}else return $(this)}}var UQ={anticipate:G5,backInOut:z5,circInOut:B5};function SX(Q){return Q in UQ}function _Q(Q){if(typeof Q.ease==="string"&&SX(Q.ease))Q.ease=UQ[Q.ease]}var m7=10;class l7 extends V5{constructor(Q){_Q(Q),_6(Q);super(Q);if(Q.startTime!==void 0)this.startTime=Q.startTime;this.options=Q}updateMotionValue(Q){let{motionValue:J,onUpdate:Z,onComplete:$,element:Y,...q}=this.options;if(!J)return;if(Q!==void 0){J.set(Q);return}let X=new z1({...q,autoplay:!1}),H=Math.max(m7,u.now()-this.startTime),W=m(0,m7,H-m7),G=X.sample(H).value,{name:z}=this.options;if(Y&&z)I6(Y,z,G);J.setWithVelocity(X.sample(Math.max(0,H-W)).value,G,W),X.stop()}}var r7=(Q,J)=>{if(J==="zIndex")return!1;if(typeof Q==="number"||Array.isArray(Q))return!0;if(typeof Q==="string"&&(o.test(Q)||Q==="0")&&!Q.startsWith("url("))return!0;return!1};function kX(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 AQ(Q,J,Z,$){let Y=Q[0];if(Y===null)return!1;if(J==="display"||J==="visibility")return!0;let q=Q[Q.length-1],X=r7(Y,J),H=r7(q,J);if(_0(X===H,`You are trying to animate ${J} from "${Y}" to "${q}". "${X?q:Y}" is not an animatable value.`,"value-not-animatable"),!X||!H)return!1;return kX(Q)||(Z==="spring"||T6(Z))&&$}function P5(Q){Q.duration=0,Q.type="keyframes"}var jX=new Set(["opacity","clipPath","filter","transform"]),bX=H5(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function NQ(Q){let{motionValue:J,name:Z,repeatDelay:$,repeatType:Y,damping:q,type:X}=Q;if(!(J?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:W,transformTemplate:G}=J.owner.getProps();return bX()&&Z&&jX.has(Z)&&(Z!=="transform"||!G)&&!W&&!$&&Y!=="mirror"&&q!==0&&X!=="inertia"}var RX=40;class i7 extends W1{constructor({autoplay:Q=!0,delay:J=0,type:Z="keyframes",repeat:$=0,repeatDelay:Y=0,repeatType:q="loop",keyframes:X,name:H,motionValue:W,element:G,...z}){super();this.stop=()=>{if(this._animation)this._animation.stop(),this.stopTimeline?.();this.keyframeResolver?.cancel()},this.createdAt=u.now();let K={autoplay:Q,delay:J,type:Z,repeat:$,repeatDelay:Y,repeatType:q,name:H,motionValue:W,element:G,...z},B=G?.KeyframeResolver||F1;this.keyframeResolver=new B(X,(O,w,_)=>this.onKeyframesResolved(O,w,K,!_),H,W,G),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(Q,J,Z,$){this.keyframeResolver=void 0;let{name:Y,type:q,velocity:X,delay:H,isHandoff:W,onUpdate:G}=Z;if(this.resolvedAt=u.now(),!AQ(Q,Y,q,X)){if(e.instantAnimations||!H)G?.(y1(Q,Z,J));Q[0]=Q[Q.length-1],P5(Z),Z.repeat=0}let K={startTime:$?!this.resolvedAt?this.createdAt:this.resolvedAt-this.createdAt>RX?this.resolvedAt:this.createdAt:void 0,finalKeyframe:J,...Z,keyframes:Q},B=!W&&NQ(K),O=K.motionValue?.owner?.current,w=B?new l7({...K,element:O}):new z1(K);if(w.finished.then(()=>{this.notifyFinished()}).catch(d),this.pendingTimeline)this.stopTimeline=w.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0;this._animation=w}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(),KQ();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 L6(Q,J,Z,$=0,Y=1){let q=Array.from(Q).sort((G,z)=>G.sortNodePosition(z)).indexOf(J),X=Q.size,H=(X-1)*$;return typeof Z==="function"?Z(q,X):Y===1?q*$:H-q*$}var hX=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function CX(Q){let J=hX.exec(Q);if(!J)return[,];let[,Z,$,Y]=J;return[`--${Z??$}`,Y]}var xX=4;function s7(Q,J,Z=1){q0(Z<=xX,`Max CSS variable fallback depth detected in property "${Q}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[$,Y]=CX(Q);if(!$)return;let q=window.getComputedStyle(J).getPropertyValue($);if(q){let X=q.trim();return Y5(X)?parseFloat(X):X}return b1(Y)?s7(Y,J,Z+1):Y}var fX={type:"spring",stiffness:500,damping:25,restSpeed:10},yX=(Q)=>({type:"spring",stiffness:550,damping:Q===0?2*Math.sqrt(550):30,restSpeed:10}),vX={type:"keyframes",duration:0.8},gX={type:"keyframes",ease:[0.25,0.1,0.35,1],duration:0.3},IQ=(Q,{keyframes:J})=>{if(J.length>2)return vX;else if(K0.has(Q))return Q.startsWith("scale")?yX(J[1]):fX;return gX};var dX=(Q)=>Q!==null;function VQ(Q,{repeat:J,repeatType:Z="loop"},$){let Y=Q.filter(dX),q=J&&Z!=="loop"&&J%2===1?0:Y.length-1;return!q||$===void 0?Y[q]:$}function M6(Q,J){if(Q?.inherit&&J){let{inherit:Z,...$}=Q;return{...J,...$}}return Q}function v1(Q,J){let Z=Q?.[J]??Q?.default??Q;if(Z!==Q)return M6(Z,Q);return Z}function PQ({when:Q,delay:J,delayChildren:Z,staggerChildren:$,staggerDirection:Y,repeat:q,repeatType:X,repeatDelay:H,from:W,elapsed:G,...z}){return!!Object.keys(z).length}var O1=(Q,J,Z,$={},Y,q)=>(X)=>{let H=v1($,Q)||{},W=H.delay||$.delay||0,{elapsed:G=0}=$;G=G-l(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:()=>{X(),H.onComplete&&H.onComplete()},name:Q,motionValue:J,element:q?void 0:Y};if(!PQ(H))Object.assign(z,IQ(Q,z));if(z.duration&&(z.duration=l(z.duration)),z.repeatDelay&&(z.repeatDelay=l(z.repeatDelay)),z.from!==void 0)z.keyframes[0]=z.from;let K=!1;if(z.type===!1||z.duration===0&&!z.repeatDelay){if(P5(z),z.delay===0)K=!0}if(e.instantAnimations||e.skipAnimations||Y?.shouldSkipAnimations)K=!0,P5(z),z.delay=0;if(z.allowFlatten=!H.type&&!H.ease,K&&!q&&J.get()!==void 0){let B=VQ(z.keyframes,H);if(B!==void 0){k.update(()=>{z.onUpdate(B),z.onComplete()});return}}return H.isSync?new z1(z):new i7(z)};function TQ(Q){let J=[{},{}];return Q?.values.forEach((Z,$)=>{J[0][$]=Z.get(),J[1][$]=Z.getVelocity()}),J}function w1(Q,J,Z,$){if(typeof J==="function"){let[Y,q]=TQ($);J=J(Z!==void 0?Z:Q.custom,Y,q)}if(typeof J==="string")J=Q.variants&&Q.variants[J];if(typeof J==="function"){let[Y,q]=TQ($);J=J(Z!==void 0?Z:Q.custom,Y,q)}return J}function T0(Q,J,Z){let $=Q.getProps();return w1($,J,Z!==void 0?Z:$.custom,Q)}var E6=new Set(["width","height","top","left","right","bottom",...P0]);var LQ=30,cX=(Q)=>{return!isNaN(parseFloat(Q))},MQ={current:void 0};class EQ{constructor(Q,J={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(Z)=>{let $=u.now();if(this.updatedAt!==$)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 Y of this.dependents)Y.dirty()}},this.hasAnimated=!1,this.setCurrent(Q),this.owner=J.owner}setCurrent(Q){if(this.current=Q,this.updatedAt=u.now(),this.canTrackVelocity===null&&Q!==void 0)this.canTrackVelocity=cX(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 m0;let Z=this.events[Q].add(J);if(Q==="change")return()=>{Z(),k.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(MQ.current)MQ.current.push(this);return this.current}getPrevious(){return this.prev}getVelocity(){let Q=u.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||Q-this.updatedAt>LQ)return 0;let J=Math.min(this.updatedAt-this.prevUpdatedAt,LQ);return W5(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 D0(Q,J){return new EQ(Q,J)}var T5=(Q)=>{return Array.isArray(Q)};function pX(Q,J,Z){if(Q.hasValue(J))Q.getValue(J).set(Z);else Q.addValue(J,D0(Z))}function mX(Q){return T5(Q)?Q[Q.length-1]||0:Q}function SQ(Q,J){let Z=T0(Q,J),{transitionEnd:$={},transition:Y={},...q}=Z||{};q={...q,...$};for(let X in q){let H=mX(q[X]);pX(Q,X,H)}}var f=(Q)=>Boolean(Q&&Q.getVelocity);function kQ(Q){return Boolean(f(Q)&&Q.add)}function g1(Q,J){let Z=Q.getValue("willChange");if(kQ(Z))return Z.add(J);else if(!Z&&e.WillChange){let $=new e.WillChange("auto");Q.addValue("willChange",$),$.add(J)}}function d1(Q){return Q.replace(/([A-Z])/g,(J)=>`-${J.toLowerCase()}`)}var jQ="framerAppearId",L5="data-"+d1(jQ);function S6(Q){return Q.props[L5]}function lX({protectedKeys:Q,needsAnimating:J},Z){let $=Q.hasOwnProperty(Z)&&J[Z]!==!0;return J[Z]=!1,$}function k6(Q,J,{delay:Z=0,transitionOverride:$,type:Y}={}){let{transition:q,transitionEnd:X,...H}=J,W=Q.getDefaultTransition();q=q?M6(q,W):W;let G=q?.reduceMotion;if($)q=$;let z=[],K=Y&&Q.animationState&&Q.animationState.getState()[Y];for(let B in H){let O=Q.getValue(B,Q.latestValues[B]??null),w=H[B];if(w===void 0||K&&lX(K,B))continue;let _={delay:Z,...v1(q||{},B)},U=O.get();if(U!==void 0&&!O.isAnimating&&!Array.isArray(w)&&w===U&&!_.velocity)continue;let N=!1;if(window.MotionHandoffAnimation){let I=S6(Q);if(I){let M=window.MotionHandoffAnimation(I,B,k);if(M!==null)_.startTime=M,N=!0}}g1(Q,B);let P=G??Q.shouldReduceMotion;O.start(O1(B,O,w,P&&E6.has(B)?{type:!1}:_,Q,N));let A=O.animation;if(A)z.push(A)}if(X){let B=()=>k.update(()=>{X&&SQ(Q,X)});if(z.length)Promise.all(z).then(B);else B()}return z}function j6(Q,J,Z={}){let $=T0(Q,J,Z.type==="exit"?Q.presenceContext?.custom:void 0),{transition:Y=Q.getDefaultTransition()||{}}=$||{};if(Z.transitionOverride)Y=Z.transitionOverride;let q=$?()=>Promise.all(k6(Q,$,Z)):()=>Promise.resolve(),X=Q.variantChildren&&Q.variantChildren.size?(W=0)=>{let{delayChildren:G=0,staggerChildren:z,staggerDirection:K}=Y;return rX(Q,J,W,G,z,K,Z)}:()=>Promise.resolve(),{when:H}=Y;if(H){let[W,G]=H==="beforeChildren"?[q,X]:[X,q];return W().then(()=>G())}else return Promise.all([q(),X(Z.delay)])}function rX(Q,J,Z=0,$=0,Y=0,q=1,X){let H=[];for(let W of Q.variantChildren)W.notify("AnimationStart",J),H.push(j6(W,J,{...X,delay:Z+(typeof $==="function"?0:$)+L6(Q.variantChildren,W,$,Y,q)}).then(()=>W.notify("AnimationComplete",J)));return Promise.all(H)}function bQ(Q,J,Z={}){Q.notify("AnimationStart",J);let $;if(Array.isArray(J)){let Y=J.map((q)=>j6(Q,q,Z));$=Promise.all(Y)}else if(typeof J==="string")$=j6(Q,J,Z);else{let Y=typeof J==="function"?T0(Q,J,Z.custom):J;$=Promise.all(k6(Q,Y,Z))}return $.then(()=>{Q.notify("AnimationComplete",J)})}var RQ={test:(Q)=>Q==="auto",parse:(Q)=>Q};var b6=(Q)=>(J)=>J.test(Q);var o7=[I0,V,Q0,w0,b7,j7,RQ],n7=(Q)=>o7.find(b6(Q));function hQ(Q){if(typeof Q==="number")return Q===0;else if(Q!==null)return Q==="none"||Q==="0"||q5(Q);else return!0}var iX=new Set(["brightness","contrast","saturate","opacity"]);function sX(Q){let[J,Z]=Q.slice(0,-1).split("(");if(J==="drop-shadow")return Q;let[$]=Z.match(R1)||[];if(!$)return Q;let Y=Z.replace($,""),q=iX.has(J)?1:0;if($!==Z)q*=100;return J+"("+q+Y+")"}var oX=/\b([a-z-]*)\(.*?\)/gu,M5={...o,getAnimatableNone:(Q)=>{let J=Q.match(oX);return J?J.map(sX).join(" "):Q}};var E5={...o,getAnimatableNone:(Q)=>{let J=o.parse(Q);return o.createTransformer(Q)(J.map(($)=>typeof $==="number"?0:typeof $==="object"?{...$,alpha:1}:$))}};var a7={...I0,transform:Math.round};var CQ={rotate:w0,rotateX:w0,rotateY:w0,rotateZ:w0,scale:_5,scaleX:_5,scaleY:_5,scaleZ:_5,skew:w0,skewX:w0,skewY:w0,distance:V,translateX:V,translateY:V,translateZ:V,x:V,y:V,z:V,perspective:V,transformPerspective:V,opacity:R0,originX:G6,originY:G6,originZ:V};var u1={borderWidth:V,borderTopWidth:V,borderRightWidth:V,borderBottomWidth:V,borderLeftWidth:V,borderRadius:V,borderTopLeftRadius:V,borderTopRightRadius:V,borderBottomRightRadius:V,borderBottomLeftRadius:V,width:V,maxWidth:V,height:V,maxHeight:V,top:V,right:V,bottom:V,left:V,inset:V,insetBlock:V,insetBlockStart:V,insetBlockEnd:V,insetInline:V,insetInlineStart:V,insetInlineEnd:V,padding:V,paddingTop:V,paddingRight:V,paddingBottom:V,paddingLeft:V,paddingBlock:V,paddingBlockStart:V,paddingBlockEnd:V,paddingInline:V,paddingInlineStart:V,paddingInlineEnd:V,margin:V,marginTop:V,marginRight:V,marginBottom:V,marginLeft:V,marginBlock:V,marginBlockStart:V,marginBlockEnd:V,marginInline:V,marginInlineStart:V,marginInlineEnd:V,fontSize:V,backgroundPositionX:V,backgroundPositionY:V,...CQ,zIndex:a7,fillOpacity:R0,strokeOpacity:R0,numOctaves:a7};var nX={...u1,color:v,backgroundColor:v,outlineColor:v,fill:v,stroke:v,borderColor:v,borderTopColor:v,borderRightColor:v,borderBottomColor:v,borderLeftColor:v,filter:M5,WebkitFilter:M5,mask:E5,WebkitMask:E5},R6=(Q)=>nX[Q];var aX=new Set([M5,E5]);function h6(Q,J){let Z=R6(Q);if(!aX.has(Z))Z=o;return Z.getAnimatableNone?Z.getAnimatableNone(J):void 0}var tX=new Set(["auto","none","0"]);function xQ(Q,J,Z){let $=0,Y=void 0;while($<Q.length&&!Y){let q=Q[$];if(typeof q==="string"&&!tX.has(q)&&q1(q).values.length)Y=Q[$];$++}if(Y&&Z)for(let q of J)Q[q]=h6(Z,Y)}class t7 extends F1{constructor(Q,J,Z,$,Y){super(Q,J,Z,$,Y,!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(),b1(z)){let K=s7(z,J.current);if(K!==void 0)Q[G]=K;if(G===Q.length-1)this.finalKeyframe=z}}}if(this.resolveNoneKeyframes(),!E6.has(Z)||Q.length!==2)return;let[$,Y]=Q,q=n7($),X=n7(Y),H=S7($),W=S7(Y);if(H!==W&&h0[Z]){this.needsMeasurement=!0;return}if(q===X)return;if(v7(q)&&v7(X))for(let G=0;G<Q.length;G++){let z=Q[G];if(typeof z==="string")Q[G]=parseFloat(z)}else if(h0[Z])this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:Q,name:J}=this,Z=[];for(let $=0;$<Q.length;$++)if(Q[$]===null||hQ(Q[$]))Z.push($);if(Z.length)xQ(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=h0[Z](Q.measureViewportBox(),window.getComputedStyle(Q.current)),J[0]=this.measuredOrigin;let $=J[J.length-1];if($!==void 0)Q.getValue(Z,$).jump($,!1)}measureEndState(){let{element:Q,name:J,unresolvedKeyframes:Z}=this;if(!Q||!Q.current)return;let $=Q.getValue(J);$&&$.jump(this.measuredOrigin,!1);let Y=Z.length-1,q=Z[Y];if(Z[Y]=h0[J](Q.measureViewportBox(),window.getComputedStyle(Q.current)),q!==null&&this.finalKeyframe===void 0)this.finalKeyframe=q;if(this.removedTransforms?.length)this.removedTransforms.forEach(([X,H])=>{Q.getValue(X).set(H)});this.resolveNoneKeyframes()}}var fQ=new Set(["opacity","clipPath","filter","transform"]);function C6(Q,J,Z){if(Q==null)return[];if(Q instanceof EventTarget)return[Q];else if(typeof Q==="string"){let $=document;if(J)$=J.current;let Y=Z?.[Q]??$.querySelectorAll(Q);return Y?Array.from(Y):[]}return Array.from(Q).filter(($)=>$!=null)}var x6=(Q,J)=>{return J&&typeof Q==="number"?J.transform(Q):Q};function c1(Q){return X5(Q)&&"offsetHeight"in Q}var{schedule:D1,cancel:eX}=q6(queueMicrotask,!1);var F0={x:!1,y:!1};function f6(){return F0.x||F0.y}function e7(Q){if(Q==="x"||Q==="y")if(F0[Q])return null;else return F0[Q]=!0,()=>{F0[Q]=!1};else if(F0.x||F0.y)return null;else return F0.x=F0.y=!0,()=>{F0.x=F0.y=!1}}function y6(Q,J){let Z=C6(Q),$=new AbortController,Y={passive:!0,...J,signal:$.signal};return[Z,Y,()=>$.abort()]}function Qq(Q){return!(Q.pointerType==="touch"||f6())}function Q8(Q,J,Z={}){let[$,Y,q]=y6(Q,Z);return $.forEach((X)=>{let H=!1,W=!1,G,z=()=>{X.removeEventListener("pointerleave",w)},K=(U)=>{if(G)G(U),G=void 0;z()},B=(U)=>{if(H=!1,window.removeEventListener("pointerup",B),window.removeEventListener("pointercancel",B),W)W=!1,K(U)},O=()=>{H=!0,window.addEventListener("pointerup",B,Y),window.addEventListener("pointercancel",B,Y)},w=(U)=>{if(U.pointerType==="touch")return;if(H){W=!0;return}K(U)},_=(U)=>{if(!Qq(U))return;W=!1;let N=J(X,U);if(typeof N!=="function")return;G=N,X.addEventListener("pointerleave",w,Y)};X.addEventListener("pointerenter",_,Y),X.addEventListener("pointerdown",O,Y)}),q}var J8=(Q,J)=>{if(!J)return!1;else if(Q===J)return!0;else return J8(Q,J.parentElement)};var U1=(Q)=>{if(Q.pointerType==="mouse")return typeof Q.button!=="number"||Q.button<=0;else return Q.isPrimary!==!1};var Jq=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Z8(Q){return Jq.has(Q.tagName)||Q.isContentEditable===!0}var Zq=new Set(["INPUT","SELECT","TEXTAREA"]);function $8(Q){return Zq.has(Q.tagName)||Q.isContentEditable===!0}var p1=new WeakSet;function yQ(Q){return(J)=>{if(J.key!=="Enter")return;Q(J)}}function Y8(Q,J){Q.dispatchEvent(new PointerEvent("pointer"+J,{isPrimary:!0,bubbles:!0}))}var vQ=(Q,J)=>{let Z=Q.currentTarget;if(!Z)return;let $=yQ(()=>{if(p1.has(Z))return;Y8(Z,"down");let Y=yQ(()=>{Y8(Z,"up")}),q=()=>Y8(Z,"cancel");Z.addEventListener("keyup",Y,J),Z.addEventListener("blur",q,J)});Z.addEventListener("keydown",$,J),Z.addEventListener("blur",()=>Z.removeEventListener("keydown",$),J)};function gQ(Q){return U1(Q)&&!f6()}var dQ=new WeakSet;function X8(Q,J,Z={}){let[$,Y,q]=y6(Q,Z),X=(H)=>{let W=H.currentTarget;if(!gQ(H))return;if(dQ.has(H))return;if(p1.add(W),Z.stopPropagation)dQ.add(H);let G=J(W,H),z=(O,w)=>{if(window.removeEventListener("pointerup",K),window.removeEventListener("pointercancel",B),p1.has(W))p1.delete(W);if(!gQ(O))return;if(typeof G==="function")G(O,{success:w})},K=(O)=>{z(O,W===window||W===document||Z.useGlobalTarget||J8(W,O.target))},B=(O)=>{z(O,!1)};window.addEventListener("pointerup",K,Y),window.addEventListener("pointercancel",B,Y)};return $.forEach((H)=>{if((Z.useGlobalTarget?window:H).addEventListener("pointerdown",X,Y),c1(H)){if(H.addEventListener("focus",(G)=>vQ(G,Y)),!Z8(H)&&!H.hasAttribute("tabindex"))H.tabIndex=0}}),q}function m1(Q){return X5(Q)&&"ownerSVGElement"in Q}var v6=new WeakMap,g6,uQ=(Q,J,Z)=>($,Y)=>{if(Y&&Y[0])return Y[0][Q+"Size"];else if(m1($)&&"getBBox"in $)return $.getBBox()[J];else return $[Z]},$q=uQ("inline","width","offsetWidth"),Yq=uQ("block","height","offsetHeight");function Xq({target:Q,borderBoxSize:J}){v6.get(Q)?.forEach((Z)=>{Z(Q,{get width(){return $q(Q,J)},get height(){return Yq(Q,J)}})})}function qq(Q){Q.forEach(Xq)}function Hq(){if(typeof ResizeObserver>"u")return;g6=new ResizeObserver(qq)}function cQ(Q,J){if(!g6)Hq();let Z=C6(Q);return Z.forEach(($)=>{let Y=v6.get($);if(!Y)Y=new Set,v6.set($,Y);Y.add(J),g6?.observe($)}),()=>{Z.forEach(($)=>{let Y=v6.get($);if(Y?.delete(J),!Y?.size)g6?.unobserve($)})}}var d6=new Set,l1;function Wq(){l1=()=>{let Q={get width(){return window.innerWidth},get height(){return window.innerHeight}};d6.forEach((J)=>J(Q))},window.addEventListener("resize",l1)}function pQ(Q){if(d6.add(Q),!l1)Wq();return()=>{if(d6.delete(Q),!d6.size&&typeof l1==="function")window.removeEventListener("resize",l1),l1=void 0}}function u6(Q,J){return typeof Q==="function"?pQ(Q):cQ(Q,J)}function mQ(Q){return m1(Q)&&Q.tagName==="svg"}var zq=[...o7,v,o],lQ=(Q)=>zq.find(b6(Q));var q8=()=>({translate:0,scale:1,origin:0,originPoint:0}),s0=()=>({x:q8(),y:q8()}),H8=()=>({min:0,max:0}),g=()=>({x:H8(),y:H8()});var rQ=new WeakMap;function C0(Q){return Q!==null&&typeof Q==="object"&&typeof Q.start==="function"}function L0(Q){return typeof Q==="string"||Array.isArray(Q)}var c6=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],S5=["initial",...c6];function o0(Q){return C0(Q.animate)||S5.some((J)=>L0(Q[J]))}function k5(Q){return Boolean(o0(Q)||Q.variants)}function iQ(Q,J,Z){for(let $ in J){let Y=J[$],q=Z[$];if(f(Y))Q.addValue($,Y);else if(f(q))Q.addValue($,D0(Y,{owner:Q}));else if(q!==Y)if(Q.hasValue($)){let X=Q.getValue($);if(X.liveStyle===!0)X.jump(Y);else if(!X.hasAnimated)X.set(Y)}else{let X=Q.getStaticValue($);Q.addValue($,D0(X!==void 0?X:Y,{owner:Q}))}}for(let $ in Z)if(J[$]===void 0)Q.removeValue($);return J}var j5={current:null},p6={current:!1};var Gq=typeof window<"u";function sQ(){if(p6.current=!0,!Gq)return;if(window.matchMedia){let Q=window.matchMedia("(prefers-reduced-motion)"),J=()=>j5.current=Q.matches;Q.addEventListener("change",J),J()}else j5.current=!1}var oQ=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],m6={};function b5(Q){m6=Q}function W8(){return m6}class l6{scrapeMotionValuesFromProps(Q,J,Z){return{}}constructor({parent:Q,props:J,presenceContext:Z,reducedMotionConfig:$,skipAnimations:Y,blockInitialAnimation:q,visualState:X},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=F1,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=u.now();if(this.renderScheduledAt<B)this.renderScheduledAt=B,k.render(this.render,!1,!0)};let{latestValues:W,renderState:G}=X;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=$,this.skipAnimationsConfig=Y,this.options=H,this.blockInitialAnimation=Boolean(q),this.isControllingVariants=o0(J),this.isVariantNode=k5(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&&f(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,rQ.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(!p6.current)sQ();this.shouldReduceMotion=j5.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(),H0(this.notifyUpdate),H0(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&&fQ.has(Q)&&this.current instanceof HTMLElement){let{factory:q,keyframes:X,times:H,ease:W,duration:G}=J.accelerate,z=new V5({element:this.current,name:Q,keyframes:X,times:H,ease:W,duration:l(G)}),K=q(z);this.valueSubscriptions.set(Q,()=>{K(),z.cancel()});return}let Z=K0.has(Q);if(Z&&this.onBindTransform)this.onBindTransform();let $=J.on("change",(q)=>{if(this.latestValues[Q]=q,this.props.onUpdate&&k.preRender(this.notifyUpdate),Z&&this.projection)this.projection.isTransformDirty=!0;this.scheduleRender()}),Y;if(typeof window<"u"&&window.MotionCheckAppearSync)Y=window.MotionCheckAppearSync(this,Q,J);this.valueSubscriptions.set(Q,()=>{if($(),Y)Y();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 m6){let J=m6[Q];if(!J)continue;let{isEnabled:Z,Feature:$}=J;if(!this.features[Q]&&$&&Z(this.props))this.features[Q]=new $(this);if(this.features[Q]){let Y=this.features[Q];if(Y.isMounted)Y.update();else Y.mount(),Y.isMounted=!0}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):g()}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<oQ.length;Z++){let $=oQ[Z];if(this.propEventSubscriptions[$])this.propEventSubscriptions[$](),delete this.propEventSubscriptions[$];let Y="on"+$,q=Q[Y];if(q)this.propEventSubscriptions[$]=this.on($,q)}if(this.prevMotionValues=iQ(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=D0(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"&&(Y5(Z)||q5(Z)))Z=parseFloat(Z);else if(!lQ(Z)&&o.test(J))Z=h6(Q,J);this.setBaseTarget(Q,f(Z)?Z.get():Z)}return f(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 Y=w1(this.props,J,this.presenceContext?.custom);if(Y)Z=Y[Q]}if(J&&Z!==void 0)return Z;let $=this.getBaseTargetFromProps(this.props,Q);if($!==void 0&&!f($))return $;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 m0;return this.events[Q].add(J)}notify(Q,...J){if(this.events[Q])this.events[Q].notify(...J)}scheduleRenderMicrotask(){D1.render(this.render)}}class R5 extends l6{constructor(){super(...arguments);this.KeyframeResolver=t7}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(f(Q))this.childSubscription=Q.on("change",(J)=>{if(this.current)this.current.textContent=`${J}`})}}class a{constructor(Q){this.isMounted=!1,this.node=Q}update(){}}function h5({top:Q,left:J,right:Z,bottom:$}){return{x:{min:J,max:Z},y:{min:Q,max:$}}}function z8({x:Q,y:J}){return{top:J.min,right:Q.max,bottom:J.max,left:Q.min}}function G8(Q,J){if(!J)return Q;let Z=J({x:Q.left,y:Q.top}),$=J({x:Q.right,y:Q.bottom});return{top:Z.y,left:Z.x,bottom:$.y,right:$.x}}function K8(Q){return Q===void 0||Q===1}function r6({scale:Q,scaleX:J,scaleY:Z}){return!K8(Q)||!K8(J)||!K8(Z)}function x0(Q){return r6(Q)||F8(Q)||Q.z||Q.rotate||Q.rotateX||Q.rotateY||Q.skewX||Q.skewY}function F8(Q){return nQ(Q.x)||nQ(Q.y)}function nQ(Q){return Q&&Q!=="0%"}function C5(Q,J,Z){let $=Q-Z,Y=J*$;return Z+Y}function aQ(Q,J,Z,$,Y){if(Y!==void 0)Q=C5(Q,Y,$);return C5(Q,Z,$)+J}function B8(Q,J=0,Z=1,$,Y){Q.min=aQ(Q.min,J,Z,$,Y),Q.max=aQ(Q.max,J,Z,$,Y)}function O8(Q,{x:J,y:Z}){B8(Q.x,J.translate,J.scale,J.originPoint),B8(Q.y,Z.translate,Z.scale,Z.originPoint)}var tQ=0.999999999999,eQ=1.0000000000001;function Z4(Q,J,Z,$=!1){let Y=Z.length;if(!Y)return;J.x=J.y=1;let q,X;for(let H=0;H<Y;H++){q=Z[H],X=q.projectionDelta;let{visualElement:W}=q.options;if(W&&W.props.style&&W.props.style.display==="contents")continue;if($&&q.options.layoutScroll&&q.scroll&&q!==q.root)_1(Q,{x:-q.scroll.offset.x,y:-q.scroll.offset.y});if(X)J.x*=X.x.scale,J.y*=X.y.scale,O8(Q,X);if($&&x0(q.latestValues))_1(Q,q.latestValues)}if(J.x<eQ&&J.x>tQ)J.x=1;if(J.y<eQ&&J.y>tQ)J.y=1}function n0(Q,J){Q.min=Q.min+J,Q.max=Q.max+J}function Q4(Q,J,Z,$,Y=0.5){let q=h(Q.min,Q.max,Y);B8(Q,J,Z,q,$)}function J4(Q,J){if(typeof Q==="string")return parseFloat(Q)/100*(J.max-J.min);return Q}function _1(Q,J){Q4(Q.x,J4(J.x,Q.x),J.scaleX,J.scale,J.originX),Q4(Q.y,J4(J.y,Q.y),J.scaleY,J.scale,J.originY)}function i6(Q,J){return h5(G8(Q.getBoundingClientRect(),J))}function w8(Q,J,Z){let $=i6(Q,Z),{scroll:Y}=J;if(Y)n0($.x,Y.offset.x),n0($.y,Y.offset.y);return $}var Kq={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Fq=P0.length;function $4(Q,J,Z){let $="",Y=!0;for(let q=0;q<Fq;q++){let X=P0[q],H=Q[X];if(H===void 0)continue;let W=!0;if(typeof H==="number")W=H===(X.startsWith("scale")?1:0);else{let G=parseFloat(H);W=X.startsWith("scale")?G===1:G===0}if(!W||Z){let G=x6(H,u1[X]);if(!W){Y=!1;let z=Kq[X]||X;$+=`${z}(${G}) `}if(Z)J[X]=G}}if($=$.trim(),Z)$=Z(J,Y?"":$);else if(Y)$="none";return $}function A1(Q,J,Z){let{style:$,vars:Y,transformOrigin:q}=Q,X=!1,H=!1;for(let W in J){let G=J[W];if(K0.has(W)){X=!0;continue}else if(W6(W)){Y[W]=G;continue}else{let z=x6(G,u1[W]);if(W.startsWith("origin"))H=!0,q[W]=z;else $[W]=z}}if(!J.transform){if(X||Z)$.transform=$4(J,Q.transform,Z);else if($.transform)$.transform="none"}if(H){let{originX:W="50%",originY:G="50%",originZ:z=0}=q;$.transformOrigin=`${W} ${G} ${z}`}}function s6(Q,{style:J,vars:Z},$,Y){let q=Q.style,X;for(X in J)q[X]=J[X];Y?.applyProjectionStyles(q,$);for(X in Z)q.setProperty(X,Z[X])}function Y4(Q,J){if(J.max===J.min)return 0;return Q/(J.max-J.min)*100}var r1={correct:(Q,J)=>{if(!J.target)return Q;if(typeof Q==="string")if(V.test(Q))Q=parseFloat(Q);else return Q;let Z=Y4(Q,J.target.x),$=Y4(Q,J.target.y);return`${Z}% ${$}%`}};var X4={correct:(Q,{treeScale:J,projectionDelta:Z})=>{let $=Q,Y=o.parse(Q);if(Y.length>5)return $;let q=o.createTransformer(Q),X=typeof Y[0]!=="number"?1:0,H=Z.x.scale*J.x,W=Z.y.scale*J.y;Y[0+X]/=H,Y[1+X]/=W;let G=h(H,W,0.5);if(typeof Y[2+X]==="number")Y[2+X]/=G;if(typeof Y[3+X]==="number")Y[3+X]/=G;return q(Y)}};var x5={borderRadius:{...r1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:r1,borderTopRightRadius:r1,borderBottomLeftRadius:r1,borderBottomRightRadius:r1,boxShadow:X4};function f5(Q,{layout:J,layoutId:Z}){return K0.has(Q)||Q.startsWith("origin")||(J||Z!==void 0)&&(!!x5[Q]||Q==="opacity")}function N1(Q,J,Z){let $=Q.style,Y=J?.style,q={};if(!$)return q;for(let X in $)if(f($[X])||Y&&f(Y[X])||f5(X,Q)||Z?.getValue(X)?.liveStyle!==void 0)q[X]=$[X];return q}function Bq(Q){return window.getComputedStyle(Q)}class o6 extends R5{constructor(){super(...arguments);this.type="html",this.renderInstance=s6}readValueFromInstance(Q,J){if(K0.has(J))return this.projection?.isProjecting?A6(J):HQ(Q,J);else{let Z=Bq(Q),$=(W6(J)?Z.getPropertyValue(J):Z[J])||0;return typeof $==="string"?$.trim():$}}measureInstanceViewportBox(Q,{transformPagePoint:J}){return i6(Q,J)}build(Q,J,Z){A1(Q,J,Z.transformTemplate)}scrapeMotionValuesFromProps(Q,J,Z){return N1(Q,J,Z)}}var Oq={offset:"stroke-dashoffset",array:"stroke-dasharray"},wq={offset:"strokeDashoffset",array:"strokeDasharray"};function q4(Q,J,Z=1,$=0,Y=!0){Q.pathLength=1;let q=Y?Oq:wq;Q[q.offset]=`${-$}`,Q[q.array]=`${J} ${Z}`}var Dq=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function y5(Q,{attrX:J,attrY:Z,attrScale:$,pathLength:Y,pathSpacing:q=1,pathOffset:X=0,...H},W,G,z){if(A1(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 Dq)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($!==void 0)K.scale=$;if(Y!==void 0)q4(K,Y,q,X,!1)}var n6=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 v5=(Q)=>typeof Q==="string"&&Q.toLowerCase()==="svg";function H4(Q,J,Z,$){s6(Q,J,void 0,$);for(let Y in J.attrs)Q.setAttribute(!n6.has(Y)?d1(Y):Y,J.attrs[Y])}function g5(Q,J,Z){let $=N1(Q,J,Z);for(let Y in Q)if(f(Q[Y])||f(J[Y])){let q=P0.indexOf(Y)!==-1?"attr"+Y.charAt(0).toUpperCase()+Y.substring(1):Y;$[q]=Q[Y]}return $}class a6 extends R5{constructor(){super(...arguments);this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=g}getBaseTargetFromProps(Q,J){return Q[J]}readValueFromInstance(Q,J){if(K0.has(J)){let Z=R6(J);return Z?Z.default||0:0}return J=!n6.has(J)?d1(J):J,Q.getAttribute(J)}scrapeMotionValuesFromProps(Q,J,Z){return g5(Q,J,Z)}build(Q,J,Z){y5(Q,J,this.isSVGTag,Z.transformTemplate,Z.style)}renderInstance(Q,J,Z,$){H4(Q,J,Z,$)}mount(Q){this.isSVGTag=v5(Q.tagName),super.mount(Q)}}var Uq=S5.length;function D8(Q){if(!Q)return;if(!Q.isControllingVariants){let Z=Q.parent?D8(Q.parent)||{}:{};if(Q.props.initial!==void 0)Z.initial=Q.props.initial;return Z}let J={};for(let Z=0;Z<Uq;Z++){let $=S5[Z],Y=Q.props[$];if(L0(Y)||Y===!1)J[$]=Y}return J}function U8(Q,J){if(!Array.isArray(J))return!1;let Z=J.length;if(Z!==Q.length)return!1;for(let $=0;$<Z;$++)if(J[$]!==Q[$])return!1;return!0}var _q=[...c6].reverse(),Aq=c6.length;function Nq(Q){return(J)=>{return Promise.all(J.map(({animation:Z,options:$})=>bQ(Q,Z,$)))}}function _8(Q){let J=Nq(Q),Z=W4(),$=!0,Y=!1,q=(G)=>(z,K)=>{let B=T0(Q,K,G==="exit"?Q.presenceContext?.custom:void 0);if(B){let{transition:O,transitionEnd:w,..._}=B;z={...z,..._,...w}}return z};function X(G){J=G(Q)}function H(G){let{props:z}=Q,K=D8(Q.parent)||{},B=[],O=new Set,w={},_=1/0;for(let N=0;N<Aq;N++){let P=_q[N],A=Z[P],I=z[P]!==void 0?z[P]:K[P],M=L0(I),R=P===G?A.isActive:null;if(R===!1)_=N;let x=I===K[P]&&I!==z[P]&&M;if(x&&($||Y)&&Q.manuallyAnimateOnMount)x=!1;if(A.protectedKeys={...w},!A.isActive&&R===null||!I&&!A.prevProp||C0(I)||typeof I==="boolean")continue;if(P==="exit"&&A.isActive&&R!==!0){if(A.prevResolvedValues)w={...w,...A.prevResolvedValues};continue}let D=z4(A.prevProp,I),S=D||P===G&&A.isActive&&!x&&M||N>_&&M,J0=!1,E0=Array.isArray(I)?I:[I],W0=E0.reduce(q(P),{});if(R===!1)W0={};let{prevResolvedValues:Z1={}}=A,Z5={...Z1,...W0},S0=(p)=>{if(S=!0,O.has(p))J0=!0,O.delete(p);A.needsAnimating[p]=!0;let t=Q.getValue(p);if(t)t.liveStyle=!1};for(let p in Z5){let t=W0[p],E=Z1[p];if(w.hasOwnProperty(p))continue;let k0=!1;if(T5(t)&&T5(E))k0=!U8(t,E);else k0=t!==E;if(k0)if(t!==void 0&&t!==null)S0(p);else O.add(p);else if(t!==void 0&&O.has(p))S0(p);else A.protectedKeys[p]=!0}if(A.prevProp=I,A.prevResolvedValues=W0,A.isActive)w={...w,...W0};if(($||Y)&&Q.blockInitialAnimation)S=!1;let X0=x&&D;if(S&&(!X0||J0))B.push(...E0.map((p)=>{let t={type:P};if(typeof p==="string"&&($||Y)&&!X0&&Q.manuallyAnimateOnMount&&Q.parent){let{parent:E}=Q,k0=T0(E,p);if(E.enteringChildren&&k0){let{delayChildren:s5}=k0.transition||{};t.delay=L6(E.enteringChildren,Q,s5)}}return{animation:p,options:t}}))}if(O.size){let N={};if(typeof z.initial!=="boolean"){let P=T0(Q,Array.isArray(z.initial)?z.initial[0]:z.initial);if(P&&P.transition)N.transition=P.transition}O.forEach((P)=>{let A=Q.getBaseTarget(P),I=Q.getValue(P);if(I)I.liveStyle=!0;N[P]=A??null}),B.push({animation:N})}let U=Boolean(B.length);if($&&(z.initial===!1||z.initial===z.animate)&&!Q.manuallyAnimateOnMount)U=!1;return $=!1,Y=!1,U?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:X,getState:()=>Z,reset:()=>{Z=W4(),Y=!0}}}function z4(Q,J){if(typeof J==="string")return J!==Q;else if(Array.isArray(J))return!U8(J,Q);return!1}function I1(Q=!1){return{isActive:Q,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function W4(){return{animate:I1(!0),whileInView:I1(),whileHover:I1(),whileTap:I1(),whileDrag:I1(),whileFocus:I1(),exit:I1()}}function G4(Q,J){Q.min=J.min,Q.max=J.max}function B0(Q,J){G4(Q.x,J.x),G4(Q.y,J.y)}function A8(Q,J){Q.translate=J.translate,Q.scale=J.scale,Q.originPoint=J.originPoint,Q.origin=J.origin}var K4=0.0001,Iq=1-K4,Vq=1+K4,F4=0.01,Pq=0-F4,Tq=0+F4;function r(Q){return Q.max-Q.min}function P8(Q,J,Z){return Math.abs(Q-J)<=Z}function N8(Q,J,Z,$=0.5){if(Q.origin=$,Q.originPoint=h(J.min,J.max,Q.origin),Q.scale=r(Z)/r(J),Q.translate=h(Z.min,Z.max,Q.origin)-Q.originPoint,Q.scale>=Iq&&Q.scale<=Vq||isNaN(Q.scale))Q.scale=1;if(Q.translate>=Pq&&Q.translate<=Tq||isNaN(Q.translate))Q.translate=0}function V1(Q,J,Z,$){N8(Q.x,J.x,Z.x,$?$.originX:void 0),N8(Q.y,J.y,Z.y,$?$.originY:void 0)}function I8(Q,J,Z){Q.min=Z.min+J.min,Q.max=Q.min+r(J)}function T8(Q,J,Z){I8(Q.x,J.x,Z.x),I8(Q.y,J.y,Z.y)}function V8(Q,J,Z){Q.min=J.min-Z.min,Q.max=Q.min+r(J)}function i1(Q,J,Z){V8(Q.x,J.x,Z.x),V8(Q.y,J.y,Z.y)}function B4(Q,J,Z,$,Y){if(Q-=J,Q=C5(Q,1/Z,$),Y!==void 0)Q=C5(Q,1/Y,$);return Q}function Lq(Q,J=0,Z=1,$=0.5,Y,q=Q,X=Q){if(Q0.test(J))J=parseFloat(J),J=h(X.min,X.max,J/100)-X.min;if(typeof J!=="number")return;let H=h(q.min,q.max,$);if(Q===q)H-=J;Q.min=B4(Q.min,J,Z,H,Y),Q.max=B4(Q.max,J,Z,H,Y)}function O4(Q,J,[Z,$,Y],q,X){Lq(Q,J[Z],J[$],J[Y],J.scale,q,X)}var Mq=["x","scaleX","originX"],Eq=["y","scaleY","originY"];function L8(Q,J,Z,$){O4(Q.x,J,Mq,Z?Z.x:void 0,$?$.x:void 0),O4(Q.y,J,Eq,Z?Z.y:void 0,$?$.y:void 0)}function w4(Q){return Q.translate===0&&Q.scale===1}function M8(Q){return w4(Q.x)&&w4(Q.y)}function D4(Q,J){return Q.min===J.min&&Q.max===J.max}function _4(Q,J){return D4(Q.x,J.x)&&D4(Q.y,J.y)}function U4(Q,J){return Math.round(Q.min)===Math.round(J.min)&&Math.round(Q.max)===Math.round(J.max)}function E8(Q,J){return U4(Q.x,J.x)&&U4(Q.y,J.y)}function S8(Q){return r(Q.x)/r(Q.y)}function k8(Q,J){return Q.translate===J.translate&&Q.scale===J.scale&&Q.originPoint===J.originPoint}function G0(Q){return[Q("x"),Q("y")]}function A4(Q,J,Z){let $="",Y=Q.x.translate/J.x,q=Q.y.translate/J.y,X=Z?.z||0;if(Y||q||X)$=`translate3d(${Y}px, ${q}px, ${X}px) `;if(J.x!==1||J.y!==1)$+=`scale(${1/J.x}, ${1/J.y}) `;if(Z){let{transformPerspective:G,rotate:z,rotateX:K,rotateY:B,skewX:O,skewY:w}=Z;if(G)$=`perspective(${G}px) ${$}`;if(z)$+=`rotate(${z}deg) `;if(K)$+=`rotateX(${K}deg) `;if(B)$+=`rotateY(${B}deg) `;if(O)$+=`skewX(${O}deg) `;if(w)$+=`skewY(${w}deg) `}let H=Q.x.scale*J.x,W=Q.y.scale*J.y;if(H!==1||W!==1)$+=`scale(${H}, ${W})`;return $||"none"}var P4=["TopLeft","TopRight","BottomLeft","BottomRight"],Sq=P4.length,N4=(Q)=>typeof Q==="string"?parseFloat(Q):Q,I4=(Q)=>typeof Q==="number"||V.test(Q);function T4(Q,J,Z,$,Y,q){if(Y)Q.opacity=h(0,Z.opacity??1,kq($)),Q.opacityExit=h(J.opacity??1,0,jq($));else if(q)Q.opacity=h(J.opacity??1,Z.opacity??1,$);for(let X=0;X<Sq;X++){let H=`border${P4[X]}Radius`,W=V4(J,H),G=V4(Z,H);if(W===void 0&&G===void 0)continue;if(W||(W=0),G||(G=0),W===0||G===0||I4(W)===I4(G)){if(Q[H]=Math.max(h(N4(W),N4(G),$),0),Q0.test(G)||Q0.test(W))Q[H]+="%"}else Q[H]=G}if(J.rotate||Z.rotate)Q.rotate=h(J.rotate||0,Z.rotate||0,$)}function V4(Q,J){return Q[J]!==void 0?Q[J]:Q.borderRadius}var kq=L4(0,0.5,F5),jq=L4(0.5,0.95,d);function L4(Q,J,Z){return($)=>{if($<Q)return 0;if($>J)return 1;return Z(A0(Q,J,$))}}function M4(Q,J,Z){let $=f(Q)?Q:D0(Q);return $.start(O1("",$,J,Z)),$.animation}function M0(Q,J,Z,$={passive:!0}){return Q.addEventListener(J,Z,$),()=>Q.removeEventListener(J,Z)}var E4=(Q,J)=>Q.depth-J.depth;class j8{constructor(){this.children=[],this.isDirty=!1}add(Q){X1(this.children,Q),this.isDirty=!0}remove(Q){p0(this.children,Q),this.isDirty=!0}forEach(Q){this.isDirty&&this.children.sort(E4),this.isDirty=!1,this.children.forEach(Q)}}function S4(Q,J){let Z=u.now(),$=({timestamp:Y})=>{let q=Y-Z;if(q>=J)H0($),Q(q-J)};return k.setup($,!0),()=>H0($)}function P1(Q){return f(Q)?Q.get():Q}class b8{constructor(){this.members=[]}add(Q){X1(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 $=Z.instance;if((!$||$.isConnected===!1)&&!Z.snapshot)p0(this.members,Z),Z.unmount()}Q.scheduleRender()}remove(Q){if(p0(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:$}=Z.options,{layoutDependency:Y}=Q.options;if($===void 0||$!==Y){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 T1={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var L1={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},R8=["","X","Y","Z"],bq=1000,Rq=0;function h8(Q,J,Z,$){let{latestValues:Y}=J;if(Y[Q]){if(Z[Q]=Y[Q],J.setStaticValue(Q,0),$)$[Q]=0}}function y4(Q){if(Q.hasCheckedOptimisedAppear=!0,Q.root===Q)return;let{visualElement:J}=Q.options;if(!J)return;let Z=S6(J);if(window.MotionHasOptimisedAnimation(Z,"transform")){let{layout:Y,layoutId:q}=Q.options;window.MotionCancelOptimisedAnimation(Z,"transform",k,!(Y||q))}let{parent:$}=Q;if($&&!$.hasCheckedOptimisedAppear)y4($)}function t6({attachResizeListener:Q,defaultParent:J,measureScroll:Z,checkIsScrollRoot:$,resetTransform:Y}){return class{constructor(X={},H=J?.()){this.id=Rq++,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,z0.value)L1.nodes=L1.calculatedTargetDeltas=L1.calculatedProjections=0;if(this.nodes.forEach(xq),this.nodes.forEach(gq),this.nodes.forEach(dq),this.nodes.forEach(fq),z0.addProjectionMetrics)z0.addProjectionMetrics(L1)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=X,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 j8}addEventListener(X,H){if(!this.eventHandlers.has(X))this.eventHandlers.set(X,new m0);return this.eventHandlers.get(X).add(H)}notifyListeners(X,...H){let W=this.eventHandlers.get(X);W&&W.notify(...H)}hasListeners(X){return this.eventHandlers.has(X)}mount(X){if(this.instance)return;this.isSVG=m1(X)&&!mQ(X),this.instance=X;let{layoutId:H,layout:W,visualElement:G}=this.options;if(G&&!G.current)G.mount(X);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;k.read(()=>{K=window.innerWidth}),Q(X,()=>{let O=window.innerWidth;if(O===K)return;if(K=O,this.root.updateBlockedByResize=!0,z&&z(),z=S4(B,250),T1.hasAnimatedSinceResize)T1.hasAnimatedSinceResize=!1,this.nodes.forEach(b4)})}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 w=this.options.transition||G.getDefaultTransition()||lq,{onLayoutAnimationStart:_,onLayoutAnimationComplete:U}=G.getProps(),N=!this.targetLayout||!E8(this.targetLayout,O),P=!K&&B;if(this.options.layoutRoot||this.resumeFrom||P||K&&(N||!this.currentAnimation)){if(this.resumeFrom)this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0;let A={...v1(w,"layout"),onPlay:_,onComplete:U};if(G.shouldReduceMotion||this.options.layoutRoot)A.delay=0,A.type=!1;this.startAnimation(A),this.setAnimationOrigin(z,P)}else{if(!K)b4(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 X=this.getStack();X&&X.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),H0(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(uq),this.animationId++}getTransformTemplate(){let{visualElement:X}=this.options;return X&&X.getProps().transformTemplate}willUpdate(X=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear)y4(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(),X&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(k4);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(j4);return}if(this.animationCommitId=this.animationId,!this.isUpdating)this.nodes.forEach(j4);else this.isUpdating=!1,this.nodes.forEach(vq),this.nodes.forEach(hq),this.nodes.forEach(Cq);this.clearAllSnapshots();let H=u.now();c.delta=m(0,16.666666666666668,H-c.timestamp),c.timestamp=H,c.isProcessing=!0,U5.update.process(c),U5.preRender.process(c),U5.render.process(c),c.isProcessing=!1}didUpdate(){if(!this.updateScheduled)this.updateScheduled=!0,D1.read(this.scheduleUpdate)}clearAllSnapshots(){this.nodes.forEach(yq),this.sharedNodes.forEach(cq)}scheduleUpdateProjection(){if(!this.projectionUpdateScheduled)this.projectionUpdateScheduled=!0,k.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){k.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&&!r(this.snapshot.measuredBox.x)&&!r(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 X=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=g(),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,X?X.layoutBox:void 0)}updateScroll(X="measure"){let H=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===X)H=!1;if(H&&this.instance){let W=$(this.instance);this.scroll={animationId:this.root.animationId,phase:X,isRoot:W,offset:Z(this.instance),wasRoot:this.scroll?this.scroll.isRoot:W}}}resetTransform(){if(!Y)return;let X=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,H=this.projectionDelta&&!M8(this.projectionDelta),W=this.getTransformTemplate(),G=W?W(this.latestValues,""):void 0,z=G!==this.prevTransformTemplateValue;if(X&&this.instance&&(H||x0(this.latestValues)||z))Y(this.instance,G),this.shouldResetTransform=!1,this.scheduleRender()}measure(X=!0){let H=this.measurePageBox(),W=this.removeElementScroll(H);if(X)W=this.removeTransform(W);return rq(W),{animationId:this.root.animationId,measuredBox:H,layoutBox:W,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:X}=this.options;if(!X)return g();let H=X.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(iq))){let{scroll:G}=this.root;if(G)n0(H.x,G.offset.x),n0(H.y,G.offset.y)}return H}removeElementScroll(X){let H=g();if(B0(H,X),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)B0(H,X);n0(H.x,z.offset.x),n0(H.y,z.offset.y)}}return H}applyTransform(X,H=!1){let W=g();B0(W,X);for(let G=0;G<this.path.length;G++){let z=this.path[G];if(!H&&z.options.layoutScroll&&z.scroll&&z!==z.root)_1(W,{x:-z.scroll.offset.x,y:-z.scroll.offset.y});if(!x0(z.latestValues))continue;_1(W,z.latestValues)}if(x0(this.latestValues))_1(W,this.latestValues);return W}removeTransform(X){let H=g();B0(H,X);for(let W=0;W<this.path.length;W++){let G=this.path[W];if(!G.instance)continue;if(!x0(G.latestValues))continue;r6(G.latestValues)&&G.updateSnapshot();let z=g(),K=G.measurePageBox();B0(z,K),L8(H,G.latestValues,G.snapshot?G.snapshot.layoutBox:void 0,z)}if(x0(this.latestValues))L8(H,this.latestValues);return H}setTargetDelta(X){this.targetDelta=X,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(X){this.options={...this.options,...X,crossfade:X.crossfade!==void 0?X.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!==c.timestamp)this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(X=!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(!(X||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=c.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=g(),this.targetWithTransforms=g();if(this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)this.forceRelativeParentToResolveTarget(),T8(this.target,this.relativeTarget,this.relativeParent.target);else if(this.targetDelta){if(Boolean(this.resumingFrom))this.target=this.applyTransform(this.layout.layoutBox);else B0(this.target,this.layout.layoutBox);O8(this.target,this.targetDelta)}else B0(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(z0.value)L1.calculatedTargetDeltas++}getClosestProjectingParent(){if(!this.parent||r6(this.parent.latestValues)||F8(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(X,H,W){this.relativeParent=X,this.linkedParentVersion=X.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=g(),this.relativeTargetOrigin=g(),i1(this.relativeTargetOrigin,H,W),B0(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let X=this.getLead(),H=Boolean(this.resumingFrom)||this!==X,W=!0;if(this.isProjectionDirty||this.parent?.isProjectionDirty)W=!1;if(H&&(this.isSharedProjectionDirty||this.isTransformDirty))W=!1;if(this.resolvedRelativeTargetAt===c.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;B0(this.layoutCorrected,this.layout.layoutBox);let K=this.treeScale.x,B=this.treeScale.y;if(Z4(this.layoutCorrected,this.treeScale,this.path,H),X.layout&&!X.target&&(this.treeScale.x!==1||this.treeScale.y!==1))X.target=X.layout.layoutBox,X.targetWithTransforms=g();let{target:O}=X;if(!O){if(this.prevProjectionDelta)this.createProjectionDeltas(),this.scheduleRender();return}if(!this.projectionDelta||!this.prevProjectionDelta)this.createProjectionDeltas();else A8(this.prevProjectionDelta.x,this.projectionDelta.x),A8(this.prevProjectionDelta.y,this.projectionDelta.y);if(V1(this.projectionDelta,this.layoutCorrected,O,this.latestValues),this.treeScale.x!==K||this.treeScale.y!==B||!k8(this.projectionDelta.x,this.prevProjectionDelta.x)||!k8(this.projectionDelta.y,this.prevProjectionDelta.y))this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",O);if(z0.value)L1.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(X=!0){if(this.options.visualElement?.scheduleRender(),X){let H=this.getStack();H&&H.scheduleRender()}if(this.resumingFrom&&!this.resumingFrom.instance)this.resumingFrom=void 0}createProjectionDeltas(){this.prevProjectionDelta=s0(),this.projectionDelta=s0(),this.projectionDeltaWithTransform=s0()}setAnimationOrigin(X,H=!1){let W=this.snapshot,G=W?W.latestValues:{},z={...this.latestValues},K=s0();if(!this.relativeParent||!this.relativeParent.options.layoutRoot)this.relativeTarget=this.relativeTargetOrigin=void 0;this.attemptToResolveRelativeTarget=!H;let B=g(),O=W?W.source:void 0,w=this.layout?this.layout.source:void 0,_=O!==w,U=this.getStack(),N=!U||U.members.length<=1,P=Boolean(_&&!N&&this.options.crossfade===!0&&!this.path.some(mq));this.animationProgress=0;let A;this.mixTargetDelta=(I)=>{let M=I/1000;if(R4(K.x,X.x,M),R4(K.y,X.y,M),this.setTargetDelta(K),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){if(i1(B,this.layout.layoutBox,this.relativeParent.layout.layoutBox),pq(this.relativeTarget,this.relativeTargetOrigin,B,M),A&&_4(this.relativeTarget,A))this.isProjectionDirty=!1;if(!A)A=g();B0(A,this.relativeTarget)}if(_)this.animationValues=z,T4(z,G,this.latestValues,M,P,N);this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=M},this.mixTargetDelta(this.options.layoutRoot?1000:0)}startAnimation(X){if(this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation)H0(this.pendingAnimation),this.pendingAnimation=void 0;this.pendingAnimation=k.update(()=>{if(T1.hasAnimatedSinceResize=!0,N0.layout++,this.motionValue||(this.motionValue=D0(0)),this.motionValue.jump(0,!1),this.currentAnimation=M4(this.motionValue,[0,1000],{...X,velocity:0,isSync:!0,onUpdate:(H)=>{this.mixTargetDelta(H),X.onUpdate&&X.onUpdate(H)},onStop:()=>{N0.layout--},onComplete:()=>{N0.layout--,X.onComplete&&X.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 X=this.getStack();X&&X.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){if(this.currentAnimation)this.mixTargetDelta&&this.mixTargetDelta(bq),this.currentAnimation.stop();this.completeAnimation()}applyTransformsToTarget(){let X=this.getLead(),{targetWithTransforms:H,target:W,layout:G,latestValues:z}=X;if(!H||!W||!G)return;if(this!==X&&this.layout&&G&&v4(this.options.animationType,this.layout.layoutBox,G.layoutBox)){W=this.target||g();let K=r(this.layout.layoutBox.x);W.x.min=X.target.x.min,W.x.max=W.x.min+K;let B=r(this.layout.layoutBox.y);W.y.min=X.target.y.min,W.y.max=W.y.min+B}B0(H,W),_1(H,z),V1(this.projectionDeltaWithTransform,this.layoutCorrected,H,z)}registerSharedNode(X,H){if(!this.sharedNodes.has(X))this.sharedNodes.set(X,new b8);this.sharedNodes.get(X).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 X=this.getStack();return X?X.lead===this:!0}getLead(){let{layoutId:X}=this.options;return X?this.getStack()?.lead||this:this}getPrevLead(){let{layoutId:X}=this.options;return X?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:X}=this.options;if(X)return this.root.sharedNodes.get(X)}promote({needsReset:X,transition:H,preserveFollowOpacity:W}={}){let G=this.getStack();if(G)G.promote(this,W);if(X)this.projectionDelta=void 0,this.needsReset=!0;if(H)this.setOptions({transition:H})}relegate(){let X=this.getStack();if(X)return X.relegate(this);else return!1}resetSkewAndRotation(){let{visualElement:X}=this.options;if(!X)return;let H=!1,{latestValues:W}=X;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)h8("z",X,G,this.animationValues);for(let z=0;z<R8.length;z++)h8(`rotate${R8[z]}`,X,G,this.animationValues),h8(`skew${R8[z]}`,X,G,this.animationValues);X.render();for(let z in G)if(X.setStaticValue(z,G[z]),this.animationValues)this.animationValues[z]=G[z];X.scheduleRender()}applyProjectionStyles(X,H){if(!this.instance||this.isSVG)return;if(!this.isVisible){X.visibility="hidden";return}let W=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,X.visibility="",X.opacity="",X.pointerEvents=P1(H?.pointerEvents)||"",X.transform=W?W(this.latestValues,""):"none";return}let G=this.getLead();if(!this.projectionDelta||!this.layout||!G.target){if(this.options.layoutId)X.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,X.pointerEvents=P1(H?.pointerEvents)||"";if(this.hasProjected&&!x0(this.latestValues))X.transform=W?W({},""):"none",this.hasProjected=!1;return}X.visibility="";let z=G.animationValues||G.latestValues;this.applyTransformsToTarget();let K=A4(this.projectionDeltaWithTransform,this.treeScale,z);if(W)K=W(z,K);X.transform=K;let{x:B,y:O}=this.projectionDelta;if(X.transformOrigin=`${B.origin*100}% ${O.origin*100}% 0`,G.animationValues)X.opacity=G===this?z.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:z.opacityExit;else X.opacity=G===this?z.opacity!==void 0?z.opacity:"":z.opacityExit!==void 0?z.opacityExit:0;for(let w in x5){if(z[w]===void 0)continue;let{correct:_,applyTo:U,isCSSVariable:N}=x5[w],P=K==="none"?z[w]:_(z[w],G);if(U){let A=U.length;for(let I=0;I<A;I++)X[U[I]]=P}else if(N)this.options.visualElement.renderState.vars[w]=P;else X[w]=P}if(this.options.layoutId)X.pointerEvents=G===this?P1(H?.pointerEvents)||"":"none"}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((X)=>X.currentAnimation?.stop()),this.root.nodes.forEach(k4),this.root.sharedNodes.clear()}}}function hq(Q){Q.updateLayout()}function Cq(Q){let J=Q.resumeFrom?.snapshot||Q.snapshot;if(Q.isLead()&&Q.layout&&J&&Q.hasListeners("didUpdate")){let{layoutBox:Z,measuredBox:$}=Q.layout,{animationType:Y}=Q.options,q=J.source!==Q.layout.source;if(Y==="size")G0((z)=>{let K=q?J.measuredBox[z]:J.layoutBox[z],B=r(K);K.min=Z[z].min,K.max=K.min+B});else if(v4(Y,J.layoutBox,Z))G0((z)=>{let K=q?J.measuredBox[z]:J.layoutBox[z],B=r(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 X=s0();V1(X,Z,J.layoutBox);let H=s0();if(q)V1(H,Q.applyTransform($,!0),J.measuredBox);else V1(H,Z,J.layoutBox);let W=!M8(X),G=!1;if(!Q.resumeFrom){let z=Q.getClosestProjectingParent();if(z&&!z.resumeFrom){let{snapshot:K,layout:B}=z;if(K&&B){let O=g();i1(O,J.layoutBox,K.layoutBox);let w=g();if(i1(w,Z,B.layoutBox),!E8(O,w))G=!0;if(z.options.layoutRoot)Q.relativeTarget=w,Q.relativeTargetOrigin=O,Q.relativeParent=z}}}Q.notifyListeners("didUpdate",{layout:Z,snapshot:J,delta:H,layoutDelta:X,hasLayoutChanged:W,hasRelativeLayoutChanged:G})}else if(Q.isLead()){let{onExitComplete:Z}=Q.options;Z&&Z()}Q.options.transition=void 0}function xq(Q){if(z0.value)L1.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 fq(Q){Q.isProjectionDirty=Q.isSharedProjectionDirty=Q.isTransformDirty=!1}function yq(Q){Q.clearSnapshot()}function k4(Q){Q.clearMeasurements()}function j4(Q){Q.isLayoutDirty=!1}function vq(Q){let{visualElement:J}=Q.options;if(J&&J.getProps().onBeforeLayoutMeasure)J.notify("BeforeLayoutMeasure");Q.resetTransform()}function b4(Q){Q.finishAnimation(),Q.targetDelta=Q.relativeTarget=Q.target=void 0,Q.isProjectionDirty=!0}function gq(Q){Q.resolveTargetDelta()}function dq(Q){Q.calcProjection()}function uq(Q){Q.resetSkewAndRotation()}function cq(Q){Q.removeLeadSnapshot()}function R4(Q,J,Z){Q.translate=h(J.translate,0,Z),Q.scale=h(J.scale,1,Z),Q.origin=J.origin,Q.originPoint=J.originPoint}function h4(Q,J,Z,$){Q.min=h(J.min,Z.min,$),Q.max=h(J.max,Z.max,$)}function pq(Q,J,Z,$){h4(Q.x,J.x,Z.x,$),h4(Q.y,J.y,Z.y,$)}function mq(Q){return Q.animationValues&&Q.animationValues.opacityExit!==void 0}var lq={duration:0.45,ease:[0.4,0,0.1,1]},C4=(Q)=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(Q),x4=C4("applewebkit/")&&!C4("chrome/")?Math.round:d;function f4(Q){Q.min=x4(Q.min),Q.max=x4(Q.max)}function rq(Q){f4(Q.x),f4(Q.y)}function v4(Q,J,Z){return Q==="position"||Q==="preserve-aspect"&&!P8(S8(J),S8(Z),0.2)}function iq(Q){return Q!==Q.root&&Q.scroll?.wasRoot}var g4=t6({attachResizeListener:(Q,J)=>M0(Q,"resize",J),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0});var sq=(Q)=>!Q.isLayoutDirty&&Q.willUpdate(!1);function e6(){let Q=new Set,J=new WeakMap,Z=()=>Q.forEach(sq);return{add:($)=>{Q.add($),J.set($,$.addEventListener("willUpdate",Z))},remove:($)=>{Q.delete($);let Y=J.get($);if(Y)Y(),J.delete($);Z()},dirty:Z}}var Q7={current:void 0},d5=t6({measureScroll:(Q)=>({x:Q.scrollLeft,y:Q.scrollTop}),defaultParent:()=>{if(!Q7.current){let Q=new g4({});Q.mount(window),Q.setOptions({layoutScroll:!0}),Q7.current=Q}return Q7.current},resetTransform:(Q,J)=>{Q.style.transform=J!==void 0?J:"none"},checkIsScrollRoot:(Q)=>Boolean(window.getComputedStyle(Q).position==="fixed")});var u4=j(C(),1);var d4=["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 s1(Q){if(typeof Q!=="string"||Q.includes("-"))return!1;else if(d4.indexOf(Q)>-1||/[A-Z]/u.test(Q))return!0;return!1}var c4=(Q,J)=>{return J.isSVG??s1(Q)?new a6(J):new o6(J,{allowProjection:Q!==u4.Fragment})};var W7=j(j0(),1);var Q5=j(C(),1);var p4=j(C(),1),f0=p4.createContext({});var m4=j(C(),1),J7=m4.createContext({strict:!1});var l4=j(C(),1),o1=l4.createContext({transformPagePoint:(Q)=>Q,isStatic:!1,reducedMotion:"never"});var r4=j(C(),1),a0=r4.createContext({});var Z7=j(C(),1);function i4(Q,J){if(o0(Q)){let{initial:Z,animate:$}=Q;return{initial:Z===!1||L0(Z)?Z:void 0,animate:L0($)?$:void 0}}return Q.inherit!==!1?J:{}}function o4(Q){let{initial:J,animate:Z}=i4(Q,Z7.useContext(a0));return Z7.useMemo(()=>({initial:J,animate:Z}),[s4(J),s4(Z)])}function s4(Q){return Array.isArray(Q)?Q.join(" "):Q}var a1=j(C(),1);var n4=j(C(),1);var n1=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function C8(Q,J,Z){for(let $ in J)if(!f(J[$])&&!f5($,Z))Q[$]=J[$]}function oq({transformTemplate:Q},J){return n4.useMemo(()=>{let Z=n1();return A1(Z,J,Q),Object.assign({},Z.vars,Z.style)},[J])}function nq(Q,J){let Z=Q.style||{},$={};return C8($,Z,Q),Object.assign($,oq(Q,J)),$}function a4(Q,J){let Z={},$=nq(Q,J);if(Q.drag&&Q.dragListener!==!1)Z.draggable=!1,$.userSelect=$.WebkitUserSelect=$.WebkitTouchCallout="none",$.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=$,Z}var t4=j(C(),1);var $7=()=>({...n1(),attrs:{}});function e4(Q,J,Z,$){let Y=t4.useMemo(()=>{let q=$7();return y5(q,J,v5($),Q.transformTemplate,Q.style),{...q.attrs,style:{...q.style}}},[J]);if(Q.style){let q={};C8(q,Q.style,Q),Y.style={...q,...Y.style}}return Y}var aq=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 u5(Q){return Q.startsWith("while")||Q.startsWith("drag")&&Q!=="draggable"||Q.startsWith("layout")||Q.startsWith("onTap")||Q.startsWith("onPan")||Q.startsWith("onLayout")||aq.has(Q)}var QJ=(Q)=>!u5(Q);function eq(Q){if(typeof Q!=="function")return;QJ=(J)=>J.startsWith("on")?!u5(J):Q(J)}try{eq((()=>{throw new Error("Cannot require module "+"@emotion/is-prop-valid");})().default)}catch{}function JJ(Q,J,Z){let $={};for(let Y in Q){if(Y==="values"&&typeof Q.values==="object")continue;if(QJ(Y)||Z===!0&&u5(Y)||!J&&!u5(Y)||Q.draggable&&Y.startsWith("onDrag"))$[Y]=Q[Y]}return $}function ZJ(Q,J,Z,{latestValues:$},Y,q=!1,X){let W=(X??s1(Q)?e4:a4)(J,$,Y,Q),G=JJ(J,typeof Q==="string",q),z=Q!==a1.Fragment?{...G,...W,ref:Z}:{},{children:K}=J,B=a1.useMemo(()=>f(K)?K.get():K,[K]);return a1.createElement(Q,{...z,children:B})}var x8=j(C(),1);var $J=j(C(),1),t0=$J.createContext(null);var YJ=j(C(),1);function t1(Q){let J=YJ.useRef(null);if(J.current===null)J.current=Q();return J.current}function QH({scrapeMotionValuesFromProps:Q,createRenderState:J},Z,$,Y){return{latestValues:JH(Z,$,Y,Q),renderState:J()}}function JH(Q,J,Z,$){let Y={},q=$(Q,{});for(let B in q)Y[B]=P1(q[B]);let{initial:X,animate:H}=Q,W=o0(Q),G=k5(Q);if(J&&G&&!W&&Q.inherit!==!1){if(X===void 0)X=J.initial;if(H===void 0)H=J.animate}let z=Z?Z.initial===!1:!1;z=z||X===!1;let K=z?H:X;if(K&&typeof K!=="boolean"&&!C0(K)){let B=Array.isArray(K)?K:[K];for(let O=0;O<B.length;O++){let w=w1(Q,B[O]);if(w){let{transitionEnd:_,transition:U,...N}=w;for(let P in N){let A=N[P];if(Array.isArray(A)){let I=z?A.length-1:0;A=A[I]}if(A!==null)Y[P]=A}for(let P in _)Y[P]=_[P]}}}return Y}var Y7=(Q)=>(J,Z)=>{let $=x8.useContext(a0),Y=x8.useContext(t0),q=()=>QH(Q,J,$,Y);return Z?q():t1(q)};var XJ=Y7({scrapeMotionValuesFromProps:N1,createRenderState:n1});var qJ=Y7({scrapeMotionValuesFromProps:g5,createRenderState:$7});var HJ={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"]},WJ=!1;function ZH(){if(WJ)return;let Q={};for(let J in HJ)Q[J]={isEnabled:(Z)=>HJ[J].some(($)=>!!Z[$])};b5(Q),WJ=!0}function X7(){return ZH(),W8()}function zJ(Q){let J=X7();for(let Z in Q)J[Z]={...J[Z],...Q[Z]};b5(J)}var GJ=Symbol.for("motionComponentSymbol");var M1=j(C(),1);function KJ(Q,J,Z){let $=M1.useRef(Z);M1.useInsertionEffect(()=>{$.current=Z});let Y=M1.useRef(null);return M1.useCallback((q)=>{if(q)Q.onMount?.(q);let X=$.current;if(typeof X==="function")if(q){let H=X(q);if(typeof H==="function")Y.current=H}else if(Y.current)Y.current(),Y.current=null;else X(q);else if(X)X.current=q;if(J)q?J.mount(q):J.unmount()},[J])}var Y0=j(C(),1);var FJ=j(C(),1),q7=FJ.createContext({});function e0(Q){return Q&&typeof Q==="object"&&Object.prototype.hasOwnProperty.call(Q,"current")}var H7=j(C(),1);var BJ=typeof window<"u";var e1=BJ?H7.useLayoutEffect:H7.useEffect;function OJ(Q,J,Z,$,Y,q){let{visualElement:X}=Y0.useContext(a0),H=Y0.useContext(J7),W=Y0.useContext(t0),G=Y0.useContext(o1),z=G.reducedMotion,K=G.skipAnimations,B=Y0.useRef(null),O=Y0.useRef(!1);if($=$||H.renderer,!B.current&&$){if(B.current=$(Q,{visualState:J,parent:X,props:Z,presenceContext:W,blockInitialAnimation:W?W.initial===!1:!1,reducedMotionConfig:z,skipAnimations:K,isSVG:q}),O.current&&B.current)B.current.manuallyAnimateOnMount=!0}let w=B.current,_=Y0.useContext(q7);if(w&&!w.projection&&Y&&(w.type==="html"||w.type==="svg"))$H(B.current,Z,Y,_);let U=Y0.useRef(!1);Y0.useInsertionEffect(()=>{if(w&&U.current)w.update(Z,W)});let N=Z[L5],P=Y0.useRef(Boolean(N)&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(N)&&window.MotionHasOptimisedAnimation?.(N));return e1(()=>{if(O.current=!0,!w)return;if(U.current=!0,window.MotionIsMounted=!0,w.updateFeatures(),w.scheduleRenderMicrotask(),P.current&&w.animationState)w.animationState.animateChanges()}),Y0.useEffect(()=>{if(!w)return;if(!P.current&&w.animationState)w.animationState.animateChanges();if(P.current)queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(N)}),P.current=!1;w.enteringChildren=void 0}),w}function $H(Q,J,Z,$){let{layoutId:Y,layout:q,drag:X,dragConstraints:H,layoutScroll:W,layoutRoot:G,layoutCrossfade:z}=J;Q.projection=new Z(Q.latestValues,J["data-framer-portal-id"]?void 0:wJ(Q.parent)),Q.projection.setOptions({layoutId:Y,layout:q,alwaysMeasureLayout:Boolean(X)||H&&e0(H),visualElement:Q,animationType:typeof q==="string"?q:"both",initialPromotionConfig:$,crossfade:z,layoutScroll:W,layoutRoot:G})}function wJ(Q){if(!Q)return;return Q.options.allowProjection!==!1?Q.projection:wJ(Q.parent)}function z7(Q,{forwardMotionProps:J=!1,type:Z}={},$,Y){$&&zJ($);let q=Z?Z==="svg":s1(Q),X=q?qJ:XJ;function H(G,z){let K,B={...Q5.useContext(o1),...G,layoutId:YH(G)},{isStatic:O}=B,w=o4(G),_=X(G,O);if(!O&&typeof window<"u"){XH(B,$);let U=qH(B);K=U.MeasureLayout,w.visualElement=OJ(Q,_,B,Y,U.ProjectionNode,q)}return W7.jsxs(a0.Provider,{value:w,children:[K&&w.visualElement?W7.jsx(K,{visualElement:w.visualElement,...B}):null,ZJ(Q,G,KJ(_,w.visualElement,z),_,O,J,q)]})}H.displayName=`motion.${typeof Q==="string"?Q:`create(${Q.displayName??Q.name??""})`}`;let W=Q5.forwardRef(H);return W[GJ]=Q,W}function YH({layoutId:Q}){let J=Q5.useContext(f0).id;return J&&Q!==void 0?J+"-"+Q:Q}function XH(Q,J){let Z=Q5.useContext(J7).strict}function qH(Q){let J=X7(),{drag:Z,layout:$}=J;if(!Z&&!$)return{};let Y={...Z,...$};return{MeasureLayout:Z?.isEnabled(Q)||$?.isEnabled(Q)?Y.MeasureLayout:void 0,ProjectionNode:Y.ProjectionNode}}function DJ(Q,J){if(typeof Proxy>"u")return z7;let Z=new Map,$=(q,X)=>{return z7(q,X,Q,J)};return new Proxy((q,X)=>{return $(q,X)},{get:(q,X)=>{if(X==="create")return $;if(!Z.has(X))Z.set(X,z7(X,void 0,Q,J));return Z.get(X)}})}class f8 extends a{constructor(Q){super(Q);Q.animationState||(Q.animationState=_8(Q))}updateAnimationControlsSubscription(){let{animate:Q}=this.node.getProps();if(C0(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 HH=0;class y8 extends a{constructor(){super(...arguments);this.id=HH++}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 $=this.node.animationState.setActive("exit",!Q);if(J&&!Q)$.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 UJ={animation:{Feature:f8},exit:{Feature:y8}};function y0(Q){return{point:{x:Q.pageX,y:Q.pageY}}}var _J=(Q)=>{return(J)=>U1(J)&&Q(J,y0(J))};function Q1(Q,J,Z,$){return M0(Q,J,_J(Z),$)}var G7=({current:Q})=>{return Q?Q.ownerDocument.defaultView:null};var AJ=(Q,J)=>Math.abs(Q-J);function NJ(Q,J){let Z=AJ(Q.x,J.x),$=AJ(Q.y,J.y);return Math.sqrt(Z**2+$**2)}var IJ=new Set(["auto","scroll"]);class c5{constructor(Q,J,{transformPagePoint:Z,contextWindow:$=window,dragSnapToOrigin:Y=!1,distanceThreshold:q=3,element:X}={}){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=g8(this.lastMoveEventInfo,this.history),O=this.startEvent!==null,w=NJ(B.offset,{x:0,y:0})>=this.distanceThreshold;if(!O&&!w)return;let{point:_}=B,{timestamp:U}=c;this.history.push({..._,timestamp:U});let{onStart:N,onMove:P}=this.handlers;if(!O)N&&N(this.lastMoveEvent,B),this.startEvent=this.lastMoveEvent;P&&P(this.lastMoveEvent,B)},this.handlePointerMove=(B,O)=>{this.lastMoveEvent=B,this.lastMoveEventInfo=v8(O,this.transformPagePoint),k.update(this.updatePoint,!0)},this.handlePointerUp=(B,O)=>{this.end();let{onEnd:w,onSessionEnd:_,resumeAnimation:U}=this.handlers;if(this.dragSnapToOrigin||!this.startEvent)U&&U();if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let N=g8(B.type==="pointercancel"?this.lastMoveEventInfo:v8(O,this.transformPagePoint),this.history);if(this.startEvent&&w)w(B,N);_&&_(B,N)},!U1(Q))return;this.dragSnapToOrigin=Y,this.handlers=J,this.transformPagePoint=Z,this.distanceThreshold=q,this.contextWindow=$||window;let H=y0(Q),W=v8(H,this.transformPagePoint),{point:G}=W,{timestamp:z}=c;this.history=[{...G,timestamp:z}];let{onSessionStart:K}=J;if(K&&K(Q,g8(W,this.history)),this.removeListeners=O0(Q1(this.contextWindow,"pointermove",this.handlePointerMove),Q1(this.contextWindow,"pointerup",this.handlePointerUp),Q1(this.contextWindow,"pointercancel",this.handlePointerUp)),X)this.startScrollTracking(X)}startScrollTracking(Q){let J=Q.parentElement;while(J){let Z=getComputedStyle(J);if(IJ.has(Z.overflowX)||IJ.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,$=Z?{x:window.scrollX,y:window.scrollY}:{x:Q.scrollLeft,y:Q.scrollTop},Y={x:$.x-J.x,y:$.y-J.y};if(Y.x===0&&Y.y===0)return;if(Z){if(this.lastMoveEventInfo)this.lastMoveEventInfo.point.x+=Y.x,this.lastMoveEventInfo.point.y+=Y.y}else if(this.history.length>0)this.history[0].x-=Y.x,this.history[0].y-=Y.y;this.scrollPositions.set(Q,$),k.update(this.updatePoint,!0)}updateHandlers(Q){this.handlers=Q}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),H0(this.updatePoint)}}function v8(Q,J){return J?{point:J(Q.point)}:Q}function VJ(Q,J){return{x:Q.x-J.x,y:Q.y-J.y}}function g8({point:Q},J){return{point:Q,delta:VJ(Q,PJ(J)),offset:VJ(Q,WH(J)),velocity:zH(J,0.1)}}function WH(Q){return Q[0]}function PJ(Q){return Q[Q.length-1]}function zH(Q,J){if(Q.length<2)return{x:0,y:0};let Z=Q.length-1,$=null,Y=PJ(Q);while(Z>=0){if($=Q[Z],Y.timestamp-$.timestamp>l(J))break;Z--}if(!$)return{x:0,y:0};if($===Q[0]&&Q.length>2&&Y.timestamp-$.timestamp>l(J)*2)$=Q[1];let q=s(Y.timestamp-$.timestamp);if(q===0)return{x:0,y:0};let X={x:(Y.x-$.x)/q,y:(Y.y-$.y)/q};if(X.x===1/0)X.x=0;if(X.y===1/0)X.y=0;return X}function SJ(Q,{min:J,max:Z},$){if(J!==void 0&&Q<J)Q=$?h(J,Q,$.min):Math.max(Q,J);else if(Z!==void 0&&Q>Z)Q=$?h(Z,Q,$.max):Math.min(Q,Z);return Q}function TJ(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 kJ(Q,{top:J,left:Z,bottom:$,right:Y}){return{x:TJ(Q.x,Z,Y),y:TJ(Q.y,J,$)}}function LJ(Q,J){let Z=J.min-Q.min,$=J.max-Q.max;if(J.max-J.min<Q.max-Q.min)[Z,$]=[$,Z];return{min:Z,max:$}}function jJ(Q,J){return{x:LJ(Q.x,J.x),y:LJ(Q.y,J.y)}}function bJ(Q,J){let Z=0.5,$=r(Q),Y=r(J);if(Y>$)Z=A0(J.min,J.max-$,Q.min);else if($>Y)Z=A0(Q.min,Q.max-Y,J.min);return m(0,1,Z)}function RJ(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 K7=0.35;function hJ(Q=K7){if(Q===!1)Q=0;else if(Q===!0)Q=K7;return{x:MJ(Q,"left","right"),y:MJ(Q,"top","bottom")}}function MJ(Q,J,Z){return{min:EJ(Q,J),max:EJ(Q,Z)}}function EJ(Q,J){return typeof Q==="number"?Q:Q[J]||0}var GH=new WeakMap;class d8{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=g(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=Q}start(Q,{snapToCursor:J=!1,distanceThreshold:Z}={}){let{presenceContext:$}=this.visualElement;if($&&$.isPresent===!1)return;let Y=(z)=>{if(J)this.snapToCursor(y0(z).point);this.stopAnimation()},q=(z,K)=>{let{drag:B,dragPropagation:O,onDragStart:w}=this.getProps();if(B&&!O){if(this.openDragLock)this.openDragLock();if(this.openDragLock=e7(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(G0((U)=>{let N=this.getAxisMotionValue(U).get()||0;if(Q0.test(N)){let{projection:P}=this.visualElement;if(P&&P.layout){let A=P.layout.layoutBox[U];if(A)N=r(A)*(parseFloat(N)/100)}}this.originPoint[U]=N}),w)k.update(()=>w(z,K),!1,!0);g1(this.visualElement,"transform");let{animationState:_}=this.visualElement;_&&_.setActive("whileDrag",!0)},X=(z,K)=>{this.latestPointerEvent=z,this.latestPanInfo=K;let{dragPropagation:B,dragDirectionLock:O,onDirectionLock:w,onDrag:_}=this.getProps();if(!B&&!this.openDragLock)return;let{offset:U}=K;if(O&&this.currentDirection===null){if(this.currentDirection=FH(U),this.currentDirection!==null)w&&w(this.currentDirection);return}if(this.updateAxis("x",K.point,U),this.updateAxis("y",K.point,U),this.visualElement.render(),_)k.update(()=>_(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 c5(Q,{onSessionStart:Y,onStart:q,onMove:X,onSessionEnd:H,resumeAnimation:W},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:G,distanceThreshold:Z,contextWindow:G7(this.visualElement),element:this.visualElement.current})}stop(Q,J){let Z=Q||this.latestPointerEvent,$=J||this.latestPanInfo,Y=this.isDragging;if(this.cancel(),!Y||!$||!Z)return;let{velocity:q}=$;this.startAnimation(q);let{onDragEnd:X}=this.getProps();if(X)k.postRender(()=>X(Z,$))}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:$}=this.getProps();if(!Z||!F7(Q,$,this.currentDirection))return;let Y=this.getAxisMotionValue(Q),q=this.originPoint[Q]+Z[Q];if(this.constraints&&this.constraints[Q])q=SJ(q,this.constraints[Q],this.elastic[Q]);Y.set(q)}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,$=this.constraints;if(Q&&e0(Q)){if(!this.constraints)this.constraints=this.resolveRefConstraints()}else if(Q&&Z)this.constraints=kJ(Z.layoutBox,Q);else this.constraints=!1;if(this.elastic=hJ(J),$!==this.constraints&&!e0(Q)&&Z&&this.constraints&&!this.hasMutatedConstraints)G0((Y)=>{if(this.constraints!==!1&&this.getAxisMotionValue(Y))this.constraints[Y]=RJ(Z.layoutBox[Y],this.constraints[Y])})}resolveRefConstraints(){let{dragConstraints:Q,onMeasureDragConstraints:J}=this.getProps();if(!Q||!e0(Q))return!1;let Z=Q.current;q0(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:$}=this.visualElement;if(!$||!$.layout)return!1;let Y=w8(Z,$.root,this.visualElement.getTransformPagePoint()),q=jJ($.layout.layoutBox,Y);if(J){let X=J(z8(q));if(this.hasMutatedConstraints=!!X,X)q=h5(X)}return q}startAnimation(Q){let{drag:J,dragMomentum:Z,dragElastic:$,dragTransition:Y,dragSnapToOrigin:q,onDragTransitionEnd:X}=this.getProps(),H=this.constraints||{},W=G0((G)=>{if(!F7(G,J,this.currentDirection))return;let z=H&&H[G]||{};if(q)z={min:0,max:0};let K=$?200:1e6,B=$?40:1e7,O={type:"inertia",velocity:Z?Q[G]:0,bounceStiffness:K,bounceDamping:B,timeConstant:750,restDelta:1,restSpeed:10,...Y,...z};return this.startAxisValueAnimation(G,O)});return Promise.all(W).then(X)}startAxisValueAnimation(Q,J){let Z=this.getAxisMotionValue(Q);return g1(this.visualElement,Q),Z.start(O1(Q,Z,0,J,this.visualElement,!1))}stopAnimation(){G0((Q)=>this.getAxisMotionValue(Q).stop())}getAxisMotionValue(Q){let J=`_drag${Q.toUpperCase()}`,Z=this.visualElement.getProps(),$=Z[J];return $?$:this.visualElement.getValue(Q,(Z.initial?Z.initial[Q]:void 0)||0)}snapToCursor(Q){G0((J)=>{let{drag:Z}=this.getProps();if(!F7(J,Z,this.currentDirection))return;let{projection:$}=this.visualElement,Y=this.getAxisMotionValue(J);if($&&$.layout){let{min:q,max:X}=$.layout.layoutBox[J],H=Y.get()||0;Y.set(Q[J]-h(q,X,0.5)+H)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:Q,dragConstraints:J}=this.getProps(),{projection:Z}=this.visualElement;if(!e0(J)||!Z||!this.constraints)return;this.stopAnimation();let $={x:0,y:0};G0((q)=>{let X=this.getAxisMotionValue(q);if(X&&this.constraints!==!1){let H=X.get();$[q]=bJ({min:H,max:H},this.constraints[q])}});let{transformTemplate:Y}=this.visualElement.getProps();this.visualElement.current.style.transform=Y?Y({},""):"none",Z.root&&Z.root.updateScroll(),Z.updateLayout(),this.constraints=!1,this.resolveConstraints(),G0((q)=>{if(!F7(q,Q,null))return;let X=this.getAxisMotionValue(q),{min:H,max:W}=this.constraints[q];X.set(h(H,W,$[q]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;GH.set(this.visualElement,this);let Q=this.visualElement.current,J=Q1(Q,"pointerdown",(W)=>{let{drag:G,dragListener:z=!0}=this.getProps(),K=W.target,B=K!==Q&&$8(K);if(G&&z&&!B)this.start(W)}),Z,$=()=>{let{dragConstraints:W}=this.getProps();if(e0(W)&&W.current){if(this.constraints=this.resolveRefConstraints(),!Z)Z=KH(Q,W.current,()=>this.scalePositionWithinConstraints())}},{projection:Y}=this.visualElement,q=Y.addEventListener("measure",$);if(Y&&!Y.layout)Y.root&&Y.root.updateScroll(),Y.updateLayout();k.read($);let X=M0(window,"resize",()=>this.scalePositionWithinConstraints()),H=Y.addEventListener("didUpdate",({delta:W,hasLayoutChanged:G})=>{if(this.isDragging&&G)G0((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()=>{X(),J(),q(),H&&H(),Z&&Z()}}getProps(){let Q=this.visualElement.getProps(),{drag:J=!1,dragDirectionLock:Z=!1,dragPropagation:$=!1,dragConstraints:Y=!1,dragElastic:q=K7,dragMomentum:X=!0}=Q;return{...Q,drag:J,dragDirectionLock:Z,dragPropagation:$,dragConstraints:Y,dragElastic:q,dragMomentum:X}}}function CJ(Q){let J=!0;return()=>{if(J){J=!1;return}Q()}}function KH(Q,J,Z){let $=u6(Q,CJ(Z)),Y=u6(J,CJ(Z));return()=>{$(),Y()}}function F7(Q,J,Z){return(J===!0||J===Q)&&(Z===null||Z===Q)}function FH(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 u8 extends a{constructor(Q){super(Q);this.removeGroupControls=d,this.removeListeners=d,this.controls=new d8(Q)}mount(){let{dragControls:Q}=this.node.getProps();if(Q)this.removeGroupControls=Q.subscribe(this.controls);this.removeListeners=this.controls.addListeners()||d}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 c8=(Q)=>(J,Z)=>{if(Q)k.update(()=>Q(J,Z),!1,!0)};class p8 extends a{constructor(){super(...arguments);this.removePointerDownListener=d}onPointerDown(Q){this.session=new c5(Q,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:G7(this.node)})}createPanHandlers(){let{onPanSessionStart:Q,onPanStart:J,onPan:Z,onPanEnd:$}=this.node.getProps();return{onSessionStart:c8(Q),onStart:c8(J),onMove:c8(Z),onEnd:(Y,q)=>{if(delete this.session,$)k.postRender(()=>$(Y,q))}}}mount(){this.removePointerDownListener=Q1(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 xJ=j(j0(),1);var p5=j(C(),1);var J1=j(C(),1);function B7(Q=!0){let J=J1.useContext(t0);if(J===null)return[!0,null];let{isPresent:Z,onExitComplete:$,register:Y}=J,q=J1.useId();J1.useEffect(()=>{if(Q)return Y(q)},[Q]);let X=J1.useCallback(()=>Q&&$&&$(q),[q,$,Q]);return!Z&&$?[!1,X]:[!0]}var m8=!1;class fJ extends p5.Component{componentDidMount(){let{visualElement:Q,layoutGroup:J,switchLayoutGroup:Z,layoutId:$}=this.props,{projection:Y}=Q;if(Y){if(J.group)J.group.add(Y);if(Z&&Z.register&&$)Z.register(Y);if(m8)Y.root.didUpdate();Y.addEventListener("animationComplete",()=>{this.safeToRemove()}),Y.setOptions({...Y.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})}T1.hasEverUpdated=!0}getSnapshotBeforeUpdate(Q){let{layoutDependency:J,visualElement:Z,drag:$,isPresent:Y}=this.props,{projection:q}=Z;if(!q)return null;if(q.isPresent=Y,Q.layoutDependency!==J)q.setOptions({...q.options,layoutDependency:J});if(m8=!0,$||Q.layoutDependency!==J||J===void 0||Q.isPresent!==Y)q.willUpdate();else this.safeToRemove();if(Q.isPresent!==Y){if(Y)q.promote();else if(!q.relegate())k.postRender(()=>{let X=q.getStack();if(!X||!X.members.length)this.safeToRemove()})}return null}componentDidUpdate(){let{projection:Q}=this.props.visualElement;if(Q)Q.root.didUpdate(),D1.postRender(()=>{if(!Q.currentAnimation&&Q.isLead())this.safeToRemove()})}componentWillUnmount(){let{visualElement:Q,layoutGroup:J,switchLayoutGroup:Z}=this.props,{projection:$}=Q;if(m8=!0,$){if($.scheduleCheckAfterUnmount(),J&&J.group)J.group.remove($);if(Z&&Z.deregister)Z.deregister($)}}safeToRemove(){let{safeToRemove:Q}=this.props;Q&&Q()}render(){return null}}function O7(Q){let[J,Z]=B7(),$=p5.useContext(f0);return xJ.jsx(fJ,{...Q,layoutGroup:$,switchLayoutGroup:p5.useContext(q7),isPresent:J,safeToRemove:Z})}var yJ={pan:{Feature:p8},drag:{Feature:u8,ProjectionNode:d5,MeasureLayout:O7}};function vJ(Q,J,Z){let{props:$}=Q;if(Q.animationState&&$.whileHover)Q.animationState.setActive("whileHover",Z==="Start");let Y="onHover"+Z,q=$[Y];if(q)k.postRender(()=>q(J,y0(J)))}class l8 extends a{mount(){let{current:Q}=this.node;if(!Q)return;this.unmount=Q8(Q,(J,Z)=>{return vJ(this.node,Z,"Start"),($)=>vJ(this.node,$,"End")})}unmount(){}}class r8 extends a{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=O0(M0(this.node.current,"focus",()=>this.onFocus()),M0(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function gJ(Q,J,Z){let{props:$}=Q;if(Q.current instanceof HTMLButtonElement&&Q.current.disabled)return;if(Q.animationState&&$.whileTap)Q.animationState.setActive("whileTap",Z==="Start");let Y="onTap"+(Z==="End"?"":Z),q=$[Y];if(q)k.postRender(()=>q(J,y0(J)))}class i8 extends a{mount(){let{current:Q}=this.node;if(!Q)return;let{globalTapTarget:J,propagate:Z}=this.node.props;this.unmount=X8(Q,($,Y)=>{return gJ(this.node,Y,"Start"),(q,{success:X})=>gJ(this.node,q,X?"End":"Cancel")},{useGlobalTarget:J,stopPropagation:Z?.tap===!1})}unmount(){}}var o8=new WeakMap,s8=new WeakMap,BH=(Q)=>{let J=o8.get(Q.target);J&&J(Q)},OH=(Q)=>{Q.forEach(BH)};function wH({root:Q,...J}){let Z=Q||document;if(!s8.has(Z))s8.set(Z,{});let $=s8.get(Z),Y=JSON.stringify(J);if(!$[Y])$[Y]=new IntersectionObserver(OH,{root:Q,...J});return $[Y]}function dJ(Q,J,Z){let $=wH(J);return o8.set(Q,Z),$.observe(Q),()=>{o8.delete(Q),$.unobserve(Q)}}var DH={some:0,all:1};class n8 extends a{constructor(){super(...arguments);this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:Q={}}=this.node.getProps(),{root:J,margin:Z,amount:$="some",once:Y}=Q,q={root:J?J.current:void 0,rootMargin:Z,threshold:typeof $==="number"?$:DH[$]},X=(H)=>{let{isIntersecting:W}=H;if(this.isInView===W)return;if(this.isInView=W,Y&&!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 dJ(this.node.current,q,X)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:Q,prevProps:J}=this.node;if(["amount","margin","root"].some(UH(Q,J)))this.startObserver()}unmount(){}}function UH({viewport:Q={}},{viewport:J={}}={}){return(Z)=>Q[Z]!==J[Z]}var uJ={inView:{Feature:n8},tap:{Feature:i8},focus:{Feature:r8},hover:{Feature:l8}};var cJ={layout:{ProjectionNode:d5,MeasureLayout:O7}};var pJ={...UJ,...uJ,...yJ,...cJ};var mJ=DJ(pJ,c4);var r5=j(j0(),1),U0=j(C(),1);var a8=j(j0(),1),aJ=j(C(),1),m5=j(C(),1);var sJ=j(j0(),1);var w7=j(C(),1),v0=j(C(),1);var rJ=j(C(),1);function lJ(Q,J){if(typeof Q==="function")return Q(J);else if(Q!==null&&Q!==void 0)Q.current=J}function _H(...Q){return(J)=>{let Z=!1,$=Q.map((Y)=>{let q=lJ(Y,J);if(!Z&&typeof q==="function")Z=!0;return q});if(Z)return()=>{for(let Y=0;Y<$.length;Y++){let q=$[Y];if(typeof q==="function")q();else lJ(Q[Y],null)}}}}function iJ(...Q){return rJ.useCallback(_H(...Q),Q)}class oJ extends w7.Component{getSnapshotBeforeUpdate(Q){let J=this.props.childRef.current;if(J&&Q.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let Z=J.offsetParent,$=c1(Z)?Z.offsetWidth||0:0,Y=c1(Z)?Z.offsetHeight||0:0,q=this.props.sizeRef.current;q.height=J.offsetHeight||0,q.width=J.offsetWidth||0,q.top=J.offsetTop,q.left=J.offsetLeft,q.right=$-q.width-q.left,q.bottom=Y-q.height-q.top}return null}componentDidUpdate(){}render(){return this.props.children}}function nJ({children:Q,isPresent:J,anchorX:Z,anchorY:$,root:Y,pop:q}){let X=v0.useId(),H=v0.useRef(null),W=v0.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:G}=v0.useContext(o1),z=Q.props?.ref??Q?.ref,K=iJ(H,z);return v0.useInsertionEffect(()=>{let{width:B,height:O,top:w,left:_,right:U,bottom:N}=W.current;if(J||q===!1||!H.current||!B||!O)return;let P=Z==="left"?`left: ${_}`:`right: ${U}`,A=$==="bottom"?`bottom: ${N}`:`top: ${w}`;H.current.dataset.motionPopId=X;let I=document.createElement("style");if(G)I.nonce=G;let M=Y??document.head;if(M.appendChild(I),I.sheet)I.sheet.insertRule(`
|
|
2
|
-
[data-motion-pop-id="${X}"] {
|
|
3
|
-
position: absolute !important;
|
|
4
|
-
width: ${B}px !important;
|
|
5
|
-
height: ${O}px !important;
|
|
6
|
-
${P}px !important;
|
|
7
|
-
${A}px !important;
|
|
8
|
-
}
|
|
9
|
-
`);return()=>{if(M.contains(I))M.removeChild(I)}},[J]),sJ.jsx(oJ,{isPresent:J,childRef:H,sizeRef:W,pop:q,children:q===!1?Q:w7.cloneElement(Q,{ref:K})})}var tJ=({children:Q,initial:J,isPresent:Z,onExitComplete:$,custom:Y,presenceAffectsLayout:q,mode:X,anchorX:H,anchorY:W,root:G})=>{let z=t1(AH),K=m5.useId(),B=!0,O=m5.useMemo(()=>{return B=!1,{id:K,initial:J,isPresent:Z,custom:Y,onExitComplete:(w)=>{z.set(w,!0);for(let _ of z.values())if(!_)return;$&&$()},register:(w)=>{return z.set(w,!1),()=>z.delete(w)}}},[Z,z,$]);if(q&&B)O={...O};return m5.useMemo(()=>{z.forEach((w,_)=>z.set(_,!1))},[Z]),aJ.useEffect(()=>{!Z&&!z.size&&$&&$()},[Z]),Q=a8.jsx(nJ,{pop:X==="popLayout",isPresent:Z,anchorX:H,anchorY:W,root:G,children:Q}),a8.jsx(t0.Provider,{value:O,children:Q})};function AH(){return new Map}var D7=j(C(),1),l5=(Q)=>Q.key||"";function t8(Q){let J=[];return D7.Children.forEach(Q,(Z)=>{if(D7.isValidElement(Z))J.push(Z)}),J}var NH=({children:Q,custom:J,initial:Z=!0,onExitComplete:$,presenceAffectsLayout:Y=!0,mode:q="sync",propagate:X=!1,anchorX:H="left",anchorY:W="top",root:G})=>{let[z,K]=B7(X),B=U0.useMemo(()=>t8(Q),[Q]),O=X&&!z?[]:B.map(l5),w=U0.useRef(!0),_=U0.useRef(B),U=t1(()=>new Map),N=U0.useRef(new Set),[P,A]=U0.useState(B),[I,M]=U0.useState(B);e1(()=>{w.current=!1,_.current=B;for(let D=0;D<I.length;D++){let S=l5(I[D]);if(!O.includes(S)){if(U.get(S)!==!0)U.set(S,!1)}else U.delete(S),N.current.delete(S)}},[I,O.length,O.join("-")]);let R=[];if(B!==P){let D=[...B];for(let S=0;S<I.length;S++){let J0=I[S],E0=l5(J0);if(!O.includes(E0))D.splice(S,0,J0),R.push(J0)}if(q==="wait"&&R.length)D=R;return M(t8(D)),A(B),null}let{forceRender:x}=U0.useContext(f0);return r5.jsx(r5.Fragment,{children:I.map((D)=>{let S=l5(D),J0=X&&!z?!1:B===I||O.includes(S),E0=()=>{if(N.current.has(S))return;if(N.current.add(S),U.has(S))U.set(S,!0);else return;let W0=!0;if(U.forEach((Z1)=>{if(!Z1)W0=!1}),W0)x?.(),M(_.current),X&&K?.(),$&&$()};return r5.jsx(tJ,{isPresent:J0,initial:!w.current||Z?void 0:!1,custom:J,presenceAffectsLayout:Y,mode:q,root:G,onExitComplete:J0?void 0:E0,anchorX:H,anchorY:W,children:D},S)})})};var YZ=j(j0(),1),E1=j(C(),1);var eJ=j(C(),1),QZ=eJ.createContext(null);var i5=j(C(),1);var JZ=j(C(),1);function ZZ(){let Q=JZ.useRef(!1);return e1(()=>{return Q.current=!0,()=>{Q.current=!1}},[]),Q}function $Z(){let Q=ZZ(),[J,Z]=i5.useState(0),$=i5.useCallback(()=>{Q.current&&Z(J+1)},[J]);return[i5.useCallback(()=>k.postRender($),[$]),J]}var XZ=(Q)=>Q===!0,IH=(Q)=>XZ(Q===!0)||Q==="id",VH=({children:Q,id:J,inherit:Z=!0})=>{let $=E1.useContext(f0),Y=E1.useContext(QZ),[q,X]=$Z(),H=E1.useRef(null),W=$.id||Y;if(H.current===null){if(IH(Z)&&W)J=J?W+"-"+J:W;H.current={id:J,group:XZ(Z)?$.group||e6():e6()}}let G=E1.useMemo(()=>({...H.current,forceRender:q}),[X]);return YZ.jsx(f0.Provider,{value:G,children:Q})};function U7(){return typeof window<"u"}function J9(Q){if(WZ(Q))return(Q.nodeName||"").toLowerCase();return"#document"}function J5(Q){var J;return(Q==null||(J=Q.ownerDocument)==null?void 0:J.defaultView)||window}function PH(Q){var J;return(J=(WZ(Q)?Q.ownerDocument:Q.document)||window.document)==null?void 0:J.documentElement}function WZ(Q){if(!U7())return!1;return Q instanceof Node||Q instanceof J5(Q).Node}function zZ(Q){if(!U7())return!1;return Q instanceof Element||Q instanceof J5(Q).Element}function GZ(Q){if(!U7())return!1;return Q instanceof HTMLElement||Q instanceof J5(Q).HTMLElement}function qZ(Q){if(!U7()||typeof ShadowRoot>"u")return!1;return Q instanceof ShadowRoot||Q instanceof J5(Q).ShadowRoot}function KZ(Q){let{overflow:J,overflowX:Z,overflowY:$,display:Y}=BZ(Q);return/auto|scroll|overlay|hidden|clip/.test(J+$+Z)&&Y!=="inline"&&Y!=="contents"}function v46(Q){return/^(table|td|th)$/.test(J9(Q))}function TH(Q){try{if(Q.matches(":popover-open"))return!0}catch(J){}try{return Q.matches(":modal")}catch(J){return!1}}var LH=/transform|translate|scale|rotate|perspective|filter/,MH=/paint|layout|strict|content/,S1=(Q)=>!!Q&&Q!=="none",e8;function EH(Q){let J=zZ(Q)?BZ(Q):Q;return S1(J.transform)||S1(J.translate)||S1(J.scale)||S1(J.rotate)||S1(J.perspective)||!SH()&&(S1(J.backdropFilter)||S1(J.filter))||LH.test(J.willChange||"")||MH.test(J.contain||"")}function g46(Q){let J=Q9(Q);while(GZ(J)&&!FZ(J)){if(EH(J))return J;else if(TH(J))return null;J=Q9(J)}return null}function SH(){if(e8==null)e8=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none");return e8}function FZ(Q){return/^(html|body|#document)$/.test(J9(Q))}function BZ(Q){return J5(Q).getComputedStyle(Q)}function d46(Q){if(zZ(Q))return{scrollLeft:Q.scrollLeft,scrollTop:Q.scrollTop};return{scrollLeft:Q.scrollX,scrollTop:Q.scrollY}}function Q9(Q){if(J9(Q)==="html")return Q;let J=Q.assignedSlot||Q.parentNode||qZ(Q)&&Q.host||PH(Q);return qZ(J)?J.host:J}function OZ(Q){let J=Q9(Q);if(FZ(J))return Q.ownerDocument?Q.ownerDocument.body:Q.body;if(GZ(J)&&KZ(J))return J;return OZ(J)}function HZ(Q,J,Z){var $;if(J===void 0)J=[];if(Z===void 0)Z=!0;let Y=OZ(Q),q=Y===(($=Q.ownerDocument)==null?void 0:$.body),X=J5(Y);if(q){let H=kH(X);return J.concat(X,X.visualViewport||[],KZ(Y)?Y:[],H&&Z?HZ(H):[])}else return J.concat(Y,HZ(Y,[],Z))}function kH(Q){return Q.parent&&Object.getPrototypeOf(Q.parent)?Q.frameElement:null}
|
|
10
|
-
export{C as ga,j0 as ha,xH as ia,K9 as ja,gZ as ka,uZ as la,pZ as ma,DZ as na,lZ as oa,iZ as pa,oZ as qa,aZ as ra,eZ as sa,J$ as ta,$$ as ua,X$ as va,H$ as wa,z$ as xa,K$ as ya,B$ as za,w$ as Aa,U$ as Ba,A$ as Ca,I$ as Da,P$ as Ea,L$ as Fa,E$ as Ga,k$ as Ha,b$ as Ia,h$ as Ja,x$ as Ka,y$ as La,g$ as Ma,u$ as Na,p$ as Oa,l$ as Pa,i$ as Qa,o$ as Ra,_Z as Sa,a$ as Ta,e$ as Ua,J3 as Va,$3 as Wa,X3 as Xa,H3 as Ya,z3 as Za,K3 as _a,NZ as $a,B3 as ab,w3 as bb,VZ as cb,U3 as db,A3 as eb,I3 as fb,P3 as gb,L3 as hb,TZ as ib,E3 as jb,k3 as kb,b3 as lb,h3 as mb,x3 as nb,y3 as ob,g3 as pb,u3 as qb,p3 as rb,l3 as sb,i3 as tb,o3 as ub,a3 as vb,e3 as wb,JY as xb,$Y as yb,XY as zb,HY as Ab,zY as Bb,KY as Cb,MZ as Db,BY as Eb,wY as Fb,UY as Gb,AY as Hb,IY as Ib,SZ as Jb,PY as Kb,LY as Lb,EY as Mb,jZ as Nb,kY as Ob,RZ as Pb,bY as Qb,hY as Rb,xY as Sb,yY as Tb,gY as Ub,uY as Vb,CZ as Wb,pY as Xb,lY as Yb,fZ as Zb,iY as _b,oY as $b,aY as ac,eY as bc,J2 as cc,J9 as dc,J5 as ec,PH as fc,WZ as gc,zZ as hc,GZ as ic,qZ as jc,KZ as kc,v46 as lc,TH as mc,EH as nc,g46 as oc,SH as pc,FZ as qc,BZ as rc,d46 as sc,Q9 as tc,HZ as uc,kH as vc,N7 as wc,Lr5 as xc,kr5 as yc,RH as zc,hH as Ac,NH as Bc,VH as Cc,mJ as Dc};
|
package/dist/chunk-6c8cwpzc.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"/chunk-pcnahct1.js";import"/chunk-vkvb3hjm.js";export{a as sanitizeSvg};
|