sealkeep 0.9.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ARCHITECTURE.md +163 -14
- package/CHANGELOG.md +223 -1
- package/CONTROL_PLANE.md +2 -2
- package/LICENSE +1 -1
- package/README.md +108 -22
- package/THIRD_PARTY.md +2 -2
- package/THREAT_MODEL.md +23 -4
- package/dist/packages/{vaultline-crypto → sealkeep-crypto}/src/chunk-access.d.ts +26 -4
- package/dist/packages/sealkeep-crypto/src/chunk-access.js +219 -0
- package/dist/packages/{vaultline-crypto → sealkeep-crypto}/src/envelope.d.ts +11 -1
- package/dist/packages/{vaultline-crypto → sealkeep-crypto}/src/envelope.js +58 -21
- package/dist/packages/{vaultline-crypto → sealkeep-crypto}/src/format.d.ts +2 -2
- package/dist/packages/{vaultline-crypto → sealkeep-crypto}/src/index.d.ts +1 -0
- package/dist/packages/{vaultline-crypto → sealkeep-crypto}/src/index.js +1 -0
- package/dist/packages/{vaultline-crypto → sealkeep-crypto}/src/recipients.js +4 -4
- package/dist/packages/sealkeep-crypto/src/squeeze.d.ts +6 -0
- package/dist/packages/sealkeep-crypto/src/squeeze.js +39 -0
- package/dist/packages/{vaultline-crypto → sealkeep-crypto}/src/stream.d.ts +36 -3
- package/dist/packages/{vaultline-crypto → sealkeep-crypto}/src/stream.js +196 -37
- package/dist/site/index.html +1808 -1904
- package/dist/site/llms.txt +67 -0
- package/dist/site/trust/architecture-data-flow.html +53 -0
- package/dist/site/trust/audit-roadmap.html +37 -0
- package/dist/site/trust/deployment-responsibility.html +11 -0
- package/dist/site/trust/dpa-sample.html +30 -0
- package/dist/site/trust/release-provenance.html +21 -0
- package/dist/site/trust/subprocessors.html +15 -0
- package/dist/site/trust/threat-model.html +34 -0
- package/dist/site/trust/toms.html +41 -0
- package/dist/site/trust-document.css +32 -0
- package/dist/site/trust.html +73 -0
- package/dist/site/visual/assets/index-8Nxnkc7o.js +207 -0
- package/dist/site/visual/assets/index-oxLy1bpy.css +1 -0
- package/dist/site/visual/index.html +18 -0
- package/dist/site.zip +0 -0
- package/dist/src/activity.d.ts +9 -0
- package/dist/src/activity.js +90 -1
- package/dist/src/adapters.d.ts +175 -5
- package/dist/src/adapters.js +961 -73
- package/dist/src/agent-context.d.ts +135 -0
- package/dist/src/agent-context.js +1059 -0
- package/dist/src/archive-copies.d.ts +47 -0
- package/dist/src/archive-copies.js +179 -0
- package/dist/src/audit.d.ts +1 -1
- package/dist/src/audit.js +29 -4
- package/dist/src/autopilot.d.ts +52 -7
- package/dist/src/autopilot.js +143 -25
- package/dist/src/background-bandwidth.d.ts +46 -0
- package/dist/src/background-bandwidth.js +301 -0
- package/dist/src/background-cpu.d.ts +82 -0
- package/dist/src/background-cpu.js +212 -0
- package/dist/src/background-worker-error.d.ts +12 -0
- package/dist/src/background-worker-error.js +18 -0
- package/dist/src/branding.d.ts +24 -1
- package/dist/src/branding.js +31 -1
- package/dist/src/bridge.d.ts +233 -0
- package/dist/src/bridge.js +604 -0
- package/dist/src/byte-stream.d.ts +91 -0
- package/dist/src/byte-stream.js +385 -0
- package/dist/src/chunk-store.d.ts +41 -8
- package/dist/src/chunk-store.js +161 -65
- package/dist/src/cli.js +1698 -163
- package/dist/src/cloud.d.ts +841 -31
- package/dist/src/cloud.js +3196 -277
- package/dist/src/context-background.d.ts +37 -0
- package/dist/src/context-background.js +309 -0
- package/dist/src/context-drain-child.d.ts +1 -0
- package/dist/src/context-drain-child.js +98 -0
- package/dist/src/context-reader.d.ts +118 -0
- package/dist/src/context-reader.js +447 -0
- package/dist/src/control-plane/auth.d.ts +32 -4
- package/dist/src/control-plane/auth.js +85 -24
- package/dist/src/control-plane/server.js +19 -6
- package/dist/src/control-plane.d.ts +17 -1
- package/dist/src/control-plane.js +32 -6
- package/dist/src/crypto.d.ts +1 -1
- package/dist/src/crypto.js +5 -5
- package/dist/src/daemon-lease.d.ts +70 -0
- package/dist/src/daemon-lease.js +420 -0
- package/dist/src/daemon.d.ts +94 -1
- package/dist/src/daemon.js +1082 -105
- package/dist/src/darwin-service-policy.d.ts +41 -0
- package/dist/src/darwin-service-policy.js +60 -0
- package/dist/src/dashboard-cli.js +15 -15
- package/dist/src/device-authorization.d.ts +37 -0
- package/dist/src/device-authorization.js +199 -0
- package/dist/src/device-enrollment.d.ts +91 -0
- package/dist/src/device-enrollment.js +349 -0
- package/dist/src/disk.d.ts +17 -12
- package/dist/src/disk.js +43 -17
- package/dist/src/doctor.d.ts +35 -1
- package/dist/src/doctor.js +316 -41
- package/dist/src/durable-ticket-lock.d.ts +24 -0
- package/dist/src/durable-ticket-lock.js +232 -0
- package/dist/src/enroll.d.ts +1 -1
- package/dist/src/enroll.js +13 -7
- package/dist/src/env.d.ts +10 -1
- package/dist/src/env.js +11 -3
- package/dist/src/errors.d.ts +8 -8
- package/dist/src/errors.js +6 -6
- package/dist/src/flush.d.ts +12 -0
- package/dist/src/flush.js +37 -0
- package/dist/src/heartbeat.d.ts +86 -12
- package/dist/src/heartbeat.js +415 -29
- package/dist/src/index-background-watchdog.d.ts +1 -0
- package/dist/src/index-background-watchdog.js +94 -0
- package/dist/src/index-background-work.d.ts +21 -0
- package/dist/src/index-background-work.js +25 -0
- package/dist/src/index-background.d.ts +64 -0
- package/dist/src/index-background.js +394 -0
- package/dist/src/index-build-child.d.ts +1 -0
- package/dist/src/index-build-child.js +109 -0
- package/dist/src/index-manifest.d.ts +52 -0
- package/dist/src/index-manifest.js +444 -0
- package/dist/src/index-publication-proof.d.ts +84 -0
- package/dist/src/index-publication-proof.js +380 -0
- package/dist/src/index-publication-state.d.ts +149 -0
- package/dist/src/index-publication-state.js +696 -0
- package/dist/src/index-publication-verifier.d.ts +89 -0
- package/dist/src/index-publication-verifier.js +341 -0
- package/dist/src/index-publish.d.ts +62 -0
- package/dist/src/index-publish.js +540 -0
- package/dist/src/index-scratch-cleanup.d.ts +19 -0
- package/dist/src/index-scratch-cleanup.js +166 -0
- package/dist/src/index-segment-types.d.ts +132 -0
- package/dist/src/index-segment-types.js +21 -0
- package/dist/src/index-segments.d.ts +9 -0
- package/dist/src/index-segments.js +516 -0
- package/dist/src/index-store.d.ts +123 -0
- package/dist/src/index-store.js +495 -0
- package/dist/src/index-sync.d.ts +91 -15
- package/dist/src/index-sync.js +286 -53
- package/dist/src/index-upgrade-publication.d.ts +30 -0
- package/dist/src/index-upgrade-publication.js +179 -0
- package/dist/src/integration-manager.d.ts +32 -0
- package/dist/src/integration-manager.js +394 -0
- package/dist/src/leakscan.js +1 -1
- package/dist/src/local-api.d.ts +56 -15
- package/dist/src/local-api.js +4979 -541
- package/dist/src/machine-settings.d.ts +51 -0
- package/dist/src/machine-settings.js +166 -0
- package/dist/src/managed-chunks.d.ts +5 -2
- package/dist/src/managed-chunks.js +14 -14
- package/dist/src/mcp-install.d.ts +11 -9
- package/dist/src/mcp-install.js +73 -28
- package/dist/src/mcp-workspace.d.ts +18 -0
- package/dist/src/mcp-workspace.js +50 -0
- package/dist/src/mcp.js +294 -25
- package/dist/src/migrate.js +27 -21
- package/dist/src/notify.d.ts +1 -1
- package/dist/src/notify.js +5 -5
- package/dist/src/offload.d.ts +201 -14
- package/dist/src/offload.js +1848 -140
- package/dist/src/onboarding.d.ts +8 -1
- package/dist/src/onboarding.js +4 -4
- package/dist/src/packages.d.ts +2 -2
- package/dist/src/packages.js +10 -2
- package/dist/src/passkey.d.ts +0 -1
- package/dist/src/passkey.js +2 -7
- package/dist/src/password-lock.d.ts +2 -2
- package/dist/src/password-lock.js +6 -6
- package/dist/src/paths.d.ts +2 -0
- package/dist/src/paths.js +2 -0
- package/dist/src/presence.d.ts +86 -0
- package/dist/src/presence.js +240 -0
- package/dist/src/progress-deadline.d.ts +21 -0
- package/dist/src/progress-deadline.js +91 -0
- package/dist/src/project-repair.d.ts +55 -0
- package/dist/src/project-repair.js +131 -0
- package/dist/src/providers/gcs.d.ts +28 -7
- package/dist/src/providers/gcs.js +35 -24
- package/dist/src/providers/gdrive.d.ts +71 -8
- package/dist/src/providers/gdrive.js +223 -50
- package/dist/src/providers/index.d.ts +11 -3
- package/dist/src/providers/index.js +30 -10
- package/dist/src/providers/s3.d.ts +30 -8
- package/dist/src/providers/s3.js +41 -30
- package/dist/src/providers/safe-storage-fetch.d.ts +12 -0
- package/dist/src/providers/safe-storage-fetch.js +72 -0
- package/dist/src/queue.d.ts +136 -19
- package/dist/src/queue.js +862 -96
- package/dist/src/reclaim-transaction.d.ts +156 -0
- package/dist/src/reclaim-transaction.js +1027 -0
- package/dist/src/recovery-codes.d.ts +32 -0
- package/dist/src/recovery-codes.js +338 -0
- package/dist/src/recovery.js +12 -9
- package/dist/src/rehydrate.d.ts +25 -22
- package/dist/src/rehydrate.js +319 -23
- package/dist/src/restore.d.ts +57 -4
- package/dist/src/restore.js +272 -36
- package/dist/src/resume-stub.d.ts +92 -0
- package/dist/src/resume-stub.js +417 -0
- package/dist/src/retention.d.ts +98 -7
- package/dist/src/retention.js +1066 -62
- package/dist/src/rotate.js +3 -3
- package/dist/src/search.d.ts +566 -8
- package/dist/src/search.js +5897 -290
- package/dist/src/secrets.d.ts +51 -7
- package/dist/src/secrets.js +316 -24
- package/dist/src/service.d.ts +49 -11
- package/dist/src/service.js +776 -35
- package/dist/src/share.js +3 -3
- package/dist/src/shared-spaces.d.ts +98 -0
- package/dist/src/shared-spaces.js +214 -0
- package/dist/src/source-reader.d.ts +73 -0
- package/dist/src/source-reader.js +715 -0
- package/dist/src/spool.d.ts +1 -1
- package/dist/src/spool.js +1 -1
- package/dist/src/start-tui.js +2 -1
- package/dist/src/start.js +2 -2
- package/dist/src/storage-endpoint.d.ts +21 -0
- package/dist/src/storage-endpoint.js +122 -0
- package/dist/src/storage-setup.js +12 -12
- package/dist/src/storage-targets.d.ts +109 -6
- package/dist/src/storage-targets.js +975 -67
- package/dist/src/stream-to-cloud.d.ts +5 -1
- package/dist/src/stream-to-cloud.js +34 -14
- package/dist/src/sync-rules.d.ts +31 -6
- package/dist/src/sync-rules.js +153 -14
- package/dist/src/team-backfill-scheduling.d.ts +8 -0
- package/dist/src/team-backfill-scheduling.js +33 -0
- package/dist/src/team-backfill.d.ts +116 -0
- package/dist/src/team-backfill.js +1429 -0
- package/dist/src/team-index-cache.d.ts +16 -0
- package/dist/src/team-index-cache.js +152 -0
- package/dist/src/team-offboarding.d.ts +38 -0
- package/dist/src/team-offboarding.js +1043 -0
- package/dist/src/team-presence.d.ts +127 -0
- package/dist/src/team-presence.js +904 -0
- package/dist/src/team-publication-policy.d.ts +20 -0
- package/dist/src/team-publication-policy.js +140 -0
- package/dist/src/team-realtime.d.ts +68 -0
- package/dist/src/team-realtime.js +816 -0
- package/dist/src/team-source-facts-cache.d.ts +23 -0
- package/dist/src/team-source-facts-cache.js +255 -0
- package/dist/src/trash.d.ts +1 -1
- package/dist/src/trash.js +2 -2
- package/dist/src/tui.js +11 -12
- package/dist/src/types.d.ts +173 -7
- package/dist/src/types.js +20 -0
- package/dist/src/ui-server.d.ts +163 -35
- package/dist/src/ui-server.js +712 -72
- package/dist/src/ui.d.ts +1 -2
- package/dist/src/ui.js +1 -2
- package/dist/src/upload.d.ts +27 -0
- package/dist/src/upload.js +383 -43
- package/dist/src/vault.d.ts +226 -30
- package/dist/src/vault.js +1776 -192
- package/dist/src/watcher.d.ts +7 -1
- package/dist/src/watcher.js +198 -55
- package/dist/src/worker.d.ts +27 -3
- package/dist/src/worker.js +274 -55
- package/package.json +33 -12
- package/scripts/native-reboot-rehearsal.mjs +90 -0
- package/web/app.js +6032 -343
- package/web/bootstrap.js +17 -0
- package/web/index.html +255 -57
- package/web/rail.js +317 -40
- package/web/retention.html +2 -2
- package/web/rules-view.js +188 -16
- package/web/sessions-view.js +485 -62
- package/web/sessions.html +2 -2
- package/web/setup-api.js +152 -29
- package/web/setup-logic.js +68 -9
- package/web/setup.html +113 -44
- package/web/setup.js +604 -71
- package/web/style.css +513 -98
- package/dist/packages/vaultline-crypto/src/chunk-access.js +0 -93
- /package/dist/packages/{vaultline-crypto → sealkeep-crypto}/src/aead.d.ts +0 -0
- /package/dist/packages/{vaultline-crypto → sealkeep-crypto}/src/aead.js +0 -0
- /package/dist/packages/{vaultline-crypto → sealkeep-crypto}/src/format.js +0 -0
- /package/dist/packages/{vaultline-crypto → sealkeep-crypto}/src/recipients.d.ts +0 -0
- /package/dist/packages/{vaultline-crypto → sealkeep-crypto}/src/sha256-stream.d.ts +0 -0
- /package/dist/packages/{vaultline-crypto → sealkeep-crypto}/src/sha256-stream.js +0 -0
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))o(f);new MutationObserver(f=>{for(const m of f)if(m.type==="childList")for(const d of m.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&o(d)}).observe(document,{childList:!0,subtree:!0});function l(f){const m={};return f.integrity&&(m.integrity=f.integrity),f.referrerPolicy&&(m.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?m.credentials="include":f.crossOrigin==="anonymous"?m.credentials="omit":m.credentials="same-origin",m}function o(f){if(f.ep)return;f.ep=!0;const m=l(f);fetch(f.href,m)}})();var au={exports:{}},Ts={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/var Hp;function zx(){if(Hp)return Ts;Hp=1;var i=Symbol.for("react.transitional.element"),s=Symbol.for("react.fragment");function l(o,f,m){var d=null;if(m!==void 0&&(d=""+m),f.key!==void 0&&(d=""+f.key),"key"in f){m={};for(var y in f)y!=="key"&&(m[y]=f[y])}else m=f;return f=m.ref,{$$typeof:i,type:o,key:d,ref:f!==void 0?f:null,props:m}}return Ts.Fragment=s,Ts.jsx=l,Ts.jsxs=l,Ts}var qp;function wx(){return qp||(qp=1,au.exports=zx()),au.exports}var u=wx(),su={exports:{}},le={};/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react.production.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var Gp;function Nx(){if(Gp)return le;Gp=1;var i=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),d=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),b=Symbol.for("react.activity"),S=Symbol.iterator;function E(A){return A===null||typeof A!="object"?null:(A=S&&A[S]||A["@@iterator"],typeof A=="function"?A:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},O=Object.assign,_={};function L(A,H,Z){this.props=A,this.context=H,this.refs=_,this.updater=Z||C}L.prototype.isReactComponent={},L.prototype.setState=function(A,H){if(typeof A!="object"&&typeof A!="function"&&A!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,A,H,"setState")},L.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function G(){}G.prototype=L.prototype;function U(A,H,Z){this.props=A,this.context=H,this.refs=_,this.updater=Z||C}var q=U.prototype=new G;q.constructor=U,O(q,L.prototype),q.isPureReactComponent=!0;var P=Array.isArray;function ie(){}var X={H:null,A:null,T:null,S:null},Q=Object.prototype.hasOwnProperty;function se(A,H,Z){var W=Z.ref;return{$$typeof:i,type:A,key:H,ref:W!==void 0?W:null,props:Z}}function te(A,H){return se(A.type,H,A.props)}function ye(A){return typeof A=="object"&&A!==null&&A.$$typeof===i}function xe(A){var H={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(Z){return H[Z]})}var Ie=/\/+/g;function Ye(A,H){return typeof A=="object"&&A!==null&&A.key!=null?xe(""+A.key):H.toString(36)}function Le(A){switch(A.status){case"fulfilled":return A.value;case"rejected":throw A.reason;default:switch(typeof A.status=="string"?A.then(ie,ie):(A.status="pending",A.then(function(H){A.status==="pending"&&(A.status="fulfilled",A.value=H)},function(H){A.status==="pending"&&(A.status="rejected",A.reason=H)})),A.status){case"fulfilled":return A.value;case"rejected":throw A.reason}}throw A}function R(A,H,Z,W,oe){var fe=typeof A;(fe==="undefined"||fe==="boolean")&&(A=null);var Te=!1;if(A===null)Te=!0;else switch(fe){case"bigint":case"string":case"number":Te=!0;break;case"object":switch(A.$$typeof){case i:case s:Te=!0;break;case g:return Te=A._init,R(Te(A._payload),H,Z,W,oe)}}if(Te)return oe=oe(A),Te=W===""?"."+Ye(A,0):W,P(oe)?(Z="",Te!=null&&(Z=Te.replace(Ie,"$&/")+"/"),R(oe,H,Z,"",function(wa){return wa})):oe!=null&&(ye(oe)&&(oe=te(oe,Z+(oe.key==null||A&&A.key===oe.key?"":(""+oe.key).replace(Ie,"$&/")+"/")+Te)),H.push(oe)),1;Te=0;var ut=W===""?".":W+":";if(P(A))for(var He=0;He<A.length;He++)W=A[He],fe=ut+Ye(W,He),Te+=R(W,H,Z,fe,oe);else if(He=E(A),typeof He=="function")for(A=He.call(A),He=0;!(W=A.next()).done;)W=W.value,fe=ut+Ye(W,He++),Te+=R(W,H,Z,fe,oe);else if(fe==="object"){if(typeof A.then=="function")return R(Le(A),H,Z,W,oe);throw H=String(A),Error("Objects are not valid as a React child (found: "+(H==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":H)+"). If you meant to render a collection of children, use an array instead.")}return Te}function K(A,H,Z){if(A==null)return A;var W=[],oe=0;return R(A,W,"","",function(fe){return H.call(Z,fe,oe++)}),W}function J(A){if(A._status===-1){var H=A._result;H=H(),H.then(function(Z){(A._status===0||A._status===-1)&&(A._status=1,A._result=Z)},function(Z){(A._status===0||A._status===-1)&&(A._status=2,A._result=Z)}),A._status===-1&&(A._status=0,A._result=H)}if(A._status===1)return A._result.default;throw A._result}var ce=typeof reportError=="function"?reportError:function(A){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var H=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof A=="object"&&A!==null&&typeof A.message=="string"?String(A.message):String(A),error:A});if(!window.dispatchEvent(H))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",A);return}console.error(A)},ve={map:K,forEach:function(A,H,Z){K(A,function(){H.apply(this,arguments)},Z)},count:function(A){var H=0;return K(A,function(){H++}),H},toArray:function(A){return K(A,function(H){return H})||[]},only:function(A){if(!ye(A))throw Error("React.Children.only expected to receive a single React element child.");return A}};return le.Activity=b,le.Children=ve,le.Component=L,le.Fragment=l,le.Profiler=f,le.PureComponent=U,le.StrictMode=o,le.Suspense=v,le.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=X,le.__COMPILER_RUNTIME={__proto__:null,c:function(A){return X.H.useMemoCache(A)}},le.cache=function(A){return function(){return A.apply(null,arguments)}},le.cacheSignal=function(){return null},le.cloneElement=function(A,H,Z){if(A==null)throw Error("The argument must be a React element, but you passed "+A+".");var W=O({},A.props),oe=A.key;if(H!=null)for(fe in H.key!==void 0&&(oe=""+H.key),H)!Q.call(H,fe)||fe==="key"||fe==="__self"||fe==="__source"||fe==="ref"&&H.ref===void 0||(W[fe]=H[fe]);var fe=arguments.length-2;if(fe===1)W.children=Z;else if(1<fe){for(var Te=Array(fe),ut=0;ut<fe;ut++)Te[ut]=arguments[ut+2];W.children=Te}return se(A.type,oe,W)},le.createContext=function(A){return A={$$typeof:d,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null},A.Provider=A,A.Consumer={$$typeof:m,_context:A},A},le.createElement=function(A,H,Z){var W,oe={},fe=null;if(H!=null)for(W in H.key!==void 0&&(fe=""+H.key),H)Q.call(H,W)&&W!=="key"&&W!=="__self"&&W!=="__source"&&(oe[W]=H[W]);var Te=arguments.length-2;if(Te===1)oe.children=Z;else if(1<Te){for(var ut=Array(Te),He=0;He<Te;He++)ut[He]=arguments[He+2];oe.children=ut}if(A&&A.defaultProps)for(W in Te=A.defaultProps,Te)oe[W]===void 0&&(oe[W]=Te[W]);return se(A,fe,oe)},le.createRef=function(){return{current:null}},le.forwardRef=function(A){return{$$typeof:y,render:A}},le.isValidElement=ye,le.lazy=function(A){return{$$typeof:g,_payload:{_status:-1,_result:A},_init:J}},le.memo=function(A,H){return{$$typeof:p,type:A,compare:H===void 0?null:H}},le.startTransition=function(A){var H=X.T,Z={};X.T=Z;try{var W=A(),oe=X.S;oe!==null&&oe(Z,W),typeof W=="object"&&W!==null&&typeof W.then=="function"&&W.then(ie,ce)}catch(fe){ce(fe)}finally{H!==null&&Z.types!==null&&(H.types=Z.types),X.T=H}},le.unstable_useCacheRefresh=function(){return X.H.useCacheRefresh()},le.use=function(A){return X.H.use(A)},le.useActionState=function(A,H,Z){return X.H.useActionState(A,H,Z)},le.useCallback=function(A,H){return X.H.useCallback(A,H)},le.useContext=function(A){return X.H.useContext(A)},le.useDebugValue=function(){},le.useDeferredValue=function(A,H){return X.H.useDeferredValue(A,H)},le.useEffect=function(A,H){return X.H.useEffect(A,H)},le.useEffectEvent=function(A){return X.H.useEffectEvent(A)},le.useId=function(){return X.H.useId()},le.useImperativeHandle=function(A,H,Z){return X.H.useImperativeHandle(A,H,Z)},le.useInsertionEffect=function(A,H){return X.H.useInsertionEffect(A,H)},le.useLayoutEffect=function(A,H){return X.H.useLayoutEffect(A,H)},le.useMemo=function(A,H){return X.H.useMemo(A,H)},le.useOptimistic=function(A,H){return X.H.useOptimistic(A,H)},le.useReducer=function(A,H,Z){return X.H.useReducer(A,H,Z)},le.useRef=function(A){return X.H.useRef(A)},le.useState=function(A){return X.H.useState(A)},le.useSyncExternalStore=function(A,H,Z){return X.H.useSyncExternalStore(A,H,Z)},le.useTransition=function(){return X.H.useTransition()},le.version="19.2.8",le}var Yp;function rf(){return Yp||(Yp=1,su.exports=Nx()),su.exports}var Y=rf(),lu={exports:{}},As={},ou={exports:{}},ru={};/**
|
|
18
|
+
* @license React
|
|
19
|
+
* scheduler.production.js
|
|
20
|
+
*
|
|
21
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
22
|
+
*
|
|
23
|
+
* This source code is licensed under the MIT license found in the
|
|
24
|
+
* LICENSE file in the root directory of this source tree.
|
|
25
|
+
*/var Xp;function Rx(){return Xp||(Xp=1,(function(i){function s(R,K){var J=R.length;R.push(K);e:for(;0<J;){var ce=J-1>>>1,ve=R[ce];if(0<f(ve,K))R[ce]=K,R[J]=ve,J=ce;else break e}}function l(R){return R.length===0?null:R[0]}function o(R){if(R.length===0)return null;var K=R[0],J=R.pop();if(J!==K){R[0]=J;e:for(var ce=0,ve=R.length,A=ve>>>1;ce<A;){var H=2*(ce+1)-1,Z=R[H],W=H+1,oe=R[W];if(0>f(Z,J))W<ve&&0>f(oe,Z)?(R[ce]=oe,R[W]=J,ce=W):(R[ce]=Z,R[H]=J,ce=H);else if(W<ve&&0>f(oe,J))R[ce]=oe,R[W]=J,ce=W;else break e}}return K}function f(R,K){var J=R.sortIndex-K.sortIndex;return J!==0?J:R.id-K.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var m=performance;i.unstable_now=function(){return m.now()}}else{var d=Date,y=d.now();i.unstable_now=function(){return d.now()-y}}var v=[],p=[],g=1,b=null,S=3,E=!1,C=!1,O=!1,_=!1,L=typeof setTimeout=="function"?setTimeout:null,G=typeof clearTimeout=="function"?clearTimeout:null,U=typeof setImmediate<"u"?setImmediate:null;function q(R){for(var K=l(p);K!==null;){if(K.callback===null)o(p);else if(K.startTime<=R)o(p),K.sortIndex=K.expirationTime,s(v,K);else break;K=l(p)}}function P(R){if(O=!1,q(R),!C)if(l(v)!==null)C=!0,ie||(ie=!0,xe());else{var K=l(p);K!==null&&Le(P,K.startTime-R)}}var ie=!1,X=-1,Q=5,se=-1;function te(){return _?!0:!(i.unstable_now()-se<Q)}function ye(){if(_=!1,ie){var R=i.unstable_now();se=R;var K=!0;try{e:{C=!1,O&&(O=!1,G(X),X=-1),E=!0;var J=S;try{t:{for(q(R),b=l(v);b!==null&&!(b.expirationTime>R&&te());){var ce=b.callback;if(typeof ce=="function"){b.callback=null,S=b.priorityLevel;var ve=ce(b.expirationTime<=R);if(R=i.unstable_now(),typeof ve=="function"){b.callback=ve,q(R),K=!0;break t}b===l(v)&&o(v),q(R)}else o(v);b=l(v)}if(b!==null)K=!0;else{var A=l(p);A!==null&&Le(P,A.startTime-R),K=!1}}break e}finally{b=null,S=J,E=!1}K=void 0}}finally{K?xe():ie=!1}}}var xe;if(typeof U=="function")xe=function(){U(ye)};else if(typeof MessageChannel<"u"){var Ie=new MessageChannel,Ye=Ie.port2;Ie.port1.onmessage=ye,xe=function(){Ye.postMessage(null)}}else xe=function(){L(ye,0)};function Le(R,K){X=L(function(){R(i.unstable_now())},K)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(R){R.callback=null},i.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Q=0<R?Math.floor(1e3/R):5},i.unstable_getCurrentPriorityLevel=function(){return S},i.unstable_next=function(R){switch(S){case 1:case 2:case 3:var K=3;break;default:K=S}var J=S;S=K;try{return R()}finally{S=J}},i.unstable_requestPaint=function(){_=!0},i.unstable_runWithPriority=function(R,K){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var J=S;S=R;try{return K()}finally{S=J}},i.unstable_scheduleCallback=function(R,K,J){var ce=i.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?ce+J:ce):J=ce,R){case 1:var ve=-1;break;case 2:ve=250;break;case 5:ve=1073741823;break;case 4:ve=1e4;break;default:ve=5e3}return ve=J+ve,R={id:g++,callback:K,priorityLevel:R,startTime:J,expirationTime:ve,sortIndex:-1},J>ce?(R.sortIndex=J,s(p,R),l(v)===null&&R===l(p)&&(O?(G(X),X=-1):O=!0,Le(P,J-ce))):(R.sortIndex=ve,s(v,R),C||E||(C=!0,ie||(ie=!0,xe()))),R},i.unstable_shouldYield=te,i.unstable_wrapCallback=function(R){var K=S;return function(){var J=S;S=K;try{return R.apply(this,arguments)}finally{S=J}}}})(ru)),ru}var Kp;function Ox(){return Kp||(Kp=1,ou.exports=Rx()),ou.exports}var cu={exports:{}},rt={};/**
|
|
26
|
+
* @license React
|
|
27
|
+
* react-dom.production.js
|
|
28
|
+
*
|
|
29
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
30
|
+
*
|
|
31
|
+
* This source code is licensed under the MIT license found in the
|
|
32
|
+
* LICENSE file in the root directory of this source tree.
|
|
33
|
+
*/var Zp;function Vx(){if(Zp)return rt;Zp=1;var i=rf();function s(v){var p="https://react.dev/errors/"+v;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)p+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+v+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(){}var o={d:{f:l,r:function(){throw Error(s(522))},D:l,C:l,L:l,m:l,X:l,S:l,M:l},p:0,findDOMNode:null},f=Symbol.for("react.portal");function m(v,p,g){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:f,key:b==null?null:""+b,children:v,containerInfo:p,implementation:g}}var d=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function y(v,p){if(v==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return rt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,rt.createPortal=function(v,p){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(s(299));return m(v,p,null,g)},rt.flushSync=function(v){var p=d.T,g=o.p;try{if(d.T=null,o.p=2,v)return v()}finally{d.T=p,o.p=g,o.d.f()}},rt.preconnect=function(v,p){typeof v=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,o.d.C(v,p))},rt.prefetchDNS=function(v){typeof v=="string"&&o.d.D(v)},rt.preinit=function(v,p){if(typeof v=="string"&&p&&typeof p.as=="string"){var g=p.as,b=y(g,p.crossOrigin),S=typeof p.integrity=="string"?p.integrity:void 0,E=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;g==="style"?o.d.S(v,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:b,integrity:S,fetchPriority:E}):g==="script"&&o.d.X(v,{crossOrigin:b,integrity:S,fetchPriority:E,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},rt.preinitModule=function(v,p){if(typeof v=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var g=y(p.as,p.crossOrigin);o.d.M(v,{crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&o.d.M(v)},rt.preload=function(v,p){if(typeof v=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var g=p.as,b=y(g,p.crossOrigin);o.d.L(v,g,{crossOrigin:b,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},rt.preloadModule=function(v,p){if(typeof v=="string")if(p){var g=y(p.as,p.crossOrigin);o.d.m(v,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else o.d.m(v)},rt.requestFormReset=function(v){o.d.r(v)},rt.unstable_batchedUpdates=function(v,p){return v(p)},rt.useFormState=function(v,p,g){return d.H.useFormState(v,p,g)},rt.useFormStatus=function(){return d.H.useHostTransitionStatus()},rt.version="19.2.8",rt}var Qp;function _x(){if(Qp)return cu.exports;Qp=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(s){console.error(s)}}return i(),cu.exports=Vx(),cu.exports}/**
|
|
34
|
+
* @license React
|
|
35
|
+
* react-dom-client.production.js
|
|
36
|
+
*
|
|
37
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
38
|
+
*
|
|
39
|
+
* This source code is licensed under the MIT license found in the
|
|
40
|
+
* LICENSE file in the root directory of this source tree.
|
|
41
|
+
*/var Pp;function Bx(){if(Pp)return As;Pp=1;var i=Ox(),s=rf(),l=_x();function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function m(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function d(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function y(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function v(e){if(m(e)!==e)throw Error(o(188))}function p(e){var t=e.alternate;if(!t){if(t=m(e),t===null)throw Error(o(188));return t!==e?null:e}for(var n=e,a=t;;){var r=n.return;if(r===null)break;var c=r.alternate;if(c===null){if(a=r.return,a!==null){n=a;continue}break}if(r.child===c.child){for(c=r.child;c;){if(c===n)return v(r),e;if(c===a)return v(r),t;c=c.sibling}throw Error(o(188))}if(n.return!==a.return)n=r,a=c;else{for(var h=!1,x=r.child;x;){if(x===n){h=!0,n=r,a=c;break}if(x===a){h=!0,a=r,n=c;break}x=x.sibling}if(!h){for(x=c.child;x;){if(x===n){h=!0,n=c,a=r;break}if(x===a){h=!0,a=c,n=r;break}x=x.sibling}if(!h)throw Error(o(189))}}if(n.alternate!==a)throw Error(o(190))}if(n.tag!==3)throw Error(o(188));return n.stateNode.current===n?e:t}function g(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=g(e),t!==null)return t;e=e.sibling}return null}var b=Object.assign,S=Symbol.for("react.element"),E=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),O=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),G=Symbol.for("react.consumer"),U=Symbol.for("react.context"),q=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),ie=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),Q=Symbol.for("react.lazy"),se=Symbol.for("react.activity"),te=Symbol.for("react.memo_cache_sentinel"),ye=Symbol.iterator;function xe(e){return e===null||typeof e!="object"?null:(e=ye&&e[ye]||e["@@iterator"],typeof e=="function"?e:null)}var Ie=Symbol.for("react.client.reference");function Ye(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Ie?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case O:return"Fragment";case L:return"Profiler";case _:return"StrictMode";case P:return"Suspense";case ie:return"SuspenseList";case se:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case C:return"Portal";case U:return e.displayName||"Context";case G:return(e._context.displayName||"Context")+".Consumer";case q:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case X:return t=e.displayName||null,t!==null?t:Ye(e.type)||"Memo";case Q:t=e._payload,e=e._init;try{return Ye(e(t))}catch{}}return null}var Le=Array.isArray,R=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K=l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},ce=[],ve=-1;function A(e){return{current:e}}function H(e){0>ve||(e.current=ce[ve],ce[ve]=null,ve--)}function Z(e,t){ve++,ce[ve]=e.current,e.current=t}var W=A(null),oe=A(null),fe=A(null),Te=A(null);function ut(e,t){switch(Z(fe,t),Z(oe,e),Z(W,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?cp(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=cp(t),e=up(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}H(W),Z(W,e)}function He(){H(W),H(oe),H(fe)}function wa(e){e.memoizedState!==null&&Z(Te,e);var t=W.current,n=up(t,e.type);t!==n&&(Z(oe,e),Z(W,n))}function Gs(e){oe.current===e&&(H(W),H(oe)),Te.current===e&&(H(Te),xs._currentValue=J)}var Ho,Lf;function ri(e){if(Ho===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ho=t&&t[1]||"",Lf=-1<n.stack.indexOf(`
|
|
42
|
+
at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
|
+
`+Ho+e+Lf}var qo=!1;function Go(e,t){if(!e||qo)return"";qo=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var k=function(){throw Error()};if(Object.defineProperty(k.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(k,[])}catch(N){var w=N}Reflect.construct(e,[],k)}else{try{k.call()}catch(N){w=N}e.call(k.prototype)}}else{try{throw Error()}catch(N){w=N}(k=e())&&typeof k.catch=="function"&&k.catch(function(){})}}catch(N){if(N&&w&&typeof N.stack=="string")return[N.stack,w.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=a.DetermineComponentFrameRoot(),h=c[0],x=c[1];if(h&&x){var j=h.split(`
|
|
44
|
+
`),z=x.split(`
|
|
45
|
+
`);for(r=a=0;a<j.length&&!j[a].includes("DetermineComponentFrameRoot");)a++;for(;r<z.length&&!z[r].includes("DetermineComponentFrameRoot");)r++;if(a===j.length||r===z.length)for(a=j.length-1,r=z.length-1;1<=a&&0<=r&&j[a]!==z[r];)r--;for(;1<=a&&0<=r;a--,r--)if(j[a]!==z[r]){if(a!==1||r!==1)do if(a--,r--,0>r||j[a]!==z[r]){var V=`
|
|
46
|
+
`+j[a].replace(" at new "," at ");return e.displayName&&V.includes("<anonymous>")&&(V=V.replace("<anonymous>",e.displayName)),V}while(1<=a&&0<=r);break}}}finally{qo=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?ri(n):""}function lg(e,t){switch(e.tag){case 26:case 27:case 5:return ri(e.type);case 16:return ri("Lazy");case 13:return e.child!==t&&t!==null?ri("Suspense Fallback"):ri("Suspense");case 19:return ri("SuspenseList");case 0:case 15:return Go(e.type,!1);case 11:return Go(e.type.render,!1);case 1:return Go(e.type,!0);case 31:return ri("Activity");default:return""}}function Hf(e){try{var t="",n=null;do t+=lg(e,n),n=e,e=e.return;while(e);return t}catch(a){return`
|
|
47
|
+
Error generating stack: `+a.message+`
|
|
48
|
+
`+a.stack}}var Yo=Object.prototype.hasOwnProperty,Xo=i.unstable_scheduleCallback,Ko=i.unstable_cancelCallback,og=i.unstable_shouldYield,rg=i.unstable_requestPaint,St=i.unstable_now,cg=i.unstable_getCurrentPriorityLevel,qf=i.unstable_ImmediatePriority,Gf=i.unstable_UserBlockingPriority,Ys=i.unstable_NormalPriority,ug=i.unstable_LowPriority,Yf=i.unstable_IdlePriority,fg=i.log,dg=i.unstable_setDisableYieldValue,Na=null,jt=null;function Nn(e){if(typeof fg=="function"&&dg(e),jt&&typeof jt.setStrictMode=="function")try{jt.setStrictMode(Na,e)}catch{}}var Tt=Math.clz32?Math.clz32:pg,hg=Math.log,mg=Math.LN2;function pg(e){return e>>>=0,e===0?32:31-(hg(e)/mg|0)|0}var Xs=256,Ks=262144,Zs=4194304;function ci(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Qs(e,t,n){var a=e.pendingLanes;if(a===0)return 0;var r=0,c=e.suspendedLanes,h=e.pingedLanes;e=e.warmLanes;var x=a&134217727;return x!==0?(a=x&~c,a!==0?r=ci(a):(h&=x,h!==0?r=ci(h):n||(n=x&~e,n!==0&&(r=ci(n))))):(x=a&~c,x!==0?r=ci(x):h!==0?r=ci(h):n||(n=a&~e,n!==0&&(r=ci(n)))),r===0?0:t!==0&&t!==r&&(t&c)===0&&(c=r&-r,n=t&-t,c>=n||c===32&&(n&4194048)!==0)?t:r}function Ra(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function yg(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Xf(){var e=Zs;return Zs<<=1,(Zs&62914560)===0&&(Zs=4194304),e}function Zo(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Oa(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function vg(e,t,n,a,r,c){var h=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var x=e.entanglements,j=e.expirationTimes,z=e.hiddenUpdates;for(n=h&~n;0<n;){var V=31-Tt(n),k=1<<V;x[V]=0,j[V]=-1;var w=z[V];if(w!==null)for(z[V]=null,V=0;V<w.length;V++){var N=w[V];N!==null&&(N.lane&=-536870913)}n&=~k}a!==0&&Kf(e,a,0),c!==0&&r===0&&e.tag!==0&&(e.suspendedLanes|=c&~(h&~t))}function Kf(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-Tt(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|n&261930}function Zf(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var a=31-Tt(n),r=1<<a;r&t|e[a]&t&&(e[a]|=t),n&=~r}}function Qf(e,t){var n=t&-t;return n=(n&42)!==0?1:Qo(n),(n&(e.suspendedLanes|t))!==0?0:n}function Qo(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Po(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Pf(){var e=K.p;return e!==0?e:(e=window.event,e===void 0?32:Op(e.type))}function Jf(e,t){var n=K.p;try{return K.p=e,t()}finally{K.p=n}}var Rn=Math.random().toString(36).slice(2),et="__reactFiber$"+Rn,mt="__reactProps$"+Rn,Bi="__reactContainer$"+Rn,Jo="__reactEvents$"+Rn,gg="__reactListeners$"+Rn,xg="__reactHandles$"+Rn,$f="__reactResources$"+Rn,Va="__reactMarker$"+Rn;function $o(e){delete e[et],delete e[mt],delete e[Jo],delete e[gg],delete e[xg]}function Ui(e){var t=e[et];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Bi]||n[et]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=vp(e);e!==null;){if(n=e[et])return n;e=vp(e)}return t}e=n,n=e.parentNode}return null}function ki(e){if(e=e[et]||e[Bi]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function _a(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function Li(e){var t=e[$f];return t||(t=e[$f]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Fe(e){e[Va]=!0}var Ff=new Set,Wf={};function ui(e,t){Hi(e,t),Hi(e+"Capture",t)}function Hi(e,t){for(Wf[e]=t,e=0;e<t.length;e++)Ff.add(t[e])}var bg=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),If={},ed={};function Sg(e){return Yo.call(ed,e)?!0:Yo.call(If,e)?!1:bg.test(e)?ed[e]=!0:(If[e]=!0,!1)}function Ps(e,t,n){if(Sg(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}function Js(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function un(e,t,n,a){if(a===null)e.removeAttribute(n);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+a)}}function Rt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function td(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function jg(e,t,n){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var r=a.get,c=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(h){n=""+h,c.call(this,h)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(h){n=""+h},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Fo(e){if(!e._valueTracker){var t=td(e)?"checked":"value";e._valueTracker=jg(e,t,""+e[t])}}function nd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=td(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}function $s(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Tg=/[\n"\\]/g;function Ot(e){return e.replace(Tg,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Wo(e,t,n,a,r,c,h,x){e.name="",h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?e.type=h:e.removeAttribute("type"),t!=null?h==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Rt(t)):e.value!==""+Rt(t)&&(e.value=""+Rt(t)):h!=="submit"&&h!=="reset"||e.removeAttribute("value"),t!=null?Io(e,h,Rt(t)):n!=null?Io(e,h,Rt(n)):a!=null&&e.removeAttribute("value"),r==null&&c!=null&&(e.defaultChecked=!!c),r!=null&&(e.checked=r&&typeof r!="function"&&typeof r!="symbol"),x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?e.name=""+Rt(x):e.removeAttribute("name")}function id(e,t,n,a,r,c,h,x){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.type=c),t!=null||n!=null){if(!(c!=="submit"&&c!=="reset"||t!=null)){Fo(e);return}n=n!=null?""+Rt(n):"",t=t!=null?""+Rt(t):n,x||t===e.value||(e.value=t),e.defaultValue=t}a=a??r,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=x?e.checked:!!a,e.defaultChecked=!!a,h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"&&(e.name=h),Fo(e)}function Io(e,t,n){t==="number"&&$s(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function qi(e,t,n,a){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&a&&(e[n].defaultSelected=!0)}else{for(n=""+Rt(n),t=null,r=0;r<e.length;r++){if(e[r].value===n){e[r].selected=!0,a&&(e[r].defaultSelected=!0);return}t!==null||e[r].disabled||(t=e[r])}t!==null&&(t.selected=!0)}}function ad(e,t,n){if(t!=null&&(t=""+Rt(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+Rt(n):""}function sd(e,t,n,a){if(t==null){if(a!=null){if(n!=null)throw Error(o(92));if(Le(a)){if(1<a.length)throw Error(o(93));a=a[0]}n=a}n==null&&(n=""),t=n}n=Rt(t),e.defaultValue=n,a=e.textContent,a===n&&a!==""&&a!==null&&(e.value=a),Fo(e)}function Gi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ag=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function ld(e,t,n){var a=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,n):typeof n!="number"||n===0||Ag.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function od(e,t,n){if(t!=null&&typeof t!="object")throw Error(o(62));if(e=e.style,n!=null){for(var a in n)!n.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="");for(var r in t)a=t[r],t.hasOwnProperty(r)&&n[r]!==a&&ld(e,r,a)}else for(var c in t)t.hasOwnProperty(c)&&ld(e,c,t[c])}function er(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Eg=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Mg=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Fs(e){return Mg.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function fn(){}var tr=null;function nr(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Yi=null,Xi=null;function rd(e){var t=ki(e);if(t&&(e=t.stateNode)){var n=e[mt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Wo(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+Ot(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var r=a[mt]||null;if(!r)throw Error(o(90));Wo(a,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(t=0;t<n.length;t++)a=n[t],a.form===e.form&&nd(a)}break e;case"textarea":ad(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&qi(e,!!n.multiple,t,!1)}}}var ir=!1;function cd(e,t,n){if(ir)return e(t,n);ir=!0;try{var a=e(t);return a}finally{if(ir=!1,(Yi!==null||Xi!==null)&&(kl(),Yi&&(t=Yi,e=Xi,Xi=Yi=null,rd(t),e)))for(t=0;t<e.length;t++)rd(e[t])}}function Ba(e,t){var n=e.stateNode;if(n===null)return null;var a=n[mt]||null;if(a===null)return null;n=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(o(231,t,typeof n));return n}var dn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ar=!1;if(dn)try{var Ua={};Object.defineProperty(Ua,"passive",{get:function(){ar=!0}}),window.addEventListener("test",Ua,Ua),window.removeEventListener("test",Ua,Ua)}catch{ar=!1}var On=null,sr=null,Ws=null;function ud(){if(Ws)return Ws;var e,t=sr,n=t.length,a,r="value"in On?On.value:On.textContent,c=r.length;for(e=0;e<n&&t[e]===r[e];e++);var h=n-e;for(a=1;a<=h&&t[n-a]===r[c-a];a++);return Ws=r.slice(e,1<a?1-a:void 0)}function Is(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function el(){return!0}function fd(){return!1}function pt(e){function t(n,a,r,c,h){this._reactName=n,this._targetInst=r,this.type=a,this.nativeEvent=c,this.target=h,this.currentTarget=null;for(var x in e)e.hasOwnProperty(x)&&(n=e[x],this[x]=n?n(c):c[x]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?el:fd,this.isPropagationStopped=fd,this}return b(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=el)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=el)},persist:function(){},isPersistent:el}),t}var fi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},tl=pt(fi),ka=b({},fi,{view:0,detail:0}),Cg=pt(ka),lr,or,La,nl=b({},ka,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:cr,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==La&&(La&&e.type==="mousemove"?(lr=e.screenX-La.screenX,or=e.screenY-La.screenY):or=lr=0,La=e),lr)},movementY:function(e){return"movementY"in e?e.movementY:or}}),dd=pt(nl),Dg=b({},nl,{dataTransfer:0}),zg=pt(Dg),wg=b({},ka,{relatedTarget:0}),rr=pt(wg),Ng=b({},fi,{animationName:0,elapsedTime:0,pseudoElement:0}),Rg=pt(Ng),Og=b({},fi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Vg=pt(Og),_g=b({},fi,{data:0}),hd=pt(_g),Bg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ug={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},kg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Lg(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=kg[e])?!!t[e]:!1}function cr(){return Lg}var Hg=b({},ka,{key:function(e){if(e.key){var t=Bg[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Is(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Ug[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:cr,charCode:function(e){return e.type==="keypress"?Is(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Is(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),qg=pt(Hg),Gg=b({},nl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),md=pt(Gg),Yg=b({},ka,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:cr}),Xg=pt(Yg),Kg=b({},fi,{propertyName:0,elapsedTime:0,pseudoElement:0}),Zg=pt(Kg),Qg=b({},nl,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Pg=pt(Qg),Jg=b({},fi,{newState:0,oldState:0}),$g=pt(Jg),Fg=[9,13,27,32],ur=dn&&"CompositionEvent"in window,Ha=null;dn&&"documentMode"in document&&(Ha=document.documentMode);var Wg=dn&&"TextEvent"in window&&!Ha,pd=dn&&(!ur||Ha&&8<Ha&&11>=Ha),yd=" ",vd=!1;function gd(e,t){switch(e){case"keyup":return Fg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ki=!1;function Ig(e,t){switch(e){case"compositionend":return xd(t);case"keypress":return t.which!==32?null:(vd=!0,yd);case"textInput":return e=t.data,e===yd&&vd?null:e;default:return null}}function e1(e,t){if(Ki)return e==="compositionend"||!ur&&gd(e,t)?(e=ud(),Ws=sr=On=null,Ki=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return pd&&t.locale!=="ko"?null:t.data;default:return null}}var t1={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function bd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!t1[e.type]:t==="textarea"}function Sd(e,t,n,a){Yi?Xi?Xi.push(a):Xi=[a]:Yi=a,t=Kl(t,"onChange"),0<t.length&&(n=new tl("onChange","change",null,n,a),e.push({event:n,listeners:t}))}var qa=null,Ga=null;function n1(e){ip(e,0)}function il(e){var t=_a(e);if(nd(t))return e}function jd(e,t){if(e==="change")return t}var Td=!1;if(dn){var fr;if(dn){var dr="oninput"in document;if(!dr){var Ad=document.createElement("div");Ad.setAttribute("oninput","return;"),dr=typeof Ad.oninput=="function"}fr=dr}else fr=!1;Td=fr&&(!document.documentMode||9<document.documentMode)}function Ed(){qa&&(qa.detachEvent("onpropertychange",Md),Ga=qa=null)}function Md(e){if(e.propertyName==="value"&&il(Ga)){var t=[];Sd(t,Ga,e,nr(e)),cd(n1,t)}}function i1(e,t,n){e==="focusin"?(Ed(),qa=t,Ga=n,qa.attachEvent("onpropertychange",Md)):e==="focusout"&&Ed()}function a1(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return il(Ga)}function s1(e,t){if(e==="click")return il(t)}function l1(e,t){if(e==="input"||e==="change")return il(t)}function o1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var At=typeof Object.is=="function"?Object.is:o1;function Ya(e,t){if(At(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++){var r=n[a];if(!Yo.call(t,r)||!At(e[r],t[r]))return!1}return!0}function Cd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Dd(e,t){var n=Cd(e);e=0;for(var a;n;){if(n.nodeType===3){if(a=e+n.textContent.length,e<=t&&a>=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Cd(n)}}function zd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?zd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function wd(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=$s(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=$s(e.document)}return t}function hr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var r1=dn&&"documentMode"in document&&11>=document.documentMode,Zi=null,mr=null,Xa=null,pr=!1;function Nd(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;pr||Zi==null||Zi!==$s(a)||(a=Zi,"selectionStart"in a&&hr(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Xa&&Ya(Xa,a)||(Xa=a,a=Kl(mr,"onSelect"),0<a.length&&(t=new tl("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=Zi)))}function di(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Qi={animationend:di("Animation","AnimationEnd"),animationiteration:di("Animation","AnimationIteration"),animationstart:di("Animation","AnimationStart"),transitionrun:di("Transition","TransitionRun"),transitionstart:di("Transition","TransitionStart"),transitioncancel:di("Transition","TransitionCancel"),transitionend:di("Transition","TransitionEnd")},yr={},Rd={};dn&&(Rd=document.createElement("div").style,"AnimationEvent"in window||(delete Qi.animationend.animation,delete Qi.animationiteration.animation,delete Qi.animationstart.animation),"TransitionEvent"in window||delete Qi.transitionend.transition);function hi(e){if(yr[e])return yr[e];if(!Qi[e])return e;var t=Qi[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Rd)return yr[e]=t[n];return e}var Od=hi("animationend"),Vd=hi("animationiteration"),_d=hi("animationstart"),c1=hi("transitionrun"),u1=hi("transitionstart"),f1=hi("transitioncancel"),Bd=hi("transitionend"),Ud=new Map,vr="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");vr.push("scrollEnd");function Xt(e,t){Ud.set(e,t),ui(t,[e])}var al=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Vt=[],Pi=0,gr=0;function sl(){for(var e=Pi,t=gr=Pi=0;t<e;){var n=Vt[t];Vt[t++]=null;var a=Vt[t];Vt[t++]=null;var r=Vt[t];Vt[t++]=null;var c=Vt[t];if(Vt[t++]=null,a!==null&&r!==null){var h=a.pending;h===null?r.next=r:(r.next=h.next,h.next=r),a.pending=r}c!==0&&kd(n,r,c)}}function ll(e,t,n,a){Vt[Pi++]=e,Vt[Pi++]=t,Vt[Pi++]=n,Vt[Pi++]=a,gr|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function xr(e,t,n,a){return ll(e,t,n,a),ol(e)}function mi(e,t){return ll(e,null,null,t),ol(e)}function kd(e,t,n){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n);for(var r=!1,c=e.return;c!==null;)c.childLanes|=n,a=c.alternate,a!==null&&(a.childLanes|=n),c.tag===22&&(e=c.stateNode,e===null||e._visibility&1||(r=!0)),e=c,c=c.return;return e.tag===3?(c=e.stateNode,r&&t!==null&&(r=31-Tt(n),e=c.hiddenUpdates,a=e[r],a===null?e[r]=[t]:a.push(t),t.lane=n|536870912),c):null}function ol(e){if(50<ds)throw ds=0,Dc=null,Error(o(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Ji={};function d1(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Et(e,t,n,a){return new d1(e,t,n,a)}function br(e){return e=e.prototype,!(!e||!e.isReactComponent)}function hn(e,t){var n=e.alternate;return n===null?(n=Et(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Ld(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function rl(e,t,n,a,r,c){var h=0;if(a=e,typeof e=="function")br(e)&&(h=1);else if(typeof e=="string")h=vx(e,n,W.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case se:return e=Et(31,n,t,r),e.elementType=se,e.lanes=c,e;case O:return pi(n.children,r,c,t);case _:h=8,r|=24;break;case L:return e=Et(12,n,t,r|2),e.elementType=L,e.lanes=c,e;case P:return e=Et(13,n,t,r),e.elementType=P,e.lanes=c,e;case ie:return e=Et(19,n,t,r),e.elementType=ie,e.lanes=c,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case U:h=10;break e;case G:h=9;break e;case q:h=11;break e;case X:h=14;break e;case Q:h=16,a=null;break e}h=29,n=Error(o(130,e===null?"null":typeof e,"")),a=null}return t=Et(h,n,t,r),t.elementType=e,t.type=a,t.lanes=c,t}function pi(e,t,n,a){return e=Et(7,e,a,t),e.lanes=n,e}function Sr(e,t,n){return e=Et(6,e,null,t),e.lanes=n,e}function Hd(e){var t=Et(18,null,null,0);return t.stateNode=e,t}function jr(e,t,n){return t=Et(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var qd=new WeakMap;function _t(e,t){if(typeof e=="object"&&e!==null){var n=qd.get(e);return n!==void 0?n:(t={value:e,source:t,stack:Hf(t)},qd.set(e,t),t)}return{value:e,source:t,stack:Hf(t)}}var $i=[],Fi=0,cl=null,Ka=0,Bt=[],Ut=0,Vn=null,It=1,en="";function mn(e,t){$i[Fi++]=Ka,$i[Fi++]=cl,cl=e,Ka=t}function Gd(e,t,n){Bt[Ut++]=It,Bt[Ut++]=en,Bt[Ut++]=Vn,Vn=e;var a=It;e=en;var r=32-Tt(a)-1;a&=~(1<<r),n+=1;var c=32-Tt(t)+r;if(30<c){var h=r-r%5;c=(a&(1<<h)-1).toString(32),a>>=h,r-=h,It=1<<32-Tt(t)+r|n<<r|a,en=c+e}else It=1<<c|n<<r|a,en=e}function Tr(e){e.return!==null&&(mn(e,1),Gd(e,1,0))}function Ar(e){for(;e===cl;)cl=$i[--Fi],$i[Fi]=null,Ka=$i[--Fi],$i[Fi]=null;for(;e===Vn;)Vn=Bt[--Ut],Bt[Ut]=null,en=Bt[--Ut],Bt[Ut]=null,It=Bt[--Ut],Bt[Ut]=null}function Yd(e,t){Bt[Ut++]=It,Bt[Ut++]=en,Bt[Ut++]=Vn,It=t.id,en=t.overflow,Vn=e}var tt=null,Oe=null,ge=!1,_n=null,kt=!1,Er=Error(o(519));function Bn(e){var t=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Za(_t(t,e)),Er}function Xd(e){var t=e.stateNode,n=e.type,a=e.memoizedProps;switch(t[et]=e,t[mt]=a,n){case"dialog":he("cancel",t),he("close",t);break;case"iframe":case"object":case"embed":he("load",t);break;case"video":case"audio":for(n=0;n<ms.length;n++)he(ms[n],t);break;case"source":he("error",t);break;case"img":case"image":case"link":he("error",t),he("load",t);break;case"details":he("toggle",t);break;case"input":he("invalid",t),id(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":he("invalid",t);break;case"textarea":he("invalid",t),sd(t,a.value,a.defaultValue,a.children)}n=a.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||a.suppressHydrationWarning===!0||op(t.textContent,n)?(a.popover!=null&&(he("beforetoggle",t),he("toggle",t)),a.onScroll!=null&&he("scroll",t),a.onScrollEnd!=null&&he("scrollend",t),a.onClick!=null&&(t.onclick=fn),t=!0):t=!1,t||Bn(e,!0)}function Kd(e){for(tt=e.return;tt;)switch(tt.tag){case 5:case 31:case 13:kt=!1;return;case 27:case 3:kt=!0;return;default:tt=tt.return}}function Wi(e){if(e!==tt)return!1;if(!ge)return Kd(e),ge=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||Yc(e.type,e.memoizedProps)),n=!n),n&&Oe&&Bn(e),Kd(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Oe=yp(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Oe=yp(e)}else t===27?(t=Oe,$n(e.type)?(e=Pc,Pc=null,Oe=e):Oe=t):Oe=tt?Ht(e.stateNode.nextSibling):null;return!0}function yi(){Oe=tt=null,ge=!1}function Mr(){var e=_n;return e!==null&&(xt===null?xt=e:xt.push.apply(xt,e),_n=null),e}function Za(e){_n===null?_n=[e]:_n.push(e)}var Cr=A(null),vi=null,pn=null;function Un(e,t,n){Z(Cr,t._currentValue),t._currentValue=n}function yn(e){e._currentValue=Cr.current,H(Cr)}function Dr(e,t,n){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===n)break;e=e.return}}function zr(e,t,n,a){var r=e.child;for(r!==null&&(r.return=e);r!==null;){var c=r.dependencies;if(c!==null){var h=r.child;c=c.firstContext;e:for(;c!==null;){var x=c;c=r;for(var j=0;j<t.length;j++)if(x.context===t[j]){c.lanes|=n,x=c.alternate,x!==null&&(x.lanes|=n),Dr(c.return,n,e),a||(h=null);break e}c=x.next}}else if(r.tag===18){if(h=r.return,h===null)throw Error(o(341));h.lanes|=n,c=h.alternate,c!==null&&(c.lanes|=n),Dr(h,n,e),h=null}else h=r.child;if(h!==null)h.return=r;else for(h=r;h!==null;){if(h===e){h=null;break}if(r=h.sibling,r!==null){r.return=h.return,h=r;break}h=h.return}r=h}}function Ii(e,t,n,a){e=null;for(var r=t,c=!1;r!==null;){if(!c){if((r.flags&524288)!==0)c=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var h=r.alternate;if(h===null)throw Error(o(387));if(h=h.memoizedProps,h!==null){var x=r.type;At(r.pendingProps.value,h.value)||(e!==null?e.push(x):e=[x])}}else if(r===Te.current){if(h=r.alternate,h===null)throw Error(o(387));h.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(e!==null?e.push(xs):e=[xs])}r=r.return}e!==null&&zr(t,e,n,a),t.flags|=262144}function ul(e){for(e=e.firstContext;e!==null;){if(!At(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function gi(e){vi=e,pn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function nt(e){return Zd(vi,e)}function fl(e,t){return vi===null&&gi(e),Zd(e,t)}function Zd(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},pn===null){if(e===null)throw Error(o(308));pn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else pn=pn.next=t;return n}var h1=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},m1=i.unstable_scheduleCallback,p1=i.unstable_NormalPriority,Xe={$$typeof:U,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function wr(){return{controller:new h1,data:new Map,refCount:0}}function Qa(e){e.refCount--,e.refCount===0&&m1(p1,function(){e.controller.abort()})}var Pa=null,Nr=0,ea=0,ta=null;function y1(e,t){if(Pa===null){var n=Pa=[];Nr=0,ea=Vc(),ta={status:"pending",value:void 0,then:function(a){n.push(a)}}}return Nr++,t.then(Qd,Qd),t}function Qd(){if(--Nr===0&&Pa!==null){ta!==null&&(ta.status="fulfilled");var e=Pa;Pa=null,ea=0,ta=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function v1(e,t){var n=[],a={status:"pending",value:null,reason:null,then:function(r){n.push(r)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var r=0;r<n.length;r++)(0,n[r])(t)},function(r){for(a.status="rejected",a.reason=r,r=0;r<n.length;r++)(0,n[r])(void 0)}),a}var Pd=R.S;R.S=function(e,t){Nm=St(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&y1(e,t),Pd!==null&&Pd(e,t)};var xi=A(null);function Rr(){var e=xi.current;return e!==null?e:ze.pooledCache}function dl(e,t){t===null?Z(xi,xi.current):Z(xi,t.pool)}function Jd(){var e=Rr();return e===null?null:{parent:Xe._currentValue,pool:e}}var na=Error(o(460)),Or=Error(o(474)),hl=Error(o(542)),ml={then:function(){}};function $d(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Fd(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(fn,fn),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Id(e),e;default:if(typeof t.status=="string")t.then(fn,fn);else{if(e=ze,e!==null&&100<e.shellSuspendCounter)throw Error(o(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var r=t;r.status="fulfilled",r.value=a}},function(a){if(t.status==="pending"){var r=t;r.status="rejected",r.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Id(e),e}throw Si=t,na}}function bi(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(Si=n,na):n}}var Si=null;function Wd(){if(Si===null)throw Error(o(459));var e=Si;return Si=null,e}function Id(e){if(e===na||e===hl)throw Error(o(483))}var ia=null,Ja=0;function pl(e){var t=Ja;return Ja+=1,ia===null&&(ia=[]),Fd(ia,e,t)}function $a(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function yl(e,t){throw t.$$typeof===S?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function eh(e){function t(M,T){if(e){var D=M.deletions;D===null?(M.deletions=[T],M.flags|=16):D.push(T)}}function n(M,T){if(!e)return null;for(;T!==null;)t(M,T),T=T.sibling;return null}function a(M){for(var T=new Map;M!==null;)M.key!==null?T.set(M.key,M):T.set(M.index,M),M=M.sibling;return T}function r(M,T){return M=hn(M,T),M.index=0,M.sibling=null,M}function c(M,T,D){return M.index=D,e?(D=M.alternate,D!==null?(D=D.index,D<T?(M.flags|=67108866,T):D):(M.flags|=67108866,T)):(M.flags|=1048576,T)}function h(M){return e&&M.alternate===null&&(M.flags|=67108866),M}function x(M,T,D,B){return T===null||T.tag!==6?(T=Sr(D,M.mode,B),T.return=M,T):(T=r(T,D),T.return=M,T)}function j(M,T,D,B){var ne=D.type;return ne===O?V(M,T,D.props.children,B,D.key):T!==null&&(T.elementType===ne||typeof ne=="object"&&ne!==null&&ne.$$typeof===Q&&bi(ne)===T.type)?(T=r(T,D.props),$a(T,D),T.return=M,T):(T=rl(D.type,D.key,D.props,null,M.mode,B),$a(T,D),T.return=M,T)}function z(M,T,D,B){return T===null||T.tag!==4||T.stateNode.containerInfo!==D.containerInfo||T.stateNode.implementation!==D.implementation?(T=jr(D,M.mode,B),T.return=M,T):(T=r(T,D.children||[]),T.return=M,T)}function V(M,T,D,B,ne){return T===null||T.tag!==7?(T=pi(D,M.mode,B,ne),T.return=M,T):(T=r(T,D),T.return=M,T)}function k(M,T,D){if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return T=Sr(""+T,M.mode,D),T.return=M,T;if(typeof T=="object"&&T!==null){switch(T.$$typeof){case E:return D=rl(T.type,T.key,T.props,null,M.mode,D),$a(D,T),D.return=M,D;case C:return T=jr(T,M.mode,D),T.return=M,T;case Q:return T=bi(T),k(M,T,D)}if(Le(T)||xe(T))return T=pi(T,M.mode,D,null),T.return=M,T;if(typeof T.then=="function")return k(M,pl(T),D);if(T.$$typeof===U)return k(M,fl(M,T),D);yl(M,T)}return null}function w(M,T,D,B){var ne=T!==null?T.key:null;if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return ne!==null?null:x(M,T,""+D,B);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case E:return D.key===ne?j(M,T,D,B):null;case C:return D.key===ne?z(M,T,D,B):null;case Q:return D=bi(D),w(M,T,D,B)}if(Le(D)||xe(D))return ne!==null?null:V(M,T,D,B,null);if(typeof D.then=="function")return w(M,T,pl(D),B);if(D.$$typeof===U)return w(M,T,fl(M,D),B);yl(M,D)}return null}function N(M,T,D,B,ne){if(typeof B=="string"&&B!==""||typeof B=="number"||typeof B=="bigint")return M=M.get(D)||null,x(T,M,""+B,ne);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case E:return M=M.get(B.key===null?D:B.key)||null,j(T,M,B,ne);case C:return M=M.get(B.key===null?D:B.key)||null,z(T,M,B,ne);case Q:return B=bi(B),N(M,T,D,B,ne)}if(Le(B)||xe(B))return M=M.get(D)||null,V(T,M,B,ne,null);if(typeof B.then=="function")return N(M,T,D,pl(B),ne);if(B.$$typeof===U)return N(M,T,D,fl(T,B),ne);yl(T,B)}return null}function $(M,T,D,B){for(var ne=null,be=null,I=T,ue=T=0,pe=null;I!==null&&ue<D.length;ue++){I.index>ue?(pe=I,I=null):pe=I.sibling;var Se=w(M,I,D[ue],B);if(Se===null){I===null&&(I=pe);break}e&&I&&Se.alternate===null&&t(M,I),T=c(Se,T,ue),be===null?ne=Se:be.sibling=Se,be=Se,I=pe}if(ue===D.length)return n(M,I),ge&&mn(M,ue),ne;if(I===null){for(;ue<D.length;ue++)I=k(M,D[ue],B),I!==null&&(T=c(I,T,ue),be===null?ne=I:be.sibling=I,be=I);return ge&&mn(M,ue),ne}for(I=a(I);ue<D.length;ue++)pe=N(I,M,ue,D[ue],B),pe!==null&&(e&&pe.alternate!==null&&I.delete(pe.key===null?ue:pe.key),T=c(pe,T,ue),be===null?ne=pe:be.sibling=pe,be=pe);return e&&I.forEach(function(ti){return t(M,ti)}),ge&&mn(M,ue),ne}function ae(M,T,D,B){if(D==null)throw Error(o(151));for(var ne=null,be=null,I=T,ue=T=0,pe=null,Se=D.next();I!==null&&!Se.done;ue++,Se=D.next()){I.index>ue?(pe=I,I=null):pe=I.sibling;var ti=w(M,I,Se.value,B);if(ti===null){I===null&&(I=pe);break}e&&I&&ti.alternate===null&&t(M,I),T=c(ti,T,ue),be===null?ne=ti:be.sibling=ti,be=ti,I=pe}if(Se.done)return n(M,I),ge&&mn(M,ue),ne;if(I===null){for(;!Se.done;ue++,Se=D.next())Se=k(M,Se.value,B),Se!==null&&(T=c(Se,T,ue),be===null?ne=Se:be.sibling=Se,be=Se);return ge&&mn(M,ue),ne}for(I=a(I);!Se.done;ue++,Se=D.next())Se=N(I,M,ue,Se.value,B),Se!==null&&(e&&Se.alternate!==null&&I.delete(Se.key===null?ue:Se.key),T=c(Se,T,ue),be===null?ne=Se:be.sibling=Se,be=Se);return e&&I.forEach(function(Dx){return t(M,Dx)}),ge&&mn(M,ue),ne}function De(M,T,D,B){if(typeof D=="object"&&D!==null&&D.type===O&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case E:e:{for(var ne=D.key;T!==null;){if(T.key===ne){if(ne=D.type,ne===O){if(T.tag===7){n(M,T.sibling),B=r(T,D.props.children),B.return=M,M=B;break e}}else if(T.elementType===ne||typeof ne=="object"&&ne!==null&&ne.$$typeof===Q&&bi(ne)===T.type){n(M,T.sibling),B=r(T,D.props),$a(B,D),B.return=M,M=B;break e}n(M,T);break}else t(M,T);T=T.sibling}D.type===O?(B=pi(D.props.children,M.mode,B,D.key),B.return=M,M=B):(B=rl(D.type,D.key,D.props,null,M.mode,B),$a(B,D),B.return=M,M=B)}return h(M);case C:e:{for(ne=D.key;T!==null;){if(T.key===ne)if(T.tag===4&&T.stateNode.containerInfo===D.containerInfo&&T.stateNode.implementation===D.implementation){n(M,T.sibling),B=r(T,D.children||[]),B.return=M,M=B;break e}else{n(M,T);break}else t(M,T);T=T.sibling}B=jr(D,M.mode,B),B.return=M,M=B}return h(M);case Q:return D=bi(D),De(M,T,D,B)}if(Le(D))return $(M,T,D,B);if(xe(D)){if(ne=xe(D),typeof ne!="function")throw Error(o(150));return D=ne.call(D),ae(M,T,D,B)}if(typeof D.then=="function")return De(M,T,pl(D),B);if(D.$$typeof===U)return De(M,T,fl(M,D),B);yl(M,D)}return typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint"?(D=""+D,T!==null&&T.tag===6?(n(M,T.sibling),B=r(T,D),B.return=M,M=B):(n(M,T),B=Sr(D,M.mode,B),B.return=M,M=B),h(M)):n(M,T)}return function(M,T,D,B){try{Ja=0;var ne=De(M,T,D,B);return ia=null,ne}catch(I){if(I===na||I===hl)throw I;var be=Et(29,I,null,M.mode);return be.lanes=B,be.return=M,be}finally{}}}var ji=eh(!0),th=eh(!1),kn=!1;function Vr(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function _r(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ln(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Hn(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(je&2)!==0){var r=a.pending;return r===null?t.next=t:(t.next=r.next,r.next=t),a.pending=t,t=ol(e),kd(e,null,n),t}return ll(e,a,t,n),ol(e)}function Fa(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Zf(e,n)}}function Br(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var r=null,c=null;if(n=n.firstBaseUpdate,n!==null){do{var h={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};c===null?r=c=h:c=c.next=h,n=n.next}while(n!==null);c===null?r=c=t:c=c.next=t}else r=c=t;n={baseState:a.baseState,firstBaseUpdate:r,lastBaseUpdate:c,shared:a.shared,callbacks:a.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Ur=!1;function Wa(){if(Ur){var e=ta;if(e!==null)throw e}}function Ia(e,t,n,a){Ur=!1;var r=e.updateQueue;kn=!1;var c=r.firstBaseUpdate,h=r.lastBaseUpdate,x=r.shared.pending;if(x!==null){r.shared.pending=null;var j=x,z=j.next;j.next=null,h===null?c=z:h.next=z,h=j;var V=e.alternate;V!==null&&(V=V.updateQueue,x=V.lastBaseUpdate,x!==h&&(x===null?V.firstBaseUpdate=z:x.next=z,V.lastBaseUpdate=j))}if(c!==null){var k=r.baseState;h=0,V=z=j=null,x=c;do{var w=x.lane&-536870913,N=w!==x.lane;if(N?(me&w)===w:(a&w)===w){w!==0&&w===ea&&(Ur=!0),V!==null&&(V=V.next={lane:0,tag:x.tag,payload:x.payload,callback:null,next:null});e:{var $=e,ae=x;w=t;var De=n;switch(ae.tag){case 1:if($=ae.payload,typeof $=="function"){k=$.call(De,k,w);break e}k=$;break e;case 3:$.flags=$.flags&-65537|128;case 0:if($=ae.payload,w=typeof $=="function"?$.call(De,k,w):$,w==null)break e;k=b({},k,w);break e;case 2:kn=!0}}w=x.callback,w!==null&&(e.flags|=64,N&&(e.flags|=8192),N=r.callbacks,N===null?r.callbacks=[w]:N.push(w))}else N={lane:w,tag:x.tag,payload:x.payload,callback:x.callback,next:null},V===null?(z=V=N,j=k):V=V.next=N,h|=w;if(x=x.next,x===null){if(x=r.shared.pending,x===null)break;N=x,x=N.next,N.next=null,r.lastBaseUpdate=N,r.shared.pending=null}}while(!0);V===null&&(j=k),r.baseState=j,r.firstBaseUpdate=z,r.lastBaseUpdate=V,c===null&&(r.shared.lanes=0),Kn|=h,e.lanes=h,e.memoizedState=k}}function nh(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function ih(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)nh(n[e],t)}var aa=A(null),vl=A(0);function ah(e,t){e=En,Z(vl,e),Z(aa,t),En=e|t.baseLanes}function kr(){Z(vl,En),Z(aa,aa.current)}function Lr(){En=vl.current,H(aa),H(vl)}var Mt=A(null),Lt=null;function qn(e){var t=e.alternate;Z(qe,qe.current&1),Z(Mt,e),Lt===null&&(t===null||aa.current!==null||t.memoizedState!==null)&&(Lt=e)}function Hr(e){Z(qe,qe.current),Z(Mt,e),Lt===null&&(Lt=e)}function sh(e){e.tag===22?(Z(qe,qe.current),Z(Mt,e),Lt===null&&(Lt=e)):Gn()}function Gn(){Z(qe,qe.current),Z(Mt,Mt.current)}function Ct(e){H(Mt),Lt===e&&(Lt=null),H(qe)}var qe=A(0);function gl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||Zc(n)||Qc(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var vn=0,re=null,Me=null,Ke=null,xl=!1,sa=!1,Ti=!1,bl=0,es=0,la=null,g1=0;function Be(){throw Error(o(321))}function qr(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!At(e[n],t[n]))return!1;return!0}function Gr(e,t,n,a,r,c){return vn=c,re=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,R.H=e===null||e.memoizedState===null?Gh:ic,Ti=!1,c=n(a,r),Ti=!1,sa&&(c=oh(t,n,a,r)),lh(e),c}function lh(e){R.H=is;var t=Me!==null&&Me.next!==null;if(vn=0,Ke=Me=re=null,xl=!1,es=0,la=null,t)throw Error(o(300));e===null||Ze||(e=e.dependencies,e!==null&&ul(e)&&(Ze=!0))}function oh(e,t,n,a){re=e;var r=0;do{if(sa&&(la=null),es=0,sa=!1,25<=r)throw Error(o(301));if(r+=1,Ke=Me=null,e.updateQueue!=null){var c=e.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}R.H=Yh,c=t(n,a)}while(sa);return c}function x1(){var e=R.H,t=e.useState()[0];return t=typeof t.then=="function"?ts(t):t,e=e.useState()[0],(Me!==null?Me.memoizedState:null)!==e&&(re.flags|=1024),t}function Yr(){var e=bl!==0;return bl=0,e}function Xr(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Kr(e){if(xl){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}xl=!1}vn=0,Ke=Me=re=null,sa=!1,es=bl=0,la=null}function ft(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ke===null?re.memoizedState=Ke=e:Ke=Ke.next=e,Ke}function Ge(){if(Me===null){var e=re.alternate;e=e!==null?e.memoizedState:null}else e=Me.next;var t=Ke===null?re.memoizedState:Ke.next;if(t!==null)Ke=t,Me=e;else{if(e===null)throw re.alternate===null?Error(o(467)):Error(o(310));Me=e,e={memoizedState:Me.memoizedState,baseState:Me.baseState,baseQueue:Me.baseQueue,queue:Me.queue,next:null},Ke===null?re.memoizedState=Ke=e:Ke=Ke.next=e}return Ke}function Sl(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ts(e){var t=es;return es+=1,la===null&&(la=[]),e=Fd(la,e,t),t=re,(Ke===null?t.memoizedState:Ke.next)===null&&(t=t.alternate,R.H=t===null||t.memoizedState===null?Gh:ic),e}function jl(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ts(e);if(e.$$typeof===U)return nt(e)}throw Error(o(438,String(e)))}function Zr(e){var t=null,n=re.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var a=re.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(r){return r.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=Sl(),re.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),a=0;a<e;a++)n[a]=te;return t.index++,n}function gn(e,t){return typeof t=="function"?t(e):t}function Tl(e){var t=Ge();return Qr(t,Me,e)}function Qr(e,t,n){var a=e.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=n;var r=e.baseQueue,c=a.pending;if(c!==null){if(r!==null){var h=r.next;r.next=c.next,c.next=h}t.baseQueue=r=c,a.pending=null}if(c=e.baseState,r===null)e.memoizedState=c;else{t=r.next;var x=h=null,j=null,z=t,V=!1;do{var k=z.lane&-536870913;if(k!==z.lane?(me&k)===k:(vn&k)===k){var w=z.revertLane;if(w===0)j!==null&&(j=j.next={lane:0,revertLane:0,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null}),k===ea&&(V=!0);else if((vn&w)===w){z=z.next,w===ea&&(V=!0);continue}else k={lane:0,revertLane:z.revertLane,gesture:null,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},j===null?(x=j=k,h=c):j=j.next=k,re.lanes|=w,Kn|=w;k=z.action,Ti&&n(c,k),c=z.hasEagerState?z.eagerState:n(c,k)}else w={lane:k,revertLane:z.revertLane,gesture:z.gesture,action:z.action,hasEagerState:z.hasEagerState,eagerState:z.eagerState,next:null},j===null?(x=j=w,h=c):j=j.next=w,re.lanes|=k,Kn|=k;z=z.next}while(z!==null&&z!==t);if(j===null?h=c:j.next=x,!At(c,e.memoizedState)&&(Ze=!0,V&&(n=ta,n!==null)))throw n;e.memoizedState=c,e.baseState=h,e.baseQueue=j,a.lastRenderedState=c}return r===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function Pr(e){var t=Ge(),n=t.queue;if(n===null)throw Error(o(311));n.lastRenderedReducer=e;var a=n.dispatch,r=n.pending,c=t.memoizedState;if(r!==null){n.pending=null;var h=r=r.next;do c=e(c,h.action),h=h.next;while(h!==r);At(c,t.memoizedState)||(Ze=!0),t.memoizedState=c,t.baseQueue===null&&(t.baseState=c),n.lastRenderedState=c}return[c,a]}function rh(e,t,n){var a=re,r=Ge(),c=ge;if(c){if(n===void 0)throw Error(o(407));n=n()}else n=t();var h=!At((Me||r).memoizedState,n);if(h&&(r.memoizedState=n,Ze=!0),r=r.queue,Fr(fh.bind(null,a,r,e),[e]),r.getSnapshot!==t||h||Ke!==null&&Ke.memoizedState.tag&1){if(a.flags|=2048,oa(9,{destroy:void 0},uh.bind(null,a,r,n,t),null),ze===null)throw Error(o(349));c||(vn&127)!==0||ch(a,t,n)}return n}function ch(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=re.updateQueue,t===null?(t=Sl(),re.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function uh(e,t,n,a){t.value=n,t.getSnapshot=a,dh(t)&&hh(e)}function fh(e,t,n){return n(function(){dh(t)&&hh(e)})}function dh(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!At(e,n)}catch{return!0}}function hh(e){var t=mi(e,2);t!==null&&bt(t,e,2)}function Jr(e){var t=ft();if(typeof e=="function"){var n=e;if(e=n(),Ti){Nn(!0);try{n()}finally{Nn(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:gn,lastRenderedState:e},t}function mh(e,t,n,a){return e.baseState=n,Qr(e,Me,typeof a=="function"?a:gn)}function b1(e,t,n,a,r){if(Ml(e))throw Error(o(485));if(e=t.action,e!==null){var c={payload:r,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(h){c.listeners.push(h)}};R.T!==null?n(!0):c.isTransition=!1,a(c),n=t.pending,n===null?(c.next=t.pending=c,ph(t,c)):(c.next=n.next,t.pending=n.next=c)}}function ph(e,t){var n=t.action,a=t.payload,r=e.state;if(t.isTransition){var c=R.T,h={};R.T=h;try{var x=n(r,a),j=R.S;j!==null&&j(h,x),yh(e,t,x)}catch(z){$r(e,t,z)}finally{c!==null&&h.types!==null&&(c.types=h.types),R.T=c}}else try{c=n(r,a),yh(e,t,c)}catch(z){$r(e,t,z)}}function yh(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(a){vh(e,t,a)},function(a){return $r(e,t,a)}):vh(e,t,n)}function vh(e,t,n){t.status="fulfilled",t.value=n,gh(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,ph(e,n)))}function $r(e,t,n){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=n,gh(t),t=t.next;while(t!==a)}e.action=null}function gh(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function xh(e,t){return t}function bh(e,t){if(ge){var n=ze.formState;if(n!==null){e:{var a=re;if(ge){if(Oe){t:{for(var r=Oe,c=kt;r.nodeType!==8;){if(!c){r=null;break t}if(r=Ht(r.nextSibling),r===null){r=null;break t}}c=r.data,r=c==="F!"||c==="F"?r:null}if(r){Oe=Ht(r.nextSibling),a=r.data==="F!";break e}}Bn(a)}a=!1}a&&(t=n[0])}}return n=ft(),n.memoizedState=n.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:xh,lastRenderedState:t},n.queue=a,n=Lh.bind(null,re,a),a.dispatch=n,a=Jr(!1),c=nc.bind(null,re,!1,a.queue),a=ft(),r={state:t,dispatch:null,action:e,pending:null},a.queue=r,n=b1.bind(null,re,r,c,n),r.dispatch=n,a.memoizedState=e,[t,n,!1]}function Sh(e){var t=Ge();return jh(t,Me,e)}function jh(e,t,n){if(t=Qr(e,t,xh)[0],e=Tl(gn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=ts(t)}catch(h){throw h===na?hl:h}else a=t;t=Ge();var r=t.queue,c=r.dispatch;return n!==t.memoizedState&&(re.flags|=2048,oa(9,{destroy:void 0},S1.bind(null,r,n),null)),[a,c,e]}function S1(e,t){e.action=t}function Th(e){var t=Ge(),n=Me;if(n!==null)return jh(t,n,e);Ge(),t=t.memoizedState,n=Ge();var a=n.queue.dispatch;return n.memoizedState=e,[t,a,!1]}function oa(e,t,n,a){return e={tag:e,create:n,deps:a,inst:t,next:null},t=re.updateQueue,t===null&&(t=Sl(),re.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function Ah(){return Ge().memoizedState}function Al(e,t,n,a){var r=ft();re.flags|=e,r.memoizedState=oa(1|t,{destroy:void 0},n,a===void 0?null:a)}function El(e,t,n,a){var r=Ge();a=a===void 0?null:a;var c=r.memoizedState.inst;Me!==null&&a!==null&&qr(a,Me.memoizedState.deps)?r.memoizedState=oa(t,c,n,a):(re.flags|=e,r.memoizedState=oa(1|t,c,n,a))}function Eh(e,t){Al(8390656,8,e,t)}function Fr(e,t){El(2048,8,e,t)}function j1(e){re.flags|=4;var t=re.updateQueue;if(t===null)t=Sl(),re.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function Mh(e){var t=Ge().memoizedState;return j1({ref:t,nextImpl:e}),function(){if((je&2)!==0)throw Error(o(440));return t.impl.apply(void 0,arguments)}}function Ch(e,t){return El(4,2,e,t)}function Dh(e,t){return El(4,4,e,t)}function zh(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function wh(e,t,n){n=n!=null?n.concat([e]):null,El(4,4,zh.bind(null,t,e),n)}function Wr(){}function Nh(e,t){var n=Ge();t=t===void 0?null:t;var a=n.memoizedState;return t!==null&&qr(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function Rh(e,t){var n=Ge();t=t===void 0?null:t;var a=n.memoizedState;if(t!==null&&qr(t,a[1]))return a[0];if(a=e(),Ti){Nn(!0);try{e()}finally{Nn(!1)}}return n.memoizedState=[a,t],a}function Ir(e,t,n){return n===void 0||(vn&1073741824)!==0&&(me&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=Om(),re.lanes|=e,Kn|=e,n)}function Oh(e,t,n,a){return At(n,t)?n:aa.current!==null?(e=Ir(e,n,a),At(e,t)||(Ze=!0),e):(vn&42)===0||(vn&1073741824)!==0&&(me&261930)===0?(Ze=!0,e.memoizedState=n):(e=Om(),re.lanes|=e,Kn|=e,t)}function Vh(e,t,n,a,r){var c=K.p;K.p=c!==0&&8>c?c:8;var h=R.T,x={};R.T=x,nc(e,!1,t,n);try{var j=r(),z=R.S;if(z!==null&&z(x,j),j!==null&&typeof j=="object"&&typeof j.then=="function"){var V=v1(j,a);ns(e,t,V,wt(e))}else ns(e,t,a,wt(e))}catch(k){ns(e,t,{then:function(){},status:"rejected",reason:k},wt())}finally{K.p=c,h!==null&&x.types!==null&&(h.types=x.types),R.T=h}}function T1(){}function ec(e,t,n,a){if(e.tag!==5)throw Error(o(476));var r=_h(e).queue;Vh(e,r,t,J,n===null?T1:function(){return Bh(e),n(a)})}function _h(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:J,baseState:J,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:gn,lastRenderedState:J},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:gn,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Bh(e){var t=_h(e);t.next===null&&(t=e.alternate.memoizedState),ns(e,t.next.queue,{},wt())}function tc(){return nt(xs)}function Uh(){return Ge().memoizedState}function kh(){return Ge().memoizedState}function A1(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=wt();e=Ln(n);var a=Hn(t,e,n);a!==null&&(bt(a,t,n),Fa(a,t,n)),t={cache:wr()},e.payload=t;return}t=t.return}}function E1(e,t,n){var a=wt();n={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Ml(e)?Hh(t,n):(n=xr(e,t,n,a),n!==null&&(bt(n,e,a),qh(n,t,a)))}function Lh(e,t,n){var a=wt();ns(e,t,n,a)}function ns(e,t,n,a){var r={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ml(e))Hh(t,r);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null))try{var h=t.lastRenderedState,x=c(h,n);if(r.hasEagerState=!0,r.eagerState=x,At(x,h))return ll(e,t,r,0),ze===null&&sl(),!1}catch{}finally{}if(n=xr(e,t,r,a),n!==null)return bt(n,e,a),qh(n,t,a),!0}return!1}function nc(e,t,n,a){if(a={lane:2,revertLane:Vc(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Ml(e)){if(t)throw Error(o(479))}else t=xr(e,n,a,2),t!==null&&bt(t,e,2)}function Ml(e){var t=e.alternate;return e===re||t!==null&&t===re}function Hh(e,t){sa=xl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function qh(e,t,n){if((n&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Zf(e,n)}}var is={readContext:nt,use:jl,useCallback:Be,useContext:Be,useEffect:Be,useImperativeHandle:Be,useLayoutEffect:Be,useInsertionEffect:Be,useMemo:Be,useReducer:Be,useRef:Be,useState:Be,useDebugValue:Be,useDeferredValue:Be,useTransition:Be,useSyncExternalStore:Be,useId:Be,useHostTransitionStatus:Be,useFormState:Be,useActionState:Be,useOptimistic:Be,useMemoCache:Be,useCacheRefresh:Be};is.useEffectEvent=Be;var Gh={readContext:nt,use:jl,useCallback:function(e,t){return ft().memoizedState=[e,t===void 0?null:t],e},useContext:nt,useEffect:Eh,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,Al(4194308,4,zh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Al(4194308,4,e,t)},useInsertionEffect:function(e,t){Al(4,2,e,t)},useMemo:function(e,t){var n=ft();t=t===void 0?null:t;var a=e();if(Ti){Nn(!0);try{e()}finally{Nn(!1)}}return n.memoizedState=[a,t],a},useReducer:function(e,t,n){var a=ft();if(n!==void 0){var r=n(t);if(Ti){Nn(!0);try{n(t)}finally{Nn(!1)}}}else r=t;return a.memoizedState=a.baseState=r,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},a.queue=e,e=e.dispatch=E1.bind(null,re,e),[a.memoizedState,e]},useRef:function(e){var t=ft();return e={current:e},t.memoizedState=e},useState:function(e){e=Jr(e);var t=e.queue,n=Lh.bind(null,re,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Wr,useDeferredValue:function(e,t){var n=ft();return Ir(n,e,t)},useTransition:function(){var e=Jr(!1);return e=Vh.bind(null,re,e.queue,!0,!1),ft().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var a=re,r=ft();if(ge){if(n===void 0)throw Error(o(407));n=n()}else{if(n=t(),ze===null)throw Error(o(349));(me&127)!==0||ch(a,t,n)}r.memoizedState=n;var c={value:n,getSnapshot:t};return r.queue=c,Eh(fh.bind(null,a,c,e),[e]),a.flags|=2048,oa(9,{destroy:void 0},uh.bind(null,a,c,n,t),null),n},useId:function(){var e=ft(),t=ze.identifierPrefix;if(ge){var n=en,a=It;n=(a&~(1<<32-Tt(a)-1)).toString(32)+n,t="_"+t+"R_"+n,n=bl++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=g1++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:tc,useFormState:bh,useActionState:bh,useOptimistic:function(e){var t=ft();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=nc.bind(null,re,!0,n),n.dispatch=t,[e,t]},useMemoCache:Zr,useCacheRefresh:function(){return ft().memoizedState=A1.bind(null,re)},useEffectEvent:function(e){var t=ft(),n={impl:e};return t.memoizedState=n,function(){if((je&2)!==0)throw Error(o(440));return n.impl.apply(void 0,arguments)}}},ic={readContext:nt,use:jl,useCallback:Nh,useContext:nt,useEffect:Fr,useImperativeHandle:wh,useInsertionEffect:Ch,useLayoutEffect:Dh,useMemo:Rh,useReducer:Tl,useRef:Ah,useState:function(){return Tl(gn)},useDebugValue:Wr,useDeferredValue:function(e,t){var n=Ge();return Oh(n,Me.memoizedState,e,t)},useTransition:function(){var e=Tl(gn)[0],t=Ge().memoizedState;return[typeof e=="boolean"?e:ts(e),t]},useSyncExternalStore:rh,useId:Uh,useHostTransitionStatus:tc,useFormState:Sh,useActionState:Sh,useOptimistic:function(e,t){var n=Ge();return mh(n,Me,e,t)},useMemoCache:Zr,useCacheRefresh:kh};ic.useEffectEvent=Mh;var Yh={readContext:nt,use:jl,useCallback:Nh,useContext:nt,useEffect:Fr,useImperativeHandle:wh,useInsertionEffect:Ch,useLayoutEffect:Dh,useMemo:Rh,useReducer:Pr,useRef:Ah,useState:function(){return Pr(gn)},useDebugValue:Wr,useDeferredValue:function(e,t){var n=Ge();return Me===null?Ir(n,e,t):Oh(n,Me.memoizedState,e,t)},useTransition:function(){var e=Pr(gn)[0],t=Ge().memoizedState;return[typeof e=="boolean"?e:ts(e),t]},useSyncExternalStore:rh,useId:Uh,useHostTransitionStatus:tc,useFormState:Th,useActionState:Th,useOptimistic:function(e,t){var n=Ge();return Me!==null?mh(n,Me,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:Zr,useCacheRefresh:kh};Yh.useEffectEvent=Mh;function ac(e,t,n,a){t=e.memoizedState,n=n(a,t),n=n==null?t:b({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var sc={enqueueSetState:function(e,t,n){e=e._reactInternals;var a=wt(),r=Ln(a);r.payload=t,n!=null&&(r.callback=n),t=Hn(e,r,a),t!==null&&(bt(t,e,a),Fa(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=wt(),r=Ln(a);r.tag=1,r.payload=t,n!=null&&(r.callback=n),t=Hn(e,r,a),t!==null&&(bt(t,e,a),Fa(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=wt(),a=Ln(n);a.tag=2,t!=null&&(a.callback=t),t=Hn(e,a,n),t!==null&&(bt(t,e,n),Fa(t,e,n))}};function Xh(e,t,n,a,r,c,h){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,c,h):t.prototype&&t.prototype.isPureReactComponent?!Ya(n,a)||!Ya(r,c):!0}function Kh(e,t,n,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==e&&sc.enqueueReplaceState(t,t.state,null)}function Ai(e,t){var n=t;if("ref"in t){n={};for(var a in t)a!=="ref"&&(n[a]=t[a])}if(e=e.defaultProps){n===t&&(n=b({},n));for(var r in e)n[r]===void 0&&(n[r]=e[r])}return n}function Zh(e){al(e)}function Qh(e){console.error(e)}function Ph(e){al(e)}function Cl(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function Jh(e,t,n){try{var a=e.onCaughtError;a(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function lc(e,t,n){return n=Ln(n),n.tag=3,n.payload={element:null},n.callback=function(){Cl(e,t)},n}function $h(e){return e=Ln(e),e.tag=3,e}function Fh(e,t,n,a){var r=n.type.getDerivedStateFromError;if(typeof r=="function"){var c=a.value;e.payload=function(){return r(c)},e.callback=function(){Jh(t,n,a)}}var h=n.stateNode;h!==null&&typeof h.componentDidCatch=="function"&&(e.callback=function(){Jh(t,n,a),typeof r!="function"&&(Zn===null?Zn=new Set([this]):Zn.add(this));var x=a.stack;this.componentDidCatch(a.value,{componentStack:x!==null?x:""})})}function M1(e,t,n,a,r){if(n.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=n.alternate,t!==null&&Ii(t,n,r,!0),n=Mt.current,n!==null){switch(n.tag){case 31:case 13:return Lt===null?Ll():n.alternate===null&&Ue===0&&(Ue=3),n.flags&=-257,n.flags|=65536,n.lanes=r,a===ml?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([a]):t.add(a),Nc(e,a,r)),!1;case 22:return n.flags|=65536,a===ml?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([a]):n.add(a)),Nc(e,a,r)),!1}throw Error(o(435,n.tag))}return Nc(e,a,r),Ll(),!1}if(ge)return t=Mt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=r,a!==Er&&(e=Error(o(422),{cause:a}),Za(_t(e,n)))):(a!==Er&&(t=Error(o(423),{cause:a}),Za(_t(t,n))),e=e.current.alternate,e.flags|=65536,r&=-r,e.lanes|=r,a=_t(a,n),r=lc(e.stateNode,a,r),Br(e,r),Ue!==4&&(Ue=2)),!1;var c=Error(o(520),{cause:a});if(c=_t(c,n),fs===null?fs=[c]:fs.push(c),Ue!==4&&(Ue=2),t===null)return!0;a=_t(a,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=r&-r,n.lanes|=e,e=lc(n.stateNode,a,e),Br(n,e),!1;case 1:if(t=n.type,c=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(Zn===null||!Zn.has(c))))return n.flags|=65536,r&=-r,n.lanes|=r,r=$h(r),Fh(r,e,n,a),Br(n,r),!1}n=n.return}while(n!==null);return!1}var oc=Error(o(461)),Ze=!1;function it(e,t,n,a){t.child=e===null?th(t,null,n,a):ji(t,e.child,n,a)}function Wh(e,t,n,a,r){n=n.render;var c=t.ref;if("ref"in a){var h={};for(var x in a)x!=="ref"&&(h[x]=a[x])}else h=a;return gi(t),a=Gr(e,t,n,h,c,r),x=Yr(),e!==null&&!Ze?(Xr(e,t,r),xn(e,t,r)):(ge&&x&&Tr(t),t.flags|=1,it(e,t,a,r),t.child)}function Ih(e,t,n,a,r){if(e===null){var c=n.type;return typeof c=="function"&&!br(c)&&c.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=c,em(e,t,c,a,r)):(e=rl(n.type,null,a,t,t.mode,r),e.ref=t.ref,e.return=t,t.child=e)}if(c=e.child,!pc(e,r)){var h=c.memoizedProps;if(n=n.compare,n=n!==null?n:Ya,n(h,a)&&e.ref===t.ref)return xn(e,t,r)}return t.flags|=1,e=hn(c,a),e.ref=t.ref,e.return=t,t.child=e}function em(e,t,n,a,r){if(e!==null){var c=e.memoizedProps;if(Ya(c,a)&&e.ref===t.ref)if(Ze=!1,t.pendingProps=a=c,pc(e,r))(e.flags&131072)!==0&&(Ze=!0);else return t.lanes=e.lanes,xn(e,t,r)}return rc(e,t,n,a,r)}function tm(e,t,n,a){var r=a.children,c=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(c=c!==null?c.baseLanes|n:n,e!==null){for(a=t.child=e.child,r=0;a!==null;)r=r|a.lanes|a.childLanes,a=a.sibling;a=r&~c}else a=0,t.child=null;return nm(e,t,c,n,a)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&dl(t,c!==null?c.cachePool:null),c!==null?ah(t,c):kr(),sh(t);else return a=t.lanes=536870912,nm(e,t,c!==null?c.baseLanes|n:n,n,a)}else c!==null?(dl(t,c.cachePool),ah(t,c),Gn(),t.memoizedState=null):(e!==null&&dl(t,null),kr(),Gn());return it(e,t,r,n),t.child}function as(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function nm(e,t,n,a,r){var c=Rr();return c=c===null?null:{parent:Xe._currentValue,pool:c},t.memoizedState={baseLanes:n,cachePool:c},e!==null&&dl(t,null),kr(),sh(t),e!==null&&Ii(e,t,a,!0),t.childLanes=r,null}function Dl(e,t){return t=wl({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function im(e,t,n){return ji(t,e.child,null,n),e=Dl(t,t.pendingProps),e.flags|=2,Ct(t),t.memoizedState=null,e}function C1(e,t,n){var a=t.pendingProps,r=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(ge){if(a.mode==="hidden")return e=Dl(t,a),t.lanes=536870912,as(null,e);if(Hr(t),(e=Oe)?(e=pp(e,kt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Vn!==null?{id:It,overflow:en}:null,retryLane:536870912,hydrationErrors:null},n=Hd(e),n.return=t,t.child=n,tt=t,Oe=null)):e=null,e===null)throw Bn(t);return t.lanes=536870912,null}return Dl(t,a)}var c=e.memoizedState;if(c!==null){var h=c.dehydrated;if(Hr(t),r)if(t.flags&256)t.flags&=-257,t=im(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(o(558));else if(Ze||Ii(e,t,n,!1),r=(n&e.childLanes)!==0,Ze||r){if(a=ze,a!==null&&(h=Qf(a,n),h!==0&&h!==c.retryLane))throw c.retryLane=h,mi(e,h),bt(a,e,h),oc;Ll(),t=im(e,t,n)}else e=c.treeContext,Oe=Ht(h.nextSibling),tt=t,ge=!0,_n=null,kt=!1,e!==null&&Yd(t,e),t=Dl(t,a),t.flags|=4096;return t}return e=hn(e.child,{mode:a.mode,children:a.children}),e.ref=t.ref,t.child=e,e.return=t,e}function zl(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(o(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function rc(e,t,n,a,r){return gi(t),n=Gr(e,t,n,a,void 0,r),a=Yr(),e!==null&&!Ze?(Xr(e,t,r),xn(e,t,r)):(ge&&a&&Tr(t),t.flags|=1,it(e,t,n,r),t.child)}function am(e,t,n,a,r,c){return gi(t),t.updateQueue=null,n=oh(t,a,n,r),lh(e),a=Yr(),e!==null&&!Ze?(Xr(e,t,c),xn(e,t,c)):(ge&&a&&Tr(t),t.flags|=1,it(e,t,n,c),t.child)}function sm(e,t,n,a,r){if(gi(t),t.stateNode===null){var c=Ji,h=n.contextType;typeof h=="object"&&h!==null&&(c=nt(h)),c=new n(a,c),t.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=sc,t.stateNode=c,c._reactInternals=t,c=t.stateNode,c.props=a,c.state=t.memoizedState,c.refs={},Vr(t),h=n.contextType,c.context=typeof h=="object"&&h!==null?nt(h):Ji,c.state=t.memoizedState,h=n.getDerivedStateFromProps,typeof h=="function"&&(ac(t,n,h,a),c.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(h=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),h!==c.state&&sc.enqueueReplaceState(c,c.state,null),Ia(t,a,c,r),Wa(),c.state=t.memoizedState),typeof c.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){c=t.stateNode;var x=t.memoizedProps,j=Ai(n,x);c.props=j;var z=c.context,V=n.contextType;h=Ji,typeof V=="object"&&V!==null&&(h=nt(V));var k=n.getDerivedStateFromProps;V=typeof k=="function"||typeof c.getSnapshotBeforeUpdate=="function",x=t.pendingProps!==x,V||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(x||z!==h)&&Kh(t,c,a,h),kn=!1;var w=t.memoizedState;c.state=w,Ia(t,a,c,r),Wa(),z=t.memoizedState,x||w!==z||kn?(typeof k=="function"&&(ac(t,n,k,a),z=t.memoizedState),(j=kn||Xh(t,n,j,a,w,z,h))?(V||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(t.flags|=4194308)):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=z),c.props=a,c.state=z,c.context=h,a=j):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{c=t.stateNode,_r(e,t),h=t.memoizedProps,V=Ai(n,h),c.props=V,k=t.pendingProps,w=c.context,z=n.contextType,j=Ji,typeof z=="object"&&z!==null&&(j=nt(z)),x=n.getDerivedStateFromProps,(z=typeof x=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(h!==k||w!==j)&&Kh(t,c,a,j),kn=!1,w=t.memoizedState,c.state=w,Ia(t,a,c,r),Wa();var N=t.memoizedState;h!==k||w!==N||kn||e!==null&&e.dependencies!==null&&ul(e.dependencies)?(typeof x=="function"&&(ac(t,n,x,a),N=t.memoizedState),(V=kn||Xh(t,n,V,a,w,N,j)||e!==null&&e.dependencies!==null&&ul(e.dependencies))?(z||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(a,N,j),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(a,N,j)),typeof c.componentDidUpdate=="function"&&(t.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof c.componentDidUpdate!="function"||h===e.memoizedProps&&w===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||h===e.memoizedProps&&w===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=N),c.props=a,c.state=N,c.context=j,a=V):(typeof c.componentDidUpdate!="function"||h===e.memoizedProps&&w===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||h===e.memoizedProps&&w===e.memoizedState||(t.flags|=1024),a=!1)}return c=a,zl(e,t),a=(t.flags&128)!==0,c||a?(c=t.stateNode,n=a&&typeof n.getDerivedStateFromError!="function"?null:c.render(),t.flags|=1,e!==null&&a?(t.child=ji(t,e.child,null,r),t.child=ji(t,null,n,r)):it(e,t,n,r),t.memoizedState=c.state,e=t.child):e=xn(e,t,r),e}function lm(e,t,n,a){return yi(),t.flags|=256,it(e,t,n,a),t.child}var cc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function uc(e){return{baseLanes:e,cachePool:Jd()}}function fc(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=zt),e}function om(e,t,n){var a=t.pendingProps,r=!1,c=(t.flags&128)!==0,h;if((h=c)||(h=e!==null&&e.memoizedState===null?!1:(qe.current&2)!==0),h&&(r=!0,t.flags&=-129),h=(t.flags&32)!==0,t.flags&=-33,e===null){if(ge){if(r?qn(t):Gn(),(e=Oe)?(e=pp(e,kt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Vn!==null?{id:It,overflow:en}:null,retryLane:536870912,hydrationErrors:null},n=Hd(e),n.return=t,t.child=n,tt=t,Oe=null)):e=null,e===null)throw Bn(t);return Qc(e)?t.lanes=32:t.lanes=536870912,null}var x=a.children;return a=a.fallback,r?(Gn(),r=t.mode,x=wl({mode:"hidden",children:x},r),a=pi(a,r,n,null),x.return=t,a.return=t,x.sibling=a,t.child=x,a=t.child,a.memoizedState=uc(n),a.childLanes=fc(e,h,n),t.memoizedState=cc,as(null,a)):(qn(t),dc(t,x))}var j=e.memoizedState;if(j!==null&&(x=j.dehydrated,x!==null)){if(c)t.flags&256?(qn(t),t.flags&=-257,t=hc(e,t,n)):t.memoizedState!==null?(Gn(),t.child=e.child,t.flags|=128,t=null):(Gn(),x=a.fallback,r=t.mode,a=wl({mode:"visible",children:a.children},r),x=pi(x,r,n,null),x.flags|=2,a.return=t,x.return=t,a.sibling=x,t.child=a,ji(t,e.child,null,n),a=t.child,a.memoizedState=uc(n),a.childLanes=fc(e,h,n),t.memoizedState=cc,t=as(null,a));else if(qn(t),Qc(x)){if(h=x.nextSibling&&x.nextSibling.dataset,h)var z=h.dgst;h=z,a=Error(o(419)),a.stack="",a.digest=h,Za({value:a,source:null,stack:null}),t=hc(e,t,n)}else if(Ze||Ii(e,t,n,!1),h=(n&e.childLanes)!==0,Ze||h){if(h=ze,h!==null&&(a=Qf(h,n),a!==0&&a!==j.retryLane))throw j.retryLane=a,mi(e,a),bt(h,e,a),oc;Zc(x)||Ll(),t=hc(e,t,n)}else Zc(x)?(t.flags|=192,t.child=e.child,t=null):(e=j.treeContext,Oe=Ht(x.nextSibling),tt=t,ge=!0,_n=null,kt=!1,e!==null&&Yd(t,e),t=dc(t,a.children),t.flags|=4096);return t}return r?(Gn(),x=a.fallback,r=t.mode,j=e.child,z=j.sibling,a=hn(j,{mode:"hidden",children:a.children}),a.subtreeFlags=j.subtreeFlags&65011712,z!==null?x=hn(z,x):(x=pi(x,r,n,null),x.flags|=2),x.return=t,a.return=t,a.sibling=x,t.child=a,as(null,a),a=t.child,x=e.child.memoizedState,x===null?x=uc(n):(r=x.cachePool,r!==null?(j=Xe._currentValue,r=r.parent!==j?{parent:j,pool:j}:r):r=Jd(),x={baseLanes:x.baseLanes|n,cachePool:r}),a.memoizedState=x,a.childLanes=fc(e,h,n),t.memoizedState=cc,as(e.child,a)):(qn(t),n=e.child,e=n.sibling,n=hn(n,{mode:"visible",children:a.children}),n.return=t,n.sibling=null,e!==null&&(h=t.deletions,h===null?(t.deletions=[e],t.flags|=16):h.push(e)),t.child=n,t.memoizedState=null,n)}function dc(e,t){return t=wl({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function wl(e,t){return e=Et(22,e,null,t),e.lanes=0,e}function hc(e,t,n){return ji(t,e.child,null,n),e=dc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function rm(e,t,n){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Dr(e.return,t,n)}function mc(e,t,n,a,r,c){var h=e.memoizedState;h===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:r,treeForkCount:c}:(h.isBackwards=t,h.rendering=null,h.renderingStartTime=0,h.last=a,h.tail=n,h.tailMode=r,h.treeForkCount=c)}function cm(e,t,n){var a=t.pendingProps,r=a.revealOrder,c=a.tail;a=a.children;var h=qe.current,x=(h&2)!==0;if(x?(h=h&1|2,t.flags|=128):h&=1,Z(qe,h),it(e,t,a,n),a=ge?Ka:0,!x&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&rm(e,n,t);else if(e.tag===19)rm(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(r){case"forwards":for(n=t.child,r=null;n!==null;)e=n.alternate,e!==null&&gl(e)===null&&(r=n),n=n.sibling;n=r,n===null?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),mc(t,!1,r,n,c,a);break;case"backwards":case"unstable_legacy-backwards":for(n=null,r=t.child,t.child=null;r!==null;){if(e=r.alternate,e!==null&&gl(e)===null){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}mc(t,!0,n,null,c,a);break;case"together":mc(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function xn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Kn|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Ii(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,n=hn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=hn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function pc(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&ul(e)))}function D1(e,t,n){switch(t.tag){case 3:ut(t,t.stateNode.containerInfo),Un(t,Xe,e.memoizedState.cache),yi();break;case 27:case 5:wa(t);break;case 4:ut(t,t.stateNode.containerInfo);break;case 10:Un(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Hr(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(qn(t),t.flags|=128,null):(n&t.child.childLanes)!==0?om(e,t,n):(qn(t),e=xn(e,t,n),e!==null?e.sibling:null);qn(t);break;case 19:var r=(e.flags&128)!==0;if(a=(n&t.childLanes)!==0,a||(Ii(e,t,n,!1),a=(n&t.childLanes)!==0),r){if(a)return cm(e,t,n);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),Z(qe,qe.current),a)break;return null;case 22:return t.lanes=0,tm(e,t,n,t.pendingProps);case 24:Un(t,Xe,e.memoizedState.cache)}return xn(e,t,n)}function um(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)Ze=!0;else{if(!pc(e,n)&&(t.flags&128)===0)return Ze=!1,D1(e,t,n);Ze=(e.flags&131072)!==0}else Ze=!1,ge&&(t.flags&1048576)!==0&&Gd(t,Ka,t.index);switch(t.lanes=0,t.tag){case 16:e:{var a=t.pendingProps;if(e=bi(t.elementType),t.type=e,typeof e=="function")br(e)?(a=Ai(e,a),t.tag=1,t=sm(null,t,e,a,n)):(t.tag=0,t=rc(null,t,e,a,n));else{if(e!=null){var r=e.$$typeof;if(r===q){t.tag=11,t=Wh(null,t,e,a,n);break e}else if(r===X){t.tag=14,t=Ih(null,t,e,a,n);break e}}throw t=Ye(e)||e,Error(o(306,t,""))}}return t;case 0:return rc(e,t,t.type,t.pendingProps,n);case 1:return a=t.type,r=Ai(a,t.pendingProps),sm(e,t,a,r,n);case 3:e:{if(ut(t,t.stateNode.containerInfo),e===null)throw Error(o(387));a=t.pendingProps;var c=t.memoizedState;r=c.element,_r(e,t),Ia(t,a,null,n);var h=t.memoizedState;if(a=h.cache,Un(t,Xe,a),a!==c.cache&&zr(t,[Xe],n,!0),Wa(),a=h.element,c.isDehydrated)if(c={element:a,isDehydrated:!1,cache:h.cache},t.updateQueue.baseState=c,t.memoizedState=c,t.flags&256){t=lm(e,t,a,n);break e}else if(a!==r){r=_t(Error(o(424)),t),Za(r),t=lm(e,t,a,n);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Oe=Ht(e.firstChild),tt=t,ge=!0,_n=null,kt=!0,n=th(t,null,a,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(yi(),a===r){t=xn(e,t,n);break e}it(e,t,a,n)}t=t.child}return t;case 26:return zl(e,t),e===null?(n=Sp(t.type,null,t.pendingProps,null))?t.memoizedState=n:ge||(n=t.type,e=t.pendingProps,a=Zl(fe.current).createElement(n),a[et]=t,a[mt]=e,at(a,n,e),Fe(a),t.stateNode=a):t.memoizedState=Sp(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return wa(t),e===null&&ge&&(a=t.stateNode=gp(t.type,t.pendingProps,fe.current),tt=t,kt=!0,r=Oe,$n(t.type)?(Pc=r,Oe=Ht(a.firstChild)):Oe=r),it(e,t,t.pendingProps.children,n),zl(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ge&&((r=a=Oe)&&(a=ax(a,t.type,t.pendingProps,kt),a!==null?(t.stateNode=a,tt=t,Oe=Ht(a.firstChild),kt=!1,r=!0):r=!1),r||Bn(t)),wa(t),r=t.type,c=t.pendingProps,h=e!==null?e.memoizedProps:null,a=c.children,Yc(r,c)?a=null:h!==null&&Yc(r,h)&&(t.flags|=32),t.memoizedState!==null&&(r=Gr(e,t,x1,null,null,n),xs._currentValue=r),zl(e,t),it(e,t,a,n),t.child;case 6:return e===null&&ge&&((e=n=Oe)&&(n=sx(n,t.pendingProps,kt),n!==null?(t.stateNode=n,tt=t,Oe=null,e=!0):e=!1),e||Bn(t)),null;case 13:return om(e,t,n);case 4:return ut(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=ji(t,null,a,n):it(e,t,a,n),t.child;case 11:return Wh(e,t,t.type,t.pendingProps,n);case 7:return it(e,t,t.pendingProps,n),t.child;case 8:return it(e,t,t.pendingProps.children,n),t.child;case 12:return it(e,t,t.pendingProps.children,n),t.child;case 10:return a=t.pendingProps,Un(t,t.type,a.value),it(e,t,a.children,n),t.child;case 9:return r=t.type._context,a=t.pendingProps.children,gi(t),r=nt(r),a=a(r),t.flags|=1,it(e,t,a,n),t.child;case 14:return Ih(e,t,t.type,t.pendingProps,n);case 15:return em(e,t,t.type,t.pendingProps,n);case 19:return cm(e,t,n);case 31:return C1(e,t,n);case 22:return tm(e,t,n,t.pendingProps);case 24:return gi(t),a=nt(Xe),e===null?(r=Rr(),r===null&&(r=ze,c=wr(),r.pooledCache=c,c.refCount++,c!==null&&(r.pooledCacheLanes|=n),r=c),t.memoizedState={parent:a,cache:r},Vr(t),Un(t,Xe,r)):((e.lanes&n)!==0&&(_r(e,t),Ia(t,null,null,n),Wa()),r=e.memoizedState,c=t.memoizedState,r.parent!==a?(r={parent:a,cache:a},t.memoizedState=r,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=r),Un(t,Xe,a)):(a=c.cache,Un(t,Xe,a),a!==r.cache&&zr(t,[Xe],n,!0))),it(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function bn(e){e.flags|=4}function yc(e,t,n,a,r){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(r&335544128)===r)if(e.stateNode.complete)e.flags|=8192;else if(Um())e.flags|=8192;else throw Si=ml,Or}else e.flags&=-16777217}function fm(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Mp(t))if(Um())e.flags|=8192;else throw Si=ml,Or}function Nl(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Xf():536870912,e.lanes|=t,fa|=t)}function ss(e,t){if(!ge)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var a=null;n!==null;)n.alternate!==null&&(a=n),n=n.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function Ve(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,a=0;if(t)for(var r=e.child;r!==null;)n|=r.lanes|r.childLanes,a|=r.subtreeFlags&65011712,a|=r.flags&65011712,r.return=e,r=r.sibling;else for(r=e.child;r!==null;)n|=r.lanes|r.childLanes,a|=r.subtreeFlags,a|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=a,e.childLanes=n,t}function z1(e,t,n){var a=t.pendingProps;switch(Ar(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ve(t),null;case 1:return Ve(t),null;case 3:return n=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),yn(Xe),He(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Wi(t)?bn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Mr())),Ve(t),null;case 26:var r=t.type,c=t.memoizedState;return e===null?(bn(t),c!==null?(Ve(t),fm(t,c)):(Ve(t),yc(t,r,null,a,n))):c?c!==e.memoizedState?(bn(t),Ve(t),fm(t,c)):(Ve(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&bn(t),Ve(t),yc(t,r,e,a,n)),null;case 27:if(Gs(t),n=fe.current,r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&bn(t);else{if(!a){if(t.stateNode===null)throw Error(o(166));return Ve(t),null}e=W.current,Wi(t)?Xd(t):(e=gp(r,a,n),t.stateNode=e,bn(t))}return Ve(t),null;case 5:if(Gs(t),r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&bn(t);else{if(!a){if(t.stateNode===null)throw Error(o(166));return Ve(t),null}if(c=W.current,Wi(t))Xd(t);else{var h=Zl(fe.current);switch(c){case 1:c=h.createElementNS("http://www.w3.org/2000/svg",r);break;case 2:c=h.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;default:switch(r){case"svg":c=h.createElementNS("http://www.w3.org/2000/svg",r);break;case"math":c=h.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;case"script":c=h.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof a.is=="string"?h.createElement("select",{is:a.is}):h.createElement("select"),a.multiple?c.multiple=!0:a.size&&(c.size=a.size);break;default:c=typeof a.is=="string"?h.createElement(r,{is:a.is}):h.createElement(r)}}c[et]=t,c[mt]=a;e:for(h=t.child;h!==null;){if(h.tag===5||h.tag===6)c.appendChild(h.stateNode);else if(h.tag!==4&&h.tag!==27&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===t)break e;for(;h.sibling===null;){if(h.return===null||h.return===t)break e;h=h.return}h.sibling.return=h.return,h=h.sibling}t.stateNode=c;e:switch(at(c,r,a),r){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&bn(t)}}return Ve(t),yc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&bn(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(o(166));if(e=fe.current,Wi(t)){if(e=t.stateNode,n=t.memoizedProps,a=null,r=tt,r!==null)switch(r.tag){case 27:case 5:a=r.memoizedProps}e[et]=t,e=!!(e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||op(e.nodeValue,n)),e||Bn(t,!0)}else e=Zl(e).createTextNode(a),e[et]=t,t.stateNode=e}return Ve(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(a=Wi(t),n!==null){if(e===null){if(!a)throw Error(o(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(557));e[et]=t}else yi(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ve(t),e=!1}else n=Mr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(Ct(t),t):(Ct(t),null);if((t.flags&128)!==0)throw Error(o(558))}return Ve(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(r=Wi(t),a!==null&&a.dehydrated!==null){if(e===null){if(!r)throw Error(o(318));if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(o(317));r[et]=t}else yi(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ve(t),r=!1}else r=Mr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),r=!0;if(!r)return t.flags&256?(Ct(t),t):(Ct(t),null)}return Ct(t),(t.flags&128)!==0?(t.lanes=n,t):(n=a!==null,e=e!==null&&e.memoizedState!==null,n&&(a=t.child,r=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(r=a.alternate.memoizedState.cachePool.pool),c=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(c=a.memoizedState.cachePool.pool),c!==r&&(a.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Nl(t,t.updateQueue),Ve(t),null);case 4:return He(),e===null&&kc(t.stateNode.containerInfo),Ve(t),null;case 10:return yn(t.type),Ve(t),null;case 19:if(H(qe),a=t.memoizedState,a===null)return Ve(t),null;if(r=(t.flags&128)!==0,c=a.rendering,c===null)if(r)ss(a,!1);else{if(Ue!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=gl(e),c!==null){for(t.flags|=128,ss(a,!1),e=c.updateQueue,t.updateQueue=e,Nl(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Ld(n,e),n=n.sibling;return Z(qe,qe.current&1|2),ge&&mn(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&St()>Bl&&(t.flags|=128,r=!0,ss(a,!1),t.lanes=4194304)}else{if(!r)if(e=gl(c),e!==null){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,Nl(t,e),ss(a,!0),a.tail===null&&a.tailMode==="hidden"&&!c.alternate&&!ge)return Ve(t),null}else 2*St()-a.renderingStartTime>Bl&&n!==536870912&&(t.flags|=128,r=!0,ss(a,!1),t.lanes=4194304);a.isBackwards?(c.sibling=t.child,t.child=c):(e=a.last,e!==null?e.sibling=c:t.child=c,a.last=c)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=St(),e.sibling=null,n=qe.current,Z(qe,r?n&1|2:n&1),ge&&mn(t,a.treeForkCount),e):(Ve(t),null);case 22:case 23:return Ct(t),Lr(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(n&536870912)!==0&&(t.flags&128)===0&&(Ve(t),t.subtreeFlags&6&&(t.flags|=8192)):Ve(t),n=t.updateQueue,n!==null&&Nl(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),e!==null&&H(xi),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),yn(Xe),Ve(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function w1(e,t){switch(Ar(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return yn(Xe),He(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Gs(t),null;case 31:if(t.memoizedState!==null){if(Ct(t),t.alternate===null)throw Error(o(340));yi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Ct(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));yi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return H(qe),null;case 4:return He(),null;case 10:return yn(t.type),null;case 22:case 23:return Ct(t),Lr(),e!==null&&H(xi),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return yn(Xe),null;case 25:return null;default:return null}}function dm(e,t){switch(Ar(t),t.tag){case 3:yn(Xe),He();break;case 26:case 27:case 5:Gs(t);break;case 4:He();break;case 31:t.memoizedState!==null&&Ct(t);break;case 13:Ct(t);break;case 19:H(qe);break;case 10:yn(t.type);break;case 22:case 23:Ct(t),Lr(),e!==null&&H(xi);break;case 24:yn(Xe)}}function ls(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var r=a.next;n=r;do{if((n.tag&e)===e){a=void 0;var c=n.create,h=n.inst;a=c(),h.destroy=a}n=n.next}while(n!==r)}}catch(x){Ee(t,t.return,x)}}function Yn(e,t,n){try{var a=t.updateQueue,r=a!==null?a.lastEffect:null;if(r!==null){var c=r.next;a=c;do{if((a.tag&e)===e){var h=a.inst,x=h.destroy;if(x!==void 0){h.destroy=void 0,r=t;var j=n,z=x;try{z()}catch(V){Ee(r,j,V)}}}a=a.next}while(a!==c)}}catch(V){Ee(t,t.return,V)}}function hm(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{ih(t,n)}catch(a){Ee(e,e.return,a)}}}function mm(e,t,n){n.props=Ai(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(a){Ee(e,t,a)}}function os(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof n=="function"?e.refCleanup=n(a):n.current=a}}catch(r){Ee(e,t,r)}}function tn(e,t){var n=e.ref,a=e.refCleanup;if(n!==null)if(typeof a=="function")try{a()}catch(r){Ee(e,t,r)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(r){Ee(e,t,r)}else n.current=null}function pm(e){var t=e.type,n=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&a.focus();break e;case"img":n.src?a.src=n.src:n.srcSet&&(a.srcset=n.srcSet)}}catch(r){Ee(e,e.return,r)}}function vc(e,t,n){try{var a=e.stateNode;W1(a,e.type,n,t),a[mt]=t}catch(r){Ee(e,e.return,r)}}function ym(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&$n(e.type)||e.tag===4}function gc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ym(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&$n(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function xc(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=fn));else if(a!==4&&(a===27&&$n(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(xc(e,t,n),e=e.sibling;e!==null;)xc(e,t,n),e=e.sibling}function Rl(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(a!==4&&(a===27&&$n(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Rl(e,t,n),e=e.sibling;e!==null;)Rl(e,t,n),e=e.sibling}function vm(e){var t=e.stateNode,n=e.memoizedProps;try{for(var a=e.type,r=t.attributes;r.length;)t.removeAttributeNode(r[0]);at(t,a,n),t[et]=e,t[mt]=n}catch(c){Ee(e,e.return,c)}}var Sn=!1,Qe=!1,bc=!1,gm=typeof WeakSet=="function"?WeakSet:Set,We=null;function N1(e,t){if(e=e.containerInfo,qc=Il,e=wd(e),hr(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var r=a.anchorOffset,c=a.focusNode;a=a.focusOffset;try{n.nodeType,c.nodeType}catch{n=null;break e}var h=0,x=-1,j=-1,z=0,V=0,k=e,w=null;t:for(;;){for(var N;k!==n||r!==0&&k.nodeType!==3||(x=h+r),k!==c||a!==0&&k.nodeType!==3||(j=h+a),k.nodeType===3&&(h+=k.nodeValue.length),(N=k.firstChild)!==null;)w=k,k=N;for(;;){if(k===e)break t;if(w===n&&++z===r&&(x=h),w===c&&++V===a&&(j=h),(N=k.nextSibling)!==null)break;k=w,w=k.parentNode}k=N}n=x===-1||j===-1?null:{start:x,end:j}}else n=null}n=n||{start:0,end:0}}else n=null;for(Gc={focusedElem:e,selectionRange:n},Il=!1,We=t;We!==null;)if(t=We,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,We=e;else for(;We!==null;){switch(t=We,c=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)r=e[n],r.ref.impl=r.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&c!==null){e=void 0,n=t,r=c.memoizedProps,c=c.memoizedState,a=n.stateNode;try{var $=Ai(n.type,r);e=a.getSnapshotBeforeUpdate($,c),a.__reactInternalSnapshotBeforeUpdate=e}catch(ae){Ee(n,n.return,ae)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)Kc(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Kc(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(o(163))}if(e=t.sibling,e!==null){e.return=t.return,We=e;break}We=t.return}}function xm(e,t,n){var a=n.flags;switch(n.tag){case 0:case 11:case 15:Tn(e,n),a&4&&ls(5,n);break;case 1:if(Tn(e,n),a&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(h){Ee(n,n.return,h)}else{var r=Ai(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(r,t,e.__reactInternalSnapshotBeforeUpdate)}catch(h){Ee(n,n.return,h)}}a&64&&hm(n),a&512&&os(n,n.return);break;case 3:if(Tn(e,n),a&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{ih(e,t)}catch(h){Ee(n,n.return,h)}}break;case 27:t===null&&a&4&&vm(n);case 26:case 5:Tn(e,n),t===null&&a&4&&pm(n),a&512&&os(n,n.return);break;case 12:Tn(e,n);break;case 31:Tn(e,n),a&4&&jm(e,n);break;case 13:Tn(e,n),a&4&&Tm(e,n),a&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=H1.bind(null,n),lx(e,n))));break;case 22:if(a=n.memoizedState!==null||Sn,!a){t=t!==null&&t.memoizedState!==null||Qe,r=Sn;var c=Qe;Sn=a,(Qe=t)&&!c?An(e,n,(n.subtreeFlags&8772)!==0):Tn(e,n),Sn=r,Qe=c}break;case 30:break;default:Tn(e,n)}}function bm(e){var t=e.alternate;t!==null&&(e.alternate=null,bm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&$o(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var _e=null,yt=!1;function jn(e,t,n){for(n=n.child;n!==null;)Sm(e,t,n),n=n.sibling}function Sm(e,t,n){if(jt&&typeof jt.onCommitFiberUnmount=="function")try{jt.onCommitFiberUnmount(Na,n)}catch{}switch(n.tag){case 26:Qe||tn(n,t),jn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Qe||tn(n,t);var a=_e,r=yt;$n(n.type)&&(_e=n.stateNode,yt=!1),jn(e,t,n),ys(n.stateNode),_e=a,yt=r;break;case 5:Qe||tn(n,t);case 6:if(a=_e,r=yt,_e=null,jn(e,t,n),_e=a,yt=r,_e!==null)if(yt)try{(_e.nodeType===9?_e.body:_e.nodeName==="HTML"?_e.ownerDocument.body:_e).removeChild(n.stateNode)}catch(c){Ee(n,t,c)}else try{_e.removeChild(n.stateNode)}catch(c){Ee(n,t,c)}break;case 18:_e!==null&&(yt?(e=_e,hp(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),xa(e)):hp(_e,n.stateNode));break;case 4:a=_e,r=yt,_e=n.stateNode.containerInfo,yt=!0,jn(e,t,n),_e=a,yt=r;break;case 0:case 11:case 14:case 15:Yn(2,n,t),Qe||Yn(4,n,t),jn(e,t,n);break;case 1:Qe||(tn(n,t),a=n.stateNode,typeof a.componentWillUnmount=="function"&&mm(n,t,a)),jn(e,t,n);break;case 21:jn(e,t,n);break;case 22:Qe=(a=Qe)||n.memoizedState!==null,jn(e,t,n),Qe=a;break;default:jn(e,t,n)}}function jm(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{xa(e)}catch(n){Ee(t,t.return,n)}}}function Tm(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{xa(e)}catch(n){Ee(t,t.return,n)}}function R1(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new gm),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new gm),t;default:throw Error(o(435,e.tag))}}function Ol(e,t){var n=R1(e);t.forEach(function(a){if(!n.has(a)){n.add(a);var r=q1.bind(null,e,a);a.then(r,r)}})}function vt(e,t){var n=t.deletions;if(n!==null)for(var a=0;a<n.length;a++){var r=n[a],c=e,h=t,x=h;e:for(;x!==null;){switch(x.tag){case 27:if($n(x.type)){_e=x.stateNode,yt=!1;break e}break;case 5:_e=x.stateNode,yt=!1;break e;case 3:case 4:_e=x.stateNode.containerInfo,yt=!0;break e}x=x.return}if(_e===null)throw Error(o(160));Sm(c,h,r),_e=null,yt=!1,c=r.alternate,c!==null&&(c.return=null),r.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Am(t,e),t=t.sibling}var Kt=null;function Am(e,t){var n=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:vt(t,e),gt(e),a&4&&(Yn(3,e,e.return),ls(3,e),Yn(5,e,e.return));break;case 1:vt(t,e),gt(e),a&512&&(Qe||n===null||tn(n,n.return)),a&64&&Sn&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?a:n.concat(a))));break;case 26:var r=Kt;if(vt(t,e),gt(e),a&512&&(Qe||n===null||tn(n,n.return)),a&4){var c=n!==null?n.memoizedState:null;if(a=e.memoizedState,n===null)if(a===null)if(e.stateNode===null){e:{a=e.type,n=e.memoizedProps,r=r.ownerDocument||r;t:switch(a){case"title":c=r.getElementsByTagName("title")[0],(!c||c[Va]||c[et]||c.namespaceURI==="http://www.w3.org/2000/svg"||c.hasAttribute("itemprop"))&&(c=r.createElement(a),r.head.insertBefore(c,r.querySelector("head > title"))),at(c,a,n),c[et]=e,Fe(c),a=c;break e;case"link":var h=Ap("link","href",r).get(a+(n.href||""));if(h){for(var x=0;x<h.length;x++)if(c=h[x],c.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&c.getAttribute("rel")===(n.rel==null?null:n.rel)&&c.getAttribute("title")===(n.title==null?null:n.title)&&c.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){h.splice(x,1);break t}}c=r.createElement(a),at(c,a,n),r.head.appendChild(c);break;case"meta":if(h=Ap("meta","content",r).get(a+(n.content||""))){for(x=0;x<h.length;x++)if(c=h[x],c.getAttribute("content")===(n.content==null?null:""+n.content)&&c.getAttribute("name")===(n.name==null?null:n.name)&&c.getAttribute("property")===(n.property==null?null:n.property)&&c.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&c.getAttribute("charset")===(n.charSet==null?null:n.charSet)){h.splice(x,1);break t}}c=r.createElement(a),at(c,a,n),r.head.appendChild(c);break;default:throw Error(o(468,a))}c[et]=e,Fe(c),a=c}e.stateNode=a}else Ep(r,e.type,e.stateNode);else e.stateNode=Tp(r,a,e.memoizedProps);else c!==a?(c===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):c.count--,a===null?Ep(r,e.type,e.stateNode):Tp(r,a,e.memoizedProps)):a===null&&e.stateNode!==null&&vc(e,e.memoizedProps,n.memoizedProps)}break;case 27:vt(t,e),gt(e),a&512&&(Qe||n===null||tn(n,n.return)),n!==null&&a&4&&vc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(vt(t,e),gt(e),a&512&&(Qe||n===null||tn(n,n.return)),e.flags&32){r=e.stateNode;try{Gi(r,"")}catch($){Ee(e,e.return,$)}}a&4&&e.stateNode!=null&&(r=e.memoizedProps,vc(e,r,n!==null?n.memoizedProps:r)),a&1024&&(bc=!0);break;case 6:if(vt(t,e),gt(e),a&4){if(e.stateNode===null)throw Error(o(162));a=e.memoizedProps,n=e.stateNode;try{n.nodeValue=a}catch($){Ee(e,e.return,$)}}break;case 3:if(Jl=null,r=Kt,Kt=Ql(t.containerInfo),vt(t,e),Kt=r,gt(e),a&4&&n!==null&&n.memoizedState.isDehydrated)try{xa(t.containerInfo)}catch($){Ee(e,e.return,$)}bc&&(bc=!1,Em(e));break;case 4:a=Kt,Kt=Ql(e.stateNode.containerInfo),vt(t,e),gt(e),Kt=a;break;case 12:vt(t,e),gt(e);break;case 31:vt(t,e),gt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Ol(e,a)));break;case 13:vt(t,e),gt(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(_l=St()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Ol(e,a)));break;case 22:r=e.memoizedState!==null;var j=n!==null&&n.memoizedState!==null,z=Sn,V=Qe;if(Sn=z||r,Qe=V||j,vt(t,e),Qe=V,Sn=z,gt(e),a&8192)e:for(t=e.stateNode,t._visibility=r?t._visibility&-2:t._visibility|1,r&&(n===null||j||Sn||Qe||Ei(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){j=n=t;try{if(c=j.stateNode,r)h=c.style,typeof h.setProperty=="function"?h.setProperty("display","none","important"):h.display="none";else{x=j.stateNode;var k=j.memoizedProps.style,w=k!=null&&k.hasOwnProperty("display")?k.display:null;x.style.display=w==null||typeof w=="boolean"?"":(""+w).trim()}}catch($){Ee(j,j.return,$)}}}else if(t.tag===6){if(n===null){j=t;try{j.stateNode.nodeValue=r?"":j.memoizedProps}catch($){Ee(j,j.return,$)}}}else if(t.tag===18){if(n===null){j=t;try{var N=j.stateNode;r?mp(N,!0):mp(j.stateNode,!1)}catch($){Ee(j,j.return,$)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=e.updateQueue,a!==null&&(n=a.retryQueue,n!==null&&(a.retryQueue=null,Ol(e,n))));break;case 19:vt(t,e),gt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Ol(e,a)));break;case 30:break;case 21:break;default:vt(t,e),gt(e)}}function gt(e){var t=e.flags;if(t&2){try{for(var n,a=e.return;a!==null;){if(ym(a)){n=a;break}a=a.return}if(n==null)throw Error(o(160));switch(n.tag){case 27:var r=n.stateNode,c=gc(e);Rl(e,c,r);break;case 5:var h=n.stateNode;n.flags&32&&(Gi(h,""),n.flags&=-33);var x=gc(e);Rl(e,x,h);break;case 3:case 4:var j=n.stateNode.containerInfo,z=gc(e);xc(e,z,j);break;default:throw Error(o(161))}}catch(V){Ee(e,e.return,V)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Em(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Em(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Tn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)xm(e,t.alternate,t),t=t.sibling}function Ei(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Yn(4,t,t.return),Ei(t);break;case 1:tn(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&mm(t,t.return,n),Ei(t);break;case 27:ys(t.stateNode);case 26:case 5:tn(t,t.return),Ei(t);break;case 22:t.memoizedState===null&&Ei(t);break;case 30:Ei(t);break;default:Ei(t)}e=e.sibling}}function An(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,r=e,c=t,h=c.flags;switch(c.tag){case 0:case 11:case 15:An(r,c,n),ls(4,c);break;case 1:if(An(r,c,n),a=c,r=a.stateNode,typeof r.componentDidMount=="function")try{r.componentDidMount()}catch(z){Ee(a,a.return,z)}if(a=c,r=a.updateQueue,r!==null){var x=a.stateNode;try{var j=r.shared.hiddenCallbacks;if(j!==null)for(r.shared.hiddenCallbacks=null,r=0;r<j.length;r++)nh(j[r],x)}catch(z){Ee(a,a.return,z)}}n&&h&64&&hm(c),os(c,c.return);break;case 27:vm(c);case 26:case 5:An(r,c,n),n&&a===null&&h&4&&pm(c),os(c,c.return);break;case 12:An(r,c,n);break;case 31:An(r,c,n),n&&h&4&&jm(r,c);break;case 13:An(r,c,n),n&&h&4&&Tm(r,c);break;case 22:c.memoizedState===null&&An(r,c,n),os(c,c.return);break;case 30:break;default:An(r,c,n)}t=t.sibling}}function Sc(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&Qa(n))}function jc(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Qa(e))}function Zt(e,t,n,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Mm(e,t,n,a),t=t.sibling}function Mm(e,t,n,a){var r=t.flags;switch(t.tag){case 0:case 11:case 15:Zt(e,t,n,a),r&2048&&ls(9,t);break;case 1:Zt(e,t,n,a);break;case 3:Zt(e,t,n,a),r&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Qa(e)));break;case 12:if(r&2048){Zt(e,t,n,a),e=t.stateNode;try{var c=t.memoizedProps,h=c.id,x=c.onPostCommit;typeof x=="function"&&x(h,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(j){Ee(t,t.return,j)}}else Zt(e,t,n,a);break;case 31:Zt(e,t,n,a);break;case 13:Zt(e,t,n,a);break;case 23:break;case 22:c=t.stateNode,h=t.alternate,t.memoizedState!==null?c._visibility&2?Zt(e,t,n,a):rs(e,t):c._visibility&2?Zt(e,t,n,a):(c._visibility|=2,ra(e,t,n,a,(t.subtreeFlags&10256)!==0||!1)),r&2048&&Sc(h,t);break;case 24:Zt(e,t,n,a),r&2048&&jc(t.alternate,t);break;default:Zt(e,t,n,a)}}function ra(e,t,n,a,r){for(r=r&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var c=e,h=t,x=n,j=a,z=h.flags;switch(h.tag){case 0:case 11:case 15:ra(c,h,x,j,r),ls(8,h);break;case 23:break;case 22:var V=h.stateNode;h.memoizedState!==null?V._visibility&2?ra(c,h,x,j,r):rs(c,h):(V._visibility|=2,ra(c,h,x,j,r)),r&&z&2048&&Sc(h.alternate,h);break;case 24:ra(c,h,x,j,r),r&&z&2048&&jc(h.alternate,h);break;default:ra(c,h,x,j,r)}t=t.sibling}}function rs(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,a=t,r=a.flags;switch(a.tag){case 22:rs(n,a),r&2048&&Sc(a.alternate,a);break;case 24:rs(n,a),r&2048&&jc(a.alternate,a);break;default:rs(n,a)}t=t.sibling}}var cs=8192;function ca(e,t,n){if(e.subtreeFlags&cs)for(e=e.child;e!==null;)Cm(e,t,n),e=e.sibling}function Cm(e,t,n){switch(e.tag){case 26:ca(e,t,n),e.flags&cs&&e.memoizedState!==null&&gx(n,Kt,e.memoizedState,e.memoizedProps);break;case 5:ca(e,t,n);break;case 3:case 4:var a=Kt;Kt=Ql(e.stateNode.containerInfo),ca(e,t,n),Kt=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=cs,cs=16777216,ca(e,t,n),cs=a):ca(e,t,n));break;default:ca(e,t,n)}}function Dm(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function us(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];We=a,wm(a,e)}Dm(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)zm(e),e=e.sibling}function zm(e){switch(e.tag){case 0:case 11:case 15:us(e),e.flags&2048&&Yn(9,e,e.return);break;case 3:us(e);break;case 12:us(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Vl(e)):us(e);break;default:us(e)}}function Vl(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var a=t[n];We=a,wm(a,e)}Dm(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Yn(8,t,t.return),Vl(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Vl(t));break;default:Vl(t)}e=e.sibling}}function wm(e,t){for(;We!==null;){var n=We;switch(n.tag){case 0:case 11:case 15:Yn(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var a=n.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:Qa(n.memoizedState.cache)}if(a=n.child,a!==null)a.return=n,We=a;else e:for(n=e;We!==null;){a=We;var r=a.sibling,c=a.return;if(bm(a),a===n){We=null;break e}if(r!==null){r.return=c,We=r;break e}We=c}}}var O1={getCacheForType:function(e){var t=nt(Xe),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return nt(Xe).controller.signal}},V1=typeof WeakMap=="function"?WeakMap:Map,je=0,ze=null,de=null,me=0,Ae=0,Dt=null,Xn=!1,ua=!1,Tc=!1,En=0,Ue=0,Kn=0,Mi=0,Ac=0,zt=0,fa=0,fs=null,xt=null,Ec=!1,_l=0,Nm=0,Bl=1/0,Ul=null,Zn=null,Je=0,Qn=null,da=null,Mn=0,Mc=0,Cc=null,Rm=null,ds=0,Dc=null;function wt(){return(je&2)!==0&&me!==0?me&-me:R.T!==null?Vc():Pf()}function Om(){if(zt===0)if((me&536870912)===0||ge){var e=Ks;Ks<<=1,(Ks&3932160)===0&&(Ks=262144),zt=e}else zt=536870912;return e=Mt.current,e!==null&&(e.flags|=32),zt}function bt(e,t,n){(e===ze&&(Ae===2||Ae===9)||e.cancelPendingCommit!==null)&&(ha(e,0),Pn(e,me,zt,!1)),Oa(e,n),((je&2)===0||e!==ze)&&(e===ze&&((je&2)===0&&(Mi|=n),Ue===4&&Pn(e,me,zt,!1)),nn(e))}function Vm(e,t,n){if((je&6)!==0)throw Error(o(327));var a=!n&&(t&127)===0&&(t&e.expiredLanes)===0||Ra(e,t),r=a?U1(e,t):wc(e,t,!0),c=a;do{if(r===0){ua&&!a&&Pn(e,t,0,!1);break}else{if(n=e.current.alternate,c&&!_1(n)){r=wc(e,t,!1),c=!1;continue}if(r===2){if(c=t,e.errorRecoveryDisabledLanes&c)var h=0;else h=e.pendingLanes&-536870913,h=h!==0?h:h&536870912?536870912:0;if(h!==0){t=h;e:{var x=e;r=fs;var j=x.current.memoizedState.isDehydrated;if(j&&(ha(x,h).flags|=256),h=wc(x,h,!1),h!==2){if(Tc&&!j){x.errorRecoveryDisabledLanes|=c,Mi|=c,r=4;break e}c=xt,xt=r,c!==null&&(xt===null?xt=c:xt.push.apply(xt,c))}r=h}if(c=!1,r!==2)continue}}if(r===1){ha(e,0),Pn(e,t,0,!0);break}e:{switch(a=e,c=r,c){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t)break;case 6:Pn(a,t,zt,!Xn);break e;case 2:xt=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(r=_l+300-St(),10<r)){if(Pn(a,t,zt,!Xn),Qs(a,0,!0)!==0)break e;Mn=t,a.timeoutHandle=fp(_m.bind(null,a,n,xt,Ul,Ec,t,zt,Mi,fa,Xn,c,"Throttled",-0,0),r);break e}_m(a,n,xt,Ul,Ec,t,zt,Mi,fa,Xn,c,null,-0,0)}}break}while(!0);nn(e)}function _m(e,t,n,a,r,c,h,x,j,z,V,k,w,N){if(e.timeoutHandle=-1,k=t.subtreeFlags,k&8192||(k&16785408)===16785408){k={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:fn},Cm(t,c,k);var $=(c&62914560)===c?_l-St():(c&4194048)===c?Nm-St():0;if($=xx(k,$),$!==null){Mn=c,e.cancelPendingCommit=$(Ym.bind(null,e,t,c,n,a,r,h,x,j,V,k,null,w,N)),Pn(e,c,h,!z);return}}Ym(e,t,c,n,a,r,h,x,j)}function _1(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var a=0;a<n.length;a++){var r=n[a],c=r.getSnapshot;r=r.value;try{if(!At(c(),r))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Pn(e,t,n,a){t&=~Ac,t&=~Mi,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var r=t;0<r;){var c=31-Tt(r),h=1<<c;a[c]=-1,r&=~h}n!==0&&Kf(e,n,t)}function kl(){return(je&6)===0?(hs(0),!1):!0}function zc(){if(de!==null){if(Ae===0)var e=de.return;else e=de,pn=vi=null,Kr(e),ia=null,Ja=0,e=de;for(;e!==null;)dm(e.alternate,e),e=e.return;de=null}}function ha(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,tx(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),Mn=0,zc(),ze=e,de=n=hn(e.current,null),me=t,Ae=0,Dt=null,Xn=!1,ua=Ra(e,t),Tc=!1,fa=zt=Ac=Mi=Kn=Ue=0,xt=fs=null,Ec=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var r=31-Tt(a),c=1<<r;t|=e[r],a&=~c}return En=t,sl(),n}function Bm(e,t){re=null,R.H=is,t===na||t===hl?(t=Wd(),Ae=3):t===Or?(t=Wd(),Ae=4):Ae=t===oc?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Dt=t,de===null&&(Ue=1,Cl(e,_t(t,e.current)))}function Um(){var e=Mt.current;return e===null?!0:(me&4194048)===me?Lt===null:(me&62914560)===me||(me&536870912)!==0?e===Lt:!1}function km(){var e=R.H;return R.H=is,e===null?is:e}function Lm(){var e=R.A;return R.A=O1,e}function Ll(){Ue=4,Xn||(me&4194048)!==me&&Mt.current!==null||(ua=!0),(Kn&134217727)===0&&(Mi&134217727)===0||ze===null||Pn(ze,me,zt,!1)}function wc(e,t,n){var a=je;je|=2;var r=km(),c=Lm();(ze!==e||me!==t)&&(Ul=null,ha(e,t)),t=!1;var h=Ue;e:do try{if(Ae!==0&&de!==null){var x=de,j=Dt;switch(Ae){case 8:zc(),h=6;break e;case 3:case 2:case 9:case 6:Mt.current===null&&(t=!0);var z=Ae;if(Ae=0,Dt=null,ma(e,x,j,z),n&&ua){h=0;break e}break;default:z=Ae,Ae=0,Dt=null,ma(e,x,j,z)}}B1(),h=Ue;break}catch(V){Bm(e,V)}while(!0);return t&&e.shellSuspendCounter++,pn=vi=null,je=a,R.H=r,R.A=c,de===null&&(ze=null,me=0,sl()),h}function B1(){for(;de!==null;)Hm(de)}function U1(e,t){var n=je;je|=2;var a=km(),r=Lm();ze!==e||me!==t?(Ul=null,Bl=St()+500,ha(e,t)):ua=Ra(e,t);e:do try{if(Ae!==0&&de!==null){t=de;var c=Dt;t:switch(Ae){case 1:Ae=0,Dt=null,ma(e,t,c,1);break;case 2:case 9:if($d(c)){Ae=0,Dt=null,qm(t);break}t=function(){Ae!==2&&Ae!==9||ze!==e||(Ae=7),nn(e)},c.then(t,t);break e;case 3:Ae=7;break e;case 4:Ae=5;break e;case 7:$d(c)?(Ae=0,Dt=null,qm(t)):(Ae=0,Dt=null,ma(e,t,c,7));break;case 5:var h=null;switch(de.tag){case 26:h=de.memoizedState;case 5:case 27:var x=de;if(h?Mp(h):x.stateNode.complete){Ae=0,Dt=null;var j=x.sibling;if(j!==null)de=j;else{var z=x.return;z!==null?(de=z,Hl(z)):de=null}break t}}Ae=0,Dt=null,ma(e,t,c,5);break;case 6:Ae=0,Dt=null,ma(e,t,c,6);break;case 8:zc(),Ue=6;break e;default:throw Error(o(462))}}k1();break}catch(V){Bm(e,V)}while(!0);return pn=vi=null,R.H=a,R.A=r,je=n,de!==null?0:(ze=null,me=0,sl(),Ue)}function k1(){for(;de!==null&&!og();)Hm(de)}function Hm(e){var t=um(e.alternate,e,En);e.memoizedProps=e.pendingProps,t===null?Hl(e):de=t}function qm(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=am(n,t,t.pendingProps,t.type,void 0,me);break;case 11:t=am(n,t,t.pendingProps,t.type.render,t.ref,me);break;case 5:Kr(t);default:dm(n,t),t=de=Ld(t,En),t=um(n,t,En)}e.memoizedProps=e.pendingProps,t===null?Hl(e):de=t}function ma(e,t,n,a){pn=vi=null,Kr(t),ia=null,Ja=0;var r=t.return;try{if(M1(e,r,t,n,me)){Ue=1,Cl(e,_t(n,e.current)),de=null;return}}catch(c){if(r!==null)throw de=r,c;Ue=1,Cl(e,_t(n,e.current)),de=null;return}t.flags&32768?(ge||a===1?e=!0:ua||(me&536870912)!==0?e=!1:(Xn=e=!0,(a===2||a===9||a===3||a===6)&&(a=Mt.current,a!==null&&a.tag===13&&(a.flags|=16384))),Gm(t,e)):Hl(t)}function Hl(e){var t=e;do{if((t.flags&32768)!==0){Gm(t,Xn);return}e=t.return;var n=z1(t.alternate,t,En);if(n!==null){de=n;return}if(t=t.sibling,t!==null){de=t;return}de=t=e}while(t!==null);Ue===0&&(Ue=5)}function Gm(e,t){do{var n=w1(e.alternate,e);if(n!==null){n.flags&=32767,de=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){de=e;return}de=e=n}while(e!==null);Ue=6,de=null}function Ym(e,t,n,a,r,c,h,x,j){e.cancelPendingCommit=null;do ql();while(Je!==0);if((je&6)!==0)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));if(c=t.lanes|t.childLanes,c|=gr,vg(e,n,c,h,x,j),e===ze&&(de=ze=null,me=0),da=t,Qn=e,Mn=n,Mc=c,Cc=r,Rm=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,G1(Ys,function(){return Pm(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=R.T,R.T=null,r=K.p,K.p=2,h=je,je|=4;try{N1(e,t,n)}finally{je=h,K.p=r,R.T=a}}Je=1,Xm(),Km(),Zm()}}function Xm(){if(Je===1){Je=0;var e=Qn,t=da,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=R.T,R.T=null;var a=K.p;K.p=2;var r=je;je|=4;try{Am(t,e);var c=Gc,h=wd(e.containerInfo),x=c.focusedElem,j=c.selectionRange;if(h!==x&&x&&x.ownerDocument&&zd(x.ownerDocument.documentElement,x)){if(j!==null&&hr(x)){var z=j.start,V=j.end;if(V===void 0&&(V=z),"selectionStart"in x)x.selectionStart=z,x.selectionEnd=Math.min(V,x.value.length);else{var k=x.ownerDocument||document,w=k&&k.defaultView||window;if(w.getSelection){var N=w.getSelection(),$=x.textContent.length,ae=Math.min(j.start,$),De=j.end===void 0?ae:Math.min(j.end,$);!N.extend&&ae>De&&(h=De,De=ae,ae=h);var M=Dd(x,ae),T=Dd(x,De);if(M&&T&&(N.rangeCount!==1||N.anchorNode!==M.node||N.anchorOffset!==M.offset||N.focusNode!==T.node||N.focusOffset!==T.offset)){var D=k.createRange();D.setStart(M.node,M.offset),N.removeAllRanges(),ae>De?(N.addRange(D),N.extend(T.node,T.offset)):(D.setEnd(T.node,T.offset),N.addRange(D))}}}}for(k=[],N=x;N=N.parentNode;)N.nodeType===1&&k.push({element:N,left:N.scrollLeft,top:N.scrollTop});for(typeof x.focus=="function"&&x.focus(),x=0;x<k.length;x++){var B=k[x];B.element.scrollLeft=B.left,B.element.scrollTop=B.top}}Il=!!qc,Gc=qc=null}finally{je=r,K.p=a,R.T=n}}e.current=t,Je=2}}function Km(){if(Je===2){Je=0;var e=Qn,t=da,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=R.T,R.T=null;var a=K.p;K.p=2;var r=je;je|=4;try{xm(e,t.alternate,t)}finally{je=r,K.p=a,R.T=n}}Je=3}}function Zm(){if(Je===4||Je===3){Je=0,rg();var e=Qn,t=da,n=Mn,a=Rm;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Je=5:(Je=0,da=Qn=null,Qm(e,e.pendingLanes));var r=e.pendingLanes;if(r===0&&(Zn=null),Po(n),t=t.stateNode,jt&&typeof jt.onCommitFiberRoot=="function")try{jt.onCommitFiberRoot(Na,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=R.T,r=K.p,K.p=2,R.T=null;try{for(var c=e.onRecoverableError,h=0;h<a.length;h++){var x=a[h];c(x.value,{componentStack:x.stack})}}finally{R.T=t,K.p=r}}(Mn&3)!==0&&ql(),nn(e),r=e.pendingLanes,(n&261930)!==0&&(r&42)!==0?e===Dc?ds++:(ds=0,Dc=e):ds=0,hs(0)}}function Qm(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Qa(t)))}function ql(){return Xm(),Km(),Zm(),Pm()}function Pm(){if(Je!==5)return!1;var e=Qn,t=Mc;Mc=0;var n=Po(Mn),a=R.T,r=K.p;try{K.p=32>n?32:n,R.T=null,n=Cc,Cc=null;var c=Qn,h=Mn;if(Je=0,da=Qn=null,Mn=0,(je&6)!==0)throw Error(o(331));var x=je;if(je|=4,zm(c.current),Mm(c,c.current,h,n),je=x,hs(0,!1),jt&&typeof jt.onPostCommitFiberRoot=="function")try{jt.onPostCommitFiberRoot(Na,c)}catch{}return!0}finally{K.p=r,R.T=a,Qm(e,t)}}function Jm(e,t,n){t=_t(n,t),t=lc(e.stateNode,t,2),e=Hn(e,t,2),e!==null&&(Oa(e,2),nn(e))}function Ee(e,t,n){if(e.tag===3)Jm(e,e,n);else for(;t!==null;){if(t.tag===3){Jm(t,e,n);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Zn===null||!Zn.has(a))){e=_t(n,e),n=$h(2),a=Hn(t,n,2),a!==null&&(Fh(n,a,t,e),Oa(a,2),nn(a));break}}t=t.return}}function Nc(e,t,n){var a=e.pingCache;if(a===null){a=e.pingCache=new V1;var r=new Set;a.set(t,r)}else r=a.get(t),r===void 0&&(r=new Set,a.set(t,r));r.has(n)||(Tc=!0,r.add(n),e=L1.bind(null,e,t,n),t.then(e,e))}function L1(e,t,n){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,ze===e&&(me&n)===n&&(Ue===4||Ue===3&&(me&62914560)===me&&300>St()-_l?(je&2)===0&&ha(e,0):Ac|=n,fa===me&&(fa=0)),nn(e)}function $m(e,t){t===0&&(t=Xf()),e=mi(e,t),e!==null&&(Oa(e,t),nn(e))}function H1(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),$m(e,n)}function q1(e,t){var n=0;switch(e.tag){case 31:case 13:var a=e.stateNode,r=e.memoizedState;r!==null&&(n=r.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(o(314))}a!==null&&a.delete(t),$m(e,n)}function G1(e,t){return Xo(e,t)}var Gl=null,pa=null,Rc=!1,Yl=!1,Oc=!1,Jn=0;function nn(e){e!==pa&&e.next===null&&(pa===null?Gl=pa=e:pa=pa.next=e),Yl=!0,Rc||(Rc=!0,X1())}function hs(e,t){if(!Oc&&Yl){Oc=!0;do for(var n=!1,a=Gl;a!==null;){if(e!==0){var r=a.pendingLanes;if(r===0)var c=0;else{var h=a.suspendedLanes,x=a.pingedLanes;c=(1<<31-Tt(42|e)+1)-1,c&=r&~(h&~x),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(n=!0,ep(a,c))}else c=me,c=Qs(a,a===ze?c:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(c&3)===0||Ra(a,c)||(n=!0,ep(a,c));a=a.next}while(n);Oc=!1}}function Y1(){Fm()}function Fm(){Yl=Rc=!1;var e=0;Jn!==0&&ex()&&(e=Jn);for(var t=St(),n=null,a=Gl;a!==null;){var r=a.next,c=Wm(a,t);c===0?(a.next=null,n===null?Gl=r:n.next=r,r===null&&(pa=n)):(n=a,(e!==0||(c&3)!==0)&&(Yl=!0)),a=r}Je!==0&&Je!==5||hs(e),Jn!==0&&(Jn=0)}function Wm(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,r=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var h=31-Tt(c),x=1<<h,j=r[h];j===-1?((x&n)===0||(x&a)!==0)&&(r[h]=yg(x,t)):j<=t&&(e.expiredLanes|=x),c&=~x}if(t=ze,n=me,n=Qs(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,n===0||e===t&&(Ae===2||Ae===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&Ko(a),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||Ra(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(a!==null&&Ko(a),Po(n)){case 2:case 8:n=Gf;break;case 32:n=Ys;break;case 268435456:n=Yf;break;default:n=Ys}return a=Im.bind(null,e),n=Xo(n,a),e.callbackPriority=t,e.callbackNode=n,t}return a!==null&&a!==null&&Ko(a),e.callbackPriority=2,e.callbackNode=null,2}function Im(e,t){if(Je!==0&&Je!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(ql()&&e.callbackNode!==n)return null;var a=me;return a=Qs(e,e===ze?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(Vm(e,a,t),Wm(e,St()),e.callbackNode!=null&&e.callbackNode===n?Im.bind(null,e):null)}function ep(e,t){if(ql())return null;Vm(e,t,!0)}function X1(){nx(function(){(je&6)!==0?Xo(qf,Y1):Fm()})}function Vc(){if(Jn===0){var e=ea;e===0&&(e=Xs,Xs<<=1,(Xs&261888)===0&&(Xs=256)),Jn=e}return Jn}function tp(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Fs(""+e)}function np(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function K1(e,t,n,a,r){if(t==="submit"&&n&&n.stateNode===r){var c=tp((r[mt]||null).action),h=a.submitter;h&&(t=(t=h[mt]||null)?tp(t.formAction):h.getAttribute("formAction"),t!==null&&(c=t,h=null));var x=new tl("action","action",null,a,r);e.push({event:x,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Jn!==0){var j=h?np(r,h):new FormData(r);ec(n,{pending:!0,data:j,method:r.method,action:c},null,j)}}else typeof c=="function"&&(x.preventDefault(),j=h?np(r,h):new FormData(r),ec(n,{pending:!0,data:j,method:r.method,action:c},c,j))},currentTarget:r}]})}}for(var _c=0;_c<vr.length;_c++){var Bc=vr[_c],Z1=Bc.toLowerCase(),Q1=Bc[0].toUpperCase()+Bc.slice(1);Xt(Z1,"on"+Q1)}Xt(Od,"onAnimationEnd"),Xt(Vd,"onAnimationIteration"),Xt(_d,"onAnimationStart"),Xt("dblclick","onDoubleClick"),Xt("focusin","onFocus"),Xt("focusout","onBlur"),Xt(c1,"onTransitionRun"),Xt(u1,"onTransitionStart"),Xt(f1,"onTransitionCancel"),Xt(Bd,"onTransitionEnd"),Hi("onMouseEnter",["mouseout","mouseover"]),Hi("onMouseLeave",["mouseout","mouseover"]),Hi("onPointerEnter",["pointerout","pointerover"]),Hi("onPointerLeave",["pointerout","pointerover"]),ui("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ui("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ui("onBeforeInput",["compositionend","keypress","textInput","paste"]),ui("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ui("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ui("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ms="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),P1=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ms));function ip(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var a=e[n],r=a.event;a=a.listeners;e:{var c=void 0;if(t)for(var h=a.length-1;0<=h;h--){var x=a[h],j=x.instance,z=x.currentTarget;if(x=x.listener,j!==c&&r.isPropagationStopped())break e;c=x,r.currentTarget=z;try{c(r)}catch(V){al(V)}r.currentTarget=null,c=j}else for(h=0;h<a.length;h++){if(x=a[h],j=x.instance,z=x.currentTarget,x=x.listener,j!==c&&r.isPropagationStopped())break e;c=x,r.currentTarget=z;try{c(r)}catch(V){al(V)}r.currentTarget=null,c=j}}}}function he(e,t){var n=t[Jo];n===void 0&&(n=t[Jo]=new Set);var a=e+"__bubble";n.has(a)||(ap(t,e,2,!1),n.add(a))}function Uc(e,t,n){var a=0;t&&(a|=4),ap(n,e,a,t)}var Xl="_reactListening"+Math.random().toString(36).slice(2);function kc(e){if(!e[Xl]){e[Xl]=!0,Ff.forEach(function(n){n!=="selectionchange"&&(P1.has(n)||Uc(n,!1,e),Uc(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Xl]||(t[Xl]=!0,Uc("selectionchange",!1,t))}}function ap(e,t,n,a){switch(Op(t)){case 2:var r=jx;break;case 8:r=Tx;break;default:r=Ic}n=r.bind(null,t,n,e),r=void 0,!ar||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(r=!0),a?r!==void 0?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):r!==void 0?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function Lc(e,t,n,a,r){var c=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var h=a.tag;if(h===3||h===4){var x=a.stateNode.containerInfo;if(x===r)break;if(h===4)for(h=a.return;h!==null;){var j=h.tag;if((j===3||j===4)&&h.stateNode.containerInfo===r)return;h=h.return}for(;x!==null;){if(h=Ui(x),h===null)return;if(j=h.tag,j===5||j===6||j===26||j===27){a=c=h;continue e}x=x.parentNode}}a=a.return}cd(function(){var z=c,V=nr(n),k=[];e:{var w=Ud.get(e);if(w!==void 0){var N=tl,$=e;switch(e){case"keypress":if(Is(n)===0)break e;case"keydown":case"keyup":N=qg;break;case"focusin":$="focus",N=rr;break;case"focusout":$="blur",N=rr;break;case"beforeblur":case"afterblur":N=rr;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":N=dd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":N=zg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":N=Xg;break;case Od:case Vd:case _d:N=Rg;break;case Bd:N=Zg;break;case"scroll":case"scrollend":N=Cg;break;case"wheel":N=Pg;break;case"copy":case"cut":case"paste":N=Vg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":N=md;break;case"toggle":case"beforetoggle":N=$g}var ae=(t&4)!==0,De=!ae&&(e==="scroll"||e==="scrollend"),M=ae?w!==null?w+"Capture":null:w;ae=[];for(var T=z,D;T!==null;){var B=T;if(D=B.stateNode,B=B.tag,B!==5&&B!==26&&B!==27||D===null||M===null||(B=Ba(T,M),B!=null&&ae.push(ps(T,B,D))),De)break;T=T.return}0<ae.length&&(w=new N(w,$,null,n,V),k.push({event:w,listeners:ae}))}}if((t&7)===0){e:{if(w=e==="mouseover"||e==="pointerover",N=e==="mouseout"||e==="pointerout",w&&n!==tr&&($=n.relatedTarget||n.fromElement)&&(Ui($)||$[Bi]))break e;if((N||w)&&(w=V.window===V?V:(w=V.ownerDocument)?w.defaultView||w.parentWindow:window,N?($=n.relatedTarget||n.toElement,N=z,$=$?Ui($):null,$!==null&&(De=m($),ae=$.tag,$!==De||ae!==5&&ae!==27&&ae!==6)&&($=null)):(N=null,$=z),N!==$)){if(ae=dd,B="onMouseLeave",M="onMouseEnter",T="mouse",(e==="pointerout"||e==="pointerover")&&(ae=md,B="onPointerLeave",M="onPointerEnter",T="pointer"),De=N==null?w:_a(N),D=$==null?w:_a($),w=new ae(B,T+"leave",N,n,V),w.target=De,w.relatedTarget=D,B=null,Ui(V)===z&&(ae=new ae(M,T+"enter",$,n,V),ae.target=D,ae.relatedTarget=De,B=ae),De=B,N&&$)t:{for(ae=J1,M=N,T=$,D=0,B=M;B;B=ae(B))D++;B=0;for(var ne=T;ne;ne=ae(ne))B++;for(;0<D-B;)M=ae(M),D--;for(;0<B-D;)T=ae(T),B--;for(;D--;){if(M===T||T!==null&&M===T.alternate){ae=M;break t}M=ae(M),T=ae(T)}ae=null}else ae=null;N!==null&&sp(k,w,N,ae,!1),$!==null&&De!==null&&sp(k,De,$,ae,!0)}}e:{if(w=z?_a(z):window,N=w.nodeName&&w.nodeName.toLowerCase(),N==="select"||N==="input"&&w.type==="file")var be=jd;else if(bd(w))if(Td)be=l1;else{be=a1;var I=i1}else N=w.nodeName,!N||N.toLowerCase()!=="input"||w.type!=="checkbox"&&w.type!=="radio"?z&&er(z.elementType)&&(be=jd):be=s1;if(be&&(be=be(e,z))){Sd(k,be,n,V);break e}I&&I(e,w,z),e==="focusout"&&z&&w.type==="number"&&z.memoizedProps.value!=null&&Io(w,"number",w.value)}switch(I=z?_a(z):window,e){case"focusin":(bd(I)||I.contentEditable==="true")&&(Zi=I,mr=z,Xa=null);break;case"focusout":Xa=mr=Zi=null;break;case"mousedown":pr=!0;break;case"contextmenu":case"mouseup":case"dragend":pr=!1,Nd(k,n,V);break;case"selectionchange":if(r1)break;case"keydown":case"keyup":Nd(k,n,V)}var ue;if(ur)e:{switch(e){case"compositionstart":var pe="onCompositionStart";break e;case"compositionend":pe="onCompositionEnd";break e;case"compositionupdate":pe="onCompositionUpdate";break e}pe=void 0}else Ki?gd(e,n)&&(pe="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(pe="onCompositionStart");pe&&(pd&&n.locale!=="ko"&&(Ki||pe!=="onCompositionStart"?pe==="onCompositionEnd"&&Ki&&(ue=ud()):(On=V,sr="value"in On?On.value:On.textContent,Ki=!0)),I=Kl(z,pe),0<I.length&&(pe=new hd(pe,e,null,n,V),k.push({event:pe,listeners:I}),ue?pe.data=ue:(ue=xd(n),ue!==null&&(pe.data=ue)))),(ue=Wg?Ig(e,n):e1(e,n))&&(pe=Kl(z,"onBeforeInput"),0<pe.length&&(I=new hd("onBeforeInput","beforeinput",null,n,V),k.push({event:I,listeners:pe}),I.data=ue)),K1(k,e,z,n,V)}ip(k,t)})}function ps(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Kl(e,t){for(var n=t+"Capture",a=[];e!==null;){var r=e,c=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||c===null||(r=Ba(e,n),r!=null&&a.unshift(ps(e,r,c)),r=Ba(e,t),r!=null&&a.push(ps(e,r,c))),e.tag===3)return a;e=e.return}return[]}function J1(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function sp(e,t,n,a,r){for(var c=t._reactName,h=[];n!==null&&n!==a;){var x=n,j=x.alternate,z=x.stateNode;if(x=x.tag,j!==null&&j===a)break;x!==5&&x!==26&&x!==27||z===null||(j=z,r?(z=Ba(n,c),z!=null&&h.unshift(ps(n,z,j))):r||(z=Ba(n,c),z!=null&&h.push(ps(n,z,j)))),n=n.return}h.length!==0&&e.push({event:t,listeners:h})}var $1=/\r\n?/g,F1=/\u0000|\uFFFD/g;function lp(e){return(typeof e=="string"?e:""+e).replace($1,`
|
|
49
|
+
`).replace(F1,"")}function op(e,t){return t=lp(t),lp(e)===t}function Ce(e,t,n,a,r,c){switch(n){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||Gi(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&Gi(e,""+a);break;case"className":Js(e,"class",a);break;case"tabIndex":Js(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Js(e,n,a);break;case"style":od(e,a,c);break;case"data":if(t!=="object"){Js(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=Fs(""+a),e.setAttribute(n,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof c=="function"&&(n==="formAction"?(t!=="input"&&Ce(e,t,"name",r.name,r,null),Ce(e,t,"formEncType",r.formEncType,r,null),Ce(e,t,"formMethod",r.formMethod,r,null),Ce(e,t,"formTarget",r.formTarget,r,null)):(Ce(e,t,"encType",r.encType,r,null),Ce(e,t,"method",r.method,r,null),Ce(e,t,"target",r.target,r,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(n);break}a=Fs(""+a),e.setAttribute(n,a);break;case"onClick":a!=null&&(e.onclick=fn);break;case"onScroll":a!=null&&he("scroll",e);break;case"onScrollEnd":a!=null&&he("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(n=a.__html,n!=null){if(r.children!=null)throw Error(o(60));e.innerHTML=n}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}n=Fs(""+a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""+a):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":a===!0?e.setAttribute(n,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(n,a):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(n,a):e.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(n):e.setAttribute(n,a);break;case"popover":he("beforetoggle",e),he("toggle",e),Ps(e,"popover",a);break;case"xlinkActuate":un(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":un(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":un(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":un(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":un(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":un(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":un(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":un(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":un(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Ps(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=Eg.get(n)||n,Ps(e,n,a))}}function Hc(e,t,n,a,r,c){switch(n){case"style":od(e,a,c);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(n=a.__html,n!=null){if(r.children!=null)throw Error(o(60));e.innerHTML=n}}break;case"children":typeof a=="string"?Gi(e,a):(typeof a=="number"||typeof a=="bigint")&&Gi(e,""+a);break;case"onScroll":a!=null&&he("scroll",e);break;case"onScrollEnd":a!=null&&he("scrollend",e);break;case"onClick":a!=null&&(e.onclick=fn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Wf.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(r=n.endsWith("Capture"),t=n.slice(2,r?n.length-7:void 0),c=e[mt]||null,c=c!=null?c[n]:null,typeof c=="function"&&e.removeEventListener(t,c,r),typeof a=="function")){typeof c!="function"&&c!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,a,r);break e}n in e?e[n]=a:a===!0?e.setAttribute(n,""):Ps(e,n,a)}}}function at(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":he("error",e),he("load",e);var a=!1,r=!1,c;for(c in n)if(n.hasOwnProperty(c)){var h=n[c];if(h!=null)switch(c){case"src":a=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Ce(e,t,c,h,n,null)}}r&&Ce(e,t,"srcSet",n.srcSet,n,null),a&&Ce(e,t,"src",n.src,n,null);return;case"input":he("invalid",e);var x=c=h=r=null,j=null,z=null;for(a in n)if(n.hasOwnProperty(a)){var V=n[a];if(V!=null)switch(a){case"name":r=V;break;case"type":h=V;break;case"checked":j=V;break;case"defaultChecked":z=V;break;case"value":c=V;break;case"defaultValue":x=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(o(137,t));break;default:Ce(e,t,a,V,n,null)}}id(e,c,x,j,z,h,r,!1);return;case"select":he("invalid",e),a=h=c=null;for(r in n)if(n.hasOwnProperty(r)&&(x=n[r],x!=null))switch(r){case"value":c=x;break;case"defaultValue":h=x;break;case"multiple":a=x;default:Ce(e,t,r,x,n,null)}t=c,n=h,e.multiple=!!a,t!=null?qi(e,!!a,t,!1):n!=null&&qi(e,!!a,n,!0);return;case"textarea":he("invalid",e),c=r=a=null;for(h in n)if(n.hasOwnProperty(h)&&(x=n[h],x!=null))switch(h){case"value":a=x;break;case"defaultValue":r=x;break;case"children":c=x;break;case"dangerouslySetInnerHTML":if(x!=null)throw Error(o(91));break;default:Ce(e,t,h,x,n,null)}sd(e,a,r,c);return;case"option":for(j in n)if(n.hasOwnProperty(j)&&(a=n[j],a!=null))switch(j){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Ce(e,t,j,a,n,null)}return;case"dialog":he("beforetoggle",e),he("toggle",e),he("cancel",e),he("close",e);break;case"iframe":case"object":he("load",e);break;case"video":case"audio":for(a=0;a<ms.length;a++)he(ms[a],e);break;case"image":he("error",e),he("load",e);break;case"details":he("toggle",e);break;case"embed":case"source":case"link":he("error",e),he("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(z in n)if(n.hasOwnProperty(z)&&(a=n[z],a!=null))switch(z){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Ce(e,t,z,a,n,null)}return;default:if(er(t)){for(V in n)n.hasOwnProperty(V)&&(a=n[V],a!==void 0&&Hc(e,t,V,a,n,void 0));return}}for(x in n)n.hasOwnProperty(x)&&(a=n[x],a!=null&&Ce(e,t,x,a,n,null))}function W1(e,t,n,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,c=null,h=null,x=null,j=null,z=null,V=null;for(N in n){var k=n[N];if(n.hasOwnProperty(N)&&k!=null)switch(N){case"checked":break;case"value":break;case"defaultValue":j=k;default:a.hasOwnProperty(N)||Ce(e,t,N,null,a,k)}}for(var w in a){var N=a[w];if(k=n[w],a.hasOwnProperty(w)&&(N!=null||k!=null))switch(w){case"type":c=N;break;case"name":r=N;break;case"checked":z=N;break;case"defaultChecked":V=N;break;case"value":h=N;break;case"defaultValue":x=N;break;case"children":case"dangerouslySetInnerHTML":if(N!=null)throw Error(o(137,t));break;default:N!==k&&Ce(e,t,w,N,a,k)}}Wo(e,h,x,j,z,V,c,r);return;case"select":N=h=x=w=null;for(c in n)if(j=n[c],n.hasOwnProperty(c)&&j!=null)switch(c){case"value":break;case"multiple":N=j;default:a.hasOwnProperty(c)||Ce(e,t,c,null,a,j)}for(r in a)if(c=a[r],j=n[r],a.hasOwnProperty(r)&&(c!=null||j!=null))switch(r){case"value":w=c;break;case"defaultValue":x=c;break;case"multiple":h=c;default:c!==j&&Ce(e,t,r,c,a,j)}t=x,n=h,a=N,w!=null?qi(e,!!n,w,!1):!!a!=!!n&&(t!=null?qi(e,!!n,t,!0):qi(e,!!n,n?[]:"",!1));return;case"textarea":N=w=null;for(x in n)if(r=n[x],n.hasOwnProperty(x)&&r!=null&&!a.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:Ce(e,t,x,null,a,r)}for(h in a)if(r=a[h],c=n[h],a.hasOwnProperty(h)&&(r!=null||c!=null))switch(h){case"value":w=r;break;case"defaultValue":N=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(o(91));break;default:r!==c&&Ce(e,t,h,r,a,c)}ad(e,w,N);return;case"option":for(var $ in n)if(w=n[$],n.hasOwnProperty($)&&w!=null&&!a.hasOwnProperty($))switch($){case"selected":e.selected=!1;break;default:Ce(e,t,$,null,a,w)}for(j in a)if(w=a[j],N=n[j],a.hasOwnProperty(j)&&w!==N&&(w!=null||N!=null))switch(j){case"selected":e.selected=w&&typeof w!="function"&&typeof w!="symbol";break;default:Ce(e,t,j,w,a,N)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var ae in n)w=n[ae],n.hasOwnProperty(ae)&&w!=null&&!a.hasOwnProperty(ae)&&Ce(e,t,ae,null,a,w);for(z in a)if(w=a[z],N=n[z],a.hasOwnProperty(z)&&w!==N&&(w!=null||N!=null))switch(z){case"children":case"dangerouslySetInnerHTML":if(w!=null)throw Error(o(137,t));break;default:Ce(e,t,z,w,a,N)}return;default:if(er(t)){for(var De in n)w=n[De],n.hasOwnProperty(De)&&w!==void 0&&!a.hasOwnProperty(De)&&Hc(e,t,De,void 0,a,w);for(V in a)w=a[V],N=n[V],!a.hasOwnProperty(V)||w===N||w===void 0&&N===void 0||Hc(e,t,V,w,a,N);return}}for(var M in n)w=n[M],n.hasOwnProperty(M)&&w!=null&&!a.hasOwnProperty(M)&&Ce(e,t,M,null,a,w);for(k in a)w=a[k],N=n[k],!a.hasOwnProperty(k)||w===N||w==null&&N==null||Ce(e,t,k,w,a,N)}function rp(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function I1(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),a=0;a<n.length;a++){var r=n[a],c=r.transferSize,h=r.initiatorType,x=r.duration;if(c&&x&&rp(h)){for(h=0,x=r.responseEnd,a+=1;a<n.length;a++){var j=n[a],z=j.startTime;if(z>x)break;var V=j.transferSize,k=j.initiatorType;V&&rp(k)&&(j=j.responseEnd,h+=V*(j<x?1:(x-z)/(j-z)))}if(--a,t+=8*(c+h)/(r.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var qc=null,Gc=null;function Zl(e){return e.nodeType===9?e:e.ownerDocument}function cp(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function up(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Yc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Xc=null;function ex(){var e=window.event;return e&&e.type==="popstate"?e===Xc?!1:(Xc=e,!0):(Xc=null,!1)}var fp=typeof setTimeout=="function"?setTimeout:void 0,tx=typeof clearTimeout=="function"?clearTimeout:void 0,dp=typeof Promise=="function"?Promise:void 0,nx=typeof queueMicrotask=="function"?queueMicrotask:typeof dp<"u"?function(e){return dp.resolve(null).then(e).catch(ix)}:fp;function ix(e){setTimeout(function(){throw e})}function $n(e){return e==="head"}function hp(e,t){var n=t,a=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&r.nodeType===8)if(n=r.data,n==="/$"||n==="/&"){if(a===0){e.removeChild(r),xa(t);return}a--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")a++;else if(n==="html")ys(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,ys(n);for(var c=n.firstChild;c;){var h=c.nextSibling,x=c.nodeName;c[Va]||x==="SCRIPT"||x==="STYLE"||x==="LINK"&&c.rel.toLowerCase()==="stylesheet"||n.removeChild(c),c=h}}else n==="body"&&ys(e.ownerDocument.body);n=r}while(n);xa(t)}function mp(e,t){var n=e;e=0;do{var a=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),a&&a.nodeType===8)if(n=a.data,n==="/$"){if(e===0)break;e--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||e++;n=a}while(n)}function Kc(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Kc(n),$o(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function ax(e,t,n,a){for(;e.nodeType===1;){var r=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[Va])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(c=e.getAttribute("rel"),c==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(c!==r.rel||e.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||e.getAttribute("title")!==(r.title==null?null:r.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(c=e.getAttribute("src"),(c!==(r.src==null?null:r.src)||e.getAttribute("type")!==(r.type==null?null:r.type)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&c&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var c=r.name==null?null:""+r.name;if(r.type==="hidden"&&e.getAttribute("name")===c)return e}else return e;if(e=Ht(e.nextSibling),e===null)break}return null}function sx(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Ht(e.nextSibling),e===null))return null;return e}function pp(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Ht(e.nextSibling),e===null))return null;return e}function Zc(e){return e.data==="$?"||e.data==="$~"}function Qc(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function lx(e,t){var n=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||n.readyState!=="loading")t();else{var a=function(){t(),n.removeEventListener("DOMContentLoaded",a)};n.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function Ht(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var Pc=null;function yp(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return Ht(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function vp(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(t===0)return e;t--}else n!=="/$"&&n!=="/&"||t++}e=e.previousSibling}return null}function gp(e,t,n){switch(t=Zl(n),e){case"html":if(e=t.documentElement,!e)throw Error(o(452));return e;case"head":if(e=t.head,!e)throw Error(o(453));return e;case"body":if(e=t.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function ys(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);$o(e)}var qt=new Map,xp=new Set;function Ql(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Cn=K.d;K.d={f:ox,r:rx,D:cx,C:ux,L:fx,m:dx,X:mx,S:hx,M:px};function ox(){var e=Cn.f(),t=kl();return e||t}function rx(e){var t=ki(e);t!==null&&t.tag===5&&t.type==="form"?Bh(t):Cn.r(e)}var ya=typeof document>"u"?null:document;function bp(e,t,n){var a=ya;if(a&&typeof t=="string"&&t){var r=Ot(t);r='link[rel="'+e+'"][href="'+r+'"]',typeof n=="string"&&(r+='[crossorigin="'+n+'"]'),xp.has(r)||(xp.add(r),e={rel:e,crossOrigin:n,href:t},a.querySelector(r)===null&&(t=a.createElement("link"),at(t,"link",e),Fe(t),a.head.appendChild(t)))}}function cx(e){Cn.D(e),bp("dns-prefetch",e,null)}function ux(e,t){Cn.C(e,t),bp("preconnect",e,t)}function fx(e,t,n){Cn.L(e,t,n);var a=ya;if(a&&e&&t){var r='link[rel="preload"][as="'+Ot(t)+'"]';t==="image"&&n&&n.imageSrcSet?(r+='[imagesrcset="'+Ot(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(r+='[imagesizes="'+Ot(n.imageSizes)+'"]')):r+='[href="'+Ot(e)+'"]';var c=r;switch(t){case"style":c=va(e);break;case"script":c=ga(e)}qt.has(c)||(e=b({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),qt.set(c,e),a.querySelector(r)!==null||t==="style"&&a.querySelector(vs(c))||t==="script"&&a.querySelector(gs(c))||(t=a.createElement("link"),at(t,"link",e),Fe(t),a.head.appendChild(t)))}}function dx(e,t){Cn.m(e,t);var n=ya;if(n&&e){var a=t&&typeof t.as=="string"?t.as:"script",r='link[rel="modulepreload"][as="'+Ot(a)+'"][href="'+Ot(e)+'"]',c=r;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=ga(e)}if(!qt.has(c)&&(e=b({rel:"modulepreload",href:e},t),qt.set(c,e),n.querySelector(r)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(gs(c)))return}a=n.createElement("link"),at(a,"link",e),Fe(a),n.head.appendChild(a)}}}function hx(e,t,n){Cn.S(e,t,n);var a=ya;if(a&&e){var r=Li(a).hoistableStyles,c=va(e);t=t||"default";var h=r.get(c);if(!h){var x={loading:0,preload:null};if(h=a.querySelector(vs(c)))x.loading=5;else{e=b({rel:"stylesheet",href:e,"data-precedence":t},n),(n=qt.get(c))&&Jc(e,n);var j=h=a.createElement("link");Fe(j),at(j,"link",e),j._p=new Promise(function(z,V){j.onload=z,j.onerror=V}),j.addEventListener("load",function(){x.loading|=1}),j.addEventListener("error",function(){x.loading|=2}),x.loading|=4,Pl(h,t,a)}h={type:"stylesheet",instance:h,count:1,state:x},r.set(c,h)}}}function mx(e,t){Cn.X(e,t);var n=ya;if(n&&e){var a=Li(n).hoistableScripts,r=ga(e),c=a.get(r);c||(c=n.querySelector(gs(r)),c||(e=b({src:e,async:!0},t),(t=qt.get(r))&&$c(e,t),c=n.createElement("script"),Fe(c),at(c,"link",e),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},a.set(r,c))}}function px(e,t){Cn.M(e,t);var n=ya;if(n&&e){var a=Li(n).hoistableScripts,r=ga(e),c=a.get(r);c||(c=n.querySelector(gs(r)),c||(e=b({src:e,async:!0,type:"module"},t),(t=qt.get(r))&&$c(e,t),c=n.createElement("script"),Fe(c),at(c,"link",e),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},a.set(r,c))}}function Sp(e,t,n,a){var r=(r=fe.current)?Ql(r):null;if(!r)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=va(n.href),n=Li(r).hoistableStyles,a=n.get(t),a||(a={type:"style",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=va(n.href);var c=Li(r).hoistableStyles,h=c.get(e);if(h||(r=r.ownerDocument||r,h={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,h),(c=r.querySelector(vs(e)))&&!c._p&&(h.instance=c,h.state.loading=5),qt.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},qt.set(e,n),c||yx(r,e,n,h.state))),t&&a===null)throw Error(o(528,""));return h}if(t&&a!==null)throw Error(o(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=ga(n),n=Li(r).hoistableScripts,a=n.get(t),a||(a={type:"script",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function va(e){return'href="'+Ot(e)+'"'}function vs(e){return'link[rel="stylesheet"]['+e+"]"}function jp(e){return b({},e,{"data-precedence":e.precedence,precedence:null})}function yx(e,t,n,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),at(t,"link",n),Fe(t),e.head.appendChild(t))}function ga(e){return'[src="'+Ot(e)+'"]'}function gs(e){return"script[async]"+e}function Tp(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Ot(n.href)+'"]');if(a)return t.instance=a,Fe(a),a;var r=b({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),Fe(a),at(a,"style",r),Pl(a,n.precedence,e),t.instance=a;case"stylesheet":r=va(n.href);var c=e.querySelector(vs(r));if(c)return t.state.loading|=4,t.instance=c,Fe(c),c;a=jp(n),(r=qt.get(r))&&Jc(a,r),c=(e.ownerDocument||e).createElement("link"),Fe(c);var h=c;return h._p=new Promise(function(x,j){h.onload=x,h.onerror=j}),at(c,"link",a),t.state.loading|=4,Pl(c,n.precedence,e),t.instance=c;case"script":return c=ga(n.src),(r=e.querySelector(gs(c)))?(t.instance=r,Fe(r),r):(a=n,(r=qt.get(c))&&(a=b({},n),$c(a,r)),e=e.ownerDocument||e,r=e.createElement("script"),Fe(r),at(r,"link",a),e.head.appendChild(r),t.instance=r);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Pl(a,n.precedence,e));return t.instance}function Pl(e,t,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=a.length?a[a.length-1]:null,c=r,h=0;h<a.length;h++){var x=a[h];if(x.dataset.precedence===t)c=x;else if(c!==r)break}c?c.parentNode.insertBefore(e,c.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Jc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function $c(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Jl=null;function Ap(e,t,n){if(Jl===null){var a=new Map,r=Jl=new Map;r.set(n,a)}else r=Jl,a=r.get(n),a||(a=new Map,r.set(n,a));if(a.has(e))return a;for(a.set(e,null),n=n.getElementsByTagName(e),r=0;r<n.length;r++){var c=n[r];if(!(c[Va]||c[et]||e==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!=="http://www.w3.org/2000/svg"){var h=c.getAttribute(t)||"";h=e+h;var x=a.get(h);x?x.push(c):a.set(h,[c])}}return a}function Ep(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function vx(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Mp(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function gx(e,t,n,a){if(n.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var r=va(a.href),c=t.querySelector(vs(r));if(c){t=c._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=$l.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=c,Fe(c);return}c=t.ownerDocument||t,a=jp(a),(r=qt.get(r))&&Jc(a,r),c=c.createElement("link"),Fe(c);var h=c;h._p=new Promise(function(x,j){h.onload=x,h.onerror=j}),at(c,"link",a),n.instance=c}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(e.count++,n=$l.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var Fc=0;function xx(e,t){return e.stylesheets&&e.count===0&&Wl(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var a=setTimeout(function(){if(e.stylesheets&&Wl(e,e.stylesheets),e.unsuspend){var c=e.unsuspend;e.unsuspend=null,c()}},6e4+t);0<e.imgBytes&&Fc===0&&(Fc=62500*I1());var r=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Wl(e,e.stylesheets),e.unsuspend)){var c=e.unsuspend;e.unsuspend=null,c()}},(e.imgBytes>Fc?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(r)}}:null}function $l(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Wl(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Fl=null;function Wl(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Fl=new Map,t.forEach(bx,e),Fl=null,$l.call(e))}function bx(e,t){if(!(t.state.loading&4)){var n=Fl.get(e);if(n)var a=n.get(null);else{n=new Map,Fl.set(e,n);for(var r=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<r.length;c++){var h=r[c];(h.nodeName==="LINK"||h.getAttribute("media")!=="not all")&&(n.set(h.dataset.precedence,h),a=h)}a&&n.set(null,a)}r=t.instance,h=r.getAttribute("data-precedence"),c=n.get(h)||a,c===a&&n.set(null,r),n.set(h,r),this.count++,a=$l.bind(this),r.addEventListener("load",a),r.addEventListener("error",a),c?c.parentNode.insertBefore(r,c.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(r,e.firstChild)),t.state.loading|=4}}var xs={$$typeof:U,Provider:null,Consumer:null,_currentValue:J,_currentValue2:J,_threadCount:0};function Sx(e,t,n,a,r,c,h,x,j){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Zo(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Zo(0),this.hiddenUpdates=Zo(null),this.identifierPrefix=a,this.onUncaughtError=r,this.onCaughtError=c,this.onRecoverableError=h,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=j,this.incompleteTransitions=new Map}function Cp(e,t,n,a,r,c,h,x,j,z,V,k){return e=new Sx(e,t,n,h,j,z,V,k,x),t=1,c===!0&&(t|=24),c=Et(3,null,null,t),e.current=c,c.stateNode=e,t=wr(),t.refCount++,e.pooledCache=t,t.refCount++,c.memoizedState={element:a,isDehydrated:n,cache:t},Vr(c),e}function Dp(e){return e?(e=Ji,e):Ji}function zp(e,t,n,a,r,c){r=Dp(r),a.context===null?a.context=r:a.pendingContext=r,a=Ln(t),a.payload={element:n},c=c===void 0?null:c,c!==null&&(a.callback=c),n=Hn(e,a,t),n!==null&&(bt(n,e,t),Fa(n,e,t))}function wp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Wc(e,t){wp(e,t),(e=e.alternate)&&wp(e,t)}function Np(e){if(e.tag===13||e.tag===31){var t=mi(e,67108864);t!==null&&bt(t,e,67108864),Wc(e,67108864)}}function Rp(e){if(e.tag===13||e.tag===31){var t=wt();t=Qo(t);var n=mi(e,t);n!==null&&bt(n,e,t),Wc(e,t)}}var Il=!0;function jx(e,t,n,a){var r=R.T;R.T=null;var c=K.p;try{K.p=2,Ic(e,t,n,a)}finally{K.p=c,R.T=r}}function Tx(e,t,n,a){var r=R.T;R.T=null;var c=K.p;try{K.p=8,Ic(e,t,n,a)}finally{K.p=c,R.T=r}}function Ic(e,t,n,a){if(Il){var r=eu(a);if(r===null)Lc(e,t,a,eo,n),Vp(e,a);else if(Ex(r,e,t,n,a))a.stopPropagation();else if(Vp(e,a),t&4&&-1<Ax.indexOf(e)){for(;r!==null;){var c=ki(r);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var h=ci(c.pendingLanes);if(h!==0){var x=c;for(x.pendingLanes|=2,x.entangledLanes|=2;h;){var j=1<<31-Tt(h);x.entanglements[1]|=j,h&=~j}nn(c),(je&6)===0&&(Bl=St()+500,hs(0))}}break;case 31:case 13:x=mi(c,2),x!==null&&bt(x,c,2),kl(),Wc(c,2)}if(c=eu(a),c===null&&Lc(e,t,a,eo,n),c===r)break;r=c}r!==null&&a.stopPropagation()}else Lc(e,t,a,null,n)}}function eu(e){return e=nr(e),tu(e)}var eo=null;function tu(e){if(eo=null,e=Ui(e),e!==null){var t=m(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=d(t),e!==null)return e;e=null}else if(n===31){if(e=y(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return eo=e,null}function Op(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(cg()){case qf:return 2;case Gf:return 8;case Ys:case ug:return 32;case Yf:return 268435456;default:return 32}default:return 32}}var nu=!1,Fn=null,Wn=null,In=null,bs=new Map,Ss=new Map,ei=[],Ax="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Vp(e,t){switch(e){case"focusin":case"focusout":Fn=null;break;case"dragenter":case"dragleave":Wn=null;break;case"mouseover":case"mouseout":In=null;break;case"pointerover":case"pointerout":bs.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ss.delete(t.pointerId)}}function js(e,t,n,a,r,c){return e===null||e.nativeEvent!==c?(e={blockedOn:t,domEventName:n,eventSystemFlags:a,nativeEvent:c,targetContainers:[r]},t!==null&&(t=ki(t),t!==null&&Np(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),e)}function Ex(e,t,n,a,r){switch(t){case"focusin":return Fn=js(Fn,e,t,n,a,r),!0;case"dragenter":return Wn=js(Wn,e,t,n,a,r),!0;case"mouseover":return In=js(In,e,t,n,a,r),!0;case"pointerover":var c=r.pointerId;return bs.set(c,js(bs.get(c)||null,e,t,n,a,r)),!0;case"gotpointercapture":return c=r.pointerId,Ss.set(c,js(Ss.get(c)||null,e,t,n,a,r)),!0}return!1}function _p(e){var t=Ui(e.target);if(t!==null){var n=m(t);if(n!==null){if(t=n.tag,t===13){if(t=d(n),t!==null){e.blockedOn=t,Jf(e.priority,function(){Rp(n)});return}}else if(t===31){if(t=y(n),t!==null){e.blockedOn=t,Jf(e.priority,function(){Rp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function to(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=eu(e.nativeEvent);if(n===null){n=e.nativeEvent;var a=new n.constructor(n.type,n);tr=a,n.target.dispatchEvent(a),tr=null}else return t=ki(n),t!==null&&Np(t),e.blockedOn=n,!1;t.shift()}return!0}function Bp(e,t,n){to(e)&&n.delete(t)}function Mx(){nu=!1,Fn!==null&&to(Fn)&&(Fn=null),Wn!==null&&to(Wn)&&(Wn=null),In!==null&&to(In)&&(In=null),bs.forEach(Bp),Ss.forEach(Bp)}function no(e,t){e.blockedOn===t&&(e.blockedOn=null,nu||(nu=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Mx)))}var io=null;function Up(e){io!==e&&(io=e,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){io===e&&(io=null);for(var t=0;t<e.length;t+=3){var n=e[t],a=e[t+1],r=e[t+2];if(typeof a!="function"){if(tu(a||n)===null)continue;break}var c=ki(n);c!==null&&(e.splice(t,3),t-=3,ec(c,{pending:!0,data:r,method:n.method,action:a},a,r))}}))}function xa(e){function t(j){return no(j,e)}Fn!==null&&no(Fn,e),Wn!==null&&no(Wn,e),In!==null&&no(In,e),bs.forEach(t),Ss.forEach(t);for(var n=0;n<ei.length;n++){var a=ei[n];a.blockedOn===e&&(a.blockedOn=null)}for(;0<ei.length&&(n=ei[0],n.blockedOn===null);)_p(n),n.blockedOn===null&&ei.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(a=0;a<n.length;a+=3){var r=n[a],c=n[a+1],h=r[mt]||null;if(typeof c=="function")h||Up(n);else if(h){var x=null;if(c&&c.hasAttribute("formAction")){if(r=c,h=c[mt]||null)x=h.formAction;else if(tu(r)!==null)continue}else x=h.action;typeof x=="function"?n[a+1]=x:(n.splice(a,3),a-=3),Up(n)}}}function kp(){function e(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(h){return r=h})},focusReset:"manual",scroll:"manual"})}function t(){r!==null&&(r(),r=null),a||setTimeout(n,20)}function n(){if(!a&&!navigation.transition){var c=navigation.currentEntry;c&&c.url!=null&&navigation.navigate(c.url,{state:c.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,r=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),r!==null&&(r(),r=null)}}}function iu(e){this._internalRoot=e}ao.prototype.render=iu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var n=t.current,a=wt();zp(n,a,e,t,null,null)},ao.prototype.unmount=iu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;zp(e.current,2,null,e,null,null),kl(),t[Bi]=null}};function ao(e){this._internalRoot=e}ao.prototype.unstable_scheduleHydration=function(e){if(e){var t=Pf();e={blockedOn:null,target:e,priority:t};for(var n=0;n<ei.length&&t!==0&&t<ei[n].priority;n++);ei.splice(n,0,e),n===0&&_p(e)}};var Lp=s.version;if(Lp!=="19.2.8")throw Error(o(527,Lp,"19.2.8"));K.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=p(t),e=e!==null?g(e):null,e=e===null?null:e.stateNode,e};var Cx={bundleType:0,version:"19.2.8",rendererPackageName:"react-dom",currentDispatcherRef:R,reconcilerVersion:"19.2.8"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var so=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!so.isDisabled&&so.supportsFiber)try{Na=so.inject(Cx),jt=so}catch{}}return As.createRoot=function(e,t){if(!f(e))throw Error(o(299));var n=!1,a="",r=Zh,c=Qh,h=Ph;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(r=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(h=t.onRecoverableError)),t=Cp(e,1,!1,null,null,n,a,null,r,c,h,kp),e[Bi]=t.current,kc(e),new iu(t)},As.hydrateRoot=function(e,t,n){if(!f(e))throw Error(o(299));var a=!1,r="",c=Zh,h=Qh,x=Ph,j=null;return n!=null&&(n.unstable_strictMode===!0&&(a=!0),n.identifierPrefix!==void 0&&(r=n.identifierPrefix),n.onUncaughtError!==void 0&&(c=n.onUncaughtError),n.onCaughtError!==void 0&&(h=n.onCaughtError),n.onRecoverableError!==void 0&&(x=n.onRecoverableError),n.formState!==void 0&&(j=n.formState)),t=Cp(e,1,!0,t,n??null,a,r,j,c,h,x,kp),t.context=Dp(null),n=t.current,a=wt(),a=Qo(a),r=Ln(a),r.callback=null,Hn(n,r,a),n=a,t.current.lanes=n,Oa(t,n),nn(t),e[Bi]=t.current,kc(e),new ao(t)},As.version="19.2.8",As}var Jp;function Ux(){if(Jp)return lu.exports;Jp=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(s){console.error(s)}}return i(),lu.exports=Bx(),lu.exports}var kx=Ux();const cf=Y.createContext({});function uf(i){const s=Y.useRef(null);return s.current===null&&(s.current=i()),s.current}const Lx=typeof window<"u",ff=Lx?Y.useLayoutEffect:Y.useEffect,Vo=Y.createContext(null);function df(i,s){i.indexOf(s)===-1&&i.push(s)}function So(i,s){const l=i.indexOf(s);l>-1&&i.splice(l,1)}const cn=(i,s,l)=>l>s?s:l<i?i:l;let _o=()=>{};const si={},x0=i=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(i),b0=i=>typeof i=="object"&&i!==null,S0=i=>/^0[^.\s]+$/u.test(i);function j0(i){let s;return()=>(s===void 0&&(s=i()),s)}const Yt=i=>i,Us=(...i)=>i.reduce((s,l)=>o=>l(s(o))),Os=(i,s,l)=>{const o=s-i;return o?(l-i)/o:1};class hf{constructor(){this.subscriptions=[]}add(s){return df(this.subscriptions,s),()=>So(this.subscriptions,s)}notify(s,l,o){const f=this.subscriptions.length;if(f)if(f===1)this.subscriptions[0](s,l,o);else for(let m=0;m<f;m++){const d=this.subscriptions[m];d&&d(s,l,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Nt=i=>i*1e3,Gt=i=>i/1e3,T0=(i,s)=>s?i*(1e3/s):0,A0=(i,s,l)=>(((1-3*l+3*s)*i+(3*l-6*s))*i+3*s)*i,Hx=1e-7,qx=12;function Gx(i,s,l,o,f){let m,d,y=0;do d=s+(l-s)/2,m=A0(d,o,f)-i,m>0?l=d:s=d;while(Math.abs(m)>Hx&&++y<qx);return d}function ks(i,s,l,o){if(i===s&&l===o)return Yt;const f=m=>Gx(m,0,1,i,l);return m=>m===0||m===1?m:A0(f(m),s,o)}const E0=i=>s=>s<=.5?i(2*s)/2:(2-i(2*(1-s)))/2,M0=i=>s=>1-i(1-s),C0=ks(.33,1.53,.69,.99),mf=M0(C0),D0=E0(mf),z0=i=>i>=1?1:(i*=2)<1?.5*mf(i):.5*(2-Math.pow(2,-10*(i-1))),pf=i=>1-Math.sin(Math.acos(i)),w0=M0(pf),N0=E0(pf),Yx=ks(.42,0,1,1),Xx=ks(0,0,.58,1),R0=ks(.42,0,.58,1),Kx=i=>Array.isArray(i)&&typeof i[0]!="number",O0=i=>Array.isArray(i)&&typeof i[0]=="number",Zx={linear:Yt,easeIn:Yx,easeInOut:R0,easeOut:Xx,circIn:pf,circInOut:N0,circOut:w0,backIn:mf,backInOut:D0,backOut:C0,anticipate:z0},Qx=i=>typeof i=="string",$p=i=>{if(O0(i)){_o(i.length===4);const[s,l,o,f]=i;return ks(s,l,o,f)}else if(Qx(i))return Zx[i];return i},lo=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Px(i){let s=new Set,l=new Set,o=!1,f=!1;const m=new WeakSet;let d={delta:0,timestamp:0,isProcessing:!1};function y(p){m.has(p)&&(v.schedule(p),i()),p(d)}const v={schedule:(p,g=!1,b=!1)=>{const E=b&&o?s:l;return g&&m.add(p),E.add(p),p},cancel:p=>{l.delete(p),m.delete(p)},process:p=>{if(d=p,o){f=!0;return}o=!0;const g=s;s=l,l=g,s.forEach(y),s.clear(),o=!1,f&&(f=!1,v.process(p))}};return v}const Jx=40;function V0(i,s){let l=!1,o=!0;const f={delta:0,timestamp:0,isProcessing:!1},m=()=>l=!0,d=lo.reduce((U,q)=>(U[q]=Px(m),U),{}),{setup:y,read:v,resolveKeyframes:p,preUpdate:g,update:b,preRender:S,render:E,postRender:C}=d,O=()=>{const U=si.useManualTiming,q=U?f.timestamp:performance.now();l=!1,U||(f.delta=o?1e3/60:Math.max(Math.min(q-f.timestamp,Jx),1)),f.timestamp=q,f.isProcessing=!0,y.process(f),v.process(f),p.process(f),g.process(f),b.process(f),S.process(f),E.process(f),C.process(f),f.isProcessing=!1,l&&s&&(o=!1,i(O))},_=()=>{l=!0,o=!0,f.isProcessing||i(O)};return{schedule:lo.reduce((U,q)=>{const P=d[q];return U[q]=(ie,X=!1,Q=!1)=>(l||_(),P.schedule(ie,X,Q)),U},{}),cancel:U=>{for(let q=0;q<lo.length;q++)d[lo[q]].cancel(U)},state:f,steps:d}}const{schedule:Ne,cancel:li,state:st,steps:uu}=V0(typeof requestAnimationFrame<"u"?requestAnimationFrame:Yt,!0);let fo;function $x(){fo=void 0}const dt={now:()=>(fo===void 0&&dt.set(st.isProcessing||si.useManualTiming?st.timestamp:performance.now()),fo),set:i=>{fo=i,queueMicrotask($x)}},_0=i=>s=>typeof s=="string"&&s.startsWith(i),B0=_0("--"),Fx=_0("var(--"),yf=i=>Fx(i)?Wx.test(i.split("/*")[0].trim()):!1,Wx=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Fp(i){return typeof i!="string"?!1:i.split("/*")[0].includes("var(--")}const Ca={test:i=>typeof i=="number",parse:parseFloat,transform:i=>i},Vs={...Ca,transform:i=>cn(0,1,i)},oo={...Ca,default:1},Cs=i=>Math.round(i*1e5)/1e5,vf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Ix(i){return i==null}const eb=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,gf=(i,s)=>l=>!!(typeof l=="string"&&eb.test(l)&&l.startsWith(i)||s&&!Ix(l)&&Object.prototype.hasOwnProperty.call(l,s)),U0=(i,s,l)=>o=>{if(typeof o!="string")return o;const[f,m,d,y]=o.match(vf);return{[i]:parseFloat(f),[s]:parseFloat(m),[l]:parseFloat(d),alpha:y!==void 0?parseFloat(y):1}},tb=i=>cn(0,255,i),fu={...Ca,transform:i=>Math.round(tb(i))},Ni={test:gf("rgb","red"),parse:U0("red","green","blue"),transform:({red:i,green:s,blue:l,alpha:o=1})=>"rgba("+fu.transform(i)+", "+fu.transform(s)+", "+fu.transform(l)+", "+Cs(Vs.transform(o))+")"};function nb(i){let s="",l="",o="",f="";return i.length>5?(s=i.substring(1,3),l=i.substring(3,5),o=i.substring(5,7),f=i.substring(7,9)):(s=i.substring(1,2),l=i.substring(2,3),o=i.substring(3,4),f=i.substring(4,5),s+=s,l+=l,o+=o,f+=f),{red:parseInt(s,16),green:parseInt(l,16),blue:parseInt(o,16),alpha:f?parseInt(f,16)/255:1}}const Ou={test:gf("#"),parse:nb,transform:Ni.transform},Ls=i=>({test:s=>typeof s=="string"&&s.endsWith(i)&&s.split(" ").length===1,parse:parseFloat,transform:s=>`${s}${i}`}),Dn=Ls("deg"),rn=Ls("%"),F=Ls("px"),ib=Ls("vh"),ab=Ls("vw"),Wp={...rn,parse:i=>rn.parse(i)/100,transform:i=>rn.transform(i*100)},ja={test:gf("hsl","hue"),parse:U0("hue","saturation","lightness"),transform:({hue:i,saturation:s,lightness:l,alpha:o=1})=>"hsla("+Math.round(i)+", "+rn.transform(Cs(s))+", "+rn.transform(Cs(l))+", "+Cs(Vs.transform(o))+")"},Pe={test:i=>Ni.test(i)||Ou.test(i)||ja.test(i),parse:i=>Ni.test(i)?Ni.parse(i):ja.test(i)?ja.parse(i):Ou.parse(i),transform:i=>typeof i=="string"?i:i.hasOwnProperty("red")?Ni.transform(i):ja.transform(i),getAnimatableNone:i=>{const s=Pe.parse(i);return s.alpha=0,Pe.transform(s)}},sb=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function lb(i){var s,l;return isNaN(i)&&typeof i=="string"&&(((s=i.match(vf))==null?void 0:s.length)||0)+(((l=i.match(sb))==null?void 0:l.length)||0)>0}const k0="number",L0="color",ob="var",rb="var(",Ip="${}",cb=/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 Ea(i){const s=i.toString(),l=[],o={color:[],number:[],var:[]},f=[];let m=0;const y=s.replace(cb,v=>(Pe.test(v)?(o.color.push(m),f.push(L0),l.push(Pe.parse(v))):v.startsWith(rb)?(o.var.push(m),f.push(ob),l.push(v)):(o.number.push(m),f.push(k0),l.push(parseFloat(v))),++m,Ip)).split(Ip);return{values:l,split:y,indexes:o,types:f}}function ub(i){return Ea(i).values}function H0({split:i,types:s}){const l=i.length;return o=>{let f="";for(let m=0;m<l;m++)if(f+=i[m],o[m]!==void 0){const d=s[m];d===k0?f+=Cs(o[m]):d===L0?f+=Pe.transform(o[m]):f+=o[m]}return f}}function fb(i){return H0(Ea(i))}const db=i=>typeof i=="number"?0:Pe.test(i)?Pe.getAnimatableNone(i):i,hb=(i,s)=>typeof i=="number"?s!=null&&s.trim().endsWith("/")?i:0:db(i);function mb(i){const s=Ea(i);return H0(s)(s.values.map((o,f)=>hb(o,s.split[f])))}const Ft={test:lb,parse:ub,createTransformer:fb,getAnimatableNone:mb};function du(i,s,l){return l<0&&(l+=1),l>1&&(l-=1),l<1/6?i+(s-i)*6*l:l<1/2?s:l<2/3?i+(s-i)*(2/3-l)*6:i}function pb({hue:i,saturation:s,lightness:l,alpha:o}){i/=360,s/=100,l/=100;let f=0,m=0,d=0;if(!s)f=m=d=l;else{const y=l<.5?l*(1+s):l+s-l*s,v=2*l-y;f=du(v,y,i+1/3),m=du(v,y,i),d=du(v,y,i-1/3)}return{red:Math.round(f*255),green:Math.round(m*255),blue:Math.round(d*255),alpha:o}}function jo(i,s){return l=>l>0?s:i}const we=(i,s,l)=>i+(s-i)*l,hu=(i,s,l)=>{const o=i*i,f=l*(s*s-o)+o;return f<0?0:Math.sqrt(f)},yb=[Ou,Ni,ja],vb=i=>yb.find(s=>s.test(i));function ey(i){const s=vb(i);if(!s)return!1;let l=s.parse(i);return s===ja&&(l=pb(l)),l}const ty=(i,s)=>{const l=ey(i),o=ey(s);if(!l||!o)return jo(i,s);const f={...l};return m=>(f.red=hu(l.red,o.red,m),f.green=hu(l.green,o.green,m),f.blue=hu(l.blue,o.blue,m),f.alpha=we(l.alpha,o.alpha,m),Ni.transform(f))},Vu=new Set(["none","hidden"]);function gb(i,s){return Vu.has(i)?l=>l<=0?i:s:l=>l>=1?s:i}function xb(i,s){return l=>we(i,s,l)}function xf(i){return typeof i=="number"?xb:typeof i=="string"?yf(i)?jo:Pe.test(i)?ty:jb:Array.isArray(i)?q0:typeof i=="object"?Pe.test(i)?ty:bb:jo}function q0(i,s){const l=[...i],o=l.length,f=i.map((m,d)=>xf(m)(m,s[d]));return m=>{for(let d=0;d<o;d++)l[d]=f[d](m);return l}}function bb(i,s){const l={...i,...s},o={};for(const f in l)i[f]!==void 0&&s[f]!==void 0&&(o[f]=xf(i[f])(i[f],s[f]));return f=>{for(const m in o)l[m]=o[m](f);return l}}function Sb(i,s){const l=[],o={color:0,var:0,number:0};for(let f=0;f<s.values.length;f++){const m=s.types[f],d=i.indexes[m][o[m]],y=i.values[d]??0;l[f]=y,o[m]++}return l}const jb=(i,s)=>{const l=Ft.createTransformer(s),o=Ea(i),f=Ea(s);return o.indexes.var.length===f.indexes.var.length&&o.indexes.color.length===f.indexes.color.length&&o.indexes.number.length>=f.indexes.number.length?Vu.has(i)&&!f.values.length||Vu.has(s)&&!o.values.length?gb(i,s):Us(q0(Sb(o,f),f.values),l):jo(i,s)};function G0(i,s,l){return typeof i=="number"&&typeof s=="number"&&typeof l=="number"?we(i,s,l):xf(i)(i,s)}const Tb=i=>{const s=({timestamp:l})=>i(l);return{start:(l=!0)=>Ne.update(s,l),stop:()=>li(s),now:()=>st.isProcessing?st.timestamp:dt.now()}},Y0=(i,s,l=10)=>{let o="";const f=Math.max(Math.round(s/l),2);for(let m=0;m<f;m++)o+=Math.round(i(m/(f-1))*1e4)/1e4+", ";return`linear(${o.substring(0,o.length-2)})`},To=2e4;function bf(i){let s=0;const l=50;let o=i.next(s);for(;!o.done&&s<To;)s+=l,o=i.next(s);return s>=To?1/0:s}function Ab(i,s=100,l){const o=l({...i,keyframes:[0,s]}),f=Math.min(bf(o),To);return{type:"keyframes",ease:m=>o.next(f*m).value/s,duration:Gt(f)}}const ke={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function _u(i,s){return i*Math.sqrt(1-s*s)}const Eb=12;function Mb(i,s,l){let o=l;for(let f=1;f<Eb;f++)o=o-i(o)/s(o);return o}const mu=.001;function Cb({duration:i=ke.duration,bounce:s=ke.bounce,velocity:l=ke.velocity,mass:o=ke.mass}){let f,m,d=1-s;d=cn(ke.minDamping,ke.maxDamping,d),i=cn(ke.minDuration,ke.maxDuration,Gt(i)),d<1?(f=p=>{const g=p*d,b=g*i,S=g-l,E=_u(p,d),C=Math.exp(-b);return mu-S/E*C},m=p=>{const b=p*d*i,S=b*l+l,E=Math.pow(d,2)*Math.pow(p,2)*i,C=Math.exp(-b),O=_u(Math.pow(p,2),d);return(-f(p)+mu>0?-1:1)*((S-E)*C)/O}):(f=p=>{const g=Math.exp(-p*i),b=(p-l)*i+1;return-mu+g*b},m=p=>{const g=Math.exp(-p*i),b=(l-p)*(i*i);return g*b});const y=5/i,v=Mb(f,m,y);if(i=Nt(i),isNaN(v))return{stiffness:ke.stiffness,damping:ke.damping,duration:i};{const p=Math.pow(v,2)*o;return{stiffness:p,damping:d*2*Math.sqrt(o*p),duration:i}}}const Db=["duration","bounce"],zb=["stiffness","damping","mass"];function ny(i,s){return s.some(l=>i[l]!==void 0)}function wb(i){let s={velocity:ke.velocity,stiffness:ke.stiffness,damping:ke.damping,mass:ke.mass,isResolvedFromDuration:!1,...i};if(!ny(i,zb)&&ny(i,Db))if(s.velocity=0,i.visualDuration){const l=i.visualDuration,o=2*Math.PI/(l*1.2),f=o*o,m=2*cn(.05,1,1-(i.bounce||0))*Math.sqrt(f);s={...s,mass:ke.mass,stiffness:f,damping:m}}else{const l=Cb({...i,velocity:0});s={...s,...l,mass:ke.mass},s.isResolvedFromDuration=!0}return s}function Ao(i=ke.visualDuration,s=ke.bounce){const l=typeof i!="object"?{visualDuration:i,keyframes:[0,1],bounce:s}:i;let{restSpeed:o,restDelta:f}=l;const m=l.keyframes[0],d=l.keyframes[l.keyframes.length-1],y={done:!1,value:m},{stiffness:v,damping:p,mass:g,duration:b,velocity:S,isResolvedFromDuration:E}=wb({...l,velocity:-Gt(l.velocity||0)}),C=S||0,O=p/(2*Math.sqrt(v*g)),_=d-m,L=Gt(Math.sqrt(v/g)),G=Math.abs(_)<5;o||(o=G?ke.restSpeed.granular:ke.restSpeed.default),f||(f=G?ke.restDelta.granular:ke.restDelta.default);let U,q,P,ie,X,Q;if(O<1)P=_u(L,O),ie=(C+O*L*_)/P,U=te=>{const ye=Math.exp(-O*L*te);return d-ye*(ie*Math.sin(P*te)+_*Math.cos(P*te))},X=O*L*ie+_*P,Q=O*L*_-ie*P,q=te=>Math.exp(-O*L*te)*(X*Math.sin(P*te)+Q*Math.cos(P*te));else if(O===1){U=ye=>d-Math.exp(-L*ye)*(_+(C+L*_)*ye);const te=C+L*_;q=ye=>Math.exp(-L*ye)*(L*te*ye-C)}else{const te=L*Math.sqrt(O*O-1);U=Ye=>{const Le=Math.exp(-O*L*Ye),R=Math.min(te*Ye,300);return d-Le*((C+O*L*_)*Math.sinh(R)+te*_*Math.cosh(R))/te};const ye=(C+O*L*_)/te,xe=O*L*ye-_*te,Ie=O*L*_-ye*te;q=Ye=>{const Le=Math.exp(-O*L*Ye),R=Math.min(te*Ye,300);return Le*(xe*Math.sinh(R)+Ie*Math.cosh(R))}}const se={calculatedDuration:E&&b||null,velocity:te=>Nt(q(te)),next:te=>{if(!E&&O<1){const xe=Math.exp(-O*L*te),Ie=Math.sin(P*te),Ye=Math.cos(P*te),Le=d-xe*(ie*Ie+_*Ye),R=Nt(xe*(X*Ie+Q*Ye));return y.done=Math.abs(R)<=o&&Math.abs(d-Le)<=f,y.value=y.done?d:Le,y}const ye=U(te);if(E)y.done=te>=b;else{const xe=Nt(q(te));y.done=Math.abs(xe)<=o&&Math.abs(d-ye)<=f}return y.value=y.done?d:ye,y},toString:()=>{const te=Math.min(bf(se),To),ye=Y0(xe=>se.next(te*xe).value,te,30);return te+"ms "+ye},toTransition:()=>{}};return se}Ao.applyToOptions=i=>{const s=Ab(i,100,Ao);return i.ease=s.ease,i.duration=Nt(s.duration),i.type="keyframes",i};const Nb=5;function X0(i,s,l){const o=Math.max(s-Nb,0);return T0(l-i(o),s-o)}function Bu({keyframes:i,velocity:s=0,power:l=.8,timeConstant:o=325,bounceDamping:f=10,bounceStiffness:m=500,modifyTarget:d,min:y,max:v,restDelta:p=.5,restSpeed:g}){const b=i[0],S={done:!1,value:b},E=Q=>y!==void 0&&Q<y||v!==void 0&&Q>v,C=Q=>y===void 0?v:v===void 0||Math.abs(y-Q)<Math.abs(v-Q)?y:v;let O=l*s;const _=b+O,L=d===void 0?_:d(_);L!==_&&(O=L-b);const G=Q=>-O*Math.exp(-Q/o),U=Q=>L+G(Q),q=Q=>{const se=G(Q),te=U(Q);S.done=Math.abs(se)<=p,S.value=S.done?L:te};let P,ie;const X=Q=>{E(S.value)&&(P=Q,ie=Ao({keyframes:[S.value,C(S.value)],velocity:X0(U,Q,S.value),damping:f,stiffness:m,restDelta:p,restSpeed:g}))};return X(0),{calculatedDuration:null,next:Q=>{let se=!1;return!ie&&P===void 0&&(se=!0,q(Q),X(Q)),P!==void 0&&Q>=P?ie.next(Q-P):(!se&&q(Q),S)}}}function Rb(i,s,l){const o=[],f=l||si.mix||G0,m=i.length-1;for(let d=0;d<m;d++){let y=f(i[d],i[d+1]);if(s){const v=Array.isArray(s)?s[d]||Yt:s;y=Us(v,y)}o.push(y)}return o}function Ob(i,s,{clamp:l=!0,ease:o,mixer:f}={}){const m=i.length;if(_o(m===s.length),m===1)return()=>s[0];if(m===2&&s[0]===s[1])return()=>s[1];const d=i[0]===i[1];i[0]>i[m-1]&&(i=[...i].reverse(),s=[...s].reverse());const y=Rb(s,o,f),v=y.length,p=g=>{if(d&&g<i[0])return s[0];let b=0;if(v>1)for(;b<i.length-2&&!(g<i[b+1]);b++);const S=Os(i[b],i[b+1],g);return y[b](S)};return l?g=>p(cn(i[0],i[m-1],g)):p}function Vb(i,s){const l=i[i.length-1];for(let o=1;o<=s;o++){const f=Os(0,s,o);i.push(we(l,1,f))}}function _b(i){const s=[0];return Vb(s,i.length-1),s}function Bb(i,s){return i.map(l=>l*s)}function Ub(i,s){return i.map(()=>s||R0).splice(0,i.length-1)}function Ds({duration:i=300,keyframes:s,times:l,ease:o="easeInOut"}){const f=Kx(o)?o.map($p):$p(o),m={done:!1,value:s[0]},d=Bb(l&&l.length===s.length?l:_b(s),i),y=Ob(d,s,{ease:Array.isArray(f)?f:Ub(s,f)});return{calculatedDuration:i,next:v=>(m.value=y(v),m.done=v>=i,m)}}const kb=i=>i!==null;function Bo(i,{repeat:s,repeatType:l="loop"},o,f=1){const m=i.filter(kb),y=f<0||s&&l!=="loop"&&s%2===1?0:m.length-1;return!y||o===void 0?m[y]:o}const Lb={decay:Bu,inertia:Bu,tween:Ds,keyframes:Ds,spring:Ao};function K0(i){typeof i.type=="string"&&(i.type=Lb[i.type])}class Sf{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(s=>{this.resolve=s})}notifyFinished(){this.resolve()}then(s,l){return this.finished.then(s,l)}}const Hb=i=>i/100;class Eo extends Sf{constructor(s){super(),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=()=>{var o,f;const{motionValue:l}=this.options;l&&l.updatedAt!==dt.now()&&this.tick(dt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(f=(o=this.options).onStop)==null||f.call(o))},this.options=s,this.initAnimation(),this.play(),s.autoplay===!1&&this.pause()}initAnimation(){const{options:s}=this;K0(s);const{type:l=Ds,repeat:o=0,repeatDelay:f=0,repeatType:m,velocity:d=0}=s;let{keyframes:y}=s;const v=l||Ds;v!==Ds&&typeof y[0]!="number"&&(this.mixKeyframes=Us(Hb,G0(y[0],y[1])),y=[0,100]);const p=v({...s,keyframes:y});m==="mirror"&&(this.mirroredGenerator=v({...s,keyframes:[...y].reverse(),velocity:-d})),p.calculatedDuration===null&&(p.calculatedDuration=bf(p));const{calculatedDuration:g}=p;this.calculatedDuration=g,this.resolvedDuration=g+f,this.totalDuration=this.resolvedDuration*(o+1)-f,this.generator=p}updateTime(s){const l=Math.round(s-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=l}tick(s,l=!1){const{generator:o,totalDuration:f,mixKeyframes:m,mirroredGenerator:d,resolvedDuration:y,calculatedDuration:v}=this;if(this.startTime===null)return o.next(0);const{delay:p=0,keyframes:g,repeat:b,repeatType:S,repeatDelay:E,type:C,onUpdate:O,finalKeyframe:_}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,s):this.speed<0&&(this.startTime=Math.min(s-f/this.speed,this.startTime)),l?this.currentTime=s:this.updateTime(s);const L=this.currentTime-p*(this.playbackSpeed>=0?1:-1),G=this.playbackSpeed>=0?L<0:L>f;this.currentTime=Math.max(L,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=f);let U=this.currentTime,q=o;if(b){const Q=Math.min(this.currentTime,f)/y;let se=Math.floor(Q),te=Q%1;!te&&Q>=1&&(te=1),te===1&&se--,se=Math.min(se,b+1),!!(se%2)&&(S==="reverse"?(te=1-te,E&&(te-=E/y)):S==="mirror"&&(q=d)),U=cn(0,1,te)*y}let P;G?(this.delayState.value=g[0],P=this.delayState):P=q.next(U),m&&!G&&(P.value=m(P.value));let{done:ie}=P;!G&&v!==null&&(ie=this.playbackSpeed>=0?this.currentTime>=f:this.currentTime<=0);const X=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&ie);return X&&C!==Bu&&(P.value=Bo(g,this.options,_,this.speed)),O&&O(P.value),X&&this.finish(),P}then(s,l){return this.finished.then(s,l)}get duration(){return Gt(this.calculatedDuration)}get iterationDuration(){const{delay:s=0}=this.options||{};return this.duration+Gt(s)}get time(){return Gt(this.currentTime)}set time(s){s=Nt(s),this.currentTime=s,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=s:this.driver&&(this.startTime=this.driver.now()-s/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=s,this.tick(s))}getGeneratorVelocity(){const s=this.currentTime;if(s<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(s);const l=this.generator.next(s).value;return X0(o=>this.generator.next(o).value,s,l)}get speed(){return this.playbackSpeed}set speed(s){const l=this.playbackSpeed!==s;l&&this.driver&&this.updateTime(dt.now()),this.playbackSpeed=s,l&&this.driver&&(this.time=Gt(this.currentTime))}play(){var f,m;if(this.isStopped)return;const{driver:s=Tb,startTime:l}=this.options;this.driver||(this.driver=s(d=>this.tick(d))),(m=(f=this.options).onPlay)==null||m.call(f);const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=l??o),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(dt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var s,l;this.notifyFinished(),this.teardown(),this.state="finished",(l=(s=this.options).onComplete)==null||l.call(s)}cancel(){var s,l;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(l=(s=this.options).onCancel)==null||l.call(s)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(s){return this.startTime=0,this.tick(s,!0)}attachTimeline(s){var l;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(l=this.driver)==null||l.stop(),s.observe(this)}}function qb(i){for(let s=1;s<i.length;s++)i[s]??(i[s]=i[s-1])}const Ri=i=>i*180/Math.PI,Uu=i=>{const s=Ri(Math.atan2(i[1],i[0]));return ku(s)},Gb={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:i=>(Math.abs(i[0])+Math.abs(i[3]))/2,rotate:Uu,rotateZ:Uu,skewX:i=>Ri(Math.atan(i[1])),skewY:i=>Ri(Math.atan(i[2])),skew:i=>(Math.abs(i[1])+Math.abs(i[2]))/2},ku=i=>(i=i%360,i<0&&(i+=360),i),iy=Uu,ay=i=>Math.sqrt(i[0]*i[0]+i[1]*i[1]),sy=i=>Math.sqrt(i[4]*i[4]+i[5]*i[5]),Yb={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ay,scaleY:sy,scale:i=>(ay(i)+sy(i))/2,rotateX:i=>ku(Ri(Math.atan2(i[6],i[5]))),rotateY:i=>ku(Ri(Math.atan2(-i[2],i[0]))),rotateZ:iy,rotate:iy,skewX:i=>Ri(Math.atan(i[4])),skewY:i=>Ri(Math.atan(i[1])),skew:i=>(Math.abs(i[1])+Math.abs(i[4]))/2};function Lu(i){return i.includes("scale")?1:0}function Hu(i,s){if(!i||i==="none")return Lu(s);const l=i.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,f;if(l)o=Yb,f=l;else{const y=i.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=Gb,f=y}if(!f)return Lu(s);const m=o[s],d=f[1].split(",").map(Kb);return typeof m=="function"?m(d):d[m]}const Xb=(i,s)=>{const{transform:l="none"}=getComputedStyle(i);return Hu(l,s)};function Kb(i){return parseFloat(i.trim())}const Da=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],za=new Set([...Da,"pathRotation"]),ly=i=>i===Ca||i===F,Zb=new Set(["x","y","z"]),Qb=Da.filter(i=>!Zb.has(i));function Pb(i){const s=[];return Qb.forEach(l=>{const o=i.getValue(l);o!==void 0&&(s.push([l,o.get()]),o.set(l.startsWith("scale")?1:0))}),s}const ai={width:({x:i},{paddingLeft:s="0",paddingRight:l="0",boxSizing:o})=>{const f=i.max-i.min;return o==="border-box"?f:f-parseFloat(s)-parseFloat(l)},height:({y:i},{paddingTop:s="0",paddingBottom:l="0",boxSizing:o})=>{const f=i.max-i.min;return o==="border-box"?f:f-parseFloat(s)-parseFloat(l)},top:(i,{top:s})=>parseFloat(s),left:(i,{left:s})=>parseFloat(s),bottom:({y:i},{top:s})=>parseFloat(s)+(i.max-i.min),right:({x:i},{left:s})=>parseFloat(s)+(i.max-i.min),x:(i,{transform:s})=>Hu(s,"x"),y:(i,{transform:s})=>Hu(s,"y")};ai.translateX=ai.x;ai.translateY=ai.y;const Vi=new Set;let qu=!1,Gu=!1,Yu=!1;function Z0(){if(Gu){const i=Array.from(Vi).filter(o=>o.needsMeasurement),s=new Set(i.map(o=>o.element)),l=new Map;s.forEach(o=>{const f=Pb(o);f.length&&(l.set(o,f),o.render())}),i.forEach(o=>o.measureInitialState()),s.forEach(o=>{o.render();const f=l.get(o);f&&f.forEach(([m,d])=>{var y;(y=o.getValue(m))==null||y.set(d)})}),i.forEach(o=>o.measureEndState()),i.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}Gu=!1,qu=!1,Vi.forEach(i=>i.complete(Yu)),Vi.clear()}function Q0(){Vi.forEach(i=>{i.readKeyframes(),i.needsMeasurement&&(Gu=!0)})}function Jb(){Yu=!0,Q0(),Z0(),Yu=!1}class jf{constructor(s,l,o,f,m,d=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...s],this.onComplete=l,this.name=o,this.motionValue=f,this.element=m,this.isAsync=d}scheduleResolve(){this.state="scheduled",this.isAsync?(Vi.add(this),qu||(qu=!0,Ne.read(Q0),Ne.resolveKeyframes(Z0))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:s,name:l,element:o,motionValue:f}=this;if(s[0]===null){const m=f==null?void 0:f.get(),d=s[s.length-1];if(m!==void 0)s[0]=m;else if(o&&l){const y=o.readValue(l,d);y!=null&&(s[0]=y)}s[0]===void 0&&(s[0]=d),f&&m===void 0&&f.set(s[0])}qb(s)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(s=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,s),Vi.delete(this)}cancel(){this.state==="scheduled"&&(Vi.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const $b=i=>i.startsWith("--");function P0(i,s,l){$b(s)?i.style.setProperty(s,l):i.style[s]=l}const Fb={};function J0(i,s){const l=j0(i);return()=>Fb[s]??l()}const Wb=J0(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),$0=J0(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Ms=([i,s,l,o])=>`cubic-bezier(${i}, ${s}, ${l}, ${o})`,oy={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ms([0,.65,.55,1]),circOut:Ms([.55,0,1,.45]),backIn:Ms([.31,.01,.66,-.59]),backOut:Ms([.33,1.53,.69,.99])};function F0(i,s){if(i)return typeof i=="function"?$0()?Y0(i,s):"ease-out":O0(i)?Ms(i):Array.isArray(i)?i.map(l=>F0(l,s)||oy.easeOut):oy[i]}function Ib(i,s,l,{delay:o=0,duration:f=300,repeat:m=0,repeatType:d="loop",ease:y="easeOut",times:v}={},p=void 0){const g={[s]:l};v&&(g.offset=v);const b=F0(y,f);Array.isArray(b)&&(g.easing=b);const S={delay:o,duration:f,easing:Array.isArray(b)?"linear":b,fill:"both",iterations:m+1,direction:d==="reverse"?"alternate":"normal"};return p&&(S.pseudoElement=p),i.animate(g,S)}function W0(i){return typeof i=="function"&&"applyToOptions"in i}function eS({type:i,...s}){return W0(i)&&$0()?i.applyToOptions(s):(s.duration??(s.duration=300),s.ease??(s.ease="easeOut"),s)}class I0 extends Sf{constructor(s){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!s)return;const{element:l,name:o,keyframes:f,pseudoElement:m,allowFlatten:d=!1,finalKeyframe:y,onComplete:v}=s;this.isPseudoElement=!!m,this.allowFlatten=d,this.options=s,_o(typeof s.type!="string");const p=eS(s);this.animation=Ib(l,o,f,p,m),p.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!m){const g=Bo(f,this.options,y,this.speed);this.updateMotionValue&&this.updateMotionValue(g),P0(l,o,g),this.animation.cancel()}v==null||v(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var s,l;(l=(s=this.animation).finish)==null||l.call(s)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:s}=this;s==="idle"||s==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var l,o,f;const s=(l=this.options)==null?void 0:l.element;!this.isPseudoElement&&(s!=null&&s.isConnected)&&((f=(o=this.animation).commitStyles)==null||f.call(o))}get duration(){var l,o;const s=((o=(l=this.animation.effect)==null?void 0:l.getComputedTiming)==null?void 0:o.call(l).duration)||0;return Gt(Number(s))}get iterationDuration(){const{delay:s=0}=this.options||{};return this.duration+Gt(s)}get time(){return Gt(Number(this.animation.currentTime)||0)}set time(s){const l=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Nt(s),l&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(s){s<0&&(this.finishedTime=null),this.animation.playbackRate=s}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(s){this.manualStartTime=this.animation.startTime=s}attachTimeline({timeline:s,rangeStart:l,rangeEnd:o,observe:f}){var m;return this.allowFlatten&&((m=this.animation.effect)==null||m.updateTiming({easing:"linear"})),this.animation.onfinish=null,s&&Wb()?(this.animation.timeline=s,l&&(this.animation.rangeStart=l),o&&(this.animation.rangeEnd=o),Yt):f(this)}}const ev={anticipate:z0,backInOut:D0,circInOut:N0};function tS(i){return i in ev}function nS(i){typeof i.ease=="string"&&tS(i.ease)&&(i.ease=ev[i.ease])}const pu=10;class iS extends I0{constructor(s){nS(s),K0(s),super(s),s.startTime!==void 0&&s.autoplay!==!1&&(this.startTime=s.startTime),this.options=s}updateMotionValue(s){const{motionValue:l,onUpdate:o,onComplete:f,element:m,...d}=this.options;if(!l)return;if(s!==void 0){l.set(s);return}const y=new Eo({...d,autoplay:!1}),v=Math.max(pu,dt.now()-this.startTime),p=cn(0,pu,v-pu),g=y.sample(v).value,{name:b}=this.options;m&&b&&P0(m,b,g),l.setWithVelocity(y.sample(Math.max(0,v-p)).value,g,p),y.stop()}}const ry=(i,s)=>s==="zIndex"?!1:!!(typeof i=="number"||Array.isArray(i)||typeof i=="string"&&(Ft.test(i)||i==="0")&&!i.startsWith("url("));function aS(i){const s=i[0];if(i.length===1)return!0;for(let l=0;l<i.length;l++)if(i[l]!==s)return!0}function sS(i,s,l,o){const f=i[0];if(f===null)return!1;if(s==="display"||s==="visibility")return!0;const m=i[i.length-1],d=ry(f,s),y=ry(m,s);return!d||!y?!1:aS(i)||(l==="spring"||W0(l))&&o}function Xu(i){i.duration=0,i.type="keyframes"}const tv=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),lS=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function oS(i){for(let s=0;s<i.length;s++)if(typeof i[s]=="string"&&lS.test(i[s]))return!0;return!1}const rS=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),cS=j0(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function uS(i){var b;const{motionValue:s,name:l,repeatDelay:o,repeatType:f,damping:m,type:d,keyframes:y}=i,v=(b=s==null?void 0:s.owner)==null?void 0:b.current;if(!(v instanceof HTMLElement)&&!(v instanceof SVGElement))return!1;const{onUpdate:p,transformTemplate:g}=s.owner.getProps();return cS()&&l&&(tv.has(l)||rS.has(l)&&oS(y))&&(l!=="transform"||!g)&&!p&&!o&&f!=="mirror"&&m!==0&&d!=="inertia"}const fS=40;class dS extends Sf{constructor({autoplay:s=!0,delay:l=0,type:o="keyframes",repeat:f=0,repeatDelay:m=0,repeatType:d="loop",keyframes:y,name:v,motionValue:p,element:g,...b}){var C;super(),this.stop=()=>{var O,_;this._animation&&(this._animation.stop(),(O=this.stopTimeline)==null||O.call(this)),(_=this.keyframeResolver)==null||_.cancel()},this.createdAt=dt.now();const S={autoplay:s,delay:l,type:o,repeat:f,repeatDelay:m,repeatType:d,name:v,motionValue:p,element:g,...b},E=(g==null?void 0:g.KeyframeResolver)||jf;this.keyframeResolver=new E(y,(O,_,L)=>this.onKeyframesResolved(O,_,S,!L),v,p,g),(C=this.keyframeResolver)==null||C.scheduleResolve()}onKeyframesResolved(s,l,o,f){var L,G;this.keyframeResolver=void 0;const{name:m,type:d,velocity:y,delay:v,isHandoff:p,onUpdate:g}=o;this.resolvedAt=dt.now();let b=!0;sS(s,m,d,y)||(b=!1,(si.instantAnimations||!v)&&(g==null||g(Bo(s,o,l))),s[0]=s[s.length-1],Xu(o),o.repeat=0);const E={startTime:f?this.resolvedAt?this.resolvedAt-this.createdAt>fS?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:l,...o,keyframes:s},C=b&&!p&&uS(E),O=(G=(L=E.motionValue)==null?void 0:L.owner)==null?void 0:G.current;let _;if(C)try{_=new iS({...E,element:O})}catch{_=new Eo(E)}else _=new Eo(E);_.finished.then(()=>{this.notifyFinished()}).catch(Yt),this.pendingTimeline&&(this.stopTimeline=_.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=_}get finished(){return this._animation?this.animation.finished:this._finished}then(s,l){return this.finished.finally(s).then(()=>{})}get animation(){var s;return this._animation||((s=this.keyframeResolver)==null||s.resume(),Jb()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(s){this.animation.time=s}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(s){this.animation.speed=s}get startTime(){return this.animation.startTime}attachTimeline(s){return this._animation?this.stopTimeline=this.animation.attachTimeline(s):this.pendingTimeline=s,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var s;this._animation&&this.animation.cancel(),(s=this.keyframeResolver)==null||s.cancel()}}function nv(i,s,l,o=0,f=1){const m=Array.from(i).sort((p,g)=>p.sortNodePosition(g)).indexOf(s),d=i.size,y=(d-1)*o;return typeof l=="function"?l(m,d):f===1?m*o:y-m*o}const cy=30,hS=i=>!isNaN(parseFloat(i));class mS{constructor(s,l={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{var m;const f=dt.now();if(this.updatedAt!==f&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&((m=this.events.change)==null||m.notify(this.current),this.dependents))for(const d of this.dependents)d.dirty()},this.hasAnimated=!1,this.setCurrent(s),this.owner=l.owner}setCurrent(s){this.current=s,this.updatedAt=dt.now(),this.canTrackVelocity===null&&s!==void 0&&(this.canTrackVelocity=hS(this.current))}setPrevFrameValue(s=this.current){this.prevFrameValue=s,this.prevUpdatedAt=this.updatedAt}onChange(s){return this.on("change",s)}on(s,l){this.events[s]||(this.events[s]=new hf);const o=this.events[s].add(l);return s==="change"?()=>{o(),Ne.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const s in this.events)this.events[s].clear()}attach(s,l){this.passiveEffect=s,this.stopPassiveEffect=l}set(s){this.passiveEffect?this.passiveEffect(s,this.updateAndNotify):this.updateAndNotify(s)}setWithVelocity(s,l,o){this.set(l),this.prev=void 0,this.prevFrameValue=s,this.prevUpdatedAt=this.updatedAt-o}jump(s,l=!0){this.updateAndNotify(s),this.prev=s,this.prevUpdatedAt=this.prevFrameValue=void 0,l&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var s;(s=this.events.change)==null||s.notify(this.current)}addDependent(s){this.dependents||(this.dependents=new Set),this.dependents.add(s)}removeDependent(s){this.dependents&&this.dependents.delete(s)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const s=dt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||s-this.updatedAt>cy)return 0;const l=Math.min(this.updatedAt-this.prevUpdatedAt,cy);return T0(parseFloat(this.current)-parseFloat(this.prevFrameValue),l)}start(s){return this.stop(),new Promise(l=>{this.hasAnimated=!0,this.animation=s(l),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var s,l;(s=this.dependents)==null||s.clear(),(l=this.events.destroy)==null||l.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ma(i,s){return new mS(i,s)}function iv(i,s){if(i!=null&&i.inherit&&s){const{inherit:l,...o}=i;return{...s,...o}}return i}function Tf(i,s){const l=(i==null?void 0:i[s])??(i==null?void 0:i.default)??i;return l!==i?iv(l,i):l}const pS={type:"spring",stiffness:500,damping:25,restSpeed:10},yS=i=>({type:"spring",stiffness:550,damping:i===0?2*Math.sqrt(550):30,restSpeed:10}),vS={type:"keyframes",duration:.8},gS={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},xS=(i,{keyframes:s})=>s.length>2?vS:za.has(i)?i.startsWith("scale")?yS(s[1]):pS:gS,bS=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function SS(i){for(const s in i)if(!bS.has(s))return!0;return!1}const Af=(i,s,l,o={},f,m)=>d=>{const y=Tf(o,i)||{},v=y.delay||o.delay||0;let{elapsed:p=0}=o;p=p-Nt(v);const g={keyframes:Array.isArray(l)?l:[null,l],ease:"easeOut",velocity:s.getVelocity(),...y,delay:-p,onUpdate:S=>{s.set(S),y.onUpdate&&y.onUpdate(S)},onComplete:()=>{d(),y.onComplete&&y.onComplete()},name:i,motionValue:s,element:m?void 0:f};SS(y)||Object.assign(g,xS(i,g)),g.duration&&(g.duration=Nt(g.duration)),g.repeatDelay&&(g.repeatDelay=Nt(g.repeatDelay)),g.from!==void 0&&(g.keyframes[0]=g.from);let b=!1;if((g.type===!1||g.duration===0&&!g.repeatDelay)&&(Xu(g),g.delay===0&&(b=!0)),(si.instantAnimations||si.skipAnimations||f!=null&&f.shouldSkipAnimations||y.skipAnimations)&&(b=!0,Xu(g),g.delay=0),g.allowFlatten=!y.type&&!y.ease,b&&!m&&s.get()!==void 0){const S=Bo(g.keyframes,y);if(S!==void 0){Ne.update(()=>{g.onUpdate(S),g.onComplete()});return}}return y.isSync?new Eo(g):new dS(g)},jS=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function TS(i){const s=jS.exec(i);if(!s)return[,];const[,l,o,f]=s;return[`--${l??o}`,f]}function av(i,s,l=1){const[o,f]=TS(i);if(!o)return;const m=window.getComputedStyle(s).getPropertyValue(o);if(m){const d=m.trim();return x0(d)?parseFloat(d):d}return yf(f)?av(f,s,l+1):f}function uy(i){const s=[{},{}];return i==null||i.values.forEach((l,o)=>{s[0][o]=l.get(),s[1][o]=l.getVelocity()}),s}function Ef(i,s,l,o){if(typeof s=="function"){const[f,m]=uy(o);s=s(l!==void 0?l:i.custom,f,m)}if(typeof s=="string"&&(s=i.variants&&i.variants[s]),typeof s=="function"){const[f,m]=uy(o);s=s(l!==void 0?l:i.custom,f,m)}return s}function _i(i,s,l){const o=i.getProps();return Ef(o,s,l!==void 0?l:o.custom,i)}const sv=new Set(["width","height","top","left","right","bottom",...Da]),Ku=i=>Array.isArray(i);function AS(i,s,l){i.hasValue(s)?i.getValue(s).set(l):i.addValue(s,Ma(l))}function ES(i){return Ku(i)?i[i.length-1]||0:i}function MS(i,s){const l=_i(i,s);let{transitionEnd:o={},transition:f={},...m}=l||{};m={...m,...o};for(const d in m){const y=ES(m[d]);AS(i,d,y)}}const lt=i=>!!(i&&i.getVelocity);function CS(i){return!!(lt(i)&&i.add)}function Zu(i,s){const l=i.getValue("willChange");if(CS(l))return l.add(s);if(!l&&si.WillChange){const o=new si.WillChange("auto");i.addValue("willChange",o),o.add(s)}}function Mf(i){return i.replace(/([A-Z])/g,s=>`-${s.toLowerCase()}`)}const DS="framerAppearId",lv="data-"+Mf(DS);function ov(i){return i.props[lv]}function zS({protectedKeys:i,needsAnimating:s},l){const o=i.hasOwnProperty(l)&&s[l]!==!0;return s[l]=!1,o}function rv(i,s,{delay:l=0,transitionOverride:o,type:f}={}){let{transition:m,transitionEnd:d,...y}=s;const v=i.getDefaultTransition();m=m?iv(m,v):v;const p=m==null?void 0:m.reduceMotion,g=m==null?void 0:m.skipAnimations;o&&(m=o);const b=[],S=f&&i.animationState&&i.animationState.getState()[f],E=m==null?void 0:m.path;E&&E.animateVisualElement(i,y,m,l,b);for(const C in y){const O=i.getValue(C,i.latestValues[C]??null),_=y[C];if(_===void 0||S&&zS(S,C))continue;const L={delay:l,...Tf(m||{},C)};g&&(L.skipAnimations=!0);const G=O.get();if(G!==void 0&&!O.isAnimating()&&!Array.isArray(_)&&_===G&&!L.velocity){Ne.update(()=>O.set(_));continue}let U=!1;if(window.MotionHandoffAnimation){const ie=ov(i);if(ie){const X=window.MotionHandoffAnimation(ie,C,Ne);X!==null&&(L.startTime=X,U=!0)}}Zu(i,C);const q=p??i.shouldReduceMotion;O.start(Af(C,O,_,q&&sv.has(C)?{type:!1}:L,i,U));const P=O.animation;P&&b.push(P)}if(d){const C=()=>Ne.update(()=>{d&&MS(i,d)});b.length?Promise.all(b).then(C):C()}return b}function Qu(i,s,l={}){var v;const o=_i(i,s,l.type==="exit"?(v=i.presenceContext)==null?void 0:v.custom:void 0);let{transition:f=i.getDefaultTransition()||{}}=o||{};l.transitionOverride&&(f=l.transitionOverride);const m=o?()=>Promise.all(rv(i,o,l)):()=>Promise.resolve(),d=i.variantChildren&&i.variantChildren.size?(p=0)=>{const{delayChildren:g=0,staggerChildren:b,staggerDirection:S}=f;return wS(i,s,p,g,b,S,l)}:()=>Promise.resolve(),{when:y}=f;if(y){const[p,g]=y==="beforeChildren"?[m,d]:[d,m];return p().then(()=>g())}else return Promise.all([m(),d(l.delay)])}function wS(i,s,l=0,o=0,f=0,m=1,d){const y=[];for(const v of i.variantChildren)v.notify("AnimationStart",s),y.push(Qu(v,s,{...d,delay:l+(typeof o=="function"?0:o)+nv(i.variantChildren,v,o,f,m)}).then(()=>v.notify("AnimationComplete",s)));return Promise.all(y)}function NS(i,s,l={}){i.notify("AnimationStart",s);let o;if(Array.isArray(s)){const f=s.map(m=>Qu(i,m,l));o=Promise.all(f)}else if(typeof s=="string")o=Qu(i,s,l);else{const f=typeof s=="function"?_i(i,s,l.custom):s;o=Promise.all(rv(i,f,l))}return o.then(()=>{i.notify("AnimationComplete",s)})}const RS={test:i=>i==="auto",parse:i=>i},cv=i=>s=>s.test(i),uv=[Ca,F,rn,Dn,ab,ib,RS],fy=i=>uv.find(cv(i));function OS(i){return typeof i=="number"?i===0:i!==null?i==="none"||i==="0"||S0(i):!0}const VS=new Set(["brightness","contrast","saturate","opacity"]);function _S(i){const[s,l]=i.slice(0,-1).split("(");if(s==="drop-shadow")return i;const[o]=l.match(vf)||[];if(!o)return i;const f=l.replace(o,"");let m=VS.has(s)?1:0;return o!==l&&(m*=100),s+"("+m+f+")"}const BS=/\b([a-z-]*)\(.*?\)/gu,Pu={...Ft,getAnimatableNone:i=>{const s=i.match(BS);return s?s.map(_S).join(" "):i}},Ju={...Ft,getAnimatableNone:i=>{const s=Ft.parse(i);return Ft.createTransformer(i)(s.map(o=>typeof o=="number"?0:typeof o=="object"?{...o,alpha:1}:o))}},dy={...Ca,transform:Math.round},US={rotate:Dn,pathRotation:Dn,rotateX:Dn,rotateY:Dn,rotateZ:Dn,scale:oo,scaleX:oo,scaleY:oo,scaleZ:oo,skew:Dn,skewX:Dn,skewY:Dn,distance:F,translateX:F,translateY:F,translateZ:F,x:F,y:F,z:F,perspective:F,transformPerspective:F,opacity:Vs,originX:Wp,originY:Wp,originZ:F},Mo={borderWidth:F,borderTopWidth:F,borderRightWidth:F,borderBottomWidth:F,borderLeftWidth:F,borderRadius:F,borderTopLeftRadius:F,borderTopRightRadius:F,borderBottomRightRadius:F,borderBottomLeftRadius:F,width:F,maxWidth:F,height:F,maxHeight:F,top:F,right:F,bottom:F,left:F,inset:F,insetBlock:F,insetBlockStart:F,insetBlockEnd:F,insetInline:F,insetInlineStart:F,insetInlineEnd:F,padding:F,paddingTop:F,paddingRight:F,paddingBottom:F,paddingLeft:F,paddingBlock:F,paddingBlockStart:F,paddingBlockEnd:F,paddingInline:F,paddingInlineStart:F,paddingInlineEnd:F,margin:F,marginTop:F,marginRight:F,marginBottom:F,marginLeft:F,marginBlock:F,marginBlockStart:F,marginBlockEnd:F,marginInline:F,marginInlineStart:F,marginInlineEnd:F,fontSize:F,backgroundPositionX:F,backgroundPositionY:F,...US,zIndex:dy,fillOpacity:Vs,strokeOpacity:Vs,numOctaves:dy},kS={...Mo,color:Pe,backgroundColor:Pe,outlineColor:Pe,fill:Pe,stroke:Pe,borderColor:Pe,borderTopColor:Pe,borderRightColor:Pe,borderBottomColor:Pe,borderLeftColor:Pe,filter:Pu,WebkitFilter:Pu,mask:Ju,WebkitMask:Ju},fv=i=>kS[i],LS=new Set([Pu,Ju]);function dv(i,s){let l=fv(i);return LS.has(l)||(l=Ft),l.getAnimatableNone?l.getAnimatableNone(s):void 0}const HS=new Set(["auto","none","0"]);function qS(i,s,l){let o=0,f;for(;o<i.length&&!f;){const m=i[o];typeof m=="string"&&!HS.has(m)&&Ea(m).values.length&&(f=i[o]),o++}if(f&&l)for(const m of s)i[m]=dv(l,f)}class GS extends jf{constructor(s,l,o,f,m){super(s,l,o,f,m,!0)}readKeyframes(){const{unresolvedKeyframes:s,element:l,name:o}=this;if(!l||!l.current)return;super.readKeyframes();for(let g=0;g<s.length;g++){let b=s[g];if(typeof b=="string"&&(b=b.trim(),yf(b))){const S=av(b,l.current);S!==void 0&&(s[g]=S),g===s.length-1&&(this.finalKeyframe=b)}}if(this.resolveNoneKeyframes(),!sv.has(o)||s.length!==2)return;const[f,m]=s,d=fy(f),y=fy(m),v=Fp(f),p=Fp(m);if(v!==p&&ai[o]){this.needsMeasurement=!0;return}if(d!==y)if(ly(d)&&ly(y))for(let g=0;g<s.length;g++){const b=s[g];typeof b=="string"&&(s[g]=parseFloat(b))}else ai[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:s,name:l}=this,o=[];for(let f=0;f<s.length;f++)(s[f]===null||OS(s[f]))&&o.push(f);o.length&&qS(s,o,l)}measureInitialState(){const{element:s,unresolvedKeyframes:l,name:o}=this;if(!s||!s.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ai[o](s.measureViewportBox(),window.getComputedStyle(s.current)),l[0]=this.measuredOrigin;const f=l[l.length-1];f!==void 0&&s.getValue(o,f).jump(f,!1)}measureEndState(){var y;const{element:s,name:l,unresolvedKeyframes:o}=this;if(!s||!s.current)return;const f=s.getValue(l);f&&f.jump(this.measuredOrigin,!1);const m=o.length-1,d=o[m];o[m]=ai[l](s.measureViewportBox(),window.getComputedStyle(s.current)),d!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=d),(y=this.removedTransforms)!=null&&y.length&&this.removedTransforms.forEach(([v,p])=>{s.getValue(v).set(p)}),this.resolveNoneKeyframes()}}const Cf=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function hv(i,s,l){if(i==null)return[];if(i instanceof EventTarget)return[i];if(typeof i=="string"){let o=document;const f=(l==null?void 0:l[i])??o.querySelectorAll(i);return f?Array.from(f):[]}return Array.from(i).filter(o=>o!=null)}const $u=(i,s)=>s&&typeof i=="number"?s.transform(i):i;function ho(i){return b0(i)&&"offsetHeight"in i&&!("ownerSVGElement"in i)}const{schedule:Df}=V0(queueMicrotask,!1),Pt={x:!1,y:!1};function mv(){return Pt.x||Pt.y}function YS(i){return i==="x"||i==="y"?Pt[i]?null:(Pt[i]=!0,()=>{Pt[i]=!1}):Pt.x||Pt.y?null:(Pt.x=Pt.y=!0,()=>{Pt.x=Pt.y=!1})}function pv(i,s){const l=hv(i),o=new AbortController,f={passive:!0,...s,signal:o.signal};return[l,f,()=>o.abort()]}function XS(i){return!(i.pointerType==="touch"||mv())}function KS(i,s,l={}){const[o,f,m]=pv(i,l);return o.forEach(d=>{let y=!1,v=!1,p;const g=()=>{d.removeEventListener("pointerleave",C)},b=_=>{p&&(p(_),p=void 0),g()},S=_=>{y=!1,window.removeEventListener("pointerup",S),window.removeEventListener("pointercancel",S),v&&(v=!1,b(_))},E=()=>{y=!0,window.addEventListener("pointerup",S,f),window.addEventListener("pointercancel",S,f)},C=_=>{if(_.pointerType!=="touch"){if(y){v=!0;return}b(_)}},O=_=>{if(!XS(_))return;v=!1;const L=s(d,_);typeof L=="function"&&(p=L,d.addEventListener("pointerleave",C,f))};d.addEventListener("pointerenter",O,f),d.addEventListener("pointerdown",E,f)}),m}const yv=(i,s)=>s?i===s?!0:yv(i,s.parentElement):!1,zf=i=>i.pointerType==="mouse"?typeof i.button!="number"||i.button<=0:i.isPrimary!==!1,ZS=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function QS(i){return ZS.has(i.tagName)||i.isContentEditable===!0}const PS=new Set(["INPUT","SELECT","TEXTAREA"]);function JS(i){return PS.has(i.tagName)||i.isContentEditable===!0}const mo=new WeakSet;function hy(i){return s=>{s.key==="Enter"&&i(s)}}function yu(i,s){i.dispatchEvent(new PointerEvent("pointer"+s,{isPrimary:!0,bubbles:!0}))}const $S=(i,s)=>{const l=i.currentTarget;if(!l)return;const o=hy(()=>{if(mo.has(l))return;yu(l,"down");const f=hy(()=>{yu(l,"up")}),m=()=>yu(l,"cancel");l.addEventListener("keyup",f,s),l.addEventListener("blur",m,s)});l.addEventListener("keydown",o,s),l.addEventListener("blur",()=>l.removeEventListener("keydown",o),s)};function my(i){return zf(i)&&!mv()}const py=new WeakSet;function FS(i,s,l={}){const[o,f,m]=pv(i,l),d=y=>{const v=y.currentTarget;if(!my(y)||py.has(y))return;mo.add(v),l.stopPropagation&&py.add(y);const p=s(v,y),g={...f,capture:!0},b=(C,O)=>{window.removeEventListener("pointerup",S,g),window.removeEventListener("pointercancel",E,g),mo.has(v)&&mo.delete(v),my(C)&&typeof p=="function"&&p(C,{success:O})},S=C=>{b(C,v===window||v===document||l.useGlobalTarget||yv(v,C.target))},E=C=>{b(C,!1)};window.addEventListener("pointerup",S,g),window.addEventListener("pointercancel",E,g)};return o.forEach(y=>{(l.useGlobalTarget?window:y).addEventListener("pointerdown",d,f),ho(y)&&(y.addEventListener("focus",p=>$S(p,f)),!QS(y)&&!y.hasAttribute("tabindex")&&(y.tabIndex=0))}),m}function wf(i){return b0(i)&&"ownerSVGElement"in i}const po=new WeakMap;let ni;const vv=(i,s,l)=>(o,f)=>f&&f[0]?f[0][i+"Size"]:wf(o)&&"getBBox"in o?o.getBBox()[s]:o[l],WS=vv("inline","width","offsetWidth"),IS=vv("block","height","offsetHeight");function e2({target:i,borderBoxSize:s}){var l;(l=po.get(i))==null||l.forEach(o=>{o(i,{get width(){return WS(i,s)},get height(){return IS(i,s)}})})}function t2(i){i.forEach(e2)}function n2(){typeof ResizeObserver>"u"||(ni=new ResizeObserver(t2))}function i2(i,s){ni||n2();const l=hv(i);return l.forEach(o=>{let f=po.get(o);f||(f=new Set,po.set(o,f)),f.add(s),ni==null||ni.observe(o)}),()=>{l.forEach(o=>{const f=po.get(o);f==null||f.delete(s),f!=null&&f.size||ni==null||ni.unobserve(o)})}}const yo=new Set;let Ta;function a2(){Ta=()=>{const i={get width(){return window.innerWidth},get height(){return window.innerHeight}};yo.forEach(s=>s(i))},window.addEventListener("resize",Ta)}function s2(i){return yo.add(i),Ta||a2(),()=>{yo.delete(i),!yo.size&&typeof Ta=="function"&&(window.removeEventListener("resize",Ta),Ta=void 0)}}function yy(i,s){return typeof i=="function"?s2(i):i2(i,s)}function l2(i){return wf(i)&&i.tagName==="svg"}const o2=[...uv,Pe,Ft],r2=i=>o2.find(cv(i)),vy=()=>({translate:0,scale:1,origin:0,originPoint:0}),Aa=()=>({x:vy(),y:vy()}),gy=()=>({min:0,max:0}),$e=()=>({x:gy(),y:gy()}),c2=new WeakMap;function Uo(i){return i!==null&&typeof i=="object"&&typeof i.start=="function"}function _s(i){return typeof i=="string"||Array.isArray(i)}const Nf=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Rf=["initial",...Nf];function ko(i){return Uo(i.animate)||Rf.some(s=>_s(i[s]))}function gv(i){return!!(ko(i)||i.variants)}function u2(i,s,l){for(const o in s){const f=s[o],m=l[o];if(lt(f))i.addValue(o,f);else if(lt(m))i.addValue(o,Ma(f,{owner:i}));else if(m!==f)if(i.hasValue(o)){const d=i.getValue(o);d.liveStyle===!0?d.jump(f):d.hasAnimated||d.set(f)}else{const d=i.getStaticValue(o);i.addValue(o,Ma(d!==void 0?d:f,{owner:i}))}}for(const o in l)s[o]===void 0&&i.removeValue(o);return s}const Fu={current:null},xv={current:!1},f2=typeof window<"u";function d2(){if(xv.current=!0,!!f2)if(window.matchMedia){const i=window.matchMedia("(prefers-reduced-motion)"),s=()=>Fu.current=i.matches;i.addEventListener("change",s),s()}else Fu.current=!1}const xy=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Co={};function bv(i){Co=i}function h2(){return Co}class m2{scrapeMotionValuesFromProps(s,l,o){return{}}constructor({parent:s,props:l,presenceContext:o,reducedMotionConfig:f,skipAnimations:m,blockInitialAnimation:d,visualState:y},v={}){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=jf,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const E=dt.now();this.renderScheduledAt<E&&(this.renderScheduledAt=E,Ne.render(this.render,!1,!0))};const{latestValues:p,renderState:g}=y;this.latestValues=p,this.baseTarget={...p},this.initialValues=l.initial?{...p}:{},this.renderState=g,this.parent=s,this.props=l,this.presenceContext=o,this.depth=s?s.depth+1:0,this.reducedMotionConfig=f,this.skipAnimationsConfig=m,this.options=v,this.blockInitialAnimation=!!d,this.isControllingVariants=ko(l),this.isVariantNode=gv(l),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(s&&s.current);const{willChange:b,...S}=this.scrapeMotionValuesFromProps(l,{},this);for(const E in S){const C=S[E];p[E]!==void 0&<(C)&&C.set(p[E])}}mount(s){var l,o;if(this.hasBeenMounted)for(const f in this.initialValues)(l=this.values.get(f))==null||l.jump(this.initialValues[f]),this.latestValues[f]=this.initialValues[f];this.current=s,c2.set(s,this),this.projection&&!this.projection.instance&&this.projection.mount(s),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((f,m)=>this.bindToMotionValue(m,f)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(xv.current||d2(),this.shouldReduceMotion=Fu.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(o=this.parent)==null||o.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var s;this.projection&&this.projection.unmount(),li(this.notifyUpdate),li(this.render),this.valueSubscriptions.forEach(l=>l()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(s=this.parent)==null||s.removeChild(this);for(const l in this.events)this.events[l].clear();for(const l in this.features){const o=this.features[l];o&&(o.unmount(),o.isMounted=!1)}this.current=null}addChild(s){this.children.add(s),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(s)}removeChild(s){this.children.delete(s),this.enteringChildren&&this.enteringChildren.delete(s)}bindToMotionValue(s,l){if(this.valueSubscriptions.has(s)&&this.valueSubscriptions.get(s)(),l.accelerate&&tv.has(s)&&this.current instanceof HTMLElement){const{factory:d,keyframes:y,times:v,ease:p,duration:g}=l.accelerate,b=new I0({element:this.current,name:s,keyframes:y,times:v,ease:p,duration:Nt(g)}),S=d(b);this.valueSubscriptions.set(s,()=>{S(),b.cancel()});return}const o=za.has(s);o&&this.onBindTransform&&this.onBindTransform();const f=l.on("change",d=>{this.latestValues[s]=d,this.props.onUpdate&&Ne.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let m;typeof window<"u"&&window.MotionCheckAppearSync&&(m=window.MotionCheckAppearSync(this,s,l)),this.valueSubscriptions.set(s,()=>{f(),m&&m()})}sortNodePosition(s){return!this.current||!this.sortInstanceNodePosition||this.type!==s.type?0:this.sortInstanceNodePosition(this.current,s.current)}updateFeatures(){let s="animation";for(s in Co){const l=Co[s];if(!l)continue;const{isEnabled:o,Feature:f}=l;if(!this.features[s]&&f&&o(this.props)&&(this.features[s]=new f(this)),this.features[s]){const m=this.features[s];m.isMounted?m.update():(m.mount(),m.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):$e()}getStaticValue(s){return this.latestValues[s]}setStaticValue(s,l){this.latestValues[s]=l}update(s,l){(s.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=s,this.prevPresenceContext=this.presenceContext,this.presenceContext=l;for(let o=0;o<xy.length;o++){const f=xy[o];this.propEventSubscriptions[f]&&(this.propEventSubscriptions[f](),delete this.propEventSubscriptions[f]);const m="on"+f,d=s[m];d&&(this.propEventSubscriptions[f]=this.on(f,d))}this.prevMotionValues=u2(this,this.scrapeMotionValuesFromProps(s,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(s){return this.props.variants?this.props.variants[s]: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(s){const l=this.getClosestVariantNode();if(l)return l.variantChildren&&l.variantChildren.add(s),()=>l.variantChildren.delete(s)}addValue(s,l){const o=this.values.get(s);l!==o&&(o&&this.removeValue(s),this.bindToMotionValue(s,l),this.values.set(s,l),this.latestValues[s]=l.get())}removeValue(s){this.values.delete(s);const l=this.valueSubscriptions.get(s);l&&(l(),this.valueSubscriptions.delete(s)),delete this.latestValues[s],this.removeValueFromRenderState(s,this.renderState)}hasValue(s){return this.values.has(s)}getValue(s,l){if(this.props.values&&this.props.values[s])return this.props.values[s];let o=this.values.get(s);return o===void 0&&l!==void 0&&(o=Ma(l===null?void 0:l,{owner:this}),this.addValue(s,o)),o}readValue(s,l){let o=this.latestValues[s]!==void 0||!this.current?this.latestValues[s]:this.getBaseTargetFromProps(this.props,s)??this.readValueFromInstance(this.current,s,this.options);return o!=null&&(typeof o=="string"&&(x0(o)||S0(o))?o=parseFloat(o):!r2(o)&&Ft.test(l)&&(o=dv(s,l)),this.setBaseTarget(s,lt(o)?o.get():o)),lt(o)?o.get():o}setBaseTarget(s,l){this.baseTarget[s]=l}getBaseTarget(s){var m;const{initial:l}=this.props;let o;if(typeof l=="string"||typeof l=="object"){const d=Ef(this.props,l,(m=this.presenceContext)==null?void 0:m.custom);d&&(o=d[s])}if(l&&o!==void 0)return o;const f=this.getBaseTargetFromProps(this.props,s);return f!==void 0&&!lt(f)?f:this.initialValues[s]!==void 0&&o===void 0?void 0:this.baseTarget[s]}on(s,l){return this.events[s]||(this.events[s]=new hf),this.events[s].add(l)}notify(s,...l){this.events[s]&&this.events[s].notify(...l)}scheduleRenderMicrotask(){Df.render(this.render)}}class Sv extends m2{constructor(){super(...arguments),this.KeyframeResolver=GS}sortInstanceNodePosition(s,l){return s.compareDocumentPosition(l)&2?1:-1}getBaseTargetFromProps(s,l){const o=s.style;return o?o[l]:void 0}removeValueFromRenderState(s,{vars:l,style:o}){delete l[s],delete o[s]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:s}=this.props;lt(s)&&(this.childSubscription=s.on("change",l=>{this.current&&(this.current.textContent=`${l}`)}))}}class oi{constructor(s){this.isMounted=!1,this.node=s}update(){}}function jv({top:i,left:s,right:l,bottom:o}){return{x:{min:s,max:l},y:{min:i,max:o}}}function p2({x:i,y:s}){return{top:s.min,right:i.max,bottom:s.max,left:i.min}}function y2(i,s){if(!s)return i;const l=s({x:i.left,y:i.top}),o=s({x:i.right,y:i.bottom});return{top:l.y,left:l.x,bottom:o.y,right:o.x}}function vu(i){return i===void 0||i===1}function Wu({scale:i,scaleX:s,scaleY:l}){return!vu(i)||!vu(s)||!vu(l)}function wi(i){return Wu(i)||Tv(i)||i.z||i.rotate||i.rotateX||i.rotateY||i.skewX||i.skewY}function Tv(i){return by(i.x)||by(i.y)}function by(i){return i&&i!=="0%"}function Do(i,s,l){const o=i-l,f=s*o;return l+f}function Sy(i,s,l,o,f){return f!==void 0&&(i=Do(i,f,o)),Do(i,l,o)+s}function Iu(i,s=0,l=1,o,f){i.min=Sy(i.min,s,l,o,f),i.max=Sy(i.max,s,l,o,f)}function Av(i,{x:s,y:l}){Iu(i.x,s.translate,s.scale,s.originPoint),Iu(i.y,l.translate,l.scale,l.originPoint)}const jy=.999999999999,Ty=1.0000000000001;function v2(i,s,l,o=!1){var y;const f=l.length;if(!f)return;s.x=s.y=1;let m,d;for(let v=0;v<f;v++){m=l[v],d=m.projectionDelta;const{visualElement:p}=m.options;p&&p.props.style&&p.props.style.display==="contents"||(o&&m.options.layoutScroll&&m.scroll&&m!==m.root&&(sn(i.x,-m.scroll.offset.x),sn(i.y,-m.scroll.offset.y)),d&&(s.x*=d.x.scale,s.y*=d.y.scale,Av(i,d)),o&&wi(m.latestValues)&&vo(i,m.latestValues,(y=m.layout)==null?void 0:y.layoutBox))}s.x<Ty&&s.x>jy&&(s.x=1),s.y<Ty&&s.y>jy&&(s.y=1)}function sn(i,s){i.min+=s,i.max+=s}function Ay(i,s,l,o,f=.5){const m=we(i.min,i.max,f);Iu(i,s,l,m,o)}function Ey(i,s){return typeof i=="string"?parseFloat(i)/100*(s.max-s.min):i}function vo(i,s,l){const o=l??i;Ay(i.x,Ey(s.x,o.x),s.scaleX,s.scale,s.originX),Ay(i.y,Ey(s.y,o.y),s.scaleY,s.scale,s.originY)}function Ev(i,s){return jv(y2(i.getBoundingClientRect(),s))}function g2(i,s,l){const o=Ev(i,l),{scroll:f}=s;return f&&(sn(o.x,f.offset.x),sn(o.y,f.offset.y)),o}const x2={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},b2=Da.length;function S2(i,s,l){let o="",f=!0;for(let d=0;d<b2;d++){const y=Da[d],v=i[y];if(v===void 0)continue;let p=!0;if(typeof v=="number")p=v===(y.startsWith("scale")?1:0);else{const g=parseFloat(v);p=y.startsWith("scale")?g===1:g===0}if(!p||l){const g=$u(v,Mo[y]);if(!p){f=!1;const b=x2[y]||y;o+=`${b}(${g}) `}l&&(s[y]=g)}}const m=i.pathRotation;return m&&(f=!1,o+=`rotate(${$u(m,Mo.pathRotation)}) `),o=o.trim(),l?o=l(s,f?"":o):f&&(o="none"),o}function Of(i,s,l){const{style:o,vars:f,transformOrigin:m}=i;let d=!1,y=!1;for(const v in s){const p=s[v];if(za.has(v)){d=!0;continue}else if(B0(v)){f[v]=p;continue}else{const g=$u(p,Mo[v]);v.startsWith("origin")?(y=!0,m[v]=g):o[v]=g}}if(s.transform||(d||l?o.transform=S2(s,i.transform,l):o.transform&&(o.transform="none")),y){const{originX:v="50%",originY:p="50%",originZ:g=0}=m;o.transformOrigin=`${v} ${p} ${g}`}}function Mv(i,{style:s,vars:l},o,f){const m=i.style;let d;for(d in s)m[d]=s[d];f==null||f.applyProjectionStyles(m,o);for(d in l)m.setProperty(d,l[d])}function My(i,s){return s.max===s.min?0:i/(s.max-s.min)*100}const Es={correct:(i,s)=>{if(!s.target)return i;if(typeof i=="string")if(F.test(i))i=parseFloat(i);else return i;const l=My(i,s.target.x),o=My(i,s.target.y);return`${l}% ${o}%`}},j2={correct:(i,{treeScale:s,projectionDelta:l})=>{const o=i,f=Ft.parse(i);if(f.length>5)return o;const m=Ft.createTransformer(i),d=typeof f[0]!="number"?1:0,y=l.x.scale*s.x,v=l.y.scale*s.y;f[0+d]/=y,f[1+d]/=v;const p=we(y,v,.5);return typeof f[2+d]=="number"&&(f[2+d]/=p),typeof f[3+d]=="number"&&(f[3+d]/=p),m(f)}},ef={borderRadius:{...Es,applyTo:[...Cf]},borderTopLeftRadius:Es,borderTopRightRadius:Es,borderBottomLeftRadius:Es,borderBottomRightRadius:Es,boxShadow:j2};function Cv(i,{layout:s,layoutId:l}){return za.has(i)||i.startsWith("origin")||(s||l!==void 0)&&(!!ef[i]||i==="opacity")}function Vf(i,s,l){var d;const o=i.style,f=s==null?void 0:s.style,m={};if(!o)return m;for(const y in o)(lt(o[y])||f&<(f[y])||Cv(y,i)||((d=l==null?void 0:l.getValue(y))==null?void 0:d.liveStyle)!==void 0)&&(m[y]=o[y]);return m}function T2(i){return window.getComputedStyle(i)}class A2 extends Sv{constructor(){super(...arguments),this.type="html",this.renderInstance=Mv}mount(s){_o(!!s.style),super.mount(s)}readValueFromInstance(s,l){var o;if(za.has(l))return(o=this.projection)!=null&&o.isProjecting?Lu(l):Xb(s,l);{const f=T2(s),m=(B0(l)?f.getPropertyValue(l):f[l])||0;return typeof m=="string"?m.trim():m}}measureInstanceViewportBox(s,{transformPagePoint:l}){return Ev(s,l)}build(s,l,o){Of(s,l,o.transformTemplate)}scrapeMotionValuesFromProps(s,l,o){return Vf(s,l,o)}}const E2={offset:"stroke-dashoffset",array:"stroke-dasharray"},M2={offset:"strokeDashoffset",array:"strokeDasharray"};function C2(i,s,l=1,o=0,f=!0){i.pathLength=1;const m=f?E2:M2;i[m.offset]=`${-o}`,i[m.array]=`${s} ${l}`}const D2=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Dv(i,{attrX:s,attrY:l,attrScale:o,pathLength:f,pathSpacing:m=1,pathOffset:d=0,...y},v,p,g){if(Of(i,y,p),v){i.style.viewBox&&(i.attrs.viewBox=i.style.viewBox);return}i.attrs=i.style,i.style={};const{attrs:b,style:S}=i;b.transform&&(S.transform=b.transform,delete b.transform),(S.transform||b.transformOrigin)&&(S.transformOrigin=b.transformOrigin??"50% 50%",delete b.transformOrigin),S.transform&&(S.transformBox=(g==null?void 0:g.transformBox)??"fill-box",delete b.transformBox);for(const E of D2)b[E]!==void 0&&(S[E]=b[E],delete b[E]);s!==void 0&&(b.x=s),l!==void 0&&(b.y=l),o!==void 0&&(b.scale=o),f!==void 0&&C2(b,f,m,d,!1)}const zv=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"]),wv=i=>typeof i=="string"&&i.toLowerCase()==="svg";function z2(i,s,l,o){Mv(i,s,void 0,o);for(const f in s.attrs)i.setAttribute(zv.has(f)?f:Mf(f),s.attrs[f])}function Nv(i,s,l){const o=Vf(i,s,l);for(const f in i)if(lt(i[f])||lt(s[f])){const m=Da.indexOf(f)!==-1?"attr"+f.charAt(0).toUpperCase()+f.substring(1):f;o[m]=i[f]}return o}class w2 extends Sv{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=$e}getBaseTargetFromProps(s,l){return s[l]}readValueFromInstance(s,l){if(za.has(l)){const o=fv(l);return o&&o.default||0}return l=zv.has(l)?l:Mf(l),s.getAttribute(l)}scrapeMotionValuesFromProps(s,l,o){return Nv(s,l,o)}build(s,l,o){Dv(s,l,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(s,l,o,f){z2(s,l,o,f)}mount(s){this.isSVGTag=wv(s.tagName),super.mount(s)}}const N2=Rf.length;function Rv(i){if(!i)return;if(!i.isControllingVariants){const l=i.parent?Rv(i.parent)||{}:{};return i.props.initial!==void 0&&(l.initial=i.props.initial),l}const s={};for(let l=0;l<N2;l++){const o=Rf[l],f=i.props[o];(_s(f)||f===!1)&&(s[o]=f)}return s}function Ov(i,s){if(!Array.isArray(s))return!1;const l=s.length;if(l!==i.length)return!1;for(let o=0;o<l;o++)if(s[o]!==i[o])return!1;return!0}const R2=[...Nf].reverse(),O2=Nf.length;function V2(i){return s=>Promise.all(s.map(({animation:l,options:o})=>NS(i,l,o)))}function _2(i){let s=V2(i),l=Cy(),o=!0,f=!1;const m=p=>(g,b)=>{var E;const S=_i(i,b,p==="exit"?(E=i.presenceContext)==null?void 0:E.custom:void 0);if(S){const{transition:C,transitionEnd:O,..._}=S;g={...g,..._,...O}}return g};function d(p){s=p(i)}function y(p){const{props:g}=i,b=Rv(i.parent)||{},S=[],E=new Set;let C={},O=1/0;for(let L=0;L<O2;L++){const G=R2[L],U=l[G],q=g[G]!==void 0?g[G]:b[G],P=_s(q),ie=G===p?U.isActive:null;ie===!1&&(O=L);let X=q===b[G]&&q!==g[G]&&P;if(X&&(o||f)&&i.manuallyAnimateOnMount&&(X=!1),U.protectedKeys={...C},!U.isActive&&ie===null||!q&&!U.prevProp||Uo(q)||typeof q=="boolean")continue;if(G==="exit"&&U.isActive&&ie!==!0){U.prevResolvedValues&&(C={...C,...U.prevResolvedValues});continue}const Q=B2(U.prevProp,q);let se=Q||G===p&&U.isActive&&!X&&P||L>O&&P,te=!1;const ye=Array.isArray(q)?q:[q];let xe=ye.reduce(m(G),{});ie===!1&&(xe={});const{prevResolvedValues:Ie={}}=U,Ye={...Ie,...xe},Le=J=>{se=!0,E.has(J)&&(te=!0,E.delete(J)),U.needsAnimating[J]=!0;const ce=i.getValue(J);ce&&(ce.liveStyle=!1)};for(const J in Ye){const ce=xe[J],ve=Ie[J];if(C.hasOwnProperty(J))continue;let A=!1;Ku(ce)&&Ku(ve)?A=!Ov(ce,ve)||Q:A=ce!==ve,A?ce!=null?Le(J):E.add(J):ce!==void 0&&E.has(J)?Le(J):U.protectedKeys[J]=!0}U.prevProp=q,U.prevResolvedValues=xe,U.isActive&&(C={...C,...xe}),(o||f)&&i.blockInitialAnimation&&(se=!1);const R=X&&Q;se&&(!R||te)&&S.push(...ye.map(J=>{const ce={type:G};if(typeof J=="string"&&(o||f)&&!R&&i.manuallyAnimateOnMount&&i.parent){const{parent:ve}=i,A=_i(ve,J);if(ve.enteringChildren&&A){const{delayChildren:H}=A.transition||{};ce.delay=nv(ve.enteringChildren,i,H)}}return{animation:J,options:ce}}))}if(E.size){const L={};if(typeof g.initial!="boolean"){const G=_i(i,Array.isArray(g.initial)?g.initial[0]:g.initial);G&&G.transition&&(L.transition=G.transition)}E.forEach(G=>{const U=i.getBaseTarget(G),q=i.getValue(G);q&&(q.liveStyle=!0),L[G]=U??null}),S.push({animation:L})}let _=!!S.length;return o&&(g.initial===!1||g.initial===g.animate)&&!i.manuallyAnimateOnMount&&(_=!1),o=!1,f=!1,_?s(S):Promise.resolve()}function v(p,g){var S;if(l[p].isActive===g)return Promise.resolve();(S=i.variantChildren)==null||S.forEach(E=>{var C;return(C=E.animationState)==null?void 0:C.setActive(p,g)}),l[p].isActive=g;const b=y(p);for(const E in l)l[E].protectedKeys={};return b}return{animateChanges:y,setActive:v,setAnimateFunction:d,getState:()=>l,reset:()=>{l=Cy(),f=!0}}}function B2(i,s){return typeof s=="string"?s!==i:Array.isArray(s)?!Ov(s,i):!1}function Ci(i=!1){return{isActive:i,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Cy(){return{animate:Ci(!0),whileInView:Ci(),whileHover:Ci(),whileTap:Ci(),whileDrag:Ci(),whileFocus:Ci(),exit:Ci()}}function tf(i,s){i.min=s.min,i.max=s.max}function Qt(i,s){tf(i.x,s.x),tf(i.y,s.y)}function Dy(i,s){i.translate=s.translate,i.scale=s.scale,i.originPoint=s.originPoint,i.origin=s.origin}const Vv=1e-4,U2=1-Vv,k2=1+Vv,_v=.01,L2=0-_v,H2=0+_v;function ht(i){return i.max-i.min}function q2(i,s,l){return Math.abs(i-s)<=l}function zy(i,s,l,o=.5){i.origin=o,i.originPoint=we(s.min,s.max,i.origin),i.scale=ht(l)/ht(s),i.translate=we(l.min,l.max,i.origin)-i.originPoint,(i.scale>=U2&&i.scale<=k2||isNaN(i.scale))&&(i.scale=1),(i.translate>=L2&&i.translate<=H2||isNaN(i.translate))&&(i.translate=0)}function zs(i,s,l,o){zy(i.x,s.x,l.x,o?o.originX:void 0),zy(i.y,s.y,l.y,o?o.originY:void 0)}function wy(i,s,l,o=0){const f=o?we(l.min,l.max,o):l.min;i.min=f+s.min,i.max=i.min+ht(s)}function G2(i,s,l,o){wy(i.x,s.x,l.x,o==null?void 0:o.x),wy(i.y,s.y,l.y,o==null?void 0:o.y)}function Ny(i,s,l,o=0){const f=o?we(l.min,l.max,o):l.min;i.min=s.min-f,i.max=i.min+ht(s)}function zo(i,s,l,o){Ny(i.x,s.x,l.x,o==null?void 0:o.x),Ny(i.y,s.y,l.y,o==null?void 0:o.y)}function Ry(i,s,l,o,f){return i-=s,i=Do(i,1/l,o),f!==void 0&&(i=Do(i,1/f,o)),i}function Y2(i,s=0,l=1,o=.5,f,m=i,d=i){if(rn.test(s)&&(s=parseFloat(s),s=we(d.min,d.max,s/100)-d.min),typeof s!="number")return;let y=we(m.min,m.max,o);i===m&&(y-=s),i.min=Ry(i.min,s,l,y,f),i.max=Ry(i.max,s,l,y,f)}function Oy(i,s,[l,o,f],m,d){Y2(i,s[l],s[o],s[f],s.scale,m,d)}const X2=["x","scaleX","originX"],K2=["y","scaleY","originY"];function Vy(i,s,l,o){Oy(i.x,s,X2,l?l.x:void 0,o?o.x:void 0),Oy(i.y,s,K2,l?l.y:void 0,o?o.y:void 0)}function _y(i){return i.translate===0&&i.scale===1}function Bv(i){return _y(i.x)&&_y(i.y)}function By(i,s){return i.min===s.min&&i.max===s.max}function Z2(i,s){return By(i.x,s.x)&&By(i.y,s.y)}function Uy(i,s){return Math.round(i.min)===Math.round(s.min)&&Math.round(i.max)===Math.round(s.max)}function Uv(i,s){return Uy(i.x,s.x)&&Uy(i.y,s.y)}function ky(i){return ht(i.x)/ht(i.y)}function Ly(i,s){return i.translate===s.translate&&i.scale===s.scale&&i.originPoint===s.originPoint}function an(i){return[i("x"),i("y")]}function Q2(i,s,l){let o="";const f=i.x.translate/s.x,m=i.y.translate/s.y,d=(l==null?void 0:l.z)||0;if((f||m||d)&&(o=`translate3d(${f}px, ${m}px, ${d}px) `),(s.x!==1||s.y!==1)&&(o+=`scale(${1/s.x}, ${1/s.y}) `),l){const{transformPerspective:p,rotate:g,pathRotation:b,rotateX:S,rotateY:E,skewX:C,skewY:O}=l;p&&(o=`perspective(${p}px) ${o}`),g&&(o+=`rotate(${g}deg) `),b&&(o+=`rotate(${b}deg) `),S&&(o+=`rotateX(${S}deg) `),E&&(o+=`rotateY(${E}deg) `),C&&(o+=`skewX(${C}deg) `),O&&(o+=`skewY(${O}deg) `)}const y=i.x.scale*s.x,v=i.y.scale*s.y;return(y!==1||v!==1)&&(o+=`scale(${y}, ${v})`),o||"none"}const P2=Cf.length,Hy=i=>typeof i=="string"?parseFloat(i):i,qy=i=>typeof i=="number"||F.test(i);function J2(i,s,l,o,f,m){f?(i.opacity=we(0,l.opacity??1,$2(o)),i.opacityExit=we(s.opacity??1,0,F2(o))):m&&(i.opacity=we(s.opacity??1,l.opacity??1,o));for(let d=0;d<P2;d++){const y=Cf[d];let v=Gy(s,y),p=Gy(l,y);if(v===void 0&&p===void 0)continue;v||(v=0),p||(p=0),v===0||p===0||qy(v)===qy(p)?(i[y]=Math.max(we(Hy(v),Hy(p),o),0),(rn.test(p)||rn.test(v))&&(i[y]+="%")):i[y]=p}(s.rotate||l.rotate)&&(i.rotate=we(s.rotate||0,l.rotate||0,o))}function Gy(i,s){return i[s]!==void 0?i[s]:i.borderRadius}const $2=kv(0,.5,w0),F2=kv(.5,.95,Yt);function kv(i,s,l){return o=>o<i?0:o>s?1:l(Os(i,s,o))}function W2(i,s,l){const o=lt(i)?i:Ma(i);return o.start(Af("",o,s,l)),o.animation}function Bs(i,s,l,o={passive:!0}){return i.addEventListener(s,l,o),()=>i.removeEventListener(s,l,o)}const I2=(i,s)=>i.depth-s.depth;class ej{constructor(){this.children=[],this.isDirty=!1}add(s){df(this.children,s),this.isDirty=!0}remove(s){So(this.children,s),this.isDirty=!0}forEach(s){this.isDirty&&this.children.sort(I2),this.isDirty=!1,this.children.forEach(s)}}function tj(i,s){const l=dt.now(),o=({timestamp:f})=>{const m=f-l;m>=s&&(li(o),i(m-s))};return Ne.setup(o,!0),()=>li(o)}function go(i){return lt(i)?i.get():i}class nj{constructor(){this.members=[]}add(s){df(this.members,s);for(let l=this.members.length-1;l>=0;l--){const o=this.members[l];if(o===s||o===this.lead||o===this.prevLead)continue;const f=o.instance;(!f||f.isConnected===!1)&&!o.snapshot&&(So(this.members,o),o.unmount())}s.scheduleRender()}remove(s){if(So(this.members,s),s===this.prevLead&&(this.prevLead=void 0),s===this.lead){const l=this.members[this.members.length-1];l&&this.promote(l)}}relegate(s){var l;for(let o=this.members.indexOf(s)-1;o>=0;o--){const f=this.members[o];if(f.isPresent!==!1&&((l=f.instance)==null?void 0:l.isConnected)!==!1)return this.promote(f),!0}return!1}promote(s,l){var f;const o=this.lead;if(s!==o&&(this.prevLead=o,this.lead=s,s.show(),o)){o.updateSnapshot(),s.scheduleRender();const{layoutDependency:m}=o.options,{layoutDependency:d}=s.options;(m===void 0||m!==d)&&(s.resumeFrom=o,l&&(o.preserveOpacity=!0),o.snapshot&&(s.snapshot=o.snapshot,s.snapshot.latestValues=o.animationValues||o.latestValues),(f=s.root)!=null&&f.isUpdating&&(s.isLayoutDirty=!0)),s.options.crossfade===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(s=>{var l,o,f,m,d;(o=(l=s.options).onExitComplete)==null||o.call(l),(d=(f=s.resumingFrom)==null?void 0:(m=f.options).onExitComplete)==null||d.call(m)})}scheduleRender(){this.members.forEach(s=>s.instance&&s.scheduleRender(!1))}removeLeadSnapshot(){var s;(s=this.lead)!=null&&s.snapshot&&(this.lead.snapshot=void 0)}}const xo={hasAnimatedSinceResize:!0,hasEverUpdated:!1},gu=["","X","Y","Z"],ij=1e3;let aj=0;function xu(i,s,l,o){const{latestValues:f}=s;f[i]&&(l[i]=f[i],s.setStaticValue(i,0),o&&(o[i]=0))}function Lv(i){if(i.hasCheckedOptimisedAppear=!0,i.root===i)return;const{visualElement:s}=i.options;if(!s)return;const l=ov(s);if(window.MotionHasOptimisedAnimation(l,"transform")){const{layout:f,layoutId:m}=i.options;window.MotionCancelOptimisedAnimation(l,"transform",Ne,!(f||m))}const{parent:o}=i;o&&!o.hasCheckedOptimisedAppear&&Lv(o)}function Hv({attachResizeListener:i,defaultParent:s,measureScroll:l,checkIsScrollRoot:o,resetTransform:f}){return class{constructor(d={},y=s==null?void 0:s()){this.id=aj++,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=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(oj),this.nodes.forEach(hj),this.nodes.forEach(mj),this.nodes.forEach(rj)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=d,this.root=y?y.root||y:this,this.path=y?[...y.path,y]:[],this.parent=y,this.depth=y?y.depth+1:0;for(let v=0;v<this.path.length;v++)this.path[v].shouldResetTransform=!0;this.root===this&&(this.nodes=new ej)}addEventListener(d,y){return this.eventHandlers.has(d)||this.eventHandlers.set(d,new hf),this.eventHandlers.get(d).add(y)}notifyListeners(d,...y){const v=this.eventHandlers.get(d);v&&v.notify(...y)}hasListeners(d){return this.eventHandlers.has(d)}mount(d){if(this.instance)return;this.isSVG=wf(d)&&!l2(d),this.instance=d;const{layoutId:y,layout:v,visualElement:p}=this.options;if(p&&!p.current&&p.mount(d),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(v||y)&&(this.isLayoutDirty=!0),i){let g,b=0;const S=()=>this.root.updateBlockedByResize=!1;Ne.read(()=>{b=window.innerWidth}),i(d,()=>{const E=window.innerWidth;E!==b&&(b=E,this.root.updateBlockedByResize=!0,g&&g(),g=tj(S,250),xo.hasAnimatedSinceResize&&(xo.hasAnimatedSinceResize=!1,this.nodes.forEach(Ky)))})}y&&this.root.registerSharedNode(y,this),this.options.animate!==!1&&p&&(y||v)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:b,hasRelativeLayoutChanged:S,layout:E})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const C=this.options.transition||p.getDefaultTransition()||xj,{onLayoutAnimationStart:O,onLayoutAnimationComplete:_}=p.getProps(),L=!this.targetLayout||!Uv(this.targetLayout,E),G=!b&&S;if(this.options.layoutRoot||this.resumeFrom||G||b&&(L||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const U={...Tf(C,"layout"),onPlay:O,onComplete:_};(p.shouldReduceMotion||this.options.layoutRoot)&&(U.delay=0,U.type=!1),this.startAnimation(U),this.setAnimationOrigin(g,G,U.path)}else b||Ky(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=E})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const d=this.getStack();d&&d.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),li(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(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(pj),this.animationId++)}getTransformTemplate(){const{visualElement:d}=this.options;return d&&d.getProps().transformTemplate}willUpdate(d=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Lv(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let g=0;g<this.path.length;g++){const b=this.path[g];b.shouldResetTransform=!0,(typeof b.latestValues.x=="string"||typeof b.latestValues.y=="string")&&(b.isLayoutDirty=!0),b.updateScroll("snapshot"),b.options.layoutRoot&&b.willUpdate(!1)}const{layoutId:y,layout:v}=this.options;if(y===void 0&&!v)return;const p=this.getTransformTemplate();this.prevTransformTemplateValue=p?p(this.latestValues,""):void 0,this.updateSnapshot(),d&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const v=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),v&&this.nodes.forEach(uj),this.nodes.forEach(Yy);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Xy);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(fj),this.nodes.forEach(dj),this.nodes.forEach(sj),this.nodes.forEach(lj)):this.nodes.forEach(Xy),this.clearAllSnapshots();const y=dt.now();st.delta=cn(0,1e3/60,y-st.timestamp),st.timestamp=y,st.isProcessing=!0,uu.update.process(st),uu.preRender.process(st),uu.render.process(st),st.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Df.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(cj),this.sharedNodes.forEach(yj)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ne.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ne.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!ht(this.snapshot.measuredBox.x)&&!ht(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let v=0;v<this.path.length;v++)this.path[v].updateScroll();const d=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=$e()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:y}=this.options;y&&y.notify("LayoutMeasure",this.layout.layoutBox,d?d.layoutBox:void 0)}updateScroll(d="measure"){let y=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===d&&(y=!1),y&&this.instance){const v=o(this.instance);this.scroll={animationId:this.root.animationId,phase:d,isRoot:v,offset:l(this.instance),wasRoot:this.scroll?this.scroll.isRoot:v}}}resetTransform(){if(!f)return;const d=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,y=this.projectionDelta&&!Bv(this.projectionDelta),v=this.getTransformTemplate(),p=v?v(this.latestValues,""):void 0,g=p!==this.prevTransformTemplateValue;d&&this.instance&&(y||wi(this.latestValues)||g)&&(f(this.instance,p),this.shouldResetTransform=!1,this.scheduleRender())}measure(d=!0){const y=this.measurePageBox();let v=this.removeElementScroll(y);return d&&(v=this.removeTransform(v)),bj(v),{animationId:this.root.animationId,measuredBox:y,layoutBox:v,latestValues:{},source:this.id}}measurePageBox(){var p;const{visualElement:d}=this.options;if(!d)return $e();const y=d.measureViewportBox();if(!(((p=this.scroll)==null?void 0:p.wasRoot)||this.path.some(Sj))){const{scroll:g}=this.root;g&&(sn(y.x,g.offset.x),sn(y.y,g.offset.y))}return y}removeElementScroll(d){var v;const y=$e();if(Qt(y,d),(v=this.scroll)!=null&&v.wasRoot)return y;for(let p=0;p<this.path.length;p++){const g=this.path[p],{scroll:b,options:S}=g;g!==this.root&&b&&S.layoutScroll&&(b.wasRoot&&Qt(y,d),sn(y.x,b.offset.x),sn(y.y,b.offset.y))}return y}applyTransform(d,y=!1,v){var g,b;const p=v||$e();Qt(p,d);for(let S=0;S<this.path.length;S++){const E=this.path[S];!y&&E.options.layoutScroll&&E.scroll&&E!==E.root&&(sn(p.x,-E.scroll.offset.x),sn(p.y,-E.scroll.offset.y)),wi(E.latestValues)&&vo(p,E.latestValues,(g=E.layout)==null?void 0:g.layoutBox)}return wi(this.latestValues)&&vo(p,this.latestValues,(b=this.layout)==null?void 0:b.layoutBox),p}removeTransform(d){var v;const y=$e();Qt(y,d);for(let p=0;p<this.path.length;p++){const g=this.path[p];if(!wi(g.latestValues))continue;let b;g.instance&&(Wu(g.latestValues)&&g.updateSnapshot(),b=$e(),Qt(b,g.measurePageBox())),Vy(y,g.latestValues,(v=g.snapshot)==null?void 0:v.layoutBox,b)}return wi(this.latestValues)&&Vy(y,this.latestValues),y}setTargetDelta(d){this.targetDelta=d,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(d){this.options={...this.options,...d,crossfade:d.crossfade!==void 0?d.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(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==st.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(d=!1){var E;const y=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=y.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=y.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=y.isSharedProjectionDirty);const v=!!this.resumingFrom||this!==y;if(!(d||v&&this.isSharedProjectionDirty||this.isProjectionDirty||(E=this.parent)!=null&&E.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:g,layoutId:b}=this.options;if(!this.layout||!(g||b))return;this.resolvedRelativeTargetAt=st.timestamp;const S=this.getClosestProjectingParent();S&&this.linkedParentVersion!==S.layoutVersion&&!S.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&S&&S.layout?this.createRelativeTarget(S,this.layout.layoutBox,S.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=$e(),this.targetWithTransforms=$e()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),G2(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Qt(this.target,this.layout.layoutBox),Av(this.target,this.targetDelta)):Qt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&S&&!!S.resumingFrom==!!this.resumingFrom&&!S.options.layoutScroll&&S.target&&this.animationProgress!==1?this.createRelativeTarget(S,this.target,S.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Wu(this.parent.latestValues)||Tv(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(d,y,v){this.relativeParent=d,this.linkedParentVersion=d.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=$e(),this.relativeTargetOrigin=$e(),zo(this.relativeTargetOrigin,y,v,this.options.layoutAnchor||void 0),Qt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var C;const d=this.getLead(),y=!!this.resumingFrom||this!==d;let v=!0;if((this.isProjectionDirty||(C=this.parent)!=null&&C.isProjectionDirty)&&(v=!1),y&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(v=!1),this.resolvedRelativeTargetAt===st.timestamp&&(v=!1),v)return;const{layout:p,layoutId:g}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(p||g))return;Qt(this.layoutCorrected,this.layout.layoutBox);const b=this.treeScale.x,S=this.treeScale.y;v2(this.layoutCorrected,this.treeScale,this.path,y),d.layout&&!d.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(d.target=d.layout.layoutBox,d.targetWithTransforms=$e());const{target:E}=d;if(!E){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Dy(this.prevProjectionDelta.x,this.projectionDelta.x),Dy(this.prevProjectionDelta.y,this.projectionDelta.y)),zs(this.projectionDelta,this.layoutCorrected,E,this.latestValues),(this.treeScale.x!==b||this.treeScale.y!==S||!Ly(this.projectionDelta.x,this.prevProjectionDelta.x)||!Ly(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",E))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(d=!0){var y;if((y=this.options.visualElement)==null||y.scheduleRender(),d){const v=this.getStack();v&&v.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Aa(),this.projectionDelta=Aa(),this.projectionDeltaWithTransform=Aa()}setAnimationOrigin(d,y=!1,v){const p=this.snapshot,g=p?p.latestValues:{},b={...this.latestValues},S=Aa();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!y;const E=$e(),C=p?p.source:void 0,O=this.layout?this.layout.source:void 0,_=C!==O,L=this.getStack(),G=!L||L.members.length<=1,U=!!(_&&!G&&this.options.crossfade===!0&&!this.path.some(gj));this.animationProgress=0;let q;const P=v==null?void 0:v.interpolateProjection(d);this.mixTargetDelta=ie=>{const X=ie/1e3,Q=P==null?void 0:P(X);Q?(S.x.translate=Q.x,S.x.scale=we(d.x.scale,1,X),S.x.origin=d.x.origin,S.x.originPoint=d.x.originPoint,S.y.translate=Q.y,S.y.scale=we(d.y.scale,1,X),S.y.origin=d.y.origin,S.y.originPoint=d.y.originPoint):(Zy(S.x,d.x,X),Zy(S.y,d.y,X)),this.setTargetDelta(S),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(zo(E,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),vj(this.relativeTarget,this.relativeTargetOrigin,E,X),q&&Z2(this.relativeTarget,q)&&(this.isProjectionDirty=!1),q||(q=$e()),Qt(q,this.relativeTarget)),_&&(this.animationValues=b,J2(b,g,this.latestValues,X,U,G)),Q&&Q.rotate!==void 0&&(this.animationValues||(this.animationValues=b),this.animationValues.pathRotation=Q.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=X},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(d){var y,v,p;this.notifyListeners("animationStart"),(y=this.currentAnimation)==null||y.stop(),(p=(v=this.resumingFrom)==null?void 0:v.currentAnimation)==null||p.stop(),this.pendingAnimation&&(li(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ne.update(()=>{xo.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Ma(0)),this.motionValue.jump(0,!1),this.currentAnimation=W2(this.motionValue,[0,1e3],{...d,velocity:0,isSync:!0,onUpdate:g=>{this.mixTargetDelta(g),d.onUpdate&&d.onUpdate(g)},onComplete:()=>{d.onComplete&&d.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const d=this.getStack();d&&d.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(ij),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const d=this.getLead();let{targetWithTransforms:y,target:v,layout:p,latestValues:g}=d;if(!(!y||!v||!p)){if(this!==d&&this.layout&&p&&qv(this.options.animationType,this.layout.layoutBox,p.layoutBox)){v=this.target||$e();const b=ht(this.layout.layoutBox.x);v.x.min=d.target.x.min,v.x.max=v.x.min+b;const S=ht(this.layout.layoutBox.y);v.y.min=d.target.y.min,v.y.max=v.y.min+S}Qt(y,v),vo(y,g),zs(this.projectionDeltaWithTransform,this.layoutCorrected,y,g)}}registerSharedNode(d,y){this.sharedNodes.has(d)||this.sharedNodes.set(d,new nj),this.sharedNodes.get(d).add(y);const p=y.options.initialPromotionConfig;y.promote({transition:p?p.transition:void 0,preserveFollowOpacity:p&&p.shouldPreserveFollowOpacity?p.shouldPreserveFollowOpacity(y):void 0})}isLead(){const d=this.getStack();return d?d.lead===this:!0}getLead(){var y;const{layoutId:d}=this.options;return d?((y=this.getStack())==null?void 0:y.lead)||this:this}getPrevLead(){var y;const{layoutId:d}=this.options;return d?(y=this.getStack())==null?void 0:y.prevLead:void 0}getStack(){const{layoutId:d}=this.options;if(d)return this.root.sharedNodes.get(d)}promote({needsReset:d,transition:y,preserveFollowOpacity:v}={}){const p=this.getStack();p&&p.promote(this,v),d&&(this.projectionDelta=void 0,this.needsReset=!0),y&&this.setOptions({transition:y})}relegate(){const d=this.getStack();return d?d.relegate(this):!1}resetSkewAndRotation(){const{visualElement:d}=this.options;if(!d)return;let y=!1;const{latestValues:v}=d;if((v.z||v.rotate||v.rotateX||v.rotateY||v.rotateZ||v.skewX||v.skewY)&&(y=!0),!y)return;const p={};v.z&&xu("z",d,p,this.animationValues);for(let g=0;g<gu.length;g++)xu(`rotate${gu[g]}`,d,p,this.animationValues),xu(`skew${gu[g]}`,d,p,this.animationValues);d.render();for(const g in p)d.setStaticValue(g,p[g]),this.animationValues&&(this.animationValues[g]=p[g]);d.scheduleRender()}applyProjectionStyles(d,y){if(!this.instance||this.isSVG)return;if(!this.isVisible){d.visibility="hidden";return}const v=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,d.visibility="",d.opacity="",d.pointerEvents=go(y==null?void 0:y.pointerEvents)||"",d.transform=v?v(this.latestValues,""):"none";return}const p=this.getLead();if(!this.projectionDelta||!this.layout||!p.target){this.options.layoutId&&(d.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,d.pointerEvents=go(y==null?void 0:y.pointerEvents)||""),this.hasProjected&&!wi(this.latestValues)&&(d.transform=v?v({},""):"none",this.hasProjected=!1);return}d.visibility="";const g=p.animationValues||p.latestValues;this.applyTransformsToTarget();let b=Q2(this.projectionDeltaWithTransform,this.treeScale,g);v&&(b=v(g,b)),d.transform=b;const{x:S,y:E}=this.projectionDelta;d.transformOrigin=`${S.origin*100}% ${E.origin*100}% 0`,p.animationValues?d.opacity=p===this?g.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:g.opacityExit:d.opacity=p===this?g.opacity!==void 0?g.opacity:"":g.opacityExit!==void 0?g.opacityExit:0;for(const C in ef){if(g[C]===void 0)continue;const{correct:O,applyTo:_,isCSSVariable:L}=ef[C],G=b==="none"?g[C]:O(g[C],p);if(_){const U=_.length;for(let q=0;q<U;q++)d[_[q]]=G}else L?this.options.visualElement.renderState.vars[C]=G:d[C]=G}this.options.layoutId&&(d.pointerEvents=p===this?go(y==null?void 0:y.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(d=>{var y;return(y=d.currentAnimation)==null?void 0:y.stop()}),this.root.nodes.forEach(Yy),this.root.sharedNodes.clear()}}}function sj(i){i.updateLayout()}function lj(i){var l;const s=((l=i.resumeFrom)==null?void 0:l.snapshot)||i.snapshot;if(i.isLead()&&i.layout&&s&&i.hasListeners("didUpdate")){const{layoutBox:o,measuredBox:f}=i.layout,{animationType:m}=i.options,d=s.source!==i.layout.source;if(m==="size")an(b=>{const S=d?s.measuredBox[b]:s.layoutBox[b],E=ht(S);S.min=o[b].min,S.max=S.min+E});else if(m==="x"||m==="y"){const b=m==="x"?"y":"x";tf(d?s.measuredBox[b]:s.layoutBox[b],o[b])}else qv(m,s.layoutBox,o)&&an(b=>{const S=d?s.measuredBox[b]:s.layoutBox[b],E=ht(o[b]);S.max=S.min+E,i.relativeTarget&&!i.currentAnimation&&(i.isProjectionDirty=!0,i.relativeTarget[b].max=i.relativeTarget[b].min+E)});const y=Aa();zs(y,o,s.layoutBox);const v=Aa();d?zs(v,i.applyTransform(f,!0),s.measuredBox):zs(v,o,s.layoutBox);const p=!Bv(y);let g=!1;if(!i.resumeFrom){const b=i.getClosestProjectingParent();if(b&&!b.resumeFrom){const{snapshot:S,layout:E}=b;if(S&&E){const C=i.options.layoutAnchor||void 0,O=$e();zo(O,s.layoutBox,S.layoutBox,C);const _=$e();zo(_,o,E.layoutBox,C),Uv(O,_)||(g=!0),b.options.layoutRoot&&(i.relativeTarget=_,i.relativeTargetOrigin=O,i.relativeParent=b)}}}i.notifyListeners("didUpdate",{layout:o,snapshot:s,delta:v,layoutDelta:y,hasLayoutChanged:p,hasRelativeLayoutChanged:g})}else if(i.isLead()){const{onExitComplete:o}=i.options;o&&o()}i.options.transition=void 0}function oj(i){i.parent&&(i.isProjecting()||(i.isProjectionDirty=i.parent.isProjectionDirty),i.isSharedProjectionDirty||(i.isSharedProjectionDirty=!!(i.isProjectionDirty||i.parent.isProjectionDirty||i.parent.isSharedProjectionDirty)),i.isTransformDirty||(i.isTransformDirty=i.parent.isTransformDirty))}function rj(i){i.isProjectionDirty=i.isSharedProjectionDirty=i.isTransformDirty=!1}function cj(i){i.clearSnapshot()}function Yy(i){i.clearMeasurements()}function uj(i){i.isLayoutDirty=!0,i.updateLayout()}function Xy(i){i.isLayoutDirty=!1}function fj(i){i.isAnimationBlocked&&i.layout&&!i.isLayoutDirty&&(i.snapshot=i.layout,i.isLayoutDirty=!0)}function dj(i){const{visualElement:s}=i.options;s&&s.getProps().onBeforeLayoutMeasure&&s.notify("BeforeLayoutMeasure"),i.resetTransform()}function Ky(i){i.finishAnimation(),i.targetDelta=i.relativeTarget=i.target=void 0,i.isProjectionDirty=!0}function hj(i){i.resolveTargetDelta()}function mj(i){i.calcProjection()}function pj(i){i.resetSkewAndRotation()}function yj(i){i.removeLeadSnapshot()}function Zy(i,s,l){i.translate=we(s.translate,0,l),i.scale=we(s.scale,1,l),i.origin=s.origin,i.originPoint=s.originPoint}function Qy(i,s,l,o){i.min=we(s.min,l.min,o),i.max=we(s.max,l.max,o)}function vj(i,s,l,o){Qy(i.x,s.x,l.x,o),Qy(i.y,s.y,l.y,o)}function gj(i){return i.animationValues&&i.animationValues.opacityExit!==void 0}const xj={duration:.45,ease:[.4,0,.1,1]},Py=i=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(i),Jy=Py("applewebkit/")&&!Py("chrome/")?Math.round:Yt;function $y(i){i.min=Jy(i.min),i.max=Jy(i.max)}function bj(i){$y(i.x),$y(i.y)}function qv(i,s,l){return i==="position"||i==="preserve-aspect"&&!q2(ky(s),ky(l),.2)}function Sj(i){var s;return i!==i.root&&((s=i.scroll)==null?void 0:s.wasRoot)}const jj=Hv({attachResizeListener:(i,s)=>Bs(i,"resize",s),measureScroll:()=>{var i,s;return{x:document.documentElement.scrollLeft||((i=document.body)==null?void 0:i.scrollLeft)||0,y:document.documentElement.scrollTop||((s=document.body)==null?void 0:s.scrollTop)||0}},checkIsScrollRoot:()=>!0}),bu={current:void 0},Gv=Hv({measureScroll:i=>({x:i.scrollLeft,y:i.scrollTop}),defaultParent:()=>{if(!bu.current){const i=new jj({});i.mount(window),i.setOptions({layoutScroll:!0}),bu.current=i}return bu.current},resetTransform:(i,s)=>{i.style.transform=s!==void 0?s:"none"},checkIsScrollRoot:i=>window.getComputedStyle(i).position==="fixed"}),_f=Y.createContext({transformPagePoint:i=>i,isStatic:!1,reducedMotion:"never"});function Fy(i,s){if(typeof i=="function")return i(s);i!=null&&(i.current=s)}function Tj(...i){return s=>{let l=!1;const o=i.map(f=>{const m=Fy(f,s);return!l&&typeof m=="function"&&(l=!0),m});if(l)return()=>{for(let f=0;f<o.length;f++){const m=o[f];typeof m=="function"?m():Fy(i[f],null)}}}}function Aj(...i){return Y.useCallback(Tj(...i),i)}class Ej extends Y.Component{getSnapshotBeforeUpdate(s){const l=this.props.childRef.current;if(ho(l)&&s.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const o=l.offsetParent,f=ho(o)&&o.offsetWidth||0,m=ho(o)&&o.offsetHeight||0,d=getComputedStyle(l),y=this.props.sizeRef.current;y.height=parseFloat(d.height),y.width=parseFloat(d.width),y.top=l.offsetTop,y.left=l.offsetLeft,y.right=f-y.width-y.left,y.bottom=m-y.height-y.top,y.direction=d.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function Mj({children:i,isPresent:s,anchorX:l,anchorY:o,root:f,pop:m}){var S;const d=Y.useId(),y=Y.useRef(null),v=Y.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:p}=Y.useContext(_f),g=m!==!1?((S=i.props)==null?void 0:S.ref)??(i==null?void 0:i.ref):void 0,b=Aj(y,g);return Y.useInsertionEffect(()=>{const{width:E,height:C,top:O,left:_,right:L,bottom:G,direction:U}=v.current;if(s||m===!1||!y.current||!E||!C)return;const q=U==="rtl",P=l==="left"?q?`right: ${L}`:`left: ${_}`:q?`left: ${_}`:`right: ${L}`,ie=o==="bottom"?`bottom: ${G}`:`top: ${O}`;y.current.dataset.motionPopId=d;const X=document.createElement("style");p&&(X.nonce=p);const Q=f??document.head;return Q.appendChild(X),X.sheet&&X.sheet.insertRule(`
|
|
50
|
+
[data-motion-pop-id="${d}"] {
|
|
51
|
+
position: absolute !important;
|
|
52
|
+
width: ${E}px !important;
|
|
53
|
+
height: ${C}px !important;
|
|
54
|
+
${P}px !important;
|
|
55
|
+
${ie}px !important;
|
|
56
|
+
}
|
|
57
|
+
`),()=>{var se;(se=y.current)==null||se.removeAttribute("data-motion-pop-id"),Q.contains(X)&&Q.removeChild(X)}},[s]),u.jsx(Ej,{isPresent:s,childRef:y,sizeRef:v,pop:m,children:m===!1?i:Y.cloneElement(i,{ref:b})})}const Cj=({children:i,initial:s,isPresent:l,onExitComplete:o,custom:f,presenceAffectsLayout:m,mode:d,anchorX:y,anchorY:v,root:p})=>{const g=uf(Dj),b=Y.useId(),S=Y.useRef(l),E=Y.useRef(o);ff(()=>{S.current=l,E.current=o});let C=!0,O=Y.useMemo(()=>(C=!1,{id:b,initial:s,isPresent:l,custom:f,onExitComplete:_=>{g.set(_,!0);for(const L of g.values())if(!L)return;o&&o()},register:_=>(g.set(_,!1),()=>{var L;g.delete(_),!S.current&&!g.size&&((L=E.current)==null||L.call(E))})}),[l,g,o]);return m&&C&&(O={...O}),Y.useMemo(()=>{g.forEach((_,L)=>g.set(L,!1))},[l]),Y.useEffect(()=>{!l&&!g.size&&o&&o()},[l]),i=u.jsx(Mj,{pop:d==="popLayout",isPresent:l,anchorX:y,anchorY:v,root:p,children:i}),u.jsx(Vo.Provider,{value:O,children:i})};function Dj(){return new Map}function Yv(i=!0){const s=Y.useContext(Vo);if(s===null)return[!0,null];const{isPresent:l,onExitComplete:o,register:f}=s,m=Y.useId();Y.useEffect(()=>{if(i)return f(m)},[i]);const d=Y.useCallback(()=>i&&o&&o(m),[m,o,i]);return!l&&o?[!1,d]:[!0]}const ro=i=>i.key||"";function Wy(i){const s=[];return Y.Children.forEach(i,l=>{Y.isValidElement(l)&&s.push(l)}),s}const Bf=({children:i,custom:s,initial:l=!0,onExitComplete:o,presenceAffectsLayout:f=!0,mode:m="sync",propagate:d=!1,anchorX:y="left",anchorY:v="top",root:p})=>{const[g,b]=Yv(d),S=Y.useMemo(()=>Wy(i),[i]),E=d&&!g?[]:S.map(ro),C=Y.useRef(!0),O=Y.useRef(S),_=uf(()=>new Map),L=Y.useRef(new Set),[G,U]=Y.useState(S),[q,P]=Y.useState(S);ff(()=>{C.current=!1,O.current=S;for(let Q=0;Q<q.length;Q++){const se=ro(q[Q]);E.includes(se)?(_.delete(se),L.current.delete(se)):_.get(se)!==!0&&_.set(se,!1)}},[q,E.length,E.join("-")]);const ie=[];if(S!==G){let Q=[...S];for(let se=0;se<q.length;se++){const te=q[se],ye=ro(te);E.includes(ye)||(Q.splice(se,0,te),ie.push(te))}return m==="wait"&&ie.length&&(Q=ie),P(Wy(Q)),U(S),null}const{forceRender:X}=Y.useContext(cf);return u.jsx(u.Fragment,{children:q.map(Q=>{const se=ro(Q),te=d&&!g?!1:S===q||E.includes(se),ye=()=>{if(L.current.has(se))return;if(_.has(se))L.current.add(se),_.set(se,!0);else return;let xe=!0;_.forEach(Ie=>{Ie||(xe=!1)}),xe&&(X==null||X(),P(O.current),d&&(b==null||b()),o&&o())};return u.jsx(Cj,{isPresent:te,initial:!C.current||l?void 0:!1,custom:s,presenceAffectsLayout:f,mode:m,root:p,onExitComplete:te?void 0:ye,anchorX:y,anchorY:v,children:Q},se)})})},Xv=Y.createContext({strict:!1}),Iy={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"]};let e0=!1;function zj(){if(e0)return;const i={};for(const s in Iy)i[s]={isEnabled:l=>Iy[s].some(o=>!!l[o])};bv(i),e0=!0}function Kv(){return zj(),h2()}function wj(i){const s=Kv();for(const l in i)s[l]={...s[l],...i[l]};bv(s)}const Nj=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 wo(i){return i.startsWith("while")||i.startsWith("drag")&&i!=="draggable"||i.startsWith("layout")||i.startsWith("onTap")||i.startsWith("onPan")||i.startsWith("onLayout")||Nj.has(i)}let Zv=i=>!wo(i);function Rj(i){typeof i=="function"&&(Zv=s=>s.startsWith("on")?!wo(s):i(s))}try{Rj(require("@emotion/is-prop-valid").default)}catch{}function Oj(i,s,l){const o={};for(const f in i)f==="values"&&typeof i.values=="object"||lt(i[f])||(Zv(f)||l===!0&&wo(f)||!s&&!wo(f)||i.draggable&&f.startsWith("onDrag"))&&(o[f]=i[f]);return o}const Lo=Y.createContext({});function Vj(i,s){if(ko(i)){const{initial:l,animate:o}=i;return{initial:l===!1||_s(l)?l:void 0,animate:_s(o)?o:void 0}}return i.inherit!==!1?s:{}}function _j(i){const{initial:s,animate:l}=Vj(i,Y.useContext(Lo));return Y.useMemo(()=>({initial:s,animate:l}),[t0(s),t0(l)])}function t0(i){return Array.isArray(i)?i.join(" "):i}const Uf=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Qv(i,s,l){for(const o in s)!lt(s[o])&&!Cv(o,l)&&(i[o]=s[o])}function Bj({transformTemplate:i},s){return Y.useMemo(()=>{const l=Uf();return Of(l,s,i),Object.assign({},l.vars,l.style)},[s])}function Uj(i,s){const l=i.style||{},o={};return Qv(o,l,i),Object.assign(o,Bj(i,s)),o}function kj(i,s){const l={},o=Uj(i,s);return i.drag&&i.dragListener!==!1&&(l.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=i.drag===!0?"none":`pan-${i.drag==="x"?"y":"x"}`),i.tabIndex===void 0&&(i.onTap||i.onTapStart||i.whileTap)&&(l.tabIndex=0),l.style=o,l}const Pv=()=>({...Uf(),attrs:{}});function Lj(i,s,l,o){const f=Y.useMemo(()=>{const m=Pv();return Dv(m,s,wv(o),i.transformTemplate,i.style),{...m.attrs,style:{...m.style}}},[s]);if(i.style){const m={};Qv(m,i.style,i),f.style={...m,...f.style}}return f}const Hj=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function kf(i){return typeof i!="string"||i.includes("-")?!1:!!(Hj.indexOf(i)>-1||/[A-Z]/u.test(i))}function qj(i,s,l,{latestValues:o},f,m=!1,d){const v=(d??kf(i)?Lj:kj)(s,o,f,i),p=Oj(s,typeof i=="string",m),g=i!==Y.Fragment?{...p,...v,ref:l}:{},{children:b}=s,S=Y.useMemo(()=>lt(b)?b.get():b,[b]);return Y.createElement(i,{...g,children:S})}function Gj({scrapeMotionValuesFromProps:i,createRenderState:s},l,o,f){return{latestValues:Yj(l,o,f,i),renderState:s()}}function Yj(i,s,l,o){const f={},m=o(i,{});for(const S in m)f[S]=go(m[S]);let{initial:d,animate:y}=i;const v=ko(i),p=gv(i);s&&p&&!v&&i.inherit!==!1&&(d===void 0&&(d=s.initial),y===void 0&&(y=s.animate));let g=l?l.initial===!1:!1;g=g||d===!1;const b=g?y:d;if(b&&typeof b!="boolean"&&!Uo(b)){const S=Array.isArray(b)?b:[b];for(let E=0;E<S.length;E++){const C=Ef(i,S[E]);if(C){const{transitionEnd:O,transition:_,...L}=C;for(const G in L){let U=L[G];if(Array.isArray(U)){const q=g?U.length-1:0;U=U[q]}U!==null&&(f[G]=U)}for(const G in O)f[G]=O[G]}}}return f}const Jv=i=>(s,l)=>{const o=Y.useContext(Lo),f=Y.useContext(Vo),m=()=>Gj(i,s,o,f);return l?m():uf(m)},Xj=Jv({scrapeMotionValuesFromProps:Vf,createRenderState:Uf}),Kj=Jv({scrapeMotionValuesFromProps:Nv,createRenderState:Pv}),Zj=Symbol.for("motionComponentSymbol");function Qj(i,s,l){const o=Y.useRef(l);Y.useInsertionEffect(()=>{o.current=l});const f=Y.useRef(null);return Y.useCallback(m=>{var y;m&&((y=i.onMount)==null||y.call(i,m)),s&&(m?s.mount(m):s.unmount());const d=o.current;if(typeof d=="function")if(m){const v=d(m);typeof v=="function"&&(f.current=v)}else f.current?(f.current(),f.current=null):d(m);else d&&(d.current=m)},[s])}const $v=Y.createContext({});function Sa(i){return i&&typeof i=="object"&&Object.prototype.hasOwnProperty.call(i,"current")}function Pj(i,s,l,o,f,m){var U,q;const{visualElement:d}=Y.useContext(Lo),y=Y.useContext(Xv),v=Y.useContext(Vo),p=Y.useContext(_f),g=p.reducedMotion,b=p.skipAnimations,S=Y.useRef(null),E=Y.useRef(!1);o=o||y.renderer,!S.current&&o&&(S.current=o(i,{visualState:s,parent:d,props:l,presenceContext:v,blockInitialAnimation:v?v.initial===!1:!1,reducedMotionConfig:g,skipAnimations:b,isSVG:m}),E.current&&S.current&&(S.current.manuallyAnimateOnMount=!0));const C=S.current,O=Y.useContext($v);C&&!C.projection&&f&&(C.type==="html"||C.type==="svg")&&Jj(S.current,l,f,O);const _=Y.useRef(!1);Y.useInsertionEffect(()=>{C&&_.current&&C.update(l,v)});const L=l[lv],G=Y.useRef(!!L&&typeof window<"u"&&!((U=window.MotionHandoffIsComplete)!=null&&U.call(window,L))&&((q=window.MotionHasOptimisedAnimation)==null?void 0:q.call(window,L)));return ff(()=>{E.current=!0,C&&(_.current=!0,window.MotionIsMounted=!0,C.updateFeatures(),C.scheduleRenderMicrotask(),G.current&&C.animationState&&C.animationState.animateChanges())}),Y.useEffect(()=>{C&&(!G.current&&C.animationState&&C.animationState.animateChanges(),G.current&&(queueMicrotask(()=>{var P;(P=window.MotionHandoffMarkAsComplete)==null||P.call(window,L)}),G.current=!1),C.enteringChildren=void 0)}),C}function Jj(i,s,l,o){const{layoutId:f,layout:m,drag:d,dragConstraints:y,layoutScroll:v,layoutRoot:p,layoutAnchor:g,layoutCrossfade:b}=s;i.projection=new l(i.latestValues,s["data-framer-portal-id"]?void 0:Fv(i.parent)),i.projection.setOptions({layoutId:f,layout:m,alwaysMeasureLayout:!!d||y&&Sa(y),visualElement:i,animationType:typeof m=="string"?m:"both",initialPromotionConfig:o,crossfade:b,layoutScroll:v,layoutRoot:p,layoutAnchor:g})}function Fv(i){if(i)return i.options.allowProjection!==!1?i.projection:Fv(i.parent)}function Su(i,{forwardMotionProps:s=!1,type:l}={},o,f){o&&wj(o);const m=l?l==="svg":kf(i),d=m?Kj:Xj;function y(p,g){let b;const S={...Y.useContext(_f),...p,layoutId:$j(p)},{isStatic:E}=S,C=_j(p),O=d(p,E);if(!E&&typeof window<"u"){Fj();const _=Wj(S);b=_.MeasureLayout,C.visualElement=Pj(i,O,S,f,_.ProjectionNode,m)}return u.jsxs(Lo.Provider,{value:C,children:[b&&C.visualElement?u.jsx(b,{visualElement:C.visualElement,...S}):null,qj(i,p,Qj(O,C.visualElement,g),O,E,s,m)]})}y.displayName=`motion.${typeof i=="string"?i:`create(${i.displayName??i.name??""})`}`;const v=Y.forwardRef(y);return v[Zj]=i,v}function $j({layoutId:i}){const s=Y.useContext(cf).id;return s&&i!==void 0?s+"-"+i:i}function Fj(i,s){Y.useContext(Xv).strict}function Wj(i){const s=Kv(),{drag:l,layout:o}=s;if(!l&&!o)return{};const f={...l,...o};return{MeasureLayout:l!=null&&l.isEnabled(i)||o!=null&&o.isEnabled(i)?f.MeasureLayout:void 0,ProjectionNode:f.ProjectionNode}}function Ij(i,s){if(typeof Proxy>"u")return Su;const l=new Map,o=(m,d)=>Su(m,d,i,s),f=(m,d)=>o(m,d);return new Proxy(f,{get:(m,d)=>d==="create"?o:(l.has(d)||l.set(d,Su(d,void 0,i,s)),l.get(d))})}const eT=(i,s)=>s.isSVG??kf(i)?new w2(s):new A2(s,{allowProjection:i!==Y.Fragment});class tT extends oi{constructor(s){super(s),s.animationState||(s.animationState=_2(s))}updateAnimationControlsSubscription(){const{animate:s}=this.node.getProps();Uo(s)&&(this.unmountControls=s.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:s}=this.node.getProps(),{animate:l}=this.node.prevProps||{};s!==l&&this.updateAnimationControlsSubscription()}unmount(){var s;this.node.animationState.reset(),(s=this.unmountControls)==null||s.call(this)}}let nT=0;class iT extends oi{constructor(){super(...arguments),this.id=nT++,this.isExitComplete=!1}update(){var m;if(!this.node.presenceContext)return;const{isPresent:s,onExitComplete:l}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||s===o)return;if(s&&o===!1){if(this.isExitComplete){const{initial:d,custom:y}=this.node.getProps();if(typeof d=="string"||typeof d=="object"&&d!==null&&!Array.isArray(d)){const v=_i(this.node,d,y);if(v){const{transition:p,transitionEnd:g,...b}=v;for(const S in b)(m=this.node.getValue(S))==null||m.jump(b[S])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const f=this.node.animationState.setActive("exit",!s);l&&!s&&f.then(()=>{this.isExitComplete=!0,l(this.id)})}mount(){const{register:s,onExitComplete:l}=this.node.presenceContext||{};l&&l(this.id),s&&(this.unmount=s(this.id))}unmount(){}}const aT={animation:{Feature:tT},exit:{Feature:iT}};function Hs(i){return{point:{x:i.pageX,y:i.pageY}}}const sT=i=>s=>zf(s)&&i(s,Hs(s));function ws(i,s,l,o){return Bs(i,s,sT(l),o)}const Wv=({current:i})=>i?i.ownerDocument.defaultView:null,n0=(i,s)=>Math.abs(i-s);function lT(i,s){const l=n0(i.x,s.x),o=n0(i.y,s.y);return Math.sqrt(l**2+o**2)}const i0=new Set(["auto","scroll"]);class Iv{constructor(s,l,{transformPagePoint:o,contextWindow:f=window,dragSnapToOrigin:m=!1,distanceThreshold:d=3,element:y}={}){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=C=>{this.handleScroll(C.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=co(this.lastRawMoveEventInfo,this.transformPagePoint));const C=ju(this.lastMoveEventInfo,this.history),O=this.startEvent!==null,_=lT(C.offset,{x:0,y:0})>=this.distanceThreshold;if(!O&&!_)return;const{point:L}=C,{timestamp:G}=st;this.history.push({...L,timestamp:G});const{onStart:U,onMove:q}=this.handlers;O||(U&&U(this.lastMoveEvent,C),this.startEvent=this.lastMoveEvent),q&&q(this.lastMoveEvent,C)},this.handlePointerMove=(C,O)=>{this.lastMoveEvent=C,this.lastRawMoveEventInfo=O,this.lastMoveEventInfo=co(O,this.transformPagePoint),Ne.update(this.updatePoint,!0)},this.handlePointerUp=(C,O)=>{this.end();const{onEnd:_,onSessionEnd:L,resumeAnimation:G}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&G&&G(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const U=ju(C.type==="pointercancel"?this.lastMoveEventInfo:co(O,this.transformPagePoint),this.history);this.startEvent&&_&&_(C,U),L&&L(C,U)},!zf(s))return;this.dragSnapToOrigin=m,this.handlers=l,this.transformPagePoint=o,this.distanceThreshold=d,this.contextWindow=f||window;const v=Hs(s),p=co(v,this.transformPagePoint),{point:g}=p,{timestamp:b}=st;this.history=[{...g,timestamp:b}];const{onSessionStart:S}=l;S&&S(s,ju(p,this.history));const E={passive:!0,capture:!0};this.removeListeners=Us(ws(this.contextWindow,"pointermove",this.handlePointerMove,E),ws(this.contextWindow,"pointerup",this.handlePointerUp,E),ws(this.contextWindow,"pointercancel",this.handlePointerUp,E)),y&&this.startScrollTracking(y)}startScrollTracking(s){let l=s.parentElement;for(;l;){const o=getComputedStyle(l);(i0.has(o.overflowX)||i0.has(o.overflowY))&&this.scrollPositions.set(l,{x:l.scrollLeft,y:l.scrollTop}),l=l.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(s){const l=this.scrollPositions.get(s);if(!l)return;const o=s===window,f=o?{x:window.scrollX,y:window.scrollY}:{x:s.scrollLeft,y:s.scrollTop},m={x:f.x-l.x,y:f.y-l.y};m.x===0&&m.y===0||(o?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=m.x,this.lastMoveEventInfo.point.y+=m.y):this.history.length>0&&(this.history[0].x-=m.x,this.history[0].y-=m.y),this.scrollPositions.set(s,f),Ne.update(this.updatePoint,!0))}updateHandlers(s){this.handlers=s}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),li(this.updatePoint)}}function co(i,s){return s?{point:s(i.point)}:i}function a0(i,s){return{x:i.x-s.x,y:i.y-s.y}}function ju({point:i},s){return{point:i,delta:a0(i,eg(s)),offset:a0(i,oT(s)),velocity:rT(s,.1)}}function oT(i){return i[0]}function eg(i){return i[i.length-1]}function rT(i,s){if(i.length<2)return{x:0,y:0};let l=i.length-1,o=null;const f=eg(i);for(;l>=0&&(o=i[l],!(f.timestamp-o.timestamp>Nt(s)));)l--;if(!o)return{x:0,y:0};o===i[0]&&i.length>2&&f.timestamp-o.timestamp>Nt(s)*2&&(o=i[1]);const m=Gt(f.timestamp-o.timestamp);if(m===0)return{x:0,y:0};const d={x:(f.x-o.x)/m,y:(f.y-o.y)/m};return d.x===1/0&&(d.x=0),d.y===1/0&&(d.y=0),d}function cT(i,{min:s,max:l},o){return s!==void 0&&i<s?i=o?we(s,i,o.min):Math.max(i,s):l!==void 0&&i>l&&(i=o?we(l,i,o.max):Math.min(i,l)),i}function s0(i,s,l){return{min:s!==void 0?i.min+s:void 0,max:l!==void 0?i.max+l-(i.max-i.min):void 0}}function uT(i,{top:s,left:l,bottom:o,right:f}){return{x:s0(i.x,l,f),y:s0(i.y,s,o)}}function l0(i,s){let l=s.min-i.min,o=s.max-i.max;return s.max-s.min<i.max-i.min&&([l,o]=[o,l]),{min:l,max:o}}function fT(i,s){return{x:l0(i.x,s.x),y:l0(i.y,s.y)}}function dT(i,s){let l=.5;const o=ht(i),f=ht(s);return f>o?l=Os(s.min,s.max-o,i.min):o>f&&(l=Os(i.min,i.max-f,s.min)),cn(0,1,l)}function hT(i,s){const l={};return s.min!==void 0&&(l.min=s.min-i.min),s.max!==void 0&&(l.max=s.max-i.min),l}const nf=.35;function mT(i=nf){return i===!1?i=0:i===!0&&(i=nf),{x:o0(i,"left","right"),y:o0(i,"top","bottom")}}function o0(i,s,l){return{min:r0(i,s),max:r0(i,l)}}function r0(i,s){return typeof i=="number"?i:i[s]||0}const pT=new WeakMap;class yT{constructor(s){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=$e(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=s}start(s,{snapToCursor:l=!1,distanceThreshold:o}={}){const{presenceContext:f}=this.visualElement;if(f&&f.isPresent===!1)return;const m=b=>{l&&this.snapToCursor(Hs(b).point),this.stopAnimation()},d=(b,S)=>{const{drag:E,dragPropagation:C,onDragStart:O}=this.getProps();if(E&&!C&&(this.openDragLock&&this.openDragLock(),this.openDragLock=YS(E),!this.openDragLock))return;this.latestPointerEvent=b,this.latestPanInfo=S,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),an(L=>{let G=this.getAxisMotionValue(L).get()||0;if(rn.test(G)){const{projection:U}=this.visualElement;if(U&&U.layout){const q=U.layout.layoutBox[L];q&&(G=ht(q)*(parseFloat(G)/100))}}this.originPoint[L]=G}),O&&Ne.update(()=>O(b,S),!1,!0),Zu(this.visualElement,"transform");const{animationState:_}=this.visualElement;_&&_.setActive("whileDrag",!0)},y=(b,S)=>{this.latestPointerEvent=b,this.latestPanInfo=S;const{dragPropagation:E,dragDirectionLock:C,onDirectionLock:O,onDrag:_}=this.getProps();if(!E&&!this.openDragLock)return;const{offset:L}=S;if(C&&this.currentDirection===null){this.currentDirection=gT(L),this.currentDirection!==null&&O&&O(this.currentDirection);return}this.updateAxis("x",S.point,L),this.updateAxis("y",S.point,L),this.visualElement.render(),_&&Ne.update(()=>_(b,S),!1,!0)},v=(b,S)=>{this.latestPointerEvent=b,this.latestPanInfo=S,this.stop(b,S),this.latestPointerEvent=null,this.latestPanInfo=null},p=()=>{const{dragSnapToOrigin:b}=this.getProps();(b||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:g}=this.getProps();this.panSession=new Iv(s,{onSessionStart:m,onStart:d,onMove:y,onSessionEnd:v,resumeAnimation:p},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:g,distanceThreshold:o,contextWindow:Wv(this.visualElement),element:this.visualElement.current})}stop(s,l){const o=s||this.latestPointerEvent,f=l||this.latestPanInfo,m=this.isDragging;if(this.cancel(),!m||!f||!o)return;const{velocity:d}=f;this.startAnimation(d);const{onDragEnd:y}=this.getProps();y&&Ne.postRender(()=>y(o,f))}cancel(){this.isDragging=!1;const{projection:s,animationState:l}=this.visualElement;s&&(s.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),l&&l.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(s,l,o){const{drag:f}=this.getProps();if(!o||!uo(s,f,this.currentDirection))return;const m=this.getAxisMotionValue(s);let d=this.originPoint[s]+o[s];this.constraints&&this.constraints[s]&&(d=cT(d,this.constraints[s],this.elastic[s])),m.set(d)}resolveConstraints(){var m;const{dragConstraints:s,dragElastic:l}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(m=this.visualElement.projection)==null?void 0:m.layout,f=this.constraints;s&&Sa(s)?this.constraints||(this.constraints=this.resolveRefConstraints()):s&&o?this.constraints=uT(o.layoutBox,s):this.constraints=!1,this.elastic=mT(l),f!==this.constraints&&!Sa(s)&&o&&this.constraints&&!this.hasMutatedConstraints&&an(d=>{this.constraints!==!1&&this.getAxisMotionValue(d)&&(this.constraints[d]=hT(o.layoutBox[d],this.constraints[d]))})}resolveRefConstraints(){const{dragConstraints:s,onMeasureDragConstraints:l}=this.getProps();if(!s||!Sa(s))return!1;const o=s.current,{projection:f}=this.visualElement;if(!f||!f.layout)return!1;f.root&&(f.root.scroll=void 0,f.root.updateScroll());const m=g2(o,f.root,this.visualElement.getTransformPagePoint());let d=fT(f.layout.layoutBox,m);if(l){const y=l(p2(d));this.hasMutatedConstraints=!!y,y&&(d=jv(y))}return d}startAnimation(s){const{drag:l,dragMomentum:o,dragElastic:f,dragTransition:m,dragSnapToOrigin:d,onDragTransitionEnd:y}=this.getProps(),v=this.constraints||{},p=an(g=>{if(!uo(g,l,this.currentDirection))return;let b=v&&v[g]||{};(d===!0||d===g)&&(b={min:0,max:0});const S=f?200:1e6,E=f?40:1e7,C={type:"inertia",velocity:o?s[g]:0,bounceStiffness:S,bounceDamping:E,timeConstant:750,restDelta:1,restSpeed:10,...m,...b};return this.startAxisValueAnimation(g,C)});return Promise.all(p).then(y)}startAxisValueAnimation(s,l){const o=this.getAxisMotionValue(s);return Zu(this.visualElement,s),o.start(Af(s,o,0,l,this.visualElement,!1))}stopAnimation(){an(s=>this.getAxisMotionValue(s).stop())}getAxisMotionValue(s){const l=`_drag${s.toUpperCase()}`,f=this.visualElement.getProps()[l];return f||this.visualElement.getValue(s,this.visualElement.latestValues[s]??0)}snapToCursor(s){an(l=>{const{drag:o}=this.getProps();if(!uo(l,o,this.currentDirection))return;const{projection:f}=this.visualElement,m=this.getAxisMotionValue(l);if(f&&f.layout){const{min:d,max:y}=f.layout.layoutBox[l],v=m.get()||0;m.set(s[l]-we(d,y,.5)+v)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:s,dragConstraints:l}=this.getProps(),{projection:o}=this.visualElement;if(!Sa(l)||!o||!this.constraints)return;this.stopAnimation();const f={x:0,y:0};an(d=>{const y=this.getAxisMotionValue(d);if(y&&this.constraints!==!1){const v=y.get();f[d]=dT({min:v,max:v},this.constraints[d])}});const{transformTemplate:m}=this.visualElement.getProps();this.visualElement.current.style.transform=m?m({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.constraints=!1,this.resolveConstraints(),an(d=>{if(!uo(d,s,null))return;const y=this.getAxisMotionValue(d),{min:v,max:p}=this.constraints[d];y.set(we(v,p,f[d]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;pT.set(this.visualElement,this);const s=this.visualElement.current,l=ws(s,"pointerdown",p=>{const{drag:g,dragListener:b=!0}=this.getProps(),S=p.target,E=S!==s&&JS(S);g&&b&&!E&&this.start(p)});let o;const f=()=>{const{dragConstraints:p}=this.getProps();Sa(p)&&p.current&&(this.constraints=this.resolveRefConstraints(),o||(o=vT(s,p.current,()=>this.scalePositionWithinConstraints())))},{projection:m}=this.visualElement,d=m.addEventListener("measure",f);m&&!m.layout&&(m.root&&m.root.updateScroll(),m.updateLayout()),Ne.read(f);const y=Bs(window,"resize",()=>this.scalePositionWithinConstraints()),v=m.addEventListener("didUpdate",(({delta:p,hasLayoutChanged:g})=>{this.isDragging&&g&&(an(b=>{const S=this.getAxisMotionValue(b);S&&(this.originPoint[b]+=p[b].translate,S.set(S.get()+p[b].translate))}),this.visualElement.render())}));return()=>{y(),l(),d(),v&&v(),o&&o()}}getProps(){const s=this.visualElement.getProps(),{drag:l=!1,dragDirectionLock:o=!1,dragPropagation:f=!1,dragConstraints:m=!1,dragElastic:d=nf,dragMomentum:y=!0}=s;return{...s,drag:l,dragDirectionLock:o,dragPropagation:f,dragConstraints:m,dragElastic:d,dragMomentum:y}}}function c0(i){let s=!0;return()=>{if(s){s=!1;return}i()}}function vT(i,s,l){const o=yy(i,c0(l)),f=yy(s,c0(l));return()=>{o(),f()}}function uo(i,s,l){return(s===!0||s===i)&&(l===null||l===i)}function gT(i,s=10){let l=null;return Math.abs(i.y)>s?l="y":Math.abs(i.x)>s&&(l="x"),l}class xT extends oi{constructor(s){super(s),this.removeGroupControls=Yt,this.removeListeners=Yt,this.controls=new yT(s)}mount(){const{dragControls:s}=this.node.getProps();s&&(this.removeGroupControls=s.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Yt}update(){const{dragControls:s}=this.node.getProps(),{dragControls:l}=this.node.prevProps||{};s!==l&&(this.removeGroupControls(),s&&(this.removeGroupControls=s.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Tu=i=>(s,l)=>{i&&Ne.update(()=>i(s,l),!1,!0)};class bT extends oi{constructor(){super(...arguments),this.removePointerDownListener=Yt}onPointerDown(s){this.session=new Iv(s,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Wv(this.node)})}createPanHandlers(){const{onPanSessionStart:s,onPanStart:l,onPan:o,onPanEnd:f}=this.node.getProps();return{onSessionStart:Tu(s),onStart:Tu(l),onMove:Tu(o),onEnd:(m,d)=>{delete this.session,f&&Ne.postRender(()=>f(m,d))}}}mount(){this.removePointerDownListener=ws(this.node.current,"pointerdown",s=>this.onPointerDown(s))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Au=!1;class ST extends Y.Component{componentDidMount(){const{visualElement:s,layoutGroup:l,switchLayoutGroup:o,layoutId:f}=this.props,{projection:m}=s;m&&(l.group&&l.group.add(m),o&&o.register&&f&&o.register(m),Au&&m.root.didUpdate(),m.addEventListener("animationComplete",()=>{this.safeToRemove()}),m.setOptions({...m.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),xo.hasEverUpdated=!0}getSnapshotBeforeUpdate(s){const{layoutDependency:l,visualElement:o,drag:f,isPresent:m}=this.props,{projection:d}=o;return d&&(d.isPresent=m,s.layoutDependency!==l&&d.setOptions({...d.options,layoutDependency:l}),Au=!0,f||s.layoutDependency!==l||l===void 0||s.isPresent!==m?d.willUpdate():this.safeToRemove(),s.isPresent!==m&&(m?d.promote():d.relegate()||Ne.postRender(()=>{const y=d.getStack();(!y||!y.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:s,layoutAnchor:l}=this.props,{projection:o}=s;o&&(o.options.layoutAnchor=l,o.root.didUpdate(),Df.postRender(()=>{!o.currentAnimation&&o.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:s,layoutGroup:l,switchLayoutGroup:o}=this.props,{projection:f}=s;Au=!0,f&&(f.scheduleCheckAfterUnmount(),l&&l.group&&l.group.remove(f),o&&o.deregister&&o.deregister(f))}safeToRemove(){const{safeToRemove:s}=this.props;s&&s()}render(){return null}}function tg(i){const[s,l]=Yv(),o=Y.useContext(cf);return u.jsx(ST,{...i,layoutGroup:o,switchLayoutGroup:Y.useContext($v),isPresent:s,safeToRemove:l})}const jT={pan:{Feature:bT},drag:{Feature:xT,ProjectionNode:Gv,MeasureLayout:tg}};function u0(i,s,l){const{props:o}=i;i.animationState&&o.whileHover&&i.animationState.setActive("whileHover",l==="Start");const f="onHover"+l,m=o[f];m&&Ne.postRender(()=>m(s,Hs(s)))}class TT extends oi{mount(){const{current:s}=this.node;s&&(this.unmount=KS(s,(l,o)=>(u0(this.node,o,"Start"),f=>u0(this.node,f,"End"))))}unmount(){}}class AT extends oi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let s=!1;try{s=this.node.current.matches(":focus-visible")}catch{s=!0}!s||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Us(Bs(this.node.current,"focus",()=>this.onFocus()),Bs(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function f0(i,s,l){const{props:o}=i;if(i.current instanceof HTMLButtonElement&&i.current.disabled)return;i.animationState&&o.whileTap&&i.animationState.setActive("whileTap",l==="Start");const f="onTap"+(l==="End"?"":l),m=o[f];m&&Ne.postRender(()=>m(s,Hs(s)))}class ET extends oi{mount(){const{current:s}=this.node;if(!s)return;const{globalTapTarget:l,propagate:o}=this.node.props;this.unmount=FS(s,(f,m)=>(f0(this.node,m,"Start"),(d,{success:y})=>f0(this.node,d,y?"End":"Cancel")),{useGlobalTarget:l,stopPropagation:(o==null?void 0:o.tap)===!1})}unmount(){}}const af=new WeakMap,Eu=new WeakMap,MT=i=>{const s=af.get(i.target);s&&s(i)},CT=i=>{i.forEach(MT)};function DT({root:i,...s}){const l=i||document;Eu.has(l)||Eu.set(l,{});const o=Eu.get(l),f=JSON.stringify(s);return o[f]||(o[f]=new IntersectionObserver(CT,{root:i,...s})),o[f]}function zT(i,s,l){const o=DT(s);return af.set(i,l),o.observe(i),()=>{af.delete(i),o.unobserve(i)}}const wT={some:0,all:1};class NT extends oi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var v;(v=this.stopObserver)==null||v.call(this);const{viewport:s={}}=this.node.getProps(),{root:l,margin:o,amount:f="some",once:m}=s,d={root:l?l.current:void 0,rootMargin:o,threshold:typeof f=="number"?f:wT[f]},y=p=>{const{isIntersecting:g}=p;if(this.isInView===g||(this.isInView=g,m&&!g&&this.hasEnteredView))return;g&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",g);const{onViewportEnter:b,onViewportLeave:S}=this.node.getProps(),E=g?b:S;E&&E(p)};this.stopObserver=zT(this.node.current,d,y)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:s,prevProps:l}=this.node;["amount","margin","root"].some(RT(s,l))&&this.startObserver()}unmount(){var s;(s=this.stopObserver)==null||s.call(this),this.hasEnteredView=!1,this.isInView=!1}}function RT({viewport:i={}},{viewport:s={}}={}){return l=>i[l]!==s[l]}const OT={inView:{Feature:NT},tap:{Feature:ET},focus:{Feature:AT},hover:{Feature:TT}},VT={layout:{ProjectionNode:Gv,MeasureLayout:tg}},_T={...aT,...OT,...jT,...VT},BT=Ij(_T,eT),ee=BT;/**
|
|
58
|
+
* @license lucide-react v0.546.0 - ISC
|
|
59
|
+
*
|
|
60
|
+
* This source code is licensed under the ISC license.
|
|
61
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
62
|
+
*/const UT=i=>i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),kT=i=>i.replace(/^([A-Z])|[\s-_]+(\w)/g,(s,l,o)=>o?o.toUpperCase():l.toLowerCase()),d0=i=>{const s=kT(i);return s.charAt(0).toUpperCase()+s.slice(1)},ng=(...i)=>i.filter((s,l,o)=>!!s&&s.trim()!==""&&o.indexOf(s)===l).join(" ").trim(),LT=i=>{for(const s in i)if(s.startsWith("aria-")||s==="role"||s==="title")return!0};/**
|
|
63
|
+
* @license lucide-react v0.546.0 - ISC
|
|
64
|
+
*
|
|
65
|
+
* This source code is licensed under the ISC license.
|
|
66
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
67
|
+
*/var HT={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"};/**
|
|
68
|
+
* @license lucide-react v0.546.0 - ISC
|
|
69
|
+
*
|
|
70
|
+
* This source code is licensed under the ISC license.
|
|
71
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
72
|
+
*/const qT=Y.forwardRef(({color:i="currentColor",size:s=24,strokeWidth:l=2,absoluteStrokeWidth:o,className:f="",children:m,iconNode:d,...y},v)=>Y.createElement("svg",{ref:v,...HT,width:s,height:s,stroke:i,strokeWidth:o?Number(l)*24/Number(s):l,className:ng("lucide",f),...!m&&!LT(y)&&{"aria-hidden":"true"},...y},[...d.map(([p,g])=>Y.createElement(p,g)),...Array.isArray(m)?m:[m]]));/**
|
|
73
|
+
* @license lucide-react v0.546.0 - ISC
|
|
74
|
+
*
|
|
75
|
+
* This source code is licensed under the ISC license.
|
|
76
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
77
|
+
*/const Re=(i,s)=>{const l=Y.forwardRef(({className:o,...f},m)=>Y.createElement(qT,{ref:m,iconNode:s,className:ng(`lucide-${UT(d0(i))}`,`lucide-${i}`,o),...f}));return l.displayName=d0(i),l};/**
|
|
78
|
+
* @license lucide-react v0.546.0 - ISC
|
|
79
|
+
*
|
|
80
|
+
* This source code is licensed under the ISC license.
|
|
81
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
82
|
+
*/const GT=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8",key:"7n84p3"}]],YT=Re("at-sign",GT);/**
|
|
83
|
+
* @license lucide-react v0.546.0 - ISC
|
|
84
|
+
*
|
|
85
|
+
* This source code is licensed under the ISC license.
|
|
86
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
87
|
+
*/const XT=[["path",{d:"M12 21V7",key:"gj6g52"}],["path",{d:"m16 12 2 2 4-4",key:"mdajum"}],["path",{d:"M22 6V4a1 1 0 0 0-1-1h-5a4 4 0 0 0-4 4 4 4 0 0 0-4-4H3a1 1 0 0 0-1 1v13a1 1 0 0 0 1 1h6a3 3 0 0 1 3 3 3 3 0 0 1 3-3h6a1 1 0 0 0 1-1v-1.3",key:"8arnkb"}]],Di=Re("book-open-check",XT);/**
|
|
88
|
+
* @license lucide-react v0.546.0 - ISC
|
|
89
|
+
*
|
|
90
|
+
* This source code is licensed under the ISC license.
|
|
91
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
92
|
+
*/const KT=[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]],ZT=Re("building-2",KT);/**
|
|
93
|
+
* @license lucide-react v0.546.0 - ISC
|
|
94
|
+
*
|
|
95
|
+
* This source code is licensed under the ISC license.
|
|
96
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
97
|
+
*/const QT=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],ot=Re("check",QT);/**
|
|
98
|
+
* @license lucide-react v0.546.0 - ISC
|
|
99
|
+
*
|
|
100
|
+
* This source code is licensed under the ISC license.
|
|
101
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
102
|
+
*/const PT=[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]],qs=Re("cloud",PT);/**
|
|
103
|
+
* @license lucide-react v0.546.0 - ISC
|
|
104
|
+
*
|
|
105
|
+
* This source code is licensed under the ISC license.
|
|
106
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
107
|
+
*/const JT=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],h0=Re("database",JT);/**
|
|
108
|
+
* @license lucide-react v0.546.0 - ISC
|
|
109
|
+
*
|
|
110
|
+
* This source code is licensed under the ISC license.
|
|
111
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
112
|
+
*/const $T=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Jt=Re("file-text",$T);/**
|
|
113
|
+
* @license lucide-react v0.546.0 - ISC
|
|
114
|
+
*
|
|
115
|
+
* This source code is licensed under the ISC license.
|
|
116
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
117
|
+
*/const FT=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],sf=Re("folder",FT);/**
|
|
118
|
+
* @license lucide-react v0.546.0 - ISC
|
|
119
|
+
*
|
|
120
|
+
* This source code is licensed under the ISC license.
|
|
121
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
122
|
+
*/const WT=[["line",{x1:"6",x2:"6",y1:"3",y2:"15",key:"17qcm7"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M18 9a9 9 0 0 1-9 9",key:"n2h4wq"}]],Mu=Re("git-branch",WT);/**
|
|
123
|
+
* @license lucide-react v0.546.0 - ISC
|
|
124
|
+
*
|
|
125
|
+
* This source code is licensed under the ISC license.
|
|
126
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
127
|
+
*/const IT=[["line",{x1:"22",x2:"2",y1:"12",y2:"12",key:"1y58io"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16",key:"sgf278"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16",key:"1l4acy"}]],m0=Re("hard-drive",IT);/**
|
|
128
|
+
* @license lucide-react v0.546.0 - ISC
|
|
129
|
+
*
|
|
130
|
+
* This source code is licensed under the ISC license.
|
|
131
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
132
|
+
*/const eA=[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]],No=Re("laptop",eA);/**
|
|
133
|
+
* @license lucide-react v0.546.0 - ISC
|
|
134
|
+
*
|
|
135
|
+
* This source code is licensed under the ISC license.
|
|
136
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
137
|
+
*/const tA=[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{x:"3",y:"10",width:"18",height:"12",rx:"2",key:"6s8ecr"}],["path",{d:"M7 10V7a5 5 0 0 1 10 0v3",key:"1pqi11"}]],ct=Re("lock-keyhole",tA);/**
|
|
138
|
+
* @license lucide-react v0.546.0 - ISC
|
|
139
|
+
*
|
|
140
|
+
* This source code is licensed under the ISC license.
|
|
141
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
142
|
+
*/const nA=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],Ro=Re("mail",nA);/**
|
|
143
|
+
* @license lucide-react v0.546.0 - ISC
|
|
144
|
+
*
|
|
145
|
+
* This source code is licensed under the ISC license.
|
|
146
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
147
|
+
*/const iA=[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]],Cu=Re("network",iA);/**
|
|
148
|
+
* @license lucide-react v0.546.0 - ISC
|
|
149
|
+
*
|
|
150
|
+
* This source code is licensed under the ISC license.
|
|
151
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
152
|
+
*/const aA=[["path",{d:"m16 16 2 2 4-4",key:"gfu2re"}],["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}]],sA=Re("package-check",aA);/**
|
|
153
|
+
* @license lucide-react v0.546.0 - ISC
|
|
154
|
+
*
|
|
155
|
+
* This source code is licensed under the ISC license.
|
|
156
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
157
|
+
*/const lA=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],ba=Re("search",lA);/**
|
|
158
|
+
* @license lucide-react v0.546.0 - ISC
|
|
159
|
+
*
|
|
160
|
+
* This source code is licensed under the ISC license.
|
|
161
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
162
|
+
*/const oA=[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]],p0=Re("server",oA);/**
|
|
163
|
+
* @license lucide-react v0.546.0 - ISC
|
|
164
|
+
*
|
|
165
|
+
* This source code is licensed under the ISC license.
|
|
166
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
167
|
+
*/const rA=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Wt=Re("settings",rA);/**
|
|
168
|
+
* @license lucide-react v0.546.0 - ISC
|
|
169
|
+
*
|
|
170
|
+
* This source code is licensed under the ISC license.
|
|
171
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
172
|
+
*/const cA=[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]],Ns=Re("share-2",cA);/**
|
|
173
|
+
* @license lucide-react v0.546.0 - ISC
|
|
174
|
+
*
|
|
175
|
+
* This source code is licensed under the ISC license.
|
|
176
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
177
|
+
*/const uA=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],zn=Re("shield-check",uA);/**
|
|
178
|
+
* @license lucide-react v0.546.0 - ISC
|
|
179
|
+
*
|
|
180
|
+
* This source code is licensed under the ISC license.
|
|
181
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
182
|
+
*/const fA=[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]],lf=Re("square-terminal",fA);/**
|
|
183
|
+
* @license lucide-react v0.546.0 - ISC
|
|
184
|
+
*
|
|
185
|
+
* This source code is licensed under the ISC license.
|
|
186
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
187
|
+
*/const dA=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],y0=Re("triangle-alert",dA);/**
|
|
188
|
+
* @license lucide-react v0.546.0 - ISC
|
|
189
|
+
*
|
|
190
|
+
* This source code is licensed under the ISC license.
|
|
191
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
192
|
+
*/const hA=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],Oi=Re("user-plus",hA);/**
|
|
193
|
+
* @license lucide-react v0.546.0 - ISC
|
|
194
|
+
*
|
|
195
|
+
* This source code is licensed under the ISC license.
|
|
196
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
197
|
+
*/const mA=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],$t=Re("user-minus",mA);/**
|
|
198
|
+
* @license lucide-react v0.546.0 - ISC
|
|
199
|
+
*
|
|
200
|
+
* This source code is licensed under the ISC license.
|
|
201
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
202
|
+
*/const pA=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],ii=Re("users",pA);/**
|
|
203
|
+
* @license lucide-react v0.546.0 - ISC
|
|
204
|
+
*
|
|
205
|
+
* This source code is licensed under the ISC license.
|
|
206
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
207
|
+
*/const yA=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Rs=Re("x",yA),ln=[{id:"A",age:"today",size:25},{id:"B",age:"3 days ago",size:18},{id:"C",age:"7 days ago",size:15},{id:"D",age:"10 days ago",size:14},{id:"E",age:"14 days ago",size:13},{id:"F",age:"21 days ago",size:12},{id:"G",age:"30 days ago",size:11},{id:"H",age:"38 days ago",size:9},{id:"I",age:"42 days ago",size:8},{id:"J",age:"45 days ago",size:5}],ig=[{age:"1 day ago",subject:"webhook tests",size:"1.2 GB"},{age:"5 days ago",subject:"checkout logs",size:"2.8 GB"},{age:"14 days ago",subject:"token refresh",size:"1.0 GB",hit:!0},{age:"30 days ago",subject:"retry design",size:"3.6 GB"},{age:"2 months ago",subject:"API contract",size:"4.1 GB"},{age:"4 months ago",subject:"first incident",size:"5.4 GB"}],Du=[{id:"check",label:"Check",icon:"⌕"},{id:"compress",label:"Compress",icon:"↘"},{id:"encrypt",label:"Encrypt",icon:"▣"},{id:"archive",label:"Archive",icon:"↑"},{id:"verify",label:"Verify",icon:"✓"}],v0=[{x:-400,y:-210},{x:420,y:-205},{x:-430,y:120},{x:435,y:145},{x:-110,y:-265},{x:220,y:250},{x:-310,y:245},{x:475,y:-35},{x:125,y:-275},{x:-485,y:-35}],wn=[{key:"start",scene:"collect",duration:700,arrived:0,committed:0},...ln.map((i,s)=>({key:`arrival-${s}`,scene:"collect",duration:1100,arrived:s+1,committed:Math.max(0,s-2),activeSession:s})),{key:"settle-8",scene:"collect",duration:1e3,arrived:10,committed:8},{key:"settle-9",scene:"collect",duration:1e3,arrived:10,committed:9},{key:"settle-10",scene:"collect",duration:850,arrived:10,committed:10},{key:"pressure",scene:"pressure",duration:2600,arrived:10,committed:10},{key:"install-typing",scene:"install",duration:1700,arrived:10,installState:"typing"},{key:"install-running",scene:"install",duration:2400,arrived:10,installState:"running"},{key:"install-done",scene:"install",duration:1300,arrived:10,installState:"done"}];["check","compress","encrypt","archive","verify"].forEach(i=>wn.push({key:`preserve-a-${i}`,scene:"preserve",duration:i==="verify"?950:680,arrived:10,preserved:i==="verify"?1:0,activeSession:0,pipeline:i}));["check","compress","encrypt","archive","verify"].forEach(i=>wn.push({key:`preserve-b-${i}`,scene:"preserve",duration:i==="verify"?950:680,arrived:10,preserved:i==="verify"?2:1,activeSession:1,pipeline:i}));for(let i=2;i<10;i+=1)wn.push({key:`preserve-fast-${i}`,scene:"preserve",duration:390,arrived:10,preserved:i+1,activeSession:i,pipeline:"batch"});wn.push({key:"complete",scene:"complete",duration:2800,arrived:10,preserved:10},{key:"search-typing",scene:"search",duration:3300,preserved:10,searchState:"typing"},{key:"search-call",scene:"search",duration:1e3,preserved:10,searchState:"call"},{key:"search-route",scene:"search",duration:1150,preserved:10,searchState:"route"});ig.forEach((i,s)=>wn.push({key:`search-scan-${s}`,scene:"search",duration:620,preserved:10,searchState:"scan",scanIndex:s}));wn.push({key:"search-selected",scene:"search",duration:1200,preserved:10,searchState:"selected",scanIndex:2},{key:"search-return",scene:"search",duration:2500,preserved:10,searchState:"return",scanIndex:2},{key:"search-answer",scene:"search",duration:4300,preserved:10,searchState:"answer",scanIndex:2},{key:"reset",scene:"reset",duration:700,preserved:10});const zu=[{key:"work",state:"work",duration:2500},{key:"preserve",state:"preserve",duration:2800},{key:"new-device",state:"new-device",duration:2400},{key:"mcp",state:"mcp",duration:1800},{key:"search",state:"search",duration:2700},{key:"resume",state:"resume",duration:4400},{key:"reset",state:"reset",duration:700}],on=[{key:"paul",state:"paul",duration:3e3},{key:"share-click",state:"share-click",duration:1500},{key:"share-form",state:"share-form",duration:3e3},{key:"share-add",state:"share-add",duration:1300},{key:"invite-sent",state:"invite-sent",duration:1700},{key:"anna-invite",state:"anna-invite",duration:3200},{key:"anna-accept",state:"anna-accept",duration:2100},{key:"shared-ready",state:"shared-ready",duration:2600},{key:"paul-work",state:"paul-work",duration:2500},{key:"anna-receive",state:"anna-receive",duration:2e3},{key:"anna-work",state:"anna-work",duration:2500},{key:"paul-receive",state:"paul-receive",duration:2e3},{key:"bob-share",state:"bob-share",duration:1600},{key:"bob-form",state:"bob-form",duration:2500},{key:"bob-invite",state:"bob-invite",duration:2700},{key:"bob-accept",state:"bob-accept",duration:2100},{key:"three-ready",state:"three-ready",duration:1900},{key:"remove-anna",state:"remove-anna",duration:1900},{key:"remove-confirm",state:"remove-confirm",duration:2400},{key:"anna-removed",state:"anna-removed",duration:2800}];["paul","bob"].forEach(i=>{on.push({key:`search-${i}-typing`,state:"search",duration:2200,searchPerson:i,searchState:"typing"}),on.push({key:`search-${i}-call`,state:"search",duration:750,searchPerson:i,searchState:"call"}),[0,1,2].forEach(s=>on.push({key:`search-${i}-scan-${s}`,state:"search",duration:620,searchPerson:i,searchState:"scan",scanIndex:s})),on.push({key:`search-${i}-selected`,state:"search",duration:900,searchPerson:i,searchState:"selected"}),on.push({key:`search-${i}-return`,state:"search",duration:1700,searchPerson:i,searchState:"return"}),on.push({key:`search-${i}-answer`,state:"search",duration:2200,searchPerson:i,searchState:"answer"})});on.push({key:"complete",state:"complete",duration:3800},{key:"reset",state:"reset",duration:700});const wu=[{key:"enterprise-shared-ready",state:"shared-ready",duration:2400},{key:"enterprise-paul-work",state:"paul-work",duration:2400},{key:"enterprise-paul-departed",state:"paul-departed",duration:2600},{key:"enterprise-search-answer",state:"search",duration:2800,searchPerson:"anna",searchState:"answer"},{key:"enterprise-complete",state:"complete",duration:4800},{key:"enterprise-reset",state:"reset",duration:500}],zi=[{id:"continuity",label:"Knowledge stays",tabIcon:ii,title:u.jsxs(u.Fragment,{children:["When a senior engineer leaves, their decisions ",u.jsx("span",{children:"stay."})]}),lede:"Approved engineering work becomes shared company memory, ready for the next developer and coding agent.",connectors:["Approved context","Trusted recall"],stages:[{icon:ii,title:"Senior engineer",subtitle:"Builds, reviews, decides",items:[{icon:Jt,label:"Architecture rationale"},{icon:Mu,label:"Trade-offs & rejected paths"},{icon:lf,label:"Implementation history"}],note:{icon:$t,title:"Senior offboarded",text:"Access removed. Decisions retained.",tone:"warm"}},{icon:ct,title:"Company memory",subtitle:"Approved knowledge is retained",items:[{icon:Jt,label:"Source-attributed decisions"},{icon:ct,label:"Encrypted project history"},{icon:Di,label:"Retention set by policy"}]},{icon:Oi,title:"Team continues",subtitle:"Developers and agents start with context",items:[{icon:No,label:"Faster onboarding"},{icon:Wt,label:"Fewer repeated mistakes"},{icon:zn,label:"No single-person dependency"}],note:{icon:ot,title:"Senior context ready",text:"Junior developer + agent can continue.",tone:"green"}}],security:{title:"Knowledge stays company-controlled.",detail:"The employee can leave without taking the project’s approved engineering history.",proofs:[{icon:sf,title:"Project scoped",detail:"Only authorised projects"},{icon:ct,title:"You hold the keys",detail:"Customer-controlled access"},{icon:Di,title:"Auditable history",detail:"Evidence stays attributable"}]}},{id:"collaboration",label:"Team collaboration",tabIcon:Cu,title:u.jsxs(u.Fragment,{children:["Every engineer and agent works from the same ",u.jsx("span",{children:"project memory."})]}),lede:"Senior and junior developers contribute, retrieve, and improve the same approved context without copying sessions by hand.",connectors:["Contribute","Recall + improve"],stages:[{icon:ii,title:"Senior + Codex",subtitle:"Contributes verified decisions",items:[{icon:Mu,label:"Architecture decisions"},{icon:Jt,label:"Implementation patterns"},{icon:Ns,label:"Clear handoffs"}],note:{icon:ot,title:"Decision shared",text:"Useful context is available to the team.",tone:"green"}},{icon:Cu,title:"Shared project memory",subtitle:"One current source of context",items:[{icon:ii,label:"Member-scoped access"},{icon:ba,label:"Searchable history"},{icon:Di,label:"Source attribution"}]},{icon:Oi,title:"Junior + Claude",subtitle:"Retrieves and contributes",items:[{icon:ba,label:"Finds the why, not just code"},{icon:Wt,label:"Continues with constraints"},{icon:Ns,label:"Adds verified context"}],note:{icon:ii,title:"Team stays aligned",text:"People and agents share one project history.",tone:"green"}}],security:{title:"Collaboration remains explicit and revocable.",detail:"Shared memory follows project membership—not personal accounts or accidental access.",proofs:[{icon:Oi,title:"Explicit members",detail:"Invite only who needs it"},{icon:$t,title:"Instant removal",detail:"Revoke project access"},{icon:ct,title:"Personal stays private",detail:"Spaces remain separate"}]}},{id:"onprem",label:"On-prem isolation",tabIcon:p0,title:u.jsxs(u.Fragment,{children:["Shared agent memory, fully inside ",u.jsx("span",{children:"your environment."})]}),lede:"Run SealKeep in your cloud or data centre while keeping plaintext, storage, identity, and keys inside the customer boundary.",connectors:["Encrypted input","Private storage"],stages:[{icon:No,title:"Team endpoints",subtitle:"Local agents and local MCP",items:[{icon:lf,label:"Claude Code + Codex"},{icon:ct,label:"Encrypt before upload"},{icon:ii,label:"Member identity"}],note:{icon:zn,title:"Plaintext stays local",text:"Encryption begins on each endpoint.",tone:"green"}},{icon:p0,title:"SealKeep on-prem",subtitle:"Customer-operated service",items:[{icon:Cu,label:"Private project memory"},{icon:ba,label:"Role-scoped retrieval"},{icon:Di,label:"Offline entitlement"}]},{icon:ZT,title:"Customer infrastructure",subtitle:"You choose every region",items:[{icon:h0,label:"PostgreSQL"},{icon:m0,label:"Object storage"},{icon:ct,label:"Customer-held keys"}],note:{icon:Rs,title:"Spala egress closed",text:"No mandatory runtime connection.",tone:"warm"}}],security:{title:"Customer security boundary",detail:"OFFLINE ENTITLEMENT · EGRESS CLOSED. The isolated edition runs without provider storage, authentication, telemetry, or licence-check calls.",proofs:[{icon:h0,title:"Your database",detail:"Customer PostgreSQL"},{icon:m0,title:"Your storage",detail:"Customer object storage"},{icon:Rs,title:"No runtime egress",detail:"Closed environment"}]}},{id:"incident",label:"Incidents + onboarding",tabIcon:y0,title:u.jsxs(u.Fragment,{children:["The next responder starts with the decisions that ",u.jsx("span",{children:"mattered."})]}),lede:"Preserve incident reasoning and handoffs so a new hire, on-call engineer, or replacement agent can respond with context.",connectors:["Preserve evidence","Relevant context"],stages:[{icon:y0,title:"Previous incident",subtitle:"The hard-won context",items:[{icon:ba,label:"Diagnosis timeline"},{icon:Rs,label:"Failed approaches"},{icon:ot,label:"Verified remediation"}],note:{icon:Jt,title:"Handoff preserved",text:"Details survive after the session ends.",tone:"green"}},{icon:Di,title:"Operational memory",subtitle:"Searchable project evidence",items:[{icon:Jt,label:"Approved runbook"},{icon:Mu,label:"Exact decision history"},{icon:ba,label:"Project-filtered recall"}]},{icon:Oi,title:"New hire / on-call",subtitle:"Starts from trusted history",items:[{icon:Di,label:"Reconstructs reasoning"},{icon:Ns,label:"Resumes the handoff"},{icon:Wt,label:"Responds faster"}],note:{icon:ot,title:"Context received",text:"Less rediscovery under pressure.",tone:"green"}}],security:{title:"Operational evidence remains private and attributable.",detail:"Teams decide what is approved, who can retrieve it, and how long it is retained.",proofs:[{icon:Di,title:"Audit trail",detail:"Source and activity history"},{icon:ba,title:"Project filters",detail:"Retrieve only what matters"},{icon:zn,title:"Retention policy",detail:"Company-defined controls"}]}}],Oo=i=>ln.slice(0,i).reduce((s,l)=>s+l.size,0);function vA(i){return i==="collect"||i==="pressure"?0:i==="install"?1:i==="preserve"?2:i==="complete"?3:4}function gA(i){if(i.scene==="collect"){const s=(i.arrived??0)-(i.committed??0);return{title:"Agent sessions accumulate on this Mac",lede:"Each finished session stays visible in the queue before it becomes part of local storage.",status:`${i.arrived??0} created · ${s} visible · ${Oo(i.committed??0)} GB stored`}}return i.scene==="pressure"?{title:"Day 45: agent memory now uses 130 GB",lede:"The 512 GB Mac is 96% full. The only copy of every session is still on this machine.",status:"491 of 512 GB used · local-only risk"}:i.scene==="install"?{title:"Install SealKeep once",lede:"One setup connects private storage and the local agent integration. After this, preservation happens automatically.",status:i.installState==="done"?"SealKeep installed · memory active":"one-time setup on this Mac"}:i.scene==="preserve"?{title:"Sessions move safely into the Agent Memory Pool",lede:"The first two show every step. The remaining sessions follow automatically. Disk space returns only after each sealed copy is verified.",status:`${i.preserved??0} of 10 preserved`}:i.scene==="complete"?{title:"All ten sessions are preserved",lede:"The complete history remains available while local disk usage falls from 491 GB to 361 GB.",status:"10 preserved · 361 of 512 GB used · healthy"}:{title:"A fresh agent session can remember",lede:"Codex calls the local SealKeep MCP, searches the Agent Memory Pool, and receives only the relevant context.",status:i.searchState==="answer"?"verified memory returned to Codex":"searching preserved agent memory"}}const bo={memory:{label:"Agent memory",eyebrow:"Preserve & recall",chapters:["Sessions grow","Install once","Preserve","Space restored","Recall memory"],facts:[["Automatic after setup","No command is needed for each new session."],["Private by design","Memory is encrypted on this machine before storage sees it."]],footer:["512 GB Mac","130 GB agent sessions","≈10 GB sealed history","past work remains searchable"]},continue:{label:"Continue anywhere",eyebrow:"One person · any machine",chapters:["Finish work","Preserve","New computer","Recall","Continue"],facts:[["Same project memory","Move between computers without manually moving session files."],["Cross-agent continuity","Continue from Codex in Claude—or the other way around."]],footer:["same identity","same project","Codex → Claude","no transfer command"]},team:{label:"Team cooperation",eyebrow:"Project access · add and remove",chapters:["Paul's cloud","Invite Anna","Work together","Add / remove","Search memory"],facts:[["Membership is explicit","Paul can add Anna and Bob, then revoke access for one member."],["Removal disconnects access","Anna’s local MCP loses Cowork-Project immediately while Personal stays private."]],footer:["3 people shown","2 active members","Anna disconnected","Personal stays private"]},enterprise:{label:"Enterprise continuity",eyebrow:"Company memory · inside your boundary",chapters:["Shared project","Senior records","Developer leaves","Junior retrieves","Work continues"],facts:[["Knowledge survives departures","Approved senior work remains company memory after access is removed."],["Controlled reuse","Junior teammates and their agents retrieve only authorized project context."]],footer:["senior history retained","junior + agent continue","customer-owned storage","runtime egress closed"]}};function xA(i){return i.state==="work"?{title:"Finish on one computer",lede:"Codex completes a checkout-api session on the Work Mac. The useful decisions are still local.",status:"Work Mac · session finished"}:i.state==="preserve"?{title:"SealKeep queues the handoff automatically",lede:"The safe session hook records archive intent locally. The background service then compresses, encrypts, uploads, and verifies the project memory.",status:"queued · preserving in background"}:i.state==="new-device"?{title:"Open the same project on another computer",lede:"At home—or on a VPS—SealKeep is connected once to the same identity and project.",status:"Home PC · checkout-api connected"}:i.state==="mcp"?{title:"The new agent asks local SealKeep",lede:"Claude calls the local MCP for the recent checkout-api context. There is no manual memory-transfer command.",status:"local MCP processing"}:i.state==="search"?{title:"Only relevant project memory is retrieved",lede:"The Agent Memory Pool finds the verified handoff, without loading every old session into the new agent.",status:"relevant handoff found"}:{title:"Continue where the other computer stopped",lede:"Claude receives the decisions, recent progress, and constraints needed to resume the same project safely.",status:i.state==="resume"?"context received · ready to continue":"preparing next handoff"}}function bA(i){if(i.state==="paul")return{title:"Paul has a private Agent Memory Pool",lede:"Personal and Cowork-Project are separate memory spaces. Each project has its own Share control.",status:"Paul · 2 private projects"};if(i.state==="share-click")return{title:"Paul chooses Cowork-Project to share",lede:"He clicks Share on that project only. Personal remains private inside Paul’s cloud.",status:"Cowork-Project · Share clicked"};if(i.state==="share-form")return{title:"Paul enters Anna’s email or access key",lede:"The invitation grants access only to Cowork-Project and its preserved agent memory.",status:"typing anna@northstar.dev"};if(i.state==="share-add")return{title:"Paul clicks Add",lede:"SealKeep prepares a Cowork-Project invitation for Anna with read, write, and search access.",status:"adding anna@northstar.dev"};if(i.state==="invite-sent")return{title:"Paul sends the project invitation",lede:"Nothing is shared until Anna accepts it from her own SealKeep workspace.",status:"invitation sent · awaiting Anna"};if(i.state==="anna-invite")return{title:"Anna receives the invitation",lede:"Paul moves left and Anna’s Claude workspace appears with a clear choice to accept or decline.",status:"Anna · invitation received"};if(i.state==="anna-accept")return{title:"Anna accepts Cowork-Project",lede:"Her access is confirmed. Paul’s Personal project is never exposed.",status:"Anna clicked Accept"};if(i.state==="shared-ready")return{title:"Shared project memory forms between them",lede:"Paul’s Codex MCP and Anna’s Claude MCP now connect to one Cowork-Project memory store.",status:"Cowork-Project · 2 members connected"};if(i.state==="paul-work")return{title:"Paul’s agent records a project decision",lede:"His local MCP writes the useful update into Cowork-Project shared memory.",status:"Paul → shared memory"};if(i.state==="anna-receive")return{title:"Anna receives Paul’s update",lede:"Her Claude session can immediately use the new shared project context.",status:"shared memory → Anna"};if(i.state==="anna-work")return{title:"Anna contributes from Claude",lede:"Her local MCP writes a webhook constraint into the same Cowork-Project memory.",status:"Anna → shared memory"};if(i.state==="paul-receive")return{title:"Paul receives Anna’s update",lede:"Codex sees the latest shared context without anyone copying a session or running a command.",status:"shared memory → Paul"};if(i.state==="bob-share")return{title:"Paul adds another project member",lede:"From Cowork-Project storage, Paul clicks Add member to invite Bob without changing Anna’s access.",status:"Cowork-Project · Add member"};if(i.state==="bob-form")return{title:"Paul enters Bob’s email or access key",lede:"Bob receives the same project-scoped read, write, and search permissions.",status:"typing bob@northstar.dev"};if(i.state==="bob-invite")return{title:"Bob receives a Cowork-Project invitation",lede:"Anna moves up, Bob’s Codex workspace appears below, and he can accept or decline.",status:"Bob · invitation received"};if(i.state==="bob-accept")return{title:"Bob accepts the shared project",lede:"His local MCP connects to Cowork-Project. The project now has three members.",status:"Bob clicked Accept"};if(i.state==="three-ready")return{title:"Three agents can use the shared memory",lede:"Paul, Anna, and Bob now have independent local MCP connections to Cowork-Project.",status:"Cowork-Project · 3 members"};if(i.state==="remove-anna")return{title:"Paul chooses to remove Anna",lede:"He opens project members and clicks Remove beside Anna—without affecting Bob or anyone’s Personal memory.",status:"Anna · Remove clicked"};if(i.state==="remove-confirm")return{title:"Paul confirms access removal",lede:"SealKeep shows exactly what will happen: Anna loses read, write, and search access immediately.",status:"confirming Remove access"};if(i.state==="anna-removed")return{title:"Anna is disconnected from Cowork-Project",lede:"Her local MCP can no longer reach the shared storage. Paul and Bob remain connected.",status:"Anna · access removed"};if(i.state==="search"){const s=i.searchPerson==="paul"?"Paul":"Bob";return{title:`${s} searches Cowork-Project memory`,lede:`${s} asks in Codex. The local MCP scans the shared history, selects the relevant memory, and returns it.`,status:i.searchState==="answer"?`${s} · memory received`:`${s} · ${i.searchState==="typing"?"typing a question":"searching shared memory"}`}}return{title:"Active members keep one current project memory",lede:"Paul and Bob can contribute and search Cowork-Project. Anna remains visibly disconnected after removal.",status:i.state==="complete"?"2 active members · Anna removed":"team story restarting"}}function SA(i){return i.state==="paul"?{title:"A private project begins inside the company boundary",lede:"Paul’s project memory, local MCP, keys, and operational services remain in customer-controlled infrastructure.",status:"Cowork-Project · customer private"}:["share-click","share-form","share-add","invite-sent"].includes(i.state)?{title:"Invite an approved teammate to project memory",lede:"Paul grants Anna access to Cowork-Project only. Personal memory and unrelated projects remain private.",status:"project-scoped invitation"}:["anna-invite","anna-accept","shared-ready"].includes(i.state)?{title:"Two agents join one controlled project memory",lede:"Anna accepts from her own workspace. Each approved member connects through a local MCP to the shared project context.",status:i.state==="shared-ready"?"2 approved members · connected":"membership being verified"}:["paul-work","anna-receive"].includes(i.state)?{title:"Senior engineering decisions become company memory",lede:"Paul’s approved implementation decisions and handoff are preserved for the team, not trapped in one developer’s agent session.",status:"senior context · company controlled"}:i.state==="paul-departed"?{title:"The senior developer leaves. The knowledge stays.",lede:"Paul’s access and local MCP are disconnected while his approved project history remains available to authorized teammates.",status:"Paul offboarded · history retained"}:i.state==="search"?{title:"A junior developer and agent continue the work",lede:"Anna’s local MCP retrieves the relevant senior decision while PostgreSQL, object storage, and decryption stay inside the customer boundary.",status:i.searchState==="answer"?"senior context returned to Anna":"Anna is searching retained history"}:{title:"Engineering memory survives team changes",lede:"Approved senior work stays searchable by junior teammates and their agents under customer identity, storage, retention, and network controls.",status:i.key==="enterprise-complete"?"junior engineer continuing · company memory retained":"restarting continuity story"}}function jA(i){return i==="work"?0:i==="preserve"?1:i==="new-device"?2:i==="mcp"||i==="search"?3:4}function TA(i){return i==="paul"?0:["share-click","share-form","share-add","invite-sent","anna-invite","anna-accept","shared-ready"].includes(i)?1:["paul-work","anna-receive","anna-work","paul-receive"].includes(i)?2:["bob-share","bob-form","bob-invite","bob-accept","three-ready","remove-anna","remove-confirm","anna-removed"].includes(i)?3:4}function AA(i){return["paul","shared-ready"].includes(i)?0:["paul-work","anna-receive","anna-work","paul-receive"].includes(i)?1:i==="paul-departed"?2:i==="search"?3:4}function Nu(){return window.location.hash==="#continue-anywhere"?"continue":window.location.hash==="#team-cooperation"?"team":window.location.hash==="#enterprise-boundary"?"enterprise":"memory"}const of=new URLSearchParams(window.location.search).has("embed"),EA=window.matchMedia("(prefers-reduced-motion: reduce)").matches;function MA({mode:i,onChange:s}){return u.jsx("nav",{className:"mode-nav","aria-label":"SealKeep capabilities",children:Object.keys(bo).map(l=>u.jsxs("button",{"data-mode":l,className:i===l?"active":"",onClick:()=>s(l),children:[u.jsx("span",{children:l==="memory"?"▣":l==="continue"?"⇄":l==="team"?"◎":"⬡"}),u.jsxs("span",{children:[u.jsx("b",{children:bo[l].label}),u.jsx("small",{children:bo[l].eyebrow})]})]},l))})}function CA(){const[i,s]=Y.useState(Nu),[l,o]=Y.useState(0),[f,m]=Y.useState(!0),[d,y]=Y.useState(0),v=wn[l%wn.length],p=zu[l%zu.length],g=on[l%on.length],b=wu[l%wu.length],S=i==="memory"?v.duration:i==="continue"?p.duration:i==="team"?g.duration:b.duration,E=i==="memory"?gA(v):i==="continue"?xA(p):i==="team"?bA(g):SA(b),C=i==="memory"?vA(v.scene):i==="continue"?jA(p.state):i==="team"?TA(g.state):AA(b.state),O=bo[i],_=i==="memory"?v.scene==="complete"||v.searchState==="answer":i==="continue"?p.state==="resume":i==="team"?g.state==="complete":b.key==="enterprise-complete",L=i==="memory"&&v.scene==="pressure";Y.useEffect(()=>{if(!of)return;document.documentElement.classList.add("embedded");const U=()=>{s(Nu()),o(0)},q=P=>{var ie;P.source!==window.parent||((ie=P.data)==null?void 0:ie.type)!=="sealkeep-story-control"||(m(P.data.active!==!1),P.data.reset&&(s(Nu()),o(0),y(X=>X+1)))};return window.addEventListener("hashchange",U),window.addEventListener("message",q),window.parent.postMessage({type:"sealkeep-story-ready",mode:i},"*"),()=>{window.removeEventListener("hashchange",U),window.removeEventListener("message",q)}},[]),Y.useEffect(()=>{if(!f)return;const U={memory:wn.length,continue:zu.length,team:on.length,enterprise:wu.length},q=U[i]-2,P=EA?l>=q?1400:120:S,ie=window.setTimeout(()=>{if(of&&l>=q){window.parent.postMessage({type:"sealkeep-story-complete",mode:i},"*");return}o(X=>(X+1)%U[i])},P);return()=>window.clearTimeout(ie)},[S,l,i,f]);const G=U=>{s(U),o(0),window.history.replaceState(null,"",U==="memory"?"#agent-memory":U==="continue"?"#continue-anywhere":U==="team"?"#team-cooperation":"#enterprise-boundary")};return u.jsxs("div",{className:`app-shell ${i==="enterprise"?"enterprise-shell":""}`,children:[i!=="enterprise"&&u.jsxs("aside",{className:"rail",children:[u.jsxs("div",{className:"brand",children:[u.jsx("span",{children:"⌑"}),"SealKeep"]}),u.jsx(MA,{mode:i,onChange:G}),u.jsxs("div",{className:"rail-status",children:[u.jsx("i",{})," ",O.eyebrow]}),u.jsx("nav",{className:"chapter-nav","aria-label":`${O.label} chapters`,children:O.chapters.map((U,q)=>u.jsxs("div",{className:`rail-step ${C===q?"active":""} ${C>q?"done":""}`,children:[u.jsx("span",{children:C>q?"✓":String(q+1).padStart(2,"0")}),u.jsx("b",{children:U})]},U))}),u.jsx("div",{className:"rail-facts",children:O.facts.map(([U,q])=>u.jsxs("p",{children:[u.jsx("b",{children:U}),q]},U))})]}),u.jsxs("main",{className:i==="enterprise"?"enterprise-main":"",children:[i!=="enterprise"&&u.jsxs(u.Fragment,{children:[u.jsxs("header",{className:"page-header",children:[u.jsxs("div",{children:[u.jsx("span",{className:"page-kicker",children:O.label}),u.jsx("h1",{children:E.title}),u.jsx("p",{children:E.lede})]}),u.jsxs("div",{className:`live-status ${L?"warn":_?"ok":""}`,children:[u.jsx("i",{}),u.jsx("span",{children:E.status})]})]}),u.jsxs("div",{className:"boundary",children:[u.jsx("span",{children:i==="team"?"local MCPs":"local computer"}),u.jsx("b",{children:"encrypted before it leaves"}),u.jsx("span",{className:"sealed",children:i==="team"?"shared project storage":"Agent Memory Pool"})]})]}),u.jsx("section",{className:`story-surface mode-${i}`,"aria-live":"polite",children:u.jsxs(Bf,{mode:"wait",children:[i==="memory"&&u.jsxs(ee.div,{className:"mode-scene",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:[(v.scene==="collect"||v.scene==="pressure")&&u.jsx(DA,{frame:v}),v.scene==="install"&&u.jsx(zA,{frame:v}),(v.scene==="preserve"||v.scene==="complete")&&u.jsx(wA,{frame:v}),(v.scene==="search"||v.scene==="reset")&&u.jsx(NA,{frame:v})]},`memory-${v.scene}`),i==="continue"&&u.jsx(RA,{frame:p}),i==="team"&&u.jsx(kA,{frame:g}),i==="enterprise"&&u.jsx(OA,{frame:b,active:f,resetVersion:d})]})}),i!=="enterprise"&&u.jsx("footer",{className:"story-footer",children:O.footer.map(U=>u.jsx("span",{children:U},U))})]})]})}function DA({frame:i}){const s=i.arrived??0,l=i.committed??s,o=Oo(l),f=i.activeSession,m=i.scene==="pressure",d=ln.map((p,g)=>({session:p,index:g})).slice(l,s),v=window.innerWidth<=760?[{x:-92,y:-60},{x:0,y:-105},{x:92,y:-60}]:[{x:-225,y:-72},{x:0,y:-122},{x:225,y:-72}];return u.jsxs(ee.div,{className:"collect-scene",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:[u.jsx(ag,{agentGB:o,pressure:m,focused:!0}),u.jsxs("section",{className:"session-ledger",children:[u.jsxs("div",{className:"panel-title",children:[u.jsx("span",{children:"Finished agent sessions"}),u.jsxs("b",{children:[l,"/10 stored"]})]}),u.jsx("div",{className:"ledger-list",children:ln.map((p,g)=>u.jsxs("div",{className:`ledger-row ${g<l?"landed":g<s?"queued":""}`,children:[u.jsx("i",{children:p.id}),u.jsx("span",{children:p.age}),u.jsxs("b",{children:[p.size," GB"]})]},p.id))})]}),u.jsx(Bf,{children:i.scene==="collect"&&d.map(({session:p,index:g},b)=>{var S,E;return u.jsxs(ee.div,{className:`arrival-token queued ${g===f?"active":""}`,initial:{x:v0[g].x,y:v0[g].y,opacity:0,scale:.82},animate:{x:((S=v[b])==null?void 0:S.x)??0,y:((E=v[b])==null?void 0:E.y)??-72,opacity:1,scale:1},exit:{x:0,y:115,opacity:0,scale:.42},transition:{duration:.82,ease:"easeInOut"},children:[u.jsx(Jt,{size:18}),u.jsxs("div",{children:[u.jsxs("span",{children:["Session ",p.id]}),u.jsxs("b",{children:[p.size," GB · ",p.age]})]})]},`arrival-token-${g}`)})}),m&&u.jsxs(ee.div,{className:"pressure-note",initial:{opacity:0,y:8},animate:{opacity:1,y:0},children:[u.jsx("b",{children:"96% full"}),u.jsx("span",{children:"130 GB is agent history"})]})]})}function ag({agentGB:i,pressure:s=!1,healthy:l=!1,focused:o=!1}){const f=361+i,m=Math.round(f/512*100),d=[["Documents",92,"blue"],["Applications",74,"purple"],["Developer",86,"amber"],["macOS",38,"gray"],["System Data",71,"slate"],["Agent sessions",i,"agent"]];return u.jsxs("section",{className:`storage-window ${s?"pressure":""} ${l?"healthy":""} ${o?"focused":""}`,children:[u.jsxs("div",{className:"window-bar",children:[u.jsxs("span",{className:"traffic",children:[u.jsx("i",{}),u.jsx("i",{}),u.jsx("i",{})]}),u.jsx("b",{children:"Storage"}),u.jsx("span",{children:"Macintosh HD"})]}),u.jsxs("div",{className:"storage-body",children:[u.jsxs("div",{className:"storage-heading",children:[u.jsxs("div",{children:[u.jsx("span",{children:"Macintosh HD · 512 GB"}),u.jsxs("b",{children:[f," GB of 512 GB used"]})]}),u.jsxs("strong",{children:[m,"%"]})]}),u.jsxs("div",{className:"storage-meter",children:[u.jsx("i",{className:"blue",style:{width:"18%"}}),u.jsx("i",{className:"purple",style:{width:"14.5%"}}),u.jsx("i",{className:"amber",style:{width:"16.8%"}}),u.jsx("i",{className:"gray",style:{width:"7.4%"}}),u.jsx("i",{className:"slate",style:{width:"13.9%"}}),u.jsx(ee.i,{className:"agent",animate:{width:`${i/512*100}%`},transition:{duration:.72,ease:"easeOut",delay:.16}}),u.jsx("i",{className:"free"})]}),u.jsx("div",{className:"storage-groups",children:d.map(([y,v,p])=>u.jsxs("div",{className:`storage-group ${p}`,children:[u.jsx("i",{}),u.jsx("span",{children:y}),u.jsxs("b",{children:[v," GB"]})]},String(y)))}),u.jsxs("div",{className:"storage-message",children:[u.jsx("i",{}),u.jsx("span",{children:l?"Healthy · all durable copies verified":s?"Critical · agent sessions hold the only copy":i?"Collecting · agent sessions category growing":"Watching finished sessions automatically"}),u.jsxs("b",{children:[512-f," GB available"]})]})]})]})}function zA({frame:i}){const s=i.installState??"typing";return u.jsxs(ee.div,{className:"install-scene",initial:{opacity:0,scale:.985},animate:{opacity:1,scale:1},exit:{opacity:0},children:[u.jsxs("section",{className:`terminal-window install-terminal focused ${s==="done"?"focus-ok":""}`,children:[u.jsxs("div",{className:"window-bar",children:[u.jsxs("span",{className:"traffic",children:[u.jsx("i",{}),u.jsx("i",{}),u.jsx("i",{})]}),u.jsx("b",{children:"Terminal"}),u.jsx("span",{children:"one-time setup"})]}),u.jsxs("div",{className:"install-body",children:[u.jsxs("div",{className:"command-line",children:[u.jsx("span",{children:"$"}),u.jsx(ee.code,{initial:{clipPath:"inset(0 100% 0 0)"},animate:{clipPath:"inset(0 0% 0 0)"},transition:{duration:1.35,ease:"linear"},children:"npm install sealkeep"})]}),s!=="typing"&&u.jsxs(ee.div,{className:"install-output",initial:{opacity:0},animate:{opacity:1},children:[u.jsx("span",{children:"Installing SealKeep…"}),u.jsxs("span",{children:["Private storage connected ",u.jsx("b",{children:"✓"})]}),u.jsxs("span",{children:["Local agent integration ready ",u.jsx("b",{children:"✓"})]}),u.jsx("div",{className:"install-meter",children:u.jsx(ee.i,{initial:{width:0},animate:{width:s==="done"?"100%":"78%"},transition:{duration:1.5}})})]}),s==="done"&&u.jsxs(ee.div,{className:"install-done",initial:{opacity:0,y:8},animate:{opacity:1,y:0},children:[u.jsx(ot,{size:16}),u.jsxs("span",{children:[u.jsx("b",{children:"SealKeep installed"}),"Automatic memory preservation is active."]})]})]})]}),u.jsxs("div",{className:"install-flow",children:[u.jsx("span",{children:"one setup"}),u.jsx("i",{}),u.jsx("span",{children:"automatic from here"})]})]})}function wA({frame:i}){const s=i.scene==="complete"?10:i.preserved??0,l=i.activeSession??Math.min(s,9),o=130-Oo(s),f=i.pipeline==="batch"?null:i.pipeline,m=(Oo(s)*10/130).toFixed(1),d=i.scene==="complete",y=i.pipeline==="archive",v=["verify","batch"].includes(i.pipeline??""),p=["compress","encrypt"].includes(i.pipeline??"");return u.jsxs(ee.div,{className:"preserve-scene",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:[u.jsxs("div",{className:"preserve-left",children:[u.jsxs("div",{className:`installed-stamp ${d?"ok":""}`,children:[u.jsx(ot,{size:13})," SealKeep installed"]}),u.jsx(ag,{agentGB:o,healthy:d,focused:v||d})]}),u.jsxs("section",{className:`preserve-queue ${i.pipeline==="check"?"focused":""} ${d?"focus-ok":""}`,children:[u.jsxs("div",{className:"panel-title",children:[u.jsx("span",{children:d?"All sessions preserved":"Sessions to preserve"}),u.jsxs("b",{children:[10-s," waiting · ",s," preserved"]})]}),u.jsx("div",{className:"queue-grid",children:ln.map((g,b)=>u.jsxs("div",{className:`queue-row ${b<s?"verified":""} ${!d&&b===l?"active":""}`,children:[u.jsx("i",{children:b<s?"✓":g.id}),u.jsxs("span",{children:["Session ",g.id]}),u.jsxs("b",{children:[g.size," GB"]})]},g.id))})]}),u.jsxs("section",{className:`memory-pool ${y?"focused":""} ${d?"focus-ok":""}`,children:[u.jsx("div",{className:"pool-cloud",children:u.jsx(qs,{size:32})}),u.jsxs("div",{className:"panel-title",children:[u.jsx("span",{children:"Agent Memory Pool"}),u.jsxs("b",{children:[u.jsx(ct,{size:12})," private"]})]}),u.jsx("div",{className:"pool-grid",children:ln.map((g,b)=>u.jsxs("div",{className:`pool-object ${b<s?"stored":""}`,children:[u.jsx(ct,{size:12}),u.jsxs("span",{children:["Session ",g.id]}),u.jsxs("b",{children:[(g.size*10/130).toFixed(1)," GB"]})]},g.id))}),u.jsxs("div",{className:"pool-total",children:[u.jsxs("span",{children:[s," sessions · sealed memory used"]}),u.jsxs("b",{children:["≈",m," GB"]})]})]}),!d&&u.jsxs("section",{className:`pipeline ${p?"focused":""} ${i.pipeline==="batch"?"batching":""}`,children:[u.jsxs("div",{className:"pipeline-head",children:[u.jsx("span",{children:i.pipeline==="batch"?"Preserving automatically":`Session ${ln[l].id} · ${ln[l].size} GB`}),u.jsxs("b",{children:[s,"/10 verified"]})]}),u.jsx("div",{className:"pipeline-stages",children:Du.map((g,b)=>{const E=Du.findIndex(C=>C.id===f)>b||f==="verify"&&b===4;return u.jsxs("div",{className:`pipeline-stage ${f===g.id?"active":""} ${E?"done":""}`,children:[u.jsx("i",{children:E?"✓":g.icon}),u.jsx("span",{children:g.label})]},g.id)})}),u.jsxs("div",{className:"transfer-line",children:[u.jsxs("span",{children:["Session ",ln[l].id]}),u.jsx("div",{children:[0,1,2,3,4].map(g=>u.jsx("i",{className:i.pipeline==="batch"||Du.findIndex(b=>b.id===f)>=g?"lit":""},g))}),u.jsx("b",{children:i.pipeline==="batch"?`quick run · ${l+1}/10`:f})]})]}),!d&&i.pipeline&&u.jsxs(ee.div,{className:"memory-packet",initial:{left:"35%",opacity:0},animate:{left:i.pipeline==="archive"||i.pipeline==="verify"||i.pipeline==="batch"?["35%","66%","84%"]:["35%","52%"],opacity:[0,1,1,0]},transition:{duration:i.pipeline==="batch"?.36:.62,ease:"easeInOut"},children:[u.jsx(ct,{size:12})," Session ",ln[l].id]},`${i.key}-packet`),d&&u.jsxs(ee.div,{className:"complete-message",initial:{opacity:0,y:8},animate:{opacity:1,y:0},children:[u.jsx(sA,{size:20}),u.jsxs("span",{children:[u.jsx("b",{children:"130 GB reclaimed on this Mac"}),"10 verified archives remain searchable."]})]})]})}function NA({frame:i}){const s=i.searchState??"answer",l=["typing","call","route","scan","selected","return","answer"].indexOf(s),o=i.scanIndex??-1,f=s==="typing"||s==="call",m=s==="answer",d=s==="scan",y=s==="selected";return u.jsxs(ee.div,{className:"search-scene",initial:{opacity:0},animate:{opacity:i.scene==="reset"?0:1},exit:{opacity:0},children:[u.jsxs("section",{className:`terminal-window codex-window ${f?"focused":""} ${m?"focus-ok":""}`,children:[u.jsxs("div",{className:"window-bar",children:[u.jsxs("span",{className:"traffic",children:[u.jsx("i",{}),u.jsx("i",{}),u.jsx("i",{})]}),u.jsx("b",{children:"checkout-api — codex — terminal"}),u.jsx("span",{children:"local session"})]}),u.jsxs("div",{className:"codex-body",children:[u.jsxs("div",{className:"codex-output",children:[u.jsxs("div",{className:"prompt",children:[u.jsx("i",{children:"›"}),u.jsx(ee.span,{initial:{clipPath:"inset(0 100% 0 0)"},animate:{clipPath:"inset(0 0% 0 0)"},transition:{duration:2.8,ease:"linear"},children:"Where did I finish the auth retry fix?"},"query")]}),l>=1&&u.jsxs(ee.div,{className:"tool-call",initial:{opacity:0,y:4},animate:{opacity:1,y:0},children:[u.jsx("b",{children:"● Called"}),u.jsxs("code",{children:["└ sealkeep.sealkeep_search(",'{"query":"auth retry fix","project":"checkout-api"}',")"]})]}),l>=6&&u.jsxs(ee.div,{className:"memory-result",initial:{opacity:0,y:8},animate:{opacity:1,y:0},children:[u.jsx("b",{children:"● Memory received"}),u.jsx("strong",{children:"Auth retry decision recovered"}),u.jsx("p",{children:"The refresh rotated the token, but the retry reused the invalidated access token. Re-read auth state before retrying."})]})]}),u.jsxs("div",{className:"codex-status",children:[u.jsx("i",{className:l>=6?"ok":""}),l<1?"user is typing…":l<3?"Codex is calling SealKeep…":l<5?"searching the Agent Memory Pool…":l<6?"returning relevant context…":"memory received · Codex can continue"]}),u.jsx("div",{className:"codex-input",children:"› Ask Codex to do anything"}),u.jsxs("div",{className:"codex-footer",children:[u.jsx("span",{children:"gpt-5.6-sol high · checkout-api"}),u.jsx("span",{children:"SealKeep connected"})]})]})]}),u.jsxs("section",{className:`mcp-node ${s==="route"||s==="return"?"active":""}`,children:[u.jsx("div",{children:u.jsx(ee.span,{animate:{rotate:s==="route"||s==="return"?360:0},transition:{duration:2.4,repeat:s==="route"||s==="return"?1/0:0,ease:"linear"},children:u.jsx(Wt,{size:32})})}),u.jsx("b",{children:"Local MCP"}),u.jsx("small",{children:"inside this Mac"})]}),u.jsxs("section",{className:`search-pool ${d?"focused":""} ${y?"focus-ok":""}`,children:[u.jsx("div",{className:"search-pool-cloud",children:u.jsx(qs,{size:27})}),u.jsxs("div",{className:"panel-title",children:[u.jsx("span",{children:"Agent Memory Pool"}),u.jsxs("b",{children:[u.jsx(ct,{size:12})," private"]})]}),u.jsx("div",{className:"search-pool-count",children:"10 encrypted archives"}),u.jsx("div",{className:"archive-rows",children:ig.map((v,p)=>{const g=l>=4&&v.hit;return u.jsxs("div",{className:`archive-row ${s==="scan"&&o===p?"scanning":""} ${g?"selected":""}`,children:[u.jsx("b",{children:v.age}),u.jsx("span",{children:v.subject}),u.jsx("i",{children:v.size})]},v.age)})})]}),s==="return"&&u.jsxs(ee.div,{className:"return-packet",initial:{left:"82%",top:"48%",opacity:0},animate:{left:["82%","55%","36%"],top:["48%","48%","65%"],opacity:[0,1,1,0]},transition:{duration:2.25,ease:"easeInOut"},children:[u.jsx(Jt,{size:13})," 14-day memory"]})]})}function g0({kind:i,agent:s,title:l,subtitle:o,focused:f=!1,verified:m=!1,dimmed:d=!1,children:y}){return u.jsxs("section",{className:`device-card ${i} ${f?"focused":""} ${m?"focus-ok":""} ${d?"dimmed":""}`,children:[u.jsxs("div",{className:"device-head",children:[u.jsxs("span",{children:[u.jsx(No,{size:15}),l]}),u.jsx("b",{children:s})]}),u.jsxs("div",{className:"device-screen",children:[u.jsxs("div",{className:"device-project",children:[u.jsx("i",{}),o]}),y]}),u.jsxs("div",{className:"device-foot",children:[u.jsx("span",{children:"SealKeep connected"}),u.jsx("span",{children:"same identity"})]})]})}function RA({frame:i}){const l=["work","preserve","new-device","mcp","search","resume","reset"].indexOf(i.state),o=i.state==="reset";return u.jsxs(ee.div,{className:"continue-scene",initial:{opacity:0},animate:{opacity:o?0:1},exit:{opacity:0},children:[u.jsxs(g0,{kind:"work",agent:"CODEX",title:"Work Mac",subtitle:"checkout-api · main",focused:i.state==="work",children:[u.jsxs("div",{className:"session-summary",children:[u.jsx("b",{children:"Session finished"}),u.jsx("p",{children:"Auth retry fix completed"}),u.jsx("span",{children:"Tests pass · decision recorded"})]}),u.jsxs("div",{className:"device-event",children:[u.jsx(ot,{size:13}),u.jsx("span",{children:l<1?"working locally":"handoff preserved"})]})]}),u.jsxs("section",{className:`handoff-pool ${i.state==="preserve"||i.state==="search"?"focused":""}`,children:[u.jsx("div",{className:"handoff-cloud",children:u.jsx(qs,{size:28})}),u.jsxs("div",{className:"panel-title",children:[u.jsx("span",{children:"Agent Memory Pool"}),u.jsxs("b",{children:[u.jsx(ct,{size:12})," private"]})]}),u.jsxs("div",{className:`handoff-object ${l>=1?"stored":""}`,children:[u.jsx(Jt,{size:15}),u.jsxs("div",{children:[u.jsx("b",{children:"checkout-api handoff"}),u.jsx("span",{children:"decisions · progress · constraints"})]}),u.jsx("i",{children:l>=1?"verified":"waiting"})]}),u.jsxs("div",{className:"pool-meta",children:[u.jsx("span",{children:"project-scoped"}),u.jsx("span",{children:"encrypted"})]})]}),u.jsxs(g0,{kind:"home",agent:"CLAUDE",title:"Home PC / VPS",subtitle:"checkout-api · current Git checkout",focused:i.state==="new-device"||i.state==="mcp",verified:i.state==="resume",dimmed:l<2,children:[l<2?u.jsxs("div",{className:"device-empty",children:[u.jsx(No,{size:21}),u.jsx("span",{children:"Another computer"})]}):u.jsxs(u.Fragment,{children:[u.jsxs("div",{className:"claude-prompt",children:[u.jsx("i",{children:"›"}),u.jsx("span",{children:"Continue the auth retry work."})]}),l>=3&&u.jsxs("div",{className:"local-mcp",children:[u.jsx(ee.i,{animate:{rotate:i.state==="mcp"||i.state==="search"?360:0},transition:{duration:1.8,repeat:i.state==="mcp"||i.state==="search"?1/0:0,ease:"linear"},children:u.jsx(Wt,{size:17})}),u.jsxs("span",{children:[u.jsx("b",{children:"Local SealKeep MCP"}),i.state==="mcp"?"requesting project context":l>=4?"verified context received":"ready"]})]}),l>=5&&u.jsxs(ee.div,{className:"context-result",initial:{opacity:0,y:6},animate:{opacity:1,y:0},children:[u.jsxs("b",{children:[u.jsx(ot,{size:12})," Continue from verified memory"]}),u.jsx("span",{children:"Decision · re-read auth state before retrying"}),u.jsx("span",{children:"Progress · retry tests passed on Work Mac"}),u.jsx("span",{children:"Check · verify against the current Git checkout"})]})]}),u.jsxs("div",{className:"device-event",children:[u.jsx("i",{className:i.state==="resume"?"ok":""}),u.jsx("span",{children:l<2?"not connected yet":i.state==="resume"?"ready to continue":"project memory available"})]})]}),i.state==="preserve"&&u.jsxs(ee.div,{className:"handoff-packet outbound",initial:{left:"23%",top:"54%",opacity:0,scale:.88},animate:{left:["23%","39%","50%"],top:["54%","40%","48%"],opacity:[0,1,1,0],scale:[.88,1,1,.7]},transition:{duration:2.5,ease:"easeInOut"},children:[u.jsx(ct,{size:12})," encrypted handoff"]}),i.state==="search"&&u.jsxs(ee.div,{className:"handoff-packet inbound",initial:{left:"50%",top:"52%",opacity:0},animate:{left:["50%","66%","77%"],top:["52%","44%","58%"],opacity:[0,1,1,0]},transition:{duration:2.35,ease:"easeInOut"},children:[u.jsx(zn,{size:12})," relevant context"]}),u.jsxs("div",{className:"continue-note",children:[u.jsx("span",{children:"Source code"}),u.jsx("b",{children:"Git"}),u.jsx("i",{})," ",u.jsx("span",{children:"Agent memory"}),u.jsx("b",{children:"SealKeep"})]})]})}function OA({frame:i,active:s,resetVersion:l}){const[o,f]=Y.useState(0),m=Y.useRef(null),d=zi[o];Y.useEffect(()=>{f(0)},[l]),Y.useEffect(()=>{const p=m.current;if(!of||!p)return;let g=0;const b=()=>{const E=Math.ceil(p.getBoundingClientRect().height);E>0&&E!==g&&(g=E,window.parent.postMessage({type:"sealkeep-story-size",mode:"enterprise",height:E},window.location.origin))},S=new ResizeObserver(b);return S.observe(p),b(),()=>S.disconnect()},[s]);const y=p=>f(p),v=(p,g)=>{var S;const b=p.key==="ArrowRight"?(g+1)%zi.length:p.key==="ArrowLeft"?(g+zi.length-1)%zi.length:p.key==="Home"?0:p.key==="End"?zi.length-1:null;b!==null&&(p.preventDefault(),y(b),(S=document.getElementById(`enterprise-tab-${zi[b].id}`))==null||S.focus())};return u.jsxs(ee.div,{ref:m,className:"enterprise-continuity-scene",initial:!1,animate:{opacity:1},children:[u.jsx("nav",{className:"enterprise-scenario-tabs","aria-label":"Enterprise examples",role:"tablist",children:zi.map((p,g)=>{const b=g===o,S=p.tabIcon;return u.jsxs("button",{id:`enterprise-tab-${p.id}`,type:"button",role:"tab","aria-selected":b,"aria-controls":"enterprise-scenario-panel",tabIndex:b?0:-1,className:b?"is-active":"",onKeyDown:E=>v(E,g),onClick:()=>y(g),children:[u.jsx(S,{size:17}),u.jsx("span",{children:String(g+1).padStart(2,"0")}),u.jsx("b",{children:p.label})]},p.id)})}),u.jsx(Bf,{mode:"wait",initial:!1,children:u.jsxs(ee.div,{id:"enterprise-scenario-panel",className:`enterprise-scenario-panel scenario-${d.id}`,role:"tabpanel","aria-labelledby":`enterprise-tab-${d.id}`,initial:{opacity:0,y:8},animate:{opacity:1,y:0},exit:{opacity:0,y:-6},transition:{duration:.32,ease:"easeOut"},children:[u.jsxs("header",{className:"enterprise-hero-copy",children:[u.jsx("h1",{children:d.title}),u.jsx("p",{children:d.lede})]}),u.jsx("section",{className:"enterprise-story-flow","aria-label":`${d.label} enterprise example`,children:d.stages.map((p,g)=>{var E;const b=p.icon,S=(E=p.note)==null?void 0:E.icon;return u.jsxs("div",{className:"enterprise-flow-group",children:[g>0&&u.jsxs("div",{className:"enterprise-flow-link is-on","aria-hidden":"true",children:[u.jsx("div",{className:"enterprise-flow-track",children:u.jsx("i",{})}),u.jsx("span",{children:d.connectors[g-1]})]}),u.jsxs("article",{className:`enterprise-stage ${g===1?"enterprise-memory":"is-active"}`,children:[u.jsxs("header",{children:[u.jsx("span",{className:"enterprise-stage-icon",children:u.jsx(b,{size:g===1?31:29})}),u.jsx("span",{className:"enterprise-stage-number",children:g+1}),u.jsxs("div",{children:[u.jsx("h2",{children:p.title}),u.jsx("p",{children:p.subtitle})]})]}),u.jsx("div",{className:g===1?"enterprise-memory-list":"enterprise-stage-list",children:p.items.map(C=>{const O=C.icon;return g===1?u.jsxs("div",{children:[u.jsx("span",{children:u.jsx(O,{size:24})}),u.jsxs("div",{children:[u.jsx("b",{children:C.label}),u.jsx("small",{children:"Verified company context"})]}),u.jsx(ot,{size:18})]},C.label):u.jsxs("div",{children:[u.jsx(O,{size:22}),u.jsx("span",{children:C.label})]},C.label)})}),g===1&&u.jsxs("div",{className:"enterprise-memory-foot",children:[u.jsx(zn,{size:17}),u.jsx("span",{children:"Verified company context"}),u.jsx("b",{children:"ready"})]}),p.note&&S&&u.jsxs(ee.div,{className:`enterprise-stage-note is-${p.note.tone??"green"}`,initial:{opacity:0,y:8},animate:{opacity:1,y:0},transition:{delay:.18},children:[u.jsx(S,{size:18}),u.jsxs("span",{children:[u.jsx("b",{children:p.note.title}),p.note.text]})]})]})]},p.title)})}),u.jsxs("footer",{className:`enterprise-security-band ${i.key==="enterprise-complete"?"is-complete":""}`,children:[u.jsxs("div",{className:"enterprise-security-lead",children:[u.jsx("span",{children:u.jsx(zn,{size:30})}),u.jsxs("div",{children:[u.jsx("b",{children:d.security.title}),u.jsx("small",{children:d.security.detail})]})]}),d.security.proofs.map(p=>{const g=p.icon;return u.jsxs("div",{className:"enterprise-security-proof",children:[u.jsx(g,{size:24}),u.jsxs("span",{children:[u.jsx("b",{children:p.title}),u.jsx("small",{children:p.detail})]})]},p.title)})]})]},d.id)})]})}const sg={paul:{name:"Paul",tui:"Codex",provider:"OPENAI",query:"What did Anna decide about webhook retries?",answer:"Anna: retry only after signature validation.",target:2},anna:{name:"Anna",tui:"Claude Code",provider:"ANTHROPIC",query:"What changed in the auth retry flow?",answer:"Paul: added exponential backoff for expired tokens.",target:1},bob:{name:"Bob",tui:"Codex",provider:"OPENAI",query:"What retry decisions were already made?",answer:"Paul added backoff; Anna required signature validation.",target:2}};function VA({phase:i,person:s}){const l=sg[s],o=["typing","call","scan","selected","return","answer"].indexOf(i);return u.jsxs("div",{className:"team-search-console",children:[u.jsxs("div",{className:"team-search-project",children:[u.jsx("i",{})," Cowork-Project · shared"]}),u.jsxs("div",{className:"team-search-prompt",children:[u.jsx("i",{children:"›"}),u.jsx(ee.span,{initial:{clipPath:"inset(0 100% 0 0)"},animate:{clipPath:"inset(0 0% 0 0)"},transition:{duration:i==="typing"?1.85:.01,ease:"linear"},children:l.query})]}),o>=1&&u.jsxs("div",{className:"team-search-call",children:[u.jsx("b",{children:"● Called"}),u.jsxs("code",{children:["└ sealkeep.search(",'{"project":"cowork-project"}',")"]})]}),o>=1&&i!=="answer"&&u.jsxs("div",{className:"team-search-mcp",children:[u.jsx(ee.i,{animate:{rotate:360},transition:{duration:1.55,repeat:1/0,ease:"linear"},children:u.jsx(Wt,{size:16})}),u.jsxs("span",{children:[u.jsx("b",{children:"Local SealKeep MCP"}),i==="return"?"receiving the selected memory":"searching shared project memory…"]})]}),i==="answer"&&u.jsxs(ee.div,{className:"team-search-answer",initial:{opacity:0,y:6},animate:{opacity:1,y:0},children:[u.jsx(ot,{size:13}),u.jsxs("span",{children:[u.jsx("b",{children:"Memory received"}),l.answer]})]})]})}function _A({frame:i}){const s=["share-click","share-form","share-add","invite-sent"].includes(i.state),l=["share-form","share-add","invite-sent"].includes(i.state),o=i.state==="invite-sent";return u.jsxs("div",{className:"paul-cloud",children:[u.jsx("div",{className:"paul-pool-cloud",children:u.jsx(qs,{size:24})}),u.jsxs("div",{className:"paul-cloud-head",children:[u.jsxs("span",{children:[u.jsx("b",{children:"Agent Memory Pool"}),u.jsx("small",{children:"Paul · 2 projects"})]}),u.jsxs("small",{children:[u.jsx(ct,{size:11})," private"]})]}),u.jsxs("div",{className:"project-list",children:[u.jsxs("div",{className:"project-row",children:[u.jsxs("span",{children:[u.jsx(sf,{size:14}),u.jsx("b",{children:"Personal"}),u.jsx("small",{children:"Only Paul"})]}),u.jsxs("button",{children:[u.jsx(Ns,{size:11})," Share"]})]}),u.jsxs("div",{className:`project-row cowork ${s?"chosen":""}`,children:[u.jsxs("span",{children:[u.jsx(sf,{size:14}),u.jsx("b",{children:"Cowork-Project"}),u.jsx("small",{children:o?"Invitation pending":"Only Paul"})]}),u.jsxs("button",{className:i.state==="share-click"?"clicked":"",children:[u.jsx(Ns,{size:11})," Share"]}),i.state==="share-click"&&u.jsx(ee.i,{className:"click-cursor",initial:{x:18,y:18,opacity:0},animate:{x:0,y:0,opacity:[0,1,1,0],scale:[1,1,.72,.72]},transition:{duration:1.2,ease:"easeOut"}})]})]}),l&&u.jsxs(ee.div,{className:"share-project-form",initial:{opacity:0,y:8},animate:{opacity:1,y:0},children:[u.jsxs("div",{children:[u.jsx(YT,{size:13}),u.jsxs("span",{children:[u.jsx("b",{children:"Invite to Cowork-Project"}),u.jsx("small",{children:"Email address or access key"})]})]}),u.jsxs("div",{className:"share-entry",children:[u.jsx("span",{children:i.state==="share-form"?u.jsx(ee.i,{initial:{clipPath:"inset(0 100% 0 0)"},animate:{clipPath:"inset(0 0% 0 0)"},transition:{duration:2.15,ease:"linear"},children:"anna@northstar.dev"}):u.jsx("i",{children:"anna@northstar.dev"})}),u.jsx("button",{className:o?"sent":i.state==="share-add"?"adding":"",children:o?u.jsxs(u.Fragment,{children:[u.jsx(ot,{size:12})," Sent"]}):u.jsxs(u.Fragment,{children:[u.jsx(Oi,{size:12})," Add"]})})]}),u.jsx("small",{children:"Access: read · write · search shared memory"}),i.state==="share-add"&&u.jsx(ee.i,{className:"share-add-cursor",initial:{x:18,y:16,opacity:0},animate:{x:0,y:0,opacity:[0,1,1,0],scale:[1,1,.7,.7]},transition:{duration:1.05,ease:"easeOut"}})]})]})}function BA({person:i,frame:s}){const l=s.state==="search"&&s.searchPerson===i&&s.searchState,o=i==="paul"&&(s.state==="anna-invite"||s.state==="anna-accept"),f=i==="anna"&&s.state==="anna-removed"||i==="anna"&&(s.state==="search"||s.state==="complete"),m=i==="paul"&&s.state==="paul-work",d=i==="anna"&&s.state==="anna-work",y=i==="anna"&&s.state==="anna-receive"||i==="paul"&&s.state==="paul-receive",v=i==="anna"?"Paul":"Anna",p=i==="anna"?"Added exponential backoff for expired tokens.":"Retry webhooks only after signature validation.";return l?u.jsx(VA,{phase:s.searchState,person:i}):f?u.jsxs("div",{className:"team-agent-body removed",children:[u.jsxs("div",{className:"team-agent-project",children:[u.jsx("i",{})," Cowork-Project · no access"]}),u.jsxs("div",{className:"team-access-removed",children:[u.jsx($t,{size:19}),u.jsx("b",{children:"Access removed"}),u.jsx("span",{children:"This MCP is disconnected from Cowork-Project."}),u.jsx("small",{children:"Anna’s Personal memory is unchanged"})]})]}):o?u.jsxs("div",{className:"team-agent-body pending",children:[u.jsxs("div",{className:"team-agent-project",children:[u.jsx("i",{})," Cowork-Project · private"]}),u.jsxs("div",{className:"team-pending-invite",children:[u.jsx(Ro,{size:18}),u.jsx("b",{children:"Invitation pending"}),u.jsx("span",{children:"Waiting for Anna to accept."}),u.jsx("small",{children:"Personal remains private"})]})]}):u.jsxs("div",{className:"team-agent-body",children:[u.jsxs("div",{className:"team-agent-project",children:[u.jsx("i",{})," Cowork-Project · shared"]}),m||d?u.jsxs(u.Fragment,{children:[u.jsxs("div",{className:"team-agent-prompt",children:[u.jsx("i",{children:"›"}),u.jsx(ee.span,{initial:{clipPath:"inset(0 100% 0 0)"},animate:{clipPath:"inset(0 0% 0 0)"},transition:{duration:1.7,ease:"linear"},children:m?"Add exponential backoff to auth retries.":"Retry webhook only after signature validation."})]}),u.jsxs("div",{className:"team-agent-working",children:[u.jsx(ee.i,{animate:{rotate:360},transition:{duration:1.5,repeat:1/0,ease:"linear"},children:u.jsx(Wt,{size:14})}),u.jsxs("span",{children:[u.jsxs("b",{children:[i==="anna"?"Claude Code":"Codex"," working"]}),"useful decision will be preserved"]})]})]}):y?u.jsxs(ee.div,{className:"team-incoming-update",initial:{opacity:0,y:8},animate:{opacity:1,y:0},children:[u.jsxs("div",{children:[u.jsx(ot,{size:13}),u.jsxs("b",{children:["New shared memory from ",v]})]}),u.jsx("p",{children:p}),u.jsx("small",{children:"Available to this agent now"})]}):u.jsxs("div",{className:"team-connected-state",children:[u.jsx(ii,{size:19}),u.jsx("b",{children:"Shared memory connected"}),u.jsx("span",{children:"Authorized project updates appear here."})]})]})}function Ru({person:i,agent:s,provider:l,frame:o,centered:f=!1,invitation:m=!1,stacked:d=!1,removed:y=!1,departed:v=!1,role:p}){const g=i==="paul"?"Paul":i==="anna"?"Anna":"Bob",b=o.state==="search"&&o.searchPerson===i,S=i==="anna"?o.state==="anna-invite"||o.state==="anna-accept":i==="bob"&&(o.state==="bob-invite"||o.state==="bob-accept"),E=i==="anna"?o.state==="anna-accept":i==="bob"&&o.state==="bob-accept",C=i==="paul"?["paul","share-click","share-form","share-add","invite-sent","paul-work","paul-receive","bob-share","bob-form","remove-anna","remove-confirm"].includes(o.state)||b:i==="anna"?["anna-invite","anna-accept","anna-work","anna-receive","anna-removed"].includes(o.state):["bob-invite","bob-accept"].includes(o.state)||b,O=E||b&&o.searchState==="answer"||i==="anna"&&o.state==="anna-receive"||i==="paul"&&o.state==="paul-receive",_=y||v;return u.jsxs(ee.section,{className:`team-member-space ${i} ${f?"centered":""} ${d?"stacked":""} ${_?"access-revoked":""} ${C&&!v?"focused":""} ${O?"focus-ok":""}`,initial:{opacity:i==="paul"?1:0},animate:{opacity:_?.58:1},transition:{duration:.7,ease:"easeOut"},children:[u.jsxs("div",{className:"device-head",children:[u.jsxs("span",{children:[u.jsx(lf,{size:14}),g,p?` · ${p}`:` · ${s}`]}),u.jsx("b",{children:p?s:l})]}),u.jsx("div",{className:"team-member-screen",children:v?u.jsxs("div",{className:"team-agent-body removed",children:[u.jsxs("div",{className:"team-agent-project",children:[u.jsx("i",{})," Cowork-Project · no access"]}),u.jsxs("div",{className:"team-access-removed",children:[u.jsx($t,{size:19}),u.jsx("b",{children:"Developer offboarded"}),u.jsx("span",{children:"Paul’s local MCP is disconnected."}),u.jsx("small",{children:"Approved project history remains company memory"})]})]}):i==="paul"&&f?u.jsx(_A,{frame:o}):m?u.jsxs("div",{className:"project-invitation",children:[u.jsx("div",{className:"invite-icon",children:u.jsx(Ro,{size:22})}),u.jsxs("span",{children:[u.jsx("small",{children:"PROJECT INVITATION FROM PAUL"}),u.jsx("b",{children:"Join Cowork-Project?"}),u.jsx("p",{children:"Share preserved agent memory with Paul. Personal projects stay private."})]}),u.jsxs("div",{className:"invite-actions",children:[u.jsxs("button",{className:E?"accepting":"",children:[u.jsx(ot,{size:12})," Accept"]}),u.jsxs("button",{children:[u.jsx(Rs,{size:12})," Decline"]})]}),E&&u.jsx(ee.i,{className:"accept-cursor",initial:{x:22,y:16,opacity:0},animate:{x:0,y:0,opacity:[0,1,1,0],scale:[1,1,.7,.7]},transition:{duration:1.5,ease:"easeOut"}})]}):u.jsx(BA,{person:i,frame:o})}),u.jsxs("div",{className:`member-mcp-bay ${_?"disconnected":""}`,children:[u.jsx(ee.i,{animate:{rotate:C&&!f&&!_?360:0},transition:{duration:2,repeat:C&&!f&&!_?1/0:0,ease:"linear"},children:_?u.jsx(Rs,{size:13}):u.jsx(Wt,{size:13})}),u.jsxs("span",{children:[u.jsx("b",{children:"Local MCP"}),v?"disconnected · employee access removed":y?"disconnected · access revoked":f?"connected to Paul’s cloud":S?"waiting for project access":"connected to Cowork-Project"]})]})]})}function UA({frame:i}){const s=["bob-share","bob-form","bob-invite"].includes(i.state);return i.state==="remove-confirm"?u.jsxs(ee.div,{className:"remove-confirmation",initial:{opacity:0,y:7},animate:{opacity:1,y:0},children:[u.jsx($t,{size:23}),u.jsx("b",{children:"Remove Anna?"}),u.jsx("p",{children:"Anna will immediately lose read, write, and search access to Cowork-Project."}),u.jsxs("div",{children:[u.jsx("button",{children:"Cancel"}),u.jsxs("button",{className:"danger",children:[u.jsx($t,{size:11})," Remove access"]})]})]}):u.jsxs("div",{className:"project-member-manager",children:[u.jsxs("div",{className:"member-manager-head",children:[u.jsx(ii,{size:13}),u.jsxs("span",{children:[u.jsx("b",{children:"Project members"}),u.jsx("small",{children:"Owner controls Cowork-Project access"})]}),s&&u.jsxs("button",{className:i.state==="bob-share"?"clicked":"",children:[u.jsx(Oi,{size:11})," Add member"]})]}),s&&i.state!=="bob-share"?u.jsxs(ee.div,{className:"bob-invite-form",initial:{opacity:0,y:6},animate:{opacity:1,y:0},children:[u.jsx("label",{children:"Email address or access key"}),u.jsxs("div",{children:[u.jsx("span",{children:i.state==="bob-form"?u.jsx(ee.i,{initial:{clipPath:"inset(0 100% 0 0)"},animate:{clipPath:"inset(0 0% 0 0)"},transition:{duration:1.9,ease:"linear"},children:"bob@northstar.dev"}):u.jsx("i",{children:"bob@northstar.dev"})}),u.jsx("button",{className:i.state==="bob-invite"?"sent":"",children:i.state==="bob-invite"?u.jsxs(u.Fragment,{children:[u.jsx(ot,{size:11})," Sent"]}):u.jsxs(u.Fragment,{children:[u.jsx(Oi,{size:11})," Invite"]})})]}),u.jsx("small",{children:"Read · write · search Cowork-Project memory"})]}):u.jsxs("div",{className:"project-member-list",children:[u.jsxs("div",{children:[u.jsx("i",{children:"P"}),u.jsxs("span",{children:[u.jsx("b",{children:"Paul"}),u.jsx("small",{children:"Owner · Codex"})]}),u.jsx("em",{children:"owner"})]}),u.jsxs("div",{className:i.state==="remove-anna"?"removing":"",children:[u.jsx("i",{children:"A"}),u.jsxs("span",{children:[u.jsx("b",{children:"Anna"}),u.jsx("small",{children:"Member · Claude Code"})]}),i.state==="remove-anna"?u.jsxs("button",{children:[u.jsx($t,{size:11})," Remove"]}):u.jsx("em",{children:"member"})]}),!s&&u.jsxs("div",{children:[u.jsx("i",{children:"B"}),u.jsxs("span",{children:[u.jsx("b",{children:"Bob"}),u.jsx("small",{children:"Member · Codex"})]}),u.jsx("em",{children:"member"})]})]})]})}function kA({frame:i,enterprise:s=!1}){const o=["paul","share-click","share-form","share-add","invite-sent","anna-invite","anna-accept","shared-ready","paul-work","anna-receive","anna-work","paul-receive","bob-share","bob-form","bob-invite","bob-accept","three-ready","remove-anna","remove-confirm","anna-removed","paul-departed","search","complete","reset"].indexOf(i.state),f=o<5,m=o>=5,d=!s&&o>=14,y=i.state==="anna-invite"||i.state==="anna-accept",v=i.state==="bob-invite"||i.state==="bob-accept",p=o>=7,g=!s&&o>=15,b=!s&&o>=19,S=s&&["paul-departed","search","complete"].includes(i.state),E=d,C=["bob-share","bob-form","bob-invite","remove-anna","remove-confirm"].includes(i.state),O=o>=8,_=o>=10,L=["selected","return","answer"].includes(i.searchState??""),G=i.searchPerson?sg[i.searchPerson].target:-1,U=(ie,X)=>`${X?"ready":""} ${i.searchState==="scan"&&i.scanIndex===ie?"scanning":""} ${L&&G===ie?"selected":""}`,q=i.state==="reset",P=S?"Anna":b?"Paul + Bob":g?"Paul + Anna + Bob":"Paul + Anna";return u.jsxs(ee.div,{className:`team-cloud-scene ${f?"paul-only":""} ${d?"has-bob":""}`,initial:{opacity:0},animate:{opacity:q?0:1},exit:{opacity:0},children:[u.jsx(Ru,{person:"paul",agent:"Codex",provider:"OPENAI",frame:i,centered:f,departed:S,role:s?"Senior engineer":void 0}),m&&u.jsx(Ru,{person:"anna",agent:"Claude Code",provider:"ANTHROPIC",frame:i,invitation:y,stacked:E,removed:b,role:s?"Junior engineer":void 0}),d&&u.jsx(Ru,{person:"bob",agent:"Codex",provider:"OPENAI",frame:i,invitation:v,stacked:!0}),i.state==="anna-invite"&&u.jsxs(ee.div,{className:"team-invite-packet",initial:{left:"31%",opacity:0,scale:.86},animate:{left:["31%","50%","70%"],opacity:[0,1,1,0],scale:[.86,1,1,.8]},transition:{duration:2.7,ease:"easeInOut"},children:[u.jsx(Ro,{size:13}),u.jsxs("span",{children:[u.jsx("b",{children:"Cowork-Project invitation"}),"anna@northstar.dev"]})]}),i.state==="anna-accept"&&u.jsxs(ee.div,{className:"team-accept-packet",initial:{left:"77%",opacity:0},animate:{left:["77%","62%","50%"],opacity:[0,1,1,0]},transition:{duration:1.8,ease:"easeInOut"},children:[u.jsx(ot,{size:12})," Anna accepted"]}),i.state==="bob-invite"&&u.jsxs(ee.div,{className:"team-invite-packet bob",initial:{left:"50%",top:"50%",opacity:0,scale:.86},animate:{left:["50%","63%","76%"],top:["50%","62%","74%"],opacity:[0,1,1,0],scale:[.86,1,1,.8]},transition:{duration:2.35,ease:"easeInOut"},children:[u.jsx(Ro,{size:13}),u.jsxs("span",{children:[u.jsx("b",{children:"Cowork-Project invitation"}),"bob@northstar.dev"]})]}),i.state==="bob-accept"&&u.jsxs(ee.div,{className:"team-accept-packet bob",initial:{left:"77%",top:"74%",opacity:0},animate:{left:["77%","64%","51%"],top:["74%","63%","54%"],opacity:[0,1,1,0]},transition:{duration:1.8,ease:"easeInOut"},children:[u.jsx(ot,{size:12})," Bob accepted"]}),p&&u.jsxs(u.Fragment,{children:[!S&&u.jsx("div",{className:"team-mcp-wire paul",children:u.jsx(ee.i,{animate:{x:["0%","78%"],opacity:[.2,1,.2]},transition:{duration:1.8,repeat:1/0,ease:"linear"}})}),!b&&u.jsx("div",{className:`team-mcp-wire anna ${E?"stacked":""}`,children:u.jsx(ee.i,{animate:{x:["78%","0%"],opacity:[.2,1,.2]},transition:{duration:1.8,repeat:1/0,ease:"linear"}})}),g&&u.jsx("div",{className:"team-mcp-wire bob",children:u.jsx(ee.i,{animate:{x:["0%","78%"],opacity:[.2,1,.2]},transition:{duration:1.8,repeat:1/0,ease:"linear"}})}),u.jsxs(ee.section,{className:`shared-project-store ${i.searchState==="scan"||i.searchState==="selected"?"focused":""} ${i.state==="complete"?"focus-ok":""}`,initial:{opacity:0},animate:{opacity:1},transition:{duration:.65,ease:"easeOut"},children:[u.jsx("div",{className:"shared-pool-cloud",children:u.jsx(qs,{size:24})}),u.jsxs("div",{className:"shared-project-head",children:[u.jsxs("span",{children:[u.jsx("b",{children:"Agent Memory Pool"}),u.jsx("small",{children:"Cowork-Project"})]}),u.jsxs("i",{children:[u.jsx(ct,{size:10}),i.searchState==="scan"?"searching":L?"1 result":C?"manage access":"project members"]})]}),u.jsxs("div",{className:"shared-project-members",children:[!S&&u.jsx("span",{children:"P"}),!b&&u.jsx("span",{children:"A"}),g&&u.jsx("span",{children:"B"}),u.jsx("b",{children:P}),u.jsx("small",{children:S?"1 active · senior history retained":b?"2 active members":g?"3 members":"2 members"})]}),C?u.jsx(UA,{frame:i}):u.jsxs("div",{className:`shared-project-rows ${L?"resolved":""}`,children:[u.jsxs("div",{className:U(0,!0),children:[u.jsx("i",{children:u.jsx(ot,{size:10})}),u.jsxs("span",{children:[u.jsx("b",{children:"Project access history"}),u.jsx("small",{children:S?"Paul offboarded · Anna active":b?"Anna removed · Bob active":"Membership verified"})]})]}),u.jsxs("div",{className:U(1,O),children:[u.jsx("i",{children:"P"}),u.jsxs("span",{children:[u.jsx("b",{children:"Auth retry backoff"}),u.jsx("small",{children:S?"Paul · retained senior decision":"Paul · Codex"})]})]}),u.jsxs("div",{className:U(2,_),children:[u.jsx("i",{children:"A"}),u.jsxs("span",{children:[u.jsx("b",{children:"Webhook signature rule"}),u.jsx("small",{children:b?"Anna · recorded while a member":"Anna · Claude Code"})]})]})]}),u.jsxs("div",{className:"shared-project-foot",children:[u.jsx(ct,{size:11}),u.jsxs("span",{children:[u.jsx("b",{children:S?"Current access: Anna":b?"Current access: Paul + Bob":"Shared only with project members"}),S?"Paul’s approved history remains":b?"Anna’s MCP is disconnected":"Personal memories remain separate"]})]})]})]}),i.state==="paul-work"&&u.jsxs(ee.div,{className:"team-flow-packet from-paul",initial:{left:"29%",opacity:0},animate:{left:["29%","38%","47%"],opacity:[0,1,1,0]},transition:{duration:2.2,ease:"easeInOut"},children:[u.jsx(Jt,{size:12})," auth retry decision"]}),i.state==="anna-receive"&&u.jsxs(ee.div,{className:"team-flow-packet to-anna",initial:{left:"53%",opacity:0},animate:{left:["53%","63%","72%"],opacity:[0,1,1,0]},transition:{duration:1.7,ease:"easeInOut"},children:[u.jsx(zn,{size:12})," update from Paul"]}),i.state==="anna-work"&&u.jsxs(ee.div,{className:"team-flow-packet from-anna",initial:{left:"71%",opacity:0},animate:{left:["71%","62%","53%"],opacity:[0,1,1,0]},transition:{duration:2.2,ease:"easeInOut"},children:[u.jsx(Jt,{size:12})," webhook constraint"]}),i.state==="paul-receive"&&u.jsxs(ee.div,{className:"team-flow-packet to-paul",initial:{left:"47%",opacity:0},animate:{left:["47%","37%","28%"],opacity:[0,1,1,0]},transition:{duration:1.7,ease:"easeInOut"},children:[u.jsx(zn,{size:12})," update from Anna"]}),i.state==="anna-removed"&&u.jsxs(ee.div,{className:"access-revoked-packet",initial:{left:"51%",top:"50%",opacity:0},animate:{left:["51%","64%","76%"],top:["50%","42%","31%"],opacity:[0,1,1,0]},transition:{duration:2.3,ease:"easeInOut"},children:[u.jsx($t,{size:12})," Anna access revoked"]}),s&&i.state==="paul-departed"&&u.jsxs(ee.div,{className:"enterprise-departure-packet",initial:{left:"28%",top:"42%",opacity:0,scale:.9},animate:{left:["28%","39%","50%"],top:["42%","46%","50%"],opacity:[0,1,1,0],scale:[.9,1,1,.86]},transition:{duration:2.8,ease:"easeInOut"},children:[u.jsx($t,{size:12}),u.jsxs("span",{children:[u.jsx("b",{children:"Senior engineer offboarded"}),"Access removed · approved history retained"]})]}),i.state==="search"&&i.searchState==="call"&&i.searchPerson&&u.jsxs(ee.div,{className:"team-flow-packet search-request",initial:{left:i.searchPerson==="paul"?"29%":"73%",top:i.searchPerson==="bob"?"79%":"59%",opacity:0},animate:{left:i.searchPerson==="paul"?["29%","38%","47%"]:["73%","63%","53%"],top:i.searchPerson==="bob"?["79%","69%","59%"]:["59%","59%","59%"],opacity:[0,1,1,0]},transition:{duration:.7,ease:"easeInOut"},children:[u.jsx(Wt,{size:12})," search request"]}),i.searchState==="return"&&i.searchPerson&&u.jsxs(ee.div,{className:"team-flow-packet search-result",initial:{left:"50%",top:"59%",opacity:0},animate:{left:i.searchPerson==="paul"?["50%","38%","27%"]:["50%","62%","74%"],top:i.searchPerson==="bob"?["59%","69%","80%"]:["59%","59%","59%"],opacity:[0,1,1,0]},transition:{duration:1.55,ease:"easeInOut"},children:[u.jsx(zn,{size:12})," relevant memory"]}),u.jsx("div",{className:"team-cloud-legend",children:s?u.jsxs(u.Fragment,{children:[u.jsxs("span",{children:[u.jsx(Jt,{size:10})," Senior history retained"]}),u.jsx("i",{}),u.jsxs("span",{children:[u.jsx(Wt,{size:10})," Junior + agent continue"]}),u.jsx("i",{}),u.jsxs("span",{children:[u.jsx($t,{size:10})," Former access removed"]})]}):u.jsxs(u.Fragment,{children:[u.jsxs("span",{children:[u.jsx(ct,{size:10})," Personal stays private"]}),u.jsx("i",{}),u.jsxs("span",{children:[u.jsx(Wt,{size:10})," Paul + Bob connected"]}),u.jsx("i",{}),u.jsxs("span",{children:[u.jsx($t,{size:10})," Anna disconnected"]})]})})]})}kx.createRoot(document.getElementById("root")).render(u.jsx(Y.StrictMode,{children:u.jsx(CA,{})}));
|