@overlordai/server 1.0.68 → 1.0.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dispatcher/pty-relay.service.d.ts.map +1 -1
- package/dist/dispatcher/pty-relay.service.js +19 -0
- package/dist/dispatcher/pty-relay.service.js.map +1 -1
- package/package.json +4 -4
- package/public/assets/{AccessTokensPage-DcOzH6vQ.js → AccessTokensPage-iDZ6rZhl.js} +1 -1
- package/public/assets/AdminPage-CIVF_6oN.js +1 -0
- package/public/assets/{ApiReferencePage-Cn1nZmYJ.js → ApiReferencePage-DdBJhmX5.js} +1 -1
- package/public/assets/ArchitecturePage-BWQACk_w.js +47 -0
- package/public/assets/{AuditLogPage-CkE1EJZh.js → AuditLogPage-DTZL5_x5.js} +2 -2
- package/public/assets/{BindPlatformPage-DYNztOnJ.js → BindPlatformPage-DR0wVGmo.js} +1 -1
- package/public/assets/BotIntegrationPage-BsClXkLN.js +1 -0
- package/public/assets/BotManage-CNZfkmIJ.js +6 -0
- package/public/assets/BotSetupPage-Bcfnysyl.js +33 -0
- package/public/assets/ChangelogPage-DpiKKuMW.js +1 -0
- package/public/assets/{CliReferencePage-DyfbBqGH.js → CliReferencePage-3PUTVc7V.js} +1 -1
- package/public/assets/DeploymentPage-CKZ4SJGu.js +34 -0
- package/public/assets/DevWorkflowPage-3C2oScnn.js +6 -0
- package/public/assets/{DeveloperManage-DgwZWjLh.js → DeveloperManage-wTnur24N.js} +2 -2
- package/public/assets/DeveloperSetupPage-BMm9F-Bb.js +4 -0
- package/public/assets/DocsLayout-Db02r7be.js +41 -0
- package/public/assets/DocsPrimitives-DS0DquzY.js +1 -0
- package/public/assets/{EditProjectPage-DjGCEool.js → EditProjectPage-f_umSRE8.js} +1 -1
- package/public/assets/{EmptyState-C7-kuf8X.js → EmptyState-CF1knXIb.js} +1 -1
- package/public/assets/EnvVariablesPage-BG-6sXnf.js +1 -0
- package/public/assets/{HomePage-CWYmPB1e.js → HomePage-Dx-CsXKm.js} +1 -1
- package/public/assets/InfoRow-DSmNnnLr.js +1 -0
- package/public/assets/InstallationPage-BNHwwjLf.js +7 -0
- package/public/assets/{LandingPage-ZuEWmIZL.js → LandingPage-D58CYxTa.js} +8 -18
- package/public/assets/LocalDevelopmentPage-CyUsNaWH.js +11 -0
- package/public/assets/{LoginPage-ZN3nJzEX.js → LoginPage-BkBq-gI2.js} +1 -1
- package/public/assets/{MetricBar-CH5ccxZr.js → MetricBar-CTJw2-TT.js} +1 -1
- package/public/assets/{NotFoundPage-DkoNgmQ4.js → NotFoundPage-DQOZcvon.js} +1 -1
- package/public/assets/{OnboardingGuide-dk4OyOgV.js → OnboardingGuide-CsX3AAYe.js} +1 -1
- package/public/assets/PermissionsPage-DV1jB5wk.js +1 -0
- package/public/assets/PipelineConfigPage-DWTyDQIr.js +28 -0
- package/public/assets/{PipelineEditorPage-CtUnQDef.js → PipelineEditorPage-D3LWtMr2.js} +1 -1
- package/public/assets/{ProfilePage-B0CWDm55.js → ProfilePage-BcJ4dzzZ.js} +1 -1
- package/public/assets/{ProjectDetailPage-BbOgUrnR.js → ProjectDetailPage-CfnwUUSo.js} +3 -3
- package/public/assets/{ProjectListPage-CtGknAYM.js → ProjectListPage-CNotLnBe.js} +1 -1
- package/public/assets/{PtyTerminal-C28RQ62I.js → PtyTerminal-BIf7o9cl.js} +12 -7
- package/public/assets/{QuickAuth-8eT76fKz.js → QuickAuth-C2UsxqX9.js} +1 -1
- package/public/assets/{RemoveMemberConfirmDialog-Ctyx8n2a.js → RemoveMemberConfirmDialog-BX3zkPVv.js} +1 -1
- package/public/assets/{Select-8MUED_Fj.js → Select-BaCTjbpe.js} +1 -1
- package/public/assets/{SettingsPage-CXDXq71S.js → SettingsPage-DwbzfiSN.js} +1 -1
- package/public/assets/{Skeleton-B0x9oN6a.js → Skeleton-wnwOeI39.js} +1 -1
- package/public/assets/SkillPage-BLEt2rMu.js +1 -0
- package/public/assets/TaskDetailPage-DtwpHF_O.js +21 -0
- package/public/assets/{TaskListPage-DMYTWhw_.js → TaskListPage-sy7iLza2.js} +1 -1
- package/public/assets/{TaskStatusBadge-yU5DIpkP.js → TaskStatusBadge-Cf0DzE71.js} +1 -1
- package/public/assets/TerminalHomePage-BTqi9Axa.js +11 -0
- package/public/assets/{TokenManage-NYgoI8yJ.js → TokenManage-DWMXnCDJ.js} +1 -1
- package/public/assets/{TotpSetupPage-lw418pBO.js → TotpSetupPage-DHdTMjpN.js} +1 -1
- package/public/assets/{WorkerDetailPage-CF7FWzQn.js → WorkerDetailPage-YJUVETFW.js} +1 -1
- package/public/assets/WorkerListPage-B-D7X_b1.js +1 -0
- package/public/assets/WorkerOperationsPage-BBxYUgIw.js +1 -0
- package/public/assets/{WorkerSetupGuidePage-dRLxcC1D.js → WorkerSetupGuidePage-ChzKuXQZ.js} +2 -7
- package/public/assets/WorkerSetupPage-B4jlXCjH.js +5 -0
- package/public/assets/{arrow-left-D3hlGpFa.js → arrow-left-CclYAeLg.js} +1 -1
- package/public/assets/{arrow-right-DbRiIkn5.js → arrow-right-BVGnZmSj.js} +1 -1
- package/public/assets/{bot-DJcm4TDu.js → bot-D9xi44vN.js} +1 -1
- package/public/assets/{chevron-right-Cz1_0u26.js → chevron-right-BagQ0WTS.js} +1 -1
- package/public/assets/{copy-BSpogfAn.js → copy-CFKtBHG3.js} +1 -1
- package/public/assets/download-CTnOMUpx.js +6 -0
- package/public/assets/{external-link-BYnHDfTq.js → external-link-Bdlp6eLv.js} +1 -1
- package/public/assets/index-CVFlBK8x.css +1 -0
- package/public/assets/index-uDLAla67.js +225 -0
- package/public/assets/{key-B7y18xnM.js → key-9SBu60Mo.js} +1 -1
- package/public/assets/{loader-circle-j2WCDelv.js → loader-circle-C3TDU6pb.js} +1 -1
- package/public/assets/message-square-CqYt8K2i.js +6 -0
- package/public/assets/{pencil-CkuHyqYU.js → pencil-CrcM0dgK.js} +1 -1
- package/public/assets/{plus-DETa4kg0.js → plus-DnDLd-iP.js} +1 -1
- package/public/assets/{rotate-ccw-oPqSTHU8.js → rotate-ccw-BS27hgv2.js} +1 -1
- package/public/assets/{scroll-text--ZQgIRbt.js → scroll-text-BLE2ARXF.js} +1 -1
- package/public/assets/{settings-COdENdI-.js → settings-pymAAKeG.js} +1 -1
- package/public/assets/{status-colors-C_xltR1x.js → status-colors-BcGt1oBU.js} +1 -1
- package/public/assets/{task-constants-BisV3uAk.js → task-constants-G2j8o2ma.js} +1 -1
- package/public/assets/{trash-2-BLxwKGg4.js → trash-2-BmckJ_Dj.js} +1 -1
- package/public/assets/{useFetch-CKA2R0HW.js → useFetch-DPbqlqsl.js} +1 -1
- package/public/assets/{users-Cm06VaAm.js → users-DFQbCvYm.js} +1 -1
- package/public/assets/{wifi-CoOrgHWP.js → wifi-DrZKx701.js} +1 -1
- package/public/assets/workflow-DTNRYvFx.js +11 -0
- package/public/assets/{zap-CZBm69SW.js → zap-D3sq7Jac.js} +1 -1
- package/public/index.html +2 -2
- package/public/sw.js +1 -1
- package/public/assets/AdminPage-DjzkTi-Z.js +0 -1
- package/public/assets/BotManage-B4YAKqEk.js +0 -6
- package/public/assets/InfoRow-DGZv5P3m.js +0 -1
- package/public/assets/SkillPage-CeTlmMdA.js +0 -1
- package/public/assets/TaskDetailPage-jyeOPtsb.js +0 -31
- package/public/assets/TerminalHomePage-D3Z-uJUx.js +0 -16
- package/public/assets/WorkerListPage-Dd6P84ye.js +0 -6
- package/public/assets/index-C5ry7bCb.js +0 -225
- package/public/assets/index-DBZN6iTO.css +0 -1
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LandingPage-D58CYxTa.js","assets/arrow-right-BVGnZmSj.js","assets/zap-D3sq7Jac.js","assets/bot-D9xi44vN.js","assets/workflow-DTNRYvFx.js","assets/users-DFQbCvYm.js","assets/copy-CFKtBHG3.js","assets/HomePage-Dx-CsXKm.js","assets/TaskStatusBadge-Cf0DzE71.js","assets/status-colors-BcGt1oBU.js","assets/Skeleton-wnwOeI39.js","assets/OnboardingGuide-CsX3AAYe.js","assets/chevron-right-BagQ0WTS.js","assets/date-BdNtiQTP.js","assets/string-B39tzdVK.js","assets/useFetch-DPbqlqsl.js","assets/TerminalHomePage-BTqi9Axa.js","assets/task-constants-G2j8o2ma.js","assets/PtyTerminal-BIf7o9cl.js","assets/PtyTerminal-Beg8tuEN.css","assets/Select-BaCTjbpe.js","assets/plus-DnDLd-iP.js","assets/wifi-DrZKx701.js","assets/TaskListPage-sy7iLza2.js","assets/EmptyState-CF1knXIb.js","assets/TaskDetailPage-DtwpHF_O.js","assets/message-square-CqYt8K2i.js","assets/arrow-left-CclYAeLg.js","assets/rotate-ccw-BS27hgv2.js","assets/external-link-Bdlp6eLv.js","assets/loader-circle-C3TDU6pb.js","assets/WorkerListPage-B-D7X_b1.js","assets/MetricBar-CTJw2-TT.js","assets/WorkerSetupGuidePage-ChzKuXQZ.js","assets/key-9SBu60Mo.js","assets/download-CTnOMUpx.js","assets/settings-pymAAKeG.js","assets/WorkerDetailPage-YJUVETFW.js","assets/InfoRow-DSmNnnLr.js","assets/trash-2-BmckJ_Dj.js","assets/ProjectListPage-CNotLnBe.js","assets/ProjectDetailPage-CfnwUUSo.js","assets/RemoveMemberConfirmDialog-BX3zkPVv.js","assets/pencil-CrcM0dgK.js","assets/EditProjectPage-f_umSRE8.js","assets/PipelineEditorPage-D3LWtMr2.js","assets/ProfilePage-BcJ4dzzZ.js","assets/password-CHk45-jw.js","assets/AccessTokensPage-iDZ6rZhl.js","assets/CliReferencePage-3PUTVc7V.js","assets/QuickAuth-C2UsxqX9.js","assets/ApiReferencePage-DdBJhmX5.js","assets/SkillPage-BLEt2rMu.js","assets/DocsPrimitives-DS0DquzY.js","assets/DocsLayout-Db02r7be.js","assets/InstallationPage-BNHwwjLf.js","assets/DeveloperSetupPage-BMm9F-Bb.js","assets/WorkerSetupPage-B4jlXCjH.js","assets/BotSetupPage-Bcfnysyl.js","assets/LocalDevelopmentPage-CyUsNaWH.js","assets/DeploymentPage-CKZ4SJGu.js","assets/PipelineConfigPage-DWTyDQIr.js","assets/DevWorkflowPage-3C2oScnn.js","assets/ArchitecturePage-BWQACk_w.js","assets/AdminPage-CIVF_6oN.js","assets/scroll-text-BLE2ARXF.js","assets/DeveloperManage-wTnur24N.js","assets/BotManage-CNZfkmIJ.js","assets/TokenManage-DWMXnCDJ.js","assets/AuditLogPage-DTZL5_x5.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
var Qy=Object.defineProperty;var Fm=u=>{throw TypeError(u)};var Zy=(u,r,s)=>r in u?Qy(u,r,{enumerable:!0,configurable:!0,writable:!0,value:s}):u[r]=s;var Ve=(u,r,s)=>Zy(u,typeof r!="symbol"?r+"":r,s),_s=(u,r,s)=>r.has(u)||Fm("Cannot "+s);var U=(u,r,s)=>(_s(u,r,"read from private field"),s?s.call(u):r.get(u)),Pt=(u,r,s)=>r.has(u)?Fm("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(u):r.set(u,s),Zt=(u,r,s,o)=>(_s(u,r,"write to private field"),o?o.call(u,s):r.set(u,s),s),Se=(u,r,s)=>(_s(u,r,"access private method"),s);var Im=(u,r,s,o)=>({set _(f){Zt(u,r,f,s)},get _(){return U(u,r,o)}});(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))o(f);new MutationObserver(f=>{for(const h of f)if(h.type==="childList")for(const _ of h.addedNodes)_.tagName==="LINK"&&_.rel==="modulepreload"&&o(_)}).observe(document,{childList:!0,subtree:!0});function s(f){const h={};return f.integrity&&(h.integrity=f.integrity),f.referrerPolicy&&(h.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?h.credentials="include":f.crossOrigin==="anonymous"?h.credentials="omit":h.credentials="same-origin",h}function o(f){if(f.ep)return;f.ep=!0;const h=s(f);fetch(f.href,h)}})();function Ky(u){return u&&u.__esModule&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u}var ys={exports:{}},ti={};/**
|
|
3
|
+
* @license React
|
|
4
|
+
* react-jsx-runtime.production.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/var Pm;function Jy(){if(Pm)return ti;Pm=1;var u=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function s(o,f,h){var _=null;if(h!==void 0&&(_=""+h),f.key!==void 0&&(_=""+f.key),"key"in f){h={};for(var x in f)x!=="key"&&(h[x]=f[x])}else h=f;return f=h.ref,{$$typeof:u,type:o,key:_,ref:f!==void 0?f:null,props:h}}return ti.Fragment=r,ti.jsx=s,ti.jsxs=s,ti}var eh;function $y(){return eh||(eh=1,ys.exports=Jy()),ys.exports}var m=$y(),gs={exports:{}},ae={};/**
|
|
11
|
+
* @license React
|
|
12
|
+
* react.production.js
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
15
|
+
*
|
|
16
|
+
* This source code is licensed under the MIT license found in the
|
|
17
|
+
* LICENSE file in the root directory of this source tree.
|
|
18
|
+
*/var th;function Wy(){if(th)return ae;th=1;var u=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),h=Symbol.for("react.consumer"),_=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),k=Symbol.for("react.activity"),M=Symbol.iterator;function V(S){return S===null||typeof S!="object"?null:(S=M&&S[M]||S["@@iterator"],typeof S=="function"?S:null)}var B={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},q=Object.assign,L={};function H(S,D,G){this.props=S,this.context=D,this.refs=L,this.updater=G||B}H.prototype.isReactComponent={},H.prototype.setState=function(S,D){if(typeof S!="object"&&typeof S!="function"&&S!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,S,D,"setState")},H.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};function I(){}I.prototype=H.prototype;function J(S,D,G){this.props=S,this.context=D,this.refs=L,this.updater=G||B}var _e=J.prototype=new I;_e.constructor=J,q(_e,H.prototype),_e.isPureReactComponent=!0;var ye=Array.isArray;function he(){}var W={H:null,A:null,T:null,S:null},$=Object.prototype.hasOwnProperty;function oe(S,D,G){var Z=G.ref;return{$$typeof:u,type:S,key:D,ref:Z!==void 0?Z:null,props:G}}function Pe(S,D){return oe(S.type,D,S.props)}function Je(S){return typeof S=="object"&&S!==null&&S.$$typeof===u}function qe(S){var D={"=":"=0",":":"=2"};return"$"+S.replace(/[=:]/g,function(G){return D[G]})}var At=/\/+/g;function rt(S,D){return typeof S=="object"&&S!==null&&S.key!=null?qe(""+S.key):D.toString(36)}function De(S){switch(S.status){case"fulfilled":return S.value;case"rejected":throw S.reason;default:switch(typeof S.status=="string"?S.then(he,he):(S.status="pending",S.then(function(D){S.status==="pending"&&(S.status="fulfilled",S.value=D)},function(D){S.status==="pending"&&(S.status="rejected",S.reason=D)})),S.status){case"fulfilled":return S.value;case"rejected":throw S.reason}}throw S}function O(S,D,G,Z,ne){var se=typeof S;(se==="undefined"||se==="boolean")&&(S=null);var xe=!1;if(S===null)xe=!0;else switch(se){case"bigint":case"string":case"number":xe=!0;break;case"object":switch(S.$$typeof){case u:case r:xe=!0;break;case j:return xe=S._init,O(xe(S._payload),D,G,Z,ne)}}if(xe)return ne=ne(S),xe=Z===""?"."+rt(S,0):Z,ye(ne)?(G="",xe!=null&&(G=xe.replace(At,"$&/")+"/"),O(ne,D,G,"",function(ol){return ol})):ne!=null&&(Je(ne)&&(ne=Pe(ne,G+(ne.key==null||S&&S.key===ne.key?"":(""+ne.key).replace(At,"$&/")+"/")+xe)),D.push(ne)),1;xe=0;var ot=Z===""?".":Z+":";if(ye(S))for(var Be=0;Be<S.length;Be++)Z=S[Be],se=ot+rt(Z,Be),xe+=O(Z,D,G,se,ne);else if(Be=V(S),typeof Be=="function")for(S=Be.call(S),Be=0;!(Z=S.next()).done;)Z=Z.value,se=ot+rt(Z,Be++),xe+=O(Z,D,G,se,ne);else if(se==="object"){if(typeof S.then=="function")return O(De(S),D,G,Z,ne);throw D=String(S),Error("Objects are not valid as a React child (found: "+(D==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":D)+"). If you meant to render a collection of children, use an array instead.")}return xe}function Y(S,D,G){if(S==null)return S;var Z=[],ne=0;return O(S,Z,"","",function(se){return D.call(G,se,ne++)}),Z}function ee(S){if(S._status===-1){var D=S._result;D=D(),D.then(function(G){(S._status===0||S._status===-1)&&(S._status=1,S._result=G)},function(G){(S._status===0||S._status===-1)&&(S._status=2,S._result=G)}),S._status===-1&&(S._status=0,S._result=D)}if(S._status===1)return S._result.default;throw S._result}var we=typeof reportError=="function"?reportError:function(S){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var D=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof S=="object"&&S!==null&&typeof S.message=="string"?String(S.message):String(S),error:S});if(!window.dispatchEvent(D))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",S);return}console.error(S)},ze={map:Y,forEach:function(S,D,G){Y(S,function(){D.apply(this,arguments)},G)},count:function(S){var D=0;return Y(S,function(){D++}),D},toArray:function(S){return Y(S,function(D){return D})||[]},only:function(S){if(!Je(S))throw Error("React.Children.only expected to receive a single React element child.");return S}};return ae.Activity=k,ae.Children=ze,ae.Component=H,ae.Fragment=s,ae.Profiler=f,ae.PureComponent=J,ae.StrictMode=o,ae.Suspense=v,ae.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=W,ae.__COMPILER_RUNTIME={__proto__:null,c:function(S){return W.H.useMemoCache(S)}},ae.cache=function(S){return function(){return S.apply(null,arguments)}},ae.cacheSignal=function(){return null},ae.cloneElement=function(S,D,G){if(S==null)throw Error("The argument must be a React element, but you passed "+S+".");var Z=q({},S.props),ne=S.key;if(D!=null)for(se in D.key!==void 0&&(ne=""+D.key),D)!$.call(D,se)||se==="key"||se==="__self"||se==="__source"||se==="ref"&&D.ref===void 0||(Z[se]=D[se]);var se=arguments.length-2;if(se===1)Z.children=G;else if(1<se){for(var xe=Array(se),ot=0;ot<se;ot++)xe[ot]=arguments[ot+2];Z.children=xe}return oe(S.type,ne,Z)},ae.createContext=function(S){return S={$$typeof:_,_currentValue:S,_currentValue2:S,_threadCount:0,Provider:null,Consumer:null},S.Provider=S,S.Consumer={$$typeof:h,_context:S},S},ae.createElement=function(S,D,G){var Z,ne={},se=null;if(D!=null)for(Z in D.key!==void 0&&(se=""+D.key),D)$.call(D,Z)&&Z!=="key"&&Z!=="__self"&&Z!=="__source"&&(ne[Z]=D[Z]);var xe=arguments.length-2;if(xe===1)ne.children=G;else if(1<xe){for(var ot=Array(xe),Be=0;Be<xe;Be++)ot[Be]=arguments[Be+2];ne.children=ot}if(S&&S.defaultProps)for(Z in xe=S.defaultProps,xe)ne[Z]===void 0&&(ne[Z]=xe[Z]);return oe(S,se,ne)},ae.createRef=function(){return{current:null}},ae.forwardRef=function(S){return{$$typeof:x,render:S}},ae.isValidElement=Je,ae.lazy=function(S){return{$$typeof:j,_payload:{_status:-1,_result:S},_init:ee}},ae.memo=function(S,D){return{$$typeof:p,type:S,compare:D===void 0?null:D}},ae.startTransition=function(S){var D=W.T,G={};W.T=G;try{var Z=S(),ne=W.S;ne!==null&&ne(G,Z),typeof Z=="object"&&Z!==null&&typeof Z.then=="function"&&Z.then(he,we)}catch(se){we(se)}finally{D!==null&&G.types!==null&&(D.types=G.types),W.T=D}},ae.unstable_useCacheRefresh=function(){return W.H.useCacheRefresh()},ae.use=function(S){return W.H.use(S)},ae.useActionState=function(S,D,G){return W.H.useActionState(S,D,G)},ae.useCallback=function(S,D){return W.H.useCallback(S,D)},ae.useContext=function(S){return W.H.useContext(S)},ae.useDebugValue=function(){},ae.useDeferredValue=function(S,D){return W.H.useDeferredValue(S,D)},ae.useEffect=function(S,D){return W.H.useEffect(S,D)},ae.useEffectEvent=function(S){return W.H.useEffectEvent(S)},ae.useId=function(){return W.H.useId()},ae.useImperativeHandle=function(S,D,G){return W.H.useImperativeHandle(S,D,G)},ae.useInsertionEffect=function(S,D){return W.H.useInsertionEffect(S,D)},ae.useLayoutEffect=function(S,D){return W.H.useLayoutEffect(S,D)},ae.useMemo=function(S,D){return W.H.useMemo(S,D)},ae.useOptimistic=function(S,D){return W.H.useOptimistic(S,D)},ae.useReducer=function(S,D,G){return W.H.useReducer(S,D,G)},ae.useRef=function(S){return W.H.useRef(S)},ae.useState=function(S){return W.H.useState(S)},ae.useSyncExternalStore=function(S,D,G){return W.H.useSyncExternalStore(S,D,G)},ae.useTransition=function(){return W.H.useTransition()},ae.version="19.2.4",ae}var ah;function Bs(){return ah||(ah=1,gs.exports=Wy()),gs.exports}var g=Bs();const Ru=Ky(g);var vs={exports:{}},ai={},bs={exports:{}},xs={};/**
|
|
19
|
+
* @license React
|
|
20
|
+
* scheduler.production.js
|
|
21
|
+
*
|
|
22
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
23
|
+
*
|
|
24
|
+
* This source code is licensed under the MIT license found in the
|
|
25
|
+
* LICENSE file in the root directory of this source tree.
|
|
26
|
+
*/var nh;function Fy(){return nh||(nh=1,(function(u){function r(O,Y){var ee=O.length;O.push(Y);e:for(;0<ee;){var we=ee-1>>>1,ze=O[we];if(0<f(ze,Y))O[we]=Y,O[ee]=ze,ee=we;else break e}}function s(O){return O.length===0?null:O[0]}function o(O){if(O.length===0)return null;var Y=O[0],ee=O.pop();if(ee!==Y){O[0]=ee;e:for(var we=0,ze=O.length,S=ze>>>1;we<S;){var D=2*(we+1)-1,G=O[D],Z=D+1,ne=O[Z];if(0>f(G,ee))Z<ze&&0>f(ne,G)?(O[we]=ne,O[Z]=ee,we=Z):(O[we]=G,O[D]=ee,we=D);else if(Z<ze&&0>f(ne,ee))O[we]=ne,O[Z]=ee,we=Z;else break e}}return Y}function f(O,Y){var ee=O.sortIndex-Y.sortIndex;return ee!==0?ee:O.id-Y.id}if(u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var h=performance;u.unstable_now=function(){return h.now()}}else{var _=Date,x=_.now();u.unstable_now=function(){return _.now()-x}}var v=[],p=[],j=1,k=null,M=3,V=!1,B=!1,q=!1,L=!1,H=typeof setTimeout=="function"?setTimeout:null,I=typeof clearTimeout=="function"?clearTimeout:null,J=typeof setImmediate<"u"?setImmediate:null;function _e(O){for(var Y=s(p);Y!==null;){if(Y.callback===null)o(p);else if(Y.startTime<=O)o(p),Y.sortIndex=Y.expirationTime,r(v,Y);else break;Y=s(p)}}function ye(O){if(q=!1,_e(O),!B)if(s(v)!==null)B=!0,he||(he=!0,qe());else{var Y=s(p);Y!==null&&De(ye,Y.startTime-O)}}var he=!1,W=-1,$=5,oe=-1;function Pe(){return L?!0:!(u.unstable_now()-oe<$)}function Je(){if(L=!1,he){var O=u.unstable_now();oe=O;var Y=!0;try{e:{B=!1,q&&(q=!1,I(W),W=-1),V=!0;var ee=M;try{t:{for(_e(O),k=s(v);k!==null&&!(k.expirationTime>O&&Pe());){var we=k.callback;if(typeof we=="function"){k.callback=null,M=k.priorityLevel;var ze=we(k.expirationTime<=O);if(O=u.unstable_now(),typeof ze=="function"){k.callback=ze,_e(O),Y=!0;break t}k===s(v)&&o(v),_e(O)}else o(v);k=s(v)}if(k!==null)Y=!0;else{var S=s(p);S!==null&&De(ye,S.startTime-O),Y=!1}}break e}finally{k=null,M=ee,V=!1}Y=void 0}}finally{Y?qe():he=!1}}}var qe;if(typeof J=="function")qe=function(){J(Je)};else if(typeof MessageChannel<"u"){var At=new MessageChannel,rt=At.port2;At.port1.onmessage=Je,qe=function(){rt.postMessage(null)}}else qe=function(){H(Je,0)};function De(O,Y){W=H(function(){O(u.unstable_now())},Y)}u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(O){O.callback=null},u.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$=0<O?Math.floor(1e3/O):5},u.unstable_getCurrentPriorityLevel=function(){return M},u.unstable_next=function(O){switch(M){case 1:case 2:case 3:var Y=3;break;default:Y=M}var ee=M;M=Y;try{return O()}finally{M=ee}},u.unstable_requestPaint=function(){L=!0},u.unstable_runWithPriority=function(O,Y){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var ee=M;M=O;try{return Y()}finally{M=ee}},u.unstable_scheduleCallback=function(O,Y,ee){var we=u.unstable_now();switch(typeof ee=="object"&&ee!==null?(ee=ee.delay,ee=typeof ee=="number"&&0<ee?we+ee:we):ee=we,O){case 1:var ze=-1;break;case 2:ze=250;break;case 5:ze=1073741823;break;case 4:ze=1e4;break;default:ze=5e3}return ze=ee+ze,O={id:j++,callback:Y,priorityLevel:O,startTime:ee,expirationTime:ze,sortIndex:-1},ee>we?(O.sortIndex=ee,r(p,O),s(v)===null&&O===s(p)&&(q?(I(W),W=-1):q=!0,De(ye,ee-we))):(O.sortIndex=ze,r(v,O),B||V||(B=!0,he||(he=!0,qe()))),O},u.unstable_shouldYield=Pe,u.unstable_wrapCallback=function(O){var Y=M;return function(){var ee=M;M=Y;try{return O.apply(this,arguments)}finally{M=ee}}}})(xs)),xs}var lh;function Iy(){return lh||(lh=1,bs.exports=Fy()),bs.exports}var Ss={exports:{}},it={};/**
|
|
27
|
+
* @license React
|
|
28
|
+
* react-dom.production.js
|
|
29
|
+
*
|
|
30
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
31
|
+
*
|
|
32
|
+
* This source code is licensed under the MIT license found in the
|
|
33
|
+
* LICENSE file in the root directory of this source tree.
|
|
34
|
+
*/var ih;function Py(){if(ih)return it;ih=1;var u=Bs();function r(v){var p="https://react.dev/errors/"+v;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var j=2;j<arguments.length;j++)p+="&args[]="+encodeURIComponent(arguments[j])}return"Minified React error #"+v+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var o={d:{f:s,r:function(){throw Error(r(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},f=Symbol.for("react.portal");function h(v,p,j){var k=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:f,key:k==null?null:""+k,children:v,containerInfo:p,implementation:j}}var _=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function x(v,p){if(v==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return it.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,it.createPortal=function(v,p){var j=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(r(299));return h(v,p,null,j)},it.flushSync=function(v){var p=_.T,j=o.p;try{if(_.T=null,o.p=2,v)return v()}finally{_.T=p,o.p=j,o.d.f()}},it.preconnect=function(v,p){typeof v=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,o.d.C(v,p))},it.prefetchDNS=function(v){typeof v=="string"&&o.d.D(v)},it.preinit=function(v,p){if(typeof v=="string"&&p&&typeof p.as=="string"){var j=p.as,k=x(j,p.crossOrigin),M=typeof p.integrity=="string"?p.integrity:void 0,V=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;j==="style"?o.d.S(v,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:k,integrity:M,fetchPriority:V}):j==="script"&&o.d.X(v,{crossOrigin:k,integrity:M,fetchPriority:V,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},it.preinitModule=function(v,p){if(typeof v=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var j=x(p.as,p.crossOrigin);o.d.M(v,{crossOrigin:j,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&o.d.M(v)},it.preload=function(v,p){if(typeof v=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var j=p.as,k=x(j,p.crossOrigin);o.d.L(v,j,{crossOrigin:k,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},it.preloadModule=function(v,p){if(typeof v=="string")if(p){var j=x(p.as,p.crossOrigin);o.d.m(v,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:j,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else o.d.m(v)},it.requestFormReset=function(v){o.d.r(v)},it.unstable_batchedUpdates=function(v,p){return v(p)},it.useFormState=function(v,p,j){return _.H.useFormState(v,p,j)},it.useFormStatus=function(){return _.H.useHostTransitionStatus()},it.version="19.2.4",it}var uh;function eg(){if(uh)return Ss.exports;uh=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(r){console.error(r)}}return u(),Ss.exports=Py(),Ss.exports}/**
|
|
35
|
+
* @license React
|
|
36
|
+
* react-dom-client.production.js
|
|
37
|
+
*
|
|
38
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
39
|
+
*
|
|
40
|
+
* This source code is licensed under the MIT license found in the
|
|
41
|
+
* LICENSE file in the root directory of this source tree.
|
|
42
|
+
*/var rh;function tg(){if(rh)return ai;rh=1;var u=Iy(),r=Bs(),s=eg();function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function h(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function _(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function x(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function v(e){if(h(e)!==e)throw Error(o(188))}function p(e){var t=e.alternate;if(!t){if(t=h(e),t===null)throw Error(o(188));return t!==e?null:e}for(var a=e,n=t;;){var l=a.return;if(l===null)break;var i=l.alternate;if(i===null){if(n=l.return,n!==null){a=n;continue}break}if(l.child===i.child){for(i=l.child;i;){if(i===a)return v(l),e;if(i===n)return v(l),t;i=i.sibling}throw Error(o(188))}if(a.return!==n.return)a=l,n=i;else{for(var c=!1,d=l.child;d;){if(d===a){c=!0,a=l,n=i;break}if(d===n){c=!0,n=l,a=i;break}d=d.sibling}if(!c){for(d=i.child;d;){if(d===a){c=!0,a=i,n=l;break}if(d===n){c=!0,n=i,a=l;break}d=d.sibling}if(!c)throw Error(o(189))}}if(a.alternate!==n)throw Error(o(190))}if(a.tag!==3)throw Error(o(188));return a.stateNode.current===a?e:t}function j(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=j(e),t!==null)return t;e=e.sibling}return null}var k=Object.assign,M=Symbol.for("react.element"),V=Symbol.for("react.transitional.element"),B=Symbol.for("react.portal"),q=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),H=Symbol.for("react.profiler"),I=Symbol.for("react.consumer"),J=Symbol.for("react.context"),_e=Symbol.for("react.forward_ref"),ye=Symbol.for("react.suspense"),he=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),$=Symbol.for("react.lazy"),oe=Symbol.for("react.activity"),Pe=Symbol.for("react.memo_cache_sentinel"),Je=Symbol.iterator;function qe(e){return e===null||typeof e!="object"?null:(e=Je&&e[Je]||e["@@iterator"],typeof e=="function"?e:null)}var At=Symbol.for("react.client.reference");function rt(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===At?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case q:return"Fragment";case H:return"Profiler";case L:return"StrictMode";case ye:return"Suspense";case he:return"SuspenseList";case oe:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case B:return"Portal";case J:return e.displayName||"Context";case I:return(e._context.displayName||"Context")+".Consumer";case _e:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case W:return t=e.displayName||null,t!==null?t:rt(e.type)||"Memo";case $:t=e._payload,e=e._init;try{return rt(e(t))}catch{}}return null}var De=Array.isArray,O=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee={pending:!1,data:null,method:null,action:null},we=[],ze=-1;function S(e){return{current:e}}function D(e){0>ze||(e.current=we[ze],we[ze]=null,ze--)}function G(e,t){ze++,we[ze]=e.current,e.current=t}var Z=S(null),ne=S(null),se=S(null),xe=S(null);function ot(e,t){switch(G(se,t),G(ne,e),G(Z,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?bm(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=bm(t),e=xm(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}D(Z),G(Z,e)}function Be(){D(Z),D(ne),D(se)}function ol(e){e.memoizedState!==null&&G(xe,e);var t=Z.current,a=xm(t,e.type);t!==a&&(G(ne,e),G(Z,a))}function ci(e){ne.current===e&&(D(Z),D(ne)),xe.current===e&&(D(xe),Fl._currentValue=ee)}var Fu,$s;function Ia(e){if(Fu===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);Fu=t&&t[1]||"",$s=-1<a.stack.indexOf(`
|
|
43
|
+
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
44
|
+
`+Fu+e+$s}var Iu=!1;function Pu(e,t){if(!e||Iu)return"";Iu=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(t){var N=function(){throw Error()};if(Object.defineProperty(N.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(N,[])}catch(A){var R=A}Reflect.construct(e,[],N)}else{try{N.call()}catch(A){R=A}e.call(N.prototype)}}else{try{throw Error()}catch(A){R=A}(N=e())&&typeof N.catch=="function"&&N.catch(function(){})}}catch(A){if(A&&R&&typeof A.stack=="string")return[A.stack,R.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var l=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");l&&l.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=n.DetermineComponentFrameRoot(),c=i[0],d=i[1];if(c&&d){var y=c.split(`
|
|
45
|
+
`),T=d.split(`
|
|
46
|
+
`);for(l=n=0;n<y.length&&!y[n].includes("DetermineComponentFrameRoot");)n++;for(;l<T.length&&!T[l].includes("DetermineComponentFrameRoot");)l++;if(n===y.length||l===T.length)for(n=y.length-1,l=T.length-1;1<=n&&0<=l&&y[n]!==T[l];)l--;for(;1<=n&&0<=l;n--,l--)if(y[n]!==T[l]){if(n!==1||l!==1)do if(n--,l--,0>l||y[n]!==T[l]){var z=`
|
|
47
|
+
`+y[n].replace(" at new "," at ");return e.displayName&&z.includes("<anonymous>")&&(z=z.replace("<anonymous>",e.displayName)),z}while(1<=n&&0<=l);break}}}finally{Iu=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?Ia(a):""}function Sp(e,t){switch(e.tag){case 26:case 27:case 5:return Ia(e.type);case 16:return Ia("Lazy");case 13:return e.child!==t&&t!==null?Ia("Suspense Fallback"):Ia("Suspense");case 19:return Ia("SuspenseList");case 0:case 15:return Pu(e.type,!1);case 11:return Pu(e.type.render,!1);case 1:return Pu(e.type,!0);case 31:return Ia("Activity");default:return""}}function Ws(e){try{var t="",a=null;do t+=Sp(e,a),a=e,e=e.return;while(e);return t}catch(n){return`
|
|
48
|
+
Error generating stack: `+n.message+`
|
|
49
|
+
`+n.stack}}var er=Object.prototype.hasOwnProperty,tr=u.unstable_scheduleCallback,ar=u.unstable_cancelCallback,kp=u.unstable_shouldYield,Ep=u.unstable_requestPaint,gt=u.unstable_now,wp=u.unstable_getCurrentPriorityLevel,Fs=u.unstable_ImmediatePriority,Is=u.unstable_UserBlockingPriority,fi=u.unstable_NormalPriority,Tp=u.unstable_LowPriority,Ps=u.unstable_IdlePriority,jp=u.log,Rp=u.unstable_setDisableYieldValue,sl=null,vt=null;function ka(e){if(typeof jp=="function"&&Rp(e),vt&&typeof vt.setStrictMode=="function")try{vt.setStrictMode(sl,e)}catch{}}var bt=Math.clz32?Math.clz32:Op,Ap=Math.log,zp=Math.LN2;function Op(e){return e>>>=0,e===0?32:31-(Ap(e)/zp|0)|0}var di=256,mi=262144,hi=4194304;function Pa(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function pi(e,t,a){var n=e.pendingLanes;if(n===0)return 0;var l=0,i=e.suspendedLanes,c=e.pingedLanes;e=e.warmLanes;var d=n&134217727;return d!==0?(n=d&~i,n!==0?l=Pa(n):(c&=d,c!==0?l=Pa(c):a||(a=d&~e,a!==0&&(l=Pa(a))))):(d=n&~i,d!==0?l=Pa(d):c!==0?l=Pa(c):a||(a=n&~e,a!==0&&(l=Pa(a)))),l===0?0:t!==0&&t!==l&&(t&i)===0&&(i=l&-l,a=t&-t,i>=a||i===32&&(a&4194048)!==0)?t:l}function cl(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Cp(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ec(){var e=hi;return hi<<=1,(hi&62914560)===0&&(hi=4194304),e}function nr(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function fl(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Np(e,t,a,n,l,i){var c=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var d=e.entanglements,y=e.expirationTimes,T=e.hiddenUpdates;for(a=c&~a;0<a;){var z=31-bt(a),N=1<<z;d[z]=0,y[z]=-1;var R=T[z];if(R!==null)for(T[z]=null,z=0;z<R.length;z++){var A=R[z];A!==null&&(A.lane&=-536870913)}a&=~N}n!==0&&tc(e,n,0),i!==0&&l===0&&e.tag!==0&&(e.suspendedLanes|=i&~(c&~t))}function tc(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var n=31-bt(t);e.entangledLanes|=t,e.entanglements[n]=e.entanglements[n]|1073741824|a&261930}function ac(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var n=31-bt(a),l=1<<n;l&t|e[n]&t&&(e[n]|=t),a&=~l}}function nc(e,t){var a=t&-t;return a=(a&42)!==0?1:lr(a),(a&(e.suspendedLanes|t))!==0?0:a}function lr(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ir(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function lc(){var e=Y.p;return e!==0?e:(e=window.event,e===void 0?32:Xm(e.type))}function ic(e,t){var a=Y.p;try{return Y.p=e,t()}finally{Y.p=a}}var Ea=Math.random().toString(36).slice(2),et="__reactFiber$"+Ea,ct="__reactProps$"+Ea,bn="__reactContainer$"+Ea,ur="__reactEvents$"+Ea,Dp="__reactListeners$"+Ea,Mp="__reactHandles$"+Ea,uc="__reactResources$"+Ea,dl="__reactMarker$"+Ea;function rr(e){delete e[et],delete e[ct],delete e[ur],delete e[Dp],delete e[Mp]}function xn(e){var t=e[et];if(t)return t;for(var a=e.parentNode;a;){if(t=a[bn]||a[et]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=Rm(e);e!==null;){if(a=e[et])return a;e=Rm(e)}return t}e=a,a=e.parentNode}return null}function Sn(e){if(e=e[et]||e[bn]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function ml(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function kn(e){var t=e[uc];return t||(t=e[uc]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Fe(e){e[dl]=!0}var rc=new Set,oc={};function en(e,t){En(e,t),En(e+"Capture",t)}function En(e,t){for(oc[e]=t,e=0;e<t.length;e++)rc.add(t[e])}var Up=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),sc={},cc={};function qp(e){return er.call(cc,e)?!0:er.call(sc,e)?!1:Up.test(e)?cc[e]=!0:(sc[e]=!0,!1)}function _i(e,t,a){if(qp(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var n=t.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function yi(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+a)}}function aa(e,t,a,n){if(n===null)e.removeAttribute(a);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+n)}}function zt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function fc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Lp(e,t,a){var n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(c){a=""+c,i.call(this,c)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(c){a=""+c},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function or(e){if(!e._valueTracker){var t=fc(e)?"checked":"value";e._valueTracker=Lp(e,t,""+e[t])}}function dc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),n="";return e&&(n=fc(e)?e.checked?"true":"false":e.value),e=n,e!==a?(t.setValue(e),!0):!1}function gi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Hp=/[\n"\\]/g;function Ot(e){return e.replace(Hp,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function sr(e,t,a,n,l,i,c,d){e.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?e.type=c:e.removeAttribute("type"),t!=null?c==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+zt(t)):e.value!==""+zt(t)&&(e.value=""+zt(t)):c!=="submit"&&c!=="reset"||e.removeAttribute("value"),t!=null?cr(e,c,zt(t)):a!=null?cr(e,c,zt(a)):n!=null&&e.removeAttribute("value"),l==null&&i!=null&&(e.defaultChecked=!!i),l!=null&&(e.checked=l&&typeof l!="function"&&typeof l!="symbol"),d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.name=""+zt(d):e.removeAttribute("name")}function mc(e,t,a,n,l,i,c,d){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.type=i),t!=null||a!=null){if(!(i!=="submit"&&i!=="reset"||t!=null)){or(e);return}a=a!=null?""+zt(a):"",t=t!=null?""+zt(t):a,d||t===e.value||(e.value=t),e.defaultValue=t}n=n??l,n=typeof n!="function"&&typeof n!="symbol"&&!!n,e.checked=d?e.checked:!!n,e.defaultChecked=!!n,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.name=c),or(e)}function cr(e,t,a){t==="number"&&gi(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function wn(e,t,a,n){if(e=e.options,t){t={};for(var l=0;l<a.length;l++)t["$"+a[l]]=!0;for(a=0;a<e.length;a++)l=t.hasOwnProperty("$"+e[a].value),e[a].selected!==l&&(e[a].selected=l),l&&n&&(e[a].defaultSelected=!0)}else{for(a=""+zt(a),t=null,l=0;l<e.length;l++){if(e[l].value===a){e[l].selected=!0,n&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function hc(e,t,a){if(t!=null&&(t=""+zt(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+zt(a):""}function pc(e,t,a,n){if(t==null){if(n!=null){if(a!=null)throw Error(o(92));if(De(n)){if(1<n.length)throw Error(o(93));n=n[0]}a=n}a==null&&(a=""),t=a}a=zt(t),e.defaultValue=a,n=e.textContent,n===a&&n!==""&&n!==null&&(e.value=n),or(e)}function Tn(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var Bp=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function _c(e,t,a){var n=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?n?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":n?e.setProperty(t,a):typeof a!="number"||a===0||Bp.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function yc(e,t,a){if(t!=null&&typeof t!="object")throw Error(o(62));if(e=e.style,a!=null){for(var n in a)!a.hasOwnProperty(n)||t!=null&&t.hasOwnProperty(n)||(n.indexOf("--")===0?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="");for(var l in t)n=t[l],t.hasOwnProperty(l)&&a[l]!==n&&_c(e,l,n)}else for(var i in t)t.hasOwnProperty(i)&&_c(e,i,t[i])}function fr(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Yp=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Gp=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function vi(e){return Gp.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function na(){}var dr=null;function mr(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var jn=null,Rn=null;function gc(e){var t=Sn(e);if(t&&(e=t.stateNode)){var a=e[ct]||null;e:switch(e=t.stateNode,t.type){case"input":if(sr(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+Ot(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var n=a[t];if(n!==e&&n.form===e.form){var l=n[ct]||null;if(!l)throw Error(o(90));sr(n,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name)}}for(t=0;t<a.length;t++)n=a[t],n.form===e.form&&dc(n)}break e;case"textarea":hc(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&wn(e,!!a.multiple,t,!1)}}}var hr=!1;function vc(e,t,a){if(hr)return e(t,a);hr=!0;try{var n=e(t);return n}finally{if(hr=!1,(jn!==null||Rn!==null)&&(uu(),jn&&(t=jn,e=Rn,Rn=jn=null,gc(t),e)))for(t=0;t<e.length;t++)gc(e[t])}}function hl(e,t){var a=e.stateNode;if(a===null)return null;var n=a[ct]||null;if(n===null)return null;a=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(o(231,t,typeof a));return a}var la=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),pr=!1;if(la)try{var pl={};Object.defineProperty(pl,"passive",{get:function(){pr=!0}}),window.addEventListener("test",pl,pl),window.removeEventListener("test",pl,pl)}catch{pr=!1}var wa=null,_r=null,bi=null;function bc(){if(bi)return bi;var e,t=_r,a=t.length,n,l="value"in wa?wa.value:wa.textContent,i=l.length;for(e=0;e<a&&t[e]===l[e];e++);var c=a-e;for(n=1;n<=c&&t[a-n]===l[i-n];n++);return bi=l.slice(e,1<n?1-n:void 0)}function xi(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Si(){return!0}function xc(){return!1}function ft(e){function t(a,n,l,i,c){this._reactName=a,this._targetInst=l,this.type=n,this.nativeEvent=i,this.target=c,this.currentTarget=null;for(var d in e)e.hasOwnProperty(d)&&(a=e[d],this[d]=a?a(i):i[d]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Si:xc,this.isPropagationStopped=xc,this}return k(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Si)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Si)},persist:function(){},isPersistent:Si}),t}var tn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ki=ft(tn),_l=k({},tn,{view:0,detail:0}),Vp=ft(_l),yr,gr,yl,Ei=k({},_l,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:br,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==yl&&(yl&&e.type==="mousemove"?(yr=e.screenX-yl.screenX,gr=e.screenY-yl.screenY):gr=yr=0,yl=e),yr)},movementY:function(e){return"movementY"in e?e.movementY:gr}}),Sc=ft(Ei),Xp=k({},Ei,{dataTransfer:0}),Qp=ft(Xp),Zp=k({},_l,{relatedTarget:0}),vr=ft(Zp),Kp=k({},tn,{animationName:0,elapsedTime:0,pseudoElement:0}),Jp=ft(Kp),$p=k({},tn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Wp=ft($p),Fp=k({},tn,{data:0}),kc=ft(Fp),Ip={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Pp={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},e_={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function t_(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=e_[e])?!!t[e]:!1}function br(){return t_}var a_=k({},_l,{key:function(e){if(e.key){var t=Ip[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=xi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Pp[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:br,charCode:function(e){return e.type==="keypress"?xi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?xi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),n_=ft(a_),l_=k({},Ei,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ec=ft(l_),i_=k({},_l,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:br}),u_=ft(i_),r_=k({},tn,{propertyName:0,elapsedTime:0,pseudoElement:0}),o_=ft(r_),s_=k({},Ei,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),c_=ft(s_),f_=k({},tn,{newState:0,oldState:0}),d_=ft(f_),m_=[9,13,27,32],xr=la&&"CompositionEvent"in window,gl=null;la&&"documentMode"in document&&(gl=document.documentMode);var h_=la&&"TextEvent"in window&&!gl,wc=la&&(!xr||gl&&8<gl&&11>=gl),Tc=" ",jc=!1;function Rc(e,t){switch(e){case"keyup":return m_.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ac(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var An=!1;function p_(e,t){switch(e){case"compositionend":return Ac(t);case"keypress":return t.which!==32?null:(jc=!0,Tc);case"textInput":return e=t.data,e===Tc&&jc?null:e;default:return null}}function __(e,t){if(An)return e==="compositionend"||!xr&&Rc(e,t)?(e=bc(),bi=_r=wa=null,An=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return wc&&t.locale!=="ko"?null:t.data;default:return null}}var y_={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function zc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!y_[e.type]:t==="textarea"}function Oc(e,t,a,n){jn?Rn?Rn.push(n):Rn=[n]:jn=n,t=mu(t,"onChange"),0<t.length&&(a=new ki("onChange","change",null,a,n),e.push({event:a,listeners:t}))}var vl=null,bl=null;function g_(e){hm(e,0)}function wi(e){var t=ml(e);if(dc(t))return e}function Cc(e,t){if(e==="change")return t}var Nc=!1;if(la){var Sr;if(la){var kr="oninput"in document;if(!kr){var Dc=document.createElement("div");Dc.setAttribute("oninput","return;"),kr=typeof Dc.oninput=="function"}Sr=kr}else Sr=!1;Nc=Sr&&(!document.documentMode||9<document.documentMode)}function Mc(){vl&&(vl.detachEvent("onpropertychange",Uc),bl=vl=null)}function Uc(e){if(e.propertyName==="value"&&wi(bl)){var t=[];Oc(t,bl,e,mr(e)),vc(g_,t)}}function v_(e,t,a){e==="focusin"?(Mc(),vl=t,bl=a,vl.attachEvent("onpropertychange",Uc)):e==="focusout"&&Mc()}function b_(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return wi(bl)}function x_(e,t){if(e==="click")return wi(t)}function S_(e,t){if(e==="input"||e==="change")return wi(t)}function k_(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var xt=typeof Object.is=="function"?Object.is:k_;function xl(e,t){if(xt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),n=Object.keys(t);if(a.length!==n.length)return!1;for(n=0;n<a.length;n++){var l=a[n];if(!er.call(t,l)||!xt(e[l],t[l]))return!1}return!0}function qc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Lc(e,t){var a=qc(e);e=0;for(var n;a;){if(a.nodeType===3){if(n=e+a.textContent.length,e<=t&&n>=t)return{node:a,offset:t-e};e=n}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=qc(a)}}function Hc(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Hc(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Bc(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=gi(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=gi(e.document)}return t}function Er(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var E_=la&&"documentMode"in document&&11>=document.documentMode,zn=null,wr=null,Sl=null,Tr=!1;function Yc(e,t,a){var n=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Tr||zn==null||zn!==gi(n)||(n=zn,"selectionStart"in n&&Er(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Sl&&xl(Sl,n)||(Sl=n,n=mu(wr,"onSelect"),0<n.length&&(t=new ki("onSelect","select",null,t,a),e.push({event:t,listeners:n}),t.target=zn)))}function an(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var On={animationend:an("Animation","AnimationEnd"),animationiteration:an("Animation","AnimationIteration"),animationstart:an("Animation","AnimationStart"),transitionrun:an("Transition","TransitionRun"),transitionstart:an("Transition","TransitionStart"),transitioncancel:an("Transition","TransitionCancel"),transitionend:an("Transition","TransitionEnd")},jr={},Gc={};la&&(Gc=document.createElement("div").style,"AnimationEvent"in window||(delete On.animationend.animation,delete On.animationiteration.animation,delete On.animationstart.animation),"TransitionEvent"in window||delete On.transitionend.transition);function nn(e){if(jr[e])return jr[e];if(!On[e])return e;var t=On[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in Gc)return jr[e]=t[a];return e}var Vc=nn("animationend"),Xc=nn("animationiteration"),Qc=nn("animationstart"),w_=nn("transitionrun"),T_=nn("transitionstart"),j_=nn("transitioncancel"),Zc=nn("transitionend"),Kc=new Map,Rr="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Rr.push("scrollEnd");function Vt(e,t){Kc.set(e,t),en(t,[e])}var Ti=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Ct=[],Cn=0,Ar=0;function ji(){for(var e=Cn,t=Ar=Cn=0;t<e;){var a=Ct[t];Ct[t++]=null;var n=Ct[t];Ct[t++]=null;var l=Ct[t];Ct[t++]=null;var i=Ct[t];if(Ct[t++]=null,n!==null&&l!==null){var c=n.pending;c===null?l.next=l:(l.next=c.next,c.next=l),n.pending=l}i!==0&&Jc(a,l,i)}}function Ri(e,t,a,n){Ct[Cn++]=e,Ct[Cn++]=t,Ct[Cn++]=a,Ct[Cn++]=n,Ar|=n,e.lanes|=n,e=e.alternate,e!==null&&(e.lanes|=n)}function zr(e,t,a,n){return Ri(e,t,a,n),Ai(e)}function ln(e,t){return Ri(e,null,null,t),Ai(e)}function Jc(e,t,a){e.lanes|=a;var n=e.alternate;n!==null&&(n.lanes|=a);for(var l=!1,i=e.return;i!==null;)i.childLanes|=a,n=i.alternate,n!==null&&(n.childLanes|=a),i.tag===22&&(e=i.stateNode,e===null||e._visibility&1||(l=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,l&&t!==null&&(l=31-bt(a),e=i.hiddenUpdates,n=e[l],n===null?e[l]=[t]:n.push(t),t.lane=a|536870912),i):null}function Ai(e){if(50<Xl)throw Xl=0,Bo=null,Error(o(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Nn={};function R_(e,t,a,n){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function St(e,t,a,n){return new R_(e,t,a,n)}function Or(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ia(e,t){var a=e.alternate;return a===null?(a=St(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function $c(e,t){e.flags&=65011714;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function zi(e,t,a,n,l,i){var c=0;if(n=e,typeof e=="function")Or(e)&&(c=1);else if(typeof e=="string")c=Ny(e,a,Z.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case oe:return e=St(31,a,t,l),e.elementType=oe,e.lanes=i,e;case q:return un(a.children,l,i,t);case L:c=8,l|=24;break;case H:return e=St(12,a,t,l|2),e.elementType=H,e.lanes=i,e;case ye:return e=St(13,a,t,l),e.elementType=ye,e.lanes=i,e;case he:return e=St(19,a,t,l),e.elementType=he,e.lanes=i,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case J:c=10;break e;case I:c=9;break e;case _e:c=11;break e;case W:c=14;break e;case $:c=16,n=null;break e}c=29,a=Error(o(130,e===null?"null":typeof e,"")),n=null}return t=St(c,a,t,l),t.elementType=e,t.type=n,t.lanes=i,t}function un(e,t,a,n){return e=St(7,e,n,t),e.lanes=a,e}function Cr(e,t,a){return e=St(6,e,null,t),e.lanes=a,e}function Wc(e){var t=St(18,null,null,0);return t.stateNode=e,t}function Nr(e,t,a){return t=St(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Fc=new WeakMap;function Nt(e,t){if(typeof e=="object"&&e!==null){var a=Fc.get(e);return a!==void 0?a:(t={value:e,source:t,stack:Ws(t)},Fc.set(e,t),t)}return{value:e,source:t,stack:Ws(t)}}var Dn=[],Mn=0,Oi=null,kl=0,Dt=[],Mt=0,Ta=null,$t=1,Wt="";function ua(e,t){Dn[Mn++]=kl,Dn[Mn++]=Oi,Oi=e,kl=t}function Ic(e,t,a){Dt[Mt++]=$t,Dt[Mt++]=Wt,Dt[Mt++]=Ta,Ta=e;var n=$t;e=Wt;var l=32-bt(n)-1;n&=~(1<<l),a+=1;var i=32-bt(t)+l;if(30<i){var c=l-l%5;i=(n&(1<<c)-1).toString(32),n>>=c,l-=c,$t=1<<32-bt(t)+l|a<<l|n,Wt=i+e}else $t=1<<i|a<<l|n,Wt=e}function Dr(e){e.return!==null&&(ua(e,1),Ic(e,1,0))}function Mr(e){for(;e===Oi;)Oi=Dn[--Mn],Dn[Mn]=null,kl=Dn[--Mn],Dn[Mn]=null;for(;e===Ta;)Ta=Dt[--Mt],Dt[Mt]=null,Wt=Dt[--Mt],Dt[Mt]=null,$t=Dt[--Mt],Dt[Mt]=null}function Pc(e,t){Dt[Mt++]=$t,Dt[Mt++]=Wt,Dt[Mt++]=Ta,$t=t.id,Wt=t.overflow,Ta=e}var tt=null,Ce=null,pe=!1,ja=null,Ut=!1,Ur=Error(o(519));function Ra(e){var t=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw El(Nt(t,e)),Ur}function ef(e){var t=e.stateNode,a=e.type,n=e.memoizedProps;switch(t[et]=e,t[ct]=n,a){case"dialog":fe("cancel",t),fe("close",t);break;case"iframe":case"object":case"embed":fe("load",t);break;case"video":case"audio":for(a=0;a<Zl.length;a++)fe(Zl[a],t);break;case"source":fe("error",t);break;case"img":case"image":case"link":fe("error",t),fe("load",t);break;case"details":fe("toggle",t);break;case"input":fe("invalid",t),mc(t,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"select":fe("invalid",t);break;case"textarea":fe("invalid",t),pc(t,n.value,n.defaultValue,n.children)}a=n.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||n.suppressHydrationWarning===!0||gm(t.textContent,a)?(n.popover!=null&&(fe("beforetoggle",t),fe("toggle",t)),n.onScroll!=null&&fe("scroll",t),n.onScrollEnd!=null&&fe("scrollend",t),n.onClick!=null&&(t.onclick=na),t=!0):t=!1,t||Ra(e,!0)}function tf(e){for(tt=e.return;tt;)switch(tt.tag){case 5:case 31:case 13:Ut=!1;return;case 27:case 3:Ut=!0;return;default:tt=tt.return}}function Un(e){if(e!==tt)return!1;if(!pe)return tf(e),pe=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||ts(e.type,e.memoizedProps)),a=!a),a&&Ce&&Ra(e),tf(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Ce=jm(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Ce=jm(e)}else t===27?(t=Ce,Ga(e.type)?(e=us,us=null,Ce=e):Ce=t):Ce=tt?Lt(e.stateNode.nextSibling):null;return!0}function rn(){Ce=tt=null,pe=!1}function qr(){var e=ja;return e!==null&&(pt===null?pt=e:pt.push.apply(pt,e),ja=null),e}function El(e){ja===null?ja=[e]:ja.push(e)}var Lr=S(null),on=null,ra=null;function Aa(e,t,a){G(Lr,t._currentValue),t._currentValue=a}function oa(e){e._currentValue=Lr.current,D(Lr)}function Hr(e,t,a){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===a)break;e=e.return}}function Br(e,t,a,n){var l=e.child;for(l!==null&&(l.return=e);l!==null;){var i=l.dependencies;if(i!==null){var c=l.child;i=i.firstContext;e:for(;i!==null;){var d=i;i=l;for(var y=0;y<t.length;y++)if(d.context===t[y]){i.lanes|=a,d=i.alternate,d!==null&&(d.lanes|=a),Hr(i.return,a,e),n||(c=null);break e}i=d.next}}else if(l.tag===18){if(c=l.return,c===null)throw Error(o(341));c.lanes|=a,i=c.alternate,i!==null&&(i.lanes|=a),Hr(c,a,e),c=null}else c=l.child;if(c!==null)c.return=l;else for(c=l;c!==null;){if(c===e){c=null;break}if(l=c.sibling,l!==null){l.return=c.return,c=l;break}c=c.return}l=c}}function qn(e,t,a,n){e=null;for(var l=t,i=!1;l!==null;){if(!i){if((l.flags&524288)!==0)i=!0;else if((l.flags&262144)!==0)break}if(l.tag===10){var c=l.alternate;if(c===null)throw Error(o(387));if(c=c.memoizedProps,c!==null){var d=l.type;xt(l.pendingProps.value,c.value)||(e!==null?e.push(d):e=[d])}}else if(l===xe.current){if(c=l.alternate,c===null)throw Error(o(387));c.memoizedState.memoizedState!==l.memoizedState.memoizedState&&(e!==null?e.push(Fl):e=[Fl])}l=l.return}e!==null&&Br(t,e,a,n),t.flags|=262144}function Ci(e){for(e=e.firstContext;e!==null;){if(!xt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function sn(e){on=e,ra=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function at(e){return af(on,e)}function Ni(e,t){return on===null&&sn(e),af(e,t)}function af(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},ra===null){if(e===null)throw Error(o(308));ra=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else ra=ra.next=t;return a}var A_=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},z_=u.unstable_scheduleCallback,O_=u.unstable_NormalPriority,Xe={$$typeof:J,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Yr(){return{controller:new A_,data:new Map,refCount:0}}function wl(e){e.refCount--,e.refCount===0&&z_(O_,function(){e.controller.abort()})}var Tl=null,Gr=0,Ln=0,Hn=null;function C_(e,t){if(Tl===null){var a=Tl=[];Gr=0,Ln=Zo(),Hn={status:"pending",value:void 0,then:function(n){a.push(n)}}}return Gr++,t.then(nf,nf),t}function nf(){if(--Gr===0&&Tl!==null){Hn!==null&&(Hn.status="fulfilled");var e=Tl;Tl=null,Ln=0,Hn=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function N_(e,t){var a=[],n={status:"pending",value:null,reason:null,then:function(l){a.push(l)}};return e.then(function(){n.status="fulfilled",n.value=t;for(var l=0;l<a.length;l++)(0,a[l])(t)},function(l){for(n.status="rejected",n.reason=l,l=0;l<a.length;l++)(0,a[l])(void 0)}),n}var lf=O.S;O.S=function(e,t){Gd=gt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&C_(e,t),lf!==null&&lf(e,t)};var cn=S(null);function Vr(){var e=cn.current;return e!==null?e:Oe.pooledCache}function Di(e,t){t===null?G(cn,cn.current):G(cn,t.pool)}function uf(){var e=Vr();return e===null?null:{parent:Xe._currentValue,pool:e}}var Bn=Error(o(460)),Xr=Error(o(474)),Mi=Error(o(542)),Ui={then:function(){}};function rf(e){return e=e.status,e==="fulfilled"||e==="rejected"}function of(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(na,na),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,cf(e),e;default:if(typeof t.status=="string")t.then(na,na);else{if(e=Oe,e!==null&&100<e.shellSuspendCounter)throw Error(o(482));e=t,e.status="pending",e.then(function(n){if(t.status==="pending"){var l=t;l.status="fulfilled",l.value=n}},function(n){if(t.status==="pending"){var l=t;l.status="rejected",l.reason=n}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,cf(e),e}throw dn=t,Bn}}function fn(e){try{var t=e._init;return t(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(dn=a,Bn):a}}var dn=null;function sf(){if(dn===null)throw Error(o(459));var e=dn;return dn=null,e}function cf(e){if(e===Bn||e===Mi)throw Error(o(483))}var Yn=null,jl=0;function qi(e){var t=jl;return jl+=1,Yn===null&&(Yn=[]),of(Yn,e,t)}function Rl(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Li(e,t){throw t.$$typeof===M?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function ff(e){function t(E,b){if(e){var w=E.deletions;w===null?(E.deletions=[b],E.flags|=16):w.push(b)}}function a(E,b){if(!e)return null;for(;b!==null;)t(E,b),b=b.sibling;return null}function n(E){for(var b=new Map;E!==null;)E.key!==null?b.set(E.key,E):b.set(E.index,E),E=E.sibling;return b}function l(E,b){return E=ia(E,b),E.index=0,E.sibling=null,E}function i(E,b,w){return E.index=w,e?(w=E.alternate,w!==null?(w=w.index,w<b?(E.flags|=67108866,b):w):(E.flags|=67108866,b)):(E.flags|=1048576,b)}function c(E){return e&&E.alternate===null&&(E.flags|=67108866),E}function d(E,b,w,C){return b===null||b.tag!==6?(b=Cr(w,E.mode,C),b.return=E,b):(b=l(b,w),b.return=E,b)}function y(E,b,w,C){var F=w.type;return F===q?z(E,b,w.props.children,C,w.key):b!==null&&(b.elementType===F||typeof F=="object"&&F!==null&&F.$$typeof===$&&fn(F)===b.type)?(b=l(b,w.props),Rl(b,w),b.return=E,b):(b=zi(w.type,w.key,w.props,null,E.mode,C),Rl(b,w),b.return=E,b)}function T(E,b,w,C){return b===null||b.tag!==4||b.stateNode.containerInfo!==w.containerInfo||b.stateNode.implementation!==w.implementation?(b=Nr(w,E.mode,C),b.return=E,b):(b=l(b,w.children||[]),b.return=E,b)}function z(E,b,w,C,F){return b===null||b.tag!==7?(b=un(w,E.mode,C,F),b.return=E,b):(b=l(b,w),b.return=E,b)}function N(E,b,w){if(typeof b=="string"&&b!==""||typeof b=="number"||typeof b=="bigint")return b=Cr(""+b,E.mode,w),b.return=E,b;if(typeof b=="object"&&b!==null){switch(b.$$typeof){case V:return w=zi(b.type,b.key,b.props,null,E.mode,w),Rl(w,b),w.return=E,w;case B:return b=Nr(b,E.mode,w),b.return=E,b;case $:return b=fn(b),N(E,b,w)}if(De(b)||qe(b))return b=un(b,E.mode,w,null),b.return=E,b;if(typeof b.then=="function")return N(E,qi(b),w);if(b.$$typeof===J)return N(E,Ni(E,b),w);Li(E,b)}return null}function R(E,b,w,C){var F=b!==null?b.key:null;if(typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint")return F!==null?null:d(E,b,""+w,C);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case V:return w.key===F?y(E,b,w,C):null;case B:return w.key===F?T(E,b,w,C):null;case $:return w=fn(w),R(E,b,w,C)}if(De(w)||qe(w))return F!==null?null:z(E,b,w,C,null);if(typeof w.then=="function")return R(E,b,qi(w),C);if(w.$$typeof===J)return R(E,b,Ni(E,w),C);Li(E,w)}return null}function A(E,b,w,C,F){if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return E=E.get(w)||null,d(b,E,""+C,F);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case V:return E=E.get(C.key===null?w:C.key)||null,y(b,E,C,F);case B:return E=E.get(C.key===null?w:C.key)||null,T(b,E,C,F);case $:return C=fn(C),A(E,b,w,C,F)}if(De(C)||qe(C))return E=E.get(w)||null,z(b,E,C,F,null);if(typeof C.then=="function")return A(E,b,w,qi(C),F);if(C.$$typeof===J)return A(E,b,w,Ni(b,C),F);Li(b,C)}return null}function Q(E,b,w,C){for(var F=null,ge=null,K=b,ue=b=0,me=null;K!==null&&ue<w.length;ue++){K.index>ue?(me=K,K=null):me=K.sibling;var ve=R(E,K,w[ue],C);if(ve===null){K===null&&(K=me);break}e&&K&&ve.alternate===null&&t(E,K),b=i(ve,b,ue),ge===null?F=ve:ge.sibling=ve,ge=ve,K=me}if(ue===w.length)return a(E,K),pe&&ua(E,ue),F;if(K===null){for(;ue<w.length;ue++)K=N(E,w[ue],C),K!==null&&(b=i(K,b,ue),ge===null?F=K:ge.sibling=K,ge=K);return pe&&ua(E,ue),F}for(K=n(K);ue<w.length;ue++)me=A(K,E,ue,w[ue],C),me!==null&&(e&&me.alternate!==null&&K.delete(me.key===null?ue:me.key),b=i(me,b,ue),ge===null?F=me:ge.sibling=me,ge=me);return e&&K.forEach(function(Ka){return t(E,Ka)}),pe&&ua(E,ue),F}function P(E,b,w,C){if(w==null)throw Error(o(151));for(var F=null,ge=null,K=b,ue=b=0,me=null,ve=w.next();K!==null&&!ve.done;ue++,ve=w.next()){K.index>ue?(me=K,K=null):me=K.sibling;var Ka=R(E,K,ve.value,C);if(Ka===null){K===null&&(K=me);break}e&&K&&Ka.alternate===null&&t(E,K),b=i(Ka,b,ue),ge===null?F=Ka:ge.sibling=Ka,ge=Ka,K=me}if(ve.done)return a(E,K),pe&&ua(E,ue),F;if(K===null){for(;!ve.done;ue++,ve=w.next())ve=N(E,ve.value,C),ve!==null&&(b=i(ve,b,ue),ge===null?F=ve:ge.sibling=ve,ge=ve);return pe&&ua(E,ue),F}for(K=n(K);!ve.done;ue++,ve=w.next())ve=A(K,E,ue,ve.value,C),ve!==null&&(e&&ve.alternate!==null&&K.delete(ve.key===null?ue:ve.key),b=i(ve,b,ue),ge===null?F=ve:ge.sibling=ve,ge=ve);return e&&K.forEach(function(Xy){return t(E,Xy)}),pe&&ua(E,ue),F}function Re(E,b,w,C){if(typeof w=="object"&&w!==null&&w.type===q&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case V:e:{for(var F=w.key;b!==null;){if(b.key===F){if(F=w.type,F===q){if(b.tag===7){a(E,b.sibling),C=l(b,w.props.children),C.return=E,E=C;break e}}else if(b.elementType===F||typeof F=="object"&&F!==null&&F.$$typeof===$&&fn(F)===b.type){a(E,b.sibling),C=l(b,w.props),Rl(C,w),C.return=E,E=C;break e}a(E,b);break}else t(E,b);b=b.sibling}w.type===q?(C=un(w.props.children,E.mode,C,w.key),C.return=E,E=C):(C=zi(w.type,w.key,w.props,null,E.mode,C),Rl(C,w),C.return=E,E=C)}return c(E);case B:e:{for(F=w.key;b!==null;){if(b.key===F)if(b.tag===4&&b.stateNode.containerInfo===w.containerInfo&&b.stateNode.implementation===w.implementation){a(E,b.sibling),C=l(b,w.children||[]),C.return=E,E=C;break e}else{a(E,b);break}else t(E,b);b=b.sibling}C=Nr(w,E.mode,C),C.return=E,E=C}return c(E);case $:return w=fn(w),Re(E,b,w,C)}if(De(w))return Q(E,b,w,C);if(qe(w)){if(F=qe(w),typeof F!="function")throw Error(o(150));return w=F.call(w),P(E,b,w,C)}if(typeof w.then=="function")return Re(E,b,qi(w),C);if(w.$$typeof===J)return Re(E,b,Ni(E,w),C);Li(E,w)}return typeof w=="string"&&w!==""||typeof w=="number"||typeof w=="bigint"?(w=""+w,b!==null&&b.tag===6?(a(E,b.sibling),C=l(b,w),C.return=E,E=C):(a(E,b),C=Cr(w,E.mode,C),C.return=E,E=C),c(E)):a(E,b)}return function(E,b,w,C){try{jl=0;var F=Re(E,b,w,C);return Yn=null,F}catch(K){if(K===Bn||K===Mi)throw K;var ge=St(29,K,null,E.mode);return ge.lanes=C,ge.return=E,ge}finally{}}}var mn=ff(!0),df=ff(!1),za=!1;function Qr(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Zr(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Oa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ca(e,t,a){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,(be&2)!==0){var l=n.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),n.pending=t,t=Ai(e),Jc(e,null,a),t}return Ri(e,n,t,a),Ai(e)}function Al(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var n=t.lanes;n&=e.pendingLanes,a|=n,t.lanes=a,ac(e,a)}}function Kr(e,t){var a=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,a===n)){var l=null,i=null;if(a=a.firstBaseUpdate,a!==null){do{var c={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};i===null?l=i=c:i=i.next=c,a=a.next}while(a!==null);i===null?l=i=t:i=i.next=t}else l=i=t;a={baseState:n.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:n.shared,callbacks:n.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var Jr=!1;function zl(){if(Jr){var e=Hn;if(e!==null)throw e}}function Ol(e,t,a,n){Jr=!1;var l=e.updateQueue;za=!1;var i=l.firstBaseUpdate,c=l.lastBaseUpdate,d=l.shared.pending;if(d!==null){l.shared.pending=null;var y=d,T=y.next;y.next=null,c===null?i=T:c.next=T,c=y;var z=e.alternate;z!==null&&(z=z.updateQueue,d=z.lastBaseUpdate,d!==c&&(d===null?z.firstBaseUpdate=T:d.next=T,z.lastBaseUpdate=y))}if(i!==null){var N=l.baseState;c=0,z=T=y=null,d=i;do{var R=d.lane&-536870913,A=R!==d.lane;if(A?(de&R)===R:(n&R)===R){R!==0&&R===Ln&&(Jr=!0),z!==null&&(z=z.next={lane:0,tag:d.tag,payload:d.payload,callback:null,next:null});e:{var Q=e,P=d;R=t;var Re=a;switch(P.tag){case 1:if(Q=P.payload,typeof Q=="function"){N=Q.call(Re,N,R);break e}N=Q;break e;case 3:Q.flags=Q.flags&-65537|128;case 0:if(Q=P.payload,R=typeof Q=="function"?Q.call(Re,N,R):Q,R==null)break e;N=k({},N,R);break e;case 2:za=!0}}R=d.callback,R!==null&&(e.flags|=64,A&&(e.flags|=8192),A=l.callbacks,A===null?l.callbacks=[R]:A.push(R))}else A={lane:R,tag:d.tag,payload:d.payload,callback:d.callback,next:null},z===null?(T=z=A,y=N):z=z.next=A,c|=R;if(d=d.next,d===null){if(d=l.shared.pending,d===null)break;A=d,d=A.next,A.next=null,l.lastBaseUpdate=A,l.shared.pending=null}}while(!0);z===null&&(y=N),l.baseState=y,l.firstBaseUpdate=T,l.lastBaseUpdate=z,i===null&&(l.shared.lanes=0),qa|=c,e.lanes=c,e.memoizedState=N}}function mf(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function hf(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)mf(a[e],t)}var Gn=S(null),Hi=S(0);function pf(e,t){e=ya,G(Hi,e),G(Gn,t),ya=e|t.baseLanes}function $r(){G(Hi,ya),G(Gn,Gn.current)}function Wr(){ya=Hi.current,D(Gn),D(Hi)}var kt=S(null),qt=null;function Na(e){var t=e.alternate;G(Ye,Ye.current&1),G(kt,e),qt===null&&(t===null||Gn.current!==null||t.memoizedState!==null)&&(qt=e)}function Fr(e){G(Ye,Ye.current),G(kt,e),qt===null&&(qt=e)}function _f(e){e.tag===22?(G(Ye,Ye.current),G(kt,e),qt===null&&(qt=e)):Da()}function Da(){G(Ye,Ye.current),G(kt,kt.current)}function Et(e){D(kt),qt===e&&(qt=null),D(Ye)}var Ye=S(0);function Bi(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||ls(a)||is(a)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var sa=0,le=null,Te=null,Qe=null,Yi=!1,Vn=!1,hn=!1,Gi=0,Cl=0,Xn=null,D_=0;function Le(){throw Error(o(321))}function Ir(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!xt(e[a],t[a]))return!1;return!0}function Pr(e,t,a,n,l,i){return sa=i,le=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,O.H=e===null||e.memoizedState===null?Pf:po,hn=!1,i=a(n,l),hn=!1,Vn&&(i=gf(t,a,n,l)),yf(e),i}function yf(e){O.H=Ml;var t=Te!==null&&Te.next!==null;if(sa=0,Qe=Te=le=null,Yi=!1,Cl=0,Xn=null,t)throw Error(o(300));e===null||Ze||(e=e.dependencies,e!==null&&Ci(e)&&(Ze=!0))}function gf(e,t,a,n){le=e;var l=0;do{if(Vn&&(Xn=null),Cl=0,Vn=!1,25<=l)throw Error(o(301));if(l+=1,Qe=Te=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}O.H=ed,i=t(a,n)}while(Vn);return i}function M_(){var e=O.H,t=e.useState()[0];return t=typeof t.then=="function"?Nl(t):t,e=e.useState()[0],(Te!==null?Te.memoizedState:null)!==e&&(le.flags|=1024),t}function eo(){var e=Gi!==0;return Gi=0,e}function to(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function ao(e){if(Yi){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Yi=!1}sa=0,Qe=Te=le=null,Vn=!1,Cl=Gi=0,Xn=null}function st(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Qe===null?le.memoizedState=Qe=e:Qe=Qe.next=e,Qe}function Ge(){if(Te===null){var e=le.alternate;e=e!==null?e.memoizedState:null}else e=Te.next;var t=Qe===null?le.memoizedState:Qe.next;if(t!==null)Qe=t,Te=e;else{if(e===null)throw le.alternate===null?Error(o(467)):Error(o(310));Te=e,e={memoizedState:Te.memoizedState,baseState:Te.baseState,baseQueue:Te.baseQueue,queue:Te.queue,next:null},Qe===null?le.memoizedState=Qe=e:Qe=Qe.next=e}return Qe}function Vi(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Nl(e){var t=Cl;return Cl+=1,Xn===null&&(Xn=[]),e=of(Xn,e,t),t=le,(Qe===null?t.memoizedState:Qe.next)===null&&(t=t.alternate,O.H=t===null||t.memoizedState===null?Pf:po),e}function Xi(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Nl(e);if(e.$$typeof===J)return at(e)}throw Error(o(438,String(e)))}function no(e){var t=null,a=le.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var n=le.alternate;n!==null&&(n=n.updateQueue,n!==null&&(n=n.memoCache,n!=null&&(t={data:n.data.map(function(l){return l.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=Vi(),le.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),n=0;n<e;n++)a[n]=Pe;return t.index++,a}function ca(e,t){return typeof t=="function"?t(e):t}function Qi(e){var t=Ge();return lo(t,Te,e)}function lo(e,t,a){var n=e.queue;if(n===null)throw Error(o(311));n.lastRenderedReducer=a;var l=e.baseQueue,i=n.pending;if(i!==null){if(l!==null){var c=l.next;l.next=i.next,i.next=c}t.baseQueue=l=i,n.pending=null}if(i=e.baseState,l===null)e.memoizedState=i;else{t=l.next;var d=c=null,y=null,T=t,z=!1;do{var N=T.lane&-536870913;if(N!==T.lane?(de&N)===N:(sa&N)===N){var R=T.revertLane;if(R===0)y!==null&&(y=y.next={lane:0,revertLane:0,gesture:null,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null}),N===Ln&&(z=!0);else if((sa&R)===R){T=T.next,R===Ln&&(z=!0);continue}else N={lane:0,revertLane:T.revertLane,gesture:null,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},y===null?(d=y=N,c=i):y=y.next=N,le.lanes|=R,qa|=R;N=T.action,hn&&a(i,N),i=T.hasEagerState?T.eagerState:a(i,N)}else R={lane:N,revertLane:T.revertLane,gesture:T.gesture,action:T.action,hasEagerState:T.hasEagerState,eagerState:T.eagerState,next:null},y===null?(d=y=R,c=i):y=y.next=R,le.lanes|=N,qa|=N;T=T.next}while(T!==null&&T!==t);if(y===null?c=i:y.next=d,!xt(i,e.memoizedState)&&(Ze=!0,z&&(a=Hn,a!==null)))throw a;e.memoizedState=i,e.baseState=c,e.baseQueue=y,n.lastRenderedState=i}return l===null&&(n.lanes=0),[e.memoizedState,n.dispatch]}function io(e){var t=Ge(),a=t.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=e;var n=a.dispatch,l=a.pending,i=t.memoizedState;if(l!==null){a.pending=null;var c=l=l.next;do i=e(i,c.action),c=c.next;while(c!==l);xt(i,t.memoizedState)||(Ze=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),a.lastRenderedState=i}return[i,n]}function vf(e,t,a){var n=le,l=Ge(),i=pe;if(i){if(a===void 0)throw Error(o(407));a=a()}else a=t();var c=!xt((Te||l).memoizedState,a);if(c&&(l.memoizedState=a,Ze=!0),l=l.queue,oo(Sf.bind(null,n,l,e),[e]),l.getSnapshot!==t||c||Qe!==null&&Qe.memoizedState.tag&1){if(n.flags|=2048,Qn(9,{destroy:void 0},xf.bind(null,n,l,a,t),null),Oe===null)throw Error(o(349));i||(sa&127)!==0||bf(n,t,a)}return a}function bf(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=le.updateQueue,t===null?(t=Vi(),le.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function xf(e,t,a,n){t.value=a,t.getSnapshot=n,kf(t)&&Ef(e)}function Sf(e,t,a){return a(function(){kf(t)&&Ef(e)})}function kf(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!xt(e,a)}catch{return!0}}function Ef(e){var t=ln(e,2);t!==null&&_t(t,e,2)}function uo(e){var t=st();if(typeof e=="function"){var a=e;if(e=a(),hn){ka(!0);try{a()}finally{ka(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ca,lastRenderedState:e},t}function wf(e,t,a,n){return e.baseState=a,lo(e,Te,typeof n=="function"?n:ca)}function U_(e,t,a,n,l){if(Ji(e))throw Error(o(485));if(e=t.action,e!==null){var i={payload:l,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){i.listeners.push(c)}};O.T!==null?a(!0):i.isTransition=!1,n(i),a=t.pending,a===null?(i.next=t.pending=i,Tf(t,i)):(i.next=a.next,t.pending=a.next=i)}}function Tf(e,t){var a=t.action,n=t.payload,l=e.state;if(t.isTransition){var i=O.T,c={};O.T=c;try{var d=a(l,n),y=O.S;y!==null&&y(c,d),jf(e,t,d)}catch(T){ro(e,t,T)}finally{i!==null&&c.types!==null&&(i.types=c.types),O.T=i}}else try{i=a(l,n),jf(e,t,i)}catch(T){ro(e,t,T)}}function jf(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(n){Rf(e,t,n)},function(n){return ro(e,t,n)}):Rf(e,t,a)}function Rf(e,t,a){t.status="fulfilled",t.value=a,Af(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,Tf(e,a)))}function ro(e,t,a){var n=e.pending;if(e.pending=null,n!==null){n=n.next;do t.status="rejected",t.reason=a,Af(t),t=t.next;while(t!==n)}e.action=null}function Af(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function zf(e,t){return t}function Of(e,t){if(pe){var a=Oe.formState;if(a!==null){e:{var n=le;if(pe){if(Ce){t:{for(var l=Ce,i=Ut;l.nodeType!==8;){if(!i){l=null;break t}if(l=Lt(l.nextSibling),l===null){l=null;break t}}i=l.data,l=i==="F!"||i==="F"?l:null}if(l){Ce=Lt(l.nextSibling),n=l.data==="F!";break e}}Ra(n)}n=!1}n&&(t=a[0])}}return a=st(),a.memoizedState=a.baseState=t,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:zf,lastRenderedState:t},a.queue=n,a=Wf.bind(null,le,n),n.dispatch=a,n=uo(!1),i=ho.bind(null,le,!1,n.queue),n=st(),l={state:t,dispatch:null,action:e,pending:null},n.queue=l,a=U_.bind(null,le,l,i,a),l.dispatch=a,n.memoizedState=e,[t,a,!1]}function Cf(e){var t=Ge();return Nf(t,Te,e)}function Nf(e,t,a){if(t=lo(e,t,zf)[0],e=Qi(ca)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var n=Nl(t)}catch(c){throw c===Bn?Mi:c}else n=t;t=Ge();var l=t.queue,i=l.dispatch;return a!==t.memoizedState&&(le.flags|=2048,Qn(9,{destroy:void 0},q_.bind(null,l,a),null)),[n,i,e]}function q_(e,t){e.action=t}function Df(e){var t=Ge(),a=Te;if(a!==null)return Nf(t,a,e);Ge(),t=t.memoizedState,a=Ge();var n=a.queue.dispatch;return a.memoizedState=e,[t,n,!1]}function Qn(e,t,a,n){return e={tag:e,create:a,deps:n,inst:t,next:null},t=le.updateQueue,t===null&&(t=Vi(),le.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(n=a.next,a.next=e,e.next=n,t.lastEffect=e),e}function Mf(){return Ge().memoizedState}function Zi(e,t,a,n){var l=st();le.flags|=e,l.memoizedState=Qn(1|t,{destroy:void 0},a,n===void 0?null:n)}function Ki(e,t,a,n){var l=Ge();n=n===void 0?null:n;var i=l.memoizedState.inst;Te!==null&&n!==null&&Ir(n,Te.memoizedState.deps)?l.memoizedState=Qn(t,i,a,n):(le.flags|=e,l.memoizedState=Qn(1|t,i,a,n))}function Uf(e,t){Zi(8390656,8,e,t)}function oo(e,t){Ki(2048,8,e,t)}function L_(e){le.flags|=4;var t=le.updateQueue;if(t===null)t=Vi(),le.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function qf(e){var t=Ge().memoizedState;return L_({ref:t,nextImpl:e}),function(){if((be&2)!==0)throw Error(o(440));return t.impl.apply(void 0,arguments)}}function Lf(e,t){return Ki(4,2,e,t)}function Hf(e,t){return Ki(4,4,e,t)}function Bf(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Yf(e,t,a){a=a!=null?a.concat([e]):null,Ki(4,4,Bf.bind(null,t,e),a)}function so(){}function Gf(e,t){var a=Ge();t=t===void 0?null:t;var n=a.memoizedState;return t!==null&&Ir(t,n[1])?n[0]:(a.memoizedState=[e,t],e)}function Vf(e,t){var a=Ge();t=t===void 0?null:t;var n=a.memoizedState;if(t!==null&&Ir(t,n[1]))return n[0];if(n=e(),hn){ka(!0);try{e()}finally{ka(!1)}}return a.memoizedState=[n,t],n}function co(e,t,a){return a===void 0||(sa&1073741824)!==0&&(de&261930)===0?e.memoizedState=t:(e.memoizedState=a,e=Xd(),le.lanes|=e,qa|=e,a)}function Xf(e,t,a,n){return xt(a,t)?a:Gn.current!==null?(e=co(e,a,n),xt(e,t)||(Ze=!0),e):(sa&42)===0||(sa&1073741824)!==0&&(de&261930)===0?(Ze=!0,e.memoizedState=a):(e=Xd(),le.lanes|=e,qa|=e,t)}function Qf(e,t,a,n,l){var i=Y.p;Y.p=i!==0&&8>i?i:8;var c=O.T,d={};O.T=d,ho(e,!1,t,a);try{var y=l(),T=O.S;if(T!==null&&T(d,y),y!==null&&typeof y=="object"&&typeof y.then=="function"){var z=N_(y,n);Dl(e,t,z,jt(e))}else Dl(e,t,n,jt(e))}catch(N){Dl(e,t,{then:function(){},status:"rejected",reason:N},jt())}finally{Y.p=i,c!==null&&d.types!==null&&(c.types=d.types),O.T=c}}function H_(){}function fo(e,t,a,n){if(e.tag!==5)throw Error(o(476));var l=Zf(e).queue;Qf(e,l,t,ee,a===null?H_:function(){return Kf(e),a(n)})}function Zf(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ee,baseState:ee,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ca,lastRenderedState:ee},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ca,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Kf(e){var t=Zf(e);t.next===null&&(t=e.alternate.memoizedState),Dl(e,t.next.queue,{},jt())}function mo(){return at(Fl)}function Jf(){return Ge().memoizedState}function $f(){return Ge().memoizedState}function B_(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=jt();e=Oa(a);var n=Ca(t,e,a);n!==null&&(_t(n,t,a),Al(n,t,a)),t={cache:Yr()},e.payload=t;return}t=t.return}}function Y_(e,t,a){var n=jt();a={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},Ji(e)?Ff(t,a):(a=zr(e,t,a,n),a!==null&&(_t(a,e,n),If(a,t,n)))}function Wf(e,t,a){var n=jt();Dl(e,t,a,n)}function Dl(e,t,a,n){var l={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(Ji(e))Ff(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var c=t.lastRenderedState,d=i(c,a);if(l.hasEagerState=!0,l.eagerState=d,xt(d,c))return Ri(e,t,l,0),Oe===null&&ji(),!1}catch{}finally{}if(a=zr(e,t,l,n),a!==null)return _t(a,e,n),If(a,t,n),!0}return!1}function ho(e,t,a,n){if(n={lane:2,revertLane:Zo(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Ji(e)){if(t)throw Error(o(479))}else t=zr(e,a,n,2),t!==null&&_t(t,e,2)}function Ji(e){var t=e.alternate;return e===le||t!==null&&t===le}function Ff(e,t){Vn=Yi=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function If(e,t,a){if((a&4194048)!==0){var n=t.lanes;n&=e.pendingLanes,a|=n,t.lanes=a,ac(e,a)}}var Ml={readContext:at,use:Xi,useCallback:Le,useContext:Le,useEffect:Le,useImperativeHandle:Le,useLayoutEffect:Le,useInsertionEffect:Le,useMemo:Le,useReducer:Le,useRef:Le,useState:Le,useDebugValue:Le,useDeferredValue:Le,useTransition:Le,useSyncExternalStore:Le,useId:Le,useHostTransitionStatus:Le,useFormState:Le,useActionState:Le,useOptimistic:Le,useMemoCache:Le,useCacheRefresh:Le};Ml.useEffectEvent=Le;var Pf={readContext:at,use:Xi,useCallback:function(e,t){return st().memoizedState=[e,t===void 0?null:t],e},useContext:at,useEffect:Uf,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,Zi(4194308,4,Bf.bind(null,t,e),a)},useLayoutEffect:function(e,t){return Zi(4194308,4,e,t)},useInsertionEffect:function(e,t){Zi(4,2,e,t)},useMemo:function(e,t){var a=st();t=t===void 0?null:t;var n=e();if(hn){ka(!0);try{e()}finally{ka(!1)}}return a.memoizedState=[n,t],n},useReducer:function(e,t,a){var n=st();if(a!==void 0){var l=a(t);if(hn){ka(!0);try{a(t)}finally{ka(!1)}}}else l=t;return n.memoizedState=n.baseState=l,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:l},n.queue=e,e=e.dispatch=Y_.bind(null,le,e),[n.memoizedState,e]},useRef:function(e){var t=st();return e={current:e},t.memoizedState=e},useState:function(e){e=uo(e);var t=e.queue,a=Wf.bind(null,le,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:so,useDeferredValue:function(e,t){var a=st();return co(a,e,t)},useTransition:function(){var e=uo(!1);return e=Qf.bind(null,le,e.queue,!0,!1),st().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var n=le,l=st();if(pe){if(a===void 0)throw Error(o(407));a=a()}else{if(a=t(),Oe===null)throw Error(o(349));(de&127)!==0||bf(n,t,a)}l.memoizedState=a;var i={value:a,getSnapshot:t};return l.queue=i,Uf(Sf.bind(null,n,i,e),[e]),n.flags|=2048,Qn(9,{destroy:void 0},xf.bind(null,n,i,a,t),null),a},useId:function(){var e=st(),t=Oe.identifierPrefix;if(pe){var a=Wt,n=$t;a=(n&~(1<<32-bt(n)-1)).toString(32)+a,t="_"+t+"R_"+a,a=Gi++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=D_++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:mo,useFormState:Of,useActionState:Of,useOptimistic:function(e){var t=st();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=ho.bind(null,le,!0,a),a.dispatch=t,[e,t]},useMemoCache:no,useCacheRefresh:function(){return st().memoizedState=B_.bind(null,le)},useEffectEvent:function(e){var t=st(),a={impl:e};return t.memoizedState=a,function(){if((be&2)!==0)throw Error(o(440));return a.impl.apply(void 0,arguments)}}},po={readContext:at,use:Xi,useCallback:Gf,useContext:at,useEffect:oo,useImperativeHandle:Yf,useInsertionEffect:Lf,useLayoutEffect:Hf,useMemo:Vf,useReducer:Qi,useRef:Mf,useState:function(){return Qi(ca)},useDebugValue:so,useDeferredValue:function(e,t){var a=Ge();return Xf(a,Te.memoizedState,e,t)},useTransition:function(){var e=Qi(ca)[0],t=Ge().memoizedState;return[typeof e=="boolean"?e:Nl(e),t]},useSyncExternalStore:vf,useId:Jf,useHostTransitionStatus:mo,useFormState:Cf,useActionState:Cf,useOptimistic:function(e,t){var a=Ge();return wf(a,Te,e,t)},useMemoCache:no,useCacheRefresh:$f};po.useEffectEvent=qf;var ed={readContext:at,use:Xi,useCallback:Gf,useContext:at,useEffect:oo,useImperativeHandle:Yf,useInsertionEffect:Lf,useLayoutEffect:Hf,useMemo:Vf,useReducer:io,useRef:Mf,useState:function(){return io(ca)},useDebugValue:so,useDeferredValue:function(e,t){var a=Ge();return Te===null?co(a,e,t):Xf(a,Te.memoizedState,e,t)},useTransition:function(){var e=io(ca)[0],t=Ge().memoizedState;return[typeof e=="boolean"?e:Nl(e),t]},useSyncExternalStore:vf,useId:Jf,useHostTransitionStatus:mo,useFormState:Df,useActionState:Df,useOptimistic:function(e,t){var a=Ge();return Te!==null?wf(a,Te,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:no,useCacheRefresh:$f};ed.useEffectEvent=qf;function _o(e,t,a,n){t=e.memoizedState,a=a(n,t),a=a==null?t:k({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var yo={enqueueSetState:function(e,t,a){e=e._reactInternals;var n=jt(),l=Oa(n);l.payload=t,a!=null&&(l.callback=a),t=Ca(e,l,n),t!==null&&(_t(t,e,n),Al(t,e,n))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var n=jt(),l=Oa(n);l.tag=1,l.payload=t,a!=null&&(l.callback=a),t=Ca(e,l,n),t!==null&&(_t(t,e,n),Al(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=jt(),n=Oa(a);n.tag=2,t!=null&&(n.callback=t),t=Ca(e,n,a),t!==null&&(_t(t,e,a),Al(t,e,a))}};function td(e,t,a,n,l,i,c){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,i,c):t.prototype&&t.prototype.isPureReactComponent?!xl(a,n)||!xl(l,i):!0}function ad(e,t,a,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,n),t.state!==e&&yo.enqueueReplaceState(t,t.state,null)}function pn(e,t){var a=t;if("ref"in t){a={};for(var n in t)n!=="ref"&&(a[n]=t[n])}if(e=e.defaultProps){a===t&&(a=k({},a));for(var l in e)a[l]===void 0&&(a[l]=e[l])}return a}function nd(e){Ti(e)}function ld(e){console.error(e)}function id(e){Ti(e)}function $i(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function ud(e,t,a){try{var n=e.onCaughtError;n(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(l){setTimeout(function(){throw l})}}function go(e,t,a){return a=Oa(a),a.tag=3,a.payload={element:null},a.callback=function(){$i(e,t)},a}function rd(e){return e=Oa(e),e.tag=3,e}function od(e,t,a,n){var l=a.type.getDerivedStateFromError;if(typeof l=="function"){var i=n.value;e.payload=function(){return l(i)},e.callback=function(){ud(t,a,n)}}var c=a.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(e.callback=function(){ud(t,a,n),typeof l!="function"&&(La===null?La=new Set([this]):La.add(this));var d=n.stack;this.componentDidCatch(n.value,{componentStack:d!==null?d:""})})}function G_(e,t,a,n,l){if(a.flags|=32768,n!==null&&typeof n=="object"&&typeof n.then=="function"){if(t=a.alternate,t!==null&&qn(t,a,l,!0),a=kt.current,a!==null){switch(a.tag){case 31:case 13:return qt===null?ru():a.alternate===null&&He===0&&(He=3),a.flags&=-257,a.flags|=65536,a.lanes=l,n===Ui?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([n]):t.add(n),Vo(e,n,l)),!1;case 22:return a.flags|=65536,n===Ui?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([n])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([n]):a.add(n)),Vo(e,n,l)),!1}throw Error(o(435,a.tag))}return Vo(e,n,l),ru(),!1}if(pe)return t=kt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=l,n!==Ur&&(e=Error(o(422),{cause:n}),El(Nt(e,a)))):(n!==Ur&&(t=Error(o(423),{cause:n}),El(Nt(t,a))),e=e.current.alternate,e.flags|=65536,l&=-l,e.lanes|=l,n=Nt(n,a),l=go(e.stateNode,n,l),Kr(e,l),He!==4&&(He=2)),!1;var i=Error(o(520),{cause:n});if(i=Nt(i,a),Vl===null?Vl=[i]:Vl.push(i),He!==4&&(He=2),t===null)return!0;n=Nt(n,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=l&-l,a.lanes|=e,e=go(a.stateNode,n,e),Kr(a,e),!1;case 1:if(t=a.type,i=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(La===null||!La.has(i))))return a.flags|=65536,l&=-l,a.lanes|=l,l=rd(l),od(l,e,a,n),Kr(a,l),!1}a=a.return}while(a!==null);return!1}var vo=Error(o(461)),Ze=!1;function nt(e,t,a,n){t.child=e===null?df(t,null,a,n):mn(t,e.child,a,n)}function sd(e,t,a,n,l){a=a.render;var i=t.ref;if("ref"in n){var c={};for(var d in n)d!=="ref"&&(c[d]=n[d])}else c=n;return sn(t),n=Pr(e,t,a,c,i,l),d=eo(),e!==null&&!Ze?(to(e,t,l),fa(e,t,l)):(pe&&d&&Dr(t),t.flags|=1,nt(e,t,n,l),t.child)}function cd(e,t,a,n,l){if(e===null){var i=a.type;return typeof i=="function"&&!Or(i)&&i.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=i,fd(e,t,i,n,l)):(e=zi(a.type,null,n,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!jo(e,l)){var c=i.memoizedProps;if(a=a.compare,a=a!==null?a:xl,a(c,n)&&e.ref===t.ref)return fa(e,t,l)}return t.flags|=1,e=ia(i,n),e.ref=t.ref,e.return=t,t.child=e}function fd(e,t,a,n,l){if(e!==null){var i=e.memoizedProps;if(xl(i,n)&&e.ref===t.ref)if(Ze=!1,t.pendingProps=n=i,jo(e,l))(e.flags&131072)!==0&&(Ze=!0);else return t.lanes=e.lanes,fa(e,t,l)}return bo(e,t,a,n,l)}function dd(e,t,a,n){var l=n.children,i=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.mode==="hidden"){if((t.flags&128)!==0){if(i=i!==null?i.baseLanes|a:a,e!==null){for(n=t.child=e.child,l=0;n!==null;)l=l|n.lanes|n.childLanes,n=n.sibling;n=l&~i}else n=0,t.child=null;return md(e,t,i,a,n)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Di(t,i!==null?i.cachePool:null),i!==null?pf(t,i):$r(),_f(t);else return n=t.lanes=536870912,md(e,t,i!==null?i.baseLanes|a:a,a,n)}else i!==null?(Di(t,i.cachePool),pf(t,i),Da(),t.memoizedState=null):(e!==null&&Di(t,null),$r(),Da());return nt(e,t,l,a),t.child}function Ul(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function md(e,t,a,n,l){var i=Vr();return i=i===null?null:{parent:Xe._currentValue,pool:i},t.memoizedState={baseLanes:a,cachePool:i},e!==null&&Di(t,null),$r(),_f(t),e!==null&&qn(e,t,n,!0),t.childLanes=l,null}function Wi(e,t){return t=Ii({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function hd(e,t,a){return mn(t,e.child,null,a),e=Wi(t,t.pendingProps),e.flags|=2,Et(t),t.memoizedState=null,e}function V_(e,t,a){var n=t.pendingProps,l=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(pe){if(n.mode==="hidden")return e=Wi(t,n),t.lanes=536870912,Ul(null,e);if(Fr(t),(e=Ce)?(e=Tm(e,Ut),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ta!==null?{id:$t,overflow:Wt}:null,retryLane:536870912,hydrationErrors:null},a=Wc(e),a.return=t,t.child=a,tt=t,Ce=null)):e=null,e===null)throw Ra(t);return t.lanes=536870912,null}return Wi(t,n)}var i=e.memoizedState;if(i!==null){var c=i.dehydrated;if(Fr(t),l)if(t.flags&256)t.flags&=-257,t=hd(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(o(558));else if(Ze||qn(e,t,a,!1),l=(a&e.childLanes)!==0,Ze||l){if(n=Oe,n!==null&&(c=nc(n,a),c!==0&&c!==i.retryLane))throw i.retryLane=c,ln(e,c),_t(n,e,c),vo;ru(),t=hd(e,t,a)}else e=i.treeContext,Ce=Lt(c.nextSibling),tt=t,pe=!0,ja=null,Ut=!1,e!==null&&Pc(t,e),t=Wi(t,n),t.flags|=4096;return t}return e=ia(e.child,{mode:n.mode,children:n.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Fi(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(o(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function bo(e,t,a,n,l){return sn(t),a=Pr(e,t,a,n,void 0,l),n=eo(),e!==null&&!Ze?(to(e,t,l),fa(e,t,l)):(pe&&n&&Dr(t),t.flags|=1,nt(e,t,a,l),t.child)}function pd(e,t,a,n,l,i){return sn(t),t.updateQueue=null,a=gf(t,n,a,l),yf(e),n=eo(),e!==null&&!Ze?(to(e,t,i),fa(e,t,i)):(pe&&n&&Dr(t),t.flags|=1,nt(e,t,a,i),t.child)}function _d(e,t,a,n,l){if(sn(t),t.stateNode===null){var i=Nn,c=a.contextType;typeof c=="object"&&c!==null&&(i=at(c)),i=new a(n,i),t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=yo,t.stateNode=i,i._reactInternals=t,i=t.stateNode,i.props=n,i.state=t.memoizedState,i.refs={},Qr(t),c=a.contextType,i.context=typeof c=="object"&&c!==null?at(c):Nn,i.state=t.memoizedState,c=a.getDerivedStateFromProps,typeof c=="function"&&(_o(t,a,c,n),i.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(c=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),c!==i.state&&yo.enqueueReplaceState(i,i.state,null),Ol(t,n,i,l),zl(),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!0}else if(e===null){i=t.stateNode;var d=t.memoizedProps,y=pn(a,d);i.props=y;var T=i.context,z=a.contextType;c=Nn,typeof z=="object"&&z!==null&&(c=at(z));var N=a.getDerivedStateFromProps;z=typeof N=="function"||typeof i.getSnapshotBeforeUpdate=="function",d=t.pendingProps!==d,z||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(d||T!==c)&&ad(t,i,n,c),za=!1;var R=t.memoizedState;i.state=R,Ol(t,n,i,l),zl(),T=t.memoizedState,d||R!==T||za?(typeof N=="function"&&(_o(t,a,N,n),T=t.memoizedState),(y=za||td(t,a,y,n,R,T,c))?(z||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=T),i.props=n,i.state=T,i.context=c,n=y):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{i=t.stateNode,Zr(e,t),c=t.memoizedProps,z=pn(a,c),i.props=z,N=t.pendingProps,R=i.context,T=a.contextType,y=Nn,typeof T=="object"&&T!==null&&(y=at(T)),d=a.getDerivedStateFromProps,(T=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(c!==N||R!==y)&&ad(t,i,n,y),za=!1,R=t.memoizedState,i.state=R,Ol(t,n,i,l),zl();var A=t.memoizedState;c!==N||R!==A||za||e!==null&&e.dependencies!==null&&Ci(e.dependencies)?(typeof d=="function"&&(_o(t,a,d,n),A=t.memoizedState),(z=za||td(t,a,z,n,R,A,y)||e!==null&&e.dependencies!==null&&Ci(e.dependencies))?(T||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(n,A,y),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(n,A,y)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||c===e.memoizedProps&&R===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&R===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=A),i.props=n,i.state=A,i.context=y,n=z):(typeof i.componentDidUpdate!="function"||c===e.memoizedProps&&R===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&R===e.memoizedState||(t.flags|=1024),n=!1)}return i=n,Fi(e,t),n=(t.flags&128)!==0,i||n?(i=t.stateNode,a=n&&typeof a.getDerivedStateFromError!="function"?null:i.render(),t.flags|=1,e!==null&&n?(t.child=mn(t,e.child,null,l),t.child=mn(t,null,a,l)):nt(e,t,a,l),t.memoizedState=i.state,e=t.child):e=fa(e,t,l),e}function yd(e,t,a,n){return rn(),t.flags|=256,nt(e,t,a,n),t.child}var xo={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function So(e){return{baseLanes:e,cachePool:uf()}}function ko(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=Tt),e}function gd(e,t,a){var n=t.pendingProps,l=!1,i=(t.flags&128)!==0,c;if((c=i)||(c=e!==null&&e.memoizedState===null?!1:(Ye.current&2)!==0),c&&(l=!0,t.flags&=-129),c=(t.flags&32)!==0,t.flags&=-33,e===null){if(pe){if(l?Na(t):Da(),(e=Ce)?(e=Tm(e,Ut),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Ta!==null?{id:$t,overflow:Wt}:null,retryLane:536870912,hydrationErrors:null},a=Wc(e),a.return=t,t.child=a,tt=t,Ce=null)):e=null,e===null)throw Ra(t);return is(e)?t.lanes=32:t.lanes=536870912,null}var d=n.children;return n=n.fallback,l?(Da(),l=t.mode,d=Ii({mode:"hidden",children:d},l),n=un(n,l,a,null),d.return=t,n.return=t,d.sibling=n,t.child=d,n=t.child,n.memoizedState=So(a),n.childLanes=ko(e,c,a),t.memoizedState=xo,Ul(null,n)):(Na(t),Eo(t,d))}var y=e.memoizedState;if(y!==null&&(d=y.dehydrated,d!==null)){if(i)t.flags&256?(Na(t),t.flags&=-257,t=wo(e,t,a)):t.memoizedState!==null?(Da(),t.child=e.child,t.flags|=128,t=null):(Da(),d=n.fallback,l=t.mode,n=Ii({mode:"visible",children:n.children},l),d=un(d,l,a,null),d.flags|=2,n.return=t,d.return=t,n.sibling=d,t.child=n,mn(t,e.child,null,a),n=t.child,n.memoizedState=So(a),n.childLanes=ko(e,c,a),t.memoizedState=xo,t=Ul(null,n));else if(Na(t),is(d)){if(c=d.nextSibling&&d.nextSibling.dataset,c)var T=c.dgst;c=T,n=Error(o(419)),n.stack="",n.digest=c,El({value:n,source:null,stack:null}),t=wo(e,t,a)}else if(Ze||qn(e,t,a,!1),c=(a&e.childLanes)!==0,Ze||c){if(c=Oe,c!==null&&(n=nc(c,a),n!==0&&n!==y.retryLane))throw y.retryLane=n,ln(e,n),_t(c,e,n),vo;ls(d)||ru(),t=wo(e,t,a)}else ls(d)?(t.flags|=192,t.child=e.child,t=null):(e=y.treeContext,Ce=Lt(d.nextSibling),tt=t,pe=!0,ja=null,Ut=!1,e!==null&&Pc(t,e),t=Eo(t,n.children),t.flags|=4096);return t}return l?(Da(),d=n.fallback,l=t.mode,y=e.child,T=y.sibling,n=ia(y,{mode:"hidden",children:n.children}),n.subtreeFlags=y.subtreeFlags&65011712,T!==null?d=ia(T,d):(d=un(d,l,a,null),d.flags|=2),d.return=t,n.return=t,n.sibling=d,t.child=n,Ul(null,n),n=t.child,d=e.child.memoizedState,d===null?d=So(a):(l=d.cachePool,l!==null?(y=Xe._currentValue,l=l.parent!==y?{parent:y,pool:y}:l):l=uf(),d={baseLanes:d.baseLanes|a,cachePool:l}),n.memoizedState=d,n.childLanes=ko(e,c,a),t.memoizedState=xo,Ul(e.child,n)):(Na(t),a=e.child,e=a.sibling,a=ia(a,{mode:"visible",children:n.children}),a.return=t,a.sibling=null,e!==null&&(c=t.deletions,c===null?(t.deletions=[e],t.flags|=16):c.push(e)),t.child=a,t.memoizedState=null,a)}function Eo(e,t){return t=Ii({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Ii(e,t){return e=St(22,e,null,t),e.lanes=0,e}function wo(e,t,a){return mn(t,e.child,null,a),e=Eo(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function vd(e,t,a){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),Hr(e.return,t,a)}function To(e,t,a,n,l,i){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:a,tailMode:l,treeForkCount:i}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=n,c.tail=a,c.tailMode=l,c.treeForkCount=i)}function bd(e,t,a){var n=t.pendingProps,l=n.revealOrder,i=n.tail;n=n.children;var c=Ye.current,d=(c&2)!==0;if(d?(c=c&1|2,t.flags|=128):c&=1,G(Ye,c),nt(e,t,n,a),n=pe?kl:0,!d&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&vd(e,a,t);else if(e.tag===19)vd(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(l){case"forwards":for(a=t.child,l=null;a!==null;)e=a.alternate,e!==null&&Bi(e)===null&&(l=a),a=a.sibling;a=l,a===null?(l=t.child,t.child=null):(l=a.sibling,a.sibling=null),To(t,!1,l,a,i,n);break;case"backwards":case"unstable_legacy-backwards":for(a=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&Bi(e)===null){t.child=l;break}e=l.sibling,l.sibling=a,a=l,l=e}To(t,!0,a,null,i,n);break;case"together":To(t,!1,null,null,void 0,n);break;default:t.memoizedState=null}return t.child}function fa(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),qa|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(qn(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,a=ia(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=ia(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function jo(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Ci(e)))}function X_(e,t,a){switch(t.tag){case 3:ot(t,t.stateNode.containerInfo),Aa(t,Xe,e.memoizedState.cache),rn();break;case 27:case 5:ol(t);break;case 4:ot(t,t.stateNode.containerInfo);break;case 10:Aa(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Fr(t),null;break;case 13:var n=t.memoizedState;if(n!==null)return n.dehydrated!==null?(Na(t),t.flags|=128,null):(a&t.child.childLanes)!==0?gd(e,t,a):(Na(t),e=fa(e,t,a),e!==null?e.sibling:null);Na(t);break;case 19:var l=(e.flags&128)!==0;if(n=(a&t.childLanes)!==0,n||(qn(e,t,a,!1),n=(a&t.childLanes)!==0),l){if(n)return bd(e,t,a);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),G(Ye,Ye.current),n)break;return null;case 22:return t.lanes=0,dd(e,t,a,t.pendingProps);case 24:Aa(t,Xe,e.memoizedState.cache)}return fa(e,t,a)}function xd(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)Ze=!0;else{if(!jo(e,a)&&(t.flags&128)===0)return Ze=!1,X_(e,t,a);Ze=(e.flags&131072)!==0}else Ze=!1,pe&&(t.flags&1048576)!==0&&Ic(t,kl,t.index);switch(t.lanes=0,t.tag){case 16:e:{var n=t.pendingProps;if(e=fn(t.elementType),t.type=e,typeof e=="function")Or(e)?(n=pn(e,n),t.tag=1,t=_d(null,t,e,n,a)):(t.tag=0,t=bo(null,t,e,n,a));else{if(e!=null){var l=e.$$typeof;if(l===_e){t.tag=11,t=sd(null,t,e,n,a);break e}else if(l===W){t.tag=14,t=cd(null,t,e,n,a);break e}}throw t=rt(e)||e,Error(o(306,t,""))}}return t;case 0:return bo(e,t,t.type,t.pendingProps,a);case 1:return n=t.type,l=pn(n,t.pendingProps),_d(e,t,n,l,a);case 3:e:{if(ot(t,t.stateNode.containerInfo),e===null)throw Error(o(387));n=t.pendingProps;var i=t.memoizedState;l=i.element,Zr(e,t),Ol(t,n,null,a);var c=t.memoizedState;if(n=c.cache,Aa(t,Xe,n),n!==i.cache&&Br(t,[Xe],a,!0),zl(),n=c.element,i.isDehydrated)if(i={element:n,isDehydrated:!1,cache:c.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=yd(e,t,n,a);break e}else if(n!==l){l=Nt(Error(o(424)),t),El(l),t=yd(e,t,n,a);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Ce=Lt(e.firstChild),tt=t,pe=!0,ja=null,Ut=!0,a=df(t,null,n,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(rn(),n===l){t=fa(e,t,a);break e}nt(e,t,n,a)}t=t.child}return t;case 26:return Fi(e,t),e===null?(a=Cm(t.type,null,t.pendingProps,null))?t.memoizedState=a:pe||(a=t.type,e=t.pendingProps,n=hu(se.current).createElement(a),n[et]=t,n[ct]=e,lt(n,a,e),Fe(n),t.stateNode=n):t.memoizedState=Cm(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ol(t),e===null&&pe&&(n=t.stateNode=Am(t.type,t.pendingProps,se.current),tt=t,Ut=!0,l=Ce,Ga(t.type)?(us=l,Ce=Lt(n.firstChild)):Ce=l),nt(e,t,t.pendingProps.children,a),Fi(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&pe&&((l=n=Ce)&&(n=by(n,t.type,t.pendingProps,Ut),n!==null?(t.stateNode=n,tt=t,Ce=Lt(n.firstChild),Ut=!1,l=!0):l=!1),l||Ra(t)),ol(t),l=t.type,i=t.pendingProps,c=e!==null?e.memoizedProps:null,n=i.children,ts(l,i)?n=null:c!==null&&ts(l,c)&&(t.flags|=32),t.memoizedState!==null&&(l=Pr(e,t,M_,null,null,a),Fl._currentValue=l),Fi(e,t),nt(e,t,n,a),t.child;case 6:return e===null&&pe&&((e=a=Ce)&&(a=xy(a,t.pendingProps,Ut),a!==null?(t.stateNode=a,tt=t,Ce=null,e=!0):e=!1),e||Ra(t)),null;case 13:return gd(e,t,a);case 4:return ot(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=mn(t,null,n,a):nt(e,t,n,a),t.child;case 11:return sd(e,t,t.type,t.pendingProps,a);case 7:return nt(e,t,t.pendingProps,a),t.child;case 8:return nt(e,t,t.pendingProps.children,a),t.child;case 12:return nt(e,t,t.pendingProps.children,a),t.child;case 10:return n=t.pendingProps,Aa(t,t.type,n.value),nt(e,t,n.children,a),t.child;case 9:return l=t.type._context,n=t.pendingProps.children,sn(t),l=at(l),n=n(l),t.flags|=1,nt(e,t,n,a),t.child;case 14:return cd(e,t,t.type,t.pendingProps,a);case 15:return fd(e,t,t.type,t.pendingProps,a);case 19:return bd(e,t,a);case 31:return V_(e,t,a);case 22:return dd(e,t,a,t.pendingProps);case 24:return sn(t),n=at(Xe),e===null?(l=Vr(),l===null&&(l=Oe,i=Yr(),l.pooledCache=i,i.refCount++,i!==null&&(l.pooledCacheLanes|=a),l=i),t.memoizedState={parent:n,cache:l},Qr(t),Aa(t,Xe,l)):((e.lanes&a)!==0&&(Zr(e,t),Ol(t,null,null,a),zl()),l=e.memoizedState,i=t.memoizedState,l.parent!==n?(l={parent:n,cache:n},t.memoizedState=l,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=l),Aa(t,Xe,n)):(n=i.cache,Aa(t,Xe,n),n!==l.cache&&Br(t,[Xe],a,!0))),nt(e,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function da(e){e.flags|=4}function Ro(e,t,a,n,l){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(l&335544128)===l)if(e.stateNode.complete)e.flags|=8192;else if(Jd())e.flags|=8192;else throw dn=Ui,Xr}else e.flags&=-16777217}function Sd(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!qm(t))if(Jd())e.flags|=8192;else throw dn=Ui,Xr}function Pi(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?ec():536870912,e.lanes|=t,$n|=t)}function ql(e,t){if(!pe)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var n=null;a!==null;)a.alternate!==null&&(n=a),a=a.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function Ne(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,n=0;if(t)for(var l=e.child;l!==null;)a|=l.lanes|l.childLanes,n|=l.subtreeFlags&65011712,n|=l.flags&65011712,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)a|=l.lanes|l.childLanes,n|=l.subtreeFlags,n|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=n,e.childLanes=a,t}function Q_(e,t,a){var n=t.pendingProps;switch(Mr(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ne(t),null;case 1:return Ne(t),null;case 3:return a=t.stateNode,n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),oa(Xe),Be(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Un(t)?da(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,qr())),Ne(t),null;case 26:var l=t.type,i=t.memoizedState;return e===null?(da(t),i!==null?(Ne(t),Sd(t,i)):(Ne(t),Ro(t,l,null,n,a))):i?i!==e.memoizedState?(da(t),Ne(t),Sd(t,i)):(Ne(t),t.flags&=-16777217):(e=e.memoizedProps,e!==n&&da(t),Ne(t),Ro(t,l,e,n,a)),null;case 27:if(ci(t),a=se.current,l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&da(t);else{if(!n){if(t.stateNode===null)throw Error(o(166));return Ne(t),null}e=Z.current,Un(t)?ef(t):(e=Am(l,n,a),t.stateNode=e,da(t))}return Ne(t),null;case 5:if(ci(t),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&da(t);else{if(!n){if(t.stateNode===null)throw Error(o(166));return Ne(t),null}if(i=Z.current,Un(t))ef(t);else{var c=hu(se.current);switch(i){case 1:i=c.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:i=c.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":i=c.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":i=c.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":i=c.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof n.is=="string"?c.createElement("select",{is:n.is}):c.createElement("select"),n.multiple?i.multiple=!0:n.size&&(i.size=n.size);break;default:i=typeof n.is=="string"?c.createElement(l,{is:n.is}):c.createElement(l)}}i[et]=t,i[ct]=n;e:for(c=t.child;c!==null;){if(c.tag===5||c.tag===6)i.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===t)break e;for(;c.sibling===null;){if(c.return===null||c.return===t)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}t.stateNode=i;e:switch(lt(i,l,n),l){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&da(t)}}return Ne(t),Ro(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==n&&da(t);else{if(typeof n!="string"&&t.stateNode===null)throw Error(o(166));if(e=se.current,Un(t)){if(e=t.stateNode,a=t.memoizedProps,n=null,l=tt,l!==null)switch(l.tag){case 27:case 5:n=l.memoizedProps}e[et]=t,e=!!(e.nodeValue===a||n!==null&&n.suppressHydrationWarning===!0||gm(e.nodeValue,a)),e||Ra(t,!0)}else e=hu(e).createTextNode(n),e[et]=t,t.stateNode=e}return Ne(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(n=Un(t),a!==null){if(e===null){if(!n)throw Error(o(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(557));e[et]=t}else rn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ne(t),e=!1}else a=qr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(Et(t),t):(Et(t),null);if((t.flags&128)!==0)throw Error(o(558))}return Ne(t),null;case 13:if(n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(l=Un(t),n!==null&&n.dehydrated!==null){if(e===null){if(!l)throw Error(o(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(o(317));l[et]=t}else rn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ne(t),l=!1}else l=qr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),l=!0;if(!l)return t.flags&256?(Et(t),t):(Et(t),null)}return Et(t),(t.flags&128)!==0?(t.lanes=a,t):(a=n!==null,e=e!==null&&e.memoizedState!==null,a&&(n=t.child,l=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(l=n.alternate.memoizedState.cachePool.pool),i=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),i!==l&&(n.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),Pi(t,t.updateQueue),Ne(t),null);case 4:return Be(),e===null&&Wo(t.stateNode.containerInfo),Ne(t),null;case 10:return oa(t.type),Ne(t),null;case 19:if(D(Ye),n=t.memoizedState,n===null)return Ne(t),null;if(l=(t.flags&128)!==0,i=n.rendering,i===null)if(l)ql(n,!1);else{if(He!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=Bi(e),i!==null){for(t.flags|=128,ql(n,!1),e=i.updateQueue,t.updateQueue=e,Pi(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)$c(a,e),a=a.sibling;return G(Ye,Ye.current&1|2),pe&&ua(t,n.treeForkCount),t.child}e=e.sibling}n.tail!==null&>()>lu&&(t.flags|=128,l=!0,ql(n,!1),t.lanes=4194304)}else{if(!l)if(e=Bi(i),e!==null){if(t.flags|=128,l=!0,e=e.updateQueue,t.updateQueue=e,Pi(t,e),ql(n,!0),n.tail===null&&n.tailMode==="hidden"&&!i.alternate&&!pe)return Ne(t),null}else 2*gt()-n.renderingStartTime>lu&&a!==536870912&&(t.flags|=128,l=!0,ql(n,!1),t.lanes=4194304);n.isBackwards?(i.sibling=t.child,t.child=i):(e=n.last,e!==null?e.sibling=i:t.child=i,n.last=i)}return n.tail!==null?(e=n.tail,n.rendering=e,n.tail=e.sibling,n.renderingStartTime=gt(),e.sibling=null,a=Ye.current,G(Ye,l?a&1|2:a&1),pe&&ua(t,n.treeForkCount),e):(Ne(t),null);case 22:case 23:return Et(t),Wr(),n=t.memoizedState!==null,e!==null?e.memoizedState!==null!==n&&(t.flags|=8192):n&&(t.flags|=8192),n?(a&536870912)!==0&&(t.flags&128)===0&&(Ne(t),t.subtreeFlags&6&&(t.flags|=8192)):Ne(t),a=t.updateQueue,a!==null&&Pi(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),n=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),n!==a&&(t.flags|=2048),e!==null&&D(cn),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),oa(Xe),Ne(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function Z_(e,t){switch(Mr(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return oa(Xe),Be(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ci(t),null;case 31:if(t.memoizedState!==null){if(Et(t),t.alternate===null)throw Error(o(340));rn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Et(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));rn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return D(Ye),null;case 4:return Be(),null;case 10:return oa(t.type),null;case 22:case 23:return Et(t),Wr(),e!==null&&D(cn),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return oa(Xe),null;case 25:return null;default:return null}}function kd(e,t){switch(Mr(t),t.tag){case 3:oa(Xe),Be();break;case 26:case 27:case 5:ci(t);break;case 4:Be();break;case 31:t.memoizedState!==null&&Et(t);break;case 13:Et(t);break;case 19:D(Ye);break;case 10:oa(t.type);break;case 22:case 23:Et(t),Wr(),e!==null&&D(cn);break;case 24:oa(Xe)}}function Ll(e,t){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var l=n.next;a=l;do{if((a.tag&e)===e){n=void 0;var i=a.create,c=a.inst;n=i(),c.destroy=n}a=a.next}while(a!==l)}}catch(d){Ee(t,t.return,d)}}function Ma(e,t,a){try{var n=t.updateQueue,l=n!==null?n.lastEffect:null;if(l!==null){var i=l.next;n=i;do{if((n.tag&e)===e){var c=n.inst,d=c.destroy;if(d!==void 0){c.destroy=void 0,l=t;var y=a,T=d;try{T()}catch(z){Ee(l,y,z)}}}n=n.next}while(n!==i)}}catch(z){Ee(t,t.return,z)}}function Ed(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{hf(t,a)}catch(n){Ee(e,e.return,n)}}}function wd(e,t,a){a.props=pn(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(n){Ee(e,t,n)}}function Hl(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:n=e.stateNode;break;default:n=e.stateNode}typeof a=="function"?e.refCleanup=a(n):a.current=n}}catch(l){Ee(e,t,l)}}function Ft(e,t){var a=e.ref,n=e.refCleanup;if(a!==null)if(typeof n=="function")try{n()}catch(l){Ee(e,t,l)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(l){Ee(e,t,l)}else a.current=null}function Td(e){var t=e.type,a=e.memoizedProps,n=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break e;case"img":a.src?n.src=a.src:a.srcSet&&(n.srcset=a.srcSet)}}catch(l){Ee(e,e.return,l)}}function Ao(e,t,a){try{var n=e.stateNode;hy(n,e.type,a,t),n[ct]=t}catch(l){Ee(e,e.return,l)}}function jd(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Ga(e.type)||e.tag===4}function zo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||jd(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Ga(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Oo(e,t,a){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=na));else if(n!==4&&(n===27&&Ga(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(Oo(e,t,a),e=e.sibling;e!==null;)Oo(e,t,a),e=e.sibling}function eu(e,t,a){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(n!==4&&(n===27&&Ga(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(eu(e,t,a),e=e.sibling;e!==null;)eu(e,t,a),e=e.sibling}function Rd(e){var t=e.stateNode,a=e.memoizedProps;try{for(var n=e.type,l=t.attributes;l.length;)t.removeAttributeNode(l[0]);lt(t,n,a),t[et]=e,t[ct]=a}catch(i){Ee(e,e.return,i)}}var ma=!1,Ke=!1,Co=!1,Ad=typeof WeakSet=="function"?WeakSet:Set,Ie=null;function K_(e,t){if(e=e.containerInfo,Po=xu,e=Bc(e),Er(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var n=a.getSelection&&a.getSelection();if(n&&n.rangeCount!==0){a=n.anchorNode;var l=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{a.nodeType,i.nodeType}catch{a=null;break e}var c=0,d=-1,y=-1,T=0,z=0,N=e,R=null;t:for(;;){for(var A;N!==a||l!==0&&N.nodeType!==3||(d=c+l),N!==i||n!==0&&N.nodeType!==3||(y=c+n),N.nodeType===3&&(c+=N.nodeValue.length),(A=N.firstChild)!==null;)R=N,N=A;for(;;){if(N===e)break t;if(R===a&&++T===l&&(d=c),R===i&&++z===n&&(y=c),(A=N.nextSibling)!==null)break;N=R,R=N.parentNode}N=A}a=d===-1||y===-1?null:{start:d,end:y}}else a=null}a=a||{start:0,end:0}}else a=null;for(es={focusedElem:e,selectionRange:a},xu=!1,Ie=t;Ie!==null;)if(t=Ie,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Ie=e;else for(;Ie!==null;){switch(t=Ie,i=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(a=0;a<e.length;a++)l=e[a],l.ref.impl=l.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&i!==null){e=void 0,a=t,l=i.memoizedProps,i=i.memoizedState,n=a.stateNode;try{var Q=pn(a.type,l);e=n.getSnapshotBeforeUpdate(Q,i),n.__reactInternalSnapshotBeforeUpdate=e}catch(P){Ee(a,a.return,P)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,a=e.nodeType,a===9)ns(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":ns(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(o(163))}if(e=t.sibling,e!==null){e.return=t.return,Ie=e;break}Ie=t.return}}function zd(e,t,a){var n=a.flags;switch(a.tag){case 0:case 11:case 15:pa(e,a),n&4&&Ll(5,a);break;case 1:if(pa(e,a),n&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(c){Ee(a,a.return,c)}else{var l=pn(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(l,t,e.__reactInternalSnapshotBeforeUpdate)}catch(c){Ee(a,a.return,c)}}n&64&&Ed(a),n&512&&Hl(a,a.return);break;case 3:if(pa(e,a),n&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{hf(e,t)}catch(c){Ee(a,a.return,c)}}break;case 27:t===null&&n&4&&Rd(a);case 26:case 5:pa(e,a),t===null&&n&4&&Td(a),n&512&&Hl(a,a.return);break;case 12:pa(e,a);break;case 31:pa(e,a),n&4&&Nd(e,a);break;case 13:pa(e,a),n&4&&Dd(e,a),n&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=ay.bind(null,a),Sy(e,a))));break;case 22:if(n=a.memoizedState!==null||ma,!n){t=t!==null&&t.memoizedState!==null||Ke,l=ma;var i=Ke;ma=n,(Ke=t)&&!i?_a(e,a,(a.subtreeFlags&8772)!==0):pa(e,a),ma=l,Ke=i}break;case 30:break;default:pa(e,a)}}function Od(e){var t=e.alternate;t!==null&&(e.alternate=null,Od(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&rr(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Me=null,dt=!1;function ha(e,t,a){for(a=a.child;a!==null;)Cd(e,t,a),a=a.sibling}function Cd(e,t,a){if(vt&&typeof vt.onCommitFiberUnmount=="function")try{vt.onCommitFiberUnmount(sl,a)}catch{}switch(a.tag){case 26:Ke||Ft(a,t),ha(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:Ke||Ft(a,t);var n=Me,l=dt;Ga(a.type)&&(Me=a.stateNode,dt=!1),ha(e,t,a),Jl(a.stateNode),Me=n,dt=l;break;case 5:Ke||Ft(a,t);case 6:if(n=Me,l=dt,Me=null,ha(e,t,a),Me=n,dt=l,Me!==null)if(dt)try{(Me.nodeType===9?Me.body:Me.nodeName==="HTML"?Me.ownerDocument.body:Me).removeChild(a.stateNode)}catch(i){Ee(a,t,i)}else try{Me.removeChild(a.stateNode)}catch(i){Ee(a,t,i)}break;case 18:Me!==null&&(dt?(e=Me,Em(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),nl(e)):Em(Me,a.stateNode));break;case 4:n=Me,l=dt,Me=a.stateNode.containerInfo,dt=!0,ha(e,t,a),Me=n,dt=l;break;case 0:case 11:case 14:case 15:Ma(2,a,t),Ke||Ma(4,a,t),ha(e,t,a);break;case 1:Ke||(Ft(a,t),n=a.stateNode,typeof n.componentWillUnmount=="function"&&wd(a,t,n)),ha(e,t,a);break;case 21:ha(e,t,a);break;case 22:Ke=(n=Ke)||a.memoizedState!==null,ha(e,t,a),Ke=n;break;default:ha(e,t,a)}}function Nd(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{nl(e)}catch(a){Ee(t,t.return,a)}}}function Dd(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{nl(e)}catch(a){Ee(t,t.return,a)}}function J_(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Ad),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Ad),t;default:throw Error(o(435,e.tag))}}function tu(e,t){var a=J_(e);t.forEach(function(n){if(!a.has(n)){a.add(n);var l=ny.bind(null,e,n);n.then(l,l)}})}function mt(e,t){var a=t.deletions;if(a!==null)for(var n=0;n<a.length;n++){var l=a[n],i=e,c=t,d=c;e:for(;d!==null;){switch(d.tag){case 27:if(Ga(d.type)){Me=d.stateNode,dt=!1;break e}break;case 5:Me=d.stateNode,dt=!1;break e;case 3:case 4:Me=d.stateNode.containerInfo,dt=!0;break e}d=d.return}if(Me===null)throw Error(o(160));Cd(i,c,l),Me=null,dt=!1,i=l.alternate,i!==null&&(i.return=null),l.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Md(t,e),t=t.sibling}var Xt=null;function Md(e,t){var a=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:mt(t,e),ht(e),n&4&&(Ma(3,e,e.return),Ll(3,e),Ma(5,e,e.return));break;case 1:mt(t,e),ht(e),n&512&&(Ke||a===null||Ft(a,a.return)),n&64&&ma&&(e=e.updateQueue,e!==null&&(n=e.callbacks,n!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?n:a.concat(n))));break;case 26:var l=Xt;if(mt(t,e),ht(e),n&512&&(Ke||a===null||Ft(a,a.return)),n&4){var i=a!==null?a.memoizedState:null;if(n=e.memoizedState,a===null)if(n===null)if(e.stateNode===null){e:{n=e.type,a=e.memoizedProps,l=l.ownerDocument||l;t:switch(n){case"title":i=l.getElementsByTagName("title")[0],(!i||i[dl]||i[et]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=l.createElement(n),l.head.insertBefore(i,l.querySelector("head > title"))),lt(i,n,a),i[et]=e,Fe(i),n=i;break e;case"link":var c=Mm("link","href",l).get(n+(a.href||""));if(c){for(var d=0;d<c.length;d++)if(i=c[d],i.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&i.getAttribute("rel")===(a.rel==null?null:a.rel)&&i.getAttribute("title")===(a.title==null?null:a.title)&&i.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){c.splice(d,1);break t}}i=l.createElement(n),lt(i,n,a),l.head.appendChild(i);break;case"meta":if(c=Mm("meta","content",l).get(n+(a.content||""))){for(d=0;d<c.length;d++)if(i=c[d],i.getAttribute("content")===(a.content==null?null:""+a.content)&&i.getAttribute("name")===(a.name==null?null:a.name)&&i.getAttribute("property")===(a.property==null?null:a.property)&&i.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&i.getAttribute("charset")===(a.charSet==null?null:a.charSet)){c.splice(d,1);break t}}i=l.createElement(n),lt(i,n,a),l.head.appendChild(i);break;default:throw Error(o(468,n))}i[et]=e,Fe(i),n=i}e.stateNode=n}else Um(l,e.type,e.stateNode);else e.stateNode=Dm(l,n,e.memoizedProps);else i!==n?(i===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):i.count--,n===null?Um(l,e.type,e.stateNode):Dm(l,n,e.memoizedProps)):n===null&&e.stateNode!==null&&Ao(e,e.memoizedProps,a.memoizedProps)}break;case 27:mt(t,e),ht(e),n&512&&(Ke||a===null||Ft(a,a.return)),a!==null&&n&4&&Ao(e,e.memoizedProps,a.memoizedProps);break;case 5:if(mt(t,e),ht(e),n&512&&(Ke||a===null||Ft(a,a.return)),e.flags&32){l=e.stateNode;try{Tn(l,"")}catch(Q){Ee(e,e.return,Q)}}n&4&&e.stateNode!=null&&(l=e.memoizedProps,Ao(e,l,a!==null?a.memoizedProps:l)),n&1024&&(Co=!0);break;case 6:if(mt(t,e),ht(e),n&4){if(e.stateNode===null)throw Error(o(162));n=e.memoizedProps,a=e.stateNode;try{a.nodeValue=n}catch(Q){Ee(e,e.return,Q)}}break;case 3:if(yu=null,l=Xt,Xt=pu(t.containerInfo),mt(t,e),Xt=l,ht(e),n&4&&a!==null&&a.memoizedState.isDehydrated)try{nl(t.containerInfo)}catch(Q){Ee(e,e.return,Q)}Co&&(Co=!1,Ud(e));break;case 4:n=Xt,Xt=pu(e.stateNode.containerInfo),mt(t,e),ht(e),Xt=n;break;case 12:mt(t,e),ht(e);break;case 31:mt(t,e),ht(e),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,tu(e,n)));break;case 13:mt(t,e),ht(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(nu=gt()),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,tu(e,n)));break;case 22:l=e.memoizedState!==null;var y=a!==null&&a.memoizedState!==null,T=ma,z=Ke;if(ma=T||l,Ke=z||y,mt(t,e),Ke=z,ma=T,ht(e),n&8192)e:for(t=e.stateNode,t._visibility=l?t._visibility&-2:t._visibility|1,l&&(a===null||y||ma||Ke||_n(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){y=a=t;try{if(i=y.stateNode,l)c=i.style,typeof c.setProperty=="function"?c.setProperty("display","none","important"):c.display="none";else{d=y.stateNode;var N=y.memoizedProps.style,R=N!=null&&N.hasOwnProperty("display")?N.display:null;d.style.display=R==null||typeof R=="boolean"?"":(""+R).trim()}}catch(Q){Ee(y,y.return,Q)}}}else if(t.tag===6){if(a===null){y=t;try{y.stateNode.nodeValue=l?"":y.memoizedProps}catch(Q){Ee(y,y.return,Q)}}}else if(t.tag===18){if(a===null){y=t;try{var A=y.stateNode;l?wm(A,!0):wm(y.stateNode,!1)}catch(Q){Ee(y,y.return,Q)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}n&4&&(n=e.updateQueue,n!==null&&(a=n.retryQueue,a!==null&&(n.retryQueue=null,tu(e,a))));break;case 19:mt(t,e),ht(e),n&4&&(n=e.updateQueue,n!==null&&(e.updateQueue=null,tu(e,n)));break;case 30:break;case 21:break;default:mt(t,e),ht(e)}}function ht(e){var t=e.flags;if(t&2){try{for(var a,n=e.return;n!==null;){if(jd(n)){a=n;break}n=n.return}if(a==null)throw Error(o(160));switch(a.tag){case 27:var l=a.stateNode,i=zo(e);eu(e,i,l);break;case 5:var c=a.stateNode;a.flags&32&&(Tn(c,""),a.flags&=-33);var d=zo(e);eu(e,d,c);break;case 3:case 4:var y=a.stateNode.containerInfo,T=zo(e);Oo(e,T,y);break;default:throw Error(o(161))}}catch(z){Ee(e,e.return,z)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Ud(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Ud(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function pa(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)zd(e,t.alternate,t),t=t.sibling}function _n(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Ma(4,t,t.return),_n(t);break;case 1:Ft(t,t.return);var a=t.stateNode;typeof a.componentWillUnmount=="function"&&wd(t,t.return,a),_n(t);break;case 27:Jl(t.stateNode);case 26:case 5:Ft(t,t.return),_n(t);break;case 22:t.memoizedState===null&&_n(t);break;case 30:_n(t);break;default:_n(t)}e=e.sibling}}function _a(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var n=t.alternate,l=e,i=t,c=i.flags;switch(i.tag){case 0:case 11:case 15:_a(l,i,a),Ll(4,i);break;case 1:if(_a(l,i,a),n=i,l=n.stateNode,typeof l.componentDidMount=="function")try{l.componentDidMount()}catch(T){Ee(n,n.return,T)}if(n=i,l=n.updateQueue,l!==null){var d=n.stateNode;try{var y=l.shared.hiddenCallbacks;if(y!==null)for(l.shared.hiddenCallbacks=null,l=0;l<y.length;l++)mf(y[l],d)}catch(T){Ee(n,n.return,T)}}a&&c&64&&Ed(i),Hl(i,i.return);break;case 27:Rd(i);case 26:case 5:_a(l,i,a),a&&n===null&&c&4&&Td(i),Hl(i,i.return);break;case 12:_a(l,i,a);break;case 31:_a(l,i,a),a&&c&4&&Nd(l,i);break;case 13:_a(l,i,a),a&&c&4&&Dd(l,i);break;case 22:i.memoizedState===null&&_a(l,i,a),Hl(i,i.return);break;case 30:break;default:_a(l,i,a)}t=t.sibling}}function No(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&wl(a))}function Do(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&wl(e))}function Qt(e,t,a,n){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)qd(e,t,a,n),t=t.sibling}function qd(e,t,a,n){var l=t.flags;switch(t.tag){case 0:case 11:case 15:Qt(e,t,a,n),l&2048&&Ll(9,t);break;case 1:Qt(e,t,a,n);break;case 3:Qt(e,t,a,n),l&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&wl(e)));break;case 12:if(l&2048){Qt(e,t,a,n),e=t.stateNode;try{var i=t.memoizedProps,c=i.id,d=i.onPostCommit;typeof d=="function"&&d(c,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(y){Ee(t,t.return,y)}}else Qt(e,t,a,n);break;case 31:Qt(e,t,a,n);break;case 13:Qt(e,t,a,n);break;case 23:break;case 22:i=t.stateNode,c=t.alternate,t.memoizedState!==null?i._visibility&2?Qt(e,t,a,n):Bl(e,t):i._visibility&2?Qt(e,t,a,n):(i._visibility|=2,Zn(e,t,a,n,(t.subtreeFlags&10256)!==0||!1)),l&2048&&No(c,t);break;case 24:Qt(e,t,a,n),l&2048&&Do(t.alternate,t);break;default:Qt(e,t,a,n)}}function Zn(e,t,a,n,l){for(l=l&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var i=e,c=t,d=a,y=n,T=c.flags;switch(c.tag){case 0:case 11:case 15:Zn(i,c,d,y,l),Ll(8,c);break;case 23:break;case 22:var z=c.stateNode;c.memoizedState!==null?z._visibility&2?Zn(i,c,d,y,l):Bl(i,c):(z._visibility|=2,Zn(i,c,d,y,l)),l&&T&2048&&No(c.alternate,c);break;case 24:Zn(i,c,d,y,l),l&&T&2048&&Do(c.alternate,c);break;default:Zn(i,c,d,y,l)}t=t.sibling}}function Bl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,n=t,l=n.flags;switch(n.tag){case 22:Bl(a,n),l&2048&&No(n.alternate,n);break;case 24:Bl(a,n),l&2048&&Do(n.alternate,n);break;default:Bl(a,n)}t=t.sibling}}var Yl=8192;function Kn(e,t,a){if(e.subtreeFlags&Yl)for(e=e.child;e!==null;)Ld(e,t,a),e=e.sibling}function Ld(e,t,a){switch(e.tag){case 26:Kn(e,t,a),e.flags&Yl&&e.memoizedState!==null&&Dy(a,Xt,e.memoizedState,e.memoizedProps);break;case 5:Kn(e,t,a);break;case 3:case 4:var n=Xt;Xt=pu(e.stateNode.containerInfo),Kn(e,t,a),Xt=n;break;case 22:e.memoizedState===null&&(n=e.alternate,n!==null&&n.memoizedState!==null?(n=Yl,Yl=16777216,Kn(e,t,a),Yl=n):Kn(e,t,a));break;default:Kn(e,t,a)}}function Hd(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Gl(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var n=t[a];Ie=n,Yd(n,e)}Hd(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Bd(e),e=e.sibling}function Bd(e){switch(e.tag){case 0:case 11:case 15:Gl(e),e.flags&2048&&Ma(9,e,e.return);break;case 3:Gl(e);break;case 12:Gl(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,au(e)):Gl(e);break;default:Gl(e)}}function au(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var n=t[a];Ie=n,Yd(n,e)}Hd(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Ma(8,t,t.return),au(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,au(t));break;default:au(t)}e=e.sibling}}function Yd(e,t){for(;Ie!==null;){var a=Ie;switch(a.tag){case 0:case 11:case 15:Ma(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var n=a.memoizedState.cachePool.pool;n!=null&&n.refCount++}break;case 24:wl(a.memoizedState.cache)}if(n=a.child,n!==null)n.return=a,Ie=n;else e:for(a=e;Ie!==null;){n=Ie;var l=n.sibling,i=n.return;if(Od(n),n===a){Ie=null;break e}if(l!==null){l.return=i,Ie=l;break e}Ie=i}}}var $_={getCacheForType:function(e){var t=at(Xe),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return at(Xe).controller.signal}},W_=typeof WeakMap=="function"?WeakMap:Map,be=0,Oe=null,ce=null,de=0,ke=0,wt=null,Ua=!1,Jn=!1,Mo=!1,ya=0,He=0,qa=0,yn=0,Uo=0,Tt=0,$n=0,Vl=null,pt=null,qo=!1,nu=0,Gd=0,lu=1/0,iu=null,La=null,$e=0,Ha=null,Wn=null,ga=0,Lo=0,Ho=null,Vd=null,Xl=0,Bo=null;function jt(){return(be&2)!==0&&de!==0?de&-de:O.T!==null?Zo():lc()}function Xd(){if(Tt===0)if((de&536870912)===0||pe){var e=mi;mi<<=1,(mi&3932160)===0&&(mi=262144),Tt=e}else Tt=536870912;return e=kt.current,e!==null&&(e.flags|=32),Tt}function _t(e,t,a){(e===Oe&&(ke===2||ke===9)||e.cancelPendingCommit!==null)&&(Fn(e,0),Ba(e,de,Tt,!1)),fl(e,a),((be&2)===0||e!==Oe)&&(e===Oe&&((be&2)===0&&(yn|=a),He===4&&Ba(e,de,Tt,!1)),It(e))}function Qd(e,t,a){if((be&6)!==0)throw Error(o(327));var n=!a&&(t&127)===0&&(t&e.expiredLanes)===0||cl(e,t),l=n?P_(e,t):Go(e,t,!0),i=n;do{if(l===0){Jn&&!n&&Ba(e,t,0,!1);break}else{if(a=e.current.alternate,i&&!F_(a)){l=Go(e,t,!1),i=!1;continue}if(l===2){if(i=t,e.errorRecoveryDisabledLanes&i)var c=0;else c=e.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){t=c;e:{var d=e;l=Vl;var y=d.current.memoizedState.isDehydrated;if(y&&(Fn(d,c).flags|=256),c=Go(d,c,!1),c!==2){if(Mo&&!y){d.errorRecoveryDisabledLanes|=i,yn|=i,l=4;break e}i=pt,pt=l,i!==null&&(pt===null?pt=i:pt.push.apply(pt,i))}l=c}if(i=!1,l!==2)continue}}if(l===1){Fn(e,0),Ba(e,t,0,!0);break}e:{switch(n=e,i=l,i){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t)break;case 6:Ba(n,t,Tt,!Ua);break e;case 2:pt=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(l=nu+300-gt(),10<l)){if(Ba(n,t,Tt,!Ua),pi(n,0,!0)!==0)break e;ga=t,n.timeoutHandle=Sm(Zd.bind(null,n,a,pt,iu,qo,t,Tt,yn,$n,Ua,i,"Throttled",-0,0),l);break e}Zd(n,a,pt,iu,qo,t,Tt,yn,$n,Ua,i,null,-0,0)}}break}while(!0);It(e)}function Zd(e,t,a,n,l,i,c,d,y,T,z,N,R,A){if(e.timeoutHandle=-1,N=t.subtreeFlags,N&8192||(N&16785408)===16785408){N={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:na},Ld(t,i,N);var Q=(i&62914560)===i?nu-gt():(i&4194048)===i?Gd-gt():0;if(Q=My(N,Q),Q!==null){ga=i,e.cancelPendingCommit=Q(em.bind(null,e,t,i,a,n,l,c,d,y,z,N,null,R,A)),Ba(e,i,c,!T);return}}em(e,t,i,a,n,l,c,d,y)}function F_(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var n=0;n<a.length;n++){var l=a[n],i=l.getSnapshot;l=l.value;try{if(!xt(i(),l))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ba(e,t,a,n){t&=~Uo,t&=~yn,e.suspendedLanes|=t,e.pingedLanes&=~t,n&&(e.warmLanes|=t),n=e.expirationTimes;for(var l=t;0<l;){var i=31-bt(l),c=1<<i;n[i]=-1,l&=~c}a!==0&&tc(e,a,t)}function uu(){return(be&6)===0?(Ql(0),!1):!0}function Yo(){if(ce!==null){if(ke===0)var e=ce.return;else e=ce,ra=on=null,ao(e),Yn=null,jl=0,e=ce;for(;e!==null;)kd(e.alternate,e),e=e.return;ce=null}}function Fn(e,t){var a=e.timeoutHandle;a!==-1&&(e.timeoutHandle=-1,yy(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),ga=0,Yo(),Oe=e,ce=a=ia(e.current,null),de=t,ke=0,wt=null,Ua=!1,Jn=cl(e,t),Mo=!1,$n=Tt=Uo=yn=qa=He=0,pt=Vl=null,qo=!1,(t&8)!==0&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0<n;){var l=31-bt(n),i=1<<l;t|=e[l],n&=~i}return ya=t,ji(),a}function Kd(e,t){le=null,O.H=Ml,t===Bn||t===Mi?(t=sf(),ke=3):t===Xr?(t=sf(),ke=4):ke=t===vo?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,wt=t,ce===null&&(He=1,$i(e,Nt(t,e.current)))}function Jd(){var e=kt.current;return e===null?!0:(de&4194048)===de?qt===null:(de&62914560)===de||(de&536870912)!==0?e===qt:!1}function $d(){var e=O.H;return O.H=Ml,e===null?Ml:e}function Wd(){var e=O.A;return O.A=$_,e}function ru(){He=4,Ua||(de&4194048)!==de&&kt.current!==null||(Jn=!0),(qa&134217727)===0&&(yn&134217727)===0||Oe===null||Ba(Oe,de,Tt,!1)}function Go(e,t,a){var n=be;be|=2;var l=$d(),i=Wd();(Oe!==e||de!==t)&&(iu=null,Fn(e,t)),t=!1;var c=He;e:do try{if(ke!==0&&ce!==null){var d=ce,y=wt;switch(ke){case 8:Yo(),c=6;break e;case 3:case 2:case 9:case 6:kt.current===null&&(t=!0);var T=ke;if(ke=0,wt=null,In(e,d,y,T),a&&Jn){c=0;break e}break;default:T=ke,ke=0,wt=null,In(e,d,y,T)}}I_(),c=He;break}catch(z){Kd(e,z)}while(!0);return t&&e.shellSuspendCounter++,ra=on=null,be=n,O.H=l,O.A=i,ce===null&&(Oe=null,de=0,ji()),c}function I_(){for(;ce!==null;)Fd(ce)}function P_(e,t){var a=be;be|=2;var n=$d(),l=Wd();Oe!==e||de!==t?(iu=null,lu=gt()+500,Fn(e,t)):Jn=cl(e,t);e:do try{if(ke!==0&&ce!==null){t=ce;var i=wt;t:switch(ke){case 1:ke=0,wt=null,In(e,t,i,1);break;case 2:case 9:if(rf(i)){ke=0,wt=null,Id(t);break}t=function(){ke!==2&&ke!==9||Oe!==e||(ke=7),It(e)},i.then(t,t);break e;case 3:ke=7;break e;case 4:ke=5;break e;case 7:rf(i)?(ke=0,wt=null,Id(t)):(ke=0,wt=null,In(e,t,i,7));break;case 5:var c=null;switch(ce.tag){case 26:c=ce.memoizedState;case 5:case 27:var d=ce;if(c?qm(c):d.stateNode.complete){ke=0,wt=null;var y=d.sibling;if(y!==null)ce=y;else{var T=d.return;T!==null?(ce=T,ou(T)):ce=null}break t}}ke=0,wt=null,In(e,t,i,5);break;case 6:ke=0,wt=null,In(e,t,i,6);break;case 8:Yo(),He=6;break e;default:throw Error(o(462))}}ey();break}catch(z){Kd(e,z)}while(!0);return ra=on=null,O.H=n,O.A=l,be=a,ce!==null?0:(Oe=null,de=0,ji(),He)}function ey(){for(;ce!==null&&!kp();)Fd(ce)}function Fd(e){var t=xd(e.alternate,e,ya);e.memoizedProps=e.pendingProps,t===null?ou(e):ce=t}function Id(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=pd(a,t,t.pendingProps,t.type,void 0,de);break;case 11:t=pd(a,t,t.pendingProps,t.type.render,t.ref,de);break;case 5:ao(t);default:kd(a,t),t=ce=$c(t,ya),t=xd(a,t,ya)}e.memoizedProps=e.pendingProps,t===null?ou(e):ce=t}function In(e,t,a,n){ra=on=null,ao(t),Yn=null,jl=0;var l=t.return;try{if(G_(e,l,t,a,de)){He=1,$i(e,Nt(a,e.current)),ce=null;return}}catch(i){if(l!==null)throw ce=l,i;He=1,$i(e,Nt(a,e.current)),ce=null;return}t.flags&32768?(pe||n===1?e=!0:Jn||(de&536870912)!==0?e=!1:(Ua=e=!0,(n===2||n===9||n===3||n===6)&&(n=kt.current,n!==null&&n.tag===13&&(n.flags|=16384))),Pd(t,e)):ou(t)}function ou(e){var t=e;do{if((t.flags&32768)!==0){Pd(t,Ua);return}e=t.return;var a=Q_(t.alternate,t,ya);if(a!==null){ce=a;return}if(t=t.sibling,t!==null){ce=t;return}ce=t=e}while(t!==null);He===0&&(He=5)}function Pd(e,t){do{var a=Z_(e.alternate,e);if(a!==null){a.flags&=32767,ce=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){ce=e;return}ce=e=a}while(e!==null);He=6,ce=null}function em(e,t,a,n,l,i,c,d,y){e.cancelPendingCommit=null;do su();while($e!==0);if((be&6)!==0)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));if(i=t.lanes|t.childLanes,i|=Ar,Np(e,a,i,c,d,y),e===Oe&&(ce=Oe=null,de=0),Wn=t,Ha=e,ga=a,Lo=i,Ho=l,Vd=n,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,ly(fi,function(){return im(),null})):(e.callbackNode=null,e.callbackPriority=0),n=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||n){n=O.T,O.T=null,l=Y.p,Y.p=2,c=be,be|=4;try{K_(e,t,a)}finally{be=c,Y.p=l,O.T=n}}$e=1,tm(),am(),nm()}}function tm(){if($e===1){$e=0;var e=Ha,t=Wn,a=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||a){a=O.T,O.T=null;var n=Y.p;Y.p=2;var l=be;be|=4;try{Md(t,e);var i=es,c=Bc(e.containerInfo),d=i.focusedElem,y=i.selectionRange;if(c!==d&&d&&d.ownerDocument&&Hc(d.ownerDocument.documentElement,d)){if(y!==null&&Er(d)){var T=y.start,z=y.end;if(z===void 0&&(z=T),"selectionStart"in d)d.selectionStart=T,d.selectionEnd=Math.min(z,d.value.length);else{var N=d.ownerDocument||document,R=N&&N.defaultView||window;if(R.getSelection){var A=R.getSelection(),Q=d.textContent.length,P=Math.min(y.start,Q),Re=y.end===void 0?P:Math.min(y.end,Q);!A.extend&&P>Re&&(c=Re,Re=P,P=c);var E=Lc(d,P),b=Lc(d,Re);if(E&&b&&(A.rangeCount!==1||A.anchorNode!==E.node||A.anchorOffset!==E.offset||A.focusNode!==b.node||A.focusOffset!==b.offset)){var w=N.createRange();w.setStart(E.node,E.offset),A.removeAllRanges(),P>Re?(A.addRange(w),A.extend(b.node,b.offset)):(w.setEnd(b.node,b.offset),A.addRange(w))}}}}for(N=[],A=d;A=A.parentNode;)A.nodeType===1&&N.push({element:A,left:A.scrollLeft,top:A.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d<N.length;d++){var C=N[d];C.element.scrollLeft=C.left,C.element.scrollTop=C.top}}xu=!!Po,es=Po=null}finally{be=l,Y.p=n,O.T=a}}e.current=t,$e=2}}function am(){if($e===2){$e=0;var e=Ha,t=Wn,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=O.T,O.T=null;var n=Y.p;Y.p=2;var l=be;be|=4;try{zd(e,t.alternate,t)}finally{be=l,Y.p=n,O.T=a}}$e=3}}function nm(){if($e===4||$e===3){$e=0,Ep();var e=Ha,t=Wn,a=ga,n=Vd;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?$e=5:($e=0,Wn=Ha=null,lm(e,e.pendingLanes));var l=e.pendingLanes;if(l===0&&(La=null),ir(a),t=t.stateNode,vt&&typeof vt.onCommitFiberRoot=="function")try{vt.onCommitFiberRoot(sl,t,void 0,(t.current.flags&128)===128)}catch{}if(n!==null){t=O.T,l=Y.p,Y.p=2,O.T=null;try{for(var i=e.onRecoverableError,c=0;c<n.length;c++){var d=n[c];i(d.value,{componentStack:d.stack})}}finally{O.T=t,Y.p=l}}(ga&3)!==0&&su(),It(e),l=e.pendingLanes,(a&261930)!==0&&(l&42)!==0?e===Bo?Xl++:(Xl=0,Bo=e):Xl=0,Ql(0)}}function lm(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,wl(t)))}function su(){return tm(),am(),nm(),im()}function im(){if($e!==5)return!1;var e=Ha,t=Lo;Lo=0;var a=ir(ga),n=O.T,l=Y.p;try{Y.p=32>a?32:a,O.T=null,a=Ho,Ho=null;var i=Ha,c=ga;if($e=0,Wn=Ha=null,ga=0,(be&6)!==0)throw Error(o(331));var d=be;if(be|=4,Bd(i.current),qd(i,i.current,c,a),be=d,Ql(0,!1),vt&&typeof vt.onPostCommitFiberRoot=="function")try{vt.onPostCommitFiberRoot(sl,i)}catch{}return!0}finally{Y.p=l,O.T=n,lm(e,t)}}function um(e,t,a){t=Nt(a,t),t=go(e.stateNode,t,2),e=Ca(e,t,2),e!==null&&(fl(e,2),It(e))}function Ee(e,t,a){if(e.tag===3)um(e,e,a);else for(;t!==null;){if(t.tag===3){um(t,e,a);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(La===null||!La.has(n))){e=Nt(a,e),a=rd(2),n=Ca(t,a,2),n!==null&&(od(a,n,t,e),fl(n,2),It(n));break}}t=t.return}}function Vo(e,t,a){var n=e.pingCache;if(n===null){n=e.pingCache=new W_;var l=new Set;n.set(t,l)}else l=n.get(t),l===void 0&&(l=new Set,n.set(t,l));l.has(a)||(Mo=!0,l.add(a),e=ty.bind(null,e,t,a),t.then(e,e))}function ty(e,t,a){var n=e.pingCache;n!==null&&n.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,Oe===e&&(de&a)===a&&(He===4||He===3&&(de&62914560)===de&&300>gt()-nu?(be&2)===0&&Fn(e,0):Uo|=a,$n===de&&($n=0)),It(e)}function rm(e,t){t===0&&(t=ec()),e=ln(e,t),e!==null&&(fl(e,t),It(e))}function ay(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),rm(e,a)}function ny(e,t){var a=0;switch(e.tag){case 31:case 13:var n=e.stateNode,l=e.memoizedState;l!==null&&(a=l.retryLane);break;case 19:n=e.stateNode;break;case 22:n=e.stateNode._retryCache;break;default:throw Error(o(314))}n!==null&&n.delete(t),rm(e,a)}function ly(e,t){return tr(e,t)}var cu=null,Pn=null,Xo=!1,fu=!1,Qo=!1,Ya=0;function It(e){e!==Pn&&e.next===null&&(Pn===null?cu=Pn=e:Pn=Pn.next=e),fu=!0,Xo||(Xo=!0,uy())}function Ql(e,t){if(!Qo&&fu){Qo=!0;do for(var a=!1,n=cu;n!==null;){if(e!==0){var l=n.pendingLanes;if(l===0)var i=0;else{var c=n.suspendedLanes,d=n.pingedLanes;i=(1<<31-bt(42|e)+1)-1,i&=l&~(c&~d),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(a=!0,fm(n,i))}else i=de,i=pi(n,n===Oe?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(i&3)===0||cl(n,i)||(a=!0,fm(n,i));n=n.next}while(a);Qo=!1}}function iy(){om()}function om(){fu=Xo=!1;var e=0;Ya!==0&&_y()&&(e=Ya);for(var t=gt(),a=null,n=cu;n!==null;){var l=n.next,i=sm(n,t);i===0?(n.next=null,a===null?cu=l:a.next=l,l===null&&(Pn=a)):(a=n,(e!==0||(i&3)!==0)&&(fu=!0)),n=l}$e!==0&&$e!==5||Ql(e),Ya!==0&&(Ya=0)}function sm(e,t){for(var a=e.suspendedLanes,n=e.pingedLanes,l=e.expirationTimes,i=e.pendingLanes&-62914561;0<i;){var c=31-bt(i),d=1<<c,y=l[c];y===-1?((d&a)===0||(d&n)!==0)&&(l[c]=Cp(d,t)):y<=t&&(e.expiredLanes|=d),i&=~d}if(t=Oe,a=de,a=pi(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n=e.callbackNode,a===0||e===t&&(ke===2||ke===9)||e.cancelPendingCommit!==null)return n!==null&&n!==null&&ar(n),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||cl(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(n!==null&&ar(n),ir(a)){case 2:case 8:a=Is;break;case 32:a=fi;break;case 268435456:a=Ps;break;default:a=fi}return n=cm.bind(null,e),a=tr(a,n),e.callbackPriority=t,e.callbackNode=a,t}return n!==null&&n!==null&&ar(n),e.callbackPriority=2,e.callbackNode=null,2}function cm(e,t){if($e!==0&&$e!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(su()&&e.callbackNode!==a)return null;var n=de;return n=pi(e,e===Oe?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n===0?null:(Qd(e,n,t),sm(e,gt()),e.callbackNode!=null&&e.callbackNode===a?cm.bind(null,e):null)}function fm(e,t){if(su())return null;Qd(e,t,!0)}function uy(){gy(function(){(be&6)!==0?tr(Fs,iy):om()})}function Zo(){if(Ya===0){var e=Ln;e===0&&(e=di,di<<=1,(di&261888)===0&&(di=256)),Ya=e}return Ya}function dm(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:vi(""+e)}function mm(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function ry(e,t,a,n,l){if(t==="submit"&&a&&a.stateNode===l){var i=dm((l[ct]||null).action),c=n.submitter;c&&(t=(t=c[ct]||null)?dm(t.formAction):c.getAttribute("formAction"),t!==null&&(i=t,c=null));var d=new ki("action","action",null,n,l);e.push({event:d,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(Ya!==0){var y=c?mm(l,c):new FormData(l);fo(a,{pending:!0,data:y,method:l.method,action:i},null,y)}}else typeof i=="function"&&(d.preventDefault(),y=c?mm(l,c):new FormData(l),fo(a,{pending:!0,data:y,method:l.method,action:i},i,y))},currentTarget:l}]})}}for(var Ko=0;Ko<Rr.length;Ko++){var Jo=Rr[Ko],oy=Jo.toLowerCase(),sy=Jo[0].toUpperCase()+Jo.slice(1);Vt(oy,"on"+sy)}Vt(Vc,"onAnimationEnd"),Vt(Xc,"onAnimationIteration"),Vt(Qc,"onAnimationStart"),Vt("dblclick","onDoubleClick"),Vt("focusin","onFocus"),Vt("focusout","onBlur"),Vt(w_,"onTransitionRun"),Vt(T_,"onTransitionStart"),Vt(j_,"onTransitionCancel"),Vt(Zc,"onTransitionEnd"),En("onMouseEnter",["mouseout","mouseover"]),En("onMouseLeave",["mouseout","mouseover"]),En("onPointerEnter",["pointerout","pointerover"]),En("onPointerLeave",["pointerout","pointerover"]),en("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),en("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),en("onBeforeInput",["compositionend","keypress","textInput","paste"]),en("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),en("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),en("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Zl="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),cy=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Zl));function hm(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var n=e[a],l=n.event;n=n.listeners;e:{var i=void 0;if(t)for(var c=n.length-1;0<=c;c--){var d=n[c],y=d.instance,T=d.currentTarget;if(d=d.listener,y!==i&&l.isPropagationStopped())break e;i=d,l.currentTarget=T;try{i(l)}catch(z){Ti(z)}l.currentTarget=null,i=y}else for(c=0;c<n.length;c++){if(d=n[c],y=d.instance,T=d.currentTarget,d=d.listener,y!==i&&l.isPropagationStopped())break e;i=d,l.currentTarget=T;try{i(l)}catch(z){Ti(z)}l.currentTarget=null,i=y}}}}function fe(e,t){var a=t[ur];a===void 0&&(a=t[ur]=new Set);var n=e+"__bubble";a.has(n)||(pm(t,e,2,!1),a.add(n))}function $o(e,t,a){var n=0;t&&(n|=4),pm(a,e,n,t)}var du="_reactListening"+Math.random().toString(36).slice(2);function Wo(e){if(!e[du]){e[du]=!0,rc.forEach(function(a){a!=="selectionchange"&&(cy.has(a)||$o(a,!1,e),$o(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[du]||(t[du]=!0,$o("selectionchange",!1,t))}}function pm(e,t,a,n){switch(Xm(t)){case 2:var l=Ly;break;case 8:l=Hy;break;default:l=fs}a=l.bind(null,t,a,e),l=void 0,!pr||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),n?l!==void 0?e.addEventListener(t,a,{capture:!0,passive:l}):e.addEventListener(t,a,!0):l!==void 0?e.addEventListener(t,a,{passive:l}):e.addEventListener(t,a,!1)}function Fo(e,t,a,n,l){var i=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var c=n.tag;if(c===3||c===4){var d=n.stateNode.containerInfo;if(d===l)break;if(c===4)for(c=n.return;c!==null;){var y=c.tag;if((y===3||y===4)&&c.stateNode.containerInfo===l)return;c=c.return}for(;d!==null;){if(c=xn(d),c===null)return;if(y=c.tag,y===5||y===6||y===26||y===27){n=i=c;continue e}d=d.parentNode}}n=n.return}vc(function(){var T=i,z=mr(a),N=[];e:{var R=Kc.get(e);if(R!==void 0){var A=ki,Q=e;switch(e){case"keypress":if(xi(a)===0)break e;case"keydown":case"keyup":A=n_;break;case"focusin":Q="focus",A=vr;break;case"focusout":Q="blur",A=vr;break;case"beforeblur":case"afterblur":A=vr;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":A=Sc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":A=Qp;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":A=u_;break;case Vc:case Xc:case Qc:A=Jp;break;case Zc:A=o_;break;case"scroll":case"scrollend":A=Vp;break;case"wheel":A=c_;break;case"copy":case"cut":case"paste":A=Wp;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":A=Ec;break;case"toggle":case"beforetoggle":A=d_}var P=(t&4)!==0,Re=!P&&(e==="scroll"||e==="scrollend"),E=P?R!==null?R+"Capture":null:R;P=[];for(var b=T,w;b!==null;){var C=b;if(w=C.stateNode,C=C.tag,C!==5&&C!==26&&C!==27||w===null||E===null||(C=hl(b,E),C!=null&&P.push(Kl(b,C,w))),Re)break;b=b.return}0<P.length&&(R=new A(R,Q,null,a,z),N.push({event:R,listeners:P}))}}if((t&7)===0){e:{if(R=e==="mouseover"||e==="pointerover",A=e==="mouseout"||e==="pointerout",R&&a!==dr&&(Q=a.relatedTarget||a.fromElement)&&(xn(Q)||Q[bn]))break e;if((A||R)&&(R=z.window===z?z:(R=z.ownerDocument)?R.defaultView||R.parentWindow:window,A?(Q=a.relatedTarget||a.toElement,A=T,Q=Q?xn(Q):null,Q!==null&&(Re=h(Q),P=Q.tag,Q!==Re||P!==5&&P!==27&&P!==6)&&(Q=null)):(A=null,Q=T),A!==Q)){if(P=Sc,C="onMouseLeave",E="onMouseEnter",b="mouse",(e==="pointerout"||e==="pointerover")&&(P=Ec,C="onPointerLeave",E="onPointerEnter",b="pointer"),Re=A==null?R:ml(A),w=Q==null?R:ml(Q),R=new P(C,b+"leave",A,a,z),R.target=Re,R.relatedTarget=w,C=null,xn(z)===T&&(P=new P(E,b+"enter",Q,a,z),P.target=w,P.relatedTarget=Re,C=P),Re=C,A&&Q)t:{for(P=fy,E=A,b=Q,w=0,C=E;C;C=P(C))w++;C=0;for(var F=b;F;F=P(F))C++;for(;0<w-C;)E=P(E),w--;for(;0<C-w;)b=P(b),C--;for(;w--;){if(E===b||b!==null&&E===b.alternate){P=E;break t}E=P(E),b=P(b)}P=null}else P=null;A!==null&&_m(N,R,A,P,!1),Q!==null&&Re!==null&&_m(N,Re,Q,P,!0)}}e:{if(R=T?ml(T):window,A=R.nodeName&&R.nodeName.toLowerCase(),A==="select"||A==="input"&&R.type==="file")var ge=Cc;else if(zc(R))if(Nc)ge=S_;else{ge=b_;var K=v_}else A=R.nodeName,!A||A.toLowerCase()!=="input"||R.type!=="checkbox"&&R.type!=="radio"?T&&fr(T.elementType)&&(ge=Cc):ge=x_;if(ge&&(ge=ge(e,T))){Oc(N,ge,a,z);break e}K&&K(e,R,T),e==="focusout"&&T&&R.type==="number"&&T.memoizedProps.value!=null&&cr(R,"number",R.value)}switch(K=T?ml(T):window,e){case"focusin":(zc(K)||K.contentEditable==="true")&&(zn=K,wr=T,Sl=null);break;case"focusout":Sl=wr=zn=null;break;case"mousedown":Tr=!0;break;case"contextmenu":case"mouseup":case"dragend":Tr=!1,Yc(N,a,z);break;case"selectionchange":if(E_)break;case"keydown":case"keyup":Yc(N,a,z)}var ue;if(xr)e:{switch(e){case"compositionstart":var me="onCompositionStart";break e;case"compositionend":me="onCompositionEnd";break e;case"compositionupdate":me="onCompositionUpdate";break e}me=void 0}else An?Rc(e,a)&&(me="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(me="onCompositionStart");me&&(wc&&a.locale!=="ko"&&(An||me!=="onCompositionStart"?me==="onCompositionEnd"&&An&&(ue=bc()):(wa=z,_r="value"in wa?wa.value:wa.textContent,An=!0)),K=mu(T,me),0<K.length&&(me=new kc(me,e,null,a,z),N.push({event:me,listeners:K}),ue?me.data=ue:(ue=Ac(a),ue!==null&&(me.data=ue)))),(ue=h_?p_(e,a):__(e,a))&&(me=mu(T,"onBeforeInput"),0<me.length&&(K=new kc("onBeforeInput","beforeinput",null,a,z),N.push({event:K,listeners:me}),K.data=ue)),ry(N,e,T,a,z)}hm(N,t)})}function Kl(e,t,a){return{instance:e,listener:t,currentTarget:a}}function mu(e,t){for(var a=t+"Capture",n=[];e!==null;){var l=e,i=l.stateNode;if(l=l.tag,l!==5&&l!==26&&l!==27||i===null||(l=hl(e,a),l!=null&&n.unshift(Kl(e,l,i)),l=hl(e,t),l!=null&&n.push(Kl(e,l,i))),e.tag===3)return n;e=e.return}return[]}function fy(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function _m(e,t,a,n,l){for(var i=t._reactName,c=[];a!==null&&a!==n;){var d=a,y=d.alternate,T=d.stateNode;if(d=d.tag,y!==null&&y===n)break;d!==5&&d!==26&&d!==27||T===null||(y=T,l?(T=hl(a,i),T!=null&&c.unshift(Kl(a,T,y))):l||(T=hl(a,i),T!=null&&c.push(Kl(a,T,y)))),a=a.return}c.length!==0&&e.push({event:t,listeners:c})}var dy=/\r\n?/g,my=/\u0000|\uFFFD/g;function ym(e){return(typeof e=="string"?e:""+e).replace(dy,`
|
|
50
|
+
`).replace(my,"")}function gm(e,t){return t=ym(t),ym(e)===t}function je(e,t,a,n,l,i){switch(a){case"children":typeof n=="string"?t==="body"||t==="textarea"&&n===""||Tn(e,n):(typeof n=="number"||typeof n=="bigint")&&t!=="body"&&Tn(e,""+n);break;case"className":yi(e,"class",n);break;case"tabIndex":yi(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":yi(e,a,n);break;case"style":yc(e,n,i);break;case"data":if(t!=="object"){yi(e,"data",n);break}case"src":case"href":if(n===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(a);break}n=vi(""+n),e.setAttribute(a,n);break;case"action":case"formAction":if(typeof n=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof i=="function"&&(a==="formAction"?(t!=="input"&&je(e,t,"name",l.name,l,null),je(e,t,"formEncType",l.formEncType,l,null),je(e,t,"formMethod",l.formMethod,l,null),je(e,t,"formTarget",l.formTarget,l,null)):(je(e,t,"encType",l.encType,l,null),je(e,t,"method",l.method,l,null),je(e,t,"target",l.target,l,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(a);break}n=vi(""+n),e.setAttribute(a,n);break;case"onClick":n!=null&&(e.onclick=na);break;case"onScroll":n!=null&&fe("scroll",e);break;case"onScrollEnd":n!=null&&fe("scrollend",e);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(o(61));if(a=n.__html,a!=null){if(l.children!=null)throw Error(o(60));e.innerHTML=a}}break;case"multiple":e.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":e.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){e.removeAttribute("xlink:href");break}a=vi(""+n),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,""+n):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":n===!0?e.setAttribute(a,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,n):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?e.setAttribute(a,n):e.removeAttribute(a);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?e.removeAttribute(a):e.setAttribute(a,n);break;case"popover":fe("beforetoggle",e),fe("toggle",e),_i(e,"popover",n);break;case"xlinkActuate":aa(e,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":aa(e,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":aa(e,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":aa(e,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":aa(e,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":aa(e,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":aa(e,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":aa(e,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":aa(e,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":_i(e,"is",n);break;case"innerText":case"textContent":break;default:(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")&&(a=Yp.get(a)||a,_i(e,a,n))}}function Io(e,t,a,n,l,i){switch(a){case"style":yc(e,n,i);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(o(61));if(a=n.__html,a!=null){if(l.children!=null)throw Error(o(60));e.innerHTML=a}}break;case"children":typeof n=="string"?Tn(e,n):(typeof n=="number"||typeof n=="bigint")&&Tn(e,""+n);break;case"onScroll":n!=null&&fe("scroll",e);break;case"onScrollEnd":n!=null&&fe("scrollend",e);break;case"onClick":n!=null&&(e.onclick=na);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!oc.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(l=a.endsWith("Capture"),t=a.slice(2,l?a.length-7:void 0),i=e[ct]||null,i=i!=null?i[a]:null,typeof i=="function"&&e.removeEventListener(t,i,l),typeof n=="function")){typeof i!="function"&&i!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,n,l);break e}a in e?e[a]=n:n===!0?e.setAttribute(a,""):_i(e,a,n)}}}function lt(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":fe("error",e),fe("load",e);var n=!1,l=!1,i;for(i in a)if(a.hasOwnProperty(i)){var c=a[i];if(c!=null)switch(i){case"src":n=!0;break;case"srcSet":l=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:je(e,t,i,c,a,null)}}l&&je(e,t,"srcSet",a.srcSet,a,null),n&&je(e,t,"src",a.src,a,null);return;case"input":fe("invalid",e);var d=i=c=l=null,y=null,T=null;for(n in a)if(a.hasOwnProperty(n)){var z=a[n];if(z!=null)switch(n){case"name":l=z;break;case"type":c=z;break;case"checked":y=z;break;case"defaultChecked":T=z;break;case"value":i=z;break;case"defaultValue":d=z;break;case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(o(137,t));break;default:je(e,t,n,z,a,null)}}mc(e,i,d,y,T,c,l,!1);return;case"select":fe("invalid",e),n=c=i=null;for(l in a)if(a.hasOwnProperty(l)&&(d=a[l],d!=null))switch(l){case"value":i=d;break;case"defaultValue":c=d;break;case"multiple":n=d;default:je(e,t,l,d,a,null)}t=i,a=c,e.multiple=!!n,t!=null?wn(e,!!n,t,!1):a!=null&&wn(e,!!n,a,!0);return;case"textarea":fe("invalid",e),i=l=n=null;for(c in a)if(a.hasOwnProperty(c)&&(d=a[c],d!=null))switch(c){case"value":n=d;break;case"defaultValue":l=d;break;case"children":i=d;break;case"dangerouslySetInnerHTML":if(d!=null)throw Error(o(91));break;default:je(e,t,c,d,a,null)}pc(e,n,l,i);return;case"option":for(y in a)if(a.hasOwnProperty(y)&&(n=a[y],n!=null))switch(y){case"selected":e.selected=n&&typeof n!="function"&&typeof n!="symbol";break;default:je(e,t,y,n,a,null)}return;case"dialog":fe("beforetoggle",e),fe("toggle",e),fe("cancel",e),fe("close",e);break;case"iframe":case"object":fe("load",e);break;case"video":case"audio":for(n=0;n<Zl.length;n++)fe(Zl[n],e);break;case"image":fe("error",e),fe("load",e);break;case"details":fe("toggle",e);break;case"embed":case"source":case"link":fe("error",e),fe("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(T in a)if(a.hasOwnProperty(T)&&(n=a[T],n!=null))switch(T){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:je(e,t,T,n,a,null)}return;default:if(fr(t)){for(z in a)a.hasOwnProperty(z)&&(n=a[z],n!==void 0&&Io(e,t,z,n,a,void 0));return}}for(d in a)a.hasOwnProperty(d)&&(n=a[d],n!=null&&je(e,t,d,n,a,null))}function hy(e,t,a,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var l=null,i=null,c=null,d=null,y=null,T=null,z=null;for(A in a){var N=a[A];if(a.hasOwnProperty(A)&&N!=null)switch(A){case"checked":break;case"value":break;case"defaultValue":y=N;default:n.hasOwnProperty(A)||je(e,t,A,null,n,N)}}for(var R in n){var A=n[R];if(N=a[R],n.hasOwnProperty(R)&&(A!=null||N!=null))switch(R){case"type":i=A;break;case"name":l=A;break;case"checked":T=A;break;case"defaultChecked":z=A;break;case"value":c=A;break;case"defaultValue":d=A;break;case"children":case"dangerouslySetInnerHTML":if(A!=null)throw Error(o(137,t));break;default:A!==N&&je(e,t,R,A,n,N)}}sr(e,c,d,y,T,z,i,l);return;case"select":A=c=d=R=null;for(i in a)if(y=a[i],a.hasOwnProperty(i)&&y!=null)switch(i){case"value":break;case"multiple":A=y;default:n.hasOwnProperty(i)||je(e,t,i,null,n,y)}for(l in n)if(i=n[l],y=a[l],n.hasOwnProperty(l)&&(i!=null||y!=null))switch(l){case"value":R=i;break;case"defaultValue":d=i;break;case"multiple":c=i;default:i!==y&&je(e,t,l,i,n,y)}t=d,a=c,n=A,R!=null?wn(e,!!a,R,!1):!!n!=!!a&&(t!=null?wn(e,!!a,t,!0):wn(e,!!a,a?[]:"",!1));return;case"textarea":A=R=null;for(d in a)if(l=a[d],a.hasOwnProperty(d)&&l!=null&&!n.hasOwnProperty(d))switch(d){case"value":break;case"children":break;default:je(e,t,d,null,n,l)}for(c in n)if(l=n[c],i=a[c],n.hasOwnProperty(c)&&(l!=null||i!=null))switch(c){case"value":R=l;break;case"defaultValue":A=l;break;case"children":break;case"dangerouslySetInnerHTML":if(l!=null)throw Error(o(91));break;default:l!==i&&je(e,t,c,l,n,i)}hc(e,R,A);return;case"option":for(var Q in a)if(R=a[Q],a.hasOwnProperty(Q)&&R!=null&&!n.hasOwnProperty(Q))switch(Q){case"selected":e.selected=!1;break;default:je(e,t,Q,null,n,R)}for(y in n)if(R=n[y],A=a[y],n.hasOwnProperty(y)&&R!==A&&(R!=null||A!=null))switch(y){case"selected":e.selected=R&&typeof R!="function"&&typeof R!="symbol";break;default:je(e,t,y,R,n,A)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var P in a)R=a[P],a.hasOwnProperty(P)&&R!=null&&!n.hasOwnProperty(P)&&je(e,t,P,null,n,R);for(T in n)if(R=n[T],A=a[T],n.hasOwnProperty(T)&&R!==A&&(R!=null||A!=null))switch(T){case"children":case"dangerouslySetInnerHTML":if(R!=null)throw Error(o(137,t));break;default:je(e,t,T,R,n,A)}return;default:if(fr(t)){for(var Re in a)R=a[Re],a.hasOwnProperty(Re)&&R!==void 0&&!n.hasOwnProperty(Re)&&Io(e,t,Re,void 0,n,R);for(z in n)R=n[z],A=a[z],!n.hasOwnProperty(z)||R===A||R===void 0&&A===void 0||Io(e,t,z,R,n,A);return}}for(var E in a)R=a[E],a.hasOwnProperty(E)&&R!=null&&!n.hasOwnProperty(E)&&je(e,t,E,null,n,R);for(N in n)R=n[N],A=a[N],!n.hasOwnProperty(N)||R===A||R==null&&A==null||je(e,t,N,R,n,A)}function vm(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function py(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),n=0;n<a.length;n++){var l=a[n],i=l.transferSize,c=l.initiatorType,d=l.duration;if(i&&d&&vm(c)){for(c=0,d=l.responseEnd,n+=1;n<a.length;n++){var y=a[n],T=y.startTime;if(T>d)break;var z=y.transferSize,N=y.initiatorType;z&&vm(N)&&(y=y.responseEnd,c+=z*(y<d?1:(d-T)/(y-T)))}if(--n,t+=8*(i+c)/(l.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Po=null,es=null;function hu(e){return e.nodeType===9?e:e.ownerDocument}function bm(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function xm(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function ts(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var as=null;function _y(){var e=window.event;return e&&e.type==="popstate"?e===as?!1:(as=e,!0):(as=null,!1)}var Sm=typeof setTimeout=="function"?setTimeout:void 0,yy=typeof clearTimeout=="function"?clearTimeout:void 0,km=typeof Promise=="function"?Promise:void 0,gy=typeof queueMicrotask=="function"?queueMicrotask:typeof km<"u"?function(e){return km.resolve(null).then(e).catch(vy)}:Sm;function vy(e){setTimeout(function(){throw e})}function Ga(e){return e==="head"}function Em(e,t){var a=t,n=0;do{var l=a.nextSibling;if(e.removeChild(a),l&&l.nodeType===8)if(a=l.data,a==="/$"||a==="/&"){if(n===0){e.removeChild(l),nl(t);return}n--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")n++;else if(a==="html")Jl(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,Jl(a);for(var i=a.firstChild;i;){var c=i.nextSibling,d=i.nodeName;i[dl]||d==="SCRIPT"||d==="STYLE"||d==="LINK"&&i.rel.toLowerCase()==="stylesheet"||a.removeChild(i),i=c}}else a==="body"&&Jl(e.ownerDocument.body);a=l}while(a);nl(t)}function wm(e,t){var a=e;e=0;do{var n=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),n&&n.nodeType===8)if(a=n.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=n}while(a)}function ns(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":ns(a),rr(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function by(e,t,a,n){for(;e.nodeType===1;){var l=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!n&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(n){if(!e[dl])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(i=e.getAttribute("rel"),i==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(i!==l.rel||e.getAttribute("href")!==(l.href==null||l.href===""?null:l.href)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin)||e.getAttribute("title")!==(l.title==null?null:l.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(l.src==null?null:l.src)||e.getAttribute("type")!==(l.type==null?null:l.type)||e.getAttribute("crossorigin")!==(l.crossOrigin==null?null:l.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var i=l.name==null?null:""+l.name;if(l.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;if(e=Lt(e.nextSibling),e===null)break}return null}function xy(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=Lt(e.nextSibling),e===null))return null;return e}function Tm(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Lt(e.nextSibling),e===null))return null;return e}function ls(e){return e.data==="$?"||e.data==="$~"}function is(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Sy(e,t){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||a.readyState!=="loading")t();else{var n=function(){t(),a.removeEventListener("DOMContentLoaded",n)};a.addEventListener("DOMContentLoaded",n),e._reactRetry=n}}function Lt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var us=null;function jm(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(t===0)return Lt(e.nextSibling);t--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||t++}e=e.nextSibling}return null}function Rm(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(t===0)return e;t--}else a!=="/$"&&a!=="/&"||t++}e=e.previousSibling}return null}function Am(e,t,a){switch(t=hu(a),e){case"html":if(e=t.documentElement,!e)throw Error(o(452));return e;case"head":if(e=t.head,!e)throw Error(o(453));return e;case"body":if(e=t.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function Jl(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);rr(e)}var Ht=new Map,zm=new Set;function pu(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var va=Y.d;Y.d={f:ky,r:Ey,D:wy,C:Ty,L:jy,m:Ry,X:zy,S:Ay,M:Oy};function ky(){var e=va.f(),t=uu();return e||t}function Ey(e){var t=Sn(e);t!==null&&t.tag===5&&t.type==="form"?Kf(t):va.r(e)}var el=typeof document>"u"?null:document;function Om(e,t,a){var n=el;if(n&&typeof t=="string"&&t){var l=Ot(t);l='link[rel="'+e+'"][href="'+l+'"]',typeof a=="string"&&(l+='[crossorigin="'+a+'"]'),zm.has(l)||(zm.add(l),e={rel:e,crossOrigin:a,href:t},n.querySelector(l)===null&&(t=n.createElement("link"),lt(t,"link",e),Fe(t),n.head.appendChild(t)))}}function wy(e){va.D(e),Om("dns-prefetch",e,null)}function Ty(e,t){va.C(e,t),Om("preconnect",e,t)}function jy(e,t,a){va.L(e,t,a);var n=el;if(n&&e&&t){var l='link[rel="preload"][as="'+Ot(t)+'"]';t==="image"&&a&&a.imageSrcSet?(l+='[imagesrcset="'+Ot(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(l+='[imagesizes="'+Ot(a.imageSizes)+'"]')):l+='[href="'+Ot(e)+'"]';var i=l;switch(t){case"style":i=tl(e);break;case"script":i=al(e)}Ht.has(i)||(e=k({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),Ht.set(i,e),n.querySelector(l)!==null||t==="style"&&n.querySelector($l(i))||t==="script"&&n.querySelector(Wl(i))||(t=n.createElement("link"),lt(t,"link",e),Fe(t),n.head.appendChild(t)))}}function Ry(e,t){va.m(e,t);var a=el;if(a&&e){var n=t&&typeof t.as=="string"?t.as:"script",l='link[rel="modulepreload"][as="'+Ot(n)+'"][href="'+Ot(e)+'"]',i=l;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=al(e)}if(!Ht.has(i)&&(e=k({rel:"modulepreload",href:e},t),Ht.set(i,e),a.querySelector(l)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Wl(i)))return}n=a.createElement("link"),lt(n,"link",e),Fe(n),a.head.appendChild(n)}}}function Ay(e,t,a){va.S(e,t,a);var n=el;if(n&&e){var l=kn(n).hoistableStyles,i=tl(e);t=t||"default";var c=l.get(i);if(!c){var d={loading:0,preload:null};if(c=n.querySelector($l(i)))d.loading=5;else{e=k({rel:"stylesheet",href:e,"data-precedence":t},a),(a=Ht.get(i))&&rs(e,a);var y=c=n.createElement("link");Fe(y),lt(y,"link",e),y._p=new Promise(function(T,z){y.onload=T,y.onerror=z}),y.addEventListener("load",function(){d.loading|=1}),y.addEventListener("error",function(){d.loading|=2}),d.loading|=4,_u(c,t,n)}c={type:"stylesheet",instance:c,count:1,state:d},l.set(i,c)}}}function zy(e,t){va.X(e,t);var a=el;if(a&&e){var n=kn(a).hoistableScripts,l=al(e),i=n.get(l);i||(i=a.querySelector(Wl(l)),i||(e=k({src:e,async:!0},t),(t=Ht.get(l))&&os(e,t),i=a.createElement("script"),Fe(i),lt(i,"link",e),a.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(l,i))}}function Oy(e,t){va.M(e,t);var a=el;if(a&&e){var n=kn(a).hoistableScripts,l=al(e),i=n.get(l);i||(i=a.querySelector(Wl(l)),i||(e=k({src:e,async:!0,type:"module"},t),(t=Ht.get(l))&&os(e,t),i=a.createElement("script"),Fe(i),lt(i,"link",e),a.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(l,i))}}function Cm(e,t,a,n){var l=(l=se.current)?pu(l):null;if(!l)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=tl(a.href),a=kn(l).hoistableStyles,n=a.get(t),n||(n={type:"style",instance:null,count:0,state:null},a.set(t,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=tl(a.href);var i=kn(l).hoistableStyles,c=i.get(e);if(c||(l=l.ownerDocument||l,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,c),(i=l.querySelector($l(e)))&&!i._p&&(c.instance=i,c.state.loading=5),Ht.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Ht.set(e,a),i||Cy(l,e,a,c.state))),t&&n===null)throw Error(o(528,""));return c}if(t&&n!==null)throw Error(o(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=al(a),a=kn(l).hoistableScripts,n=a.get(t),n||(n={type:"script",instance:null,count:0,state:null},a.set(t,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function tl(e){return'href="'+Ot(e)+'"'}function $l(e){return'link[rel="stylesheet"]['+e+"]"}function Nm(e){return k({},e,{"data-precedence":e.precedence,precedence:null})}function Cy(e,t,a,n){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?n.loading=1:(t=e.createElement("link"),n.preload=t,t.addEventListener("load",function(){return n.loading|=1}),t.addEventListener("error",function(){return n.loading|=2}),lt(t,"link",a),Fe(t),e.head.appendChild(t))}function al(e){return'[src="'+Ot(e)+'"]'}function Wl(e){return"script[async]"+e}function Dm(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var n=e.querySelector('style[data-href~="'+Ot(a.href)+'"]');if(n)return t.instance=n,Fe(n),n;var l=k({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return n=(e.ownerDocument||e).createElement("style"),Fe(n),lt(n,"style",l),_u(n,a.precedence,e),t.instance=n;case"stylesheet":l=tl(a.href);var i=e.querySelector($l(l));if(i)return t.state.loading|=4,t.instance=i,Fe(i),i;n=Nm(a),(l=Ht.get(l))&&rs(n,l),i=(e.ownerDocument||e).createElement("link"),Fe(i);var c=i;return c._p=new Promise(function(d,y){c.onload=d,c.onerror=y}),lt(i,"link",n),t.state.loading|=4,_u(i,a.precedence,e),t.instance=i;case"script":return i=al(a.src),(l=e.querySelector(Wl(i)))?(t.instance=l,Fe(l),l):(n=a,(l=Ht.get(i))&&(n=k({},a),os(n,l)),e=e.ownerDocument||e,l=e.createElement("script"),Fe(l),lt(l,"link",n),e.head.appendChild(l),t.instance=l);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(n=t.instance,t.state.loading|=4,_u(n,a.precedence,e));return t.instance}function _u(e,t,a){for(var n=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=n.length?n[n.length-1]:null,i=l,c=0;c<n.length;c++){var d=n[c];if(d.dataset.precedence===t)i=d;else if(i!==l)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function rs(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function os(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var yu=null;function Mm(e,t,a){if(yu===null){var n=new Map,l=yu=new Map;l.set(a,n)}else l=yu,n=l.get(a),n||(n=new Map,l.set(a,n));if(n.has(e))return n;for(n.set(e,null),a=a.getElementsByTagName(e),l=0;l<a.length;l++){var i=a[l];if(!(i[dl]||i[et]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var c=i.getAttribute(t)||"";c=e+c;var d=n.get(c);d?d.push(i):n.set(c,[i])}}return n}function Um(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function Ny(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function qm(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function Dy(e,t,a,n){if(a.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var l=tl(n.href),i=t.querySelector($l(l));if(i){t=i._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=gu.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=i,Fe(i);return}i=t.ownerDocument||t,n=Nm(n),(l=Ht.get(l))&&rs(n,l),i=i.createElement("link"),Fe(i);var c=i;c._p=new Promise(function(d,y){c.onload=d,c.onerror=y}),lt(i,"link",n),a.instance=i}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=gu.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var ss=0;function My(e,t){return e.stylesheets&&e.count===0&&bu(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var n=setTimeout(function(){if(e.stylesheets&&bu(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4+t);0<e.imgBytes&&ss===0&&(ss=62500*py());var l=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&bu(e,e.stylesheets),e.unsuspend)){var i=e.unsuspend;e.unsuspend=null,i()}},(e.imgBytes>ss?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(n),clearTimeout(l)}}:null}function gu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)bu(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var vu=null;function bu(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,vu=new Map,t.forEach(Uy,e),vu=null,gu.call(e))}function Uy(e,t){if(!(t.state.loading&4)){var a=vu.get(e);if(a)var n=a.get(null);else{a=new Map,vu.set(e,a);for(var l=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<l.length;i++){var c=l[i];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(a.set(c.dataset.precedence,c),n=c)}n&&a.set(null,n)}l=t.instance,c=l.getAttribute("data-precedence"),i=a.get(c)||n,i===n&&a.set(null,l),a.set(c,l),this.count++,n=gu.bind(this),l.addEventListener("load",n),l.addEventListener("error",n),i?i.parentNode.insertBefore(l,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(l,e.firstChild)),t.state.loading|=4}}var Fl={$$typeof:J,Provider:null,Consumer:null,_currentValue:ee,_currentValue2:ee,_threadCount:0};function qy(e,t,a,n,l,i,c,d,y){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=nr(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=nr(0),this.hiddenUpdates=nr(null),this.identifierPrefix=n,this.onUncaughtError=l,this.onCaughtError=i,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=y,this.incompleteTransitions=new Map}function Lm(e,t,a,n,l,i,c,d,y,T,z,N){return e=new qy(e,t,a,c,y,T,z,N,d),t=1,i===!0&&(t|=24),i=St(3,null,null,t),e.current=i,i.stateNode=e,t=Yr(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:n,isDehydrated:a,cache:t},Qr(i),e}function Hm(e){return e?(e=Nn,e):Nn}function Bm(e,t,a,n,l,i){l=Hm(l),n.context===null?n.context=l:n.pendingContext=l,n=Oa(t),n.payload={element:a},i=i===void 0?null:i,i!==null&&(n.callback=i),a=Ca(e,n,t),a!==null&&(_t(a,e,t),Al(a,e,t))}function Ym(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function cs(e,t){Ym(e,t),(e=e.alternate)&&Ym(e,t)}function Gm(e){if(e.tag===13||e.tag===31){var t=ln(e,67108864);t!==null&&_t(t,e,67108864),cs(e,67108864)}}function Vm(e){if(e.tag===13||e.tag===31){var t=jt();t=lr(t);var a=ln(e,t);a!==null&&_t(a,e,t),cs(e,t)}}var xu=!0;function Ly(e,t,a,n){var l=O.T;O.T=null;var i=Y.p;try{Y.p=2,fs(e,t,a,n)}finally{Y.p=i,O.T=l}}function Hy(e,t,a,n){var l=O.T;O.T=null;var i=Y.p;try{Y.p=8,fs(e,t,a,n)}finally{Y.p=i,O.T=l}}function fs(e,t,a,n){if(xu){var l=ds(n);if(l===null)Fo(e,t,n,Su,a),Qm(e,n);else if(Yy(l,e,t,a,n))n.stopPropagation();else if(Qm(e,n),t&4&&-1<By.indexOf(e)){for(;l!==null;){var i=Sn(l);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var c=Pa(i.pendingLanes);if(c!==0){var d=i;for(d.pendingLanes|=2,d.entangledLanes|=2;c;){var y=1<<31-bt(c);d.entanglements[1]|=y,c&=~y}It(i),(be&6)===0&&(lu=gt()+500,Ql(0))}}break;case 31:case 13:d=ln(i,2),d!==null&&_t(d,i,2),uu(),cs(i,2)}if(i=ds(n),i===null&&Fo(e,t,n,Su,a),i===l)break;l=i}l!==null&&n.stopPropagation()}else Fo(e,t,n,null,a)}}function ds(e){return e=mr(e),ms(e)}var Su=null;function ms(e){if(Su=null,e=xn(e),e!==null){var t=h(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=_(t),e!==null)return e;e=null}else if(a===31){if(e=x(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Su=e,null}function Xm(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(wp()){case Fs:return 2;case Is:return 8;case fi:case Tp:return 32;case Ps:return 268435456;default:return 32}default:return 32}}var hs=!1,Va=null,Xa=null,Qa=null,Il=new Map,Pl=new Map,Za=[],By="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Qm(e,t){switch(e){case"focusin":case"focusout":Va=null;break;case"dragenter":case"dragleave":Xa=null;break;case"mouseover":case"mouseout":Qa=null;break;case"pointerover":case"pointerout":Il.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Pl.delete(t.pointerId)}}function ei(e,t,a,n,l,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:a,eventSystemFlags:n,nativeEvent:i,targetContainers:[l]},t!==null&&(t=Sn(t),t!==null&&Gm(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function Yy(e,t,a,n,l){switch(t){case"focusin":return Va=ei(Va,e,t,a,n,l),!0;case"dragenter":return Xa=ei(Xa,e,t,a,n,l),!0;case"mouseover":return Qa=ei(Qa,e,t,a,n,l),!0;case"pointerover":var i=l.pointerId;return Il.set(i,ei(Il.get(i)||null,e,t,a,n,l)),!0;case"gotpointercapture":return i=l.pointerId,Pl.set(i,ei(Pl.get(i)||null,e,t,a,n,l)),!0}return!1}function Zm(e){var t=xn(e.target);if(t!==null){var a=h(t);if(a!==null){if(t=a.tag,t===13){if(t=_(a),t!==null){e.blockedOn=t,ic(e.priority,function(){Vm(a)});return}}else if(t===31){if(t=x(a),t!==null){e.blockedOn=t,ic(e.priority,function(){Vm(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ku(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=ds(e.nativeEvent);if(a===null){a=e.nativeEvent;var n=new a.constructor(a.type,a);dr=n,a.target.dispatchEvent(n),dr=null}else return t=Sn(a),t!==null&&Gm(t),e.blockedOn=a,!1;t.shift()}return!0}function Km(e,t,a){ku(e)&&a.delete(t)}function Gy(){hs=!1,Va!==null&&ku(Va)&&(Va=null),Xa!==null&&ku(Xa)&&(Xa=null),Qa!==null&&ku(Qa)&&(Qa=null),Il.forEach(Km),Pl.forEach(Km)}function Eu(e,t){e.blockedOn===t&&(e.blockedOn=null,hs||(hs=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,Gy)))}var wu=null;function Jm(e){wu!==e&&(wu=e,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){wu===e&&(wu=null);for(var t=0;t<e.length;t+=3){var a=e[t],n=e[t+1],l=e[t+2];if(typeof n!="function"){if(ms(n||a)===null)continue;break}var i=Sn(a);i!==null&&(e.splice(t,3),t-=3,fo(i,{pending:!0,data:l,method:a.method,action:n},n,l))}}))}function nl(e){function t(y){return Eu(y,e)}Va!==null&&Eu(Va,e),Xa!==null&&Eu(Xa,e),Qa!==null&&Eu(Qa,e),Il.forEach(t),Pl.forEach(t);for(var a=0;a<Za.length;a++){var n=Za[a];n.blockedOn===e&&(n.blockedOn=null)}for(;0<Za.length&&(a=Za[0],a.blockedOn===null);)Zm(a),a.blockedOn===null&&Za.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(n=0;n<a.length;n+=3){var l=a[n],i=a[n+1],c=l[ct]||null;if(typeof i=="function")c||Jm(a);else if(c){var d=null;if(i&&i.hasAttribute("formAction")){if(l=i,c=i[ct]||null)d=c.formAction;else if(ms(l)!==null)continue}else d=c.action;typeof d=="function"?a[n+1]=d:(a.splice(n,3),n-=3),Jm(a)}}}function $m(){function e(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(c){return l=c})},focusReset:"manual",scroll:"manual"})}function t(){l!==null&&(l(),l=null),n||setTimeout(a,20)}function a(){if(!n&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var n=!1,l=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){n=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),l!==null&&(l(),l=null)}}}function ps(e){this._internalRoot=e}Tu.prototype.render=ps.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var a=t.current,n=jt();Bm(a,n,e,t,null,null)},Tu.prototype.unmount=ps.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Bm(e.current,2,null,e,null,null),uu(),t[bn]=null}};function Tu(e){this._internalRoot=e}Tu.prototype.unstable_scheduleHydration=function(e){if(e){var t=lc();e={blockedOn:null,target:e,priority:t};for(var a=0;a<Za.length&&t!==0&&t<Za[a].priority;a++);Za.splice(a,0,e),a===0&&Zm(e)}};var Wm=r.version;if(Wm!=="19.2.4")throw Error(o(527,Wm,"19.2.4"));Y.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=p(t),e=e!==null?j(e):null,e=e===null?null:e.stateNode,e};var Vy={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:O,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ju=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ju.isDisabled&&ju.supportsFiber)try{sl=ju.inject(Vy),vt=ju}catch{}}return ai.createRoot=function(e,t){if(!f(e))throw Error(o(299));var a=!1,n="",l=nd,i=ld,c=id;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onUncaughtError!==void 0&&(l=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=Lm(e,1,!1,null,null,a,n,null,l,i,c,$m),e[bn]=t.current,Wo(e),new ps(t)},ai.hydrateRoot=function(e,t,a){if(!f(e))throw Error(o(299));var n=!1,l="",i=nd,c=ld,d=id,y=null;return a!=null&&(a.unstable_strictMode===!0&&(n=!0),a.identifierPrefix!==void 0&&(l=a.identifierPrefix),a.onUncaughtError!==void 0&&(i=a.onUncaughtError),a.onCaughtError!==void 0&&(c=a.onCaughtError),a.onRecoverableError!==void 0&&(d=a.onRecoverableError),a.formState!==void 0&&(y=a.formState)),t=Lm(e,1,!0,t,a??null,n,l,y,i,c,d,$m),t.context=Hm(null),a=t.current,n=jt(),n=lr(n),l=Oa(n),l.callback=null,Ca(a,l,n),a=n,t.current.lanes=a,fl(t,a),It(t),e[bn]=t.current,Wo(e),new Tu(t)},ai.version="19.2.4",ai}var oh;function ag(){if(oh)return vs.exports;oh=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(r){console.error(r)}}return u(),vs.exports=tg(),vs.exports}var ng=ag();const lg="modulepreload",ig=function(u){return"/"+u},sh={},ie=function(r,s,o){let f=Promise.resolve();if(s&&s.length>0){let _=function(p){return Promise.all(p.map(j=>Promise.resolve(j).then(k=>({status:"fulfilled",value:k}),k=>({status:"rejected",reason:k}))))};document.getElementsByTagName("link");const x=document.querySelector("meta[property=csp-nonce]"),v=(x==null?void 0:x.nonce)||(x==null?void 0:x.getAttribute("nonce"));f=_(s.map(p=>{if(p=ig(p),p in sh)return;sh[p]=!0;const j=p.endsWith(".css"),k=j?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${p}"]${k}`))return;const M=document.createElement("link");if(M.rel=j?"stylesheet":lg,j||(M.as="script"),M.crossOrigin="",M.href=p,v&&M.setAttribute("nonce",v),document.head.appendChild(M),j)return new Promise((V,B)=>{M.addEventListener("load",V),M.addEventListener("error",()=>B(new Error(`Unable to preload CSS for ${p}`)))})}))}function h(_){const x=new Event("vite:preloadError",{cancelable:!0});if(x.payload=_,window.dispatchEvent(x),!x.defaultPrevented)throw _}return f.then(_=>{for(const x of _||[])x.status==="rejected"&&h(x.reason);return r().catch(h)})};/**
|
|
51
|
+
* react-router v7.13.1
|
|
52
|
+
*
|
|
53
|
+
* Copyright (c) Remix Software Inc.
|
|
54
|
+
*
|
|
55
|
+
* This source code is licensed under the MIT license found in the
|
|
56
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
57
|
+
*
|
|
58
|
+
* @license MIT
|
|
59
|
+
*/var ch="popstate";function fh(u){return typeof u=="object"&&u!=null&&"pathname"in u&&"search"in u&&"hash"in u&&"state"in u&&"key"in u}function ug(u={}){function r(o,f){var p;let h=(p=f.state)==null?void 0:p.masked,{pathname:_,search:x,hash:v}=h||o.location;return zs("",{pathname:_,search:x,hash:v},f.state&&f.state.usr||null,f.state&&f.state.key||"default",h?{pathname:o.location.pathname,search:o.location.search,hash:o.location.hash}:void 0)}function s(o,f){return typeof f=="string"?f:ri(f)}return og(r,s,null,u)}function Ue(u,r){if(u===!1||u===null||typeof u>"u")throw new Error(r)}function Yt(u,r){if(!u){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function rg(){return Math.random().toString(36).substring(2,10)}function dh(u,r){return{usr:u.state,key:u.key,idx:r,masked:u.unstable_mask?{pathname:u.pathname,search:u.search,hash:u.hash}:void 0}}function zs(u,r,s=null,o,f){return{pathname:typeof u=="string"?u:u.pathname,search:"",hash:"",...typeof r=="string"?il(r):r,state:s,key:r&&r.key||o||rg(),unstable_mask:f}}function ri({pathname:u="/",search:r="",hash:s=""}){return r&&r!=="?"&&(u+=r.charAt(0)==="?"?r:"?"+r),s&&s!=="#"&&(u+=s.charAt(0)==="#"?s:"#"+s),u}function il(u){let r={};if(u){let s=u.indexOf("#");s>=0&&(r.hash=u.substring(s),u=u.substring(0,s));let o=u.indexOf("?");o>=0&&(r.search=u.substring(o),u=u.substring(0,o)),u&&(r.pathname=u)}return r}function og(u,r,s,o={}){let{window:f=document.defaultView,v5Compat:h=!1}=o,_=f.history,x="POP",v=null,p=j();p==null&&(p=0,_.replaceState({..._.state,idx:p},""));function j(){return(_.state||{idx:null}).idx}function k(){x="POP";let L=j(),H=L==null?null:L-p;p=L,v&&v({action:x,location:q.location,delta:H})}function M(L,H){x="PUSH";let I=fh(L)?L:zs(q.location,L,H);p=j()+1;let J=dh(I,p),_e=q.createHref(I.unstable_mask||I);try{_.pushState(J,"",_e)}catch(ye){if(ye instanceof DOMException&&ye.name==="DataCloneError")throw ye;f.location.assign(_e)}h&&v&&v({action:x,location:q.location,delta:1})}function V(L,H){x="REPLACE";let I=fh(L)?L:zs(q.location,L,H);p=j();let J=dh(I,p),_e=q.createHref(I.unstable_mask||I);_.replaceState(J,"",_e),h&&v&&v({action:x,location:q.location,delta:0})}function B(L){return sg(L)}let q={get action(){return x},get location(){return u(f,_)},listen(L){if(v)throw new Error("A history only accepts one active listener");return f.addEventListener(ch,k),v=L,()=>{f.removeEventListener(ch,k),v=null}},createHref(L){return r(f,L)},createURL:B,encodeLocation(L){let H=B(L);return{pathname:H.pathname,search:H.search,hash:H.hash}},push:M,replace:V,go(L){return _.go(L)}};return q}function sg(u,r=!1){let s="http://localhost";typeof window<"u"&&(s=window.location.origin!=="null"?window.location.origin:window.location.href),Ue(s,"No window.location.(origin|href) available to create URL");let o=typeof u=="string"?u:ri(u);return o=o.replace(/ $/,"%20"),!r&&o.startsWith("//")&&(o=s+o),new URL(o,s)}function Ah(u,r,s="/"){return cg(u,r,s,!1)}function cg(u,r,s,o){let f=typeof r=="string"?il(r):r,h=Sa(f.pathname||"/",s);if(h==null)return null;let _=zh(u);fg(_);let x=null;for(let v=0;x==null&&v<_.length;++v){let p=Sg(h);x=bg(_[v],p,o)}return x}function zh(u,r=[],s=[],o="",f=!1){let h=(_,x,v=f,p)=>{let j={relativePath:p===void 0?_.path||"":p,caseSensitive:_.caseSensitive===!0,childrenIndex:x,route:_};if(j.relativePath.startsWith("/")){if(!j.relativePath.startsWith(o)&&v)return;Ue(j.relativePath.startsWith(o),`Absolute route path "${j.relativePath}" nested under path "${o}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),j.relativePath=j.relativePath.slice(o.length)}let k=ta([o,j.relativePath]),M=s.concat(j);_.children&&_.children.length>0&&(Ue(_.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${k}".`),zh(_.children,r,M,k,v)),!(_.path==null&&!_.index)&&r.push({path:k,score:gg(k,_.index),routesMeta:M})};return u.forEach((_,x)=>{var v;if(_.path===""||!((v=_.path)!=null&&v.includes("?")))h(_,x);else for(let p of Oh(_.path))h(_,x,!0,p)}),r}function Oh(u){let r=u.split("/");if(r.length===0)return[];let[s,...o]=r,f=s.endsWith("?"),h=s.replace(/\?$/,"");if(o.length===0)return f?[h,""]:[h];let _=Oh(o.join("/")),x=[];return x.push(..._.map(v=>v===""?h:[h,v].join("/"))),f&&x.push(..._),x.map(v=>u.startsWith("/")&&v===""?"/":v)}function fg(u){u.sort((r,s)=>r.score!==s.score?s.score-r.score:vg(r.routesMeta.map(o=>o.childrenIndex),s.routesMeta.map(o=>o.childrenIndex)))}var dg=/^:[\w-]+$/,mg=3,hg=2,pg=1,_g=10,yg=-2,mh=u=>u==="*";function gg(u,r){let s=u.split("/"),o=s.length;return s.some(mh)&&(o+=yg),r&&(o+=hg),s.filter(f=>!mh(f)).reduce((f,h)=>f+(dg.test(h)?mg:h===""?pg:_g),o)}function vg(u,r){return u.length===r.length&&u.slice(0,-1).every((o,f)=>o===r[f])?u[u.length-1]-r[r.length-1]:0}function bg(u,r,s=!1){let{routesMeta:o}=u,f={},h="/",_=[];for(let x=0;x<o.length;++x){let v=o[x],p=x===o.length-1,j=h==="/"?r:r.slice(h.length)||"/",k=Xu({path:v.relativePath,caseSensitive:v.caseSensitive,end:p},j),M=v.route;if(!k&&p&&s&&!o[o.length-1].route.index&&(k=Xu({path:v.relativePath,caseSensitive:v.caseSensitive,end:!1},j)),!k)return null;Object.assign(f,k.params),_.push({params:f,pathname:ta([h,k.pathname]),pathnameBase:Tg(ta([h,k.pathnameBase])),route:M}),k.pathnameBase!=="/"&&(h=ta([h,k.pathnameBase]))}return _}function Xu(u,r){typeof u=="string"&&(u={path:u,caseSensitive:!1,end:!0});let[s,o]=xg(u.path,u.caseSensitive,u.end),f=r.match(s);if(!f)return null;let h=f[0],_=h.replace(/(.)\/+$/,"$1"),x=f.slice(1);return{params:o.reduce((p,{paramName:j,isOptional:k},M)=>{if(j==="*"){let B=x[M]||"";_=h.slice(0,h.length-B.length).replace(/(.)\/+$/,"$1")}const V=x[M];return k&&!V?p[j]=void 0:p[j]=(V||"").replace(/%2F/g,"/"),p},{}),pathname:h,pathnameBase:_,pattern:u}}function xg(u,r=!1,s=!0){Yt(u==="*"||!u.endsWith("*")||u.endsWith("/*"),`Route path "${u}" will be treated as if it were "${u.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${u.replace(/\*$/,"/*")}".`);let o=[],f="^"+u.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(_,x,v,p,j)=>{if(o.push({paramName:x,isOptional:v!=null}),v){let k=j.charAt(p+_.length);return k&&k!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return u.endsWith("*")?(o.push({paramName:"*"}),f+=u==="*"||u==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?f+="\\/*$":u!==""&&u!=="/"&&(f+="(?:(?=\\/|$))"),[new RegExp(f,r?void 0:"i"),o]}function Sg(u){try{return u.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return Yt(!1,`The URL path "${u}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),u}}function Sa(u,r){if(r==="/")return u;if(!u.toLowerCase().startsWith(r.toLowerCase()))return null;let s=r.endsWith("/")?r.length-1:r.length,o=u.charAt(s);return o&&o!=="/"?null:u.slice(s)||"/"}var kg=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function Eg(u,r="/"){let{pathname:s,search:o="",hash:f=""}=typeof u=="string"?il(u):u,h;return s?(s=s.replace(/\/\/+/g,"/"),s.startsWith("/")?h=hh(s.substring(1),"/"):h=hh(s,r)):h=r,{pathname:h,search:jg(o),hash:Rg(f)}}function hh(u,r){let s=r.replace(/\/+$/,"").split("/");return u.split("/").forEach(f=>{f===".."?s.length>1&&s.pop():f!=="."&&s.push(f)}),s.length>1?s.join("/"):"/"}function ks(u,r,s,o){return`Cannot include a '${u}' character in a manually specified \`to.${r}\` field [${JSON.stringify(o)}]. Please separate it out to the \`to.${s}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function wg(u){return u.filter((r,s)=>s===0||r.route.path&&r.route.path.length>0)}function Ys(u){let r=wg(u);return r.map((s,o)=>o===r.length-1?s.pathname:s.pathnameBase)}function Ku(u,r,s,o=!1){let f;typeof u=="string"?f=il(u):(f={...u},Ue(!f.pathname||!f.pathname.includes("?"),ks("?","pathname","search",f)),Ue(!f.pathname||!f.pathname.includes("#"),ks("#","pathname","hash",f)),Ue(!f.search||!f.search.includes("#"),ks("#","search","hash",f)));let h=u===""||f.pathname==="",_=h?"/":f.pathname,x;if(_==null)x=s;else{let k=r.length-1;if(!o&&_.startsWith("..")){let M=_.split("/");for(;M[0]==="..";)M.shift(),k-=1;f.pathname=M.join("/")}x=k>=0?r[k]:"/"}let v=Eg(f,x),p=_&&_!=="/"&&_.endsWith("/"),j=(h||_===".")&&s.endsWith("/");return!v.pathname.endsWith("/")&&(p||j)&&(v.pathname+="/"),v}var ta=u=>u.join("/").replace(/\/\/+/g,"/"),Tg=u=>u.replace(/\/+$/,"").replace(/^\/*/,"/"),jg=u=>!u||u==="?"?"":u.startsWith("?")?u:"?"+u,Rg=u=>!u||u==="#"?"":u.startsWith("#")?u:"#"+u,Ag=class{constructor(u,r,s,o=!1){this.status=u,this.statusText=r||"",this.internal=o,s instanceof Error?(this.data=s.toString(),this.error=s):this.data=s}};function zg(u){return u!=null&&typeof u.status=="number"&&typeof u.statusText=="string"&&typeof u.internal=="boolean"&&"data"in u}function Og(u){return u.map(r=>r.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Ch=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Nh(u,r){let s=u;if(typeof s!="string"||!kg.test(s))return{absoluteURL:void 0,isExternal:!1,to:s};let o=s,f=!1;if(Ch)try{let h=new URL(window.location.href),_=s.startsWith("//")?new URL(h.protocol+s):new URL(s),x=Sa(_.pathname,r);_.origin===h.origin&&x!=null?s=x+_.search+_.hash:f=!0}catch{Yt(!1,`<Link to="${s}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:o,isExternal:f,to:s}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Dh=["POST","PUT","PATCH","DELETE"];new Set(Dh);var Cg=["GET",...Dh];new Set(Cg);var ul=g.createContext(null);ul.displayName="DataRouter";var Ju=g.createContext(null);Ju.displayName="DataRouterState";var Ng=g.createContext(!1),Mh=g.createContext({isTransitioning:!1});Mh.displayName="ViewTransition";var Dg=g.createContext(new Map);Dg.displayName="Fetchers";var Mg=g.createContext(null);Mg.displayName="Await";var Rt=g.createContext(null);Rt.displayName="Navigation";var oi=g.createContext(null);oi.displayName="Location";var Gt=g.createContext({outlet:null,matches:[],isDataRoute:!1});Gt.displayName="Route";var Gs=g.createContext(null);Gs.displayName="RouteError";var Uh="REACT_ROUTER_ERROR",Ug="REDIRECT",qg="ROUTE_ERROR_RESPONSE";function Lg(u){if(u.startsWith(`${Uh}:${Ug}:{`))try{let r=JSON.parse(u.slice(28));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string"&&typeof r.location=="string"&&typeof r.reloadDocument=="boolean"&&typeof r.replace=="boolean")return r}catch{}}function Hg(u){if(u.startsWith(`${Uh}:${qg}:{`))try{let r=JSON.parse(u.slice(40));if(typeof r=="object"&&r&&typeof r.status=="number"&&typeof r.statusText=="string")return new Ag(r.status,r.statusText,r.data)}catch{}}function Bg(u,{relative:r}={}){Ue(rl(),"useHref() may be used only in the context of a <Router> component.");let{basename:s,navigator:o}=g.useContext(Rt),{hash:f,pathname:h,search:_}=si(u,{relative:r}),x=h;return s!=="/"&&(x=h==="/"?s:ta([s,h])),o.createHref({pathname:x,search:_,hash:f})}function rl(){return g.useContext(oi)!=null}function yt(){return Ue(rl(),"useLocation() may be used only in the context of a <Router> component."),g.useContext(oi).location}var qh="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Lh(u){g.useContext(Rt).static||g.useLayoutEffect(u)}function Fa(){let{isDataRoute:u}=g.useContext(Gt);return u?tv():Yg()}function Yg(){Ue(rl(),"useNavigate() may be used only in the context of a <Router> component.");let u=g.useContext(ul),{basename:r,navigator:s}=g.useContext(Rt),{matches:o}=g.useContext(Gt),{pathname:f}=yt(),h=JSON.stringify(Ys(o)),_=g.useRef(!1);return Lh(()=>{_.current=!0}),g.useCallback((v,p={})=>{if(Yt(_.current,qh),!_.current)return;if(typeof v=="number"){s.go(v);return}let j=Ku(v,JSON.parse(h),f,p.relative==="path");u==null&&r!=="/"&&(j.pathname=j.pathname==="/"?r:ta([r,j.pathname])),(p.replace?s.replace:s.push)(j,p.state,p)},[r,s,h,f,u])}var Gg=g.createContext(null);function Vg(u){let r=g.useContext(Gt).outlet;return g.useMemo(()=>r&&g.createElement(Gg.Provider,{value:u},r),[r,u])}function d1(){let{matches:u}=g.useContext(Gt),r=u[u.length-1];return r?r.params:{}}function si(u,{relative:r}={}){let{matches:s}=g.useContext(Gt),{pathname:o}=yt(),f=JSON.stringify(Ys(s));return g.useMemo(()=>Ku(u,JSON.parse(f),o,r==="path"),[u,f,o,r])}function Xg(u,r){return Hh(u,r)}function Hh(u,r,s){var L;Ue(rl(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=g.useContext(Rt),{matches:f}=g.useContext(Gt),h=f[f.length-1],_=h?h.params:{},x=h?h.pathname:"/",v=h?h.pathnameBase:"/",p=h&&h.route;{let H=p&&p.path||"";Yh(x,!p||H.endsWith("*")||H.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${x}" (under <Route path="${H}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
60
|
+
|
|
61
|
+
Please change the parent <Route path="${H}"> to <Route path="${H==="/"?"*":`${H}/*`}">.`)}let j=yt(),k;if(r){let H=typeof r=="string"?il(r):r;Ue(v==="/"||((L=H.pathname)==null?void 0:L.startsWith(v)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${v}" but pathname "${H.pathname}" was given in the \`location\` prop.`),k=H}else k=j;let M=k.pathname||"/",V=M;if(v!=="/"){let H=v.replace(/^\//,"").split("/");V="/"+M.replace(/^\//,"").split("/").slice(H.length).join("/")}let B=Ah(u,{pathname:V});Yt(p||B!=null,`No routes matched location "${k.pathname}${k.search}${k.hash}" `),Yt(B==null||B[B.length-1].route.element!==void 0||B[B.length-1].route.Component!==void 0||B[B.length-1].route.lazy!==void 0,`Matched leaf route at location "${k.pathname}${k.search}${k.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let q=$g(B&&B.map(H=>Object.assign({},H,{params:Object.assign({},_,H.params),pathname:ta([v,o.encodeLocation?o.encodeLocation(H.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:H.pathname]),pathnameBase:H.pathnameBase==="/"?v:ta([v,o.encodeLocation?o.encodeLocation(H.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:H.pathnameBase])})),f,s);return r&&q?g.createElement(oi.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...k},navigationType:"POP"}},q):q}function Qg(){let u=ev(),r=zg(u)?`${u.status} ${u.statusText}`:u instanceof Error?u.message:JSON.stringify(u),s=u instanceof Error?u.stack:null,o="rgba(200,200,200, 0.5)",f={padding:"0.5rem",backgroundColor:o},h={padding:"2px 4px",backgroundColor:o},_=null;return console.error("Error handled by React Router default ErrorBoundary:",u),_=g.createElement(g.Fragment,null,g.createElement("p",null,"💿 Hey developer 👋"),g.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",g.createElement("code",{style:h},"ErrorBoundary")," or"," ",g.createElement("code",{style:h},"errorElement")," prop on your route.")),g.createElement(g.Fragment,null,g.createElement("h2",null,"Unexpected Application Error!"),g.createElement("h3",{style:{fontStyle:"italic"}},r),s?g.createElement("pre",{style:f},s):null,_)}var Zg=g.createElement(Qg,null),Bh=class extends g.Component{constructor(u){super(u),this.state={location:u.location,revalidation:u.revalidation,error:u.error}}static getDerivedStateFromError(u){return{error:u}}static getDerivedStateFromProps(u,r){return r.location!==u.location||r.revalidation!=="idle"&&u.revalidation==="idle"?{error:u.error,location:u.location,revalidation:u.revalidation}:{error:u.error!==void 0?u.error:r.error,location:r.location,revalidation:u.revalidation||r.revalidation}}componentDidCatch(u,r){this.props.onError?this.props.onError(u,r):console.error("React Router caught the following error during render",u)}render(){let u=this.state.error;if(this.context&&typeof u=="object"&&u&&"digest"in u&&typeof u.digest=="string"){const s=Hg(u.digest);s&&(u=s)}let r=u!==void 0?g.createElement(Gt.Provider,{value:this.props.routeContext},g.createElement(Gs.Provider,{value:u,children:this.props.component})):this.props.children;return this.context?g.createElement(Kg,{error:u},r):r}};Bh.contextType=Ng;var Es=new WeakMap;function Kg({children:u,error:r}){let{basename:s}=g.useContext(Rt);if(typeof r=="object"&&r&&"digest"in r&&typeof r.digest=="string"){let o=Lg(r.digest);if(o){let f=Es.get(r);if(f)throw f;let h=Nh(o.location,s);if(Ch&&!Es.get(r))if(h.isExternal||o.reloadDocument)window.location.href=h.absoluteURL||h.to;else{const _=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(h.to,{replace:o.replace}));throw Es.set(r,_),_}return g.createElement("meta",{httpEquiv:"refresh",content:`0;url=${h.absoluteURL||h.to}`})}}return u}function Jg({routeContext:u,match:r,children:s}){let o=g.useContext(ul);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),g.createElement(Gt.Provider,{value:u},s)}function $g(u,r=[],s){let o=s==null?void 0:s.state;if(u==null){if(!o)return null;if(o.errors)u=o.matches;else if(r.length===0&&!o.initialized&&o.matches.length>0)u=o.matches;else return null}let f=u,h=o==null?void 0:o.errors;if(h!=null){let j=f.findIndex(k=>k.route.id&&(h==null?void 0:h[k.route.id])!==void 0);Ue(j>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(h).join(",")}`),f=f.slice(0,Math.min(f.length,j+1))}let _=!1,x=-1;if(s&&o){_=o.renderFallback;for(let j=0;j<f.length;j++){let k=f[j];if((k.route.HydrateFallback||k.route.hydrateFallbackElement)&&(x=j),k.route.id){let{loaderData:M,errors:V}=o,B=k.route.loader&&!M.hasOwnProperty(k.route.id)&&(!V||V[k.route.id]===void 0);if(k.route.lazy||B){s.isStatic&&(_=!0),x>=0?f=f.slice(0,x+1):f=[f[0]];break}}}}let v=s==null?void 0:s.onError,p=o&&v?(j,k)=>{var M,V;v(j,{location:o.location,params:((V=(M=o.matches)==null?void 0:M[0])==null?void 0:V.params)??{},unstable_pattern:Og(o.matches),errorInfo:k})}:void 0;return f.reduceRight((j,k,M)=>{let V,B=!1,q=null,L=null;o&&(V=h&&k.route.id?h[k.route.id]:void 0,q=k.route.errorElement||Zg,_&&(x<0&&M===0?(Yh("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),B=!0,L=null):x===M&&(B=!0,L=k.route.hydrateFallbackElement||null)));let H=r.concat(f.slice(0,M+1)),I=()=>{let J;return V?J=q:B?J=L:k.route.Component?J=g.createElement(k.route.Component,null):k.route.element?J=k.route.element:J=j,g.createElement(Jg,{match:k,routeContext:{outlet:j,matches:H,isDataRoute:o!=null},children:J})};return o&&(k.route.ErrorBoundary||k.route.errorElement||M===0)?g.createElement(Bh,{location:o.location,revalidation:o.revalidation,component:q,error:V,children:I(),routeContext:{outlet:null,matches:H,isDataRoute:!0},onError:p}):I()},null)}function Vs(u){return`${u} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Wg(u){let r=g.useContext(ul);return Ue(r,Vs(u)),r}function Fg(u){let r=g.useContext(Ju);return Ue(r,Vs(u)),r}function Ig(u){let r=g.useContext(Gt);return Ue(r,Vs(u)),r}function Xs(u){let r=Ig(u),s=r.matches[r.matches.length-1];return Ue(s.route.id,`${u} can only be used on routes that contain a unique "id"`),s.route.id}function Pg(){return Xs("useRouteId")}function ev(){var o;let u=g.useContext(Gs),r=Fg("useRouteError"),s=Xs("useRouteError");return u!==void 0?u:(o=r.errors)==null?void 0:o[s]}function tv(){let{router:u}=Wg("useNavigate"),r=Xs("useNavigate"),s=g.useRef(!1);return Lh(()=>{s.current=!0}),g.useCallback(async(f,h={})=>{Yt(s.current,qh),s.current&&(typeof f=="number"?await u.navigate(f):await u.navigate(f,{fromRouteId:r,...h}))},[u,r])}var ph={};function Yh(u,r,s){!r&&!ph[u]&&(ph[u]=!0,Yt(!1,s))}g.memo(av);function av({routes:u,future:r,state:s,isStatic:o,onError:f}){return Hh(u,void 0,{state:s,isStatic:o,onError:f})}function ll({to:u,replace:r,state:s,relative:o}){Ue(rl(),"<Navigate> may be used only in the context of a <Router> component.");let{static:f}=g.useContext(Rt);Yt(!f,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:h}=g.useContext(Gt),{pathname:_}=yt(),x=Fa(),v=Ku(u,Ys(h),_,o==="path"),p=JSON.stringify(v);return g.useEffect(()=>{x(JSON.parse(p),{replace:r,state:s,relative:o})},[x,p,o,r,s]),null}function nv(u){return Vg(u.context)}function te(u){Ue(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function lv({basename:u="/",children:r=null,location:s,navigationType:o="POP",navigator:f,static:h=!1,unstable_useTransitions:_}){Ue(!rl(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let x=u.replace(/^\/*/,"/"),v=g.useMemo(()=>({basename:x,navigator:f,static:h,unstable_useTransitions:_,future:{}}),[x,f,h,_]);typeof s=="string"&&(s=il(s));let{pathname:p="/",search:j="",hash:k="",state:M=null,key:V="default",unstable_mask:B}=s,q=g.useMemo(()=>{let L=Sa(p,x);return L==null?null:{location:{pathname:L,search:j,hash:k,state:M,key:V,unstable_mask:B},navigationType:o}},[x,p,j,k,M,V,o,B]);return Yt(q!=null,`<Router basename="${x}"> is not able to match the URL "${p}${j}${k}" because it does not start with the basename, so the <Router> won't render anything.`),q==null?null:g.createElement(Rt.Provider,{value:v},g.createElement(oi.Provider,{children:r,value:q}))}function iv({children:u,location:r}){return Xg(Os(u),r)}function Os(u,r=[]){let s=[];return g.Children.forEach(u,(o,f)=>{if(!g.isValidElement(o))return;let h=[...r,f];if(o.type===g.Fragment){s.push.apply(s,Os(o.props.children,h));return}Ue(o.type===te,`[${typeof o.type=="string"?o.type:o.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Ue(!o.props.index||!o.props.children,"An index route cannot have child routes.");let _={id:o.props.id||h.join("-"),caseSensitive:o.props.caseSensitive,element:o.props.element,Component:o.props.Component,index:o.props.index,path:o.props.path,middleware:o.props.middleware,loader:o.props.loader,action:o.props.action,hydrateFallbackElement:o.props.hydrateFallbackElement,HydrateFallback:o.props.HydrateFallback,errorElement:o.props.errorElement,ErrorBoundary:o.props.ErrorBoundary,hasErrorBoundary:o.props.hasErrorBoundary===!0||o.props.ErrorBoundary!=null||o.props.errorElement!=null,shouldRevalidate:o.props.shouldRevalidate,handle:o.props.handle,lazy:o.props.lazy};o.props.children&&(_.children=Os(o.props.children,h)),s.push(_)}),s}var qu="get",Lu="application/x-www-form-urlencoded";function $u(u){return typeof HTMLElement<"u"&&u instanceof HTMLElement}function uv(u){return $u(u)&&u.tagName.toLowerCase()==="button"}function rv(u){return $u(u)&&u.tagName.toLowerCase()==="form"}function ov(u){return $u(u)&&u.tagName.toLowerCase()==="input"}function sv(u){return!!(u.metaKey||u.altKey||u.ctrlKey||u.shiftKey)}function cv(u,r){return u.button===0&&(!r||r==="_self")&&!sv(u)}function Cs(u=""){return new URLSearchParams(typeof u=="string"||Array.isArray(u)||u instanceof URLSearchParams?u:Object.keys(u).reduce((r,s)=>{let o=u[s];return r.concat(Array.isArray(o)?o.map(f=>[s,f]):[[s,o]])},[]))}function fv(u,r){let s=Cs(u);return r&&r.forEach((o,f)=>{s.has(f)||r.getAll(f).forEach(h=>{s.append(f,h)})}),s}var Au=null;function dv(){if(Au===null)try{new FormData(document.createElement("form"),0),Au=!1}catch{Au=!0}return Au}var mv=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function ws(u){return u!=null&&!mv.has(u)?(Yt(!1,`"${u}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Lu}"`),null):u}function hv(u,r){let s,o,f,h,_;if(rv(u)){let x=u.getAttribute("action");o=x?Sa(x,r):null,s=u.getAttribute("method")||qu,f=ws(u.getAttribute("enctype"))||Lu,h=new FormData(u)}else if(uv(u)||ov(u)&&(u.type==="submit"||u.type==="image")){let x=u.form;if(x==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let v=u.getAttribute("formaction")||x.getAttribute("action");if(o=v?Sa(v,r):null,s=u.getAttribute("formmethod")||x.getAttribute("method")||qu,f=ws(u.getAttribute("formenctype"))||ws(x.getAttribute("enctype"))||Lu,h=new FormData(x,u),!dv()){let{name:p,type:j,value:k}=u;if(j==="image"){let M=p?`${p}.`:"";h.append(`${M}x`,"0"),h.append(`${M}y`,"0")}else p&&h.append(p,k)}}else{if($u(u))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');s=qu,o=null,f=Lu,_=u}return h&&f==="text/plain"&&(_=h,h=void 0),{action:o,method:s.toLowerCase(),encType:f,formData:h,body:_}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Qs(u,r){if(u===!1||u===null||typeof u>"u")throw new Error(r)}function pv(u,r,s,o){let f=typeof u=="string"?new URL(u,typeof window>"u"?"server://singlefetch/":window.location.origin):u;return s?f.pathname.endsWith("/")?f.pathname=`${f.pathname}_.${o}`:f.pathname=`${f.pathname}.${o}`:f.pathname==="/"?f.pathname=`_root.${o}`:r&&Sa(f.pathname,r)==="/"?f.pathname=`${r.replace(/\/$/,"")}/_root.${o}`:f.pathname=`${f.pathname.replace(/\/$/,"")}.${o}`,f}async function _v(u,r){if(u.id in r)return r[u.id];try{let s=await import(u.module);return r[u.id]=s,s}catch(s){return console.error(`Error loading route module \`${u.module}\`, reloading page...`),console.error(s),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function yv(u){return u==null?!1:u.href==null?u.rel==="preload"&&typeof u.imageSrcSet=="string"&&typeof u.imageSizes=="string":typeof u.rel=="string"&&typeof u.href=="string"}async function gv(u,r,s){let o=await Promise.all(u.map(async f=>{let h=r.routes[f.route.id];if(h){let _=await _v(h,s);return _.links?_.links():[]}return[]}));return Sv(o.flat(1).filter(yv).filter(f=>f.rel==="stylesheet"||f.rel==="preload").map(f=>f.rel==="stylesheet"?{...f,rel:"prefetch",as:"style"}:{...f,rel:"prefetch"}))}function _h(u,r,s,o,f,h){let _=(v,p)=>s[p]?v.route.id!==s[p].route.id:!0,x=(v,p)=>{var j;return s[p].pathname!==v.pathname||((j=s[p].route.path)==null?void 0:j.endsWith("*"))&&s[p].params["*"]!==v.params["*"]};return h==="assets"?r.filter((v,p)=>_(v,p)||x(v,p)):h==="data"?r.filter((v,p)=>{var k;let j=o.routes[v.route.id];if(!j||!j.hasLoader)return!1;if(_(v,p)||x(v,p))return!0;if(v.route.shouldRevalidate){let M=v.route.shouldRevalidate({currentUrl:new URL(f.pathname+f.search+f.hash,window.origin),currentParams:((k=s[0])==null?void 0:k.params)||{},nextUrl:new URL(u,window.origin),nextParams:v.params,defaultShouldRevalidate:!0});if(typeof M=="boolean")return M}return!0}):[]}function vv(u,r,{includeHydrateFallback:s}={}){return bv(u.map(o=>{let f=r.routes[o.route.id];if(!f)return[];let h=[f.module];return f.clientActionModule&&(h=h.concat(f.clientActionModule)),f.clientLoaderModule&&(h=h.concat(f.clientLoaderModule)),s&&f.hydrateFallbackModule&&(h=h.concat(f.hydrateFallbackModule)),f.imports&&(h=h.concat(f.imports)),h}).flat(1))}function bv(u){return[...new Set(u)]}function xv(u){let r={},s=Object.keys(u).sort();for(let o of s)r[o]=u[o];return r}function Sv(u,r){let s=new Set;return new Set(r),u.reduce((o,f)=>{let h=JSON.stringify(xv(f));return s.has(h)||(s.add(h),o.push({key:h,link:f})),o},[])}function Gh(){let u=g.useContext(ul);return Qs(u,"You must render this element inside a <DataRouterContext.Provider> element"),u}function kv(){let u=g.useContext(Ju);return Qs(u,"You must render this element inside a <DataRouterStateContext.Provider> element"),u}var Zs=g.createContext(void 0);Zs.displayName="FrameworkContext";function Vh(){let u=g.useContext(Zs);return Qs(u,"You must render this element inside a <HydratedRouter> element"),u}function Ev(u,r){let s=g.useContext(Zs),[o,f]=g.useState(!1),[h,_]=g.useState(!1),{onFocus:x,onBlur:v,onMouseEnter:p,onMouseLeave:j,onTouchStart:k}=r,M=g.useRef(null);g.useEffect(()=>{if(u==="render"&&_(!0),u==="viewport"){let q=H=>{H.forEach(I=>{_(I.isIntersecting)})},L=new IntersectionObserver(q,{threshold:.5});return M.current&&L.observe(M.current),()=>{L.disconnect()}}},[u]),g.useEffect(()=>{if(o){let q=setTimeout(()=>{_(!0)},100);return()=>{clearTimeout(q)}}},[o]);let V=()=>{f(!0)},B=()=>{f(!1),_(!1)};return s?u!=="intent"?[h,M,{}]:[h,M,{onFocus:ni(x,V),onBlur:ni(v,B),onMouseEnter:ni(p,V),onMouseLeave:ni(j,B),onTouchStart:ni(k,V)}]:[!1,M,{}]}function ni(u,r){return s=>{u&&u(s),s.defaultPrevented||r(s)}}function wv({page:u,...r}){let{router:s}=Gh(),o=g.useMemo(()=>Ah(s.routes,u,s.basename),[s.routes,u,s.basename]);return o?g.createElement(jv,{page:u,matches:o,...r}):null}function Tv(u){let{manifest:r,routeModules:s}=Vh(),[o,f]=g.useState([]);return g.useEffect(()=>{let h=!1;return gv(u,r,s).then(_=>{h||f(_)}),()=>{h=!0}},[u,r,s]),o}function jv({page:u,matches:r,...s}){let o=yt(),{future:f,manifest:h,routeModules:_}=Vh(),{basename:x}=Gh(),{loaderData:v,matches:p}=kv(),j=g.useMemo(()=>_h(u,r,p,h,o,"data"),[u,r,p,h,o]),k=g.useMemo(()=>_h(u,r,p,h,o,"assets"),[u,r,p,h,o]),M=g.useMemo(()=>{if(u===o.pathname+o.search+o.hash)return[];let q=new Set,L=!1;if(r.forEach(I=>{var _e;let J=h.routes[I.route.id];!J||!J.hasLoader||(!j.some(ye=>ye.route.id===I.route.id)&&I.route.id in v&&((_e=_[I.route.id])!=null&&_e.shouldRevalidate)||J.hasClientLoader?L=!0:q.add(I.route.id))}),q.size===0)return[];let H=pv(u,x,f.unstable_trailingSlashAwareDataRequests,"data");return L&&q.size>0&&H.searchParams.set("_routes",r.filter(I=>q.has(I.route.id)).map(I=>I.route.id).join(",")),[H.pathname+H.search]},[x,f.unstable_trailingSlashAwareDataRequests,v,o,h,j,r,u,_]),V=g.useMemo(()=>vv(k,h),[k,h]),B=Tv(k);return g.createElement(g.Fragment,null,M.map(q=>g.createElement("link",{key:q,rel:"prefetch",as:"fetch",href:q,...s})),V.map(q=>g.createElement("link",{key:q,rel:"modulepreload",href:q,...s})),B.map(({key:q,link:L})=>g.createElement("link",{key:q,nonce:s.nonce,...L,crossOrigin:L.crossOrigin??s.crossOrigin})))}function Rv(...u){return r=>{u.forEach(s=>{typeof s=="function"?s(r):s!=null&&(s.current=r)})}}var Av=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{Av&&(window.__reactRouterVersion="7.13.1")}catch{}function zv({basename:u,children:r,unstable_useTransitions:s,window:o}){let f=g.useRef();f.current==null&&(f.current=ug({window:o,v5Compat:!0}));let h=f.current,[_,x]=g.useState({action:h.action,location:h.location}),v=g.useCallback(p=>{s===!1?x(p):g.startTransition(()=>x(p))},[s]);return g.useLayoutEffect(()=>h.listen(v),[h,v]),g.createElement(lv,{basename:u,children:r,location:_.location,navigationType:_.action,navigator:h,unstable_useTransitions:s})}var Xh=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Qh=g.forwardRef(function({onClick:r,discover:s="render",prefetch:o="none",relative:f,reloadDocument:h,replace:_,unstable_mask:x,state:v,target:p,to:j,preventScrollReset:k,viewTransition:M,unstable_defaultShouldRevalidate:V,...B},q){let{basename:L,navigator:H,unstable_useTransitions:I}=g.useContext(Rt),J=typeof j=="string"&&Xh.test(j),_e=Nh(j,L);j=_e.to;let ye=Bg(j,{relative:f}),he=yt(),W=null;if(x){let De=Ku(x,[],he.unstable_mask?he.unstable_mask.pathname:"/",!0);L!=="/"&&(De.pathname=De.pathname==="/"?L:ta([L,De.pathname])),W=H.createHref(De)}let[$,oe,Pe]=Ev(o,B),Je=Nv(j,{replace:_,unstable_mask:x,state:v,target:p,preventScrollReset:k,relative:f,viewTransition:M,unstable_defaultShouldRevalidate:V,unstable_useTransitions:I});function qe(De){r&&r(De),De.defaultPrevented||Je(De)}let At=!(_e.isExternal||h),rt=g.createElement("a",{...B,...Pe,href:(At?W:void 0)||_e.absoluteURL||ye,onClick:At?qe:r,ref:Rv(q,oe),target:p,"data-discover":!J&&s==="render"?"true":void 0});return $&&!J?g.createElement(g.Fragment,null,rt,g.createElement(wv,{page:ye})):rt});Qh.displayName="Link";var Ks=g.forwardRef(function({"aria-current":r="page",caseSensitive:s=!1,className:o="",end:f=!1,style:h,to:_,viewTransition:x,children:v,...p},j){let k=si(_,{relative:p.relative}),M=yt(),V=g.useContext(Ju),{navigator:B,basename:q}=g.useContext(Rt),L=V!=null&&Lv(k)&&x===!0,H=B.encodeLocation?B.encodeLocation(k).pathname:k.pathname,I=M.pathname,J=V&&V.navigation&&V.navigation.location?V.navigation.location.pathname:null;s||(I=I.toLowerCase(),J=J?J.toLowerCase():null,H=H.toLowerCase()),J&&q&&(J=Sa(J,q)||J);const _e=H!=="/"&&H.endsWith("/")?H.length-1:H.length;let ye=I===H||!f&&I.startsWith(H)&&I.charAt(_e)==="/",he=J!=null&&(J===H||!f&&J.startsWith(H)&&J.charAt(H.length)==="/"),W={isActive:ye,isPending:he,isTransitioning:L},$=ye?r:void 0,oe;typeof o=="function"?oe=o(W):oe=[o,ye?"active":null,he?"pending":null,L?"transitioning":null].filter(Boolean).join(" ");let Pe=typeof h=="function"?h(W):h;return g.createElement(Qh,{...p,"aria-current":$,className:oe,ref:j,style:Pe,to:_,viewTransition:x},typeof v=="function"?v(W):v)});Ks.displayName="NavLink";var Ov=g.forwardRef(({discover:u="render",fetcherKey:r,navigate:s,reloadDocument:o,replace:f,state:h,method:_=qu,action:x,onSubmit:v,relative:p,preventScrollReset:j,viewTransition:k,unstable_defaultShouldRevalidate:M,...V},B)=>{let{unstable_useTransitions:q}=g.useContext(Rt),L=Uv(),H=qv(x,{relative:p}),I=_.toLowerCase()==="get"?"get":"post",J=typeof x=="string"&&Xh.test(x),_e=ye=>{if(v&&v(ye),ye.defaultPrevented)return;ye.preventDefault();let he=ye.nativeEvent.submitter,W=(he==null?void 0:he.getAttribute("formmethod"))||_,$=()=>L(he||ye.currentTarget,{fetcherKey:r,method:W,navigate:s,replace:f,state:h,relative:p,preventScrollReset:j,viewTransition:k,unstable_defaultShouldRevalidate:M});q&&s!==!1?g.startTransition(()=>$()):$()};return g.createElement("form",{ref:B,method:I,action:H,onSubmit:o?v:_e,...V,"data-discover":!J&&u==="render"?"true":void 0})});Ov.displayName="Form";function Cv(u){return`${u} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Zh(u){let r=g.useContext(ul);return Ue(r,Cv(u)),r}function Nv(u,{target:r,replace:s,unstable_mask:o,state:f,preventScrollReset:h,relative:_,viewTransition:x,unstable_defaultShouldRevalidate:v,unstable_useTransitions:p}={}){let j=Fa(),k=yt(),M=si(u,{relative:_});return g.useCallback(V=>{if(cv(V,r)){V.preventDefault();let B=s!==void 0?s:ri(k)===ri(M),q=()=>j(u,{replace:B,unstable_mask:o,state:f,preventScrollReset:h,relative:_,viewTransition:x,unstable_defaultShouldRevalidate:v});p?g.startTransition(()=>q()):q()}},[k,j,M,s,o,f,r,u,h,_,x,v,p])}function m1(u){Yt(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let r=g.useRef(Cs(u)),s=g.useRef(!1),o=yt(),f=g.useMemo(()=>fv(o.search,s.current?null:r.current),[o.search]),h=Fa(),_=g.useCallback((x,v)=>{const p=Cs(typeof x=="function"?x(new URLSearchParams(f)):x);s.current=!0,h("?"+p,v)},[h,f]);return[f,_]}var Dv=0,Mv=()=>`__${String(++Dv)}__`;function Uv(){let{router:u}=Zh("useSubmit"),{basename:r}=g.useContext(Rt),s=Pg(),o=u.fetch,f=u.navigate;return g.useCallback(async(h,_={})=>{let{action:x,method:v,encType:p,formData:j,body:k}=hv(h,r);if(_.navigate===!1){let M=_.fetcherKey||Mv();await o(M,s,_.action||x,{unstable_defaultShouldRevalidate:_.unstable_defaultShouldRevalidate,preventScrollReset:_.preventScrollReset,formData:j,body:k,formMethod:_.method||v,formEncType:_.encType||p,flushSync:_.flushSync})}else await f(_.action||x,{unstable_defaultShouldRevalidate:_.unstable_defaultShouldRevalidate,preventScrollReset:_.preventScrollReset,formData:j,body:k,formMethod:_.method||v,formEncType:_.encType||p,replace:_.replace,state:_.state,fromRouteId:s,flushSync:_.flushSync,viewTransition:_.viewTransition})},[o,f,r,s])}function qv(u,{relative:r}={}){let{basename:s}=g.useContext(Rt),o=g.useContext(Gt);Ue(o,"useFormAction must be used inside a RouteContext");let[f]=o.matches.slice(-1),h={...si(u||".",{relative:r})},_=yt();if(u==null){h.search=_.search;let x=new URLSearchParams(h.search),v=x.getAll("index");if(v.some(j=>j==="")){x.delete("index"),v.filter(k=>k).forEach(k=>x.append("index",k));let j=x.toString();h.search=j?`?${j}`:""}}return(!u||u===".")&&f.route.index&&(h.search=h.search?h.search.replace(/^\?/,"?index&"):"?index"),s!=="/"&&(h.pathname=h.pathname==="/"?s:ta([s,h.pathname])),ri(h)}function Lv(u,{relative:r}={}){let s=g.useContext(Mh);Ue(s!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=Zh("useViewTransitionState"),f=si(u,{relative:r});if(!s.isTransitioning)return!1;let h=Sa(s.currentLocation.pathname,o)||s.currentLocation.pathname,_=Sa(s.nextLocation.pathname,o)||s.nextLocation.pathname;return Xu(f.pathname,_)!=null||Xu(f.pathname,h)!=null}/**
|
|
62
|
+
* @license lucide-react v0.469.0 - ISC
|
|
63
|
+
*
|
|
64
|
+
* This source code is licensed under the ISC license.
|
|
65
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
66
|
+
*/const Hv=u=>u.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Kh=(...u)=>u.filter((r,s,o)=>!!r&&r.trim()!==""&&o.indexOf(r)===s).join(" ").trim();/**
|
|
67
|
+
* @license lucide-react v0.469.0 - ISC
|
|
68
|
+
*
|
|
69
|
+
* This source code is licensed under the ISC license.
|
|
70
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
71
|
+
*/var Bv={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"};/**
|
|
72
|
+
* @license lucide-react v0.469.0 - ISC
|
|
73
|
+
*
|
|
74
|
+
* This source code is licensed under the ISC license.
|
|
75
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
76
|
+
*/const Yv=g.forwardRef(({color:u="currentColor",size:r=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:f="",children:h,iconNode:_,...x},v)=>g.createElement("svg",{ref:v,...Bv,width:r,height:r,stroke:u,strokeWidth:o?Number(s)*24/Number(r):s,className:Kh("lucide",f),...x},[..._.map(([p,j])=>g.createElement(p,j)),...Array.isArray(h)?h:[h]]));/**
|
|
77
|
+
* @license lucide-react v0.469.0 - ISC
|
|
78
|
+
*
|
|
79
|
+
* This source code is licensed under the ISC license.
|
|
80
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
81
|
+
*/const Ae=(u,r)=>{const s=g.forwardRef(({className:o,...f},h)=>g.createElement(Yv,{ref:h,iconNode:r,className:Kh(`lucide-${Hv(u)}`,o),...f}));return s.displayName=`${u}`,s};/**
|
|
82
|
+
* @license lucide-react v0.469.0 - ISC
|
|
83
|
+
*
|
|
84
|
+
* This source code is licensed under the ISC license.
|
|
85
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
86
|
+
*/const Gv=Ae("Bell",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]]);/**
|
|
87
|
+
* @license lucide-react v0.469.0 - ISC
|
|
88
|
+
*
|
|
89
|
+
* This source code is licensed under the ISC license.
|
|
90
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
91
|
+
*/const Vv=Ae("BookOpen",[["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"}]]);/**
|
|
92
|
+
* @license lucide-react v0.469.0 - ISC
|
|
93
|
+
*
|
|
94
|
+
* This source code is licensed under the ISC license.
|
|
95
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
96
|
+
*/const Xv=Ae("CheckCheck",[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]]);/**
|
|
97
|
+
* @license lucide-react v0.469.0 - ISC
|
|
98
|
+
*
|
|
99
|
+
* This source code is licensed under the ISC license.
|
|
100
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
101
|
+
*/const Qv=Ae("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
|
|
102
|
+
* @license lucide-react v0.469.0 - ISC
|
|
103
|
+
*
|
|
104
|
+
* This source code is licensed under the ISC license.
|
|
105
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
106
|
+
*/const Zv=Ae("ChevronsLeft",[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]]);/**
|
|
107
|
+
* @license lucide-react v0.469.0 - ISC
|
|
108
|
+
*
|
|
109
|
+
* This source code is licensed under the ISC license.
|
|
110
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
111
|
+
*/const Kv=Ae("ChevronsRight",[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]]);/**
|
|
112
|
+
* @license lucide-react v0.469.0 - ISC
|
|
113
|
+
*
|
|
114
|
+
* This source code is licensed under the ISC license.
|
|
115
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
116
|
+
*/const Jv=Ae("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
|
|
117
|
+
* @license lucide-react v0.469.0 - ISC
|
|
118
|
+
*
|
|
119
|
+
* This source code is licensed under the ISC license.
|
|
120
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
121
|
+
*/const $v=Ae("CircleX",[["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"}]]);/**
|
|
122
|
+
* @license lucide-react v0.469.0 - ISC
|
|
123
|
+
*
|
|
124
|
+
* This source code is licensed under the ISC license.
|
|
125
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
126
|
+
*/const Wv=Ae("FolderGit2",[["path",{d:"M9 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v5",key:"1w6njk"}],["circle",{cx:"13",cy:"12",r:"2",key:"1j92g6"}],["path",{d:"M18 19c-2.8 0-5-2.2-5-5v8",key:"pkpw2h"}],["circle",{cx:"20",cy:"19",r:"2",key:"1obnsp"}]]);/**
|
|
127
|
+
* @license lucide-react v0.469.0 - ISC
|
|
128
|
+
*
|
|
129
|
+
* This source code is licensed under the ISC license.
|
|
130
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
131
|
+
*/const Fv=Ae("FolderKanban",[["path",{d:"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2Z",key:"1fr9dc"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M12 10v2",key:"hh53o1"}],["path",{d:"M16 10v6",key:"1d6xys"}]]);/**
|
|
132
|
+
* @license lucide-react v0.469.0 - ISC
|
|
133
|
+
*
|
|
134
|
+
* This source code is licensed under the ISC license.
|
|
135
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
136
|
+
*/const Iv=Ae("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
|
|
137
|
+
* @license lucide-react v0.469.0 - ISC
|
|
138
|
+
*
|
|
139
|
+
* This source code is licensed under the ISC license.
|
|
140
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
141
|
+
*/const Pv=Ae("KeyRound",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);/**
|
|
142
|
+
* @license lucide-react v0.469.0 - ISC
|
|
143
|
+
*
|
|
144
|
+
* This source code is licensed under the ISC license.
|
|
145
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
146
|
+
*/const Jh=Ae("LayoutDashboard",[["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"}]]);/**
|
|
147
|
+
* @license lucide-react v0.469.0 - ISC
|
|
148
|
+
*
|
|
149
|
+
* This source code is licensed under the ISC license.
|
|
150
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
151
|
+
*/const $h=Ae("ListTodo",[["rect",{x:"3",y:"5",width:"6",height:"6",rx:"1",key:"1defrl"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}]]);/**
|
|
152
|
+
* @license lucide-react v0.469.0 - ISC
|
|
153
|
+
*
|
|
154
|
+
* This source code is licensed under the ISC license.
|
|
155
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
156
|
+
*/const eb=Ae("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/**
|
|
157
|
+
* @license lucide-react v0.469.0 - ISC
|
|
158
|
+
*
|
|
159
|
+
* This source code is licensed under the ISC license.
|
|
160
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
161
|
+
*/const tb=Ae("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);/**
|
|
162
|
+
* @license lucide-react v0.469.0 - ISC
|
|
163
|
+
*
|
|
164
|
+
* This source code is licensed under the ISC license.
|
|
165
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
166
|
+
*/const ab=Ae("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
|
|
167
|
+
* @license lucide-react v0.469.0 - ISC
|
|
168
|
+
*
|
|
169
|
+
* This source code is licensed under the ISC license.
|
|
170
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
171
|
+
*/const nb=Ae("RefreshCw",[["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"}]]);/**
|
|
172
|
+
* @license lucide-react v0.469.0 - ISC
|
|
173
|
+
*
|
|
174
|
+
* This source code is licensed under the ISC license.
|
|
175
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
176
|
+
*/const Wh=Ae("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
|
|
177
|
+
* @license lucide-react v0.469.0 - ISC
|
|
178
|
+
*
|
|
179
|
+
* This source code is licensed under the ISC license.
|
|
180
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
181
|
+
*/const Fh=Ae("Server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]);/**
|
|
182
|
+
* @license lucide-react v0.469.0 - ISC
|
|
183
|
+
*
|
|
184
|
+
* This source code is licensed under the ISC license.
|
|
185
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
186
|
+
*/const lb=Ae("Share",[["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["polyline",{points:"16 6 12 2 8 6",key:"m901s6"}],["line",{x1:"12",x2:"12",y1:"2",y2:"15",key:"1p0rca"}]]);/**
|
|
187
|
+
* @license lucide-react v0.469.0 - ISC
|
|
188
|
+
*
|
|
189
|
+
* This source code is licensed under the ISC license.
|
|
190
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
191
|
+
*/const ib=Ae("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"}]]);/**
|
|
192
|
+
* @license lucide-react v0.469.0 - ISC
|
|
193
|
+
*
|
|
194
|
+
* This source code is licensed under the ISC license.
|
|
195
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
196
|
+
*/const ub=Ae("SquareCheckBig",[["path",{d:"M21 10.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.5",key:"1uzm8b"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
|
|
197
|
+
* @license lucide-react v0.469.0 - ISC
|
|
198
|
+
*
|
|
199
|
+
* This source code is licensed under the ISC license.
|
|
200
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
201
|
+
*/const rb=Ae("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
|
|
202
|
+
* @license lucide-react v0.469.0 - ISC
|
|
203
|
+
*
|
|
204
|
+
* This source code is licensed under the ISC license.
|
|
205
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
206
|
+
*/const Ih=Ae("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);/**
|
|
207
|
+
* @license lucide-react v0.469.0 - ISC
|
|
208
|
+
*
|
|
209
|
+
* This source code is licensed under the ISC license.
|
|
210
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
211
|
+
*/const Ph=Ae("TriangleAlert",[["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"}]]);/**
|
|
212
|
+
* @license lucide-react v0.469.0 - ISC
|
|
213
|
+
*
|
|
214
|
+
* This source code is licensed under the ISC license.
|
|
215
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
216
|
+
*/const ob=Ae("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
|
|
217
|
+
* @license lucide-react v0.469.0 - ISC
|
|
218
|
+
*
|
|
219
|
+
* This source code is licensed under the ISC license.
|
|
220
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
221
|
+
*/const ep=Ae("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),yh=u=>{let r;const s=new Set,o=(p,j)=>{const k=typeof p=="function"?p(r):p;if(!Object.is(k,r)){const M=r;r=j??(typeof k!="object"||k===null)?k:Object.assign({},r,k),s.forEach(V=>V(r,M))}},f=()=>r,x={setState:o,getState:f,getInitialState:()=>v,subscribe:p=>(s.add(p),()=>s.delete(p))},v=r=u(o,f,x);return x},sb=(u=>u?yh(u):yh),cb=u=>u;function fb(u,r=cb){const s=Ru.useSyncExternalStore(u.subscribe,Ru.useCallback(()=>r(u.getState()),[u,r]),Ru.useCallback(()=>r(u.getInitialState()),[u,r]));return Ru.useDebugValue(s),s}const gh=u=>{const r=sb(u),s=o=>fb(r,o);return Object.assign(s,r),s},Wu=(u=>u?gh(u):gh),zu="overlord-access-token",Ou="overlord-refresh-token",We={getAccessToken(){return localStorage.getItem(zu)},setAccessToken(u){localStorage.setItem(zu,u)},getRefreshToken(){return localStorage.getItem(Ou)},setRefreshToken(u){localStorage.setItem(Ou,u)},setTokens(u,r){localStorage.setItem(zu,u),localStorage.setItem(Ou,r)},clearTokens(){localStorage.removeItem(zu),localStorage.removeItem(Ou)},parseToken(u){try{const r=u.split(".")[1];return JSON.parse(atob(r))}catch{return null}},hasScope(u,r){const s=We.parseToken(u);return s?s.scope===r:!1},isExpired(u){const r=We.parseToken(u);return!r||typeof r.exp!="number"?!0:Date.now()/1e3>r.exp-30}};function Ts(u){const r=We.parseToken(u);if(!r)return null;const s=r.name??"";return{id:r.sub,username:s,display_name:s,role:r.role}}const xa=Wu((u,r)=>({accessToken:null,user:null,requireTotpSetup:!1,sessionExpired:!1,initializing:!0,initialize:()=>{const s=We.getAccessToken();s&&!We.isExpired(s)?u({accessToken:s,user:Ts(s),requireTotpSetup:We.hasScope(s,"totp_setup"),initializing:!1}):We.getRefreshToken()?r().refresh().catch(()=>{We.clearTokens()}).finally(()=>{u({initializing:!1})}):u({initializing:!1})},login:async s=>{var h;const o=await fetch("/api/auth/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!o.ok){const _=await o.json().catch(()=>({message:"Login failed"})),x=((h=_.error)==null?void 0:h.message)??_.message??"Login failed";throw new Error(x)}const f=await o.json();if(f.totpSetup){We.setAccessToken(f.accessToken),u({accessToken:f.accessToken,user:null,requireTotpSetup:!0});return}We.setTokens(f.accessToken,f.refreshToken),u({accessToken:f.accessToken,user:Ts(f.accessToken),requireTotpSetup:!1,sessionExpired:!1})},logout:()=>{const s=We.getRefreshToken();s&&fetch("/api/auth/logout",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({refreshToken:s})}).catch(()=>{}),We.clearTokens(),u({accessToken:null,user:null,requireTotpSetup:!1,sessionExpired:!1})},refresh:(()=>{let s=null;return async()=>s||(s=(async()=>{const o=We.getRefreshToken();if(!o)throw We.clearTokens(),u({accessToken:null,user:null,requireTotpSetup:!1,sessionExpired:!0}),new Error("No refresh token");const f=await fetch("/api/auth/refresh",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({refreshToken:o})});if(!f.ok)throw We.clearTokens(),u({accessToken:null,user:null,requireTotpSetup:!1,sessionExpired:!0}),new Error("Refresh failed");const h=await f.json();We.setTokens(h.accessToken,h.refreshToken),u({accessToken:h.accessToken,user:Ts(h.accessToken)})})().finally(()=>{s=null}),s)})(),setSessionExpired:s=>{u({sessionExpired:s})}})),h1={QUEUED:"QUEUED",ASSIGNED:"ASSIGNED",RUNNING:"RUNNING",SUSPENDED:"SUSPENDED",COMPLETED:"COMPLETED",FAILED:"FAILED",CANCELLED:"CANCELLED"},p1={ONLINE:"online",OFFLINE:"offline",DRAINING:"draining",DECOMMISSIONED:"decommissioned"},tp={DEVELOPER:"developer",LEAD:"lead",ADMIN:"admin"},_1={MAINTAINER:"maintainer",MEMBER:"member"},y1={CLAUDE:"claude",CURSOR:"cursor",CODEX:"codex",CUSTOM:"custom"},g1={ACTIVE:"active",USED:"used",REVOKED:"revoked",EXPIRED:"expired"},v1={GITLAB:"gitlab",GITHUB:"github",GITEA:"gitea"},b1={ACTIVE:"active",DISABLED:"disabled"},x1={ACTIVE:"active"},S1={IDLE:"IDLE",STARTING:"STARTING",CONNECTED:"CONNECTED",EXPIRED:"EXPIRED",CLOSING:"CLOSING",CLOSED:"CLOSED"};function db(){return xa(u=>{var r;return((r=u.user)==null?void 0:r.role)===tp.ADMIN})??!1}const ap="overlord-sidebar-collapsed";function mb(){try{return localStorage.getItem(ap)==="true"}catch{return!1}}const hb=Wu((u,r)=>({sidebarCollapsed:mb(),toggleSidebar:()=>{const s=!r().sidebarCollapsed;try{localStorage.setItem(ap,String(s))}catch{}u({sidebarCollapsed:s})}}));class pb{constructor(){Ve(this,"ws",null);Ve(this,"reconnectAttempts",0);Ve(this,"maxReconnectAttempts",15);Ve(this,"reconnectTimer",null);Ve(this,"disposed",!1);Ve(this,"authenticated",!1);Ve(this,"eventHandlers",new Set);Ve(this,"statusHandlers",new Set)}onEvent(r){return this.eventHandlers.add(r),()=>this.eventHandlers.delete(r)}onStatus(r){return this.statusHandlers.add(r),()=>this.statusHandlers.delete(r)}get isConnected(){var r;return this.authenticated&&((r=this.ws)==null?void 0:r.readyState)===WebSocket.OPEN}connect(){var f,h;if(this.disposed||((f=this.ws)==null?void 0:f.readyState)===WebSocket.OPEN||((h=this.ws)==null?void 0:h.readyState)===WebSocket.CONNECTING)return;const r=We.getAccessToken();if(!r||We.isExpired(r))return;const o=`${window.location.protocol==="https:"?"wss:":"ws:"}//${window.location.host}/ws/events`;this.notifyStatus("connecting"),this.authenticated=!1,this.ws=new WebSocket(o),this.ws.onopen=()=>{var x,v;const _=We.getAccessToken();_?(x=this.ws)==null||x.send(JSON.stringify({type:"auth",token:_})):(v=this.ws)==null||v.close()},this.ws.onmessage=_=>{var x;if(typeof _.data=="string")try{const v=JSON.parse(_.data);if(v.type==="auth_ok"){this.authenticated=!0,this.reconnectAttempts=0,this.notifyStatus("connected");return}if(v.type==="auth_error"){(x=this.ws)==null||x.close();return}if(v.type==="event")for(const p of this.eventHandlers)try{p(v)}catch{}}catch{}},this.ws.onclose=()=>{this.authenticated=!1,this.notifyStatus("disconnected"),this.scheduleReconnect()},this.ws.onerror=()=>{var _;(_=this.ws)==null||_.close()}}disconnect(){var r;this.clearReconnectTimer(),this.authenticated=!1,(r=this.ws)==null||r.close(),this.ws=null}dispose(){this.disposed=!0,this.disconnect(),this.eventHandlers.clear(),this.statusHandlers.clear()}reconnect(){this.disconnect(),this.reconnectAttempts=0,this.connect()}scheduleReconnect(){if(this.disposed||this.reconnectAttempts>=this.maxReconnectAttempts)return;const r=Math.min(1e3*2**this.reconnectAttempts,3e4);this.reconnectAttempts++,this.reconnectTimer=setTimeout(()=>{this.disposed||this.connect()},r)}clearReconnectTimer(){this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null)}notifyStatus(r){for(const s of this.statusHandlers)try{s(r)}catch{}}}const Cu=new pb,_b=Wu(u=>({status:"disconnected",lastEvent:null,eventSeq:0,taskSeq:0,workerSeq:0,init:()=>{const r=Cu.onEvent(o=>{const f=o.event==="task_status_changed"||o.event==="task_created",h=o.event==="worker_status_changed";u(_=>({lastEvent:o,eventSeq:_.eventSeq+1,...f&&{taskSeq:_.taskSeq+1},...h&&{workerSeq:_.workerSeq+1}}))}),s=Cu.onStatus(o=>{u({status:o})});return Cu.connect(),()=>{r(),s(),Cu.disconnect()}}})),np="overlord-theme";function yb(){try{const u=localStorage.getItem(np);if(u==="light"||u==="dark"||u==="system")return u}catch{}return"dark"}function vh(){return typeof window>"u"?"light":window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}const lp=Wu(u=>{const r=yb(),s=r==="system"?vh():r;return{theme:r,resolved:s,setTheme:o=>{localStorage.setItem(np,o);const f=o==="system"?vh():o;u({theme:o,resolved:f})},setResolved:o=>{u({resolved:o})}}}),gb={common:{cancel:"cancel",confirm:"confirm",save:"save",delete:"delete",edit:"edit",create:"create",copy:"copy",copied:"copied",close:"close",back:"back",back_to_site:"back to site",go_back:"go_back",go_home:"go_home",dismiss:"dismiss",retry:"retry",loading:"// loading...",processing:"processing...",creating:"creating...",saving:"saving...",updating:"updating...",verifying:"verifying...",signing_in:"signing in...",just_now:"just now",never:"never",previous:"previous",next:"next",error:"error",success:"success",failed:"failed",active:"active",inactive:"inactive",enabled:"enabled",disabled:"disabled",showing_entries:"showing {start}-{end} of {total}",no_results:"no results found",runtime_error:"// runtime_error",an_unexpected_error_occurred:"an unexpected error occurred",reload:"reload",not_found:"404",page_not_found:"// page_not_found",the_page_does_not_exist:"the page you are looking for does not exist or has been moved.",not_found_terminal_error:"error: requested not found - page does not exist",not_set:"not set",view_all:"view_all",discard:"discard",save_changes:"save_changes",add:"add",remove:"remove",search:"search",actions:"actions",name:"name",status:"status",role:"role",description:"description",type:"type",created_at:"created_at",ago:"{time} ago",m_ago:"{n}m ago",h_ago:"{n}h ago",d_ago:"{n}d ago",navigation:"// navigation",docs_section:"// docs",admin_section:"// admin",overlord:"overlord",logout:"logout",logout_title:"// logout",logout_message:"are you sure you want to log out?",log_out:"log out",profile:"profile",search_placeholder:"search",search_input_placeholder:"search tasks, workers, projects...",no_search_results:'// no results for "{query}"',navigate_hint:"navigate",select_hint:"select",close_hint:"close",notifications:"notifications",mark_all_read:"mark all read",no_notifications:"// no notifications",mark_as_read:"mark as read",switch_to_light:"switch to light mode",switch_to_dark:"switch to dark mode",light_mode:"light mode",dark_mode:"dark mode",dismiss_notification:"dismiss",breadcrumb_terminal:"terminal",breadcrumb_terminal_sub:"active sessions",breadcrumb_dashboard:"dashboard",breadcrumb_dashboard_sub:"active overview",breadcrumb_tasks:"tasks",breadcrumb_tasks_sub:"queue management",breadcrumb_workers:"workers",breadcrumb_workers_sub:"fleet status",breadcrumb_projects:"projects",breadcrumb_projects_sub:"repository index",breadcrumb_admin:"admin",breadcrumb_admin_sub:"system control",breadcrumb_profile:"profile",breadcrumb_profile_sub:"user settings",breadcrumb_access_tokens:"access_tokens",breadcrumb_access_tokens_sub:"personal api tokens",breadcrumb_docs:"docs",breadcrumb_docs_sub:"documentation",breadcrumb_docs_cli:"docs",breadcrumb_docs_cli_sub:"cli",breadcrumb_docs_api:"docs",breadcrumb_docs_api_sub:"api",breadcrumb_docs_skill:"docs",breadcrumb_docs_skill_sub:"skill",error_default_title:"something went wrong",error_default_message:"an unexpected error occurred. please try again."},auth:{sign_in:"sign in",username:"username",enter_username:"enter username",password:"password",enter_password:"enter password",ai_powered_development_system:"// ai-powered development system",username_and_password_required:"username and password are required.",login_failed:"login failed",invalid_totp_code:"invalid totp code",two_factor_verification:"// 2fa verification",enter_totp_code:"enter your totp code",please_enter_valid_6_digit_code:"please enter a valid 6-digit code.",session_expired:"session_expired",session_expired_message:"// your session has expired. please log in again.",go_to_login:"go_to_login",totp_setup_title:"2fa_setup",totp_setup_subtitle:"// scan the qr code with your authenticator app",scan_with_authenticator:"scan this qr code with your authenticator app (google authenticator, authy, etc.)",manual_entry_key:"manual_entry_key",enter_verification_code:"enter the 6-digit verification code from your authenticator app",verification_code:"verification code",enter_6_digit_code:"enter 6-digit code",verify_and_enable:"verify_and_enable",totp_setup_complete:"2fa setup complete",totp_setup_complete_login_again:"2fa setup complete! please log in again.",totp_setup_failed:"verification failed. please try again.",totp_setup_footer:"// you must complete this setup before accessing the application",totp_manual_entry:"// or enter this key manually",verify:"verify",initializing:"// initializing...",failed_to_init_totp:"failed to initialize totp setup"},dashboard:{title:"dashboard",subtitle:"// system overview",active_tasks:"active_tasks",queued_tasks:"queued_tasks",online_workers:"online_workers",completed_today:"completed_today",task_success_rate:"> task_success_rate",last_7_days:"last 7 days",recent_tasks:"> recent_tasks",no_tasks_yet:"// no tasks yet",worker_status:"> worker_status",no_workers_registered:"// no workers registered",recent_activity:"> recent_activity",no_recent_activity:"// no recent activity",daily_breakdown_not_available:"// daily breakdown not available",slots:"slots",online:"online",idle:"idle",offline:"offline"},tasks:{title:"tasks",subtitle:"// queue management",create_task:"create_task",new_task:"new_task",task_description:"task_description",describe_task_placeholder:"describe the development task in detail...",project:"project",select_project:"select project...",task_type:"type",branch_slug:"branch name (optional)",branch_slug_placeholder:"auto-generated from description",target_worker:"target_worker (optional)",any_able:"any able",assign_developer:"assign_developer (admin only)",select_developer:"select developer...",search_tasks:"search_tasks...",id:"id",description_col:"description",status_col:"status",project_col:"project",assignee:"assignee",worker:"worker",time:"time",stage:"stage",no_tasks_found:"no_tasks_found",try_adjusting_search:"try adjusting your search query",create_first_task:"create your first task to get started",tab_all:"all",tab_running:"running",tab_queued:"queued",tab_completed:"completed",tab_failed:"failed",tab_cancelled:"cancelled",status_queued:"queued",status_assigned:"assigned",status_running:"running",status_suspended:"suspended",status_completed:"completed",status_failed:"failed",status_cancelled:"cancelled",similar_task_exists:"a similar task already exists.",confirm_create_similar:"are you sure you want to create this task?",view_existing:"view_existing",force_create:"force_create",cancel_task:"cancel",retry_task:"retry",cursor_tunnel:"cursor_tunnel",skip_stage:"skip stage",take_over:"take_over",release_control:"release_control",connected:"connected",disconnected:"disconnected",connecting:"connecting",terminal:"terminal",pipeline_tab:"pipeline",logs:"logs",task_not_found:"// task_not_found",task_does_not_exist:"this task does not exist or has been deleted.",back_to_tasks:"back_to_tasks",task_detail_subtitle:"#{id} {desc}",cancel_task_title:"cancel_task",task_cancelled:"task cancelled.",failed_to_cancel_task:"failed to cancel task.",task_retried:"task has been retried.",failed_to_retry_task:"failed to retry task.",retry_mr_title:"retry_mr",retry_mr_confirm:"retry creating the merge request for task #{id}?",mr_retry_submitted:"mr retry submitted.",failed_to_retry_mr:"failed to retry mr.",activity_log:"> activity_log",pipeline_section:"> pipeline",no_pipeline:"// no pipeline configured",no_activity:"// no activity yet",confirm_stage:"confirm_stage",confirm_stage_message:'confirm execution of stage "{name}"? this will proceed with the pipeline.',stage_confirmed:"stage confirmed.",failed_to_confirm_stage:"failed to confirm stage.",loading_task:"// loading task...",task_suspended_banner:"// task suspended — waiting for user confirmation",pending_confirmation:"> pending_confirmation",pipeline_requires_confirmation:"the pipeline requires confirmation before proceeding.",confirm_and_proceed:"confirm_and_proceed",confirm_failed:"failed to confirm stage",reject:"reject",pty_terminal:"// pty terminal",view_terminal:"switch to terminal tab",restore_auto:"restore auto",requesting_takeover:"requesting...",pipeline_stages:"// pipeline stages",task_info:"> task_info",stage_timeline:"> stage_timeline",workspace_section:"> workspace",no_worker_assigned:"// no worker assigned",no_output:"// no output",pty_output:"> pty_output",stage_progress:"> stage_progress",task_logs:"> task_logs",search_logs:"search logs...",no_log_entries:"// no log entries",prev:"prev",cursor_tunnel_section:"> cursor_tunnel",auto_pipeline:"auto_pipeline",auto_mode:"auto_mode",manual_takeover:"manual_takeover",takeover_denied:"takeover_denied",requesting_takeover_ellipsis:"requesting_takeover...",take_over_label:"take over",release_label:"release",create_task_page_title:"// create_task",create_task_page_subtitle:"// submit a new task for processing",form_project_label:"project",form_description_label:"description",form_description_placeholder:"describe the task for the ai agent...",form_worker_preference:"worker_preference",form_worker_placeholder:"optional: worker id or name (--on)",form_worker_hint:"leave empty for automatic worker selection.",form_agent_type:"agent_type",form_agent_type_placeholder:"default (from project config)",form_select_project:"select a project",form_create_task:"create task",project_and_description_required:"project and description are required.",failed_to_create_task:"failed to create task.",tunnel_idle:"idle",tunnel_starting:"starting...",tunnel_connected:"connected",tunnel_expired:"expired",tunnel_closing:"closing...",tunnel_start:"start",tunnel_open_in_cursor:"open_in_cursor",tunnel_header:"> cursor_tunnel",tunnel_copied:"// copied to clipboard",tunnel_waiting:"// waiting for connection url...",tunnel_start_button:"> start_tunnel",tunnel_starting_button:"// starting...",tunnel_stopping:"// stopping...",tunnel_cancel:"> cancel",tunnel_open_cursor:"> open_in_cursor",tunnel_open_vscode:"> open_in_vscode",tunnel_stop:"> stop_tunnel",tunnel_restart:"> restart_tunnel",tunnel_copy_url:"copy url",tunnel_expires_hm:"expires in {h}h {m}m",tunnel_expires_m:"expires in {m}m",dedup_title:"> similar_task_exists",dedup_description:"// a similar task was found that may already address your request",dedup_create_anyway:"create anyway",stage_choose_option:"// choose an option",stage_your_response:"your_response",stage_type_answer:"type your answer...",stage_submitting:"submitting...",stage_continue:"continue",stage_submit:"submit",cancel_task_message:"are you sure you want to cancel task #{id}? this will terminate the running agent and cannot be undone.",cancel_task_confirm_label:"cancel task",retry_title:"retry_task",retry_confirm_label:"retry",retry_message_with_mr:"task #{id} has an existing mr ({url}). retrying will create a new attempt on the same branch. continue?",retry_message_without_mr:"are you sure you want to retry task #{id}? this will create a new execution attempt."},workers:{title:"workers",subtitle:"// fleet status",fleet:"fleet",setup_guide:"setup_guide",all_statuses:"all",register_worker:"register_worker",no_workers_found:"no_workers_found",no_workers_registered:"no workers have registered yet",try_changing_status_filter:"try changing the status filter",view_setup_guide:"view_setup_guide",online:"online",offline:"offline",draining:"draining",cpu:"cpu",mem:"mem",disk:"disk",tasks_slots:"tasks: {active}/{max} slots",back_to_workers:"back_to_workers",drain:"drain",undrain:"undrain",last_heartbeat:"last_heartbeat: {time}",resource_usage:"> resource_usage",connection_info:"> connection_info",capabilities:"> capabilities",current_tasks:"> current_tasks",no_capabilities:"// no capabilities reported",no_running_tasks:"// no running tasks",host:"host",port:"port",os:"os",cpu_model:"cpu_model",cpu_cores:"cpu_cores",memory:"memory",total_slots:"total_slots",confirm_drain:"drain_worker",confirm_drain_message:'drain worker "{name}"? it will finish current tasks but accept no new ones.',worker_drained:"worker drain initiated.",worker_undrained:"worker undrain initiated.",failed_to_update_worker:"failed to update worker status.",worker_setup_title:"worker_setup_guide",worker_setup_subtitle:"// register a new worker with overlord",step_1_title:"01. generate a registration token",step_1_desc:"generate a one-time registration token from the admin panel.",step_2_title:"02. install the worker cli",step_2_desc:"install the overlord worker cli on the target worker.",step_3_title:"03. register the worker",step_3_desc:"run the register command with your token and server url.",step_4_title:"04. start the worker",step_4_desc:"start the worker daemon. it will connect to overlord and begin accepting tasks.",generate_token:"generate_token",worker_token_modal_title:"worker_registration_token",worker_token_modal_message:"// copy this token now. it will not be shown again.",loading_worker:"// loading worker...",worker_not_found:"// worker not found",draining_warning:"// this worker is draining — no new tasks will be assigned",draining_active_tasks:"active tasks will continue to run until completion",active_tasks:"> active_tasks",no_active_tasks:"// no active tasks on this worker",worker_info:"> worker_info",unknown:"unknown",n_a:"n/a",id:"id",description:"description",stage:"stage",no_capabilities_short:"// no capabilities",slots:"slots",status_label:"status",undrain_worker_title:"> undrain_worker",drain_worker_title:"> drain_worker",undrain_confirm:"are you sure you want to undrain {name}? the worker will start accepting new tasks again.",drain_confirm:"are you sure you want to drain {name}? running tasks will complete, but no new tasks will be assigned until the worker is undrained.",decommission:"decommission",decommission_title:"> decommission_worker",decommission_confirm:'permanently decommission "{name}"? active tasks will be failed or re-queued, and the worker will be disconnected. this cannot be undone.',decommissioned:"decommissioned",worker_id:"worker_id",setup_header_desc:"// follow these steps to add a new worker to your overlord cluster.",prerequisites:"// prerequisites",prereq_machine:"linux or macos machine with at least 2 cpu cores and 4gb ram",prereq_node:"node.js 18+ and pnpm installed",prereq_git:"git installed (2.25+)",prereq_network:"network access to the overlord server",prereq_token:"admin-generated worker registration token",step_generate_token:"generate_worker_token",step_generate_token_desc:"// create a one-time registration token from the admin panel. each token can register exactly one worker.",go_to_token_management:"go_to_token_management",step_install_worker:"install_worker_package",step_install_worker_desc:"// install the overlord worker package globally via npm.",step_configure_env:"configure_environment",step_configure_env_desc:"// create a .env file in ~/.overlord-worker/ or set environment variables.",env_host:"overlord server address (required)",env_worker_token:"one-time registration token (required for first run)",env_worker_name:"display name (defaults to hostname)",env_workspace_root:"task workspace directory (defaults to ~/.overlord-worker/workspaces)",env_max_slots:"max concurrent tasks (defaults to 2)",step_start_worker:"start_worker",step_start_worker_desc:"// start the worker process. it will register with the server and begin accepting tasks.",or_run_as_service:"// or run as a system service for auto-restart:",setup_wizard_option:"// option a: interactive setup wizard (recommended)",manual_config_option:"// option b: manual configuration",start_note_setup_wizard:"// if you used the setup wizard, the worker may already be running.",step_verify_connection:"verify_connection",step_verify_connection_desc:'// once the worker connects, it will appear in the workers list with a "healthy" status.',verify_how_to:"// how to verify:",verify_check_workers:"check the workers page for your new worker",verify_status:'status should show "healthy" within 30 seconds',verify_capabilities:"worker capabilities are auto-detected on first heartbeat",last_heartbeat_label:"last_heartbeat",worker_version:"worker_version",reg_title:"// worker_registration",reg_subtitle:"> register a new worker node",reg_step_generate_token:"generate_token",reg_step_install_worker:"install_worker",reg_step_waiting_activation:"waiting_activation",reg_step_activated:"activated",reg_click_to_generate:"// click to generate a one-time registration token",reg_token_generated:"// token generated successfully",reg_install_command:"// install cli & worker:",reg_run_setup:"// run setup on worker:",reg_running_installation:"// running installation on target worker",reg_installed_wait:"i've installed → wait for activation",reg_listening_for_worker:"listening for worker connection...",reg_worker_connected:"// worker connected",reg_waiting_for_worker:"// waiting for worker to connect...",reg_worker_activated:"worker {name} activated!",reg_worker_registered:"// worker successfully registered",reg_done:"done",reg_completed:"// completed"},projects:{title:"projects",subtitle:"// repository index",create_project:"create_project",no_projects_yet:"no_projects_yet",create_first_project:"create your first project to get started",key:"key",name:"name",repository:"repository",agent:"agent",project_info:"> project_info",repo_url:"repo_url",default_branch:"default_branch",git_platform:"git_platform",agent_type:"agent_type",max_turns:"max_turns",allowed_tools:"allowed_tools",default_project:"default_project",tasks_count:"tasks",last_activity:"last_activity",members:"> members",developer:"developer",role:"role",added_at:"added_at",add_member:"add_member",remove_member:"remove_member",remove_member_confirm:"remove {name} from this project?",member_added:"member added.",member_removed:"member removed.",failed_to_add_member:"failed to add member.",member_already_exists:"this developer is already a member of this project.",failed_to_remove_member:"failed to remove member.",pipeline:"> pipeline",add_stage:"+ add_stage",recent_tasks:"> recent_tasks",no_recent_tasks:"// no recent tasks",edit_project:"edit project",delete_project:"delete_project",delete_project_confirm:'delete project "{name}"? this cannot be undone.',project_deleted:"project deleted.",failed_to_delete_project:"failed to delete project.",project_name:"project_name",project_name_placeholder:"my awesome project",project_key:"project_key",project_key_placeholder:"my-project",project_key_hint:"// unique identifier (lowercase, alphanumeric, hyphens)",ssh_url:"ssh_url",ssh_url_placeholder:"git@github.com:org/repo.git",ssh_url_hint:"// optional — workers prefer ssh for git operations",repo_url_placeholder:"https://github.com/org/repo.git",main:"main",github:"github",gitlab:"gitlab",gitea:"gitea",claude:"claude",cursor:"cursor",codex:"codex",custom:"custom",tools_placeholder:"tool1, tool2, ...",add_project_desc:"// add a new project to overlord",project_created:"project created.",failed_to_create_project:"failed to create project.",update_project_desc:"// update project configuration",save_changes:"save_changes",basic_info:"> basic_info",agent_config:"> agent_config",security:"> security",git_token:"> git_token",git_token_label:"git_token",git_token_hint:"// personal access token for git operations (push, clone, etc.)",git_token_set:"set_token",git_token_clear:"clear_token",git_token_saved:"git token saved.",git_token_cleared:"git token cleared.",git_token_failed:"failed to update git token.",pipeline_section:"> pipeline",edit_pipeline:"> edit_pipeline",pty_output_filter:"pty_output_filter",workspace_root:"workspace_root",agent_command:"agent_command",member_role:"member",maintainer_role:"maintainer",select_developer:"select developer...",select_role:"select role...",adding:"adding...",project_not_found:"// project not found",back_to_projects:"back to projects",no_members_yet:"// no members yet",no_tasks_for_project:"// no tasks for this project yet",no_pipeline_configured:"// no pipeline configured",confirm_label:"confirm",id:"id",description:"description",status:"status",created:"created",project_saved:"project saved",failed_to_save_project:"failed to save project",invalid_pipeline_json:"invalid pipeline json",setup_commands:"setup_commands",post_command:"post_command",environment:"> environment",add_member_title:"// add_member",edit_project_title:"edit project"},pipeline:{title:"pipeline_editor",subtitle:"-- {key}",save:"save",cancel:"cancel",json_toggle:"json",add_stage:"add_stage",stage_properties:"> stage_properties",stage_name:"stage_name",timeout:"timeout",confirm_required:"confirm_required",on_failure:"on_failure",goto:"goto",max_loops:"max_loops",stop:"stop",no_stages:"// no stages defined",select_stage:"// select a stage to edit properties",saved:"pipeline saved",failed_to_save:"failed to save pipeline",failed_to_load:"failed to load pipeline.",loading_pipeline:"// loading pipeline...",unnamed:"unnamed",editing:"// editing: {name}",name:"name",on_failure_section:"// on_failure",goto_stage:"goto_stage",up:"up",down:"down",failed_to_load_project:"failed to load project",delete_stage:"delete stage"},profile:{title:"profile",subtitle:"// user settings",profile_info:"> profile_info",username:"username",git_name:"git_name",git_email:"git_email",status:"status",created_at:"created_at",edit_git_info:"edit_git_info",change_password:"> change_password",current_password:"current_password",new_password:"new_password",confirm_password:"confirm_password",current_password_required:"current password is required.",new_password_required:"new password is required.",passwords_do_not_match:"new passwords do not match.",password_changed:"password changed successfully.",failed_to_change_password:"failed to change password.",update_password:"update_password",two_factor_auth:"> two-factor_authentication",two_fa_enabled:"2fa is enabled",two_fa_not_setup:"2fa is not set up",regenerate_2fa_warning:`// regenerating 2fa will invalidate your current authenticator app setup.
|
|
222
|
+
you will need to set up 2fa again on your next login.`,regenerate_2fa:"regenerate_2fa",regenerating:"regenerating...",access_tokens:"access_tokens",access_tokens_desc:"// manage personal access tokens for cli & api",git_info_updated:"git info updated.",failed_to_update_git_info:"failed to update git info.",two_fa_reset:"2fa has been reset. please set up your authenticator again on next login.",failed_to_regenerate_2fa:"failed to regenerate 2fa.",failed_to_load_profile:"failed to load profile.",unable_to_load_profile:"// unable to load profile information",personal_settings:"// personal settings",password_length_10_20:"password must be between 10 and 20 characters.",password_hint_10_20:"// 10-20 characters, letters, numbers, and special characters",current_totp_code:"current_totp_code",totp_code_placeholder:"6-digit code",totp_code_required:"please enter your current 6-digit totp code to regenerate 2fa.",two_fa_regenerated:"2fa regenerated. you will need to set it up again on next login.",totp_code_invalid:"invalid totp code or failed to regenerate 2fa.",platform_accounts:"platform accounts",not_linked:"not linked",bind_hint:'send "bind" to the bot in lark or slack to link your account.'},access_tokens:{title:"access_tokens",subtitle:"// personal access tokens",create_token:"create_token",no_tokens:"no_personal_access_tokens",create_token_desc:"create a token to authenticate with the cli or api",copy_token_warning:"// copy your token now. you will not be able to see it again.",token_name:"token_name",token_name_placeholder:"my-cli-token",expires_in:"expires_in",days_30:"30 days",days_90:"90 days",days_365:"365 days",no_expiry:"no expiry",token_created:"token created.",failed_to_create_token:"failed to create token.",token_revoked:"token revoked.",failed_to_revoke_token:"failed to revoke token.",failed_to_load_tokens:"failed to load tokens.",revoke:"revoke",revoke_token:"revoke_token",last_used:"last_used",expires_at:"expires_at",token:"token",created:"created",expires:"expires",revoke_confirm:'are you sure you want to revoke "{name}"? this action cannot be undone.',create_personal_access_token:"// create personal access token",tokens_authenticate_desc:"// tokens authenticate the ov cli and api requests",revoke_token_title:"// revoke token",token_label_required:"token label is required."},admin:{title:"admin",subtitle:"// system control",tab_developers:"developers",tab_bots:"bots",tab_tokens:"worker_tokens",tab_audit_logs:"audit_logs",tab_settings:"settings",developers_title:"admin / developers",developers_subtitle:"// developer account management",create_developer:"create_developer",search_developers:"search developers...",no_matching_developers:"no_matching_developers",no_developers_found:"no_developers_found",try_adjusting_search:"try adjusting your search query",username:"username",display_name:"display_name",role:"role",status:"status",two_fa_status:"2fa_status",dev_name:"dev_name",totp:"totp",reset_2fa:"reset 2fa",deactivate:"deactivate",activate:"activate",create_developer_title:"create_developer",create_developer_desc:"// add a new developer account",edit_developer_title:"edit_developer",edit_developer_desc:"// update developer account settings",developer_created:"developer created.",developer_updated:"developer updated.",failed_to_create_developer:"failed to create developer",failed_to_update_developer:"failed to update developer",confirm_reset_2fa:'reset 2fa for "{name}"? they will need to set up 2fa again on next login.',two_fa_reset:"2fa has been reset.",failed_to_reset_2fa:"failed to reset 2fa",confirm_deactivate:'deactivate "{name}"? they will not be able to log in.',confirm_activate:'activate "{name}"?',developer_deactivated:"developer deactivated.",developer_activated:"developer activated.",failed_to_update_status:"failed to update developer status.",create_first_developer:"create your first developer to get started",all_fields_required:"all fields are required.",password_length_error:"password must be between 10 and 20 characters.",password_complexity_error:"password must contain at least one letter, one digit, and one special character.",password_hint:"// must be 10-20 characters with letters, digits, and special characters.",display_name_required:"display name is required.",demote_self_warning:"you are about to demote yourself from admin. the system must have at least one admin. please verify another admin exists before proceeding.",demote_self_inline_warning:"// warning: you are demoting yourself from admin. ensure at least one other admin exists.",lark_uid:"lark open_id",slack_uid:"slack user_id",platform_accounts:"platform accounts",reset_2fa_confirm_message:"are you sure you want to reset two-factor authentication for",reset_2fa_audit_note:"// the user will be required to set up 2fa again on their next login. this action is recorded in the audit log.",resetting:"resetting...",bots_title:"admin / bots",bots_subtitle:"// bot instance management",create_bot:"create_bot",no_bots_configured:"no_bots_configured",add_bot_desc:"add a bot instance to enable chat integrations with lark or slack",bot_name:"bot_name",platform:"platform",app_id:"app_id",lark:"lark",slack:"slack",delete_bot:"delete_bot",delete_bot_confirm:'delete bot "{name}"? this cannot be undone.',bot_deleted:"bot deleted.",failed_to_delete_bot:"failed to delete bot.",bot_created:"bot created.",failed_to_create_bot:"failed to create bot",chat_bindings:"chat_bindings",chat_bindings_subtitle:"// all integrations",no_chat_bindings:"// no chat bindings configured",chat_id:"chat_id",chat_name:"chat_name",project:"project",bot:"bot",edit_bot:"edit_bot",name_and_app_id_required:"name and app id are required.",app_secret_required:"app secret is required for new bots.",app_secret:"app_secret",app_secret_keep_current:"app_secret (leave empty to keep current)",webhook_url_optional:"webhook_url (optional)",lark_feishu:"lark_(feishu)",failed_to_update_bot:"failed to update bot",bot_token:"bot token",bot_token_keep_current:"bot token (leave empty to keep current)",bot_token_placeholder:"xoxb-...",bot_token_hint:"// OAuth & Permissions → Bot User OAuth Token",signing_secret:"signing secret",signing_secret_keep_current:"signing secret (leave empty to keep current)",signing_secret_placeholder:"your signing secret",signing_secret_hint:"// Basic Information → App Credentials → Signing Secret",app_secret_hint_lark:"// lark open platform → app credentials → app secret",app_id_hint_slack:"// Basic Information → App ID",app_id_hint_lark:"// lark open platform → app id",webhook_config:"// webhook configuration",webhook_config_hint_slack:"// copy these URLs to your Slack app settings",webhook_config_hint_lark:"// copy this URL to event subscriptions → request url",webhook_events_url:"events url",webhook_interact_url:"interactivity url",webhook_commands_url:"slash commands url",webhook_request_url:"request url",slack_events_hint:"// paste in Event Subscriptions → Request URL",slack_interact_hint:"// paste in Interactivity & Shortcuts → Request URL",slack_commands_hint:"// paste in Slash Commands → Request URL",invalid_bot_token:"// bot token must start with xoxb-",signing_secret_required:"// signing secret is required for Slack bots",no_chat_bindings_for_bot:"// no chat bindings configured for this bot.",add_chat_binding_desc:"// add chat binding",add_binding:"add_binding",failed_to_add_binding:"failed to add binding",tokens_title:"admin / worker_tokens",tokens_subtitle:"// worker registration token management",generate_token:"generate_token",no_worker_tokens:"no_worker_tokens",generate_token_desc:"generate a token to register a new worker",label:"label",purpose:"purpose",expires_at:"expires_at",token_generated:"token generated.",failed_to_generate_token:"failed to generate token.",token_revoked:"token revoked.",failed_to_revoke_token:"failed to revoke token.",revoke_token:"revoke_token",revoke_token_confirm:'revoke token "{label}"? this cannot be undone.',show_revoked:"show revoked",hide_revoked:"hide revoked",audit_title:"admin / audit_logs",audit_subtitle:"// system activity audit trail",all_actions:"all_actions",filter_by_user:"filter by user...",no_audit_entries:"no_audit_log_entries",audit_logs_appear:"audit logs will appear here as actions are performed in the system",timestamp:"timestamp",user_id:"user_id",action:"action",resource:"resource",detail:"detail",ip:"ip",action_login:"login",action_logout:"logout",action_create:"create",action_update:"update",action_delete:"delete",action_revoke:"revoke",action_reset_2fa:"reset_2fa",action_generate_token:"generate_token",showing_entries:"showing {count} entries",revoke:"revoke",generate_worker_token_title:"> generate_worker_token",create_one_time_token:"// create a one-time registration token",label_identifies_worker:"// identifies which worker this token is for",generating:"generating...",generate:"generate",worker_registered:"> worker_registered",worker_token_generated:"> worker_token_generated",run_command_desc:"// run this command on the target machine to register the worker",token_shown_once:"// this token will only be shown once. copy the command before closing.",setup_command:"setup command",waiting_for_worker:"// waiting for worker to register...",token_not_yet_used:"// token not yet used. the worker can still register later using this token.",worker_registered_success:"// worker registered successfully",worker:"worker",copied_wait_for_worker:"copied — wait_for_worker",close_worker_can_register:"close // worker can still register",view_worker:"view_worker",label_required:"label is required.",settings_title:"admin / settings",settings_subtitle:"// global system configuration",save_settings:"save_settings",settings_saved:"settings saved",failed_to_save_settings:"failed to save settings",loading_settings:"// loading settings...",scheduling:"> scheduling",heartbeat:"> heartbeat",output:"> output",defaults:"> defaults",max_concurrent_tasks:"max_concurrent_tasks_per_worker",max_concurrent_tasks_desc:"// maximum number of tasks a single worker can run simultaneously",task_timeout:"task_timeout_minutes",task_timeout_desc:"// auto-cancel tasks after this many minutes of inactivity",heartbeat_interval:"heartbeat_interval_seconds",heartbeat_interval_desc:"// expected interval between worker heartbeats",worker_offline_threshold:"worker_offline_threshold_seconds",worker_offline_threshold_desc:"// mark worker offline after missing heartbeats for this duration",default_agent_type:"default_agent_type",default_agent_type_desc:"// default agent type for new projects",server_url:"server_url",server_url_desc:"// public server url used in worker setup instructions",chat_binding_title:"// chat_bindings — {name}",chat_binding_no_bindings:"// no chat bindings configured for this bot.",chat_binding_add:"// add chat binding",chat_binding_id_placeholder:"platform chat/group id",chat_binding_name_placeholder:"display name for the chat",chat_binding_select_project:"select project...",chat_binding_all_fields_required:"all fields are required.",chat_binding_adding:"adding...",pat_label_required:"label is required.",pat_failed_to_generate:"failed to generate token",pat_label_placeholder:"e.g. build-server-03"},landing:{overlord:"overlord",version_badge:"self-hosted · bring your own subscriptions and machines",hero_line1:"turn your subscriptions / machines into",hero_turn_your:"turn your",hero_into:"into",hero_word_subscriptions:"subscriptions",hero_word_machines:"machines",hero_highlight:"a dev team that never sleeps.",hero_desc:"dispatch coding tasks across your machine fleet. ai agents execute in parallel — you watch, jump in, or come back to finished pull requests.",get_started:"get started",read_docs:"read docs",how_it_works:"how it works",three_steps:"from task description to merged pull request.",step_n:"step {n}",step_define:"connect your fleet",step_define_desc:"register your machines as workers. each one runs ai agents — claude code, cursor, codex — using your existing subscriptions.",step_dispatch:"send a task",step_dispatch_desc:"describe what you want from slack, lark, cli, or the web dashboard. overlord finds the best available machine and starts the ai agent automatically.",step_monitor:"watch or walk away",step_monitor_desc:"live terminal streams agent output to your browser. jump in to guide the agent, or come back later to a finished pull request.",everything_you_need:"everything you need",complete_platform:"self-hosted. your machines, your ai subscriptions, your control.",feature_terminal:"real-time pty terminal",feature_terminal_desc:"stream live agent output directly in the browser. full xterm.js integration with scrollback and search.",feature_multi_agent:"multi-agent support",feature_multi_agent_desc:"first-class support for claude code, cursor, and codex. route tasks to the right agent automatically.",feature_routing:"smart task routing",feature_routing_desc:"intelligent scheduling across your machine fleet. tasks land on the best available worker every time.",feature_pipeline:"pipeline automation",feature_pipeline_desc:"chain tasks into multi-stage pipelines. build, test, and deploy in one continuous flow.",feature_collab:"team collaboration",feature_collab_desc:"project-level permissions, audit logs, and shared dashboards. keep your whole team in sync.",feature_pool:"pool subscriptions, maximize value",feature_pool_desc:"every team member's ai subscription goes into a shared pool — everyone can use any seat. no idle subscriptions, no duplicate costs. the bigger your team, the more you save.",feature_trigger:"trigger from everywhere",feature_trigger_desc:"slack message, lark bot, cli command, or web dashboard — create tasks from whatever tool you already use. phone, laptop, tablet, it all works.",feature_remote:"code from anywhere",feature_remote_desc:"on the bus, at a café, or away from your desk — dispatch tasks from your phone or laptop and your fleet keeps coding. come back to finished pull requests.",feature_security:"secure by design",feature_security_desc:"totp two-factor auth, scoped api tokens, and full audit trail. enterprise-ready from day one.",install_title:"get up and running",install_desc:"three components, three commands. deploy in minutes.",install_command:"npm install -g @overlordai/developer-cli",setup_step_1_title:"deploy the server",setup_step_1_desc:"install overlord and start the central server. it manages all tasks, authentication, and real-time communication.",setup_step_1_command:`npm install -g @overlordai/cli @overlordai/server
|
|
223
|
+
overlord install`,setup_step_1_link:"installation guide",setup_step_2_title:"register workers",setup_step_2_desc:"set up worker machines that execute tasks. each worker runs ai agents in isolated workspaces with full git integration.",setup_step_2_command:`npm install -g @overlordai/cli @overlordai/worker
|
|
224
|
+
overlord setup worker`,setup_step_2_link:"worker setup guide",setup_step_3_title:"connect as developer",setup_step_3_desc:"install the developer cli to create tasks, attach to running sessions, and monitor progress from your terminal.",setup_step_3_command:`npm install -g @overlordai/developer-cli
|
|
225
|
+
ov login https://overlord.yourdomain.com`,setup_step_3_link:"development workflow",go_to_app:"open app",documentation:"documentation",api:"api",copy_install_command:"copy install command"},docs:{cli_reference:"cli",cli_subtitle:"// command-line tools",api_reference:"api",api_subtitle:"// rest api endpoints",quick_start:"// quick start",developer_cli:"developer cli (ov)",admin_cli:"admin cli (overlord)",authentication:"// authentication",usage:"usage",flags:"flags",example:"example",request_body:"request body",response:"response",quick_start_with_token:"// quick start with your token",replace_token_hint:"// replace <your-token> with the actual token value from your access tokens page",cli_tools_desc:"// overlord provides two cli tools: {ov} (developer cli) and {overlord} (admin/ops cli)",api_base_url_desc:"// base url: {url} · all endpoints return json · auth via bearer token in authorization header",docs_nav_getting_started:"// getting started",docs_nav_guides:"// guides",docs_nav_reference:"// reference",docs_nav_other:"// other",docs_installation:"installation",docs_developer_setup:"developer setup",docs_worker_setup:"worker setup",docs_bot_setup:"bot setup",docs_local_dev:"local development",docs_worker_ops:"worker operations",docs_deployment:"deployment",docs_bot_integration:"bot integration",docs_pipeline:"pipeline config",docs_dev_workflow:"dev workflow",docs_permissions:"permissions & roles",docs_env_vars:"environment variables",docs_architecture:"architecture",docs_changelog:"changelog",docs_menu:"docs menu"},onboarding:{getting_started:"// getting started",completed_count:"{done}/{total} completed",dismiss:"dismiss",all_done:"all set! you're ready to go.",admin_create_project_title:"create your first project",admin_create_project_desc:"set up a project with a git repo and pipeline",admin_register_worker_title:"register a worker",admin_register_worker_desc:"generate a token and set up a worker to run tasks",admin_create_developer_title:"create a developer account",admin_create_developer_desc:"add team members who can create and monitor tasks",admin_configure_bot_title:"configure a chat bot",admin_configure_bot_desc:"register a Lark or Slack bot to enable task management via chat",admin_first_task_title:"create your first task",admin_first_task_desc:"verify the full pipeline works end-to-end",lead_view_projects_title:"view your projects",lead_view_projects_desc:"check the projects assigned to you",lead_configure_pipeline_title:"configure a pipeline",lead_configure_pipeline_desc:"set up stages for your project workflow",lead_add_member_title:"add a team member",lead_add_member_desc:"invite developers to your project",lead_first_task_title:"create your first task",lead_first_task_desc:"submit a task and watch it execute",dev_install_cli_title:"install the ov cli",dev_install_cli_desc:"npm install -g @overlordai/developer-cli",dev_setup_cli_title:"run ov setup",dev_setup_cli_desc:"connect to the server and authenticate",dev_link_chat_title:"link your chat account",dev_link_chat_desc:'send "bind" to the bot in Lark or Slack to connect your account',dev_view_projects_title:"explore projects",dev_view_projects_desc:"browse available projects and their pipelines",dev_first_task_title:"create your first task",dev_first_task_desc:"submit a task via web or cli",go_to_projects:"go to projects",go_to_workers:"go to workers",go_to_tasks:"go to tasks",go_to_bots:"manage bots",manage_developers:"manage developers",cli:"cli",setup_guide:"setup guide"},bind:{title:"// link platform account",linking:"linking your account...",success:"account linked successfully!",success_detail:"your {platform} account has been connected. you can now use bot commands.",error:"failed to link account",invalid_token:'this link is invalid or has expired. send "bind" to the bot again to get a new link.',back_to_home:"go to dashboard",no_token:"no bind token provided."},pwa_install:{title:"overlord://install",command:"overlord --install",desc_1:"add to home screen for standalone app experience",desc_2:"works offline · full-screen · instant launch",install:"y — install",skip:"n — skip",ios_command:"install --manual",ios_step_1:"tap share button in safari toolbar",ios_step_2:'scroll down → tap "add to home screen"',ios_step_3:'tap "add" to confirm'},terminal_home:{title:"terminal",select_project:"project...",all_projects:"all projects",task_description_placeholder:"describe the task...",new_task:"new task",no_active_tasks:"no active tasks",create_task_hint:"create a task using the bar above to get started"}};function vb(u,r){const s=r.split(".");let o=u;for(const f of s){if(o==null||typeof o!="object")return r;o=o[f]}return typeof o=="string"?o:r}function bb(u,r){return r?u.replace(/\{(\w+)\}/g,(s,o)=>r[o]!=null?String(r[o]):`{${o}}`):u}function Hu(u,r){return bb(vb(gb,u),r)}function Jt(){return{t:g.useCallback((r,s)=>Hu(r,s),[])}}function ip(){const{theme:u,setTheme:r}=lp(),{t:s}=Jt(),o=u==="dark"||u==="system"&&typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").matches;function f(){r(o?"light":"dark")}return m.jsx("button",{onClick:f,className:"flex items-center gap-1.5 rounded-[4px] p-2 text-[var(--text-secondary)] transition-colors hover:bg-[var(--border)] hover:text-[var(--text-primary)]","aria-label":s(o?"common.switch_to_light":"common.switch_to_dark"),title:s(o?"common.light_mode":"common.dark_mode"),children:o?m.jsx(rb,{size:16}):m.jsx(ab,{size:16})})}class Ns extends Error{constructor(s,o,f){const h=s.status||s.status===0?s.status:"",_=s.statusText??"",x=`${h} ${_}`.trim(),v=x?`status code ${x}`:"an unknown error";super(`Request failed with ${v}: ${o.method} ${o.url}`);Ve(this,"response");Ve(this,"request");Ve(this,"options");this.name="HTTPError",this.response=s,this.request=o,this.options=f}}class up extends Error{constructor(s){let o="Non-error value was thrown";try{typeof s=="string"?o=s:s&&typeof s=="object"&&"message"in s&&typeof s.message=="string"&&(o=s.message)}catch{}super(o);Ve(this,"name","NonError");Ve(this,"value");this.value=s}}class js extends Error{constructor(s){const o=s!=null&&s.cause?s.cause instanceof Error?s.cause:new up(s.cause):void 0;super(s!=null&&s.code?`Forced retry: ${s.code}`:"Forced retry",o?{cause:o}:void 0);Ve(this,"name","ForceRetryError");Ve(this,"customDelay");Ve(this,"code");Ve(this,"customRequest");this.customDelay=s==null?void 0:s.delay,this.code=s==null?void 0:s.code,this.customRequest=s==null?void 0:s.request}}const bh=(()=>{let u=!1,r=!1;const s=typeof globalThis.ReadableStream=="function",o=typeof globalThis.Request=="function";if(s&&o)try{r=new globalThis.Request("https://empty.invalid",{body:new globalThis.ReadableStream,method:"POST",get duplex(){return u=!0,"half"}}).headers.has("Content-Type")}catch(f){if(f instanceof Error&&f.message==="unsupported BodyInit type")return!1;throw f}return u&&!r})(),xb=typeof globalThis.AbortController=="function",rp=typeof globalThis.AbortSignal=="function"&&typeof globalThis.AbortSignal.any=="function",Sb=typeof globalThis.ReadableStream=="function",kb=typeof globalThis.FormData=="function",op=["get","post","put","patch","head","delete"],Eb={json:"application/json",text:"text/*",formData:"multipart/form-data",arrayBuffer:"*/*",blob:"*/*",bytes:"*/*"},Rs=2147483647,wb=new TextEncoder().encode("------WebKitFormBoundaryaxpyiPgbbPti10Rw").length,sp=Symbol("stop");class cp{constructor(r){Ve(this,"options");this.options=r}}const Tb=u=>new cp(u),jb={json:!0,parseJson:!0,stringifyJson:!0,searchParams:!0,prefixUrl:!0,retry:!0,timeout:!0,hooks:!0,throwHttpErrors:!0,onDownloadProgress:!0,onUploadProgress:!0,fetch:!0,context:!0},Rb={next:!0},Ab={method:!0,headers:!0,body:!0,mode:!0,credentials:!0,cache:!0,redirect:!0,referrer:!0,referrerPolicy:!0,integrity:!0,keepalive:!0,signal:!0,window:!0,duplex:!0},zb=u=>{if(!u)return 0;if(u instanceof FormData){let r=0;for(const[s,o]of u)r+=wb,r+=new TextEncoder().encode(`Content-Disposition: form-data; name="${s}"`).length,r+=typeof o=="string"?new TextEncoder().encode(o).length:o.size;return r}if(u instanceof Blob)return u.size;if(u instanceof ArrayBuffer)return u.byteLength;if(typeof u=="string")return new TextEncoder().encode(u).length;if(u instanceof URLSearchParams)return new TextEncoder().encode(u.toString()).length;if("byteLength"in u)return u.byteLength;if(typeof u=="object"&&u!==null)try{const r=JSON.stringify(u);return new TextEncoder().encode(r).length}catch{return 0}return 0},fp=(u,r,s)=>{let o,f=0;return u.pipeThrough(new TransformStream({transform(h,_){if(_.enqueue(h),o){f+=o.byteLength;let x=r===0?0:f/r;x>=1&&(x=1-Number.EPSILON),s==null||s({percent:x,totalBytes:Math.max(r,f),transferredBytes:f},o)}o=h},flush(){o&&(f+=o.byteLength,s==null||s({percent:1,totalBytes:Math.max(r,f),transferredBytes:f},o))}}))},Ob=(u,r)=>{if(!u.body)return u;if(u.status===204)return new Response(null,{status:u.status,statusText:u.statusText,headers:u.headers});const s=Math.max(0,Number(u.headers.get("content-length"))||0);return new Response(fp(u.body,s,r),{status:u.status,statusText:u.statusText,headers:u.headers})},Cb=(u,r,s)=>{if(!u.body)return u;const o=zb(s??u.body);return new Request(u,{duplex:"half",body:fp(u.body,o,r)})},gn=u=>u!==null&&typeof u=="object",Nu=(...u)=>{for(const r of u)if((!gn(r)||Array.isArray(r))&&r!==void 0)throw new TypeError("The `options` argument must be an object");return Js({},...u)},dp=(u={},r={})=>{const s=new globalThis.Headers(u),o=r instanceof globalThis.Headers,f=new globalThis.Headers(r);for(const[h,_]of f.entries())o&&_==="undefined"||_===void 0?s.delete(h):s.set(h,_);return s};function Du(u,r,s){return Object.hasOwn(r,s)&&r[s]===void 0?[]:Js(u[s]??[],r[s]??[])}const mp=(u={},r={})=>({beforeRequest:Du(u,r,"beforeRequest"),beforeRetry:Du(u,r,"beforeRetry"),afterResponse:Du(u,r,"afterResponse"),beforeError:Du(u,r,"beforeError")}),Nb=(u,r)=>{const s=new URLSearchParams;for(const o of[u,r])if(o!==void 0)if(o instanceof URLSearchParams)for(const[f,h]of o.entries())s.append(f,h);else if(Array.isArray(o))for(const f of o){if(!Array.isArray(f)||f.length!==2)throw new TypeError("Array search parameters must be provided in [[key, value], ...] format");s.append(String(f[0]),String(f[1]))}else if(gn(o))for(const[f,h]of Object.entries(o))h!==void 0&&s.append(f,String(h));else{const f=new URLSearchParams(o);for(const[h,_]of f.entries())s.append(h,_)}return s},Js=(...u)=>{let r={},s={},o={},f;const h=[];for(const _ of u)if(Array.isArray(_))Array.isArray(r)||(r=[]),r=[...r,..._];else if(gn(_)){for(let[x,v]of Object.entries(_)){if(x==="signal"&&v instanceof globalThis.AbortSignal){h.push(v);continue}if(x==="context"){if(v!=null&&(!gn(v)||Array.isArray(v)))throw new TypeError("The `context` option must be an object");r={...r,context:v==null?{}:{...r.context,...v}};continue}if(x==="searchParams"){v==null?f=void 0:f=f===void 0?v:Nb(f,v);continue}gn(v)&&x in r&&(v=Js(r[x],v)),r={...r,[x]:v}}gn(_.hooks)&&(o=mp(o,_.hooks),r.hooks=o),gn(_.headers)&&(s=dp(s,_.headers),r.headers=s)}return f!==void 0&&(r.searchParams=f),h.length>0&&(h.length===1?r.signal=h[0]:rp?r.signal=AbortSignal.any(h):r.signal=h.at(-1)),r},Db=u=>op.includes(u)?u.toUpperCase():u,Mb=["get","put","head","delete","options","trace"],Ub=[408,413,429,500,502,503,504],qb=[413,429,503],xh={limit:2,methods:Mb,statusCodes:Ub,afterStatusCodes:qb,maxRetryAfter:Number.POSITIVE_INFINITY,backoffLimit:Number.POSITIVE_INFINITY,delay:u=>.3*2**(u-1)*1e3,jitter:void 0,retryOnTimeout:!1},Lb=(u={})=>{if(typeof u=="number")return{...xh,limit:u};if(u.methods&&!Array.isArray(u.methods))throw new Error("retry.methods must be an array");if(u.methods&&(u.methods=u.methods.map(s=>s.toLowerCase())),u.statusCodes&&!Array.isArray(u.statusCodes))throw new Error("retry.statusCodes must be an array");const r=Object.fromEntries(Object.entries(u).filter(([,s])=>s!==void 0));return{...xh,...r}};class Ds extends Error{constructor(s){super(`Request timed out: ${s.method} ${s.url}`);Ve(this,"request");this.name="TimeoutError",this.request=s}}async function Hb(u,r,s,o){return new Promise((f,h)=>{const _=setTimeout(()=>{s&&s.abort(),h(new Ds(u))},o.timeout);o.fetch(u,r).then(f).catch(h).then(()=>{clearTimeout(_)})})}async function Bb(u,{signal:r}){return new Promise((s,o)=>{r&&(r.throwIfAborted(),r.addEventListener("abort",f,{once:!0}));function f(){clearTimeout(h),o(r.reason)}const h=setTimeout(()=>{r==null||r.removeEventListener("abort",f),s()},u)})}const Yb=(u,r)=>{const s={};for(const o in r)Object.hasOwn(r,o)&&!(o in Ab)&&!(o in jb)&&(!(o in u)||o in Rb)&&(s[o]=r[o]);return s},Gb=u=>u===void 0?!1:Array.isArray(u)?u.length>0:u instanceof URLSearchParams?u.size>0:typeof u=="object"?Object.keys(u).length>0:typeof u=="string"?u.trim().length>0:!!u;function Vb(u){return u instanceof Ns||(u==null?void 0:u.name)===Ns.name}function Xb(u){return u instanceof Ds||(u==null?void 0:u.name)===Ds.name}var Zu,hp,Kt,Bt,ut,X,$a,ea,vn,re,Bu,pp,Ms,Yu,Ja,Us,_p,ii,Gu,qs;const ui=class ui{constructor(r,s={}){Pt(this,re);Ve(this,"request");Pt(this,Kt);Pt(this,Bt,0);Pt(this,ut);Pt(this,X);Pt(this,$a);Pt(this,ea);Pt(this,vn);var f,h,_;if(Zt(this,ut,r),Zt(this,X,{...s,headers:dp(U(this,ut).headers,s.headers),hooks:mp({beforeRequest:[],beforeRetry:[],beforeError:[],afterResponse:[]},s.hooks),method:Db(s.method??U(this,ut).method??"GET"),prefixUrl:String(s.prefixUrl||""),retry:Lb(s.retry),throwHttpErrors:s.throwHttpErrors??!0,timeout:s.timeout??1e4,fetch:s.fetch??globalThis.fetch.bind(globalThis),context:s.context??{}}),typeof U(this,ut)!="string"&&!(U(this,ut)instanceof URL||U(this,ut)instanceof globalThis.Request))throw new TypeError("`input` must be a string, URL, or Request");if(U(this,X).prefixUrl&&typeof U(this,ut)=="string"){if(U(this,ut).startsWith("/"))throw new Error("`input` must not begin with a slash when using `prefixUrl`");U(this,X).prefixUrl.endsWith("/")||(U(this,X).prefixUrl+="/"),Zt(this,ut,U(this,X).prefixUrl+U(this,ut))}xb&&rp&&(Zt(this,ea,U(this,X).signal??U(this,ut).signal),Zt(this,Kt,new globalThis.AbortController),U(this,X).signal=U(this,ea)?AbortSignal.any([U(this,ea),U(this,Kt).signal]):U(this,Kt).signal),bh&&(U(this,X).duplex="half"),U(this,X).json!==void 0&&(U(this,X).body=((h=(f=U(this,X)).stringifyJson)==null?void 0:h.call(f,U(this,X).json))??JSON.stringify(U(this,X).json),U(this,X).headers.set("content-type",U(this,X).headers.get("content-type")??"application/json"));const o=s.headers&&new globalThis.Headers(s.headers).has("content-type");if(U(this,ut)instanceof globalThis.Request&&(kb&&U(this,X).body instanceof globalThis.FormData||U(this,X).body instanceof URLSearchParams)&&!o&&U(this,X).headers.delete("content-type"),this.request=new globalThis.Request(U(this,ut),U(this,X)),Gb(U(this,X).searchParams)){const v="?"+(typeof U(this,X).searchParams=="string"?U(this,X).searchParams.replace(/^\?/,""):new URLSearchParams(Se(_=ui,Zu,hp).call(_,U(this,X).searchParams)).toString()),p=this.request.url.replace(/(?:\?.*?)?(?=#|$)/,v);this.request=new globalThis.Request(p,U(this,X))}if(U(this,X).onUploadProgress){if(typeof U(this,X).onUploadProgress!="function")throw new TypeError("The `onUploadProgress` option must be a function");if(!bh)throw new Error("Request streams are not supported in your environment. The `duplex` option for `Request` is not available.");this.request=Se(this,re,qs).call(this,this.request,U(this,X).body??void 0)}}static create(r,s){var _,x,v;const o=new ui(r,s),f=async()=>{var j,k,M,V,B,q,L,H,I,J,_e,ye;if(typeof U(o,X).timeout=="number"&&U(o,X).timeout>Rs)throw new RangeError(`The \`timeout\` option cannot be greater than ${Rs}`);await Promise.resolve();let p=await Se(j=o,re,_p).call(j);for(const he of U(o,X).hooks.afterResponse){const W=Se(k=o,re,Ms).call(k,p.clone());let $;try{$=await he(o.request,Se(M=o,re,ii).call(M),W,{retryCount:U(o,Bt)})}catch(Pe){throw Se(V=o,re,Ja).call(V,W),Se(B=o,re,Ja).call(B,p),Pe}if($ instanceof cp)throw Se(q=o,re,Ja).call(q,W),Se(L=o,re,Ja).call(L,p),new js($.options);const oe=$ instanceof globalThis.Response?$:p;W!==oe&&Se(H=o,re,Ja).call(H,W),p!==oe&&Se(I=o,re,Ja).call(I,p),p=oe}if(Se(J=o,re,Ms).call(J,p),!p.ok&&(typeof U(o,X).throwHttpErrors=="function"?U(o,X).throwHttpErrors(p.status):U(o,X).throwHttpErrors)){let he=new Ns(p,o.request,Se(_e=o,re,ii).call(_e));for(const W of U(o,X).hooks.beforeError)he=await W(he,{retryCount:U(o,Bt)});throw he}if(U(o,X).onDownloadProgress){if(typeof U(o,X).onDownloadProgress!="function")throw new TypeError("The `onDownloadProgress` option must be a function");if(!Sb)throw new Error("Streams are not supported in your environment. `ReadableStream` is missing.");const he=p.clone();return Se(ye=o,re,Ja).call(ye,p),Ob(he,U(o,X).onDownloadProgress)}return p},h=Se(_=o,re,Us).call(_,f).finally(()=>{var j,k;const p=U(o,$a);Se(j=o,re,Yu).call(j,(p==null?void 0:p.body)??void 0),Se(k=o,re,Yu).call(k,o.request.body??void 0)});for(const[p,j]of Object.entries(Eb))p==="bytes"&&typeof((v=(x=globalThis.Response)==null?void 0:x.prototype)==null?void 0:v.bytes)!="function"||(h[p]=async()=>{o.request.headers.set("accept",o.request.headers.get("accept")||j);const k=await h;if(p==="json"){if(k.status===204)return"";const M=await k.text();return M===""?"":s.parseJson?s.parseJson(M):JSON.parse(M)}return k[p]()});return h}};Zu=new WeakSet,hp=function(r){return r&&typeof r=="object"&&!Array.isArray(r)&&!(r instanceof URLSearchParams)?Object.fromEntries(Object.entries(r).filter(([,s])=>s!==void 0)):r},Kt=new WeakMap,Bt=new WeakMap,ut=new WeakMap,X=new WeakMap,$a=new WeakMap,ea=new WeakMap,vn=new WeakMap,re=new WeakSet,Bu=function(){const r=U(this,X).retry.delay(U(this,Bt));let s=r;U(this,X).retry.jitter===!0?s=Math.random()*r:typeof U(this,X).retry.jitter=="function"&&(s=U(this,X).retry.jitter(r),(!Number.isFinite(s)||s<0)&&(s=r));const o=U(this,X).retry.backoffLimit??Number.POSITIVE_INFINITY;return Math.min(o,s)},pp=async function(r){if(Im(this,Bt)._++,U(this,Bt)>U(this,X).retry.limit)throw r;const s=r instanceof Error?r:new up(r);if(s instanceof js)return s.customDelay??Se(this,re,Bu).call(this);if(!U(this,X).retry.methods.includes(this.request.method.toLowerCase()))throw r;if(U(this,X).retry.shouldRetry!==void 0){const o=await U(this,X).retry.shouldRetry({error:s,retryCount:U(this,Bt)});if(o===!1)throw r;if(o===!0)return Se(this,re,Bu).call(this)}if(Xb(r)&&!U(this,X).retry.retryOnTimeout)throw r;if(Vb(r)){if(!U(this,X).retry.statusCodes.includes(r.response.status))throw r;const o=r.response.headers.get("Retry-After")??r.response.headers.get("RateLimit-Reset")??r.response.headers.get("X-RateLimit-Retry-After")??r.response.headers.get("X-RateLimit-Reset")??r.response.headers.get("X-Rate-Limit-Reset");if(o&&U(this,X).retry.afterStatusCodes.includes(r.response.status)){let f=Number(o)*1e3;Number.isNaN(f)?f=Date.parse(o)-Date.now():f>=Date.parse("2024-01-01")&&(f-=Date.now());const h=U(this,X).retry.maxRetryAfter??f;return f<h?f:h}if(r.response.status===413)throw r}return Se(this,re,Bu).call(this)},Ms=function(r){return U(this,X).parseJson&&(r.json=async()=>U(this,X).parseJson(await r.text())),r},Yu=function(r){r&&r.cancel().catch(()=>{})},Ja=function(r){Se(this,re,Yu).call(this,r.body??void 0)},Us=async function(r){try{return await r()}catch(s){const o=Math.min(await Se(this,re,pp).call(this,s),Rs);if(U(this,Bt)<1)throw s;if(await Bb(o,U(this,ea)?{signal:U(this,ea)}:{}),s instanceof js&&s.customRequest){const f=U(this,X).signal?new globalThis.Request(s.customRequest,{signal:U(this,X).signal}):new globalThis.Request(s.customRequest);Se(this,re,Gu).call(this,f)}for(const f of U(this,X).hooks.beforeRetry){const h=await f({request:this.request,options:Se(this,re,ii).call(this),error:s,retryCount:U(this,Bt)});if(h instanceof globalThis.Request){Se(this,re,Gu).call(this,h);break}if(h instanceof globalThis.Response)return h;if(h===sp)return}return Se(this,re,Us).call(this,r)}},_p=async function(){var s;(s=U(this,Kt))!=null&&s.signal.aborted&&(Zt(this,Kt,new globalThis.AbortController),U(this,X).signal=U(this,ea)?AbortSignal.any([U(this,ea),U(this,Kt).signal]):U(this,Kt).signal,this.request=new globalThis.Request(this.request,{signal:U(this,X).signal}));for(const o of U(this,X).hooks.beforeRequest){const f=await o(this.request,Se(this,re,ii).call(this),{retryCount:U(this,Bt)});if(f instanceof Response)return f;if(f instanceof globalThis.Request){Se(this,re,Gu).call(this,f);break}}const r=Yb(this.request,U(this,X));return Zt(this,$a,this.request),this.request=U(this,$a).clone(),U(this,X).timeout===!1?U(this,X).fetch(U(this,$a),r):Hb(U(this,$a),r,U(this,Kt),U(this,X))},ii=function(){if(!U(this,vn)){const{hooks:r,...s}=U(this,X);Zt(this,vn,Object.freeze(s))}return U(this,vn)},Gu=function(r){Zt(this,vn,void 0),this.request=Se(this,re,qs).call(this,r)},qs=function(r,s){return!U(this,X).onUploadProgress||!r.body?r:Cb(r,U(this,X).onUploadProgress,s??U(this,X).body??void 0)},Pt(ui,Zu);let Qu=ui;/*! MIT License © Sindre Sorhus */const Ls=u=>{const r=(s,o)=>Qu.create(s,Nu(u,o));for(const s of op)r[s]=(o,f)=>Qu.create(o,Nu(u,f,{method:s}));return r.create=s=>Ls(Nu(s)),r.extend=s=>(typeof s=="function"&&(s=s(u??{})),Ls(Nu(u,s))),r.stop=sp,r.retry=Tb,r},Sh=Ls();let Mu=null;const Vu=Sh.create({prefixUrl:"/api",timeout:3e4,hooks:{beforeRequest:[u=>{const r=xa.getState().accessToken;r&&u.headers.set("Authorization",`Bearer ${r}`)}],afterResponse:[async(u,r,s)=>{if(s.status===401&&!u.headers.has("X-Retry-After-Refresh")){Mu||(Mu=xa.getState().refresh().finally(()=>{Mu=null}));try{await Mu}catch{throw s}const o=xa.getState().accessToken;return o&&u.headers.set("Authorization",`Bearer ${o}`),u.headers.set("X-Retry-After-Refresh","1"),Sh(u,r)}}]}}),Qb=3e4;function Zb(u){if(u.link)return u.link;const r=(u.title+" "+u.body).match(/task\s*#?(\d+)/i);if(r)return`/tasks/${r[1]}`;const s=(u.title+" "+u.body).match(/worker\s+(\S+)/i);return s?`/workers/${s[1]}`:null}function yp(){const u=Fa(),[r,s]=g.useState([]),[o,f]=g.useState(0),[h,_]=g.useState(!1),[x,v]=g.useState(!1),p=g.useRef(null),{t:j}=Jt(),k=g.useRef(async()=>{try{v(!0);const q=(await Vu.get("web/notifications",{searchParams:{limit:"20"}}).json()).data,L=q.filter(H=>!H.isRead).length;s(H=>H.length===q.length&&H.every((I,J)=>I.id===q[J].id&&I.isRead===q[J].isRead)?H:q),f(H=>H===L?H:L)}catch{}finally{v(!1)}});g.useEffect(()=>{k.current();const B=setInterval(()=>k.current(),Qb);return()=>clearInterval(B)},[]),g.useEffect(()=>{function B(q){p.current&&!p.current.contains(q.target)&&_(!1)}return document.addEventListener("mousedown",B),()=>document.removeEventListener("mousedown",B)},[]);async function M(B){try{await Vu.post(`web/notifications/${B}/read`),s(q=>q.map(L=>L.id===B?{...L,isRead:!0}:L)),f(q=>Math.max(0,q-1))}catch{}}async function V(){try{await Vu.post("web/notifications/read-all"),s(B=>B.map(q=>({...q,isRead:!0}))),f(0)}catch{}}return m.jsxs("div",{className:"relative",ref:p,children:[m.jsxs("button",{type:"button",onClick:()=>_(B=>!B),"aria-label":j("common.notifications"),className:"relative inline-flex items-center justify-center rounded-[4px] p-2 text-[var(--text-secondary)] transition-colors hover:bg-[var(--border)] hover:text-[var(--text-primary)]",children:[m.jsx(Gv,{size:16}),o>0&&m.jsx("span",{className:"absolute right-0 top-0 flex h-3 min-w-3 items-center justify-center rounded-full bg-[var(--destructive)] px-0.5 text-[8px] font-semibold leading-none text-white",children:o})]}),h&&m.jsxs("div",{className:"absolute right-0 top-full z-50 mt-2 w-[min(320px,calc(100vw-2rem))] rounded-[4px] border border-[var(--border)] bg-[var(--bg-card)] shadow-lg",children:[m.jsxs("div",{className:"flex items-center justify-between border-b border-[var(--border)] px-4 py-3",children:[m.jsx("span",{className:"text-sm font-semibold",children:j("common.notifications")}),o>0&&m.jsxs("button",{type:"button",onClick:V,"aria-label":j("common.mark_all_read"),className:"inline-flex items-center gap-1.5 text-xs text-[var(--text-secondary)] hover:text-[var(--text-primary)]",children:[m.jsx(Xv,{className:"h-3.5 w-3.5"}),j("common.mark_all_read")]})]}),m.jsx("div",{className:"max-h-80 overflow-y-auto",children:x&&r.length===0?m.jsx("div",{className:"flex justify-center py-8",children:m.jsx("div",{className:"h-4 w-4 animate-spin rounded-full border-2 border-[var(--border)] border-t-[var(--accent)]"})}):r.length===0?m.jsxs("div",{className:"flex flex-col items-center gap-3 py-8",children:[m.jsx("span",{className:"text-xl font-bold text-[var(--border)]",children:"[ ]"}),m.jsx("span",{className:"text-xs text-[var(--text-muted)]",children:j("common.no_notifications")})]}):r.map(B=>{const q=Zb(B);return m.jsxs("div",{className:`flex items-start gap-3 border-b border-[var(--border)] px-4 py-3 last:border-b-0 transition-colors ${q?"cursor-pointer hover:bg-[var(--bg-input)]":""} ${B.isRead?"opacity-60":"bg-[var(--accent)]/5"}`,onClick:()=>{q&&(B.isRead||M(B.id),_(!1),u(q))},children:[m.jsxs("div",{className:"min-w-0 flex-1",children:[m.jsx("p",{className:"text-sm font-medium",children:B.title}),m.jsx("p",{className:"text-xs text-[var(--text-secondary)]",children:B.body}),m.jsx("p",{className:"mt-1 text-xs text-[var(--text-secondary)] opacity-60",children:new Date(B.createdAt).toLocaleString()})]}),!B.isRead&&m.jsx("button",{type:"button",onClick:L=>{L.stopPropagation(),M(B.id)},"aria-label":j("common.mark_as_read"),className:"shrink-0 rounded-[4px] p-1 text-[var(--text-secondary)] hover:text-[var(--text-primary)]",children:m.jsx(Qv,{className:"h-3.5 w-3.5"})})]},B.id)})})]})]})}function Kb(u){return{tasks:u.tasks.map(r=>({type:"task",id:r.id,title:`#${r.id} ${r.description}`,subtitle:`${r.status} · ${r.project_key}`})),workers:(u.workers??[]).map(r=>({type:"worker",id:r.id,title:r.name,subtitle:`${r.hostname} · ${r.status}`})),projects:u.projects.map(r=>({type:"project",id:r.key,title:r.name,subtitle:r.repository}))}}const Jb=300,kh={tasks:ub,workers:Fh,projects:Wv},$b={tasks:"tasks",workers:"workers",projects:"projects"};function gp({renderTrigger:u}={}){const[r,s]=g.useState(""),[o,f]=g.useState({tasks:[],workers:[],projects:[]}),[h,_]=g.useState(!1),[x,v]=g.useState(!1),[p,j]=g.useState(0),k=g.useRef(null),M=g.useRef(null),V=g.useRef(void 0),B=g.useRef(void 0),q=Fa(),{t:L}=Jt(),H=g.useMemo(()=>[...o.tasks,...o.workers,...o.projects],[o]),I=g.useCallback(async $=>{var Pe;if(!$.trim()){f({tasks:[],workers:[],projects:[]});return}(Pe=B.current)==null||Pe.abort();const oe=new AbortController;B.current=oe;try{_(!0);const Je=await Vu.get("web/search",{searchParams:{q:$},signal:oe.signal}).json();f(Kb(Je)),j(0)}catch(Je){if(Je instanceof DOMException&&Je.name==="AbortError")return}finally{oe.signal.aborted||_(!1)}},[]);g.useEffect(()=>(V.current&&clearTimeout(V.current),V.current=setTimeout(()=>I(r),Jb),()=>{V.current&&clearTimeout(V.current)}),[r,I]),g.useEffect(()=>{function $(oe){oe.key==="/"&&!x&&!(oe.target instanceof HTMLInputElement||oe.target instanceof HTMLTextAreaElement)&&(oe.preventDefault(),v(!0)),oe.key==="Escape"&&x&&(oe.preventDefault(),J())}return document.addEventListener("keydown",$),()=>document.removeEventListener("keydown",$)},[x]),g.useEffect(()=>{x&&setTimeout(()=>{var $;return($=M.current)==null?void 0:$.focus()},50)},[x]);function J(){v(!1),s(""),f({tasks:[],workers:[],projects:[]}),j(0)}function _e($){switch(J(),$.type){case"task":q(`/tasks/${$.id}`);break;case"worker":q(`/workers/${$.id}`);break;case"project":q(`/projects/${$.id}`);break}}function ye($){$.key==="ArrowDown"?($.preventDefault(),j(oe=>Math.min(oe+1,H.length-1))):$.key==="ArrowUp"?($.preventDefault(),j(oe=>Math.max(oe-1,0))):$.key==="Enter"&&H[p]&&($.preventDefault(),_e(H[p]))}const he=H.length>0;let W=0;return m.jsxs(m.Fragment,{children:[u?u(()=>v(!0)):m.jsxs("button",{type:"button",onClick:()=>v(!0),className:"flex items-center gap-2 rounded-[4px] border border-[var(--border)] bg-[var(--bg-input)] px-3 py-1.5 text-xs text-[var(--text-muted)] transition-colors hover:border-[var(--text-muted)]",children:[m.jsx(Wh,{className:"h-3.5 w-3.5"}),m.jsx("span",{children:L("common.search_placeholder")}),m.jsx("kbd",{className:"ml-2 rounded-[4px] border border-[var(--border)] bg-[var(--bg-primary)] px-1.5 py-0.5 text-[11px] text-[var(--text-muted)]",children:"/"})]}),x&&m.jsx("div",{ref:k,className:"fixed inset-0 z-[100] flex items-start justify-center pt-4 md:pt-[15vh]",style:{backgroundColor:"rgba(0, 0, 0, 0.6)"},onClick:$=>{$.target===k.current&&J()},children:m.jsxs("div",{className:"mx-3 w-full max-w-[640px] rounded-[4px] border border-[var(--border)] bg-[var(--bg-card)] shadow-2xl sm:mx-4 md:mx-0",children:[m.jsxs("div",{className:"flex items-center gap-3 border-b border-[var(--border)] px-4 py-3",children:[m.jsx("span",{className:"text-sm text-[var(--accent)]",children:"/"}),m.jsx("input",{ref:M,type:"text",placeholder:L("common.search_input_placeholder"),value:r,onChange:$=>s($.target.value),onKeyDown:ye,className:"flex-1 bg-transparent text-sm text-[var(--text-primary)] placeholder:text-[var(--text-muted)] outline-none"}),h&&m.jsx("div",{className:"h-4 w-4 animate-spin rounded-full border-2 border-[var(--border)] border-t-[var(--accent)]"})]}),m.jsx("div",{className:"max-h-[50vh] overflow-y-auto sm:max-h-[60vh] md:max-h-[400px]",children:r.trim()&&!he&&!h?m.jsx("div",{className:"py-10 text-center text-xs text-[var(--text-muted)]",children:L("common.no_search_results",{query:r})}):Object.keys(kh).map($=>{const oe=o[$];if(oe.length===0)return null;const Pe=kh[$],Je=W;return W+=oe.length,m.jsxs("div",{children:[m.jsxs("div",{className:"flex items-center gap-2 px-4 py-2 text-[var(--text-muted)]",children:[m.jsx(Pe,{className:"h-3 w-3"}),m.jsx("span",{className:"text-[11px] lowercase tracking-wider",children:$b[$]})]}),oe.map((qe,At)=>{const rt=Je+At,De=rt===p;return m.jsxs("button",{type:"button",className:`flex w-full items-center gap-3 px-4 py-2.5 text-left transition-colors ${De?"bg-[var(--accent)]/10 text-[var(--accent)]":"hover:bg-[var(--bg-input)]"}`,onClick:()=>_e(qe),onMouseEnter:()=>j(rt),children:[m.jsx("span",{className:`text-xs ${De?"text-[var(--accent)]":"text-[var(--text-muted)]"}`,children:De?">":" "}),m.jsxs("div",{className:"min-w-0 flex-1",children:[m.jsx("p",{className:"truncate text-sm",children:qe.title}),qe.subtitle&&m.jsx("p",{className:"truncate text-xs text-[var(--text-muted)]",children:qe.subtitle})]})]},`${qe.type}-${qe.id}`)})]},$)})}),m.jsxs("div",{className:"hidden items-center gap-4 border-t border-[var(--border)] px-4 py-2 md:flex",children:[m.jsxs("span",{className:"flex items-center gap-1 text-[11px] text-[var(--text-muted)]",children:[m.jsx("kbd",{className:"rounded-[4px] border border-[var(--border)] px-1",children:"↑↓"})," ",L("common.navigate_hint")]}),m.jsxs("span",{className:"flex items-center gap-1 text-[11px] text-[var(--text-muted)]",children:[m.jsx("kbd",{className:"rounded-[4px] border border-[var(--border)] px-1",children:"↵"})," ",L("common.select_hint")]}),m.jsxs("span",{className:"flex items-center gap-1 text-[11px] text-[var(--text-muted)]",children:[m.jsx("kbd",{className:"rounded-[4px] border border-[var(--border)] px-1",children:"esc"})," ",L("common.close_hint")]})]})]})})]})}const Wb={danger:"var(--destructive)",warning:"var(--warning)",accent:"var(--accent)"},Eh="confirm-dialog-title";function wh(u){return Array.from(u.querySelectorAll('button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])'))}function Fb({isOpen:u,onClose:r,onConfirm:s,title:o,message:f,confirmVariant:h="danger",isLoading:_,...x}){const{t:v}=Jt(),p=x.confirmLabel??v("common.confirm"),j=x.cancelLabel??v("common.cancel"),k=g.useRef(null),M=g.useRef(null),V=Wb[h];g.useEffect(()=>{if(!u)return;M.current=document.activeElement;const q=requestAnimationFrame(()=>{if(k.current){const L=wh(k.current);L.length>0&&L[0].focus()}});return()=>{var L;cancelAnimationFrame(q),(L=M.current)==null||L.focus()}},[u]);const B=g.useCallback(q=>{if(q.key==="Tab"&&k.current){const L=wh(k.current);if(L.length===0)return;const H=L[0],I=L[L.length-1];q.shiftKey?document.activeElement===H&&(q.preventDefault(),I.focus()):document.activeElement===I&&(q.preventDefault(),H.focus())}},[]);return u?m.jsx("div",{onClick:r,style:{position:"fixed",inset:0,zIndex:50,display:"flex",alignItems:"flex-start",justifyContent:"center",paddingTop:"max(1rem, 10vh)",paddingLeft:"1rem",paddingRight:"1rem",backgroundColor:"var(--modal-backdrop, rgba(12,12,12,0.6))"},children:m.jsxs("div",{ref:k,role:"dialog","aria-modal":"true","aria-labelledby":Eh,onClick:q=>q.stopPropagation(),onKeyDown:B,style:{width:"100%",maxWidth:"480px",backgroundColor:"var(--bg-card)",border:"1px solid var(--border)",borderRadius:"4px",padding:"1.5rem"},children:[m.jsx("div",{style:{marginBottom:"1.25rem"},children:m.jsxs("div",{id:Eh,style:{color:"var(--accent)",fontSize:"0.875rem",fontWeight:600,display:"flex",alignItems:"center",gap:"0.5rem"},children:[m.jsx(Ph,{style:{width:"1rem",height:"1rem"}}),o]})}),m.jsx("div",{style:{marginBottom:"1.25rem"},children:m.jsx("p",{style:{color:"var(--text-muted)",fontSize:"0.75rem",lineHeight:"1.5"},children:f})}),m.jsxs("div",{style:{display:"flex",gap:"0.75rem"},children:[m.jsx("button",{type:"button",onClick:r,disabled:_,className:"text-[var(--text-muted)] hover:text-[var(--text-primary)] hover:border-[var(--text-muted)]",style:{flex:1,padding:"0.5rem",backgroundColor:"transparent",border:"1px solid var(--border)",borderRadius:"4px",fontSize:"0.75rem",cursor:_?"not-allowed":"pointer",opacity:_?.7:1,transition:"color 0.15s, border-color 0.15s"},children:j}),m.jsx("button",{type:"button",onClick:s,disabled:_,style:{flex:1,padding:"0.5rem",backgroundColor:V,color:"#0C0C0C",border:"none",borderRadius:"4px",fontSize:"0.75rem",fontWeight:600,cursor:_?"not-allowed":"pointer",opacity:_?.7:1},children:_?v("common.processing"):p})]})]})}):null}const Th="overlord-pwa-install-dismissed";function Ib(){const u=navigator.userAgent;return/iP(hone|od|ad)/.test(u)&&/WebKit/.test(u)&&!/(CriOS|FxiOS|OPiOS|mercury)/.test(u)}function Pb(){return navigator.standalone===!0||window.matchMedia("(display-mode: standalone)").matches}function e0(){const{t:u}=Jt(),[r,s]=g.useState("hidden"),[o,f]=g.useState(!1),h=g.useRef(null),_=g.useRef(void 0);g.useEffect(()=>{if(Pb()||localStorage.getItem(Th)||window.innerWidth>=768)return;const p=k=>{k.preventDefault(),h.current=k};window.addEventListener("beforeinstallprompt",p);const j=setTimeout(()=>s("visible"),2e3);return()=>{window.removeEventListener("beforeinstallprompt",p),clearTimeout(j),clearTimeout(_.current)}},[]);function x(){localStorage.setItem(Th,"1"),s("dismissing"),_.current=setTimeout(()=>s("hidden"),200)}async function v(){if(h.current){await h.current.prompt();const{outcome:p}=await h.current.userChoice;p==="accepted"&&x(),h.current=null}else Ib()&&f(!0)}return r==="hidden"?null:m.jsx("div",{className:`fixed bottom-4 left-4 right-4 z-40 md:hidden ${r==="dismissing"?"animate-slide-down":"animate-slide-up"}`,role:"dialog","aria-label":u("pwa_install.title"),children:m.jsxs("div",{className:"overflow-hidden rounded-[4px] border border-[var(--accent)]/40 bg-[#0C0C0C] shadow-[0_8px_32px_rgba(0,0,0,0.4)]",children:[m.jsxs("div",{className:"flex items-center justify-between border-b border-[var(--accent)]/20 bg-[var(--accent)]/[0.06] px-3 py-1.5",children:[m.jsxs("div",{className:"flex items-center gap-1.5",children:[m.jsx("div",{className:"h-1.5 w-1.5 rounded-full bg-[var(--accent)]"}),m.jsx("span",{className:"text-[9px] font-medium text-[var(--accent)]",children:u("pwa_install.title")})]}),m.jsx("button",{onClick:x,className:"p-1 text-[var(--text-muted)] transition-colors hover:text-[var(--text-primary)]",children:m.jsx(ep,{size:14})})]}),m.jsx("div",{className:"px-3.5 py-3",children:o?m.jsxs(m.Fragment,{children:[m.jsxs("div",{className:"text-[10px] text-[var(--text-muted)]",children:[m.jsx("span",{className:"text-[var(--accent)]",children:"$"})," ",u("pwa_install.ios_command")]}),m.jsx("div",{className:"mt-2.5 flex flex-col gap-2.5",children:[u("pwa_install.ios_step_1"),u("pwa_install.ios_step_2"),u("pwa_install.ios_step_3")].map((p,j)=>m.jsxs("div",{className:"flex items-center gap-2.5",children:[m.jsx("div",{className:"flex h-7 w-7 shrink-0 items-center justify-center rounded-[4px] bg-[var(--accent)]/[0.08]",children:m.jsx("span",{className:"text-xs font-semibold text-[var(--accent)]",children:j+1})}),m.jsxs("span",{className:"text-[10px] leading-snug text-[var(--text-secondary)]",children:[j===0&&m.jsx(lb,{size:12,className:"mr-1 inline-block align-text-bottom text-[var(--text-muted)]"}),p]})]},j))})]}):m.jsxs(m.Fragment,{children:[m.jsxs("div",{className:"text-[10px] text-[var(--text-muted)]",children:[m.jsx("span",{className:"text-[var(--accent)]",children:"$"})," ",u("pwa_install.command")]}),m.jsxs("div",{className:"mt-1.5 text-[10px] leading-relaxed text-[var(--text-secondary)]",children:["→ ",u("pwa_install.desc_1"),m.jsx("br",{}),"→ ",u("pwa_install.desc_2")]}),m.jsxs("div",{className:"mt-2.5 flex gap-2",children:[m.jsx("button",{onClick:v,className:"rounded-[4px] bg-[var(--accent)] px-4 py-1.5 text-[10px] font-semibold text-black transition-all hover:brightness-110",children:u("pwa_install.install")}),m.jsx("button",{onClick:x,className:"rounded-[4px] border border-[#333] px-3 py-1.5 text-[10px] text-[var(--text-muted)] transition-colors hover:border-[var(--text-muted)]",children:u("pwa_install.skip")})]})]})})]})})}const vp=g.createContext({setActions:()=>{}});function k1(u){const{setActions:r}=g.useContext(vp);g.useEffect(()=>(r(u),()=>r(null)),[u,r])}const bp=g.createContext({setSubtitle:()=>{}});function E1(u){const{setSubtitle:r}=g.useContext(bp);g.useEffect(()=>(r(u),()=>r(null)),[u,r])}const t0=[{to:"/home",label:"terminal",icon:Ih},{to:"/tasks",label:"tasks",icon:$h},{to:"/dashboard",label:"dashboard",icon:Jh},{to:"/workers",label:"workers",icon:Fh},{to:"/projects",label:"projects",icon:Fv},{to:"/access-tokens",label:"access_tokens",icon:Pv}],a0=[{to:"/docs",label:"docs",icon:Vv}],n0=[{to:"/admin",label:"admin",icon:ib}],l0=[{to:"/home",label:"terminal",icon:Ih},{to:"/tasks",label:"tasks",icon:$h},{to:"/dashboard",label:"dashboard",icon:Jh}],Uu={"/home":{title:"common.breadcrumb_terminal",subtitle:"common.breadcrumb_terminal_sub"},"/dashboard":{title:"common.breadcrumb_dashboard",subtitle:"common.breadcrumb_dashboard_sub"},"/tasks":{title:"common.breadcrumb_tasks",subtitle:"common.breadcrumb_tasks_sub"},"/workers":{title:"common.breadcrumb_workers",subtitle:"common.breadcrumb_workers_sub"},"/projects":{title:"common.breadcrumb_projects",subtitle:"common.breadcrumb_projects_sub"},"/admin":{title:"common.breadcrumb_admin",subtitle:"common.breadcrumb_admin_sub"},"/profile":{title:"common.breadcrumb_profile",subtitle:"common.breadcrumb_profile_sub"},"/access-tokens":{title:"common.breadcrumb_access_tokens",subtitle:"common.breadcrumb_access_tokens_sub"},"/docs":{title:"common.breadcrumb_docs",subtitle:"common.breadcrumb_docs_sub"},"/docs/cli":{title:"common.breadcrumb_docs_cli",subtitle:"common.breadcrumb_docs_cli_sub"},"/docs/api":{title:"common.breadcrumb_docs_api",subtitle:"common.breadcrumb_docs_api_sub"},"/docs/skill":{title:"common.breadcrumb_docs_skill",subtitle:"common.breadcrumb_docs_skill_sub"}};function i0(u){const{t:r}=Jt();if(Uu[u]){const o=Uu[u];return{title:r(o.title),subtitle:r(o.subtitle)}}const s="/"+u.split("/").filter(Boolean)[0];if(Uu[s]){const o=Uu[s],f=u.split("/").filter(Boolean).slice(1).join(" / ");return{title:r(o.title),subtitle:f||r(o.subtitle)}}return{title:u.slice(1).replace(/\//g," // ")||"home"}}function u0(u,r){return u==="/home"?r==="/home":u==="/dashboard"?r==="/dashboard":r.startsWith(u)}function r0(){const u=yt(),{t:r}=Jt(),s={terminal:r("terminal_home.title"),dashboard:r("dashboard.title"),tasks:r("tasks.title"),workers:r("workers.title")};return m.jsxs("nav",{className:"flex items-center justify-around border-t border-[var(--border)] bg-[var(--bg-card)] md:hidden",style:{height:60,paddingTop:8,paddingBottom:"env(safe-area-inset-bottom, 0px)"},children:[l0.map(({to:o,label:f,icon:h})=>{const _=u0(o,u.pathname);return m.jsxs(Ks,{to:o,className:"flex flex-1 flex-col items-center gap-1",children:[m.jsx(h,{size:18,className:_?"text-[var(--accent)]":"text-[var(--text-muted)]"}),m.jsx("span",{className:`text-[11px] lowercase ${_?"font-bold text-[var(--accent)]":"text-[var(--text-muted)]"}`,children:s[f]??f})]},o)}),m.jsx(gp,{renderTrigger:o=>m.jsxs("button",{type:"button",onClick:o,className:"flex flex-1 flex-col items-center gap-1",children:[m.jsx(Wh,{size:18,className:"text-[var(--text-muted)]"}),m.jsx("span",{className:"text-[11px] lowercase text-[var(--text-muted)]",children:r("common.search_placeholder")})]})})]})}function o0(){const u=Fa(),{t:r}=Jt();return m.jsxs("header",{className:"flex items-center justify-between border-b border-[var(--border)] bg-[var(--bg-card)] px-4 md:hidden",style:{height:"calc(56px + env(safe-area-inset-top, 0px))",minHeight:"calc(56px + env(safe-area-inset-top, 0px))",paddingTop:"env(safe-area-inset-top, 0px)"},children:[m.jsxs("button",{onClick:()=>u("/home"),className:"flex items-center gap-2",style:{background:"none",border:"none",padding:0},children:[m.jsx("div",{className:"flex h-6 w-6 items-center justify-center rounded-[4px] bg-[var(--accent)]",children:m.jsx("span",{className:"text-sm font-semibold",style:{color:"#0C0C0C"},children:"~"})}),m.jsx("span",{className:"text-sm font-bold lowercase text-[var(--text-primary)]",children:r("common.overlord")})]}),m.jsxs("div",{className:"flex items-center gap-1",children:[m.jsx("button",{onClick:()=>u("/profile"),className:"p-2 text-[var(--text-secondary)] transition-colors hover:text-[var(--text-primary)]","aria-label":r("common.profile"),children:m.jsx(ob,{size:18})}),m.jsx(yp,{}),m.jsx(ip,{})]})]})}function As({label:u,items:r,collapsed:s}){return m.jsxs("div",{className:"mt-4 first:mt-0",children:[!s&&m.jsx("div",{className:"mb-2 px-3 text-xs lowercase",style:{color:"var(--text-muted)"},children:u}),r.map(({to:o,label:f,icon:h})=>m.jsx(Ks,{to:o,className:({isActive:_})=>`flex items-center text-sm lowercase transition-colors ${s?"justify-center py-3":"gap-2.5 px-3 py-1.5"} ${_?"text-[var(--accent)] bg-[var(--accent)]/5":"text-[var(--text-secondary)] hover:text-[var(--text-primary)]"}`,children:({isActive:_})=>m.jsxs(m.Fragment,{children:[m.jsx(h,{size:14,style:{flexShrink:0}}),!s&&m.jsx("span",{children:_?`> ${f}`:` ${f}`})]})},o))]})}function s0(){const{user:u,logout:r}=xa(),s=Fa(),[o,f]=g.useState(!1),h=db(),{t:_}=Jt(),{sidebarCollapsed:x,toggleSidebar:v}=hb();function p(){r(),s("/login")}return m.jsxs("aside",{className:"hidden md:flex flex-col border-r border-[var(--border)] transition-[width,min-width] duration-300 overflow-hidden",style:{width:x?56:240,minWidth:x?56:240,backgroundColor:"var(--bg-card)"},children:[m.jsx("div",{className:"flex items-center px-5",style:{height:48},children:m.jsxs("button",{onClick:()=>s("/home"),className:"flex items-center gap-2.5",style:{background:"none",border:"none",padding:0},children:[m.jsx("div",{className:"flex h-7 w-7 items-center justify-center rounded-[4px] bg-[var(--accent)]",style:{flexShrink:0},children:m.jsx("span",{className:"text-lg font-semibold",style:{color:"#0C0C0C"},children:"~"})}),!x&&m.jsx("span",{className:"text-base font-bold lowercase tracking-tight",style:{color:"var(--text-primary)"},children:_("common.overlord")})]})}),m.jsxs("nav",{className:"flex-1 px-3 pt-2",children:[m.jsx(As,{label:_("common.navigation"),items:t0,collapsed:x}),m.jsx(As,{label:_("common.docs_section"),items:a0,collapsed:x}),h&&m.jsx(As,{label:_("common.admin_section"),items:n0,collapsed:x})]}),m.jsx("div",{className:`px-3 py-1 ${x?"flex justify-center":""}`,children:m.jsx("button",{onClick:v,className:"flex items-center justify-center w-full py-1.5 rounded-[4px] text-[var(--text-secondary)] transition-colors hover:text-[var(--accent)] hover:bg-[var(--accent)]/5","aria-label":x?"expand sidebar":"collapse sidebar",children:x?m.jsx(Kv,{size:14}):m.jsx(Zv,{size:14})})}),m.jsx("div",{className:"border-t border-[var(--border)] p-3",children:m.jsxs("div",{className:`flex items-center py-2 ${x?"justify-center":"gap-3 px-3"}`,children:[m.jsx("button",{onClick:()=>s("/profile"),className:"flex h-7 w-7 items-center justify-center text-xs font-bold text-black transition-opacity hover:opacity-80",style:{backgroundColor:"var(--accent)",borderRadius:4,flexShrink:0},title:_("common.profile"),children:((u==null?void 0:u.username)??"u")[0].toUpperCase()}),!x&&m.jsxs(m.Fragment,{children:[m.jsxs("button",{onClick:()=>s("/profile"),className:"min-w-0 flex-1 text-left transition-colors hover:opacity-80",title:_("common.profile"),children:[m.jsx("div",{className:"truncate text-sm lowercase",style:{color:"var(--text-primary)"},children:(u==null?void 0:u.username)??"user"}),m.jsx("div",{className:"truncate text-xs lowercase",style:{color:"var(--text-muted)"},children:(u==null?void 0:u.role)??"user"})]}),m.jsx("button",{onClick:()=>f(!0),className:"p-1 text-[var(--text-secondary)] transition-colors hover:text-[var(--accent)]","aria-label":_("common.log_out"),children:m.jsx(tb,{size:14})})]})]})}),m.jsx(Fb,{isOpen:o,onClose:()=>f(!1),onConfirm:p,title:_("common.logout_title"),message:_("common.logout_message"),confirmLabel:_("common.logout"),confirmVariant:"warning"})]})}function c0({headerActions:u,subtitleOverride:r}){const s=yt(),{title:o,subtitle:f}=i0(s.pathname),h=r??f;return m.jsxs("header",{className:"hidden md:flex items-center justify-between border-b border-[var(--border)] px-5",style:{height:48,minHeight:48,backgroundColor:"var(--bg-card)"},children:[m.jsxs("div",{className:"text-sm lowercase",children:[m.jsx("span",{style:{color:"var(--text-primary)"},children:o}),h&&m.jsxs("span",{style:{color:"var(--text-muted)"},children:[" ","// ",h]})]}),m.jsxs("div",{className:"flex items-center gap-3",children:[u,m.jsxs("div",{className:"flex items-center gap-1",children:[m.jsx(gp,{}),m.jsx(yp,{}),m.jsx(ip,{})]})]})]})}function f0(){const[u,r]=g.useState(null),[s,o]=g.useState(null),f=yt(),h=f.pathname==="/home",_=f.pathname.startsWith("/docs");return g.useEffect(()=>_b.getState().init(),[]),m.jsxs("div",{className:"flex font-mono",style:{height:"100dvh",minHeight:"100vh"},children:[m.jsx(s0,{}),m.jsxs("div",{className:"flex flex-1 flex-col overflow-hidden",children:[m.jsx(o0,{}),!_&&m.jsx(c0,{headerActions:u,subtitleOverride:s}),m.jsx("main",{className:h?"flex-1 overflow-hidden bg-[var(--bg-primary)] pb-[calc(60px+env(safe-area-inset-bottom,0px))] md:pb-0":"flex-1 overflow-auto bg-[var(--bg-primary)] p-4 pb-[calc(60px+env(safe-area-inset-bottom,0px)+0.5rem)] md:p-6 md:pb-6",children:m.jsx(vp.Provider,{value:{setActions:r},children:m.jsx(bp.Provider,{value:{setSubtitle:o},children:m.jsx(nv,{})})})}),m.jsx(e0,{}),m.jsx(r0,{})]})]})}function jh(u){var s;const r=(s=u.state)==null?void 0:s.from;return r?{from:r}:{from:{pathname:u.pathname,search:u.search}}}function li({children:u,requireAdmin:r=!1}){const{accessToken:s,user:o,requireTotpSetup:f,initializing:h}=xa(),_=yt();if(h)return m.jsx("div",{className:"flex h-screen items-center justify-center",children:m.jsx("div",{className:"h-8 w-8 animate-spin rounded-full border-4 border-[var(--border)] border-t-[var(--accent)]"})});if(!s)return m.jsx(ll,{to:"/login",state:jh(_),replace:!0});if(f){const x=jh(_);return _.pathname!=="/totp-setup"&&_.pathname!=="/bind"?m.jsx(ll,{to:"/totp-setup",state:x,replace:!0}):_.pathname==="/bind"?(sessionStorage.setItem("overlord_bind_redirect",JSON.stringify(x.from)),m.jsx(ll,{to:"/totp-setup",state:x,replace:!0})):m.jsx(m.Fragment,{children:u})}return r&&(o==null?void 0:o.role)!==tp.ADMIN?m.jsx(ll,{to:"/home",replace:!0}):m.jsx(m.Fragment,{children:u})}function d0({children:u}){const{theme:r,resolved:s,setResolved:o}=lp();return g.useEffect(()=>{if(r!=="system"){o(r);return}const f=window.matchMedia("(prefers-color-scheme: dark)");o(f.matches?"dark":"light");const h=_=>o(_.matches?"dark":"light");return f.addEventListener("change",h),()=>f.removeEventListener("change",h)},[r,o]),g.useEffect(()=>{document.documentElement.classList.toggle("dark",s==="dark")},[s]),m.jsx(m.Fragment,{children:u})}class m0 extends g.Component{constructor(r){super(r),this.state={hasError:!1,error:null}}static getDerivedStateFromError(r){return{hasError:!0,error:r}}render(){var r;return this.state.hasError?m.jsxs("div",{className:"flex h-full min-h-[300px] flex-col items-center justify-center gap-4 p-8 font-mono",children:[m.jsx("span",{className:"text-lg font-bold text-[var(--destructive)]",children:Hu("common.runtime_error")}),m.jsx("p",{className:"max-w-md text-center text-xs text-[var(--text-muted)]",children:((r=this.state.error)==null?void 0:r.message)||Hu("common.an_unexpected_error_occurred")}),m.jsxs("button",{onClick:()=>{this.setState({hasError:!1,error:null}),window.location.reload()},className:"flex items-center gap-1.5 rounded-[4px] border border-[var(--border)] px-4 py-2 text-xs text-[var(--text-secondary)] hover:text-[var(--text-primary)]",children:[m.jsx(nb,{className:"h-3.5 w-3.5"}),Hu("common.reload")]})]}):this.props.children}}function h0({isOpen:u}){const r=Fa(),{logout:s,setSessionExpired:o}=xa(),{t:f}=Jt();function h(){s(),o(!1),r("/login")}return u?m.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center",children:[m.jsx("div",{className:"fixed inset-0 bg-[var(--modal-backdrop)]"}),m.jsx("div",{className:"relative z-10 w-full max-w-[480px] rounded-[4px] border border-[var(--border)] bg-[var(--bg-card)]",children:m.jsxs("div",{className:"flex flex-col items-center px-8 py-10",children:[m.jsx("div",{className:"mb-5 flex h-14 w-14 items-center justify-center rounded-full bg-[var(--warning)]/10",children:m.jsx(eb,{className:"h-7 w-7 text-[var(--warning)]"})}),m.jsx("h3",{className:"mb-2 text-base font-bold text-[var(--text-primary)]",children:f("auth.session_expired")}),m.jsx("p",{className:"mb-8 text-center text-xs text-[var(--text-secondary)]",children:f("auth.session_expired_message")}),m.jsx("button",{type:"button",className:"w-full rounded-[4px] bg-[var(--accent)] px-3 py-2.5 text-xs font-medium text-black hover:opacity-90 transition-opacity",onClick:h,children:f("auth.go_to_login")})]})})]}):null}const Rh=5;let ba=[];const Hs=new Set;function xp(){Hs.forEach(u=>u())}function p0(){return`${Date.now()}-${Math.random().toString(36).slice(2,9)}`}function Wa(u,r,s=4e3){const o=p0();return ba=[...ba,{id:o,variant:u,message:r,duration:s}],ba.length>Rh&&(ba=ba.slice(ba.length-Rh)),xp(),o}Wa.success=(u,r)=>Wa("success",u,r);Wa.error=(u,r)=>Wa("error",u,r);Wa.warning=(u,r)=>Wa("warning",u,r);Wa.info=(u,r)=>Wa("info",u,r);function _0(u){ba=ba.filter(r=>r.id!==u),xp()}function y0(){const[,u]=g.useState(0);return g.useEffect(()=>{const r=()=>u(s=>s+1);return Hs.add(r),()=>{Hs.delete(r)}},[]),ba}const g0={success:{icon:Jv,borderColor:"var(--accent)"},error:{icon:$v,borderColor:"var(--destructive)"},warning:{icon:Ph,borderColor:"var(--warning)"},info:{icon:Iv,borderColor:"var(--info)"}};function v0({item:u}){const r=g0[u.variant],s=r.icon,{t:o}=Jt(),f=g.useCallback(()=>_0(u.id),[u.id]);return g.useEffect(()=>{if(!u.duration)return;const h=setTimeout(f,u.duration);return()=>clearTimeout(h)},[u.duration,f]),m.jsxs("div",{className:"flex items-center gap-3 rounded-[4px] bg-[var(--bg-card)] px-4 py-3 shadow-lg",style:{borderLeft:`3px solid ${r.borderColor}`},role:"alert",children:[m.jsx(s,{className:"h-4 w-4 shrink-0",style:{color:r.borderColor}}),m.jsx("p",{className:"flex-1 text-xs text-[var(--text-primary)]",children:u.message}),m.jsx("button",{onClick:f,className:"shrink-0 rounded-[4px] p-0.5 text-[var(--text-muted)] transition-colors hover:text-[var(--text-primary)]","aria-label":o("common.dismiss_notification"),children:m.jsx(ep,{className:"h-3.5 w-3.5"})})]})}function b0(){const u=y0();return u.length===0?null:m.jsx("div",{className:"pointer-events-none fixed right-4 top-4 z-[9999] flex w-80 max-w-[calc(100vw-2rem)] flex-col gap-2",children:u.map(r=>m.jsx("div",{className:"pointer-events-auto",children:m.jsx(v0,{item:r})},r.id))})}const x0=g.lazy(()=>ie(()=>import("./LandingPage-D58CYxTa.js"),__vite__mapDeps([0,1,2,3,4,5,6]))),S0=g.lazy(()=>ie(()=>import("./LoginPage-BkBq-gI2.js"),[])),k0=g.lazy(()=>ie(()=>import("./TotpSetupPage-DHdTMjpN.js"),[])),E0=g.lazy(()=>ie(()=>import("./NotFoundPage-DQOZcvon.js"),[])),w0=g.lazy(()=>ie(()=>import("./HomePage-Dx-CsXKm.js"),__vite__mapDeps([7,8,9,10,11,12,13,14,15,1]))),T0=g.lazy(()=>ie(()=>import("./TerminalHomePage-BTqi9Axa.js"),__vite__mapDeps([16,17,18,19,11,12,20,9,13,15,21,2,22]))),j0=g.lazy(()=>ie(()=>import("./TaskListPage-sy7iLza2.js"),__vite__mapDeps([23,17,8,9,13,14,20,6,24,10,21]))),R0=g.lazy(()=>ie(()=>import("./TaskDetailPage-DtwpHF_O.js"),__vite__mapDeps([25,17,18,19,13,26,20,9,27,28,29,30,2]))),A0=g.lazy(()=>ie(()=>import("./WorkerListPage-B-D7X_b1.js"),__vite__mapDeps([31,9,32,33,34,35,36,22,6,30,20,24,10,15,21]))),z0=g.lazy(()=>ie(()=>import("./WorkerDetailPage-YJUVETFW.js"),__vite__mapDeps([37,13,9,38,32,15,39,27]))),O0=g.lazy(()=>ie(()=>import("./WorkerSetupGuidePage-ChzKuXQZ.js"),__vite__mapDeps([33,34,35,36,22]))),C0=g.lazy(()=>ie(()=>import("./ProjectListPage-CNotLnBe.js"),__vite__mapDeps([40,20,24,10,13,15,21]))),N0=g.lazy(()=>ie(()=>import("./ProjectDetailPage-CfnwUUSo.js"),__vite__mapDeps([41,42,20,13,9,38,15,43,39,21]))),D0=g.lazy(()=>ie(()=>import("./EditProjectPage-f_umSRE8.js"),__vite__mapDeps([44,20,42,21]))),M0=g.lazy(()=>ie(()=>import("./PipelineEditorPage-D3LWtMr2.js"),__vite__mapDeps([45,20,14]))),U0=g.lazy(()=>ie(()=>import("./ProfilePage-BcJ4dzzZ.js"),__vite__mapDeps([46,47,38,15]))),q0=g.lazy(()=>ie(()=>import("./BindPlatformPage-DR0wVGmo.js"),[])),L0=g.lazy(()=>ie(()=>import("./AccessTokensPage-iDZ6rZhl.js"),__vite__mapDeps([48,20,24,10,13,15,21,6,39]))),H0=g.lazy(()=>ie(()=>import("./CliReferencePage-3PUTVc7V.js"),__vite__mapDeps([49,50,6,21]))),B0=g.lazy(()=>ie(()=>import("./ApiReferencePage-DdBJhmX5.js"),__vite__mapDeps([51,50,6,21]))),Y0=g.lazy(()=>ie(()=>import("./SkillPage-BLEt2rMu.js"),__vite__mapDeps([52,53,6,29]))),G0=g.lazy(()=>ie(()=>import("./DocsLayout-Db02r7be.js"),__vite__mapDeps([54,35,3,26,4,36]))),V0=g.lazy(()=>ie(()=>import("./InstallationPage-BNHwwjLf.js"),__vite__mapDeps([55,53,6]))),X0=g.lazy(()=>ie(()=>import("./DeveloperSetupPage-BMm9F-Bb.js"),__vite__mapDeps([56,53,6]))),Q0=g.lazy(()=>ie(()=>import("./WorkerSetupPage-B4jlXCjH.js"),__vite__mapDeps([57,53,6]))),Z0=g.lazy(()=>ie(()=>import("./BotSetupPage-Bcfnysyl.js"),__vite__mapDeps([58,53,6]))),K0=g.lazy(()=>ie(()=>import("./LocalDevelopmentPage-CyUsNaWH.js"),__vite__mapDeps([59,53,6]))),J0=g.lazy(()=>ie(()=>import("./WorkerOperationsPage-BBxYUgIw.js"),[])),$0=g.lazy(()=>ie(()=>import("./DeploymentPage-CKZ4SJGu.js"),__vite__mapDeps([60,53,6]))),W0=g.lazy(()=>ie(()=>import("./BotIntegrationPage-BsClXkLN.js"),[])),F0=g.lazy(()=>ie(()=>import("./PipelineConfigPage-DWTyDQIr.js"),__vite__mapDeps([61,53,6]))),I0=g.lazy(()=>ie(()=>import("./DevWorkflowPage-3C2oScnn.js"),__vite__mapDeps([62,53,6]))),P0=g.lazy(()=>ie(()=>import("./PermissionsPage-DV1jB5wk.js"),[])),e1=g.lazy(()=>ie(()=>import("./EnvVariablesPage-BG-6sXnf.js"),[])),t1=g.lazy(()=>ie(()=>import("./ArchitecturePage-BWQACk_w.js"),__vite__mapDeps([63,53,6]))),a1=g.lazy(()=>ie(()=>import("./ChangelogPage-DpiKKuMW.js"),[])),n1=g.lazy(()=>ie(()=>import("./AdminPage-CIVF_6oN.js"),__vite__mapDeps([64,5,3,65,36]))),l1=g.lazy(()=>ie(()=>import("./DeveloperManage-wTnur24N.js"),__vite__mapDeps([66,20,47,24,10,15,9,21,5,43,28]))),i1=g.lazy(()=>ie(()=>import("./BotManage-CNZfkmIJ.js"),__vite__mapDeps([67,20,53,6,39,21,24,10,15,9,3,43]))),u1=g.lazy(()=>ie(()=>import("./TokenManage-DWMXnCDJ.js"),__vite__mapDeps([68,34,6,29,24,10,15,9,21]))),r1=g.lazy(()=>ie(()=>import("./AuditLogPage-DTZL5_x5.js"),__vite__mapDeps([69,20,24,10,65,12]))),o1=g.lazy(()=>ie(()=>import("./SettingsPage-DwbzfiSN.js"),[]));function s1(){return m.jsx("div",{className:"flex h-full items-center justify-center",children:m.jsx("div",{className:"h-8 w-8 animate-spin rounded-full border-4 border-[var(--border)] border-t-[var(--accent)]"})})}function c1(){const u=xa(r=>r.sessionExpired);return m.jsxs(d0,{children:[m.jsx(b0,{}),m.jsx(m0,{children:m.jsxs(zv,{children:[m.jsx(h0,{isOpen:u}),m.jsx(g.Suspense,{fallback:m.jsx(s1,{}),children:m.jsxs(iv,{children:[m.jsx(te,{path:"/",element:m.jsx(x0,{})}),m.jsx(te,{path:"/login",element:m.jsx(S0,{})}),m.jsx(te,{path:"/totp-setup",element:m.jsx(li,{children:m.jsx(k0,{})})}),m.jsx(te,{path:"/bind",element:m.jsx(li,{children:m.jsx(q0,{})})}),m.jsxs(te,{element:m.jsx(li,{children:m.jsx(f0,{})}),children:[m.jsx(te,{path:"/home",element:m.jsx(T0,{})}),m.jsx(te,{path:"/dashboard",element:m.jsx(w0,{})}),m.jsx(te,{path:"/tasks",element:m.jsx(j0,{})}),m.jsx(te,{path:"/tasks/:id",element:m.jsx(R0,{})}),m.jsx(te,{path:"/workers",element:m.jsx(A0,{})}),m.jsx(te,{path:"/workers/setup",element:m.jsx(li,{requireAdmin:!0,children:m.jsx(O0,{})})}),m.jsx(te,{path:"/workers/:id",element:m.jsx(z0,{})}),m.jsx(te,{path:"/projects",element:m.jsx(C0,{})}),m.jsx(te,{path:"/projects/:key",element:m.jsx(N0,{})}),m.jsx(te,{path:"/projects/:key/edit",element:m.jsx(D0,{})}),m.jsx(te,{path:"/projects/:key/pipeline",element:m.jsx(M0,{})}),m.jsx(te,{path:"/profile",element:m.jsx(U0,{})}),m.jsx(te,{path:"/access-tokens",element:m.jsx(L0,{})}),m.jsxs(te,{path:"/docs",element:m.jsx(G0,{}),children:[m.jsx(te,{index:!0,element:m.jsx(ll,{to:"installation",replace:!0})}),m.jsx(te,{path:"cli",element:m.jsx(H0,{})}),m.jsx(te,{path:"api",element:m.jsx(B0,{})}),m.jsx(te,{path:"skill",element:m.jsx(Y0,{})}),m.jsx(te,{path:"installation",element:m.jsx(V0,{})}),m.jsx(te,{path:"developer-setup",element:m.jsx(X0,{})}),m.jsx(te,{path:"worker-setup",element:m.jsx(Q0,{})}),m.jsx(te,{path:"bot-setup",element:m.jsx(Z0,{})}),m.jsx(te,{path:"local-development",element:m.jsx(K0,{})}),m.jsx(te,{path:"worker-operations",element:m.jsx(J0,{})}),m.jsx(te,{path:"deployment",element:m.jsx($0,{})}),m.jsx(te,{path:"bot-integration",element:m.jsx(W0,{})}),m.jsx(te,{path:"pipeline-config",element:m.jsx(F0,{})}),m.jsx(te,{path:"dev-workflow",element:m.jsx(I0,{})}),m.jsx(te,{path:"permissions",element:m.jsx(P0,{})}),m.jsx(te,{path:"env-variables",element:m.jsx(e1,{})}),m.jsx(te,{path:"architecture",element:m.jsx(t1,{})}),m.jsx(te,{path:"changelog",element:m.jsx(a1,{})})]}),m.jsxs(te,{path:"/admin",element:m.jsx(li,{requireAdmin:!0,children:m.jsx(n1,{})}),children:[m.jsx(te,{index:!0,element:m.jsx(ll,{to:"developers",replace:!0})}),m.jsx(te,{path:"developers",element:m.jsx(l1,{})}),m.jsx(te,{path:"bots",element:m.jsx(i1,{})}),m.jsx(te,{path:"tokens",element:m.jsx(u1,{})}),m.jsx(te,{path:"audit-logs",element:m.jsx(r1,{})}),m.jsx(te,{path:"settings",element:m.jsx(o1,{})})]})]}),m.jsx(te,{path:"*",element:m.jsx(E0,{})})]})})]})})]})}xa.getState().initialize();ng.createRoot(document.getElementById("root")).render(m.jsx(g.StrictMode,{children:m.jsx(c1,{})}));export{y1 as A,Vv as B,Qv as C,tp as D,m1 as E,g1 as F,v1 as G,Ns as H,Ks as I,b1 as J,Pv as K,Qh as L,x1 as M,ll as N,nv as O,e0 as P,$v as Q,Ru as R,Fh as S,ip as T,p1 as W,ep as X,Jt as a,Ih as b,Ae as c,ib as d,Fa as e,yt as f,Vu as g,db as h,_b as i,m as j,Wu as k,h1 as l,E1 as m,k1 as n,Wh as o,$h as p,S1 as q,g as r,Fb as s,Wa as t,xa as u,d1 as v,Jv as w,Ph as x,_1 as y,nb as z};
|