moi-computer 0.12.1-next.2 → 0.12.1-next.4
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/bunfig.toml +1 -5
- package/client/api/app-config.ts +1 -2
- package/client/api/app-ui-keys.ts +3 -1
- package/client/api/http.ts +4 -1
- package/client/api/workspace-keys.ts +3 -3
- package/client/app/app-provider.tsx +22 -2
- package/client/app/app-router.tsx +6 -0
- package/client/app/routes/home-route.tsx +14 -0
- package/client/app/routes/onboarding-route.tsx +11 -0
- package/client/app/routes/settings-route.tsx +10 -0
- package/client/app/routes/workspace-route.tsx +21 -19
- package/client/app/shell/sidebar-layout.tsx +34 -53
- package/client/components/shared/screen-shell.tsx +23 -0
- package/client/components/shared/ultrafast-icon.tsx +61 -0
- package/client/components/shared/workspace-icon.tsx +2 -2
- package/client/features/account/account-menu.tsx +96 -0
- package/client/features/account/account-provider.tsx +142 -0
- package/client/features/account/account-test-utils.tsx +294 -0
- package/client/features/account/api.ts +142 -0
- package/client/features/account/identity.ts +23 -0
- package/client/features/app-settings/api.ts +33 -0
- package/client/features/app-settings/general-settings.tsx +39 -0
- package/client/features/app-settings/profile-settings.tsx +95 -0
- package/client/features/app-settings/settings-page.tsx +48 -0
- package/client/features/app-settings/settings-section.tsx +26 -0
- package/client/features/app-settings/users-settings.tsx +195 -0
- package/client/features/chat/applet-chat-intents.ts +4 -20
- package/client/features/chat/chat-send.ts +17 -13
- package/client/features/chat/composer/model-order.ts +8 -4
- package/client/features/chat/composer/model-picker.tsx +88 -34
- package/client/features/chat/composer/use-workspace-composer-state.tsx +11 -3
- package/client/features/chat/composer/use-workspace-skill-updates.ts +1 -1
- package/client/features/chat/connection/chat-frames.ts +3 -15
- package/client/features/chat/messages/chat-empty-state.tsx +1 -4
- package/client/features/chat/messages/fork-history.ts +5 -5
- package/client/features/chat/messages/turn-view.tsx +3 -12
- package/client/features/chat/messages/user-message-bubble.tsx +63 -0
- package/client/features/chat/sessions/api.ts +121 -80
- package/client/features/chat/sessions/browser-tab-state.ts +14 -12
- package/client/features/chat/sessions/chat-selector.tsx +5 -6
- package/client/features/chat/sessions/use-selected-session.ts +172 -257
- package/client/features/chat/use-chat.ts +14 -19
- package/client/features/collab/applet-api.ts +15 -14
- package/client/features/collab/components/cursors.tsx +61 -24
- package/client/features/collab/components/presence-avatars.tsx +25 -12
- package/client/features/collab/components/presence-frame.tsx +20 -24
- package/client/features/collab/components/presence-group.tsx +15 -7
- package/client/features/collab/components/user-avatar-group.tsx +21 -8
- package/client/features/collab/components/user-avatar.tsx +38 -7
- package/client/features/collab/components/user.tsx +31 -12
- package/client/features/collab/users.ts +0 -5
- package/client/features/collab/workspace-users-menu.tsx +4 -4
- package/client/features/demo/demo-dialog.tsx +11 -3
- package/client/features/dev/collab/collab-playground.tsx +7 -7
- package/client/features/dev/collab/local-user-settings.tsx +7 -53
- package/client/features/dev/dev-index-page.tsx +5 -0
- package/client/features/dev/dev-routes.tsx +2 -0
- package/client/features/dev/harness-debug-page.tsx +3 -3
- package/client/features/dev/onboarding-preview-page.tsx +76 -0
- package/client/features/dev/workspace-setup-mocks.ts +16 -14
- package/client/features/dev/workspace-setup-preview.tsx +11 -17
- package/client/features/harness/api.ts +45 -15
- package/client/features/harness/device-login-steps.tsx +9 -3
- package/client/features/harness/harness-login-panel.tsx +228 -0
- package/client/features/harness/harness-presentation.ts +15 -0
- package/client/features/harness/harness-selector.tsx +119 -0
- package/client/features/harness/use-harness-login.ts +77 -0
- package/client/features/home/home-page.tsx +7 -7
- package/client/features/onboarding/agent-setup-step.tsx +57 -0
- package/client/features/onboarding/api.ts +42 -0
- package/client/features/onboarding/onboarding-idea-disk.tsx +129 -0
- package/client/features/onboarding/onboarding-page.tsx +32 -0
- package/client/features/onboarding/onboarding-screen.tsx +20 -0
- package/client/features/onboarding/onboarding-status.tsx +24 -0
- package/client/features/onboarding/workspace-setup-step.tsx +239 -0
- package/client/features/overview/default/registry.tsx +2 -2
- package/client/features/overview/default/views-widget.tsx +6 -5
- package/client/features/overview/overview.tsx +9 -11
- package/client/features/overview/widget-canvas.tsx +1 -1
- package/client/features/overview/workspace-name.tsx +2 -2
- package/client/features/update/update-control.tsx +1 -1
- package/client/features/views/api.ts +69 -16
- package/client/features/views/pending-view-screen.tsx +30 -9
- package/client/features/views/use-view-actions.ts +19 -20
- package/client/features/views/view-presentation.ts +2 -2
- package/client/features/views/view-submission.ts +28 -41
- package/client/features/workspace/add/api.ts +3 -23
- package/client/features/workspace/add/create-workspace-dialog.tsx +11 -7
- package/client/features/workspace/add/import-workspace-dialog.tsx +3 -3
- package/client/features/workspace/add/workspace-agent-options.ts +11 -12
- package/client/features/workspace/add/workspace-agent-selector.tsx +3 -132
- package/client/features/workspace/api.ts +32 -36
- package/client/features/workspace/harness-transition.ts +88 -0
- package/client/features/{settings → workspace/settings}/api.ts +1 -34
- package/client/features/{settings → workspace/settings}/connectors-settings.tsx +3 -3
- package/client/features/{settings → workspace/settings}/environment-settings.tsx +3 -3
- package/client/features/{settings → workspace/settings}/general-settings.tsx +77 -3
- package/client/features/{settings → workspace/settings}/use-env-vars.ts +1 -1
- package/client/features/{settings → workspace/settings}/workspace-icon-picker.tsx +3 -3
- package/client/features/workspace/setup/workspace-login-state.tsx +37 -156
- package/client/features/workspace/setup/workspace-recovery-states.tsx +0 -12
- package/client/features/workspace/setup/workspace-setup.tsx +34 -14
- package/client/features/workspace/setup/workspace-welcome-state.tsx +2 -2
- package/client/features/workspace/use-workspace-navigation.ts +25 -9
- package/client/features/workspace/workspace-content.tsx +11 -8
- package/client/features/workspace/workspace-frame.tsx +2 -1
- package/client/features/workspace/workspace-layout-context.tsx +5 -2
- package/client/features/workspace/workspace-menu.tsx +12 -8
- package/client/features/workspace/workspace-pending-screen.tsx +10 -10
- package/client/features/workspace/workspace-presentation.tsx +5 -13
- package/client/features/workspace/workspace-state.ts +169 -0
- package/client/features/workspace/workspace-tabs.tsx +22 -2
- package/client/index.css +2 -0
- package/client/index.tsx +3 -3
- package/client/lib/flags.ts +1 -1
- package/client/lib/{app-icon-registry.ts → identity-icon-registry.ts} +10 -14
- package/client/lib/user-display-name.ts +6 -0
- package/client/main.tsx +4 -1
- package/client/runtime/workspace-events.ts +21 -4
- package/client/runtime/workspace-theme.ts +9 -0
- package/client/tailwind-config.ts +43 -0
- package/dist/chunk-0mjzg20x.js +2 -0
- package/dist/chunk-2y59vrxg.js +5 -0
- package/dist/chunk-58dyt9bk.js +2 -0
- package/dist/chunk-5aj040e5.css +1 -0
- package/dist/{chunk-tqd3pkg8.css → chunk-60q353jq.css} +1 -1
- package/dist/chunk-71fn6rmj.js +546 -0
- package/dist/chunk-7yg1m8hx.js +2 -0
- package/dist/chunk-825hys3h.js +1 -0
- package/dist/chunk-9bb8m9rx.js +2 -0
- package/dist/{chunk-11cab5dq.css → chunk-cq2r11fg.css} +1 -1
- package/dist/chunk-g0tcwqxc.js +1 -0
- package/dist/chunk-n0nab26d.js +1 -0
- package/dist/chunk-nf2wkvf9.js +14 -0
- package/dist/chunk-v88n1bay.js +74 -0
- package/dist/index.html +1 -1
- package/lib/harness-instructions.ts +1 -1
- package/lib/{app-icons.ts → identity-icons.ts} +6 -7
- package/lib/onboarding.ts +41 -0
- package/lib/speed-mode.ts +5 -0
- package/lib/types.ts +72 -63
- package/lib/view-build-directives.ts +1 -2
- package/lib/workspace-icon.ts +2 -2
- package/lib/workspace-layout.ts +1 -1
- package/lib/workspace-name.ts +15 -12
- package/package.json +9 -8
- package/server/README.md +27 -25
- package/server/api/harnesses.ts +31 -8
- package/server/api/index.ts +164 -131
- package/server/api/onboarding.ts +46 -0
- package/server/app-config.ts +23 -24
- package/server/app-settings.ts +6 -2
- package/server/applets/config.ts +5 -5
- package/server/applets/views.ts +19 -17
- package/server/cli/commands/init.ts +3 -3
- package/server/cli/commands/skill.ts +16 -17
- package/server/cli/commands/start.ts +8 -34
- package/server/cli/server.ts +18 -6
- package/server/collab/config.ts +1 -2
- package/server/collab/manager.ts +4 -1
- package/server/collab/skill/index.ts +1 -1
- package/server/control.ts +3 -3
- package/server/data-dir.ts +1 -1
- package/server/harness/README.md +24 -8
- package/server/harness/acp/session.ts +8 -4
- package/server/harness/auth.ts +14 -17
- package/server/harness/claude-code/NOTES.md +4 -3
- package/server/harness/claude-code/index.ts +2 -0
- package/server/harness/claude-code/models.ts +2 -20
- package/server/harness/claude-code/run-action.ts +123 -0
- package/server/harness/claude-code/session-title.ts +5 -7
- package/server/harness/claude-code/session.ts +24 -16
- package/server/harness/codex/NOTES.md +14 -9
- package/server/harness/codex/adapter.ts +14 -17
- package/server/harness/codex/index.ts +2 -0
- package/server/harness/codex/run-action.ts +93 -0
- package/server/harness/codex/session-title.ts +6 -8
- package/server/harness/codex/session.ts +11 -11
- package/server/harness/command.ts +45 -0
- package/server/harness/executable.ts +5 -0
- package/server/harness/fork.ts +6 -4
- package/server/harness/install.ts +49 -0
- package/server/harness/openclaw/session.ts +1 -2
- package/server/harness/run-action.ts +85 -0
- package/server/harness/session-title.ts +0 -46
- package/server/harness/types.ts +26 -2
- package/server/onboarding/brief.ts +29 -0
- package/server/onboarding/ideas.ts +48 -0
- package/server/onboarding/jobs.ts +291 -0
- package/server/onboarding/prompt.md +49 -0
- package/server/sessions/archive.ts +5 -14
- package/server/sessions/config.ts +17 -16
- package/server/sessions/lifecycle.ts +15 -13
- package/server/sessions/pending-views.ts +79 -108
- package/server/sessions/selected.ts +75 -161
- package/server/sessions/store.ts +40 -113
- package/server/sessions/view-sessions.ts +128 -111
- package/server/skills/locations.ts +82 -0
- package/server/skills/lock.ts +29 -0
- package/server/skills/template.ts +36 -25
- package/server/skills/update.ts +52 -5
- package/server/skills/version.ts +17 -22
- package/server/skills/workspace.ts +121 -0
- package/server/web.ts +23 -8
- package/server/workspace-state/file.ts +177 -0
- package/server/workspace-state/index.ts +162 -0
- package/server/workspace-state/legacy-migration.ts +79 -0
- package/server/workspace-state/lock.ts +42 -0
- package/server/workspace-state/types.ts +16 -0
- package/server/workspaces/change-harness.ts +88 -0
- package/server/workspaces/harness-transition.ts +29 -0
- package/server/workspaces/init.ts +29 -16
- package/server/workspaces/layout.ts +3 -0
- package/server/workspaces/registry.ts +58 -10
- package/{workspace/.claude/skills/moi-workspace → skill}/SKILL.md +7 -5
- package/{workspace/.claude/skills/moi-workspace → skill}/references/COLLAB.md +4 -8
- package/skill/references/DESIGN.md +148 -0
- package/{workspace/.claude/skills/moi-workspace → skill}/references/SCRATCHPAD.md +2 -2
- package/{workspace/.claude/skills/moi-workspace → skill}/references/UI-COMPONENTS.md +3 -0
- package/ui-components/badge.tsx +1 -1
- package/client/accept-hmr-dependencies.ts +0 -22
- package/client/features/workspace/setup/workspace-setup-panel.tsx +0 -18
- package/dist/chunk-00rh9df4.js +0 -2
- package/dist/chunk-4nh7y1hq.css +0 -1
- package/dist/chunk-am4agx6v.js +0 -2
- package/dist/chunk-d7cbm65e.js +0 -2
- package/dist/chunk-hbpdv7vd.js +0 -1
- package/dist/chunk-hmka9rt5.js +0 -2
- package/dist/chunk-hvh9f5h0.js +0 -14
- package/dist/chunk-mjjregkn.js +0 -10
- package/dist/chunk-pcnahct1.js +0 -5
- package/dist/chunk-rt30jbcm.js +0 -1
- package/dist/chunk-vt6zybej.js +0 -2
- package/dist/chunk-wbkwf6cc.js +0 -68
- package/dist/chunk-xjyfyz64.js +0 -1
- package/dist/chunk-y8nbwp21.js +0 -546
- package/dist/chunk-ysfdcew7.js +0 -1
- package/lib/experimental.ts +0 -14
- package/workspace/.claude/skills/moi-workspace/references/DESIGN.md +0 -157
- /package/client/features/{settings → workspace/settings}/icon-picker-options.ts +0 -0
- /package/client/features/{settings → workspace/settings}/settings-layout.tsx +0 -0
- /package/client/features/{settings → workspace/settings}/workspace-settings-dialog.tsx +0 -0
- /package/{workspace/.claude/skills/moi-workspace → skill}/references/INTENTS.md +0 -0
package/dist/chunk-mjjregkn.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import{Nc as R}from"/chunk-00rh9df4.js";import{$c as u8,_c as P,bd as bZ}from"/chunk-d7cbm65e.js";var w0=u8((xK,c7)=>{c7.exports=globalThis.__esm["react/jsx-runtime"]});var k$=u8((yK,m7)=>{m7.exports=globalThis.__esm["react-dom/client"]});var CK=u8((SX1,S$)=>{S$.exports=globalThis.__esm["react-dom"]});var c8=new Map;function fK(Q,J){if(J)c8.set(Q,J);else c8.delete(Q)}function vK(Q){return c8.get(Q)}var B1=P(R(),1),l7=P(w0(),1),p7=B1.createContext("default");function dK(){return B1.useContext(p7)}function uK({id:Q,children:J}){return l7.jsx(p7,{value:Q,children:J})}var p8=P(R(),1);var F1=P(R(),1);function r7(Q){let J=F1.useRef(Q);return F1.useLayoutEffect(()=>{J.current=Q},[Q]),J}var O1=P(R(),1),j$=O1.createContext(void 0);function m8(){return O1.useContext(j$)}function b$(Q){let J=m8()?.events,Z=r7(Q);p8.useEffect(()=>J?.subscribe(($)=>Z.current($)),[J,Z])}function iK(Q,J){let Z=m8()?.events;p8.useEffect(()=>{if(!Z)return;Z.setNavigationWorkspace(Q);let $=()=>Z.sendNavigationPresence();return window.addEventListener("focus",$),document.addEventListener("visibilitychange",$),()=>{Z.setNavigationWorkspace(void 0),window.removeEventListener("focus",$),document.removeEventListener("visibilitychange",$)}},[Z,Q]),b$(async($)=>{if(!Z||$.type!=="navigation:request"||$.workspaceId!==Q)return;try{if(Z.navigationWorkspace!==Q)throw Error("The browser switched workspaces.");await J($.href),Z.send({type:"navigation:result",requestId:$.requestId,ok:!0})}catch(Y){Z.send({type:"navigation:result",requestId:$.requestId,error:Y instanceof Error?Y.message:"Navigation failed"})}})}var oK=Math.random().toString(36).slice(2);function i7(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=i7(Q[J]))&&($&&($+=" "),$+=Z)}else for(Z in Q)Q[Z]&&($&&($+=" "),$+=Z);return $}function G5(){for(var Q,J,Z=0,$="",Y=arguments.length;Z<Y;Z++)(Q=arguments[Z])&&(J=i7(Q))&&($&&($+=" "),$+=J);return $}var tK=G5;var h$=(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},R$=(Q,J)=>({classGroupId:Q,validator:J}),e7=(Q=new Map,J=null,Z)=>({nextPart:Q,validators:J,classGroupId:Z});var s7=[];var C$=(Q)=>{let J=y$(Q),{conflictingClassGroups:Z,conflictingClassGroupModifiers:$}=Q;return{getClassGroupId:(X)=>{if(X.startsWith("[")&&X.endsWith("]"))return x$(X);let H=X.split("-"),z=H[0]===""&&H.length>1?1:0;return QQ(H,z,J)},getConflictingClassGroupIds:(X,H)=>{if(H){let z=$[X],W=Z[X];if(z){if(W)return h$(W,z);return z}return W||s7}return Z[X]||s7}}},QQ=(Q,J,Z)=>{if(Q.length-J===0)return Z.classGroupId;let Y=Q[J],q=Z.nextPart.get(Y);if(q){let W=QQ(Q,J+1,q);if(W)return W}let X=Z.validators;if(X===null)return;let H=J===0?Q.join("-"):Q.slice(J).join("-"),z=X.length;for(let W=0;W<z;W++){let K=X[W];if(K.validator(H))return K.classGroupId}return},x$=(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})(),y$=(Q)=>{let{theme:J,classGroups:Z}=Q;return f$(Z,J)},f$=(Q,J)=>{let Z=e7();for(let $ in Q){let Y=Q[$];r8(Y,Z,$,J)}return Z},r8=(Q,J,Z,$)=>{let Y=Q.length;for(let q=0;q<Y;q++){let X=Q[q];v$(X,J,Z,$)}},v$=(Q,J,Z,$)=>{if(typeof Q==="string"){g$(Q,J,Z);return}if(typeof Q==="function"){d$(Q,J,Z,$);return}u$(Q,J,Z,$)},g$=(Q,J,Z)=>{let $=Q===""?J:JQ(J,Q);$.classGroupId=Z},d$=(Q,J,Z,$)=>{if(c$(Q)){r8(Q($),J,Z,$);return}if(J.validators===null)J.validators=[];J.validators.push(R$(Z,Q))},u$=(Q,J,Z,$)=>{let Y=Object.entries(Q),q=Y.length;for(let X=0;X<q;X++){let[H,z]=Y[X];r8(z,JQ(J,H),Z,$)}},JQ=(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=e7(),Z.nextPart.set(X,H);Z=H}return Z},c$=(Q)=>("isThemeGetter"in Q)&&Q.isThemeGetter===!0,m$=(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 p$=[],o7=(Q,J,Z,$,Y)=>({modifiers:Q,hasImportantModifier:J,baseClassName:Z,maybePostfixModifierPosition:$,isExternal:Y}),l$=(Q)=>{let{prefix:J,experimentalParseClassName:Z}=Q,$=(Y)=>{let q=[],X=0,H=0,z=0,W,K=Y.length;for(let A=0;A<K;A++){let D=Y[A];if(X===0&&H===0){if(D===":"){q.push(Y.slice(z,A)),z=A+1;continue}if(D==="/"){W=A;continue}}if(D==="[")X++;else if(D==="]")X--;else if(D==="(")H++;else if(D===")")H--}let B=q.length===0?Y:Y.slice(z),F=B,w=!1;if(B.endsWith("!"))F=B.slice(0,-1),w=!0;else if(B.startsWith("!"))F=B.slice(1),w=!0;let O=W&&W>z?W-z:void 0;return o7(q,w,F,O)};if(J){let Y=J+":",q=$;$=(X)=>X.startsWith(Y)?q(X.slice(Y.length)):o7(p$,!1,X,void 0,!0)}if(Z){let Y=$;$=(q)=>Z({className:q,parseClassName:Y})}return $},r$=(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]==="[",z=J.has(X);if(H||z){if(Y.length>0)Y.sort(),$.push(...Y),Y=[];$.push(X)}else Y.push(X)}if(Y.length>0)Y.sort(),$.push(...Y);return $}},i$=(Q)=>({cache:m$(Q.cacheSize),parseClassName:l$(Q),sortModifiers:r$(Q),postfixLookupClassGroupIds:s$(Q),...C$(Q)}),s$=(Q)=>{let J=Object.create(null),Z=Q.postfixLookupClassGroups;if(Z)for(let $=0;$<Z.length;$++)J[Z[$]]=!0;return J},o$=/\s+/,n$=(Q,J)=>{let{parseClassName:Z,getClassGroupId:$,getConflictingClassGroupIds:Y,sortModifiers:q,postfixLookupClassGroupIds:X}=J,H=[],z=Q.trim().split(o$),W="";for(let K=z.length-1;K>=0;K-=1){let B=z[K],{isExternal:F,modifiers:w,hasImportantModifier:O,baseClassName:A,maybePostfixModifierPosition:D}=Z(B);if(F){W=B+(W.length>0?" "+W:W);continue}let _=!!D,N;if(_){let b=A.substring(0,D);N=$(b);let V=N&&X[N]?$(A):void 0;if(V&&V!==N)N=V,_=!1}else N=$(A);if(!N){if(!_){W=B+(W.length>0?" "+W:W);continue}if(N=$(A),!N){W=B+(W.length>0?" "+W:W);continue}_=!1}let T=w.length===0?"":w.length===1?w[0]:q(w).join(":"),U=O?T+"!":T,S=U+N;if(H.indexOf(S)>-1)continue;H.push(S);let j=Y(N,_);for(let b=0;b<j.length;++b){let V=j[b];H.push(U+V)}W=B+(W.length>0?" "+W:W)}return W},a$=(...Q)=>{let J=0,Z,$,Y="";while(J<Q.length)if(Z=Q[J++]){if($=ZQ(Z))Y&&(Y+=" "),Y+=$}return Y},ZQ=(Q)=>{if(typeof Q==="string")return Q;let J,Z="";for(let $=0;$<Q.length;$++)if(Q[$]){if(J=ZQ(Q[$]))Z&&(Z+=" "),Z+=J}return Z},t$=(Q,...J)=>{let Z,$,Y,q,X=(z)=>{let W=J.reduce((K,B)=>B(K),Q());return Z=i$(W),$=Z.cache.get,Y=Z.cache.set,q=H,H(z)},H=(z)=>{let W=$(z);if(W)return W;let K=n$(z,Z);return Y(z,K),K};return q=X,(...z)=>q(a$(...z))},e$=[],n=(Q)=>{let J=(Z)=>Z[Q]||e$;return J.isThemeGetter=!0,J},$Q=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,YQ=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Q2=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,J2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Z2=/\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$/,$2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Y2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,X2=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,p0=(Q)=>Q2.test(Q),y=(Q)=>!!Q&&!Number.isNaN(Number(Q)),I0=(Q)=>!!Q&&Number.isInteger(Number(Q)),l8=(Q)=>Q.endsWith("%")&&y(Q.slice(0,-1)),R0=(Q)=>J2.test(Q),XQ=()=>!0,q2=(Q)=>Z2.test(Q)&&!$2.test(Q),i8=()=>!1,H2=(Q)=>Y2.test(Q),W2=(Q)=>X2.test(Q),z2=(Q)=>!I(Q)&&!M(Q),K2=(Q)=>Q.startsWith("@container")&&(Q[10]==="/"&&Q[11]!==void 0||Q[11]==="s"&&Q[16]!==void 0&&Q.startsWith("-size/",10)||Q[11]==="n"&&Q[18]!==void 0&&Q.startsWith("-normal/",10)),G2=(Q)=>l0(Q,WQ,i8),I=(Q)=>$Q.test(Q),B5=(Q)=>l0(Q,zQ,q2),n7=(Q)=>l0(Q,V2,y),B2=(Q)=>l0(Q,GQ,XQ),F2=(Q)=>l0(Q,KQ,i8),a7=(Q)=>l0(Q,qQ,i8),O2=(Q)=>l0(Q,HQ,W2),w1=(Q)=>l0(Q,BQ,H2),M=(Q)=>YQ.test(Q),H6=(Q)=>F5(Q,zQ),w2=(Q)=>F5(Q,KQ),t7=(Q)=>F5(Q,qQ),U2=(Q)=>F5(Q,WQ),D2=(Q)=>F5(Q,HQ),U1=(Q)=>F5(Q,BQ,!0),A2=(Q)=>F5(Q,GQ,!0),l0=(Q,J,Z)=>{let $=$Q.exec(Q);if($){if($[1])return J($[1]);return Z($[2])}return!1},F5=(Q,J,Z=!1)=>{let $=YQ.exec(Q);if($){if($[1])return J($[1]);return Z}return!1},qQ=(Q)=>Q==="position"||Q==="percentage",HQ=(Q)=>Q==="image"||Q==="url",WQ=(Q)=>Q==="length"||Q==="size"||Q==="bg-size",zQ=(Q)=>Q==="length",V2=(Q)=>Q==="number",KQ=(Q)=>Q==="family-name",GQ=(Q)=>Q==="number"||Q==="weight",BQ=(Q)=>Q==="shadow";var _2=()=>{let Q=n("color"),J=n("font"),Z=n("text"),$=n("font-weight"),Y=n("tracking"),q=n("leading"),X=n("breakpoint"),H=n("container"),z=n("spacing"),W=n("radius"),K=n("shadow"),B=n("inset-shadow"),F=n("text-shadow"),w=n("drop-shadow"),O=n("blur"),A=n("perspective"),D=n("aspect"),_=n("ease"),N=n("animate"),T=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],S=()=>[...U(),M,I],j=()=>["auto","hidden","clip","visible","scroll"],b=()=>["auto","contain","none"],V=()=>[M,I,z],k=()=>[p0,"full","auto",...V()],h=()=>[I0,"none","subgrid",M,I],f=()=>["auto",{span:["full",I0,M,I]},I0,M,I],g=()=>[I0,"auto",M,I],K0=()=>["auto","min","max","fr",M,I],G0=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Z0=()=>["start","end","center","stretch","center-safe","end-safe"],l=()=>["auto",...V()],m0=()=>[p0,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...V()],i=()=>[p0,"screen","full","dvw","lvw","svw","min","max","fit",...V()],$0=()=>[p0,"screen","full","lh","dvh","lvh","svh","min","max","fit",...V()],E=()=>[Q,M,I],h0=()=>[...U(),t7,a7,{position:[M,I]}],H1=()=>["no-repeat",{repeat:["","x","y","space","round"]}],g7=()=>["auto","cover","contain",U2,G2,{size:[M,I]}],g8=()=>[l8,H6,B5],q0=()=>["","none","full",W,M,I],H0=()=>["",y,H6,B5],W1=()=>["solid","dashed","dotted","double"],d7=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],e=()=>[y,l8,t7,a7],u7=()=>["","none",O,M,I],z1=()=>["none",y,M,I],K1=()=>["none",y,M,I],d8=()=>[y,M,I],G1=()=>[p0,"full",...V()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[R0],breakpoint:[R0],color:[XQ],container:[R0],"drop-shadow":[R0],ease:["in","out","in-out"],font:[z2],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[R0],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[R0],shadow:[R0],spacing:["px",y],text:[R0],"text-shadow":[R0],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",p0,I,M,D]}],container:["container"],"container-type":[{"@container":["","normal","size",M,I]}],"container-named":[K2],columns:[{columns:[y,I,M,H]}],"break-after":[{"break-after":T()}],"break-before":[{"break-before":T()}],"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:S()}],overflow:[{overflow:j()}],"overflow-x":[{"overflow-x":j()}],"overflow-y":[{"overflow-y":j()}],overscroll:[{overscroll:b()}],"overscroll-x":[{"overscroll-x":b()}],"overscroll-y":[{"overscroll-y":b()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{"inset-s":k(),start:k()}],end:[{"inset-e":k(),end:k()}],"inset-bs":[{"inset-bs":k()}],"inset-be":[{"inset-be":k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[I0,"auto",M,I]}],basis:[{basis:[p0,"full","auto",H,...V()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[y,p0,"auto","initial","none",I]}],grow:[{grow:["",y,M,I]}],shrink:[{shrink:["",y,M,I]}],order:[{order:[I0,"first","last","none",M,I]}],"grid-cols":[{"grid-cols":h()}],"col-start-end":[{col:f()}],"col-start":[{"col-start":g()}],"col-end":[{"col-end":g()}],"grid-rows":[{"grid-rows":h()}],"row-start-end":[{row:f()}],"row-start":[{"row-start":g()}],"row-end":[{"row-end":g()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":K0()}],"auto-rows":[{"auto-rows":K0()}],gap:[{gap:V()}],"gap-x":[{"gap-x":V()}],"gap-y":[{"gap-y":V()}],"justify-content":[{justify:[...G0(),"normal"]}],"justify-items":[{"justify-items":[...Z0(),"normal"]}],"justify-self":[{"justify-self":["auto",...Z0()]}],"align-content":[{content:["normal",...G0()]}],"align-items":[{items:[...Z0(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Z0(),{baseline:["","last"]}]}],"place-content":[{"place-content":G0()}],"place-items":[{"place-items":[...Z0(),"baseline"]}],"place-self":[{"place-self":["auto",...Z0()]}],p:[{p:V()}],px:[{px:V()}],py:[{py:V()}],ps:[{ps:V()}],pe:[{pe:V()}],pbs:[{pbs:V()}],pbe:[{pbe:V()}],pt:[{pt:V()}],pr:[{pr:V()}],pb:[{pb:V()}],pl:[{pl:V()}],m:[{m:l()}],mx:[{mx:l()}],my:[{my:l()}],ms:[{ms:l()}],me:[{me:l()}],mbs:[{mbs:l()}],mbe:[{mbe:l()}],mt:[{mt:l()}],mr:[{mr:l()}],mb:[{mb:l()}],ml:[{ml:l()}],"space-x":[{"space-x":V()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":V()}],"space-y-reverse":["space-y-reverse"],size:[{size:m0()}],"inline-size":[{inline:["auto",...i()]}],"min-inline-size":[{"min-inline":["auto",...i()]}],"max-inline-size":[{"max-inline":["none",...i()]}],"block-size":[{block:["auto",...$0()]}],"min-block-size":[{"min-block":["auto",...$0()]}],"max-block-size":[{"max-block":["none",...$0()]}],w:[{w:[H,"screen",...m0()]}],"min-w":[{"min-w":[H,"screen","none",...m0()]}],"max-w":[{"max-w":[H,"screen","none","prose",{screen:[X]},...m0()]}],h:[{h:["screen","lh",...m0()]}],"min-h":[{"min-h":["screen","lh","none",...m0()]}],"max-h":[{"max-h":["screen","lh",...m0()]}],"font-size":[{text:["base",Z,H6,B5]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[$,A2,B2]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",l8,I]}],"font-family":[{font:[w2,F2,J]}],"font-features":[{"font-features":[I]}],"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,M,I]}],"line-clamp":[{"line-clamp":[y,"none",M,n7]}],leading:[{leading:[q,...V()]}],"list-image":[{"list-image":["none",M,I]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",M,I]}],"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:[...W1(),"wavy"]}],"text-decoration-thickness":[{decoration:[y,"from-font","auto",M,B5]}],"text-decoration-color":[{decoration:E()}],"underline-offset":[{"underline-offset":[y,"auto",M,I]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:V()}],"tab-size":[{tab:[I0,M,I]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",M,I]}],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",M,I]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:h0()}],"bg-repeat":[{bg:H1()}],"bg-size":[{bg:g7()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},I0,M,I],radial:["",M,I],conic:[I0,M,I]},D2,O2]}],"bg-color":[{bg:E()}],"gradient-from-pos":[{from:g8()}],"gradient-via-pos":[{via:g8()}],"gradient-to-pos":[{to:g8()}],"gradient-from":[{from:E()}],"gradient-via":[{via:E()}],"gradient-to":[{to:E()}],rounded:[{rounded:q0()}],"rounded-s":[{"rounded-s":q0()}],"rounded-e":[{"rounded-e":q0()}],"rounded-t":[{"rounded-t":q0()}],"rounded-r":[{"rounded-r":q0()}],"rounded-b":[{"rounded-b":q0()}],"rounded-l":[{"rounded-l":q0()}],"rounded-ss":[{"rounded-ss":q0()}],"rounded-se":[{"rounded-se":q0()}],"rounded-ee":[{"rounded-ee":q0()}],"rounded-es":[{"rounded-es":q0()}],"rounded-tl":[{"rounded-tl":q0()}],"rounded-tr":[{"rounded-tr":q0()}],"rounded-br":[{"rounded-br":q0()}],"rounded-bl":[{"rounded-bl":q0()}],"border-w":[{border:H0()}],"border-w-x":[{"border-x":H0()}],"border-w-y":[{"border-y":H0()}],"border-w-s":[{"border-s":H0()}],"border-w-e":[{"border-e":H0()}],"border-w-bs":[{"border-bs":H0()}],"border-w-be":[{"border-be":H0()}],"border-w-t":[{"border-t":H0()}],"border-w-r":[{"border-r":H0()}],"border-w-b":[{"border-b":H0()}],"border-w-l":[{"border-l":H0()}],"divide-x":[{"divide-x":H0()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":H0()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...W1(),"hidden","none"]}],"divide-style":[{divide:[...W1(),"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:[...W1(),"none","hidden"]}],"outline-offset":[{"outline-offset":[y,M,I]}],"outline-w":[{outline:["",y,H6,B5]}],"outline-color":[{outline:E()}],shadow:[{shadow:["","none",K,U1,w1]}],"shadow-color":[{shadow:E()}],"inset-shadow":[{"inset-shadow":["none",B,U1,w1]}],"inset-shadow-color":[{"inset-shadow":E()}],"ring-w":[{ring:H0()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:E()}],"ring-offset-w":[{"ring-offset":[y,B5]}],"ring-offset-color":[{"ring-offset":E()}],"inset-ring-w":[{"inset-ring":H0()}],"inset-ring-color":[{"inset-ring":E()}],"text-shadow":[{"text-shadow":["none",F,U1,w1]}],"text-shadow-color":[{"text-shadow":E()}],opacity:[{opacity:[y,M,I]}],"mix-blend":[{"mix-blend":[...d7(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":d7()}],"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":[y]}],"mask-image-linear-from-pos":[{"mask-linear-from":e()}],"mask-image-linear-to-pos":[{"mask-linear-to":e()}],"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":e()}],"mask-image-t-to-pos":[{"mask-t-to":e()}],"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":e()}],"mask-image-r-to-pos":[{"mask-r-to":e()}],"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":e()}],"mask-image-b-to-pos":[{"mask-b-to":e()}],"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":e()}],"mask-image-l-to-pos":[{"mask-l-to":e()}],"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":e()}],"mask-image-x-to-pos":[{"mask-x-to":e()}],"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":e()}],"mask-image-y-to-pos":[{"mask-y-to":e()}],"mask-image-y-from-color":[{"mask-y-from":E()}],"mask-image-y-to-color":[{"mask-y-to":E()}],"mask-image-radial":[{"mask-radial":[M,I]}],"mask-image-radial-from-pos":[{"mask-radial-from":e()}],"mask-image-radial-to-pos":[{"mask-radial-to":e()}],"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":U()}],"mask-image-conic-pos":[{"mask-conic":[y]}],"mask-image-conic-from-pos":[{"mask-conic-from":e()}],"mask-image-conic-to-pos":[{"mask-conic-to":e()}],"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:h0()}],"mask-repeat":[{mask:H1()}],"mask-size":[{mask:g7()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",M,I]}],filter:[{filter:["","none",M,I]}],blur:[{blur:u7()}],brightness:[{brightness:[y,M,I]}],contrast:[{contrast:[y,M,I]}],"drop-shadow":[{"drop-shadow":["","none",w,U1,w1]}],"drop-shadow-color":[{"drop-shadow":E()}],grayscale:[{grayscale:["",y,M,I]}],"hue-rotate":[{"hue-rotate":[y,M,I]}],invert:[{invert:["",y,M,I]}],saturate:[{saturate:[y,M,I]}],sepia:[{sepia:["",y,M,I]}],"backdrop-filter":[{"backdrop-filter":["","none",M,I]}],"backdrop-blur":[{"backdrop-blur":u7()}],"backdrop-brightness":[{"backdrop-brightness":[y,M,I]}],"backdrop-contrast":[{"backdrop-contrast":[y,M,I]}],"backdrop-grayscale":[{"backdrop-grayscale":["",y,M,I]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[y,M,I]}],"backdrop-invert":[{"backdrop-invert":["",y,M,I]}],"backdrop-opacity":[{"backdrop-opacity":[y,M,I]}],"backdrop-saturate":[{"backdrop-saturate":[y,M,I]}],"backdrop-sepia":[{"backdrop-sepia":["",y,M,I]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":V()}],"border-spacing-x":[{"border-spacing-x":V()}],"border-spacing-y":[{"border-spacing-y":V()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",M,I]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[y,"initial",M,I]}],ease:[{ease:["linear","initial",_,M,I]}],delay:[{delay:[y,M,I]}],animate:[{animate:["none",N,M,I]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[A,M,I]}],"perspective-origin":[{"perspective-origin":S()}],rotate:[{rotate:z1()}],"rotate-x":[{"rotate-x":z1()}],"rotate-y":[{"rotate-y":z1()}],"rotate-z":[{"rotate-z":z1()}],scale:[{scale:K1()}],"scale-x":[{"scale-x":K1()}],"scale-y":[{"scale-y":K1()}],"scale-z":[{"scale-z":K1()}],"scale-3d":["scale-3d"],skew:[{skew:d8()}],"skew-x":[{"skew-x":d8()}],"skew-y":[{"skew-y":d8()}],transform:[{transform:[M,I,"","none","gpu","cpu"]}],"transform-origin":[{origin:S()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:G1()}],"translate-x":[{"translate-x":G1()}],"translate-y":[{"translate-y":G1()}],"translate-z":[{"translate-z":G1()}],"translate-none":["translate-none"],zoom:[{zoom:[I0,M,I]}],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",M,I]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":E()}],"scrollbar-track-color":[{"scrollbar-track":E()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-mbs":[{"scroll-mbs":V()}],"scroll-mbe":[{"scroll-mbe":V()}],"scroll-mt":[{"scroll-mt":V()}],"scroll-mr":[{"scroll-mr":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pbs":[{"scroll-pbs":V()}],"scroll-pbe":[{"scroll-pbe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"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",M,I]}],fill:[{fill:["none",...E()]}],"stroke-w":[{stroke:[y,H6,B5,n7]}],stroke:[{stroke:["none",...E()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}};var D1=t$(_2);function ZG(...Q){return D1(G5(Q))}function FQ(...Q){return D1(G5(Q))}var rQ=P(R(),1);var g5=P(R(),1);function A1(){return typeof window<"u"}function n8(Q){if(UQ(Q))return(Q.nodeName||"").toLowerCase();return"#document"}function C0(Q){var J;return(Q==null||(J=Q.ownerDocument)==null?void 0:J.defaultView)||window}function N2(Q){var J;return(J=(UQ(Q)?Q.ownerDocument:Q.document)||window.document)==null?void 0:J.documentElement}function UQ(Q){if(!A1())return!1;return Q instanceof Node||Q instanceof C0(Q).Node}function DQ(Q){if(!A1())return!1;return Q instanceof Element||Q instanceof C0(Q).Element}function W6(Q){if(!A1())return!1;return Q instanceof HTMLElement||Q instanceof C0(Q).HTMLElement}function OQ(Q){if(!A1()||typeof ShadowRoot>"u")return!1;return Q instanceof ShadowRoot||Q instanceof C0(Q).ShadowRoot}function AQ(Q){let{overflow:J,overflowX:Z,overflowY:$,display:Y}=_Q(Q);return/auto|scroll|overlay|hidden|clip/.test(J+$+Z)&&Y!=="inline"&&Y!=="contents"}function HG(Q){return/^(table|td|th)$/.test(n8(Q))}function T2(Q){try{if(Q.matches(":popover-open"))return!0}catch(J){}try{return Q.matches(":modal")}catch(J){return!1}}var L2=/transform|translate|scale|rotate|perspective|filter/,I2=/paint|layout|strict|content/,O5=(Q)=>!!Q&&Q!=="none",s8;function M2(Q){let J=DQ(Q)?_Q(Q):Q;return O5(J.transform)||O5(J.translate)||O5(J.scale)||O5(J.rotate)||O5(J.perspective)||!E2()&&(O5(J.backdropFilter)||O5(J.filter))||L2.test(J.willChange||"")||I2.test(J.contain||"")}function WG(Q){let J=o8(Q);while(W6(J)&&!VQ(J)){if(M2(J))return J;else if(T2(J))return null;J=o8(J)}return null}function E2(){if(s8==null)s8=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none");return s8}function VQ(Q){return/^(html|body|#document)$/.test(n8(Q))}function _Q(Q){return C0(Q).getComputedStyle(Q)}function zG(Q){if(DQ(Q))return{scrollLeft:Q.scrollLeft,scrollTop:Q.scrollTop};return{scrollLeft:Q.scrollX,scrollTop:Q.scrollY}}function o8(Q){if(n8(Q)==="html")return Q;let J=Q.assignedSlot||Q.parentNode||OQ(Q)&&Q.host||N2(Q);return OQ(J)?J.host:J}function NQ(Q){let J=o8(Q);if(VQ(J))return(Q.ownerDocument||Q).body;if(W6(J)&&AQ(J))return J;return NQ(J)}function wQ(Q,J,Z){var $;if(J===void 0)J=[];if(Z===void 0)Z=!0;let Y=NQ(Q),q=Y===(($=Q.ownerDocument)==null?void 0:$.body),X=C0(Y);if(q){let H=P2(X);return J.concat(X,X.visualViewport||[],AQ(Y)?Y:[],H&&Z?wQ(H):[])}else return J.concat(Y,wQ(Y,[],Z))}function P2(Q){return Q.parent&&Object.getPrototypeOf(Q.parent)?Q.frameElement:null}var S2=P(R(),1),a8={...S2};var LQ=P(R(),1),TQ={};function z6(Q,J){let Z=LQ.useRef(TQ);if(Z.current===TQ)Z.current=Q(J);return Z}var t8=a8.useInsertionEffect,k2=t8&&t8!==a8.useLayoutEffect?t8:(Q)=>Q();function IQ(Q){let J=z6(j2).current;return J.next=Q,k2(J.effect),J.trampoline}function j2(){let Q={next:void 0,callback:b2,trampoline:(...J)=>Q.callback?.(...J),effect:()=>{Q.callback=Q.next}};return Q}function b2(){}var MQ=P(R(),1),h2=()=>{},EQ=typeof document<"u"?MQ.useLayoutEffect:h2;function K6(Q,J){if(Q&&!J)return Q;if(!Q&&J)return J;if(Q||J)return{...Q,...J};return}var e8={};function B6(Q,J,Z,$,Y){if(!Z&&!$&&!Y&&!Q)return V1(J);let q=V1(Q);if(J)q=G6(q,J);if(Z)q=G6(q,Z);if($)q=G6(q,$);if(Y)q=G6(q,Y);return q}function PQ(Q){if(Q.length===0)return e8;if(Q.length===1)return V1(Q[0]);let J=V1(Q[0]);for(let Z=1;Z<Q.length;Z+=1)J=G6(J,Q[Z]);return J}function V1(Q){if(Q9(Q))return{...kQ(Q,e8)};return R2(Q)}function G6(Q,J){if(Q9(J))return kQ(J,Q);return C2(Q,J)}function R2(Q){let J={...Q};for(let Z in J){let $=J[Z];if(SQ(Z,$))J[Z]=jQ($)}return J}function C2(Q,J){if(!J)return Q;for(let Z in J){let $=J[Z];switch(Z){case"style":{Q[Z]=K6(Q.style,$);break}case"className":{Q[Z]=J9(Q.className,$);break}default:if(SQ(Z,$))Q[Z]=x2(Q[Z],$);else Q[Z]=$}}return Q}function SQ(Q,J){let Z=Q.charCodeAt(0),$=Q.charCodeAt(1),Y=Q.charCodeAt(2);return Z===111&&$===110&&Y>=65&&Y<=90&&(typeof J==="function"||typeof J>"u")}function Q9(Q){return typeof Q==="function"}function kQ(Q,J){if(Q9(Q))return Q(J);return Q??e8}function x2(Q,J){if(!J)return Q;if(!Q)return jQ(J);return(...Z)=>{let $=Z[0];if(bQ($)){let q=$;F6(q);let X=J(...Z);if(!q.baseUIHandlerPrevented)Q?.(...Z);return X}let Y=J(...Z);return Q?.(...Z),Y}}function jQ(Q){if(!Q)return Q;return(...J)=>{let Z=J[0];if(bQ(Z))F6(Z);return Q(...J)}}function F6(Q){return Q.preventBaseUIHandler=()=>{Q.baseUIHandlerPrevented=!0},Q}function J9(Q,J){if(J){if(Q)return J+" "+Q;return J}return Q}function bQ(Q){return Q!=null&&typeof Q==="object"&&"nativeEvent"in Q}function y2(Q,J){return function($,...Y){let q=new URL(Q);return q.searchParams.set("code",$.toString()),Y.forEach((X)=>q.searchParams.append("args[]",X)),`${J} error #${$}; visit ${q} for the full message.`}}var f2=y2("https://base-ui.com/production-error","Base UI"),_1=f2;var N1=P(R(),1),v2=N1.createContext(void 0);function hQ(Q=!1){let J=N1.useContext(v2);if(J===void 0&&!Q)throw Error(_1(16));return J}var RQ=P(R(),1);function CQ(Q){let{focusableWhenDisabled:J,disabled:Z,composite:$=!1,tabIndex:Y=0,isNativeButton:q}=Q,X=$&&J!==!1,H=$&&J===!1;return{props:RQ.useMemo(()=>{let W={onKeyDown(K){if(Z&&J&&K.key!=="Tab")K.preventDefault()}};if(!$){if(W.tabIndex=Y,!q&&Z)W.tabIndex=J?Y:-1}if(q&&(J||X)||!q&&Z)W["aria-disabled"]=Z;if(q&&(!J||H))W.disabled=Z;return W},[$,Z,J,X,H,q,Y])}}function IG(Q){return Q?.ownerDocument||document}function T1(Q,J,{detail:Z=0}={}){Q.dispatchEvent(new(C0(Q)).PointerEvent("click",{bubbles:!0,cancelable:!0,composed:!0,detail:Z,shiftKey:J.shiftKey,ctrlKey:J.ctrlKey,altKey:J.altKey,metaKey:J.metaKey}))}function xQ(Q={}){let{disabled:J=!1,focusableWhenDisabled:Z,tabIndex:$=0,native:Y=!0,composite:q}=Q,X=g5.useRef(null),H=hQ(!0),z=q??H!==void 0,{props:W}=CQ({focusableWhenDisabled:Z,disabled:J,composite:z,tabIndex:$,isNativeButton:Y}),K=g5.useCallback(()=>{let w=X.current;if(!Z9(w))return;if(z&&J&&W.disabled===void 0&&w.disabled)w.disabled=!1},[J,W.disabled,z]);EQ(K,[K]);let B=g5.useCallback((w={})=>{let{onClick:O,onMouseDown:A,onKeyUp:D,onKeyDown:_,onPointerDown:N,...T}=w;return B6({onClick(U){if(J){U.preventDefault();return}O?.(U)},onMouseDown(U){if(!J)A?.(U)},onKeyDown(U){if(J)return;if(F6(U),_?.(U),U.baseUIHandlerPrevented)return;let S=U.target===U.currentTarget,j=U.currentTarget,b=Z9(j),V=!Y&&g2(j),k=S&&(Y?b:!V),h=U.key==="Enter",f=U.key===" ",g=j.getAttribute("role"),K0=g?.startsWith("menuitem")||g==="option"||g==="gridcell";if(S&&z&&f){if(U.defaultPrevented&&K0)return;if(U.preventDefault(),!Y||b)U.preventBaseUIHandler(),T1(j,U);return}if(!k||Y||!f&&!h){if(S&&V&&f)U.preventDefault();return}if(U.defaultPrevented)return;if(U.preventDefault(),h)U.preventBaseUIHandler(),T1(j,U)},onKeyUp(U){if(J)return;if(F6(U),D?.(U),U.target===U.currentTarget&&Y&&z&&Z9(U.currentTarget)&&U.key===" "){U.preventDefault();return}if(U.baseUIHandlerPrevented)return;if(U.target===U.currentTarget&&!Y&&!z&&!U.defaultPrevented&&U.key===" ")U.preventBaseUIHandler(),T1(U.currentTarget,U)},onPointerDown(U){if(J){U.preventDefault();return}N?.(U)}},Y?{type:"button"}:{role:"button"},W,T)},[J,W,z,Y]),F=IQ((w)=>{X.current=w,K()});return{getButtonProps:B,buttonRef:F}}function Z9(Q){return W6(Q)&&Q.tagName==="BUTTON"}function g2(Q){return W6(Q)&&Q.tagName==="A"&&Boolean(Q.href)}var r0=P(R(),1);function $9(Q,J,Z,$){let Y=z6(fQ).current;if(d2(Y,Q,J,Z,$))vQ(Y,[Q,J,Z,$]);return Y.callback}function yQ(Q){let J=z6(fQ).current;if(u2(J,Q))vQ(J,Q);return J.callback}function fQ(){return{callback:null,cleanup:null,refs:[]}}function d2(Q,J,Z,$,Y){return Q.refs[0]!==J||Q.refs[1]!==Z||Q.refs[2]!==$||Q.refs[3]!==Y}function u2(Q,J){return Q.refs.length!==J.length||Q.refs.some((Z,$)=>Z!==J[$])}function vQ(Q,J){if(Q.refs=J,J.every((Z)=>Z==null)){Q.callback=null;return}Q.callback=(Z)=>{if(Q.cleanup)Q.cleanup(),Q.cleanup=null;if(Z!=null){let $=Array(J.length).fill(null);for(let Y=0;Y<J.length;Y+=1){let q=J[Y];if(q==null)continue;switch(typeof q){case"function":{let X=q(Z);if(typeof X==="function")$[Y]=X;break}case"object":{q.current=Z;break}default:}}Q.cleanup=()=>{for(let Y=0;Y<J.length;Y+=1){let q=J[Y];if(q==null)continue;switch(typeof q){case"function":{let X=$[Y];if(typeof X==="function")X();else q(null);break}case"object":{q.current=null;break}default:}}}}}}var uQ=P(R(),1);var gQ=P(R(),1),c2=parseInt(gQ.version,10);function dQ(Q){return c2>=Q}function Y9(Q){if(!uQ.isValidElement(Q))return null;let J=Q,Z=J.props;return(dQ(19)?Z?.ref:J.ref)??null}function cG(){}var mG=Object.freeze([]),d5=Object.freeze({});function cQ(Q,J){let Z={};for(let $ in Q){let Y=Q[$];if(J?.hasOwnProperty($)){let q=J[$](Y);if(q!=null)Object.assign(Z,q);continue}if(Y===!0)Z[`data-${$.toLowerCase()}`]="";else if(Y)Z[`data-${$.toLowerCase()}`]=Y.toString()}return Z}function mQ(Q,J){return typeof Q==="function"?Q(J):Q}function pQ(Q,J){return typeof Q==="function"?Q(J):Q}var X9=P(R(),1);function lQ(Q,J,Z={}){let $=J.render;if(Z.enabled!==!1)$=r2($);let Y=m2(J,Z,$);if(Z.enabled===!1)return null;let q=Z.state??d5;return i2(Q,$,Y,q)}function m2(Q,J,Z){let{className:$,style:Y}=Q,{state:q=d5,ref:X,props:H,stateAttributesMapping:z,enabled:W=!0}=J,K=W?mQ($,q):void 0,B=W?pQ(Y,q):void 0,F=W?cQ(q,z):d5,w=W&&H?p2(H):void 0,O=W?K6(F,w)??{}:d5;if(typeof document<"u")if(!W)$9(null,null);else if(Array.isArray(X))O.ref=yQ([O.ref,Y9(Z),...X]);else O.ref=$9(O.ref,Y9(Z),X);if(!W)return d5;if(K!==void 0)O.className=J9(O.className,K);if(B!==void 0)O.style=K6(O.style,B);return O}function p2(Q){if(Array.isArray(Q))return PQ(Q);return B6(void 0,Q)}var l2=Symbol.for("react.lazy");function r2(Q){if(Q?.$$typeof!==l2)return Q;let J=r0.Children.toArray(Q)[0];return r0.isValidElement(J)?J:Q}function i2(Q,J,Z,$){if(J){if(typeof J==="function")return J(Z,$);let Y=B6(Z,J.props);return Y.ref=Z.ref,r0.cloneElement(J,Y)}if(Q){if(typeof Q==="string")return s2(Q,Z)}throw Error(_1(8))}function s2(Q,J){if(Q==="button")return X9.createElement("button",{type:"button",...J,key:J.key});if(Q==="img")return X9.createElement("img",{alt:"",...J,key:J.key});return r0.createElement(Q,J)}var q9=rQ.forwardRef(function(J,Z){let{render:$,className:Y,disabled:q=!1,focusableWhenDisabled:X=!1,nativeButton:H=!0,style:z,...W}=J,{getButtonProps:K,buttonRef:B}=xQ({disabled:q,focusableWhenDisabled:X,native:H});return lQ("button",J,{state:{disabled:q},ref:[Z,B],props:[W,K]})});var iQ=(Q)=>typeof Q==="boolean"?`${Q}`:Q===0?"0":Q,sQ=G5,oQ=(Q,J)=>(Z)=>{var $;if((J===null||J===void 0?void 0:J.variants)==null)return sQ(Q,Z===null||Z===void 0?void 0:Z.class,Z===null||Z===void 0?void 0:Z.className);let{variants:Y,defaultVariants:q}=J,X=Object.keys(Y).map((W)=>{let K=Z===null||Z===void 0?void 0:Z[W],B=q===null||q===void 0?void 0:q[W];if(K===null)return null;let F=iQ(K)||iQ(B);return Y[W][F]}),H=Z&&Object.entries(Z).reduce((W,K)=>{let[B,F]=K;if(F===void 0)return W;return W[B]=F,W},{}),z=J===null||J===void 0?void 0:($=J.compoundVariants)===null||$===void 0?void 0:$.reduce((W,K)=>{let{class:B,className:F,...w}=K;return Object.entries(w).every((O)=>{let[A,D]=O;return Array.isArray(D)?D.includes({...q,...H}[A]):{...q,...H}[A]===D})?[...W,B,F]:W},[]);return sQ(Q,X,z,Z===null||Z===void 0?void 0:Z.class,Z===null||Z===void 0?void 0:Z.className)};var nQ=P(w0(),1),o2=oQ("inline-flex shrink-0 cursor-pointer items-center justify-center gap-1.5 rounded-lg text-sm font-medium whitespace-nowrap transition-all duration-100 outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 [&>svg]:pointer-events-none [&>svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground inset-shadow-[0_0_8px_color-mix(in_oklab,var(--color-white)_20%,transparent)] hover:bg-primary/90 disabled:bg-accent disabled:text-muted-foreground disabled:opacity-100 disabled:shadow-none",secondary:"bg-accent text-accent-foreground hover:bg-[color-mix(in_oklch,var(--accent),var(--foreground)_3%)] disabled:text-muted-foreground disabled:opacity-100",outline:"border bg-background text-foreground hover:bg-[color-mix(in_oklch,var(--background),var(--foreground)_3%)]",ghost:"hover:bg-accent hover:text-accent-foreground",destructive:"bg-destructive text-white inset-shadow-[0_0_8px_color-mix(in_oklab,var(--color-white)_20%,transparent)] hover:bg-destructive/90 focus-visible:border-destructive/40 focus-visible:ring-destructive/20"},size:{xs:"h-6 gap-1 rounded-md px-2 text-xs has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&>svg]:size-3",sm:"h-7 gap-1.5 rounded-md px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2 [&>svg]:size-4",default:"h-8 px-3 has-data-[icon=inline-end]:pr-2.5 has-data-[icon=inline-start]:pl-2.5 [&>svg]:size-5",lg:"h-9 rounded-xl px-3.5 has-data-[icon=inline-end]:pr-2.5 has-data-[icon=inline-start]:pl-2.5 [&>svg]:size-5","icon-xs":"size-6 rounded-md [&>svg]:size-3","icon-sm":"size-7 rounded-md [&>svg]:size-4",icon:"size-8 [&>svg]:size-5","icon-lg":"size-9 rounded-xl [&>svg]:size-5"}},defaultVariants:{variant:"default",size:"default"}});function OB({className:Q,variant:J="default",size:Z="default",...$}){return nQ.jsx(q9,{"data-slot":"button",className:FQ(o2({variant:J,size:Z,className:Q})),...$})}var u5=P(R(),1);var aQ={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 G=(Q,J,Z,$)=>{let Y=u5.forwardRef(({color:q="currentColor",size:X=24,stroke:H=2,title:z,className:W,children:K,...B},F)=>u5.createElement("svg",{ref:F,...aQ[Q],width:X,height:X,className:["tabler-icon",`tabler-icon-${J}`,W].join(" "),...Q==="filled"?{fill:q}:{strokeWidth:H,stroke:q},...B},[z&&u5.createElement("title",{key:"svg-title"},z),...$.map(([w,O])=>u5.createElement(w,O)),...Array.isArray(K)?K:[K]]));return Y.displayName=`${Z}`,Y};var n2=[["path",{d:"M12.802 2.165l5.575 2.389c.48 .206 .863 .589 1.07 1.07l2.388 5.574c.22 .512 .22 1.092 0 1.604l-2.389 5.575c-.206 .48 -.589 .863 -1.07 1.07l-5.574 2.388c-.512 .22 -1.092 .22 -1.604 0l-5.575 -2.389a2.036 2.036 0 0 1 -1.07 -1.07l-2.388 -5.574a2.036 2.036 0 0 1 0 -1.604l2.389 -5.575c.206 -.48 .589 -.863 1.07 -1.07l5.574 -2.388a2.036 2.036 0 0 1 1.604 0",key:"svg-0"}],["path",{d:"M12 8v4",key:"svg-1"}],["path",{d:"M12 16h.01",key:"svg-2"}]],a2=G("outline","alert-octagon","AlertOctagon",n2);var t2=[["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"}]],e2=G("outline","alert-triangle","AlertTriangle",t2);var QY=[["path",{d:"M17 7l-10 10",key:"svg-0"}],["path",{d:"M8 7l9 0l0 9",key:"svg-1"}]],JY=G("outline","arrow-up-right","ArrowUpRight",QY);var ZY=[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-0"}],["path",{d:"M9 12l2 2l4 -4",key:"svg-1"}]],$Y=G("outline","circle-check","CircleCheck",ZY);var YY=[["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"}]],XY=G("outline","eraser","Eraser",YY);var qY=[["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"}]],HY=G("outline","hand-stop","HandStop",qY);var WY=[["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"}]],zY=G("outline","highlight","Highlight",WY);var KY=[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M12 9h.01",key:"svg-1"}],["path",{d:"M11 12h1v4h1",key:"svg-2"}]],GY=G("outline","info-circle","InfoCircle",KY);var BY=[["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"}]],FY=G("outline","line","Line",BY);var OY=[["path",{d:"M12 6l0 -3",key:"svg-0"}],["path",{d:"M16.25 7.75l2.15 -2.15",key:"svg-1"}],["path",{d:"M18 12l3 0",key:"svg-2"}],["path",{d:"M16.25 16.25l2.15 2.15",key:"svg-3"}],["path",{d:"M12 18l0 3",key:"svg-4"}],["path",{d:"M7.75 16.25l-2.15 2.15",key:"svg-5"}],["path",{d:"M6 12l-3 0",key:"svg-6"}],["path",{d:"M7.75 7.75l-2.15 -2.15",key:"svg-7"}]],wY=G("outline","loader","Loader",OY);var UY=[["path",{d:"M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4",key:"svg-0"}],["path",{d:"M13.5 6.5l4 4",key:"svg-1"}]],DY=G("outline","pencil","Pencil",UY);var AY=[["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"}]],VY=G("outline","pointer-2","Pointer2",AY);var _Y=[["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"}]],NY=G("outline","sketching","Sketching",_Y);var TY=[["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"}]],LY=G("outline","square","Square",TY);var IY=[["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"}]],MY=G("outline","sticker-2","Sticker2",IY);var EY=[["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"}]],PY=G("outline","typography","Typography",EY);var SY=[["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"}]],kY=G("outline","versions","Versions",SY);var jY=[["path",{d:"M18 6l-12 12",key:"svg-0"}],["path",{d:"M6 6l12 12",key:"svg-1"}]],bY=G("outline","x","X",jY);var hY=[["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"}]],tQ=G("outline","package","Package",hY);var RY=[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-0"}],["path",{d:"M10 10l2 -2v8",key:"svg-1"}]],eQ=G("outline","circle-number-1","CircleNumber1",RY);var CY=[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-0"}],["path",{d:"M10 8h3a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-2a1 1 0 0 0 -1 1v2a1 1 0 0 0 1 1h3",key:"svg-1"}]],Q4=G("outline","circle-number-2","CircleNumber2",CY);var xY=[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-0"}],["path",{d:"M10 9a1 1 0 0 1 1 -1h2a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-2h2a1 1 0 0 1 1 1v2a1 1 0 0 1 -1 1h-2a1 1 0 0 1 -1 -1",key:"svg-1"}]],J4=G("outline","circle-number-3","CircleNumber3",xY);var yY=[["path",{d:"M3 12h4l3 8l4 -16l3 8h4",key:"svg-0"}]],fY=G("outline","activity","Activity",yY);var vY=[["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"}]],gY=G("outline","api","Api",vY);var dY=[["path",{d:"M3 6a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2",key:"svg-0"}],["path",{d:"M5 8v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-10",key:"svg-1"}],["path",{d:"M10 12l4 0",key:"svg-2"}]],uY=G("outline","archive","Archive",dY);var cY=[["path",{d:"M9 14l-4 -4l4 -4",key:"svg-0"}],["path",{d:"M5 10h11a4 4 0 1 1 0 8h-1",key:"svg-1"}]],mY=G("outline","arrow-back-up","ArrowBackUp",cY);var pY=[["path",{d:"M9 11l-4 4l4 4m-4 -4h11a4 4 0 0 0 0 -8h-1",key:"svg-0"}]],lY=G("outline","arrow-back","ArrowBack",pY);var rY=[["path",{d:"M15 14l4 -4l-4 -4",key:"svg-0"}],["path",{d:"M19 10h-11a4 4 0 1 0 0 8h1",key:"svg-1"}]],iY=G("outline","arrow-forward-up","ArrowForwardUp",rY);var sY=[["path",{d:"M5 12l14 0",key:"svg-0"}],["path",{d:"M13 18l6 -6",key:"svg-1"}],["path",{d:"M13 6l6 6",key:"svg-2"}]],oY=G("outline","arrow-right","ArrowRight",sY);var nY=[["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"}]],aY=G("outline","arrow-up","ArrowUp",nY);var tY=[["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"}]],eY=G("outline","article","Article",tY);var Q3=[["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"}]],J3=G("outline","atom","Atom",Q3);var Z3=[["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"}]],$3=G("outline","bell","Bell",Z3);var Y3=[["path",{d:"M13 3l0 7l6 0l-8 11l0 -7l-6 0l8 -11",key:"svg-0"}]],X3=G("outline","bolt","Bolt",Y3);var q3=[["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"}]],H3=G("outline","book","Book",q3);var W3=[["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"}]],z3=G("outline","brain","Brain",W3);var K3=[["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"}]],G3=G("outline","briefcase","Briefcase",K3);var B3=[["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"}]],F3=G("outline","browser-plus","BrowserPlus",B3);var O3=[["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"}]],w3=G("outline","bug","Bug",O3);var U3=[["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"}]],D3=G("outline","bulb","Bulb",U3);var A3=[["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"}]],V3=G("outline","calendar","Calendar",A3);var _3=[["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"}]],N3=G("outline","camera","Camera",_3);var T3=[["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"}]],L3=G("outline","chart-bar","ChartBar",T3);var I3=[["path",{d:"M5 12l5 5l10 -10",key:"svg-0"}]],M3=G("outline","check","Check",I3);var E3=[["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"}]],P3=G("outline","chef-hat","ChefHat",E3);var S3=[["path",{d:"M6 9l6 6l6 -6",key:"svg-0"}]],k3=G("outline","chevron-down","ChevronDown",S3);var j3=[["path",{d:"M9 6l6 6l-6 6",key:"svg-0"}]],b3=G("outline","chevron-right","ChevronRight",j3);var h3=[["path",{d:"M7 7l5 5l-5 5",key:"svg-0"}],["path",{d:"M13 7l5 5l-5 5",key:"svg-1"}]],R3=G("outline","chevrons-right","ChevronsRight",h3);var C3=[["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"}]],x3=G("outline","cloud","Cloud",C3);var y3=[["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"}]],f3=G("outline","code","Code",y3);var v3=[["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"}]],g3=G("outline","compass","Compass",v3);var d3=[["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"}]],u3=G("outline","copy","Copy",d3);var c3=[["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"}]],m3=G("outline","cpu","Cpu",c3);var p3=[["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"}]],l3=G("outline","cube","Cube",p3);var r3=[["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"}]],i3=G("outline","database","Database",r3);var s3=[["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"}]],o3=G("outline","device-gamepad-2","DeviceGamepad2",s3);var n3=[["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"}]],a3=G("outline","diamond","Diamond",n3);var t3=[["path",{d:"M4 12a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-0"}],["path",{d:"M11 12a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-1"}],["path",{d:"M18 12a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-2"}]],e3=G("outline","dots","Dots",t3);var QX=[["path",{d:"M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2 -2v-2",key:"svg-0"}],["path",{d:"M7 11l5 5l5 -5",key:"svg-1"}],["path",{d:"M12 4l0 12",key:"svg-2"}]],JX=G("outline","download","Download",QX);var ZX=[["path",{d:"M7 7h-1a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-1",key:"svg-0"}],["path",{d:"M20.385 6.585a2.1 2.1 0 0 0 -2.97 -2.97l-8.415 8.385v3h3l8.385 -8.415",key:"svg-1"}],["path",{d:"M16 5l3 3",key:"svg-2"}]],$X=G("outline","edit","Edit",ZX);var YX=[["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"}]],XX=G("outline","egg-cracked","EggCracked",YX);var qX=[["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"}]],HX=G("outline","feather","Feather",qX);var WX=[["path",{d:"M14 3v4a1 1 0 0 0 1 1h4",key:"svg-0"}],["path",{d:"M12 21h-5a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v4.5",key:"svg-1"}],["path",{d:"M14 17.5a2.5 2.5 0 1 0 5 0a2.5 2.5 0 1 0 -5 0",key:"svg-2"}],["path",{d:"M18.5 19.5l2.5 2.5",key:"svg-3"}]],zX=G("outline","file-search","FileSearch",WX);var KX=[["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"}]],GX=G("outline","file","File",KX);var BX=[["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"}]],FX=G("outline","flame","Flame",BX);var OX=[["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"}]],wX=G("outline","flask","Flask",OX);var UX=[["path",{d:"M15 19h-10a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2h4l3 3h7a2 2 0 0 1 2 2v3.5",key:"svg-0"}],["path",{d:"M19 16v3",key:"svg-1"}],["path",{d:"M19 22v.01",key:"svg-2"}]],DX=G("outline","folder-exclamation","FolderExclamation",UX);var AX=[["path",{d:"M8 4h1l3 3h7a2 2 0 0 1 2 2v8m-2 2h-14a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 1.189 -1.829",key:"svg-0"}],["path",{d:"M3 3l18 18",key:"svg-1"}]],VX=G("outline","folder-off","FolderOff",AX);var _X=[["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"}]],NX=G("outline","folder","Folder",_X);var TX=[["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"}]],LX=G("outline","ghost","Ghost",TX);var IX=[["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"}]],MX=G("outline","gift","Gift",IX);var EX=[["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"}]],PX=G("outline","globe","Globe",EX);var SX=[["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"}]],kX=G("outline","heart","Heart",SX);var jX=[["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"}]],bX=G("outline","hexagon","Hexagon",jX);var hX=[["path",{d:"M12 8l0 4l2 2",key:"svg-0"}],["path",{d:"M3.05 11a9 9 0 1 1 .5 4m-.5 5v-5h5",key:"svg-1"}]],RX=G("outline","history","History",hX);var CX=[["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"}]],xX=G("outline","home","Home",CX);var yX=[["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"}]],fX=G("outline","key","Key",yX);var vX=[["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"}]],gX=G("outline","layout-2","Layout2",vX);var dX=[["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"}]],uX=G("outline","layout-sidebar-right","LayoutSidebarRight",dX);var cX=[["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"}]],mX=G("outline","leaf","Leaf",cX);var pX=[["path",{d:"M14 15.5a3.5 3.5 0 1 0 7 0a3.5 3.5 0 1 0 -7 0",key:"svg-0"}],["path",{d:"M3 19v-10.5a3.5 3.5 0 0 1 7 0v10.5",key:"svg-1"}],["path",{d:"M3 13h7",key:"svg-2"}],["path",{d:"M21 12v7",key:"svg-3"}]],lX=G("outline","letter-case","LetterCase",pX);var rX=[["path",{d:"M7 5.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 7.26a2.005 2.005 0 0 0 -1.012 1.737v10c0 1.1 .9 2 2 2h10c.75 0 1.158 -.385 1.5 -1",key:"svg-1"}],["path",{d:"M11 7h5",key:"svg-2"}],["path",{d:"M11 10h6",key:"svg-3"}],["path",{d:"M11 13h3",key:"svg-4"}]],iX=G("outline","library","Library",rX);var sX=[["path",{d:"M12 3a9 9 0 1 0 9 9",key:"svg-0"}]],oX=G("outline","loader-2","Loader2",sX);var nX=[["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"}]],aX=G("outline","mail","Mail",nX);var tX=[["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"}]],eX=G("outline","map","Map",tX);var Qq=[["path",{d:"M8 9h8",key:"svg-0"}],["path",{d:"M8 13h6",key:"svg-1"}],["path",{d:"M12 21l-3 -3h-3a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v6",key:"svg-2"}],["path",{d:"M16 22l5 -5",key:"svg-3"}],["path",{d:"M21 21.5v-4.5h-4.5",key:"svg-4"}]],Jq=G("outline","message-2-share","Message2Share",Qq);var Zq=[["path",{d:"M18 4a3 3 0 0 1 3 3v8a3 3 0 0 1 -3 3h-5l-5 3v-3h-2a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3h12",key:"svg-0"}],["path",{d:"M9.5 9h.01",key:"svg-1"}],["path",{d:"M14.5 9h.01",key:"svg-2"}],["path",{d:"M9.5 13a3.5 3.5 0 0 0 5 0",key:"svg-3"}]],$q=G("outline","message-chatbot","MessageChatbot",Zq);var Yq=[["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"}]],Xq=G("outline","message","Message",Yq);var qq=[["path",{d:"M5 12l14 0",key:"svg-0"}]],Hq=G("outline","minus","Minus",qq);var Wq=[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-0"}],["path",{d:"M9 10l.01 0",key:"svg-1"}],["path",{d:"M15 10l.01 0",key:"svg-2"}],["path",{d:"M9.5 15.25a3.5 3.5 0 0 1 5 0",key:"svg-3"}]],zq=G("outline","mood-sad","MoodSad",Wq);var Kq=[["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"}]],Gq=G("outline","moon","Moon",Kq);var Bq=[["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"}]],Fq=G("outline","mountain","Mountain",Bq);var Oq=[["path",{d:"M3 17a3 3 0 1 0 6 0a3 3 0 0 0 -6 0",key:"svg-0"}],["path",{d:"M13 17a3 3 0 1 0 6 0a3 3 0 0 0 -6 0",key:"svg-1"}],["path",{d:"M9 17v-13h10v13",key:"svg-2"}],["path",{d:"M9 8h10",key:"svg-3"}]],wq=G("outline","music","Music",Oq);var Uq=[["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"}]],Dq=G("outline","palette","Palette",Uq);var Aq=[["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"}]],Vq=G("outline","paperclip","Paperclip",Aq);var _q=[["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"}]],Nq=G("outline","photo","Photo",_q);var Tq=[["path",{d:"M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10",key:"svg-0"}],["path",{d:"M9 19v-6",key:"svg-1"}],["path",{d:"M8 5v8h2v-8",key:"svg-2"}],["path",{d:"M15 19v-6",key:"svg-3"}],["path",{d:"M14 5v8h2v-8",key:"svg-4"}]],Lq=G("outline","piano","Piano",Tq);var Iq=[["path",{d:"M15 4.5l-4 4l-4 1.5l-1.5 1.5l7 7l1.5 -1.5l1.5 -4l4 -4",key:"svg-0"}],["path",{d:"M9 15l-4.5 4.5",key:"svg-1"}],["path",{d:"M14.5 4l5.5 5.5",key:"svg-2"}]],Mq=G("outline","pin","Pin",Iq);var Eq=[["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"}]],Pq=G("outline","planet","Planet",Eq);var Sq=[["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"}]],kq=G("outline","play-basketball","PlayBasketball",Sq);var jq=[["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"}]],bq=G("outline","play-football","PlayFootball",jq);var hq=[["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"}]],Rq=G("outline","play-volleyball","PlayVolleyball",hq);var Cq=[["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"}]],xq=G("outline","plug-connected","PlugConnected",Cq);var yq=[["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"}]],fq=G("outline","plug","Plug",yq);var vq=[["path",{d:"M12 5l0 14",key:"svg-0"}],["path",{d:"M5 12l14 0",key:"svg-1"}]],gq=G("outline","plus","Plus",vq);var dq=[["path",{d:"M3 4a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4",key:"svg-0"}],["path",{d:"M15 16a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4",key:"svg-1"}],["path",{d:"M21 11v-3a2 2 0 0 0 -2 -2h-6l3 3m0 -6l-3 3",key:"svg-2"}],["path",{d:"M3 13v3a2 2 0 0 0 2 2h6l-3 -3m0 6l3 -3",key:"svg-3"}]],uq=G("outline","replace","Replace",dq);var cq=[["path",{d:"M6 6a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v4a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2l0 -4",key:"svg-0"}],["path",{d:"M12 2v2",key:"svg-1"}],["path",{d:"M9 12v9",key:"svg-2"}],["path",{d:"M15 12v9",key:"svg-3"}],["path",{d:"M5 16l4 -2",key:"svg-4"}],["path",{d:"M15 14l4 2",key:"svg-5"}],["path",{d:"M9 18h6",key:"svg-6"}],["path",{d:"M10 8v.01",key:"svg-7"}],["path",{d:"M14 8v.01",key:"svg-8"}]],mq=G("outline","robot","Robot",cq);var pq=[["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"}]],lq=G("outline","rocket","Rocket",pq);var rq=[["path",{d:"M19.953 8.017l1.047 6.983v2a3 3 0 0 1 -3 3h-12a3 3 0 0 1 -3 -3v-2l1.245 -8.297a2 2 0 0 1 1.977 -1.703h3.778",key:"svg-0"}],["path",{d:"M3 15h18",key:"svg-1"}],["path",{d:"M13 3l5.5 1.5",key:"svg-2"}],["path",{d:"M15.75 3.75l-2 7",key:"svg-3"}],["path",{d:"M7 10.5c1.667 -.667 3.333 -.667 5 0c1.667 .667 3.333 .667 5 0",key:"svg-4"}]],iq=G("outline","sandbox","Sandbox",rq);var sq=[["path",{d:"M3 15c2 3 4 4 7 4s7 -3 7 -7s-3 -7 -6 -7s-5 1.5 -5 4s2 5 6 5s8.408 -2.453 10 -5",key:"svg-0"}]],oq=G("outline","scribble","Scribble",sq);var nq=[["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"}]],aq=G("outline","settings","Settings",nq);var tq=[["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"}]],eq=G("outline","shield","Shield",tq);var QH=[["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"}]],JH=G("outline","shopping-cart","ShoppingCart",QH);var ZH=[["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"}]],$H=G("outline","smart-home","SmartHome",ZH);var YH=[["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"}]],XH=G("outline","snowflake","Snowflake",YH);var qH=[["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"}]],HH=G("outline","sparkles","Sparkles",qH);var WH=[["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"}]],zH=G("outline","star","Star",WH);var KH=[["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"}]],GH=G("outline","sun","Sun",KH);var BH=[["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"}]],FH=G("outline","target","Target",BH);var OH=[["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"}]],wH=G("outline","terminal-2","Terminal2",OH);var UH=[["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"}]],DH=G("outline","tool","Tool",UH);var AH=[["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"}]],VH=G("outline","trash","Trash",AH);var _H=[["path",{d:"M8 21l8 0",key:"svg-0"}],["path",{d:"M12 17l0 4",key:"svg-1"}],["path",{d:"M7 4l10 0",key:"svg-2"}],["path",{d:"M17 4v8a5 5 0 0 1 -10 0v-8",key:"svg-3"}],["path",{d:"M3 9a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-4"}],["path",{d:"M17 9a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-5"}]],NH=G("outline","trophy","Trophy",_H);var TH=[["path",{d:"M5.343 7.343a8 8 0 1 1 11.314 11.314l-11.314 -11.314",key:"svg-0"}],["path",{d:"M10.828 13.34l-4.242 4.243a2 2 0 1 0 2.828 2.828",key:"svg-1"}]],LH=G("outline","umbrella-2","Umbrella2",TH);var IH=[["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"}]],MH=G("outline","upload","Upload",IH);var EH=[["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"}]],PH=G("outline","user","User",EH);var SH=[["path",{d:"M17 8v-3a1 1 0 0 0 -1 -1h-10a2 2 0 0 0 0 4h12a1 1 0 0 1 1 1v3m0 4v3a1 1 0 0 1 -1 1h-12a2 2 0 0 1 -2 -2v-12",key:"svg-0"}],["path",{d:"M20 12v4h-4a2 2 0 0 1 0 -4h4",key:"svg-1"}]],kH=G("outline","wallet","Wallet",SH);var jH=[["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"}]],bH=G("outline","wand","Wand",jH);var hH=[["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"}]],RH=G("outline","world","World",hH);var CH=[["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"}]],xH=G("filled","alert-circle-filled","AlertCircleFilled",CH);var yH=[["path",{d:"M13 2l.018 .001l.016 .001l.083 .005l.011 .002h.011l.038 .009l.052 .008l.016 .006l.011 .001l.029 .011l.052 .014l.019 .009l.015 .004l.028 .014l.04 .017l.021 .012l.022 .01l.023 .015l.031 .017l.034 .024l.018 .011l.013 .012l.024 .017l.038 .034l.022 .017l.008 .01l.014 .012l.036 .041l.026 .027l.006 .009c.12 .147 .196 .322 .218 .513l.001 .012l.002 .041l.004 .064v6h5a1 1 0 0 1 .868 1.497l-.06 .091l-8 11c-.568 .783 -1.808 .38 -1.808 -.588v-6h-5a1 1 0 0 1 -.868 -1.497l.06 -.091l8 -11l.01 -.013l.018 -.024l.033 -.038l.018 -.022l.009 -.008l.013 -.014l.04 -.036l.028 -.026l.008 -.006a1 1 0 0 1 .402 -.199l.011 -.001l.027 -.005l.074 -.013l.011 -.001l.041 -.002z",key:"svg-0"}]],fH=G("filled","bolt-filled","BoltFilled",yH);var vH=[["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"}]],gH=G("filled","circle-check-filled","CircleCheckFilled",vH);var dH=[["path",{d:"M15.113 3.21l.094 .083l5.5 5.5a1 1 0 0 1 -1.175 1.59l-3.172 3.171l-1.424 3.797a1 1 0 0 1 -.158 .277l-.07 .08l-1.5 1.5a1 1 0 0 1 -1.32 .082l-.095 -.083l-2.793 -2.792l-3.793 3.792a1 1 0 0 1 -1.497 -1.32l.083 -.094l3.792 -3.793l-2.792 -2.793a1 1 0 0 1 -.083 -1.32l.083 -.094l1.5 -1.5a1 1 0 0 1 .258 -.187l.098 -.042l3.796 -1.425l3.171 -3.17a1 1 0 0 1 1.497 -1.26z",key:"svg-0"}]],uH=G("filled","pin-filled","PinFilled",dH);var cH=[["path",{d:"M17 4h-10a3 3 0 0 0 -3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3 -3v-10a3 3 0 0 0 -3 -3z",key:"svg-0"}]],mH=G("filled","player-stop-filled","PlayerStopFilled",cH);var O6=P(R(),1);var Z4=(Q)=>{let J,Z=new Set,$=(W,K)=>{let B=typeof W==="function"?W(J):W;if(!Object.is(B,J)){let F=J;J=(K!=null?K:typeof B!=="object"||B===null)?B:Object.assign({},J,B),Z.forEach((w)=>w(J,F))}},Y=()=>J,H={setState:$,getState:Y,getInitialState:()=>z,subscribe:(W)=>{return Z.add(W),()=>Z.delete(W)}},z=J=Q($,Y,H);return H},$4=(Q)=>Q?Z4(Q):Z4;var pH=(Q)=>Q;function lH(Q,J=pH){let Z=O6.default.useSyncExternalStore(Q.subscribe,O6.default.useCallback(()=>J(Q.getState()),[Q,J]),O6.default.useCallback(()=>J(Q.getInitialState()),[Q,J]));return O6.default.useDebugValue(Z),Z}var Y4=(Q)=>{let J=$4(Q),Z=($)=>lH(J,$);return Object.assign(Z,J),Z},Fe6=(Q)=>Q?Y4(Q):Y4;var Z1=P(w0(),1),L0=P(R(),1);var X4=P(R(),1),x0=X4.createContext({});var q4=P(R(),1);function i0(Q){let J=q4.useRef(null);if(J.current===null)J.current=Q();return J.current}var L1=P(R(),1);var H4=typeof window<"u";var s0=H4?L1.useLayoutEffect:L1.useEffect;var A7=P(w0(),1),AZ=P(R(),1),q5=P(R(),1);var W4=P(R(),1),o0=W4.createContext(null);var wZ=P(w0(),1);function w5(Q,J){if(Q.indexOf(J)===-1)Q.push(J)}function n0(Q,J){let Z=Q.indexOf(J);if(Z>-1)Q.splice(Z,1)}var a=(Q,J,Z)=>{if(Z>J)return J;if(Z<Q)return Q;return Z};function H9(Q,J){return J?`${Q}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${J}`:Q}var M0=()=>{},Y0=()=>{};if(typeof process<"u"&&process.env?.NODE_ENV!=="production")M0=(Q,J,Z)=>{if(!Q&&typeof console<"u")console.warn(H9(J,Z))},Y0=(Q,J,Z)=>{if(!Q)throw Error(H9(J,Z))};var W0={};var w6=(Q)=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(Q);var U6=(Q)=>typeof Q==="object"&&Q!==null;var D6=(Q)=>/^0[^.\s]+$/u.test(Q);function A6(Q){let J;return()=>{if(J===void 0)J=Q();return J}}var c=(Q)=>Q;var N0=(...Q)=>Q.reduce((J,Z)=>($)=>Z(J($)));var E0=(Q,J,Z)=>{let $=J-Q;return $?(Z-Q)/$:1};class a0{constructor(){this.subscriptions=[]}add(Q){return w5(this.subscriptions,Q),()=>n0(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 s=(Q)=>Q*1000,Q0=(Q)=>Q/1000;var V6=(Q,J)=>J?Q*(1000/J):0;var z4=(Q,J,Z)=>(((1-3*Z+3*J)*Q+(3*Z-6*J))*Q+3*J)*Q,rH=0.0000001,iH=12;function sH(Q,J,Z,$,Y){let q,X,H=0;do if(X=J+(Z-J)/2,q=z4(X,$,Y)-Q,q>0)Z=X;else J=X;while(Math.abs(q)>rH&&++H<iH);return X}function t0(Q,J,Z,$){if(Q===J&&Z===$)return c;let Y=(q)=>sH(q,0,1,Q,Z);return(q)=>q===0||q===1?q:z4(Y(q),J,$)}var I1=(Q)=>(J)=>J<=0.5?Q(2*J)/2:(2-Q(2*(1-J)))/2;var M1=(Q)=>(J)=>1-Q(1-J);var E1=t0(0.33,1.53,0.69,0.99),c5=M1(E1),_6=I1(c5);var N6=(Q)=>Q>=1?1:(Q*=2)<1?0.5*c5(Q):0.5*(2-Math.pow(2,-10*(Q-1)));var T6=(Q)=>1-Math.sin(Math.acos(Q)),L6=M1(T6),I6=I1(T6);var W9=t0(0.42,0,1,1),z9=t0(0,0,0.58,1),M6=t0(0.42,0,0.58,1);var K9=(Q)=>{return Array.isArray(Q)&&typeof Q[0]!=="number"};var E6=(Q)=>Array.isArray(Q)&&typeof Q[0]==="number";var K4={linear:c,easeIn:W9,easeInOut:M6,easeOut:z9,circIn:T6,circInOut:I6,circOut:L6,backIn:c5,backInOut:_6,backOut:E1,anticipate:N6},oH=(Q)=>{return typeof Q==="string"},P1=(Q)=>{if(E6(Q)){Y0(Q.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[J,Z,$,Y]=Q;return t0(J,Z,$,Y)}else if(oH(Q))return Y0(K4[Q]!==void 0,`Invalid easing type '${Q}'`,"invalid-easing-type"),K4[Q];return Q};var P6=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function G4(Q){let J=new Set,Z=new Set,$=!1,Y=!1,q=new WeakSet,X={delta:0,timestamp:0,isProcessing:!1};function H(W){if(q.has(W))z.schedule(W),Q();W(X)}let z={schedule:(W,K=!1,B=!1)=>{let w=B&&$?J:Z;if(K)q.add(W);return w.add(W),W},cancel:(W)=>{Z.delete(W),q.delete(W)},process:(W)=>{if(X=W,$){Y=!0;return}$=!0;let K=J;if(J=Z,Z=K,J.forEach(H),J.clear(),$=!1,Y)Y=!1,z.process(W)}};return z}var nH=40;function S1(Q,J){let Z=!1,$=!0,Y={delta:0,timestamp:0,isProcessing:!1},q=()=>Z=!0,X=P6.reduce((T,U)=>{return T[U]=G4(q),T},{}),{setup:H,read:z,resolveKeyframes:W,preUpdate:K,update:B,preRender:F,render:w,postRender:O}=X,A=()=>{let T=W0.useManualTiming,U=T?Y.timestamp:performance.now();if(Z=!1,!T)Y.delta=$?16.666666666666668:Math.max(Math.min(U-Y.timestamp,nH),1);if(Y.timestamp=U,Y.isProcessing=!0,H.process(Y),z.process(Y),W.process(Y),K.process(Y),B.process(Y),F.process(Y),w.process(Y),O.process(Y),Y.isProcessing=!1,Z&&J)$=!1,Q(A)},D=()=>{if(Z=!0,$=!0,!Y.isProcessing)Q(A)};return{schedule:P6.reduce((T,U)=>{let S=X[U];return T[U]=(j,b=!1,V=!1)=>{if(!Z)D();return S.schedule(j,b,V)},T},{}),cancel:(T)=>{for(let U=0;U<P6.length;U++)X[P6[U]].cancel(T)},state:Y,steps:X}}var{schedule:C,cancel:B0,state:r,steps:S6}=S1(typeof requestAnimationFrame<"u"?requestAnimationFrame:c,!0);var k1;function aH(){k1=void 0}var m={now:()=>{if(k1===void 0)m.set(r.isProcessing||W0.useManualTiming?r.timestamp:performance.now());return k1},set:(Q)=>{k1=Q,queueMicrotask(aH)}};var B4=(Q)=>(J)=>typeof J==="string"&&J.startsWith(Q),j1=B4("--"),tH=B4("var(--"),m5=(Q)=>{if(!tH(Q))return!1;return eH.test(Q.split("/*")[0].trim())},eH=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function G9(Q){if(typeof Q!=="string")return!1;return Q.split("/*")[0].includes("var(--")}var P0={test:(Q)=>typeof Q==="number",parse:parseFloat,transform:(Q)=>Q},y0={...P0,transform:(Q)=>a(0,1,Q)},k6={...P0,default:1};var e0=(Q)=>Math.round(Q*1e5)/1e5;var p5=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function F4(Q){return Q==null}var O4=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;var l5=(Q,J)=>(Z)=>{return Boolean(typeof Z==="string"&&O4.test(Z)&&Z.startsWith(Q)||J&&!F4(Z)&&Object.prototype.hasOwnProperty.call(Z,J))},b1=(Q,J,Z)=>($)=>{if(typeof $!=="string")return $;let[Y,q,X,H]=$.match(p5);return{[Q]:parseFloat(Y),[J]:parseFloat(q),[Z]:parseFloat(X),alpha:H!==void 0?parseFloat(H):1}};var QW=(Q)=>a(0,255,Q),B9={...P0,transform:(Q)=>Math.round(QW(Q))},S0={test:l5("rgb","red"),parse:b1("red","green","blue"),transform:({red:Q,green:J,blue:Z,alpha:$=1})=>"rgba("+B9.transform(Q)+", "+B9.transform(J)+", "+B9.transform(Z)+", "+e0(y0.transform($))+")"};function JW(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 j6={test:l5("#"),parse:JW,transform:S0.transform};var b6=(Q)=>({test:(J)=>typeof J==="string"&&J.endsWith(Q)&&J.split(" ").length===1,parse:parseFloat,transform:(J)=>`${J}${Q}`}),U0=b6("deg"),X0=b6("%"),L=b6("px"),F9=b6("vh"),O9=b6("vw"),h1=(()=>({...X0,parse:(Q)=>X0.parse(Q)/100,transform:(Q)=>X0.transform(Q*100)}))();var Q5={test:l5("hsl","hue"),parse:b1("hue","saturation","lightness"),transform:({hue:Q,saturation:J,lightness:Z,alpha:$=1})=>{return"hsla("+Math.round(Q)+", "+X0.transform(e0(J))+", "+X0.transform(e0(Z))+", "+e0(y0.transform($))+")"}};var d={test:(Q)=>S0.test(Q)||j6.test(Q)||Q5.test(Q),parse:(Q)=>{if(S0.test(Q))return S0.parse(Q);else if(Q5.test(Q))return Q5.parse(Q);else return j6.parse(Q)},transform:(Q)=>{return typeof Q==="string"?Q:Q.hasOwnProperty("red")?S0.transform(Q):Q5.transform(Q)},getAnimatableNone:(Q)=>{let J=d.parse(Q);return J.alpha=0,d.transform(J)}};var w4=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function ZW(Q){return isNaN(Q)&&typeof Q==="string"&&(Q.match(p5)?.length||0)+(Q.match(w4)?.length||0)>0}var D4="number",A4="color",$W="var",YW="var(",U4="${}",XW=/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 J5(Q){let J=Q.toString(),Z=[],$={color:[],number:[],var:[]},Y=[],q=0,H=J.replace(XW,(z)=>{if(d.test(z))$.color.push(q),Y.push(A4),Z.push(d.parse(z));else if(z.startsWith(YW))$.var.push(q),Y.push($W),Z.push(z);else $.number.push(q),Y.push(D4),Z.push(parseFloat(z));return++q,U4}).split(U4);return{values:Z,split:H,indexes:$,types:Y}}function qW(Q){return J5(Q).values}function V4({split:Q,types:J}){let Z=Q.length;return($)=>{let Y="";for(let q=0;q<Z;q++)if(Y+=Q[q],$[q]!==void 0){let X=J[q];if(X===D4)Y+=e0($[q]);else if(X===A4)Y+=d.transform($[q]);else Y+=$[q]}return Y}}function HW(Q){return V4(J5(Q))}var WW=(Q)=>typeof Q==="number"?0:d.test(Q)?d.getAnimatableNone(Q):Q,zW=(Q,J)=>{if(typeof Q==="number")return J?.trim().endsWith("/")?Q:0;return WW(Q)};function KW(Q){let J=J5(Q);return V4(J)(J.values.map(($,Y)=>zW($,J.split[Y])))}var t={test:ZW,parse:qW,createTransformer:HW,getAnimatableNone:KW};function w9(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 _4({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,z=2*Z-H;Y=w9(z,H,Q+0.3333333333333333),q=w9(z,H,Q),X=w9(z,H,Q-0.3333333333333333)}return{red:Math.round(Y*255),green:Math.round(q*255),blue:Math.round(X*255),alpha:$}}function r5(Q,J){return(Z)=>Z>0?J:Q}var x=(Q,J,Z)=>{return Q+(J-Q)*Z};var U9=(Q,J,Z)=>{let $=Q*Q,Y=Z*(J*J-$)+$;return Y<0?0:Math.sqrt(Y)},GW=[j6,S0,Q5],BW=(Q)=>GW.find((J)=>J.test(Q));function N4(Q){let J=BW(Q);if(M0(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===Q5)Z=_4(Z);return Z}var D9=(Q,J)=>{let Z=N4(Q),$=N4(J);if(!Z||!$)return r5(Q,J);let Y={...Z};return(q)=>{return Y.red=U9(Z.red,$.red,q),Y.green=U9(Z.green,$.green,q),Y.blue=U9(Z.blue,$.blue,q),Y.alpha=x(Z.alpha,$.alpha,q),S0.transform(Y)}};var R1=new Set(["none","hidden"]);function T4(Q,J){if(R1.has(Q))return(Z)=>Z<=0?Q:J;else return(Z)=>Z>=1?J:Q}function FW(Q,J){return(Z)=>x(Q,J,Z)}function C1(Q){if(typeof Q==="number")return FW;else if(typeof Q==="string")return m5(Q)?r5:d.test(Q)?D9:UW;else if(Array.isArray(Q))return L4;else if(typeof Q==="object")return d.test(Q)?D9:OW;return r5}function L4(Q,J){let Z=[...Q],$=Z.length,Y=Q.map((q,X)=>C1(q)(q,J[X]));return(q)=>{for(let X=0;X<$;X++)Z[X]=Y[X](q);return Z}}function OW(Q,J){let Z={...Q,...J},$={};for(let Y in Z)if(Q[Y]!==void 0&&J[Y]!==void 0)$[Y]=C1(Q[Y])(Q[Y],J[Y]);return(Y)=>{for(let q in $)Z[q]=$[q](Y);return Z}}function wW(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 UW=(Q,J)=>{let Z=t.createTransformer(J),$=J5(Q),Y=J5(J);if($.indexes.var.length===Y.indexes.var.length&&$.indexes.color.length===Y.indexes.color.length&&$.indexes.number.length>=Y.indexes.number.length){if(R1.has(Q)&&!Y.values.length||R1.has(J)&&!$.values.length)return T4(Q,J);return N0(L4(wW($,Y),Y.values),Z)}else return M0(!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"),r5(Q,J)};function x1(Q,J,Z){if(typeof Q==="number"&&typeof J==="number"&&typeof Z==="number")return x(Q,J,Z);return C1(Q)(Q,J)}var I4=(Q)=>{let J=({timestamp:Z})=>Q(Z);return{start:(Z=!0)=>C.update(J,Z),stop:()=>B0(J),now:()=>r.isProcessing?r.timestamp:m.now()}};var y1=(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 f1=20000;function i5(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 M4(Q,J=100,Z){let $=Z({...Q,keyframes:[0,J]}),Y=Math.min(i5($),f1);return{type:"keyframes",ease:(q)=>{return $.next(Y*q).value/J},duration:Q0(Y)}}var p={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:0.3,visualDuration:0.3,restSpeed:{granular:0.01,default:2},restDelta:{granular:0.005,default:0.5},minDuration:0.01,maxDuration:10,minDamping:0.05,maxDamping:1};function V9(Q,J){return Q*Math.sqrt(1-J*J)}var DW=12;function AW(Q,J,Z){let $=Z;for(let Y=1;Y<DW;Y++)$=$-Q($)/J($);return $}var A9=0.001;function VW({duration:Q=p.duration,bounce:J=p.bounce,velocity:Z=p.velocity,mass:$=p.mass}){let Y,q;M0(Q<=s(p.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let X=1-J;if(X=a(p.minDamping,p.maxDamping,X),Q=a(p.minDuration,p.maxDuration,Q0(Q)),X<1)Y=(W)=>{let K=W*X,B=K*Q,F=K-Z,w=V9(W,X),O=Math.exp(-B);return A9-F/w*O},q=(W)=>{let B=W*X*Q,F=B*Z+Z,w=Math.pow(X,2)*Math.pow(W,2)*Q,O=Math.exp(-B),A=V9(Math.pow(W,2),X);return(-Y(W)+A9>0?-1:1)*((F-w)*O)/A};else Y=(W)=>{let K=Math.exp(-W*Q),B=(W-Z)*Q+1;return-A9+K*B},q=(W)=>{let K=Math.exp(-W*Q),B=(Z-W)*(Q*Q);return K*B};let H=5/Q,z=AW(Y,q,H);if(Q=s(Q),isNaN(z))return{stiffness:p.stiffness,damping:p.damping,duration:Q};else{let W=Math.pow(z,2)*$;return{stiffness:W,damping:X*2*Math.sqrt($*W),duration:Q}}}var _W=["duration","bounce"],NW=["stiffness","damping","mass"];function E4(Q,J){return J.some((Z)=>Q[Z]!==void 0)}function TW(Q){let J={velocity:p.velocity,stiffness:p.stiffness,damping:p.damping,mass:p.mass,isResolvedFromDuration:!1,...Q};if(!E4(Q,NW)&&E4(Q,_W))if(J.velocity=0,Q.visualDuration){let Z=Q.visualDuration,$=2*Math.PI/(Z*1.2),Y=$*$,q=2*a(0.05,1,1-(Q.bounce||0))*Math.sqrt(Y);J={...J,mass:p.mass,stiffness:Y,damping:q}}else{let Z=VW({...Q,velocity:0});J={...J,...Z,mass:p.mass},J.isResolvedFromDuration=!0}return J}function s5(Q=p.visualDuration,J=p.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:z,damping:W,mass:K,duration:B,velocity:F,isResolvedFromDuration:w}=TW({...Z,velocity:-Q0(Z.velocity||0)}),O=F||0,A=W/(2*Math.sqrt(z*K)),D=X-q,_=Q0(Math.sqrt(z/K)),N=Math.abs(D)<5;$||($=N?p.restSpeed.granular:p.restSpeed.default),Y||(Y=N?p.restDelta.granular:p.restDelta.default);let T,U,S,j,b,V;if(A<1)S=V9(_,A),j=(O+A*_*D)/S,T=(h)=>{let f=Math.exp(-A*_*h);return X-f*(j*Math.sin(S*h)+D*Math.cos(S*h))},b=A*_*j+D*S,V=A*_*D-j*S,U=(h)=>{return Math.exp(-A*_*h)*(b*Math.sin(S*h)+V*Math.cos(S*h))};else if(A===1){T=(f)=>X-Math.exp(-_*f)*(D+(O+_*D)*f);let h=O+_*D;U=(f)=>Math.exp(-_*f)*(_*h*f-O)}else{let h=_*Math.sqrt(A*A-1);T=(G0)=>{let Z0=Math.exp(-A*_*G0),l=Math.min(h*G0,300);return X-Z0*((O+A*_*D)*Math.sinh(l)+h*D*Math.cosh(l))/h};let f=(O+A*_*D)/h,g=A*_*f-D*h,K0=A*_*D-f*h;U=(G0)=>{let Z0=Math.exp(-A*_*G0),l=Math.min(h*G0,300);return Z0*(g*Math.sinh(l)+K0*Math.cosh(l))}}let k={calculatedDuration:w?B||null:null,velocity:(h)=>s(U(h)),next:(h)=>{if(!w&&A<1){let g=Math.exp(-A*_*h),K0=Math.sin(S*h),G0=Math.cos(S*h),Z0=X-g*(j*K0+D*G0),l=s(g*(b*K0+V*G0));return H.done=Math.abs(l)<=$&&Math.abs(X-Z0)<=Y,H.value=H.done?X:Z0,H}let f=T(h);if(!w){let g=s(U(h));H.done=Math.abs(g)<=$&&Math.abs(X-f)<=Y}else H.done=h>=B;return H.value=H.done?X:f,H},toString:()=>{let h=Math.min(i5(k),f1),f=y1((g)=>k.next(h*g).value,h,30);return h+"ms "+f},toTransition:()=>{}};return k}s5.applyToOptions=(Q)=>{let J=M4(Q,100,s5);return Q.ease=J.ease,Q.duration=s(J.duration),Q.type="keyframes",Q};var LW=5;function v1(Q,J,Z){let $=Math.max(J-LW,0);return V6(Z-Q($),J-$)}function h6({keyframes:Q,velocity:J=0,power:Z=0.8,timeConstant:$=325,bounceDamping:Y=10,bounceStiffness:q=500,modifyTarget:X,min:H,max:z,restDelta:W=0.5,restSpeed:K}){let B=Q[0],F={done:!1,value:B},w=(V)=>H!==void 0&&V<H||z!==void 0&&V>z,O=(V)=>{if(H===void 0)return z;if(z===void 0)return H;return Math.abs(H-V)<Math.abs(z-V)?H:z},A=Z*J,D=B+A,_=X===void 0?D:X(D);if(_!==D)A=_-B;let N=(V)=>-A*Math.exp(-V/$),T=(V)=>_+N(V),U=(V)=>{let k=N(V),h=T(V);F.done=Math.abs(k)<=W,F.value=F.done?_:h},S,j,b=(V)=>{if(!w(F.value))return;S=V,j=s5({keyframes:[F.value,O(F.value)],velocity:v1(T,V,F.value),damping:Y,stiffness:q,restDelta:W,restSpeed:K})};return b(0),{calculatedDuration:null,next:(V)=>{let k=!1;if(!j&&S===void 0)k=!0,U(V),b(V);if(S!==void 0&&V>=S)return j.next(V-S);else return!k&&U(V),F}}}function IW(Q,J,Z){let $=[],Y=Z||W0.mix||x1,q=Q.length-1;for(let X=0;X<q;X++){let H=Y(Q[X],Q[X+1]);if(J){let z=Array.isArray(J)?J[X]||c:J;H=N0(z,H)}$.push(H)}return $}function P4(Q,J,{clamp:Z=!0,ease:$,mixer:Y}={}){let q=Q.length;if(Y0(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=IW(J,$,Y),z=H.length,W=(K)=>{if(X&&K<Q[0])return J[0];let B=0;if(z>1){for(;B<Q.length-2;B++)if(K<Q[B+1])break}let F=E0(Q[B],Q[B+1],K);return H[B](F)};return Z?(K)=>W(a(Q[0],Q[q-1],K)):W}function S4(Q,J){let Z=Q[Q.length-1];for(let $=1;$<=J;$++){let Y=E0(0,J,$);Q.push(x(Z,1,Y))}}function k4(Q){let J=[0];return S4(J,Q.length-1),J}function j4(Q,J){return Q.map((Z)=>Z*J)}function MW(Q,J){return Q.map(()=>J||M6).splice(0,Q.length-1)}function U5({duration:Q=300,keyframes:J,times:Z,ease:$="easeInOut"}){let Y=K9($)?$.map(P1):P1($),q={done:!1,value:J[0]},X=j4(Z&&Z.length===J.length?Z:k4(J),Q),H=P4(X,J,{ease:Array.isArray(Y)?Y:MW(J,Y)});return{calculatedDuration:Q,next:(z)=>{return q.value=H(z),q.done=z>=Q,q}}}var EW=(Q)=>Q!==null;function Z5(Q,{repeat:J,repeatType:Z="loop"},$,Y=1){let q=Q.filter(EW),H=Y<0||J&&Z!=="loop"&&J%2===1?0:q.length-1;return!H||$===void 0?q[H]:$}var PW={decay:h6,inertia:h6,tween:U5,keyframes:U5,spring:s5};function g1(Q){if(typeof Q.type==="string")Q.type=PW[Q.type]}class D5{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 SW=(Q)=>Q/100;class $5 extends D5{constructor(Q){super();if(this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:J}=this.options;if(J&&J.updatedAt!==m.now())this.tick(m.now());if(this.isStopped=!0,this.state==="idle")return;this.teardown(),this.options.onStop?.()},this.options=Q,this.initAnimation(),this.play(),Q.autoplay===!1)this.pause()}initAnimation(){let{options:Q}=this;g1(Q);let{type:J=U5,repeat:Z=0,repeatDelay:$=0,repeatType:Y,velocity:q=0}=Q,{keyframes:X}=Q,H=J||U5;if(H!==U5&&typeof X[0]!=="number")this.mixKeyframes=N0(SW,x1(X[0],X[1])),X=[0,100];let z=H({...Q,keyframes:X});if(Y==="mirror")this.mirroredGenerator=H({...Q,keyframes:[...X].reverse(),velocity:-q});if(z.calculatedDuration===null)z.calculatedDuration=i5(z);let{calculatedDuration:W}=z;this.calculatedDuration=W,this.resolvedDuration=W+$,this.totalDuration=this.resolvedDuration*(Z+1)-$,this.generator=z}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:z=0,keyframes:W,repeat:K,repeatType:B,repeatDelay:F,type:w,onUpdate:O,finalKeyframe:A}=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 D=this.currentTime-z*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?D<0:D>$;if(this.currentTime=Math.max(D,0),this.state==="finished"&&this.holdTime===null)this.currentTime=$;let N=this.currentTime,T=Z;if(K){let b=Math.min(this.currentTime,$)/X,V=Math.floor(b),k=b%1;if(!k&&b>=1)k=1;if(k===1&&V--,V=Math.min(V,K+1),Boolean(V%2)){if(B==="reverse"){if(k=1-k,F)k-=F/X}else if(B==="mirror")T=q}N=a(0,1,k)*X}let U;if(_)this.delayState.value=W[0],U=this.delayState;else U=T.next(N);if(Y&&!_)U.value=Y(U.value);let{done:S}=U;if(!_&&H!==null)S=this.playbackSpeed>=0?this.currentTime>=$:this.currentTime<=0;let j=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&S);if(j&&w!==h6)U.value=Z5(W,this.options,A,this.speed);if(O)O(U.value);if(j)this.finish();return U}then(Q,J){return this.finished.then(Q,J)}get duration(){return Q0(this.calculatedDuration)}get iterationDuration(){let{delay:Q=0}=this.options||{};return this.duration+Q0(Q)}get time(){return Q0(this.currentTime)}set time(Q){if(Q=s(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)}getGeneratorVelocity(){let Q=this.currentTime;if(Q<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(Q);let J=this.generator.next(Q).value;return v1((Z)=>this.generator.next(Z).value,Q,J)}get speed(){return this.playbackSpeed}set speed(Q){let J=this.playbackSpeed!==Q;if(J&&this.driver)this.updateTime(m.now());if(this.playbackSpeed=Q,J&&this.driver)this.time=Q0(this.currentTime)}play(){if(this.isStopped)return;let{driver:Q=I4,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(m.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}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 b4(Q){for(let J=1;J<Q.length;J++)Q[J]??(Q[J]=Q[J-1])}var A5=(Q)=>Q*180/Math.PI,_9=(Q)=>{let J=A5(Math.atan2(Q[1],Q[0]));return N9(J)},kW={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:(Q)=>(Math.abs(Q[0])+Math.abs(Q[3]))/2,rotate:_9,rotateZ:_9,skewX:(Q)=>A5(Math.atan(Q[1])),skewY:(Q)=>A5(Math.atan(Q[2])),skew:(Q)=>(Math.abs(Q[1])+Math.abs(Q[2]))/2},N9=(Q)=>{if(Q=Q%360,Q<0)Q+=360;return Q},h4=_9,R4=(Q)=>Math.sqrt(Q[0]*Q[0]+Q[1]*Q[1]),C4=(Q)=>Math.sqrt(Q[4]*Q[4]+Q[5]*Q[5]),jW={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:R4,scaleY:C4,scale:(Q)=>(R4(Q)+C4(Q))/2,rotateX:(Q)=>N9(A5(Math.atan2(Q[6],Q[5]))),rotateY:(Q)=>N9(A5(Math.atan2(-Q[2],Q[0]))),rotateZ:h4,rotate:h4,skewX:(Q)=>A5(Math.atan(Q[4])),skewY:(Q)=>A5(Math.atan(Q[1])),skew:(Q)=>(Math.abs(Q[1])+Math.abs(Q[4]))/2};function d1(Q){return Q.includes("scale")?1:0}function u1(Q,J){if(!Q||Q==="none")return d1(J);let Z=Q.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),$,Y;if(Z)$=jW,Y=Z;else{let H=Q.match(/^matrix\(([-\d.e\s,]+)\)$/u);$=kW,Y=H}if(!Y)return d1(J);let q=$[J],X=Y[1].split(",").map(bW);return typeof q==="function"?q(X):X[q]}var x4=(Q,J)=>{let{transform:Z="none"}=getComputedStyle(Q);return u1(Z,J)};function bW(Q){return parseFloat(Q.trim())}var k0=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],D0=(()=>new Set([...k0,"pathRotation"]))();var T9=(Q)=>Q===P0||Q===L,hW=new Set(["x","y","z"]),RW=k0.filter((Q)=>!hW.has(Q));function y4(Q){let J=[];return RW.forEach((Z)=>{let $=Q.getValue(Z);if($!==void 0)J.push([Z,$.get()]),$.set(Z.startsWith("scale")?1:0)}),J}var f0={width:({x:Q},{paddingLeft:J="0",paddingRight:Z="0",boxSizing:$})=>{let Y=Q.max-Q.min;return $==="border-box"?Y:Y-parseFloat(J)-parseFloat(Z)},height:({y:Q},{paddingTop:J="0",paddingBottom:Z="0",boxSizing:$})=>{let Y=Q.max-Q.min;return $==="border-box"?Y:Y-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})=>u1(J,"x"),y:(Q,{transform:J})=>u1(J,"y")};f0.translateX=f0.x;f0.translateY=f0.y;var V5=new Set,L9=!1,I9=!1,M9=!1;function f4(){if(I9){let Q=Array.from(V5).filter(($)=>$.needsMeasurement),J=new Set(Q.map(($)=>$.element)),Z=new Map;J.forEach(($)=>{let Y=y4($);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)})}I9=!1,L9=!1,V5.forEach((Q)=>Q.complete(M9)),V5.clear()}function v4(){V5.forEach((Q)=>{if(Q.readKeyframes(),Q.needsMeasurement)I9=!0})}function g4(){M9=!0,v4(),f4(),M9=!1}class _5{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(V5.add(this),!L9)L9=!0,C.read(v4),C.resolveKeyframes(f4)}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])}b4(Q)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(Q=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,Q),V5.delete(this)}cancel(){if(this.state==="scheduled")V5.delete(this),this.state="pending"}resume(){if(this.state==="pending")this.scheduleResolve()}}var d4=(Q)=>Q.startsWith("--");function c1(Q,J,Z){d4(J)?Q.style.setProperty(J,Z):Q.style[J]=Z}var u4={};function m1(Q,J){let Z=A6(Q);return()=>u4[J]??Z()}var c4=m1(()=>window.ScrollTimeline!==void 0,"scrollTimeline");var p1=m1(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(Q){return!1}return!0},"linearEasing");var N5=([Q,J,Z,$])=>`cubic-bezier(${Q}, ${J}, ${Z}, ${$})`;var E9={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:N5([0,0.65,0.55,1]),circOut:N5([0.55,0,1,0.45]),backIn:N5([0.31,0.01,0.66,-0.59]),backOut:N5([0.33,1.53,0.69,0.99])};function P9(Q,J){if(!Q)return;else if(typeof Q==="function")return p1()?y1(Q,J):"ease-out";else if(E6(Q))return N5(Q);else if(Array.isArray(Q))return Q.map((Z)=>P9(Z,J)||E9.easeOut);else return E9[Q]}function m4(Q,J,Z,{delay:$=0,duration:Y=300,repeat:q=0,repeatType:X="loop",ease:H="easeOut",times:z}={},W=void 0){let K={[J]:Z};if(z)K.offset=z;let B=P9(H,Y);if(Array.isArray(B))K.easing=B;let F={delay:$,duration:Y,easing:!Array.isArray(B)?B:"linear",fill:"both",iterations:q+1,direction:X==="reverse"?"alternate":"normal"};if(W)F.pseudoElement=W;return Q.animate(K,F)}function l1(Q){return typeof Q==="function"&&"applyToOptions"in Q}function p4({type:Q,...J}){if(l1(Q)&&p1())return Q.applyToOptions(J);else J.duration??(J.duration=300),J.ease??(J.ease="easeOut");return J}class R6 extends D5{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,Y0(typeof Q.type!=="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");let z=p4(Q);if(this.animation=m4(J,Z,$,z,Y),z.autoplay===!1)this.animation.pause();this.animation.onfinish=()=>{if(this.finishedTime=this.time,!Y){let W=Z5($,this.options,X,this.speed);if(this.updateMotionValue)this.updateMotionValue(W);c1(J,Z,W),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 Q0(Number(Q))}get iterationDuration(){let{delay:Q=0}=this.options||{};return this.duration+Q0(Q)}get time(){return Q0(Number(this.animation.currentTime)||0)}set time(Q){let J=this.finishedTime!==null;if(this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=s(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&&c4()){if(this.animation.timeline=Q,J)this.animation.rangeStart=J;if(Z)this.animation.rangeEnd=Z;return c}else return $(this)}}var l4={anticipate:N6,backInOut:_6,circInOut:I6};function CW(Q){return Q in l4}function r4(Q){if(typeof Q.ease==="string"&&CW(Q.ease))Q.ease=l4[Q.ease]}var S9=10;class k9 extends R6{constructor(Q){r4(Q),g1(Q);super(Q);if(Q.startTime!==void 0&&Q.autoplay!==!1)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 $5({...q,autoplay:!1}),H=Math.max(S9,m.now()-this.startTime),z=a(0,S9,H-S9),W=X.sample(H).value,{name:K}=this.options;if(Y&&K)c1(Y,K,W);J.setWithVelocity(X.sample(Math.max(0,H-z)).value,W,z),X.stop()}}var j9=(Q,J)=>{if(J==="zIndex")return!1;if(typeof Q==="number"||Array.isArray(Q))return!0;if(typeof Q==="string"&&(t.test(Q)||Q==="0")&&!Q.startsWith("url("))return!0;return!1};function xW(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 i4(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=j9(Y,J),H=j9(q,J);if(M0(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 xW(Q)||(Z==="spring"||l1(Z))&&$}function C6(Q){Q.duration=0,Q.type="keyframes"}var r1=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);var yW=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function s4(Q){for(let J=0;J<Q.length;J++)if(typeof Q[J]==="string"&&yW.test(Q[J]))return!0;return!1}var fW=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),vW=A6(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function o4(Q){let{motionValue:J,name:Z,repeatDelay:$,repeatType:Y,damping:q,type:X,keyframes:H}=Q,z=J?.owner?.current;if(!(z instanceof HTMLElement)&&!(z instanceof SVGElement))return!1;let{onUpdate:W,transformTemplate:K}=J.owner.getProps();return vW()&&Z&&(r1.has(Z)||fW.has(Z)&&s4(H))&&(Z!=="transform"||!K)&&!W&&!$&&Y!=="mirror"&&q!==0&&X!=="inertia"}var gW=40;class b9 extends D5{constructor({autoplay:Q=!0,delay:J=0,type:Z="keyframes",repeat:$=0,repeatDelay:Y=0,repeatType:q="loop",keyframes:X,name:H,motionValue:z,element:W,...K}){super();this.stop=()=>{if(this._animation)this._animation.stop(),this.stopTimeline?.();this.keyframeResolver?.cancel()},this.createdAt=m.now();let B={autoplay:Q,delay:J,type:Z,repeat:$,repeatDelay:Y,repeatType:q,name:H,motionValue:z,element:W,...K},F=W?.KeyframeResolver||_5;this.keyframeResolver=new F(X,(w,O,A)=>this.onKeyframesResolved(w,O,B,!A),H,z,W),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(Q,J,Z,$){this.keyframeResolver=void 0;let{name:Y,type:q,velocity:X,delay:H,isHandoff:z,onUpdate:W}=Z;this.resolvedAt=m.now();let K=!0;if(!i4(Q,Y,q,X)){if(K=!1,W0.instantAnimations||!H)W?.(Z5(Q,Z,J));Q[0]=Q[Q.length-1],C6(Z),Z.repeat=0}let F={startTime:$?!this.resolvedAt?this.createdAt:this.resolvedAt-this.createdAt>gW?this.resolvedAt:this.createdAt:void 0,finalKeyframe:J,...Z,keyframes:Q},w=K&&!z&&o4(F),O=F.motionValue?.owner?.current,A;if(w)try{A=new k9({...F,element:O})}catch{A=new $5(F)}else A=new $5(F);if(A.finished.then(()=>{this.notifyFinished()}).catch(c),this.pendingTimeline)this.stopTimeline=A.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0;this._animation=A}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(),g4();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 i1(Q,J,Z,$=0,Y=1){let q=Array.from(Q).sort((W,K)=>W.sortNodePosition(K)).indexOf(J),X=Q.size,H=(X-1)*$;return typeof Z==="function"?Z(q,X):Y===1?q*$:H-q*$}var n4=30,uW=(Q)=>{return!isNaN(parseFloat(Q))},a4={current:void 0};class t4{constructor(Q,J={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=(Z)=>{let $=m.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=m.now(),this.canTrackVelocity===null&&Q!==void 0)this.canTrackVelocity=uW(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 a0;let Z=this.events[Q].add(J);if(Q==="change")return()=>{Z(),C.read(()=>{if(!this.events.change.getSize())this.stop()})};return Z}clearListeners(){for(let Q in this.events)this.events[Q].clear()}attach(Q,J){this.passiveEffect=Q,this.stopPassiveEffect=J}set(Q){if(!this.passiveEffect)this.updateAndNotify(Q);else this.passiveEffect(Q,this.updateAndNotify)}setWithVelocity(Q,J,Z){this.set(J),this.prev=void 0,this.prevFrameValue=Q,this.prevUpdatedAt=this.updatedAt-Z}jump(Q,J=!0){if(this.updateAndNotify(Q),this.prev=Q,this.prevUpdatedAt=this.prevFrameValue=void 0,J&&this.stop(),this.stopPassiveEffect)this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(Q){if(!this.dependents)this.dependents=new Set;this.dependents.add(Q)}removeDependent(Q){if(this.dependents)this.dependents.delete(Q)}get(){if(a4.current)a4.current.push(this);return this.current}getPrevious(){return this.prev}getVelocity(){let Q=m.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||Q-this.updatedAt>n4)return 0;let J=Math.min(this.updatedAt-this.prevUpdatedAt,n4);return V6(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 T0(Q,J){return new t4(Q,J)}function T5(Q,J){if(Q?.inherit&&J){let{inherit:Z,...$}=Q;return{...J,...$}}return Q}function o5(Q,J){let Z=Q?.[J]??Q?.default??Q;if(Z!==Q)return T5(Z,Q);return Z}var cW={type:"spring",stiffness:500,damping:25,restSpeed:10},mW=(Q)=>({type:"spring",stiffness:550,damping:Q===0?2*Math.sqrt(550):30,restSpeed:10}),pW={type:"keyframes",duration:0.8},lW={type:"keyframes",ease:[0.25,0.1,0.35,1],duration:0.3},e4=(Q,{keyframes:J})=>{if(J.length>2)return pW;else if(D0.has(Q))return Q.startsWith("scale")?mW(J[1]):cW;return lW};var rW=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function QJ(Q){for(let J in Q)if(!rW.has(J))return!0;return!1}var L5=(Q,J,Z,$={},Y,q)=>(X)=>{let H=o5($,Q)||{},z=H.delay||$.delay||0,{elapsed:W=0}=$;W=W-s(z);let K={keyframes:Array.isArray(Z)?Z:[null,Z],ease:"easeOut",velocity:J.getVelocity(),...H,delay:-W,onUpdate:(F)=>{J.set(F),H.onUpdate&&H.onUpdate(F)},onComplete:()=>{X(),H.onComplete&&H.onComplete()},name:Q,motionValue:J,element:q?void 0:Y};if(!QJ(H))Object.assign(K,e4(Q,K));if(K.duration&&(K.duration=s(K.duration)),K.repeatDelay&&(K.repeatDelay=s(K.repeatDelay)),K.from!==void 0)K.keyframes[0]=K.from;let B=!1;if(K.type===!1||K.duration===0&&!K.repeatDelay){if(C6(K),K.delay===0)B=!0}if(W0.instantAnimations||W0.skipAnimations||Y?.shouldSkipAnimations||H.skipAnimations)B=!0,C6(K),K.delay=0;if(K.allowFlatten=!H.type&&!H.ease,B&&!q&&J.get()!==void 0){let F=Z5(K.keyframes,H);if(F!==void 0){C.update(()=>{K.onUpdate(F),K.onComplete()});return}}return H.isSync?new $5(K):new b9(K)};var iW=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function sW(Q){let J=iW.exec(Q);if(!J)return[,];let[,Z,$,Y]=J;return[`--${Z??$}`,Y]}var oW=4;function h9(Q,J,Z=1){Y0(Z<=oW,`Max CSS variable fallback depth detected in property "${Q}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[$,Y]=sW(Q);if(!$)return;let q=window.getComputedStyle(J).getPropertyValue($);if(q){let X=q.trim();return w6(X)?parseFloat(X):X}return m5(Y)?h9(Y,J,Z+1):Y}function JJ(Q){let J=[{},{}];return Q?.values.forEach((Z,$)=>{J[0][$]=Z.get(),J[1][$]=Z.getVelocity()}),J}function I5(Q,J,Z,$){if(typeof J==="function"){let[Y,q]=JJ($);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]=JJ($);J=J(Z!==void 0?Z:Q.custom,Y,q)}return J}function F0(Q,J,Z){let $=Q.getProps();return I5($,J,Z!==void 0?Z:$.custom,Q)}var s1=new Set(["width","height","top","left","right","bottom",...k0]);var x6=(Q)=>{return Array.isArray(Q)};function nW(Q,J,Z){if(Q.hasValue(J))Q.getValue(J).set(Z);else Q.addValue(J,T0(Z))}function aW(Q){return x6(Q)?Q[Q.length-1]||0:Q}function ZJ(Q,J){let Z=F0(Q,J),{transitionEnd:$={},transition:Y={},...q}=Z||{};q={...q,...$};for(let X in q){let H=aW(q[X]);nW(Q,X,H)}}var v=(Q)=>Boolean(Q&&Q.getVelocity);function $J(Q){return Boolean(v(Q)&&Q.add)}function n5(Q,J){let Z=Q.getValue("willChange");if($J(Z))return Z.add(J);else if(!Z&&W0.WillChange){let $=new W0.WillChange("auto");Q.addValue("willChange",$),$.add(J)}}function a5(Q){return Q.replace(/([A-Z])/g,(J)=>`-${J.toLowerCase()}`)}var YJ="framerAppearId",y6="data-"+a5(YJ);function o1(Q){return Q.props[y6]}function tW({protectedKeys:Q,needsAnimating:J},Z){let $=Q.hasOwnProperty(Z)&&J[Z]!==!0;return J[Z]=!1,$}function n1(Q,J,{delay:Z=0,transitionOverride:$,type:Y}={}){let{transition:q,transitionEnd:X,...H}=J,z=Q.getDefaultTransition();q=q?T5(q,z):z;let W=q?.reduceMotion,K=q?.skipAnimations;if($)q=$;let B=[],F=Y&&Q.animationState&&Q.animationState.getState()[Y],w=q?.path;if(w)w.animateVisualElement(Q,H,q,Z,B);for(let O in H){let A=Q.getValue(O,Q.latestValues[O]??null),D=H[O];if(D===void 0||F&&tW(F,O))continue;let _={delay:Z,...o5(q||{},O)};if(K)_.skipAnimations=!0;let N=A.get();if(N!==void 0&&!A.isAnimating()&&!Array.isArray(D)&&D===N&&!_.velocity){C.update(()=>A.set(D));continue}let T=!1;if(window.MotionHandoffAnimation){let j=o1(Q);if(j){let b=window.MotionHandoffAnimation(j,O,C);if(b!==null)_.startTime=b,T=!0}}n5(Q,O);let U=W??Q.shouldReduceMotion;A.start(L5(O,A,D,U&&s1.has(O)?{type:!1}:_,Q,T));let S=A.animation;if(S)B.push(S)}if(X){let O=()=>C.update(()=>{X&&ZJ(Q,X)});if(B.length)Promise.all(B).then(O);else O()}return B}function a1(Q,J,Z={}){let $=F0(Q,J,Z.type==="exit"?Q.presenceContext?.custom:void 0),{transition:Y=Q.getDefaultTransition()||{}}=$||{};if(Z.transitionOverride)Y=Z.transitionOverride;let q=$?()=>Promise.all(n1(Q,$,Z)):()=>Promise.resolve(),X=Q.variantChildren&&Q.variantChildren.size?(z=0)=>{let{delayChildren:W=0,staggerChildren:K,staggerDirection:B}=Y;return eW(Q,J,z,W,K,B,Z)}:()=>Promise.resolve(),{when:H}=Y;if(H){let[z,W]=H==="beforeChildren"?[q,X]:[X,q];return z().then(()=>W())}else return Promise.all([q(),X(Z.delay)])}function eW(Q,J,Z=0,$=0,Y=0,q=1,X){let H=[];for(let z of Q.variantChildren)z.notify("AnimationStart",J),H.push(a1(z,J,{...X,delay:Z+(typeof $==="function"?0:$)+i1(Q.variantChildren,z,$,Y,q)}).then(()=>z.notify("AnimationComplete",J)));return Promise.all(H)}function XJ(Q,J,Z={}){Q.notify("AnimationStart",J);let $;if(Array.isArray(J)){let Y=J.map((q)=>a1(Q,q,Z));$=Promise.all(Y)}else if(typeof J==="string")$=a1(Q,J,Z);else{let Y=typeof J==="function"?F0(Q,J,Z.custom):J;$=Promise.all(n1(Q,Y,Z))}return $.then(()=>{Q.notify("AnimationComplete",J)})}var qJ={test:(Q)=>Q==="auto",parse:(Q)=>Q};var t1=(Q)=>(J)=>J.test(Q);var R9=[P0,L,X0,U0,O9,F9,qJ],C9=(Q)=>R9.find(t1(Q));function HJ(Q){if(typeof Q==="number")return Q===0;else if(Q!==null)return Q==="none"||Q==="0"||D6(Q);else return!0}var Qz=new Set(["brightness","contrast","saturate","opacity"]);function Jz(Q){let[J,Z]=Q.slice(0,-1).split("(");if(J==="drop-shadow")return Q;let[$]=Z.match(p5)||[];if(!$)return Q;let Y=Z.replace($,""),q=Qz.has(J)?1:0;if($!==Z)q*=100;return J+"("+q+Y+")"}var Zz=/\b([a-z-]*)\(.*?\)/gu,f6={...t,getAnimatableNone:(Q)=>{let J=Q.match(Zz);return J?J.map(Jz).join(" "):Q}};var v6={...t,getAnimatableNone:(Q)=>{let J=t.parse(Q);return t.createTransformer(Q)(J.map(($)=>typeof $==="number"?0:typeof $==="object"?{...$,alpha:1}:$))}};var x9={...P0,transform:Math.round};var WJ={rotate:U0,pathRotation:U0,rotateX:U0,rotateY:U0,rotateZ:U0,scale:k6,scaleX:k6,scaleY:k6,scaleZ:k6,skew:U0,skewX:U0,skewY:U0,distance:L,translateX:L,translateY:L,translateZ:L,x:L,y:L,z:L,perspective:L,transformPerspective:L,opacity:y0,originX:h1,originY:h1,originZ:L};var M5={borderWidth:L,borderTopWidth:L,borderRightWidth:L,borderBottomWidth:L,borderLeftWidth:L,borderRadius:L,borderTopLeftRadius:L,borderTopRightRadius:L,borderBottomRightRadius:L,borderBottomLeftRadius:L,width:L,maxWidth:L,height:L,maxHeight:L,top:L,right:L,bottom:L,left:L,inset:L,insetBlock:L,insetBlockStart:L,insetBlockEnd:L,insetInline:L,insetInlineStart:L,insetInlineEnd:L,padding:L,paddingTop:L,paddingRight:L,paddingBottom:L,paddingLeft:L,paddingBlock:L,paddingBlockStart:L,paddingBlockEnd:L,paddingInline:L,paddingInlineStart:L,paddingInlineEnd:L,margin:L,marginTop:L,marginRight:L,marginBottom:L,marginLeft:L,marginBlock:L,marginBlockStart:L,marginBlockEnd:L,marginInline:L,marginInlineStart:L,marginInlineEnd:L,fontSize:L,backgroundPositionX:L,backgroundPositionY:L,...WJ,zIndex:x9,fillOpacity:y0,strokeOpacity:y0,numOctaves:x9};var $z={...M5,color:d,backgroundColor:d,outlineColor:d,fill:d,stroke:d,borderColor:d,borderTopColor:d,borderRightColor:d,borderBottomColor:d,borderLeftColor:d,filter:f6,WebkitFilter:f6,mask:v6,WebkitMask:v6},e1=(Q)=>$z[Q];var Yz=new Set([f6,v6]);function Q8(Q,J){let Z=e1(Q);if(!Yz.has(Z))Z=t;return Z.getAnimatableNone?Z.getAnimatableNone(J):void 0}var Xz=new Set(["auto","none","0"]);function zJ(Q,J,Z){let $=0,Y=void 0;while($<Q.length&&!Y){let q=Q[$];if(typeof q==="string"&&!Xz.has(q)&&J5(q).values.length)Y=Q[$];$++}if(Y&&Z)for(let q of J)Q[q]=Q8(Z,Y)}class y9 extends _5{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 W=0;W<Q.length;W++){let K=Q[W];if(typeof K==="string"){if(K=K.trim(),m5(K)){let B=h9(K,J.current);if(B!==void 0)Q[W]=B;if(W===Q.length-1)this.finalKeyframe=K}}}if(this.resolveNoneKeyframes(),!s1.has(Z)||Q.length!==2)return;let[$,Y]=Q,q=C9($),X=C9(Y),H=G9($),z=G9(Y);if(H!==z&&f0[Z]){this.needsMeasurement=!0;return}if(q===X)return;if(T9(q)&&T9(X))for(let W=0;W<Q.length;W++){let K=Q[W];if(typeof K==="string")Q[W]=parseFloat(K)}else if(f0[Z])this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:Q,name:J}=this,Z=[];for(let $=0;$<Q.length;$++)if(Q[$]===null||HJ(Q[$]))Z.push($);if(Z.length)zJ(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=f0[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]=f0[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 g6=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function J8(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 d6=(Q,J)=>{return J&&typeof Q==="number"?J.transform(Q):Q};function E5(Q){return U6(Q)&&"offsetHeight"in Q&&!("ownerSVGElement"in Q)}var{schedule:P5,cancel:qz}=S1(queueMicrotask,!1);var A0={x:!1,y:!1};function Z8(){return A0.x||A0.y}function f9(Q){if(Q==="x"||Q==="y")if(A0[Q])return null;else return A0[Q]=!0,()=>{A0[Q]=!1};else if(A0.x||A0.y)return null;else return A0.x=A0.y=!0,()=>{A0.x=A0.y=!1}}function $8(Q,J){let Z=J8(Q),$=new AbortController,Y={passive:!0,...J,signal:$.signal};return[Z,Y,()=>$.abort()]}function Hz(Q){return!(Q.pointerType==="touch"||Z8())}function v9(Q,J,Z={}){let[$,Y,q]=$8(Q,Z);return $.forEach((X)=>{let H=!1,z=!1,W,K=()=>{X.removeEventListener("pointerleave",O)},B=(D)=>{if(W)W(D),W=void 0;K()},F=(D)=>{if(H=!1,window.removeEventListener("pointerup",F),window.removeEventListener("pointercancel",F),z)z=!1,B(D)},w=()=>{H=!0,window.addEventListener("pointerup",F,Y),window.addEventListener("pointercancel",F,Y)},O=(D)=>{if(D.pointerType==="touch")return;if(H){z=!0;return}B(D)},A=(D)=>{if(!Hz(D))return;z=!1;let _=J(X,D);if(typeof _!=="function")return;W=_,X.addEventListener("pointerleave",O,Y)};X.addEventListener("pointerenter",A,Y),X.addEventListener("pointerdown",w,Y)}),q}var g9=(Q,J)=>{if(!J)return!1;else if(Q===J)return!0;else return g9(Q,J.parentElement)};var S5=(Q)=>{if(Q.pointerType==="mouse")return typeof Q.button!=="number"||Q.button<=0;else return Q.isPrimary!==!1};var Wz=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function d9(Q){return Wz.has(Q.tagName)||Q.isContentEditable===!0}var zz=new Set(["INPUT","SELECT","TEXTAREA"]);function u9(Q){return zz.has(Q.tagName)||Q.isContentEditable===!0}var t5=new WeakSet;function KJ(Q){return(J)=>{if(J.key!=="Enter")return;Q(J)}}function c9(Q,J){Q.dispatchEvent(new PointerEvent("pointer"+J,{isPrimary:!0,bubbles:!0}))}var GJ=(Q,J)=>{let Z=Q.currentTarget;if(!Z)return;let $=KJ(()=>{if(t5.has(Z))return;c9(Z,"down");let Y=KJ(()=>{c9(Z,"up")}),q=()=>c9(Z,"cancel");Z.addEventListener("keyup",Y,J),Z.addEventListener("blur",q,J)});Z.addEventListener("keydown",$,J),Z.addEventListener("blur",()=>Z.removeEventListener("keydown",$),J)};function BJ(Q){return S5(Q)&&!Z8()}var FJ=new WeakSet;function m9(Q,J,Z={}){let[$,Y,q]=$8(Q,Z),X=(H)=>{let z=H.currentTarget;if(!BJ(H))return;if(FJ.has(H))return;if(t5.add(z),Z.stopPropagation)FJ.add(H);let W=J(z,H),K={...Y,capture:!0},B=(O,A)=>{if(window.removeEventListener("pointerup",F,K),window.removeEventListener("pointercancel",w,K),t5.has(z))t5.delete(z);if(!BJ(O))return;if(typeof W==="function")W(O,{success:A})},F=(O)=>{B(O,z===window||z===document||Z.useGlobalTarget||g9(z,O.target))},w=(O)=>{B(O,!1)};window.addEventListener("pointerup",F,K),window.addEventListener("pointercancel",w,K)};return $.forEach((H)=>{if((Z.useGlobalTarget?window:H).addEventListener("pointerdown",X,Y),E5(H)){if(H.addEventListener("focus",(W)=>GJ(W,Y)),!d9(H)&&!H.hasAttribute("tabindex"))H.tabIndex=0}}),q}function e5(Q){return U6(Q)&&"ownerSVGElement"in Q}var Y8=new WeakMap,X8,OJ=(Q,J,Z)=>($,Y)=>{if(Y&&Y[0])return Y[0][Q+"Size"];else if(e5($)&&"getBBox"in $)return $.getBBox()[J];else return $[Z]},Kz=OJ("inline","width","offsetWidth"),Gz=OJ("block","height","offsetHeight");function Bz({target:Q,borderBoxSize:J}){Y8.get(Q)?.forEach((Z)=>{Z(Q,{get width(){return Kz(Q,J)},get height(){return Gz(Q,J)}})})}function Fz(Q){Q.forEach(Bz)}function Oz(){if(typeof ResizeObserver>"u")return;X8=new ResizeObserver(Fz)}function wJ(Q,J){if(!X8)Oz();let Z=J8(Q);return Z.forEach(($)=>{let Y=Y8.get($);if(!Y)Y=new Set,Y8.set($,Y);Y.add(J),X8?.observe($)}),()=>{Z.forEach(($)=>{let Y=Y8.get($);if(Y?.delete(J),!Y?.size)X8?.unobserve($)})}}var q8=new Set,Q6;function wz(){Q6=()=>{let Q={get width(){return window.innerWidth},get height(){return window.innerHeight}};q8.forEach((J)=>J(Q))},window.addEventListener("resize",Q6)}function UJ(Q){if(q8.add(Q),!Q6)wz();return()=>{if(q8.delete(Q),!q8.size&&typeof Q6==="function")window.removeEventListener("resize",Q6),Q6=void 0}}function H8(Q,J){return typeof Q==="function"?UJ(Q):wJ(Q,J)}var k5={value:null,addProjectionMetrics:null};function DJ(Q){return e5(Q)&&Q.tagName==="svg"}var Uz=[...R9,d,t],AJ=(Q)=>Uz.find(t1(Q));var p9=()=>({translate:0,scale:1,origin:0,originPoint:0}),Y5=()=>({x:p9(),y:p9()}),l9=()=>({min:0,max:0}),u=()=>({x:l9(),y:l9()});var VJ=new WeakMap;function v0(Q){return Q!==null&&typeof Q==="object"&&typeof Q.start==="function"}function j0(Q){return typeof Q==="string"||Array.isArray(Q)}var W8=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],u6=["initial",...W8];function X5(Q){return v0(Q.animate)||u6.some((J)=>j0(Q[J]))}function c6(Q){return Boolean(X5(Q)||Q.variants)}function _J(Q,J,Z){for(let $ in J){let Y=J[$],q=Z[$];if(v(Y))Q.addValue($,Y);else if(v(q))Q.addValue($,T0(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($,T0(X!==void 0?X:Y,{owner:Q}))}}for(let $ in Z)if(J[$]===void 0)Q.removeValue($);return J}var m6={current:null},z8={current:!1};var Dz=typeof window<"u";function NJ(){if(z8.current=!0,!Dz)return;if(window.matchMedia){let Q=window.matchMedia("(prefers-reduced-motion)"),J=()=>m6.current=Q.matches;Q.addEventListener("change",J),J()}else m6.current=!1}var TJ=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],K8={};function p6(Q){K8=Q}function r9(){return K8}class G8{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=_5,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 F=m.now();if(this.renderScheduledAt<F)this.renderScheduledAt=F,C.render(this.render,!1,!0)};let{latestValues:z,renderState:W}=X;if(this.latestValues=z,this.baseTarget={...z},this.initialValues=J.initial?{...z}:{},this.renderState=W,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=X5(J),this.isVariantNode=c6(J),this.isVariantNode)this.variantChildren=new Set;this.manuallyAnimateOnMount=Boolean(Q&&Q.current);let{willChange:K,...B}=this.scrapeMotionValuesFromProps(J,{},this);for(let F in B){let w=B[F];if(z[F]!==void 0&&v(w))w.set(z[F])}}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,VJ.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(!z8.current)NJ();this.shouldReduceMotion=m6.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(),B0(this.notifyUpdate),B0(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&&r1.has(Q)&&this.current instanceof HTMLElement){let{factory:q,keyframes:X,times:H,ease:z,duration:W}=J.accelerate,K=new R6({element:this.current,name:Q,keyframes:X,times:H,ease:z,duration:s(W)}),B=q(K);this.valueSubscriptions.set(Q,()=>{B(),K.cancel()});return}let Z=D0.has(Q);if(Z&&this.onBindTransform)this.onBindTransform();let $=J.on("change",(q)=>{if(this.latestValues[Q]=q,this.props.onUpdate&&C.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()})}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 K8){let J=K8[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):u()}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<TJ.length;Z++){let $=TJ[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=_J(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=T0(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"&&(w6(Z)||D6(Z)))Z=parseFloat(Z);else if(!AJ(Z)&&t.test(J))Z=Q8(Q,J);this.setBaseTarget(Q,v(Z)?Z.get():Z)}return v(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=I5(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&&!v($))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 a0;return this.events[Q].add(J)}notify(Q,...J){if(this.events[Q])this.events[Q].notify(...J)}scheduleRenderMicrotask(){P5.render(this.render)}}class l6 extends G8{constructor(){super(...arguments);this.KeyframeResolver=y9}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(v(Q))this.childSubscription=Q.on("change",(J)=>{if(this.current)this.current.textContent=`${J}`})}}class J0{constructor(Q){this.isMounted=!1,this.node=Q}update(){}}function r6({top:Q,left:J,right:Z,bottom:$}){return{x:{min:J,max:Z},y:{min:Q,max:$}}}function i9({x:Q,y:J}){return{top:J.min,right:Q.max,bottom:J.max,left:Q.min}}function s9(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 o9(Q){return Q===void 0||Q===1}function B8({scale:Q,scaleX:J,scaleY:Z}){return!o9(Q)||!o9(J)||!o9(Z)}function g0(Q){return B8(Q)||n9(Q)||Q.z||Q.rotate||Q.rotateX||Q.rotateY||Q.skewX||Q.skewY}function n9(Q){return LJ(Q.x)||LJ(Q.y)}function LJ(Q){return Q&&Q!=="0%"}function i6(Q,J,Z){let $=Q-Z,Y=J*$;return Z+Y}function IJ(Q,J,Z,$,Y){if(Y!==void 0)Q=i6(Q,Y,$);return i6(Q,Z,$)+J}function a9(Q,J=0,Z=1,$,Y){Q.min=IJ(Q.min,J,Z,$,Y),Q.max=IJ(Q.max,J,Z,$,Y)}function t9(Q,{x:J,y:Z}){a9(Q.x,J.translate,J.scale,J.originPoint),a9(Q.y,Z.translate,Z.scale,Z.originPoint)}var MJ=0.999999999999,EJ=1.0000000000001;function kJ(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:z}=q.options;if(z&&z.props.style&&z.props.style.display==="contents")continue;if($&&q.options.layoutScroll&&q.scroll&&q!==q.root)V0(Q.x,-q.scroll.offset.x),V0(Q.y,-q.scroll.offset.y);if(X)J.x*=X.x.scale,J.y*=X.y.scale,t9(Q,X);if($&&g0(q.latestValues))s6(Q,q.latestValues,q.layout?.layoutBox)}if(J.x<EJ&&J.x>MJ)J.x=1;if(J.y<EJ&&J.y>MJ)J.y=1}function V0(Q,J){Q.min+=J,Q.max+=J}function PJ(Q,J,Z,$,Y=0.5){let q=x(Q.min,Q.max,Y);a9(Q,J,Z,q,$)}function SJ(Q,J){if(typeof Q==="string")return parseFloat(Q)/100*(J.max-J.min);return Q}function s6(Q,J,Z){let $=Z??Q;PJ(Q.x,SJ(J.x,$.x),J.scaleX,J.scale,J.originX),PJ(Q.y,SJ(J.y,$.y),J.scaleY,J.scale,J.originY)}function F8(Q,J){return r6(s9(Q.getBoundingClientRect(),J))}function e9(Q,J,Z){let $=F8(Q,Z),{scroll:Y}=J;if(Y)V0($.x,Y.offset.x),V0($.y,Y.offset.y);return $}var Az={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Vz=k0.length;function jJ(Q,J,Z){let $="",Y=!0;for(let X=0;X<Vz;X++){let H=k0[X],z=Q[H];if(z===void 0)continue;let W=!0;if(typeof z==="number")W=z===(H.startsWith("scale")?1:0);else{let K=parseFloat(z);W=H.startsWith("scale")?K===1:K===0}if(!W||Z){let K=d6(z,M5[H]);if(!W){Y=!1;let B=Az[H]||H;$+=`${B}(${K}) `}if(Z)J[H]=K}}let q=Q.pathRotation;if(q)Y=!1,$+=`rotate(${d6(q,M5.pathRotation)}) `;if($=$.trim(),Z)$=Z(J,Y?"":$);else if(Y)$="none";return $}function j5(Q,J,Z){let{style:$,vars:Y,transformOrigin:q}=Q,X=!1,H=!1;for(let z in J){let W=J[z];if(D0.has(z)){X=!0;continue}else if(j1(z)){Y[z]=W;continue}else{let K=d6(W,M5[z]);if(z.startsWith("origin"))H=!0,q[z]=K;else $[z]=K}}if(!J.transform){if(X||Z)$.transform=jJ(J,Q.transform,Z);else if($.transform)$.transform="none"}if(H){let{originX:z="50%",originY:W="50%",originZ:K=0}=q;$.transformOrigin=`${z} ${W} ${K}`}}function O8(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 bJ(Q,J){if(J.max===J.min)return 0;return Q/(J.max-J.min)*100}var J6={correct:(Q,J)=>{if(!J.target)return Q;if(typeof Q==="string")if(L.test(Q))Q=parseFloat(Q);else return Q;let Z=bJ(Q,J.target.x),$=bJ(Q,J.target.y);return`${Z}% ${$}%`}};var hJ={correct:(Q,{treeScale:J,projectionDelta:Z})=>{let $=Q,Y=t.parse(Q);if(Y.length>5)return $;let q=t.createTransformer(Q),X=typeof Y[0]!=="number"?1:0,H=Z.x.scale*J.x,z=Z.y.scale*J.y;Y[0+X]/=H,Y[1+X]/=z;let W=x(H,z,0.5);if(typeof Y[2+X]==="number")Y[2+X]/=W;if(typeof Y[3+X]==="number")Y[3+X]/=W;return q(Y)}};var o6={borderRadius:{...J6,applyTo:[...g6]},borderTopLeftRadius:J6,borderTopRightRadius:J6,borderBottomLeftRadius:J6,borderBottomRightRadius:J6,boxShadow:hJ};function n6(Q,{layout:J,layoutId:Z}){return D0.has(Q)||Q.startsWith("origin")||(J||Z!==void 0)&&(!!o6[Q]||Q==="opacity")}function b5(Q,J,Z){let $=Q.style,Y=J?.style,q={};if(!$)return q;for(let X in $)if(v($[X])||Y&&v(Y[X])||n6(X,Q)||Z?.getValue(X)?.liveStyle!==void 0)q[X]=$[X];return q}function _z(Q){return window.getComputedStyle(Q)}class w8 extends l6{constructor(){super(...arguments);this.type="html",this.renderInstance=O8}mount(Q){Y0(Boolean(Q.style),"motion.create() components must forward their ref to a HTML or SVG element","custom-component-ref"),super.mount(Q)}readValueFromInstance(Q,J){if(D0.has(J))return this.projection?.isProjecting?d1(J):x4(Q,J);else{let Z=_z(Q),$=(j1(J)?Z.getPropertyValue(J):Z[J])||0;return typeof $==="string"?$.trim():$}}measureInstanceViewportBox(Q,{transformPagePoint:J}){return F8(Q,J)}build(Q,J,Z){j5(Q,J,Z.transformTemplate)}scrapeMotionValuesFromProps(Q,J,Z){return b5(Q,J,Z)}}var Nz={offset:"stroke-dashoffset",array:"stroke-dasharray"},Tz={offset:"strokeDashoffset",array:"strokeDasharray"};function RJ(Q,J,Z=1,$=0,Y=!0){Q.pathLength=1;let q=Y?Nz:Tz;Q[q.offset]=`${-$}`,Q[q.array]=`${J} ${Z}`}var Lz=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function a6(Q,{attrX:J,attrY:Z,attrScale:$,pathLength:Y,pathSpacing:q=1,pathOffset:X=0,...H},z,W,K){if(j5(Q,H,W),z){if(Q.style.viewBox)Q.attrs.viewBox=Q.style.viewBox;return}Q.attrs=Q.style,Q.style={};let{attrs:B,style:F}=Q;if(B.transform)F.transform=B.transform,delete B.transform;if(F.transform||B.transformOrigin)F.transformOrigin=B.transformOrigin??"50% 50%",delete B.transformOrigin;if(F.transform)F.transformBox=K?.transformBox??"fill-box",delete B.transformBox;for(let w of Lz)if(B[w]!==void 0)F[w]=B[w],delete B[w];if(J!==void 0)B.x=J;if(Z!==void 0)B.y=Z;if($!==void 0)B.scale=$;if(Y!==void 0)RJ(B,Y,q,X,!1)}var U8=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 t6=(Q)=>typeof Q==="string"&&Q.toLowerCase()==="svg";function CJ(Q,J,Z,$){O8(Q,J,void 0,$);for(let Y in J.attrs)Q.setAttribute(!U8.has(Y)?a5(Y):Y,J.attrs[Y])}function e6(Q,J,Z){let $=b5(Q,J,Z);for(let Y in Q)if(v(Q[Y])||v(J[Y])){let q=k0.indexOf(Y)!==-1?"attr"+Y.charAt(0).toUpperCase()+Y.substring(1):Y;$[q]=Q[Y]}return $}class D8 extends l6{constructor(){super(...arguments);this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=u}getBaseTargetFromProps(Q,J){return Q[J]}readValueFromInstance(Q,J){if(D0.has(J)){let Z=e1(J);return Z?Z.default||0:0}return J=!U8.has(J)?a5(J):J,Q.getAttribute(J)}scrapeMotionValuesFromProps(Q,J,Z){return e6(Q,J,Z)}build(Q,J,Z){a6(Q,J,this.isSVGTag,Z.transformTemplate,Z.style)}renderInstance(Q,J,Z,$){CJ(Q,J,Z,$)}mount(Q){this.isSVGTag=t6(Q.tagName),super.mount(Q)}}var Iz=u6.length;function Q7(Q){if(!Q)return;if(!Q.isControllingVariants){let Z=Q.parent?Q7(Q.parent)||{}:{};if(Q.props.initial!==void 0)Z.initial=Q.props.initial;return Z}let J={};for(let Z=0;Z<Iz;Z++){let $=u6[Z],Y=Q.props[$];if(j0(Y)||Y===!1)J[$]=Y}return J}function J7(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 Mz=[...W8].reverse(),Ez=W8.length;function Pz(Q){return(J)=>{return Promise.all(J.map(({animation:Z,options:$})=>XJ(Q,Z,$)))}}function Z7(Q){let J=Pz(Q),Z=xJ(),$=!0,Y=!1,q=(W)=>(K,B)=>{let F=F0(Q,B,W==="exit"?Q.presenceContext?.custom:void 0);if(F){let{transition:w,transitionEnd:O,...A}=F;K={...K,...A,...O}}return K};function X(W){J=W(Q)}function H(W){let{props:K}=Q,B=Q7(Q.parent)||{},F=[],w=new Set,O={},A=1/0;for(let _=0;_<Ez;_++){let N=Mz[_],T=Z[N],U=K[N]!==void 0?K[N]:B[N],S=j0(U),j=N===W?T.isActive:null;if(j===!1)A=_;let b=U===B[N]&&U!==K[N]&&S;if(b&&($||Y)&&Q.manuallyAnimateOnMount)b=!1;if(T.protectedKeys={...O},!T.isActive&&j===null||!U&&!T.prevProp||v0(U)||typeof U==="boolean")continue;if(N==="exit"&&T.isActive&&j!==!0){if(T.prevResolvedValues)O={...O,...T.prevResolvedValues};continue}let V=yJ(T.prevProp,U),k=V||N===W&&T.isActive&&!b&&S||_>A&&S,h=!1,f=Array.isArray(U)?U:[U],g=f.reduce(q(N),{});if(j===!1)g={};let{prevResolvedValues:K0={}}=T,G0={...K0,...g},Z0=(i)=>{if(k=!0,w.has(i))h=!0,w.delete(i);T.needsAnimating[i]=!0;let $0=Q.getValue(i);if($0)$0.liveStyle=!1};for(let i in G0){let $0=g[i],E=K0[i];if(O.hasOwnProperty(i))continue;let h0=!1;if(x6($0)&&x6(E))h0=!J7($0,E)||V;else h0=$0!==E;if(h0)if($0!==void 0&&$0!==null)Z0(i);else w.add(i);else if($0!==void 0&&w.has(i))Z0(i);else T.protectedKeys[i]=!0}if(T.prevProp=U,T.prevResolvedValues=g,T.isActive)O={...O,...g};if(($||Y)&&Q.blockInitialAnimation)k=!1;let l=b&&V;if(k&&(!l||h))F.push(...f.map((i)=>{let $0={type:N};if(typeof i==="string"&&($||Y)&&!l&&Q.manuallyAnimateOnMount&&Q.parent){let{parent:E}=Q,h0=F0(E,i);if(E.enteringChildren&&h0){let{delayChildren:H1}=h0.transition||{};$0.delay=i1(E.enteringChildren,Q,H1)}}return{animation:i,options:$0}}))}if(w.size){let _={};if(typeof K.initial!=="boolean"){let N=F0(Q,Array.isArray(K.initial)?K.initial[0]:K.initial);if(N&&N.transition)_.transition=N.transition}w.forEach((N)=>{let T=Q.getBaseTarget(N),U=Q.getValue(N);if(U)U.liveStyle=!0;_[N]=T??null}),F.push({animation:_})}let D=Boolean(F.length);if($&&(K.initial===!1||K.initial===K.animate)&&!Q.manuallyAnimateOnMount)D=!1;return $=!1,Y=!1,D?J(F):Promise.resolve()}function z(W,K){if(Z[W].isActive===K)return Promise.resolve();Q.variantChildren?.forEach((F)=>F.animationState?.setActive(W,K)),Z[W].isActive=K;let B=H(W);for(let F in Z)Z[F].protectedKeys={};return B}return{animateChanges:H,setActive:z,setAnimateFunction:X,getState:()=>Z,reset:()=>{Z=xJ(),Y=!0}}}function yJ(Q,J){if(typeof J==="string")return J!==Q;else if(Array.isArray(J))return!J7(J,Q);return!1}function h5(Q=!1){return{isActive:Q,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function xJ(){return{animate:h5(!0),whileInView:h5(),whileHover:h5(),whileTap:h5(),whileDrag:h5(),whileFocus:h5(),exit:h5()}}function A8(Q,J){Q.min=J.min,Q.max=J.max}function _0(Q,J){A8(Q.x,J.x),A8(Q.y,J.y)}function $7(Q,J){Q.translate=J.translate,Q.scale=J.scale,Q.originPoint=J.originPoint,Q.origin=J.origin}var fJ=0.0001,Sz=1-fJ,kz=1+fJ,vJ=0.01,jz=0-vJ,bz=0+vJ;function o(Q){return Q.max-Q.min}function H7(Q,J,Z){return Math.abs(Q-J)<=Z}function Y7(Q,J,Z,$=0.5){if(Q.origin=$,Q.originPoint=x(J.min,J.max,Q.origin),Q.scale=o(Z)/o(J),Q.translate=x(Z.min,Z.max,Q.origin)-Q.originPoint,Q.scale>=Sz&&Q.scale<=kz||isNaN(Q.scale))Q.scale=1;if(Q.translate>=jz&&Q.translate<=bz||isNaN(Q.translate))Q.translate=0}function R5(Q,J,Z,$){Y7(Q.x,J.x,Z.x,$?$.originX:void 0),Y7(Q.y,J.y,Z.y,$?$.originY:void 0)}function X7(Q,J,Z,$=0){let Y=$?x(Z.min,Z.max,$):Z.min;Q.min=Y+J.min,Q.max=Q.min+o(J)}function W7(Q,J,Z,$){X7(Q.x,J.x,Z.x,$?.x),X7(Q.y,J.y,Z.y,$?.y)}function q7(Q,J,Z,$=0){let Y=$?x(Z.min,Z.max,$):Z.min;Q.min=J.min-Y,Q.max=Q.min+o(J)}function Z6(Q,J,Z,$){q7(Q.x,J.x,Z.x,$?.x),q7(Q.y,J.y,Z.y,$?.y)}function gJ(Q,J,Z,$,Y){if(Q-=J,Q=i6(Q,1/Z,$),Y!==void 0)Q=i6(Q,1/Y,$);return Q}function hz(Q,J=0,Z=1,$=0.5,Y,q=Q,X=Q){if(X0.test(J))J=parseFloat(J),J=x(X.min,X.max,J/100)-X.min;if(typeof J!=="number")return;let H=x(q.min,q.max,$);if(Q===q)H-=J;Q.min=gJ(Q.min,J,Z,H,Y),Q.max=gJ(Q.max,J,Z,H,Y)}function dJ(Q,J,[Z,$,Y],q,X){hz(Q,J[Z],J[$],J[Y],J.scale,q,X)}var Rz=["x","scaleX","originX"],Cz=["y","scaleY","originY"];function z7(Q,J,Z,$){dJ(Q.x,J,Rz,Z?Z.x:void 0,$?$.x:void 0),dJ(Q.y,J,Cz,Z?Z.y:void 0,$?$.y:void 0)}function uJ(Q){return Q.translate===0&&Q.scale===1}function K7(Q){return uJ(Q.x)&&uJ(Q.y)}function cJ(Q,J){return Q.min===J.min&&Q.max===J.max}function pJ(Q,J){return cJ(Q.x,J.x)&&cJ(Q.y,J.y)}function mJ(Q,J){return Math.round(Q.min)===Math.round(J.min)&&Math.round(Q.max)===Math.round(J.max)}function G7(Q,J){return mJ(Q.x,J.x)&&mJ(Q.y,J.y)}function B7(Q){return o(Q.x)/o(Q.y)}function F7(Q,J){return Q.translate===J.translate&&Q.scale===J.scale&&Q.originPoint===J.originPoint}function O0(Q){return[Q("x"),Q("y")]}function lJ(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:W,rotate:K,pathRotation:B,rotateX:F,rotateY:w,skewX:O,skewY:A}=Z;if(W)$=`perspective(${W}px) ${$}`;if(K)$+=`rotate(${K}deg) `;if(B)$+=`rotate(${B}deg) `;if(F)$+=`rotateX(${F}deg) `;if(w)$+=`rotateY(${w}deg) `;if(O)$+=`skewX(${O}deg) `;if(A)$+=`skewY(${A}deg) `}let H=Q.x.scale*J.x,z=Q.y.scale*J.y;if(H!==1||z!==1)$+=`scale(${H}, ${z})`;return $||"none"}var xz=g6.length,rJ=(Q)=>typeof Q==="string"?parseFloat(Q):Q,iJ=(Q)=>typeof Q==="number"||L.test(Q);function oJ(Q,J,Z,$,Y,q){if(Y)Q.opacity=x(0,Z.opacity??1,yz($)),Q.opacityExit=x(J.opacity??1,0,fz($));else if(q)Q.opacity=x(J.opacity??1,Z.opacity??1,$);for(let X=0;X<xz;X++){let H=g6[X],z=sJ(J,H),W=sJ(Z,H);if(z===void 0&&W===void 0)continue;if(z||(z=0),W||(W=0),z===0||W===0||iJ(z)===iJ(W)){if(Q[H]=Math.max(x(rJ(z),rJ(W),$),0),X0.test(W)||X0.test(z))Q[H]+="%"}else Q[H]=W}if(J.rotate||Z.rotate)Q.rotate=x(J.rotate||0,Z.rotate||0,$)}function sJ(Q,J){return Q[J]!==void 0?Q[J]:Q.borderRadius}var yz=nJ(0,0.5,L6),fz=nJ(0.5,0.95,c);function nJ(Q,J,Z){return($)=>{if($<Q)return 0;if($>J)return 1;return Z(E0(Q,J,$))}}function aJ(Q,J,Z){let $=v(Q)?Q:T0(Q);return $.start(L5("",$,J,Z)),$.animation}function b0(Q,J,Z,$={passive:!0}){return Q.addEventListener(J,Z,$),()=>Q.removeEventListener(J,Z,$)}var tJ=(Q,J)=>Q.depth-J.depth;class O7{constructor(){this.children=[],this.isDirty=!1}add(Q){w5(this.children,Q),this.isDirty=!0}remove(Q){n0(this.children,Q),this.isDirty=!0}forEach(Q){this.isDirty&&this.children.sort(tJ),this.isDirty=!1,this.children.forEach(Q)}}function eJ(Q,J){let Z=m.now(),$=({timestamp:Y})=>{let q=Y-Z;if(q>=J)B0($),Q(q-J)};return C.setup($,!0),()=>B0($)}function C5(Q){return v(Q)?Q.get():Q}class w7{constructor(){this.members=[]}add(Q){w5(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)n0(this.members,Z),Z.unmount()}Q.scheduleRender()}remove(Q){if(n0(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 x5={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var y5={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},U7=["","X","Y","Z"],vz=1000,gz=0;function D7(Q,J,Z,$){let{latestValues:Y}=J;if(Y[Q]){if(Z[Q]=Y[Q],J.setStaticValue(Q,0),$)$[Q]=0}}function WZ(Q){if(Q.hasCheckedOptimisedAppear=!0,Q.root===Q)return;let{visualElement:J}=Q.options;if(!J)return;let Z=o1(J);if(window.MotionHasOptimisedAnimation(Z,"transform")){let{layout:Y,layoutId:q}=Q.options;window.MotionCancelOptimisedAnimation(Z,"transform",C,!(Y||q))}let{parent:$}=Q;if($&&!$.hasCheckedOptimisedAppear)WZ($)}function V8({attachResizeListener:Q,defaultParent:J,measureScroll:Z,checkIsScrollRoot:$,resetTransform:Y}){return class{constructor(X={},H=J?.()){this.id=gz++,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,k5.value)y5.nodes=y5.calculatedTargetDeltas=y5.calculatedProjections=0;if(this.nodes.forEach(cz),this.nodes.forEach(sz),this.nodes.forEach(oz),this.nodes.forEach(mz),k5.addProjectionMetrics)k5.addProjectionMetrics(y5)},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 z=0;z<this.path.length;z++)this.path[z].shouldResetTransform=!0;if(this.root===this)this.nodes=new O7}addEventListener(X,H){if(!this.eventHandlers.has(X))this.eventHandlers.set(X,new a0);return this.eventHandlers.get(X).add(H)}notifyListeners(X,...H){let z=this.eventHandlers.get(X);z&&z.notify(...H)}hasListeners(X){return this.eventHandlers.has(X)}mount(X){if(this.instance)return;this.isSVG=e5(X)&&!DJ(X),this.instance=X;let{layoutId:H,layout:z,visualElement:W}=this.options;if(W&&!W.current)W.mount(X);if(this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(z||H))this.isLayoutDirty=!0;if(Q){let K,B=0,F=()=>this.root.updateBlockedByResize=!1;C.read(()=>{B=window.innerWidth}),Q(X,()=>{let w=window.innerWidth;if(w===B)return;if(B=w,this.root.updateBlockedByResize=!0,K&&K(),K=eJ(F,250),x5.hasAnimatedSinceResize)x5.hasAnimatedSinceResize=!1,this.nodes.forEach(ZZ)})}if(H)this.root.registerSharedNode(H,this);if(this.options.animate!==!1&&W&&(H||z))this.addEventListener("didUpdate",({delta:K,hasLayoutChanged:B,hasRelativeLayoutChanged:F,layout:w})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let O=this.options.transition||W.getDefaultTransition()||QK,{onLayoutAnimationStart:A,onLayoutAnimationComplete:D}=W.getProps(),_=!this.targetLayout||!G7(this.targetLayout,w),N=!B&&F;if(this.options.layoutRoot||this.resumeFrom||N||B&&(_||!this.currentAnimation)){if(this.resumeFrom)this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0;let T={...o5(O,"layout"),onPlay:A,onComplete:D};if(W.shouldReduceMotion||this.options.layoutRoot)T.delay=0,T.type=!1;this.startAnimation(T),this.setAnimationOrigin(K,N,T.path)}else{if(!B)ZZ(this);if(this.isLead()&&this.options.onExitComplete)this.options.onExitComplete()}this.targetLayout=w})}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(),B0(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(nz),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)WZ(this);if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let K=0;K<this.path.length;K++){let B=this.path[K];if(B.shouldResetTransform=!0,typeof B.latestValues.x==="string"||typeof B.latestValues.y==="string")B.isLayoutDirty=!0;if(B.updateScroll("snapshot"),B.options.layoutRoot)B.willUpdate(!1)}let{layoutId:H,layout:z}=this.options;if(H===void 0&&!z)return;let W=this.getTransformTemplate();this.prevTransformTemplateValue=W?W(this.latestValues,""):void 0,this.updateSnapshot(),X&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let z=this.updateBlockedByResize;if(this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),z)this.nodes.forEach(lz);this.nodes.forEach(QZ);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(JZ);return}if(this.animationCommitId=this.animationId,!this.isUpdating)this.nodes.forEach(JZ);else this.isUpdating=!1,this.nodes.forEach(rz),this.nodes.forEach(iz),this.nodes.forEach(dz),this.nodes.forEach(uz);this.clearAllSnapshots();let H=m.now();r.delta=a(0,16.666666666666668,H-r.timestamp),r.timestamp=H,r.isProcessing=!0,S6.update.process(r),S6.preRender.process(r),S6.render.process(r),r.isProcessing=!1}didUpdate(){if(!this.updateScheduled)this.updateScheduled=!0,P5.read(this.scheduleUpdate)}clearAllSnapshots(){this.nodes.forEach(pz),this.sharedNodes.forEach(az)}scheduleUpdateProjection(){if(!this.projectionUpdateScheduled)this.projectionUpdateScheduled=!0,C.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){C.postRender(()=>{if(this.isLayoutDirty)this.root.didUpdate();else this.root.checkUpdateFailed()})}updateSnapshot(){if(this.snapshot||!this.instance)return;if(this.snapshot=this.measure(),this.snapshot&&!o(this.snapshot.measuredBox.x)&&!o(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 z=0;z<this.path.length;z++)this.path[z].updateScroll();let X=this.layout;if(this.layout=this.measure(!1),this.layoutVersion++,!this.layoutCorrected)this.layoutCorrected=u();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 z=$(this.instance);this.scroll={animationId:this.root.animationId,phase:X,isRoot:z,offset:Z(this.instance),wasRoot:this.scroll?this.scroll.isRoot:z}}}resetTransform(){if(!Y)return;let X=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,H=this.projectionDelta&&!K7(this.projectionDelta),z=this.getTransformTemplate(),W=z?z(this.latestValues,""):void 0,K=W!==this.prevTransformTemplateValue;if(X&&this.instance&&(H||g0(this.latestValues)||K))Y(this.instance,W),this.shouldResetTransform=!1,this.scheduleRender()}measure(X=!0){let H=this.measurePageBox(),z=this.removeElementScroll(H);if(X)z=this.removeTransform(z);return JK(z),{animationId:this.root.animationId,measuredBox:H,layoutBox:z,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:X}=this.options;if(!X)return u();let H=X.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(ZK))){let{scroll:W}=this.root;if(W)V0(H.x,W.offset.x),V0(H.y,W.offset.y)}return H}removeElementScroll(X){let H=u();if(_0(H,X),this.scroll?.wasRoot)return H;for(let z=0;z<this.path.length;z++){let W=this.path[z],{scroll:K,options:B}=W;if(W!==this.root&&K&&B.layoutScroll){if(K.wasRoot)_0(H,X);V0(H.x,K.offset.x),V0(H.y,K.offset.y)}}return H}applyTransform(X,H=!1,z){let W=z||u();_0(W,X);for(let K=0;K<this.path.length;K++){let B=this.path[K];if(!H&&B.options.layoutScroll&&B.scroll&&B!==B.root)V0(W.x,-B.scroll.offset.x),V0(W.y,-B.scroll.offset.y);if(!g0(B.latestValues))continue;s6(W,B.latestValues,B.layout?.layoutBox)}if(g0(this.latestValues))s6(W,this.latestValues,this.layout?.layoutBox);return W}removeTransform(X){let H=u();_0(H,X);for(let z=0;z<this.path.length;z++){let W=this.path[z];if(!g0(W.latestValues))continue;let K;if(W.instance)B8(W.latestValues)&&W.updateSnapshot(),K=u(),_0(K,W.measurePageBox());z7(H,W.latestValues,W.snapshot?.layoutBox,K)}if(g0(this.latestValues))z7(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!==r.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 z=Boolean(this.resumingFrom)||this!==H;if(!(X||z&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:K,layoutId:B}=this.options;if(!this.layout||!(K||B))return;this.resolvedRelativeTargetAt=r.timestamp;let F=this.getClosestProjectingParent();if(F&&this.linkedParentVersion!==F.layoutVersion&&!F.options.layoutRoot)this.removeRelativeTarget();if(!this.targetDelta&&!this.relativeTarget)if(this.options.layoutAnchor!==!1&&F&&F.layout)this.createRelativeTarget(F,this.layout.layoutBox,F.layout.layoutBox);else this.removeRelativeTarget();if(!this.relativeTarget&&!this.targetDelta)return;if(!this.target)this.target=u(),this.targetWithTransforms=u();if(this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)this.forceRelativeParentToResolveTarget(),W7(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0);else if(this.targetDelta){if(Boolean(this.resumingFrom))this.applyTransform(this.layout.layoutBox,!1,this.target);else _0(this.target,this.layout.layoutBox);t9(this.target,this.targetDelta)}else _0(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget)if(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&F&&Boolean(F.resumingFrom)===Boolean(this.resumingFrom)&&!F.options.layoutScroll&&F.target&&this.animationProgress!==1)this.createRelativeTarget(F,this.target,F.target);else this.relativeParent=this.relativeTarget=void 0;if(k5.value)y5.calculatedTargetDeltas++}getClosestProjectingParent(){if(!this.parent||B8(this.parent.latestValues)||n9(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,z){this.relativeParent=X,this.linkedParentVersion=X.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=u(),this.relativeTargetOrigin=u(),Z6(this.relativeTargetOrigin,H,z,this.options.layoutAnchor||void 0),_0(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let X=this.getLead(),H=Boolean(this.resumingFrom)||this!==X,z=!0;if(this.isProjectionDirty||this.parent?.isProjectionDirty)z=!1;if(H&&(this.isSharedProjectionDirty||this.isTransformDirty))z=!1;if(this.resolvedRelativeTargetAt===r.timestamp)z=!1;if(z)return;let{layout:W,layoutId:K}=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||!(W||K))return;_0(this.layoutCorrected,this.layout.layoutBox);let B=this.treeScale.x,F=this.treeScale.y;if(kJ(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=u();let{target:w}=X;if(!w){if(this.prevProjectionDelta)this.createProjectionDeltas(),this.scheduleRender();return}if(!this.projectionDelta||!this.prevProjectionDelta)this.createProjectionDeltas();else $7(this.prevProjectionDelta.x,this.projectionDelta.x),$7(this.prevProjectionDelta.y,this.projectionDelta.y);if(R5(this.projectionDelta,this.layoutCorrected,w,this.latestValues),this.treeScale.x!==B||this.treeScale.y!==F||!F7(this.projectionDelta.x,this.prevProjectionDelta.x)||!F7(this.projectionDelta.y,this.prevProjectionDelta.y))this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",w);if(k5.value)y5.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=Y5(),this.projectionDelta=Y5(),this.projectionDeltaWithTransform=Y5()}setAnimationOrigin(X,H=!1,z){let W=this.snapshot,K=W?W.latestValues:{},B={...this.latestValues},F=Y5();if(!this.relativeParent||!this.relativeParent.options.layoutRoot)this.relativeTarget=this.relativeTargetOrigin=void 0;this.attemptToResolveRelativeTarget=!H;let w=u(),O=W?W.source:void 0,A=this.layout?this.layout.source:void 0,D=O!==A,_=this.getStack(),N=!_||_.members.length<=1,T=Boolean(D&&!N&&this.options.crossfade===!0&&!this.path.some(ez));this.animationProgress=0;let U,S=z?.interpolateProjection(X);this.mixTargetDelta=(j)=>{let b=j/1000,V=S?.(b);if(V)F.x.translate=V.x,F.x.scale=x(X.x.scale,1,b),F.x.origin=X.x.origin,F.x.originPoint=X.x.originPoint,F.y.translate=V.y,F.y.scale=x(X.y.scale,1,b),F.y.origin=X.y.origin,F.y.originPoint=X.y.originPoint;else $Z(F.x,X.x,b),$Z(F.y,X.y,b);if(this.setTargetDelta(F),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){if(Z6(w,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),tz(this.relativeTarget,this.relativeTargetOrigin,w,b),U&&pJ(this.relativeTarget,U))this.isProjectionDirty=!1;if(!U)U=u();_0(U,this.relativeTarget)}if(D)this.animationValues=B,oJ(B,K,this.latestValues,b,T,N);if(V&&V.rotate!==void 0){if(!this.animationValues)this.animationValues=B;this.animationValues.pathRotation=V.rotate}this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=b},this.mixTargetDelta(this.options.layoutRoot?1000:0)}startAnimation(X){if(this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation)B0(this.pendingAnimation),this.pendingAnimation=void 0;this.pendingAnimation=C.update(()=>{if(x5.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=T0(0)),this.motionValue.jump(0,!1),this.currentAnimation=aJ(this.motionValue,[0,1000],{...X,velocity:0,isSync:!0,onUpdate:(H)=>{this.mixTargetDelta(H),X.onUpdate&&X.onUpdate(H)},onComplete:()=>{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(vz),this.currentAnimation.stop();this.completeAnimation()}applyTransformsToTarget(){let X=this.getLead(),{targetWithTransforms:H,target:z,layout:W,latestValues:K}=X;if(!H||!z||!W)return;if(this!==X&&this.layout&&W&&zZ(this.options.animationType,this.layout.layoutBox,W.layoutBox)){z=this.target||u();let B=o(this.layout.layoutBox.x);z.x.min=X.target.x.min,z.x.max=z.x.min+B;let F=o(this.layout.layoutBox.y);z.y.min=X.target.y.min,z.y.max=z.y.min+F}_0(H,z),s6(H,K),R5(this.projectionDeltaWithTransform,this.layoutCorrected,H,K)}registerSharedNode(X,H){if(!this.sharedNodes.has(X))this.sharedNodes.set(X,new w7);this.sharedNodes.get(X).add(H);let W=H.options.initialPromotionConfig;H.promote({transition:W?W.transition:void 0,preserveFollowOpacity:W&&W.shouldPreserveFollowOpacity?W.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:z}={}){let W=this.getStack();if(W)W.promote(this,z);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:z}=X;if(z.z||z.rotate||z.rotateX||z.rotateY||z.rotateZ||z.skewX||z.skewY)H=!0;if(!H)return;let W={};if(z.z)D7("z",X,W,this.animationValues);for(let K=0;K<U7.length;K++)D7(`rotate${U7[K]}`,X,W,this.animationValues),D7(`skew${U7[K]}`,X,W,this.animationValues);X.render();for(let K in W)if(X.setStaticValue(K,W[K]),this.animationValues)this.animationValues[K]=W[K];X.scheduleRender()}applyProjectionStyles(X,H){if(!this.instance||this.isSVG)return;if(!this.isVisible){X.visibility="hidden";return}let z=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,X.visibility="",X.opacity="",X.pointerEvents=C5(H?.pointerEvents)||"",X.transform=z?z(this.latestValues,""):"none";return}let W=this.getLead();if(!this.projectionDelta||!this.layout||!W.target){if(this.options.layoutId)X.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,X.pointerEvents=C5(H?.pointerEvents)||"";if(this.hasProjected&&!g0(this.latestValues))X.transform=z?z({},""):"none",this.hasProjected=!1;return}X.visibility="";let K=W.animationValues||W.latestValues;this.applyTransformsToTarget();let B=lJ(this.projectionDeltaWithTransform,this.treeScale,K);if(z)B=z(K,B);X.transform=B;let{x:F,y:w}=this.projectionDelta;if(X.transformOrigin=`${F.origin*100}% ${w.origin*100}% 0`,W.animationValues)X.opacity=W===this?K.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:K.opacityExit;else X.opacity=W===this?K.opacity!==void 0?K.opacity:"":K.opacityExit!==void 0?K.opacityExit:0;for(let O in o6){if(K[O]===void 0)continue;let{correct:A,applyTo:D,isCSSVariable:_}=o6[O],N=B==="none"?K[O]:A(K[O],W);if(D){let T=D.length;for(let U=0;U<T;U++)X[D[U]]=N}else if(_)this.options.visualElement.renderState.vars[O]=N;else X[O]=N}if(this.options.layoutId)X.pointerEvents=W===this?C5(H?.pointerEvents)||"":"none"}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((X)=>X.currentAnimation?.stop()),this.root.nodes.forEach(QZ),this.root.sharedNodes.clear()}}}function dz(Q){Q.updateLayout()}function uz(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")O0((K)=>{let B=q?J.measuredBox[K]:J.layoutBox[K],F=o(B);B.min=Z[K].min,B.max=B.min+F});else if(Y==="x"||Y==="y"){let K=Y==="x"?"y":"x";A8(q?J.measuredBox[K]:J.layoutBox[K],Z[K])}else if(zZ(Y,J.layoutBox,Z))O0((K)=>{let B=q?J.measuredBox[K]:J.layoutBox[K],F=o(Z[K]);if(B.max=B.min+F,Q.relativeTarget&&!Q.currentAnimation)Q.isProjectionDirty=!0,Q.relativeTarget[K].max=Q.relativeTarget[K].min+F});let X=Y5();R5(X,Z,J.layoutBox);let H=Y5();if(q)R5(H,Q.applyTransform($,!0),J.measuredBox);else R5(H,Z,J.layoutBox);let z=!K7(X),W=!1;if(!Q.resumeFrom){let K=Q.getClosestProjectingParent();if(K&&!K.resumeFrom){let{snapshot:B,layout:F}=K;if(B&&F){let w=Q.options.layoutAnchor||void 0,O=u();Z6(O,J.layoutBox,B.layoutBox,w);let A=u();if(Z6(A,Z,F.layoutBox,w),!G7(O,A))W=!0;if(K.options.layoutRoot)Q.relativeTarget=A,Q.relativeTargetOrigin=O,Q.relativeParent=K}}}Q.notifyListeners("didUpdate",{layout:Z,snapshot:J,delta:H,layoutDelta:X,hasLayoutChanged:z,hasRelativeLayoutChanged:W})}else if(Q.isLead()){let{onExitComplete:Z}=Q.options;Z&&Z()}Q.options.transition=void 0}function cz(Q){if(k5.value)y5.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 mz(Q){Q.isProjectionDirty=Q.isSharedProjectionDirty=Q.isTransformDirty=!1}function pz(Q){Q.clearSnapshot()}function QZ(Q){Q.clearMeasurements()}function lz(Q){Q.isLayoutDirty=!0,Q.updateLayout()}function JZ(Q){Q.isLayoutDirty=!1}function rz(Q){if(Q.isAnimationBlocked&&Q.layout&&!Q.isLayoutDirty)Q.snapshot=Q.layout,Q.isLayoutDirty=!0}function iz(Q){let{visualElement:J}=Q.options;if(J&&J.getProps().onBeforeLayoutMeasure)J.notify("BeforeLayoutMeasure");Q.resetTransform()}function ZZ(Q){Q.finishAnimation(),Q.targetDelta=Q.relativeTarget=Q.target=void 0,Q.isProjectionDirty=!0}function sz(Q){Q.resolveTargetDelta()}function oz(Q){Q.calcProjection()}function nz(Q){Q.resetSkewAndRotation()}function az(Q){Q.removeLeadSnapshot()}function $Z(Q,J,Z){Q.translate=x(J.translate,0,Z),Q.scale=x(J.scale,1,Z),Q.origin=J.origin,Q.originPoint=J.originPoint}function YZ(Q,J,Z,$){Q.min=x(J.min,Z.min,$),Q.max=x(J.max,Z.max,$)}function tz(Q,J,Z,$){YZ(Q.x,J.x,Z.x,$),YZ(Q.y,J.y,Z.y,$)}function ez(Q){return Q.animationValues&&Q.animationValues.opacityExit!==void 0}var QK={duration:0.45,ease:[0.4,0,0.1,1]},XZ=(Q)=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(Q),qZ=XZ("applewebkit/")&&!XZ("chrome/")?Math.round:c;function HZ(Q){Q.min=qZ(Q.min),Q.max=qZ(Q.max)}function JK(Q){HZ(Q.x),HZ(Q.y)}function zZ(Q,J,Z){return Q==="position"||Q==="preserve-aspect"&&!H7(B7(J),B7(Z),0.2)}function ZK(Q){return Q!==Q.root&&Q.scroll?.wasRoot}var KZ=V8({attachResizeListener:(Q,J)=>b0(Q,"resize",J),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0});var $K=(Q)=>!Q.isLayoutDirty&&Q.willUpdate(!1);function _8(){let Q=new Set,J=new WeakMap,Z=()=>Q.forEach($K);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 N8={current:void 0},Q1=V8({measureScroll:(Q)=>({x:Q.scrollLeft,y:Q.scrollTop}),defaultParent:()=>{if(!N8.current){let Q=new KZ({});Q.mount(window),Q.setOptions({layoutScroll:!0}),N8.current=Q}return N8.current},resetTransform:(Q,J)=>{Q.style.transform=J!==void 0?J:"none"},checkIsScrollRoot:(Q)=>Boolean(window.getComputedStyle(Q).position==="fixed")});var T8=P(R(),1),u0=P(R(),1);var GZ=P(R(),1),d0=GZ.createContext({transformPagePoint:(Q)=>Q,isStatic:!1,reducedMotion:"never"});var FZ=P(R(),1);function BZ(Q,J){if(typeof Q==="function")return Q(J);else if(Q!==null&&Q!==void 0)Q.current=J}function YK(...Q){return(J)=>{let Z=!1,$=Q.map((Y)=>{let q=BZ(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 BZ(Q[Y],null)}}}}function OZ(...Q){return FZ.useCallback(YK(...Q),Q)}class UZ extends T8.Component{getSnapshotBeforeUpdate(Q){let J=this.props.childRef.current;if(E5(J)&&Q.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let Z=J.offsetParent,$=E5(Z)?Z.offsetWidth||0:0,Y=E5(Z)?Z.offsetHeight||0:0,q=getComputedStyle(J),X=this.props.sizeRef.current;X.height=parseFloat(q.height),X.width=parseFloat(q.width),X.top=J.offsetTop,X.left=J.offsetLeft,X.right=$-X.width-X.left,X.bottom=Y-X.height-X.top,X.direction=q.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function DZ({children:Q,isPresent:J,anchorX:Z,anchorY:$,root:Y,pop:q}){let X=u0.useId(),H=u0.useRef(null),z=u0.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:W}=u0.useContext(d0),K=q!==!1?Q.props?.ref??Q?.ref:void 0,B=OZ(H,K);return u0.useInsertionEffect(()=>{let{width:F,height:w,top:O,left:A,right:D,bottom:_,direction:N}=z.current;if(J||q===!1||!H.current||!F||!w)return;let T=N==="rtl",U=Z==="left"?T?`right: ${D}`:`left: ${A}`:T?`left: ${A}`:`right: ${D}`,S=$==="bottom"?`bottom: ${_}`:`top: ${O}`;H.current.dataset.motionPopId=X;let j=document.createElement("style");if(W)j.nonce=W;let b=Y??document.head;if(b.appendChild(j),j.sheet)j.sheet.insertRule(`
|
|
2
|
-
[data-motion-pop-id="${X}"] {
|
|
3
|
-
position: absolute !important;
|
|
4
|
-
width: ${F}px !important;
|
|
5
|
-
height: ${w}px !important;
|
|
6
|
-
${U}px !important;
|
|
7
|
-
${S}px !important;
|
|
8
|
-
}
|
|
9
|
-
`);return()=>{if(H.current?.removeAttribute("data-motion-pop-id"),b.contains(j))b.removeChild(j)}},[J]),wZ.jsx(UZ,{isPresent:J,childRef:H,sizeRef:z,pop:q,children:q===!1?Q:T8.cloneElement(Q,{ref:B})})}var VZ=({children:Q,initial:J,isPresent:Z,onExitComplete:$,custom:Y,presenceAffectsLayout:q,mode:X,anchorX:H,anchorY:z,root:W})=>{let K=i0(XK),B=q5.useId(),F=q5.useRef(Z),w=q5.useRef($);s0(()=>{F.current=Z,w.current=$});let O=!0,A=q5.useMemo(()=>{return O=!1,{id:B,initial:J,isPresent:Z,custom:Y,onExitComplete:(D)=>{K.set(D,!0);for(let _ of K.values())if(!_)return;$&&$()},register:(D)=>{return K.set(D,!1),()=>{K.delete(D),!F.current&&!K.size&&w.current?.()}}}},[Z,K,$]);if(q&&O)A={...A};return q5.useMemo(()=>{K.forEach((D,_)=>K.set(_,!1))},[Z]),AZ.useEffect(()=>{!Z&&!K.size&&$&&$()},[Z]),Q=A7.jsx(DZ,{pop:X==="popLayout",isPresent:Z,anchorX:H,anchorY:z,root:W,children:Q}),A7.jsx(o0.Provider,{value:A,children:Q})};function XK(){return new Map}var H5=P(R(),1);function L8(Q=!0){let J=H5.useContext(o0);if(J===null)return[!0,null];let{isPresent:Z,onExitComplete:$,register:Y}=J,q=H5.useId();H5.useEffect(()=>{if(Q)return Y(q)},[Q]);let X=H5.useCallback(()=>Q&&$&&$(q),[q,$,Q]);return!Z&&$?[!1,X]:[!0]}var I8=P(R(),1),J1=(Q)=>Q.key||"";function V7(Q){let J=[];return I8.Children.forEach(Q,(Z)=>{if(I8.isValidElement(Z))J.push(Z)}),J}var qK=({children:Q,custom:J,initial:Z=!0,onExitComplete:$,presenceAffectsLayout:Y=!0,mode:q="sync",propagate:X=!1,anchorX:H="left",anchorY:z="top",root:W})=>{let[K,B]=L8(X),F=L0.useMemo(()=>V7(Q),[Q]),w=X&&!K?[]:F.map(J1),O=L0.useRef(!0),A=L0.useRef(F),D=i0(()=>new Map),_=L0.useRef(new Set),[N,T]=L0.useState(F),[U,S]=L0.useState(F);s0(()=>{O.current=!1,A.current=F;for(let V=0;V<U.length;V++){let k=J1(U[V]);if(!w.includes(k)){if(D.get(k)!==!0)D.set(k,!1)}else D.delete(k),_.current.delete(k)}},[U,w.length,w.join("-")]);let j=[];if(F!==N){let V=[...F];for(let k=0;k<U.length;k++){let h=U[k],f=J1(h);if(!w.includes(f))V.splice(k,0,h),j.push(h)}if(q==="wait"&&j.length)V=j;return S(V7(V)),T(F),null}let{forceRender:b}=L0.useContext(x0);return Z1.jsx(Z1.Fragment,{children:U.map((V)=>{let k=J1(V),h=X&&!K?!1:F===U||w.includes(k),f=()=>{if(_.current.has(k))return;if(D.has(k))_.current.add(k),D.set(k,!0);else return;let g=!0;if(D.forEach((K0)=>{if(!K0)g=!1}),g)b?.(),S(A.current),X&&B?.(),$&&$()};return Z1.jsx(VZ,{isPresent:h,initial:!O.current||Z?void 0:!1,custom:J,presenceAffectsLayout:Y,mode:q,root:W,onExitComplete:h?void 0:f,anchorX:H,anchorY:z,children:V},k)})})};var MZ=P(w0(),1),f5=P(R(),1);var _Z=P(R(),1),NZ=_Z.createContext(null);var $1=P(R(),1);var TZ=P(R(),1);function LZ(){let Q=TZ.useRef(!1);return s0(()=>{return Q.current=!0,()=>{Q.current=!1}},[]),Q}function IZ(){let Q=LZ(),[J,Z]=$1.useState(0),$=$1.useCallback(()=>{Q.current&&Z(J+1)},[J]);return[$1.useCallback(()=>C.postRender($),[$]),J]}var EZ=(Q)=>Q===!0,HK=(Q)=>EZ(Q===!0)||Q==="id",WK=({children:Q,id:J,inherit:Z=!0})=>{let $=f5.useContext(x0),Y=f5.useContext(NZ),[q,X]=IZ(),H=f5.useRef(null),z=$.id||Y;if(H.current===null){if(HK(Z)&&z)J=J?z+"-"+J:z;H.current={id:J,group:EZ(Z)?$.group||_8():_8()}}let W=f5.useMemo(()=>({...H.current,forceRender:q}),[X]);return MZ.jsx(x0.Provider,{value:W,children:Q})};var PZ=P(R(),1),M8=PZ.createContext({strict:!1});var SZ={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"]},kZ=!1;function zK(){if(kZ)return;let Q={};for(let J in SZ)Q[J]={isEnabled:(Z)=>SZ[J].some(($)=>!!Z[$])};p6(Q),kZ=!0}function E8(){return zK(),r9()}function jZ(Q){let J=E8();for(let Z in Q)J[Z]={...J[Z],...Q[Z]};p6(J)}var CZ=P(w0(),1),P8=P(R(),1);var KK=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 Y1(Q){return Q.startsWith("while")||Q.startsWith("drag")&&Q!=="draggable"||Q.startsWith("layout")||Q.startsWith("onTap")||Q.startsWith("onPan")||Q.startsWith("onLayout")||KK.has(Q)}var hZ=(Q)=>!Y1(Q);function _7(Q){if(typeof Q!=="function")return;hZ=(J)=>J.startsWith("on")?!Y1(J):Q(J)}try{let Q="@emotion/is-prop-valid";_7(bZ(Q).default)}catch{}function RZ(Q,J,Z){let $={};for(let Y in Q){if(Y==="values"&&typeof Q.values==="object")continue;if(v(Q[Y]))continue;if(hZ(Y)||Z===!0&&Y1(Y)||!J&&!Y1(Y)||Q.draggable&&Y.startsWith("onDrag"))$[Y]=Q[Y]}return $}function GK({children:Q,isValidProp:J,...Z}){J&&_7(J);let $=P8.useContext(d0);Z={...$,...Z},Z.transition=T5(Z.transition,$.transition),Z.isStatic=i0(()=>Z.isStatic);let Y=P8.useMemo(()=>Z,[JSON.stringify(Z.transition),Z.transformPagePoint,Z.reducedMotion,Z.skipAnimations]);return CZ.jsx(d0.Provider,{value:Y,children:Q})}var h8=P(w0(),1);var q6=P(R(),1);var xZ=P(R(),1),W5=xZ.createContext({});var S8=P(R(),1);function yZ(Q,J){if(X5(Q)){let{initial:Z,animate:$}=Q;return{initial:Z===!1||j0(Z)?Z:void 0,animate:j0($)?$:void 0}}return Q.inherit!==!1?J:{}}function vZ(Q){let{initial:J,animate:Z}=yZ(Q,S8.useContext(W5));return S8.useMemo(()=>({initial:J,animate:Z}),[fZ(J),fZ(Z)])}function fZ(Q){return Array.isArray(Q)?Q.join(" "):Q}var X6=P(R(),1);var gZ=P(R(),1);var $6=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function N7(Q,J,Z){for(let $ in J)if(!v(J[$])&&!n6($,Z))Q[$]=J[$]}function BK({transformTemplate:Q},J){return gZ.useMemo(()=>{let Z=$6();return j5(Z,J,Q),Object.assign({},Z.vars,Z.style)},[J])}function FK(Q,J){let Z=Q.style||{},$={};return N7($,Z,Q),Object.assign($,BK(Q,J)),$}function dZ(Q,J){let Z={},$=FK(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 uZ=P(R(),1);var k8=()=>({...$6(),attrs:{}});function cZ(Q,J,Z,$){let Y=uZ.useMemo(()=>{let q=k8();return a6(q,J,t6($),Q.transformTemplate,Q.style),{...q.attrs,style:{...q.style}}},[J]);if(Q.style){let q={};N7(q,Q.style,Q),Y.style={...q,...Y.style}}return Y}var mZ=["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 Y6(Q){if(typeof Q!=="string"||Q.includes("-"))return!1;else if(mZ.indexOf(Q)>-1||/[A-Z]/u.test(Q))return!0;return!1}function pZ(Q,J,Z,{latestValues:$},Y,q=!1,X){let z=(X??Y6(Q)?cZ:dZ)(J,$,Y,Q),W=RZ(J,typeof Q==="string",q),K=Q!==X6.Fragment?{...W,...z,ref:Z}:{},{children:B}=J,F=X6.useMemo(()=>v(B)?B.get():B,[B]);return X6.createElement(Q,{...K,children:F})}var T7=P(R(),1);function OK({scrapeMotionValuesFromProps:Q,createRenderState:J},Z,$,Y){return{latestValues:wK(Z,$,Y,Q),renderState:J()}}function wK(Q,J,Z,$){let Y={},q=$(Q,{});for(let F in q)Y[F]=C5(q[F]);let{initial:X,animate:H}=Q,z=X5(Q),W=c6(Q);if(J&&W&&!z&&Q.inherit!==!1){if(X===void 0)X=J.initial;if(H===void 0)H=J.animate}let K=Z?Z.initial===!1:!1;K=K||X===!1;let B=K?H:X;if(B&&typeof B!=="boolean"&&!v0(B)){let F=Array.isArray(B)?B:[B];for(let w=0;w<F.length;w++){let O=I5(Q,F[w]);if(O){let{transitionEnd:A,transition:D,..._}=O;for(let N in _){let T=_[N];if(Array.isArray(T)){let U=K?T.length-1:0;T=T[U]}if(T!==null)Y[N]=T}for(let N in A)Y[N]=A[N]}}}return Y}var j8=(Q)=>(J,Z)=>{let $=T7.useContext(W5),Y=T7.useContext(o0),q=()=>OK(Q,J,$,Y);return Z?q():i0(q)};var lZ=j8({scrapeMotionValuesFromProps:b5,createRenderState:$6});var rZ=j8({scrapeMotionValuesFromProps:e6,createRenderState:k8});var iZ=Symbol.for("motionComponentSymbol");var v5=P(R(),1);function sZ(Q,J,Z){let $=v5.useRef(Z);v5.useInsertionEffect(()=>{$.current=Z});let Y=v5.useRef(null);return v5.useCallback((q)=>{if(q)Q.onMount?.(q);if(J)q?J.mount(q):J.unmount();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},[J])}var z0=P(R(),1);var oZ=P(R(),1),b8=oZ.createContext({});function z5(Q){return Q&&typeof Q==="object"&&Object.prototype.hasOwnProperty.call(Q,"current")}function nZ(Q,J,Z,$,Y,q){let{visualElement:X}=z0.useContext(W5),H=z0.useContext(M8),z=z0.useContext(o0),W=z0.useContext(d0),K=W.reducedMotion,B=W.skipAnimations,F=z0.useRef(null),w=z0.useRef(!1);if($=$||H.renderer,!F.current&&$){if(F.current=$(Q,{visualState:J,parent:X,props:Z,presenceContext:z,blockInitialAnimation:z?z.initial===!1:!1,reducedMotionConfig:K,skipAnimations:B,isSVG:q}),w.current&&F.current)F.current.manuallyAnimateOnMount=!0}let O=F.current,A=z0.useContext(b8);if(O&&!O.projection&&Y&&(O.type==="html"||O.type==="svg"))UK(F.current,Z,Y,A);let D=z0.useRef(!1);z0.useInsertionEffect(()=>{if(O&&D.current)O.update(Z,z)});let _=Z[y6],N=z0.useRef(Boolean(_)&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(_)&&window.MotionHasOptimisedAnimation?.(_));return s0(()=>{if(w.current=!0,!O)return;if(D.current=!0,window.MotionIsMounted=!0,O.updateFeatures(),O.scheduleRenderMicrotask(),N.current&&O.animationState)O.animationState.animateChanges()}),z0.useEffect(()=>{if(!O)return;if(!N.current&&O.animationState)O.animationState.animateChanges();if(N.current)queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(_)}),N.current=!1;O.enteringChildren=void 0}),O}function UK(Q,J,Z,$){let{layoutId:Y,layout:q,drag:X,dragConstraints:H,layoutScroll:z,layoutRoot:W,layoutAnchor:K,layoutCrossfade:B}=J;Q.projection=new Z(Q.latestValues,J["data-framer-portal-id"]?void 0:aZ(Q.parent)),Q.projection.setOptions({layoutId:Y,layout:q,alwaysMeasureLayout:Boolean(X)||H&&z5(H),visualElement:Q,animationType:typeof q==="string"?q:"both",initialPromotionConfig:$,crossfade:B,layoutScroll:z,layoutRoot:W,layoutAnchor:K})}function aZ(Q){if(!Q)return;return Q.options.allowProjection!==!1?Q.projection:aZ(Q.parent)}function R8(Q,{forwardMotionProps:J=!1,type:Z}={},$,Y){$&&jZ($);let q=Z?Z==="svg":Y6(Q),X=q?rZ:lZ;function H(W,K){let B,F={...q6.useContext(d0),...W,layoutId:DK(W)},{isStatic:w}=F,O=vZ(W),A=X(W,w);if(!w&&typeof window<"u"){AK(F,$);let D=VK(F);B=D.MeasureLayout,O.visualElement=nZ(Q,A,F,Y,D.ProjectionNode,q)}return h8.jsxs(W5.Provider,{value:O,children:[B&&O.visualElement?h8.jsx(B,{visualElement:O.visualElement,...F}):null,pZ(Q,W,sZ(A,O.visualElement,K),A,w,J,q)]})}H.displayName=`motion.${typeof Q==="string"?Q:`create(${Q.displayName??Q.name??""})`}`;let z=q6.forwardRef(H);return z[iZ]=Q,z}function DK({layoutId:Q}){let J=q6.useContext(x0).id;return J&&Q!==void 0?J+"-"+Q:Q}function AK(Q,J){let Z=q6.useContext(M8).strict}function VK(Q){let J=E8(),{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 tZ(Q,J){if(typeof Proxy>"u")return R8;let Z=new Map,$=(q,X)=>{return R8(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,R8(X,void 0,Q,J));return Z.get(X)}})}var eZ=P(R(),1);var Q$=(Q,J)=>{return J.isSVG??Y6(Q)?new D8(J):new w8(J,{allowProjection:Q!==eZ.Fragment})};class L7 extends J0{constructor(Q){super(Q);Q.animationState||(Q.animationState=Z7(Q))}updateAnimationControlsSubscription(){let{animate:Q}=this.node.getProps();if(v0(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 _K=0;class I7 extends J0{constructor(){super(...arguments);this.id=_K++,this.isExitComplete=!1}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;if(Q&&Z===!1){if(this.isExitComplete){let{initial:Y,custom:q}=this.node.getProps();if(typeof Y==="string"||typeof Y==="object"&&Y!==null&&!Array.isArray(Y)){let X=F0(this.node,Y,q);if(X){let{transition:H,transitionEnd:z,...W}=X;for(let K in W)this.node.getValue(K)?.jump(W[K])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let $=this.node.animationState.setActive("exit",!Q);if(J&&!Q)$.then(()=>{this.isExitComplete=!0,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 J$={animation:{Feature:L7},exit:{Feature:I7}};function c0(Q){return{point:{x:Q.pageX,y:Q.pageY}}}var Z$=(Q)=>(J)=>S5(J)&&Q(J,c0(J));function K5(Q,J,Z,$){return b0(Q,J,Z$(Z),$)}var C8=({current:Q})=>{return Q?Q.ownerDocument.defaultView:null};var $$=(Q,J)=>Math.abs(Q-J);function Y$(Q,J){let Z=$$(Q.x,J.x),$=$$(Q.y,J.y);return Math.sqrt(Z**2+$**2)}var X$=new Set(["auto","scroll"]);class X1{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.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=(w)=>{this.handleScroll(w.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;if(this.lastRawMoveEventInfo)this.lastMoveEventInfo=x8(this.lastRawMoveEventInfo,this.transformPagePoint);let w=M7(this.lastMoveEventInfo,this.history),O=this.startEvent!==null,A=Y$(w.offset,{x:0,y:0})>=this.distanceThreshold;if(!O&&!A)return;let{point:D}=w,{timestamp:_}=r;this.history.push({...D,timestamp:_});let{onStart:N,onMove:T}=this.handlers;if(!O)N&&N(this.lastMoveEvent,w),this.startEvent=this.lastMoveEvent;T&&T(this.lastMoveEvent,w)},this.handlePointerMove=(w,O)=>{this.lastMoveEvent=w,this.lastRawMoveEventInfo=O,this.lastMoveEventInfo=x8(O,this.transformPagePoint),C.update(this.updatePoint,!0)},this.handlePointerUp=(w,O)=>{this.end();let{onEnd:A,onSessionEnd:D,resumeAnimation:_}=this.handlers;if(this.dragSnapToOrigin||!this.startEvent)_&&_();if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let N=M7(w.type==="pointercancel"?this.lastMoveEventInfo:x8(O,this.transformPagePoint),this.history);if(this.startEvent&&A)A(w,N);D&&D(w,N)},!S5(Q))return;this.dragSnapToOrigin=Y,this.handlers=J,this.transformPagePoint=Z,this.distanceThreshold=q,this.contextWindow=$||window;let H=c0(Q),z=x8(H,this.transformPagePoint),{point:W}=z,{timestamp:K}=r;this.history=[{...W,timestamp:K}];let{onSessionStart:B}=J;B&&B(Q,M7(z,this.history));let F={passive:!0,capture:!0};if(this.removeListeners=N0(K5(this.contextWindow,"pointermove",this.handlePointerMove,F),K5(this.contextWindow,"pointerup",this.handlePointerUp,F),K5(this.contextWindow,"pointercancel",this.handlePointerUp,F)),X)this.startScrollTracking(X)}startScrollTracking(Q){let J=Q.parentElement;while(J){let Z=getComputedStyle(J);if(X$.has(Z.overflowX)||X$.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,$),C.update(this.updatePoint,!0)}updateHandlers(Q){this.handlers=Q}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),B0(this.updatePoint)}}function x8(Q,J){return J?{point:J(Q.point)}:Q}function q$(Q,J){return{x:Q.x-J.x,y:Q.y-J.y}}function M7({point:Q},J){return{point:Q,delta:q$(Q,H$(J)),offset:q$(Q,NK(J)),velocity:TK(J,0.1)}}function NK(Q){return Q[0]}function H$(Q){return Q[Q.length-1]}function TK(Q,J){if(Q.length<2)return{x:0,y:0};let Z=Q.length-1,$=null,Y=H$(Q);while(Z>=0){if($=Q[Z],Y.timestamp-$.timestamp>s(J))break;Z--}if(!$)return{x:0,y:0};if($===Q[0]&&Q.length>2&&Y.timestamp-$.timestamp>s(J)*2)$=Q[1];let q=Q0(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 B$(Q,{min:J,max:Z},$){if(J!==void 0&&Q<J)Q=$?x(J,Q,$.min):Math.max(Q,J);else if(Z!==void 0&&Q>Z)Q=$?x(Z,Q,$.max):Math.min(Q,Z);return Q}function W$(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 F$(Q,{top:J,left:Z,bottom:$,right:Y}){return{x:W$(Q.x,Z,Y),y:W$(Q.y,J,$)}}function z$(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 O$(Q,J){return{x:z$(Q.x,J.x),y:z$(Q.y,J.y)}}function w$(Q,J){let Z=0.5,$=o(Q),Y=o(J);if(Y>$)Z=E0(J.min,J.max-$,Q.min);else if($>Y)Z=E0(Q.min,Q.max-Y,J.min);return a(0,1,Z)}function U$(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 y8=0.35;function D$(Q=y8){if(Q===!1)Q=0;else if(Q===!0)Q=y8;return{x:K$(Q,"left","right"),y:K$(Q,"top","bottom")}}function K$(Q,J,Z){return{min:G$(Q,J),max:G$(Q,Z)}}function G$(Q,J){return typeof Q==="number"?Q:Q[J]||0}var LK=new WeakMap;class E7{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=u(),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=(K)=>{if(J)this.snapToCursor(c0(K).point);this.stopAnimation()},q=(K,B)=>{let{drag:F,dragPropagation:w,onDragStart:O}=this.getProps();if(F&&!w){if(this.openDragLock)this.openDragLock();if(this.openDragLock=f9(F),!this.openDragLock)return}if(this.latestPointerEvent=K,this.latestPanInfo=B,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection)this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0;if(O0((D)=>{let _=this.getAxisMotionValue(D).get()||0;if(X0.test(_)){let{projection:N}=this.visualElement;if(N&&N.layout){let T=N.layout.layoutBox[D];if(T)_=o(T)*(parseFloat(_)/100)}}this.originPoint[D]=_}),O)C.update(()=>O(K,B),!1,!0);n5(this.visualElement,"transform");let{animationState:A}=this.visualElement;A&&A.setActive("whileDrag",!0)},X=(K,B)=>{this.latestPointerEvent=K,this.latestPanInfo=B;let{dragPropagation:F,dragDirectionLock:w,onDirectionLock:O,onDrag:A}=this.getProps();if(!F&&!this.openDragLock)return;let{offset:D}=B;if(w&&this.currentDirection===null){if(this.currentDirection=MK(D),this.currentDirection!==null)O&&O(this.currentDirection);return}if(this.updateAxis("x",B.point,D),this.updateAxis("y",B.point,D),this.visualElement.render(),A)C.update(()=>A(K,B),!1,!0)},H=(K,B)=>{this.latestPointerEvent=K,this.latestPanInfo=B,this.stop(K,B),this.latestPointerEvent=null,this.latestPanInfo=null},z=()=>{let{dragSnapToOrigin:K}=this.getProps();if(K||this.constraints)this.startAnimation({x:0,y:0})},{dragSnapToOrigin:W}=this.getProps();this.panSession=new X1(Q,{onSessionStart:Y,onStart:q,onMove:X,onSessionEnd:H,resumeAnimation:z},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:W,distanceThreshold:Z,contextWindow:C8(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)C.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||!f8(Q,$,this.currentDirection))return;let Y=this.getAxisMotionValue(Q),q=this.originPoint[Q]+Z[Q];if(this.constraints&&this.constraints[Q])q=B$(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&&z5(Q)){if(!this.constraints)this.constraints=this.resolveRefConstraints()}else if(Q&&Z)this.constraints=F$(Z.layoutBox,Q);else this.constraints=!1;if(this.elastic=D$(J),$!==this.constraints&&!z5(Q)&&Z&&this.constraints&&!this.hasMutatedConstraints)O0((Y)=>{if(this.constraints!==!1&&this.getAxisMotionValue(Y))this.constraints[Y]=U$(Z.layoutBox[Y],this.constraints[Y])})}resolveRefConstraints(){let{dragConstraints:Q,onMeasureDragConstraints:J}=this.getProps();if(!Q||!z5(Q))return!1;let Z=Q.current;Y0(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;if($.root)$.root.scroll=void 0,$.root.updateScroll();let Y=e9(Z,$.root,this.visualElement.getTransformPagePoint()),q=O$($.layout.layoutBox,Y);if(J){let X=J(i9(q));if(this.hasMutatedConstraints=!!X,X)q=r6(X)}return q}startAnimation(Q){let{drag:J,dragMomentum:Z,dragElastic:$,dragTransition:Y,dragSnapToOrigin:q,onDragTransitionEnd:X}=this.getProps(),H=this.constraints||{},z=O0((W)=>{if(!f8(W,J,this.currentDirection))return;let K=H&&H[W]||{};if(q===!0||q===W)K={min:0,max:0};let B=$?200:1e6,F=$?40:1e7,w={type:"inertia",velocity:Z?Q[W]:0,bounceStiffness:B,bounceDamping:F,timeConstant:750,restDelta:1,restSpeed:10,...Y,...K};return this.startAxisValueAnimation(W,w)});return Promise.all(z).then(X)}startAxisValueAnimation(Q,J){let Z=this.getAxisMotionValue(Q);return n5(this.visualElement,Q),Z.start(L5(Q,Z,0,J,this.visualElement,!1))}stopAnimation(){O0((Q)=>this.getAxisMotionValue(Q).stop())}getAxisMotionValue(Q){let J=`_drag${Q.toUpperCase()}`,$=this.visualElement.getProps()[J];return $?$:this.visualElement.getValue(Q,this.visualElement.latestValues[Q]??0)}snapToCursor(Q){O0((J)=>{let{drag:Z}=this.getProps();if(!f8(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]-x(q,X,0.5)+H)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:Q,dragConstraints:J}=this.getProps(),{projection:Z}=this.visualElement;if(!z5(J)||!Z||!this.constraints)return;this.stopAnimation();let $={x:0,y:0};O0((q)=>{let X=this.getAxisMotionValue(q);if(X&&this.constraints!==!1){let H=X.get();$[q]=w$({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(),O0((q)=>{if(!f8(q,Q,null))return;let X=this.getAxisMotionValue(q),{min:H,max:z}=this.constraints[q];X.set(x(H,z,$[q]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;LK.set(this.visualElement,this);let Q=this.visualElement.current,J=K5(Q,"pointerdown",(z)=>{let{drag:W,dragListener:K=!0}=this.getProps(),B=z.target,F=B!==Q&&u9(B);if(W&&K&&!F)this.start(z)}),Z,$=()=>{let{dragConstraints:z}=this.getProps();if(z5(z)&&z.current){if(this.constraints=this.resolveRefConstraints(),!Z)Z=IK(Q,z.current,()=>this.scalePositionWithinConstraints())}},{projection:Y}=this.visualElement,q=Y.addEventListener("measure",$);if(Y&&!Y.layout)Y.root&&Y.root.updateScroll(),Y.updateLayout();C.read($);let X=b0(window,"resize",()=>this.scalePositionWithinConstraints()),H=Y.addEventListener("didUpdate",({delta:z,hasLayoutChanged:W})=>{if(this.isDragging&&W)O0((K)=>{let B=this.getAxisMotionValue(K);if(!B)return;this.originPoint[K]+=z[K].translate,B.set(B.get()+z[K].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=y8,dragMomentum:X=!0}=Q;return{...Q,drag:J,dragDirectionLock:Z,dragPropagation:$,dragConstraints:Y,dragElastic:q,dragMomentum:X}}}function A$(Q){let J=!0;return()=>{if(J){J=!1;return}Q()}}function IK(Q,J,Z){let $=H8(Q,A$(Z)),Y=H8(J,A$(Z));return()=>{$(),Y()}}function f8(Q,J,Z){return(J===!0||J===Q)&&(Z===null||Z===Q)}function MK(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 P7 extends J0{constructor(Q){super(Q);this.removeGroupControls=c,this.removeListeners=c,this.controls=new E7(Q)}mount(){let{dragControls:Q}=this.node.getProps();if(Q)this.removeGroupControls=Q.subscribe(this.controls);this.removeListeners=this.controls.addListeners()||c}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 S7=(Q)=>(J,Z)=>{if(Q)C.update(()=>Q(J,Z),!1,!0)};class k7 extends J0{constructor(){super(...arguments);this.removePointerDownListener=c}onPointerDown(Q){this.session=new X1(Q,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:C8(this.node)})}createPanHandlers(){let{onPanSessionStart:Q,onPanStart:J,onPan:Z,onPanEnd:$}=this.node.getProps();return{onSessionStart:S7(Q),onStart:S7(J),onMove:S7(Z),onEnd:(Y,q)=>{if(delete this.session,$)C.postRender(()=>$(Y,q))}}}mount(){this.removePointerDownListener=K5(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 V$=P(w0(),1);var q1=P(R(),1);var j7=!1;class _$ extends q1.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(j7)Y.root.didUpdate();Y.addEventListener("animationComplete",()=>{this.safeToRemove()}),Y.setOptions({...Y.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})}x5.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(j7=!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())C.postRender(()=>{let X=q.getStack();if(!X||!X.members.length)this.safeToRemove()})}return null}componentDidUpdate(){let{visualElement:Q,layoutAnchor:J}=this.props,{projection:Z}=Q;if(Z)Z.options.layoutAnchor=J,Z.root.didUpdate(),P5.postRender(()=>{if(!Z.currentAnimation&&Z.isLead())this.safeToRemove()})}componentWillUnmount(){let{visualElement:Q,layoutGroup:J,switchLayoutGroup:Z}=this.props,{projection:$}=Q;if(j7=!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 v8(Q){let[J,Z]=L8(),$=q1.useContext(x0);return V$.jsx(_$,{...Q,layoutGroup:$,switchLayoutGroup:q1.useContext(b8),isPresent:J,safeToRemove:Z})}var N$={pan:{Feature:k7},drag:{Feature:P7,ProjectionNode:Q1,MeasureLayout:v8}};function T$(Q,J,Z){let{props:$}=Q;if(Q.animationState&&$.whileHover)Q.animationState.setActive("whileHover",Z==="Start");let Y="onHover"+Z,q=$[Y];if(q)C.postRender(()=>q(J,c0(J)))}class b7 extends J0{mount(){let{current:Q}=this.node;if(!Q)return;this.unmount=v9(Q,(J,Z)=>{return T$(this.node,Z,"Start"),($)=>T$(this.node,$,"End")})}unmount(){}}class h7 extends J0{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=N0(b0(this.node.current,"focus",()=>this.onFocus()),b0(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function L$(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)C.postRender(()=>q(J,c0(J)))}class R7 extends J0{mount(){let{current:Q}=this.node;if(!Q)return;let{globalTapTarget:J,propagate:Z}=this.node.props;this.unmount=m9(Q,($,Y)=>{return L$(this.node,Y,"Start"),(q,{success:X})=>L$(this.node,q,X?"End":"Cancel")},{useGlobalTarget:J,stopPropagation:Z?.tap===!1})}unmount(){}}var x7=new WeakMap,C7=new WeakMap,EK=(Q)=>{let J=x7.get(Q.target);J&&J(Q)},PK=(Q)=>{Q.forEach(EK)};function SK({root:Q,...J}){let Z=Q||document;if(!C7.has(Z))C7.set(Z,{});let $=C7.get(Z),Y=JSON.stringify(J);if(!$[Y])$[Y]=new IntersectionObserver(PK,{root:Q,...J});return $[Y]}function I$(Q,J,Z){let $=SK(J);return x7.set(Q,Z),$.observe(Q),()=>{x7.delete(Q),$.unobserve(Q)}}var kK={some:0,all:1};class y7 extends J0{constructor(){super(...arguments);this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();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"?$:kK[$]},X=(H)=>{let{isIntersecting:z}=H;if(this.isInView===z)return;if(this.isInView=z,Y&&!z&&this.hasEnteredView)return;else if(z)this.hasEnteredView=!0;if(this.node.animationState)this.node.animationState.setActive("whileInView",z);let{onViewportEnter:W,onViewportLeave:K}=this.node.getProps(),B=z?W:K;B&&B(H)};this.stopObserver=I$(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(jK(Q,J)))this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function jK({viewport:Q={}},{viewport:J={}}={}){return(Z)=>Q[Z]!==J[Z]}var M$={inView:{Feature:y7},tap:{Feature:R7},focus:{Feature:h7},hover:{Feature:b7}};var E$={layout:{ProjectionNode:Q1,MeasureLayout:v8}};var P$={...J$,...M$,...N$,...E$};var f7=tZ(P$,Q$);var LX1=f7;function hK(Q,J){let Z;try{Z=Q()}catch(Y){return}return{getItem:(Y)=>{var q;let X=(z)=>{if(z===null)return null;return JSON.parse(z,J==null?void 0:J.reviver)},H=(q=Z.getItem(Y))!=null?q:null;if(H instanceof Promise)return H.then(X);return X(H)},setItem:(Y,q)=>Z.setItem(Y,JSON.stringify(q,J==null?void 0:J.replacer)),removeItem:(Y)=>Z.removeItem(Y)}}var v7=(Q)=>(J)=>{try{let Z=Q(J);if(Z instanceof Promise)return Z;return{then($){return v7($)(Z)},catch($){return this}}}catch(Z){return{then($){return this},catch($){return v7($)(Z)}}}},RK=(Q,J)=>(Z,$,Y)=>{let q={storage:hK(()=>window.localStorage),partialize:(D)=>D,version:0,merge:(D,_)=>({..._,...D}),...J},X=!1,H=0,z=new Set,W=new Set,K=q.storage;if(!K)return Q((...D)=>{console.warn(`[zustand persist middleware] Unable to update item '${q.name}', the given storage is currently unavailable.`),Z(...D)},$,Y);let B=()=>{let D=q.partialize({...$()});return K.setItem(q.name,{state:D,version:q.version})},F=Y.setState;Y.setState=(D,_)=>{return F(D,_),B()};let w=Q((...D)=>{return Z(...D),B()},$,Y);Y.getInitialState=()=>w;let O,A=()=>{var D,_;if(!K)return;let N=++H;X=!1,z.forEach((U)=>{var S;return U((S=$())!=null?S:w)});let T=((_=q.onRehydrateStorage)==null?void 0:_.call(q,(D=$())!=null?D:w))||void 0;return v7(K.getItem.bind(K))(q.name).then((U)=>{if(U)if(typeof U.version==="number"&&U.version!==q.version){if(q.migrate){let S=q.migrate(U.state,U.version);if(S instanceof Promise)return S.then((j)=>[!0,j]);return[!0,S]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,U.state];return[!1,void 0]}).then((U)=>{var S;if(N!==H)return;let[j,b]=U;if(O=q.merge(b,(S=$())!=null?S:w),Z(O,!0),j)return B()}).then(()=>{if(N!==H)return;T==null||T($(),void 0),O=$(),X=!0,W.forEach((U)=>U(O))}).catch((U)=>{if(N!==H)return;T==null||T(void 0,U)})};if(Y.persist={setOptions:(D)=>{if(q={...q,...D},D.storage)K=D.storage},clearStorage:()=>{++H,K==null||K.removeItem(q.name)},getOptions:()=>q,rehydrate:()=>A(),hasHydrated:()=>X,onHydrate:(D)=>{return z.add(D),()=>{z.delete(D)}},onFinishHydration:(D)=>{return W.add(D),()=>{W.delete(D)}}},!q.skipHydration)A();return O||w},EX1=RK;
|
|
10
|
-
export{w0 as b,k$ as c,cG as d,mG as e,d5 as f,z6 as g,EQ as h,_1 as i,dQ as j,a8 as k,IQ as l,CK as m,n8 as n,C0 as o,N2 as p,UQ as q,DQ as r,W6 as s,OQ as t,AQ as u,HG as v,T2 as w,M2 as x,WG as y,E2 as z,VQ as A,_Q as B,zG as C,o8 as D,wQ as E,P2 as F,IG as G,$9 as H,pQ as I,B6 as J,lQ as K,v2 as L,hQ as M,T1 as N,xQ as O,tK as P,ZG as Q,oQ as R,FQ as S,o2 as T,OB as U,tQ as V,eQ as W,Q4 as X,J4 as Y,fY as Z,a2 as _,e2 as $,gY as aa,uY as ba,mY as ca,lY as da,iY as ea,oY as fa,JY as ga,aY as ha,eY as ia,J3 as ja,$3 as ka,X3 as la,H3 as ma,z3 as na,G3 as oa,F3 as pa,w3 as qa,D3 as ra,V3 as sa,N3 as ta,L3 as ua,M3 as va,P3 as wa,k3 as xa,b3 as ya,R3 as za,$Y as Aa,x3 as Ba,f3 as Ca,g3 as Da,u3 as Ea,m3 as Fa,l3 as Ga,i3 as Ha,o3 as Ia,a3 as Ja,e3 as Ka,JX as La,$X as Ma,XX as Na,XY as Oa,HX as Pa,zX as Qa,GX as Ra,FX as Sa,wX as Ta,DX as Ua,VX as Va,NX as Wa,LX as Xa,MX as Ya,PX as Za,HY as _a,kX as $a,bX as ab,zY as bb,RX as cb,xX as db,GY as eb,fX as fb,gX as gb,uX as hb,mX as ib,lX as jb,iX as kb,FY as lb,oX as mb,wY as nb,aX as ob,eX as pb,Jq as qb,$q as rb,Xq as sb,Hq as tb,zq as ub,Gq as vb,Fq as wb,wq as xb,Dq as yb,Vq as zb,DY as Ab,Nq as Bb,Lq as Cb,Mq as Db,Pq as Eb,kq as Fb,bq as Gb,Rq as Hb,xq as Ib,fq as Jb,gq as Kb,VY as Lb,uq as Mb,mq as Nb,lq as Ob,iq as Pb,oq as Qb,aq as Rb,eq as Sb,JH as Tb,NY as Ub,$H as Vb,XH as Wb,HH as Xb,LY as Yb,zH as Zb,MY as _b,GH as $b,FH as ac,wH as bc,DH as cc,VH as dc,NH as ec,PY as fc,LH as gc,MH as hc,PH as ic,kY as jc,kH as kc,bH as lc,RH as mc,bY as nc,xH as oc,fH as pc,gH as qc,uH as rc,mH as sc,$4 as tc,lH as uc,Fe6 as vc,fK as wc,vK as xc,qK as yc,WK as zc,GK as Ac,LX1 as Bc,hK as Cc,EX1 as Dc,dK as Ec,uK as Fc,r7 as Gc,j$ as Hc,b$ as Ic,iK as Jc,oK as Kc};
|