@winspan/claude-forge 3.6.18 → 3.6.20

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.
@@ -67,6 +67,9 @@ export declare class DynamicNodeExecutor implements INodeExecutor {
67
67
  /**
68
68
  * 扫描文件系统中已存在的、匹配产物约束的文件
69
69
  * 解决"文档在节点启动前已存在,但 ArtifactCollector 未追踪到"的问题
70
+ *
71
+ * 重要约束:只扫描当前 Pipeline 启动后创建的文件(通过 mtime 过滤),
72
+ * 避免将历史遗留文档误认为当前节点产物
70
73
  */
71
74
  private scanExistingArtifacts;
72
75
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"dynamic-node-executor.d.ts","sourceRoot":"","sources":["../../src/pipeline/dynamic-node-executor.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,KAAK,EAAE,eAAe,EAAe,MAAM,yBAAyB,CAAC;AAC5E,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC5F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAIzE,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAU1D,qBAAa,mBAAoB,YAAW,aAAa;IACvD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,oBAAoB,CAAM;IAClD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,iBAAiB,CAAM;IAC/C,4BAA4B;IAC5B,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,0BAA0B,CAAM;IAC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,EAAE,iBAAiB,GAC9B,OAAO,CAAC,aAAa,CAAC;IA2BzB;;OAEG;YACW,mBAAmB;IA+DjC;;OAEG;YACW,0BAA0B;IA6DxC;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAmB1B;;;;;;OAMG;IACH,OAAO,CAAC,qBAAqB;IA2D7B;;OAEG;IACH,OAAO,CAAC,oBAAoB;IAyB5B,OAAO,CAAC,wBAAwB;IAwBhC,OAAO,CAAC,iBAAiB;IAsBzB;;OAEG;IACH,OAAO,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI;IAKjC;;OAEG;IACH,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO;IAO7C;;OAEG;IACH,gBAAgB,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,eAAe,GAAG,cAAc,GAAG,WAAW,GAAG,OAAO;IAK9G;;OAEG;IACH,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI;IAI1C;;OAEG;IACH,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,iBAAiB,GAAG,IAAI;IAwBzD;;OAEG;IACH,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,iBAAiB;IAa3C;;OAEG;IACH,kBAAkB,CAAC,UAAU,EAAE,MAAM,GAAG,aAAa,EAAE;IAOvD;;OAEG;IACH,OAAO,CAAC,aAAa;IA4CrB;;;OAGG;IACH,OAAO,CAAC,aAAa;IAkBrB;;;OAGG;IACH,OAAO,CAAC,kBAAkB;IAY1B;;;;OAIG;IACH,OAAO,CAAC,+BAA+B;IAWvC;;OAEG;IACH,OAAO,CAAC,qBAAqB;CAe9B"}
@@ -222,7 +222,8 @@ export class DynamicNodeExecutor {
222
222
  // 使用 CompletionEngine 综合决策
223
223
  const collectedArtifacts = this.artifactCollector.getArtifacts(key);
224
224
  // 补充:扫描文件系统中已存在的匹配产物(解决"文档已存在但节点卡住"问题)
225
- const existingArtifacts = this.scanExistingArtifacts(pipeline.projectPath, nodeType.expected_artifacts, collectedArtifacts);
225
+ // 传入 pipeline.createdAt 以过滤历史遗留文件
226
+ const existingArtifacts = this.scanExistingArtifacts(pipeline.projectPath, nodeType.expected_artifacts, collectedArtifacts, pipeline.createdAt);
226
227
  const artifacts = existingArtifacts.length > 0
227
228
  ? [...collectedArtifacts, ...existingArtifacts]
228
229
  : collectedArtifacts;
@@ -280,12 +281,17 @@ export class DynamicNodeExecutor {
280
281
  /**
281
282
  * 扫描文件系统中已存在的、匹配产物约束的文件
282
283
  * 解决"文档在节点启动前已存在,但 ArtifactCollector 未追踪到"的问题
284
+ *
285
+ * 重要约束:只扫描当前 Pipeline 启动后创建的文件(通过 mtime 过滤),
286
+ * 避免将历史遗留文档误认为当前节点产物
283
287
  */
284
- scanExistingArtifacts(projectPath, constraints, alreadyCollected) {
288
+ scanExistingArtifacts(projectPath, constraints, alreadyCollected, pipelineCreatedAt) {
285
289
  if (!constraints || constraints.length === 0 || !projectPath)
286
290
  return [];
287
291
  const collectedPaths = new Set(alreadyCollected.map(a => a.path));
288
292
  const result = [];
293
+ // 计算 Pipeline 启动时间的时间戳(如果提供)
294
+ const pipelineStartTime = pipelineCreatedAt ? new Date(pipelineCreatedAt).getTime() : 0;
289
295
  for (const constraint of constraints) {
290
296
  if (!constraint.path_pattern)
291
297
  continue;
@@ -297,6 +303,14 @@ export class DynamicNodeExecutor {
297
303
  try {
298
304
  const fullPath = path.join(projectPath, relPath);
299
305
  const stat = fs.statSync(fullPath);
306
+ // 关键过滤:只接受 Pipeline 启动后创建的文件
307
+ // 允许 5 分钟的时间误差(考虑文件系统时间戳精度和时区问题)
308
+ const fileModTime = stat.mtime.getTime();
309
+ const timeDiffMs = fileModTime - pipelineStartTime;
310
+ if (pipelineStartTime > 0 && timeDiffMs < -300000) {
311
+ // 文件修改时间早于 Pipeline 启动时间 5 分钟以上,跳过(历史遗留文件)
312
+ continue;
313
+ }
300
314
  const preview = (() => {
301
315
  try {
302
316
  return fs.readFileSync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CAAC,EAAE,aAAa,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;YACzE,MAAM,MAAM,GAAG,WAAW,CAAC,KAAK,CAAC,aAAa,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;YACvE,MAAM,GAAG,GAAG,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;YAC/D,MAAM,WAAW,GAAG,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,cAAc,CAAC,CAAC,CAAC,aAAa,CAAC;YAC3E,MAAM,OAAO,GAAG,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC;YACrD,OAAO,QAAQ,OAAO,SAAS,WAAW,OAAO,WAAW,GAAG,CAAC;QAClE,CAAC;QAED,OAAO,WAAW,WAAW,GAAG,CAAC;IACnC,CAAC"}
@@ -16,7 +16,7 @@ Please change the parent <Route path="${e}"> to <Route path="${e===`/`?`*`:`${e}
16
16
  `);return e===-1?``:t.stack.slice(e+1)})();try{if(!e.stack)e.stack=n;else if(n){let t=n.indexOf(`
17
17
  `),r=t===-1?-1:n.indexOf(`
18
18
  `,t+1),i=r===-1?``:n.slice(r+1);String(e.stack).endsWith(i)||(e.stack+=`
19
- `+n)}}catch{}}throw e}}_request(e,t){typeof e==`string`?(t||={},t.url=e):t=e||{},t=Po(this.defaults,t);let{transitional:n,paramsSerializer:r,headers:i}=t;n!==void 0&&cs.assertOptions(n,{silentJSONParsing:ls.transitional(ls.boolean),forcedJSONParsing:ls.transitional(ls.boolean),clarifyTimeoutError:ls.transitional(ls.boolean),legacyInterceptorReqResOrdering:ls.transitional(ls.boolean)},!1),r!=null&&(V.isFunction(r)?t.paramsSerializer={serialize:r}:cs.assertOptions(r,{encode:ls.function,serialize:ls.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls===void 0?t.allowAbsoluteUrls=!0:t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls),cs.assertOptions(t,{baseUrl:ls.spelling(`baseURL`),withXsrfToken:ls.spelling(`withXSRFToken`)},!0),t.method=(t.method||this.defaults.method||`get`).toLowerCase();let a=i&&V.merge(i.common,i[t.method]);i&&V.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`,`common`],e=>{delete i[e]}),t.headers=_o.concat(a,i);let o=[],s=!0;this.interceptors.request.forEach(function(e){if(typeof e.runWhen==`function`&&e.runWhen(t)===!1)return;s&&=e.synchronous;let n=t.transitional||Va;n&&n.legacyInterceptorReqResOrdering?o.unshift(e.fulfilled,e.rejected):o.push(e.fulfilled,e.rejected)});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let l,u=0,d;if(!s){let e=[rs.bind(this),void 0];for(e.unshift(...o),e.push(...c),d=e.length,l=Promise.resolve(t);u<d;)l=l.then(e[u++],e[u++]);return l}d=o.length;let f=t;for(;u<d;){let e=o[u++],t=o[u++];try{f=e(f)}catch(e){t.call(this,e);break}}try{l=rs.call(this,f)}catch(e){return Promise.reject(e)}for(u=0,d=c.length;u<d;)l=l.then(c[u++],c[u++]);return l}getUri(e){return e=Po(this.defaults,e),za(Mo(e.baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};V.forEach([`delete`,`get`,`head`,`options`],function(e){us.prototype[e]=function(t,n){return this.request(Po(n||{},{method:e,url:t,data:(n||{}).data}))}}),V.forEach([`post`,`put`,`patch`],function(e){function t(t){return function(n,r,i){return this.request(Po(i||{},{method:e,headers:t?{"Content-Type":`multipart/form-data`}:{},url:n,data:r}))}}us.prototype[e]=t(),us.prototype[e+`Form`]=t(!0)});var ds=class e{constructor(e){if(typeof e!=`function`)throw TypeError(`executor must be a function.`);let t;this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t,r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new bo(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}};function fs(e){return function(t){return e.apply(null,t)}}function ps(e){return V.isObject(e)&&e.isAxiosError===!0}var ms={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(ms).forEach(([e,t])=>{ms[t]=e});function hs(e){let t=new us(e),n=_i(us.prototype.request,t);return V.extend(n,us.prototype,t,{allOwnKeys:!0}),V.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return hs(Po(e,t))},n}var gs=hs(no);gs.Axios=us,gs.CanceledError=bo,gs.CancelToken=ds,gs.isCancel=yo,gs.VERSION=is,gs.toFormData=Pa,gs.AxiosError=Oa,gs.Cancel=gs.CanceledError,gs.all=function(e){return Promise.all(e)},gs.spread=fs,gs.isAxiosError=ps,gs.mergeConfig=Po,gs.AxiosHeaders=_o,gs.formToJSON=e=>$a(V.isHTMLForm(e)?new FormData(e):e),gs.getAdapter=ts.getAdapter,gs.HttpStatusCode=ms,gs.default=gs;var _s=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),vs=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),ys=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),bs=e=>{let t=ys(e);return t.charAt(0).toUpperCase()+t.slice(1)},xs={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`},Ss=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},Cs=(0,R.createContext)({}),ws=()=>(0,R.useContext)(Cs),Ts=(0,R.forwardRef)(({color:e,size:t,strokeWidth:n,absoluteStrokeWidth:r,className:i=``,children:a,iconNode:o,...s},c)=>{let{size:l=24,strokeWidth:u=2,absoluteStrokeWidth:d=!1,color:f=`currentColor`,className:p=``}=ws()??{},m=r??d?Number(n??u)*24/Number(t??l):n??u;return(0,R.createElement)(`svg`,{ref:c,...xs,width:t??l??xs.width,height:t??l??xs.height,stroke:e??f,strokeWidth:m,className:_s(`lucide`,p,i),...!a&&!Ss(s)&&{"aria-hidden":`true`},...s},[...o.map(([e,t])=>(0,R.createElement)(e,t)),...Array.isArray(a)?a:[a]])}),H=(e,t)=>{let n=(0,R.forwardRef)(({className:n,...r},i)=>(0,R.createElement)(Ts,{ref:i,iconNode:t,className:_s(`lucide-${vs(bs(e))}`,`lucide-${e}`,n),...r}));return n.displayName=bs(e),n},Es=H(`activity`,[[`path`,{d:`M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2`,key:`169zse`}]]),Ds=H(`archive`,[[`rect`,{width:`20`,height:`5`,x:`2`,y:`3`,rx:`1`,key:`1wp1u1`}],[`path`,{d:`M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8`,key:`1s80jp`}],[`path`,{d:`M10 12h4`,key:`a56b0p`}]]),Os=H(`arrow-left`,[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]),ks=H(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),As=H(`arrow-up-down`,[[`path`,{d:`m21 16-4 4-4-4`,key:`f6ql7i`}],[`path`,{d:`M17 20V4`,key:`1ejh1v`}],[`path`,{d:`m3 8 4-4 4 4`,key:`11wl7u`}],[`path`,{d:`M7 4v16`,key:`1glfcx`}]]),js=H(`book-open`,[[`path`,{d:`M12 7v14`,key:`1akyts`}],[`path`,{d:`M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z`,key:`ruj8y`}]]),Ms=H(`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`}]]),Ns=H(`box`,[[`path`,{d:`M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z`,key:`hh9hay`}],[`path`,{d:`m3.3 7 8.7 5 8.7-5`,key:`g66t2b`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}]]),Ps=H(`brain`,[[`path`,{d:`M12 18V5`,key:`adv99a`}],[`path`,{d:`M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4`,key:`1e3is1`}],[`path`,{d:`M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5`,key:`1gqd8o`}],[`path`,{d:`M17.997 5.125a4 4 0 0 1 2.526 5.77`,key:`iwvgf7`}],[`path`,{d:`M18 18a4 4 0 0 0 2-7.464`,key:`efp6ie`}],[`path`,{d:`M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517`,key:`1gq6am`}],[`path`,{d:`M6 18a4 4 0 0 1-2-7.464`,key:`k1g0md`}],[`path`,{d:`M6.003 5.125a4 4 0 0 0-2.526 5.77`,key:`q97ue3`}]]),Fs=H(`calendar`,[[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`,key:`1hopcy`}],[`path`,{d:`M3 10h18`,key:`8toen8`}]]),Is=H(`chart-column`,[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`path`,{d:`M18 17V9`,key:`2bz60n`}],[`path`,{d:`M13 17V5`,key:`1frdt8`}],[`path`,{d:`M8 17v-3`,key:`17ska0`}]]),Ls=H(`check-check`,[[`path`,{d:`M18 6 7 17l-5-5`,key:`116fxf`}],[`path`,{d:`m22 10-7.5 7.5L13 16`,key:`ke71qq`}]]),Rs=H(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),zs=H(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),Bs=H(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),Vs=H(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),Hs=H(`chevron-up`,[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]),Us=H(`circle-alert`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]]),Ws=H(`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`}]]),Gs=H(`circle-check`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),Ks=H(`circle-x`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]]),qs=H(`circle`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}]]),Js=H(`clock`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}]]),Ys=H(`code`,[[`path`,{d:`m16 18 6-6-6-6`,key:`eg8j8`}],[`path`,{d:`m8 6-6 6 6 6`,key:`ppft3o`}]]),Xs=H(`command`,[[`path`,{d:`M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3`,key:`11bfej`}]]),Zs=H(`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`}]]),Qs=H(`cpu`,[[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M17 20v2`,key:`1rnc9c`}],[`path`,{d:`M17 2v2`,key:`11trls`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M2 17h2`,key:`7oei6x`}],[`path`,{d:`M2 7h2`,key:`asdhe0`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`M20 17h2`,key:`1fpfkl`}],[`path`,{d:`M20 7h2`,key:`1o8tra`}],[`path`,{d:`M7 20v2`,key:`4gnj0m`}],[`path`,{d:`M7 2v2`,key:`1i4yhu`}],[`rect`,{x:`4`,y:`4`,width:`16`,height:`16`,rx:`2`,key:`1vbyd7`}],[`rect`,{x:`8`,y:`8`,width:`8`,height:`8`,rx:`1`,key:`z9xiuo`}]]),$s=H(`database`,[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`,key:`msslwz`}],[`path`,{d:`M3 5V19A9 3 0 0 0 21 19V5`,key:`1wlel7`}],[`path`,{d:`M3 12A9 3 0 0 0 21 12`,key:`mv7ke4`}]]),ec=H(`dollar-sign`,[[`line`,{x1:`12`,x2:`12`,y1:`2`,y2:`22`,key:`7eqyqh`}],[`path`,{d:`M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6`,key:`1b0p4s`}]]),tc=H(`download`,[[`path`,{d:`M12 15V3`,key:`m9g1x1`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}],[`path`,{d:`m7 10 5 5 5-5`,key:`brsn70`}]]),nc=H(`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`}]]),rc=H(`eye-off`,[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),ic=H(`eye`,[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`,key:`1nclc0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),ac=H(`file-code`,[[`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 12.5 8 15l2 2.5`,key:`1tg20x`}],[`path`,{d:`m14 12.5 2 2.5-2 2.5`,key:`yinavb`}]]),oc=H(`file-pen`,[[`path`,{d:`M12.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v9.34`,key:`o6klzx`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10.378 12.622a1 1 0 0 1 3 3.003L8.36 20.637a2 2 0 0 1-.854.506l-2.867.837a.5.5 0 0 1-.62-.62l.836-2.869a2 2 0 0 1 .506-.853z`,key:`zhnas1`}]]),sc=H(`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`}]]),cc=H(`file`,[[`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`}]]),lc=H(`folder-tree`,[[`path`,{d:`M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`,key:`hod4my`}],[`path`,{d:`M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`,key:`w4yl2u`}],[`path`,{d:`M3 5a2 2 0 0 0 2 2h3`,key:`f2jnh7`}],[`path`,{d:`M3 3v13a2 2 0 0 0 2 2h3`,key:`k8epm1`}]]),uc=H(`folder`,[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}]]),dc=H(`funnel`,[[`path`,{d:`M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z`,key:`sc7q7i`}]]),fc=H(`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`}]]),pc=H(`hard-drive`,[[`path`,{d:`M10 16h.01`,key:`1bzywj`}],[`path`,{d:`M2.212 11.577a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`,key:`18tbho`}],[`path`,{d:`M21.946 12.013H2.054`,key:`zqlbp7`}],[`path`,{d:`M6 16h.01`,key:`1pmjb7`}]]),mc=H(`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`}]]),hc=H(`info`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 16v-4`,key:`1dtifu`}],[`path`,{d:`M12 8h.01`,key:`e9boi3`}]]),gc=H(`layout-dashboard`,[[`rect`,{width:`7`,height:`9`,x:`3`,y:`3`,rx:`1`,key:`10lvy0`}],[`rect`,{width:`7`,height:`5`,x:`14`,y:`3`,rx:`1`,key:`16une8`}],[`rect`,{width:`7`,height:`9`,x:`14`,y:`12`,rx:`1`,key:`1hutg5`}],[`rect`,{width:`7`,height:`5`,x:`3`,y:`16`,rx:`1`,key:`ldoo1y`}]]),_c=H(`lightbulb`,[[`path`,{d:`M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5`,key:`1gvzjb`}],[`path`,{d:`M9 18h6`,key:`x1upvd`}],[`path`,{d:`M10 22h4`,key:`ceow96`}]]),vc=H(`link`,[[`path`,{d:`M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71`,key:`1cjeqo`}],[`path`,{d:`M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71`,key:`19qd67`}]]),yc=H(`list`,[[`path`,{d:`M3 5h.01`,key:`18ugdj`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M3 19h.01`,key:`noohij`}],[`path`,{d:`M8 5h13`,key:`1pao27`}],[`path`,{d:`M8 12h13`,key:`1za7za`}],[`path`,{d:`M8 19h13`,key:`m83p4d`}]]),bc=H(`loader-circle`,[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]]),xc=H(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),Sc=H(`message-square`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}]]),Cc=H(`network`,[[`rect`,{x:`16`,y:`16`,width:`6`,height:`6`,rx:`1`,key:`4q2zg0`}],[`rect`,{x:`2`,y:`16`,width:`6`,height:`6`,rx:`1`,key:`8cvhb9`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`6`,rx:`1`,key:`1egb70`}],[`path`,{d:`M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3`,key:`1jsf9p`}],[`path`,{d:`M12 12V8`,key:`2874zd`}]]),wc=H(`package`,[[`path`,{d:`M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z`,key:`1a0edw`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}],[`polyline`,{points:`3.29 7 12 12 20.71 7`,key:`ousv84`}],[`path`,{d:`m7.5 4.27 9 5.15`,key:`1c824w`}]]),Tc=H(`pause`,[[`rect`,{x:`14`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`kaeet6`}],[`rect`,{x:`5`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`1wsw3u`}]]),Ec=H(`pen`,[[`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`}]]),Dc=H(`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`}]]),Oc=H(`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`}]]),kc=H(`plus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]),Ac=H(`power`,[[`path`,{d:`M12 2v10`,key:`mnfbl`}],[`path`,{d:`M18.4 6.6a9 9 0 1 1-12.77.04`,key:`obofu9`}]]),jc=H(`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`}]]),Mc=H(`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`}]]),Nc=H(`save`,[[`path`,{d:`M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z`,key:`1c8476`}],[`path`,{d:`M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7`,key:`1ydtos`}],[`path`,{d:`M7 3v4a1 1 0 0 0 1 1h7`,key:`t51u73`}]]),Pc=H(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]),Fc=H(`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`}]]),Ic=H(`shield-check`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),Lc=H(`shield`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}]]),Rc=H(`sparkles`,[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]]),zc=H(`square-check-big`,[[`path`,{d:`M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344`,key:`2acyp4`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]]),Bc=H(`square-pen`,[[`path`,{d:`M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7`,key:`1m0v6g`}],[`path`,{d:`M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z`,key:`ohrbg2`}]]),Vc=H(`square`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]),Hc=H(`tag`,[[`path`,{d:`M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z`,key:`vktsd0`}],[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`kqv944`}]]),Uc=H(`terminal`,[[`path`,{d:`M12 19h8`,key:`baeox8`}],[`path`,{d:`m4 17 6-6-6-6`,key:`1yngyt`}]]),Wc=H(`test-tube`,[[`path`,{d:`M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2`,key:`125lnx`}],[`path`,{d:`M8.5 2h7`,key:`csnxdl`}],[`path`,{d:`M14.5 16h-5`,key:`1ox875`}]]),Gc=H(`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`}]]),Kc=H(`trending-up`,[[`path`,{d:`M16 7h6v6`,key:`box55l`}],[`path`,{d:`m22 7-8.5 8.5-5-5L2 17`,key:`1t1m79`}]]),qc=H(`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`}]]),Jc=H(`upload`,[[`path`,{d:`M12 3v12`,key:`1x0j5s`}],[`path`,{d:`m17 8-5-5-5 5`,key:`7q97r8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}]]),Yc=H(`workflow`,[[`rect`,{width:`8`,height:`8`,x:`3`,y:`3`,rx:`2`,key:`by2w9f`}],[`path`,{d:`M7 11v4a2 2 0 0 0 2 2h4`,key:`xkn7yn`}],[`rect`,{width:`8`,height:`8`,x:`13`,y:`13`,rx:`2`,key:`1cgmvn`}]]),Xc=H(`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`}]]),Zc=H(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),Qc=H(`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`}]]),$c=u(y(),1),el=u(_(),1),tl=(0,R.createContext)({toast:()=>{}}),nl=()=>{};function U(e,t=`error`){nl(e,t)}function rl({children:e}){let[t,n]=(0,R.useState)([]),r={current:0},i=(0,R.useCallback)((e,t=`error`)=>{let i=++r.current;n(n=>[...n,{id:i,type:t,message:e}]),setTimeout(()=>n(e=>e.filter(e=>e.id!==i)),4e3)},[]);(0,R.useEffect)(()=>{nl=i},[i]);let a={success:Ws,error:Ks,warning:qc},o={success:`bg-green-50 border-green-200 text-green-800`,error:`bg-red-50 border-red-200 text-red-800`,warning:`bg-yellow-50 border-yellow-200 text-yellow-800`},s={success:`text-green-500`,error:`text-red-500`,warning:`text-yellow-500`};return(0,z.jsxs)(tl.Provider,{value:{toast:i},children:[e,(0,el.createPortal)((0,z.jsx)(`div`,{className:`fixed bottom-4 right-4 z-[9999] flex flex-col gap-2 max-w-sm`,children:t.map(e=>{let t=a[e.type];return(0,z.jsxs)(`div`,{className:`flex items-start gap-3 px-4 py-3 rounded-lg border shadow-lg text-sm ${o[e.type]}`,children:[(0,z.jsx)(t,{className:`h-4 w-4 mt-0.5 flex-shrink-0 ${s[e.type]}`}),(0,z.jsx)(`span`,{className:`flex-1`,children:e.message}),(0,z.jsx)(`button`,{onClick:()=>n(t=>t.filter(t=>t.id!==e.id)),children:(0,z.jsx)(Zc,{className:`h-3.5 w-3.5 opacity-60 hover:opacity-100`})})]},e.id)})}),document.body)]})}var W=gs.create({baseURL:`/api`,timeout:3e4});W.interceptors.request.use(e=>{let t=window.__AUTH_TOKEN__;return t&&(e.headers.Authorization=`Bearer ${t}`),e}),W.interceptors.response.use(e=>e,e=>(U(e.response?.data?.error||e.response?.data?.message||e.message||`请求失败`,`error`),Promise.reject(e)));var il=()=>W.get(`/health`),al=()=>W.get(`/config`),ol=e=>W.put(`/config`,e),sl=()=>W.get(`/config/history`),cl=e=>W.get(`/sessions`,{params:e}),ll=e=>W.get(`/sessions/${e}`),ul=e=>W.delete(`/sessions/${e}`),dl=e=>W.delete(`/sessions`,{data:{ids:e}}),fl=e=>W.get(`/events`,{params:e}),pl=e=>W.get(`/events/stats`,{params:{project_path:e}}),ml=e=>W.get(`/pipelines`,{params:e}),hl=e=>W.get(`/pipelines/${e}`),gl=e=>W.get(`/quality/history`,{params:e}),_l=e=>W.get(`/quality/unresolved`,{params:{project_path:e}}),vl=()=>W.get(`/stats/roi`),yl=()=>W.get(`/stats/overview`),bl=(e,t,n,r)=>W.get(`/knowledge/search`,{params:{q:e,project_path:t,node_type:n,limit:r}}),xl=e=>W.get(`/knowledge/overview`,{params:{project_path:e}}),Sl=(e,t)=>W.get(`/knowledge/neighbors`,{params:{node_id:e,project_path:t}}),Cl=(e,t)=>W.get(`/knowledge/graph`,{params:{project_path:e,node_type:t}}),wl=e=>W.post(`/knowledge/nodes`,e),Tl=(e,t)=>W.put(`/knowledge/nodes/${e}`,t),El=e=>W.delete(`/knowledge/nodes/${e}`),Dl=e=>W.delete(`/knowledge/batch`,{data:{ids:e}}),Ol=e=>W.post(`/knowledge/import`,{nodes:e}),kl=e=>W.post(`/knowledge/edges`,e),Al=e=>W.post(`/pipelines/${e}/close`),jl=e=>W.post(`/pipelines/${e}/reactivate`),Ml=e=>W.post(`/pipelines/batch-close`,{ids:e}),Nl=()=>W.post(`/pipelines/close-expired`),Pl=()=>W.get(`/pipelines/active`),Fl=e=>W.post(`/pipelines/${e}/resume`),Il=e=>W.post(`/pipelines/${e}/advance`),Ll=e=>W.get(`/projects`,{params:e}),Rl=e=>W.get(`/projects/${e}`),zl=e=>W.delete(`/projects/${e}`),Bl=e=>W.post(`/convention/init`,{path:e},{timeout:18e4}),Vl=e=>W.get(`/projects/${e}/conventions`),Hl=(e,t)=>W.post(`/projects/${e}/conventions/bind`,{conventionId:t}),Ul=(e,t)=>W.delete(`/projects/${e}/conventions/${encodeURIComponent(t)}`),Wl=e=>W.get(`/projects/${e}/conventions/custom/yaml`),Gl=(e,t)=>W.put(`/projects/${e}/conventions/custom`,{yaml:t}),Kl=e=>W.post(`/projects/${e}/conventions/distill`,{},{timeout:12e4}),ql=e=>W.get(`/claudemd/${e}`),Jl=(e,t)=>W.put(`/claudemd/${e}`,{content:t}),Yl=e=>W.get(`/claudemd/${e}/profile`),Xl=e=>W.get(`/claudemd/${e}/modules`),Zl=e=>W.post(`/claudemd/${e}/distill`,void 0,{timeout:18e4}),Ql=e=>W.post(`/claudemd/${e}/init`,void 0,{timeout:18e4}),$l=e=>W.post(`/quality/${e}/resolve`),eu=e=>W.post(`/quality/${e}/dismiss`),tu=e=>W.post(`/quality/batch-dismiss`,{ids:e}),nu=e=>W.post(`/quality/batch-resolve`,{ids:e}),ru=()=>W.post(`/quality/resolve-all`),iu=e=>W.get(`/quality/${e}/context`),au=()=>W.get(`/daemon/status`),ou=()=>W.post(`/daemon/restart`),su=()=>W.get(`/daemon/diagnose`),cu=()=>W.post(`/daemon/repair`),lu=()=>W.post(`/config/backup`),uu=()=>W.get(`/config/backups`),du=e=>`/api/config/backups/${encodeURIComponent(e)}`,fu=e=>W.post(`/config/restore`,{filename:e}),pu=e=>W.post(`/events/purge`,{retentionDays:e}),mu=()=>W.get(`/memory/caches`),hu=()=>W.get(`/memory/process`),gu=e=>W.post(`/memory/caches/${encodeURIComponent(e)}/clear`),_u=()=>W.post(`/memory/caches/clear-all`),vu=()=>W.post(`/memory/gc`),yu=e=>W.get(`/stats/api-usage`,{params:{days:e}}),bu=e=>W.get(`/skills`,{params:e}),xu=()=>W.get(`/skills/status`),Su=e=>W.get(`/skills/${encodeURIComponent(e)}`),Cu=(e,t)=>W.put(`/skills/${encodeURIComponent(e)}/content`,{content:t}),wu=(e,t)=>W.post(`/skills/search`,{query:e,...t},{timeout:3e4}),Tu=e=>W.post(`/skills/install`,{url:e},{timeout:6e4}),Eu=e=>W.delete(`/skills/${encodeURIComponent(e)}`),Du=e=>W.post(`/skills/batch-delete`,{names:e}),Ou=()=>W.post(`/skills/evolve`,{},{timeout:12e4}),ku=()=>W.post(`/skills/distill`,{},{timeout:12e4}),Au=()=>W.post(`/skills/repair`,{},{timeout:6e4}),ju=()=>W.get(`/skills/orchestration`),Mu=(e,t)=>W.put(`/skills/orchestration`,{skill:e,keywords:t}),Nu=e=>W.delete(`/skills/orchestration/${encodeURIComponent(e)}`),Pu=()=>W.get(`/conventions`),Fu=e=>W.get(`/conventions/${encodeURIComponent(e)}`),Iu=()=>W.post(`/conventions/sync-official`),Lu=e=>W.post(`/conventions/install`,{url:e},{timeout:3e4}),Ru=e=>W.delete(`/conventions/${encodeURIComponent(e)}`),zu=()=>W.get(`/conventions/usage-stats`),Bu=e=>W.get(`/conventions/${encodeURIComponent(e)}/evolution-history`),Vu=e=>W.post(`/conventions/batch-evolve`,{conventionIds:e},{timeout:12e4}),Hu=e=>W.get(`/conventions/${encodeURIComponent(e)}/yaml`),Uu=(e,t)=>W.put(`/conventions/${encodeURIComponent(e)}/yaml`,{yaml:t}),Wu=e=>W.get(`/node-types`,{params:e?{projectPath:e}:void 0}),Gu=e=>W.get(`/node-types/${encodeURIComponent(e)}`),Ku=e=>W.post(`/node-types`,e),qu=(e,t)=>W.put(`/node-types/${encodeURIComponent(e)}`,t),Ju=e=>W.delete(`/node-types/${encodeURIComponent(e)}`);function Yu(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Yu(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function Xu(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Yu(e))&&(r&&(r+=` `),r+=t);return r}var Zu=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},Qu=(e,t)=>({classGroupId:e,validator:t}),$u=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),ed=`-`,td=[],nd=`arbitrary..`,rd=e=>{let t=od(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return ad(e);let n=e.split(ed);return id(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?Zu(i,t):t:i||td}return n[e]||td}}},id=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=id(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(ed):e.slice(t).join(ed),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},ad=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?nd+r:void 0})(),od=e=>{let{theme:t,classGroups:n}=e;return sd(n,t)},sd=(e,t)=>{let n=$u();for(let r in e){let i=e[r];cd(i,n,r,t)}return n},cd=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];ld(i,t,n,r)}},ld=(e,t,n,r)=>{if(typeof e==`string`){ud(e,t,n);return}if(typeof e==`function`){dd(e,t,n,r);return}fd(e,t,n,r)},ud=(e,t,n)=>{let r=e===``?t:pd(t,e);r.classGroupId=n},dd=(e,t,n,r)=>{if(md(e)){cd(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Qu(n,e))},fd=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];cd(o,pd(t,a),n,r)}},pd=(e,t)=>{let n=e,r=t.split(ed),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=$u(),n.nextPart.set(t,i)),n=i}return n},md=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,hd=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},gd=`!`,_d=`:`,vd=[],yd=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),bd=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===_d){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(gd)?(c=s.slice(0,-1),l=!0):s.startsWith(gd)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return yd(t,l,c,u)};if(t){let e=t+_d,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):yd(vd,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},xd=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},Sd=e=>({cache:hd(e.cacheSize),parseClassName:bd(e),sortModifiers:xd(e),...rd(e)}),Cd=/\s+/,wd=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(Cd),c=``;for(let e=s.length-1;e>=0;--e){let t=s[e],{isExternal:l,modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(t);if(l){c=t+(c.length>0?` `+c:c);continue}let m=!!p,h=r(m?f.substring(0,p):f);if(!h){if(!m){c=t+(c.length>0?` `+c:c);continue}if(h=r(f),!h){c=t+(c.length>0?` `+c:c);continue}m=!1}let g=u.length===0?``:u.length===1?u[0]:a(u).join(`:`),_=d?g+gd:g,v=_+h;if(o.indexOf(v)>-1)continue;o.push(v);let y=i(h,m);for(let e=0;e<y.length;++e){let t=y[e];o.push(_+t)}c=t+(c.length>0?` `+c:c)}return c},Td=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=Ed(n))&&(i&&(i+=` `),i+=r);return i},Ed=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=Ed(e[r]))&&(n&&(n+=` `),n+=t);return n},Dd=(e,...t)=>{let n,r,i,a,o=o=>(n=Sd(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=wd(e,n);return i(e,a),a};return a=o,(...e)=>a(Td(...e))},Od=[],kd=e=>{let t=t=>t[e]||Od;return t.isThemeGetter=!0,t},Ad=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,jd=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Md=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Nd=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Pd=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Fd=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Id=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ld=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Rd=e=>Md.test(e),zd=e=>!!e&&!Number.isNaN(Number(e)),Bd=e=>!!e&&Number.isInteger(Number(e)),Vd=e=>e.endsWith(`%`)&&zd(e.slice(0,-1)),Hd=e=>Nd.test(e),Ud=()=>!0,Wd=e=>Pd.test(e)&&!Fd.test(e),Gd=()=>!1,Kd=e=>Id.test(e),qd=e=>Ld.test(e),Jd=e=>!G(e)&&!K(e),Yd=e=>df(e,hf,Gd),G=e=>Ad.test(e),Xd=e=>df(e,gf,Wd),Zd=e=>df(e,_f,zd),Qd=e=>df(e,yf,Ud),$d=e=>df(e,vf,Gd),ef=e=>df(e,pf,Gd),tf=e=>df(e,mf,qd),nf=e=>df(e,bf,Kd),K=e=>jd.test(e),rf=e=>ff(e,gf),af=e=>ff(e,vf),of=e=>ff(e,pf),sf=e=>ff(e,hf),cf=e=>ff(e,mf),lf=e=>ff(e,bf,!0),uf=e=>ff(e,yf,!0),df=(e,t,n)=>{let r=Ad.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},ff=(e,t,n=!1)=>{let r=jd.exec(e);return r?r[1]?t(r[1]):n:!1},pf=e=>e===`position`||e===`percentage`,mf=e=>e===`image`||e===`url`,hf=e=>e===`length`||e===`size`||e===`bg-size`,gf=e=>e===`length`,_f=e=>e===`number`,vf=e=>e===`family-name`,yf=e=>e===`number`||e===`weight`,bf=e=>e===`shadow`,xf=Dd(()=>{let e=kd(`color`),t=kd(`font`),n=kd(`text`),r=kd(`font-weight`),i=kd(`tracking`),a=kd(`leading`),o=kd(`breakpoint`),s=kd(`container`),c=kd(`spacing`),l=kd(`radius`),u=kd(`shadow`),d=kd(`inset-shadow`),f=kd(`text-shadow`),p=kd(`drop-shadow`),m=kd(`blur`),h=kd(`perspective`),g=kd(`aspect`),_=kd(`ease`),v=kd(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),K,G],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[K,G,c],T=()=>[Rd,`full`,`auto`,...w()],E=()=>[Bd,`none`,`subgrid`,K,G],D=()=>[`auto`,{span:[`full`,Bd,K,G]},Bd,K,G],O=()=>[Bd,`auto`,K,G],k=()=>[`auto`,`min`,`max`,`fr`,K,G],A=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],j=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],M=()=>[`auto`,...w()],N=()=>[Rd,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],ee=()=>[Rd,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],te=()=>[Rd,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],P=()=>[e,K,G],F=()=>[...b(),of,ef,{position:[K,G]}],ne=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],re=()=>[`auto`,`cover`,`contain`,sf,Yd,{size:[K,G]}],ie=()=>[Vd,rf,Xd],I=()=>[``,`none`,`full`,l,K,G],L=()=>[``,zd,rf,Xd],ae=()=>[`solid`,`dashed`,`dotted`,`double`],oe=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],se=()=>[zd,Vd,of,ef],ce=()=>[``,`none`,m,K,G],le=()=>[`none`,zd,K,G],ue=()=>[`none`,zd,K,G],de=()=>[zd,K,G],fe=()=>[Rd,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[Hd],breakpoint:[Hd],color:[Ud],container:[Hd],"drop-shadow":[Hd],ease:[`in`,`out`,`in-out`],font:[Jd],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[Hd],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[Hd],shadow:[Hd],spacing:[`px`,zd],text:[Hd],"text-shadow":[Hd],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,Rd,G,K,g]}],container:[`container`],columns:[{columns:[zd,G,K,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[Bd,`auto`,K,G]}],basis:[{basis:[Rd,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[zd,Rd,`auto`,`initial`,`none`,G]}],grow:[{grow:[``,zd,K,G]}],shrink:[{shrink:[``,zd,K,G]}],order:[{order:[Bd,`first`,`last`,`none`,K,G]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":k()}],"auto-rows":[{"auto-rows":k()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...A(),`normal`]}],"justify-items":[{"justify-items":[...j(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...j()]}],"align-content":[{content:[`normal`,...A()]}],"align-items":[{items:[...j(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...j(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":A()}],"place-items":[{"place-items":[...j(),`baseline`]}],"place-self":[{"place-self":[`auto`,...j()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mbs:[{mbs:M()}],mbe:[{mbe:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:N()}],"inline-size":[{inline:[`auto`,...ee()]}],"min-inline-size":[{"min-inline":[`auto`,...ee()]}],"max-inline-size":[{"max-inline":[`none`,...ee()]}],"block-size":[{block:[`auto`,...te()]}],"min-block-size":[{"min-block":[`auto`,...te()]}],"max-block-size":[{"max-block":[`none`,...te()]}],w:[{w:[s,`screen`,...N()]}],"min-w":[{"min-w":[s,`screen`,`none`,...N()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...N()]}],h:[{h:[`screen`,`lh`,...N()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...N()]}],"max-h":[{"max-h":[`screen`,`lh`,...N()]}],"font-size":[{text:[`base`,n,rf,Xd]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,uf,Qd]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,Vd,G]}],"font-family":[{font:[af,$d,t]}],"font-features":[{"font-features":[G]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[i,K,G]}],"line-clamp":[{"line-clamp":[zd,`none`,K,Zd]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,K,G]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,K,G]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...ae(),`wavy`]}],"text-decoration-thickness":[{decoration:[zd,`from-font`,`auto`,K,Xd]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[zd,`auto`,K,G]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,K,G]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,K,G]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:F()}],"bg-repeat":[{bg:ne()}],"bg-size":[{bg:re()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},Bd,K,G],radial:[``,K,G],conic:[Bd,K,G]},cf,tf]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:ie()}],"gradient-via-pos":[{via:ie()}],"gradient-to-pos":[{to:ie()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:I()}],"rounded-s":[{"rounded-s":I()}],"rounded-e":[{"rounded-e":I()}],"rounded-t":[{"rounded-t":I()}],"rounded-r":[{"rounded-r":I()}],"rounded-b":[{"rounded-b":I()}],"rounded-l":[{"rounded-l":I()}],"rounded-ss":[{"rounded-ss":I()}],"rounded-se":[{"rounded-se":I()}],"rounded-ee":[{"rounded-ee":I()}],"rounded-es":[{"rounded-es":I()}],"rounded-tl":[{"rounded-tl":I()}],"rounded-tr":[{"rounded-tr":I()}],"rounded-br":[{"rounded-br":I()}],"rounded-bl":[{"rounded-bl":I()}],"border-w":[{border:L()}],"border-w-x":[{"border-x":L()}],"border-w-y":[{"border-y":L()}],"border-w-s":[{"border-s":L()}],"border-w-e":[{"border-e":L()}],"border-w-bs":[{"border-bs":L()}],"border-w-be":[{"border-be":L()}],"border-w-t":[{"border-t":L()}],"border-w-r":[{"border-r":L()}],"border-w-b":[{"border-b":L()}],"border-w-l":[{"border-l":L()}],"divide-x":[{"divide-x":L()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":L()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...ae(),`hidden`,`none`]}],"divide-style":[{divide:[...ae(),`hidden`,`none`]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-bs":[{"border-bs":P()}],"border-color-be":[{"border-be":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:[...ae(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[zd,K,G]}],"outline-w":[{outline:[``,zd,rf,Xd]}],"outline-color":[{outline:P()}],shadow:[{shadow:[``,`none`,u,lf,nf]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":[`none`,d,lf,nf]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:L()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[zd,Xd]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":L()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":[`none`,f,lf,nf]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[zd,K,G]}],"mix-blend":[{"mix-blend":[...oe(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":oe()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[zd]}],"mask-image-linear-from-pos":[{"mask-linear-from":se()}],"mask-image-linear-to-pos":[{"mask-linear-to":se()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":se()}],"mask-image-t-to-pos":[{"mask-t-to":se()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":se()}],"mask-image-r-to-pos":[{"mask-r-to":se()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":se()}],"mask-image-b-to-pos":[{"mask-b-to":se()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":se()}],"mask-image-l-to-pos":[{"mask-l-to":se()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":se()}],"mask-image-x-to-pos":[{"mask-x-to":se()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":se()}],"mask-image-y-to-pos":[{"mask-y-to":se()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[K,G]}],"mask-image-radial-from-pos":[{"mask-radial-from":se()}],"mask-image-radial-to-pos":[{"mask-radial-to":se()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[zd]}],"mask-image-conic-from-pos":[{"mask-conic-from":se()}],"mask-image-conic-to-pos":[{"mask-conic-to":se()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:F()}],"mask-repeat":[{mask:ne()}],"mask-size":[{mask:re()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,K,G]}],filter:[{filter:[``,`none`,K,G]}],blur:[{blur:ce()}],brightness:[{brightness:[zd,K,G]}],contrast:[{contrast:[zd,K,G]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,lf,nf]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:[``,zd,K,G]}],"hue-rotate":[{"hue-rotate":[zd,K,G]}],invert:[{invert:[``,zd,K,G]}],saturate:[{saturate:[zd,K,G]}],sepia:[{sepia:[``,zd,K,G]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,K,G]}],"backdrop-blur":[{"backdrop-blur":ce()}],"backdrop-brightness":[{"backdrop-brightness":[zd,K,G]}],"backdrop-contrast":[{"backdrop-contrast":[zd,K,G]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,zd,K,G]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[zd,K,G]}],"backdrop-invert":[{"backdrop-invert":[``,zd,K,G]}],"backdrop-opacity":[{"backdrop-opacity":[zd,K,G]}],"backdrop-saturate":[{"backdrop-saturate":[zd,K,G]}],"backdrop-sepia":[{"backdrop-sepia":[``,zd,K,G]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,K,G]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[zd,`initial`,K,G]}],ease:[{ease:[`linear`,`initial`,_,K,G]}],delay:[{delay:[zd,K,G]}],animate:[{animate:[`none`,v,K,G]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,K,G]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:le()}],"rotate-x":[{"rotate-x":le()}],"rotate-y":[{"rotate-y":le()}],"rotate-z":[{"rotate-z":le()}],scale:[{scale:ue()}],"scale-x":[{"scale-x":ue()}],"scale-y":[{"scale-y":ue()}],"scale-z":[{"scale-z":ue()}],"scale-3d":[`scale-3d`],skew:[{skew:de()}],"skew-x":[{"skew-x":de()}],"skew-y":[{"skew-y":de()}],transform:[{transform:[K,G,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:fe()}],"translate-x":[{"translate-x":fe()}],"translate-y":[{"translate-y":fe()}],"translate-z":[{"translate-z":fe()}],"translate-none":[`translate-none`],accent:[{accent:P()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:P()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,K,G]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,K,G]}],fill:[{fill:[`none`,...P()]}],"stroke-w":[{stroke:[zd,rf,Xd,Zd]}],stroke:[{stroke:[`none`,...P()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}});function q(...e){return xf(Xu(e))}function Sf(e){let t=Math.floor(e/1e3),n=Math.floor(t/60),r=Math.floor(n/60),i=Math.floor(r/24);return i>0?`${i}天${r%24}小时`:r>0?`${r}小时${n%60}分钟`:n>0?`${n}分钟${t%60}秒`:`${t}秒`}function Cf(e){return e>=1e9?`${(e/1e9).toFixed(1)}B`:e>=1e6?`${(e/1e6).toFixed(1)}M`:e>=1e3?`${(e/1e3).toFixed(1)}K`:e.toString()}function wf(e){let t={active:`text-green-600 bg-green-50`,completed:`text-blue-600 bg-blue-50`,failed:`text-red-600 bg-red-50`,interrupted:`text-yellow-600 bg-yellow-50`,pending:`text-gray-600 bg-gray-50`};return t[e]||t.pending}function Tf(e){return e?e.endsWith(`Z`)||/[+-]\d{2}:\d{2}$/.test(e)?new Date(e):new Date(e+`Z`):new Date}var Ef=[{path:`/dashboard`,label:`仪表盘`,icon:gc},{path:`/projects`,label:`项目管理`,icon:uc},{path:`/sessions`,label:`会话管理`,icon:Es},{path:`/events`,label:`事件流`,icon:Fs},{path:`/pipelines`,label:`流水线`,icon:fc},{path:`/quality`,label:`质量门禁`,icon:Ic},{path:`/knowledge`,label:`知识图谱`,icon:Ps},{path:`/skills`,label:`技能管理`,icon:wc},{path:`/conventions`,label:`规范管理`,icon:js},{path:`/node-types`,label:`节点类型`,icon:Ns},{path:`/analytics`,label:`数据分析`,icon:Is},{path:`/config`,label:`系统配置`,icon:Fc}];function Df({children:e}){let[t,n]=(0,R.useState)(()=>localStorage.getItem(`sidebar-collapsed`)===`true`),r=jn();(0,R.useEffect)(()=>{localStorage.setItem(`sidebar-collapsed`,String(t))},[t]);let{data:i}=lt({queryKey:[`health`],queryFn:()=>il().then(e=>e.data),refetchInterval:15e3}),a=Ef.find(e=>r.pathname.startsWith(e.path));return(0,z.jsxs)(`div`,{className:`flex min-h-screen bg-gray-50`,children:[(0,z.jsxs)(`aside`,{className:q(`fixed top-0 left-0 bottom-0 z-50 flex flex-col transition-all duration-300`,`bg-gradient-to-b from-slate-900 to-slate-800`,t?`w-16`:`w-60`),children:[(0,z.jsxs)(`div`,{className:q(`flex items-center border-b border-white/10 h-16`,t?`justify-center px-2`:`justify-between px-5`),children:[!t&&(0,z.jsxs)(`div`,{className:`flex items-center gap-2.5`,children:[(0,z.jsx)(`div`,{className:`flex items-center justify-center w-8 h-8 rounded-lg bg-gradient-to-br from-blue-500 to-purple-600`,children:(0,z.jsx)(Qc,{className:`h-5 w-5 text-white`})}),(0,z.jsx)(`span`,{className:`text-white font-bold text-lg tracking-tight`,children:`Forge`})]}),(0,z.jsx)(`button`,{onClick:()=>n(!t),className:`p-1.5 rounded-lg text-white/60 hover:text-white hover:bg-white/10 transition-colors`,children:t?(0,z.jsx)(xc,{className:`h-5 w-5`}):(0,z.jsx)(Bs,{className:`h-5 w-5`})})]}),(0,z.jsx)(`nav`,{className:`flex-1 py-4 space-y-1 px-2`,children:Ef.map(e=>(0,z.jsxs)(ei,{to:e.path,className:({isActive:e})=>q(`flex items-center gap-3 rounded-lg transition-all duration-200`,t?`justify-center p-3`:`px-3 py-2.5`,e?`bg-blue-600/20 text-blue-400`:`text-white/60 hover:text-white hover:bg-white/5`),children:[(0,z.jsx)(e.icon,{className:`h-5 w-5 flex-shrink-0`}),!t&&(0,z.jsx)(`span`,{className:`text-sm font-medium`,children:e.label})]},e.path))}),(0,z.jsx)(`div`,{className:q(`border-t border-white/10 py-4`,t?`px-2`:`px-5`),children:(0,z.jsxs)(`div`,{className:q(`flex items-center gap-2`,t?`justify-center`:``),children:[(0,z.jsx)(`div`,{className:q(`w-2 h-2 rounded-full`,i?.status===`ok`?`bg-green-400 animate-pulse`:`bg-red-400`)}),!t&&(0,z.jsx)(`span`,{className:`text-xs text-white/40`,children:i?.status===`ok`?`Daemon 运行中`:`连接断开`})]})})]}),(0,z.jsxs)(`main`,{className:q(`flex-1 transition-all duration-300`,t?`ml-16`:`ml-60`),children:[(0,z.jsxs)(`header`,{className:`sticky top-0 z-40 bg-white/80 backdrop-blur-md border-b border-gray-200/50 h-16 flex items-center justify-between px-8`,children:[(0,z.jsx)(`h1`,{className:`text-xl font-semibold text-gray-900`,children:a?.label||`Claude Forge`}),(0,z.jsxs)(`div`,{className:`flex items-center gap-4`,children:[(0,z.jsxs)(`button`,{className:`hidden sm:flex items-center gap-2 px-3 py-1.5 text-sm text-gray-600 hover:text-gray-900 hover:bg-gray-100 rounded-lg transition-colors`,onClick:()=>{let e=new KeyboardEvent(`keydown`,{key:`k`,metaKey:!0});window.dispatchEvent(e)},children:[(0,z.jsx)(Xs,{className:`h-4 w-4`}),(0,z.jsx)(`span`,{children:`命令面板`}),(0,z.jsx)(`kbd`,{className:`px-2 py-0.5 text-xs bg-gray-100 rounded border border-gray-200`,children:`⌘K`})]}),(0,z.jsxs)(`span`,{className:`text-sm text-gray-500`,children:[`v`,`3.6.18`]}),(0,z.jsxs)(`div`,{className:q(`flex items-center gap-2 px-3 py-1.5 rounded-full text-xs font-semibold`,i?.status===`ok`?`bg-green-50 text-green-700 border border-green-200`:`bg-red-50 text-red-700 border border-red-200`),children:[(0,z.jsx)(`div`,{className:q(`w-1.5 h-1.5 rounded-full`,i?.status===`ok`?`bg-green-500`:`bg-red-500`)}),i?.status===`ok`?`在线`:`离线`]})]})]}),(0,z.jsx)(`div`,{className:`p-8 overflow-x-hidden`,children:e})]})]})}var Of=(0,R.createContext)({});function kf(e){let t=(0,R.useRef)(null);return t.current===null&&(t.current=e()),t.current}var Af=typeof window<`u`?R.useLayoutEffect:R.useEffect,jf=(0,R.createContext)(null);function Mf(e,t){e.indexOf(t)===-1&&e.push(t)}function Nf(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var Pf=(e,t,n)=>n>t?t:n<e?e:n,Ff={},If=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Lf(e){return typeof e==`object`&&!!e}var Rf=e=>/^0[^.\s]+$/u.test(e);function zf(e){let t;return()=>(t===void 0&&(t=e()),t)}var Bf=e=>e,Vf=(e,t)=>n=>t(e(n)),Hf=(...e)=>e.reduce(Vf),Uf=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r},Wf=class{constructor(){this.subscriptions=[]}add(e){return Mf(this.subscriptions,e),()=>Nf(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},Gf=e=>e*1e3,Kf=e=>e/1e3;function qf(e,t){return t?1e3/t*e:0}var Jf=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Yf=1e-7,Xf=12;function Zf(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=Jf(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>Yf&&++s<Xf);return o}function Qf(e,t,n,r){if(e===t&&n===r)return Bf;let i=t=>Zf(t,0,1,e,n);return e=>e===0||e===1?e:Jf(i(e),t,r)}var $f=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ep=e=>t=>1-e(1-t),tp=Qf(.33,1.53,.69,.99),np=ep(tp),rp=$f(np),ip=e=>e>=1?1:(e*=2)<1?.5*np(e):.5*(2-2**(-10*(e-1))),ap=e=>1-Math.sin(Math.acos(e)),op=ep(ap),sp=$f(ap),cp=Qf(.42,0,1,1),lp=Qf(0,0,.58,1),up=Qf(.42,0,.58,1),dp=e=>Array.isArray(e)&&typeof e[0]!=`number`,fp=e=>Array.isArray(e)&&typeof e[0]==`number`,pp={linear:Bf,easeIn:cp,easeInOut:up,easeOut:lp,circIn:ap,circInOut:sp,circOut:op,backIn:np,backInOut:rp,backOut:tp,anticipate:ip},mp=e=>typeof e==`string`,hp=e=>{if(fp(e)){e.length;let[t,n,r,i]=e;return Qf(t,n,r,i)}else if(mp(e))return pp[e],`${e}`,pp[e];return e},gp=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`],_p={value:null,addProjectionMetrics:null};function vp(e,t){let n=new Set,r=new Set,i=!1,a=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},c=0;function l(t){o.has(t)&&(u.schedule(t),e()),c++,t(s)}let u={schedule:(e,t=!1,a=!1)=>{let s=a&&i?n:r;return t&&o.add(e),s.add(e),e},cancel:e=>{r.delete(e),o.delete(e)},process:e=>{if(s=e,i){a=!0;return}i=!0;let o=n;n=r,r=o,n.forEach(l),t&&_p.value&&_p.value.frameloop[t].push(c),c=0,n.clear(),i=!1,a&&(a=!1,u.process(e))}};return u}var yp=40;function bp(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=gp.reduce((e,n)=>(e[n]=vp(a,t?n:void 0),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=Ff.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,yp),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:gp.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<gp.length;t++)o[gp[t]].cancel(e)},state:i,steps:o}}var{schedule:xp,cancel:Sp,state:Cp,steps:wp}=bp(typeof requestAnimationFrame<`u`?requestAnimationFrame:Bf,!0),Tp;function Ep(){Tp=void 0}var Dp={now:()=>(Tp===void 0&&Dp.set(Cp.isProcessing||Ff.useManualTiming?Cp.timestamp:performance.now()),Tp),set:e=>{Tp=e,queueMicrotask(Ep)}},Op={layout:0,mainThread:0,waapi:0},kp=e=>t=>typeof t==`string`&&t.startsWith(e),Ap=kp(`--`),jp=kp(`var(--`),Mp=e=>jp(e)?Np.test(e.split(`/*`)[0].trim()):!1,Np=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Pp(e){return typeof e==`string`?e.split(`/*`)[0].includes(`var(--`):!1}var Fp={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},Ip={...Fp,transform:e=>Pf(0,1,e)},Lp={...Fp,default:1},Rp=e=>Math.round(e*1e5)/1e5,zp=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Bp(e){return e==null}var Vp=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Hp=(e,t)=>n=>!!(typeof n==`string`&&Vp.test(n)&&n.startsWith(e)||t&&!Bp(n)&&Object.prototype.hasOwnProperty.call(n,t)),Up=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(zp);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},Wp=e=>Pf(0,255,e),Gp={...Fp,transform:e=>Math.round(Wp(e))},Kp={test:Hp(`rgb`,`red`),parse:Up(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+Gp.transform(e)+`, `+Gp.transform(t)+`, `+Gp.transform(n)+`, `+Rp(Ip.transform(r))+`)`};function qp(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var Jp={test:Hp(`#`),parse:qp,transform:Kp.transform},Yp=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Xp=Yp(`deg`),Zp=Yp(`%`),J=Yp(`px`),Qp=Yp(`vh`),eee=Yp(`vw`),$p={...Zp,parse:e=>Zp.parse(e)/100,transform:e=>Zp.transform(e*100)},em={test:Hp(`hsl`,`hue`),parse:Up(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+Zp.transform(Rp(t))+`, `+Zp.transform(Rp(n))+`, `+Rp(Ip.transform(r))+`)`},tm={test:e=>Kp.test(e)||Jp.test(e)||em.test(e),parse:e=>Kp.test(e)?Kp.parse(e):em.test(e)?em.parse(e):Jp.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?Kp.transform(e):em.transform(e),getAnimatableNone:e=>{let t=tm.parse(e);return t.alpha=0,tm.transform(t)}},nm=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function rm(e){return isNaN(e)&&typeof e==`string`&&(e.match(zp)?.length||0)+(e.match(nm)?.length||0)>0}var im=`number`,am=`color`,om=`var`,sm=`var(`,cm="${}",tee=/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 lm(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(tee,e=>(tm.test(e)?(r.color.push(a),i.push(am),n.push(tm.parse(e))):e.startsWith(sm)?(r.var.push(a),i.push(om),n.push(e)):(r.number.push(a),i.push(im),n.push(parseFloat(e))),++a,cm)).split(cm),indexes:r,types:i}}function um(e){return lm(e).values}function dm({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];e===im?i+=Rp(r[a]):e===am?i+=tm.transform(r[a]):i+=r[a]}return i}}function fm(e){return dm(lm(e))}var pm=e=>typeof e==`number`?0:tm.test(e)?tm.getAnimatableNone(e):e,mm=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:pm(e);function hm(e){let t=lm(e);return dm(t)(t.values.map((e,n)=>mm(e,t.split[n])))}var gm={test:rm,parse:um,createTransformer:fm,getAnimatableNone:hm};function _m(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function vm({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=_m(s,r,e+1/3),a=_m(s,r,e),o=_m(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function ym(e,t){return n=>n>0?t:e}var bm=(e,t,n)=>e+(t-e)*n,xm=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},nee=[Jp,Kp,em],ree=e=>nee.find(t=>t.test(e));function Sm(e){let t=ree(e);if(`${e}`,!t)return!1;let n=t.parse(e);return t===em&&(n=vm(n)),n}var Cm=(e,t)=>{let n=Sm(e),r=Sm(t);if(!n||!r)return ym(e,t);let i={...n};return e=>(i.red=xm(n.red,r.red,e),i.green=xm(n.green,r.green,e),i.blue=xm(n.blue,r.blue,e),i.alpha=bm(n.alpha,r.alpha,e),Kp.transform(i))},wm=new Set([`none`,`hidden`]);function Tm(e,t){return wm.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Em(e,t){return n=>bm(e,t,n)}function Dm(e){return typeof e==`number`?Em:typeof e==`string`?Mp(e)?ym:tm.test(e)?Cm:jm:Array.isArray(e)?Om:typeof e==`object`?tm.test(e)?Cm:km:ym}function Om(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>Dm(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function km(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Dm(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function Am(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]];n[i]=e.values[o]??0,r[a]++}return n}var jm=(e,t)=>{let n=gm.createTransformer(t),r=lm(e),i=lm(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?wm.has(e)&&!i.values.length||wm.has(t)&&!r.values.length?Tm(e,t):Hf(Om(Am(r,i),i.values),n):(`${e}${t}`,ym(e,t))};function Mm(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?bm(e,t,n):Dm(e)(e,t)}var Nm=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>xp.update(t,e),stop:()=>Sp(t),now:()=>Cp.isProcessing?Cp.timestamp:Dp.now()}},Pm=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},Fm=2e4;function Im(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}function Lm(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(Im(r),Fm);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:Kf(i)}}var Rm={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function zm(e,t){return e*Math.sqrt(1-t*t)}var Bm=12;function Vm(e,t,n){let r=n;for(let n=1;n<Bm;n++)r-=e(r)/t(r);return r}var Hm=.001;function Um({duration:e=Rm.duration,bounce:t=Rm.bounce,velocity:n=Rm.velocity,mass:r=Rm.mass}){let i,a;Rm.maxDuration;let o=1-t;o=Pf(Rm.minDamping,Rm.maxDamping,o),e=Pf(Rm.minDuration,Rm.maxDuration,Kf(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=zm(t,o),c=Math.exp(-i);return Hm-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=zm(t**2,o);return(-i(t)+Hm>0?-1:1)*((a-s)*c)/l}):(i=t=>{let r=Math.exp(-t*e),i=(t-n)*e+1;return-Hm+r*i},a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=Vm(i,a,s);if(e=Gf(e),isNaN(c))return{stiffness:Rm.stiffness,damping:Rm.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var Wm=[`duration`,`bounce`],Gm=[`stiffness`,`damping`,`mass`];function Km(e,t){return t.some(t=>e[t]!==void 0)}function iee(e){let t={velocity:Rm.velocity,stiffness:Rm.stiffness,damping:Rm.damping,mass:Rm.mass,isResolvedFromDuration:!1,...e};if(!Km(e,Gm)&&Km(e,Wm))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*Pf(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:Rm.mass,stiffness:i,damping:a}}else{let n=Um({...e,velocity:0});t={...t,...n,mass:Rm.mass},t.isResolvedFromDuration=!0}return t}function qm(e=Rm.visualDuration,t=Rm.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=iee({...n,velocity:-Kf(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=Kf(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?Rm.restSpeed.granular:Rm.restSpeed.default,i||=v?Rm.restDelta.granular:Rm.restDelta.default;let y,b,x,S,C,w;if(h<1)x=zm(_,h),S=(m+h*_*g)/x,y=e=>o-Math.exp(-h*_*e)*(S*Math.sin(x*e)+g*Math.cos(x*e)),C=h*_*S+g*x,w=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+w*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let T={calculatedDuration:p&&d||null,velocity:e=>Gf(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=Gf(t*(C*n+w*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=Gf(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(Im(T),Fm),t=Pm(t=>T.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return T}qm.applyToOptions=e=>{let t=Lm(e,100,qm);return e.ease=t.ease,e.duration=Gf(t.duration),e.type=`keyframes`,e};var aee=5;function Jm(e,t,n){let r=Math.max(t-aee,0);return qf(n-e(r),t-r)}function Ym({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=qm({keyframes:[f.value,m(f.value)],velocity:Jm(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function oee(e,t,n){let r=[],i=n||Ff.mix||Mm,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=Hf(Array.isArray(t)?t[n]||Bf:t,a)),r.push(a)}return r}function see(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.length,a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=oee(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=Uf(e[r],e[r+1],n);return s[r](i)};return n?t=>l(Pf(e[0],e[a-1],t)):l}function cee(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=Uf(0,t,r);e.push(bm(n,1,i))}}function lee(e){let t=[0];return cee(t,e.length-1),t}function uee(e,t){return e.map(e=>e*t)}function dee(e,t){return e.map(()=>t||up).splice(0,e.length-1)}function Xm({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=dp(r)?r.map(hp):hp(r),a={done:!1,value:t[0]},o=see(uee(n&&n.length===t.length?n:lee(t),e),t,{ease:Array.isArray(i)?i:dee(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var Zm=e=>e!==null;function Qm(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(Zm),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var $m={decay:Ym,inertia:Ym,tween:Xm,keyframes:Xm,spring:qm};function eh(e){typeof e.type==`string`&&(e.type=$m[e.type])}var th=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}},nh=e=>e/100,rh=class extends th{constructor(e){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:e}=this.options;e&&e.updatedAt!==Dp.now()&&this.tick(Dp.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},Op.mainThread++,this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;eh(e);let{type:t=Xm,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||Xm;s!==Xm&&typeof o[0]!=`number`&&(this.mixKeyframes=Hf(nh,Mm(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=Im(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime===null?this.currentTime=t:this.currentTime=this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=Pf(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==Ym&&(b.value=Qm(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return Kf(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+Kf(e)}get time(){return Kf(this.currentTime)}set time(e){e=Gf(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return Jm(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(Dp.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=Kf(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=Nm,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(Dp.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null,Op.mainThread--}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}};function ih(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var ah=e=>e*180/Math.PI,oh=e=>ch(ah(Math.atan2(e[1],e[0]))),sh={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:oh,rotateZ:oh,skewX:e=>ah(Math.atan(e[1])),skewY:e=>ah(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},ch=e=>(e%=360,e<0&&(e+=360),e),lh=oh,uh=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),dh=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),fh={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:uh,scaleY:dh,scale:e=>(uh(e)+dh(e))/2,rotateX:e=>ch(ah(Math.atan2(e[6],e[5]))),rotateY:e=>ch(ah(Math.atan2(-e[2],e[0]))),rotateZ:lh,rotate:lh,skewX:e=>ah(Math.atan(e[4])),skewY:e=>ah(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function ph(e){return+!!e.includes(`scale`)}function mh(e,t){if(!e||e===`none`)return ph(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=fh,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=sh,i=t}if(!i)return ph(t);let a=r[t],o=i[1].split(`,`).map(gh);return typeof a==`function`?a(o):o[a]}var hh=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return mh(n,t)};function gh(e){return parseFloat(e.trim())}var _h=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],vh=new Set(_h),yh=e=>e===Fp||e===J,bh=new Set([`x`,`y`,`z`]),xh=_h.filter(e=>!bh.has(e));function Sh(e){let t=[];return xh.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var Ch={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>mh(t,`x`),y:(e,{transform:t})=>mh(t,`y`)};Ch.translateX=Ch.x,Ch.translateY=Ch.y;var wh=new Set,Th=!1,Eh=!1,Dh=!1;function Oh(){if(Eh){let e=Array.from(wh).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=Sh(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}Eh=!1,Th=!1,wh.forEach(e=>e.complete(Dh)),wh.clear()}function kh(){wh.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Eh=!0)})}function Ah(){Dh=!0,kh(),Oh(),Dh=!1}var jh=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(wh.add(this),Th||(Th=!0,xp.read(kh),xp.resolveKeyframes(Oh))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}ih(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),wh.delete(this)}cancel(){this.state===`scheduled`&&(wh.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},Mh=e=>e.startsWith(`--`);function Nh(e,t,n){Mh(t)?e.style.setProperty(t,n):e.style[t]=n}var Ph={};function Fh(e,t){let n=zf(e);return()=>Ph[t]??n()}var fee=Fh(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),Ih=Fh(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),Lh=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Rh={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:Lh([0,.65,.55,1]),circOut:Lh([.55,0,1,.45]),backIn:Lh([.31,.01,.66,-.59]),backOut:Lh([.33,1.53,.69,.99])};function zh(e,t){if(e)return typeof e==`function`?Ih()?Pm(e,t):`ease-out`:fp(e)?Lh(e):Array.isArray(e)?e.map(e=>zh(e,t)||Rh.easeOut):Rh[e]}function pee(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=zh(s,i);Array.isArray(d)&&(u.easing=d),_p.value&&Op.waapi++;let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};l&&(f.pseudoElement=l);let p=e.animate(u,f);return _p.value&&p.finished.finally(()=>{Op.waapi--}),p}function Bh(e){return typeof e==`function`&&`applyToOptions`in e}function mee({type:e,...t}){return Bh(e)&&Ih()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var Vh=class extends th{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,e.type;let c=mee(e);this.animation=pee(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=Qm(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),Nh(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e===`idle`||e===`finished`||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return Kf(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+Kf(e)}get time(){return Kf(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Gf(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`finished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&fee()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),Bf):r(this)}},Hh={anticipate:ip,backInOut:rp,circInOut:sp};function hee(e){return e in Hh}function gee(e){typeof e.ease==`string`&&hee(e.ease)&&(e.ease=Hh[e.ease])}var Uh=10,_ee=class extends Vh{constructor(e){gee(e),eh(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new rh({...a,autoplay:!1}),s=Math.max(Uh,Dp.now()-this.startTime),c=Pf(0,Uh,s-Uh),l=o.sample(s).value,{name:u}=this.options;i&&u&&Nh(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},Wh=(e,t)=>t===`zIndex`?!1:!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(gm.test(e)||e===`0`)&&!e.startsWith(`url(`));function vee(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function yee(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=Wh(i,t),s=Wh(a,t);return`${t}${i}${a}${o?a:i}`,!o||!s?!1:vee(e)||(n===`spring`||Bh(n))&&r}function Gh(e){e.duration=0,e.type=`keyframes`}var Kh=new Set([`opacity`,`clipPath`,`filter`,`transform`]),bee=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function xee(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&bee.test(e[t]))return!0;return!1}var See=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),Cee=zf(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function qh(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:c,transformTemplate:l}=t.owner.getProps();return Cee()&&n&&(Kh.has(n)||See.has(n)&&xee(s))&&(n!==`transform`||!l)&&!c&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var Jh=40,Yh=class extends th{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Dp.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u};this.keyframeResolver=new(l?.KeyframeResolver||jh)(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=Dp.now();let u=!0;yee(e,i,a,o)||(u=!1,(Ff.instantAnimations||!s)&&l?.(Qm(e,n,t)),e[0]=e[e.length-1],Gh(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>Jh?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&qh(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new _ee({...d,element:p})}catch{m=new rh(d)}else m=new rh(d);m.finished.then(()=>{this.notifyFinished()}).catch(Bf),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Ah()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};function Xh(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}var Zh=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Qh(e){let t=Zh.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function $h(e,t,n=1){`${e}`;let[r,i]=Qh(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return If(e)?parseFloat(e):e}return Mp(i)?$h(i,t,n+1):i}var eg={type:`spring`,stiffness:500,damping:25,restSpeed:10},tg=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),ng={type:`keyframes`,duration:.8},rg={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},ig=(e,{keyframes:t})=>t.length>2?ng:vh.has(e)?e.startsWith(`scale`)?tg(t[1]):eg:rg;function ag(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function og(e,t){let n=e?.[t]??e?.default??e;return n===e?n:ag(n,e)}var sg=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function cg(e){for(let t in e)if(!sg.has(t))return!0;return!1}var lg=(e,t,n,r={},i,a)=>o=>{let s=og(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=Gf(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};cg(s)||Object.assign(u,ig(e,u)),u.duration&&=Gf(u.duration),u.repeatDelay&&=Gf(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Gh(u),u.delay===0&&(d=!0)),(Ff.instantAnimations||Ff.skipAnimations||i?.shouldSkipAnimations)&&(d=!0,Gh(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=Qm(u.keyframes,s);if(e!==void 0){xp.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new rh(u):new Yh(u)};function ug(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function dg(e,t,n,r){if(typeof t==`function`){let[i,a]=ug(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=ug(r);t=t(n===void 0?e.custom:n,i,a)}return t}function fg(e,t,n){let r=e.getProps();return dg(r,t,n===void 0?r.custom:n,e)}var pg=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,..._h]),mg=30,hg=e=>!isNaN(parseFloat(e)),gg={current:void 0},_g=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=Dp.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=Dp.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=hg(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new Wf);let n=this.events[e].add(t);return e===`change`?()=>{n(),xp.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return gg.current&&gg.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=Dp.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>mg)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,mg);return qf(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),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 vg(e,t){return new _g(e,t)}var yg=e=>Array.isArray(e);function bg(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,vg(n))}function xg(e){return yg(e)?e[e.length-1]||0:e}function Sg(e,t){let{transitionEnd:n={},transition:r={},...i}=fg(e,t)||{};i={...i,...n};for(let t in i)bg(e,t,xg(i[t]))}var Cg=e=>!!(e&&e.getVelocity);function wg(e){return!!(Cg(e)&&e.add)}function Tg(e,t){let n=e.getValue(`willChange`);if(wg(n))return n.add(t);if(!n&&Ff.WillChange){let n=new Ff.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function Eg(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var Dg=`data-`+Eg(`framerAppearId`);function Og(e){return e.props[Dg]}function kg({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Ag(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?ag(a,c):c;let l=a?.reduceMotion;r&&(a=r);let u=[],d=i&&e.animationState&&e.animationState.getState()[i];for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||d&&kg(d,t))continue;let o={delay:n,...og(a||{},t)},c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){xp.update(()=>r.set(i));continue}let f=!1;if(window.MotionHandoffAnimation){let n=Og(e);if(n){let e=window.MotionHandoffAnimation(n,t,xp);e!==null&&(o.startTime=e,f=!0)}}Tg(e,t);let p=l??e.shouldReduceMotion;r.start(lg(t,r,i,p&&pg.has(t)?{type:!1}:o,e,f));let m=r.animation;m&&u.push(m)}if(o){let t=()=>xp.update(()=>{o&&Sg(e,o)});u.length?Promise.all(u).then(t):t()}return u}function jg(e,t,n={}){let r=fg(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(Ag(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return Mg(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}else return Promise.all([a(),o(n.delay)])}function Mg(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(jg(c,t,{...o,delay:n+(typeof r==`function`?0:r)+Xh(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function Ng(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>jg(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=jg(e,t,n);else{let i=typeof t==`function`?fg(e,t,n.custom):t;r=Promise.all(Ag(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var Pg={test:e=>e===`auto`,parse:e=>e},Fg=e=>t=>t.test(e),Ig=[Fp,J,Zp,Xp,eee,Qp,Pg],Lg=e=>Ig.find(Fg(e));function Rg(e){return typeof e==`number`?e===0:e===null?!0:e===`none`||e===`0`||Rf(e)}var zg=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function Bg(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(zp)||[];if(!r)return e;let i=n.replace(r,``),a=+!!zg.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var Vg=/\b([a-z-]*)\(.*?\)/gu,Hg={...gm,getAnimatableNone:e=>{let t=e.match(Vg);return t?t.map(Bg).join(` `):e}},Ug={...gm,getAnimatableNone:e=>{let t=gm.parse(e);return gm.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},Wg={...Fp,transform:Math.round},Gg={borderWidth:J,borderTopWidth:J,borderRightWidth:J,borderBottomWidth:J,borderLeftWidth:J,borderRadius:J,borderTopLeftRadius:J,borderTopRightRadius:J,borderBottomRightRadius:J,borderBottomLeftRadius:J,width:J,maxWidth:J,height:J,maxHeight:J,top:J,right:J,bottom:J,left:J,inset:J,insetBlock:J,insetBlockStart:J,insetBlockEnd:J,insetInline:J,insetInlineStart:J,insetInlineEnd:J,padding:J,paddingTop:J,paddingRight:J,paddingBottom:J,paddingLeft:J,paddingBlock:J,paddingBlockStart:J,paddingBlockEnd:J,paddingInline:J,paddingInlineStart:J,paddingInlineEnd:J,margin:J,marginTop:J,marginRight:J,marginBottom:J,marginLeft:J,marginBlock:J,marginBlockStart:J,marginBlockEnd:J,marginInline:J,marginInlineStart:J,marginInlineEnd:J,fontSize:J,backgroundPositionX:J,backgroundPositionY:J,rotate:Xp,rotateX:Xp,rotateY:Xp,rotateZ:Xp,scale:Lp,scaleX:Lp,scaleY:Lp,scaleZ:Lp,skew:Xp,skewX:Xp,skewY:Xp,distance:J,translateX:J,translateY:J,translateZ:J,x:J,y:J,z:J,perspective:J,transformPerspective:J,opacity:Ip,originX:$p,originY:$p,originZ:J,zIndex:Wg,fillOpacity:Ip,strokeOpacity:Ip,numOctaves:Wg},Kg={...Gg,color:tm,backgroundColor:tm,outlineColor:tm,fill:tm,stroke:tm,borderColor:tm,borderTopColor:tm,borderRightColor:tm,borderBottomColor:tm,borderLeftColor:tm,filter:Hg,WebkitFilter:Hg,mask:Ug,WebkitMask:Ug},qg=e=>Kg[e],Jg=new Set([Hg,Ug]);function Yg(e,t){let n=qg(e);return Jg.has(n)||(n=gm),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var Xg=new Set([`auto`,`none`,`0`]);function Zg(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!Xg.has(t)&&lm(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=Yg(n,i)}var Qg=class extends jh{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),Mp(r))){let i=$h(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!pg.has(n)||e.length!==2)return;let[r,i]=e,a=Lg(r),o=Lg(i);if(Pp(r)!==Pp(i)&&Ch[n]){this.needsMeasurement=!0;return}if(a!==o)if(yh(a)&&yh(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else Ch[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||Rg(e[t]))&&n.push(t);n.length&&Zg(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ch[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=Ch[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}};function $g(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var e_=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function t_(e){return Lf(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:n_,cancel:wee}=bp(queueMicrotask,!1),r_={x:!1,y:!1};function i_(){return r_.x||r_.y}function a_(e){return e===`x`||e===`y`?r_[e]?null:(r_[e]=!0,()=>{r_[e]=!1}):r_.x||r_.y?null:(r_.x=r_.y=!0,()=>{r_.x=r_.y=!1})}function o_(e,t){let n=$g(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function s_(e){return!(e.pointerType===`touch`||i_())}function c_(e,t,n={}){let[r,i,a]=o_(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!s_(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}var l_=(e,t)=>t?e===t?!0:l_(e,t.parentElement):!1,u_=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,d_=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function Tee(e){return d_.has(e.tagName)||e.isContentEditable===!0}var Eee=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function Dee(e){return Eee.has(e.tagName)||e.isContentEditable===!0}var f_=new WeakSet;function p_(e){return t=>{t.key===`Enter`&&e(t)}}function m_(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var Oee=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=p_(()=>{if(f_.has(n))return;m_(n,`down`);let e=p_(()=>{m_(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>m_(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function h_(e){return u_(e)&&!i_()}var g_=new WeakSet;function kee(e,t,n={}){let[r,i,a]=o_(e,n),o=e=>{let r=e.currentTarget;if(!h_(e)||g_.has(e))return;f_.add(r),n.stopPropagation&&g_.add(e);let a=t(r,e),o=(e,t)=>{window.removeEventListener(`pointerup`,s),window.removeEventListener(`pointercancel`,c),f_.has(r)&&f_.delete(r),h_(e)&&typeof a==`function`&&a(e,{success:t})},s=e=>{o(e,r===window||r===document||n.useGlobalTarget||l_(r,e.target))},c=e=>{o(e,!1)};window.addEventListener(`pointerup`,s,i),window.addEventListener(`pointercancel`,c,i)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),t_(e)&&(e.addEventListener(`focus`,e=>Oee(e,i)),!Tee(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function __(e){return Lf(e)&&`ownerSVGElement`in e}var v_=new WeakMap,y_,b_=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:__(r)&&`getBBox`in r?r.getBBox()[t]:r[n],Aee=b_(`inline`,`width`,`offsetWidth`),jee=b_(`block`,`height`,`offsetHeight`);function Mee({target:e,borderBoxSize:t}){v_.get(e)?.forEach(n=>{n(e,{get width(){return Aee(e,t)},get height(){return jee(e,t)}})})}function Nee(e){e.forEach(Mee)}function Pee(){typeof ResizeObserver>`u`||(y_=new ResizeObserver(Nee))}function Fee(e,t){y_||Pee();let n=$g(e);return n.forEach(e=>{let n=v_.get(e);n||(n=new Set,v_.set(e,n)),n.add(t),y_?.observe(e)}),()=>{n.forEach(e=>{let n=v_.get(e);n?.delete(t),n?.size||y_?.unobserve(e)})}}var x_=new Set,S_;function Iee(){S_=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};x_.forEach(t=>t(e))},window.addEventListener(`resize`,S_)}function Lee(e){return x_.add(e),S_||Iee(),()=>{x_.delete(e),!x_.size&&typeof S_==`function`&&(window.removeEventListener(`resize`,S_),S_=void 0)}}function C_(e,t){return typeof e==`function`?Lee(e):Fee(e,t)}function Ree(e){return __(e)&&e.tagName===`svg`}var zee=[...Ig,tm,gm],Bee=e=>zee.find(Fg(e)),w_=()=>({translate:0,scale:1,origin:0,originPoint:0}),T_=()=>({x:w_(),y:w_()}),E_=()=>({min:0,max:0}),D_=()=>({x:E_(),y:E_()}),Vee=new WeakMap;function O_(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function k_(e){return typeof e==`string`||Array.isArray(e)}var A_=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],j_=[`initial`,...A_];function M_(e){return O_(e.animate)||j_.some(t=>k_(e[t]))}function N_(e){return!!(M_(e)||e.variants)}function Hee(e,t,n){for(let r in t){let i=t[r],a=n[r];if(Cg(i))e.addValue(r,i);else if(Cg(a))e.addValue(r,vg(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,vg(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var P_={current:null},F_={current:!1},I_=typeof window<`u`;function L_(){if(F_.current=!0,I_)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>P_.current=e.matches;e.addEventListener(`change`,t),t()}else P_.current=!1}var R_=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],z_={};function B_(e){z_=e}function V_(){return z_}var H_=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){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=jh,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 e=Dp.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,xp.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=M_(t),this.isVariantNode=N_(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&Cg(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,Vee.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(F_.current||L_(),this.shouldReduceMotion=P_.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Sp(this.notifyUpdate),Sp(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&Kh.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new Vh({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:Gf(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=vh.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&xp.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i(),t.owner&&t.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in z_){let t=z_[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):D_()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<R_.length;t++){let n=R_[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=Hee(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]: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(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=vg(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(If(n)||Rf(n))?n=parseFloat(n):!Bee(n)&&gm.test(t)&&(n=Yg(e,t)),this.setBaseTarget(e,Cg(n)?n.get():n)),Cg(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=dg(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!Cg(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new Wf),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){n_.render(this.render)}},U_=class extends H_{constructor(){super(...arguments),this.KeyframeResolver=Qg}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;Cg(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},W_=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function G_({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function K_({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function q_(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function J_(e){return e===void 0||e===1}function Y_({scale:e,scaleX:t,scaleY:n}){return!J_(e)||!J_(t)||!J_(n)}function X_(e){return Y_(e)||Z_(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Z_(e){return Q_(e.x)||Q_(e.y)}function Q_(e){return e&&e!==`0%`}function $_(e,t,n){return n+t*(e-n)}function ev(e,t,n,r,i){return i!==void 0&&(e=$_(e,i,r)),$_(e,n,r)+t}function tv(e,t=0,n=1,r,i){e.min=ev(e.min,t,n,r,i),e.max=ev(e.max,t,n,r,i)}function nv(e,{x:t,y:n}){tv(e.x,t.translate,t.scale,t.originPoint),tv(e.y,n.translate,n.scale,n.originPoint)}var rv=.999999999999,iv=1.0000000000001;function av(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(ov(e.x,-a.scroll.offset.x),ov(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,nv(e,o)),r&&X_(a.latestValues)&&lv(e,a.latestValues,a.layout?.layoutBox))}t.x<iv&&t.x>rv&&(t.x=1),t.y<iv&&t.y>rv&&(t.y=1)}function ov(e,t){e.min+=t,e.max+=t}function sv(e,t,n,r,i=.5){tv(e,t,n,bm(e.min,e.max,i),r)}function cv(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function lv(e,t,n){let r=n??e;sv(e.x,cv(t.x,r.x),t.scaleX,t.scale,t.originX),sv(e.y,cv(t.y,r.y),t.scaleY,t.scale,t.originY)}function uv(e,t){return G_(q_(e.getBoundingClientRect(),t))}function dv(e,t,n){let r=uv(e,n),{scroll:i}=t;return i&&(ov(r.x,i.offset.x),ov(r.y,i.offset.y)),r}var fv={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},pv=_h.length;function mv(e,t,n){let r=``,i=!0;for(let a=0;a<pv;a++){let o=_h[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=e_(s,Gg[o]);if(!c){i=!1;let t=fv[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}return r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function hv(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(vh.has(e)){o=!0;continue}else if(Ap(e)){i[e]=n;continue}else{let t=e_(n,Gg[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=mv(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function gv(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function _v(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var vv={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if(J.test(e))e=parseFloat(e);else return e;return`${_v(e,t.target.x)}% ${_v(e,t.target.y)}%`}},yv={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=gm.parse(e);if(i.length>5)return r;let a=gm.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=bm(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},bv={borderRadius:{...vv,applyTo:[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`]},borderTopLeftRadius:vv,borderTopRightRadius:vv,borderBottomLeftRadius:vv,borderBottomRightRadius:vv,boxShadow:yv};function xv(e,{layout:t,layoutId:n}){return vh.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!bv[e]||e===`opacity`)}function Sv(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(Cg(r[t])||i&&Cg(i[t])||xv(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function Cv(e){return window.getComputedStyle(e)}var wv=class extends U_{constructor(){super(...arguments),this.type=`html`,this.renderInstance=gv}readValueFromInstance(e,t){if(vh.has(t))return this.projection?.isProjecting?ph(t):hh(e,t);{let n=Cv(e),r=(Ap(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return uv(e,t)}build(e,t,n){hv(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Sv(e,t,n)}},Tv={offset:`stroke-dashoffset`,array:`stroke-dasharray`},Ev={offset:`strokeDashoffset`,array:`strokeDasharray`};function Dv(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?Tv:Ev;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var Ov=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function kv(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(hv(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of Ov)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&Dv(d,i,a,o,!1)}var Av=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`]),jv=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function Mv(e,t,n,r){gv(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(Av.has(n)?n:Eg(n),t.attrs[n])}function Nv(e,t,n){let r=Sv(e,t,n);for(let n in e)if(Cg(e[n])||Cg(t[n])){let t=_h.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var Pv=class extends U_{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=D_}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(vh.has(t)){let e=qg(t);return e&&e.default||0}return t=Av.has(t)?t:Eg(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Nv(e,t,n)}build(e,t,n){kv(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){Mv(e,t,n,r)}mount(e){this.isSVGTag=jv(e.tagName),super.mount(e)}},Fv=j_.length;function Iv(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&Iv(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<Fv;n++){let r=j_[n],i=e.props[r];(k_(i)||i===!1)&&(t[r]=i)}return t}function Lv(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var Rv=[...A_].reverse(),zv=A_.length;function Bv(e){return t=>Promise.all(t.map(({animation:t,options:n})=>Ng(e,t,n)))}function Vv(e){let t=Bv(e),n=Wv(),r=!0,i=!1,a=t=>(n,r)=>{let i=fg(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=Iv(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<zv;t++){let p=Rv[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=k_(h),_=p===o?m.isActive:null;_===!1&&(f=t);let v=h===c[p]&&h!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&_===null||!h&&!m.prevProp||O_(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=Hv(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:w={}}=m,T={...w,...C},E=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in T){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=yg(t)&&yg(n)?!Lv(t,n):t!==n,r?t==null?u.add(e):E(e):t!==void 0&&u.has(e)?E(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let D=v&&y;b&&(!D||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!D&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=fg(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=Xh(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=fg(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Wv(),i=!0}}}function Hv(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!Lv(t,e):!1}function Uv(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Wv(){return{animate:Uv(!0),whileInView:Uv(),whileHover:Uv(),whileTap:Uv(),whileDrag:Uv(),whileFocus:Uv(),exit:Uv()}}function Gv(e,t){e.min=t.min,e.max=t.max}function Kv(e,t){Gv(e.x,t.x),Gv(e.y,t.y)}function qv(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var Jv=1e-4,Yv=1-Jv,Xv=1+Jv,Zv=.01,Qv=0-Zv,$v=0+Zv;function ey(e){return e.max-e.min}function ty(e,t,n){return Math.abs(e-t)<=n}function ny(e,t,n,r=.5){e.origin=r,e.originPoint=bm(t.min,t.max,e.origin),e.scale=ey(n)/ey(t),e.translate=bm(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Yv&&e.scale<=Xv||isNaN(e.scale))&&(e.scale=1),(e.translate>=Qv&&e.translate<=$v||isNaN(e.translate))&&(e.translate=0)}function ry(e,t,n,r){ny(e.x,t.x,n.x,r?r.originX:void 0),ny(e.y,t.y,n.y,r?r.originY:void 0)}function iy(e,t,n,r=0){e.min=(r?bm(n.min,n.max,r):n.min)+t.min,e.max=e.min+ey(t)}function ay(e,t,n,r){iy(e.x,t.x,n.x,r?.x),iy(e.y,t.y,n.y,r?.y)}function oy(e,t,n,r=0){let i=r?bm(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+ey(t)}function sy(e,t,n,r){oy(e.x,t.x,n.x,r?.x),oy(e.y,t.y,n.y,r?.y)}function cy(e,t,n,r,i){return e-=t,e=$_(e,1/n,r),i!==void 0&&(e=$_(e,1/i,r)),e}function ly(e,t=0,n=1,r=.5,i,a=e,o=e){if(Zp.test(t)&&(t=parseFloat(t),t=bm(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=bm(a.min,a.max,r);e===a&&(s-=t),e.min=cy(e.min,t,n,s,i),e.max=cy(e.max,t,n,s,i)}function uy(e,t,[n,r,i],a,o){ly(e,t[n],t[r],t[i],t.scale,a,o)}var dy=[`x`,`scaleX`,`originX`],fy=[`y`,`scaleY`,`originY`];function py(e,t,n,r){uy(e.x,t,dy,n?n.x:void 0,r?r.x:void 0),uy(e.y,t,fy,n?n.y:void 0,r?r.y:void 0)}function my(e){return e.translate===0&&e.scale===1}function hy(e){return my(e.x)&&my(e.y)}function gy(e,t){return e.min===t.min&&e.max===t.max}function _y(e,t){return gy(e.x,t.x)&&gy(e.y,t.y)}function vy(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function yy(e,t){return vy(e.x,t.x)&&vy(e.y,t.y)}function by(e){return ey(e.x)/ey(e.y)}function xy(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Sy(e){return[e(`x`),e(`y`)]}function Cy(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:a,skewX:o,skewY:s}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotateX(${i}deg) `),a&&(r+=`rotateY(${a}deg) `),o&&(r+=`skewX(${o}deg) `),s&&(r+=`skewY(${s}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}var wy=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`],Ty=wy.length,Ey=e=>typeof e==`string`?parseFloat(e):e,Dy=e=>typeof e==`number`||J.test(e);function Oy(e,t,n,r,i,a){i?(e.opacity=bm(0,n.opacity??1,Ay(r)),e.opacityExit=bm(t.opacity??1,0,jy(r))):a&&(e.opacity=bm(t.opacity??1,n.opacity??1,r));for(let i=0;i<Ty;i++){let a=wy[i],o=ky(t,a),s=ky(n,a);o===void 0&&s===void 0||(o||=0,s||=0,o===0||s===0||Dy(o)===Dy(s)?(e[a]=Math.max(bm(Ey(o),Ey(s),r),0),(Zp.test(s)||Zp.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=bm(t.rotate||0,n.rotate||0,r))}function ky(e,t){return e[t]===void 0?e.borderRadius:e[t]}var Ay=My(0,.5,op),jy=My(.5,.95,Bf);function My(e,t,n){return r=>r<e?0:r>t?1:n(Uf(e,t,r))}function Ny(e,t,n){let r=Cg(e)?e:vg(e);return r.start(lg(``,r,t,n)),r.animation}function Py(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}var Fy=(e,t)=>e.depth-t.depth,Iy=class{constructor(){this.children=[],this.isDirty=!1}add(e){Mf(this.children,e),this.isDirty=!0}remove(e){Nf(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Fy),this.isDirty=!1,this.children.forEach(e)}};function Ly(e,t){let n=Dp.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(Sp(r),e(a-t))};return xp.setup(r,!0),()=>Sp(r)}function Ry(e){return Cg(e)?e.get():e}var zy=class{constructor(){this.members=[]}add(e){Mf(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&(Nf(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(Nf(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}},By={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Vy={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Hy=[``,`X`,`Y`,`Z`],Uy=1e3,Wy=0;function Gy(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Ky(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=Og(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,xp,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Ky(r)}function qy({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=Wy++,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,_p.value&&(Vy.nodes=Vy.calculatedTargetDeltas=Vy.calculatedProjections=0),this.nodes.forEach(Xy),this.nodes.forEach(Wee),this.nodes.forEach(Gee),this.nodes.forEach(Zy),_p.addProjectionMetrics&&_p.addProjectionMetrics(Vy)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Iy)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Wf),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=__(t)&&!Ree(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;xp.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Ly(i,250),By.hasAnimatedSinceResize&&(By.hasAnimatedSinceResize=!1,this.nodes.forEach(rb)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||Xee,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!yy(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...og(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l)}else t||rb(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Sp(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(Kee),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Ky(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(eb),this.nodes.forEach($y);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(tb);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(nb),this.nodes.forEach(Uee),this.nodes.forEach(Jy),this.nodes.forEach(Yy)):this.nodes.forEach(tb),this.clearAllSnapshots();let e=Dp.now();Cp.delta=Pf(0,1e3/60,e-Cp.timestamp),Cp.timestamp=e,Cp.isProcessing=!0,wp.update.process(Cp),wp.preRender.process(Cp),wp.render.process(Cp),Cp.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,n_.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Qy),this.sharedNodes.forEach(qee)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,xp.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){xp.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!ey(this.snapshot.measuredBox.x)&&!ey(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 e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=D_(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!hy(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||X_(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),Zee(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return D_();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Qee))){let{scroll:e}=this.root;e&&(ov(t.x,e.offset.x),ov(t.y,e.offset.y))}return t}removeElementScroll(e){let t=D_();if(Kv(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&Kv(t,e),ov(t.x,i.offset.x),ov(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||D_();Kv(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(ov(r.x,-n.scroll.offset.x),ov(r.y,-n.scroll.offset.y)),X_(n.latestValues)&&lv(r,n.latestValues,n.layout?.layoutBox)}return X_(this.latestValues)&&lv(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=D_();Kv(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!X_(n.latestValues))continue;let r;n.instance&&(Y_(n.latestValues)&&n.updateSnapshot(),r=D_(),Kv(r,n.measurePageBox())),py(t,n.latestValues,n.snapshot?.layoutBox,r)}return X_(this.latestValues)&&py(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0?!0:e.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!==Cp.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=Cp.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=D_(),this.targetWithTransforms=D_()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),ay(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Kv(this.target,this.layout.layoutBox),nv(this.target,this.targetDelta)):Kv(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),_p.value&&Vy.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||Y_(this.parent.latestValues)||Z_(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=D_(),this.relativeTargetOrigin=D_(),sy(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Kv(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===Cp.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;Kv(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;av(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=D_());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(qv(this.prevProjectionDelta.x,this.projectionDelta.x),qv(this.prevProjectionDelta.y,this.projectionDelta.y)),ry(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!xy(this.projectionDelta.x,this.prevProjectionDelta.x)||!xy(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),_p.value&&Vy.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=T_(),this.projectionDelta=T_(),this.projectionDeltaWithTransform=T_()}setAnimationOrigin(e,t=!1){let n=this.snapshot,r=n?n.latestValues:{},i={...this.latestValues},a=T_();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let o=D_(),s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),l=!c||c.members.length<=1,u=!!(s&&!l&&this.options.crossfade===!0&&!this.path.some(Yee));this.animationProgress=0;let d;this.mixTargetDelta=t=>{let n=t/1e3;ib(a.x,e.x,n),ib(a.y,e.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(sy(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),Jee(this.relativeTarget,this.relativeTargetOrigin,o,n),d&&_y(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||=D_(),Kv(d,this.relativeTarget)),s&&(this.animationValues=i,Oy(i,r,this.latestValues,n,u,l)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(Sp(this.pendingAnimation),void 0),this.pendingAnimation=xp.update(()=>{By.hasAnimatedSinceResize=!0,Op.layout++,this.motionValue||=vg(0),this.motionValue.jump(0,!1),this.currentAnimation=Ny(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{Op.layout--},onComplete:()=>{Op.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Uy),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&lb(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||D_();let t=ey(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=ey(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Kv(t,n),lv(t,i),ry(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new zy),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return e?e.lead===this:!0}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&Gy(`z`,e,r,this.animationValues);for(let t=0;t<Hy.length;t++)Gy(`rotate${Hy[t]}`,e,r,this.animationValues),Gy(`skew${Hy[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=Ry(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=Ry(t?.pointerEvents)||``),this.hasProjected&&!X_(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=Cy(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in bv){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=bv[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?Ry(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach($y),this.root.sharedNodes.clear()}}}function Jy(e){e.updateLayout()}function Yy(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)Sy(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=ey(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;Gv(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else lb(i,t.layoutBox,n)&&Sy(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=ey(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=T_();ry(o,n,t.layoutBox);let s=T_();a?ry(s,e.applyTransform(r,!0),t.measuredBox):ry(s,n,t.layoutBox);let c=!hy(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=D_();sy(s,t.layoutBox,i.layoutBox,o);let c=D_();sy(c,n,a.layoutBox,o),yy(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Xy(e){_p.value&&Vy.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function Zy(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Qy(e){e.clearSnapshot()}function $y(e){e.clearMeasurements()}function eb(e){e.isLayoutDirty=!0,e.updateLayout()}function tb(e){e.isLayoutDirty=!1}function nb(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function Uee(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function rb(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Wee(e){e.resolveTargetDelta()}function Gee(e){e.calcProjection()}function Kee(e){e.resetSkewAndRotation()}function qee(e){e.removeLeadSnapshot()}function ib(e,t,n){e.translate=bm(t.translate,0,n),e.scale=bm(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ab(e,t,n,r){e.min=bm(t.min,n.min,r),e.max=bm(t.max,n.max,r)}function Jee(e,t,n,r){ab(e.x,t.x,n.x,r),ab(e.y,t.y,n.y,r)}function Yee(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var Xee={duration:.45,ease:[.4,0,.1,1]},ob=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),sb=ob(`applewebkit/`)&&!ob(`chrome/`)?Math.round:Bf;function cb(e){e.min=sb(e.min),e.max=sb(e.max)}function Zee(e){cb(e.x),cb(e.y)}function lb(e,t,n){return e===`position`||e===`preserve-aspect`&&!ty(by(t),by(n),.2)}function Qee(e){return e!==e.root&&e.scroll?.wasRoot}var $ee=qy({attachResizeListener:(e,t)=>Py(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),ub={current:void 0},db=qy({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ub.current){let e=new $ee({});e.mount(window),e.setOptions({layoutScroll:!0}),ub.current=e}return ub.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),fb=(0,R.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function pb(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function ete(...e){return t=>{let n=!1,r=e.map(e=>{let r=pb(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():pb(e[t],null)}}}}function tte(...e){return R.useCallback(ete(...e),e)}var nte=class extends R.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t_(t)&&e.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let e=t.offsetParent,n=t_(e)&&e.offsetWidth||0,r=t_(e)&&e.offsetHeight||0,i=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(i.height),a.width=parseFloat(i.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=n-a.width-a.left,a.bottom=r-a.height-a.top}return null}componentDidUpdate(){}render(){return this.props.children}};function rte({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a}){let o=(0,R.useId)(),s=(0,R.useRef)(null),c=(0,R.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:l}=(0,R.useContext)(fb),u=tte(s,e.props?.ref??e?.ref);return(0,R.useInsertionEffect)(()=>{let{width:e,height:u,top:d,left:f,right:p,bottom:m}=c.current;if(t||a===!1||!s.current||!e||!u)return;let h=n===`left`?`left: ${f}`:`right: ${p}`,g=r===`bottom`?`bottom: ${m}`:`top: ${d}`;s.current.dataset.motionPopId=o;let _=document.createElement(`style`);l&&(_.nonce=l);let v=i??document.head;return v.appendChild(_),_.sheet&&_.sheet.insertRule(`
19
+ `+n)}}catch{}}throw e}}_request(e,t){typeof e==`string`?(t||={},t.url=e):t=e||{},t=Po(this.defaults,t);let{transitional:n,paramsSerializer:r,headers:i}=t;n!==void 0&&cs.assertOptions(n,{silentJSONParsing:ls.transitional(ls.boolean),forcedJSONParsing:ls.transitional(ls.boolean),clarifyTimeoutError:ls.transitional(ls.boolean),legacyInterceptorReqResOrdering:ls.transitional(ls.boolean)},!1),r!=null&&(V.isFunction(r)?t.paramsSerializer={serialize:r}:cs.assertOptions(r,{encode:ls.function,serialize:ls.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls===void 0?t.allowAbsoluteUrls=!0:t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls),cs.assertOptions(t,{baseUrl:ls.spelling(`baseURL`),withXsrfToken:ls.spelling(`withXSRFToken`)},!0),t.method=(t.method||this.defaults.method||`get`).toLowerCase();let a=i&&V.merge(i.common,i[t.method]);i&&V.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`,`common`],e=>{delete i[e]}),t.headers=_o.concat(a,i);let o=[],s=!0;this.interceptors.request.forEach(function(e){if(typeof e.runWhen==`function`&&e.runWhen(t)===!1)return;s&&=e.synchronous;let n=t.transitional||Va;n&&n.legacyInterceptorReqResOrdering?o.unshift(e.fulfilled,e.rejected):o.push(e.fulfilled,e.rejected)});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let l,u=0,d;if(!s){let e=[rs.bind(this),void 0];for(e.unshift(...o),e.push(...c),d=e.length,l=Promise.resolve(t);u<d;)l=l.then(e[u++],e[u++]);return l}d=o.length;let f=t;for(;u<d;){let e=o[u++],t=o[u++];try{f=e(f)}catch(e){t.call(this,e);break}}try{l=rs.call(this,f)}catch(e){return Promise.reject(e)}for(u=0,d=c.length;u<d;)l=l.then(c[u++],c[u++]);return l}getUri(e){return e=Po(this.defaults,e),za(Mo(e.baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};V.forEach([`delete`,`get`,`head`,`options`],function(e){us.prototype[e]=function(t,n){return this.request(Po(n||{},{method:e,url:t,data:(n||{}).data}))}}),V.forEach([`post`,`put`,`patch`],function(e){function t(t){return function(n,r,i){return this.request(Po(i||{},{method:e,headers:t?{"Content-Type":`multipart/form-data`}:{},url:n,data:r}))}}us.prototype[e]=t(),us.prototype[e+`Form`]=t(!0)});var ds=class e{constructor(e){if(typeof e!=`function`)throw TypeError(`executor must be a function.`);let t;this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t,r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new bo(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}};function fs(e){return function(t){return e.apply(null,t)}}function ps(e){return V.isObject(e)&&e.isAxiosError===!0}var ms={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(ms).forEach(([e,t])=>{ms[t]=e});function hs(e){let t=new us(e),n=_i(us.prototype.request,t);return V.extend(n,us.prototype,t,{allOwnKeys:!0}),V.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return hs(Po(e,t))},n}var gs=hs(no);gs.Axios=us,gs.CanceledError=bo,gs.CancelToken=ds,gs.isCancel=yo,gs.VERSION=is,gs.toFormData=Pa,gs.AxiosError=Oa,gs.Cancel=gs.CanceledError,gs.all=function(e){return Promise.all(e)},gs.spread=fs,gs.isAxiosError=ps,gs.mergeConfig=Po,gs.AxiosHeaders=_o,gs.formToJSON=e=>$a(V.isHTMLForm(e)?new FormData(e):e),gs.getAdapter=ts.getAdapter,gs.HttpStatusCode=ms,gs.default=gs;var _s=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),vs=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),ys=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),bs=e=>{let t=ys(e);return t.charAt(0).toUpperCase()+t.slice(1)},xs={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`},Ss=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},Cs=(0,R.createContext)({}),ws=()=>(0,R.useContext)(Cs),Ts=(0,R.forwardRef)(({color:e,size:t,strokeWidth:n,absoluteStrokeWidth:r,className:i=``,children:a,iconNode:o,...s},c)=>{let{size:l=24,strokeWidth:u=2,absoluteStrokeWidth:d=!1,color:f=`currentColor`,className:p=``}=ws()??{},m=r??d?Number(n??u)*24/Number(t??l):n??u;return(0,R.createElement)(`svg`,{ref:c,...xs,width:t??l??xs.width,height:t??l??xs.height,stroke:e??f,strokeWidth:m,className:_s(`lucide`,p,i),...!a&&!Ss(s)&&{"aria-hidden":`true`},...s},[...o.map(([e,t])=>(0,R.createElement)(e,t)),...Array.isArray(a)?a:[a]])}),H=(e,t)=>{let n=(0,R.forwardRef)(({className:n,...r},i)=>(0,R.createElement)(Ts,{ref:i,iconNode:t,className:_s(`lucide-${vs(bs(e))}`,`lucide-${e}`,n),...r}));return n.displayName=bs(e),n},Es=H(`activity`,[[`path`,{d:`M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2`,key:`169zse`}]]),Ds=H(`archive`,[[`rect`,{width:`20`,height:`5`,x:`2`,y:`3`,rx:`1`,key:`1wp1u1`}],[`path`,{d:`M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8`,key:`1s80jp`}],[`path`,{d:`M10 12h4`,key:`a56b0p`}]]),Os=H(`arrow-left`,[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]),ks=H(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),As=H(`arrow-up-down`,[[`path`,{d:`m21 16-4 4-4-4`,key:`f6ql7i`}],[`path`,{d:`M17 20V4`,key:`1ejh1v`}],[`path`,{d:`m3 8 4-4 4 4`,key:`11wl7u`}],[`path`,{d:`M7 4v16`,key:`1glfcx`}]]),js=H(`book-open`,[[`path`,{d:`M12 7v14`,key:`1akyts`}],[`path`,{d:`M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z`,key:`ruj8y`}]]),Ms=H(`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`}]]),Ns=H(`box`,[[`path`,{d:`M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z`,key:`hh9hay`}],[`path`,{d:`m3.3 7 8.7 5 8.7-5`,key:`g66t2b`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}]]),Ps=H(`brain`,[[`path`,{d:`M12 18V5`,key:`adv99a`}],[`path`,{d:`M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4`,key:`1e3is1`}],[`path`,{d:`M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5`,key:`1gqd8o`}],[`path`,{d:`M17.997 5.125a4 4 0 0 1 2.526 5.77`,key:`iwvgf7`}],[`path`,{d:`M18 18a4 4 0 0 0 2-7.464`,key:`efp6ie`}],[`path`,{d:`M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517`,key:`1gq6am`}],[`path`,{d:`M6 18a4 4 0 0 1-2-7.464`,key:`k1g0md`}],[`path`,{d:`M6.003 5.125a4 4 0 0 0-2.526 5.77`,key:`q97ue3`}]]),Fs=H(`calendar`,[[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`,key:`1hopcy`}],[`path`,{d:`M3 10h18`,key:`8toen8`}]]),Is=H(`chart-column`,[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`path`,{d:`M18 17V9`,key:`2bz60n`}],[`path`,{d:`M13 17V5`,key:`1frdt8`}],[`path`,{d:`M8 17v-3`,key:`17ska0`}]]),Ls=H(`check-check`,[[`path`,{d:`M18 6 7 17l-5-5`,key:`116fxf`}],[`path`,{d:`m22 10-7.5 7.5L13 16`,key:`ke71qq`}]]),Rs=H(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),zs=H(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),Bs=H(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),Vs=H(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),Hs=H(`chevron-up`,[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]),Us=H(`circle-alert`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]]),Ws=H(`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`}]]),Gs=H(`circle-check`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),Ks=H(`circle-x`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]]),qs=H(`circle`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}]]),Js=H(`clock`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}]]),Ys=H(`code`,[[`path`,{d:`m16 18 6-6-6-6`,key:`eg8j8`}],[`path`,{d:`m8 6-6 6 6 6`,key:`ppft3o`}]]),Xs=H(`command`,[[`path`,{d:`M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3`,key:`11bfej`}]]),Zs=H(`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`}]]),Qs=H(`cpu`,[[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M17 20v2`,key:`1rnc9c`}],[`path`,{d:`M17 2v2`,key:`11trls`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M2 17h2`,key:`7oei6x`}],[`path`,{d:`M2 7h2`,key:`asdhe0`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`M20 17h2`,key:`1fpfkl`}],[`path`,{d:`M20 7h2`,key:`1o8tra`}],[`path`,{d:`M7 20v2`,key:`4gnj0m`}],[`path`,{d:`M7 2v2`,key:`1i4yhu`}],[`rect`,{x:`4`,y:`4`,width:`16`,height:`16`,rx:`2`,key:`1vbyd7`}],[`rect`,{x:`8`,y:`8`,width:`8`,height:`8`,rx:`1`,key:`z9xiuo`}]]),$s=H(`database`,[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`,key:`msslwz`}],[`path`,{d:`M3 5V19A9 3 0 0 0 21 19V5`,key:`1wlel7`}],[`path`,{d:`M3 12A9 3 0 0 0 21 12`,key:`mv7ke4`}]]),ec=H(`dollar-sign`,[[`line`,{x1:`12`,x2:`12`,y1:`2`,y2:`22`,key:`7eqyqh`}],[`path`,{d:`M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6`,key:`1b0p4s`}]]),tc=H(`download`,[[`path`,{d:`M12 15V3`,key:`m9g1x1`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}],[`path`,{d:`m7 10 5 5 5-5`,key:`brsn70`}]]),nc=H(`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`}]]),rc=H(`eye-off`,[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),ic=H(`eye`,[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`,key:`1nclc0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),ac=H(`file-code`,[[`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 12.5 8 15l2 2.5`,key:`1tg20x`}],[`path`,{d:`m14 12.5 2 2.5-2 2.5`,key:`yinavb`}]]),oc=H(`file-pen`,[[`path`,{d:`M12.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v9.34`,key:`o6klzx`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10.378 12.622a1 1 0 0 1 3 3.003L8.36 20.637a2 2 0 0 1-.854.506l-2.867.837a.5.5 0 0 1-.62-.62l.836-2.869a2 2 0 0 1 .506-.853z`,key:`zhnas1`}]]),sc=H(`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`}]]),cc=H(`file`,[[`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`}]]),lc=H(`folder-tree`,[[`path`,{d:`M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`,key:`hod4my`}],[`path`,{d:`M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`,key:`w4yl2u`}],[`path`,{d:`M3 5a2 2 0 0 0 2 2h3`,key:`f2jnh7`}],[`path`,{d:`M3 3v13a2 2 0 0 0 2 2h3`,key:`k8epm1`}]]),uc=H(`folder`,[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}]]),dc=H(`funnel`,[[`path`,{d:`M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z`,key:`sc7q7i`}]]),fc=H(`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`}]]),pc=H(`hard-drive`,[[`path`,{d:`M10 16h.01`,key:`1bzywj`}],[`path`,{d:`M2.212 11.577a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`,key:`18tbho`}],[`path`,{d:`M21.946 12.013H2.054`,key:`zqlbp7`}],[`path`,{d:`M6 16h.01`,key:`1pmjb7`}]]),mc=H(`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`}]]),hc=H(`info`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 16v-4`,key:`1dtifu`}],[`path`,{d:`M12 8h.01`,key:`e9boi3`}]]),gc=H(`layout-dashboard`,[[`rect`,{width:`7`,height:`9`,x:`3`,y:`3`,rx:`1`,key:`10lvy0`}],[`rect`,{width:`7`,height:`5`,x:`14`,y:`3`,rx:`1`,key:`16une8`}],[`rect`,{width:`7`,height:`9`,x:`14`,y:`12`,rx:`1`,key:`1hutg5`}],[`rect`,{width:`7`,height:`5`,x:`3`,y:`16`,rx:`1`,key:`ldoo1y`}]]),_c=H(`lightbulb`,[[`path`,{d:`M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5`,key:`1gvzjb`}],[`path`,{d:`M9 18h6`,key:`x1upvd`}],[`path`,{d:`M10 22h4`,key:`ceow96`}]]),vc=H(`link`,[[`path`,{d:`M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71`,key:`1cjeqo`}],[`path`,{d:`M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71`,key:`19qd67`}]]),yc=H(`list`,[[`path`,{d:`M3 5h.01`,key:`18ugdj`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M3 19h.01`,key:`noohij`}],[`path`,{d:`M8 5h13`,key:`1pao27`}],[`path`,{d:`M8 12h13`,key:`1za7za`}],[`path`,{d:`M8 19h13`,key:`m83p4d`}]]),bc=H(`loader-circle`,[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]]),xc=H(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),Sc=H(`message-square`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}]]),Cc=H(`network`,[[`rect`,{x:`16`,y:`16`,width:`6`,height:`6`,rx:`1`,key:`4q2zg0`}],[`rect`,{x:`2`,y:`16`,width:`6`,height:`6`,rx:`1`,key:`8cvhb9`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`6`,rx:`1`,key:`1egb70`}],[`path`,{d:`M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3`,key:`1jsf9p`}],[`path`,{d:`M12 12V8`,key:`2874zd`}]]),wc=H(`package`,[[`path`,{d:`M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z`,key:`1a0edw`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}],[`polyline`,{points:`3.29 7 12 12 20.71 7`,key:`ousv84`}],[`path`,{d:`m7.5 4.27 9 5.15`,key:`1c824w`}]]),Tc=H(`pause`,[[`rect`,{x:`14`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`kaeet6`}],[`rect`,{x:`5`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`1wsw3u`}]]),Ec=H(`pen`,[[`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`}]]),Dc=H(`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`}]]),Oc=H(`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`}]]),kc=H(`plus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]),Ac=H(`power`,[[`path`,{d:`M12 2v10`,key:`mnfbl`}],[`path`,{d:`M18.4 6.6a9 9 0 1 1-12.77.04`,key:`obofu9`}]]),jc=H(`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`}]]),Mc=H(`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`}]]),Nc=H(`save`,[[`path`,{d:`M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z`,key:`1c8476`}],[`path`,{d:`M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7`,key:`1ydtos`}],[`path`,{d:`M7 3v4a1 1 0 0 0 1 1h7`,key:`t51u73`}]]),Pc=H(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]),Fc=H(`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`}]]),Ic=H(`shield-check`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),Lc=H(`shield`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}]]),Rc=H(`sparkles`,[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]]),zc=H(`square-check-big`,[[`path`,{d:`M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344`,key:`2acyp4`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]]),Bc=H(`square-pen`,[[`path`,{d:`M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7`,key:`1m0v6g`}],[`path`,{d:`M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z`,key:`ohrbg2`}]]),Vc=H(`square`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]),Hc=H(`tag`,[[`path`,{d:`M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z`,key:`vktsd0`}],[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`kqv944`}]]),Uc=H(`terminal`,[[`path`,{d:`M12 19h8`,key:`baeox8`}],[`path`,{d:`m4 17 6-6-6-6`,key:`1yngyt`}]]),Wc=H(`test-tube`,[[`path`,{d:`M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2`,key:`125lnx`}],[`path`,{d:`M8.5 2h7`,key:`csnxdl`}],[`path`,{d:`M14.5 16h-5`,key:`1ox875`}]]),Gc=H(`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`}]]),Kc=H(`trending-up`,[[`path`,{d:`M16 7h6v6`,key:`box55l`}],[`path`,{d:`m22 7-8.5 8.5-5-5L2 17`,key:`1t1m79`}]]),qc=H(`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`}]]),Jc=H(`upload`,[[`path`,{d:`M12 3v12`,key:`1x0j5s`}],[`path`,{d:`m17 8-5-5-5 5`,key:`7q97r8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}]]),Yc=H(`workflow`,[[`rect`,{width:`8`,height:`8`,x:`3`,y:`3`,rx:`2`,key:`by2w9f`}],[`path`,{d:`M7 11v4a2 2 0 0 0 2 2h4`,key:`xkn7yn`}],[`rect`,{width:`8`,height:`8`,x:`13`,y:`13`,rx:`2`,key:`1cgmvn`}]]),Xc=H(`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`}]]),Zc=H(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),Qc=H(`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`}]]),$c=u(y(),1),el=u(_(),1),tl=(0,R.createContext)({toast:()=>{}}),nl=()=>{};function U(e,t=`error`){nl(e,t)}function rl({children:e}){let[t,n]=(0,R.useState)([]),r={current:0},i=(0,R.useCallback)((e,t=`error`)=>{let i=++r.current;n(n=>[...n,{id:i,type:t,message:e}]),setTimeout(()=>n(e=>e.filter(e=>e.id!==i)),4e3)},[]);(0,R.useEffect)(()=>{nl=i},[i]);let a={success:Ws,error:Ks,warning:qc},o={success:`bg-green-50 border-green-200 text-green-800`,error:`bg-red-50 border-red-200 text-red-800`,warning:`bg-yellow-50 border-yellow-200 text-yellow-800`},s={success:`text-green-500`,error:`text-red-500`,warning:`text-yellow-500`};return(0,z.jsxs)(tl.Provider,{value:{toast:i},children:[e,(0,el.createPortal)((0,z.jsx)(`div`,{className:`fixed bottom-4 right-4 z-[9999] flex flex-col gap-2 max-w-sm`,children:t.map(e=>{let t=a[e.type];return(0,z.jsxs)(`div`,{className:`flex items-start gap-3 px-4 py-3 rounded-lg border shadow-lg text-sm ${o[e.type]}`,children:[(0,z.jsx)(t,{className:`h-4 w-4 mt-0.5 flex-shrink-0 ${s[e.type]}`}),(0,z.jsx)(`span`,{className:`flex-1`,children:e.message}),(0,z.jsx)(`button`,{onClick:()=>n(t=>t.filter(t=>t.id!==e.id)),children:(0,z.jsx)(Zc,{className:`h-3.5 w-3.5 opacity-60 hover:opacity-100`})})]},e.id)})}),document.body)]})}var W=gs.create({baseURL:`/api`,timeout:3e4});W.interceptors.request.use(e=>{let t=window.__AUTH_TOKEN__;return t&&(e.headers.Authorization=`Bearer ${t}`),e}),W.interceptors.response.use(e=>e,e=>(U(e.response?.data?.error||e.response?.data?.message||e.message||`请求失败`,`error`),Promise.reject(e)));var il=()=>W.get(`/health`),al=()=>W.get(`/config`),ol=e=>W.put(`/config`,e),sl=()=>W.get(`/config/history`),cl=e=>W.get(`/sessions`,{params:e}),ll=e=>W.get(`/sessions/${e}`),ul=e=>W.delete(`/sessions/${e}`),dl=e=>W.delete(`/sessions`,{data:{ids:e}}),fl=e=>W.get(`/events`,{params:e}),pl=e=>W.get(`/events/stats`,{params:{project_path:e}}),ml=e=>W.get(`/pipelines`,{params:e}),hl=e=>W.get(`/pipelines/${e}`),gl=e=>W.get(`/quality/history`,{params:e}),_l=e=>W.get(`/quality/unresolved`,{params:{project_path:e}}),vl=()=>W.get(`/stats/roi`),yl=()=>W.get(`/stats/overview`),bl=(e,t,n,r)=>W.get(`/knowledge/search`,{params:{q:e,project_path:t,node_type:n,limit:r}}),xl=e=>W.get(`/knowledge/overview`,{params:{project_path:e}}),Sl=(e,t)=>W.get(`/knowledge/neighbors`,{params:{node_id:e,project_path:t}}),Cl=(e,t)=>W.get(`/knowledge/graph`,{params:{project_path:e,node_type:t}}),wl=e=>W.post(`/knowledge/nodes`,e),Tl=(e,t)=>W.put(`/knowledge/nodes/${e}`,t),El=e=>W.delete(`/knowledge/nodes/${e}`),Dl=e=>W.delete(`/knowledge/batch`,{data:{ids:e}}),Ol=e=>W.post(`/knowledge/import`,{nodes:e}),kl=e=>W.post(`/knowledge/edges`,e),Al=e=>W.post(`/pipelines/${e}/close`),jl=e=>W.post(`/pipelines/${e}/reactivate`),Ml=e=>W.post(`/pipelines/batch-close`,{ids:e}),Nl=()=>W.post(`/pipelines/close-expired`),Pl=()=>W.get(`/pipelines/active`),Fl=e=>W.post(`/pipelines/${e}/resume`),Il=e=>W.post(`/pipelines/${e}/advance`),Ll=e=>W.get(`/projects`,{params:e}),Rl=e=>W.get(`/projects/${e}`),zl=e=>W.delete(`/projects/${e}`),Bl=e=>W.post(`/convention/init`,{path:e},{timeout:18e4}),Vl=e=>W.get(`/projects/${e}/conventions`),Hl=(e,t)=>W.post(`/projects/${e}/conventions/bind`,{conventionId:t}),Ul=(e,t)=>W.delete(`/projects/${e}/conventions/${encodeURIComponent(t)}`),Wl=e=>W.get(`/projects/${e}/conventions/custom/yaml`),Gl=(e,t)=>W.put(`/projects/${e}/conventions/custom`,{yaml:t}),Kl=e=>W.post(`/projects/${e}/conventions/distill`,{},{timeout:12e4}),ql=e=>W.get(`/claudemd/${e}`),Jl=(e,t)=>W.put(`/claudemd/${e}`,{content:t}),Yl=e=>W.get(`/claudemd/${e}/profile`),Xl=e=>W.get(`/claudemd/${e}/modules`),Zl=e=>W.post(`/claudemd/${e}/distill`,void 0,{timeout:18e4}),Ql=e=>W.post(`/claudemd/${e}/init`,void 0,{timeout:18e4}),$l=e=>W.post(`/quality/${e}/resolve`),eu=e=>W.post(`/quality/${e}/dismiss`),tu=e=>W.post(`/quality/batch-dismiss`,{ids:e}),nu=e=>W.post(`/quality/batch-resolve`,{ids:e}),ru=()=>W.post(`/quality/resolve-all`),iu=e=>W.get(`/quality/${e}/context`),au=()=>W.get(`/daemon/status`),ou=()=>W.post(`/daemon/restart`),su=()=>W.get(`/daemon/diagnose`),cu=()=>W.post(`/daemon/repair`),lu=()=>W.post(`/config/backup`),uu=()=>W.get(`/config/backups`),du=e=>`/api/config/backups/${encodeURIComponent(e)}`,fu=e=>W.post(`/config/restore`,{filename:e}),pu=e=>W.post(`/events/purge`,{retentionDays:e}),mu=()=>W.get(`/memory/caches`),hu=()=>W.get(`/memory/process`),gu=e=>W.post(`/memory/caches/${encodeURIComponent(e)}/clear`),_u=()=>W.post(`/memory/caches/clear-all`),vu=()=>W.post(`/memory/gc`),yu=e=>W.get(`/stats/api-usage`,{params:{days:e}}),bu=e=>W.get(`/skills`,{params:e}),xu=()=>W.get(`/skills/status`),Su=e=>W.get(`/skills/${encodeURIComponent(e)}`),Cu=(e,t)=>W.put(`/skills/${encodeURIComponent(e)}/content`,{content:t}),wu=(e,t)=>W.post(`/skills/search`,{query:e,...t},{timeout:3e4}),Tu=e=>W.post(`/skills/install`,{url:e},{timeout:6e4}),Eu=e=>W.delete(`/skills/${encodeURIComponent(e)}`),Du=e=>W.post(`/skills/batch-delete`,{names:e}),Ou=()=>W.post(`/skills/evolve`,{},{timeout:12e4}),ku=()=>W.post(`/skills/distill`,{},{timeout:12e4}),Au=()=>W.post(`/skills/repair`,{},{timeout:6e4}),ju=()=>W.get(`/skills/orchestration`),Mu=(e,t)=>W.put(`/skills/orchestration`,{skill:e,keywords:t}),Nu=e=>W.delete(`/skills/orchestration/${encodeURIComponent(e)}`),Pu=()=>W.get(`/conventions`),Fu=e=>W.get(`/conventions/${encodeURIComponent(e)}`),Iu=()=>W.post(`/conventions/sync-official`),Lu=e=>W.post(`/conventions/install`,{url:e},{timeout:3e4}),Ru=e=>W.delete(`/conventions/${encodeURIComponent(e)}`),zu=()=>W.get(`/conventions/usage-stats`),Bu=e=>W.get(`/conventions/${encodeURIComponent(e)}/evolution-history`),Vu=e=>W.post(`/conventions/batch-evolve`,{conventionIds:e},{timeout:12e4}),Hu=e=>W.get(`/conventions/${encodeURIComponent(e)}/yaml`),Uu=(e,t)=>W.put(`/conventions/${encodeURIComponent(e)}/yaml`,{yaml:t}),Wu=e=>W.get(`/node-types`,{params:e?{projectPath:e}:void 0}),Gu=e=>W.get(`/node-types/${encodeURIComponent(e)}`),Ku=e=>W.post(`/node-types`,e),qu=(e,t)=>W.put(`/node-types/${encodeURIComponent(e)}`,t),Ju=e=>W.delete(`/node-types/${encodeURIComponent(e)}`);function Yu(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Yu(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function Xu(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Yu(e))&&(r&&(r+=` `),r+=t);return r}var Zu=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},Qu=(e,t)=>({classGroupId:e,validator:t}),$u=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),ed=`-`,td=[],nd=`arbitrary..`,rd=e=>{let t=od(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return ad(e);let n=e.split(ed);return id(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?Zu(i,t):t:i||td}return n[e]||td}}},id=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=id(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(ed):e.slice(t).join(ed),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},ad=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?nd+r:void 0})(),od=e=>{let{theme:t,classGroups:n}=e;return sd(n,t)},sd=(e,t)=>{let n=$u();for(let r in e){let i=e[r];cd(i,n,r,t)}return n},cd=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];ld(i,t,n,r)}},ld=(e,t,n,r)=>{if(typeof e==`string`){ud(e,t,n);return}if(typeof e==`function`){dd(e,t,n,r);return}fd(e,t,n,r)},ud=(e,t,n)=>{let r=e===``?t:pd(t,e);r.classGroupId=n},dd=(e,t,n,r)=>{if(md(e)){cd(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Qu(n,e))},fd=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];cd(o,pd(t,a),n,r)}},pd=(e,t)=>{let n=e,r=t.split(ed),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=$u(),n.nextPart.set(t,i)),n=i}return n},md=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,hd=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},gd=`!`,_d=`:`,vd=[],yd=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),bd=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===_d){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(gd)?(c=s.slice(0,-1),l=!0):s.startsWith(gd)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return yd(t,l,c,u)};if(t){let e=t+_d,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):yd(vd,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},xd=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},Sd=e=>({cache:hd(e.cacheSize),parseClassName:bd(e),sortModifiers:xd(e),...rd(e)}),Cd=/\s+/,wd=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(Cd),c=``;for(let e=s.length-1;e>=0;--e){let t=s[e],{isExternal:l,modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(t);if(l){c=t+(c.length>0?` `+c:c);continue}let m=!!p,h=r(m?f.substring(0,p):f);if(!h){if(!m){c=t+(c.length>0?` `+c:c);continue}if(h=r(f),!h){c=t+(c.length>0?` `+c:c);continue}m=!1}let g=u.length===0?``:u.length===1?u[0]:a(u).join(`:`),_=d?g+gd:g,v=_+h;if(o.indexOf(v)>-1)continue;o.push(v);let y=i(h,m);for(let e=0;e<y.length;++e){let t=y[e];o.push(_+t)}c=t+(c.length>0?` `+c:c)}return c},Td=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=Ed(n))&&(i&&(i+=` `),i+=r);return i},Ed=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=Ed(e[r]))&&(n&&(n+=` `),n+=t);return n},Dd=(e,...t)=>{let n,r,i,a,o=o=>(n=Sd(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=wd(e,n);return i(e,a),a};return a=o,(...e)=>a(Td(...e))},Od=[],kd=e=>{let t=t=>t[e]||Od;return t.isThemeGetter=!0,t},Ad=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,jd=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Md=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Nd=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Pd=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Fd=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Id=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ld=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Rd=e=>Md.test(e),zd=e=>!!e&&!Number.isNaN(Number(e)),Bd=e=>!!e&&Number.isInteger(Number(e)),Vd=e=>e.endsWith(`%`)&&zd(e.slice(0,-1)),Hd=e=>Nd.test(e),Ud=()=>!0,Wd=e=>Pd.test(e)&&!Fd.test(e),Gd=()=>!1,Kd=e=>Id.test(e),qd=e=>Ld.test(e),Jd=e=>!G(e)&&!K(e),Yd=e=>df(e,hf,Gd),G=e=>Ad.test(e),Xd=e=>df(e,gf,Wd),Zd=e=>df(e,_f,zd),Qd=e=>df(e,yf,Ud),$d=e=>df(e,vf,Gd),ef=e=>df(e,pf,Gd),tf=e=>df(e,mf,qd),nf=e=>df(e,bf,Kd),K=e=>jd.test(e),rf=e=>ff(e,gf),af=e=>ff(e,vf),of=e=>ff(e,pf),sf=e=>ff(e,hf),cf=e=>ff(e,mf),lf=e=>ff(e,bf,!0),uf=e=>ff(e,yf,!0),df=(e,t,n)=>{let r=Ad.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},ff=(e,t,n=!1)=>{let r=jd.exec(e);return r?r[1]?t(r[1]):n:!1},pf=e=>e===`position`||e===`percentage`,mf=e=>e===`image`||e===`url`,hf=e=>e===`length`||e===`size`||e===`bg-size`,gf=e=>e===`length`,_f=e=>e===`number`,vf=e=>e===`family-name`,yf=e=>e===`number`||e===`weight`,bf=e=>e===`shadow`,xf=Dd(()=>{let e=kd(`color`),t=kd(`font`),n=kd(`text`),r=kd(`font-weight`),i=kd(`tracking`),a=kd(`leading`),o=kd(`breakpoint`),s=kd(`container`),c=kd(`spacing`),l=kd(`radius`),u=kd(`shadow`),d=kd(`inset-shadow`),f=kd(`text-shadow`),p=kd(`drop-shadow`),m=kd(`blur`),h=kd(`perspective`),g=kd(`aspect`),_=kd(`ease`),v=kd(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),K,G],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[K,G,c],T=()=>[Rd,`full`,`auto`,...w()],E=()=>[Bd,`none`,`subgrid`,K,G],D=()=>[`auto`,{span:[`full`,Bd,K,G]},Bd,K,G],O=()=>[Bd,`auto`,K,G],k=()=>[`auto`,`min`,`max`,`fr`,K,G],A=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],j=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],M=()=>[`auto`,...w()],N=()=>[Rd,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],ee=()=>[Rd,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],te=()=>[Rd,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],P=()=>[e,K,G],F=()=>[...b(),of,ef,{position:[K,G]}],ne=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],re=()=>[`auto`,`cover`,`contain`,sf,Yd,{size:[K,G]}],ie=()=>[Vd,rf,Xd],I=()=>[``,`none`,`full`,l,K,G],L=()=>[``,zd,rf,Xd],ae=()=>[`solid`,`dashed`,`dotted`,`double`],oe=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],se=()=>[zd,Vd,of,ef],ce=()=>[``,`none`,m,K,G],le=()=>[`none`,zd,K,G],ue=()=>[`none`,zd,K,G],de=()=>[zd,K,G],fe=()=>[Rd,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[Hd],breakpoint:[Hd],color:[Ud],container:[Hd],"drop-shadow":[Hd],ease:[`in`,`out`,`in-out`],font:[Jd],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[Hd],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[Hd],shadow:[Hd],spacing:[`px`,zd],text:[Hd],"text-shadow":[Hd],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,Rd,G,K,g]}],container:[`container`],columns:[{columns:[zd,G,K,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[Bd,`auto`,K,G]}],basis:[{basis:[Rd,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[zd,Rd,`auto`,`initial`,`none`,G]}],grow:[{grow:[``,zd,K,G]}],shrink:[{shrink:[``,zd,K,G]}],order:[{order:[Bd,`first`,`last`,`none`,K,G]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":k()}],"auto-rows":[{"auto-rows":k()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...A(),`normal`]}],"justify-items":[{"justify-items":[...j(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...j()]}],"align-content":[{content:[`normal`,...A()]}],"align-items":[{items:[...j(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...j(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":A()}],"place-items":[{"place-items":[...j(),`baseline`]}],"place-self":[{"place-self":[`auto`,...j()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mbs:[{mbs:M()}],mbe:[{mbe:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:N()}],"inline-size":[{inline:[`auto`,...ee()]}],"min-inline-size":[{"min-inline":[`auto`,...ee()]}],"max-inline-size":[{"max-inline":[`none`,...ee()]}],"block-size":[{block:[`auto`,...te()]}],"min-block-size":[{"min-block":[`auto`,...te()]}],"max-block-size":[{"max-block":[`none`,...te()]}],w:[{w:[s,`screen`,...N()]}],"min-w":[{"min-w":[s,`screen`,`none`,...N()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...N()]}],h:[{h:[`screen`,`lh`,...N()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...N()]}],"max-h":[{"max-h":[`screen`,`lh`,...N()]}],"font-size":[{text:[`base`,n,rf,Xd]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,uf,Qd]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,Vd,G]}],"font-family":[{font:[af,$d,t]}],"font-features":[{"font-features":[G]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[i,K,G]}],"line-clamp":[{"line-clamp":[zd,`none`,K,Zd]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,K,G]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,K,G]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...ae(),`wavy`]}],"text-decoration-thickness":[{decoration:[zd,`from-font`,`auto`,K,Xd]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[zd,`auto`,K,G]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,K,G]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,K,G]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:F()}],"bg-repeat":[{bg:ne()}],"bg-size":[{bg:re()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},Bd,K,G],radial:[``,K,G],conic:[Bd,K,G]},cf,tf]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:ie()}],"gradient-via-pos":[{via:ie()}],"gradient-to-pos":[{to:ie()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:I()}],"rounded-s":[{"rounded-s":I()}],"rounded-e":[{"rounded-e":I()}],"rounded-t":[{"rounded-t":I()}],"rounded-r":[{"rounded-r":I()}],"rounded-b":[{"rounded-b":I()}],"rounded-l":[{"rounded-l":I()}],"rounded-ss":[{"rounded-ss":I()}],"rounded-se":[{"rounded-se":I()}],"rounded-ee":[{"rounded-ee":I()}],"rounded-es":[{"rounded-es":I()}],"rounded-tl":[{"rounded-tl":I()}],"rounded-tr":[{"rounded-tr":I()}],"rounded-br":[{"rounded-br":I()}],"rounded-bl":[{"rounded-bl":I()}],"border-w":[{border:L()}],"border-w-x":[{"border-x":L()}],"border-w-y":[{"border-y":L()}],"border-w-s":[{"border-s":L()}],"border-w-e":[{"border-e":L()}],"border-w-bs":[{"border-bs":L()}],"border-w-be":[{"border-be":L()}],"border-w-t":[{"border-t":L()}],"border-w-r":[{"border-r":L()}],"border-w-b":[{"border-b":L()}],"border-w-l":[{"border-l":L()}],"divide-x":[{"divide-x":L()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":L()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...ae(),`hidden`,`none`]}],"divide-style":[{divide:[...ae(),`hidden`,`none`]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-bs":[{"border-bs":P()}],"border-color-be":[{"border-be":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:[...ae(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[zd,K,G]}],"outline-w":[{outline:[``,zd,rf,Xd]}],"outline-color":[{outline:P()}],shadow:[{shadow:[``,`none`,u,lf,nf]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":[`none`,d,lf,nf]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:L()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[zd,Xd]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":L()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":[`none`,f,lf,nf]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[zd,K,G]}],"mix-blend":[{"mix-blend":[...oe(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":oe()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[zd]}],"mask-image-linear-from-pos":[{"mask-linear-from":se()}],"mask-image-linear-to-pos":[{"mask-linear-to":se()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":se()}],"mask-image-t-to-pos":[{"mask-t-to":se()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":se()}],"mask-image-r-to-pos":[{"mask-r-to":se()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":se()}],"mask-image-b-to-pos":[{"mask-b-to":se()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":se()}],"mask-image-l-to-pos":[{"mask-l-to":se()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":se()}],"mask-image-x-to-pos":[{"mask-x-to":se()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":se()}],"mask-image-y-to-pos":[{"mask-y-to":se()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[K,G]}],"mask-image-radial-from-pos":[{"mask-radial-from":se()}],"mask-image-radial-to-pos":[{"mask-radial-to":se()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[zd]}],"mask-image-conic-from-pos":[{"mask-conic-from":se()}],"mask-image-conic-to-pos":[{"mask-conic-to":se()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:F()}],"mask-repeat":[{mask:ne()}],"mask-size":[{mask:re()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,K,G]}],filter:[{filter:[``,`none`,K,G]}],blur:[{blur:ce()}],brightness:[{brightness:[zd,K,G]}],contrast:[{contrast:[zd,K,G]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,lf,nf]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:[``,zd,K,G]}],"hue-rotate":[{"hue-rotate":[zd,K,G]}],invert:[{invert:[``,zd,K,G]}],saturate:[{saturate:[zd,K,G]}],sepia:[{sepia:[``,zd,K,G]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,K,G]}],"backdrop-blur":[{"backdrop-blur":ce()}],"backdrop-brightness":[{"backdrop-brightness":[zd,K,G]}],"backdrop-contrast":[{"backdrop-contrast":[zd,K,G]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,zd,K,G]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[zd,K,G]}],"backdrop-invert":[{"backdrop-invert":[``,zd,K,G]}],"backdrop-opacity":[{"backdrop-opacity":[zd,K,G]}],"backdrop-saturate":[{"backdrop-saturate":[zd,K,G]}],"backdrop-sepia":[{"backdrop-sepia":[``,zd,K,G]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,K,G]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[zd,`initial`,K,G]}],ease:[{ease:[`linear`,`initial`,_,K,G]}],delay:[{delay:[zd,K,G]}],animate:[{animate:[`none`,v,K,G]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,K,G]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:le()}],"rotate-x":[{"rotate-x":le()}],"rotate-y":[{"rotate-y":le()}],"rotate-z":[{"rotate-z":le()}],scale:[{scale:ue()}],"scale-x":[{"scale-x":ue()}],"scale-y":[{"scale-y":ue()}],"scale-z":[{"scale-z":ue()}],"scale-3d":[`scale-3d`],skew:[{skew:de()}],"skew-x":[{"skew-x":de()}],"skew-y":[{"skew-y":de()}],transform:[{transform:[K,G,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:fe()}],"translate-x":[{"translate-x":fe()}],"translate-y":[{"translate-y":fe()}],"translate-z":[{"translate-z":fe()}],"translate-none":[`translate-none`],accent:[{accent:P()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:P()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,K,G]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,K,G]}],fill:[{fill:[`none`,...P()]}],"stroke-w":[{stroke:[zd,rf,Xd,Zd]}],stroke:[{stroke:[`none`,...P()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}});function q(...e){return xf(Xu(e))}function Sf(e){let t=Math.floor(e/1e3),n=Math.floor(t/60),r=Math.floor(n/60),i=Math.floor(r/24);return i>0?`${i}天${r%24}小时`:r>0?`${r}小时${n%60}分钟`:n>0?`${n}分钟${t%60}秒`:`${t}秒`}function Cf(e){return e>=1e9?`${(e/1e9).toFixed(1)}B`:e>=1e6?`${(e/1e6).toFixed(1)}M`:e>=1e3?`${(e/1e3).toFixed(1)}K`:e.toString()}function wf(e){let t={active:`text-green-600 bg-green-50`,completed:`text-blue-600 bg-blue-50`,failed:`text-red-600 bg-red-50`,interrupted:`text-yellow-600 bg-yellow-50`,pending:`text-gray-600 bg-gray-50`};return t[e]||t.pending}function Tf(e){return e?e.endsWith(`Z`)||/[+-]\d{2}:\d{2}$/.test(e)?new Date(e):new Date(e+`Z`):new Date}var Ef=[{path:`/dashboard`,label:`仪表盘`,icon:gc},{path:`/projects`,label:`项目管理`,icon:uc},{path:`/sessions`,label:`会话管理`,icon:Es},{path:`/events`,label:`事件流`,icon:Fs},{path:`/pipelines`,label:`流水线`,icon:fc},{path:`/quality`,label:`质量门禁`,icon:Ic},{path:`/knowledge`,label:`知识图谱`,icon:Ps},{path:`/skills`,label:`技能管理`,icon:wc},{path:`/conventions`,label:`规范管理`,icon:js},{path:`/node-types`,label:`节点类型`,icon:Ns},{path:`/analytics`,label:`数据分析`,icon:Is},{path:`/config`,label:`系统配置`,icon:Fc}];function Df({children:e}){let[t,n]=(0,R.useState)(()=>localStorage.getItem(`sidebar-collapsed`)===`true`),r=jn();(0,R.useEffect)(()=>{localStorage.setItem(`sidebar-collapsed`,String(t))},[t]);let{data:i}=lt({queryKey:[`health`],queryFn:()=>il().then(e=>e.data),refetchInterval:15e3}),a=Ef.find(e=>r.pathname.startsWith(e.path));return(0,z.jsxs)(`div`,{className:`flex min-h-screen bg-gray-50`,children:[(0,z.jsxs)(`aside`,{className:q(`fixed top-0 left-0 bottom-0 z-50 flex flex-col transition-all duration-300`,`bg-gradient-to-b from-slate-900 to-slate-800`,t?`w-16`:`w-60`),children:[(0,z.jsxs)(`div`,{className:q(`flex items-center border-b border-white/10 h-16`,t?`justify-center px-2`:`justify-between px-5`),children:[!t&&(0,z.jsxs)(`div`,{className:`flex items-center gap-2.5`,children:[(0,z.jsx)(`div`,{className:`flex items-center justify-center w-8 h-8 rounded-lg bg-gradient-to-br from-blue-500 to-purple-600`,children:(0,z.jsx)(Qc,{className:`h-5 w-5 text-white`})}),(0,z.jsx)(`span`,{className:`text-white font-bold text-lg tracking-tight`,children:`Forge`})]}),(0,z.jsx)(`button`,{onClick:()=>n(!t),className:`p-1.5 rounded-lg text-white/60 hover:text-white hover:bg-white/10 transition-colors`,children:t?(0,z.jsx)(xc,{className:`h-5 w-5`}):(0,z.jsx)(Bs,{className:`h-5 w-5`})})]}),(0,z.jsx)(`nav`,{className:`flex-1 py-4 space-y-1 px-2`,children:Ef.map(e=>(0,z.jsxs)(ei,{to:e.path,className:({isActive:e})=>q(`flex items-center gap-3 rounded-lg transition-all duration-200`,t?`justify-center p-3`:`px-3 py-2.5`,e?`bg-blue-600/20 text-blue-400`:`text-white/60 hover:text-white hover:bg-white/5`),children:[(0,z.jsx)(e.icon,{className:`h-5 w-5 flex-shrink-0`}),!t&&(0,z.jsx)(`span`,{className:`text-sm font-medium`,children:e.label})]},e.path))}),(0,z.jsx)(`div`,{className:q(`border-t border-white/10 py-4`,t?`px-2`:`px-5`),children:(0,z.jsxs)(`div`,{className:q(`flex items-center gap-2`,t?`justify-center`:``),children:[(0,z.jsx)(`div`,{className:q(`w-2 h-2 rounded-full`,i?.status===`ok`?`bg-green-400 animate-pulse`:`bg-red-400`)}),!t&&(0,z.jsx)(`span`,{className:`text-xs text-white/40`,children:i?.status===`ok`?`Daemon 运行中`:`连接断开`})]})})]}),(0,z.jsxs)(`main`,{className:q(`flex-1 transition-all duration-300`,t?`ml-16`:`ml-60`),children:[(0,z.jsxs)(`header`,{className:`sticky top-0 z-40 bg-white/80 backdrop-blur-md border-b border-gray-200/50 h-16 flex items-center justify-between px-8`,children:[(0,z.jsx)(`h1`,{className:`text-xl font-semibold text-gray-900`,children:a?.label||`Claude Forge`}),(0,z.jsxs)(`div`,{className:`flex items-center gap-4`,children:[(0,z.jsxs)(`button`,{className:`hidden sm:flex items-center gap-2 px-3 py-1.5 text-sm text-gray-600 hover:text-gray-900 hover:bg-gray-100 rounded-lg transition-colors`,onClick:()=>{let e=new KeyboardEvent(`keydown`,{key:`k`,metaKey:!0});window.dispatchEvent(e)},children:[(0,z.jsx)(Xs,{className:`h-4 w-4`}),(0,z.jsx)(`span`,{children:`命令面板`}),(0,z.jsx)(`kbd`,{className:`px-2 py-0.5 text-xs bg-gray-100 rounded border border-gray-200`,children:`⌘K`})]}),(0,z.jsxs)(`span`,{className:`text-sm text-gray-500`,children:[`v`,`3.6.20`]}),(0,z.jsxs)(`div`,{className:q(`flex items-center gap-2 px-3 py-1.5 rounded-full text-xs font-semibold`,i?.status===`ok`?`bg-green-50 text-green-700 border border-green-200`:`bg-red-50 text-red-700 border border-red-200`),children:[(0,z.jsx)(`div`,{className:q(`w-1.5 h-1.5 rounded-full`,i?.status===`ok`?`bg-green-500`:`bg-red-500`)}),i?.status===`ok`?`在线`:`离线`]})]})]}),(0,z.jsx)(`div`,{className:`p-8 overflow-x-hidden`,children:e})]})]})}var Of=(0,R.createContext)({});function kf(e){let t=(0,R.useRef)(null);return t.current===null&&(t.current=e()),t.current}var Af=typeof window<`u`?R.useLayoutEffect:R.useEffect,jf=(0,R.createContext)(null);function Mf(e,t){e.indexOf(t)===-1&&e.push(t)}function Nf(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var Pf=(e,t,n)=>n>t?t:n<e?e:n,Ff={},If=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Lf(e){return typeof e==`object`&&!!e}var Rf=e=>/^0[^.\s]+$/u.test(e);function zf(e){let t;return()=>(t===void 0&&(t=e()),t)}var Bf=e=>e,Vf=(e,t)=>n=>t(e(n)),Hf=(...e)=>e.reduce(Vf),Uf=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r},Wf=class{constructor(){this.subscriptions=[]}add(e){return Mf(this.subscriptions,e),()=>Nf(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},Gf=e=>e*1e3,Kf=e=>e/1e3;function qf(e,t){return t?1e3/t*e:0}var Jf=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Yf=1e-7,Xf=12;function Zf(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=Jf(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>Yf&&++s<Xf);return o}function Qf(e,t,n,r){if(e===t&&n===r)return Bf;let i=t=>Zf(t,0,1,e,n);return e=>e===0||e===1?e:Jf(i(e),t,r)}var $f=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ep=e=>t=>1-e(1-t),tp=Qf(.33,1.53,.69,.99),np=ep(tp),rp=$f(np),ip=e=>e>=1?1:(e*=2)<1?.5*np(e):.5*(2-2**(-10*(e-1))),ap=e=>1-Math.sin(Math.acos(e)),op=ep(ap),sp=$f(ap),cp=Qf(.42,0,1,1),lp=Qf(0,0,.58,1),up=Qf(.42,0,.58,1),dp=e=>Array.isArray(e)&&typeof e[0]!=`number`,fp=e=>Array.isArray(e)&&typeof e[0]==`number`,pp={linear:Bf,easeIn:cp,easeInOut:up,easeOut:lp,circIn:ap,circInOut:sp,circOut:op,backIn:np,backInOut:rp,backOut:tp,anticipate:ip},mp=e=>typeof e==`string`,hp=e=>{if(fp(e)){e.length;let[t,n,r,i]=e;return Qf(t,n,r,i)}else if(mp(e))return pp[e],`${e}`,pp[e];return e},gp=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`],_p={value:null,addProjectionMetrics:null};function vp(e,t){let n=new Set,r=new Set,i=!1,a=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},c=0;function l(t){o.has(t)&&(u.schedule(t),e()),c++,t(s)}let u={schedule:(e,t=!1,a=!1)=>{let s=a&&i?n:r;return t&&o.add(e),s.add(e),e},cancel:e=>{r.delete(e),o.delete(e)},process:e=>{if(s=e,i){a=!0;return}i=!0;let o=n;n=r,r=o,n.forEach(l),t&&_p.value&&_p.value.frameloop[t].push(c),c=0,n.clear(),i=!1,a&&(a=!1,u.process(e))}};return u}var yp=40;function bp(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=gp.reduce((e,n)=>(e[n]=vp(a,t?n:void 0),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=Ff.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,yp),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:gp.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<gp.length;t++)o[gp[t]].cancel(e)},state:i,steps:o}}var{schedule:xp,cancel:Sp,state:Cp,steps:wp}=bp(typeof requestAnimationFrame<`u`?requestAnimationFrame:Bf,!0),Tp;function Ep(){Tp=void 0}var Dp={now:()=>(Tp===void 0&&Dp.set(Cp.isProcessing||Ff.useManualTiming?Cp.timestamp:performance.now()),Tp),set:e=>{Tp=e,queueMicrotask(Ep)}},Op={layout:0,mainThread:0,waapi:0},kp=e=>t=>typeof t==`string`&&t.startsWith(e),Ap=kp(`--`),jp=kp(`var(--`),Mp=e=>jp(e)?Np.test(e.split(`/*`)[0].trim()):!1,Np=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Pp(e){return typeof e==`string`?e.split(`/*`)[0].includes(`var(--`):!1}var Fp={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},Ip={...Fp,transform:e=>Pf(0,1,e)},Lp={...Fp,default:1},Rp=e=>Math.round(e*1e5)/1e5,zp=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Bp(e){return e==null}var Vp=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Hp=(e,t)=>n=>!!(typeof n==`string`&&Vp.test(n)&&n.startsWith(e)||t&&!Bp(n)&&Object.prototype.hasOwnProperty.call(n,t)),Up=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(zp);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},Wp=e=>Pf(0,255,e),Gp={...Fp,transform:e=>Math.round(Wp(e))},Kp={test:Hp(`rgb`,`red`),parse:Up(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+Gp.transform(e)+`, `+Gp.transform(t)+`, `+Gp.transform(n)+`, `+Rp(Ip.transform(r))+`)`};function qp(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var Jp={test:Hp(`#`),parse:qp,transform:Kp.transform},Yp=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Xp=Yp(`deg`),Zp=Yp(`%`),J=Yp(`px`),Qp=Yp(`vh`),eee=Yp(`vw`),$p={...Zp,parse:e=>Zp.parse(e)/100,transform:e=>Zp.transform(e*100)},em={test:Hp(`hsl`,`hue`),parse:Up(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+Zp.transform(Rp(t))+`, `+Zp.transform(Rp(n))+`, `+Rp(Ip.transform(r))+`)`},tm={test:e=>Kp.test(e)||Jp.test(e)||em.test(e),parse:e=>Kp.test(e)?Kp.parse(e):em.test(e)?em.parse(e):Jp.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?Kp.transform(e):em.transform(e),getAnimatableNone:e=>{let t=tm.parse(e);return t.alpha=0,tm.transform(t)}},nm=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function rm(e){return isNaN(e)&&typeof e==`string`&&(e.match(zp)?.length||0)+(e.match(nm)?.length||0)>0}var im=`number`,am=`color`,om=`var`,sm=`var(`,cm="${}",tee=/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 lm(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(tee,e=>(tm.test(e)?(r.color.push(a),i.push(am),n.push(tm.parse(e))):e.startsWith(sm)?(r.var.push(a),i.push(om),n.push(e)):(r.number.push(a),i.push(im),n.push(parseFloat(e))),++a,cm)).split(cm),indexes:r,types:i}}function um(e){return lm(e).values}function dm({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];e===im?i+=Rp(r[a]):e===am?i+=tm.transform(r[a]):i+=r[a]}return i}}function fm(e){return dm(lm(e))}var pm=e=>typeof e==`number`?0:tm.test(e)?tm.getAnimatableNone(e):e,mm=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:pm(e);function hm(e){let t=lm(e);return dm(t)(t.values.map((e,n)=>mm(e,t.split[n])))}var gm={test:rm,parse:um,createTransformer:fm,getAnimatableNone:hm};function _m(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function vm({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=_m(s,r,e+1/3),a=_m(s,r,e),o=_m(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function ym(e,t){return n=>n>0?t:e}var bm=(e,t,n)=>e+(t-e)*n,xm=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},nee=[Jp,Kp,em],ree=e=>nee.find(t=>t.test(e));function Sm(e){let t=ree(e);if(`${e}`,!t)return!1;let n=t.parse(e);return t===em&&(n=vm(n)),n}var Cm=(e,t)=>{let n=Sm(e),r=Sm(t);if(!n||!r)return ym(e,t);let i={...n};return e=>(i.red=xm(n.red,r.red,e),i.green=xm(n.green,r.green,e),i.blue=xm(n.blue,r.blue,e),i.alpha=bm(n.alpha,r.alpha,e),Kp.transform(i))},wm=new Set([`none`,`hidden`]);function Tm(e,t){return wm.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Em(e,t){return n=>bm(e,t,n)}function Dm(e){return typeof e==`number`?Em:typeof e==`string`?Mp(e)?ym:tm.test(e)?Cm:jm:Array.isArray(e)?Om:typeof e==`object`?tm.test(e)?Cm:km:ym}function Om(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>Dm(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function km(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Dm(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function Am(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]];n[i]=e.values[o]??0,r[a]++}return n}var jm=(e,t)=>{let n=gm.createTransformer(t),r=lm(e),i=lm(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?wm.has(e)&&!i.values.length||wm.has(t)&&!r.values.length?Tm(e,t):Hf(Om(Am(r,i),i.values),n):(`${e}${t}`,ym(e,t))};function Mm(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?bm(e,t,n):Dm(e)(e,t)}var Nm=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>xp.update(t,e),stop:()=>Sp(t),now:()=>Cp.isProcessing?Cp.timestamp:Dp.now()}},Pm=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},Fm=2e4;function Im(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}function Lm(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(Im(r),Fm);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:Kf(i)}}var Rm={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function zm(e,t){return e*Math.sqrt(1-t*t)}var Bm=12;function Vm(e,t,n){let r=n;for(let n=1;n<Bm;n++)r-=e(r)/t(r);return r}var Hm=.001;function Um({duration:e=Rm.duration,bounce:t=Rm.bounce,velocity:n=Rm.velocity,mass:r=Rm.mass}){let i,a;Rm.maxDuration;let o=1-t;o=Pf(Rm.minDamping,Rm.maxDamping,o),e=Pf(Rm.minDuration,Rm.maxDuration,Kf(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=zm(t,o),c=Math.exp(-i);return Hm-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=zm(t**2,o);return(-i(t)+Hm>0?-1:1)*((a-s)*c)/l}):(i=t=>{let r=Math.exp(-t*e),i=(t-n)*e+1;return-Hm+r*i},a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=Vm(i,a,s);if(e=Gf(e),isNaN(c))return{stiffness:Rm.stiffness,damping:Rm.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var Wm=[`duration`,`bounce`],Gm=[`stiffness`,`damping`,`mass`];function Km(e,t){return t.some(t=>e[t]!==void 0)}function iee(e){let t={velocity:Rm.velocity,stiffness:Rm.stiffness,damping:Rm.damping,mass:Rm.mass,isResolvedFromDuration:!1,...e};if(!Km(e,Gm)&&Km(e,Wm))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*Pf(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:Rm.mass,stiffness:i,damping:a}}else{let n=Um({...e,velocity:0});t={...t,...n,mass:Rm.mass},t.isResolvedFromDuration=!0}return t}function qm(e=Rm.visualDuration,t=Rm.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=iee({...n,velocity:-Kf(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=Kf(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?Rm.restSpeed.granular:Rm.restSpeed.default,i||=v?Rm.restDelta.granular:Rm.restDelta.default;let y,b,x,S,C,w;if(h<1)x=zm(_,h),S=(m+h*_*g)/x,y=e=>o-Math.exp(-h*_*e)*(S*Math.sin(x*e)+g*Math.cos(x*e)),C=h*_*S+g*x,w=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+w*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let T={calculatedDuration:p&&d||null,velocity:e=>Gf(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=Gf(t*(C*n+w*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=Gf(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(Im(T),Fm),t=Pm(t=>T.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return T}qm.applyToOptions=e=>{let t=Lm(e,100,qm);return e.ease=t.ease,e.duration=Gf(t.duration),e.type=`keyframes`,e};var aee=5;function Jm(e,t,n){let r=Math.max(t-aee,0);return qf(n-e(r),t-r)}function Ym({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=qm({keyframes:[f.value,m(f.value)],velocity:Jm(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function oee(e,t,n){let r=[],i=n||Ff.mix||Mm,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=Hf(Array.isArray(t)?t[n]||Bf:t,a)),r.push(a)}return r}function see(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.length,a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=oee(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=Uf(e[r],e[r+1],n);return s[r](i)};return n?t=>l(Pf(e[0],e[a-1],t)):l}function cee(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=Uf(0,t,r);e.push(bm(n,1,i))}}function lee(e){let t=[0];return cee(t,e.length-1),t}function uee(e,t){return e.map(e=>e*t)}function dee(e,t){return e.map(()=>t||up).splice(0,e.length-1)}function Xm({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=dp(r)?r.map(hp):hp(r),a={done:!1,value:t[0]},o=see(uee(n&&n.length===t.length?n:lee(t),e),t,{ease:Array.isArray(i)?i:dee(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var Zm=e=>e!==null;function Qm(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(Zm),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var $m={decay:Ym,inertia:Ym,tween:Xm,keyframes:Xm,spring:qm};function eh(e){typeof e.type==`string`&&(e.type=$m[e.type])}var th=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}},nh=e=>e/100,rh=class extends th{constructor(e){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:e}=this.options;e&&e.updatedAt!==Dp.now()&&this.tick(Dp.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},Op.mainThread++,this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;eh(e);let{type:t=Xm,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||Xm;s!==Xm&&typeof o[0]!=`number`&&(this.mixKeyframes=Hf(nh,Mm(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=Im(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime===null?this.currentTime=t:this.currentTime=this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=Pf(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==Ym&&(b.value=Qm(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return Kf(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+Kf(e)}get time(){return Kf(this.currentTime)}set time(e){e=Gf(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return Jm(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(Dp.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=Kf(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=Nm,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(Dp.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null,Op.mainThread--}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}};function ih(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var ah=e=>e*180/Math.PI,oh=e=>ch(ah(Math.atan2(e[1],e[0]))),sh={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:oh,rotateZ:oh,skewX:e=>ah(Math.atan(e[1])),skewY:e=>ah(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},ch=e=>(e%=360,e<0&&(e+=360),e),lh=oh,uh=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),dh=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),fh={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:uh,scaleY:dh,scale:e=>(uh(e)+dh(e))/2,rotateX:e=>ch(ah(Math.atan2(e[6],e[5]))),rotateY:e=>ch(ah(Math.atan2(-e[2],e[0]))),rotateZ:lh,rotate:lh,skewX:e=>ah(Math.atan(e[4])),skewY:e=>ah(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function ph(e){return+!!e.includes(`scale`)}function mh(e,t){if(!e||e===`none`)return ph(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=fh,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=sh,i=t}if(!i)return ph(t);let a=r[t],o=i[1].split(`,`).map(gh);return typeof a==`function`?a(o):o[a]}var hh=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return mh(n,t)};function gh(e){return parseFloat(e.trim())}var _h=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],vh=new Set(_h),yh=e=>e===Fp||e===J,bh=new Set([`x`,`y`,`z`]),xh=_h.filter(e=>!bh.has(e));function Sh(e){let t=[];return xh.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var Ch={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>mh(t,`x`),y:(e,{transform:t})=>mh(t,`y`)};Ch.translateX=Ch.x,Ch.translateY=Ch.y;var wh=new Set,Th=!1,Eh=!1,Dh=!1;function Oh(){if(Eh){let e=Array.from(wh).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=Sh(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}Eh=!1,Th=!1,wh.forEach(e=>e.complete(Dh)),wh.clear()}function kh(){wh.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Eh=!0)})}function Ah(){Dh=!0,kh(),Oh(),Dh=!1}var jh=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(wh.add(this),Th||(Th=!0,xp.read(kh),xp.resolveKeyframes(Oh))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}ih(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),wh.delete(this)}cancel(){this.state===`scheduled`&&(wh.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},Mh=e=>e.startsWith(`--`);function Nh(e,t,n){Mh(t)?e.style.setProperty(t,n):e.style[t]=n}var Ph={};function Fh(e,t){let n=zf(e);return()=>Ph[t]??n()}var fee=Fh(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),Ih=Fh(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),Lh=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Rh={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:Lh([0,.65,.55,1]),circOut:Lh([.55,0,1,.45]),backIn:Lh([.31,.01,.66,-.59]),backOut:Lh([.33,1.53,.69,.99])};function zh(e,t){if(e)return typeof e==`function`?Ih()?Pm(e,t):`ease-out`:fp(e)?Lh(e):Array.isArray(e)?e.map(e=>zh(e,t)||Rh.easeOut):Rh[e]}function pee(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=zh(s,i);Array.isArray(d)&&(u.easing=d),_p.value&&Op.waapi++;let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};l&&(f.pseudoElement=l);let p=e.animate(u,f);return _p.value&&p.finished.finally(()=>{Op.waapi--}),p}function Bh(e){return typeof e==`function`&&`applyToOptions`in e}function mee({type:e,...t}){return Bh(e)&&Ih()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var Vh=class extends th{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,e.type;let c=mee(e);this.animation=pee(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=Qm(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),Nh(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e===`idle`||e===`finished`||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return Kf(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+Kf(e)}get time(){return Kf(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Gf(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`finished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&fee()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),Bf):r(this)}},Hh={anticipate:ip,backInOut:rp,circInOut:sp};function hee(e){return e in Hh}function gee(e){typeof e.ease==`string`&&hee(e.ease)&&(e.ease=Hh[e.ease])}var Uh=10,_ee=class extends Vh{constructor(e){gee(e),eh(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new rh({...a,autoplay:!1}),s=Math.max(Uh,Dp.now()-this.startTime),c=Pf(0,Uh,s-Uh),l=o.sample(s).value,{name:u}=this.options;i&&u&&Nh(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},Wh=(e,t)=>t===`zIndex`?!1:!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(gm.test(e)||e===`0`)&&!e.startsWith(`url(`));function vee(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function yee(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=Wh(i,t),s=Wh(a,t);return`${t}${i}${a}${o?a:i}`,!o||!s?!1:vee(e)||(n===`spring`||Bh(n))&&r}function Gh(e){e.duration=0,e.type=`keyframes`}var Kh=new Set([`opacity`,`clipPath`,`filter`,`transform`]),bee=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function xee(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&bee.test(e[t]))return!0;return!1}var See=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),Cee=zf(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function qh(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:c,transformTemplate:l}=t.owner.getProps();return Cee()&&n&&(Kh.has(n)||See.has(n)&&xee(s))&&(n!==`transform`||!l)&&!c&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var Jh=40,Yh=class extends th{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Dp.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u};this.keyframeResolver=new(l?.KeyframeResolver||jh)(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=Dp.now();let u=!0;yee(e,i,a,o)||(u=!1,(Ff.instantAnimations||!s)&&l?.(Qm(e,n,t)),e[0]=e[e.length-1],Gh(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>Jh?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&qh(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new _ee({...d,element:p})}catch{m=new rh(d)}else m=new rh(d);m.finished.then(()=>{this.notifyFinished()}).catch(Bf),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Ah()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};function Xh(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}var Zh=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Qh(e){let t=Zh.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function $h(e,t,n=1){`${e}`;let[r,i]=Qh(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return If(e)?parseFloat(e):e}return Mp(i)?$h(i,t,n+1):i}var eg={type:`spring`,stiffness:500,damping:25,restSpeed:10},tg=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),ng={type:`keyframes`,duration:.8},rg={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},ig=(e,{keyframes:t})=>t.length>2?ng:vh.has(e)?e.startsWith(`scale`)?tg(t[1]):eg:rg;function ag(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function og(e,t){let n=e?.[t]??e?.default??e;return n===e?n:ag(n,e)}var sg=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function cg(e){for(let t in e)if(!sg.has(t))return!0;return!1}var lg=(e,t,n,r={},i,a)=>o=>{let s=og(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=Gf(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};cg(s)||Object.assign(u,ig(e,u)),u.duration&&=Gf(u.duration),u.repeatDelay&&=Gf(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Gh(u),u.delay===0&&(d=!0)),(Ff.instantAnimations||Ff.skipAnimations||i?.shouldSkipAnimations)&&(d=!0,Gh(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=Qm(u.keyframes,s);if(e!==void 0){xp.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new rh(u):new Yh(u)};function ug(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function dg(e,t,n,r){if(typeof t==`function`){let[i,a]=ug(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=ug(r);t=t(n===void 0?e.custom:n,i,a)}return t}function fg(e,t,n){let r=e.getProps();return dg(r,t,n===void 0?r.custom:n,e)}var pg=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,..._h]),mg=30,hg=e=>!isNaN(parseFloat(e)),gg={current:void 0},_g=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=Dp.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=Dp.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=hg(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new Wf);let n=this.events[e].add(t);return e===`change`?()=>{n(),xp.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return gg.current&&gg.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=Dp.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>mg)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,mg);return qf(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),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 vg(e,t){return new _g(e,t)}var yg=e=>Array.isArray(e);function bg(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,vg(n))}function xg(e){return yg(e)?e[e.length-1]||0:e}function Sg(e,t){let{transitionEnd:n={},transition:r={},...i}=fg(e,t)||{};i={...i,...n};for(let t in i)bg(e,t,xg(i[t]))}var Cg=e=>!!(e&&e.getVelocity);function wg(e){return!!(Cg(e)&&e.add)}function Tg(e,t){let n=e.getValue(`willChange`);if(wg(n))return n.add(t);if(!n&&Ff.WillChange){let n=new Ff.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function Eg(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var Dg=`data-`+Eg(`framerAppearId`);function Og(e){return e.props[Dg]}function kg({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Ag(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?ag(a,c):c;let l=a?.reduceMotion;r&&(a=r);let u=[],d=i&&e.animationState&&e.animationState.getState()[i];for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||d&&kg(d,t))continue;let o={delay:n,...og(a||{},t)},c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){xp.update(()=>r.set(i));continue}let f=!1;if(window.MotionHandoffAnimation){let n=Og(e);if(n){let e=window.MotionHandoffAnimation(n,t,xp);e!==null&&(o.startTime=e,f=!0)}}Tg(e,t);let p=l??e.shouldReduceMotion;r.start(lg(t,r,i,p&&pg.has(t)?{type:!1}:o,e,f));let m=r.animation;m&&u.push(m)}if(o){let t=()=>xp.update(()=>{o&&Sg(e,o)});u.length?Promise.all(u).then(t):t()}return u}function jg(e,t,n={}){let r=fg(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(Ag(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return Mg(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}else return Promise.all([a(),o(n.delay)])}function Mg(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(jg(c,t,{...o,delay:n+(typeof r==`function`?0:r)+Xh(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function Ng(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>jg(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=jg(e,t,n);else{let i=typeof t==`function`?fg(e,t,n.custom):t;r=Promise.all(Ag(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var Pg={test:e=>e===`auto`,parse:e=>e},Fg=e=>t=>t.test(e),Ig=[Fp,J,Zp,Xp,eee,Qp,Pg],Lg=e=>Ig.find(Fg(e));function Rg(e){return typeof e==`number`?e===0:e===null?!0:e===`none`||e===`0`||Rf(e)}var zg=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function Bg(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(zp)||[];if(!r)return e;let i=n.replace(r,``),a=+!!zg.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var Vg=/\b([a-z-]*)\(.*?\)/gu,Hg={...gm,getAnimatableNone:e=>{let t=e.match(Vg);return t?t.map(Bg).join(` `):e}},Ug={...gm,getAnimatableNone:e=>{let t=gm.parse(e);return gm.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},Wg={...Fp,transform:Math.round},Gg={borderWidth:J,borderTopWidth:J,borderRightWidth:J,borderBottomWidth:J,borderLeftWidth:J,borderRadius:J,borderTopLeftRadius:J,borderTopRightRadius:J,borderBottomRightRadius:J,borderBottomLeftRadius:J,width:J,maxWidth:J,height:J,maxHeight:J,top:J,right:J,bottom:J,left:J,inset:J,insetBlock:J,insetBlockStart:J,insetBlockEnd:J,insetInline:J,insetInlineStart:J,insetInlineEnd:J,padding:J,paddingTop:J,paddingRight:J,paddingBottom:J,paddingLeft:J,paddingBlock:J,paddingBlockStart:J,paddingBlockEnd:J,paddingInline:J,paddingInlineStart:J,paddingInlineEnd:J,margin:J,marginTop:J,marginRight:J,marginBottom:J,marginLeft:J,marginBlock:J,marginBlockStart:J,marginBlockEnd:J,marginInline:J,marginInlineStart:J,marginInlineEnd:J,fontSize:J,backgroundPositionX:J,backgroundPositionY:J,rotate:Xp,rotateX:Xp,rotateY:Xp,rotateZ:Xp,scale:Lp,scaleX:Lp,scaleY:Lp,scaleZ:Lp,skew:Xp,skewX:Xp,skewY:Xp,distance:J,translateX:J,translateY:J,translateZ:J,x:J,y:J,z:J,perspective:J,transformPerspective:J,opacity:Ip,originX:$p,originY:$p,originZ:J,zIndex:Wg,fillOpacity:Ip,strokeOpacity:Ip,numOctaves:Wg},Kg={...Gg,color:tm,backgroundColor:tm,outlineColor:tm,fill:tm,stroke:tm,borderColor:tm,borderTopColor:tm,borderRightColor:tm,borderBottomColor:tm,borderLeftColor:tm,filter:Hg,WebkitFilter:Hg,mask:Ug,WebkitMask:Ug},qg=e=>Kg[e],Jg=new Set([Hg,Ug]);function Yg(e,t){let n=qg(e);return Jg.has(n)||(n=gm),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var Xg=new Set([`auto`,`none`,`0`]);function Zg(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!Xg.has(t)&&lm(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=Yg(n,i)}var Qg=class extends jh{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),Mp(r))){let i=$h(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!pg.has(n)||e.length!==2)return;let[r,i]=e,a=Lg(r),o=Lg(i);if(Pp(r)!==Pp(i)&&Ch[n]){this.needsMeasurement=!0;return}if(a!==o)if(yh(a)&&yh(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else Ch[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||Rg(e[t]))&&n.push(t);n.length&&Zg(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Ch[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=Ch[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}};function $g(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var e_=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function t_(e){return Lf(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:n_,cancel:wee}=bp(queueMicrotask,!1),r_={x:!1,y:!1};function i_(){return r_.x||r_.y}function a_(e){return e===`x`||e===`y`?r_[e]?null:(r_[e]=!0,()=>{r_[e]=!1}):r_.x||r_.y?null:(r_.x=r_.y=!0,()=>{r_.x=r_.y=!1})}function o_(e,t){let n=$g(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function s_(e){return!(e.pointerType===`touch`||i_())}function c_(e,t,n={}){let[r,i,a]=o_(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!s_(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}var l_=(e,t)=>t?e===t?!0:l_(e,t.parentElement):!1,u_=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,d_=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function Tee(e){return d_.has(e.tagName)||e.isContentEditable===!0}var Eee=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function Dee(e){return Eee.has(e.tagName)||e.isContentEditable===!0}var f_=new WeakSet;function p_(e){return t=>{t.key===`Enter`&&e(t)}}function m_(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var Oee=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=p_(()=>{if(f_.has(n))return;m_(n,`down`);let e=p_(()=>{m_(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>m_(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function h_(e){return u_(e)&&!i_()}var g_=new WeakSet;function kee(e,t,n={}){let[r,i,a]=o_(e,n),o=e=>{let r=e.currentTarget;if(!h_(e)||g_.has(e))return;f_.add(r),n.stopPropagation&&g_.add(e);let a=t(r,e),o=(e,t)=>{window.removeEventListener(`pointerup`,s),window.removeEventListener(`pointercancel`,c),f_.has(r)&&f_.delete(r),h_(e)&&typeof a==`function`&&a(e,{success:t})},s=e=>{o(e,r===window||r===document||n.useGlobalTarget||l_(r,e.target))},c=e=>{o(e,!1)};window.addEventListener(`pointerup`,s,i),window.addEventListener(`pointercancel`,c,i)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),t_(e)&&(e.addEventListener(`focus`,e=>Oee(e,i)),!Tee(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function __(e){return Lf(e)&&`ownerSVGElement`in e}var v_=new WeakMap,y_,b_=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:__(r)&&`getBBox`in r?r.getBBox()[t]:r[n],Aee=b_(`inline`,`width`,`offsetWidth`),jee=b_(`block`,`height`,`offsetHeight`);function Mee({target:e,borderBoxSize:t}){v_.get(e)?.forEach(n=>{n(e,{get width(){return Aee(e,t)},get height(){return jee(e,t)}})})}function Nee(e){e.forEach(Mee)}function Pee(){typeof ResizeObserver>`u`||(y_=new ResizeObserver(Nee))}function Fee(e,t){y_||Pee();let n=$g(e);return n.forEach(e=>{let n=v_.get(e);n||(n=new Set,v_.set(e,n)),n.add(t),y_?.observe(e)}),()=>{n.forEach(e=>{let n=v_.get(e);n?.delete(t),n?.size||y_?.unobserve(e)})}}var x_=new Set,S_;function Iee(){S_=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};x_.forEach(t=>t(e))},window.addEventListener(`resize`,S_)}function Lee(e){return x_.add(e),S_||Iee(),()=>{x_.delete(e),!x_.size&&typeof S_==`function`&&(window.removeEventListener(`resize`,S_),S_=void 0)}}function C_(e,t){return typeof e==`function`?Lee(e):Fee(e,t)}function Ree(e){return __(e)&&e.tagName===`svg`}var zee=[...Ig,tm,gm],Bee=e=>zee.find(Fg(e)),w_=()=>({translate:0,scale:1,origin:0,originPoint:0}),T_=()=>({x:w_(),y:w_()}),E_=()=>({min:0,max:0}),D_=()=>({x:E_(),y:E_()}),Vee=new WeakMap;function O_(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function k_(e){return typeof e==`string`||Array.isArray(e)}var A_=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],j_=[`initial`,...A_];function M_(e){return O_(e.animate)||j_.some(t=>k_(e[t]))}function N_(e){return!!(M_(e)||e.variants)}function Hee(e,t,n){for(let r in t){let i=t[r],a=n[r];if(Cg(i))e.addValue(r,i);else if(Cg(a))e.addValue(r,vg(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,vg(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var P_={current:null},F_={current:!1},I_=typeof window<`u`;function L_(){if(F_.current=!0,I_)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>P_.current=e.matches;e.addEventListener(`change`,t),t()}else P_.current=!1}var R_=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],z_={};function B_(e){z_=e}function V_(){return z_}var H_=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){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=jh,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 e=Dp.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,xp.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=M_(t),this.isVariantNode=N_(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&Cg(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,Vee.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(F_.current||L_(),this.shouldReduceMotion=P_.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Sp(this.notifyUpdate),Sp(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&Kh.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new Vh({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:Gf(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=vh.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&xp.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i(),t.owner&&t.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in z_){let t=z_[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):D_()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<R_.length;t++){let n=R_[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=Hee(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]: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(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=vg(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(If(n)||Rf(n))?n=parseFloat(n):!Bee(n)&&gm.test(t)&&(n=Yg(e,t)),this.setBaseTarget(e,Cg(n)?n.get():n)),Cg(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=dg(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!Cg(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new Wf),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){n_.render(this.render)}},U_=class extends H_{constructor(){super(...arguments),this.KeyframeResolver=Qg}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;Cg(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},W_=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function G_({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function K_({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function q_(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function J_(e){return e===void 0||e===1}function Y_({scale:e,scaleX:t,scaleY:n}){return!J_(e)||!J_(t)||!J_(n)}function X_(e){return Y_(e)||Z_(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Z_(e){return Q_(e.x)||Q_(e.y)}function Q_(e){return e&&e!==`0%`}function $_(e,t,n){return n+t*(e-n)}function ev(e,t,n,r,i){return i!==void 0&&(e=$_(e,i,r)),$_(e,n,r)+t}function tv(e,t=0,n=1,r,i){e.min=ev(e.min,t,n,r,i),e.max=ev(e.max,t,n,r,i)}function nv(e,{x:t,y:n}){tv(e.x,t.translate,t.scale,t.originPoint),tv(e.y,n.translate,n.scale,n.originPoint)}var rv=.999999999999,iv=1.0000000000001;function av(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(ov(e.x,-a.scroll.offset.x),ov(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,nv(e,o)),r&&X_(a.latestValues)&&lv(e,a.latestValues,a.layout?.layoutBox))}t.x<iv&&t.x>rv&&(t.x=1),t.y<iv&&t.y>rv&&(t.y=1)}function ov(e,t){e.min+=t,e.max+=t}function sv(e,t,n,r,i=.5){tv(e,t,n,bm(e.min,e.max,i),r)}function cv(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function lv(e,t,n){let r=n??e;sv(e.x,cv(t.x,r.x),t.scaleX,t.scale,t.originX),sv(e.y,cv(t.y,r.y),t.scaleY,t.scale,t.originY)}function uv(e,t){return G_(q_(e.getBoundingClientRect(),t))}function dv(e,t,n){let r=uv(e,n),{scroll:i}=t;return i&&(ov(r.x,i.offset.x),ov(r.y,i.offset.y)),r}var fv={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},pv=_h.length;function mv(e,t,n){let r=``,i=!0;for(let a=0;a<pv;a++){let o=_h[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=e_(s,Gg[o]);if(!c){i=!1;let t=fv[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}return r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function hv(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(vh.has(e)){o=!0;continue}else if(Ap(e)){i[e]=n;continue}else{let t=e_(n,Gg[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=mv(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function gv(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function _v(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var vv={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if(J.test(e))e=parseFloat(e);else return e;return`${_v(e,t.target.x)}% ${_v(e,t.target.y)}%`}},yv={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=gm.parse(e);if(i.length>5)return r;let a=gm.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=bm(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},bv={borderRadius:{...vv,applyTo:[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`]},borderTopLeftRadius:vv,borderTopRightRadius:vv,borderBottomLeftRadius:vv,borderBottomRightRadius:vv,boxShadow:yv};function xv(e,{layout:t,layoutId:n}){return vh.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!bv[e]||e===`opacity`)}function Sv(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(Cg(r[t])||i&&Cg(i[t])||xv(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function Cv(e){return window.getComputedStyle(e)}var wv=class extends U_{constructor(){super(...arguments),this.type=`html`,this.renderInstance=gv}readValueFromInstance(e,t){if(vh.has(t))return this.projection?.isProjecting?ph(t):hh(e,t);{let n=Cv(e),r=(Ap(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return uv(e,t)}build(e,t,n){hv(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Sv(e,t,n)}},Tv={offset:`stroke-dashoffset`,array:`stroke-dasharray`},Ev={offset:`strokeDashoffset`,array:`strokeDasharray`};function Dv(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?Tv:Ev;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var Ov=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function kv(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(hv(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of Ov)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&Dv(d,i,a,o,!1)}var Av=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`]),jv=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function Mv(e,t,n,r){gv(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(Av.has(n)?n:Eg(n),t.attrs[n])}function Nv(e,t,n){let r=Sv(e,t,n);for(let n in e)if(Cg(e[n])||Cg(t[n])){let t=_h.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var Pv=class extends U_{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=D_}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(vh.has(t)){let e=qg(t);return e&&e.default||0}return t=Av.has(t)?t:Eg(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Nv(e,t,n)}build(e,t,n){kv(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){Mv(e,t,n,r)}mount(e){this.isSVGTag=jv(e.tagName),super.mount(e)}},Fv=j_.length;function Iv(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&Iv(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<Fv;n++){let r=j_[n],i=e.props[r];(k_(i)||i===!1)&&(t[r]=i)}return t}function Lv(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var Rv=[...A_].reverse(),zv=A_.length;function Bv(e){return t=>Promise.all(t.map(({animation:t,options:n})=>Ng(e,t,n)))}function Vv(e){let t=Bv(e),n=Wv(),r=!0,i=!1,a=t=>(n,r)=>{let i=fg(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=Iv(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<zv;t++){let p=Rv[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=k_(h),_=p===o?m.isActive:null;_===!1&&(f=t);let v=h===c[p]&&h!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&_===null||!h&&!m.prevProp||O_(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=Hv(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:w={}}=m,T={...w,...C},E=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in T){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=yg(t)&&yg(n)?!Lv(t,n):t!==n,r?t==null?u.add(e):E(e):t!==void 0&&u.has(e)?E(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let D=v&&y;b&&(!D||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!D&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=fg(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=Xh(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=fg(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Wv(),i=!0}}}function Hv(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!Lv(t,e):!1}function Uv(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Wv(){return{animate:Uv(!0),whileInView:Uv(),whileHover:Uv(),whileTap:Uv(),whileDrag:Uv(),whileFocus:Uv(),exit:Uv()}}function Gv(e,t){e.min=t.min,e.max=t.max}function Kv(e,t){Gv(e.x,t.x),Gv(e.y,t.y)}function qv(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var Jv=1e-4,Yv=1-Jv,Xv=1+Jv,Zv=.01,Qv=0-Zv,$v=0+Zv;function ey(e){return e.max-e.min}function ty(e,t,n){return Math.abs(e-t)<=n}function ny(e,t,n,r=.5){e.origin=r,e.originPoint=bm(t.min,t.max,e.origin),e.scale=ey(n)/ey(t),e.translate=bm(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Yv&&e.scale<=Xv||isNaN(e.scale))&&(e.scale=1),(e.translate>=Qv&&e.translate<=$v||isNaN(e.translate))&&(e.translate=0)}function ry(e,t,n,r){ny(e.x,t.x,n.x,r?r.originX:void 0),ny(e.y,t.y,n.y,r?r.originY:void 0)}function iy(e,t,n,r=0){e.min=(r?bm(n.min,n.max,r):n.min)+t.min,e.max=e.min+ey(t)}function ay(e,t,n,r){iy(e.x,t.x,n.x,r?.x),iy(e.y,t.y,n.y,r?.y)}function oy(e,t,n,r=0){let i=r?bm(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+ey(t)}function sy(e,t,n,r){oy(e.x,t.x,n.x,r?.x),oy(e.y,t.y,n.y,r?.y)}function cy(e,t,n,r,i){return e-=t,e=$_(e,1/n,r),i!==void 0&&(e=$_(e,1/i,r)),e}function ly(e,t=0,n=1,r=.5,i,a=e,o=e){if(Zp.test(t)&&(t=parseFloat(t),t=bm(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=bm(a.min,a.max,r);e===a&&(s-=t),e.min=cy(e.min,t,n,s,i),e.max=cy(e.max,t,n,s,i)}function uy(e,t,[n,r,i],a,o){ly(e,t[n],t[r],t[i],t.scale,a,o)}var dy=[`x`,`scaleX`,`originX`],fy=[`y`,`scaleY`,`originY`];function py(e,t,n,r){uy(e.x,t,dy,n?n.x:void 0,r?r.x:void 0),uy(e.y,t,fy,n?n.y:void 0,r?r.y:void 0)}function my(e){return e.translate===0&&e.scale===1}function hy(e){return my(e.x)&&my(e.y)}function gy(e,t){return e.min===t.min&&e.max===t.max}function _y(e,t){return gy(e.x,t.x)&&gy(e.y,t.y)}function vy(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function yy(e,t){return vy(e.x,t.x)&&vy(e.y,t.y)}function by(e){return ey(e.x)/ey(e.y)}function xy(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Sy(e){return[e(`x`),e(`y`)]}function Cy(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:a,skewX:o,skewY:s}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotateX(${i}deg) `),a&&(r+=`rotateY(${a}deg) `),o&&(r+=`skewX(${o}deg) `),s&&(r+=`skewY(${s}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}var wy=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`],Ty=wy.length,Ey=e=>typeof e==`string`?parseFloat(e):e,Dy=e=>typeof e==`number`||J.test(e);function Oy(e,t,n,r,i,a){i?(e.opacity=bm(0,n.opacity??1,Ay(r)),e.opacityExit=bm(t.opacity??1,0,jy(r))):a&&(e.opacity=bm(t.opacity??1,n.opacity??1,r));for(let i=0;i<Ty;i++){let a=wy[i],o=ky(t,a),s=ky(n,a);o===void 0&&s===void 0||(o||=0,s||=0,o===0||s===0||Dy(o)===Dy(s)?(e[a]=Math.max(bm(Ey(o),Ey(s),r),0),(Zp.test(s)||Zp.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=bm(t.rotate||0,n.rotate||0,r))}function ky(e,t){return e[t]===void 0?e.borderRadius:e[t]}var Ay=My(0,.5,op),jy=My(.5,.95,Bf);function My(e,t,n){return r=>r<e?0:r>t?1:n(Uf(e,t,r))}function Ny(e,t,n){let r=Cg(e)?e:vg(e);return r.start(lg(``,r,t,n)),r.animation}function Py(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}var Fy=(e,t)=>e.depth-t.depth,Iy=class{constructor(){this.children=[],this.isDirty=!1}add(e){Mf(this.children,e),this.isDirty=!0}remove(e){Nf(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Fy),this.isDirty=!1,this.children.forEach(e)}};function Ly(e,t){let n=Dp.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(Sp(r),e(a-t))};return xp.setup(r,!0),()=>Sp(r)}function Ry(e){return Cg(e)?e.get():e}var zy=class{constructor(){this.members=[]}add(e){Mf(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&(Nf(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(Nf(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}},By={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Vy={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Hy=[``,`X`,`Y`,`Z`],Uy=1e3,Wy=0;function Gy(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Ky(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=Og(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,xp,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Ky(r)}function qy({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=Wy++,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,_p.value&&(Vy.nodes=Vy.calculatedTargetDeltas=Vy.calculatedProjections=0),this.nodes.forEach(Xy),this.nodes.forEach(Wee),this.nodes.forEach(Gee),this.nodes.forEach(Zy),_p.addProjectionMetrics&&_p.addProjectionMetrics(Vy)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Iy)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Wf),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=__(t)&&!Ree(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;xp.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Ly(i,250),By.hasAnimatedSinceResize&&(By.hasAnimatedSinceResize=!1,this.nodes.forEach(rb)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||Xee,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!yy(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...og(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l)}else t||rb(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Sp(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(Kee),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Ky(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(eb),this.nodes.forEach($y);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(tb);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(nb),this.nodes.forEach(Uee),this.nodes.forEach(Jy),this.nodes.forEach(Yy)):this.nodes.forEach(tb),this.clearAllSnapshots();let e=Dp.now();Cp.delta=Pf(0,1e3/60,e-Cp.timestamp),Cp.timestamp=e,Cp.isProcessing=!0,wp.update.process(Cp),wp.preRender.process(Cp),wp.render.process(Cp),Cp.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,n_.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Qy),this.sharedNodes.forEach(qee)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,xp.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){xp.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!ey(this.snapshot.measuredBox.x)&&!ey(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 e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=D_(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!hy(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||X_(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),Zee(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return D_();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Qee))){let{scroll:e}=this.root;e&&(ov(t.x,e.offset.x),ov(t.y,e.offset.y))}return t}removeElementScroll(e){let t=D_();if(Kv(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&Kv(t,e),ov(t.x,i.offset.x),ov(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||D_();Kv(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(ov(r.x,-n.scroll.offset.x),ov(r.y,-n.scroll.offset.y)),X_(n.latestValues)&&lv(r,n.latestValues,n.layout?.layoutBox)}return X_(this.latestValues)&&lv(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=D_();Kv(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!X_(n.latestValues))continue;let r;n.instance&&(Y_(n.latestValues)&&n.updateSnapshot(),r=D_(),Kv(r,n.measurePageBox())),py(t,n.latestValues,n.snapshot?.layoutBox,r)}return X_(this.latestValues)&&py(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0?!0:e.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!==Cp.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=Cp.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=D_(),this.targetWithTransforms=D_()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),ay(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Kv(this.target,this.layout.layoutBox),nv(this.target,this.targetDelta)):Kv(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),_p.value&&Vy.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||Y_(this.parent.latestValues)||Z_(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=D_(),this.relativeTargetOrigin=D_(),sy(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Kv(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===Cp.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;Kv(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;av(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=D_());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(qv(this.prevProjectionDelta.x,this.projectionDelta.x),qv(this.prevProjectionDelta.y,this.projectionDelta.y)),ry(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!xy(this.projectionDelta.x,this.prevProjectionDelta.x)||!xy(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),_p.value&&Vy.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=T_(),this.projectionDelta=T_(),this.projectionDeltaWithTransform=T_()}setAnimationOrigin(e,t=!1){let n=this.snapshot,r=n?n.latestValues:{},i={...this.latestValues},a=T_();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let o=D_(),s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),l=!c||c.members.length<=1,u=!!(s&&!l&&this.options.crossfade===!0&&!this.path.some(Yee));this.animationProgress=0;let d;this.mixTargetDelta=t=>{let n=t/1e3;ib(a.x,e.x,n),ib(a.y,e.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(sy(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),Jee(this.relativeTarget,this.relativeTargetOrigin,o,n),d&&_y(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||=D_(),Kv(d,this.relativeTarget)),s&&(this.animationValues=i,Oy(i,r,this.latestValues,n,u,l)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(Sp(this.pendingAnimation),void 0),this.pendingAnimation=xp.update(()=>{By.hasAnimatedSinceResize=!0,Op.layout++,this.motionValue||=vg(0),this.motionValue.jump(0,!1),this.currentAnimation=Ny(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{Op.layout--},onComplete:()=>{Op.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Uy),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&lb(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||D_();let t=ey(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=ey(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Kv(t,n),lv(t,i),ry(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new zy),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return e?e.lead===this:!0}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&Gy(`z`,e,r,this.animationValues);for(let t=0;t<Hy.length;t++)Gy(`rotate${Hy[t]}`,e,r,this.animationValues),Gy(`skew${Hy[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=Ry(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=Ry(t?.pointerEvents)||``),this.hasProjected&&!X_(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=Cy(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in bv){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=bv[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?Ry(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach($y),this.root.sharedNodes.clear()}}}function Jy(e){e.updateLayout()}function Yy(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)Sy(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=ey(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;Gv(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else lb(i,t.layoutBox,n)&&Sy(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=ey(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=T_();ry(o,n,t.layoutBox);let s=T_();a?ry(s,e.applyTransform(r,!0),t.measuredBox):ry(s,n,t.layoutBox);let c=!hy(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=D_();sy(s,t.layoutBox,i.layoutBox,o);let c=D_();sy(c,n,a.layoutBox,o),yy(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Xy(e){_p.value&&Vy.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function Zy(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Qy(e){e.clearSnapshot()}function $y(e){e.clearMeasurements()}function eb(e){e.isLayoutDirty=!0,e.updateLayout()}function tb(e){e.isLayoutDirty=!1}function nb(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function Uee(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function rb(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Wee(e){e.resolveTargetDelta()}function Gee(e){e.calcProjection()}function Kee(e){e.resetSkewAndRotation()}function qee(e){e.removeLeadSnapshot()}function ib(e,t,n){e.translate=bm(t.translate,0,n),e.scale=bm(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ab(e,t,n,r){e.min=bm(t.min,n.min,r),e.max=bm(t.max,n.max,r)}function Jee(e,t,n,r){ab(e.x,t.x,n.x,r),ab(e.y,t.y,n.y,r)}function Yee(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var Xee={duration:.45,ease:[.4,0,.1,1]},ob=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),sb=ob(`applewebkit/`)&&!ob(`chrome/`)?Math.round:Bf;function cb(e){e.min=sb(e.min),e.max=sb(e.max)}function Zee(e){cb(e.x),cb(e.y)}function lb(e,t,n){return e===`position`||e===`preserve-aspect`&&!ty(by(t),by(n),.2)}function Qee(e){return e!==e.root&&e.scroll?.wasRoot}var $ee=qy({attachResizeListener:(e,t)=>Py(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),ub={current:void 0},db=qy({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ub.current){let e=new $ee({});e.mount(window),e.setOptions({layoutScroll:!0}),ub.current=e}return ub.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),fb=(0,R.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function pb(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function ete(...e){return t=>{let n=!1,r=e.map(e=>{let r=pb(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():pb(e[t],null)}}}}function tte(...e){return R.useCallback(ete(...e),e)}var nte=class extends R.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t_(t)&&e.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let e=t.offsetParent,n=t_(e)&&e.offsetWidth||0,r=t_(e)&&e.offsetHeight||0,i=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(i.height),a.width=parseFloat(i.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=n-a.width-a.left,a.bottom=r-a.height-a.top}return null}componentDidUpdate(){}render(){return this.props.children}};function rte({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a}){let o=(0,R.useId)(),s=(0,R.useRef)(null),c=(0,R.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:l}=(0,R.useContext)(fb),u=tte(s,e.props?.ref??e?.ref);return(0,R.useInsertionEffect)(()=>{let{width:e,height:u,top:d,left:f,right:p,bottom:m}=c.current;if(t||a===!1||!s.current||!e||!u)return;let h=n===`left`?`left: ${f}`:`right: ${p}`,g=r===`bottom`?`bottom: ${m}`:`top: ${d}`;s.current.dataset.motionPopId=o;let _=document.createElement(`style`);l&&(_.nonce=l);let v=i??document.head;return v.appendChild(_),_.sheet&&_.sheet.insertRule(`
20
20
  [data-motion-pop-id="${o}"] {
21
21
  position: absolute !important;
22
22
  width: ${e}px !important;
@@ -4,7 +4,7 @@
4
4
  <meta charset="UTF-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>Claude Forge - 管理后台</title>
7
- <script type="module" crossorigin src="/assets/index-BEl0dijz.js"></script>
7
+ <script type="module" crossorigin src="/assets/index-6KpPw50L.js"></script>
8
8
  <link rel="stylesheet" crossorigin href="/assets/index-o5eoagpY.css">
9
9
  </head>
10
10
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@winspan/claude-forge",
3
- "version": "3.6.18",
3
+ "version": "3.6.20",
4
4
  "description": "SDLC intelligent orchestration engine for Claude Code",
5
5
  "main": "dist/cli/index.js",
6
6
  "type": "module",