codetown 0.0.8 → 0.0.10
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/package.json +54 -55
- package/readme.md +3 -7
- package/dist/assets/index-C9m38qRt.js +0 -49
- package/dist/assets/index-FJflyyUw.css +0 -1
- package/dist/assets/react-CHdo91hT.svg +0 -1
- package/dist/index.html +0 -17
- package/dist/vite.svg +0 -1
- package/src/server/cli.js +0 -46
- package/src/server/main.ts +0 -60
package/package.json
CHANGED
|
@@ -1,56 +1,55 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
2
|
+
"name": "codetown",
|
|
3
|
+
"version": "0.0.10",
|
|
4
|
+
"description": "codetown is a place to code and have fun",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": "wonglok/codetown",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "lok wong",
|
|
9
|
+
"url": "https://wonglok.com"
|
|
10
|
+
},
|
|
11
|
+
"type": "module",
|
|
12
|
+
"bin": {
|
|
13
|
+
"codetown": "./src/server/cli.js"
|
|
14
|
+
},
|
|
15
|
+
"preferGlobal": true,
|
|
16
|
+
"engines": {
|
|
17
|
+
"node": ">=18"
|
|
18
|
+
},
|
|
19
|
+
"scripts": {
|
|
20
|
+
"deploy": "npx bump; npm publish --access public",
|
|
21
|
+
"start": "vite build; NODE_ENV=production tsx ./src/server/cli.js",
|
|
22
|
+
"build": "vite build",
|
|
23
|
+
"dev": "NODE_ENV=development nodemon --watch ./index.html --watch ./src --watch ./public -x tsx ./src/server/cli.js",
|
|
24
|
+
"test": "node ./src/server/cli.js"
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"./src/server",
|
|
28
|
+
"./dist"
|
|
29
|
+
],
|
|
30
|
+
"keywords": [
|
|
31
|
+
"cli",
|
|
32
|
+
"codetown"
|
|
33
|
+
],
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"express": "^5.1.0",
|
|
36
|
+
"meow": "^13.2.0",
|
|
37
|
+
"publish": "^0.6.0",
|
|
38
|
+
"react": "^19.1.0",
|
|
39
|
+
"react-dom": "^19.1.0",
|
|
40
|
+
"socket.io": "^4.8.3",
|
|
41
|
+
"socket.io-client": "^4.8.3",
|
|
42
|
+
"tsx": "^4.19.3",
|
|
43
|
+
"typescript": "^5.8.3",
|
|
44
|
+
"vite-express": "*"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@types/express": "^5.0.1",
|
|
48
|
+
"@types/node": "^22.15.2",
|
|
49
|
+
"@types/react": "^19.1.2",
|
|
50
|
+
"@types/react-dom": "^19.1.2",
|
|
51
|
+
"@vitejs/plugin-react": "^4.4.1",
|
|
52
|
+
"nodemon": "^3.1.10",
|
|
53
|
+
"vite": "^6.3.3"
|
|
54
|
+
}
|
|
55
|
+
}
|
package/readme.md
CHANGED
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
## Getting started with CodeTown
|
|
2
2
|
|
|
3
|
-
# @wonglok831/codetown
|
|
4
|
-
|
|
5
3
|
> My awesome ai coding manager in 3d funz
|
|
6
4
|
|
|
7
|
-
##
|
|
5
|
+
## Npx
|
|
8
6
|
|
|
9
7
|
```sh
|
|
10
|
-
|
|
8
|
+
npx codetown
|
|
11
9
|
```
|
|
12
10
|
|
|
13
|
-
## Npx
|
|
14
|
-
|
|
15
11
|
```sh
|
|
16
|
-
npx codetown
|
|
12
|
+
npx codetown --host 0.0.0.0 --port 8080
|
|
17
13
|
```
|
|
18
14
|
|
|
19
15
|
## Usage
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const v of document.querySelectorAll('link[rel="modulepreload"]'))s(v);new MutationObserver(v=>{for(const O of v)if(O.type==="childList")for(const U of O.addedNodes)U.tagName==="LINK"&&U.rel==="modulepreload"&&s(U)}).observe(document,{childList:!0,subtree:!0});function f(v){const O={};return v.integrity&&(O.integrity=v.integrity),v.referrerPolicy&&(O.referrerPolicy=v.referrerPolicy),v.crossOrigin==="use-credentials"?O.credentials="include":v.crossOrigin==="anonymous"?O.credentials="omit":O.credentials="same-origin",O}function s(v){if(v.ep)return;v.ep=!0;const O=f(v);fetch(v.href,O)}})();function Vm(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var Ef={exports:{}},Ma={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react-jsx-runtime.production.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var Kh;function Zm(){if(Kh)return Ma;Kh=1;var o=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function f(s,v,O){var U=null;if(O!==void 0&&(U=""+O),v.key!==void 0&&(U=""+v.key),"key"in v){O={};for(var L in v)L!=="key"&&(O[L]=v[L])}else O=v;return v=O.ref,{$$typeof:o,type:s,key:U,ref:v!==void 0?v:null,props:O}}return Ma.Fragment=i,Ma.jsx=f,Ma.jsxs=f,Ma}var wh;function Km(){return wh||(wh=1,Ef.exports=Zm()),Ef.exports}var ce=Km(),Tf={exports:{}},Da={},Af={exports:{}},zf={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* scheduler.production.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var Jh;function wm(){return Jh||(Jh=1,(function(o){function i(E,R){var X=E.length;E.push(R);t:for(;0<X;){var it=X-1>>>1,ot=E[it];if(0<v(ot,R))E[it]=R,E[X]=ot,X=it;else break t}}function f(E){return E.length===0?null:E[0]}function s(E){if(E.length===0)return null;var R=E[0],X=E.pop();if(X!==R){E[0]=X;t:for(var it=0,ot=E.length,y=ot>>>1;it<y;){var z=2*(it+1)-1,N=E[z],B=z+1,G=E[B];if(0>v(N,X))B<ot&&0>v(G,N)?(E[it]=G,E[B]=X,it=B):(E[it]=N,E[z]=X,it=z);else if(B<ot&&0>v(G,X))E[it]=G,E[B]=X,it=B;else break t}}return R}function v(E,R){var X=E.sortIndex-R.sortIndex;return X!==0?X:E.id-R.id}if(o.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var O=performance;o.unstable_now=function(){return O.now()}}else{var U=Date,L=U.now();o.unstable_now=function(){return U.now()-L}}var D=[],M=[],j=1,H=null,lt=3,Wt=!1,Lt=!1,Ht=!1,qe=!1,$t=typeof setTimeout=="function"?setTimeout:null,tl=typeof clearTimeout=="function"?clearTimeout:null,Bt=typeof setImmediate<"u"?setImmediate:null;function fe(E){for(var R=f(M);R!==null;){if(R.callback===null)s(M);else if(R.startTime<=E)s(M),R.sortIndex=R.expirationTime,i(D,R);else break;R=f(M)}}function ze(E){if(Ht=!1,fe(E),!Lt)if(f(D)!==null)Lt=!0,Xt||(Xt=!0,jt());else{var R=f(M);R!==null&&be(ze,R.startTime-E)}}var Xt=!1,$=-1,Qt=5,Oe=-1;function Jl(){return qe?!0:!(o.unstable_now()-Oe<Qt)}function Me(){if(qe=!1,Xt){var E=o.unstable_now();Oe=E;var R=!0;try{t:{Lt=!1,Ht&&(Ht=!1,tl($),$=-1),Wt=!0;var X=lt;try{e:{for(fe(E),H=f(D);H!==null&&!(H.expirationTime>E&&Jl());){var it=H.callback;if(typeof it=="function"){H.callback=null,lt=H.priorityLevel;var ot=it(H.expirationTime<=E);if(E=o.unstable_now(),typeof ot=="function"){H.callback=ot,fe(E),R=!0;break e}H===f(D)&&s(D),fe(E)}else s(D);H=f(D)}if(H!==null)R=!0;else{var y=f(M);y!==null&&be(ze,y.startTime-E),R=!1}}break t}finally{H=null,lt=X,Wt=!1}R=void 0}}finally{R?jt():Xt=!1}}}var jt;if(typeof Bt=="function")jt=function(){Bt(Me)};else if(typeof MessageChannel<"u"){var Ml=new MessageChannel,He=Ml.port2;Ml.port1.onmessage=Me,jt=function(){He.postMessage(null)}}else jt=function(){$t(Me,0)};function be(E,R){$=$t(function(){E(o.unstable_now())},R)}o.unstable_IdlePriority=5,o.unstable_ImmediatePriority=1,o.unstable_LowPriority=4,o.unstable_NormalPriority=3,o.unstable_Profiling=null,o.unstable_UserBlockingPriority=2,o.unstable_cancelCallback=function(E){E.callback=null},o.unstable_forceFrameRate=function(E){0>E||125<E?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Qt=0<E?Math.floor(1e3/E):5},o.unstable_getCurrentPriorityLevel=function(){return lt},o.unstable_next=function(E){switch(lt){case 1:case 2:case 3:var R=3;break;default:R=lt}var X=lt;lt=R;try{return E()}finally{lt=X}},o.unstable_requestPaint=function(){qe=!0},o.unstable_runWithPriority=function(E,R){switch(E){case 1:case 2:case 3:case 4:case 5:break;default:E=3}var X=lt;lt=E;try{return R()}finally{lt=X}},o.unstable_scheduleCallback=function(E,R,X){var it=o.unstable_now();switch(typeof X=="object"&&X!==null?(X=X.delay,X=typeof X=="number"&&0<X?it+X:it):X=it,E){case 1:var ot=-1;break;case 2:ot=250;break;case 5:ot=1073741823;break;case 4:ot=1e4;break;default:ot=5e3}return ot=X+ot,E={id:j++,callback:R,priorityLevel:E,startTime:X,expirationTime:ot,sortIndex:-1},X>it?(E.sortIndex=X,i(M,E),f(D)===null&&E===f(M)&&(Ht?(tl($),$=-1):Ht=!0,be(ze,X-it))):(E.sortIndex=ot,i(D,E),Lt||Wt||(Lt=!0,Xt||(Xt=!0,jt()))),E},o.unstable_shouldYield=Jl,o.unstable_wrapCallback=function(E){var R=lt;return function(){var X=lt;lt=R;try{return E.apply(this,arguments)}finally{lt=X}}}})(zf)),zf}var kh;function Jm(){return kh||(kh=1,Af.exports=wm()),Af.exports}var Of={exports:{}},Q={};/**
|
|
18
|
-
* @license React
|
|
19
|
-
* react.production.js
|
|
20
|
-
*
|
|
21
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
22
|
-
*
|
|
23
|
-
* This source code is licensed under the MIT license found in the
|
|
24
|
-
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/var Wh;function km(){if(Wh)return Q;Wh=1;var o=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),O=Symbol.for("react.consumer"),U=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),M=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),H=Symbol.for("react.activity"),lt=Symbol.iterator;function Wt(y){return y===null||typeof y!="object"?null:(y=lt&&y[lt]||y["@@iterator"],typeof y=="function"?y:null)}var Lt={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ht=Object.assign,qe={};function $t(y,z,N){this.props=y,this.context=z,this.refs=qe,this.updater=N||Lt}$t.prototype.isReactComponent={},$t.prototype.setState=function(y,z){if(typeof y!="object"&&typeof y!="function"&&y!=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,y,z,"setState")},$t.prototype.forceUpdate=function(y){this.updater.enqueueForceUpdate(this,y,"forceUpdate")};function tl(){}tl.prototype=$t.prototype;function Bt(y,z,N){this.props=y,this.context=z,this.refs=qe,this.updater=N||Lt}var fe=Bt.prototype=new tl;fe.constructor=Bt,Ht(fe,$t.prototype),fe.isPureReactComponent=!0;var ze=Array.isArray;function Xt(){}var $={H:null,A:null,T:null,S:null},Qt=Object.prototype.hasOwnProperty;function Oe(y,z,N){var B=N.ref;return{$$typeof:o,type:y,key:z,ref:B!==void 0?B:null,props:N}}function Jl(y,z){return Oe(y.type,z,y.props)}function Me(y){return typeof y=="object"&&y!==null&&y.$$typeof===o}function jt(y){var z={"=":"=0",":":"=2"};return"$"+y.replace(/[=:]/g,function(N){return z[N]})}var Ml=/\/+/g;function He(y,z){return typeof y=="object"&&y!==null&&y.key!=null?jt(""+y.key):z.toString(36)}function be(y){switch(y.status){case"fulfilled":return y.value;case"rejected":throw y.reason;default:switch(typeof y.status=="string"?y.then(Xt,Xt):(y.status="pending",y.then(function(z){y.status==="pending"&&(y.status="fulfilled",y.value=z)},function(z){y.status==="pending"&&(y.status="rejected",y.reason=z)})),y.status){case"fulfilled":return y.value;case"rejected":throw y.reason}}throw y}function E(y,z,N,B,G){var K=typeof y;(K==="undefined"||K==="boolean")&&(y=null);var nt=!1;if(y===null)nt=!0;else switch(K){case"bigint":case"string":case"number":nt=!0;break;case"object":switch(y.$$typeof){case o:case i:nt=!0;break;case j:return nt=y._init,E(nt(y._payload),z,N,B,G)}}if(nt)return G=G(y),nt=B===""?"."+He(y,0):B,ze(G)?(N="",nt!=null&&(N=nt.replace(Ml,"$&/")+"/"),E(G,z,N,"",function(qn){return qn})):G!=null&&(Me(G)&&(G=Jl(G,N+(G.key==null||y&&y.key===G.key?"":(""+G.key).replace(Ml,"$&/")+"/")+nt)),z.push(G)),1;nt=0;var Yt=B===""?".":B+":";if(ze(y))for(var gt=0;gt<y.length;gt++)B=y[gt],K=Yt+He(B,gt),nt+=E(B,z,N,K,G);else if(gt=Wt(y),typeof gt=="function")for(y=gt.call(y),gt=0;!(B=y.next()).done;)B=B.value,K=Yt+He(B,gt++),nt+=E(B,z,N,K,G);else if(K==="object"){if(typeof y.then=="function")return E(be(y),z,N,B,G);throw z=String(y),Error("Objects are not valid as a React child (found: "+(z==="[object Object]"?"object with keys {"+Object.keys(y).join(", ")+"}":z)+"). If you meant to render a collection of children, use an array instead.")}return nt}function R(y,z,N){if(y==null)return y;var B=[],G=0;return E(y,B,"","",function(K){return z.call(N,K,G++)}),B}function X(y){if(y._status===-1){var z=y._result;z=z(),z.then(function(N){(y._status===0||y._status===-1)&&(y._status=1,y._result=N)},function(N){(y._status===0||y._status===-1)&&(y._status=2,y._result=N)}),y._status===-1&&(y._status=0,y._result=z)}if(y._status===1)return y._result.default;throw y._result}var it=typeof reportError=="function"?reportError:function(y){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var z=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof y=="object"&&y!==null&&typeof y.message=="string"?String(y.message):String(y),error:y});if(!window.dispatchEvent(z))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",y);return}console.error(y)},ot={map:R,forEach:function(y,z,N){R(y,function(){z.apply(this,arguments)},N)},count:function(y){var z=0;return R(y,function(){z++}),z},toArray:function(y){return R(y,function(z){return z})||[]},only:function(y){if(!Me(y))throw Error("React.Children.only expected to receive a single React element child.");return y}};return Q.Activity=H,Q.Children=ot,Q.Component=$t,Q.Fragment=f,Q.Profiler=v,Q.PureComponent=Bt,Q.StrictMode=s,Q.Suspense=D,Q.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=$,Q.__COMPILER_RUNTIME={__proto__:null,c:function(y){return $.H.useMemoCache(y)}},Q.cache=function(y){return function(){return y.apply(null,arguments)}},Q.cacheSignal=function(){return null},Q.cloneElement=function(y,z,N){if(y==null)throw Error("The argument must be a React element, but you passed "+y+".");var B=Ht({},y.props),G=y.key;if(z!=null)for(K in z.key!==void 0&&(G=""+z.key),z)!Qt.call(z,K)||K==="key"||K==="__self"||K==="__source"||K==="ref"&&z.ref===void 0||(B[K]=z[K]);var K=arguments.length-2;if(K===1)B.children=N;else if(1<K){for(var nt=Array(K),Yt=0;Yt<K;Yt++)nt[Yt]=arguments[Yt+2];B.children=nt}return Oe(y.type,G,B)},Q.createContext=function(y){return y={$$typeof:U,_currentValue:y,_currentValue2:y,_threadCount:0,Provider:null,Consumer:null},y.Provider=y,y.Consumer={$$typeof:O,_context:y},y},Q.createElement=function(y,z,N){var B,G={},K=null;if(z!=null)for(B in z.key!==void 0&&(K=""+z.key),z)Qt.call(z,B)&&B!=="key"&&B!=="__self"&&B!=="__source"&&(G[B]=z[B]);var nt=arguments.length-2;if(nt===1)G.children=N;else if(1<nt){for(var Yt=Array(nt),gt=0;gt<nt;gt++)Yt[gt]=arguments[gt+2];G.children=Yt}if(y&&y.defaultProps)for(B in nt=y.defaultProps,nt)G[B]===void 0&&(G[B]=nt[B]);return Oe(y,K,G)},Q.createRef=function(){return{current:null}},Q.forwardRef=function(y){return{$$typeof:L,render:y}},Q.isValidElement=Me,Q.lazy=function(y){return{$$typeof:j,_payload:{_status:-1,_result:y},_init:X}},Q.memo=function(y,z){return{$$typeof:M,type:y,compare:z===void 0?null:z}},Q.startTransition=function(y){var z=$.T,N={};$.T=N;try{var B=y(),G=$.S;G!==null&&G(N,B),typeof B=="object"&&B!==null&&typeof B.then=="function"&&B.then(Xt,it)}catch(K){it(K)}finally{z!==null&&N.types!==null&&(z.types=N.types),$.T=z}},Q.unstable_useCacheRefresh=function(){return $.H.useCacheRefresh()},Q.use=function(y){return $.H.use(y)},Q.useActionState=function(y,z,N){return $.H.useActionState(y,z,N)},Q.useCallback=function(y,z){return $.H.useCallback(y,z)},Q.useContext=function(y){return $.H.useContext(y)},Q.useDebugValue=function(){},Q.useDeferredValue=function(y,z){return $.H.useDeferredValue(y,z)},Q.useEffect=function(y,z){return $.H.useEffect(y,z)},Q.useEffectEvent=function(y){return $.H.useEffectEvent(y)},Q.useId=function(){return $.H.useId()},Q.useImperativeHandle=function(y,z,N){return $.H.useImperativeHandle(y,z,N)},Q.useInsertionEffect=function(y,z){return $.H.useInsertionEffect(y,z)},Q.useLayoutEffect=function(y,z){return $.H.useLayoutEffect(y,z)},Q.useMemo=function(y,z){return $.H.useMemo(y,z)},Q.useOptimistic=function(y,z){return $.H.useOptimistic(y,z)},Q.useReducer=function(y,z,N){return $.H.useReducer(y,z,N)},Q.useRef=function(y){return $.H.useRef(y)},Q.useState=function(y){return $.H.useState(y)},Q.useSyncExternalStore=function(y,z,N){return $.H.useSyncExternalStore(y,z,N)},Q.useTransition=function(){return $.H.useTransition()},Q.version="19.2.4",Q}var $h;function xf(){return $h||($h=1,Of.exports=km()),Of.exports}var Mf={exports:{}},qt={};/**
|
|
26
|
-
* @license React
|
|
27
|
-
* react-dom.production.js
|
|
28
|
-
*
|
|
29
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
30
|
-
*
|
|
31
|
-
* This source code is licensed under the MIT license found in the
|
|
32
|
-
* LICENSE file in the root directory of this source tree.
|
|
33
|
-
*/var Fh;function Wm(){if(Fh)return qt;Fh=1;var o=xf();function i(D){var M="https://react.dev/errors/"+D;if(1<arguments.length){M+="?args[]="+encodeURIComponent(arguments[1]);for(var j=2;j<arguments.length;j++)M+="&args[]="+encodeURIComponent(arguments[j])}return"Minified React error #"+D+"; visit "+M+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(){}var s={d:{f,r:function(){throw Error(i(522))},D:f,C:f,L:f,m:f,X:f,S:f,M:f},p:0,findDOMNode:null},v=Symbol.for("react.portal");function O(D,M,j){var H=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:v,key:H==null?null:""+H,children:D,containerInfo:M,implementation:j}}var U=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function L(D,M){if(D==="font")return"";if(typeof M=="string")return M==="use-credentials"?M:""}return qt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,qt.createPortal=function(D,M){var j=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!M||M.nodeType!==1&&M.nodeType!==9&&M.nodeType!==11)throw Error(i(299));return O(D,M,null,j)},qt.flushSync=function(D){var M=U.T,j=s.p;try{if(U.T=null,s.p=2,D)return D()}finally{U.T=M,s.p=j,s.d.f()}},qt.preconnect=function(D,M){typeof D=="string"&&(M?(M=M.crossOrigin,M=typeof M=="string"?M==="use-credentials"?M:"":void 0):M=null,s.d.C(D,M))},qt.prefetchDNS=function(D){typeof D=="string"&&s.d.D(D)},qt.preinit=function(D,M){if(typeof D=="string"&&M&&typeof M.as=="string"){var j=M.as,H=L(j,M.crossOrigin),lt=typeof M.integrity=="string"?M.integrity:void 0,Wt=typeof M.fetchPriority=="string"?M.fetchPriority:void 0;j==="style"?s.d.S(D,typeof M.precedence=="string"?M.precedence:void 0,{crossOrigin:H,integrity:lt,fetchPriority:Wt}):j==="script"&&s.d.X(D,{crossOrigin:H,integrity:lt,fetchPriority:Wt,nonce:typeof M.nonce=="string"?M.nonce:void 0})}},qt.preinitModule=function(D,M){if(typeof D=="string")if(typeof M=="object"&&M!==null){if(M.as==null||M.as==="script"){var j=L(M.as,M.crossOrigin);s.d.M(D,{crossOrigin:j,integrity:typeof M.integrity=="string"?M.integrity:void 0,nonce:typeof M.nonce=="string"?M.nonce:void 0})}}else M==null&&s.d.M(D)},qt.preload=function(D,M){if(typeof D=="string"&&typeof M=="object"&&M!==null&&typeof M.as=="string"){var j=M.as,H=L(j,M.crossOrigin);s.d.L(D,j,{crossOrigin:H,integrity:typeof M.integrity=="string"?M.integrity:void 0,nonce:typeof M.nonce=="string"?M.nonce:void 0,type:typeof M.type=="string"?M.type:void 0,fetchPriority:typeof M.fetchPriority=="string"?M.fetchPriority:void 0,referrerPolicy:typeof M.referrerPolicy=="string"?M.referrerPolicy:void 0,imageSrcSet:typeof M.imageSrcSet=="string"?M.imageSrcSet:void 0,imageSizes:typeof M.imageSizes=="string"?M.imageSizes:void 0,media:typeof M.media=="string"?M.media:void 0})}},qt.preloadModule=function(D,M){if(typeof D=="string")if(M){var j=L(M.as,M.crossOrigin);s.d.m(D,{as:typeof M.as=="string"&&M.as!=="script"?M.as:void 0,crossOrigin:j,integrity:typeof M.integrity=="string"?M.integrity:void 0})}else s.d.m(D)},qt.requestFormReset=function(D){s.d.r(D)},qt.unstable_batchedUpdates=function(D,M){return D(M)},qt.useFormState=function(D,M,j){return U.H.useFormState(D,M,j)},qt.useFormStatus=function(){return U.H.useHostTransitionStatus()},qt.version="19.2.4",qt}var Ih;function $m(){if(Ih)return Mf.exports;Ih=1;function o(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(o)}catch(i){console.error(i)}}return o(),Mf.exports=Wm(),Mf.exports}/**
|
|
34
|
-
* @license React
|
|
35
|
-
* react-dom-client.production.js
|
|
36
|
-
*
|
|
37
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
38
|
-
*
|
|
39
|
-
* This source code is licensed under the MIT license found in the
|
|
40
|
-
* LICENSE file in the root directory of this source tree.
|
|
41
|
-
*/var Ph;function Fm(){if(Ph)return Da;Ph=1;var o=Jm(),i=xf(),f=$m();function s(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)e+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function v(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function O(t){var e=t,l=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(l=e.return),t=e.return;while(t)}return e.tag===3?l:null}function U(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function L(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function D(t){if(O(t)!==t)throw Error(s(188))}function M(t){var e=t.alternate;if(!e){if(e=O(t),e===null)throw Error(s(188));return e!==t?null:t}for(var l=t,n=e;;){var a=l.return;if(a===null)break;var u=a.alternate;if(u===null){if(n=a.return,n!==null){l=n;continue}break}if(a.child===u.child){for(u=a.child;u;){if(u===l)return D(a),t;if(u===n)return D(a),e;u=u.sibling}throw Error(s(188))}if(l.return!==n.return)l=a,n=u;else{for(var c=!1,r=a.child;r;){if(r===l){c=!0,l=a,n=u;break}if(r===n){c=!0,n=a,l=u;break}r=r.sibling}if(!c){for(r=u.child;r;){if(r===l){c=!0,l=u,n=a;break}if(r===n){c=!0,n=u,l=a;break}r=r.sibling}if(!c)throw Error(s(189))}}if(l.alternate!==n)throw Error(s(190))}if(l.tag!==3)throw Error(s(188));return l.stateNode.current===l?t:e}function j(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=j(t),e!==null)return e;t=t.sibling}return null}var H=Object.assign,lt=Symbol.for("react.element"),Wt=Symbol.for("react.transitional.element"),Lt=Symbol.for("react.portal"),Ht=Symbol.for("react.fragment"),qe=Symbol.for("react.strict_mode"),$t=Symbol.for("react.profiler"),tl=Symbol.for("react.consumer"),Bt=Symbol.for("react.context"),fe=Symbol.for("react.forward_ref"),ze=Symbol.for("react.suspense"),Xt=Symbol.for("react.suspense_list"),$=Symbol.for("react.memo"),Qt=Symbol.for("react.lazy"),Oe=Symbol.for("react.activity"),Jl=Symbol.for("react.memo_cache_sentinel"),Me=Symbol.iterator;function jt(t){return t===null||typeof t!="object"?null:(t=Me&&t[Me]||t["@@iterator"],typeof t=="function"?t:null)}var Ml=Symbol.for("react.client.reference");function He(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Ml?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Ht:return"Fragment";case $t:return"Profiler";case qe:return"StrictMode";case ze:return"Suspense";case Xt:return"SuspenseList";case Oe:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case Lt:return"Portal";case Bt:return t.displayName||"Context";case tl:return(t._context.displayName||"Context")+".Consumer";case fe:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case $:return e=t.displayName||null,e!==null?e:He(t.type)||"Memo";case Qt:e=t._payload,t=t._init;try{return He(t(e))}catch{}}return null}var be=Array.isArray,E=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R=f.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X={pending:!1,data:null,method:null,action:null},it=[],ot=-1;function y(t){return{current:t}}function z(t){0>ot||(t.current=it[ot],it[ot]=null,ot--)}function N(t,e){ot++,it[ot]=t.current,t.current=e}var B=y(null),G=y(null),K=y(null),nt=y(null);function Yt(t,e){switch(N(K,e),N(G,t),N(B,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?yh(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=yh(e),t=mh(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}z(B),N(B,t)}function gt(){z(B),z(G),z(K)}function qn(t){t.memoizedState!==null&&N(nt,t);var e=B.current,l=mh(e,t.type);e!==l&&(N(G,t),N(B,l))}function Ua(t){G.current===t&&(z(B),z(G)),nt.current===t&&(z(nt),Ta._currentValue=X)}var ni,Vf;function Dl(t){if(ni===void 0)try{throw Error()}catch(l){var e=l.stack.trim().match(/\n( *(at )?)/);ni=e&&e[1]||"",Vf=-1<l.stack.indexOf(`
|
|
42
|
-
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
|
-
`+ni+t+Vf}var ai=!1;function ui(t,e){if(!t||ai)return"";ai=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(e){var A=function(){throw Error()};if(Object.defineProperty(A.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(A,[])}catch(b){var S=b}Reflect.construct(t,[],A)}else{try{A.call()}catch(b){S=b}t.call(A.prototype)}}else{try{throw Error()}catch(b){S=b}(A=t())&&typeof A.catch=="function"&&A.catch(function(){})}}catch(b){if(b&&S&&typeof b.stack=="string")return[b.stack,S.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=n.DetermineComponentFrameRoot(),c=u[0],r=u[1];if(c&&r){var h=c.split(`
|
|
44
|
-
`),p=r.split(`
|
|
45
|
-
`);for(a=n=0;n<h.length&&!h[n].includes("DetermineComponentFrameRoot");)n++;for(;a<p.length&&!p[a].includes("DetermineComponentFrameRoot");)a++;if(n===h.length||a===p.length)for(n=h.length-1,a=p.length-1;1<=n&&0<=a&&h[n]!==p[a];)a--;for(;1<=n&&0<=a;n--,a--)if(h[n]!==p[a]){if(n!==1||a!==1)do if(n--,a--,0>a||h[n]!==p[a]){var _=`
|
|
46
|
-
`+h[n].replace(" at new "," at ");return t.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",t.displayName)),_}while(1<=n&&0<=a);break}}}finally{ai=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?Dl(l):""}function bd(t,e){switch(t.tag){case 26:case 27:case 5:return Dl(t.type);case 16:return Dl("Lazy");case 13:return t.child!==e&&e!==null?Dl("Suspense Fallback"):Dl("Suspense");case 19:return Dl("SuspenseList");case 0:case 15:return ui(t.type,!1);case 11:return ui(t.type.render,!1);case 1:return ui(t.type,!0);case 31:return Dl("Activity");default:return""}}function Zf(t){try{var e="",l=null;do e+=bd(t,l),l=t,t=t.return;while(t);return e}catch(n){return`
|
|
47
|
-
Error generating stack: `+n.message+`
|
|
48
|
-
`+n.stack}}var ii=Object.prototype.hasOwnProperty,ci=o.unstable_scheduleCallback,fi=o.unstable_cancelCallback,_d=o.unstable_shouldYield,Ed=o.unstable_requestPaint,Ft=o.unstable_now,Td=o.unstable_getCurrentPriorityLevel,Kf=o.unstable_ImmediatePriority,wf=o.unstable_UserBlockingPriority,Ca=o.unstable_NormalPriority,Ad=o.unstable_LowPriority,Jf=o.unstable_IdlePriority,zd=o.log,Od=o.unstable_setDisableYieldValue,Hn=null,It=null;function el(t){if(typeof zd=="function"&&Od(t),It&&typeof It.setStrictMode=="function")try{It.setStrictMode(Hn,t)}catch{}}var Pt=Math.clz32?Math.clz32:Rd,Md=Math.log,Dd=Math.LN2;function Rd(t){return t>>>=0,t===0?32:31-(Md(t)/Dd|0)|0}var Ba=256,qa=262144,Ha=4194304;function Rl(t){var e=t&42;if(e!==0)return e;switch(t&-t){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 t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Ya(t,e,l){var n=t.pendingLanes;if(n===0)return 0;var a=0,u=t.suspendedLanes,c=t.pingedLanes;t=t.warmLanes;var r=n&134217727;return r!==0?(n=r&~u,n!==0?a=Rl(n):(c&=r,c!==0?a=Rl(c):l||(l=r&~t,l!==0&&(a=Rl(l))))):(r=n&~u,r!==0?a=Rl(r):c!==0?a=Rl(c):l||(l=n&~t,l!==0&&(a=Rl(l)))),a===0?0:e!==0&&e!==a&&(e&u)===0&&(u=a&-a,l=e&-e,u>=l||u===32&&(l&4194048)!==0)?e:a}function Yn(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Nd(t,e){switch(t){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 kf(){var t=Ha;return Ha<<=1,(Ha&62914560)===0&&(Ha=4194304),t}function si(t){for(var e=[],l=0;31>l;l++)e.push(t);return e}function xn(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Ud(t,e,l,n,a,u){var c=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var r=t.entanglements,h=t.expirationTimes,p=t.hiddenUpdates;for(l=c&~l;0<l;){var _=31-Pt(l),A=1<<_;r[_]=0,h[_]=-1;var S=p[_];if(S!==null)for(p[_]=null,_=0;_<S.length;_++){var b=S[_];b!==null&&(b.lane&=-536870913)}l&=~A}n!==0&&Wf(t,n,0),u!==0&&a===0&&t.tag!==0&&(t.suspendedLanes|=u&~(c&~e))}function Wf(t,e,l){t.pendingLanes|=e,t.suspendedLanes&=~e;var n=31-Pt(e);t.entangledLanes|=e,t.entanglements[n]=t.entanglements[n]|1073741824|l&261930}function $f(t,e){var l=t.entangledLanes|=e;for(t=t.entanglements;l;){var n=31-Pt(l),a=1<<n;a&e|t[n]&e&&(t[n]|=e),l&=~a}}function Ff(t,e){var l=e&-e;return l=(l&42)!==0?1:oi(l),(l&(t.suspendedLanes|e))!==0?0:l}function oi(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function ri(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function If(){var t=R.p;return t!==0?t:(t=window.event,t===void 0?32:Lh(t.type))}function Pf(t,e){var l=R.p;try{return R.p=t,e()}finally{R.p=l}}var ll=Math.random().toString(36).slice(2),Dt="__reactFiber$"+ll,Gt="__reactProps$"+ll,kl="__reactContainer$"+ll,hi="__reactEvents$"+ll,Cd="__reactListeners$"+ll,Bd="__reactHandles$"+ll,ts="__reactResources$"+ll,Ln="__reactMarker$"+ll;function di(t){delete t[Dt],delete t[Gt],delete t[hi],delete t[Cd],delete t[Bd]}function Wl(t){var e=t[Dt];if(e)return e;for(var l=t.parentNode;l;){if(e=l[kl]||l[Dt]){if(l=e.alternate,e.child!==null||l!==null&&l.child!==null)for(t=Eh(t);t!==null;){if(l=t[Dt])return l;t=Eh(t)}return e}t=l,l=t.parentNode}return null}function $l(t){if(t=t[Dt]||t[kl]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function Xn(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(s(33))}function Fl(t){var e=t[ts];return e||(e=t[ts]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Ot(t){t[Ln]=!0}var es=new Set,ls={};function Nl(t,e){Il(t,e),Il(t+"Capture",e)}function Il(t,e){for(ls[t]=e,t=0;t<e.length;t++)es.add(e[t])}var qd=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]*$"),ns={},as={};function Hd(t){return ii.call(as,t)?!0:ii.call(ns,t)?!1:qd.test(t)?as[t]=!0:(ns[t]=!0,!1)}function xa(t,e,l){if(Hd(e))if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var n=e.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+l)}}function La(t,e,l){if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+l)}}function Ye(t,e,l,n){if(n===null)t.removeAttribute(l);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(e,l,""+n)}}function se(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function us(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Yd(t,e,l){var n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var a=n.get,u=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return a.call(this)},set:function(c){l=""+c,u.call(this,c)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return l},setValue:function(c){l=""+c},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function yi(t){if(!t._valueTracker){var e=us(t)?"checked":"value";t._valueTracker=Yd(t,e,""+t[e])}}function is(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),n="";return t&&(n=us(t)?t.checked?"true":"false":t.value),t=n,t!==l?(e.setValue(t),!0):!1}function Xa(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var xd=/[\n"\\]/g;function oe(t){return t.replace(xd,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function mi(t,e,l,n,a,u,c,r){t.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?t.type=c:t.removeAttribute("type"),e!=null?c==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+se(e)):t.value!==""+se(e)&&(t.value=""+se(e)):c!=="submit"&&c!=="reset"||t.removeAttribute("value"),e!=null?vi(t,c,se(e)):l!=null?vi(t,c,se(l)):n!=null&&t.removeAttribute("value"),a==null&&u!=null&&(t.defaultChecked=!!u),a!=null&&(t.checked=a&&typeof a!="function"&&typeof a!="symbol"),r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"?t.name=""+se(r):t.removeAttribute("name")}function cs(t,e,l,n,a,u,c,r){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.type=u),e!=null||l!=null){if(!(u!=="submit"&&u!=="reset"||e!=null)){yi(t);return}l=l!=null?""+se(l):"",e=e!=null?""+se(e):l,r||e===t.value||(t.value=e),t.defaultValue=e}n=n??a,n=typeof n!="function"&&typeof n!="symbol"&&!!n,t.checked=r?t.checked:!!n,t.defaultChecked=!!n,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(t.name=c),yi(t)}function vi(t,e,l){e==="number"&&Xa(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function Pl(t,e,l,n){if(t=t.options,e){e={};for(var a=0;a<l.length;a++)e["$"+l[a]]=!0;for(l=0;l<t.length;l++)a=e.hasOwnProperty("$"+t[l].value),t[l].selected!==a&&(t[l].selected=a),a&&n&&(t[l].defaultSelected=!0)}else{for(l=""+se(l),e=null,a=0;a<t.length;a++){if(t[a].value===l){t[a].selected=!0,n&&(t[a].defaultSelected=!0);return}e!==null||t[a].disabled||(e=t[a])}e!==null&&(e.selected=!0)}}function fs(t,e,l){if(e!=null&&(e=""+se(e),e!==t.value&&(t.value=e),l==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=l!=null?""+se(l):""}function ss(t,e,l,n){if(e==null){if(n!=null){if(l!=null)throw Error(s(92));if(be(n)){if(1<n.length)throw Error(s(93));n=n[0]}l=n}l==null&&(l=""),e=l}l=se(e),t.defaultValue=l,n=t.textContent,n===l&&n!==""&&n!==null&&(t.value=n),yi(t)}function tn(t,e){if(e){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=e;return}}t.textContent=e}var Ld=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 os(t,e,l){var n=e.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?n?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":n?t.setProperty(e,l):typeof l!="number"||l===0||Ld.has(e)?e==="float"?t.cssFloat=l:t[e]=(""+l).trim():t[e]=l+"px"}function rs(t,e,l){if(e!=null&&typeof e!="object")throw Error(s(62));if(t=t.style,l!=null){for(var n in l)!l.hasOwnProperty(n)||e!=null&&e.hasOwnProperty(n)||(n.indexOf("--")===0?t.setProperty(n,""):n==="float"?t.cssFloat="":t[n]="");for(var a in e)n=e[a],e.hasOwnProperty(a)&&l[a]!==n&&os(t,a,n)}else for(var u in e)e.hasOwnProperty(u)&&os(t,u,e[u])}function gi(t){if(t.indexOf("-")===-1)return!1;switch(t){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 Xd=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"]]),Qd=/^[\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 Qa(t){return Qd.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function xe(){}var pi=null;function Si(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var en=null,ln=null;function hs(t){var e=$l(t);if(e&&(t=e.stateNode)){var l=t[Gt]||null;t:switch(t=e.stateNode,e.type){case"input":if(mi(t,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),e=l.name,l.type==="radio"&&e!=null){for(l=t;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+oe(""+e)+'"][type="radio"]'),e=0;e<l.length;e++){var n=l[e];if(n!==t&&n.form===t.form){var a=n[Gt]||null;if(!a)throw Error(s(90));mi(n,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(e=0;e<l.length;e++)n=l[e],n.form===t.form&&is(n)}break t;case"textarea":fs(t,l.value,l.defaultValue);break t;case"select":e=l.value,e!=null&&Pl(t,!!l.multiple,e,!1)}}}var bi=!1;function ds(t,e,l){if(bi)return t(e,l);bi=!0;try{var n=t(e);return n}finally{if(bi=!1,(en!==null||ln!==null)&&(Mu(),en&&(e=en,t=ln,ln=en=null,hs(e),t)))for(e=0;e<t.length;e++)hs(t[e])}}function Qn(t,e){var l=t.stateNode;if(l===null)return null;var n=l[Gt]||null;if(n===null)return null;l=n[e];t:switch(e){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)||(t=t.type,n=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!n;break t;default:t=!1}if(t)return null;if(l&&typeof l!="function")throw Error(s(231,e,typeof l));return l}var Le=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_i=!1;if(Le)try{var jn={};Object.defineProperty(jn,"passive",{get:function(){_i=!0}}),window.addEventListener("test",jn,jn),window.removeEventListener("test",jn,jn)}catch{_i=!1}var nl=null,Ei=null,ja=null;function ys(){if(ja)return ja;var t,e=Ei,l=e.length,n,a="value"in nl?nl.value:nl.textContent,u=a.length;for(t=0;t<l&&e[t]===a[t];t++);var c=l-t;for(n=1;n<=c&&e[l-n]===a[u-n];n++);return ja=a.slice(t,1<n?1-n:void 0)}function Ga(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Va(){return!0}function ms(){return!1}function Vt(t){function e(l,n,a,u,c){this._reactName=l,this._targetInst=a,this.type=n,this.nativeEvent=u,this.target=c,this.currentTarget=null;for(var r in t)t.hasOwnProperty(r)&&(l=t[r],this[r]=l?l(u):u[r]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Va:ms,this.isPropagationStopped=ms,this}return H(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Va)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Va)},persist:function(){},isPersistent:Va}),e}var Ul={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Za=Vt(Ul),Gn=H({},Ul,{view:0,detail:0}),jd=Vt(Gn),Ti,Ai,Vn,Ka=H({},Gn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Oi,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Vn&&(Vn&&t.type==="mousemove"?(Ti=t.screenX-Vn.screenX,Ai=t.screenY-Vn.screenY):Ai=Ti=0,Vn=t),Ti)},movementY:function(t){return"movementY"in t?t.movementY:Ai}}),vs=Vt(Ka),Gd=H({},Ka,{dataTransfer:0}),Vd=Vt(Gd),Zd=H({},Gn,{relatedTarget:0}),zi=Vt(Zd),Kd=H({},Ul,{animationName:0,elapsedTime:0,pseudoElement:0}),wd=Vt(Kd),Jd=H({},Ul,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),kd=Vt(Jd),Wd=H({},Ul,{data:0}),gs=Vt(Wd),$d={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Fd={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"},Id={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pd(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=Id[t])?!!e[t]:!1}function Oi(){return Pd}var ty=H({},Gn,{key:function(t){if(t.key){var e=$d[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Ga(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Fd[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Oi,charCode:function(t){return t.type==="keypress"?Ga(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Ga(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),ey=Vt(ty),ly=H({},Ka,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ps=Vt(ly),ny=H({},Gn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Oi}),ay=Vt(ny),uy=H({},Ul,{propertyName:0,elapsedTime:0,pseudoElement:0}),iy=Vt(uy),cy=H({},Ka,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),fy=Vt(cy),sy=H({},Ul,{newState:0,oldState:0}),oy=Vt(sy),ry=[9,13,27,32],Mi=Le&&"CompositionEvent"in window,Zn=null;Le&&"documentMode"in document&&(Zn=document.documentMode);var hy=Le&&"TextEvent"in window&&!Zn,Ss=Le&&(!Mi||Zn&&8<Zn&&11>=Zn),bs=" ",_s=!1;function Es(t,e){switch(t){case"keyup":return ry.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ts(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var nn=!1;function dy(t,e){switch(t){case"compositionend":return Ts(e);case"keypress":return e.which!==32?null:(_s=!0,bs);case"textInput":return t=e.data,t===bs&&_s?null:t;default:return null}}function yy(t,e){if(nn)return t==="compositionend"||!Mi&&Es(t,e)?(t=ys(),ja=Ei=nl=null,nn=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return Ss&&e.locale!=="ko"?null:e.data;default:return null}}var my={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 As(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!my[t.type]:e==="textarea"}function zs(t,e,l,n){en?ln?ln.push(n):ln=[n]:en=n,e=qu(e,"onChange"),0<e.length&&(l=new Za("onChange","change",null,l,n),t.push({event:l,listeners:e}))}var Kn=null,wn=null;function vy(t){fh(t,0)}function wa(t){var e=Xn(t);if(is(e))return t}function Os(t,e){if(t==="change")return e}var Ms=!1;if(Le){var Di;if(Le){var Ri="oninput"in document;if(!Ri){var Ds=document.createElement("div");Ds.setAttribute("oninput","return;"),Ri=typeof Ds.oninput=="function"}Di=Ri}else Di=!1;Ms=Di&&(!document.documentMode||9<document.documentMode)}function Rs(){Kn&&(Kn.detachEvent("onpropertychange",Ns),wn=Kn=null)}function Ns(t){if(t.propertyName==="value"&&wa(wn)){var e=[];zs(e,wn,t,Si(t)),ds(vy,e)}}function gy(t,e,l){t==="focusin"?(Rs(),Kn=e,wn=l,Kn.attachEvent("onpropertychange",Ns)):t==="focusout"&&Rs()}function py(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return wa(wn)}function Sy(t,e){if(t==="click")return wa(e)}function by(t,e){if(t==="input"||t==="change")return wa(e)}function _y(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var te=typeof Object.is=="function"?Object.is:_y;function Jn(t,e){if(te(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var l=Object.keys(t),n=Object.keys(e);if(l.length!==n.length)return!1;for(n=0;n<l.length;n++){var a=l[n];if(!ii.call(e,a)||!te(t[a],e[a]))return!1}return!0}function Us(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Cs(t,e){var l=Us(t);t=0;for(var n;l;){if(l.nodeType===3){if(n=t+l.textContent.length,t<=e&&n>=e)return{node:l,offset:e-t};t=n}t:{for(;l;){if(l.nextSibling){l=l.nextSibling;break t}l=l.parentNode}l=void 0}l=Us(l)}}function Bs(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?Bs(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function qs(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=Xa(t.document);e instanceof t.HTMLIFrameElement;){try{var l=typeof e.contentWindow.location.href=="string"}catch{l=!1}if(l)t=e.contentWindow;else break;e=Xa(t.document)}return e}function Ni(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var Ey=Le&&"documentMode"in document&&11>=document.documentMode,an=null,Ui=null,kn=null,Ci=!1;function Hs(t,e,l){var n=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Ci||an==null||an!==Xa(n)||(n=an,"selectionStart"in n&&Ni(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}),kn&&Jn(kn,n)||(kn=n,n=qu(Ui,"onSelect"),0<n.length&&(e=new Za("onSelect","select",null,e,l),t.push({event:e,listeners:n}),e.target=an)))}function Cl(t,e){var l={};return l[t.toLowerCase()]=e.toLowerCase(),l["Webkit"+t]="webkit"+e,l["Moz"+t]="moz"+e,l}var un={animationend:Cl("Animation","AnimationEnd"),animationiteration:Cl("Animation","AnimationIteration"),animationstart:Cl("Animation","AnimationStart"),transitionrun:Cl("Transition","TransitionRun"),transitionstart:Cl("Transition","TransitionStart"),transitioncancel:Cl("Transition","TransitionCancel"),transitionend:Cl("Transition","TransitionEnd")},Bi={},Ys={};Le&&(Ys=document.createElement("div").style,"AnimationEvent"in window||(delete un.animationend.animation,delete un.animationiteration.animation,delete un.animationstart.animation),"TransitionEvent"in window||delete un.transitionend.transition);function Bl(t){if(Bi[t])return Bi[t];if(!un[t])return t;var e=un[t],l;for(l in e)if(e.hasOwnProperty(l)&&l in Ys)return Bi[t]=e[l];return t}var xs=Bl("animationend"),Ls=Bl("animationiteration"),Xs=Bl("animationstart"),Ty=Bl("transitionrun"),Ay=Bl("transitionstart"),zy=Bl("transitioncancel"),Qs=Bl("transitionend"),js=new Map,qi="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(" ");qi.push("scrollEnd");function _e(t,e){js.set(t,e),Nl(e,[t])}var Ja=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},re=[],cn=0,Hi=0;function ka(){for(var t=cn,e=Hi=cn=0;e<t;){var l=re[e];re[e++]=null;var n=re[e];re[e++]=null;var a=re[e];re[e++]=null;var u=re[e];if(re[e++]=null,n!==null&&a!==null){var c=n.pending;c===null?a.next=a:(a.next=c.next,c.next=a),n.pending=a}u!==0&&Gs(l,a,u)}}function Wa(t,e,l,n){re[cn++]=t,re[cn++]=e,re[cn++]=l,re[cn++]=n,Hi|=n,t.lanes|=n,t=t.alternate,t!==null&&(t.lanes|=n)}function Yi(t,e,l,n){return Wa(t,e,l,n),$a(t)}function ql(t,e){return Wa(t,null,null,e),$a(t)}function Gs(t,e,l){t.lanes|=l;var n=t.alternate;n!==null&&(n.lanes|=l);for(var a=!1,u=t.return;u!==null;)u.childLanes|=l,n=u.alternate,n!==null&&(n.childLanes|=l),u.tag===22&&(t=u.stateNode,t===null||t._visibility&1||(a=!0)),t=u,u=u.return;return t.tag===3?(u=t.stateNode,a&&e!==null&&(a=31-Pt(l),t=u.hiddenUpdates,n=t[a],n===null?t[a]=[e]:n.push(e),e.lane=l|536870912),u):null}function $a(t){if(50<va)throw va=0,Kc=null,Error(s(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var fn={};function Oy(t,e,l,n){this.tag=t,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=e,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 ee(t,e,l,n){return new Oy(t,e,l,n)}function xi(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Xe(t,e){var l=t.alternate;return l===null?(l=ee(t.tag,e,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l.alternate=t,t.alternate=l):(l.pendingProps=e,l.type=t.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=t.flags&65011712,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,e=t.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l.refCleanup=t.refCleanup,l}function Vs(t,e){t.flags&=65011714;var l=t.alternate;return l===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,t.type=l.type,e=l.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function Fa(t,e,l,n,a,u){var c=0;if(n=t,typeof t=="function")xi(t)&&(c=1);else if(typeof t=="string")c=Um(t,l,B.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case Oe:return t=ee(31,l,e,a),t.elementType=Oe,t.lanes=u,t;case Ht:return Hl(l.children,a,u,e);case qe:c=8,a|=24;break;case $t:return t=ee(12,l,e,a|2),t.elementType=$t,t.lanes=u,t;case ze:return t=ee(13,l,e,a),t.elementType=ze,t.lanes=u,t;case Xt:return t=ee(19,l,e,a),t.elementType=Xt,t.lanes=u,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Bt:c=10;break t;case tl:c=9;break t;case fe:c=11;break t;case $:c=14;break t;case Qt:c=16,n=null;break t}c=29,l=Error(s(130,t===null?"null":typeof t,"")),n=null}return e=ee(c,l,e,a),e.elementType=t,e.type=n,e.lanes=u,e}function Hl(t,e,l,n){return t=ee(7,t,n,e),t.lanes=l,t}function Li(t,e,l){return t=ee(6,t,null,e),t.lanes=l,t}function Zs(t){var e=ee(18,null,null,0);return e.stateNode=t,e}function Xi(t,e,l){return e=ee(4,t.children!==null?t.children:[],t.key,e),e.lanes=l,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var Ks=new WeakMap;function he(t,e){if(typeof t=="object"&&t!==null){var l=Ks.get(t);return l!==void 0?l:(e={value:t,source:e,stack:Zf(e)},Ks.set(t,e),e)}return{value:t,source:e,stack:Zf(e)}}var sn=[],on=0,Ia=null,Wn=0,de=[],ye=0,al=null,De=1,Re="";function Qe(t,e){sn[on++]=Wn,sn[on++]=Ia,Ia=t,Wn=e}function ws(t,e,l){de[ye++]=De,de[ye++]=Re,de[ye++]=al,al=t;var n=De;t=Re;var a=32-Pt(n)-1;n&=~(1<<a),l+=1;var u=32-Pt(e)+a;if(30<u){var c=a-a%5;u=(n&(1<<c)-1).toString(32),n>>=c,a-=c,De=1<<32-Pt(e)+a|l<<a|n,Re=u+t}else De=1<<u|l<<a|n,Re=t}function Qi(t){t.return!==null&&(Qe(t,1),ws(t,1,0))}function ji(t){for(;t===Ia;)Ia=sn[--on],sn[on]=null,Wn=sn[--on],sn[on]=null;for(;t===al;)al=de[--ye],de[ye]=null,Re=de[--ye],de[ye]=null,De=de[--ye],de[ye]=null}function Js(t,e){de[ye++]=De,de[ye++]=Re,de[ye++]=al,De=e.id,Re=e.overflow,al=t}var Rt=null,ht=null,F=!1,ul=null,me=!1,Gi=Error(s(519));function il(t){var e=Error(s(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw $n(he(e,t)),Gi}function ks(t){var e=t.stateNode,l=t.type,n=t.memoizedProps;switch(e[Dt]=t,e[Gt]=n,l){case"dialog":J("cancel",e),J("close",e);break;case"iframe":case"object":case"embed":J("load",e);break;case"video":case"audio":for(l=0;l<pa.length;l++)J(pa[l],e);break;case"source":J("error",e);break;case"img":case"image":case"link":J("error",e),J("load",e);break;case"details":J("toggle",e);break;case"input":J("invalid",e),cs(e,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"select":J("invalid",e);break;case"textarea":J("invalid",e),ss(e,n.value,n.defaultValue,n.children)}l=n.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||e.textContent===""+l||n.suppressHydrationWarning===!0||hh(e.textContent,l)?(n.popover!=null&&(J("beforetoggle",e),J("toggle",e)),n.onScroll!=null&&J("scroll",e),n.onScrollEnd!=null&&J("scrollend",e),n.onClick!=null&&(e.onclick=xe),e=!0):e=!1,e||il(t,!0)}function Ws(t){for(Rt=t.return;Rt;)switch(Rt.tag){case 5:case 31:case 13:me=!1;return;case 27:case 3:me=!0;return;default:Rt=Rt.return}}function rn(t){if(t!==Rt)return!1;if(!F)return Ws(t),F=!0,!1;var e=t.tag,l;if((l=e!==3&&e!==27)&&((l=e===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||cf(t.type,t.memoizedProps)),l=!l),l&&ht&&il(t),Ws(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(317));ht=_h(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(317));ht=_h(t)}else e===27?(e=ht,bl(t.type)?(t=hf,hf=null,ht=t):ht=e):ht=Rt?ge(t.stateNode.nextSibling):null;return!0}function Yl(){ht=Rt=null,F=!1}function Vi(){var t=ul;return t!==null&&(Jt===null?Jt=t:Jt.push.apply(Jt,t),ul=null),t}function $n(t){ul===null?ul=[t]:ul.push(t)}var Zi=y(null),xl=null,je=null;function cl(t,e,l){N(Zi,e._currentValue),e._currentValue=l}function Ge(t){t._currentValue=Zi.current,z(Zi)}function Ki(t,e,l){for(;t!==null;){var n=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,n!==null&&(n.childLanes|=e)):n!==null&&(n.childLanes&e)!==e&&(n.childLanes|=e),t===l)break;t=t.return}}function wi(t,e,l,n){var a=t.child;for(a!==null&&(a.return=t);a!==null;){var u=a.dependencies;if(u!==null){var c=a.child;u=u.firstContext;t:for(;u!==null;){var r=u;u=a;for(var h=0;h<e.length;h++)if(r.context===e[h]){u.lanes|=l,r=u.alternate,r!==null&&(r.lanes|=l),Ki(u.return,l,t),n||(c=null);break t}u=r.next}}else if(a.tag===18){if(c=a.return,c===null)throw Error(s(341));c.lanes|=l,u=c.alternate,u!==null&&(u.lanes|=l),Ki(c,l,t),c=null}else c=a.child;if(c!==null)c.return=a;else for(c=a;c!==null;){if(c===t){c=null;break}if(a=c.sibling,a!==null){a.return=c.return,c=a;break}c=c.return}a=c}}function hn(t,e,l,n){t=null;for(var a=e,u=!1;a!==null;){if(!u){if((a.flags&524288)!==0)u=!0;else if((a.flags&262144)!==0)break}if(a.tag===10){var c=a.alternate;if(c===null)throw Error(s(387));if(c=c.memoizedProps,c!==null){var r=a.type;te(a.pendingProps.value,c.value)||(t!==null?t.push(r):t=[r])}}else if(a===nt.current){if(c=a.alternate,c===null)throw Error(s(387));c.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(t!==null?t.push(Ta):t=[Ta])}a=a.return}t!==null&&wi(e,t,l,n),e.flags|=262144}function Pa(t){for(t=t.firstContext;t!==null;){if(!te(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Ll(t){xl=t,je=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Nt(t){return $s(xl,t)}function tu(t,e){return xl===null&&Ll(t),$s(t,e)}function $s(t,e){var l=e._currentValue;if(e={context:e,memoizedValue:l,next:null},je===null){if(t===null)throw Error(s(308));je=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else je=je.next=e;return l}var My=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(l,n){t.push(n)}};this.abort=function(){e.aborted=!0,t.forEach(function(l){return l()})}},Dy=o.unstable_scheduleCallback,Ry=o.unstable_NormalPriority,bt={$$typeof:Bt,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ji(){return{controller:new My,data:new Map,refCount:0}}function Fn(t){t.refCount--,t.refCount===0&&Dy(Ry,function(){t.controller.abort()})}var In=null,ki=0,dn=0,yn=null;function Ny(t,e){if(In===null){var l=In=[];ki=0,dn=Fc(),yn={status:"pending",value:void 0,then:function(n){l.push(n)}}}return ki++,e.then(Fs,Fs),e}function Fs(){if(--ki===0&&In!==null){yn!==null&&(yn.status="fulfilled");var t=In;In=null,dn=0,yn=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Uy(t,e){var l=[],n={status:"pending",value:null,reason:null,then:function(a){l.push(a)}};return t.then(function(){n.status="fulfilled",n.value=e;for(var a=0;a<l.length;a++)(0,l[a])(e)},function(a){for(n.status="rejected",n.reason=a,a=0;a<l.length;a++)(0,l[a])(void 0)}),n}var Is=E.S;E.S=function(t,e){Yr=Ft(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&Ny(t,e),Is!==null&&Is(t,e)};var Xl=y(null);function Wi(){var t=Xl.current;return t!==null?t:rt.pooledCache}function eu(t,e){e===null?N(Xl,Xl.current):N(Xl,e.pool)}function Ps(){var t=Wi();return t===null?null:{parent:bt._currentValue,pool:t}}var mn=Error(s(460)),$i=Error(s(474)),lu=Error(s(542)),nu={then:function(){}};function to(t){return t=t.status,t==="fulfilled"||t==="rejected"}function eo(t,e,l){switch(l=t[l],l===void 0?t.push(e):l!==e&&(e.then(xe,xe),e=l),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,no(t),t;default:if(typeof e.status=="string")e.then(xe,xe);else{if(t=rt,t!==null&&100<t.shellSuspendCounter)throw Error(s(482));t=e,t.status="pending",t.then(function(n){if(e.status==="pending"){var a=e;a.status="fulfilled",a.value=n}},function(n){if(e.status==="pending"){var a=e;a.status="rejected",a.reason=n}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,no(t),t}throw jl=e,mn}}function Ql(t){try{var e=t._init;return e(t._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(jl=l,mn):l}}var jl=null;function lo(){if(jl===null)throw Error(s(459));var t=jl;return jl=null,t}function no(t){if(t===mn||t===lu)throw Error(s(483))}var vn=null,Pn=0;function au(t){var e=Pn;return Pn+=1,vn===null&&(vn=[]),eo(vn,t,e)}function ta(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function uu(t,e){throw e.$$typeof===lt?Error(s(525)):(t=Object.prototype.toString.call(e),Error(s(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function ao(t){function e(m,d){if(t){var g=m.deletions;g===null?(m.deletions=[d],m.flags|=16):g.push(d)}}function l(m,d){if(!t)return null;for(;d!==null;)e(m,d),d=d.sibling;return null}function n(m){for(var d=new Map;m!==null;)m.key!==null?d.set(m.key,m):d.set(m.index,m),m=m.sibling;return d}function a(m,d){return m=Xe(m,d),m.index=0,m.sibling=null,m}function u(m,d,g){return m.index=g,t?(g=m.alternate,g!==null?(g=g.index,g<d?(m.flags|=67108866,d):g):(m.flags|=67108866,d)):(m.flags|=1048576,d)}function c(m){return t&&m.alternate===null&&(m.flags|=67108866),m}function r(m,d,g,T){return d===null||d.tag!==6?(d=Li(g,m.mode,T),d.return=m,d):(d=a(d,g),d.return=m,d)}function h(m,d,g,T){var Y=g.type;return Y===Ht?_(m,d,g.props.children,T,g.key):d!==null&&(d.elementType===Y||typeof Y=="object"&&Y!==null&&Y.$$typeof===Qt&&Ql(Y)===d.type)?(d=a(d,g.props),ta(d,g),d.return=m,d):(d=Fa(g.type,g.key,g.props,null,m.mode,T),ta(d,g),d.return=m,d)}function p(m,d,g,T){return d===null||d.tag!==4||d.stateNode.containerInfo!==g.containerInfo||d.stateNode.implementation!==g.implementation?(d=Xi(g,m.mode,T),d.return=m,d):(d=a(d,g.children||[]),d.return=m,d)}function _(m,d,g,T,Y){return d===null||d.tag!==7?(d=Hl(g,m.mode,T,Y),d.return=m,d):(d=a(d,g),d.return=m,d)}function A(m,d,g){if(typeof d=="string"&&d!==""||typeof d=="number"||typeof d=="bigint")return d=Li(""+d,m.mode,g),d.return=m,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case Wt:return g=Fa(d.type,d.key,d.props,null,m.mode,g),ta(g,d),g.return=m,g;case Lt:return d=Xi(d,m.mode,g),d.return=m,d;case Qt:return d=Ql(d),A(m,d,g)}if(be(d)||jt(d))return d=Hl(d,m.mode,g,null),d.return=m,d;if(typeof d.then=="function")return A(m,au(d),g);if(d.$$typeof===Bt)return A(m,tu(m,d),g);uu(m,d)}return null}function S(m,d,g,T){var Y=d!==null?d.key:null;if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return Y!==null?null:r(m,d,""+g,T);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Wt:return g.key===Y?h(m,d,g,T):null;case Lt:return g.key===Y?p(m,d,g,T):null;case Qt:return g=Ql(g),S(m,d,g,T)}if(be(g)||jt(g))return Y!==null?null:_(m,d,g,T,null);if(typeof g.then=="function")return S(m,d,au(g),T);if(g.$$typeof===Bt)return S(m,d,tu(m,g),T);uu(m,g)}return null}function b(m,d,g,T,Y){if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return m=m.get(g)||null,r(d,m,""+T,Y);if(typeof T=="object"&&T!==null){switch(T.$$typeof){case Wt:return m=m.get(T.key===null?g:T.key)||null,h(d,m,T,Y);case Lt:return m=m.get(T.key===null?g:T.key)||null,p(d,m,T,Y);case Qt:return T=Ql(T),b(m,d,g,T,Y)}if(be(T)||jt(T))return m=m.get(g)||null,_(d,m,T,Y,null);if(typeof T.then=="function")return b(m,d,g,au(T),Y);if(T.$$typeof===Bt)return b(m,d,g,tu(d,T),Y);uu(d,T)}return null}function C(m,d,g,T){for(var Y=null,P=null,q=d,Z=d=0,W=null;q!==null&&Z<g.length;Z++){q.index>Z?(W=q,q=null):W=q.sibling;var tt=S(m,q,g[Z],T);if(tt===null){q===null&&(q=W);break}t&&q&&tt.alternate===null&&e(m,q),d=u(tt,d,Z),P===null?Y=tt:P.sibling=tt,P=tt,q=W}if(Z===g.length)return l(m,q),F&&Qe(m,Z),Y;if(q===null){for(;Z<g.length;Z++)q=A(m,g[Z],T),q!==null&&(d=u(q,d,Z),P===null?Y=q:P.sibling=q,P=q);return F&&Qe(m,Z),Y}for(q=n(q);Z<g.length;Z++)W=b(q,m,Z,g[Z],T),W!==null&&(t&&W.alternate!==null&&q.delete(W.key===null?Z:W.key),d=u(W,d,Z),P===null?Y=W:P.sibling=W,P=W);return t&&q.forEach(function(zl){return e(m,zl)}),F&&Qe(m,Z),Y}function x(m,d,g,T){if(g==null)throw Error(s(151));for(var Y=null,P=null,q=d,Z=d=0,W=null,tt=g.next();q!==null&&!tt.done;Z++,tt=g.next()){q.index>Z?(W=q,q=null):W=q.sibling;var zl=S(m,q,tt.value,T);if(zl===null){q===null&&(q=W);break}t&&q&&zl.alternate===null&&e(m,q),d=u(zl,d,Z),P===null?Y=zl:P.sibling=zl,P=zl,q=W}if(tt.done)return l(m,q),F&&Qe(m,Z),Y;if(q===null){for(;!tt.done;Z++,tt=g.next())tt=A(m,tt.value,T),tt!==null&&(d=u(tt,d,Z),P===null?Y=tt:P.sibling=tt,P=tt);return F&&Qe(m,Z),Y}for(q=n(q);!tt.done;Z++,tt=g.next())tt=b(q,m,Z,tt.value,T),tt!==null&&(t&&tt.alternate!==null&&q.delete(tt.key===null?Z:tt.key),d=u(tt,d,Z),P===null?Y=tt:P.sibling=tt,P=tt);return t&&q.forEach(function(Gm){return e(m,Gm)}),F&&Qe(m,Z),Y}function st(m,d,g,T){if(typeof g=="object"&&g!==null&&g.type===Ht&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case Wt:t:{for(var Y=g.key;d!==null;){if(d.key===Y){if(Y=g.type,Y===Ht){if(d.tag===7){l(m,d.sibling),T=a(d,g.props.children),T.return=m,m=T;break t}}else if(d.elementType===Y||typeof Y=="object"&&Y!==null&&Y.$$typeof===Qt&&Ql(Y)===d.type){l(m,d.sibling),T=a(d,g.props),ta(T,g),T.return=m,m=T;break t}l(m,d);break}else e(m,d);d=d.sibling}g.type===Ht?(T=Hl(g.props.children,m.mode,T,g.key),T.return=m,m=T):(T=Fa(g.type,g.key,g.props,null,m.mode,T),ta(T,g),T.return=m,m=T)}return c(m);case Lt:t:{for(Y=g.key;d!==null;){if(d.key===Y)if(d.tag===4&&d.stateNode.containerInfo===g.containerInfo&&d.stateNode.implementation===g.implementation){l(m,d.sibling),T=a(d,g.children||[]),T.return=m,m=T;break t}else{l(m,d);break}else e(m,d);d=d.sibling}T=Xi(g,m.mode,T),T.return=m,m=T}return c(m);case Qt:return g=Ql(g),st(m,d,g,T)}if(be(g))return C(m,d,g,T);if(jt(g)){if(Y=jt(g),typeof Y!="function")throw Error(s(150));return g=Y.call(g),x(m,d,g,T)}if(typeof g.then=="function")return st(m,d,au(g),T);if(g.$$typeof===Bt)return st(m,d,tu(m,g),T);uu(m,g)}return typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint"?(g=""+g,d!==null&&d.tag===6?(l(m,d.sibling),T=a(d,g),T.return=m,m=T):(l(m,d),T=Li(g,m.mode,T),T.return=m,m=T),c(m)):l(m,d)}return function(m,d,g,T){try{Pn=0;var Y=st(m,d,g,T);return vn=null,Y}catch(q){if(q===mn||q===lu)throw q;var P=ee(29,q,null,m.mode);return P.lanes=T,P.return=m,P}finally{}}}var Gl=ao(!0),uo=ao(!1),fl=!1;function Fi(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ii(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function sl(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function ol(t,e,l){var n=t.updateQueue;if(n===null)return null;if(n=n.shared,(et&2)!==0){var a=n.pending;return a===null?e.next=e:(e.next=a.next,a.next=e),n.pending=e,e=$a(t),Gs(t,null,l),e}return Wa(t,n,e,l),$a(t)}function ea(t,e,l){if(e=e.updateQueue,e!==null&&(e=e.shared,(l&4194048)!==0)){var n=e.lanes;n&=t.pendingLanes,l|=n,e.lanes=l,$f(t,l)}}function Pi(t,e){var l=t.updateQueue,n=t.alternate;if(n!==null&&(n=n.updateQueue,l===n)){var a=null,u=null;if(l=l.firstBaseUpdate,l!==null){do{var c={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};u===null?a=u=c:u=u.next=c,l=l.next}while(l!==null);u===null?a=u=e:u=u.next=e}else a=u=e;l={baseState:n.baseState,firstBaseUpdate:a,lastBaseUpdate:u,shared:n.shared,callbacks:n.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=e:t.next=e,l.lastBaseUpdate=e}var tc=!1;function la(){if(tc){var t=yn;if(t!==null)throw t}}function na(t,e,l,n){tc=!1;var a=t.updateQueue;fl=!1;var u=a.firstBaseUpdate,c=a.lastBaseUpdate,r=a.shared.pending;if(r!==null){a.shared.pending=null;var h=r,p=h.next;h.next=null,c===null?u=p:c.next=p,c=h;var _=t.alternate;_!==null&&(_=_.updateQueue,r=_.lastBaseUpdate,r!==c&&(r===null?_.firstBaseUpdate=p:r.next=p,_.lastBaseUpdate=h))}if(u!==null){var A=a.baseState;c=0,_=p=h=null,r=u;do{var S=r.lane&-536870913,b=S!==r.lane;if(b?(k&S)===S:(n&S)===S){S!==0&&S===dn&&(tc=!0),_!==null&&(_=_.next={lane:0,tag:r.tag,payload:r.payload,callback:null,next:null});t:{var C=t,x=r;S=e;var st=l;switch(x.tag){case 1:if(C=x.payload,typeof C=="function"){A=C.call(st,A,S);break t}A=C;break t;case 3:C.flags=C.flags&-65537|128;case 0:if(C=x.payload,S=typeof C=="function"?C.call(st,A,S):C,S==null)break t;A=H({},A,S);break t;case 2:fl=!0}}S=r.callback,S!==null&&(t.flags|=64,b&&(t.flags|=8192),b=a.callbacks,b===null?a.callbacks=[S]:b.push(S))}else b={lane:S,tag:r.tag,payload:r.payload,callback:r.callback,next:null},_===null?(p=_=b,h=A):_=_.next=b,c|=S;if(r=r.next,r===null){if(r=a.shared.pending,r===null)break;b=r,r=b.next,b.next=null,a.lastBaseUpdate=b,a.shared.pending=null}}while(!0);_===null&&(h=A),a.baseState=h,a.firstBaseUpdate=p,a.lastBaseUpdate=_,u===null&&(a.shared.lanes=0),ml|=c,t.lanes=c,t.memoizedState=A}}function io(t,e){if(typeof t!="function")throw Error(s(191,t));t.call(e)}function co(t,e){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)io(l[t],e)}var gn=y(null),iu=y(0);function fo(t,e){t=Fe,N(iu,t),N(gn,e),Fe=t|e.baseLanes}function ec(){N(iu,Fe),N(gn,gn.current)}function lc(){Fe=iu.current,z(gn),z(iu)}var le=y(null),ve=null;function rl(t){var e=t.alternate;N(pt,pt.current&1),N(le,t),ve===null&&(e===null||gn.current!==null||e.memoizedState!==null)&&(ve=t)}function nc(t){N(pt,pt.current),N(le,t),ve===null&&(ve=t)}function so(t){t.tag===22?(N(pt,pt.current),N(le,t),ve===null&&(ve=t)):hl()}function hl(){N(pt,pt.current),N(le,le.current)}function ne(t){z(le),ve===t&&(ve=null),z(pt)}var pt=y(0);function cu(t){for(var e=t;e!==null;){if(e.tag===13){var l=e.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||of(l)||rf(l)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Ve=0,V=null,ct=null,_t=null,fu=!1,pn=!1,Vl=!1,su=0,aa=0,Sn=null,Cy=0;function mt(){throw Error(s(321))}function ac(t,e){if(e===null)return!1;for(var l=0;l<e.length&&l<t.length;l++)if(!te(t[l],e[l]))return!1;return!0}function uc(t,e,l,n,a,u){return Ve=u,V=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,E.H=t===null||t.memoizedState===null?Jo:bc,Vl=!1,u=l(n,a),Vl=!1,pn&&(u=ro(e,l,n,a)),oo(t),u}function oo(t){E.H=ca;var e=ct!==null&&ct.next!==null;if(Ve=0,_t=ct=V=null,fu=!1,aa=0,Sn=null,e)throw Error(s(300));t===null||Et||(t=t.dependencies,t!==null&&Pa(t)&&(Et=!0))}function ro(t,e,l,n){V=t;var a=0;do{if(pn&&(Sn=null),aa=0,pn=!1,25<=a)throw Error(s(301));if(a+=1,_t=ct=null,t.updateQueue!=null){var u=t.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}E.H=ko,u=e(l,n)}while(pn);return u}function By(){var t=E.H,e=t.useState()[0];return e=typeof e.then=="function"?ua(e):e,t=t.useState()[0],(ct!==null?ct.memoizedState:null)!==t&&(V.flags|=1024),e}function ic(){var t=su!==0;return su=0,t}function cc(t,e,l){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~l}function fc(t){if(fu){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}fu=!1}Ve=0,_t=ct=V=null,pn=!1,aa=su=0,Sn=null}function xt(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return _t===null?V.memoizedState=_t=t:_t=_t.next=t,_t}function St(){if(ct===null){var t=V.alternate;t=t!==null?t.memoizedState:null}else t=ct.next;var e=_t===null?V.memoizedState:_t.next;if(e!==null)_t=e,ct=t;else{if(t===null)throw V.alternate===null?Error(s(467)):Error(s(310));ct=t,t={memoizedState:ct.memoizedState,baseState:ct.baseState,baseQueue:ct.baseQueue,queue:ct.queue,next:null},_t===null?V.memoizedState=_t=t:_t=_t.next=t}return _t}function ou(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ua(t){var e=aa;return aa+=1,Sn===null&&(Sn=[]),t=eo(Sn,t,e),e=V,(_t===null?e.memoizedState:_t.next)===null&&(e=e.alternate,E.H=e===null||e.memoizedState===null?Jo:bc),t}function ru(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return ua(t);if(t.$$typeof===Bt)return Nt(t)}throw Error(s(438,String(t)))}function sc(t){var e=null,l=V.updateQueue;if(l!==null&&(e=l.memoCache),e==null){var n=V.alternate;n!==null&&(n=n.updateQueue,n!==null&&(n=n.memoCache,n!=null&&(e={data:n.data.map(function(a){return a.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),l===null&&(l=ou(),V.updateQueue=l),l.memoCache=e,l=e.data[e.index],l===void 0)for(l=e.data[e.index]=Array(t),n=0;n<t;n++)l[n]=Jl;return e.index++,l}function Ze(t,e){return typeof e=="function"?e(t):e}function hu(t){var e=St();return oc(e,ct,t)}function oc(t,e,l){var n=t.queue;if(n===null)throw Error(s(311));n.lastRenderedReducer=l;var a=t.baseQueue,u=n.pending;if(u!==null){if(a!==null){var c=a.next;a.next=u.next,u.next=c}e.baseQueue=a=u,n.pending=null}if(u=t.baseState,a===null)t.memoizedState=u;else{e=a.next;var r=c=null,h=null,p=e,_=!1;do{var A=p.lane&-536870913;if(A!==p.lane?(k&A)===A:(Ve&A)===A){var S=p.revertLane;if(S===0)h!==null&&(h=h.next={lane:0,revertLane:0,gesture:null,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null}),A===dn&&(_=!0);else if((Ve&S)===S){p=p.next,S===dn&&(_=!0);continue}else A={lane:0,revertLane:p.revertLane,gesture:null,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null},h===null?(r=h=A,c=u):h=h.next=A,V.lanes|=S,ml|=S;A=p.action,Vl&&l(u,A),u=p.hasEagerState?p.eagerState:l(u,A)}else S={lane:A,revertLane:p.revertLane,gesture:p.gesture,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null},h===null?(r=h=S,c=u):h=h.next=S,V.lanes|=A,ml|=A;p=p.next}while(p!==null&&p!==e);if(h===null?c=u:h.next=r,!te(u,t.memoizedState)&&(Et=!0,_&&(l=yn,l!==null)))throw l;t.memoizedState=u,t.baseState=c,t.baseQueue=h,n.lastRenderedState=u}return a===null&&(n.lanes=0),[t.memoizedState,n.dispatch]}function rc(t){var e=St(),l=e.queue;if(l===null)throw Error(s(311));l.lastRenderedReducer=t;var n=l.dispatch,a=l.pending,u=e.memoizedState;if(a!==null){l.pending=null;var c=a=a.next;do u=t(u,c.action),c=c.next;while(c!==a);te(u,e.memoizedState)||(Et=!0),e.memoizedState=u,e.baseQueue===null&&(e.baseState=u),l.lastRenderedState=u}return[u,n]}function ho(t,e,l){var n=V,a=St(),u=F;if(u){if(l===void 0)throw Error(s(407));l=l()}else l=e();var c=!te((ct||a).memoizedState,l);if(c&&(a.memoizedState=l,Et=!0),a=a.queue,yc(vo.bind(null,n,a,t),[t]),a.getSnapshot!==e||c||_t!==null&&_t.memoizedState.tag&1){if(n.flags|=2048,bn(9,{destroy:void 0},mo.bind(null,n,a,l,e),null),rt===null)throw Error(s(349));u||(Ve&127)!==0||yo(n,e,l)}return l}function yo(t,e,l){t.flags|=16384,t={getSnapshot:e,value:l},e=V.updateQueue,e===null?(e=ou(),V.updateQueue=e,e.stores=[t]):(l=e.stores,l===null?e.stores=[t]:l.push(t))}function mo(t,e,l,n){e.value=l,e.getSnapshot=n,go(e)&&po(t)}function vo(t,e,l){return l(function(){go(e)&&po(t)})}function go(t){var e=t.getSnapshot;t=t.value;try{var l=e();return!te(t,l)}catch{return!0}}function po(t){var e=ql(t,2);e!==null&&kt(e,t,2)}function hc(t){var e=xt();if(typeof t=="function"){var l=t;if(t=l(),Vl){el(!0);try{l()}finally{el(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ze,lastRenderedState:t},e}function So(t,e,l,n){return t.baseState=l,oc(t,ct,typeof n=="function"?n:Ze)}function qy(t,e,l,n,a){if(mu(t))throw Error(s(485));if(t=e.action,t!==null){var u={payload:a,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){u.listeners.push(c)}};E.T!==null?l(!0):u.isTransition=!1,n(u),l=e.pending,l===null?(u.next=e.pending=u,bo(e,u)):(u.next=l.next,e.pending=l.next=u)}}function bo(t,e){var l=e.action,n=e.payload,a=t.state;if(e.isTransition){var u=E.T,c={};E.T=c;try{var r=l(a,n),h=E.S;h!==null&&h(c,r),_o(t,e,r)}catch(p){dc(t,e,p)}finally{u!==null&&c.types!==null&&(u.types=c.types),E.T=u}}else try{u=l(a,n),_o(t,e,u)}catch(p){dc(t,e,p)}}function _o(t,e,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(n){Eo(t,e,n)},function(n){return dc(t,e,n)}):Eo(t,e,l)}function Eo(t,e,l){e.status="fulfilled",e.value=l,To(e),t.state=l,e=t.pending,e!==null&&(l=e.next,l===e?t.pending=null:(l=l.next,e.next=l,bo(t,l)))}function dc(t,e,l){var n=t.pending;if(t.pending=null,n!==null){n=n.next;do e.status="rejected",e.reason=l,To(e),e=e.next;while(e!==n)}t.action=null}function To(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function Ao(t,e){return e}function zo(t,e){if(F){var l=rt.formState;if(l!==null){t:{var n=V;if(F){if(ht){e:{for(var a=ht,u=me;a.nodeType!==8;){if(!u){a=null;break e}if(a=ge(a.nextSibling),a===null){a=null;break e}}u=a.data,a=u==="F!"||u==="F"?a:null}if(a){ht=ge(a.nextSibling),n=a.data==="F!";break t}}il(n)}n=!1}n&&(e=l[0])}}return l=xt(),l.memoizedState=l.baseState=e,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ao,lastRenderedState:e},l.queue=n,l=Zo.bind(null,V,n),n.dispatch=l,n=hc(!1),u=Sc.bind(null,V,!1,n.queue),n=xt(),a={state:e,dispatch:null,action:t,pending:null},n.queue=a,l=qy.bind(null,V,a,u,l),a.dispatch=l,n.memoizedState=t,[e,l,!1]}function Oo(t){var e=St();return Mo(e,ct,t)}function Mo(t,e,l){if(e=oc(t,e,Ao)[0],t=hu(Ze)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var n=ua(e)}catch(c){throw c===mn?lu:c}else n=e;e=St();var a=e.queue,u=a.dispatch;return l!==e.memoizedState&&(V.flags|=2048,bn(9,{destroy:void 0},Hy.bind(null,a,l),null)),[n,u,t]}function Hy(t,e){t.action=e}function Do(t){var e=St(),l=ct;if(l!==null)return Mo(e,l,t);St(),e=e.memoizedState,l=St();var n=l.queue.dispatch;return l.memoizedState=t,[e,n,!1]}function bn(t,e,l,n){return t={tag:t,create:l,deps:n,inst:e,next:null},e=V.updateQueue,e===null&&(e=ou(),V.updateQueue=e),l=e.lastEffect,l===null?e.lastEffect=t.next=t:(n=l.next,l.next=t,t.next=n,e.lastEffect=t),t}function Ro(){return St().memoizedState}function du(t,e,l,n){var a=xt();V.flags|=t,a.memoizedState=bn(1|e,{destroy:void 0},l,n===void 0?null:n)}function yu(t,e,l,n){var a=St();n=n===void 0?null:n;var u=a.memoizedState.inst;ct!==null&&n!==null&&ac(n,ct.memoizedState.deps)?a.memoizedState=bn(e,u,l,n):(V.flags|=t,a.memoizedState=bn(1|e,u,l,n))}function No(t,e){du(8390656,8,t,e)}function yc(t,e){yu(2048,8,t,e)}function Yy(t){V.flags|=4;var e=V.updateQueue;if(e===null)e=ou(),V.updateQueue=e,e.events=[t];else{var l=e.events;l===null?e.events=[t]:l.push(t)}}function Uo(t){var e=St().memoizedState;return Yy({ref:e,nextImpl:t}),function(){if((et&2)!==0)throw Error(s(440));return e.impl.apply(void 0,arguments)}}function Co(t,e){return yu(4,2,t,e)}function Bo(t,e){return yu(4,4,t,e)}function qo(t,e){if(typeof e=="function"){t=t();var l=e(t);return function(){typeof l=="function"?l():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function Ho(t,e,l){l=l!=null?l.concat([t]):null,yu(4,4,qo.bind(null,e,t),l)}function mc(){}function Yo(t,e){var l=St();e=e===void 0?null:e;var n=l.memoizedState;return e!==null&&ac(e,n[1])?n[0]:(l.memoizedState=[t,e],t)}function xo(t,e){var l=St();e=e===void 0?null:e;var n=l.memoizedState;if(e!==null&&ac(e,n[1]))return n[0];if(n=t(),Vl){el(!0);try{t()}finally{el(!1)}}return l.memoizedState=[n,e],n}function vc(t,e,l){return l===void 0||(Ve&1073741824)!==0&&(k&261930)===0?t.memoizedState=e:(t.memoizedState=l,t=Lr(),V.lanes|=t,ml|=t,l)}function Lo(t,e,l,n){return te(l,e)?l:gn.current!==null?(t=vc(t,l,n),te(t,e)||(Et=!0),t):(Ve&42)===0||(Ve&1073741824)!==0&&(k&261930)===0?(Et=!0,t.memoizedState=l):(t=Lr(),V.lanes|=t,ml|=t,e)}function Xo(t,e,l,n,a){var u=R.p;R.p=u!==0&&8>u?u:8;var c=E.T,r={};E.T=r,Sc(t,!1,e,l);try{var h=a(),p=E.S;if(p!==null&&p(r,h),h!==null&&typeof h=="object"&&typeof h.then=="function"){var _=Uy(h,n);ia(t,e,_,ie(t))}else ia(t,e,n,ie(t))}catch(A){ia(t,e,{then:function(){},status:"rejected",reason:A},ie())}finally{R.p=u,c!==null&&r.types!==null&&(c.types=r.types),E.T=c}}function xy(){}function gc(t,e,l,n){if(t.tag!==5)throw Error(s(476));var a=Qo(t).queue;Xo(t,a,e,X,l===null?xy:function(){return jo(t),l(n)})}function Qo(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:X,baseState:X,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ze,lastRenderedState:X},next:null};var l={};return e.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ze,lastRenderedState:l},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function jo(t){var e=Qo(t);e.next===null&&(e=t.alternate.memoizedState),ia(t,e.next.queue,{},ie())}function pc(){return Nt(Ta)}function Go(){return St().memoizedState}function Vo(){return St().memoizedState}function Ly(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=ie();t=sl(l);var n=ol(e,t,l);n!==null&&(kt(n,e,l),ea(n,e,l)),e={cache:Ji()},t.payload=e;return}e=e.return}}function Xy(t,e,l){var n=ie();l={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},mu(t)?Ko(e,l):(l=Yi(t,e,l,n),l!==null&&(kt(l,t,n),wo(l,e,n)))}function Zo(t,e,l){var n=ie();ia(t,e,l,n)}function ia(t,e,l,n){var a={lane:n,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(mu(t))Ko(e,a);else{var u=t.alternate;if(t.lanes===0&&(u===null||u.lanes===0)&&(u=e.lastRenderedReducer,u!==null))try{var c=e.lastRenderedState,r=u(c,l);if(a.hasEagerState=!0,a.eagerState=r,te(r,c))return Wa(t,e,a,0),rt===null&&ka(),!1}catch{}finally{}if(l=Yi(t,e,a,n),l!==null)return kt(l,t,n),wo(l,e,n),!0}return!1}function Sc(t,e,l,n){if(n={lane:2,revertLane:Fc(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},mu(t)){if(e)throw Error(s(479))}else e=Yi(t,l,n,2),e!==null&&kt(e,t,2)}function mu(t){var e=t.alternate;return t===V||e!==null&&e===V}function Ko(t,e){pn=fu=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function wo(t,e,l){if((l&4194048)!==0){var n=e.lanes;n&=t.pendingLanes,l|=n,e.lanes=l,$f(t,l)}}var ca={readContext:Nt,use:ru,useCallback:mt,useContext:mt,useEffect:mt,useImperativeHandle:mt,useLayoutEffect:mt,useInsertionEffect:mt,useMemo:mt,useReducer:mt,useRef:mt,useState:mt,useDebugValue:mt,useDeferredValue:mt,useTransition:mt,useSyncExternalStore:mt,useId:mt,useHostTransitionStatus:mt,useFormState:mt,useActionState:mt,useOptimistic:mt,useMemoCache:mt,useCacheRefresh:mt};ca.useEffectEvent=mt;var Jo={readContext:Nt,use:ru,useCallback:function(t,e){return xt().memoizedState=[t,e===void 0?null:e],t},useContext:Nt,useEffect:No,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,du(4194308,4,qo.bind(null,e,t),l)},useLayoutEffect:function(t,e){return du(4194308,4,t,e)},useInsertionEffect:function(t,e){du(4,2,t,e)},useMemo:function(t,e){var l=xt();e=e===void 0?null:e;var n=t();if(Vl){el(!0);try{t()}finally{el(!1)}}return l.memoizedState=[n,e],n},useReducer:function(t,e,l){var n=xt();if(l!==void 0){var a=l(e);if(Vl){el(!0);try{l(e)}finally{el(!1)}}}else a=e;return n.memoizedState=n.baseState=a,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:a},n.queue=t,t=t.dispatch=Xy.bind(null,V,t),[n.memoizedState,t]},useRef:function(t){var e=xt();return t={current:t},e.memoizedState=t},useState:function(t){t=hc(t);var e=t.queue,l=Zo.bind(null,V,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:mc,useDeferredValue:function(t,e){var l=xt();return vc(l,t,e)},useTransition:function(){var t=hc(!1);return t=Xo.bind(null,V,t.queue,!0,!1),xt().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,l){var n=V,a=xt();if(F){if(l===void 0)throw Error(s(407));l=l()}else{if(l=e(),rt===null)throw Error(s(349));(k&127)!==0||yo(n,e,l)}a.memoizedState=l;var u={value:l,getSnapshot:e};return a.queue=u,No(vo.bind(null,n,u,t),[t]),n.flags|=2048,bn(9,{destroy:void 0},mo.bind(null,n,u,l,e),null),l},useId:function(){var t=xt(),e=rt.identifierPrefix;if(F){var l=Re,n=De;l=(n&~(1<<32-Pt(n)-1)).toString(32)+l,e="_"+e+"R_"+l,l=su++,0<l&&(e+="H"+l.toString(32)),e+="_"}else l=Cy++,e="_"+e+"r_"+l.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:pc,useFormState:zo,useActionState:zo,useOptimistic:function(t){var e=xt();e.memoizedState=e.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=l,e=Sc.bind(null,V,!0,l),l.dispatch=e,[t,e]},useMemoCache:sc,useCacheRefresh:function(){return xt().memoizedState=Ly.bind(null,V)},useEffectEvent:function(t){var e=xt(),l={impl:t};return e.memoizedState=l,function(){if((et&2)!==0)throw Error(s(440));return l.impl.apply(void 0,arguments)}}},bc={readContext:Nt,use:ru,useCallback:Yo,useContext:Nt,useEffect:yc,useImperativeHandle:Ho,useInsertionEffect:Co,useLayoutEffect:Bo,useMemo:xo,useReducer:hu,useRef:Ro,useState:function(){return hu(Ze)},useDebugValue:mc,useDeferredValue:function(t,e){var l=St();return Lo(l,ct.memoizedState,t,e)},useTransition:function(){var t=hu(Ze)[0],e=St().memoizedState;return[typeof t=="boolean"?t:ua(t),e]},useSyncExternalStore:ho,useId:Go,useHostTransitionStatus:pc,useFormState:Oo,useActionState:Oo,useOptimistic:function(t,e){var l=St();return So(l,ct,t,e)},useMemoCache:sc,useCacheRefresh:Vo};bc.useEffectEvent=Uo;var ko={readContext:Nt,use:ru,useCallback:Yo,useContext:Nt,useEffect:yc,useImperativeHandle:Ho,useInsertionEffect:Co,useLayoutEffect:Bo,useMemo:xo,useReducer:rc,useRef:Ro,useState:function(){return rc(Ze)},useDebugValue:mc,useDeferredValue:function(t,e){var l=St();return ct===null?vc(l,t,e):Lo(l,ct.memoizedState,t,e)},useTransition:function(){var t=rc(Ze)[0],e=St().memoizedState;return[typeof t=="boolean"?t:ua(t),e]},useSyncExternalStore:ho,useId:Go,useHostTransitionStatus:pc,useFormState:Do,useActionState:Do,useOptimistic:function(t,e){var l=St();return ct!==null?So(l,ct,t,e):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:sc,useCacheRefresh:Vo};ko.useEffectEvent=Uo;function _c(t,e,l,n){e=t.memoizedState,l=l(n,e),l=l==null?e:H({},e,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var Ec={enqueueSetState:function(t,e,l){t=t._reactInternals;var n=ie(),a=sl(n);a.payload=e,l!=null&&(a.callback=l),e=ol(t,a,n),e!==null&&(kt(e,t,n),ea(e,t,n))},enqueueReplaceState:function(t,e,l){t=t._reactInternals;var n=ie(),a=sl(n);a.tag=1,a.payload=e,l!=null&&(a.callback=l),e=ol(t,a,n),e!==null&&(kt(e,t,n),ea(e,t,n))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var l=ie(),n=sl(l);n.tag=2,e!=null&&(n.callback=e),e=ol(t,n,l),e!==null&&(kt(e,t,l),ea(e,t,l))}};function Wo(t,e,l,n,a,u,c){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(n,u,c):e.prototype&&e.prototype.isPureReactComponent?!Jn(l,n)||!Jn(a,u):!0}function $o(t,e,l,n){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(l,n),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(l,n),e.state!==t&&Ec.enqueueReplaceState(e,e.state,null)}function Zl(t,e){var l=e;if("ref"in e){l={};for(var n in e)n!=="ref"&&(l[n]=e[n])}if(t=t.defaultProps){l===e&&(l=H({},l));for(var a in t)l[a]===void 0&&(l[a]=t[a])}return l}function Fo(t){Ja(t)}function Io(t){console.error(t)}function Po(t){Ja(t)}function vu(t,e){try{var l=t.onUncaughtError;l(e.value,{componentStack:e.stack})}catch(n){setTimeout(function(){throw n})}}function tr(t,e,l){try{var n=t.onCaughtError;n(l.value,{componentStack:l.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(a){setTimeout(function(){throw a})}}function Tc(t,e,l){return l=sl(l),l.tag=3,l.payload={element:null},l.callback=function(){vu(t,e)},l}function er(t){return t=sl(t),t.tag=3,t}function lr(t,e,l,n){var a=l.type.getDerivedStateFromError;if(typeof a=="function"){var u=n.value;t.payload=function(){return a(u)},t.callback=function(){tr(e,l,n)}}var c=l.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(t.callback=function(){tr(e,l,n),typeof a!="function"&&(vl===null?vl=new Set([this]):vl.add(this));var r=n.stack;this.componentDidCatch(n.value,{componentStack:r!==null?r:""})})}function Qy(t,e,l,n,a){if(l.flags|=32768,n!==null&&typeof n=="object"&&typeof n.then=="function"){if(e=l.alternate,e!==null&&hn(e,l,a,!0),l=le.current,l!==null){switch(l.tag){case 31:case 13:return ve===null?Du():l.alternate===null&&vt===0&&(vt=3),l.flags&=-257,l.flags|=65536,l.lanes=a,n===nu?l.flags|=16384:(e=l.updateQueue,e===null?l.updateQueue=new Set([n]):e.add(n),kc(t,n,a)),!1;case 22:return l.flags|=65536,n===nu?l.flags|=16384:(e=l.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([n])},l.updateQueue=e):(l=e.retryQueue,l===null?e.retryQueue=new Set([n]):l.add(n)),kc(t,n,a)),!1}throw Error(s(435,l.tag))}return kc(t,n,a),Du(),!1}if(F)return e=le.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=a,n!==Gi&&(t=Error(s(422),{cause:n}),$n(he(t,l)))):(n!==Gi&&(e=Error(s(423),{cause:n}),$n(he(e,l))),t=t.current.alternate,t.flags|=65536,a&=-a,t.lanes|=a,n=he(n,l),a=Tc(t.stateNode,n,a),Pi(t,a),vt!==4&&(vt=2)),!1;var u=Error(s(520),{cause:n});if(u=he(u,l),ma===null?ma=[u]:ma.push(u),vt!==4&&(vt=2),e===null)return!0;n=he(n,l),l=e;do{switch(l.tag){case 3:return l.flags|=65536,t=a&-a,l.lanes|=t,t=Tc(l.stateNode,n,t),Pi(l,t),!1;case 1:if(e=l.type,u=l.stateNode,(l.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(vl===null||!vl.has(u))))return l.flags|=65536,a&=-a,l.lanes|=a,a=er(a),lr(a,t,l,n),Pi(l,a),!1}l=l.return}while(l!==null);return!1}var Ac=Error(s(461)),Et=!1;function Ut(t,e,l,n){e.child=t===null?uo(e,null,l,n):Gl(e,t.child,l,n)}function nr(t,e,l,n,a){l=l.render;var u=e.ref;if("ref"in n){var c={};for(var r in n)r!=="ref"&&(c[r]=n[r])}else c=n;return Ll(e),n=uc(t,e,l,c,u,a),r=ic(),t!==null&&!Et?(cc(t,e,a),Ke(t,e,a)):(F&&r&&Qi(e),e.flags|=1,Ut(t,e,n,a),e.child)}function ar(t,e,l,n,a){if(t===null){var u=l.type;return typeof u=="function"&&!xi(u)&&u.defaultProps===void 0&&l.compare===null?(e.tag=15,e.type=u,ur(t,e,u,n,a)):(t=Fa(l.type,null,n,e,e.mode,a),t.ref=e.ref,t.return=e,e.child=t)}if(u=t.child,!Cc(t,a)){var c=u.memoizedProps;if(l=l.compare,l=l!==null?l:Jn,l(c,n)&&t.ref===e.ref)return Ke(t,e,a)}return e.flags|=1,t=Xe(u,n),t.ref=e.ref,t.return=e,e.child=t}function ur(t,e,l,n,a){if(t!==null){var u=t.memoizedProps;if(Jn(u,n)&&t.ref===e.ref)if(Et=!1,e.pendingProps=n=u,Cc(t,a))(t.flags&131072)!==0&&(Et=!0);else return e.lanes=t.lanes,Ke(t,e,a)}return zc(t,e,l,n,a)}function ir(t,e,l,n){var a=n.children,u=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.mode==="hidden"){if((e.flags&128)!==0){if(u=u!==null?u.baseLanes|l:l,t!==null){for(n=e.child=t.child,a=0;n!==null;)a=a|n.lanes|n.childLanes,n=n.sibling;n=a&~u}else n=0,e.child=null;return cr(t,e,u,l,n)}if((l&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&eu(e,u!==null?u.cachePool:null),u!==null?fo(e,u):ec(),so(e);else return n=e.lanes=536870912,cr(t,e,u!==null?u.baseLanes|l:l,l,n)}else u!==null?(eu(e,u.cachePool),fo(e,u),hl(),e.memoizedState=null):(t!==null&&eu(e,null),ec(),hl());return Ut(t,e,a,l),e.child}function fa(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function cr(t,e,l,n,a){var u=Wi();return u=u===null?null:{parent:bt._currentValue,pool:u},e.memoizedState={baseLanes:l,cachePool:u},t!==null&&eu(e,null),ec(),so(e),t!==null&&hn(t,e,n,!0),e.childLanes=a,null}function gu(t,e){return e=Su({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function fr(t,e,l){return Gl(e,t.child,null,l),t=gu(e,e.pendingProps),t.flags|=2,ne(e),e.memoizedState=null,t}function jy(t,e,l){var n=e.pendingProps,a=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(F){if(n.mode==="hidden")return t=gu(e,n),e.lanes=536870912,fa(null,t);if(nc(e),(t=ht)?(t=bh(t,me),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:al!==null?{id:De,overflow:Re}:null,retryLane:536870912,hydrationErrors:null},l=Zs(t),l.return=e,e.child=l,Rt=e,ht=null)):t=null,t===null)throw il(e);return e.lanes=536870912,null}return gu(e,n)}var u=t.memoizedState;if(u!==null){var c=u.dehydrated;if(nc(e),a)if(e.flags&256)e.flags&=-257,e=fr(t,e,l);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(s(558));else if(Et||hn(t,e,l,!1),a=(l&t.childLanes)!==0,Et||a){if(n=rt,n!==null&&(c=Ff(n,l),c!==0&&c!==u.retryLane))throw u.retryLane=c,ql(t,c),kt(n,t,c),Ac;Du(),e=fr(t,e,l)}else t=u.treeContext,ht=ge(c.nextSibling),Rt=e,F=!0,ul=null,me=!1,t!==null&&Js(e,t),e=gu(e,n),e.flags|=4096;return e}return t=Xe(t.child,{mode:n.mode,children:n.children}),t.ref=e.ref,e.child=t,t.return=e,t}function pu(t,e){var l=e.ref;if(l===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(s(284));(t===null||t.ref!==l)&&(e.flags|=4194816)}}function zc(t,e,l,n,a){return Ll(e),l=uc(t,e,l,n,void 0,a),n=ic(),t!==null&&!Et?(cc(t,e,a),Ke(t,e,a)):(F&&n&&Qi(e),e.flags|=1,Ut(t,e,l,a),e.child)}function sr(t,e,l,n,a,u){return Ll(e),e.updateQueue=null,l=ro(e,n,l,a),oo(t),n=ic(),t!==null&&!Et?(cc(t,e,u),Ke(t,e,u)):(F&&n&&Qi(e),e.flags|=1,Ut(t,e,l,u),e.child)}function or(t,e,l,n,a){if(Ll(e),e.stateNode===null){var u=fn,c=l.contextType;typeof c=="object"&&c!==null&&(u=Nt(c)),u=new l(n,u),e.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Ec,e.stateNode=u,u._reactInternals=e,u=e.stateNode,u.props=n,u.state=e.memoizedState,u.refs={},Fi(e),c=l.contextType,u.context=typeof c=="object"&&c!==null?Nt(c):fn,u.state=e.memoizedState,c=l.getDerivedStateFromProps,typeof c=="function"&&(_c(e,l,c,n),u.state=e.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(c=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),c!==u.state&&Ec.enqueueReplaceState(u,u.state,null),na(e,n,u,a),la(),u.state=e.memoizedState),typeof u.componentDidMount=="function"&&(e.flags|=4194308),n=!0}else if(t===null){u=e.stateNode;var r=e.memoizedProps,h=Zl(l,r);u.props=h;var p=u.context,_=l.contextType;c=fn,typeof _=="object"&&_!==null&&(c=Nt(_));var A=l.getDerivedStateFromProps;_=typeof A=="function"||typeof u.getSnapshotBeforeUpdate=="function",r=e.pendingProps!==r,_||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(r||p!==c)&&$o(e,u,n,c),fl=!1;var S=e.memoizedState;u.state=S,na(e,n,u,a),la(),p=e.memoizedState,r||S!==p||fl?(typeof A=="function"&&(_c(e,l,A,n),p=e.memoizedState),(h=fl||Wo(e,l,h,n,S,p,c))?(_||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(e.flags|=4194308)):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=n,e.memoizedState=p),u.props=n,u.state=p,u.context=c,n=h):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),n=!1)}else{u=e.stateNode,Ii(t,e),c=e.memoizedProps,_=Zl(l,c),u.props=_,A=e.pendingProps,S=u.context,p=l.contextType,h=fn,typeof p=="object"&&p!==null&&(h=Nt(p)),r=l.getDerivedStateFromProps,(p=typeof r=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(c!==A||S!==h)&&$o(e,u,n,h),fl=!1,S=e.memoizedState,u.state=S,na(e,n,u,a),la();var b=e.memoizedState;c!==A||S!==b||fl||t!==null&&t.dependencies!==null&&Pa(t.dependencies)?(typeof r=="function"&&(_c(e,l,r,n),b=e.memoizedState),(_=fl||Wo(e,l,_,n,S,b,h)||t!==null&&t.dependencies!==null&&Pa(t.dependencies))?(p||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(n,b,h),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(n,b,h)),typeof u.componentDidUpdate=="function"&&(e.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof u.componentDidUpdate!="function"||c===t.memoizedProps&&S===t.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===t.memoizedProps&&S===t.memoizedState||(e.flags|=1024),e.memoizedProps=n,e.memoizedState=b),u.props=n,u.state=b,u.context=h,n=_):(typeof u.componentDidUpdate!="function"||c===t.memoizedProps&&S===t.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===t.memoizedProps&&S===t.memoizedState||(e.flags|=1024),n=!1)}return u=n,pu(t,e),n=(e.flags&128)!==0,u||n?(u=e.stateNode,l=n&&typeof l.getDerivedStateFromError!="function"?null:u.render(),e.flags|=1,t!==null&&n?(e.child=Gl(e,t.child,null,a),e.child=Gl(e,null,l,a)):Ut(t,e,l,a),e.memoizedState=u.state,t=e.child):t=Ke(t,e,a),t}function rr(t,e,l,n){return Yl(),e.flags|=256,Ut(t,e,l,n),e.child}var Oc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Mc(t){return{baseLanes:t,cachePool:Ps()}}function Dc(t,e,l){return t=t!==null?t.childLanes&~l:0,e&&(t|=ue),t}function hr(t,e,l){var n=e.pendingProps,a=!1,u=(e.flags&128)!==0,c;if((c=u)||(c=t!==null&&t.memoizedState===null?!1:(pt.current&2)!==0),c&&(a=!0,e.flags&=-129),c=(e.flags&32)!==0,e.flags&=-33,t===null){if(F){if(a?rl(e):hl(),(t=ht)?(t=bh(t,me),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:al!==null?{id:De,overflow:Re}:null,retryLane:536870912,hydrationErrors:null},l=Zs(t),l.return=e,e.child=l,Rt=e,ht=null)):t=null,t===null)throw il(e);return rf(t)?e.lanes=32:e.lanes=536870912,null}var r=n.children;return n=n.fallback,a?(hl(),a=e.mode,r=Su({mode:"hidden",children:r},a),n=Hl(n,a,l,null),r.return=e,n.return=e,r.sibling=n,e.child=r,n=e.child,n.memoizedState=Mc(l),n.childLanes=Dc(t,c,l),e.memoizedState=Oc,fa(null,n)):(rl(e),Rc(e,r))}var h=t.memoizedState;if(h!==null&&(r=h.dehydrated,r!==null)){if(u)e.flags&256?(rl(e),e.flags&=-257,e=Nc(t,e,l)):e.memoizedState!==null?(hl(),e.child=t.child,e.flags|=128,e=null):(hl(),r=n.fallback,a=e.mode,n=Su({mode:"visible",children:n.children},a),r=Hl(r,a,l,null),r.flags|=2,n.return=e,r.return=e,n.sibling=r,e.child=n,Gl(e,t.child,null,l),n=e.child,n.memoizedState=Mc(l),n.childLanes=Dc(t,c,l),e.memoizedState=Oc,e=fa(null,n));else if(rl(e),rf(r)){if(c=r.nextSibling&&r.nextSibling.dataset,c)var p=c.dgst;c=p,n=Error(s(419)),n.stack="",n.digest=c,$n({value:n,source:null,stack:null}),e=Nc(t,e,l)}else if(Et||hn(t,e,l,!1),c=(l&t.childLanes)!==0,Et||c){if(c=rt,c!==null&&(n=Ff(c,l),n!==0&&n!==h.retryLane))throw h.retryLane=n,ql(t,n),kt(c,t,n),Ac;of(r)||Du(),e=Nc(t,e,l)}else of(r)?(e.flags|=192,e.child=t.child,e=null):(t=h.treeContext,ht=ge(r.nextSibling),Rt=e,F=!0,ul=null,me=!1,t!==null&&Js(e,t),e=Rc(e,n.children),e.flags|=4096);return e}return a?(hl(),r=n.fallback,a=e.mode,h=t.child,p=h.sibling,n=Xe(h,{mode:"hidden",children:n.children}),n.subtreeFlags=h.subtreeFlags&65011712,p!==null?r=Xe(p,r):(r=Hl(r,a,l,null),r.flags|=2),r.return=e,n.return=e,n.sibling=r,e.child=n,fa(null,n),n=e.child,r=t.child.memoizedState,r===null?r=Mc(l):(a=r.cachePool,a!==null?(h=bt._currentValue,a=a.parent!==h?{parent:h,pool:h}:a):a=Ps(),r={baseLanes:r.baseLanes|l,cachePool:a}),n.memoizedState=r,n.childLanes=Dc(t,c,l),e.memoizedState=Oc,fa(t.child,n)):(rl(e),l=t.child,t=l.sibling,l=Xe(l,{mode:"visible",children:n.children}),l.return=e,l.sibling=null,t!==null&&(c=e.deletions,c===null?(e.deletions=[t],e.flags|=16):c.push(t)),e.child=l,e.memoizedState=null,l)}function Rc(t,e){return e=Su({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Su(t,e){return t=ee(22,t,null,e),t.lanes=0,t}function Nc(t,e,l){return Gl(e,t.child,null,l),t=Rc(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function dr(t,e,l){t.lanes|=e;var n=t.alternate;n!==null&&(n.lanes|=e),Ki(t.return,e,l)}function Uc(t,e,l,n,a,u){var c=t.memoizedState;c===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:n,tail:l,tailMode:a,treeForkCount:u}:(c.isBackwards=e,c.rendering=null,c.renderingStartTime=0,c.last=n,c.tail=l,c.tailMode=a,c.treeForkCount=u)}function yr(t,e,l){var n=e.pendingProps,a=n.revealOrder,u=n.tail;n=n.children;var c=pt.current,r=(c&2)!==0;if(r?(c=c&1|2,e.flags|=128):c&=1,N(pt,c),Ut(t,e,n,l),n=F?Wn:0,!r&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&dr(t,l,e);else if(t.tag===19)dr(t,l,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(a){case"forwards":for(l=e.child,a=null;l!==null;)t=l.alternate,t!==null&&cu(t)===null&&(a=l),l=l.sibling;l=a,l===null?(a=e.child,e.child=null):(a=l.sibling,l.sibling=null),Uc(e,!1,a,l,u,n);break;case"backwards":case"unstable_legacy-backwards":for(l=null,a=e.child,e.child=null;a!==null;){if(t=a.alternate,t!==null&&cu(t)===null){e.child=a;break}t=a.sibling,a.sibling=l,l=a,a=t}Uc(e,!0,l,null,u,n);break;case"together":Uc(e,!1,null,null,void 0,n);break;default:e.memoizedState=null}return e.child}function Ke(t,e,l){if(t!==null&&(e.dependencies=t.dependencies),ml|=e.lanes,(l&e.childLanes)===0)if(t!==null){if(hn(t,e,l,!1),(l&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(s(153));if(e.child!==null){for(t=e.child,l=Xe(t,t.pendingProps),e.child=l,l.return=e;t.sibling!==null;)t=t.sibling,l=l.sibling=Xe(t,t.pendingProps),l.return=e;l.sibling=null}return e.child}function Cc(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Pa(t)))}function Gy(t,e,l){switch(e.tag){case 3:Yt(e,e.stateNode.containerInfo),cl(e,bt,t.memoizedState.cache),Yl();break;case 27:case 5:qn(e);break;case 4:Yt(e,e.stateNode.containerInfo);break;case 10:cl(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,nc(e),null;break;case 13:var n=e.memoizedState;if(n!==null)return n.dehydrated!==null?(rl(e),e.flags|=128,null):(l&e.child.childLanes)!==0?hr(t,e,l):(rl(e),t=Ke(t,e,l),t!==null?t.sibling:null);rl(e);break;case 19:var a=(t.flags&128)!==0;if(n=(l&e.childLanes)!==0,n||(hn(t,e,l,!1),n=(l&e.childLanes)!==0),a){if(n)return yr(t,e,l);e.flags|=128}if(a=e.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),N(pt,pt.current),n)break;return null;case 22:return e.lanes=0,ir(t,e,l,e.pendingProps);case 24:cl(e,bt,t.memoizedState.cache)}return Ke(t,e,l)}function mr(t,e,l){if(t!==null)if(t.memoizedProps!==e.pendingProps)Et=!0;else{if(!Cc(t,l)&&(e.flags&128)===0)return Et=!1,Gy(t,e,l);Et=(t.flags&131072)!==0}else Et=!1,F&&(e.flags&1048576)!==0&&ws(e,Wn,e.index);switch(e.lanes=0,e.tag){case 16:t:{var n=e.pendingProps;if(t=Ql(e.elementType),e.type=t,typeof t=="function")xi(t)?(n=Zl(t,n),e.tag=1,e=or(null,e,t,n,l)):(e.tag=0,e=zc(null,e,t,n,l));else{if(t!=null){var a=t.$$typeof;if(a===fe){e.tag=11,e=nr(null,e,t,n,l);break t}else if(a===$){e.tag=14,e=ar(null,e,t,n,l);break t}}throw e=He(t)||t,Error(s(306,e,""))}}return e;case 0:return zc(t,e,e.type,e.pendingProps,l);case 1:return n=e.type,a=Zl(n,e.pendingProps),or(t,e,n,a,l);case 3:t:{if(Yt(e,e.stateNode.containerInfo),t===null)throw Error(s(387));n=e.pendingProps;var u=e.memoizedState;a=u.element,Ii(t,e),na(e,n,null,l);var c=e.memoizedState;if(n=c.cache,cl(e,bt,n),n!==u.cache&&wi(e,[bt],l,!0),la(),n=c.element,u.isDehydrated)if(u={element:n,isDehydrated:!1,cache:c.cache},e.updateQueue.baseState=u,e.memoizedState=u,e.flags&256){e=rr(t,e,n,l);break t}else if(n!==a){a=he(Error(s(424)),e),$n(a),e=rr(t,e,n,l);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(ht=ge(t.firstChild),Rt=e,F=!0,ul=null,me=!0,l=uo(e,null,n,l),e.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(Yl(),n===a){e=Ke(t,e,l);break t}Ut(t,e,n,l)}e=e.child}return e;case 26:return pu(t,e),t===null?(l=Oh(e.type,null,e.pendingProps,null))?e.memoizedState=l:F||(l=e.type,t=e.pendingProps,n=Hu(K.current).createElement(l),n[Dt]=e,n[Gt]=t,Ct(n,l,t),Ot(n),e.stateNode=n):e.memoizedState=Oh(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return qn(e),t===null&&F&&(n=e.stateNode=Th(e.type,e.pendingProps,K.current),Rt=e,me=!0,a=ht,bl(e.type)?(hf=a,ht=ge(n.firstChild)):ht=a),Ut(t,e,e.pendingProps.children,l),pu(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&F&&((a=n=ht)&&(n=pm(n,e.type,e.pendingProps,me),n!==null?(e.stateNode=n,Rt=e,ht=ge(n.firstChild),me=!1,a=!0):a=!1),a||il(e)),qn(e),a=e.type,u=e.pendingProps,c=t!==null?t.memoizedProps:null,n=u.children,cf(a,u)?n=null:c!==null&&cf(a,c)&&(e.flags|=32),e.memoizedState!==null&&(a=uc(t,e,By,null,null,l),Ta._currentValue=a),pu(t,e),Ut(t,e,n,l),e.child;case 6:return t===null&&F&&((t=l=ht)&&(l=Sm(l,e.pendingProps,me),l!==null?(e.stateNode=l,Rt=e,ht=null,t=!0):t=!1),t||il(e)),null;case 13:return hr(t,e,l);case 4:return Yt(e,e.stateNode.containerInfo),n=e.pendingProps,t===null?e.child=Gl(e,null,n,l):Ut(t,e,n,l),e.child;case 11:return nr(t,e,e.type,e.pendingProps,l);case 7:return Ut(t,e,e.pendingProps,l),e.child;case 8:return Ut(t,e,e.pendingProps.children,l),e.child;case 12:return Ut(t,e,e.pendingProps.children,l),e.child;case 10:return n=e.pendingProps,cl(e,e.type,n.value),Ut(t,e,n.children,l),e.child;case 9:return a=e.type._context,n=e.pendingProps.children,Ll(e),a=Nt(a),n=n(a),e.flags|=1,Ut(t,e,n,l),e.child;case 14:return ar(t,e,e.type,e.pendingProps,l);case 15:return ur(t,e,e.type,e.pendingProps,l);case 19:return yr(t,e,l);case 31:return jy(t,e,l);case 22:return ir(t,e,l,e.pendingProps);case 24:return Ll(e),n=Nt(bt),t===null?(a=Wi(),a===null&&(a=rt,u=Ji(),a.pooledCache=u,u.refCount++,u!==null&&(a.pooledCacheLanes|=l),a=u),e.memoizedState={parent:n,cache:a},Fi(e),cl(e,bt,a)):((t.lanes&l)!==0&&(Ii(t,e),na(e,null,null,l),la()),a=t.memoizedState,u=e.memoizedState,a.parent!==n?(a={parent:n,cache:n},e.memoizedState=a,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=a),cl(e,bt,n)):(n=u.cache,cl(e,bt,n),n!==a.cache&&wi(e,[bt],l,!0))),Ut(t,e,e.pendingProps.children,l),e.child;case 29:throw e.pendingProps}throw Error(s(156,e.tag))}function we(t){t.flags|=4}function Bc(t,e,l,n,a){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(a&335544128)===a)if(t.stateNode.complete)t.flags|=8192;else if(Gr())t.flags|=8192;else throw jl=nu,$i}else t.flags&=-16777217}function vr(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Uh(e))if(Gr())t.flags|=8192;else throw jl=nu,$i}function bu(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?kf():536870912,t.lanes|=e,An|=e)}function sa(t,e){if(!F)switch(t.tailMode){case"hidden":e=t.tail;for(var l=null;e!==null;)e.alternate!==null&&(l=e),e=e.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var n=null;l!==null;)l.alternate!==null&&(n=l),l=l.sibling;n===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:n.sibling=null}}function dt(t){var e=t.alternate!==null&&t.alternate.child===t.child,l=0,n=0;if(e)for(var a=t.child;a!==null;)l|=a.lanes|a.childLanes,n|=a.subtreeFlags&65011712,n|=a.flags&65011712,a.return=t,a=a.sibling;else for(a=t.child;a!==null;)l|=a.lanes|a.childLanes,n|=a.subtreeFlags,n|=a.flags,a.return=t,a=a.sibling;return t.subtreeFlags|=n,t.childLanes=l,e}function Vy(t,e,l){var n=e.pendingProps;switch(ji(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return dt(e),null;case 1:return dt(e),null;case 3:return l=e.stateNode,n=null,t!==null&&(n=t.memoizedState.cache),e.memoizedState.cache!==n&&(e.flags|=2048),Ge(bt),gt(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(rn(e)?we(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Vi())),dt(e),null;case 26:var a=e.type,u=e.memoizedState;return t===null?(we(e),u!==null?(dt(e),vr(e,u)):(dt(e),Bc(e,a,null,n,l))):u?u!==t.memoizedState?(we(e),dt(e),vr(e,u)):(dt(e),e.flags&=-16777217):(t=t.memoizedProps,t!==n&&we(e),dt(e),Bc(e,a,t,n,l)),null;case 27:if(Ua(e),l=K.current,a=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==n&&we(e);else{if(!n){if(e.stateNode===null)throw Error(s(166));return dt(e),null}t=B.current,rn(e)?ks(e):(t=Th(a,n,l),e.stateNode=t,we(e))}return dt(e),null;case 5:if(Ua(e),a=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==n&&we(e);else{if(!n){if(e.stateNode===null)throw Error(s(166));return dt(e),null}if(u=B.current,rn(e))ks(e);else{var c=Hu(K.current);switch(u){case 1:u=c.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:u=c.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":u=c.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":u=c.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":u=c.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof n.is=="string"?c.createElement("select",{is:n.is}):c.createElement("select"),n.multiple?u.multiple=!0:n.size&&(u.size=n.size);break;default:u=typeof n.is=="string"?c.createElement(a,{is:n.is}):c.createElement(a)}}u[Dt]=e,u[Gt]=n;t:for(c=e.child;c!==null;){if(c.tag===5||c.tag===6)u.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===e)break t;for(;c.sibling===null;){if(c.return===null||c.return===e)break t;c=c.return}c.sibling.return=c.return,c=c.sibling}e.stateNode=u;t:switch(Ct(u,a,n),a){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break t;case"img":n=!0;break t;default:n=!1}n&&we(e)}}return dt(e),Bc(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,l),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==n&&we(e);else{if(typeof n!="string"&&e.stateNode===null)throw Error(s(166));if(t=K.current,rn(e)){if(t=e.stateNode,l=e.memoizedProps,n=null,a=Rt,a!==null)switch(a.tag){case 27:case 5:n=a.memoizedProps}t[Dt]=e,t=!!(t.nodeValue===l||n!==null&&n.suppressHydrationWarning===!0||hh(t.nodeValue,l)),t||il(e,!0)}else t=Hu(t).createTextNode(n),t[Dt]=e,e.stateNode=t}return dt(e),null;case 31:if(l=e.memoizedState,t===null||t.memoizedState!==null){if(n=rn(e),l!==null){if(t===null){if(!n)throw Error(s(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(557));t[Dt]=e}else Yl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;dt(e),t=!1}else l=Vi(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=l),t=!0;if(!t)return e.flags&256?(ne(e),e):(ne(e),null);if((e.flags&128)!==0)throw Error(s(558))}return dt(e),null;case 13:if(n=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(a=rn(e),n!==null&&n.dehydrated!==null){if(t===null){if(!a)throw Error(s(318));if(a=e.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(s(317));a[Dt]=e}else Yl(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;dt(e),a=!1}else a=Vi(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=a),a=!0;if(!a)return e.flags&256?(ne(e),e):(ne(e),null)}return ne(e),(e.flags&128)!==0?(e.lanes=l,e):(l=n!==null,t=t!==null&&t.memoizedState!==null,l&&(n=e.child,a=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(a=n.alternate.memoizedState.cachePool.pool),u=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(u=n.memoizedState.cachePool.pool),u!==a&&(n.flags|=2048)),l!==t&&l&&(e.child.flags|=8192),bu(e,e.updateQueue),dt(e),null);case 4:return gt(),t===null&&ef(e.stateNode.containerInfo),dt(e),null;case 10:return Ge(e.type),dt(e),null;case 19:if(z(pt),n=e.memoizedState,n===null)return dt(e),null;if(a=(e.flags&128)!==0,u=n.rendering,u===null)if(a)sa(n,!1);else{if(vt!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(u=cu(t),u!==null){for(e.flags|=128,sa(n,!1),t=u.updateQueue,e.updateQueue=t,bu(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)Vs(l,t),l=l.sibling;return N(pt,pt.current&1|2),F&&Qe(e,n.treeForkCount),e.child}t=t.sibling}n.tail!==null&&Ft()>zu&&(e.flags|=128,a=!0,sa(n,!1),e.lanes=4194304)}else{if(!a)if(t=cu(u),t!==null){if(e.flags|=128,a=!0,t=t.updateQueue,e.updateQueue=t,bu(e,t),sa(n,!0),n.tail===null&&n.tailMode==="hidden"&&!u.alternate&&!F)return dt(e),null}else 2*Ft()-n.renderingStartTime>zu&&l!==536870912&&(e.flags|=128,a=!0,sa(n,!1),e.lanes=4194304);n.isBackwards?(u.sibling=e.child,e.child=u):(t=n.last,t!==null?t.sibling=u:e.child=u,n.last=u)}return n.tail!==null?(t=n.tail,n.rendering=t,n.tail=t.sibling,n.renderingStartTime=Ft(),t.sibling=null,l=pt.current,N(pt,a?l&1|2:l&1),F&&Qe(e,n.treeForkCount),t):(dt(e),null);case 22:case 23:return ne(e),lc(),n=e.memoizedState!==null,t!==null?t.memoizedState!==null!==n&&(e.flags|=8192):n&&(e.flags|=8192),n?(l&536870912)!==0&&(e.flags&128)===0&&(dt(e),e.subtreeFlags&6&&(e.flags|=8192)):dt(e),l=e.updateQueue,l!==null&&bu(e,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),n=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),n!==l&&(e.flags|=2048),t!==null&&z(Xl),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),Ge(bt),dt(e),null;case 25:return null;case 30:return null}throw Error(s(156,e.tag))}function Zy(t,e){switch(ji(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return Ge(bt),gt(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return Ua(e),null;case 31:if(e.memoizedState!==null){if(ne(e),e.alternate===null)throw Error(s(340));Yl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(ne(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(s(340));Yl()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return z(pt),null;case 4:return gt(),null;case 10:return Ge(e.type),null;case 22:case 23:return ne(e),lc(),t!==null&&z(Xl),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return Ge(bt),null;case 25:return null;default:return null}}function gr(t,e){switch(ji(e),e.tag){case 3:Ge(bt),gt();break;case 26:case 27:case 5:Ua(e);break;case 4:gt();break;case 31:e.memoizedState!==null&&ne(e);break;case 13:ne(e);break;case 19:z(pt);break;case 10:Ge(e.type);break;case 22:case 23:ne(e),lc(),t!==null&&z(Xl);break;case 24:Ge(bt)}}function oa(t,e){try{var l=e.updateQueue,n=l!==null?l.lastEffect:null;if(n!==null){var a=n.next;l=a;do{if((l.tag&t)===t){n=void 0;var u=l.create,c=l.inst;n=u(),c.destroy=n}l=l.next}while(l!==a)}}catch(r){ut(e,e.return,r)}}function dl(t,e,l){try{var n=e.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var u=a.next;n=u;do{if((n.tag&t)===t){var c=n.inst,r=c.destroy;if(r!==void 0){c.destroy=void 0,a=e;var h=l,p=r;try{p()}catch(_){ut(a,h,_)}}}n=n.next}while(n!==u)}}catch(_){ut(e,e.return,_)}}function pr(t){var e=t.updateQueue;if(e!==null){var l=t.stateNode;try{co(e,l)}catch(n){ut(t,t.return,n)}}}function Sr(t,e,l){l.props=Zl(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(n){ut(t,e,n)}}function ra(t,e){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var n=t.stateNode;break;case 30:n=t.stateNode;break;default:n=t.stateNode}typeof l=="function"?t.refCleanup=l(n):l.current=n}}catch(a){ut(t,e,a)}}function Ne(t,e){var l=t.ref,n=t.refCleanup;if(l!==null)if(typeof n=="function")try{n()}catch(a){ut(t,e,a)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(a){ut(t,e,a)}else l.current=null}function br(t){var e=t.type,l=t.memoizedProps,n=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break t;case"img":l.src?n.src=l.src:l.srcSet&&(n.srcset=l.srcSet)}}catch(a){ut(t,t.return,a)}}function qc(t,e,l){try{var n=t.stateNode;hm(n,t.type,l,e),n[Gt]=e}catch(a){ut(t,t.return,a)}}function _r(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&bl(t.type)||t.tag===4}function Hc(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||_r(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&bl(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Yc(t,e,l){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,e):(e=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.appendChild(t),l=l._reactRootContainer,l!=null||e.onclick!==null||(e.onclick=xe));else if(n!==4&&(n===27&&bl(t.type)&&(l=t.stateNode,e=null),t=t.child,t!==null))for(Yc(t,e,l),t=t.sibling;t!==null;)Yc(t,e,l),t=t.sibling}function _u(t,e,l){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?l.insertBefore(t,e):l.appendChild(t);else if(n!==4&&(n===27&&bl(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(_u(t,e,l),t=t.sibling;t!==null;)_u(t,e,l),t=t.sibling}function Er(t){var e=t.stateNode,l=t.memoizedProps;try{for(var n=t.type,a=e.attributes;a.length;)e.removeAttributeNode(a[0]);Ct(e,n,l),e[Dt]=t,e[Gt]=l}catch(u){ut(t,t.return,u)}}var Je=!1,Tt=!1,xc=!1,Tr=typeof WeakSet=="function"?WeakSet:Set,Mt=null;function Ky(t,e){if(t=t.containerInfo,af=Gu,t=qs(t),Ni(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else t:{l=(l=t.ownerDocument)&&l.defaultView||window;var n=l.getSelection&&l.getSelection();if(n&&n.rangeCount!==0){l=n.anchorNode;var a=n.anchorOffset,u=n.focusNode;n=n.focusOffset;try{l.nodeType,u.nodeType}catch{l=null;break t}var c=0,r=-1,h=-1,p=0,_=0,A=t,S=null;e:for(;;){for(var b;A!==l||a!==0&&A.nodeType!==3||(r=c+a),A!==u||n!==0&&A.nodeType!==3||(h=c+n),A.nodeType===3&&(c+=A.nodeValue.length),(b=A.firstChild)!==null;)S=A,A=b;for(;;){if(A===t)break e;if(S===l&&++p===a&&(r=c),S===u&&++_===n&&(h=c),(b=A.nextSibling)!==null)break;A=S,S=A.parentNode}A=b}l=r===-1||h===-1?null:{start:r,end:h}}else l=null}l=l||{start:0,end:0}}else l=null;for(uf={focusedElem:t,selectionRange:l},Gu=!1,Mt=e;Mt!==null;)if(e=Mt,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Mt=t;else for(;Mt!==null;){switch(e=Mt,u=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(l=0;l<t.length;l++)a=t[l],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&u!==null){t=void 0,l=e,a=u.memoizedProps,u=u.memoizedState,n=l.stateNode;try{var C=Zl(l.type,a);t=n.getSnapshotBeforeUpdate(C,u),n.__reactInternalSnapshotBeforeUpdate=t}catch(x){ut(l,l.return,x)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,l=t.nodeType,l===9)sf(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":sf(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(s(163))}if(t=e.sibling,t!==null){t.return=e.return,Mt=t;break}Mt=e.return}}function Ar(t,e,l){var n=l.flags;switch(l.tag){case 0:case 11:case 15:We(t,l),n&4&&oa(5,l);break;case 1:if(We(t,l),n&4)if(t=l.stateNode,e===null)try{t.componentDidMount()}catch(c){ut(l,l.return,c)}else{var a=Zl(l.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(a,e,t.__reactInternalSnapshotBeforeUpdate)}catch(c){ut(l,l.return,c)}}n&64&&pr(l),n&512&&ra(l,l.return);break;case 3:if(We(t,l),n&64&&(t=l.updateQueue,t!==null)){if(e=null,l.child!==null)switch(l.child.tag){case 27:case 5:e=l.child.stateNode;break;case 1:e=l.child.stateNode}try{co(t,e)}catch(c){ut(l,l.return,c)}}break;case 27:e===null&&n&4&&Er(l);case 26:case 5:We(t,l),e===null&&n&4&&br(l),n&512&&ra(l,l.return);break;case 12:We(t,l);break;case 31:We(t,l),n&4&&Mr(t,l);break;case 13:We(t,l),n&4&&Dr(t,l),n&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=tm.bind(null,l),bm(t,l))));break;case 22:if(n=l.memoizedState!==null||Je,!n){e=e!==null&&e.memoizedState!==null||Tt,a=Je;var u=Tt;Je=n,(Tt=e)&&!u?$e(t,l,(l.subtreeFlags&8772)!==0):We(t,l),Je=a,Tt=u}break;case 30:break;default:We(t,l)}}function zr(t){var e=t.alternate;e!==null&&(t.alternate=null,zr(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&di(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var yt=null,Zt=!1;function ke(t,e,l){for(l=l.child;l!==null;)Or(t,e,l),l=l.sibling}function Or(t,e,l){if(It&&typeof It.onCommitFiberUnmount=="function")try{It.onCommitFiberUnmount(Hn,l)}catch{}switch(l.tag){case 26:Tt||Ne(l,e),ke(t,e,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Tt||Ne(l,e);var n=yt,a=Zt;bl(l.type)&&(yt=l.stateNode,Zt=!1),ke(t,e,l),ba(l.stateNode),yt=n,Zt=a;break;case 5:Tt||Ne(l,e);case 6:if(n=yt,a=Zt,yt=null,ke(t,e,l),yt=n,Zt=a,yt!==null)if(Zt)try{(yt.nodeType===9?yt.body:yt.nodeName==="HTML"?yt.ownerDocument.body:yt).removeChild(l.stateNode)}catch(u){ut(l,e,u)}else try{yt.removeChild(l.stateNode)}catch(u){ut(l,e,u)}break;case 18:yt!==null&&(Zt?(t=yt,ph(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),Cn(t)):ph(yt,l.stateNode));break;case 4:n=yt,a=Zt,yt=l.stateNode.containerInfo,Zt=!0,ke(t,e,l),yt=n,Zt=a;break;case 0:case 11:case 14:case 15:dl(2,l,e),Tt||dl(4,l,e),ke(t,e,l);break;case 1:Tt||(Ne(l,e),n=l.stateNode,typeof n.componentWillUnmount=="function"&&Sr(l,e,n)),ke(t,e,l);break;case 21:ke(t,e,l);break;case 22:Tt=(n=Tt)||l.memoizedState!==null,ke(t,e,l),Tt=n;break;default:ke(t,e,l)}}function Mr(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{Cn(t)}catch(l){ut(e,e.return,l)}}}function Dr(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{Cn(t)}catch(l){ut(e,e.return,l)}}function wy(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new Tr),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new Tr),e;default:throw Error(s(435,t.tag))}}function Eu(t,e){var l=wy(t);e.forEach(function(n){if(!l.has(n)){l.add(n);var a=em.bind(null,t,n);n.then(a,a)}})}function Kt(t,e){var l=e.deletions;if(l!==null)for(var n=0;n<l.length;n++){var a=l[n],u=t,c=e,r=c;t:for(;r!==null;){switch(r.tag){case 27:if(bl(r.type)){yt=r.stateNode,Zt=!1;break t}break;case 5:yt=r.stateNode,Zt=!1;break t;case 3:case 4:yt=r.stateNode.containerInfo,Zt=!0;break t}r=r.return}if(yt===null)throw Error(s(160));Or(u,c,a),yt=null,Zt=!1,u=a.alternate,u!==null&&(u.return=null),a.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Rr(e,t),e=e.sibling}var Ee=null;function Rr(t,e){var l=t.alternate,n=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Kt(e,t),wt(t),n&4&&(dl(3,t,t.return),oa(3,t),dl(5,t,t.return));break;case 1:Kt(e,t),wt(t),n&512&&(Tt||l===null||Ne(l,l.return)),n&64&&Je&&(t=t.updateQueue,t!==null&&(n=t.callbacks,n!==null&&(l=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=l===null?n:l.concat(n))));break;case 26:var a=Ee;if(Kt(e,t),wt(t),n&512&&(Tt||l===null||Ne(l,l.return)),n&4){var u=l!==null?l.memoizedState:null;if(n=t.memoizedState,l===null)if(n===null)if(t.stateNode===null){t:{n=t.type,l=t.memoizedProps,a=a.ownerDocument||a;e:switch(n){case"title":u=a.getElementsByTagName("title")[0],(!u||u[Ln]||u[Dt]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=a.createElement(n),a.head.insertBefore(u,a.querySelector("head > title"))),Ct(u,n,l),u[Dt]=t,Ot(u),n=u;break t;case"link":var c=Rh("link","href",a).get(n+(l.href||""));if(c){for(var r=0;r<c.length;r++)if(u=c[r],u.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&u.getAttribute("rel")===(l.rel==null?null:l.rel)&&u.getAttribute("title")===(l.title==null?null:l.title)&&u.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){c.splice(r,1);break e}}u=a.createElement(n),Ct(u,n,l),a.head.appendChild(u);break;case"meta":if(c=Rh("meta","content",a).get(n+(l.content||""))){for(r=0;r<c.length;r++)if(u=c[r],u.getAttribute("content")===(l.content==null?null:""+l.content)&&u.getAttribute("name")===(l.name==null?null:l.name)&&u.getAttribute("property")===(l.property==null?null:l.property)&&u.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&u.getAttribute("charset")===(l.charSet==null?null:l.charSet)){c.splice(r,1);break e}}u=a.createElement(n),Ct(u,n,l),a.head.appendChild(u);break;default:throw Error(s(468,n))}u[Dt]=t,Ot(u),n=u}t.stateNode=n}else Nh(a,t.type,t.stateNode);else t.stateNode=Dh(a,n,t.memoizedProps);else u!==n?(u===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):u.count--,n===null?Nh(a,t.type,t.stateNode):Dh(a,n,t.memoizedProps)):n===null&&t.stateNode!==null&&qc(t,t.memoizedProps,l.memoizedProps)}break;case 27:Kt(e,t),wt(t),n&512&&(Tt||l===null||Ne(l,l.return)),l!==null&&n&4&&qc(t,t.memoizedProps,l.memoizedProps);break;case 5:if(Kt(e,t),wt(t),n&512&&(Tt||l===null||Ne(l,l.return)),t.flags&32){a=t.stateNode;try{tn(a,"")}catch(C){ut(t,t.return,C)}}n&4&&t.stateNode!=null&&(a=t.memoizedProps,qc(t,a,l!==null?l.memoizedProps:a)),n&1024&&(xc=!0);break;case 6:if(Kt(e,t),wt(t),n&4){if(t.stateNode===null)throw Error(s(162));n=t.memoizedProps,l=t.stateNode;try{l.nodeValue=n}catch(C){ut(t,t.return,C)}}break;case 3:if(Lu=null,a=Ee,Ee=Yu(e.containerInfo),Kt(e,t),Ee=a,wt(t),n&4&&l!==null&&l.memoizedState.isDehydrated)try{Cn(e.containerInfo)}catch(C){ut(t,t.return,C)}xc&&(xc=!1,Nr(t));break;case 4:n=Ee,Ee=Yu(t.stateNode.containerInfo),Kt(e,t),wt(t),Ee=n;break;case 12:Kt(e,t),wt(t);break;case 31:Kt(e,t),wt(t),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,Eu(t,n)));break;case 13:Kt(e,t),wt(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Au=Ft()),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,Eu(t,n)));break;case 22:a=t.memoizedState!==null;var h=l!==null&&l.memoizedState!==null,p=Je,_=Tt;if(Je=p||a,Tt=_||h,Kt(e,t),Tt=_,Je=p,wt(t),n&8192)t:for(e=t.stateNode,e._visibility=a?e._visibility&-2:e._visibility|1,a&&(l===null||h||Je||Tt||Kl(t)),l=null,e=t;;){if(e.tag===5||e.tag===26){if(l===null){h=l=e;try{if(u=h.stateNode,a)c=u.style,typeof c.setProperty=="function"?c.setProperty("display","none","important"):c.display="none";else{r=h.stateNode;var A=h.memoizedProps.style,S=A!=null&&A.hasOwnProperty("display")?A.display:null;r.style.display=S==null||typeof S=="boolean"?"":(""+S).trim()}}catch(C){ut(h,h.return,C)}}}else if(e.tag===6){if(l===null){h=e;try{h.stateNode.nodeValue=a?"":h.memoizedProps}catch(C){ut(h,h.return,C)}}}else if(e.tag===18){if(l===null){h=e;try{var b=h.stateNode;a?Sh(b,!0):Sh(h.stateNode,!1)}catch(C){ut(h,h.return,C)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;l===e&&(l=null),e=e.return}l===e&&(l=null),e.sibling.return=e.return,e=e.sibling}n&4&&(n=t.updateQueue,n!==null&&(l=n.retryQueue,l!==null&&(n.retryQueue=null,Eu(t,l))));break;case 19:Kt(e,t),wt(t),n&4&&(n=t.updateQueue,n!==null&&(t.updateQueue=null,Eu(t,n)));break;case 30:break;case 21:break;default:Kt(e,t),wt(t)}}function wt(t){var e=t.flags;if(e&2){try{for(var l,n=t.return;n!==null;){if(_r(n)){l=n;break}n=n.return}if(l==null)throw Error(s(160));switch(l.tag){case 27:var a=l.stateNode,u=Hc(t);_u(t,u,a);break;case 5:var c=l.stateNode;l.flags&32&&(tn(c,""),l.flags&=-33);var r=Hc(t);_u(t,r,c);break;case 3:case 4:var h=l.stateNode.containerInfo,p=Hc(t);Yc(t,p,h);break;default:throw Error(s(161))}}catch(_){ut(t,t.return,_)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Nr(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Nr(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function We(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Ar(t,e.alternate,e),e=e.sibling}function Kl(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:dl(4,e,e.return),Kl(e);break;case 1:Ne(e,e.return);var l=e.stateNode;typeof l.componentWillUnmount=="function"&&Sr(e,e.return,l),Kl(e);break;case 27:ba(e.stateNode);case 26:case 5:Ne(e,e.return),Kl(e);break;case 22:e.memoizedState===null&&Kl(e);break;case 30:Kl(e);break;default:Kl(e)}t=t.sibling}}function $e(t,e,l){for(l=l&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var n=e.alternate,a=t,u=e,c=u.flags;switch(u.tag){case 0:case 11:case 15:$e(a,u,l),oa(4,u);break;case 1:if($e(a,u,l),n=u,a=n.stateNode,typeof a.componentDidMount=="function")try{a.componentDidMount()}catch(p){ut(n,n.return,p)}if(n=u,a=n.updateQueue,a!==null){var r=n.stateNode;try{var h=a.shared.hiddenCallbacks;if(h!==null)for(a.shared.hiddenCallbacks=null,a=0;a<h.length;a++)io(h[a],r)}catch(p){ut(n,n.return,p)}}l&&c&64&&pr(u),ra(u,u.return);break;case 27:Er(u);case 26:case 5:$e(a,u,l),l&&n===null&&c&4&&br(u),ra(u,u.return);break;case 12:$e(a,u,l);break;case 31:$e(a,u,l),l&&c&4&&Mr(a,u);break;case 13:$e(a,u,l),l&&c&4&&Dr(a,u);break;case 22:u.memoizedState===null&&$e(a,u,l),ra(u,u.return);break;case 30:break;default:$e(a,u,l)}e=e.sibling}}function Lc(t,e){var l=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==l&&(t!=null&&t.refCount++,l!=null&&Fn(l))}function Xc(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Fn(t))}function Te(t,e,l,n){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Ur(t,e,l,n),e=e.sibling}function Ur(t,e,l,n){var a=e.flags;switch(e.tag){case 0:case 11:case 15:Te(t,e,l,n),a&2048&&oa(9,e);break;case 1:Te(t,e,l,n);break;case 3:Te(t,e,l,n),a&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&Fn(t)));break;case 12:if(a&2048){Te(t,e,l,n),t=e.stateNode;try{var u=e.memoizedProps,c=u.id,r=u.onPostCommit;typeof r=="function"&&r(c,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(h){ut(e,e.return,h)}}else Te(t,e,l,n);break;case 31:Te(t,e,l,n);break;case 13:Te(t,e,l,n);break;case 23:break;case 22:u=e.stateNode,c=e.alternate,e.memoizedState!==null?u._visibility&2?Te(t,e,l,n):ha(t,e):u._visibility&2?Te(t,e,l,n):(u._visibility|=2,_n(t,e,l,n,(e.subtreeFlags&10256)!==0||!1)),a&2048&&Lc(c,e);break;case 24:Te(t,e,l,n),a&2048&&Xc(e.alternate,e);break;default:Te(t,e,l,n)}}function _n(t,e,l,n,a){for(a=a&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var u=t,c=e,r=l,h=n,p=c.flags;switch(c.tag){case 0:case 11:case 15:_n(u,c,r,h,a),oa(8,c);break;case 23:break;case 22:var _=c.stateNode;c.memoizedState!==null?_._visibility&2?_n(u,c,r,h,a):ha(u,c):(_._visibility|=2,_n(u,c,r,h,a)),a&&p&2048&&Lc(c.alternate,c);break;case 24:_n(u,c,r,h,a),a&&p&2048&&Xc(c.alternate,c);break;default:_n(u,c,r,h,a)}e=e.sibling}}function ha(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var l=t,n=e,a=n.flags;switch(n.tag){case 22:ha(l,n),a&2048&&Lc(n.alternate,n);break;case 24:ha(l,n),a&2048&&Xc(n.alternate,n);break;default:ha(l,n)}e=e.sibling}}var da=8192;function En(t,e,l){if(t.subtreeFlags&da)for(t=t.child;t!==null;)Cr(t,e,l),t=t.sibling}function Cr(t,e,l){switch(t.tag){case 26:En(t,e,l),t.flags&da&&t.memoizedState!==null&&Cm(l,Ee,t.memoizedState,t.memoizedProps);break;case 5:En(t,e,l);break;case 3:case 4:var n=Ee;Ee=Yu(t.stateNode.containerInfo),En(t,e,l),Ee=n;break;case 22:t.memoizedState===null&&(n=t.alternate,n!==null&&n.memoizedState!==null?(n=da,da=16777216,En(t,e,l),da=n):En(t,e,l));break;default:En(t,e,l)}}function Br(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function ya(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var n=e[l];Mt=n,Hr(n,t)}Br(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)qr(t),t=t.sibling}function qr(t){switch(t.tag){case 0:case 11:case 15:ya(t),t.flags&2048&&dl(9,t,t.return);break;case 3:ya(t);break;case 12:ya(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,Tu(t)):ya(t);break;default:ya(t)}}function Tu(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var n=e[l];Mt=n,Hr(n,t)}Br(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:dl(8,e,e.return),Tu(e);break;case 22:l=e.stateNode,l._visibility&2&&(l._visibility&=-3,Tu(e));break;default:Tu(e)}t=t.sibling}}function Hr(t,e){for(;Mt!==null;){var l=Mt;switch(l.tag){case 0:case 11:case 15:dl(8,l,e);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var n=l.memoizedState.cachePool.pool;n!=null&&n.refCount++}break;case 24:Fn(l.memoizedState.cache)}if(n=l.child,n!==null)n.return=l,Mt=n;else t:for(l=t;Mt!==null;){n=Mt;var a=n.sibling,u=n.return;if(zr(n),n===l){Mt=null;break t}if(a!==null){a.return=u,Mt=a;break t}Mt=u}}}var Jy={getCacheForType:function(t){var e=Nt(bt),l=e.data.get(t);return l===void 0&&(l=t(),e.data.set(t,l)),l},cacheSignal:function(){return Nt(bt).controller.signal}},ky=typeof WeakMap=="function"?WeakMap:Map,et=0,rt=null,w=null,k=0,at=0,ae=null,yl=!1,Tn=!1,Qc=!1,Fe=0,vt=0,ml=0,wl=0,jc=0,ue=0,An=0,ma=null,Jt=null,Gc=!1,Au=0,Yr=0,zu=1/0,Ou=null,vl=null,zt=0,gl=null,zn=null,Ie=0,Vc=0,Zc=null,xr=null,va=0,Kc=null;function ie(){return(et&2)!==0&&k!==0?k&-k:E.T!==null?Fc():If()}function Lr(){if(ue===0)if((k&536870912)===0||F){var t=qa;qa<<=1,(qa&3932160)===0&&(qa=262144),ue=t}else ue=536870912;return t=le.current,t!==null&&(t.flags|=32),ue}function kt(t,e,l){(t===rt&&(at===2||at===9)||t.cancelPendingCommit!==null)&&(On(t,0),pl(t,k,ue,!1)),xn(t,l),((et&2)===0||t!==rt)&&(t===rt&&((et&2)===0&&(wl|=l),vt===4&&pl(t,k,ue,!1)),Ue(t))}function Xr(t,e,l){if((et&6)!==0)throw Error(s(327));var n=!l&&(e&127)===0&&(e&t.expiredLanes)===0||Yn(t,e),a=n?Fy(t,e):Jc(t,e,!0),u=n;do{if(a===0){Tn&&!n&&pl(t,e,0,!1);break}else{if(l=t.current.alternate,u&&!Wy(l)){a=Jc(t,e,!1),u=!1;continue}if(a===2){if(u=e,t.errorRecoveryDisabledLanes&u)var c=0;else c=t.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){e=c;t:{var r=t;a=ma;var h=r.current.memoizedState.isDehydrated;if(h&&(On(r,c).flags|=256),c=Jc(r,c,!1),c!==2){if(Qc&&!h){r.errorRecoveryDisabledLanes|=u,wl|=u,a=4;break t}u=Jt,Jt=a,u!==null&&(Jt===null?Jt=u:Jt.push.apply(Jt,u))}a=c}if(u=!1,a!==2)continue}}if(a===1){On(t,0),pl(t,e,0,!0);break}t:{switch(n=t,u=a,u){case 0:case 1:throw Error(s(345));case 4:if((e&4194048)!==e)break;case 6:pl(n,e,ue,!yl);break t;case 2:Jt=null;break;case 3:case 5:break;default:throw Error(s(329))}if((e&62914560)===e&&(a=Au+300-Ft(),10<a)){if(pl(n,e,ue,!yl),Ya(n,0,!0)!==0)break t;Ie=e,n.timeoutHandle=vh(Qr.bind(null,n,l,Jt,Ou,Gc,e,ue,wl,An,yl,u,"Throttled",-0,0),a);break t}Qr(n,l,Jt,Ou,Gc,e,ue,wl,An,yl,u,null,-0,0)}}break}while(!0);Ue(t)}function Qr(t,e,l,n,a,u,c,r,h,p,_,A,S,b){if(t.timeoutHandle=-1,A=e.subtreeFlags,A&8192||(A&16785408)===16785408){A={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:xe},Cr(e,u,A);var C=(u&62914560)===u?Au-Ft():(u&4194048)===u?Yr-Ft():0;if(C=Bm(A,C),C!==null){Ie=u,t.cancelPendingCommit=C(kr.bind(null,t,e,u,l,n,a,c,r,h,_,A,null,S,b)),pl(t,u,c,!p);return}}kr(t,e,u,l,n,a,c,r,h)}function Wy(t){for(var e=t;;){var l=e.tag;if((l===0||l===11||l===15)&&e.flags&16384&&(l=e.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var n=0;n<l.length;n++){var a=l[n],u=a.getSnapshot;a=a.value;try{if(!te(u(),a))return!1}catch{return!1}}if(l=e.child,e.subtreeFlags&16384&&l!==null)l.return=e,e=l;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function pl(t,e,l,n){e&=~jc,e&=~wl,t.suspendedLanes|=e,t.pingedLanes&=~e,n&&(t.warmLanes|=e),n=t.expirationTimes;for(var a=e;0<a;){var u=31-Pt(a),c=1<<u;n[u]=-1,a&=~c}l!==0&&Wf(t,l,e)}function Mu(){return(et&6)===0?(ga(0),!1):!0}function wc(){if(w!==null){if(at===0)var t=w.return;else t=w,je=xl=null,fc(t),vn=null,Pn=0,t=w;for(;t!==null;)gr(t.alternate,t),t=t.return;w=null}}function On(t,e){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,mm(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),Ie=0,wc(),rt=t,w=l=Xe(t.current,null),k=e,at=0,ae=null,yl=!1,Tn=Yn(t,e),Qc=!1,An=ue=jc=wl=ml=vt=0,Jt=ma=null,Gc=!1,(e&8)!==0&&(e|=e&32);var n=t.entangledLanes;if(n!==0)for(t=t.entanglements,n&=e;0<n;){var a=31-Pt(n),u=1<<a;e|=t[a],n&=~u}return Fe=e,ka(),l}function jr(t,e){V=null,E.H=ca,e===mn||e===lu?(e=lo(),at=3):e===$i?(e=lo(),at=4):at=e===Ac?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,ae=e,w===null&&(vt=1,vu(t,he(e,t.current)))}function Gr(){var t=le.current;return t===null?!0:(k&4194048)===k?ve===null:(k&62914560)===k||(k&536870912)!==0?t===ve:!1}function Vr(){var t=E.H;return E.H=ca,t===null?ca:t}function Zr(){var t=E.A;return E.A=Jy,t}function Du(){vt=4,yl||(k&4194048)!==k&&le.current!==null||(Tn=!0),(ml&134217727)===0&&(wl&134217727)===0||rt===null||pl(rt,k,ue,!1)}function Jc(t,e,l){var n=et;et|=2;var a=Vr(),u=Zr();(rt!==t||k!==e)&&(Ou=null,On(t,e)),e=!1;var c=vt;t:do try{if(at!==0&&w!==null){var r=w,h=ae;switch(at){case 8:wc(),c=6;break t;case 3:case 2:case 9:case 6:le.current===null&&(e=!0);var p=at;if(at=0,ae=null,Mn(t,r,h,p),l&&Tn){c=0;break t}break;default:p=at,at=0,ae=null,Mn(t,r,h,p)}}$y(),c=vt;break}catch(_){jr(t,_)}while(!0);return e&&t.shellSuspendCounter++,je=xl=null,et=n,E.H=a,E.A=u,w===null&&(rt=null,k=0,ka()),c}function $y(){for(;w!==null;)Kr(w)}function Fy(t,e){var l=et;et|=2;var n=Vr(),a=Zr();rt!==t||k!==e?(Ou=null,zu=Ft()+500,On(t,e)):Tn=Yn(t,e);t:do try{if(at!==0&&w!==null){e=w;var u=ae;e:switch(at){case 1:at=0,ae=null,Mn(t,e,u,1);break;case 2:case 9:if(to(u)){at=0,ae=null,wr(e);break}e=function(){at!==2&&at!==9||rt!==t||(at=7),Ue(t)},u.then(e,e);break t;case 3:at=7;break t;case 4:at=5;break t;case 7:to(u)?(at=0,ae=null,wr(e)):(at=0,ae=null,Mn(t,e,u,7));break;case 5:var c=null;switch(w.tag){case 26:c=w.memoizedState;case 5:case 27:var r=w;if(c?Uh(c):r.stateNode.complete){at=0,ae=null;var h=r.sibling;if(h!==null)w=h;else{var p=r.return;p!==null?(w=p,Ru(p)):w=null}break e}}at=0,ae=null,Mn(t,e,u,5);break;case 6:at=0,ae=null,Mn(t,e,u,6);break;case 8:wc(),vt=6;break t;default:throw Error(s(462))}}Iy();break}catch(_){jr(t,_)}while(!0);return je=xl=null,E.H=n,E.A=a,et=l,w!==null?0:(rt=null,k=0,ka(),vt)}function Iy(){for(;w!==null&&!_d();)Kr(w)}function Kr(t){var e=mr(t.alternate,t,Fe);t.memoizedProps=t.pendingProps,e===null?Ru(t):w=e}function wr(t){var e=t,l=e.alternate;switch(e.tag){case 15:case 0:e=sr(l,e,e.pendingProps,e.type,void 0,k);break;case 11:e=sr(l,e,e.pendingProps,e.type.render,e.ref,k);break;case 5:fc(e);default:gr(l,e),e=w=Vs(e,Fe),e=mr(l,e,Fe)}t.memoizedProps=t.pendingProps,e===null?Ru(t):w=e}function Mn(t,e,l,n){je=xl=null,fc(e),vn=null,Pn=0;var a=e.return;try{if(Qy(t,a,e,l,k)){vt=1,vu(t,he(l,t.current)),w=null;return}}catch(u){if(a!==null)throw w=a,u;vt=1,vu(t,he(l,t.current)),w=null;return}e.flags&32768?(F||n===1?t=!0:Tn||(k&536870912)!==0?t=!1:(yl=t=!0,(n===2||n===9||n===3||n===6)&&(n=le.current,n!==null&&n.tag===13&&(n.flags|=16384))),Jr(e,t)):Ru(e)}function Ru(t){var e=t;do{if((e.flags&32768)!==0){Jr(e,yl);return}t=e.return;var l=Vy(e.alternate,e,Fe);if(l!==null){w=l;return}if(e=e.sibling,e!==null){w=e;return}w=e=t}while(e!==null);vt===0&&(vt=5)}function Jr(t,e){do{var l=Zy(t.alternate,t);if(l!==null){l.flags&=32767,w=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!e&&(t=t.sibling,t!==null)){w=t;return}w=t=l}while(t!==null);vt=6,w=null}function kr(t,e,l,n,a,u,c,r,h){t.cancelPendingCommit=null;do Nu();while(zt!==0);if((et&6)!==0)throw Error(s(327));if(e!==null){if(e===t.current)throw Error(s(177));if(u=e.lanes|e.childLanes,u|=Hi,Ud(t,l,u,c,r,h),t===rt&&(w=rt=null,k=0),zn=e,gl=t,Ie=l,Vc=u,Zc=a,xr=n,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,lm(Ca,function(){return Pr(),null})):(t.callbackNode=null,t.callbackPriority=0),n=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||n){n=E.T,E.T=null,a=R.p,R.p=2,c=et,et|=4;try{Ky(t,e,l)}finally{et=c,R.p=a,E.T=n}}zt=1,Wr(),$r(),Fr()}}function Wr(){if(zt===1){zt=0;var t=gl,e=zn,l=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||l){l=E.T,E.T=null;var n=R.p;R.p=2;var a=et;et|=4;try{Rr(e,t);var u=uf,c=qs(t.containerInfo),r=u.focusedElem,h=u.selectionRange;if(c!==r&&r&&r.ownerDocument&&Bs(r.ownerDocument.documentElement,r)){if(h!==null&&Ni(r)){var p=h.start,_=h.end;if(_===void 0&&(_=p),"selectionStart"in r)r.selectionStart=p,r.selectionEnd=Math.min(_,r.value.length);else{var A=r.ownerDocument||document,S=A&&A.defaultView||window;if(S.getSelection){var b=S.getSelection(),C=r.textContent.length,x=Math.min(h.start,C),st=h.end===void 0?x:Math.min(h.end,C);!b.extend&&x>st&&(c=st,st=x,x=c);var m=Cs(r,x),d=Cs(r,st);if(m&&d&&(b.rangeCount!==1||b.anchorNode!==m.node||b.anchorOffset!==m.offset||b.focusNode!==d.node||b.focusOffset!==d.offset)){var g=A.createRange();g.setStart(m.node,m.offset),b.removeAllRanges(),x>st?(b.addRange(g),b.extend(d.node,d.offset)):(g.setEnd(d.node,d.offset),b.addRange(g))}}}}for(A=[],b=r;b=b.parentNode;)b.nodeType===1&&A.push({element:b,left:b.scrollLeft,top:b.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<A.length;r++){var T=A[r];T.element.scrollLeft=T.left,T.element.scrollTop=T.top}}Gu=!!af,uf=af=null}finally{et=a,R.p=n,E.T=l}}t.current=e,zt=2}}function $r(){if(zt===2){zt=0;var t=gl,e=zn,l=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||l){l=E.T,E.T=null;var n=R.p;R.p=2;var a=et;et|=4;try{Ar(t,e.alternate,e)}finally{et=a,R.p=n,E.T=l}}zt=3}}function Fr(){if(zt===4||zt===3){zt=0,Ed();var t=gl,e=zn,l=Ie,n=xr;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?zt=5:(zt=0,zn=gl=null,Ir(t,t.pendingLanes));var a=t.pendingLanes;if(a===0&&(vl=null),ri(l),e=e.stateNode,It&&typeof It.onCommitFiberRoot=="function")try{It.onCommitFiberRoot(Hn,e,void 0,(e.current.flags&128)===128)}catch{}if(n!==null){e=E.T,a=R.p,R.p=2,E.T=null;try{for(var u=t.onRecoverableError,c=0;c<n.length;c++){var r=n[c];u(r.value,{componentStack:r.stack})}}finally{E.T=e,R.p=a}}(Ie&3)!==0&&Nu(),Ue(t),a=t.pendingLanes,(l&261930)!==0&&(a&42)!==0?t===Kc?va++:(va=0,Kc=t):va=0,ga(0)}}function Ir(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,Fn(e)))}function Nu(){return Wr(),$r(),Fr(),Pr()}function Pr(){if(zt!==5)return!1;var t=gl,e=Vc;Vc=0;var l=ri(Ie),n=E.T,a=R.p;try{R.p=32>l?32:l,E.T=null,l=Zc,Zc=null;var u=gl,c=Ie;if(zt=0,zn=gl=null,Ie=0,(et&6)!==0)throw Error(s(331));var r=et;if(et|=4,qr(u.current),Ur(u,u.current,c,l),et=r,ga(0,!1),It&&typeof It.onPostCommitFiberRoot=="function")try{It.onPostCommitFiberRoot(Hn,u)}catch{}return!0}finally{R.p=a,E.T=n,Ir(t,e)}}function th(t,e,l){e=he(l,e),e=Tc(t.stateNode,e,2),t=ol(t,e,2),t!==null&&(xn(t,2),Ue(t))}function ut(t,e,l){if(t.tag===3)th(t,t,l);else for(;e!==null;){if(e.tag===3){th(e,t,l);break}else if(e.tag===1){var n=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(vl===null||!vl.has(n))){t=he(l,t),l=er(2),n=ol(e,l,2),n!==null&&(lr(l,n,e,t),xn(n,2),Ue(n));break}}e=e.return}}function kc(t,e,l){var n=t.pingCache;if(n===null){n=t.pingCache=new ky;var a=new Set;n.set(e,a)}else a=n.get(e),a===void 0&&(a=new Set,n.set(e,a));a.has(l)||(Qc=!0,a.add(l),t=Py.bind(null,t,e,l),e.then(t,t))}function Py(t,e,l){var n=t.pingCache;n!==null&&n.delete(e),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,rt===t&&(k&l)===l&&(vt===4||vt===3&&(k&62914560)===k&&300>Ft()-Au?(et&2)===0&&On(t,0):jc|=l,An===k&&(An=0)),Ue(t)}function eh(t,e){e===0&&(e=kf()),t=ql(t,e),t!==null&&(xn(t,e),Ue(t))}function tm(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),eh(t,l)}function em(t,e){var l=0;switch(t.tag){case 31:case 13:var n=t.stateNode,a=t.memoizedState;a!==null&&(l=a.retryLane);break;case 19:n=t.stateNode;break;case 22:n=t.stateNode._retryCache;break;default:throw Error(s(314))}n!==null&&n.delete(e),eh(t,l)}function lm(t,e){return ci(t,e)}var Uu=null,Dn=null,Wc=!1,Cu=!1,$c=!1,Sl=0;function Ue(t){t!==Dn&&t.next===null&&(Dn===null?Uu=Dn=t:Dn=Dn.next=t),Cu=!0,Wc||(Wc=!0,am())}function ga(t,e){if(!$c&&Cu){$c=!0;do for(var l=!1,n=Uu;n!==null;){if(t!==0){var a=n.pendingLanes;if(a===0)var u=0;else{var c=n.suspendedLanes,r=n.pingedLanes;u=(1<<31-Pt(42|t)+1)-1,u&=a&~(c&~r),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(l=!0,uh(n,u))}else u=k,u=Ya(n,n===rt?u:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(u&3)===0||Yn(n,u)||(l=!0,uh(n,u));n=n.next}while(l);$c=!1}}function nm(){lh()}function lh(){Cu=Wc=!1;var t=0;Sl!==0&&ym()&&(t=Sl);for(var e=Ft(),l=null,n=Uu;n!==null;){var a=n.next,u=nh(n,e);u===0?(n.next=null,l===null?Uu=a:l.next=a,a===null&&(Dn=l)):(l=n,(t!==0||(u&3)!==0)&&(Cu=!0)),n=a}zt!==0&&zt!==5||ga(t),Sl!==0&&(Sl=0)}function nh(t,e){for(var l=t.suspendedLanes,n=t.pingedLanes,a=t.expirationTimes,u=t.pendingLanes&-62914561;0<u;){var c=31-Pt(u),r=1<<c,h=a[c];h===-1?((r&l)===0||(r&n)!==0)&&(a[c]=Nd(r,e)):h<=e&&(t.expiredLanes|=r),u&=~r}if(e=rt,l=k,l=Ya(t,t===e?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),n=t.callbackNode,l===0||t===e&&(at===2||at===9)||t.cancelPendingCommit!==null)return n!==null&&n!==null&&fi(n),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||Yn(t,l)){if(e=l&-l,e===t.callbackPriority)return e;switch(n!==null&&fi(n),ri(l)){case 2:case 8:l=wf;break;case 32:l=Ca;break;case 268435456:l=Jf;break;default:l=Ca}return n=ah.bind(null,t),l=ci(l,n),t.callbackPriority=e,t.callbackNode=l,e}return n!==null&&n!==null&&fi(n),t.callbackPriority=2,t.callbackNode=null,2}function ah(t,e){if(zt!==0&&zt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(Nu()&&t.callbackNode!==l)return null;var n=k;return n=Ya(t,t===rt?n:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),n===0?null:(Xr(t,n,e),nh(t,Ft()),t.callbackNode!=null&&t.callbackNode===l?ah.bind(null,t):null)}function uh(t,e){if(Nu())return null;Xr(t,e,!0)}function am(){vm(function(){(et&6)!==0?ci(Kf,nm):lh()})}function Fc(){if(Sl===0){var t=dn;t===0&&(t=Ba,Ba<<=1,(Ba&261888)===0&&(Ba=256)),Sl=t}return Sl}function ih(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Qa(""+t)}function ch(t,e){var l=e.ownerDocument.createElement("input");return l.name=e.name,l.value=e.value,t.id&&l.setAttribute("form",t.id),e.parentNode.insertBefore(l,e),t=new FormData(t),l.parentNode.removeChild(l),t}function um(t,e,l,n,a){if(e==="submit"&&l&&l.stateNode===a){var u=ih((a[Gt]||null).action),c=n.submitter;c&&(e=(e=c[Gt]||null)?ih(e.formAction):c.getAttribute("formAction"),e!==null&&(u=e,c=null));var r=new Za("action","action",null,n,a);t.push({event:r,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(Sl!==0){var h=c?ch(a,c):new FormData(a);gc(l,{pending:!0,data:h,method:a.method,action:u},null,h)}}else typeof u=="function"&&(r.preventDefault(),h=c?ch(a,c):new FormData(a),gc(l,{pending:!0,data:h,method:a.method,action:u},u,h))},currentTarget:a}]})}}for(var Ic=0;Ic<qi.length;Ic++){var Pc=qi[Ic],im=Pc.toLowerCase(),cm=Pc[0].toUpperCase()+Pc.slice(1);_e(im,"on"+cm)}_e(xs,"onAnimationEnd"),_e(Ls,"onAnimationIteration"),_e(Xs,"onAnimationStart"),_e("dblclick","onDoubleClick"),_e("focusin","onFocus"),_e("focusout","onBlur"),_e(Ty,"onTransitionRun"),_e(Ay,"onTransitionStart"),_e(zy,"onTransitionCancel"),_e(Qs,"onTransitionEnd"),Il("onMouseEnter",["mouseout","mouseover"]),Il("onMouseLeave",["mouseout","mouseover"]),Il("onPointerEnter",["pointerout","pointerover"]),Il("onPointerLeave",["pointerout","pointerover"]),Nl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Nl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Nl("onBeforeInput",["compositionend","keypress","textInput","paste"]),Nl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Nl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Nl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var pa="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(" "),fm=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(pa));function fh(t,e){e=(e&4)!==0;for(var l=0;l<t.length;l++){var n=t[l],a=n.event;n=n.listeners;t:{var u=void 0;if(e)for(var c=n.length-1;0<=c;c--){var r=n[c],h=r.instance,p=r.currentTarget;if(r=r.listener,h!==u&&a.isPropagationStopped())break t;u=r,a.currentTarget=p;try{u(a)}catch(_){Ja(_)}a.currentTarget=null,u=h}else for(c=0;c<n.length;c++){if(r=n[c],h=r.instance,p=r.currentTarget,r=r.listener,h!==u&&a.isPropagationStopped())break t;u=r,a.currentTarget=p;try{u(a)}catch(_){Ja(_)}a.currentTarget=null,u=h}}}}function J(t,e){var l=e[hi];l===void 0&&(l=e[hi]=new Set);var n=t+"__bubble";l.has(n)||(sh(e,t,2,!1),l.add(n))}function tf(t,e,l){var n=0;e&&(n|=4),sh(l,t,n,e)}var Bu="_reactListening"+Math.random().toString(36).slice(2);function ef(t){if(!t[Bu]){t[Bu]=!0,es.forEach(function(l){l!=="selectionchange"&&(fm.has(l)||tf(l,!1,t),tf(l,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Bu]||(e[Bu]=!0,tf("selectionchange",!1,e))}}function sh(t,e,l,n){switch(Lh(e)){case 2:var a=Ym;break;case 8:a=xm;break;default:a=gf}l=a.bind(null,e,l,t),a=void 0,!_i||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(a=!0),n?a!==void 0?t.addEventListener(e,l,{capture:!0,passive:a}):t.addEventListener(e,l,!0):a!==void 0?t.addEventListener(e,l,{passive:a}):t.addEventListener(e,l,!1)}function lf(t,e,l,n,a){var u=n;if((e&1)===0&&(e&2)===0&&n!==null)t:for(;;){if(n===null)return;var c=n.tag;if(c===3||c===4){var r=n.stateNode.containerInfo;if(r===a)break;if(c===4)for(c=n.return;c!==null;){var h=c.tag;if((h===3||h===4)&&c.stateNode.containerInfo===a)return;c=c.return}for(;r!==null;){if(c=Wl(r),c===null)return;if(h=c.tag,h===5||h===6||h===26||h===27){n=u=c;continue t}r=r.parentNode}}n=n.return}ds(function(){var p=u,_=Si(l),A=[];t:{var S=js.get(t);if(S!==void 0){var b=Za,C=t;switch(t){case"keypress":if(Ga(l)===0)break t;case"keydown":case"keyup":b=ey;break;case"focusin":C="focus",b=zi;break;case"focusout":C="blur",b=zi;break;case"beforeblur":case"afterblur":b=zi;break;case"click":if(l.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":b=vs;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":b=Vd;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":b=ay;break;case xs:case Ls:case Xs:b=wd;break;case Qs:b=iy;break;case"scroll":case"scrollend":b=jd;break;case"wheel":b=fy;break;case"copy":case"cut":case"paste":b=kd;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":b=ps;break;case"toggle":case"beforetoggle":b=oy}var x=(e&4)!==0,st=!x&&(t==="scroll"||t==="scrollend"),m=x?S!==null?S+"Capture":null:S;x=[];for(var d=p,g;d!==null;){var T=d;if(g=T.stateNode,T=T.tag,T!==5&&T!==26&&T!==27||g===null||m===null||(T=Qn(d,m),T!=null&&x.push(Sa(d,T,g))),st)break;d=d.return}0<x.length&&(S=new b(S,C,null,l,_),A.push({event:S,listeners:x}))}}if((e&7)===0){t:{if(S=t==="mouseover"||t==="pointerover",b=t==="mouseout"||t==="pointerout",S&&l!==pi&&(C=l.relatedTarget||l.fromElement)&&(Wl(C)||C[kl]))break t;if((b||S)&&(S=_.window===_?_:(S=_.ownerDocument)?S.defaultView||S.parentWindow:window,b?(C=l.relatedTarget||l.toElement,b=p,C=C?Wl(C):null,C!==null&&(st=O(C),x=C.tag,C!==st||x!==5&&x!==27&&x!==6)&&(C=null)):(b=null,C=p),b!==C)){if(x=vs,T="onMouseLeave",m="onMouseEnter",d="mouse",(t==="pointerout"||t==="pointerover")&&(x=ps,T="onPointerLeave",m="onPointerEnter",d="pointer"),st=b==null?S:Xn(b),g=C==null?S:Xn(C),S=new x(T,d+"leave",b,l,_),S.target=st,S.relatedTarget=g,T=null,Wl(_)===p&&(x=new x(m,d+"enter",C,l,_),x.target=g,x.relatedTarget=st,T=x),st=T,b&&C)e:{for(x=sm,m=b,d=C,g=0,T=m;T;T=x(T))g++;T=0;for(var Y=d;Y;Y=x(Y))T++;for(;0<g-T;)m=x(m),g--;for(;0<T-g;)d=x(d),T--;for(;g--;){if(m===d||d!==null&&m===d.alternate){x=m;break e}m=x(m),d=x(d)}x=null}else x=null;b!==null&&oh(A,S,b,x,!1),C!==null&&st!==null&&oh(A,st,C,x,!0)}}t:{if(S=p?Xn(p):window,b=S.nodeName&&S.nodeName.toLowerCase(),b==="select"||b==="input"&&S.type==="file")var P=Os;else if(As(S))if(Ms)P=by;else{P=py;var q=gy}else b=S.nodeName,!b||b.toLowerCase()!=="input"||S.type!=="checkbox"&&S.type!=="radio"?p&&gi(p.elementType)&&(P=Os):P=Sy;if(P&&(P=P(t,p))){zs(A,P,l,_);break t}q&&q(t,S,p),t==="focusout"&&p&&S.type==="number"&&p.memoizedProps.value!=null&&vi(S,"number",S.value)}switch(q=p?Xn(p):window,t){case"focusin":(As(q)||q.contentEditable==="true")&&(an=q,Ui=p,kn=null);break;case"focusout":kn=Ui=an=null;break;case"mousedown":Ci=!0;break;case"contextmenu":case"mouseup":case"dragend":Ci=!1,Hs(A,l,_);break;case"selectionchange":if(Ey)break;case"keydown":case"keyup":Hs(A,l,_)}var Z;if(Mi)t:{switch(t){case"compositionstart":var W="onCompositionStart";break t;case"compositionend":W="onCompositionEnd";break t;case"compositionupdate":W="onCompositionUpdate";break t}W=void 0}else nn?Es(t,l)&&(W="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(W="onCompositionStart");W&&(Ss&&l.locale!=="ko"&&(nn||W!=="onCompositionStart"?W==="onCompositionEnd"&&nn&&(Z=ys()):(nl=_,Ei="value"in nl?nl.value:nl.textContent,nn=!0)),q=qu(p,W),0<q.length&&(W=new gs(W,t,null,l,_),A.push({event:W,listeners:q}),Z?W.data=Z:(Z=Ts(l),Z!==null&&(W.data=Z)))),(Z=hy?dy(t,l):yy(t,l))&&(W=qu(p,"onBeforeInput"),0<W.length&&(q=new gs("onBeforeInput","beforeinput",null,l,_),A.push({event:q,listeners:W}),q.data=Z)),um(A,t,p,l,_)}fh(A,e)})}function Sa(t,e,l){return{instance:t,listener:e,currentTarget:l}}function qu(t,e){for(var l=e+"Capture",n=[];t!==null;){var a=t,u=a.stateNode;if(a=a.tag,a!==5&&a!==26&&a!==27||u===null||(a=Qn(t,l),a!=null&&n.unshift(Sa(t,a,u)),a=Qn(t,e),a!=null&&n.push(Sa(t,a,u))),t.tag===3)return n;t=t.return}return[]}function sm(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function oh(t,e,l,n,a){for(var u=e._reactName,c=[];l!==null&&l!==n;){var r=l,h=r.alternate,p=r.stateNode;if(r=r.tag,h!==null&&h===n)break;r!==5&&r!==26&&r!==27||p===null||(h=p,a?(p=Qn(l,u),p!=null&&c.unshift(Sa(l,p,h))):a||(p=Qn(l,u),p!=null&&c.push(Sa(l,p,h)))),l=l.return}c.length!==0&&t.push({event:e,listeners:c})}var om=/\r\n?/g,rm=/\u0000|\uFFFD/g;function rh(t){return(typeof t=="string"?t:""+t).replace(om,`
|
|
49
|
-
`).replace(rm,"")}function hh(t,e){return e=rh(e),rh(t)===e}function ft(t,e,l,n,a,u){switch(l){case"children":typeof n=="string"?e==="body"||e==="textarea"&&n===""||tn(t,n):(typeof n=="number"||typeof n=="bigint")&&e!=="body"&&tn(t,""+n);break;case"className":La(t,"class",n);break;case"tabIndex":La(t,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":La(t,l,n);break;case"style":rs(t,n,u);break;case"data":if(e!=="object"){La(t,"data",n);break}case"src":case"href":if(n===""&&(e!=="a"||l!=="href")){t.removeAttribute(l);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){t.removeAttribute(l);break}n=Qa(""+n),t.setAttribute(l,n);break;case"action":case"formAction":if(typeof n=="function"){t.setAttribute(l,"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 u=="function"&&(l==="formAction"?(e!=="input"&&ft(t,e,"name",a.name,a,null),ft(t,e,"formEncType",a.formEncType,a,null),ft(t,e,"formMethod",a.formMethod,a,null),ft(t,e,"formTarget",a.formTarget,a,null)):(ft(t,e,"encType",a.encType,a,null),ft(t,e,"method",a.method,a,null),ft(t,e,"target",a.target,a,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){t.removeAttribute(l);break}n=Qa(""+n),t.setAttribute(l,n);break;case"onClick":n!=null&&(t.onclick=xe);break;case"onScroll":n!=null&&J("scroll",t);break;case"onScrollEnd":n!=null&&J("scrollend",t);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(s(61));if(l=n.__html,l!=null){if(a.children!=null)throw Error(s(60));t.innerHTML=l}}break;case"multiple":t.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":t.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"){t.removeAttribute("xlink:href");break}l=Qa(""+n),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);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"?t.setAttribute(l,""+n):t.removeAttribute(l);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"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":n===!0?t.setAttribute(l,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?t.setAttribute(l,n):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?t.setAttribute(l,n):t.removeAttribute(l);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?t.removeAttribute(l):t.setAttribute(l,n);break;case"popover":J("beforetoggle",t),J("toggle",t),xa(t,"popover",n);break;case"xlinkActuate":Ye(t,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":Ye(t,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":Ye(t,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":Ye(t,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":Ye(t,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":Ye(t,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":Ye(t,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":Ye(t,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":Ye(t,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":xa(t,"is",n);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Xd.get(l)||l,xa(t,l,n))}}function nf(t,e,l,n,a,u){switch(l){case"style":rs(t,n,u);break;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(s(61));if(l=n.__html,l!=null){if(a.children!=null)throw Error(s(60));t.innerHTML=l}}break;case"children":typeof n=="string"?tn(t,n):(typeof n=="number"||typeof n=="bigint")&&tn(t,""+n);break;case"onScroll":n!=null&&J("scroll",t);break;case"onScrollEnd":n!=null&&J("scrollend",t);break;case"onClick":n!=null&&(t.onclick=xe);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!ls.hasOwnProperty(l))t:{if(l[0]==="o"&&l[1]==="n"&&(a=l.endsWith("Capture"),e=l.slice(2,a?l.length-7:void 0),u=t[Gt]||null,u=u!=null?u[l]:null,typeof u=="function"&&t.removeEventListener(e,u,a),typeof n=="function")){typeof u!="function"&&u!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(e,n,a);break t}l in t?t[l]=n:n===!0?t.setAttribute(l,""):xa(t,l,n)}}}function Ct(t,e,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":J("error",t),J("load",t);var n=!1,a=!1,u;for(u in l)if(l.hasOwnProperty(u)){var c=l[u];if(c!=null)switch(u){case"src":n=!0;break;case"srcSet":a=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,e));default:ft(t,e,u,c,l,null)}}a&&ft(t,e,"srcSet",l.srcSet,l,null),n&&ft(t,e,"src",l.src,l,null);return;case"input":J("invalid",t);var r=u=c=a=null,h=null,p=null;for(n in l)if(l.hasOwnProperty(n)){var _=l[n];if(_!=null)switch(n){case"name":a=_;break;case"type":c=_;break;case"checked":h=_;break;case"defaultChecked":p=_;break;case"value":u=_;break;case"defaultValue":r=_;break;case"children":case"dangerouslySetInnerHTML":if(_!=null)throw Error(s(137,e));break;default:ft(t,e,n,_,l,null)}}cs(t,u,r,h,p,c,a,!1);return;case"select":J("invalid",t),n=c=u=null;for(a in l)if(l.hasOwnProperty(a)&&(r=l[a],r!=null))switch(a){case"value":u=r;break;case"defaultValue":c=r;break;case"multiple":n=r;default:ft(t,e,a,r,l,null)}e=u,l=c,t.multiple=!!n,e!=null?Pl(t,!!n,e,!1):l!=null&&Pl(t,!!n,l,!0);return;case"textarea":J("invalid",t),u=a=n=null;for(c in l)if(l.hasOwnProperty(c)&&(r=l[c],r!=null))switch(c){case"value":n=r;break;case"defaultValue":a=r;break;case"children":u=r;break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(s(91));break;default:ft(t,e,c,r,l,null)}ss(t,n,a,u);return;case"option":for(h in l)if(l.hasOwnProperty(h)&&(n=l[h],n!=null))switch(h){case"selected":t.selected=n&&typeof n!="function"&&typeof n!="symbol";break;default:ft(t,e,h,n,l,null)}return;case"dialog":J("beforetoggle",t),J("toggle",t),J("cancel",t),J("close",t);break;case"iframe":case"object":J("load",t);break;case"video":case"audio":for(n=0;n<pa.length;n++)J(pa[n],t);break;case"image":J("error",t),J("load",t);break;case"details":J("toggle",t);break;case"embed":case"source":case"link":J("error",t),J("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(p in l)if(l.hasOwnProperty(p)&&(n=l[p],n!=null))switch(p){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,e));default:ft(t,e,p,n,l,null)}return;default:if(gi(e)){for(_ in l)l.hasOwnProperty(_)&&(n=l[_],n!==void 0&&nf(t,e,_,n,l,void 0));return}}for(r in l)l.hasOwnProperty(r)&&(n=l[r],n!=null&&ft(t,e,r,n,l,null))}function hm(t,e,l,n){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var a=null,u=null,c=null,r=null,h=null,p=null,_=null;for(b in l){var A=l[b];if(l.hasOwnProperty(b)&&A!=null)switch(b){case"checked":break;case"value":break;case"defaultValue":h=A;default:n.hasOwnProperty(b)||ft(t,e,b,null,n,A)}}for(var S in n){var b=n[S];if(A=l[S],n.hasOwnProperty(S)&&(b!=null||A!=null))switch(S){case"type":u=b;break;case"name":a=b;break;case"checked":p=b;break;case"defaultChecked":_=b;break;case"value":c=b;break;case"defaultValue":r=b;break;case"children":case"dangerouslySetInnerHTML":if(b!=null)throw Error(s(137,e));break;default:b!==A&&ft(t,e,S,b,n,A)}}mi(t,c,r,h,p,_,u,a);return;case"select":b=c=r=S=null;for(u in l)if(h=l[u],l.hasOwnProperty(u)&&h!=null)switch(u){case"value":break;case"multiple":b=h;default:n.hasOwnProperty(u)||ft(t,e,u,null,n,h)}for(a in n)if(u=n[a],h=l[a],n.hasOwnProperty(a)&&(u!=null||h!=null))switch(a){case"value":S=u;break;case"defaultValue":r=u;break;case"multiple":c=u;default:u!==h&&ft(t,e,a,u,n,h)}e=r,l=c,n=b,S!=null?Pl(t,!!l,S,!1):!!n!=!!l&&(e!=null?Pl(t,!!l,e,!0):Pl(t,!!l,l?[]:"",!1));return;case"textarea":b=S=null;for(r in l)if(a=l[r],l.hasOwnProperty(r)&&a!=null&&!n.hasOwnProperty(r))switch(r){case"value":break;case"children":break;default:ft(t,e,r,null,n,a)}for(c in n)if(a=n[c],u=l[c],n.hasOwnProperty(c)&&(a!=null||u!=null))switch(c){case"value":S=a;break;case"defaultValue":b=a;break;case"children":break;case"dangerouslySetInnerHTML":if(a!=null)throw Error(s(91));break;default:a!==u&&ft(t,e,c,a,n,u)}fs(t,S,b);return;case"option":for(var C in l)if(S=l[C],l.hasOwnProperty(C)&&S!=null&&!n.hasOwnProperty(C))switch(C){case"selected":t.selected=!1;break;default:ft(t,e,C,null,n,S)}for(h in n)if(S=n[h],b=l[h],n.hasOwnProperty(h)&&S!==b&&(S!=null||b!=null))switch(h){case"selected":t.selected=S&&typeof S!="function"&&typeof S!="symbol";break;default:ft(t,e,h,S,n,b)}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 x in l)S=l[x],l.hasOwnProperty(x)&&S!=null&&!n.hasOwnProperty(x)&&ft(t,e,x,null,n,S);for(p in n)if(S=n[p],b=l[p],n.hasOwnProperty(p)&&S!==b&&(S!=null||b!=null))switch(p){case"children":case"dangerouslySetInnerHTML":if(S!=null)throw Error(s(137,e));break;default:ft(t,e,p,S,n,b)}return;default:if(gi(e)){for(var st in l)S=l[st],l.hasOwnProperty(st)&&S!==void 0&&!n.hasOwnProperty(st)&&nf(t,e,st,void 0,n,S);for(_ in n)S=n[_],b=l[_],!n.hasOwnProperty(_)||S===b||S===void 0&&b===void 0||nf(t,e,_,S,n,b);return}}for(var m in l)S=l[m],l.hasOwnProperty(m)&&S!=null&&!n.hasOwnProperty(m)&&ft(t,e,m,null,n,S);for(A in n)S=n[A],b=l[A],!n.hasOwnProperty(A)||S===b||S==null&&b==null||ft(t,e,A,S,n,b)}function dh(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function dm(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,l=performance.getEntriesByType("resource"),n=0;n<l.length;n++){var a=l[n],u=a.transferSize,c=a.initiatorType,r=a.duration;if(u&&r&&dh(c)){for(c=0,r=a.responseEnd,n+=1;n<l.length;n++){var h=l[n],p=h.startTime;if(p>r)break;var _=h.transferSize,A=h.initiatorType;_&&dh(A)&&(h=h.responseEnd,c+=_*(h<r?1:(r-p)/(h-p)))}if(--n,e+=8*(u+c)/(a.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var af=null,uf=null;function Hu(t){return t.nodeType===9?t:t.ownerDocument}function yh(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function mh(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function cf(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var ff=null;function ym(){var t=window.event;return t&&t.type==="popstate"?t===ff?!1:(ff=t,!0):(ff=null,!1)}var vh=typeof setTimeout=="function"?setTimeout:void 0,mm=typeof clearTimeout=="function"?clearTimeout:void 0,gh=typeof Promise=="function"?Promise:void 0,vm=typeof queueMicrotask=="function"?queueMicrotask:typeof gh<"u"?function(t){return gh.resolve(null).then(t).catch(gm)}:vh;function gm(t){setTimeout(function(){throw t})}function bl(t){return t==="head"}function ph(t,e){var l=e,n=0;do{var a=l.nextSibling;if(t.removeChild(l),a&&a.nodeType===8)if(l=a.data,l==="/$"||l==="/&"){if(n===0){t.removeChild(a),Cn(e);return}n--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")n++;else if(l==="html")ba(t.ownerDocument.documentElement);else if(l==="head"){l=t.ownerDocument.head,ba(l);for(var u=l.firstChild;u;){var c=u.nextSibling,r=u.nodeName;u[Ln]||r==="SCRIPT"||r==="STYLE"||r==="LINK"&&u.rel.toLowerCase()==="stylesheet"||l.removeChild(u),u=c}}else l==="body"&&ba(t.ownerDocument.body);l=a}while(l);Cn(e)}function Sh(t,e){var l=t;t=0;do{var n=l.nextSibling;if(l.nodeType===1?e?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(e?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),n&&n.nodeType===8)if(l=n.data,l==="/$"){if(t===0)break;t--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||t++;l=n}while(l)}function sf(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var l=e;switch(e=e.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":sf(l),di(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function pm(t,e,l,n){for(;t.nodeType===1;){var a=l;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!n&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(n){if(!t[Ln])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(u=t.getAttribute("rel"),u==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(u!==a.rel||t.getAttribute("href")!==(a.href==null||a.href===""?null:a.href)||t.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin)||t.getAttribute("title")!==(a.title==null?null:a.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(u=t.getAttribute("src"),(u!==(a.src==null?null:a.src)||t.getAttribute("type")!==(a.type==null?null:a.type)||t.getAttribute("crossorigin")!==(a.crossOrigin==null?null:a.crossOrigin))&&u&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var u=a.name==null?null:""+a.name;if(a.type==="hidden"&&t.getAttribute("name")===u)return t}else return t;if(t=ge(t.nextSibling),t===null)break}return null}function Sm(t,e,l){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=ge(t.nextSibling),t===null))return null;return t}function bh(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=ge(t.nextSibling),t===null))return null;return t}function of(t){return t.data==="$?"||t.data==="$~"}function rf(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function bm(t,e){var l=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||l.readyState!=="loading")e();else{var n=function(){e(),l.removeEventListener("DOMContentLoaded",n)};l.addEventListener("DOMContentLoaded",n),t._reactRetry=n}}function ge(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var hf=null;function _h(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="/$"||l==="/&"){if(e===0)return ge(t.nextSibling);e--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||e++}t=t.nextSibling}return null}function Eh(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(e===0)return t;e--}else l!=="/$"&&l!=="/&"||e++}t=t.previousSibling}return null}function Th(t,e,l){switch(e=Hu(l),t){case"html":if(t=e.documentElement,!t)throw Error(s(452));return t;case"head":if(t=e.head,!t)throw Error(s(453));return t;case"body":if(t=e.body,!t)throw Error(s(454));return t;default:throw Error(s(451))}}function ba(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);di(t)}var pe=new Map,Ah=new Set;function Yu(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var Pe=R.d;R.d={f:_m,r:Em,D:Tm,C:Am,L:zm,m:Om,X:Dm,S:Mm,M:Rm};function _m(){var t=Pe.f(),e=Mu();return t||e}function Em(t){var e=$l(t);e!==null&&e.tag===5&&e.type==="form"?jo(e):Pe.r(t)}var Rn=typeof document>"u"?null:document;function zh(t,e,l){var n=Rn;if(n&&typeof e=="string"&&e){var a=oe(e);a='link[rel="'+t+'"][href="'+a+'"]',typeof l=="string"&&(a+='[crossorigin="'+l+'"]'),Ah.has(a)||(Ah.add(a),t={rel:t,crossOrigin:l,href:e},n.querySelector(a)===null&&(e=n.createElement("link"),Ct(e,"link",t),Ot(e),n.head.appendChild(e)))}}function Tm(t){Pe.D(t),zh("dns-prefetch",t,null)}function Am(t,e){Pe.C(t,e),zh("preconnect",t,e)}function zm(t,e,l){Pe.L(t,e,l);var n=Rn;if(n&&t&&e){var a='link[rel="preload"][as="'+oe(e)+'"]';e==="image"&&l&&l.imageSrcSet?(a+='[imagesrcset="'+oe(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(a+='[imagesizes="'+oe(l.imageSizes)+'"]')):a+='[href="'+oe(t)+'"]';var u=a;switch(e){case"style":u=Nn(t);break;case"script":u=Un(t)}pe.has(u)||(t=H({rel:"preload",href:e==="image"&&l&&l.imageSrcSet?void 0:t,as:e},l),pe.set(u,t),n.querySelector(a)!==null||e==="style"&&n.querySelector(_a(u))||e==="script"&&n.querySelector(Ea(u))||(e=n.createElement("link"),Ct(e,"link",t),Ot(e),n.head.appendChild(e)))}}function Om(t,e){Pe.m(t,e);var l=Rn;if(l&&t){var n=e&&typeof e.as=="string"?e.as:"script",a='link[rel="modulepreload"][as="'+oe(n)+'"][href="'+oe(t)+'"]',u=a;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Un(t)}if(!pe.has(u)&&(t=H({rel:"modulepreload",href:t},e),pe.set(u,t),l.querySelector(a)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Ea(u)))return}n=l.createElement("link"),Ct(n,"link",t),Ot(n),l.head.appendChild(n)}}}function Mm(t,e,l){Pe.S(t,e,l);var n=Rn;if(n&&t){var a=Fl(n).hoistableStyles,u=Nn(t);e=e||"default";var c=a.get(u);if(!c){var r={loading:0,preload:null};if(c=n.querySelector(_a(u)))r.loading=5;else{t=H({rel:"stylesheet",href:t,"data-precedence":e},l),(l=pe.get(u))&&df(t,l);var h=c=n.createElement("link");Ot(h),Ct(h,"link",t),h._p=new Promise(function(p,_){h.onload=p,h.onerror=_}),h.addEventListener("load",function(){r.loading|=1}),h.addEventListener("error",function(){r.loading|=2}),r.loading|=4,xu(c,e,n)}c={type:"stylesheet",instance:c,count:1,state:r},a.set(u,c)}}}function Dm(t,e){Pe.X(t,e);var l=Rn;if(l&&t){var n=Fl(l).hoistableScripts,a=Un(t),u=n.get(a);u||(u=l.querySelector(Ea(a)),u||(t=H({src:t,async:!0},e),(e=pe.get(a))&&yf(t,e),u=l.createElement("script"),Ot(u),Ct(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},n.set(a,u))}}function Rm(t,e){Pe.M(t,e);var l=Rn;if(l&&t){var n=Fl(l).hoistableScripts,a=Un(t),u=n.get(a);u||(u=l.querySelector(Ea(a)),u||(t=H({src:t,async:!0,type:"module"},e),(e=pe.get(a))&&yf(t,e),u=l.createElement("script"),Ot(u),Ct(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},n.set(a,u))}}function Oh(t,e,l,n){var a=(a=K.current)?Yu(a):null;if(!a)throw Error(s(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(e=Nn(l.href),l=Fl(a).hoistableStyles,n=l.get(e),n||(n={type:"style",instance:null,count:0,state:null},l.set(e,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=Nn(l.href);var u=Fl(a).hoistableStyles,c=u.get(t);if(c||(a=a.ownerDocument||a,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(t,c),(u=a.querySelector(_a(t)))&&!u._p&&(c.instance=u,c.state.loading=5),pe.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},pe.set(t,l),u||Nm(a,t,l,c.state))),e&&n===null)throw Error(s(528,""));return c}if(e&&n!==null)throw Error(s(529,""));return null;case"script":return e=l.async,l=l.src,typeof l=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Un(l),l=Fl(a).hoistableScripts,n=l.get(e),n||(n={type:"script",instance:null,count:0,state:null},l.set(e,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,t))}}function Nn(t){return'href="'+oe(t)+'"'}function _a(t){return'link[rel="stylesheet"]['+t+"]"}function Mh(t){return H({},t,{"data-precedence":t.precedence,precedence:null})}function Nm(t,e,l,n){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?n.loading=1:(e=t.createElement("link"),n.preload=e,e.addEventListener("load",function(){return n.loading|=1}),e.addEventListener("error",function(){return n.loading|=2}),Ct(e,"link",l),Ot(e),t.head.appendChild(e))}function Un(t){return'[src="'+oe(t)+'"]'}function Ea(t){return"script[async]"+t}function Dh(t,e,l){if(e.count++,e.instance===null)switch(e.type){case"style":var n=t.querySelector('style[data-href~="'+oe(l.href)+'"]');if(n)return e.instance=n,Ot(n),n;var a=H({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return n=(t.ownerDocument||t).createElement("style"),Ot(n),Ct(n,"style",a),xu(n,l.precedence,t),e.instance=n;case"stylesheet":a=Nn(l.href);var u=t.querySelector(_a(a));if(u)return e.state.loading|=4,e.instance=u,Ot(u),u;n=Mh(l),(a=pe.get(a))&&df(n,a),u=(t.ownerDocument||t).createElement("link"),Ot(u);var c=u;return c._p=new Promise(function(r,h){c.onload=r,c.onerror=h}),Ct(u,"link",n),e.state.loading|=4,xu(u,l.precedence,t),e.instance=u;case"script":return u=Un(l.src),(a=t.querySelector(Ea(u)))?(e.instance=a,Ot(a),a):(n=l,(a=pe.get(u))&&(n=H({},l),yf(n,a)),t=t.ownerDocument||t,a=t.createElement("script"),Ot(a),Ct(a,"link",n),t.head.appendChild(a),e.instance=a);case"void":return null;default:throw Error(s(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(n=e.instance,e.state.loading|=4,xu(n,l.precedence,t));return e.instance}function xu(t,e,l){for(var n=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=n.length?n[n.length-1]:null,u=a,c=0;c<n.length;c++){var r=n[c];if(r.dataset.precedence===e)u=r;else if(u!==a)break}u?u.parentNode.insertBefore(t,u.nextSibling):(e=l.nodeType===9?l.head:l,e.insertBefore(t,e.firstChild))}function df(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function yf(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var Lu=null;function Rh(t,e,l){if(Lu===null){var n=new Map,a=Lu=new Map;a.set(l,n)}else a=Lu,n=a.get(l),n||(n=new Map,a.set(l,n));if(n.has(t))return n;for(n.set(t,null),l=l.getElementsByTagName(t),a=0;a<l.length;a++){var u=l[a];if(!(u[Ln]||u[Dt]||t==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var c=u.getAttribute(e)||"";c=t+c;var r=n.get(c);r?r.push(u):n.set(c,[u])}}return n}function Nh(t,e,l){t=t.ownerDocument||t,t.head.insertBefore(l,e==="title"?t.querySelector("head > title"):null)}function Um(t,e,l){if(l===1||e.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return t=e.disabled,typeof e.precedence=="string"&&t==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function Uh(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Cm(t,e,l,n){if(l.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var a=Nn(n.href),u=e.querySelector(_a(a));if(u){e=u._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=Xu.bind(t),e.then(t,t)),l.state.loading|=4,l.instance=u,Ot(u);return}u=e.ownerDocument||e,n=Mh(n),(a=pe.get(a))&&df(n,a),u=u.createElement("link"),Ot(u);var c=u;c._p=new Promise(function(r,h){c.onload=r,c.onerror=h}),Ct(u,"link",n),l.instance=u}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(l,e),(e=l.state.preload)&&(l.state.loading&3)===0&&(t.count++,l=Xu.bind(t),e.addEventListener("load",l),e.addEventListener("error",l))}}var mf=0;function Bm(t,e){return t.stylesheets&&t.count===0&&ju(t,t.stylesheets),0<t.count||0<t.imgCount?function(l){var n=setTimeout(function(){if(t.stylesheets&&ju(t,t.stylesheets),t.unsuspend){var u=t.unsuspend;t.unsuspend=null,u()}},6e4+e);0<t.imgBytes&&mf===0&&(mf=62500*dm());var a=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&ju(t,t.stylesheets),t.unsuspend)){var u=t.unsuspend;t.unsuspend=null,u()}},(t.imgBytes>mf?50:800)+e);return t.unsuspend=l,function(){t.unsuspend=null,clearTimeout(n),clearTimeout(a)}}:null}function Xu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)ju(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Qu=null;function ju(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Qu=new Map,e.forEach(qm,t),Qu=null,Xu.call(t))}function qm(t,e){if(!(e.state.loading&4)){var l=Qu.get(t);if(l)var n=l.get(null);else{l=new Map,Qu.set(t,l);for(var a=t.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<a.length;u++){var c=a[u];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(l.set(c.dataset.precedence,c),n=c)}n&&l.set(null,n)}a=e.instance,c=a.getAttribute("data-precedence"),u=l.get(c)||n,u===n&&l.set(null,a),l.set(c,a),this.count++,n=Xu.bind(this),a.addEventListener("load",n),a.addEventListener("error",n),u?u.parentNode.insertBefore(a,u.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(a,t.firstChild)),e.state.loading|=4}}var Ta={$$typeof:Bt,Provider:null,Consumer:null,_currentValue:X,_currentValue2:X,_threadCount:0};function Hm(t,e,l,n,a,u,c,r,h){this.tag=1,this.containerInfo=t,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=si(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=si(0),this.hiddenUpdates=si(null),this.identifierPrefix=n,this.onUncaughtError=a,this.onCaughtError=u,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=h,this.incompleteTransitions=new Map}function Ch(t,e,l,n,a,u,c,r,h,p,_,A){return t=new Hm(t,e,l,c,h,p,_,A,r),e=1,u===!0&&(e|=24),u=ee(3,null,null,e),t.current=u,u.stateNode=t,e=Ji(),e.refCount++,t.pooledCache=e,e.refCount++,u.memoizedState={element:n,isDehydrated:l,cache:e},Fi(u),t}function Bh(t){return t?(t=fn,t):fn}function qh(t,e,l,n,a,u){a=Bh(a),n.context===null?n.context=a:n.pendingContext=a,n=sl(e),n.payload={element:l},u=u===void 0?null:u,u!==null&&(n.callback=u),l=ol(t,n,e),l!==null&&(kt(l,t,e),ea(l,t,e))}function Hh(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<e?l:e}}function vf(t,e){Hh(t,e),(t=t.alternate)&&Hh(t,e)}function Yh(t){if(t.tag===13||t.tag===31){var e=ql(t,67108864);e!==null&&kt(e,t,67108864),vf(t,67108864)}}function xh(t){if(t.tag===13||t.tag===31){var e=ie();e=oi(e);var l=ql(t,e);l!==null&&kt(l,t,e),vf(t,e)}}var Gu=!0;function Ym(t,e,l,n){var a=E.T;E.T=null;var u=R.p;try{R.p=2,gf(t,e,l,n)}finally{R.p=u,E.T=a}}function xm(t,e,l,n){var a=E.T;E.T=null;var u=R.p;try{R.p=8,gf(t,e,l,n)}finally{R.p=u,E.T=a}}function gf(t,e,l,n){if(Gu){var a=pf(n);if(a===null)lf(t,e,n,Vu,l),Xh(t,n);else if(Xm(a,t,e,l,n))n.stopPropagation();else if(Xh(t,n),e&4&&-1<Lm.indexOf(t)){for(;a!==null;){var u=$l(a);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var c=Rl(u.pendingLanes);if(c!==0){var r=u;for(r.pendingLanes|=2,r.entangledLanes|=2;c;){var h=1<<31-Pt(c);r.entanglements[1]|=h,c&=~h}Ue(u),(et&6)===0&&(zu=Ft()+500,ga(0))}}break;case 31:case 13:r=ql(u,2),r!==null&&kt(r,u,2),Mu(),vf(u,2)}if(u=pf(n),u===null&&lf(t,e,n,Vu,l),u===a)break;a=u}a!==null&&n.stopPropagation()}else lf(t,e,n,null,l)}}function pf(t){return t=Si(t),Sf(t)}var Vu=null;function Sf(t){if(Vu=null,t=Wl(t),t!==null){var e=O(t);if(e===null)t=null;else{var l=e.tag;if(l===13){if(t=U(e),t!==null)return t;t=null}else if(l===31){if(t=L(e),t!==null)return t;t=null}else if(l===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return Vu=t,null}function Lh(t){switch(t){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(Td()){case Kf:return 2;case wf:return 8;case Ca:case Ad:return 32;case Jf:return 268435456;default:return 32}default:return 32}}var bf=!1,_l=null,El=null,Tl=null,Aa=new Map,za=new Map,Al=[],Lm="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 Xh(t,e){switch(t){case"focusin":case"focusout":_l=null;break;case"dragenter":case"dragleave":El=null;break;case"mouseover":case"mouseout":Tl=null;break;case"pointerover":case"pointerout":Aa.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":za.delete(e.pointerId)}}function Oa(t,e,l,n,a,u){return t===null||t.nativeEvent!==u?(t={blockedOn:e,domEventName:l,eventSystemFlags:n,nativeEvent:u,targetContainers:[a]},e!==null&&(e=$l(e),e!==null&&Yh(e)),t):(t.eventSystemFlags|=n,e=t.targetContainers,a!==null&&e.indexOf(a)===-1&&e.push(a),t)}function Xm(t,e,l,n,a){switch(e){case"focusin":return _l=Oa(_l,t,e,l,n,a),!0;case"dragenter":return El=Oa(El,t,e,l,n,a),!0;case"mouseover":return Tl=Oa(Tl,t,e,l,n,a),!0;case"pointerover":var u=a.pointerId;return Aa.set(u,Oa(Aa.get(u)||null,t,e,l,n,a)),!0;case"gotpointercapture":return u=a.pointerId,za.set(u,Oa(za.get(u)||null,t,e,l,n,a)),!0}return!1}function Qh(t){var e=Wl(t.target);if(e!==null){var l=O(e);if(l!==null){if(e=l.tag,e===13){if(e=U(l),e!==null){t.blockedOn=e,Pf(t.priority,function(){xh(l)});return}}else if(e===31){if(e=L(l),e!==null){t.blockedOn=e,Pf(t.priority,function(){xh(l)});return}}else if(e===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Zu(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var l=pf(t.nativeEvent);if(l===null){l=t.nativeEvent;var n=new l.constructor(l.type,l);pi=n,l.target.dispatchEvent(n),pi=null}else return e=$l(l),e!==null&&Yh(e),t.blockedOn=l,!1;e.shift()}return!0}function jh(t,e,l){Zu(t)&&l.delete(e)}function Qm(){bf=!1,_l!==null&&Zu(_l)&&(_l=null),El!==null&&Zu(El)&&(El=null),Tl!==null&&Zu(Tl)&&(Tl=null),Aa.forEach(jh),za.forEach(jh)}function Ku(t,e){t.blockedOn===e&&(t.blockedOn=null,bf||(bf=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Qm)))}var wu=null;function Gh(t){wu!==t&&(wu=t,o.unstable_scheduleCallback(o.unstable_NormalPriority,function(){wu===t&&(wu=null);for(var e=0;e<t.length;e+=3){var l=t[e],n=t[e+1],a=t[e+2];if(typeof n!="function"){if(Sf(n||l)===null)continue;break}var u=$l(l);u!==null&&(t.splice(e,3),e-=3,gc(u,{pending:!0,data:a,method:l.method,action:n},n,a))}}))}function Cn(t){function e(h){return Ku(h,t)}_l!==null&&Ku(_l,t),El!==null&&Ku(El,t),Tl!==null&&Ku(Tl,t),Aa.forEach(e),za.forEach(e);for(var l=0;l<Al.length;l++){var n=Al[l];n.blockedOn===t&&(n.blockedOn=null)}for(;0<Al.length&&(l=Al[0],l.blockedOn===null);)Qh(l),l.blockedOn===null&&Al.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(n=0;n<l.length;n+=3){var a=l[n],u=l[n+1],c=a[Gt]||null;if(typeof u=="function")c||Gh(l);else if(c){var r=null;if(u&&u.hasAttribute("formAction")){if(a=u,c=u[Gt]||null)r=c.formAction;else if(Sf(a)!==null)continue}else r=c.action;typeof r=="function"?l[n+1]=r:(l.splice(n,3),n-=3),Gh(l)}}}function Vh(){function t(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(c){return a=c})},focusReset:"manual",scroll:"manual"})}function e(){a!==null&&(a(),a=null),n||setTimeout(l,20)}function l(){if(!n&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var n=!1,a=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(l,100),function(){n=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),a!==null&&(a(),a=null)}}}function _f(t){this._internalRoot=t}Ju.prototype.render=_f.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(s(409));var l=e.current,n=ie();qh(l,n,t,e,null,null)},Ju.prototype.unmount=_f.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;qh(t.current,2,null,t,null,null),Mu(),e[kl]=null}};function Ju(t){this._internalRoot=t}Ju.prototype.unstable_scheduleHydration=function(t){if(t){var e=If();t={blockedOn:null,target:t,priority:e};for(var l=0;l<Al.length&&e!==0&&e<Al[l].priority;l++);Al.splice(l,0,t),l===0&&Qh(t)}};var Zh=i.version;if(Zh!=="19.2.4")throw Error(s(527,Zh,"19.2.4"));R.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(s(188)):(t=Object.keys(t).join(","),Error(s(268,t)));return t=M(e),t=t!==null?j(t):null,t=t===null?null:t.stateNode,t};var jm={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:E,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ku=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ku.isDisabled&&ku.supportsFiber)try{Hn=ku.inject(jm),It=ku}catch{}}return Da.createRoot=function(t,e){if(!v(t))throw Error(s(299));var l=!1,n="",a=Fo,u=Io,c=Po;return e!=null&&(e.unstable_strictMode===!0&&(l=!0),e.identifierPrefix!==void 0&&(n=e.identifierPrefix),e.onUncaughtError!==void 0&&(a=e.onUncaughtError),e.onCaughtError!==void 0&&(u=e.onCaughtError),e.onRecoverableError!==void 0&&(c=e.onRecoverableError)),e=Ch(t,1,!1,null,null,l,n,null,a,u,c,Vh),t[kl]=e.current,ef(t),new _f(e)},Da.hydrateRoot=function(t,e,l){if(!v(t))throw Error(s(299));var n=!1,a="",u=Fo,c=Io,r=Po,h=null;return l!=null&&(l.unstable_strictMode===!0&&(n=!0),l.identifierPrefix!==void 0&&(a=l.identifierPrefix),l.onUncaughtError!==void 0&&(u=l.onUncaughtError),l.onCaughtError!==void 0&&(c=l.onCaughtError),l.onRecoverableError!==void 0&&(r=l.onRecoverableError),l.formState!==void 0&&(h=l.formState)),e=Ch(t,1,!0,e,l??null,n,a,h,u,c,r,Vh),e.context=Bh(null),l=e.current,n=ie(),n=oi(n),a=sl(n),a.callback=null,ol(l,a,n),l=n,e.current.lanes=l,xn(e,l),Ue(e),t[kl]=e.current,ef(t),new Ju(e)},Da.version="19.2.4",Da}var td;function Im(){if(td)return Tf.exports;td=1;function o(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(o)}catch(i){console.error(i)}}return o(),Tf.exports=Fm(),Tf.exports}var Pm=Im();const t0=Vm(Pm);var ed=xf();const e0="/assets/react-CHdo91hT.svg",Be=Object.create(null);Be.open="0";Be.close="1";Be.ping="2";Be.pong="3";Be.message="4";Be.upgrade="5";Be.noop="6";const Fu=Object.create(null);Object.keys(Be).forEach(o=>{Fu[Be[o]]=o});const Uf={type:"error",data:"parser error"},cd=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",fd=typeof ArrayBuffer=="function",sd=o=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(o):o&&o.buffer instanceof ArrayBuffer,Lf=({type:o,data:i},f,s)=>cd&&i instanceof Blob?f?s(i):ld(i,s):fd&&(i instanceof ArrayBuffer||sd(i))?f?s(i):ld(new Blob([i]),s):s(Be[o]+(i||"")),ld=(o,i)=>{const f=new FileReader;return f.onload=function(){const s=f.result.split(",")[1];i("b"+(s||""))},f.readAsDataURL(o)};function nd(o){return o instanceof Uint8Array?o:o instanceof ArrayBuffer?new Uint8Array(o):new Uint8Array(o.buffer,o.byteOffset,o.byteLength)}let Df;function l0(o,i){if(cd&&o.data instanceof Blob)return o.data.arrayBuffer().then(nd).then(i);if(fd&&(o.data instanceof ArrayBuffer||sd(o.data)))return i(nd(o.data));Lf(o,!1,f=>{Df||(Df=new TextEncoder),i(Df.encode(f))})}const ad="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Na=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let o=0;o<ad.length;o++)Na[ad.charCodeAt(o)]=o;const n0=o=>{let i=o.length*.75,f=o.length,s,v=0,O,U,L,D;o[o.length-1]==="="&&(i--,o[o.length-2]==="="&&i--);const M=new ArrayBuffer(i),j=new Uint8Array(M);for(s=0;s<f;s+=4)O=Na[o.charCodeAt(s)],U=Na[o.charCodeAt(s+1)],L=Na[o.charCodeAt(s+2)],D=Na[o.charCodeAt(s+3)],j[v++]=O<<2|U>>4,j[v++]=(U&15)<<4|L>>2,j[v++]=(L&3)<<6|D&63;return M},a0=typeof ArrayBuffer=="function",Xf=(o,i)=>{if(typeof o!="string")return{type:"message",data:od(o,i)};const f=o.charAt(0);return f==="b"?{type:"message",data:u0(o.substring(1),i)}:Fu[f]?o.length>1?{type:Fu[f],data:o.substring(1)}:{type:Fu[f]}:Uf},u0=(o,i)=>{if(a0){const f=n0(o);return od(f,i)}else return{base64:!0,data:o}},od=(o,i)=>{switch(i){case"blob":return o instanceof Blob?o:new Blob([o]);case"arraybuffer":default:return o instanceof ArrayBuffer?o:o.buffer}},rd="",i0=(o,i)=>{const f=o.length,s=new Array(f);let v=0;o.forEach((O,U)=>{Lf(O,!1,L=>{s[U]=L,++v===f&&i(s.join(rd))})})},c0=(o,i)=>{const f=o.split(rd),s=[];for(let v=0;v<f.length;v++){const O=Xf(f[v],i);if(s.push(O),O.type==="error")break}return s};function f0(){return new TransformStream({transform(o,i){l0(o,f=>{const s=f.length;let v;if(s<126)v=new Uint8Array(1),new DataView(v.buffer).setUint8(0,s);else if(s<65536){v=new Uint8Array(3);const O=new DataView(v.buffer);O.setUint8(0,126),O.setUint16(1,s)}else{v=new Uint8Array(9);const O=new DataView(v.buffer);O.setUint8(0,127),O.setBigUint64(1,BigInt(s))}o.data&&typeof o.data!="string"&&(v[0]|=128),i.enqueue(v),i.enqueue(f)})}})}let Rf;function Wu(o){return o.reduce((i,f)=>i+f.length,0)}function $u(o,i){if(o[0].length===i)return o.shift();const f=new Uint8Array(i);let s=0;for(let v=0;v<i;v++)f[v]=o[0][s++],s===o[0].length&&(o.shift(),s=0);return o.length&&s<o[0].length&&(o[0]=o[0].slice(s)),f}function s0(o,i){Rf||(Rf=new TextDecoder);const f=[];let s=0,v=-1,O=!1;return new TransformStream({transform(U,L){for(f.push(U);;){if(s===0){if(Wu(f)<1)break;const D=$u(f,1);O=(D[0]&128)===128,v=D[0]&127,v<126?s=3:v===126?s=1:s=2}else if(s===1){if(Wu(f)<2)break;const D=$u(f,2);v=new DataView(D.buffer,D.byteOffset,D.length).getUint16(0),s=3}else if(s===2){if(Wu(f)<8)break;const D=$u(f,8),M=new DataView(D.buffer,D.byteOffset,D.length),j=M.getUint32(0);if(j>Math.pow(2,21)-1){L.enqueue(Uf);break}v=j*Math.pow(2,32)+M.getUint32(4),s=3}else{if(Wu(f)<v)break;const D=$u(f,v);L.enqueue(Xf(O?D:Rf.decode(D),i)),s=0}if(v===0||v>o){L.enqueue(Uf);break}}}})}const hd=4;function At(o){if(o)return o0(o)}function o0(o){for(var i in At.prototype)o[i]=At.prototype[i];return o}At.prototype.on=At.prototype.addEventListener=function(o,i){return this._callbacks=this._callbacks||{},(this._callbacks["$"+o]=this._callbacks["$"+o]||[]).push(i),this};At.prototype.once=function(o,i){function f(){this.off(o,f),i.apply(this,arguments)}return f.fn=i,this.on(o,f),this};At.prototype.off=At.prototype.removeListener=At.prototype.removeAllListeners=At.prototype.removeEventListener=function(o,i){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var f=this._callbacks["$"+o];if(!f)return this;if(arguments.length==1)return delete this._callbacks["$"+o],this;for(var s,v=0;v<f.length;v++)if(s=f[v],s===i||s.fn===i){f.splice(v,1);break}return f.length===0&&delete this._callbacks["$"+o],this};At.prototype.emit=function(o){this._callbacks=this._callbacks||{};for(var i=new Array(arguments.length-1),f=this._callbacks["$"+o],s=1;s<arguments.length;s++)i[s-1]=arguments[s];if(f){f=f.slice(0);for(var s=0,v=f.length;s<v;++s)f[s].apply(this,i)}return this};At.prototype.emitReserved=At.prototype.emit;At.prototype.listeners=function(o){return this._callbacks=this._callbacks||{},this._callbacks["$"+o]||[]};At.prototype.hasListeners=function(o){return!!this.listeners(o).length};const ei=typeof Promise=="function"&&typeof Promise.resolve=="function"?i=>Promise.resolve().then(i):(i,f)=>f(i,0),Se=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),r0="arraybuffer";function dd(o,...i){return i.reduce((f,s)=>(o.hasOwnProperty(s)&&(f[s]=o[s]),f),{})}const h0=Se.setTimeout,d0=Se.clearTimeout;function li(o,i){i.useNativeTimers?(o.setTimeoutFn=h0.bind(Se),o.clearTimeoutFn=d0.bind(Se)):(o.setTimeoutFn=Se.setTimeout.bind(Se),o.clearTimeoutFn=Se.clearTimeout.bind(Se))}const y0=1.33;function m0(o){return typeof o=="string"?v0(o):Math.ceil((o.byteLength||o.size)*y0)}function v0(o){let i=0,f=0;for(let s=0,v=o.length;s<v;s++)i=o.charCodeAt(s),i<128?f+=1:i<2048?f+=2:i<55296||i>=57344?f+=3:(s++,f+=4);return f}function yd(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function g0(o){let i="";for(let f in o)o.hasOwnProperty(f)&&(i.length&&(i+="&"),i+=encodeURIComponent(f)+"="+encodeURIComponent(o[f]));return i}function p0(o){let i={},f=o.split("&");for(let s=0,v=f.length;s<v;s++){let O=f[s].split("=");i[decodeURIComponent(O[0])]=decodeURIComponent(O[1])}return i}class S0 extends Error{constructor(i,f,s){super(i),this.description=f,this.context=s,this.type="TransportError"}}class Qf extends At{constructor(i){super(),this.writable=!1,li(this,i),this.opts=i,this.query=i.query,this.socket=i.socket,this.supportsBinary=!i.forceBase64}onError(i,f,s){return super.emitReserved("error",new S0(i,f,s)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(i){this.readyState==="open"&&this.write(i)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(i){const f=Xf(i,this.socket.binaryType);this.onPacket(f)}onPacket(i){super.emitReserved("packet",i)}onClose(i){this.readyState="closed",super.emitReserved("close",i)}pause(i){}createUri(i,f={}){return i+"://"+this._hostname()+this._port()+this.opts.path+this._query(f)}_hostname(){const i=this.opts.hostname;return i.indexOf(":")===-1?i:"["+i+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(i){const f=g0(i);return f.length?"?"+f:""}}class b0 extends Qf{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(i){this.readyState="pausing";const f=()=>{this.readyState="paused",i()};if(this._polling||!this.writable){let s=0;this._polling&&(s++,this.once("pollComplete",function(){--s||f()})),this.writable||(s++,this.once("drain",function(){--s||f()}))}else f()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(i){const f=s=>{if(this.readyState==="opening"&&s.type==="open"&&this.onOpen(),s.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(s)};c0(i,this.socket.binaryType).forEach(f),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const i=()=>{this.write([{type:"close"}])};this.readyState==="open"?i():this.once("open",i)}write(i){this.writable=!1,i0(i,f=>{this.doWrite(f,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const i=this.opts.secure?"https":"http",f=this.query||{};return this.opts.timestampRequests!==!1&&(f[this.opts.timestampParam]=yd()),!this.supportsBinary&&!f.sid&&(f.b64=1),this.createUri(i,f)}}let md=!1;try{md=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const _0=md;function E0(){}class T0 extends b0{constructor(i){if(super(i),typeof location<"u"){const f=location.protocol==="https:";let s=location.port;s||(s=f?"443":"80"),this.xd=typeof location<"u"&&i.hostname!==location.hostname||s!==i.port}}doWrite(i,f){const s=this.request({method:"POST",data:i});s.on("success",f),s.on("error",(v,O)=>{this.onError("xhr post error",v,O)})}doPoll(){const i=this.request();i.on("data",this.onData.bind(this)),i.on("error",(f,s)=>{this.onError("xhr poll error",f,s)}),this.pollXhr=i}}class Ce extends At{constructor(i,f,s){super(),this.createRequest=i,li(this,s),this._opts=s,this._method=s.method||"GET",this._uri=f,this._data=s.data!==void 0?s.data:null,this._create()}_create(){var i;const f=dd(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");f.xdomain=!!this._opts.xd;const s=this._xhr=this.createRequest(f);try{s.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){s.setDisableHeaderCheck&&s.setDisableHeaderCheck(!0);for(let v in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(v)&&s.setRequestHeader(v,this._opts.extraHeaders[v])}}catch{}if(this._method==="POST")try{s.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{s.setRequestHeader("Accept","*/*")}catch{}(i=this._opts.cookieJar)===null||i===void 0||i.addCookies(s),"withCredentials"in s&&(s.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(s.timeout=this._opts.requestTimeout),s.onreadystatechange=()=>{var v;s.readyState===3&&((v=this._opts.cookieJar)===null||v===void 0||v.parseCookies(s.getResponseHeader("set-cookie"))),s.readyState===4&&(s.status===200||s.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof s.status=="number"?s.status:0)},0))},s.send(this._data)}catch(v){this.setTimeoutFn(()=>{this._onError(v)},0);return}typeof document<"u"&&(this._index=Ce.requestsCount++,Ce.requests[this._index]=this)}_onError(i){this.emitReserved("error",i,this._xhr),this._cleanup(!0)}_cleanup(i){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=E0,i)try{this._xhr.abort()}catch{}typeof document<"u"&&delete Ce.requests[this._index],this._xhr=null}}_onLoad(){const i=this._xhr.responseText;i!==null&&(this.emitReserved("data",i),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}Ce.requestsCount=0;Ce.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",ud);else if(typeof addEventListener=="function"){const o="onpagehide"in Se?"pagehide":"unload";addEventListener(o,ud,!1)}}function ud(){for(let o in Ce.requests)Ce.requests.hasOwnProperty(o)&&Ce.requests[o].abort()}const A0=(function(){const o=vd({xdomain:!1});return o&&o.responseType!==null})();class z0 extends T0{constructor(i){super(i);const f=i&&i.forceBase64;this.supportsBinary=A0&&!f}request(i={}){return Object.assign(i,{xd:this.xd},this.opts),new Ce(vd,this.uri(),i)}}function vd(o){const i=o.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!i||_0))return new XMLHttpRequest}catch{}if(!i)try{return new Se[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const gd=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class O0 extends Qf{get name(){return"websocket"}doOpen(){const i=this.uri(),f=this.opts.protocols,s=gd?{}:dd(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(s.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(i,f,s)}catch(v){return this.emitReserved("error",v)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=i=>this.onClose({description:"websocket connection closed",context:i}),this.ws.onmessage=i=>this.onData(i.data),this.ws.onerror=i=>this.onError("websocket error",i)}write(i){this.writable=!1;for(let f=0;f<i.length;f++){const s=i[f],v=f===i.length-1;Lf(s,this.supportsBinary,O=>{try{this.doWrite(s,O)}catch{}v&&ei(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const i=this.opts.secure?"wss":"ws",f=this.query||{};return this.opts.timestampRequests&&(f[this.opts.timestampParam]=yd()),this.supportsBinary||(f.b64=1),this.createUri(i,f)}}const Nf=Se.WebSocket||Se.MozWebSocket;class M0 extends O0{createSocket(i,f,s){return gd?new Nf(i,f,s):f?new Nf(i,f):new Nf(i)}doWrite(i,f){this.ws.send(f)}}class D0 extends Qf{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(i){return this.emitReserved("error",i)}this._transport.closed.then(()=>{this.onClose()}).catch(i=>{this.onError("webtransport error",i)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(i=>{const f=s0(Number.MAX_SAFE_INTEGER,this.socket.binaryType),s=i.readable.pipeThrough(f).getReader(),v=f0();v.readable.pipeTo(i.writable),this._writer=v.writable.getWriter();const O=()=>{s.read().then(({done:L,value:D})=>{L||(this.onPacket(D),O())}).catch(L=>{})};O();const U={type:"open"};this.query.sid&&(U.data=`{"sid":"${this.query.sid}"}`),this._writer.write(U).then(()=>this.onOpen())})})}write(i){this.writable=!1;for(let f=0;f<i.length;f++){const s=i[f],v=f===i.length-1;this._writer.write(s).then(()=>{v&&ei(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var i;(i=this._transport)===null||i===void 0||i.close()}}const R0={websocket:M0,webtransport:D0,polling:z0},N0=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,U0=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Cf(o){if(o.length>8e3)throw"URI too long";const i=o,f=o.indexOf("["),s=o.indexOf("]");f!=-1&&s!=-1&&(o=o.substring(0,f)+o.substring(f,s).replace(/:/g,";")+o.substring(s,o.length));let v=N0.exec(o||""),O={},U=14;for(;U--;)O[U0[U]]=v[U]||"";return f!=-1&&s!=-1&&(O.source=i,O.host=O.host.substring(1,O.host.length-1).replace(/;/g,":"),O.authority=O.authority.replace("[","").replace("]","").replace(/;/g,":"),O.ipv6uri=!0),O.pathNames=C0(O,O.path),O.queryKey=B0(O,O.query),O}function C0(o,i){const f=/\/{2,9}/g,s=i.replace(f,"/").split("/");return(i.slice(0,1)=="/"||i.length===0)&&s.splice(0,1),i.slice(-1)=="/"&&s.splice(s.length-1,1),s}function B0(o,i){const f={};return i.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,v,O){v&&(f[v]=O)}),f}const Bf=typeof addEventListener=="function"&&typeof removeEventListener=="function",Iu=[];Bf&&addEventListener("offline",()=>{Iu.forEach(o=>o())},!1);class Ol extends At{constructor(i,f){if(super(),this.binaryType=r0,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,i&&typeof i=="object"&&(f=i,i=null),i){const s=Cf(i);f.hostname=s.host,f.secure=s.protocol==="https"||s.protocol==="wss",f.port=s.port,s.query&&(f.query=s.query)}else f.host&&(f.hostname=Cf(f.host).host);li(this,f),this.secure=f.secure!=null?f.secure:typeof location<"u"&&location.protocol==="https:",f.hostname&&!f.port&&(f.port=this.secure?"443":"80"),this.hostname=f.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=f.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},f.transports.forEach(s=>{const v=s.prototype.name;this.transports.push(v),this._transportsByName[v]=s}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},f),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=p0(this.opts.query)),Bf&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},Iu.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(i){const f=Object.assign({},this.opts.query);f.EIO=hd,f.transport=i,this.id&&(f.sid=this.id);const s=Object.assign({},this.opts,{query:f,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[i]);return new this._transportsByName[i](s)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const i=this.opts.rememberUpgrade&&Ol.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const f=this.createTransport(i);f.open(),this.setTransport(f)}setTransport(i){this.transport&&this.transport.removeAllListeners(),this.transport=i,i.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",f=>this._onClose("transport close",f))}onOpen(){this.readyState="open",Ol.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(i){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",i),this.emitReserved("heartbeat"),i.type){case"open":this.onHandshake(JSON.parse(i.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const f=new Error("server error");f.code=i.data,this._onError(f);break;case"message":this.emitReserved("data",i.data),this.emitReserved("message",i.data);break}}onHandshake(i){this.emitReserved("handshake",i),this.id=i.sid,this.transport.query.sid=i.sid,this._pingInterval=i.pingInterval,this._pingTimeout=i.pingTimeout,this._maxPayload=i.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const i=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+i,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},i),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const i=this._getWritablePackets();this.transport.send(i),this._prevBufferLen=i.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let f=1;for(let s=0;s<this.writeBuffer.length;s++){const v=this.writeBuffer[s].data;if(v&&(f+=m0(v)),s>0&&f>this._maxPayload)return this.writeBuffer.slice(0,s);f+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const i=Date.now()>this._pingTimeoutTime;return i&&(this._pingTimeoutTime=0,ei(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),i}write(i,f,s){return this._sendPacket("message",i,f,s),this}send(i,f,s){return this._sendPacket("message",i,f,s),this}_sendPacket(i,f,s,v){if(typeof f=="function"&&(v=f,f=void 0),typeof s=="function"&&(v=s,s=null),this.readyState==="closing"||this.readyState==="closed")return;s=s||{},s.compress=s.compress!==!1;const O={type:i,data:f,options:s};this.emitReserved("packetCreate",O),this.writeBuffer.push(O),v&&this.once("flush",v),this.flush()}close(){const i=()=>{this._onClose("forced close"),this.transport.close()},f=()=>{this.off("upgrade",f),this.off("upgradeError",f),i()},s=()=>{this.once("upgrade",f),this.once("upgradeError",f)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?s():i()}):this.upgrading?s():i()),this}_onError(i){if(Ol.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",i),this._onClose("transport error",i)}_onClose(i,f){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Bf&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const s=Iu.indexOf(this._offlineEventListener);s!==-1&&Iu.splice(s,1)}this.readyState="closed",this.id=null,this.emitReserved("close",i,f),this.writeBuffer=[],this._prevBufferLen=0}}}Ol.protocol=hd;class q0 extends Ol{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let i=0;i<this._upgrades.length;i++)this._probe(this._upgrades[i])}_probe(i){let f=this.createTransport(i),s=!1;Ol.priorWebsocketSuccess=!1;const v=()=>{s||(f.send([{type:"ping",data:"probe"}]),f.once("packet",H=>{if(!s)if(H.type==="pong"&&H.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",f),!f)return;Ol.priorWebsocketSuccess=f.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(j(),this.setTransport(f),f.send([{type:"upgrade"}]),this.emitReserved("upgrade",f),f=null,this.upgrading=!1,this.flush())})}else{const lt=new Error("probe error");lt.transport=f.name,this.emitReserved("upgradeError",lt)}}))};function O(){s||(s=!0,j(),f.close(),f=null)}const U=H=>{const lt=new Error("probe error: "+H);lt.transport=f.name,O(),this.emitReserved("upgradeError",lt)};function L(){U("transport closed")}function D(){U("socket closed")}function M(H){f&&H.name!==f.name&&O()}const j=()=>{f.removeListener("open",v),f.removeListener("error",U),f.removeListener("close",L),this.off("close",D),this.off("upgrading",M)};f.once("open",v),f.once("error",U),f.once("close",L),this.once("close",D),this.once("upgrading",M),this._upgrades.indexOf("webtransport")!==-1&&i!=="webtransport"?this.setTimeoutFn(()=>{s||f.open()},200):f.open()}onHandshake(i){this._upgrades=this._filterUpgrades(i.upgrades),super.onHandshake(i)}_filterUpgrades(i){const f=[];for(let s=0;s<i.length;s++)~this.transports.indexOf(i[s])&&f.push(i[s]);return f}}let H0=class extends q0{constructor(i,f={}){const s=typeof i=="object"?i:f;(!s.transports||s.transports&&typeof s.transports[0]=="string")&&(s.transports=(s.transports||["polling","websocket","webtransport"]).map(v=>R0[v]).filter(v=>!!v)),super(i,s)}};function Y0(o,i="",f){let s=o;f=f||typeof location<"u"&&location,o==null&&(o=f.protocol+"//"+f.host),typeof o=="string"&&(o.charAt(0)==="/"&&(o.charAt(1)==="/"?o=f.protocol+o:o=f.host+o),/^(https?|wss?):\/\//.test(o)||(typeof f<"u"?o=f.protocol+"//"+o:o="https://"+o),s=Cf(o)),s.port||(/^(http|ws)$/.test(s.protocol)?s.port="80":/^(http|ws)s$/.test(s.protocol)&&(s.port="443")),s.path=s.path||"/";const O=s.host.indexOf(":")!==-1?"["+s.host+"]":s.host;return s.id=s.protocol+"://"+O+":"+s.port+i,s.href=s.protocol+"://"+O+(f&&f.port===s.port?"":":"+s.port),s}const x0=typeof ArrayBuffer=="function",L0=o=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(o):o.buffer instanceof ArrayBuffer,pd=Object.prototype.toString,X0=typeof Blob=="function"||typeof Blob<"u"&&pd.call(Blob)==="[object BlobConstructor]",Q0=typeof File=="function"||typeof File<"u"&&pd.call(File)==="[object FileConstructor]";function jf(o){return x0&&(o instanceof ArrayBuffer||L0(o))||X0&&o instanceof Blob||Q0&&o instanceof File}function Pu(o,i){if(!o||typeof o!="object")return!1;if(Array.isArray(o)){for(let f=0,s=o.length;f<s;f++)if(Pu(o[f]))return!0;return!1}if(jf(o))return!0;if(o.toJSON&&typeof o.toJSON=="function"&&arguments.length===1)return Pu(o.toJSON(),!0);for(const f in o)if(Object.prototype.hasOwnProperty.call(o,f)&&Pu(o[f]))return!0;return!1}function j0(o){const i=[],f=o.data,s=o;return s.data=qf(f,i),s.attachments=i.length,{packet:s,buffers:i}}function qf(o,i){if(!o)return o;if(jf(o)){const f={_placeholder:!0,num:i.length};return i.push(o),f}else if(Array.isArray(o)){const f=new Array(o.length);for(let s=0;s<o.length;s++)f[s]=qf(o[s],i);return f}else if(typeof o=="object"&&!(o instanceof Date)){const f={};for(const s in o)Object.prototype.hasOwnProperty.call(o,s)&&(f[s]=qf(o[s],i));return f}return o}function G0(o,i){return o.data=Hf(o.data,i),delete o.attachments,o}function Hf(o,i){if(!o)return o;if(o&&o._placeholder===!0){if(typeof o.num=="number"&&o.num>=0&&o.num<i.length)return i[o.num];throw new Error("illegal attachments")}else if(Array.isArray(o))for(let f=0;f<o.length;f++)o[f]=Hf(o[f],i);else if(typeof o=="object")for(const f in o)Object.prototype.hasOwnProperty.call(o,f)&&(o[f]=Hf(o[f],i));return o}const V0=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var I;(function(o){o[o.CONNECT=0]="CONNECT",o[o.DISCONNECT=1]="DISCONNECT",o[o.EVENT=2]="EVENT",o[o.ACK=3]="ACK",o[o.CONNECT_ERROR=4]="CONNECT_ERROR",o[o.BINARY_EVENT=5]="BINARY_EVENT",o[o.BINARY_ACK=6]="BINARY_ACK"})(I||(I={}));class Z0{constructor(i){this.replacer=i}encode(i){return(i.type===I.EVENT||i.type===I.ACK)&&Pu(i)?this.encodeAsBinary({type:i.type===I.EVENT?I.BINARY_EVENT:I.BINARY_ACK,nsp:i.nsp,data:i.data,id:i.id}):[this.encodeAsString(i)]}encodeAsString(i){let f=""+i.type;return(i.type===I.BINARY_EVENT||i.type===I.BINARY_ACK)&&(f+=i.attachments+"-"),i.nsp&&i.nsp!=="/"&&(f+=i.nsp+","),i.id!=null&&(f+=i.id),i.data!=null&&(f+=JSON.stringify(i.data,this.replacer)),f}encodeAsBinary(i){const f=j0(i),s=this.encodeAsString(f.packet),v=f.buffers;return v.unshift(s),v}}class Gf extends At{constructor(i){super(),this.reviver=i}add(i){let f;if(typeof i=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");f=this.decodeString(i);const s=f.type===I.BINARY_EVENT;s||f.type===I.BINARY_ACK?(f.type=s?I.EVENT:I.ACK,this.reconstructor=new K0(f),f.attachments===0&&super.emitReserved("decoded",f)):super.emitReserved("decoded",f)}else if(jf(i)||i.base64)if(this.reconstructor)f=this.reconstructor.takeBinaryData(i),f&&(this.reconstructor=null,super.emitReserved("decoded",f));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+i)}decodeString(i){let f=0;const s={type:Number(i.charAt(0))};if(I[s.type]===void 0)throw new Error("unknown packet type "+s.type);if(s.type===I.BINARY_EVENT||s.type===I.BINARY_ACK){const O=f+1;for(;i.charAt(++f)!=="-"&&f!=i.length;);const U=i.substring(O,f);if(U!=Number(U)||i.charAt(f)!=="-")throw new Error("Illegal attachments");s.attachments=Number(U)}if(i.charAt(f+1)==="/"){const O=f+1;for(;++f&&!(i.charAt(f)===","||f===i.length););s.nsp=i.substring(O,f)}else s.nsp="/";const v=i.charAt(f+1);if(v!==""&&Number(v)==v){const O=f+1;for(;++f;){const U=i.charAt(f);if(U==null||Number(U)!=U){--f;break}if(f===i.length)break}s.id=Number(i.substring(O,f+1))}if(i.charAt(++f)){const O=this.tryParse(i.substr(f));if(Gf.isPayloadValid(s.type,O))s.data=O;else throw new Error("invalid payload")}return s}tryParse(i){try{return JSON.parse(i,this.reviver)}catch{return!1}}static isPayloadValid(i,f){switch(i){case I.CONNECT:return id(f);case I.DISCONNECT:return f===void 0;case I.CONNECT_ERROR:return typeof f=="string"||id(f);case I.EVENT:case I.BINARY_EVENT:return Array.isArray(f)&&(typeof f[0]=="number"||typeof f[0]=="string"&&V0.indexOf(f[0])===-1);case I.ACK:case I.BINARY_ACK:return Array.isArray(f)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class K0{constructor(i){this.packet=i,this.buffers=[],this.reconPack=i}takeBinaryData(i){if(this.buffers.push(i),this.buffers.length===this.reconPack.attachments){const f=G0(this.reconPack,this.buffers);return this.finishedReconstruction(),f}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function id(o){return Object.prototype.toString.call(o)==="[object Object]"}const w0=Object.freeze(Object.defineProperty({__proto__:null,Decoder:Gf,Encoder:Z0,get PacketType(){return I}},Symbol.toStringTag,{value:"Module"}));function Ae(o,i,f){return o.on(i,f),function(){o.off(i,f)}}const J0=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Sd extends At{constructor(i,f,s){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=i,this.nsp=f,s&&s.auth&&(this.auth=s.auth),this._opts=Object.assign({},s),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const i=this.io;this.subs=[Ae(i,"open",this.onopen.bind(this)),Ae(i,"packet",this.onpacket.bind(this)),Ae(i,"error",this.onerror.bind(this)),Ae(i,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...i){return i.unshift("message"),this.emit.apply(this,i),this}emit(i,...f){var s,v,O;if(J0.hasOwnProperty(i))throw new Error('"'+i.toString()+'" is a reserved event name');if(f.unshift(i),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(f),this;const U={type:I.EVENT,data:f};if(U.options={},U.options.compress=this.flags.compress!==!1,typeof f[f.length-1]=="function"){const j=this.ids++,H=f.pop();this._registerAckCallback(j,H),U.id=j}const L=(v=(s=this.io.engine)===null||s===void 0?void 0:s.transport)===null||v===void 0?void 0:v.writable,D=this.connected&&!(!((O=this.io.engine)===null||O===void 0)&&O._hasPingExpired());return this.flags.volatile&&!L||(D?(this.notifyOutgoingListeners(U),this.packet(U)):this.sendBuffer.push(U)),this.flags={},this}_registerAckCallback(i,f){var s;const v=(s=this.flags.timeout)!==null&&s!==void 0?s:this._opts.ackTimeout;if(v===void 0){this.acks[i]=f;return}const O=this.io.setTimeoutFn(()=>{delete this.acks[i];for(let L=0;L<this.sendBuffer.length;L++)this.sendBuffer[L].id===i&&this.sendBuffer.splice(L,1);f.call(this,new Error("operation has timed out"))},v),U=(...L)=>{this.io.clearTimeoutFn(O),f.apply(this,L)};U.withError=!0,this.acks[i]=U}emitWithAck(i,...f){return new Promise((s,v)=>{const O=(U,L)=>U?v(U):s(L);O.withError=!0,f.push(O),this.emit(i,...f)})}_addToQueue(i){let f;typeof i[i.length-1]=="function"&&(f=i.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:i,flags:Object.assign({fromQueue:!0},this.flags)};i.push((v,...O)=>(this._queue[0],v!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),f&&f(v)):(this._queue.shift(),f&&f(null,...O)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(i=!1){if(!this.connected||this._queue.length===0)return;const f=this._queue[0];f.pending&&!i||(f.pending=!0,f.tryCount++,this.flags=f.flags,this.emit.apply(this,f.args))}packet(i){i.nsp=this.nsp,this.io._packet(i)}onopen(){typeof this.auth=="function"?this.auth(i=>{this._sendConnectPacket(i)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(i){this.packet({type:I.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},i):i})}onerror(i){this.connected||this.emitReserved("connect_error",i)}onclose(i,f){this.connected=!1,delete this.id,this.emitReserved("disconnect",i,f),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(i=>{if(!this.sendBuffer.some(s=>String(s.id)===i)){const s=this.acks[i];delete this.acks[i],s.withError&&s.call(this,new Error("socket has been disconnected"))}})}onpacket(i){if(i.nsp===this.nsp)switch(i.type){case I.CONNECT:i.data&&i.data.sid?this.onconnect(i.data.sid,i.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case I.EVENT:case I.BINARY_EVENT:this.onevent(i);break;case I.ACK:case I.BINARY_ACK:this.onack(i);break;case I.DISCONNECT:this.ondisconnect();break;case I.CONNECT_ERROR:this.destroy();const s=new Error(i.data.message);s.data=i.data.data,this.emitReserved("connect_error",s);break}}onevent(i){const f=i.data||[];i.id!=null&&f.push(this.ack(i.id)),this.connected?this.emitEvent(f):this.receiveBuffer.push(Object.freeze(f))}emitEvent(i){if(this._anyListeners&&this._anyListeners.length){const f=this._anyListeners.slice();for(const s of f)s.apply(this,i)}super.emit.apply(this,i),this._pid&&i.length&&typeof i[i.length-1]=="string"&&(this._lastOffset=i[i.length-1])}ack(i){const f=this;let s=!1;return function(...v){s||(s=!0,f.packet({type:I.ACK,id:i,data:v}))}}onack(i){const f=this.acks[i.id];typeof f=="function"&&(delete this.acks[i.id],f.withError&&i.data.unshift(null),f.apply(this,i.data))}onconnect(i,f){this.id=i,this.recovered=f&&this._pid===f,this._pid=f,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(i=>this.emitEvent(i)),this.receiveBuffer=[],this.sendBuffer.forEach(i=>{this.notifyOutgoingListeners(i),this.packet(i)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(i=>i()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:I.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(i){return this.flags.compress=i,this}get volatile(){return this.flags.volatile=!0,this}timeout(i){return this.flags.timeout=i,this}onAny(i){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(i),this}prependAny(i){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(i),this}offAny(i){if(!this._anyListeners)return this;if(i){const f=this._anyListeners;for(let s=0;s<f.length;s++)if(i===f[s])return f.splice(s,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(i){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(i),this}prependAnyOutgoing(i){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(i),this}offAnyOutgoing(i){if(!this._anyOutgoingListeners)return this;if(i){const f=this._anyOutgoingListeners;for(let s=0;s<f.length;s++)if(i===f[s])return f.splice(s,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(i){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const f=this._anyOutgoingListeners.slice();for(const s of f)s.apply(this,i.data)}}}function Bn(o){o=o||{},this.ms=o.min||100,this.max=o.max||1e4,this.factor=o.factor||2,this.jitter=o.jitter>0&&o.jitter<=1?o.jitter:0,this.attempts=0}Bn.prototype.duration=function(){var o=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var i=Math.random(),f=Math.floor(i*this.jitter*o);o=(Math.floor(i*10)&1)==0?o-f:o+f}return Math.min(o,this.max)|0};Bn.prototype.reset=function(){this.attempts=0};Bn.prototype.setMin=function(o){this.ms=o};Bn.prototype.setMax=function(o){this.max=o};Bn.prototype.setJitter=function(o){this.jitter=o};class Yf extends At{constructor(i,f){var s;super(),this.nsps={},this.subs=[],i&&typeof i=="object"&&(f=i,i=void 0),f=f||{},f.path=f.path||"/socket.io",this.opts=f,li(this,f),this.reconnection(f.reconnection!==!1),this.reconnectionAttempts(f.reconnectionAttempts||1/0),this.reconnectionDelay(f.reconnectionDelay||1e3),this.reconnectionDelayMax(f.reconnectionDelayMax||5e3),this.randomizationFactor((s=f.randomizationFactor)!==null&&s!==void 0?s:.5),this.backoff=new Bn({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(f.timeout==null?2e4:f.timeout),this._readyState="closed",this.uri=i;const v=f.parser||w0;this.encoder=new v.Encoder,this.decoder=new v.Decoder,this._autoConnect=f.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(i){return arguments.length?(this._reconnection=!!i,i||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(i){return i===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=i,this)}reconnectionDelay(i){var f;return i===void 0?this._reconnectionDelay:(this._reconnectionDelay=i,(f=this.backoff)===null||f===void 0||f.setMin(i),this)}randomizationFactor(i){var f;return i===void 0?this._randomizationFactor:(this._randomizationFactor=i,(f=this.backoff)===null||f===void 0||f.setJitter(i),this)}reconnectionDelayMax(i){var f;return i===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=i,(f=this.backoff)===null||f===void 0||f.setMax(i),this)}timeout(i){return arguments.length?(this._timeout=i,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(i){if(~this._readyState.indexOf("open"))return this;this.engine=new H0(this.uri,this.opts);const f=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const v=Ae(f,"open",function(){s.onopen(),i&&i()}),O=L=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",L),i?i(L):this.maybeReconnectOnOpen()},U=Ae(f,"error",O);if(this._timeout!==!1){const L=this._timeout,D=this.setTimeoutFn(()=>{v(),O(new Error("timeout")),f.close()},L);this.opts.autoUnref&&D.unref(),this.subs.push(()=>{this.clearTimeoutFn(D)})}return this.subs.push(v),this.subs.push(U),this}connect(i){return this.open(i)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const i=this.engine;this.subs.push(Ae(i,"ping",this.onping.bind(this)),Ae(i,"data",this.ondata.bind(this)),Ae(i,"error",this.onerror.bind(this)),Ae(i,"close",this.onclose.bind(this)),Ae(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(i){try{this.decoder.add(i)}catch(f){this.onclose("parse error",f)}}ondecoded(i){ei(()=>{this.emitReserved("packet",i)},this.setTimeoutFn)}onerror(i){this.emitReserved("error",i)}socket(i,f){let s=this.nsps[i];return s?this._autoConnect&&!s.active&&s.connect():(s=new Sd(this,i,f),this.nsps[i]=s),s}_destroy(i){const f=Object.keys(this.nsps);for(const s of f)if(this.nsps[s].active)return;this._close()}_packet(i){const f=this.encoder.encode(i);for(let s=0;s<f.length;s++)this.engine.write(f[s],i.options)}cleanup(){this.subs.forEach(i=>i()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(i,f){var s;this.cleanup(),(s=this.engine)===null||s===void 0||s.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",i,f),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const i=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const f=this.backoff.duration();this._reconnecting=!0;const s=this.setTimeoutFn(()=>{i.skipReconnect||(this.emitReserved("reconnect_attempt",i.backoff.attempts),!i.skipReconnect&&i.open(v=>{v?(i._reconnecting=!1,i.reconnect(),this.emitReserved("reconnect_error",v)):i.onreconnect()}))},f);this.opts.autoUnref&&s.unref(),this.subs.push(()=>{this.clearTimeoutFn(s)})}}onreconnect(){const i=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",i)}}const Ra={};function ti(o,i){typeof o=="object"&&(i=o,o=void 0),i=i||{};const f=Y0(o,i.path||"/socket.io"),s=f.source,v=f.id,O=f.path,U=Ra[v]&&O in Ra[v].nsps,L=i.forceNew||i["force new connection"]||i.multiplex===!1||U;let D;return L?D=new Yf(s,i):(Ra[v]||(Ra[v]=new Yf(s,i)),D=Ra[v]),f.query&&!i.query&&(i.query=f.queryKey),D.socket(f.path,i)}Object.assign(ti,{Manager:Yf,Socket:Sd,io:ti,connect:ti});const k0=()=>ti("/",{transports:["websocket"]});function W0(){const[o,i]=ed.useState(0);return ed.useEffect(()=>{const f=k0();return f.on("greet",s=>{console.log(s)}),f.emit("greet","yo"),()=>{f.disconnect()}},[]),ce.jsxs("div",{className:"App",children:[ce.jsxs("div",{children:[ce.jsx("a",{href:"https://vitejs.dev",target:"_blank",children:ce.jsx("img",{src:"/vite.svg",className:"logo",alt:"Vite logo"})}),ce.jsx("a",{href:"https://reactjs.org",target:"_blank",children:ce.jsx("img",{src:e0,className:"logo react",alt:"React logo"})})]}),ce.jsx("h1",{children:"Vite + React"}),ce.jsxs("div",{className:"card",children:[ce.jsxs("button",{onClick:()=>i(f=>f+1),children:["count is ",o]}),ce.jsxs("p",{children:["Edit ",ce.jsx("code",{children:"src/App.tsx"})," and save to test HMR"]})]}),ce.jsx("p",{className:"read-the-docs",children:"Click on the Vite and React logos to learn more"})]})}t0.createRoot(document.getElementById("root")).render(ce.jsx(W0,{}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}#root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}.logo{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.react:hover{filter:drop-shadow(0 0 2em #61dafbaa)}@keyframes logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion:no-preference){a:nth-of-type(2) .logo{animation:logo-spin infinite 20s linear}}.card{padding:2em}.read-the-docs{color:#888}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="35.93" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 228"><path fill="#00D8FF" d="M210.483 73.824a171.49 171.49 0 0 0-8.24-2.597c.465-1.9.893-3.777 1.273-5.621c6.238-30.281 2.16-54.676-11.769-62.708c-13.355-7.7-35.196.329-57.254 19.526a171.23 171.23 0 0 0-6.375 5.848a155.866 155.866 0 0 0-4.241-3.917C100.759 3.829 77.587-4.822 63.673 3.233C50.33 10.957 46.379 33.89 51.995 62.588a170.974 170.974 0 0 0 1.892 8.48c-3.28.932-6.445 1.924-9.474 2.98C17.309 83.498 0 98.307 0 113.668c0 15.865 18.582 31.778 46.812 41.427a145.52 145.52 0 0 0 6.921 2.165a167.467 167.467 0 0 0-2.01 9.138c-5.354 28.2-1.173 50.591 12.134 58.266c13.744 7.926 36.812-.22 59.273-19.855a145.567 145.567 0 0 0 5.342-4.923a168.064 168.064 0 0 0 6.92 6.314c21.758 18.722 43.246 26.282 56.54 18.586c13.731-7.949 18.194-32.003 12.4-61.268a145.016 145.016 0 0 0-1.535-6.842c1.62-.48 3.21-.974 4.76-1.488c29.348-9.723 48.443-25.443 48.443-41.52c0-15.417-17.868-30.326-45.517-39.844Zm-6.365 70.984c-1.4.463-2.836.91-4.3 1.345c-3.24-10.257-7.612-21.163-12.963-32.432c5.106-11 9.31-21.767 12.459-31.957c2.619.758 5.16 1.557 7.61 2.4c23.69 8.156 38.14 20.213 38.14 29.504c0 9.896-15.606 22.743-40.946 31.14Zm-10.514 20.834c2.562 12.94 2.927 24.64 1.23 33.787c-1.524 8.219-4.59 13.698-8.382 15.893c-8.067 4.67-25.32-1.4-43.927-17.412a156.726 156.726 0 0 1-6.437-5.87c7.214-7.889 14.423-17.06 21.459-27.246c12.376-1.098 24.068-2.894 34.671-5.345a134.17 134.17 0 0 1 1.386 6.193ZM87.276 214.515c-7.882 2.783-14.16 2.863-17.955.675c-8.075-4.657-11.432-22.636-6.853-46.752a156.923 156.923 0 0 1 1.869-8.499c10.486 2.32 22.093 3.988 34.498 4.994c7.084 9.967 14.501 19.128 21.976 27.15a134.668 134.668 0 0 1-4.877 4.492c-9.933 8.682-19.886 14.842-28.658 17.94ZM50.35 144.747c-12.483-4.267-22.792-9.812-29.858-15.863c-6.35-5.437-9.555-10.836-9.555-15.216c0-9.322 13.897-21.212 37.076-29.293c2.813-.98 5.757-1.905 8.812-2.773c3.204 10.42 7.406 21.315 12.477 32.332c-5.137 11.18-9.399 22.249-12.634 32.792a134.718 134.718 0 0 1-6.318-1.979Zm12.378-84.26c-4.811-24.587-1.616-43.134 6.425-47.789c8.564-4.958 27.502 2.111 47.463 19.835a144.318 144.318 0 0 1 3.841 3.545c-7.438 7.987-14.787 17.08-21.808 26.988c-12.04 1.116-23.565 2.908-34.161 5.309a160.342 160.342 0 0 1-1.76-7.887Zm110.427 27.268a347.8 347.8 0 0 0-7.785-12.803c8.168 1.033 15.994 2.404 23.343 4.08c-2.206 7.072-4.956 14.465-8.193 22.045a381.151 381.151 0 0 0-7.365-13.322Zm-45.032-43.861c5.044 5.465 10.096 11.566 15.065 18.186a322.04 322.04 0 0 0-30.257-.006c4.974-6.559 10.069-12.652 15.192-18.18ZM82.802 87.83a323.167 323.167 0 0 0-7.227 13.238c-3.184-7.553-5.909-14.98-8.134-22.152c7.304-1.634 15.093-2.97 23.209-3.984a321.524 321.524 0 0 0-7.848 12.897Zm8.081 65.352c-8.385-.936-16.291-2.203-23.593-3.793c2.26-7.3 5.045-14.885 8.298-22.6a321.187 321.187 0 0 0 7.257 13.246c2.594 4.48 5.28 8.868 8.038 13.147Zm37.542 31.03c-5.184-5.592-10.354-11.779-15.403-18.433c4.902.192 9.899.29 14.978.29c5.218 0 10.376-.117 15.453-.343c-4.985 6.774-10.018 12.97-15.028 18.486Zm52.198-57.817c3.422 7.8 6.306 15.345 8.596 22.52c-7.422 1.694-15.436 3.058-23.88 4.071a382.417 382.417 0 0 0 7.859-13.026a347.403 347.403 0 0 0 7.425-13.565Zm-16.898 8.101a358.557 358.557 0 0 1-12.281 19.815a329.4 329.4 0 0 1-23.444.823c-7.967 0-15.716-.248-23.178-.732a310.202 310.202 0 0 1-12.513-19.846h.001a307.41 307.41 0 0 1-10.923-20.627a310.278 310.278 0 0 1 10.89-20.637l-.001.001a307.318 307.318 0 0 1 12.413-19.761c7.613-.576 15.42-.876 23.31-.876H128c7.926 0 15.743.303 23.354.883a329.357 329.357 0 0 1 12.335 19.695a358.489 358.489 0 0 1 11.036 20.54a329.472 329.472 0 0 1-11 20.722Zm22.56-122.124c8.572 4.944 11.906 24.881 6.52 51.026c-.344 1.668-.73 3.367-1.15 5.09c-10.622-2.452-22.155-4.275-34.23-5.408c-7.034-10.017-14.323-19.124-21.64-27.008a160.789 160.789 0 0 1 5.888-5.4c18.9-16.447 36.564-22.941 44.612-18.3ZM128 90.808c12.625 0 22.86 10.235 22.86 22.86s-10.235 22.86-22.86 22.86s-22.86-10.235-22.86-22.86s10.235-22.86 22.86-22.86Z"></path></svg>
|
package/dist/index.html
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="UTF-8" />
|
|
6
|
-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
8
|
-
<title>Our Codetown</title>
|
|
9
|
-
<script type="module" crossorigin src="/assets/index-C9m38qRt.js"></script>
|
|
10
|
-
<link rel="stylesheet" crossorigin href="/assets/index-FJflyyUw.css">
|
|
11
|
-
</head>
|
|
12
|
-
|
|
13
|
-
<body>
|
|
14
|
-
<div id="root"></div>
|
|
15
|
-
</body>
|
|
16
|
-
|
|
17
|
-
</html>
|
package/dist/vite.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
|
package/src/server/cli.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
import 'tsx'
|
|
4
|
-
import meow from "meow";
|
|
5
|
-
import { dirname } from "path";
|
|
6
|
-
|
|
7
|
-
const cli = meow(
|
|
8
|
-
`
|
|
9
|
-
Usage
|
|
10
|
-
$ codetown [input]
|
|
11
|
-
|
|
12
|
-
Options
|
|
13
|
-
--port web port [Default: 8077]
|
|
14
|
-
--host host [Default: 127.0.0.1]
|
|
15
|
-
|
|
16
|
-
Examples
|
|
17
|
-
$ codetown
|
|
18
|
-
$ codetown --port 8080 // custom port
|
|
19
|
-
$ codetown --host 0.0.0.0 --port 8080 // custom host to local share and use port 8080
|
|
20
|
-
`,
|
|
21
|
-
{
|
|
22
|
-
importMeta: import.meta,
|
|
23
|
-
flags: {
|
|
24
|
-
port: {
|
|
25
|
-
type: "number",
|
|
26
|
-
default: 8077,
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
);
|
|
31
|
-
|
|
32
|
-
const currentFile = import.meta.url;
|
|
33
|
-
const currentFolder = dirname(currentFile);
|
|
34
|
-
|
|
35
|
-
import('./main.ts').then(({ runServer }) => {
|
|
36
|
-
runServer({
|
|
37
|
-
port: cli.flags.port || 8077,
|
|
38
|
-
host: cli.flags.host || '127.0.0.1',
|
|
39
|
-
mode: process.env.NODE_ENV === 'development' ? "development" : "production",
|
|
40
|
-
currentFile,
|
|
41
|
-
currentFolder
|
|
42
|
-
});
|
|
43
|
-
})
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
//
|
package/src/server/main.ts
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import express from "express";
|
|
2
|
-
import ViteExpress from "vite-express";
|
|
3
|
-
import { createServer } from "http";
|
|
4
|
-
import { Server } from "socket.io";
|
|
5
|
-
|
|
6
|
-
export function runServer({
|
|
7
|
-
host,
|
|
8
|
-
port,
|
|
9
|
-
currentFolder,
|
|
10
|
-
currentFile,
|
|
11
|
-
mode,
|
|
12
|
-
}: {
|
|
13
|
-
//
|
|
14
|
-
host: string;
|
|
15
|
-
port: number;
|
|
16
|
-
mode: "production" | "development";
|
|
17
|
-
currentFile: string;
|
|
18
|
-
currentFolder: string;
|
|
19
|
-
}) {
|
|
20
|
-
//
|
|
21
|
-
if (process.env.NODE_ENV === "development") {
|
|
22
|
-
console.log("currentFolder", currentFolder);
|
|
23
|
-
console.log("currentFile", currentFile);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
ViteExpress.config({
|
|
27
|
-
mode: mode || "production",
|
|
28
|
-
});
|
|
29
|
-
|
|
30
|
-
const app = express();
|
|
31
|
-
|
|
32
|
-
const server = createServer(app);
|
|
33
|
-
|
|
34
|
-
const io = new Server(server); // Attach Socket.IO to the HTTP server
|
|
35
|
-
|
|
36
|
-
app.get("/hello", (_, res) => {
|
|
37
|
-
res.send("Hello Vite + React + TypeScript!");
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
io.on("connection", (socket) => {
|
|
41
|
-
console.log("a web client connected", socket.id);
|
|
42
|
-
|
|
43
|
-
socket.on("greet", (arg) => {
|
|
44
|
-
console.log(arg);
|
|
45
|
-
});
|
|
46
|
-
socket.emit("greet", { hello: socket.id });
|
|
47
|
-
|
|
48
|
-
socket.on("disconnect", (reason) => {
|
|
49
|
-
console.log(`Socket disconnected: ${reason}`);
|
|
50
|
-
});
|
|
51
|
-
});
|
|
52
|
-
|
|
53
|
-
//
|
|
54
|
-
|
|
55
|
-
console.log(`Server is: http://${host}:${port}`);
|
|
56
|
-
|
|
57
|
-
server.listen(port, host, () => {});
|
|
58
|
-
|
|
59
|
-
ViteExpress.bind(app, server);
|
|
60
|
-
}
|