@kw-yeh/vibeflow 4.11.27 → 4.11.29

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/dist/vibeflow.mjs CHANGED
@@ -7312,7 +7312,7 @@ function createCore({ sessions, bus, version, homeDir, ghRunner, githubAuthStatu
7312
7312
  const p = obj(payload, "payload");
7313
7313
  const key = str(p.sessionKey, "sessionKey");
7314
7314
  if (!STANDALONE_KEY.test(key)) invalid("invalid standalone terminal key");
7315
- if (Boolean(p.taskId) === Boolean(p.projectPath)) invalid("provide taskId or projectPath");
7315
+ if (p.taskId && p.projectPath) invalid("provide taskId or projectPath, not both");
7316
7316
  const saved = listTerminals().find((t) => t.sessionKey === key);
7317
7317
  if (saved && (saved.taskId ? saved.taskId !== p.taskId : saved.projectPath !== p.projectPath)) {
7318
7318
  invalid("terminal key already belongs to another directory");
@@ -7325,17 +7325,24 @@ function createCore({ sessions, bus, version, homeDir, ghRunner, githubAuthStatu
7325
7325
  const task = column === "in_progress" && !requested.worktreePath ? await ensureProvisioned(requested) : requested;
7326
7326
  cwd = str(column === "backlog" ? task.projectPath : task.worktreePath ?? task.projectPath, "directory");
7327
7327
  projectPath = task.projectPath ?? cwd;
7328
- } else {
7328
+ } else if (p.projectPath) {
7329
7329
  cwd = str(p.projectPath, "projectPath");
7330
7330
  projectPath = cwd;
7331
+ } else {
7332
+ cwd = os7.homedir();
7331
7333
  }
7332
7334
  if (!path23.isAbsolute(cwd) || !fs20.existsSync(cwd) || !fs20.statSync(cwd).isDirectory()) {
7333
7335
  invalid("terminal directory must be an existing absolute directory");
7334
7336
  }
7335
- const title = (typeof p.title === "string" ? p.title.trim() : "") || saved?.title || path23.basename(projectPath);
7336
- saveTerminal({ sessionKey: key, title, projectPath, ...p.taskId ? { taskId: p.taskId } : {} });
7337
+ const title = (typeof p.title === "string" ? p.title.trim() : "") || saved?.title || (projectPath ? path23.basename(projectPath) : "~");
7338
+ saveTerminal({
7339
+ sessionKey: key,
7340
+ title,
7341
+ ...projectPath ? { projectPath } : {},
7342
+ ...p.taskId ? { taskId: p.taskId } : {}
7343
+ });
7337
7344
  standaloneTerminals.set(key, cwd);
7338
- if (!p.taskId) recordRecentProject(getStore(), cwd);
7345
+ if (!p.taskId && projectPath) recordRecentProject(getStore(), cwd);
7339
7346
  const cols = typeof p.cols === "number" ? p.cols : void 0;
7340
7347
  const rows = typeof p.rows === "number" ? p.rows : void 0;
7341
7348
  if (sessions.kind === "pty" && await sessions.isAlive(key)) {
@@ -1 +1 @@
1
- <!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><link rel="icon" href="/favicon.ico" sizes="any" data-next-head=""/><link rel="icon" href="/logo.svg" type="image/svg+xml" data-next-head=""/><link rel="apple-touch-icon" href="/apple-touch-icon.png" data-next-head=""/><link rel="manifest" href="/manifest.webmanifest" data-next-head=""/><meta name="theme-color" content="#0d1117" data-next-head=""/><title data-next-head="">404: This page could not be found</title><link rel="preload" href="/_next/static/css/dd7d4bb5bd7a55bc.css" as="style"/><link rel="stylesheet" href="/_next/static/css/dd7d4bb5bd7a55bc.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-ff65c2dfd3b8195c.js" defer=""></script><script src="/_next/static/chunks/framework-b92a367cf1ad4bf7.js" defer=""></script><script src="/_next/static/chunks/main-ec7fd4c371d06729.js" defer=""></script><script src="/_next/static/chunks/pages/_app-401e9322101b6533.js" defer=""></script><script src="/_next/static/chunks/pages/_error-8f65b0f8749f42d2.js" defer=""></script><script src="/_next/static/A9NE3A55BbWa2R45kyWIn/_buildManifest.js" defer=""></script><script src="/_next/static/A9NE3A55BbWa2R45kyWIn/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">This page could not be found<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"A9NE3A55BbWa2R45kyWIn","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><link rel="icon" href="/favicon.ico" sizes="any" data-next-head=""/><link rel="icon" href="/logo.svg" type="image/svg+xml" data-next-head=""/><link rel="apple-touch-icon" href="/apple-touch-icon.png" data-next-head=""/><link rel="manifest" href="/manifest.webmanifest" data-next-head=""/><meta name="theme-color" content="#0d1117" data-next-head=""/><title data-next-head="">404: This page could not be found</title><link rel="preload" href="/_next/static/css/517bd79243800caf.css" as="style"/><link rel="stylesheet" href="/_next/static/css/517bd79243800caf.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-30f420d055cbcd0c.js" defer=""></script><script src="/_next/static/chunks/framework-b92a367cf1ad4bf7.js" defer=""></script><script src="/_next/static/chunks/main-ec7fd4c371d06729.js" defer=""></script><script src="/_next/static/chunks/pages/_app-401e9322101b6533.js" defer=""></script><script src="/_next/static/chunks/pages/_error-8f65b0f8749f42d2.js" defer=""></script><script src="/_next/static/rb9awHxbd75L3Vz0R-TtG/_buildManifest.js" defer=""></script><script src="/_next/static/rb9awHxbd75L3Vz0R-TtG/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">This page could not be found<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"rb9awHxbd75L3Vz0R-TtG","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
package/dist/web/404.html CHANGED
@@ -1 +1 @@
1
- <!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><link rel="icon" href="/favicon.ico" sizes="any" data-next-head=""/><link rel="icon" href="/logo.svg" type="image/svg+xml" data-next-head=""/><link rel="apple-touch-icon" href="/apple-touch-icon.png" data-next-head=""/><link rel="manifest" href="/manifest.webmanifest" data-next-head=""/><meta name="theme-color" content="#0d1117" data-next-head=""/><title data-next-head="">404: This page could not be found</title><link rel="preload" href="/_next/static/css/dd7d4bb5bd7a55bc.css" as="style"/><link rel="stylesheet" href="/_next/static/css/dd7d4bb5bd7a55bc.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-ff65c2dfd3b8195c.js" defer=""></script><script src="/_next/static/chunks/framework-b92a367cf1ad4bf7.js" defer=""></script><script src="/_next/static/chunks/main-ec7fd4c371d06729.js" defer=""></script><script src="/_next/static/chunks/pages/_app-401e9322101b6533.js" defer=""></script><script src="/_next/static/chunks/pages/_error-8f65b0f8749f42d2.js" defer=""></script><script src="/_next/static/A9NE3A55BbWa2R45kyWIn/_buildManifest.js" defer=""></script><script src="/_next/static/A9NE3A55BbWa2R45kyWIn/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">This page could not be found<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"A9NE3A55BbWa2R45kyWIn","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><link rel="icon" href="/favicon.ico" sizes="any" data-next-head=""/><link rel="icon" href="/logo.svg" type="image/svg+xml" data-next-head=""/><link rel="apple-touch-icon" href="/apple-touch-icon.png" data-next-head=""/><link rel="manifest" href="/manifest.webmanifest" data-next-head=""/><meta name="theme-color" content="#0d1117" data-next-head=""/><title data-next-head="">404: This page could not be found</title><link rel="preload" href="/_next/static/css/517bd79243800caf.css" as="style"/><link rel="stylesheet" href="/_next/static/css/517bd79243800caf.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-30f420d055cbcd0c.js" defer=""></script><script src="/_next/static/chunks/framework-b92a367cf1ad4bf7.js" defer=""></script><script src="/_next/static/chunks/main-ec7fd4c371d06729.js" defer=""></script><script src="/_next/static/chunks/pages/_app-401e9322101b6533.js" defer=""></script><script src="/_next/static/chunks/pages/_error-8f65b0f8749f42d2.js" defer=""></script><script src="/_next/static/rb9awHxbd75L3Vz0R-TtG/_buildManifest.js" defer=""></script><script src="/_next/static/rb9awHxbd75L3Vz0R-TtG/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">This page could not be found<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"rb9awHxbd75L3Vz0R-TtG","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
@@ -0,0 +1,9 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8760],{237:(t,e,i)=>{i.d(e,{T:()=>a,n:()=>o});var n=i(91176),r=i(24197),s=i(82231);let a=[n.ai,r.px,r.KN,r.uj,r.vw,r.vh,{test:t=>"auto"===t,parse:t=>t}],o=t=>a.find((0,s.w)(t))},379:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},602:(t,e,i)=>{i.d(e,{F:()=>n});let n=(...t)=>t.reduce((t,e)=>i=>e(t(i)))},1445:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},1896:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},2081:(t,e,i)=>{i.d(e,{$:()=>n});let n=t=>/^0[^.\s]+$/u.test(t)},2141:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("user-check",[["path",{d:"m16 11 2 2 4-4",key:"9rsbq5"}],["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"}]])},2157:(t,e,i)=>{i.d(e,{U:()=>n,f:()=>r});let n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],r=new Set([...n,"pathRotation"])},3157:(t,e,i)=>{i.d(e,{X:()=>r});let n=t=>null!==t;function r(t,{repeat:e,repeatType:i="loop"},s,a=1){let o=t.filter(n),l=a<0||e&&"loop"!==i&&e%2==1?0:o.length-1;return l&&void 0!==s?s:o[l]}},3255:(t,e,i)=>{i.d(e,{po:()=>s,tn:()=>o,yT:()=>a});var n=i(10934),r=i(13725);let s=t=>1-Math.sin(Math.acos(t)),a=(0,r.G)(s),o=(0,n.V)(s)},3600:(t,e,i)=>{i.d(e,{a:()=>n});let n=t=>Math.round(1e5*t)/1e5},3805:(t,e,i)=>{i.d(e,{x:()=>d});var n=i(26514),r=i(39675),s=i(75834),a=i(99904),o=i(12673),l=i(53214),h=i(26471),u=i(52867);let d=(0,s.forwardRef)(function({children:t,as:e="ul",axis:i="y",onReorder:d,values:p,...m},f){let y=(0,l.M)(()=>o.P[e]),v=[],g=(0,s.useRef)(!1),x=(0,s.useRef)(null);(0,r.V)(!!p,"Reorder.Group must be provided a values prop","reorder-values"),(0,s.useEffect)(()=>{g.current=!1});let w={overflowAnchor:"none",...m.style};return(0,n.jsx)(y,{...m,style:w,ref:t=>{x.current=t,"function"==typeof f?f(t):f&&(f.current=t)},ignoreStrict:!0,children:(0,n.jsx)(a.T.Provider,{value:{axis:i,groupRef:x,registerItem:(t,e)=>{let n=v.findIndex(e=>t===e.value);-1!==n?v[n].layout=e[i]:v.push({value:t,layout:e[i]}),v.sort(c)},updateOrder:(t,e,i)=>{if(g.current)return;let n=function(t,e,i,n){if(!n)return t;let r=t.findIndex(t=>t.value===e);if(-1===r)return t;let s=n>0?1:-1,a=t[r+s];if(!a)return t;let o=t[r],l=a.layout,d=(0,h.k)(l.min,l.max,.5);return 1===s&&o.layout.max+i>d||-1===s&&o.layout.min+i<d?(0,u.Pe)(t,r,r+s):t}(v,t,e,i);if(v!==n){g.current=!0;let t=[...p];for(let e=0;e<n.length;e++)if(v[e].value!==n[e].value){let i=p.indexOf(v[e].value),r=p.indexOf(n[e].value);-1!==i&&-1!==r&&([t[i],t[r]]=[t[r],t[i]]);break}d(t)}}},children:t})})});function c(t,e){return t.layout.min-e.layout.min}},4504:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("wifi",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]])},4792:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("user-pen",[["path",{d:"M11.5 15H7a4 4 0 0 0-4 4v2",key:"15lzij"}],["path",{d:"M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1817ys"}],["circle",{cx:"10",cy:"7",r:"4",key:"e45bow"}]])},5540:(t,e,i)=>{i.d(e,{d:()=>r});var n=i(53081);let r={...n.f,getAnimatableNone:t=>{let e=n.f.parse(t);return n.f.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}}},5733:(t,e,i)=>{i.d(e,{q:()=>n});class n{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}},6510:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("folder-open",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]])},7640:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]])},7689:(t,e,i)=>{i.d(e,{q:()=>n});let n=(t,e,i)=>i>e?e:i<t?t:i},8207:(t,e,i)=>{i.d(e,{O:()=>o,e:()=>a});var n=i(9328),r=i(88259),s=i(39126);function a(t){return(0,n.N)(t.animate)||s._.some(e=>(0,r.w)(t[e]))}function o(t){return!!(a(t)||t.variants)}},9036:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("undo-2",[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]])},9198:(t,e,i)=>{i.d(e,{X:()=>n});function n(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}},9328:(t,e,i)=>{i.d(e,{N:()=>n});function n(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}},9523:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},10549:(t,e,i)=>{i.d(e,{i:()=>n});let n=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)},10934:(t,e,i)=>{i.d(e,{V:()=>n});let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},12673:(t,e,i)=>{let n,r;i.d(e,{P:()=>iO});var s=i(2157),a=i(91321),o=i(69808),l=i(51204),h=i(80712),u=i(237),d=i(39675),c=i(10549),p=i(51921);let m=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var f=i(23441),y=i(2081),v=i(53081),g=i(66466);let x=new Set(["auto","none","0"]);var w=i(35075);class k extends f.h{constructor(t,e,i,n,r){super(t,e,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&(n=n.trim(),(0,p.pG)(n))){let r=function t(e,i,n=1){(0,d.V)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,s]=function(t){let e=m.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${i??n}`,r]}(e);if(!r)return;let a=window.getComputedStyle(i).getPropertyValue(r);if(a){let t=a.trim();return(0,c.i)(t)?parseFloat(t):t}return(0,p.pG)(s)?t(s,i,n+1):s}(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!h.$.has(i)||2!==t.length)return;let[n,r]=t,s=(0,u.n)(n),a=(0,u.n)(r);if((0,p.rm)(n)!==(0,p.rm)(r)&&w.Hr[i]){this.needsMeasurement=!0;return}if(s!==a)if((0,w.E4)(s)&&(0,w.E4)(a))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else w.Hr[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var n;(null===t[e]||("number"==typeof(n=t[e])?0===n:null===n||"none"===n||"0"===n||(0,y.$)(n)))&&i.push(e)}i.length&&function(t,e,i){let n,r=0;for(;r<t.length&&!n;){let e=t[r];"string"==typeof e&&!x.has(e)&&(0,v.V)(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=(0,g.J)(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=w.Hr[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let n=t.getValue(e);n&&n.jump(this.measuredOrigin,!1);let r=i.length-1,s=i[r];i[r]=w.Hr[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEach(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}var A=i(88577);class b extends A.BX{constructor(){super(...arguments),this.KeyframeResolver=k}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,l.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}var M=i(87688),S=i(57054);let T=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);var P=i(98109);function E(t,{style:e,vars:i},n,r){let s,a=t.style;for(s in e)a[s]=e[s];for(s in r?.applyProjectionStyles(a,n),i)a.setProperty(s,i[s])}var V=i(50201);class C extends b{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=o.ge}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(s.f.has(e)){let t=(0,a.D)(e);return t&&t.default||0}return e=T.has(e)?e:(0,M.I)(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return(0,V.x)(t,e,i)}build(t,e,i){(0,S.B)(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in E(t,e,void 0,n),e.attrs)t.setAttribute(T.has(i)?i:(0,M.I)(i),e.attrs[i])}mount(t){this.isSVGTag=(0,P.n)(t.tagName),super.mount(t)}}var R=i(66477);function D({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}var j=i(26471);function L(t){return void 0===t||1===t}function B({scale:t,scaleX:e,scaleY:i}){return!L(t)||!L(e)||!L(i)}function F(t){return B(t)||O(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function O(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function I(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function U(t,e=0,i=1,n,r){t.min=I(t.min,e,i,n,r),t.max=I(t.max,e,i,n,r)}function z(t,{x:e,y:i}){U(t.x,e.translate,e.scale,e.originPoint),U(t.y,i.translate,i.scale,i.originPoint)}function W(t,e){t.min+=e,t.max+=e}function N(t,e,i,n,r=.5){let s=(0,j.k)(t.min,t.max,r);U(t,e,i,s,n)}function $(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function q(t,e,i){let n=i??t;N(t.x,$(e.x,n.x),e.scaleX,e.scale,e.originX),N(t.y,$(e.y,n.y),e.scaleY,e.scale,e.originY)}function G(t,e){return D(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}var H=i(39253),X=i(77380);class K extends b{constructor(){super(...arguments),this.type="html",this.renderInstance=E}readValueFromInstance(t,e){if(s.f.has(e))return this.projection?.isProjecting?(0,R.zs)(e):(0,R.Ib)(t,e);{let i=window.getComputedStyle(t),n=((0,p.j4)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return G(t,e)}build(t,e,i){(0,H.O)(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return(0,X.x)(t,e,i)}}var Y=i(75834),_=i(71626),Q=i(47888);class Z{constructor(t){this.isMounted=!1,this.node=t}update(){}}var J=i(44714),tt=i(67868),te=i(88259),ti=i(39126);let tn=ti._.length;var tr=i(9328),ts=i(39950),ta=i(37013);function to(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}let tl=[...ti.U].reverse(),th=ti.U.length;function tu(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function td(){return{animate:tu(!0),whileInView:tu(),whileHover:tu(),whileTap:tu(),whileDrag:tu(),whileFocus:tu(),exit:tu()}}class tc extends Z{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(0,J._)(t,e,i))),i=td(),n=!0,r=!1,s=e=>(i,n)=>{let r=(0,ta.K)(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...n}=r;i={...i,...n,...e}}return i};function a(a){let{props:o}=t,l=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<tn;t++){let n=ti._[t],r=e.props[n];((0,te.w)(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},h=[],u=new Set,d={},c=1/0;for(let e=0;e<th;e++){var p,m;let f=tl[e],y=i[f],v=void 0!==o[f]?o[f]:l[f],g=(0,te.w)(v),x=f===a?y.isActive:null;!1===x&&(c=e);let w=v===l[f]&&v!==o[f]&&g;if(w&&(n||r)&&t.manuallyAnimateOnMount&&(w=!1),y.protectedKeys={...d},!y.isActive&&null===x||!v&&!y.prevProp||(0,tr.N)(v)||"boolean"==typeof v)continue;if("exit"===f&&y.isActive&&!0!==x){y.prevResolvedValues&&(d={...d,...y.prevResolvedValues});continue}let k=(p=y.prevProp,"string"==typeof(m=v)?m!==p:!!Array.isArray(m)&&!to(m,p)),A=k||f===a&&y.isActive&&!w&&g||e>c&&g,b=!1,M=Array.isArray(v)?v:[v],S=M.reduce(s(f),{});!1===x&&(S={});let{prevResolvedValues:T={}}=y,P={...T,...S},E=e=>{A=!0,u.has(e)&&(b=!0,u.delete(e)),y.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in P){let e=S[t],i=T[t];if(!d.hasOwnProperty(t))((0,ts.p)(e)&&(0,ts.p)(i)?!to(e,i)||k:e!==i)?null!=e?E(t):u.add(t):void 0!==e&&u.has(t)?E(t):y.protectedKeys[t]=!0}y.prevProp=v,y.prevResolvedValues=S,y.isActive&&(d={...d,...S}),(n||r)&&t.blockInitialAnimation&&(A=!1);let V=w&&k,C=!V||b;A&&C&&h.push(...M.map(e=>{let i={type:f};if("string"==typeof e&&(n||r)&&!V&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,r=(0,ta.K)(n,e);if(n.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=(0,tt.L)(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(u.size){let e={};if("boolean"!=typeof o.initial){let i=(0,ta.K)(t,Array.isArray(o.initial)?o.initial[0]:o.initial);i&&i.transition&&(e.transition=i.transition)}u.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=n??null}),h.push({animation:e})}let f=!!h.length;return n&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(f=!1),n=!1,r=!1,f?e(h):Promise.resolve()}return{animateChanges:a,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),i[e].isActive=n;let r=a(e);for(let t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=td(),r=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,tr.N)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let tp=0;class tm extends Z{constructor(){super(...arguments),this.id=tp++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;if(t&&!1===i){if(this.isExitComplete){let{initial:t,custom:e}=this.node.getProps();if("string"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)){let i=(0,ta.K)(this.node,t,e);if(i){let{transition:t,transitionEnd:e,...n}=i;for(let t in n)this.node.getValue(t)?.jump(n[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}var tf=i(86618);let ty={x:!1,y:!1};function tv(t){return[t("x"),t("y")]}var tg=i(24197);function tx(t){return t.max-t.min}function tw(t,e,i,n=.5){t.origin=n,t.originPoint=(0,j.k)(e.min,e.max,t.origin),t.scale=tx(i)/tx(e),t.translate=(0,j.k)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function tk(t,e,i,n){tw(t.x,e.x,i.x,n?n.originX:void 0),tw(t.y,e.y,i.y,n?n.originY:void 0)}function tA(t,e,i,n=0){t.min=(n?(0,j.k)(i.min,i.max,n):i.min)+e.min,t.max=t.min+tx(e)}function tb(t,e,i,n=0){let r=n?(0,j.k)(i.min,i.max,n):i.min;t.min=e.min-r,t.max=t.min+tx(e)}function tM(t,e,i,n){tb(t.x,e.x,i.x,n?.x),tb(t.y,e.y,i.y,n?.y)}var tS=i(83252),tT=i(78140),tP=i(61127);let tE=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),tV=new Set(["INPUT","SELECT","TEXTAREA"]);function tC(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}var tR=i(48764);function tD(t){return(0,tR.G)(t)&&"ownerSVGElement"in t}function tj(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let r=i?.[t]??n.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t).filter(t=>null!=t)}let tL=new WeakMap,tB=(t,e,i)=>(n,r)=>r&&r[0]?r[0][t+"Size"]:tD(n)&&"getBBox"in n?n.getBBox()[e]:n[i],tF=tB("inline","width","offsetWidth"),tO=tB("block","height","offsetHeight");function tI({target:t,borderBoxSize:e}){tL.get(t)?.forEach(i=>{i(t,{get width(){return tF(t,e)},get height(){return tO(t,e)}})})}function tU(t){t.forEach(tI)}let tz=new Set;function tW(t,e){let i;return"function"==typeof t?(tz.add(t),r||(r=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};tz.forEach(e=>e(t))},window.addEventListener("resize",r)),()=>{tz.delete(t),tz.size||"function"!=typeof r||(window.removeEventListener("resize",r),r=void 0)}):(!n&&"u">typeof ResizeObserver&&(n=new ResizeObserver(tU)),(i=tj(t)).forEach(t=>{let i=tL.get(t);i||(i=new Set,tL.set(t,i)),i.add(e),n?.observe(t)}),()=>{i.forEach(t=>{let i=tL.get(t);i?.delete(e),i?.size||n?.unobserve(t)})})}let tN=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function t$(t){return{point:{x:t.pageX,y:t.pageY}}}function tq(t,e,i,n){return tC(t,e,t=>tN(t)&&i(t,t$(t)),n)}let tG=({current:t})=>t?t.ownerDocument.defaultView:null;var tH=i(9198),tX=i(602),tK=i(14548);let tY=(t,e)=>Math.abs(t-e),t_=new Set(["auto","scroll"]);class tQ{constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3,element:a}={}){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=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=tZ(this.lastRawMoveEventInfo,this.transformPagePoint));let i=t0(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(tY(t.x,e.x)**2+tY(t.y,e.y)**2)>=this.distanceThreshold);if(!n&&!r)return;let{point:s}=i,{timestamp:a}=tS.uv;this.history.push({...s,timestamp:a});let{onStart:o,onMove:l}=this.handlers;n||(o&&o(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=tZ(e,this.transformPagePoint),tS.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=t0("pointercancel"===t.type?this.lastMoveEventInfo:tZ(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!tN(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=n||window;const o=tZ(t$(t),this.transformPagePoint),{point:l}=o,{timestamp:h}=tS.uv;this.history=[{...l,timestamp:h}];const{onSessionStart:u}=e;u&&u(t,t0(o,this.history));const d={passive:!0,capture:!0};this.removeListeners=(0,tX.F)(tq(this.contextWindow,"pointermove",this.handlePointerMove,d),tq(this.contextWindow,"pointerup",this.handlePointerUp,d),tq(this.contextWindow,"pointercancel",this.handlePointerUp,d)),a&&this.startScrollTracking(a)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(t_.has(t.overflowX)||t_.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.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(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,n=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},r={x:n.x-e.x,y:n.y-e.y};(0!==r.x||0!==r.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(t,n),tS.Gt.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,tS.WG)(this.updatePoint)}}function tZ(t,e){return e?{point:e(t.point)}:t}function tJ(t,e){return{x:t.x-e.x,y:t.y-e.y}}function t0({point:t},e){return{point:t,delta:tJ(t,t1(e)),offset:tJ(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,n=t1(t);for(;e>=0&&(i=t[e],!(n.timestamp-i.timestamp>(0,tK.f)(.1)));)e--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&n.timestamp-i.timestamp>2*(0,tK.f)(.1)&&(i=t[1]);let r=(0,tK.X)(n.timestamp-i.timestamp);if(0===r)return{x:0,y:0};let s={x:(n.x-i.x)/r,y:(n.y-i.y)/r};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(e)}}function t1(t){return t[t.length-1]}var t2=i(65959),t5=i(7689);function t8(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function t9(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function t3(t,e,i){return{min:t4(t,e),max:t4(t,i)}}function t4(t,e){return"number"==typeof t?t:t[e]||0}let t6=new WeakMap;class t7{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,o.ge)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let r=t=>{e&&this.snapToCursor(t$(t).point),this.stopAnimation()},s=(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(ty[t])return null;else return ty[t]=!0,()=>{ty[t]=!1};return ty.x||ty.y?null:(ty.x=ty.y=!0,()=>{ty.x=ty.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),tv(t=>{let e=this.getAxisMotionValue(t).get()||0;if(tg.KN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];n&&(e=tx(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&tS.Gt.update(()=>r(t,e),!1,!0),(0,tT.g)(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(a),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),s&&tS.Gt.update(()=>s(t,e),!1,!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:h}=this.getProps();this.panSession=new tQ(t,{onSessionStart:r,onStart:s,onMove:a,onSessionEnd:o,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,distanceThreshold:i,contextWindow:tG(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!n||!i)return;let{velocity:s}=n;this.startAnimation(s);let{onDragEnd:a}=this.getProps();a&&tS.Gt.postRender(()=>a(i,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!ee(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?(0,j.k)(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?(0,j.k)(i,t,n.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;t&&(0,tH.X)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:t8(t.x,i,r),y:t8(t.y,e,n)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:t3(t,"left","right"),y:t3(t,"top","bottom")}}(e),n!==this.constraints&&!(0,tH.X)(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&tv(t=>{var e,n;let r;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],n=this.constraints[t],r={},void 0!==n.min&&(r.min=n.min-e.min),void 0!==n.max&&(r.max=n.max-e.min),r))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!(0,tH.X)(e))return!1;let n=e.current;(0,d.V)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let s=function(t,e,i){let n=G(t,i),{scroll:r}=e;return r&&(W(n.x,r.offset.x),W(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),a=(t=r.layout.layoutBox,{x:t9(t.x,s.x),y:t9(t.y,s.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(a));this.hasMutatedConstraints=!!t,t&&(a=D(t))}return a}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),o=this.constraints||{};return Promise.all(tv(a=>{if(!ee(a,e,this.currentDirection))return;let l=o&&o[a]||{};(!0===s||s===a)&&(l={min:0,max:0});let h={type:"inertia",velocity:i?t[a]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(a,h)})).then(a)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,tT.g)(this.visualElement,t),i.start((0,tP.f)(t,i,0,e,this.visualElement,!1))}stopAnimation(){tv(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`;return this.visualElement.getProps()[e]||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){tv(e=>{let{drag:i}=this.getProps();if(!ee(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[e],a=r.get()||0;r.set(t[e]-(0,j.k)(i,s,.5)+a)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,tH.X)(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};tv(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,r;let s,a,o,l=e.get();n[t]=(i={min:l,max:l},r=this.constraints[t],s=.5,a=tx(i),(o=tx(r))>a?s=(0,t2.q)(r.min,r.max-a,i.min):a>o&&(s=(0,t2.q)(i.min,i.max-o,r.min)),(0,t5.q)(0,1,s))}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),tv(e=>{if(!ee(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set((0,j.k)(r,s,n[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;t6.set(this.visualElement,this);let e=this.visualElement.current,i=tq(e,"pointerdown",t=>{let{drag:i,dragListener:n=!0}=this.getProps(),r=t.target,s=r!==e&&(tV.has(r.tagName)||!0===r.isContentEditable);i&&n&&!s&&this.start(t)}),n=()=>{var i,n,r;let s,a,{dragConstraints:o}=this.getProps();(0,tH.X)(o)&&o.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,n=o.current,s=tW(i,et(r=()=>this.scalePositionWithinConstraints())),a=tW(n,et(r)),t=()=>{s(),a()}))},{projection:r}=this.visualElement,s=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),tS.Gt.read(n);let a=tC(window,"resize",()=>this.scalePositionWithinConstraints()),o=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(tv(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{a(),i(),s(),o&&o(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:a=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:s,dragMomentum:a}}}function et(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function ee(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class ei extends Z{constructor(t){super(t),this.removeGroupControls=tf.l,this.removeListeners=tf.l,this.controls=new t7(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tf.l}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}let en=t=>(e,i)=>{t&&tS.Gt.update(()=>t(e,i),!1,!0)};class er extends Z{constructor(){super(...arguments),this.removePointerDownListener=tf.l}onPointerDown(t){this.session=new tQ(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:tG(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:en(t),onStart:en(e),onMove:en(i),onEnd:(t,e)=>{delete this.session,n&&tS.Gt.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=tq(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var es=i(26514);let ea={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var eo=i(97120),el=i(41487),eh=i(75978),eu=i(15386);let ed=!1;class ec extends Y.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),ed&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),ea.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,{projection:s}=i;return s&&(s.isPresent=r,t.layoutDependency!==e&&s.setOptions({...s.options,layoutDependency:e}),ed=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||tS.Gt.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:e}=this.props,{projection:i}=t;i&&(i.options.layoutAnchor=e,i.root.didUpdate(),eo.k.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;ed=!0,n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function ep(t){let[e,i]=(0,el.xQ)(),n=(0,Y.useContext)(eh.L);return(0,es.jsx)(ec,{...t,layoutGroup:n,switchLayoutGroup:(0,Y.useContext)(eu.N),isPresent:e,safeToRemove:i})}var em=i(15099),ef=i(68089),ey=i(66208),ev=i(42260),eg=i(33206),ex=i(80727),ew=i(94088),ek=i(3255),eA=i(71932);let eb=eA.S.length,eM=t=>"string"==typeof t?parseFloat(t):t,eS=t=>"number"==typeof t||tg.px.test(t);function eT(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let eP=eV(0,.5,ek.yT),eE=eV(.5,.95,tf.l);function eV(t,e,i){return n=>n<t?0:n>e?1:i((0,t2.q)(t,e,n))}function eC(t,e){t.min=e.min,t.max=e.max}function eR(t,e){eC(t.x,e.x),eC(t.y,e.y)}function eD(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function ej(t,e,i,n,r){return t-=e,t=n+1/i*(t-n),void 0!==r&&(t=n+1/r*(t-n)),t}function eL(t,e,[i,n,r],s,a){!function(t,e=0,i=1,n=.5,r,s=t,a=t){if(tg.KN.test(e)&&(e=parseFloat(e),e=(0,j.k)(a.min,a.max,e/100)-a.min),"number"!=typeof e)return;let o=(0,j.k)(s.min,s.max,n);t===s&&(o-=e),t.min=ej(t.min,e,i,o,r),t.max=ej(t.max,e,i,o,r)}(t,e[i],e[n],e[r],e.scale,s,a)}let eB=["x","scaleX","originX"],eF=["y","scaleY","originY"];function eO(t,e,i,n){eL(t.x,e,eB,i?i.x:void 0,n?n.x:void 0),eL(t.y,e,eF,i?i.y:void 0,n?n.y:void 0)}function eI(t){return 0===t.translate&&1===t.scale}function eU(t){return eI(t.x)&&eI(t.y)}function ez(t,e){return t.min===e.min&&t.max===e.max}function eW(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function eN(t,e){return eW(t.x,e.x)&&eW(t.y,e.y)}function e$(t){return tx(t.x)/tx(t.y)}function eq(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var eG=i(52867);class eH{constructor(){this.members=[]}add(t){(0,eG.Kq)(this.members,t);for(let e=this.members.length-1;e>=0;e--){let i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;let n=i.instance;n&&!1!==n.isConnected||i.snapshot||((0,eG.Ai)(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if((0,eG.Ai)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){let t=this.members[e];if(!1!==t.isPresent&&t.instance?.isConnected!==!1)return this.promote(t),!0}return!1}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.updateSnapshot(),t.scheduleRender();let{layoutDependency:n}=i.options,{layoutDependency:r}=t.options;(void 0===n||n!==r)&&(t.resumeFrom=i,e&&(i.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let eX=(t,e)=>t.depth-e.depth;class eK{constructor(){this.children=[],this.isDirty=!1}add(t){(0,eG.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,eG.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(eX),this.isDirty=!1,this.children.forEach(t)}}let eY=["","X","Y","Z"],e_=0;function eQ(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function eZ({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=e?.()){this.id=e_++,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(e1),this.nodes.forEach(it),this.nodes.forEach(ie),this.nodes.forEach(e2)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new eK)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new em.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=tD(e)&&!(tD(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:n,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),t){let i,n=0,r=()=>this.root.updateBlockedByResize=!1;tS.Gt.read(()=>{n=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==n){let e,s;n=t,this.root.updateBlockedByResize=!0,i&&i(),e=eg.k.now(),s=({timestamp:t})=>{let i=t-e;i>=250&&((0,tS.WG)(s),r(i-250))},tS.Gt.setup(s,!0),i=()=>(0,tS.WG)(s),ea.hasAnimatedSinceResize&&(ea.hasAnimatedSinceResize=!1,this.nodes.forEach(e7))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(i||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||r.getDefaultTransition()||il,{onLayoutAnimationStart:a,onLayoutAnimationComplete:o}=r.getProps(),l=!this.targetLayout||!eN(this.targetLayout,n),h=!e&&i;if(this.options.layoutRoot||this.resumeFrom||h||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...(0,ev.r)(s,"layout"),onPlay:a,onComplete:o};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,h,e.path)}else e||e7(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,tS.WG)(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(ii),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=(0,ey.P)(i);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",tS.Gt,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,("string"==typeof e.latestValues.x||"string"==typeof e.latestValues.y)&&(e.isLayoutDirty=!0),e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let t=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEach(e9),this.nodes.forEach(e8);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(e3);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(e4),this.nodes.forEach(e6),this.nodes.forEach(eJ),this.nodes.forEach(e0)):this.nodes.forEach(e3),this.clearAllSnapshots();let t=eg.k.now();tS.uv.delta=(0,t5.q)(0,1e3/60,t-tS.uv.timestamp),tS.uv.timestamp=t,tS.uv.isProcessing=!0,tS.PP.update.process(tS.uv),tS.PP.preRender.process(tS.uv),tS.PP.render.process(tS.uv),tS.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,eo.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(e5),this.sharedNodes.forEach(ir)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tS.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tS.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||tx(this.snapshot.measuredBox.x)||tx(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 t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=(0,o.ge)()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=n(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!eU(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||F(this.latestValues)||s)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),id((e=n).x),id(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,o.ge)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(ip))){let{scroll:t}=this.root;t&&(W(e.x,t.offset.x),W(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,o.ge)();if(eR(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:r,options:s}=n;n!==this.root&&r&&s.layoutScroll&&(r.wasRoot&&eR(e,t),W(e.x,r.offset.x),W(e.y,r.offset.y))}return e}applyTransform(t,e=!1,i){let n=i||(0,o.ge)();eR(n,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(W(n.x,-i.scroll.offset.x),W(n.y,-i.scroll.offset.y)),F(i.latestValues)&&q(n,i.latestValues,i.layout?.layoutBox)}return F(this.latestValues)&&q(n,this.latestValues,this.layout?.layoutBox),n}removeTransform(t){let e=(0,o.ge)();eR(e,t);for(let t=0;t<this.path.length;t++){let i,n=this.path[t];F(n.latestValues)&&(n.instance&&(B(n.latestValues)&&n.updateSnapshot(),eR(i=(0,o.ge)(),n.measurePageBox())),eO(e,n.latestValues,n.snapshot?.layoutBox,i))}return F(this.latestValues)&&eO(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}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!==tS.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:r}=this.options;if(!this.layout||!(n||r))return;this.resolvedRelativeTargetAt=tS.uv.timestamp;let s=this.getClosestProjectingParent();if(s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,o.ge)(),this.targetWithTransforms=(0,o.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var a,l,h,u;this.forceRelativeParentToResolveTarget(),a=this.target,l=this.relativeTarget,h=this.relativeParent.target,u=this.options.layoutAnchor||void 0,tA(a.x,l.x,h.x,u?.x),tA(a.y,l.y,h.y,u?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):eR(this.target,this.layout.layoutBox),z(this.target,this.targetDelta)):eR(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&s&&!!s.resumingFrom==!!this.resumingFrom&&!s.options.layoutScroll&&s.target&&1!==this.animationProgress?this.createRelativeTarget(s,this.target,s.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||B(this.parent.latestValues)||O(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,o.ge)(),this.relativeTargetOrigin=(0,o.ge)(),tM(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),eR(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===tS.uv.timestamp&&(i=!1),i)return;let{layout:n,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||r))return;eR(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,a=this.treeScale.y;!function(t,e,i,n=!1){let r,s,a=i.length;if(a){e.x=e.y=1;for(let o=0;o<a;o++){s=(r=i[o]).projectionDelta;let{visualElement:a}=r.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(W(t.x,-r.scroll.offset.x),W(t.y,-r.scroll.offset.y)),s&&(e.x*=s.x.scale,e.y*=s.y.scale,z(t,s)),n&&F(r.latestValues)&&q(t,r.latestValues,r.layout?.layoutBox))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,o.ge)());let{target:l}=t;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(eD(this.prevProjectionDelta.x,this.projectionDelta.x),eD(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),tk(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===s&&this.treeScale.y===a&&eq(this.projectionDelta.x,this.prevProjectionDelta.x)&&eq(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,o.xU)(),this.projectionDelta=(0,o.xU)(),this.projectionDeltaWithTransform=(0,o.xU)()}setAnimationOrigin(t,e=!1,i){let n,r=this.snapshot,s=r?r.latestValues:{},a={...this.latestValues},l=(0,o.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let h=(0,o.ge)(),u=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),d=this.getStack(),c=!d||d.members.length<=1,p=!!(u&&!c&&!0===this.options.crossfade&&!this.path.some(io));this.animationProgress=0;let m=i?.interpolateProjection(t);this.mixTargetDelta=e=>{let i=e/1e3,r=m?.(i);if(r?(l.x.translate=r.x,l.x.scale=(0,j.k)(t.x.scale,1,i),l.x.origin=t.x.origin,l.x.originPoint=t.x.originPoint,l.y.translate=r.y,l.y.scale=(0,j.k)(t.y.scale,1,i),l.y.origin=t.y.origin,l.y.originPoint=t.y.originPoint):(is(l.x,t.x,i),is(l.y,t.y,i)),this.setTargetDelta(l),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var d,f,y,v,g,x;tM(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),y=this.relativeTarget,v=this.relativeTargetOrigin,g=h,x=i,ia(y.x,v.x,g.x,x),ia(y.y,v.y,g.y,x),n&&(d=this.relativeTarget,f=n,ez(d.x,f.x)&&ez(d.y,f.y))&&(this.isProjectionDirty=!1),n||(n=(0,o.ge)()),eR(n,this.relativeTarget)}u&&(this.animationValues=a,function(t,e,i,n,r,s){r?(t.opacity=(0,j.k)(0,i.opacity??1,eP(n)),t.opacityExit=(0,j.k)(e.opacity??1,0,eE(n))):s&&(t.opacity=(0,j.k)(e.opacity??1,i.opacity??1,n));for(let r=0;r<eb;r++){let s=eA.S[r],a=eT(e,s),o=eT(i,s);(void 0!==a||void 0!==o)&&(a||(a=0),o||(o=0),0===a||0===o||eS(a)===eS(o)?(t[s]=Math.max((0,j.k)(eM(a),eM(o),n),0),(tg.KN.test(o)||tg.KN.test(a))&&(t[s]+="%")):t[s]=o)}(e.rotate||i.rotate)&&(t.rotate=(0,j.k)(e.rotate||0,i.rotate||0,n))}(a,s,this.latestValues,i,p,c)),r&&void 0!==r.rotate&&(this.animationValues||(this.animationValues=a),this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,tS.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tS.Gt.update(()=>{var e,i,n;let r;ea.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=(0,ef.OQ)(0)),this.motionValue.jump(0,!1),this.currentAnimation=(e=this.motionValue,i=[0,1e3],n={...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}},(r=(0,l.S)(e)?e:(0,ef.OQ)(e)).start((0,tP.f)("",r,i,n)),r.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&ic(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||(0,o.ge)();let e=tx(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=tx(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}eR(e,i),q(e,r),tk(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new eH),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&eQ("z",t,n,this.animationValues);for(let e=0;e<eY.length;e++)eQ(`rotate${eY[e]}`,t,n,this.animationValues),eQ(`skew${eY[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=(0,ew.u)(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,ew.u)(e?.pointerEvents)||""),this.hasProjected&&!F(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let r=n.animationValues||n.latestValues;this.applyTransformsToTarget();let s=function(t,e,i){let n="",r=t.x.translate/e.x,s=t.y.translate/e.y,a=i?.z||0;if((r||s||a)&&(n=`translate3d(${r}px, ${s}px, ${a}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,pathRotation:r,rotateX:s,rotateY:a,skewX:o,skewY:l}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),r&&(n+=`rotate(${r}deg) `),s&&(n+=`rotateX(${s}deg) `),a&&(n+=`rotateY(${a}deg) `),o&&(n+=`skewX(${o}deg) `),l&&(n+=`skewY(${l}deg) `)}let o=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==o||1!==l)&&(n+=`scale(${o}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);i&&(s=i(r,s)),t.transform=s;let{x:a,y:o}=this.projectionDelta;for(let e in t.transformOrigin=`${100*a.origin}% ${100*o.origin}% 0`,n.animationValues?t.opacity=n===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:t.opacity=n===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,ex.H){if(void 0===r[e])continue;let{correct:i,applyTo:a,isCSSVariable:o}=ex.H[e],l="none"===s?r[e]:i(r[e],n);if(a){let e=a.length;for(let i=0;i<e;i++)t[a[i]]=l}else o?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?(0,ew.u)(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(e8),this.root.sharedNodes.clear()}}}function eJ(t){t.updateLayout()}function e0(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=t.layout,{animationType:r}=t.options,s=e.source!==t.layout.source;if("size"===r)tv(t=>{let n=s?e.measuredBox[t]:e.layoutBox[t],r=tx(n);n.min=i[t].min,n.max=n.min+r});else if("x"===r||"y"===r){let t="x"===r?"y":"x";eC(s?e.measuredBox[t]:e.layoutBox[t],i[t])}else ic(r,e.layoutBox,i)&&tv(n=>{let r=s?e.measuredBox[n]:e.layoutBox[n],a=tx(i[n]);r.max=r.min+a,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+a)});let a=(0,o.xU)();tk(a,i,e.layoutBox);let l=(0,o.xU)();s?tk(l,t.applyTransform(n,!0),e.measuredBox):tk(l,i,e.layoutBox);let h=!eU(a),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let a=t.options.layoutAnchor||void 0,l=(0,o.ge)();tM(l,e.layoutBox,r.layoutBox,a);let h=(0,o.ge)();tM(h,i,s.layoutBox,a),eN(l,h)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=h,t.relativeTargetOrigin=l,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:l,layoutDelta:a,hasLayoutChanged:h,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function e1(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function e2(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function e5(t){t.clearSnapshot()}function e8(t){t.clearMeasurements()}function e9(t){t.isLayoutDirty=!0,t.updateLayout()}function e3(t){t.isLayoutDirty=!1}function e4(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function e6(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function e7(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function it(t){t.resolveTargetDelta()}function ie(t){t.calcProjection()}function ii(t){t.resetSkewAndRotation()}function ir(t){t.removeLeadSnapshot()}function is(t,e,i){t.translate=(0,j.k)(e.translate,0,i),t.scale=(0,j.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function ia(t,e,i,n){t.min=(0,j.k)(e.min,i.min,n),t.max=(0,j.k)(e.max,i.max,n)}function io(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let il={duration:.45,ease:[.4,0,.1,1]},ih=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),iu=ih("applewebkit/")&&!ih("chrome/")?Math.round:tf.l;function id(t){t.min=iu(t.min),t.max=iu(t.max)}function ic(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(e$(e)-e$(i)))}function ip(t){return t!==t.root&&t.scroll?.wasRoot}let im=eZ({attachResizeListener:(t,e)=>tC(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),iy={current:void 0},iv=eZ({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!iy.current){let t=new im({});t.mount(window),t.setOptions({layoutScroll:!0}),iy.current=t}return iy.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function ig(t,e){let i=tj(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function ix(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&tS.Gt.postRender(()=>r(e,t$(e)))}class iw extends Z{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=ig(t,i);return n.forEach(t=>{let i,n=!1,s=!1,a=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},o=t=>{n=!1,window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",o),s&&(s=!1,a(t))},l=t=>{if("touch"!==t.pointerType){if(n){s=!0;return}a(t)}};t.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||ty.x||ty.y)return;s=!1;let a=e(t,n);"function"==typeof a&&(i=a,t.addEventListener("pointerleave",l,r))},r),t.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",o,r),window.addEventListener("pointercancel",o,r)},r)}),s}(t,(t,e)=>(ix(this.node,e,"Start"),t=>ix(this.node,t,"End"))))}unmount(){}}class ik extends Z{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&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=(0,tX.F)(tC(this.node.current,"focus",()=>this.onFocus()),tC(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var iA=i(29884);let ib=(t,e)=>!!e&&(t===e||ib(t,e.parentElement)),iM=new WeakSet;function iS(t){return e=>{"Enter"===e.key&&t(e)}}function iT(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function iP(t){return tN(t)&&!(ty.x||ty.y)}let iE=new WeakSet;function iV(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&tS.Gt.postRender(()=>r(e,t$(e)))}class iC extends Z{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e,i={}){let[n,r,s]=ig(t,i),a=t=>{let n=t.currentTarget;if(!iP(t)||iE.has(t))return;iM.add(n),i.stopPropagation&&iE.add(t);let s=e(n,t),a={...r,capture:!0},o=(t,e)=>{window.removeEventListener("pointerup",l,a),window.removeEventListener("pointercancel",h,a),iM.has(n)&&iM.delete(n),iP(t)&&"function"==typeof s&&s(t,{success:e})},l=t=>{o(t,n===window||n===document||i.useGlobalTarget||ib(n,t.target))},h=t=>{o(t,!1)};window.addEventListener("pointerup",l,a),window.addEventListener("pointercancel",h,a)};return n.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",a,r),(0,iA.s)(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=iS(()=>{if(iM.has(i))return;iT(i,"down");let t=iS(()=>{iT(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>iT(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,r)),tE.has(t.tagName)||!0===t.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(iV(this.node,e,"Start"),(t,{success:e})=>iV(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}let iR=new WeakMap,iD=new WeakMap,ij=t=>{let e=iR.get(t.target);e&&e(t)},iL=t=>{t.forEach(ij)},iB={some:0,all:1};class iF extends Z{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:a}=i,o={root:n?n.current:void 0,rootMargin:r,threshold:"number"==typeof s?s:iB[s]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,a&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),r=e?i:n;r&&r(t)};this.stopObserver=(t=this.node.current,e=function({root:t,...e}){let i=t||document;iD.has(i)||iD.set(i,{});let n=iD.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(iL,{root:t,...e})),n[r]}(o),iR.set(t,l),e.observe(t),()=>{iR.delete(t),e.unobserve(t)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}let iO=(0,Q.H)({animation:{Feature:tc},exit:{Feature:tm},inView:{Feature:iF},tap:{Feature:iC},focus:{Feature:ik},hover:{Feature:iw},pan:{Feature:er},drag:{Feature:ei,ProjectionNode:iv,MeasureLayout:ep},layout:{ProjectionNode:iv,MeasureLayout:ep}},(t,e)=>e.isSVG??(0,_.Q)(t)?new C(e):new K(e,{allowProjection:t!==Y.Fragment}))},13725:(t,e,i)=>{i.d(e,{G:()=>n});let n=t=>e=>1-t(1-e)},14548:(t,e,i)=>{i.d(e,{X:()=>r,f:()=>n});let n=t=>1e3*t,r=t=>t/1e3},14940:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("hand",[["path",{d:"M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1fvzgz"}],["path",{d:"M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2",key:"1kc0my"}],["path",{d:"M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8",key:"10h0bg"}],["path",{d:"M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15",key:"1s1gnw"}]])},15099:(t,e,i)=>{i.d(e,{v:()=>r});var n=i(52867);class r{constructor(){this.subscriptions=[]}add(t){return(0,n.Kq)(this.subscriptions,t),()=>(0,n.Ai)(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},15344:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]])},15386:(t,e,i)=>{i.d(e,{N:()=>n});let n=(0,i(75834).createContext)({})},17329:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},18319:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("terminal",[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]])},18690:(t,e,i)=>{i.d(e,{N:()=>x});var n=i(26514),r=i(75834),s=i(75978),a=i(53214),o=i(51382),l=i(29944),h=i(29884),u=i(73533);function d(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}class c extends r.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if((0,h.s)(e)&&t.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let t=e.offsetParent,i=(0,h.s)(t)&&t.offsetWidth||0,n=(0,h.s)(t)&&t.offsetHeight||0,r=getComputedStyle(e),s=this.props.sizeRef.current;s.height=parseFloat(r.height),s.width=parseFloat(r.width),s.top=e.offsetTop,s.left=e.offsetLeft,s.right=i-s.width-s.left,s.bottom=n-s.height-s.top,s.direction=r.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function p({children:t,isPresent:e,anchorX:i,anchorY:s,root:a,pop:o}){let l=(0,r.useId)(),h=(0,r.useRef)(null),m=(0,r.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:f}=(0,r.useContext)(u.Q),y=function(...t){return r.useCallback(function(...t){return e=>{let i=!1,n=t.map(t=>{let n=d(t,e);return i||"function"!=typeof n||(i=!0),n});if(i)return()=>{for(let e=0;e<n.length;e++){let i=n[e];"function"==typeof i?i():d(t[e],null)}}}}(...t),t)}(h,t.props?.ref??t?.ref);return(0,r.useInsertionEffect)(()=>{let{width:t,height:n,top:r,left:u,right:d,bottom:c,direction:p}=m.current;if(e||!1===o||!h.current||!t||!n)return;let y="rtl"===p,v="left"===i?y?`right: ${d}`:`left: ${u}`:y?`left: ${u}`:`right: ${d}`,g="bottom"===s?`bottom: ${c}`:`top: ${r}`;h.current.dataset.motionPopId=l;let x=document.createElement("style");f&&(x.nonce=f);let w=a??document.head;return w.appendChild(x),x.sheet&&x.sheet.insertRule(`
2
+ [data-motion-pop-id="${l}"] {
3
+ position: absolute !important;
4
+ width: ${t}px !important;
5
+ height: ${n}px !important;
6
+ ${v}px !important;
7
+ ${g}px !important;
8
+ }
9
+ `),()=>{h.current?.removeAttribute("data-motion-pop-id"),w.contains(x)&&w.removeChild(x)}},[e]),(0,n.jsx)(c,{isPresent:e,childRef:h,sizeRef:m,pop:o,children:!1===o?t:r.cloneElement(t,{ref:y})})}let m=({children:t,initial:e,isPresent:i,onExitComplete:s,custom:h,presenceAffectsLayout:u,mode:d,anchorX:c,anchorY:m,root:y})=>{let v=(0,a.M)(f),g=(0,r.useId)(),x=(0,r.useRef)(i),w=(0,r.useRef)(s);(0,o.E)(()=>{x.current=i,w.current=s});let k=!0,A=(0,r.useMemo)(()=>(k=!1,{id:g,initial:e,isPresent:i,custom:h,onExitComplete:t=>{for(let e of(v.set(t,!0),v.values()))if(!e)return;s&&s()},register:t=>(v.set(t,!1),()=>{v.delete(t),x.current||v.size||w.current?.()})}),[i,v,s]);return u&&k&&(A={...A}),(0,r.useMemo)(()=>{v.forEach((t,e)=>v.set(e,!1))},[i]),r.useEffect(()=>{i||v.size||!s||s()},[i]),t=(0,n.jsx)(p,{pop:"popLayout"===d,isPresent:i,anchorX:c,anchorY:m,root:y,children:t}),(0,n.jsx)(l.t.Provider,{value:A,children:t})};function f(){return new Map}var y=i(41487);let v=t=>t.key||"";function g(t){let e=[];return r.Children.forEach(t,t=>{(0,r.isValidElement)(t)&&e.push(t)}),e}let x=({children:t,custom:e,initial:i=!0,onExitComplete:l,presenceAffectsLayout:h=!0,mode:u="sync",propagate:d=!1,anchorX:c="left",anchorY:p="top",root:f})=>{let[x,w]=(0,y.xQ)(d),k=(0,r.useMemo)(()=>g(t),[t]),A=d&&!x?[]:k.map(v),b=(0,r.useRef)(!0),M=(0,r.useRef)(k),S=(0,a.M)(()=>new Map),T=(0,r.useRef)(new Set),[P,E]=(0,r.useState)(k),[V,C]=(0,r.useState)(k);(0,o.E)(()=>{b.current=!1,M.current=k;for(let t=0;t<V.length;t++){let e=v(V[t]);A.includes(e)?(S.delete(e),T.current.delete(e)):!0!==S.get(e)&&S.set(e,!1)}},[V,A.length,A.join("-")]);let R=[];if(k!==P){let t=[...k];for(let e=0;e<V.length;e++){let i=V[e],n=v(i);A.includes(n)||(t.splice(e,0,i),R.push(i))}return"wait"===u&&R.length&&(t=R),C(g(t)),E(k),null}let{forceRender:D}=(0,r.useContext)(s.L);return(0,n.jsx)(n.Fragment,{children:V.map(t=>{let r=v(t),s=(!d||!!x)&&(k===V||A.includes(r));return(0,n.jsx)(m,{isPresent:s,initial:(!b.current||!!i)&&void 0,custom:e,presenceAffectsLayout:h,mode:u,root:f,onExitComplete:s?void 0:()=>{if(T.current.has(r)||!S.has(r))return;T.current.add(r),S.set(r,!0);let t=!0;S.forEach(e=>{e||(t=!1)}),t&&(D?.(),C(M.current),d&&w?.(),l&&l())},anchorX:c,anchorY:p,children:t},r)})})}},18921:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("zoom-out",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]])},19700:(t,e,i)=>{i.d(e,{W:()=>n});let n={}},19897:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},21684:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]])},22947:(t,e,i)=>{i.d(e,{M:()=>n});let n=new Set(["opacity","clipPath","filter","transform"])},23441:(t,e,i)=>{i.d(e,{h:()=>c,q:()=>d});var n=i(35075),r=i(83252);let s=new Set,a=!1,o=!1,l=!1;function h(){if(o){let t=Array.from(s).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=(0,n.W9)(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}o=!1,a=!1,s.forEach(t=>t.complete(l)),s.clear()}function u(){s.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(o=!0)})}function d(){l=!0,u(),h(),l=!1}class c{constructor(t,e,i,n,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(s.add(this),a||(a=!0,r.Gt.read(u),r.Gt.resolveKeyframes(h))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;if(null===t[0]){let r=n?.get(),s=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let n=i.readValue(e,s);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=s),n&&void 0===r&&n.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),s.delete(this)}cancel(){"scheduled"===this.state&&(s.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}},24197:(t,e,i)=>{i.d(e,{KN:()=>s,gQ:()=>h,px:()=>a,uj:()=>r,vh:()=>o,vw:()=>l});let n=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),r=n("deg"),s=n("%"),a=n("px"),o=n("vh"),l=n("vw"),h={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},24779:(t,e,i)=>{i.d(e,{F:()=>a});var n=i(73367);let r=t=>"boolean"==typeof t?`${t}`:0===t?"0":t,s=n.$,a=(t,e)=>i=>{var n;if((null==e?void 0:e.variants)==null)return s(t,null==i?void 0:i.class,null==i?void 0:i.className);let{variants:a,defaultVariants:o}=e,l=Object.keys(a).map(t=>{let e=null==i?void 0:i[t],n=null==o?void 0:o[t];if(null===e)return null;let s=r(e)||r(n);return a[t][s]}),h=i&&Object.entries(i).reduce((t,e)=>{let[i,n]=e;return void 0===n||(t[i]=n),t},{});return s(t,l,null==e||null==(n=e.compoundVariants)?void 0:n.reduce((t,e)=>{let{class:i,className:n,...r}=e;return Object.entries(r).every(t=>{let[e,i]=t;return Array.isArray(i)?i.includes({...o,...h}[e]):({...o,...h})[e]===i})?[...t,i,n]:t},[]),null==i?void 0:i.class,null==i?void 0:i.className)}},25382:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("pin",[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z",key:"1nkz8b"}]])},26392:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},26471:(t,e,i)=>{i.d(e,{k:()=>n});let n=(t,e,i)=>t+(e-t)*i},28333:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("corner-down-left",[["path",{d:"M20 4v7a4 4 0 0 1-4 4H4",key:"6o5b7l"}],["path",{d:"m9 10-5 5 5 5",key:"1kshq7"}]])},28875:(t,e,i)=>{i.d(e,{I:()=>s});var n=i(19700);let r=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function s(t,e){let i=!1,s=!0,a={delta:0,timestamp:0,isProcessing:!1},o=()=>i=!0,l=r.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,n=!1,r=!1,s=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1};function o(e){s.has(e)&&(l.schedule(e),t()),e(a)}let l={schedule:(t,r=!1,a=!1)=>{let o=a&&n?e:i;return r&&s.add(t),o.add(t),t},cancel:t=>{i.delete(t),s.delete(t)},process:t=>{if(a=t,n){r=!0;return}n=!0;let s=e;e=i,i=s,e.forEach(o),e.clear(),n=!1,r&&(r=!1,l.process(t))}};return l}(o),t),{}),{setup:h,read:u,resolveKeyframes:d,preUpdate:c,update:p,preRender:m,render:f,postRender:y}=l,v=()=>{let r=n.W.useManualTiming,o=r?a.timestamp:performance.now();i=!1,r||(a.delta=s?1e3/60:Math.max(Math.min(o-a.timestamp,40),1)),a.timestamp=o,a.isProcessing=!0,h.process(a),u.process(a),d.process(a),c.process(a),p.process(a),m.process(a),f.process(a),y.process(a),a.isProcessing=!1,i&&e&&(s=!1,t(v))};return{schedule:r.reduce((e,n)=>{let r=l[n];return e[n]=(e,n=!1,o=!1)=>(!i&&(i=!0,s=!0,a.isProcessing||t(v)),r.schedule(e,n,o)),e},{}),cancel:t=>{for(let e=0;e<r.length;e++)l[r[e]].cancel(t)},state:a,steps:l}}},29334:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("triangle-alert",[["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"}]])},29538:(t,e,i)=>{i.d(e,{n:()=>n});let n="data-"+(0,i(87688).I)("framerAppearId")},29884:(t,e,i)=>{i.d(e,{s:()=>r});var n=i(48764);function r(t){return(0,n.G)(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}},29944:(t,e,i)=>{i.d(e,{t:()=>n});let n=(0,i(75834).createContext)(null)},30592:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("square-kanban",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 7v7",key:"1x2jlm"}],["path",{d:"M12 7v4",key:"xawao1"}],["path",{d:"M16 7v9",key:"1hp2iy"}]])},31985:(t,e,i)=>{i.d(e,{S:()=>n});let n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},32310:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("square-arrow-out-up-right",[["path",{d:"M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6",key:"y09zxi"}],["path",{d:"m21 3-9 9",key:"mpx6sq"}],["path",{d:"M15 3h6v6",key:"1q9fwt"}]])},33206:(t,e,i)=>{let n;i.d(e,{k:()=>o});var r=i(19700),s=i(83252);function a(){n=void 0}let o={now:()=>(void 0===n&&o.set(s.uv.isProcessing||r.W.useManualTiming?s.uv.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(a)}}},34720:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("grip-vertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]])},35075:(t,e,i)=>{i.d(e,{E4:()=>o,Hr:()=>d,W9:()=>u});var n=i(66477),r=i(2157),s=i(91176),a=i(24197);let o=t=>t===s.ai||t===a.px,l=new Set(["x","y","z"]),h=r.U.filter(t=>!l.has(t));function u(t){let e=[];return h.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e}let d={width:({x:t},{paddingLeft:e="0",paddingRight:i="0",boxSizing:n})=>{let r=t.max-t.min;return"border-box"===n?r:r-parseFloat(e)-parseFloat(i)},height:({y:t},{paddingTop:e="0",paddingBottom:i="0",boxSizing:n})=>{let r=t.max-t.min;return"border-box"===n?r:r-parseFloat(e)-parseFloat(i)},top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>(0,n.ry)(e,"x"),y:(t,{transform:e})=>(0,n.ry)(e,"y")};d.translateX=d.x,d.translateY=d.y},37013:(t,e,i)=>{i.d(e,{K:()=>r});var n=i(47401);function r(t,e,i){let r=t.getProps();return(0,n.a)(r,e,void 0!==i?i:r.custom,t)}},37055:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},37156:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("folder-input",[["path",{d:"M2 9V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-1",key:"fm4g5t"}],["path",{d:"M2 13h10",key:"pgb2dq"}],["path",{d:"m9 16 3-3-3-3",key:"6m91ic"}]])},37614:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},37763:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},38031:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},39126:(t,e,i)=>{i.d(e,{U:()=>n,_:()=>r});let n=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],r=["initial",...n]},39245:(t,e,i)=>{i.d(e,{B:()=>l});var n=i(7689),r=i(91176),s=i(3600),a=i(98681);let o={...r.ai,transform:t=>Math.round((0,n.q)(0,255,t))},l={test:(0,a.$)("rgb","red"),parse:(0,a.q)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+o.transform(t)+", "+o.transform(e)+", "+o.transform(i)+", "+(0,s.a)(r.X4.transform(n))+")"}},39253:(t,e,i)=>{i.d(e,{O:()=>h});let n=(t,e)=>e&&"number"==typeof t?e.transform(t):t;var r=i(85068),s=i(2157),a=i(51921);let o={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},l=s.U.length;function h(t,e,i){let{style:h,vars:u,transformOrigin:d}=t,c=!1,p=!1;for(let t in e){let i=e[t];if(s.f.has(t)){c=!0;continue}if((0,a.j4)(t)){u[t]=i;continue}{let e=n(i,r.W[t]);t.startsWith("origin")?(p=!0,d[t]=e):h[t]=e}}if(!e.transform&&(c||i?h.transform=function(t,e,i){let a="",h=!0;for(let u=0;u<l;u++){let l=s.U[u],d=t[l];if(void 0===d)continue;let c=!0;if("number"==typeof d)c=d===+!!l.startsWith("scale");else{let t=parseFloat(d);c=l.startsWith("scale")?1===t:0===t}if(!c||i){let t=n(d,r.W[l]);if(!c){h=!1;let e=o[l]||l;a+=`${e}(${t}) `}i&&(e[l]=t)}}let u=t.pathRotation;return u&&(h=!1,a+=`rotate(${n(u,r.W.pathRotation)}) `),a=a.trim(),i?a=i(e,h?"":a):h&&(a="none"),a}(e,t.transform,i):h.transform&&(h.transform="none")),p){let{originX:t="50%",originY:e="50%",originZ:i=0}=d;h.transformOrigin=`${t} ${e} ${i}`}}},39675:(t,e,i)=>{i.d(e,{$:()=>n,V:()=>r}),i(42922);let n=()=>{},r=()=>{}},39950:(t,e,i)=>{i.d(e,{p:()=>n});let n=t=>Array.isArray(t)},40692:(t,e,i)=>{i.d(e,{u:()=>r});var n=i(39245);let r={test:(0,i(98681).$)("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:n.B.transform}},41336:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]])},41487:(t,e,i)=>{i.d(e,{tF:()=>a,xQ:()=>s});var n=i(75834),r=i(29944);function s(t=!0){let e=(0,n.useContext)(r.t);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:a,register:o}=e,l=(0,n.useId)();(0,n.useEffect)(()=>{if(t)return o(l)},[t]);let h=(0,n.useCallback)(()=>t&&a&&a(l),[l,a,t]);return!i&&a?[!1,h]:[!0]}function a(){var t;return null===(t=(0,n.useContext)(r.t))||t.isPresent}},42260:(t,e,i)=>{i.d(e,{r:()=>r});var n=i(29912);function r(t,e){let i=t?.[e]??t?.default??t;return i!==t?(0,n.K)(i,t):i}},42533:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("git-pull-request-draft",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M18 6V5",key:"1oao2s"}],["path",{d:"M18 11v-1",key:"11c8tz"}],["line",{x1:"6",x2:"6",y1:"9",y2:"21",key:"rroup"}]])},43812:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]])},44204:(t,e,i)=>{i.d(e,{f:()=>n});let n=(t,e)=>e?1e3/e*t:0},44416:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]])},44714:(t,e,i)=>{i.d(e,{_:()=>f});var n=i(37013),r=i(42260),s=i(29912),a=i(80712),o=i(81120),l=i(78140),h=i(66208),u=i(61127),d=i(83252);function c(t,e,{delay:i=0,transitionOverride:n,type:p}={}){let{transition:m,transitionEnd:f,...y}=e,v=t.getDefaultTransition();m=m?(0,s.K)(m,v):v;let g=m?.reduceMotion,x=m?.skipAnimations;n&&(m=n);let w=[],k=p&&t.animationState&&t.animationState.getState()[p],A=m?.path;for(let e in A&&A.animateVisualElement(t,y,m,i,w),y){let n=t.getValue(e,t.latestValues[e]??null),s=y[e];if(void 0===s||k&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(k,e))continue;let o={delay:i,...(0,r.r)(m||{},e)};x&&(o.skipAnimations=!0);let c=n.get();if(void 0!==c&&!n.isAnimating()&&!Array.isArray(s)&&s===c&&!o.velocity){d.Gt.update(()=>n.set(s));continue}let p=!1;if(window.MotionHandoffAnimation){let i=(0,h.P)(t);if(i){let t=window.MotionHandoffAnimation(i,e,d.Gt);null!==t&&(o.startTime=t,p=!0)}}(0,l.g)(t,e);let f=g??t.shouldReduceMotion;n.start((0,u.f)(e,n,s,f&&a.$.has(e)?{type:!1}:o,t,p));let v=n.animation;v&&w.push(v)}if(f){let e=()=>d.Gt.update(()=>{f&&(0,o.U)(t,f)});w.length?Promise.all(w).then(e):e()}return w}var p=i(67868);function m(t,e,i={}){let r=(0,n.K)(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:s=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(s=i.transitionOverride);let a=r?()=>Promise.all(c(t,r,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:r=0,staggerChildren:a,staggerDirection:o}=s;return function(t,e,i=0,n=0,r=0,s=1,a){let o=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),o.push(m(l,e,{...a,delay:i+("function"==typeof n?0:n)+(0,p.L)(t.variantChildren,l,n,r,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(o)}(t,e,n,r,a,o,i)}:()=>Promise.resolve(),{when:l}=s;if(!l)return Promise.all([a(),o(i.delay)]);{let[t,e]="beforeChildren"===l?[a,o]:[o,a];return t().then(()=>e())}}function f(t,e,i={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e))r=Promise.all(e.map(e=>m(t,e,i)));else if("string"==typeof e)r=m(t,e,i);else{let s="function"==typeof e?(0,n.K)(t,e,i.custom):e;r=Promise.all(c(t,s,i))}return r.then(()=>{t.notify("AnimationComplete",e)})}},45400:(t,e,i)=>{i.d(e,{K:()=>n});let n=(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e<r;e++)n+=Math.round(1e4*t(e/(r-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`}},47401:(t,e,i)=>{function n(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function r(t,e,i,r){if("function"==typeof e){let[s,a]=n(r);e=e(void 0!==i?i:t.custom,s,a)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[s,a]=n(r);e=e(void 0!==i?i:t.custom,s,a)}return e}i.d(e,{a:()=>r})},47849:(t,e,i)=>{i.d(e,{V:()=>o});var n=i(91176),r=i(24197),s=i(3600),a=i(98681);let o={test:(0,a.$)("hsl","hue"),parse:(0,a.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:a=1})=>"hsla("+Math.round(t)+", "+r.KN.transform((0,s.a)(e))+", "+r.KN.transform((0,s.a)(i))+", "+(0,s.a)(n.X4.transform(a))+")"}},47888:(t,e,i)=>{i.d(e,{H:()=>W});var n=i(26514),r=i(75834),s=i(75978);let a=(0,r.createContext)({strict:!1});var o=i(73533);let l=(0,r.createContext)({});var h=i(8207),u=i(88259);function d(t){return Array.isArray(t)?t.join(" "):t}var c=i(51204),p=i(85891),m=i(39253);let f=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function y(t,e,i){for(let n in e)(0,c.S)(e[n])||(0,p.zK)(n,i)||(t[n]=e[n])}var v=i(57054),g=i(98109);let x=()=>({...f(),attrs:{}});var w=i(8521),k=i(71626),A=i(77380),b=i(94088),M=i(9328),S=i(47401),T=i(29944),P=i(53214);let E=t=>(e,i)=>{let n=(0,r.useContext)(l),s=(0,r.useContext)(T.t),a=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,n,r){return{latestValues:function(t,e,i,n){let r={},s=n(t,{});for(let t in s)r[t]=(0,b.u)(s[t]);let{initial:a,animate:o}=t,l=(0,h.e)(t),u=(0,h.O)(t);e&&u&&!l&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===o&&(o=e.animate));let d=!!i&&!1===i.initial,c=(d=d||!1===a)?o:a;if(c&&"boolean"!=typeof c&&!(0,M.N)(c)){let e=Array.isArray(c)?c:[c];for(let i=0;i<e.length;i++){let n=(0,S.a)(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=d?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(i,n,r,t),renderState:e()}})(t,e,n,s);return i?a():(0,P.M)(a)},V=E({scrapeMotionValuesFromProps:A.x,createRenderState:f}),C=E({scrapeMotionValuesFromProps:i(50201).x,createRenderState:x});var R=i(88577);let D={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"]},j=!1;function L(){return!function(){if(j)return;let t={};for(let e in D)t[e]={isEnabled:t=>D[e].some(e=>!!t[e])};(0,R.lr)(t),j=!0}(),(0,R.vK)()}let B=Symbol.for("motionComponentSymbol");var F=i(29538),O=i(15386),I=i(9198),U=i(51382);function z(t,{forwardMotionProps:e=!1,type:i}={},p,A){p&&function(t){let e=L();for(let i in t)e[i]={...e[i],...t[i]};(0,R.lr)(e)}(p);let b=i?"svg"===i:(0,k.Q)(t),M=b?C:V;function S(i,p){var S;let P,E,V,C={...(0,r.useContext)(o.Q),...i,layoutId:function({layoutId:t}){let e=(0,r.useContext)(s.L).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:R}=C,D=function(t){let{initial:e,animate:i}=function(t,e){if((0,h.e)(t)){let{initial:e,animate:i}=t;return{initial:!1===e||(0,u.w)(e)?e:void 0,animate:(0,u.w)(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,r.useContext)(l));return(0,r.useMemo)(()=>({initial:e,animate:i}),[d(e),d(i)])}(i),j=M(i,R);if(!R&&"u">typeof window){(0,r.useContext)(a).strict;let e=function(t){let{drag:e,layout:i}=L();if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(C);P=e.MeasureLayout,D.visualElement=function(t,e,i,n,s,h){let{visualElement:u}=(0,r.useContext)(l),d=(0,r.useContext)(a),c=(0,r.useContext)(T.t),p=(0,r.useContext)(o.Q),m=p.reducedMotion,f=p.skipAnimations,y=(0,r.useRef)(null),v=(0,r.useRef)(!1);n=n||d.renderer,!y.current&&n&&(y.current=n(t,{visualState:e,parent:u,props:i,presenceContext:c,blockInitialAnimation:!!c&&!1===c.initial,reducedMotionConfig:m,skipAnimations:f,isSVG:h}),v.current&&y.current&&(y.current.manuallyAnimateOnMount=!0));let g=y.current,x=(0,r.useContext)(O.N);g&&!g.projection&&s&&("html"===g.type||"svg"===g.type)&&function(t,e,i,n){let{layoutId:r,layout:s,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:h,layoutAnchor:u,layoutCrossfade:d}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!a||o&&(0,I.X)(o),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,crossfade:d,layoutScroll:l,layoutRoot:h,layoutAnchor:u})}(y.current,i,s,x);let w=(0,r.useRef)(!1);(0,r.useInsertionEffect)(()=>{g&&w.current&&g.update(i,c)});let k=i[F.n],A=(0,r.useRef)(!!k&&"u">typeof window&&!window.MotionHandoffIsComplete?.(k)&&window.MotionHasOptimisedAnimation?.(k));return(0,U.E)(()=>{v.current=!0,g&&(w.current=!0,window.MotionIsMounted=!0,g.updateFeatures(),g.scheduleRenderMicrotask(),A.current&&g.animationState&&g.animationState.animateChanges())}),(0,r.useEffect)(()=>{g&&(!A.current&&g.animationState&&g.animationState.animateChanges(),A.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(k)}),A.current=!1),g.enteringChildren=void 0)}),g}(t,j,C,A,e.ProjectionNode,b)}return(0,n.jsxs)(l.Provider,{value:D,children:[P&&D.visualElement?(0,n.jsx)(P,{visualElement:D.visualElement,...C}):null,function(t,e,i,{latestValues:n},s,a=!1,o){let l=(o??(0,k.Q)(t)?function(t,e,i,n){let s=(0,r.useMemo)(()=>{let i=x();return(0,v.B)(i,e,(0,g.n)(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};y(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,e){let i,n,s={},a=(i=t.style||{},y(n={},i,t),Object.assign(n,function({transformTemplate:t},e){return(0,r.useMemo)(()=>{let i=f();return(0,m.O)(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),n);return t.drag&&!1!==t.dragListener&&(s.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(s.tabIndex=0),s.style=a,s})(e,n,s,t),h=(0,w.J)(e,"string"==typeof t,a),u=t!==r.Fragment?{...h,...l,ref:i}:{},{children:d}=e,p=(0,r.useMemo)(()=>(0,c.S)(d)?d.get():d,[d]);return(0,r.createElement)(t,{...u,children:p})}(t,i,(S=D.visualElement,E=(0,r.useRef)(p),(0,r.useInsertionEffect)(()=>{E.current=p}),V=(0,r.useRef)(null),(0,r.useCallback)(t=>{t&&j.onMount?.(t),S&&(t?S.mount(t):S.unmount());let e=E.current;if("function"==typeof e)if(t){let i=e(t);"function"==typeof i&&(V.current=i)}else V.current?(V.current(),V.current=null):e(t);else e&&(e.current=t)},[S])),j,R,e,b)]})}S.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let P=(0,r.forwardRef)(S);return P[B]=t,P}function W(t,e){if("u"<typeof Proxy)return z;let i=new Map,n=(i,n)=>z(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(r,s)=>"create"===s?n:(i.has(s)||i.set(s,z(s,void 0,t,e)),i.get(s))})}},48764:(t,e,i)=>{i.d(e,{G:()=>n});let n=t=>"object"==typeof t&&null!==t},50201:(t,e,i)=>{i.d(e,{x:()=>a});var n=i(51204),r=i(2157),s=i(77380);function a(t,e,i){let a=(0,s.x)(t,e,i);for(let i in t)((0,n.S)(t[i])||(0,n.S)(e[i]))&&(a[-1!==r.U.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return a}},50405:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]])},51256:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("settings",[["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"}]])},51382:(t,e,i)=>{i.d(e,{E:()=>r});var n=i(75834);let r="u">typeof window?n.useLayoutEffect:n.useEffect},51921:(t,e,i)=>{i.d(e,{j4:()=>r,pG:()=>a,rm:()=>l});let n=t=>e=>"string"==typeof e&&e.startsWith(t),r=n("--"),s=n("var(--"),a=t=>!!s(t)&&o.test(t.split("/*")[0].trim()),o=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function l(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}},52867:(t,e,i)=>{function n(t,e){-1===t.indexOf(e)&&t.push(e)}function r(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function s([...t],e,i){let n=e<0?t.length+e:e;if(n>=0&&n<t.length){let n=i<0?t.length+i:i,[r]=t.splice(e,1);t.splice(n,0,r)}return t}i.d(e,{Ai:()=>r,Kq:()=>n,Pe:()=>s})},52904:(t,e,i)=>{i.d(e,{G:()=>u});var n=i(19700),r=i(86618),s=i(602),a=i(39675),o=i(65959),l=i(7689),h=i(71901);function u(t,e,{clamp:i=!0,ease:d,mixer:c}={}){let p=t.length;if((0,a.V)(p===e.length,"Both input and output ranges must be the same length","range-length"),1===p)return()=>e[0];if(2===p&&e[0]===e[1])return()=>e[1];let m=t[0]===t[1];t[0]>t[p-1]&&(t=[...t].reverse(),e=[...e].reverse());let f=function(t,e,i){let a=[],o=i||n.W.mix||h.j,l=t.length-1;for(let i=0;i<l;i++){let n=o(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||r.l:e;n=(0,s.F)(t,n)}a.push(n)}return a}(e,d,c),y=f.length,v=i=>{if(m&&i<t[0])return e[0];let n=0;if(y>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let r=(0,o.q)(t[n],t[n+1],i);return f[n](r)};return i?e=>v((0,l.q)(t[0],t[p-1],e)):v}},53081:(t,e,i)=>{i.d(e,{V:()=>u,f:()=>c});var n=i(80911);let r=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=i(31985),a=i(3600);let o="number",l="color",h=/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 u(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},s=[],a=0,u=e.replace(h,t=>(n.y.test(t)?(r.color.push(a),s.push(l),i.push(n.y.parse(t))):t.startsWith("var(")?(r.var.push(a),s.push("var"),i.push(t)):(r.number.push(a),s.push(o),i.push(parseFloat(t))),++a,"${}")).split("${}");return{values:i,split:u,indexes:r,types:s}}function d({split:t,types:e}){let i=t.length;return r=>{let s="";for(let h=0;h<i;h++)if(s+=t[h],void 0!==r[h]){let t=e[h];t===o?s+=(0,a.a)(r[h]):t===l?s+=n.y.transform(r[h]):s+=r[h]}return s}}let c={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(s.S)?.length||0)+(t.match(r)?.length||0)>0},parse:function(t){return u(t).values},createTransformer:function(t){return d(u(t))},getAnimatableNone:function(t){let e=u(t);return d(e)(e.values.map((t,i)=>((t,e)=>"number"==typeof t?e?.trim().endsWith("/")?t:0:"number"==typeof t?0:n.y.test(t)?n.y.getAnimatableNone(t):t)(t,e.split[i])))}}},54035:(t,e,i)=>{i.d(e,{W:()=>n});function n(t){return"function"==typeof t&&"applyToOptions"in t}},54903:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("git-pull-request",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["line",{x1:"6",x2:"6",y1:"9",y2:"21",key:"rroup"}]])},54919:(t,e,i)=>{i.d(e,{e:()=>n});function n(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}},55713:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("film",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]])},55985:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("file-diff",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M9 10h6",key:"9gxzsh"}],["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"M9 17h6",key:"r8uit2"}]])},57054:(t,e,i)=>{i.d(e,{B:()=>o});var n=i(39253);let r={offset:"stroke-dashoffset",array:"stroke-dasharray"},s={offset:"strokeDashoffset",array:"strokeDasharray"},a=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function o(t,{attrX:e,attrY:i,attrScale:l,pathLength:h,pathSpacing:u=1,pathOffset:d=0,...c},p,m,f){if((0,n.O)(t,c,m),p){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:y,style:v}=t;for(let t of(y.transform&&(v.transform=y.transform,delete y.transform),(v.transform||y.transformOrigin)&&(v.transformOrigin=y.transformOrigin??"50% 50%",delete y.transformOrigin),v.transform&&(v.transformBox=f?.transformBox??"fill-box",delete y.transformBox),a))void 0!==y[t]&&(v[t]=y[t],delete y[t]);void 0!==e&&(y.x=e),void 0!==i&&(y.y=i),void 0!==l&&(y.scale=l),void 0!==h&&function(t,e,i=1,n=0,a=!0){t.pathLength=1;let o=a?r:s;t[o.offset]=`${-n}`,t[o.array]=`${e} ${i}`}(y,h,u,d,!1)}},58091:(t,e,i)=>{i.d(e,{A:()=>h});var n=i(75834);let r=(...t)=>t.filter((t,e,i)=>!!t&&""!==t.trim()&&i.indexOf(t)===e).join(" ").trim(),s=t=>{let e=t.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,e,i)=>i?i.toUpperCase():e.toLowerCase());return e.charAt(0).toUpperCase()+e.slice(1)};var a={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"};let o=(0,n.createContext)({}),l=(0,n.forwardRef)(({color:t,size:e,strokeWidth:i,absoluteStrokeWidth:s,className:l="",children:h,iconNode:u,...d},c)=>{let{size:p=24,strokeWidth:m=2,absoluteStrokeWidth:f=!1,color:y="currentColor",className:v=""}=(0,n.useContext)(o)??{},g=s??f?24*Number(i??m)/Number(e??p):i??m;return(0,n.createElement)("svg",{ref:c,...a,width:e??p??a.width,height:e??p??a.height,stroke:t??y,strokeWidth:g,className:r("lucide",v,l),...!h&&!(t=>{for(let e in t)if(e.startsWith("aria-")||"role"===e||"title"===e)return!0;return!1})(d)&&{"aria-hidden":"true"},...d},[...u.map(([t,e])=>(0,n.createElement)(t,e)),...Array.isArray(h)?h:[h]])}),h=(t,e)=>{let i=(0,n.forwardRef)(({className:i,...a},o)=>(0,n.createElement)(l,{ref:o,iconNode:e,className:r(`lucide-${s(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${t}`,i),...a}));return i.displayName=s(t),i}},58629:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]])},59232:(t,e,i)=>{i.d(e,{N:()=>M});var n=i(26514),r=i(51204),s=i(39675),a=i(75834),o=i(99904),l=i(12673),h=i(53214),u=i(68089),d=i(73533);function c(t){let e=(0,h.M)(()=>(0,u.OQ)(t)),{isStatic:i}=(0,a.useContext)(d.Q);if(i){let[,i]=(0,a.useState)(t);(0,a.useEffect)(()=>e.on("change",i),[])}return e}var p=i(52904),m=i(83252),f=i(51382);function y(t,e){let i=c(e()),n=()=>i.set(e());return n(),(0,f.E)(()=>{let e=()=>m.Gt.preRender(n,!1,!0),i=t.map(t=>t.on("change",e));return()=>{i.forEach(t=>t()),(0,m.WG)(n)}}),i}function v(t,e){let i=(0,h.M)(()=>[]);return y(t,()=>{i.length=0;let n=t.length;for(let e=0;e<n;e++)i[e]=t[e].get();return e(i)})}let g=new Set(["auto","scroll"]),x=new WeakMap,w=new WeakMap,k=null;function A(t,e){let i=t?.parentElement;for(;i;){if(function(t,e){let i=getComputedStyle(t),n="x"===e?i.overflowX:i.overflowY,r=t===document.body||t===document.documentElement;return g.has(n)||r}(i,e))return i;i=i.parentElement}return null}function b(t,e=0){return(0,r.S)(t)?t:c(e)}let M=(0,a.forwardRef)(function({children:t,style:e={},value:i,as:r="li",onDrag:d,onDragEnd:c,layout:m=!0,...f},g){let M=(0,h.M)(()=>l.P[r]),S=(0,a.useContext)(o.T),T={x:b(e.x),y:b(e.y)},P=function t(e,i,n,r){if("function"==typeof e){let t;return u.bt.current=[],e(),t=y(u.bt.current,e),u.bt.current=void 0,t}if(void 0!==n&&!Array.isArray(n)&&"function"!=typeof i){var s=e,a=i,o=n,l=r;let u=(0,h.M)(()=>Object.keys(o)),d=(0,h.M)(()=>({}));for(let e of u)d[e]=t(s,a,o[e],l);return d}let d="function"==typeof i?i:function(...t){let e=!Array.isArray(t[0]),i=e?0:-1,n=t[0+i],r=t[1+i],s=t[2+i],a=t[3+i],o=(0,p.G)(r,s,a);return e?o(n):o}(i,n,r),c=Array.isArray(e)?v(e,d):v([e],([t])=>d(t)),m=Array.isArray(e)?void 0:e.accelerate;return m&&!m.isTransformed&&"function"!=typeof i&&Array.isArray(n)&&r?.clamp!==!1&&(c.accelerate={...m,times:i,keyframes:n,isTransformed:!0,...r?.ease?{ease:r.ease}:{}}),c}([T.x,T.y],([t,e])=>t||e?1:"unset");(0,s.V)(!!S,"Reorder.Item must be a child of Reorder.Group","reorder-item-child");let{axis:E,registerItem:V,updateOrder:C,groupRef:R}=S;return(0,n.jsx)(M,{drag:E,...f,dragSnapToOrigin:!0,style:{...e,x:T.x,y:T.y,zIndex:P},layout:m,onDrag:(t,e)=>{let{velocity:n,point:r}=e;C(i,T[E].get(),n[E]),function(t,e,i,n){if(!t)return;k=t;let r=A(t,i);if(!r)return;let{amount:s,edge:a}=function(t,e,i){let n=e.getBoundingClientRect(),r="x"===i?Math.max(0,n.left):Math.max(0,n.top),s="x"===i?Math.min(window.innerWidth,n.right):Math.min(window.innerHeight,n.bottom),a=t-r,o=s-t;if(a<50){let t=1-a/50;return{amount:-25*t*t,edge:"start"}}if(o<50){let t=1-o/50;return{amount:25*t*t,edge:"end"}}return{amount:0,edge:null}}(e-("x"===i?window.scrollX:window.scrollY),r,i);if(null===a){w.delete(r),x.delete(r);return}let o=w.get(r),l=r===document.body||r===document.documentElement;if(o!==a){if(!("start"===a&&n<0||"end"===a&&n>0))return;w.set(r,a);let t="x"===i?r.scrollWidth-(l?window.innerWidth:r.clientWidth):r.scrollHeight-(l?window.innerHeight:r.clientHeight);x.set(r,t)}if(s>0){let t=x.get(r);if(("x"===i?l?window.scrollX:r.scrollLeft:l?window.scrollY:r.scrollTop)>=t)return}"x"===i?l?window.scrollBy({left:s}):r.scrollLeft+=s:l?window.scrollBy({top:s}):r.scrollTop+=s}(R.current,r[E],E,n[E]),d&&d(t,e)},onDragEnd:(t,e)=>{if(k){let t=A(k,"y");t&&(w.delete(t),x.delete(t));let e=A(k,"x");e&&e!==t&&(w.delete(e),x.delete(e)),k=null}c&&c(t,e)},onLayoutMeasure:t=>{V(i,t)},ref:g,ignoreStrict:!0,children:t})})},60858:(t,e,i)=>{i.d(e,{D:()=>n});let n=t=>Array.isArray(t)&&"number"==typeof t[0]},61127:(t,e,i)=>{i.d(e,{f:()=>tx});var n=i(14548),r=i(19700),s=i(86618),a=i(33206),o=i(602),l=i(7689),h=i(71901),u=i(83252);let d=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>u.Gt.update(e,t),stop:()=>(0,u.WG)(e),now:()=>u.uv.isProcessing?u.uv.timestamp:a.k.now()}};var c=i(39675),p=i(45400);function m(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}let f=.01,y=2,v=.005,g=.5;function x(t,e){return t*Math.sqrt(1-e*e)}let w=["duration","bounce"],k=["stiffness","damping","mass"];function A(t,e){return e.some(e=>void 0!==t[e])}function b(t=.3,e=.3){let i,r,s,a,o,h,u="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:d,restDelta:M}=u,S=u.keyframes[0],T=u.keyframes[u.keyframes.length-1],P={done:!1,value:S},{stiffness:E,damping:V,mass:C,duration:R,velocity:D,isResolvedFromDuration:j}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!A(t,k)&&A(t,w))if(e.velocity=0,t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,r=2*(0,l.q)(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:1,stiffness:n,damping:r}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:r=1}){let s,a;(0,c.$)(t<=(0,n.f)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-e;o=(0,l.q)(.05,1,o),t=(0,l.q)(.01,10,(0,n.X)(t)),o<1?(s=e=>{let n=e*o,r=n*t;return .001-(n-i)/x(e,o)*Math.exp(-r)},a=e=>{let n=e*o*t,r=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-n),l=x(Math.pow(e,2),o);return(n*i+i-r)*a*(-s(e)+.001>0?-1:1)/l}):(s=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),a=e=>t*t*(i-e)*Math.exp(-e*t));let h=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(s,a,5/t);if(t=(0,n.f)(t),isNaN(h))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(h,2)*r;return{stiffness:e,damping:2*o*Math.sqrt(r*e),duration:t}}}({...t,velocity:0});(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...u,velocity:-(0,n.X)(u.velocity||0)}),L=D||0,B=V/(2*Math.sqrt(E*C)),F=T-S,O=(0,n.X)(Math.sqrt(E/C)),I=5>Math.abs(F);if(d||(d=I?f:y),M||(M=I?v:g),B<1)s=x(O,B),a=(L+B*O*F)/s,i=t=>T-Math.exp(-B*O*t)*(a*Math.sin(s*t)+F*Math.cos(s*t)),o=B*O*a+F*s,h=B*O*F-a*s,r=t=>Math.exp(-B*O*t)*(o*Math.sin(s*t)+h*Math.cos(s*t));else if(1===B){i=t=>T-Math.exp(-O*t)*(F+(L+O*F)*t);let t=L+O*F;r=e=>Math.exp(-O*e)*(O*t*e-L)}else{let t=O*Math.sqrt(B*B-1);i=e=>{let i=Math.exp(-B*O*e),n=Math.min(t*e,300);return T-i*((L+B*O*F)*Math.sinh(n)+t*F*Math.cosh(n))/t};let e=(L+B*O*F)/t,n=B*O*e-F*t,s=B*O*F-e*t;r=e=>{let i=Math.exp(-B*O*e),r=Math.min(t*e,300);return i*(n*Math.sinh(r)+s*Math.cosh(r))}}let U={calculatedDuration:j&&R||null,velocity:t=>(0,n.f)(r(t)),next:t=>{if(!j&&B<1){let e=Math.exp(-B*O*t),i=Math.sin(s*t),r=Math.cos(s*t),l=T-e*(a*i+F*r);return P.done=Math.abs((0,n.f)(e*(o*i+h*r)))<=d&&Math.abs(T-l)<=M,P.value=P.done?T:l,P}let e=i(t);return j?P.done=t>=R:P.done=Math.abs((0,n.f)(r(t)))<=d&&Math.abs(T-e)<=M,P.value=P.done?T:e,P},toString:()=>{let t=Math.min(m(U),2e4),e=(0,p.K)(e=>U.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return U}b.applyToOptions=t=>{let e=function(t,e=100,i){let r=i({...t,keyframes:[0,e]}),s=Math.min(m(r),2e4);return{type:"keyframes",ease:t=>r.next(s*t).value/e,duration:(0,n.X)(s)}}(t,100,b);return t.ease=e.ease,t.duration=(0,n.f)(e.duration),t.type="keyframes",t};var M=i(44204);function S(t,e,i){let n=Math.max(e-5,0);return(0,M.f)(i-t(n),e-n)}function T({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:a,min:o,max:l,restDelta:h=.5,restSpeed:u}){let d,c,p=t[0],m={done:!1,value:p},f=i*e,y=p+f,v=void 0===a?y:a(y);v!==y&&(f=v-p);let g=t=>-f*Math.exp(-t/n),x=t=>v+g(t),w=t=>{let e=g(t),i=x(t);m.done=Math.abs(e)<=h,m.value=m.done?v:i},k=t=>{let e;if(e=m.value,void 0!==o&&e<o||void 0!==l&&e>l){var i;d=t,c=b({keyframes:[m.value,(i=m.value,void 0===o?l:void 0===l||Math.abs(o-i)<Math.abs(l-i)?o:l)],velocity:S(x,t,m.value),damping:r,stiffness:s,restDelta:h,restSpeed:u})}};return k(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==d||(e=!0,w(t),k(t)),void 0!==d&&t>=d)?c.next(t-d):(e||w(t),m)}}}let P=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function E(t,e,i,n){return t===e&&i===n?s.l:r=>0===r||1===r?r:P(function(t,e,i,n,r){let s,a,o=0;do(s=P(a=e+(i-e)/2,n,r)-t)>0?i=a:e=a;while(Math.abs(s)>1e-7&&++o<12);return a}(r,0,1,t,i),e,n)}let V=E(.42,0,1,1),C=E(0,0,.58,1),R=E(.42,0,.58,1);var D=i(10934),j=i(13725);let L=E(.33,1.53,.69,.99),B=(0,j.G)(L),F=(0,D.V)(B),O=t=>t>=1?1:(t*=2)<1?.5*B(t):.5*(2-Math.pow(2,-10*(t-1)));var I=i(3255),U=i(60858);let z={linear:s.l,easeIn:V,easeInOut:R,easeOut:C,circIn:I.po,circInOut:I.tn,circOut:I.yT,backIn:B,backInOut:F,backOut:L,anticipate:O},W=t=>{if((0,U.D)(t)){(0,c.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,r]=t;return E(e,i,n,r)}return"string"==typeof t?((0,c.V)(void 0!==z[t],`Invalid easing type '${t}'`,"invalid-easing-type"),z[t]):t};var N=i(52904),$=i(65959),q=i(26471);function G({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var r;let s,a=Array.isArray(n)&&"number"!=typeof n[0]?n.map(W):W(n),o={done:!1,value:e[0]},l=(r=i&&i.length===e.length?i:(!function(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let r=(0,$.q)(0,e,n);t.push((0,q.k)(i,1,r))}}(s=[0],e.length-1),s),r.map(e=>e*t)),h=(0,N.G)(l,e,{ease:Array.isArray(a)?a:e.map(()=>a||R).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=h(e),o.done=e>=t,o)}}var H=i(3157);let X={decay:T,inertia:T,tween:G,keyframes:G,spring:b};function K(t){"string"==typeof t.type&&(t.type=X[t.type])}var Y=i(5733);let _=t=>t/100;class Q extends Y.q{constructor(t){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=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==a.k.now()&&this.tick(a.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;K(t);let{type:e=G,repeat:i=0,repeatDelay:n=0,repeatType:r,velocity:s=0}=t,{keyframes:a}=t,l=e||G;l!==G&&"number"!=typeof a[0]&&(this.mixKeyframes=(0,o.F)(_,(0,h.j)(a[0],a[1])),a=[0,100]);let u=l({...t,keyframes:a});"mirror"===r&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-s})),null===u.calculatedDuration&&(u.calculatedDuration=m(u));let{calculatedDuration:d}=u;this.calculatedDuration=d,this.resolvedDuration=d+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=u}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let i,{generator:n,totalDuration:r,mixKeyframes:s,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:h}=this;if(null===this.startTime)return n.next(0);let{delay:u=0,keyframes:d,repeat:c,repeatType:p,repeatDelay:m,type:f,onUpdate:y,finalKeyframe:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),x=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let w=this.currentTime,k=n;if(c){let t=Math.min(this.currentTime,r)/o,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===p?(i=1-i,m&&(i-=m/o)):"mirror"===p&&(k=a)),w=(0,l.q)(0,1,i)*o}x?(this.delayState.value=d[0],i=this.delayState):i=k.next(w),s&&!x&&(i.value=s(i.value));let{done:A}=i;x||null===h||(A=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let b=null===this.holdTime&&("finished"===this.state||"running"===this.state&&A);return b&&f!==T&&(i.value=(0,H.X)(d,this.options,v,this.speed)),y&&y(i.value),b&&this.finish(),i}then(t,e){return this.finished.then(t,e)}get duration(){return(0,n.X)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,n.X)(t)}get time(){return(0,n.X)(this.currentTime)}set time(t){t=(0,n.f)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){let t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let e=this.generator.next(t).value;return S(t=>this.generator.next(t).value,t,e)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(a.k.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=(0,n.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=d,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(a.k.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}var Z=i(23441),J=i(54919),tt=i(69501);let te={anticipate:O,backInOut:F,circInOut:I.tn};class ti extends tt.m{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in te&&(t.ease=te[t.ease])}(t),K(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:r,...s}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new Q({...s,autoplay:!1}),h=Math.max(10,a.k.now()-this.startTime),u=(0,l.q)(0,10,h-10),d=o.sample(h).value,{name:c}=this.options;r&&c&&(0,J.e)(r,c,d),e.setWithVelocity(o.sample(Math.max(0,h-u)).value,d,u),o.stop()}}var tn=i(54035),tr=i(53081);let ts=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(tr.f.test(t)||"0"===t)&&!t.startsWith("url("));function ta(t){t.duration=0,t.type="keyframes"}var to=i(72868),tl=i(22947);let th=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,tu=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),td=(0,to.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class tc extends Y.q{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="loop",keyframes:o,name:l,motionValue:h,element:u,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=a.k.now();const c={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,name:l,motionValue:h,element:u,...d},p=u?.KeyframeResolver||Z.h;this.keyframeResolver=new p(o,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),l,h,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){let o;this.keyframeResolver=void 0;let{name:l,type:h,velocity:u,delay:d,isHandoff:p,onUpdate:m}=i;this.resolvedAt=a.k.now();let f=!0;!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],a=ts(r,e),o=ts(s,e);return(0,c.$)(a===o,`You are trying to animate ${e} from "${r}" to "${s}". "${a?s:r}" is not an animatable value.`,"value-not-animatable"),!!a&&!!o&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||(0,tn.W)(i))&&n)}(t,l,h,u)&&(f=!1,(r.W.instantAnimations||!d)&&m?.((0,H.X)(t,i,e)),t[0]=t[t.length-1],ta(i),i.repeat=0);let y={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},v=f&&!p&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:a,keyframes:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:h}=e.owner.getProps();return td()&&i&&(tl.M.has(i)||tu.has(i)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&th.test(t[e]))return!0;return!1}(o))&&("transform"!==i||!h)&&!l&&!n&&"mirror"!==r&&0!==s&&"inertia"!==a}(y),g=y.motionValue?.owner?.current;if(v)try{o=new ti({...y,element:g})}catch{o=new Q(y)}else o=new Q(y);o.finished.then(()=>{this.notifyFinished()}).catch(s.l),this.pendingTimeline&&(this.stopTimeline=o.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=o}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,Z.q)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}var tp=i(42260),tm=i(2157);let tf={type:"spring",stiffness:500,damping:25,restSpeed:10},ty={type:"keyframes",duration:.8},tv={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tg=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),tx=(t,e,i,s={},a,o)=>l=>{let h=(0,tp.r)(s,t)||{},d=h.delay||s.delay||0,{elapsed:c=0}=s;c-=(0,n.f)(d);let p={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...h,delay:-c,onUpdate:t=>{e.set(t),h.onUpdate&&h.onUpdate(t)},onComplete:()=>{l(),h.onComplete&&h.onComplete()},name:t,motionValue:e,element:o?void 0:a};!function(t){for(let e in t)if(!tg.has(e))return!0;return!1}(h)&&Object.assign(p,((t,{keyframes:e})=>e.length>2?ty:tm.f.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:tf:tv)(t,p)),p.duration&&(p.duration=(0,n.f)(p.duration)),p.repeatDelay&&(p.repeatDelay=(0,n.f)(p.repeatDelay)),void 0!==p.from&&(p.keyframes[0]=p.from);let m=!1;if(!1!==p.type&&(0!==p.duration||p.repeatDelay)||(ta(p),0===p.delay&&(m=!0)),(r.W.instantAnimations||r.W.skipAnimations||a?.shouldSkipAnimations||h.skipAnimations)&&(m=!0,ta(p),p.delay=0),p.allowFlatten=!h.type&&!h.ease,m&&!o&&void 0!==e.get()){let t=(0,H.X)(p.keyframes,h);if(void 0!==t)return void u.Gt.update(()=>{p.onUpdate(t),p.onComplete()})}return h.isSync?new Q(p):new tc(p)}},62607:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]])},63252:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("bell",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]])},65959:(t,e,i)=>{i.d(e,{q:()=>n});let n=(t,e,i)=>{let n=e-t;return n?(i-t)/n:1}},66208:(t,e,i)=>{i.d(e,{P:()=>r});var n=i(29538);function r(t){return t.props[n.n]}},66466:(t,e,i)=>{i.d(e,{J:()=>l});var n=i(53081),r=i(79118),s=i(5540),a=i(91321);let o=new Set([r.p,s.d]);function l(t,e){let i=(0,a.D)(t);return o.has(i)||(i=n.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}},66477:(t,e,i)=>{i.d(e,{Ib:()=>c,ry:()=>d,zs:()=>u});let n=t=>180*t/Math.PI,r=t=>a(n(Math.atan2(t[1],t[0]))),s={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:r,rotateZ:r,skewX:t=>n(Math.atan(t[1])),skewY:t=>n(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},a=t=>((t%=360)<0&&(t+=360),t),o=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),h={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:o,scaleY:l,scale:t=>(o(t)+l(t))/2,rotateX:t=>a(n(Math.atan2(t[6],t[5]))),rotateY:t=>a(n(Math.atan2(-t[2],t[0]))),rotateZ:r,rotate:r,skewX:t=>n(Math.atan(t[4])),skewY:t=>n(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function u(t){return+!!t.includes("scale")}function d(t,e){let i,n;if(!t||"none"===t)return u(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=h,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=s,n=e}if(!n)return u(e);let a=i[e],o=n[1].split(",").map(p);return"function"==typeof a?a(o):o[a]}let c=(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return d(i,e)};function p(t){return parseFloat(t.trim())}},67297:(t,e,i)=>{i.d(e,{I:()=>a});var n=i(82369),r=i(87050),s=i(75834);function a(){n.r.current||(0,r.Uu)();let[t]=(0,s.useState)(n.O.current);return t}},67868:(t,e,i)=>{i.d(e,{L:()=>n});function n(t,e,i,r=0,s=1){let a=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,l=(o-1)*r;return"function"==typeof i?i(a,o):1===s?a*r:l-a*r}},68089:(t,e,i)=>{i.d(e,{OQ:()=>h,bt:()=>o});var n=i(15099),r=i(44204),s=i(33206),a=i(83252);let o={current:void 0};class l{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=s.k.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=s.k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new n.v);let i=this.events[t].add(e);return"change"===t?()=>{i(),a.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return o.current&&o.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=s.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,r.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),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(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function h(t,e){return new l(t,e)}},69501:(t,e,i)=>{i.d(e,{m:()=>x});var n=i(39675),r=i(14548),s=i(86618),a=i(54919),o=i(72868);let l={};function h(t,e){let i=(0,o.p)(t);return()=>l[e]??i()}let u=h(()=>void 0!==window.ScrollTimeline,"scrollTimeline");var d=i(3157),c=i(5733),p=i(60858);let m=h(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var f=i(45400);let y=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,v={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:y([0,.65,.55,1]),circOut:y([.55,0,1,.45]),backIn:y([.31,.01,.66,-.59]),backOut:y([.33,1.53,.69,.99])};var g=i(54035);class x extends c.q{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:i,keyframes:r,pseudoElement:s,allowFlatten:o=!1,finalKeyframe:l,onComplete:h}=t;this.isPseudoElement=!!s,this.allowFlatten=o,this.options=t,(0,n.V)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const u=function({type:t,...e}){return(0,g.W)(t)&&m()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:n=0,duration:r=300,repeat:s=0,repeatType:a="loop",ease:o="easeOut",times:l}={},h){let u={[e]:i};l&&(u.offset=l);let d=function t(e,i){if(e)return"function"==typeof e?m()?(0,f.K)(e,i):"ease-out":(0,p.D)(e)?y(e):Array.isArray(e)?e.map(e=>t(e,i)||v.easeOut):v[e]}(o,r);Array.isArray(d)&&(u.easing=d);let c={delay:n,duration:r,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:"reverse"===a?"alternate":"normal"};return h&&(c.pseudoElement=h),t.animate(u,c)}(e,i,r,u,s),!1===u.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){let t=(0,d.X)(r,this.options,l,this.speed);this.updateMotionValue&&this.updateMotionValue(t),(0,a.e)(e,i,t),this.animation.cancel()}h?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,r.X)(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,r.X)(t)}get time(){return(0,r.X)(Number(this.animation.currentTime)||0)}set time(t){let e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=(0,r.f)(t),e&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:e,rangeEnd:i,observe:n}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&u())?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),i&&(this.animation.rangeEnd=i),s.l):n(this)}}},69758:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]])},69808:(t,e,i)=>{i.d(e,{ge:()=>a,xU:()=>r});let n=()=>({translate:0,scale:1,origin:0,originPoint:0}),r=()=>({x:n(),y:n()}),s=()=>({min:0,max:0}),a=()=>({x:s(),y:s()})},70170:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]])},71520:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]])},71626:(t,e,i)=>{i.d(e,{Q:()=>r});let n=["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 r(t){if("string"!=typeof t||t.includes("-"));else if(n.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}},71901:(t,e,i)=>{i.d(e,{j:()=>M});var n=i(602),r=i(39675),s=i(51921),a=i(80911),o=i(53081),l=i(40692),h=i(47849);function u(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var d=i(39245);function c(t,e){return i=>i>0?e:t}var p=i(26471);let m=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},f=[l.u,d.B,h.V];function y(t){let e=f.find(e=>e.test(t));if((0,r.$)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===h.V&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,s=0,a=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,o=2*i-n;r=u(o,n,t+1/3),s=u(o,n,t),a=u(o,n,t-1/3)}else r=s=a=i;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*a),alpha:n}}(i)),i}let v=(t,e)=>{let i=y(t),n=y(e);if(!i||!n)return c(t,e);let r={...i};return t=>(r.red=m(i.red,n.red,t),r.green=m(i.green,n.green,t),r.blue=m(i.blue,n.blue,t),r.alpha=(0,p.k)(i.alpha,n.alpha,t),d.B.transform(r))},g=new Set(["none","hidden"]);function x(t,e){return i=>(0,p.k)(t,e,i)}function w(t){return"number"==typeof t?x:"string"==typeof t?(0,s.pG)(t)?c:a.y.test(t)?v:b:Array.isArray(t)?k:"object"==typeof t?a.y.test(t)?v:A:c}function k(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>w(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function A(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=w(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let b=(t,e)=>{let i=o.f.createTransformer(e),s=(0,o.V)(t),a=(0,o.V)(e);if(!(s.indexes.var.length===a.indexes.var.length&&s.indexes.color.length===a.indexes.color.length&&s.indexes.number.length>=a.indexes.number.length))return(0,r.$)(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),c(t,e);if(g.has(t)&&!a.values.length||g.has(e)&&!s.values.length)return g.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return(0,n.F)(k(function(t,e){let i=[],n={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){let s=e.types[r],a=t.indexes[s][n[s]],o=t.values[a]??0;i[r]=o,n[s]++}return i}(s,a),a.values),i)};function M(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,p.k)(t,e,i):w(t)(t,e)}},71932:(t,e,i)=>{i.d(e,{S:()=>n});let n=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"]},72752:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("git-commit-horizontal",[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12",key:"1dyftd"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12",key:"oup4p8"}]])},72868:(t,e,i)=>{i.d(e,{p:()=>n});function n(t){let e;return()=>(void 0===e&&(e=t()),e)}},72975:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},74567:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},75978:(t,e,i)=>{i.d(e,{L:()=>n});let n=(0,i(75834).createContext)({})},77380:(t,e,i)=>{i.d(e,{x:()=>s});var n=i(51204),r=i(85891);function s(t,e,i){let s=t.style,a=e?.style,o={};if(!s)return o;for(let e in s)((0,n.S)(s[e])||a&&(0,n.S)(a[e])||(0,r.zK)(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(o[e]=s[e]);return o}},78140:(t,e,i)=>{i.d(e,{g:()=>s});var n=i(19700),r=i(51204);function s(t,e){let i=t.getValue("willChange");if((0,r.S)(i)&&i.add)return i.add(e);if(!i&&n.W.WillChange){let i=new n.W.WillChange("auto");t.addValue("willChange",i),i.add(e)}}},78141:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},78543:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("panel-right-close",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M15 3v18",key:"14nvp0"}],["path",{d:"m8 9 3 3-3 3",key:"12hl5m"}]])},78617:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("circle-dot",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}]])},79118:(t,e,i)=>{i.d(e,{p:()=>l});var n=i(53081),r=i(31985);let s=new Set(["brightness","contrast","saturate","opacity"]);function a(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(r.S)||[];if(!n)return t;let a=i.replace(n,""),o=+!!s.has(e);return n!==i&&(o*=100),e+"("+o+a+")"}let o=/\b([a-z-]*)\(.*?\)/gu,l={...n.f,getAnimatableNone:t=>{let e=t.match(o);return e?e.map(a).join(" "):t}}},79608:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("zoom-in",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]])},79751:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("inbox",[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["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"}]])},80527:(t,e,i)=>{i.d(e,{E:()=>u});var n=i(53214),r=i(51382),s=i(81120),a=i(44714),o=i(39675);function l(t,e){[...e].reverse().forEach(i=>{let n=t.getVariant(i);n&&(0,s.U)(t,n),t.variantChildren&&t.variantChildren.forEach(t=>{l(t,e)})})}function h(){let t=!1,e=new Set,i={subscribe:t=>(e.add(t),()=>void e.delete(t)),start(i,n){(0,o.V)(t,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let r=[];return e.forEach(t=>{r.push((0,a._)(t,i,{transitionOverride:n}))}),Promise.all(r)},set:i=>((0,o.V)(t,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),e.forEach(t=>{var e,n;e=t,Array.isArray(n=i)?l(e,n):"string"==typeof n?l(e,[n]):(0,s.U)(e,n)})),stop(){e.forEach(t=>{t.values.forEach(t=>t.stop())})},mount:()=>(t=!0,()=>{t=!1,i.stop()})};return i}function u(){let t=(0,n.M)(h);return(0,r.E)(t.mount,[]),t}},80712:(t,e,i)=>{i.d(e,{$:()=>n});let n=new Set(["width","height","top","left","right","bottom",...i(2157).U])},80727:(t,e,i)=>{i.d(e,{H:()=>h});var n=i(71932),r=i(24197);function s(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let a={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!r.px.test(t))return t;else t=parseFloat(t);let i=s(t,e.target.x),n=s(t,e.target.y);return`${i}% ${n}%`}};var o=i(53081),l=i(26471);let h={borderRadius:{...a,applyTo:[...n.S]},borderTopLeftRadius:a,borderTopRightRadius:a,borderBottomLeftRadius:a,borderBottomRightRadius:a,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=o.f.parse(t);if(n.length>5)return t;let r=o.f.createTransformer(t),s=+("number"!=typeof n[0]),a=i.x.scale*e.x,h=i.y.scale*e.y;n[0+s]/=a,n[1+s]/=h;let u=(0,l.k)(a,h,.5);return"number"==typeof n[2+s]&&(n[2+s]/=u),"number"==typeof n[3+s]&&(n[3+s]/=u),r(n)}}}},80802:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("library",[["path",{d:"m16 6 4 14",key:"ji33uf"}],["path",{d:"M12 6v14",key:"1n7gus"}],["path",{d:"M8 8v12",key:"1gg7y9"}],["path",{d:"M4 4v16",key:"6qkkli"}]])},80911:(t,e,i)=>{i.d(e,{y:()=>a});var n=i(40692),r=i(47849),s=i(39245);let a={test:t=>s.B.test(t)||n.u.test(t)||r.V.test(t),parse:t=>s.B.test(t)?s.B.parse(t):r.V.test(t)?r.V.parse(t):n.u.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?s.B.transform(t):r.V.transform(t),getAnimatableNone:t=>{let e=a.parse(t);return e.alpha=0,a.transform(e)}}},81120:(t,e,i)=>{i.d(e,{U:()=>a});var n=i(68089),r=i(37013),s=i(39950);function a(t,e){let{transitionEnd:i={},transition:a={},...o}=(0,r.K)(t,e)||{};for(let e in o={...o,...i}){var l;let i=(l=o[e],(0,s.p)(l)?l[l.length-1]||0:l);t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,n.OQ)(i))}}},81450:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]])},82231:(t,e,i)=>{i.d(e,{w:()=>n});let n=t=>e=>e.test(t)},82369:(t,e,i)=>{i.d(e,{O:()=>n,r:()=>r});let n={current:null},r={current:!1}},82716:(t,e,i)=>{i.d(e,{PY1:()=>r});var n=i(12673);i(47888);let r=n.P},83252:(t,e,i)=>{i.d(e,{Gt:()=>r,PP:()=>o,WG:()=>s,uv:()=>a});var n=i(86618);let{schedule:r,cancel:s,state:a,steps:o}=(0,i(28875).I)("u">typeof requestAnimationFrame?requestAnimationFrame:n.l,!0)},85068:(t,e,i)=>{i.d(e,{W:()=>o});var n=i(91176);let r={...n.ai,transform:Math.round};var s=i(24197);let a={rotate:s.uj,pathRotation:s.uj,rotateX:s.uj,rotateY:s.uj,rotateZ:s.uj,scale:n.hs,scaleX:n.hs,scaleY:n.hs,scaleZ:n.hs,skew:s.uj,skewX:s.uj,skewY:s.uj,distance:s.px,translateX:s.px,translateY:s.px,translateZ:s.px,x:s.px,y:s.px,z:s.px,perspective:s.px,transformPerspective:s.px,opacity:n.X4,originX:s.gQ,originY:s.gQ,originZ:s.px},o={borderWidth:s.px,borderTopWidth:s.px,borderRightWidth:s.px,borderBottomWidth:s.px,borderLeftWidth:s.px,borderRadius:s.px,borderTopLeftRadius:s.px,borderTopRightRadius:s.px,borderBottomRightRadius:s.px,borderBottomLeftRadius:s.px,width:s.px,maxWidth:s.px,height:s.px,maxHeight:s.px,top:s.px,right:s.px,bottom:s.px,left:s.px,inset:s.px,insetBlock:s.px,insetBlockStart:s.px,insetBlockEnd:s.px,insetInline:s.px,insetInlineStart:s.px,insetInlineEnd:s.px,padding:s.px,paddingTop:s.px,paddingRight:s.px,paddingBottom:s.px,paddingLeft:s.px,paddingBlock:s.px,paddingBlockStart:s.px,paddingBlockEnd:s.px,paddingInline:s.px,paddingInlineStart:s.px,paddingInlineEnd:s.px,margin:s.px,marginTop:s.px,marginRight:s.px,marginBottom:s.px,marginLeft:s.px,marginBlock:s.px,marginBlockStart:s.px,marginBlockEnd:s.px,marginInline:s.px,marginInlineStart:s.px,marginInlineEnd:s.px,fontSize:s.px,backgroundPositionX:s.px,backgroundPositionY:s.px,...a,zIndex:r,fillOpacity:n.X4,strokeOpacity:n.X4,numOctaves:r}},85320:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},85499:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("paperclip",[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]])},85781:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},85891:(t,e,i)=>{i.d(e,{zK:()=>s});var n=i(2157),r=i(80727);function s(t,{layout:e,layoutId:i}){return n.f.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!r.H[t]||"opacity"===t)}},86618:(t,e,i)=>{i.d(e,{l:()=>n});let n=t=>t},87050:(t,e,i)=>{i.d(e,{Uu:()=>s});var n=i(82369);let r="u">typeof window;function s(){if(n.r.current=!0,r)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>n.O.current=t.matches;t.addEventListener("change",e),e()}else n.O.current=!1}},87617:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("clipboard",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}]])},87688:(t,e,i)=>{i.d(e,{I:()=>n});function n(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}},87854:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("git-branch",[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]])},88259:(t,e,i)=>{i.d(e,{w:()=>n});function n(t){return"string"==typeof t||Array.isArray(t)}},88577:(t,e,i)=>{i.d(e,{BX:()=>D,vK:()=>R,lr:()=>C});var n=i(14548),r=i(10549),s=i(2081),a=i(15099),o=i(23441),l=i(69501),h=i(22947),u=i(97120),d=i(33206),c=i(69808),p=i(68089),m=i(53081),f=i(66466),y=i(80911),v=i(237),g=i(82231);let x=[...v.T,y.y,m.f];var w=i(51204);let k=new WeakMap;var A=i(8207),b=i(2157),M=i(87050),S=i(47401),T=i(82369),P=i(83252);let E=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],V={};function C(t){V=t}function R(){return V}class D{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,skipAnimations:r,blockInitialAnimation:s,visualState:a},l={}){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=o.h,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=()=>{let t=d.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,P.Gt.render(this.render,!1,!0))};const{latestValues:h,renderState:u}=a;this.latestValues=h,this.baseTarget={...h},this.initialValues=e.initial?{...h}:{},this.renderState=u,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=r,this.options=l,this.blockInitialAnimation=!!s,this.isControllingVariants=(0,A.e)(e),this.isVariantNode=(0,A.O)(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:c,...p}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in p){const e=p[t];void 0!==h[t]&&(0,w.S)(e)&&e.set(h[t])}}mount(t){if(this.hasBeenMounted)for(let t in this.initialValues)this.values.get(t)?.jump(this.initialValues[t]),this.latestValues[t]=this.initialValues[t];this.current=t,k.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(T.r.current||(0,M.Uu)(),this.shouldReduceMotion=T.O.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,P.WG)(this.notifyUpdate),(0,P.WG)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&h.M.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:r,times:s,ease:a,duration:o}=e.accelerate,h=new l.m({element:this.current,name:t,keyframes:r,times:s,ease:a,duration:(0,n.f)(o)}),u=i(h);this.valueSubscriptions.set(t,()=>{u(),h.cancel()});return}let r=b.f.has(t);r&&this.onBindTransform&&this.onBindTransform();let s=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&P.Gt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{s(),i&&i()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in V){let e=V[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,c.ge)()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<E.length;e++){let i=E[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let r=e[n],s=i[n];if((0,w.S)(r))t.addValue(n,r);else if((0,w.S)(s))t.addValue(n,(0,p.OQ)(r,{owner:t}));else if(s!==r)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(n);t.addValue(n,(0,p.OQ)(void 0!==e?e:r,{owner:t}))}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]: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(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,p.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){if("string"==typeof i&&((0,r.i)(i)||(0,s.$)(i)))i=parseFloat(i);else{let n;n=i,!x.find((0,g.w)(n))&&m.f.test(e)&&(i=(0,f.J)(t,e))}this.setBaseTarget(t,(0,w.S)(i)?i.get():i)}return(0,w.S)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=(0,S.a)(this.props,i,this.presenceContext?.custom);n&&(e=n[t])}if(i&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||(0,w.S)(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new a.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){u.k.render(this.render)}}},91176:(t,e,i)=>{i.d(e,{X4:()=>s,ai:()=>r,hs:()=>a});var n=i(7689);let r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...r,transform:t=>(0,n.q)(0,1,t)},a={...r,default:1}},91321:(t,e,i)=>{i.d(e,{D:()=>o});var n=i(80911),r=i(79118),s=i(5540);let a={...i(85068).W,color:n.y,backgroundColor:n.y,outlineColor:n.y,fill:n.y,stroke:n.y,borderColor:n.y,borderTopColor:n.y,borderRightColor:n.y,borderBottomColor:n.y,borderLeftColor:n.y,filter:r.p,WebkitFilter:r.p,mask:s.d,WebkitMask:s.d},o=t=>a[t]},93202:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]])},93659:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("file-up",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"m15 15-3-3-3 3",key:"15xj92"}]])},94088:(t,e,i)=>{i.d(e,{u:()=>r});var n=i(51204);function r(t){return(0,n.S)(t)?t.get():t}},96807:(t,e,i)=>{i.d(e,{m:()=>a});var n=i(53214);class r{constructor(){this.componentControls=new Set}subscribe(t){return this.componentControls.add(t),()=>this.componentControls.delete(t)}start(t,e){this.componentControls.forEach(i=>{i.start(t.nativeEvent||t,e)})}cancel(){this.componentControls.forEach(t=>{t.cancel()})}stop(){this.componentControls.forEach(t=>{t.stop()})}}let s=()=>new r;function a(){return(0,n.M)(s)}},97120:(t,e,i)=>{i.d(e,{k:()=>n});let{schedule:n}=(0,i(28875).I)(queueMicrotask,!1)},98014:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},98109:(t,e,i)=>{i.d(e,{n:()=>n});let n=t=>"string"==typeof t&&"svg"===t.toLowerCase()},98201:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("git-compare",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["path",{d:"M11 18H8a2 2 0 0 1-2-2V9",key:"19pyzm"}]])},98681:(t,e,i)=>{i.d(e,{$:()=>s,q:()=>a});var n=i(31985);let r=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s=(t,e)=>i=>!!("string"==typeof i&&r.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),a=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[s,a,o,l]=r.match(n.S);return{[t]:parseFloat(s),[e]:parseFloat(a),[i]:parseFloat(o),alpha:void 0!==l?parseFloat(l):1}}},99088:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(58091).A)("message-circle-question-mark",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},99904:(t,e,i)=>{i.d(e,{T:()=>n});let n=(0,i(75834).createContext)(null)}}]);