axiodb 2.21.71 → 2.24.71
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/lib/Services/Database/database.operation.d.ts +38 -3
- package/lib/Services/Database/database.operation.js +101 -3
- package/lib/Services/Database/database.operation.js.map +1 -1
- package/lib/Services/Indexation.operation.d.ts +1 -0
- package/lib/Services/Indexation.operation.js +8 -1
- package/lib/Services/Indexation.operation.js.map +1 -1
- package/lib/config/Interfaces/Operation/Indexation.operation.interface.d.ts +2 -0
- package/lib/config/Interfaces/Operation/database.operation.interface.d.ts +12 -0
- package/lib/config/Interfaces/Operation/database.operation.interface.js +1 -0
- package/lib/config/Interfaces/Operation/database.operation.interface.js.map +1 -1
- package/lib/engine/Filesystem/FileManager.js +62 -9
- package/lib/engine/Filesystem/FileManager.js.map +1 -1
- package/lib/engine/Filesystem/FolderManager.d.ts +15 -0
- package/lib/engine/Filesystem/FolderManager.js +151 -5
- package/lib/engine/Filesystem/FolderManager.js.map +1 -1
- package/lib/server/config/keys.d.ts +9 -9
- package/lib/server/config/keys.js +79 -33
- package/lib/server/config/keys.js.map +1 -1
- package/lib/server/controller/Collections/Collection.controller.d.ts +58 -0
- package/lib/server/controller/Collections/Collection.controller.js +156 -0
- package/lib/server/controller/Collections/Collection.controller.js.map +1 -0
- package/lib/server/helper/filesCounterInFolder.helper.d.ts +16 -0
- package/lib/server/helper/filesCounterInFolder.helper.js +49 -0
- package/lib/server/helper/filesCounterInFolder.helper.js.map +1 -0
- package/lib/server/public/AxioControl/.vite/manifest.json +2 -2
- package/lib/server/public/AxioControl/.vite/ssr-manifest.json +2 -0
- package/lib/server/public/AxioControl/assets/index--rWHSvem.css +1 -0
- package/lib/server/public/AxioControl/assets/index-1QePTOyA.js +56 -0
- package/lib/server/public/AxioControl/index.html +2 -2
- package/lib/server/public/AxioControl/sw.js +1 -1
- package/lib/server/router/Router.js +6 -0
- package/lib/server/router/Router.js.map +1 -1
- package/lib/server/router/Routers/Collection.routes.d.ts +7 -0
- package/lib/server/router/Routers/Collection.routes.js +29 -0
- package/lib/server/router/Routers/Collection.routes.js.map +1 -0
- package/package.json +1 -1
- package/lib/server/public/AxioControl/assets/index-BHqXlmHD.css +0 -1
- package/lib/server/public/AxioControl/assets/index-BrzSFweB.js +0 -56
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
var Rg=Object.defineProperty,Ag=Object.defineProperties;var Og=Object.getOwnPropertyDescriptors;var Ai=Object.getOwnPropertySymbols;var Mh=Object.prototype.hasOwnProperty,jh=Object.prototype.propertyIsEnumerable;var Xa=(u,c)=>(c=Symbol[u])?c:Symbol.for("Symbol."+u),Ng=u=>{throw TypeError(u)};var Ch=(u,c,s)=>c in u?Rg(u,c,{enumerable:!0,configurable:!0,writable:!0,value:s}):u[c]=s,Se=(u,c)=>{for(var s in c||(c={}))Mh.call(c,s)&&Ch(u,s,c[s]);if(Ai)for(var s of Ai(c))jh.call(c,s)&&Ch(u,s,c[s]);return u},bt=(u,c)=>Ag(u,Og(c));var Va=(u,c)=>{var s={};for(var r in u)Mh.call(u,r)&&c.indexOf(r)<0&&(s[r]=u[r]);if(u!=null&&Ai)for(var r of Ai(u))c.indexOf(r)<0&&jh.call(u,r)&&(s[r]=u[r]);return s};var Dg=(u,c)=>()=>(c||u((c={exports:{}}).exports,c),c.exports);var Ze=(u,c,s)=>new Promise((r,o)=>{var d=g=>{try{v(s.next(g))}catch(y){o(y)}},m=g=>{try{v(s.throw(g))}catch(y){o(y)}},v=g=>g.done?r(g.value):Promise.resolve(g.value).then(d,m);v((s=s.apply(u,c)).next())}),Il=function(u,c){this[0]=u,this[1]=c},is=(u,c,s)=>{var r=(m,v,g,y)=>{try{var p=s[m](v),N=(v=p.value)instanceof Il,D=p.done;Promise.resolve(N?v[0]:v).then(Y=>N?r(m==="return"?m:"next",v[1]?{done:Y.done,value:Y.value}:Y,g,y):g({value:Y,done:D})).catch(Y=>r("throw",Y,g,y))}catch(Y){y(Y)}},o=m=>d[m]=v=>new Promise((g,y)=>r(m,v,g,y)),d={};return s=s.apply(u,c),d[Xa("asyncIterator")]=()=>d,o("next"),o("throw"),o("return"),d},cs=u=>{var c=u[Xa("asyncIterator")],s=!1,r,o={};return c==null?(c=u[Xa("iterator")](),r=d=>o[d]=m=>c[d](m)):(c=c.call(u),r=d=>o[d]=m=>{if(s){if(s=!1,d==="throw")throw m;return m}return s=!0,{done:!1,value:new Il(new Promise(v=>{var g=c[d](m);g instanceof Object||Ng("Object expected"),v(g)}),1)}}),o[Xa("iterator")]=()=>o,r("next"),"throw"in c?r("throw"):o.throw=d=>{throw d},"return"in c&&r("return"),o},zh=(u,c,s)=>(c=u[Xa("asyncIterator")])?c.call(u):(u=u[Xa("iterator")](),c={},s=(r,o)=>(o=u[r])&&(c[r]=d=>new Promise((m,v,g)=>(d=o.call(u,d),g=d.done,Promise.resolve(d.value).then(y=>m({value:y,done:g}),v)))),s("next"),s("return"),c);var xb=Dg(Vt=>{(function(){const c=document.createElement("link").relList;if(c&&c.supports&&c.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const d of o)if(d.type==="childList")for(const m of d.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&r(m)}).observe(document,{childList:!0,subtree:!0});function s(o){const d={};return o.integrity&&(d.integrity=o.integrity),o.referrerPolicy&&(d.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?d.credentials="include":o.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function r(o){if(o.ep)return;o.ep=!0;const d=s(o);fetch(o.href,d)}})();function wg(u){return u&&u.__esModule&&Object.prototype.hasOwnProperty.call(u,"default")?u.default:u}var rs={exports:{}},kn={};/**
|
|
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 Uh;function _g(){if(Uh)return kn;Uh=1;var u=Symbol.for("react.transitional.element"),c=Symbol.for("react.fragment");function s(r,o,d){var m=null;if(d!==void 0&&(m=""+d),o.key!==void 0&&(m=""+o.key),"key"in o){d={};for(var v in o)v!=="key"&&(d[v]=o[v])}else d=o;return o=d.ref,{$$typeof:u,type:r,key:m,ref:o!==void 0?o:null,props:d}}return kn.Fragment=c,kn.jsx=s,kn.jsxs=s,kn}var Bh;function Cg(){return Bh||(Bh=1,rs.exports=_g()),rs.exports}var S=Cg(),ss={exports:{}},ne={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react.production.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var Hh;function Mg(){if(Hh)return ne;Hh=1;var u=Symbol.for("react.transitional.element"),c=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),d=Symbol.for("react.consumer"),m=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),N=Symbol.iterator;function D(x){return x===null||typeof x!="object"?null:(x=N&&x[N]||x["@@iterator"],typeof x=="function"?x:null)}var Y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,z={};function j(x,q,J){this.props=x,this.context=q,this.refs=z,this.updater=J||Y}j.prototype.isReactComponent={},j.prototype.setState=function(x,q){if(typeof x!="object"&&typeof x!="function"&&x!=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,x,q,"setState")},j.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};function G(){}G.prototype=j.prototype;function X(x,q,J){this.props=x,this.context=q,this.refs=z,this.updater=J||Y}var K=X.prototype=new G;K.constructor=X,C(K,j.prototype),K.isPureReactComponent=!0;var te=Array.isArray,V={H:null,A:null,T:null,S:null,V:null},se=Object.prototype.hasOwnProperty;function fe(x,q,J,Q,F,de){return J=de.ref,{$$typeof:u,type:x,key:q,ref:J!==void 0?J:null,props:de}}function Te(x,q){return fe(x.type,q,void 0,void 0,void 0,x.props)}function je(x){return typeof x=="object"&&x!==null&&x.$$typeof===u}function rt(x){var q={"=":"=0",":":"=2"};return"$"+x.replace(/[=:]/g,function(J){return q[J]})}var ze=/\/+/g;function De(x,q){return typeof x=="object"&&x!==null&&x.key!=null?rt(""+x.key):q.toString(36)}function zt(){}function zl(x){switch(x.status){case"fulfilled":return x.value;case"rejected":throw x.reason;default:switch(typeof x.status=="string"?x.then(zt,zt):(x.status="pending",x.then(function(q){x.status==="pending"&&(x.status="fulfilled",x.value=q)},function(q){x.status==="pending"&&(x.status="rejected",x.reason=q)})),x.status){case"fulfilled":return x.value;case"rejected":throw x.reason}}throw x}function $e(x,q,J,Q,F){var de=typeof x;(de==="undefined"||de==="boolean")&&(x=null);var le=!1;if(x===null)le=!0;else switch(de){case"bigint":case"string":case"number":le=!0;break;case"object":switch(x.$$typeof){case u:case c:le=!0;break;case p:return le=x._init,$e(le(x._payload),q,J,Q,F)}}if(le)return F=F(x),le=Q===""?"."+De(x,0):Q,te(F)?(J="",le!=null&&(J=le.replace(ze,"$&/")+"/"),$e(F,q,J,"",function(rl){return rl})):F!=null&&(je(F)&&(F=Te(F,J+(F.key==null||x&&x.key===F.key?"":(""+F.key).replace(ze,"$&/")+"/")+le)),q.push(F)),1;le=0;var st=Q===""?".":Q+":";if(te(x))for(var Oe=0;Oe<x.length;Oe++)Q=x[Oe],de=st+De(Q,Oe),le+=$e(Q,q,J,de,F);else if(Oe=D(x),typeof Oe=="function")for(x=Oe.call(x),Oe=0;!(Q=x.next()).done;)Q=Q.value,de=st+De(Q,Oe++),le+=$e(Q,q,J,de,F);else if(de==="object"){if(typeof x.then=="function")return $e(zl(x),q,J,Q,F);throw q=String(x),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.")}return le}function B(x,q,J){if(x==null)return x;var Q=[],F=0;return $e(x,Q,"","",function(de){return q.call(J,de,F++)}),Q}function Z(x){if(x._status===-1){var q=x._result;q=q(),q.then(function(J){(x._status===0||x._status===-1)&&(x._status=1,x._result=J)},function(J){(x._status===0||x._status===-1)&&(x._status=2,x._result=J)}),x._status===-1&&(x._status=0,x._result=q)}if(x._status===1)return x._result.default;throw x._result}var I=typeof reportError=="function"?reportError:function(x){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof x=="object"&&x!==null&&typeof x.message=="string"?String(x.message):String(x),error:x});if(!window.dispatchEvent(q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",x);return}console.error(x)};function xe(){}return ne.Children={map:B,forEach:function(x,q,J){B(x,function(){q.apply(this,arguments)},J)},count:function(x){var q=0;return B(x,function(){q++}),q},toArray:function(x){return B(x,function(q){return q})||[]},only:function(x){if(!je(x))throw Error("React.Children.only expected to receive a single React element child.");return x}},ne.Component=j,ne.Fragment=s,ne.Profiler=o,ne.PureComponent=X,ne.StrictMode=r,ne.Suspense=g,ne.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=V,ne.__COMPILER_RUNTIME={__proto__:null,c:function(x){return V.H.useMemoCache(x)}},ne.cache=function(x){return function(){return x.apply(null,arguments)}},ne.cloneElement=function(x,q,J){if(x==null)throw Error("The argument must be a React element, but you passed "+x+".");var Q=C({},x.props),F=x.key,de=void 0;if(q!=null)for(le in q.ref!==void 0&&(de=void 0),q.key!==void 0&&(F=""+q.key),q)!se.call(q,le)||le==="key"||le==="__self"||le==="__source"||le==="ref"&&q.ref===void 0||(Q[le]=q[le]);var le=arguments.length-2;if(le===1)Q.children=J;else if(1<le){for(var st=Array(le),Oe=0;Oe<le;Oe++)st[Oe]=arguments[Oe+2];Q.children=st}return fe(x.type,F,void 0,void 0,de,Q)},ne.createContext=function(x){return x={$$typeof:m,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null},x.Provider=x,x.Consumer={$$typeof:d,_context:x},x},ne.createElement=function(x,q,J){var Q,F={},de=null;if(q!=null)for(Q in q.key!==void 0&&(de=""+q.key),q)se.call(q,Q)&&Q!=="key"&&Q!=="__self"&&Q!=="__source"&&(F[Q]=q[Q]);var le=arguments.length-2;if(le===1)F.children=J;else if(1<le){for(var st=Array(le),Oe=0;Oe<le;Oe++)st[Oe]=arguments[Oe+2];F.children=st}if(x&&x.defaultProps)for(Q in le=x.defaultProps,le)F[Q]===void 0&&(F[Q]=le[Q]);return fe(x,de,void 0,void 0,null,F)},ne.createRef=function(){return{current:null}},ne.forwardRef=function(x){return{$$typeof:v,render:x}},ne.isValidElement=je,ne.lazy=function(x){return{$$typeof:p,_payload:{_status:-1,_result:x},_init:Z}},ne.memo=function(x,q){return{$$typeof:y,type:x,compare:q===void 0?null:q}},ne.startTransition=function(x){var q=V.T,J={};V.T=J;try{var Q=x(),F=V.S;F!==null&&F(J,Q),typeof Q=="object"&&Q!==null&&typeof Q.then=="function"&&Q.then(xe,I)}catch(de){I(de)}finally{V.T=q}},ne.unstable_useCacheRefresh=function(){return V.H.useCacheRefresh()},ne.use=function(x){return V.H.use(x)},ne.useActionState=function(x,q,J){return V.H.useActionState(x,q,J)},ne.useCallback=function(x,q){return V.H.useCallback(x,q)},ne.useContext=function(x){return V.H.useContext(x)},ne.useDebugValue=function(){},ne.useDeferredValue=function(x,q){return V.H.useDeferredValue(x,q)},ne.useEffect=function(x,q,J){var Q=V.H;if(typeof J=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return Q.useEffect(x,q)},ne.useId=function(){return V.H.useId()},ne.useImperativeHandle=function(x,q,J){return V.H.useImperativeHandle(x,q,J)},ne.useInsertionEffect=function(x,q){return V.H.useInsertionEffect(x,q)},ne.useLayoutEffect=function(x,q){return V.H.useLayoutEffect(x,q)},ne.useMemo=function(x,q){return V.H.useMemo(x,q)},ne.useOptimistic=function(x,q){return V.H.useOptimistic(x,q)},ne.useReducer=function(x,q,J){return V.H.useReducer(x,q,J)},ne.useRef=function(x){return V.H.useRef(x)},ne.useState=function(x){return V.H.useState(x)},ne.useSyncExternalStore=function(x,q,J){return V.H.useSyncExternalStore(x,q,J)},ne.useTransition=function(){return V.H.useTransition()},ne.version="19.1.0",ne}var Lh;function Ds(){return Lh||(Lh=1,ss.exports=Mg()),ss.exports}var R=Ds();const qh=wg(R);var os={exports:{}},$n={},fs={exports:{}},ds={};/**
|
|
18
|
-
* @license React
|
|
19
|
-
* scheduler.production.js
|
|
20
|
-
*
|
|
21
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
22
|
-
*
|
|
23
|
-
* This source code is licensed under the MIT license found in the
|
|
24
|
-
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/var Yh;function jg(){return Yh||(Yh=1,function(u){function c(B,Z){var I=B.length;B.push(Z);e:for(;0<I;){var xe=I-1>>>1,x=B[xe];if(0<o(x,Z))B[xe]=Z,B[I]=x,I=xe;else break e}}function s(B){return B.length===0?null:B[0]}function r(B){if(B.length===0)return null;var Z=B[0],I=B.pop();if(I!==Z){B[0]=I;e:for(var xe=0,x=B.length,q=x>>>1;xe<q;){var J=2*(xe+1)-1,Q=B[J],F=J+1,de=B[F];if(0>o(Q,I))F<x&&0>o(de,Q)?(B[xe]=de,B[F]=I,xe=F):(B[xe]=Q,B[J]=I,xe=J);else if(F<x&&0>o(de,I))B[xe]=de,B[F]=I,xe=F;else break e}}return Z}function o(B,Z){var I=B.sortIndex-Z.sortIndex;return I!==0?I:B.id-Z.id}if(u.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;u.unstable_now=function(){return d.now()}}else{var m=Date,v=m.now();u.unstable_now=function(){return m.now()-v}}var g=[],y=[],p=1,N=null,D=3,Y=!1,C=!1,z=!1,j=!1,G=typeof setTimeout=="function"?setTimeout:null,X=typeof clearTimeout=="function"?clearTimeout:null,K=typeof setImmediate!="undefined"?setImmediate:null;function te(B){for(var Z=s(y);Z!==null;){if(Z.callback===null)r(y);else if(Z.startTime<=B)r(y),Z.sortIndex=Z.expirationTime,c(g,Z);else break;Z=s(y)}}function V(B){if(z=!1,te(B),!C)if(s(g)!==null)C=!0,se||(se=!0,De());else{var Z=s(y);Z!==null&&$e(V,Z.startTime-B)}}var se=!1,fe=-1,Te=5,je=-1;function rt(){return j?!0:!(u.unstable_now()-je<Te)}function ze(){if(j=!1,se){var B=u.unstable_now();je=B;var Z=!0;try{e:{C=!1,z&&(z=!1,X(fe),fe=-1),Y=!0;var I=D;try{t:{for(te(B),N=s(g);N!==null&&!(N.expirationTime>B&&rt());){var xe=N.callback;if(typeof xe=="function"){N.callback=null,D=N.priorityLevel;var x=xe(N.expirationTime<=B);if(B=u.unstable_now(),typeof x=="function"){N.callback=x,te(B),Z=!0;break t}N===s(g)&&r(g),te(B)}else r(g);N=s(g)}if(N!==null)Z=!0;else{var q=s(y);q!==null&&$e(V,q.startTime-B),Z=!1}}break e}finally{N=null,D=I,Y=!1}Z=void 0}}finally{Z?De():se=!1}}}var De;if(typeof K=="function")De=function(){K(ze)};else if(typeof MessageChannel!="undefined"){var zt=new MessageChannel,zl=zt.port2;zt.port1.onmessage=ze,De=function(){zl.postMessage(null)}}else De=function(){G(ze,0)};function $e(B,Z){fe=G(function(){B(u.unstable_now())},Z)}u.unstable_IdlePriority=5,u.unstable_ImmediatePriority=1,u.unstable_LowPriority=4,u.unstable_NormalPriority=3,u.unstable_Profiling=null,u.unstable_UserBlockingPriority=2,u.unstable_cancelCallback=function(B){B.callback=null},u.unstable_forceFrameRate=function(B){0>B||125<B?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Te=0<B?Math.floor(1e3/B):5},u.unstable_getCurrentPriorityLevel=function(){return D},u.unstable_next=function(B){switch(D){case 1:case 2:case 3:var Z=3;break;default:Z=D}var I=D;D=Z;try{return B()}finally{D=I}},u.unstable_requestPaint=function(){j=!0},u.unstable_runWithPriority=function(B,Z){switch(B){case 1:case 2:case 3:case 4:case 5:break;default:B=3}var I=D;D=B;try{return Z()}finally{D=I}},u.unstable_scheduleCallback=function(B,Z,I){var xe=u.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?xe+I:xe):I=xe,B){case 1:var x=-1;break;case 2:x=250;break;case 5:x=1073741823;break;case 4:x=1e4;break;default:x=5e3}return x=I+x,B={id:p++,callback:Z,priorityLevel:B,startTime:I,expirationTime:x,sortIndex:-1},I>xe?(B.sortIndex=I,c(y,B),s(g)===null&&B===s(y)&&(z?(X(fe),fe=-1):z=!0,$e(V,I-xe))):(B.sortIndex=x,c(g,B),C||Y||(C=!0,se||(se=!0,De()))),B},u.unstable_shouldYield=rt,u.unstable_wrapCallback=function(B){var Z=D;return function(){var I=D;D=Z;try{return B.apply(this,arguments)}finally{D=I}}}}(ds)),ds}var Gh;function zg(){return Gh||(Gh=1,fs.exports=jg()),fs.exports}var hs={exports:{}},Pe={};/**
|
|
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 Xh;function Ug(){if(Xh)return Pe;Xh=1;var u=Ds();function c(g){var y="https://react.dev/errors/"+g;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)y+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+g+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(){}var r={d:{f:s,r:function(){throw Error(c(522))},D:s,C:s,L:s,m:s,X:s,S:s,M:s},p:0,findDOMNode:null},o=Symbol.for("react.portal");function d(g,y,p){var N=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:N==null?null:""+N,children:g,containerInfo:y,implementation:p}}var m=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function v(g,y){if(g==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return Pe.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,Pe.createPortal=function(g,y){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(c(299));return d(g,y,null,p)},Pe.flushSync=function(g){var y=m.T,p=r.p;try{if(m.T=null,r.p=2,g)return g()}finally{m.T=y,r.p=p,r.d.f()}},Pe.preconnect=function(g,y){typeof g=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,r.d.C(g,y))},Pe.prefetchDNS=function(g){typeof g=="string"&&r.d.D(g)},Pe.preinit=function(g,y){if(typeof g=="string"&&y&&typeof y.as=="string"){var p=y.as,N=v(p,y.crossOrigin),D=typeof y.integrity=="string"?y.integrity:void 0,Y=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;p==="style"?r.d.S(g,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:N,integrity:D,fetchPriority:Y}):p==="script"&&r.d.X(g,{crossOrigin:N,integrity:D,fetchPriority:Y,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},Pe.preinitModule=function(g,y){if(typeof g=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var p=v(y.as,y.crossOrigin);r.d.M(g,{crossOrigin:p,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})}}else y==null&&r.d.M(g)},Pe.preload=function(g,y){if(typeof g=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var p=y.as,N=v(p,y.crossOrigin);r.d.L(g,p,{crossOrigin:N,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},Pe.preloadModule=function(g,y){if(typeof g=="string")if(y){var p=v(y.as,y.crossOrigin);r.d.m(g,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:p,integrity:typeof y.integrity=="string"?y.integrity:void 0})}else r.d.m(g)},Pe.requestFormReset=function(g){r.d.r(g)},Pe.unstable_batchedUpdates=function(g,y){return g(y)},Pe.useFormState=function(g,y,p){return m.H.useFormState(g,y,p)},Pe.useFormStatus=function(){return m.H.useHostTransitionStatus()},Pe.version="19.1.0",Pe}var Vh;function Bg(){if(Vh)return hs.exports;Vh=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(c){console.error(c)}}return u(),hs.exports=Ug(),hs.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 Qh;function Hg(){if(Qh)return $n;Qh=1;var u=zg(),c=Ds(),s=Bg();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)t+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function d(e){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(l=t.return),e=t.return;while(e)}return t.tag===3?l:null}function m(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function v(e){if(d(e)!==e)throw Error(r(188))}function g(e){var t=e.alternate;if(!t){if(t=d(e),t===null)throw Error(r(188));return t!==e?null:e}for(var l=e,a=t;;){var n=l.return;if(n===null)break;var i=n.alternate;if(i===null){if(a=n.return,a!==null){l=a;continue}break}if(n.child===i.child){for(i=n.child;i;){if(i===l)return v(n),e;if(i===a)return v(n),t;i=i.sibling}throw Error(r(188))}if(l.return!==a.return)l=n,a=i;else{for(var f=!1,h=n.child;h;){if(h===l){f=!0,l=n,a=i;break}if(h===a){f=!0,a=n,l=i;break}h=h.sibling}if(!f){for(h=i.child;h;){if(h===l){f=!0,l=i,a=n;break}if(h===a){f=!0,a=i,l=n;break}h=h.sibling}if(!f)throw Error(r(189))}}if(l.alternate!==a)throw Error(r(190))}if(l.tag!==3)throw Error(r(188));return l.stateNode.current===l?e:t}function y(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=y(e),t!==null)return t;e=e.sibling}return null}var p=Object.assign,N=Symbol.for("react.element"),D=Symbol.for("react.transitional.element"),Y=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),G=Symbol.for("react.provider"),X=Symbol.for("react.consumer"),K=Symbol.for("react.context"),te=Symbol.for("react.forward_ref"),V=Symbol.for("react.suspense"),se=Symbol.for("react.suspense_list"),fe=Symbol.for("react.memo"),Te=Symbol.for("react.lazy"),je=Symbol.for("react.activity"),rt=Symbol.for("react.memo_cache_sentinel"),ze=Symbol.iterator;function De(e){return e===null||typeof e!="object"?null:(e=ze&&e[ze]||e["@@iterator"],typeof e=="function"?e:null)}var zt=Symbol.for("react.client.reference");function zl(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===zt?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case C:return"Fragment";case j:return"Profiler";case z:return"StrictMode";case V:return"Suspense";case se:return"SuspenseList";case je:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case Y:return"Portal";case K:return(e.displayName||"Context")+".Provider";case X:return(e._context.displayName||"Context")+".Consumer";case te:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case fe:return t=e.displayName||null,t!==null?t:zl(e.type)||"Memo";case Te:t=e._payload,e=e._init;try{return zl(e(t))}catch(l){}}return null}var $e=Array.isArray,B=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Z=s.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I={pending:!1,data:null,method:null,action:null},xe=[],x=-1;function q(e){return{current:e}}function J(e){0>x||(e.current=xe[x],xe[x]=null,x--)}function Q(e,t){x++,xe[x]=e.current,e.current=t}var F=q(null),de=q(null),le=q(null),st=q(null);function Oe(e,t){switch(Q(le,t),Q(de,e),Q(F,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?uh(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=uh(t),e=ih(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}J(F),Q(F,e)}function rl(){J(F),J(de),J(le)}function Zi(e){e.memoizedState!==null&&Q(st,e);var t=F.current,l=ih(t,e.type);t!==l&&(Q(de,e),Q(F,l))}function ou(e){de.current===e&&(J(F),J(de)),st.current===e&&(J(st),Vn._currentValue=I)}var Ki=Object.prototype.hasOwnProperty,Ji=u.unstable_scheduleCallback,ki=u.unstable_cancelCallback,l0=u.unstable_shouldYield,a0=u.unstable_requestPaint,Ut=u.unstable_now,n0=u.unstable_getCurrentPriorityLevel,Hs=u.unstable_ImmediatePriority,Ls=u.unstable_UserBlockingPriority,fu=u.unstable_NormalPriority,u0=u.unstable_LowPriority,qs=u.unstable_IdlePriority,i0=u.log,c0=u.unstable_setDisableYieldValue,Fa=null,ot=null;function sl(e){if(typeof i0=="function"&&c0(e),ot&&typeof ot.setStrictMode=="function")try{ot.setStrictMode(Fa,e)}catch(t){}}var ft=Math.clz32?Math.clz32:o0,r0=Math.log,s0=Math.LN2;function o0(e){return e>>>=0,e===0?32:31-(r0(e)/s0|0)|0}var du=256,hu=4194304;function Ul(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function mu(e,t,l){var a=e.pendingLanes;if(a===0)return 0;var n=0,i=e.suspendedLanes,f=e.pingedLanes;e=e.warmLanes;var h=a&134217727;return h!==0?(a=h&~i,a!==0?n=Ul(a):(f&=h,f!==0?n=Ul(f):l||(l=h&~e,l!==0&&(n=Ul(l))))):(h=a&~i,h!==0?n=Ul(h):f!==0?n=Ul(f):l||(l=a&~e,l!==0&&(n=Ul(l)))),n===0?0:t!==0&&t!==n&&(t&i)===0&&(i=n&-n,l=t&-t,i>=l||i===32&&(l&4194048)!==0)?t:n}function Wa(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function f0(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ys(){var e=du;return du<<=1,(du&4194048)===0&&(du=256),e}function Gs(){var e=hu;return hu<<=1,(hu&62914560)===0&&(hu=4194304),e}function $i(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function Pa(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function d0(e,t,l,a,n,i){var f=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var h=e.entanglements,b=e.expirationTimes,O=e.hiddenUpdates;for(l=f&~l;0<l;){var U=31-ft(l),L=1<<U;h[U]=0,b[U]=-1;var w=O[U];if(w!==null)for(O[U]=null,U=0;U<w.length;U++){var _=w[U];_!==null&&(_.lane&=-536870913)}l&=~L}a!==0&&Xs(e,a,0),i!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=i&~(f&~t))}function Xs(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-ft(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|l&4194090}function Vs(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var a=31-ft(l),n=1<<a;n&t|e[a]&t&&(e[a]|=t),l&=~n}}function Fi(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Wi(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Qs(){var e=Z.p;return e!==0?e:(e=window.event,e===void 0?32:Ah(e.type))}function h0(e,t){var l=Z.p;try{return Z.p=e,t()}finally{Z.p=l}}var ol=Math.random().toString(36).slice(2),Fe="__reactFiber$"+ol,tt="__reactProps$"+ol,aa="__reactContainer$"+ol,Pi="__reactEvents$"+ol,m0="__reactListeners$"+ol,y0="__reactHandles$"+ol,Zs="__reactResources$"+ol,Ia="__reactMarker$"+ol;function Ii(e){delete e[Fe],delete e[tt],delete e[Pi],delete e[m0],delete e[y0]}function na(e){var t=e[Fe];if(t)return t;for(var l=e.parentNode;l;){if(t=l[aa]||l[Fe]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=oh(e);e!==null;){if(l=e[Fe])return l;e=oh(e)}return t}e=l,l=e.parentNode}return null}function ua(e){if(e=e[Fe]||e[aa]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function en(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(r(33))}function ia(e){var t=e[Zs];return t||(t=e[Zs]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ge(e){e[Ia]=!0}var Ks=new Set,Js={};function Bl(e,t){ca(e,t),ca(e+"Capture",t)}function ca(e,t){for(Js[e]=t,e=0;e<t.length;e++)Ks.add(t[e])}var g0=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]*$"),ks={},$s={};function v0(e){return Ki.call($s,e)?!0:Ki.call(ks,e)?!1:g0.test(e)?$s[e]=!0:(ks[e]=!0,!1)}function yu(e,t,l){if(v0(t))if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+l)}}function gu(e,t,l){if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+l)}}function Qt(e,t,l,a){if(a===null)e.removeAttribute(l);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}e.setAttributeNS(t,l,""+a)}}var ec,Fs;function ra(e){if(ec===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);ec=t&&t[1]||"",Fs=-1<l.stack.indexOf(`
|
|
42
|
-
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
|
-
`+ec+e+Fs}var tc=!1;function lc(e,t){if(!e||tc)return"";tc=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var L=function(){throw Error()};if(Object.defineProperty(L.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(L,[])}catch(_){var w=_}Reflect.construct(e,[],L)}else{try{L.call()}catch(_){w=_}e.call(L.prototype)}}else{try{throw Error()}catch(_){w=_}(L=e())&&typeof L.catch=="function"&&L.catch(function(){})}}catch(_){if(_&&w&&typeof _.stack=="string")return[_.stack,w.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var i=a.DetermineComponentFrameRoot(),f=i[0],h=i[1];if(f&&h){var b=f.split(`
|
|
44
|
-
`),O=h.split(`
|
|
45
|
-
`);for(n=a=0;a<b.length&&!b[a].includes("DetermineComponentFrameRoot");)a++;for(;n<O.length&&!O[n].includes("DetermineComponentFrameRoot");)n++;if(a===b.length||n===O.length)for(a=b.length-1,n=O.length-1;1<=a&&0<=n&&b[a]!==O[n];)n--;for(;1<=a&&0<=n;a--,n--)if(b[a]!==O[n]){if(a!==1||n!==1)do if(a--,n--,0>n||b[a]!==O[n]){var U=`
|
|
46
|
-
`+b[a].replace(" at new "," at ");return e.displayName&&U.includes("<anonymous>")&&(U=U.replace("<anonymous>",e.displayName)),U}while(1<=a&&0<=n);break}}}finally{tc=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?ra(l):""}function p0(e){switch(e.tag){case 26:case 27:case 5:return ra(e.type);case 16:return ra("Lazy");case 13:return ra("Suspense");case 19:return ra("SuspenseList");case 0:case 15:return lc(e.type,!1);case 11:return lc(e.type.render,!1);case 1:return lc(e.type,!0);case 31:return ra("Activity");default:return""}}function Ws(e){try{var t="";do t+=p0(e),e=e.return;while(e);return t}catch(l){return`
|
|
47
|
-
Error generating stack: `+l.message+`
|
|
48
|
-
`+l.stack}}function St(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ps(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function b0(e){var t=Ps(e)?"checked":"value",l=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=""+e[t];if(!e.hasOwnProperty(t)&&typeof l!="undefined"&&typeof l.get=="function"&&typeof l.set=="function"){var n=l.get,i=l.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(f){a=""+f,i.call(this,f)}}),Object.defineProperty(e,t,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(f){a=""+f},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function vu(e){e._valueTracker||(e._valueTracker=b0(e))}function Is(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),a="";return e&&(a=Ps(e)?e.checked?"true":"false":e.value),e=a,e!==l?(t.setValue(e),!0):!1}function pu(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch(t){return e.body}}var S0=/[\n"\\]/g;function xt(e){return e.replace(S0,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function ac(e,t,l,a,n,i,f,h){e.name="",f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?e.type=f:e.removeAttribute("type"),t!=null?f==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+St(t)):e.value!==""+St(t)&&(e.value=""+St(t)):f!=="submit"&&f!=="reset"||e.removeAttribute("value"),t!=null?nc(e,f,St(t)):l!=null?nc(e,f,St(l)):a!=null&&e.removeAttribute("value"),n==null&&i!=null&&(e.defaultChecked=!!i),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?e.name=""+St(h):e.removeAttribute("name")}function eo(e,t,l,a,n,i,f,h){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.type=i),t!=null||l!=null){if(!(i!=="submit"&&i!=="reset"||t!=null))return;l=l!=null?""+St(l):"",t=t!=null?""+St(t):l,h||t===e.value||(e.value=t),e.defaultValue=t}a=a!=null?a:n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=h?e.checked:!!a,e.defaultChecked=!!a,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(e.name=f)}function nc(e,t,l){t==="number"&&pu(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function sa(e,t,l,a){if(e=e.options,t){t={};for(var n=0;n<l.length;n++)t["$"+l[n]]=!0;for(l=0;l<e.length;l++)n=t.hasOwnProperty("$"+e[l].value),e[l].selected!==n&&(e[l].selected=n),n&&a&&(e[l].defaultSelected=!0)}else{for(l=""+St(l),t=null,n=0;n<e.length;n++){if(e[n].value===l){e[n].selected=!0,a&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function to(e,t,l){if(t!=null&&(t=""+St(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+St(l):""}function lo(e,t,l,a){if(t==null){if(a!=null){if(l!=null)throw Error(r(92));if($e(a)){if(1<a.length)throw Error(r(93));a=a[0]}l=a}l==null&&(l=""),t=l}l=St(t),e.defaultValue=l,a=e.textContent,a===l&&a!==""&&a!==null&&(e.value=a)}function oa(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}var x0=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 ao(e,t,l){var a=t.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,l):typeof l!="number"||l===0||x0.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function no(e,t,l){if(t!=null&&typeof t!="object")throw Error(r(62));if(e=e.style,l!=null){for(var a in l)!l.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="");for(var n in t)a=t[n],t.hasOwnProperty(n)&&l[n]!==a&&ao(e,n,a)}else for(var i in t)t.hasOwnProperty(i)&&ao(e,i,t[i])}function uc(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var E0=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"]]),T0=/^[\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 bu(e){return T0.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var ic=null;function cc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var fa=null,da=null;function uo(e){var t=ua(e);if(t&&(e=t.stateNode)){var l=e[tt]||null;e:switch(e=t.stateNode,t.type){case"input":if(ac(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),t=l.name,l.type==="radio"&&t!=null){for(l=e;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+xt(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var a=l[t];if(a!==e&&a.form===e.form){var n=a[tt]||null;if(!n)throw Error(r(90));ac(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<l.length;t++)a=l[t],a.form===e.form&&Is(a)}break e;case"textarea":to(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&sa(e,!!l.multiple,t,!1)}}}var rc=!1;function io(e,t,l){if(rc)return e(t,l);rc=!0;try{var a=e(t);return a}finally{if(rc=!1,(fa!==null||da!==null)&&(ni(),fa&&(t=fa,e=da,da=fa=null,uo(t),e)))for(t=0;t<e.length;t++)uo(e[t])}}function tn(e,t){var l=e.stateNode;if(l===null)return null;var a=l[tt]||null;if(a===null)return null;l=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error(r(231,t,typeof l));return l}var Zt=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),sc=!1;if(Zt)try{var ln={};Object.defineProperty(ln,"passive",{get:function(){sc=!0}}),window.addEventListener("test",ln,ln),window.removeEventListener("test",ln,ln)}catch(e){sc=!1}var fl=null,oc=null,Su=null;function co(){if(Su)return Su;var e,t=oc,l=t.length,a,n="value"in fl?fl.value:fl.textContent,i=n.length;for(e=0;e<l&&t[e]===n[e];e++);var f=l-e;for(a=1;a<=f&&t[l-a]===n[i-a];a++);return Su=n.slice(e,1<a?1-a:void 0)}function xu(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Eu(){return!0}function ro(){return!1}function lt(e){function t(l,a,n,i,f){this._reactName=l,this._targetInst=n,this.type=a,this.nativeEvent=i,this.target=f,this.currentTarget=null;for(var h in e)e.hasOwnProperty(h)&&(l=e[h],this[h]=l?l(i):i[h]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Eu:ro,this.isPropagationStopped=ro,this}return p(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Eu)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Eu)},persist:function(){},isPersistent:Eu}),t}var Hl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Tu=lt(Hl),an=p({},Hl,{view:0,detail:0}),R0=lt(an),fc,dc,nn,Ru=p({},an,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:mc,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==nn&&(nn&&e.type==="mousemove"?(fc=e.screenX-nn.screenX,dc=e.screenY-nn.screenY):dc=fc=0,nn=e),fc)},movementY:function(e){return"movementY"in e?e.movementY:dc}}),so=lt(Ru),A0=p({},Ru,{dataTransfer:0}),O0=lt(A0),N0=p({},an,{relatedTarget:0}),hc=lt(N0),D0=p({},Hl,{animationName:0,elapsedTime:0,pseudoElement:0}),w0=lt(D0),_0=p({},Hl,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),C0=lt(_0),M0=p({},Hl,{data:0}),oo=lt(M0),j0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},z0={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"},U0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function B0(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=U0[e])?!!t[e]:!1}function mc(){return B0}var H0=p({},an,{key:function(e){if(e.key){var t=j0[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=xu(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?z0[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:mc,charCode:function(e){return e.type==="keypress"?xu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?xu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),L0=lt(H0),q0=p({},Ru,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),fo=lt(q0),Y0=p({},an,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:mc}),G0=lt(Y0),X0=p({},Hl,{propertyName:0,elapsedTime:0,pseudoElement:0}),V0=lt(X0),Q0=p({},Ru,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Z0=lt(Q0),K0=p({},Hl,{newState:0,oldState:0}),J0=lt(K0),k0=[9,13,27,32],yc=Zt&&"CompositionEvent"in window,un=null;Zt&&"documentMode"in document&&(un=document.documentMode);var $0=Zt&&"TextEvent"in window&&!un,ho=Zt&&(!yc||un&&8<un&&11>=un),mo=" ",yo=!1;function go(e,t){switch(e){case"keyup":return k0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function vo(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ha=!1;function F0(e,t){switch(e){case"compositionend":return vo(t);case"keypress":return t.which!==32?null:(yo=!0,mo);case"textInput":return e=t.data,e===mo&&yo?null:e;default:return null}}function W0(e,t){if(ha)return e==="compositionend"||!yc&&go(e,t)?(e=co(),Su=oc=fl=null,ha=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ho&&t.locale!=="ko"?null:t.data;default:return null}}var P0={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 po(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!P0[e.type]:t==="textarea"}function bo(e,t,l,a){fa?da?da.push(a):da=[a]:fa=a,t=oi(t,"onChange"),0<t.length&&(l=new Tu("onChange","change",null,l,a),e.push({event:l,listeners:t}))}var cn=null,rn=null;function I0(e){eh(e,0)}function Au(e){var t=en(e);if(Is(t))return e}function So(e,t){if(e==="change")return t}var xo=!1;if(Zt){var gc;if(Zt){var vc="oninput"in document;if(!vc){var Eo=document.createElement("div");Eo.setAttribute("oninput","return;"),vc=typeof Eo.oninput=="function"}gc=vc}else gc=!1;xo=gc&&(!document.documentMode||9<document.documentMode)}function To(){cn&&(cn.detachEvent("onpropertychange",Ro),rn=cn=null)}function Ro(e){if(e.propertyName==="value"&&Au(rn)){var t=[];bo(t,rn,e,cc(e)),io(I0,t)}}function ey(e,t,l){e==="focusin"?(To(),cn=t,rn=l,cn.attachEvent("onpropertychange",Ro)):e==="focusout"&&To()}function ty(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Au(rn)}function ly(e,t){if(e==="click")return Au(t)}function ay(e,t){if(e==="input"||e==="change")return Au(t)}function ny(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var dt=typeof Object.is=="function"?Object.is:ny;function sn(e,t){if(dt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var l=Object.keys(e),a=Object.keys(t);if(l.length!==a.length)return!1;for(a=0;a<l.length;a++){var n=l[a];if(!Ki.call(t,n)||!dt(e[n],t[n]))return!1}return!0}function Ao(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Oo(e,t){var l=Ao(e);e=0;for(var a;l;){if(l.nodeType===3){if(a=e+l.textContent.length,e<=t&&a>=t)return{node:l,offset:t-e};e=a}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Ao(l)}}function No(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?No(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Do(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=pu(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch(a){l=!1}if(l)e=t.contentWindow;else break;t=pu(e.document)}return t}function pc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var uy=Zt&&"documentMode"in document&&11>=document.documentMode,ma=null,bc=null,on=null,Sc=!1;function wo(e,t,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Sc||ma==null||ma!==pu(a)||(a=ma,"selectionStart"in a&&pc(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),on&&sn(on,a)||(on=a,a=oi(bc,"onSelect"),0<a.length&&(t=new Tu("onSelect","select",null,t,l),e.push({event:t,listeners:a}),t.target=ma)))}function Ll(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var ya={animationend:Ll("Animation","AnimationEnd"),animationiteration:Ll("Animation","AnimationIteration"),animationstart:Ll("Animation","AnimationStart"),transitionrun:Ll("Transition","TransitionRun"),transitionstart:Ll("Transition","TransitionStart"),transitioncancel:Ll("Transition","TransitionCancel"),transitionend:Ll("Transition","TransitionEnd")},xc={},_o={};Zt&&(_o=document.createElement("div").style,"AnimationEvent"in window||(delete ya.animationend.animation,delete ya.animationiteration.animation,delete ya.animationstart.animation),"TransitionEvent"in window||delete ya.transitionend.transition);function ql(e){if(xc[e])return xc[e];if(!ya[e])return e;var t=ya[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in _o)return xc[e]=t[l];return e}var Co=ql("animationend"),Mo=ql("animationiteration"),jo=ql("animationstart"),iy=ql("transitionrun"),cy=ql("transitionstart"),ry=ql("transitioncancel"),zo=ql("transitionend"),Uo=new Map,Ec="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(" ");Ec.push("scrollEnd");function wt(e,t){Uo.set(e,t),Bl(t,[e])}var Bo=new WeakMap;function Et(e,t){if(typeof e=="object"&&e!==null){var l=Bo.get(e);return l!==void 0?l:(t={value:e,source:t,stack:Ws(t)},Bo.set(e,t),t)}return{value:e,source:t,stack:Ws(t)}}var Tt=[],ga=0,Tc=0;function Ou(){for(var e=ga,t=Tc=ga=0;t<e;){var l=Tt[t];Tt[t++]=null;var a=Tt[t];Tt[t++]=null;var n=Tt[t];Tt[t++]=null;var i=Tt[t];if(Tt[t++]=null,a!==null&&n!==null){var f=a.pending;f===null?n.next=n:(n.next=f.next,f.next=n),a.pending=n}i!==0&&Ho(l,n,i)}}function Nu(e,t,l,a){Tt[ga++]=e,Tt[ga++]=t,Tt[ga++]=l,Tt[ga++]=a,Tc|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function Rc(e,t,l,a){return Nu(e,t,l,a),Du(e)}function va(e,t){return Nu(e,null,null,t),Du(e)}function Ho(e,t,l){e.lanes|=l;var a=e.alternate;a!==null&&(a.lanes|=l);for(var n=!1,i=e.return;i!==null;)i.childLanes|=l,a=i.alternate,a!==null&&(a.childLanes|=l),i.tag===22&&(e=i.stateNode,e===null||e._visibility&1||(n=!0)),e=i,i=i.return;return e.tag===3?(i=e.stateNode,n&&t!==null&&(n=31-ft(l),e=i.hiddenUpdates,a=e[n],a===null?e[n]=[t]:a.push(t),t.lane=l|536870912),i):null}function Du(e){if(50<Un)throw Un=0,_r=null,Error(r(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var pa={};function sy(e,t,l,a){this.tag=e,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=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ht(e,t,l,a){return new sy(e,t,l,a)}function Ac(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Kt(e,t){var l=e.alternate;return l===null?(l=ht(e.tag,t,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l.alternate=e,e.alternate=l):(l.pendingProps=t,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=e.flags&65011712,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l}function Lo(e,t){e.flags&=65011714;var l=e.alternate;return l===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function wu(e,t,l,a,n,i){var f=0;if(a=e,typeof e=="function")Ac(e)&&(f=1);else if(typeof e=="string")f=fg(e,l,F.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case je:return e=ht(31,l,t,n),e.elementType=je,e.lanes=i,e;case C:return Yl(l.children,n,i,t);case z:f=8,n|=24;break;case j:return e=ht(12,l,t,n|2),e.elementType=j,e.lanes=i,e;case V:return e=ht(13,l,t,n),e.elementType=V,e.lanes=i,e;case se:return e=ht(19,l,t,n),e.elementType=se,e.lanes=i,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case G:case K:f=10;break e;case X:f=9;break e;case te:f=11;break e;case fe:f=14;break e;case Te:f=16,a=null;break e}f=29,l=Error(r(130,e===null?"null":typeof e,"")),a=null}return t=ht(f,l,t,n),t.elementType=e,t.type=a,t.lanes=i,t}function Yl(e,t,l,a){return e=ht(7,e,a,t),e.lanes=l,e}function Oc(e,t,l){return e=ht(6,e,null,t),e.lanes=l,e}function Nc(e,t,l){return t=ht(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var ba=[],Sa=0,_u=null,Cu=0,Rt=[],At=0,Gl=null,Jt=1,kt="";function Xl(e,t){ba[Sa++]=Cu,ba[Sa++]=_u,_u=e,Cu=t}function qo(e,t,l){Rt[At++]=Jt,Rt[At++]=kt,Rt[At++]=Gl,Gl=e;var a=Jt;e=kt;var n=32-ft(a)-1;a&=~(1<<n),l+=1;var i=32-ft(t)+n;if(30<i){var f=n-n%5;i=(a&(1<<f)-1).toString(32),a>>=f,n-=f,Jt=1<<32-ft(t)+n|l<<n|a,kt=i+e}else Jt=1<<i|l<<n|a,kt=e}function Dc(e){e.return!==null&&(Xl(e,1),qo(e,1,0))}function wc(e){for(;e===_u;)_u=ba[--Sa],ba[Sa]=null,Cu=ba[--Sa],ba[Sa]=null;for(;e===Gl;)Gl=Rt[--At],Rt[At]=null,kt=Rt[--At],Rt[At]=null,Jt=Rt[--At],Rt[At]=null}var et=null,Ce=null,me=!1,Vl=null,Bt=!1,_c=Error(r(519));function Ql(e){var t=Error(r(418,""));throw hn(Et(t,e)),_c}function Yo(e){var t=e.stateNode,l=e.type,a=e.memoizedProps;switch(t[Fe]=e,t[tt]=a,l){case"dialog":re("cancel",t),re("close",t);break;case"iframe":case"object":case"embed":re("load",t);break;case"video":case"audio":for(l=0;l<Hn.length;l++)re(Hn[l],t);break;case"source":re("error",t);break;case"img":case"image":case"link":re("error",t),re("load",t);break;case"details":re("toggle",t);break;case"input":re("invalid",t),eo(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0),vu(t);break;case"select":re("invalid",t);break;case"textarea":re("invalid",t),lo(t,a.value,a.defaultValue,a.children),vu(t)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||a.suppressHydrationWarning===!0||nh(t.textContent,l)?(a.popover!=null&&(re("beforetoggle",t),re("toggle",t)),a.onScroll!=null&&re("scroll",t),a.onScrollEnd!=null&&re("scrollend",t),a.onClick!=null&&(t.onclick=fi),t=!0):t=!1,t||Ql(e)}function Go(e){for(et=e.return;et;)switch(et.tag){case 5:case 13:Bt=!1;return;case 27:case 3:Bt=!0;return;default:et=et.return}}function fn(e){if(e!==et)return!1;if(!me)return Go(e),me=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||Kr(e.type,e.memoizedProps)),l=!l),l&&Ce&&Ql(e),Go(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8)if(l=e.data,l==="/$"){if(t===0){Ce=Ct(e.nextSibling);break e}t--}else l!=="$"&&l!=="$!"&&l!=="$?"||t++;e=e.nextSibling}Ce=null}}else t===27?(t=Ce,Nl(e.type)?(e=Fr,Fr=null,Ce=e):Ce=t):Ce=et?Ct(e.stateNode.nextSibling):null;return!0}function dn(){Ce=et=null,me=!1}function Xo(){var e=Vl;return e!==null&&(ut===null?ut=e:ut.push.apply(ut,e),Vl=null),e}function hn(e){Vl===null?Vl=[e]:Vl.push(e)}var Cc=q(null),Zl=null,$t=null;function dl(e,t,l){Q(Cc,t._currentValue),t._currentValue=l}function Ft(e){e._currentValue=Cc.current,J(Cc)}function Mc(e,t,l){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===l)break;e=e.return}}function jc(e,t,l,a){var n=e.child;for(n!==null&&(n.return=e);n!==null;){var i=n.dependencies;if(i!==null){var f=n.child;i=i.firstContext;e:for(;i!==null;){var h=i;i=n;for(var b=0;b<t.length;b++)if(h.context===t[b]){i.lanes|=l,h=i.alternate,h!==null&&(h.lanes|=l),Mc(i.return,l,e),a||(f=null);break e}i=h.next}}else if(n.tag===18){if(f=n.return,f===null)throw Error(r(341));f.lanes|=l,i=f.alternate,i!==null&&(i.lanes|=l),Mc(f,l,e),f=null}else f=n.child;if(f!==null)f.return=n;else for(f=n;f!==null;){if(f===e){f=null;break}if(n=f.sibling,n!==null){n.return=f.return,f=n;break}f=f.return}n=f}}function mn(e,t,l,a){e=null;for(var n=t,i=!1;n!==null;){if(!i){if((n.flags&524288)!==0)i=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var f=n.alternate;if(f===null)throw Error(r(387));if(f=f.memoizedProps,f!==null){var h=n.type;dt(n.pendingProps.value,f.value)||(e!==null?e.push(h):e=[h])}}else if(n===st.current){if(f=n.alternate,f===null)throw Error(r(387));f.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(Vn):e=[Vn])}n=n.return}e!==null&&jc(t,e,l,a),t.flags|=262144}function Mu(e){for(e=e.firstContext;e!==null;){if(!dt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Kl(e){Zl=e,$t=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function We(e){return Vo(Zl,e)}function ju(e,t){return Zl===null&&Kl(e),Vo(e,t)}function Vo(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},$t===null){if(e===null)throw Error(r(308));$t=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else $t=$t.next=t;return l}var oy=typeof AbortController!="undefined"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(l,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(l){return l()})}},fy=u.unstable_scheduleCallback,dy=u.unstable_NormalPriority,qe={$$typeof:K,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function zc(){return{controller:new oy,data:new Map,refCount:0}}function yn(e){e.refCount--,e.refCount===0&&fy(dy,function(){e.controller.abort()})}var gn=null,Uc=0,xa=0,Ea=null;function hy(e,t){if(gn===null){var l=gn=[];Uc=0,xa=Hr(),Ea={status:"pending",value:void 0,then:function(a){l.push(a)}}}return Uc++,t.then(Qo,Qo),t}function Qo(){if(--Uc===0&&gn!==null){Ea!==null&&(Ea.status="fulfilled");var e=gn;gn=null,xa=0,Ea=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function my(e,t){var l=[],a={status:"pending",value:null,reason:null,then:function(n){l.push(n)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var n=0;n<l.length;n++)(0,l[n])(t)},function(n){for(a.status="rejected",a.reason=n,n=0;n<l.length;n++)(0,l[n])(void 0)}),a}var Zo=B.S;B.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&hy(e,t),Zo!==null&&Zo(e,t)};var Jl=q(null);function Bc(){var e=Jl.current;return e!==null?e:Re.pooledCache}function zu(e,t){t===null?Q(Jl,Jl.current):Q(Jl,t.pool)}function Ko(){var e=Bc();return e===null?null:{parent:qe._currentValue,pool:e}}var vn=Error(r(460)),Jo=Error(r(474)),Uu=Error(r(542)),Hc={then:function(){}};function ko(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Bu(){}function $o(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then(Bu,Bu),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Wo(e),e;default:if(typeof t.status=="string")t.then(Bu,Bu);else{if(e=Re,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=a}},function(a){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,Wo(e),e}throw pn=t,vn}}var pn=null;function Fo(){if(pn===null)throw Error(r(459));var e=pn;return pn=null,e}function Wo(e){if(e===vn||e===Uu)throw Error(r(483))}var hl=!1;function Lc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function qc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function ml(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function yl(e,t,l){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(ye&2)!==0){var n=a.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),a.pending=t,t=Du(e),Ho(e,null,l),t}return Nu(e,a,t,l),Du(e)}function bn(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,Vs(e,l)}}function Yc(e,t){var l=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var n=null,i=null;if(l=l.firstBaseUpdate,l!==null){do{var f={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};i===null?n=i=f:i=i.next=f,l=l.next}while(l!==null);i===null?n=i=t:i=i.next=t}else n=i=t;l={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:i,shared:a.shared,callbacks:a.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var Gc=!1;function Sn(){if(Gc){var e=Ea;if(e!==null)throw e}}function xn(e,t,l,a){Gc=!1;var n=e.updateQueue;hl=!1;var i=n.firstBaseUpdate,f=n.lastBaseUpdate,h=n.shared.pending;if(h!==null){n.shared.pending=null;var b=h,O=b.next;b.next=null,f===null?i=O:f.next=O,f=b;var U=e.alternate;U!==null&&(U=U.updateQueue,h=U.lastBaseUpdate,h!==f&&(h===null?U.firstBaseUpdate=O:h.next=O,U.lastBaseUpdate=b))}if(i!==null){var L=n.baseState;f=0,U=O=b=null,h=i;do{var w=h.lane&-536870913,_=w!==h.lane;if(_?(oe&w)===w:(a&w)===w){w!==0&&w===xa&&(Gc=!0),U!==null&&(U=U.next={lane:0,tag:h.tag,payload:h.payload,callback:null,next:null});e:{var ee=e,W=h;w=t;var be=l;switch(W.tag){case 1:if(ee=W.payload,typeof ee=="function"){L=ee.call(be,L,w);break e}L=ee;break e;case 3:ee.flags=ee.flags&-65537|128;case 0:if(ee=W.payload,w=typeof ee=="function"?ee.call(be,L,w):ee,w==null)break e;L=p({},L,w);break e;case 2:hl=!0}}w=h.callback,w!==null&&(e.flags|=64,_&&(e.flags|=8192),_=n.callbacks,_===null?n.callbacks=[w]:_.push(w))}else _={lane:w,tag:h.tag,payload:h.payload,callback:h.callback,next:null},U===null?(O=U=_,b=L):U=U.next=_,f|=w;if(h=h.next,h===null){if(h=n.shared.pending,h===null)break;_=h,h=_.next,_.next=null,n.lastBaseUpdate=_,n.shared.pending=null}}while(!0);U===null&&(b=L),n.baseState=b,n.firstBaseUpdate=O,n.lastBaseUpdate=U,i===null&&(n.shared.lanes=0),Tl|=f,e.lanes=f,e.memoizedState=L}}function Po(e,t){if(typeof e!="function")throw Error(r(191,e));e.call(t)}function Io(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)Po(l[e],t)}var Ta=q(null),Hu=q(0);function ef(e,t){e=al,Q(Hu,e),Q(Ta,t),al=e|t.baseLanes}function Xc(){Q(Hu,al),Q(Ta,Ta.current)}function Vc(){al=Hu.current,J(Ta),J(Hu)}var gl=0,ue=null,ve=null,He=null,Lu=!1,Ra=!1,kl=!1,qu=0,En=0,Aa=null,yy=0;function Ue(){throw Error(r(321))}function Qc(e,t){if(t===null)return!1;for(var l=0;l<t.length&&l<e.length;l++)if(!dt(e[l],t[l]))return!1;return!0}function Zc(e,t,l,a,n,i){return gl=i,ue=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,B.H=e===null||e.memoizedState===null?Lf:qf,kl=!1,i=l(a,n),kl=!1,Ra&&(i=lf(t,l,a,n)),tf(e),i}function tf(e){B.H=Zu;var t=ve!==null&&ve.next!==null;if(gl=0,He=ve=ue=null,Lu=!1,En=0,Aa=null,t)throw Error(r(300));e===null||Xe||(e=e.dependencies,e!==null&&Mu(e)&&(Xe=!0))}function lf(e,t,l,a){ue=e;var n=0;do{if(Ra&&(Aa=null),En=0,Ra=!1,25<=n)throw Error(r(301));if(n+=1,He=ve=null,e.updateQueue!=null){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}B.H=Ey,i=t(l,a)}while(Ra);return i}function gy(){var e=B.H,t=e.useState()[0];return t=typeof t.then=="function"?Tn(t):t,e=e.useState()[0],(ve!==null?ve.memoizedState:null)!==e&&(ue.flags|=1024),t}function Kc(){var e=qu!==0;return qu=0,e}function Jc(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function kc(e){if(Lu){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Lu=!1}gl=0,He=ve=ue=null,Ra=!1,En=qu=0,Aa=null}function at(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return He===null?ue.memoizedState=He=e:He=He.next=e,He}function Le(){if(ve===null){var e=ue.alternate;e=e!==null?e.memoizedState:null}else e=ve.next;var t=He===null?ue.memoizedState:He.next;if(t!==null)He=t,ve=e;else{if(e===null)throw ue.alternate===null?Error(r(467)):Error(r(310));ve=e,e={memoizedState:ve.memoizedState,baseState:ve.baseState,baseQueue:ve.baseQueue,queue:ve.queue,next:null},He===null?ue.memoizedState=He=e:He=He.next=e}return He}function $c(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Tn(e){var t=En;return En+=1,Aa===null&&(Aa=[]),e=$o(Aa,e,t),t=ue,(He===null?t.memoizedState:He.next)===null&&(t=t.alternate,B.H=t===null||t.memoizedState===null?Lf:qf),e}function Yu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Tn(e);if(e.$$typeof===K)return We(e)}throw Error(r(438,String(e)))}function Fc(e){var t=null,l=ue.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var a=ue.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=$c(),ue.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0)for(l=t.data[t.index]=Array(e),a=0;a<e;a++)l[a]=rt;return t.index++,l}function Wt(e,t){return typeof t=="function"?t(e):t}function Gu(e){var t=Le();return Wc(t,ve,e)}function Wc(e,t,l){var a=e.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=l;var n=e.baseQueue,i=a.pending;if(i!==null){if(n!==null){var f=n.next;n.next=i.next,i.next=f}t.baseQueue=n=i,a.pending=null}if(i=e.baseState,n===null)e.memoizedState=i;else{t=n.next;var h=f=null,b=null,O=t,U=!1;do{var L=O.lane&-536870913;if(L!==O.lane?(oe&L)===L:(gl&L)===L){var w=O.revertLane;if(w===0)b!==null&&(b=b.next={lane:0,revertLane:0,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null}),L===xa&&(U=!0);else if((gl&w)===w){O=O.next,w===xa&&(U=!0);continue}else L={lane:0,revertLane:O.revertLane,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},b===null?(h=b=L,f=i):b=b.next=L,ue.lanes|=w,Tl|=w;L=O.action,kl&&l(i,L),i=O.hasEagerState?O.eagerState:l(i,L)}else w={lane:L,revertLane:O.revertLane,action:O.action,hasEagerState:O.hasEagerState,eagerState:O.eagerState,next:null},b===null?(h=b=w,f=i):b=b.next=w,ue.lanes|=L,Tl|=L;O=O.next}while(O!==null&&O!==t);if(b===null?f=i:b.next=h,!dt(i,e.memoizedState)&&(Xe=!0,U&&(l=Ea,l!==null)))throw l;e.memoizedState=i,e.baseState=f,e.baseQueue=b,a.lastRenderedState=i}return n===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function Pc(e){var t=Le(),l=t.queue;if(l===null)throw Error(r(311));l.lastRenderedReducer=e;var a=l.dispatch,n=l.pending,i=t.memoizedState;if(n!==null){l.pending=null;var f=n=n.next;do i=e(i,f.action),f=f.next;while(f!==n);dt(i,t.memoizedState)||(Xe=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),l.lastRenderedState=i}return[i,a]}function af(e,t,l){var a=ue,n=Le(),i=me;if(i){if(l===void 0)throw Error(r(407));l=l()}else l=t();var f=!dt((ve||n).memoizedState,l);f&&(n.memoizedState=l,Xe=!0),n=n.queue;var h=cf.bind(null,a,n,e);if(Rn(2048,8,h,[e]),n.getSnapshot!==t||f||He!==null&&He.memoizedState.tag&1){if(a.flags|=2048,Oa(9,Xu(),uf.bind(null,a,n,l,t),null),Re===null)throw Error(r(349));i||(gl&124)!==0||nf(a,t,l)}return l}function nf(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=ue.updateQueue,t===null?(t=$c(),ue.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function uf(e,t,l,a){t.value=l,t.getSnapshot=a,rf(t)&&sf(e)}function cf(e,t,l){return l(function(){rf(t)&&sf(e)})}function rf(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!dt(e,l)}catch(a){return!0}}function sf(e){var t=va(e,2);t!==null&&pt(t,e,2)}function Ic(e){var t=at();if(typeof e=="function"){var l=e;if(e=l(),kl){sl(!0);try{l()}finally{sl(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wt,lastRenderedState:e},t}function of(e,t,l,a){return e.baseState=l,Wc(e,ve,typeof a=="function"?a:Wt)}function vy(e,t,l,a,n){if(Qu(e))throw Error(r(485));if(e=t.action,e!==null){var i={payload:n,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(f){i.listeners.push(f)}};B.T!==null?l(!0):i.isTransition=!1,a(i),l=t.pending,l===null?(i.next=t.pending=i,ff(t,i)):(i.next=l.next,t.pending=l.next=i)}}function ff(e,t){var l=t.action,a=t.payload,n=e.state;if(t.isTransition){var i=B.T,f={};B.T=f;try{var h=l(n,a),b=B.S;b!==null&&b(f,h),df(e,t,h)}catch(O){er(e,t,O)}finally{B.T=i}}else try{i=l(n,a),df(e,t,i)}catch(O){er(e,t,O)}}function df(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){hf(e,t,a)},function(a){return er(e,t,a)}):hf(e,t,l)}function hf(e,t,l){t.status="fulfilled",t.value=l,mf(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,ff(e,l)))}function er(e,t,l){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=l,mf(t),t=t.next;while(t!==a)}e.action=null}function mf(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function yf(e,t){return t}function gf(e,t){if(me){var l=Re.formState;if(l!==null){e:{var a=ue;if(me){if(Ce){t:{for(var n=Ce,i=Bt;n.nodeType!==8;){if(!i){n=null;break t}if(n=Ct(n.nextSibling),n===null){n=null;break t}}i=n.data,n=i==="F!"||i==="F"?n:null}if(n){Ce=Ct(n.nextSibling),a=n.data==="F!";break e}}Ql(a)}a=!1}a&&(t=l[0])}}return l=at(),l.memoizedState=l.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:yf,lastRenderedState:t},l.queue=a,l=Uf.bind(null,ue,a),a.dispatch=l,a=Ic(!1),i=ur.bind(null,ue,!1,a.queue),a=at(),n={state:t,dispatch:null,action:e,pending:null},a.queue=n,l=vy.bind(null,ue,n,i,l),n.dispatch=l,a.memoizedState=e,[t,l,!1]}function vf(e){var t=Le();return pf(t,ve,e)}function pf(e,t,l){if(t=Wc(e,t,yf)[0],e=Gu(Wt)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=Tn(t)}catch(f){throw f===vn?Uu:f}else a=t;t=Le();var n=t.queue,i=n.dispatch;return l!==t.memoizedState&&(ue.flags|=2048,Oa(9,Xu(),py.bind(null,n,l),null)),[a,i,e]}function py(e,t){e.action=t}function bf(e){var t=Le(),l=ve;if(l!==null)return pf(t,l,e);Le(),t=t.memoizedState,l=Le();var a=l.queue.dispatch;return l.memoizedState=e,[t,a,!1]}function Oa(e,t,l,a){return e={tag:e,create:l,deps:a,inst:t,next:null},t=ue.updateQueue,t===null&&(t=$c(),ue.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(a=l.next,l.next=e,e.next=a,t.lastEffect=e),e}function Xu(){return{destroy:void 0,resource:void 0}}function Sf(){return Le().memoizedState}function Vu(e,t,l,a){var n=at();a=a===void 0?null:a,ue.flags|=e,n.memoizedState=Oa(1|t,Xu(),l,a)}function Rn(e,t,l,a){var n=Le();a=a===void 0?null:a;var i=n.memoizedState.inst;ve!==null&&a!==null&&Qc(a,ve.memoizedState.deps)?n.memoizedState=Oa(t,i,l,a):(ue.flags|=e,n.memoizedState=Oa(1|t,i,l,a))}function xf(e,t){Vu(8390656,8,e,t)}function Ef(e,t){Rn(2048,8,e,t)}function Tf(e,t){return Rn(4,2,e,t)}function Rf(e,t){return Rn(4,4,e,t)}function Af(e,t){if(typeof t=="function"){e=e();var l=t(e);return function(){typeof l=="function"?l():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Of(e,t,l){l=l!=null?l.concat([e]):null,Rn(4,4,Af.bind(null,t,e),l)}function tr(){}function Nf(e,t){var l=Le();t=t===void 0?null:t;var a=l.memoizedState;return t!==null&&Qc(t,a[1])?a[0]:(l.memoizedState=[e,t],e)}function Df(e,t){var l=Le();t=t===void 0?null:t;var a=l.memoizedState;if(t!==null&&Qc(t,a[1]))return a[0];if(a=e(),kl){sl(!0);try{e()}finally{sl(!1)}}return l.memoizedState=[a,t],a}function lr(e,t,l){return l===void 0||(gl&1073741824)!==0?e.memoizedState=t:(e.memoizedState=l,e=Cd(),ue.lanes|=e,Tl|=e,l)}function wf(e,t,l,a){return dt(l,t)?l:Ta.current!==null?(e=lr(e,l,a),dt(e,t)||(Xe=!0),e):(gl&42)===0?(Xe=!0,e.memoizedState=l):(e=Cd(),ue.lanes|=e,Tl|=e,t)}function _f(e,t,l,a,n){var i=Z.p;Z.p=i!==0&&8>i?i:8;var f=B.T,h={};B.T=h,ur(e,!1,t,l);try{var b=n(),O=B.S;if(O!==null&&O(h,b),b!==null&&typeof b=="object"&&typeof b.then=="function"){var U=my(b,a);An(e,t,U,vt(e))}else An(e,t,a,vt(e))}catch(L){An(e,t,{then:function(){},status:"rejected",reason:L},vt())}finally{Z.p=i,B.T=f}}function by(){}function ar(e,t,l,a){if(e.tag!==5)throw Error(r(476));var n=Cf(e).queue;_f(e,n,t,I,l===null?by:function(){return Mf(e),l(a)})}function Cf(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:I,baseState:I,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wt,lastRenderedState:I},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wt,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Mf(e){var t=Cf(e).next.queue;An(e,t,{},vt())}function nr(){return We(Vn)}function jf(){return Le().memoizedState}function zf(){return Le().memoizedState}function Sy(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=vt();e=ml(l);var a=yl(t,e,l);a!==null&&(pt(a,t,l),bn(a,t,l)),t={cache:zc()},e.payload=t;return}t=t.return}}function xy(e,t,l){var a=vt();l={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},Qu(e)?Bf(t,l):(l=Rc(e,t,l,a),l!==null&&(pt(l,e,a),Hf(l,t,a)))}function Uf(e,t,l){var a=vt();An(e,t,l,a)}function An(e,t,l,a){var n={lane:a,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(Qu(e))Bf(t,n);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var f=t.lastRenderedState,h=i(f,l);if(n.hasEagerState=!0,n.eagerState=h,dt(h,f))return Nu(e,t,n,0),Re===null&&Ou(),!1}catch(b){}finally{}if(l=Rc(e,t,n,a),l!==null)return pt(l,e,a),Hf(l,t,a),!0}return!1}function ur(e,t,l,a){if(a={lane:2,revertLane:Hr(),action:a,hasEagerState:!1,eagerState:null,next:null},Qu(e)){if(t)throw Error(r(479))}else t=Rc(e,l,a,2),t!==null&&pt(t,e,2)}function Qu(e){var t=e.alternate;return e===ue||t!==null&&t===ue}function Bf(e,t){Ra=Lu=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function Hf(e,t,l){if((l&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,Vs(e,l)}}var Zu={readContext:We,use:Yu,useCallback:Ue,useContext:Ue,useEffect:Ue,useImperativeHandle:Ue,useLayoutEffect:Ue,useInsertionEffect:Ue,useMemo:Ue,useReducer:Ue,useRef:Ue,useState:Ue,useDebugValue:Ue,useDeferredValue:Ue,useTransition:Ue,useSyncExternalStore:Ue,useId:Ue,useHostTransitionStatus:Ue,useFormState:Ue,useActionState:Ue,useOptimistic:Ue,useMemoCache:Ue,useCacheRefresh:Ue},Lf={readContext:We,use:Yu,useCallback:function(e,t){return at().memoizedState=[e,t===void 0?null:t],e},useContext:We,useEffect:xf,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,Vu(4194308,4,Af.bind(null,t,e),l)},useLayoutEffect:function(e,t){return Vu(4194308,4,e,t)},useInsertionEffect:function(e,t){Vu(4,2,e,t)},useMemo:function(e,t){var l=at();t=t===void 0?null:t;var a=e();if(kl){sl(!0);try{e()}finally{sl(!1)}}return l.memoizedState=[a,t],a},useReducer:function(e,t,l){var a=at();if(l!==void 0){var n=l(t);if(kl){sl(!0);try{l(t)}finally{sl(!1)}}}else n=t;return a.memoizedState=a.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},a.queue=e,e=e.dispatch=xy.bind(null,ue,e),[a.memoizedState,e]},useRef:function(e){var t=at();return e={current:e},t.memoizedState=e},useState:function(e){e=Ic(e);var t=e.queue,l=Uf.bind(null,ue,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:tr,useDeferredValue:function(e,t){var l=at();return lr(l,e,t)},useTransition:function(){var e=Ic(!1);return e=_f.bind(null,ue,e.queue,!0,!1),at().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var a=ue,n=at();if(me){if(l===void 0)throw Error(r(407));l=l()}else{if(l=t(),Re===null)throw Error(r(349));(oe&124)!==0||nf(a,t,l)}n.memoizedState=l;var i={value:l,getSnapshot:t};return n.queue=i,xf(cf.bind(null,a,i,e),[e]),a.flags|=2048,Oa(9,Xu(),uf.bind(null,a,i,l,t),null),l},useId:function(){var e=at(),t=Re.identifierPrefix;if(me){var l=kt,a=Jt;l=(a&~(1<<32-ft(a)-1)).toString(32)+l,t="«"+t+"R"+l,l=qu++,0<l&&(t+="H"+l.toString(32)),t+="»"}else l=yy++,t="«"+t+"r"+l.toString(32)+"»";return e.memoizedState=t},useHostTransitionStatus:nr,useFormState:gf,useActionState:gf,useOptimistic:function(e){var t=at();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=ur.bind(null,ue,!0,l),l.dispatch=t,[e,t]},useMemoCache:Fc,useCacheRefresh:function(){return at().memoizedState=Sy.bind(null,ue)}},qf={readContext:We,use:Yu,useCallback:Nf,useContext:We,useEffect:Ef,useImperativeHandle:Of,useInsertionEffect:Tf,useLayoutEffect:Rf,useMemo:Df,useReducer:Gu,useRef:Sf,useState:function(){return Gu(Wt)},useDebugValue:tr,useDeferredValue:function(e,t){var l=Le();return wf(l,ve.memoizedState,e,t)},useTransition:function(){var e=Gu(Wt)[0],t=Le().memoizedState;return[typeof e=="boolean"?e:Tn(e),t]},useSyncExternalStore:af,useId:jf,useHostTransitionStatus:nr,useFormState:vf,useActionState:vf,useOptimistic:function(e,t){var l=Le();return of(l,ve,e,t)},useMemoCache:Fc,useCacheRefresh:zf},Ey={readContext:We,use:Yu,useCallback:Nf,useContext:We,useEffect:Ef,useImperativeHandle:Of,useInsertionEffect:Tf,useLayoutEffect:Rf,useMemo:Df,useReducer:Pc,useRef:Sf,useState:function(){return Pc(Wt)},useDebugValue:tr,useDeferredValue:function(e,t){var l=Le();return ve===null?lr(l,e,t):wf(l,ve.memoizedState,e,t)},useTransition:function(){var e=Pc(Wt)[0],t=Le().memoizedState;return[typeof e=="boolean"?e:Tn(e),t]},useSyncExternalStore:af,useId:jf,useHostTransitionStatus:nr,useFormState:bf,useActionState:bf,useOptimistic:function(e,t){var l=Le();return ve!==null?of(l,ve,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:Fc,useCacheRefresh:zf},Na=null,On=0;function Ku(e){var t=On;return On+=1,Na===null&&(Na=[]),$o(Na,e,t)}function Nn(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Ju(e,t){throw t.$$typeof===N?Error(r(525)):(e=Object.prototype.toString.call(t),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function Yf(e){var t=e._init;return t(e._payload)}function Gf(e){function t(T,E){if(e){var A=T.deletions;A===null?(T.deletions=[E],T.flags|=16):A.push(E)}}function l(T,E){if(!e)return null;for(;E!==null;)t(T,E),E=E.sibling;return null}function a(T){for(var E=new Map;T!==null;)T.key!==null?E.set(T.key,T):E.set(T.index,T),T=T.sibling;return E}function n(T,E){return T=Kt(T,E),T.index=0,T.sibling=null,T}function i(T,E,A){return T.index=A,e?(A=T.alternate,A!==null?(A=A.index,A<E?(T.flags|=67108866,E):A):(T.flags|=67108866,E)):(T.flags|=1048576,E)}function f(T){return e&&T.alternate===null&&(T.flags|=67108866),T}function h(T,E,A,H){return E===null||E.tag!==6?(E=Oc(A,T.mode,H),E.return=T,E):(E=n(E,A),E.return=T,E)}function b(T,E,A,H){var k=A.type;return k===C?U(T,E,A.props.children,H,A.key):E!==null&&(E.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Te&&Yf(k)===E.type)?(E=n(E,A.props),Nn(E,A),E.return=T,E):(E=wu(A.type,A.key,A.props,null,T.mode,H),Nn(E,A),E.return=T,E)}function O(T,E,A,H){return E===null||E.tag!==4||E.stateNode.containerInfo!==A.containerInfo||E.stateNode.implementation!==A.implementation?(E=Nc(A,T.mode,H),E.return=T,E):(E=n(E,A.children||[]),E.return=T,E)}function U(T,E,A,H,k){return E===null||E.tag!==7?(E=Yl(A,T.mode,H,k),E.return=T,E):(E=n(E,A),E.return=T,E)}function L(T,E,A){if(typeof E=="string"&&E!==""||typeof E=="number"||typeof E=="bigint")return E=Oc(""+E,T.mode,A),E.return=T,E;if(typeof E=="object"&&E!==null){switch(E.$$typeof){case D:return A=wu(E.type,E.key,E.props,null,T.mode,A),Nn(A,E),A.return=T,A;case Y:return E=Nc(E,T.mode,A),E.return=T,E;case Te:var H=E._init;return E=H(E._payload),L(T,E,A)}if($e(E)||De(E))return E=Yl(E,T.mode,A,null),E.return=T,E;if(typeof E.then=="function")return L(T,Ku(E),A);if(E.$$typeof===K)return L(T,ju(T,E),A);Ju(T,E)}return null}function w(T,E,A,H){var k=E!==null?E.key:null;if(typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint")return k!==null?null:h(T,E,""+A,H);if(typeof A=="object"&&A!==null){switch(A.$$typeof){case D:return A.key===k?b(T,E,A,H):null;case Y:return A.key===k?O(T,E,A,H):null;case Te:return k=A._init,A=k(A._payload),w(T,E,A,H)}if($e(A)||De(A))return k!==null?null:U(T,E,A,H,null);if(typeof A.then=="function")return w(T,E,Ku(A),H);if(A.$$typeof===K)return w(T,E,ju(T,A),H);Ju(T,A)}return null}function _(T,E,A,H,k){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return T=T.get(A)||null,h(E,T,""+H,k);if(typeof H=="object"&&H!==null){switch(H.$$typeof){case D:return T=T.get(H.key===null?A:H.key)||null,b(E,T,H,k);case Y:return T=T.get(H.key===null?A:H.key)||null,O(E,T,H,k);case Te:var ie=H._init;return H=ie(H._payload),_(T,E,A,H,k)}if($e(H)||De(H))return T=T.get(A)||null,U(E,T,H,k,null);if(typeof H.then=="function")return _(T,E,A,Ku(H),k);if(H.$$typeof===K)return _(T,E,A,ju(E,H),k);Ju(E,H)}return null}function ee(T,E,A,H){for(var k=null,ie=null,$=E,P=E=0,Qe=null;$!==null&&P<A.length;P++){$.index>P?(Qe=$,$=null):Qe=$.sibling;var he=w(T,$,A[P],H);if(he===null){$===null&&($=Qe);break}e&&$&&he.alternate===null&&t(T,$),E=i(he,E,P),ie===null?k=he:ie.sibling=he,ie=he,$=Qe}if(P===A.length)return l(T,$),me&&Xl(T,P),k;if($===null){for(;P<A.length;P++)$=L(T,A[P],H),$!==null&&(E=i($,E,P),ie===null?k=$:ie.sibling=$,ie=$);return me&&Xl(T,P),k}for($=a($);P<A.length;P++)Qe=_($,T,P,A[P],H),Qe!==null&&(e&&Qe.alternate!==null&&$.delete(Qe.key===null?P:Qe.key),E=i(Qe,E,P),ie===null?k=Qe:ie.sibling=Qe,ie=Qe);return e&&$.forEach(function(Ml){return t(T,Ml)}),me&&Xl(T,P),k}function W(T,E,A,H){if(A==null)throw Error(r(151));for(var k=null,ie=null,$=E,P=E=0,Qe=null,he=A.next();$!==null&&!he.done;P++,he=A.next()){$.index>P?(Qe=$,$=null):Qe=$.sibling;var Ml=w(T,$,he.value,H);if(Ml===null){$===null&&($=Qe);break}e&&$&&Ml.alternate===null&&t(T,$),E=i(Ml,E,P),ie===null?k=Ml:ie.sibling=Ml,ie=Ml,$=Qe}if(he.done)return l(T,$),me&&Xl(T,P),k;if($===null){for(;!he.done;P++,he=A.next())he=L(T,he.value,H),he!==null&&(E=i(he,E,P),ie===null?k=he:ie.sibling=he,ie=he);return me&&Xl(T,P),k}for($=a($);!he.done;P++,he=A.next())he=_($,T,P,he.value,H),he!==null&&(e&&he.alternate!==null&&$.delete(he.key===null?P:he.key),E=i(he,E,P),ie===null?k=he:ie.sibling=he,ie=he);return e&&$.forEach(function(Tg){return t(T,Tg)}),me&&Xl(T,P),k}function be(T,E,A,H){if(typeof A=="object"&&A!==null&&A.type===C&&A.key===null&&(A=A.props.children),typeof A=="object"&&A!==null){switch(A.$$typeof){case D:e:{for(var k=A.key;E!==null;){if(E.key===k){if(k=A.type,k===C){if(E.tag===7){l(T,E.sibling),H=n(E,A.props.children),H.return=T,T=H;break e}}else if(E.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===Te&&Yf(k)===E.type){l(T,E.sibling),H=n(E,A.props),Nn(H,A),H.return=T,T=H;break e}l(T,E);break}else t(T,E);E=E.sibling}A.type===C?(H=Yl(A.props.children,T.mode,H,A.key),H.return=T,T=H):(H=wu(A.type,A.key,A.props,null,T.mode,H),Nn(H,A),H.return=T,T=H)}return f(T);case Y:e:{for(k=A.key;E!==null;){if(E.key===k)if(E.tag===4&&E.stateNode.containerInfo===A.containerInfo&&E.stateNode.implementation===A.implementation){l(T,E.sibling),H=n(E,A.children||[]),H.return=T,T=H;break e}else{l(T,E);break}else t(T,E);E=E.sibling}H=Nc(A,T.mode,H),H.return=T,T=H}return f(T);case Te:return k=A._init,A=k(A._payload),be(T,E,A,H)}if($e(A))return ee(T,E,A,H);if(De(A)){if(k=De(A),typeof k!="function")throw Error(r(150));return A=k.call(A),W(T,E,A,H)}if(typeof A.then=="function")return be(T,E,Ku(A),H);if(A.$$typeof===K)return be(T,E,ju(T,A),H);Ju(T,A)}return typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint"?(A=""+A,E!==null&&E.tag===6?(l(T,E.sibling),H=n(E,A),H.return=T,T=H):(l(T,E),H=Oc(A,T.mode,H),H.return=T,T=H),f(T)):l(T,E)}return function(T,E,A,H){try{On=0;var k=be(T,E,A,H);return Na=null,k}catch($){if($===vn||$===Uu)throw $;var ie=ht(29,$,null,T.mode);return ie.lanes=H,ie.return=T,ie}finally{}}}var Da=Gf(!0),Xf=Gf(!1),Ot=q(null),Ht=null;function vl(e){var t=e.alternate;Q(Ye,Ye.current&1),Q(Ot,e),Ht===null&&(t===null||Ta.current!==null||t.memoizedState!==null)&&(Ht=e)}function Vf(e){if(e.tag===22){if(Q(Ye,Ye.current),Q(Ot,e),Ht===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(Ht=e)}}else pl()}function pl(){Q(Ye,Ye.current),Q(Ot,Ot.current)}function Pt(e){J(Ot),Ht===e&&(Ht=null),J(Ye)}var Ye=q(0);function ku(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||$r(l)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function ir(e,t,l,a){t=e.memoizedState,l=l(a,t),l=l==null?t:p({},t,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var cr={enqueueSetState:function(e,t,l){e=e._reactInternals;var a=vt(),n=ml(a);n.payload=t,l!=null&&(n.callback=l),t=yl(e,n,a),t!==null&&(pt(t,e,a),bn(t,e,a))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var a=vt(),n=ml(a);n.tag=1,n.payload=t,l!=null&&(n.callback=l),t=yl(e,n,a),t!==null&&(pt(t,e,a),bn(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=vt(),a=ml(l);a.tag=2,t!=null&&(a.callback=t),t=yl(e,a,l),t!==null&&(pt(t,e,l),bn(t,e,l))}};function Qf(e,t,l,a,n,i,f){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,i,f):t.prototype&&t.prototype.isPureReactComponent?!sn(l,a)||!sn(n,i):!0}function Zf(e,t,l,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(l,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(l,a),t.state!==e&&cr.enqueueReplaceState(t,t.state,null)}function $l(e,t){var l=t;if("ref"in t){l={};for(var a in t)a!=="ref"&&(l[a]=t[a])}if(e=e.defaultProps){l===t&&(l=p({},l));for(var n in e)l[n]===void 0&&(l[n]=e[n])}return l}var $u=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function Kf(e){$u(e)}function Jf(e){console.error(e)}function kf(e){$u(e)}function Fu(e,t){try{var l=e.onUncaughtError;l(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function $f(e,t,l){try{var a=e.onCaughtError;a(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function rr(e,t,l){return l=ml(l),l.tag=3,l.payload={element:null},l.callback=function(){Fu(e,t)},l}function Ff(e){return e=ml(e),e.tag=3,e}function Wf(e,t,l,a){var n=l.type.getDerivedStateFromError;if(typeof n=="function"){var i=a.value;e.payload=function(){return n(i)},e.callback=function(){$f(t,l,a)}}var f=l.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(e.callback=function(){$f(t,l,a),typeof n!="function"&&(Rl===null?Rl=new Set([this]):Rl.add(this));var h=a.stack;this.componentDidCatch(a.value,{componentStack:h!==null?h:""})})}function Ty(e,t,l,a,n){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=l.alternate,t!==null&&mn(t,l,n,!0),l=Ot.current,l!==null){switch(l.tag){case 13:return Ht===null?Mr():l.alternate===null&&Me===0&&(Me=3),l.flags&=-257,l.flags|=65536,l.lanes=n,a===Hc?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([a]):t.add(a),zr(e,a,n)),!1;case 22:return l.flags|=65536,a===Hc?l.flags|=16384:(t=l.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},l.updateQueue=t):(l=t.retryQueue,l===null?t.retryQueue=new Set([a]):l.add(a)),zr(e,a,n)),!1}throw Error(r(435,l.tag))}return zr(e,a,n),Mr(),!1}if(me)return t=Ot.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,a!==_c&&(e=Error(r(422),{cause:a}),hn(Et(e,l)))):(a!==_c&&(t=Error(r(423),{cause:a}),hn(Et(t,l))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,a=Et(a,l),n=rr(e.stateNode,a,n),Yc(e,n),Me!==4&&(Me=2)),!1;var i=Error(r(520),{cause:a});if(i=Et(i,l),zn===null?zn=[i]:zn.push(i),Me!==4&&(Me=2),t===null)return!0;a=Et(a,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=n&-n,l.lanes|=e,e=rr(l.stateNode,a,e),Yc(l,e),!1;case 1:if(t=l.type,i=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(Rl===null||!Rl.has(i))))return l.flags|=65536,n&=-n,l.lanes|=n,n=Ff(n),Wf(n,e,l,a),Yc(l,n),!1}l=l.return}while(l!==null);return!1}var Pf=Error(r(461)),Xe=!1;function Ke(e,t,l,a){t.child=e===null?Xf(t,null,l,a):Da(t,e.child,l,a)}function If(e,t,l,a,n){l=l.render;var i=t.ref;if("ref"in a){var f={};for(var h in a)h!=="ref"&&(f[h]=a[h])}else f=a;return Kl(t),a=Zc(e,t,l,f,i,n),h=Kc(),e!==null&&!Xe?(Jc(e,t,n),It(e,t,n)):(me&&h&&Dc(t),t.flags|=1,Ke(e,t,a,n),t.child)}function ed(e,t,l,a,n){if(e===null){var i=l.type;return typeof i=="function"&&!Ac(i)&&i.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=i,td(e,t,i,a,n)):(e=wu(l.type,null,a,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!gr(e,n)){var f=i.memoizedProps;if(l=l.compare,l=l!==null?l:sn,l(f,a)&&e.ref===t.ref)return It(e,t,n)}return t.flags|=1,e=Kt(i,a),e.ref=t.ref,e.return=t,t.child=e}function td(e,t,l,a,n){if(e!==null){var i=e.memoizedProps;if(sn(i,a)&&e.ref===t.ref)if(Xe=!1,t.pendingProps=a=i,gr(e,n))(e.flags&131072)!==0&&(Xe=!0);else return t.lanes=e.lanes,It(e,t,n)}return sr(e,t,l,a,n)}function ld(e,t,l){var a=t.pendingProps,n=a.children,i=e!==null?e.memoizedState:null;if(a.mode==="hidden"){if((t.flags&128)!==0){if(a=i!==null?i.baseLanes|l:l,e!==null){for(n=t.child=e.child,i=0;n!==null;)i=i|n.lanes|n.childLanes,n=n.sibling;t.childLanes=i&~a}else t.childLanes=0,t.child=null;return ad(e,t,a,l)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&zu(t,i!==null?i.cachePool:null),i!==null?ef(t,i):Xc(),Vf(t);else return t.lanes=t.childLanes=536870912,ad(e,t,i!==null?i.baseLanes|l:l,l)}else i!==null?(zu(t,i.cachePool),ef(t,i),pl(),t.memoizedState=null):(e!==null&&zu(t,null),Xc(),pl());return Ke(e,t,n,l),t.child}function ad(e,t,l,a){var n=Bc();return n=n===null?null:{parent:qe._currentValue,pool:n},t.memoizedState={baseLanes:l,cachePool:n},e!==null&&zu(t,null),Xc(),Vf(t),e!==null&&mn(e,t,a,!0),null}function Wu(e,t){var l=t.ref;if(l===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(r(284));(e===null||e.ref!==l)&&(t.flags|=4194816)}}function sr(e,t,l,a,n){return Kl(t),l=Zc(e,t,l,a,void 0,n),a=Kc(),e!==null&&!Xe?(Jc(e,t,n),It(e,t,n)):(me&&a&&Dc(t),t.flags|=1,Ke(e,t,l,n),t.child)}function nd(e,t,l,a,n,i){return Kl(t),t.updateQueue=null,l=lf(t,a,l,n),tf(e),a=Kc(),e!==null&&!Xe?(Jc(e,t,i),It(e,t,i)):(me&&a&&Dc(t),t.flags|=1,Ke(e,t,l,i),t.child)}function ud(e,t,l,a,n){if(Kl(t),t.stateNode===null){var i=pa,f=l.contextType;typeof f=="object"&&f!==null&&(i=We(f)),i=new l(a,i),t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=cr,t.stateNode=i,i._reactInternals=t,i=t.stateNode,i.props=a,i.state=t.memoizedState,i.refs={},Lc(t),f=l.contextType,i.context=typeof f=="object"&&f!==null?We(f):pa,i.state=t.memoizedState,f=l.getDerivedStateFromProps,typeof f=="function"&&(ir(t,l,f,a),i.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(f=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),f!==i.state&&cr.enqueueReplaceState(i,i.state,null),xn(t,a,i,n),Sn(),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){i=t.stateNode;var h=t.memoizedProps,b=$l(l,h);i.props=b;var O=i.context,U=l.contextType;f=pa,typeof U=="object"&&U!==null&&(f=We(U));var L=l.getDerivedStateFromProps;U=typeof L=="function"||typeof i.getSnapshotBeforeUpdate=="function",h=t.pendingProps!==h,U||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(h||O!==f)&&Zf(t,i,a,f),hl=!1;var w=t.memoizedState;i.state=w,xn(t,a,i,n),Sn(),O=t.memoizedState,h||w!==O||hl?(typeof L=="function"&&(ir(t,l,L,a),O=t.memoizedState),(b=hl||Qf(t,l,b,a,w,O,f))?(U||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=O),i.props=a,i.state=O,i.context=f,a=b):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{i=t.stateNode,qc(e,t),f=t.memoizedProps,U=$l(l,f),i.props=U,L=t.pendingProps,w=i.context,O=l.contextType,b=pa,typeof O=="object"&&O!==null&&(b=We(O)),h=l.getDerivedStateFromProps,(O=typeof h=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(f!==L||w!==b)&&Zf(t,i,a,b),hl=!1,w=t.memoizedState,i.state=w,xn(t,a,i,n),Sn();var _=t.memoizedState;f!==L||w!==_||hl||e!==null&&e.dependencies!==null&&Mu(e.dependencies)?(typeof h=="function"&&(ir(t,l,h,a),_=t.memoizedState),(U=hl||Qf(t,l,U,a,w,_,b)||e!==null&&e.dependencies!==null&&Mu(e.dependencies))?(O||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(a,_,b),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(a,_,b)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||f===e.memoizedProps&&w===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||f===e.memoizedProps&&w===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=_),i.props=a,i.state=_,i.context=b,a=U):(typeof i.componentDidUpdate!="function"||f===e.memoizedProps&&w===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||f===e.memoizedProps&&w===e.memoizedState||(t.flags|=1024),a=!1)}return i=a,Wu(e,t),a=(t.flags&128)!==0,i||a?(i=t.stateNode,l=a&&typeof l.getDerivedStateFromError!="function"?null:i.render(),t.flags|=1,e!==null&&a?(t.child=Da(t,e.child,null,n),t.child=Da(t,null,l,n)):Ke(e,t,l,n),t.memoizedState=i.state,e=t.child):e=It(e,t,n),e}function id(e,t,l,a){return dn(),t.flags|=256,Ke(e,t,l,a),t.child}var or={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function fr(e){return{baseLanes:e,cachePool:Ko()}}function dr(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=Nt),e}function cd(e,t,l){var a=t.pendingProps,n=!1,i=(t.flags&128)!==0,f;if((f=i)||(f=e!==null&&e.memoizedState===null?!1:(Ye.current&2)!==0),f&&(n=!0,t.flags&=-129),f=(t.flags&32)!==0,t.flags&=-33,e===null){if(me){if(n?vl(t):pl(),me){var h=Ce,b;if(b=h){e:{for(b=h,h=Bt;b.nodeType!==8;){if(!h){h=null;break e}if(b=Ct(b.nextSibling),b===null){h=null;break e}}h=b}h!==null?(t.memoizedState={dehydrated:h,treeContext:Gl!==null?{id:Jt,overflow:kt}:null,retryLane:536870912,hydrationErrors:null},b=ht(18,null,null,0),b.stateNode=h,b.return=t,t.child=b,et=t,Ce=null,b=!0):b=!1}b||Ql(t)}if(h=t.memoizedState,h!==null&&(h=h.dehydrated,h!==null))return $r(h)?t.lanes=32:t.lanes=536870912,null;Pt(t)}return h=a.children,a=a.fallback,n?(pl(),n=t.mode,h=Pu({mode:"hidden",children:h},n),a=Yl(a,n,l,null),h.return=t,a.return=t,h.sibling=a,t.child=h,n=t.child,n.memoizedState=fr(l),n.childLanes=dr(e,f,l),t.memoizedState=or,a):(vl(t),hr(t,h))}if(b=e.memoizedState,b!==null&&(h=b.dehydrated,h!==null)){if(i)t.flags&256?(vl(t),t.flags&=-257,t=mr(e,t,l)):t.memoizedState!==null?(pl(),t.child=e.child,t.flags|=128,t=null):(pl(),n=a.fallback,h=t.mode,a=Pu({mode:"visible",children:a.children},h),n=Yl(n,h,l,null),n.flags|=2,a.return=t,n.return=t,a.sibling=n,t.child=a,Da(t,e.child,null,l),a=t.child,a.memoizedState=fr(l),a.childLanes=dr(e,f,l),t.memoizedState=or,t=n);else if(vl(t),$r(h)){if(f=h.nextSibling&&h.nextSibling.dataset,f)var O=f.dgst;f=O,a=Error(r(419)),a.stack="",a.digest=f,hn({value:a,source:null,stack:null}),t=mr(e,t,l)}else if(Xe||mn(e,t,l,!1),f=(l&e.childLanes)!==0,Xe||f){if(f=Re,f!==null&&(a=l&-l,a=(a&42)!==0?1:Fi(a),a=(a&(f.suspendedLanes|l))!==0?0:a,a!==0&&a!==b.retryLane))throw b.retryLane=a,va(e,a),pt(f,e,a),Pf;h.data==="$?"||Mr(),t=mr(e,t,l)}else h.data==="$?"?(t.flags|=192,t.child=e.child,t=null):(e=b.treeContext,Ce=Ct(h.nextSibling),et=t,me=!0,Vl=null,Bt=!1,e!==null&&(Rt[At++]=Jt,Rt[At++]=kt,Rt[At++]=Gl,Jt=e.id,kt=e.overflow,Gl=t),t=hr(t,a.children),t.flags|=4096);return t}return n?(pl(),n=a.fallback,h=t.mode,b=e.child,O=b.sibling,a=Kt(b,{mode:"hidden",children:a.children}),a.subtreeFlags=b.subtreeFlags&65011712,O!==null?n=Kt(O,n):(n=Yl(n,h,l,null),n.flags|=2),n.return=t,a.return=t,a.sibling=n,t.child=a,a=n,n=t.child,h=e.child.memoizedState,h===null?h=fr(l):(b=h.cachePool,b!==null?(O=qe._currentValue,b=b.parent!==O?{parent:O,pool:O}:b):b=Ko(),h={baseLanes:h.baseLanes|l,cachePool:b}),n.memoizedState=h,n.childLanes=dr(e,f,l),t.memoizedState=or,a):(vl(t),l=e.child,e=l.sibling,l=Kt(l,{mode:"visible",children:a.children}),l.return=t,l.sibling=null,e!==null&&(f=t.deletions,f===null?(t.deletions=[e],t.flags|=16):f.push(e)),t.child=l,t.memoizedState=null,l)}function hr(e,t){return t=Pu({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Pu(e,t){return e=ht(22,e,null,t),e.lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function mr(e,t,l){return Da(t,e.child,null,l),e=hr(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function rd(e,t,l){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),Mc(e.return,t,l)}function yr(e,t,l,a,n){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:n}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=a,i.tail=l,i.tailMode=n)}function sd(e,t,l){var a=t.pendingProps,n=a.revealOrder,i=a.tail;if(Ke(e,t,a.children,l),a=Ye.current,(a&2)!==0)a=a&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&rd(e,l,t);else if(e.tag===19)rd(e,l,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=1}switch(Q(Ye,a),n){case"forwards":for(l=t.child,n=null;l!==null;)e=l.alternate,e!==null&&ku(e)===null&&(n=l),l=l.sibling;l=n,l===null?(n=t.child,t.child=null):(n=l.sibling,l.sibling=null),yr(t,!1,n,l,i);break;case"backwards":for(l=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&ku(e)===null){t.child=n;break}e=n.sibling,n.sibling=l,l=n,n=e}yr(t,!0,l,null,i);break;case"together":yr(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function It(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),Tl|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(mn(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(r(153));if(t.child!==null){for(e=t.child,l=Kt(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=Kt(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function gr(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Mu(e)))}function Ry(e,t,l){switch(t.tag){case 3:Oe(t,t.stateNode.containerInfo),dl(t,qe,e.memoizedState.cache),dn();break;case 27:case 5:Zi(t);break;case 4:Oe(t,t.stateNode.containerInfo);break;case 10:dl(t,t.type,t.memoizedProps.value);break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(vl(t),t.flags|=128,null):(l&t.child.childLanes)!==0?cd(e,t,l):(vl(t),e=It(e,t,l),e!==null?e.sibling:null);vl(t);break;case 19:var n=(e.flags&128)!==0;if(a=(l&t.childLanes)!==0,a||(mn(e,t,l,!1),a=(l&t.childLanes)!==0),n){if(a)return sd(e,t,l);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),Q(Ye,Ye.current),a)break;return null;case 22:case 23:return t.lanes=0,ld(e,t,l);case 24:dl(t,qe,e.memoizedState.cache)}return It(e,t,l)}function od(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)Xe=!0;else{if(!gr(e,l)&&(t.flags&128)===0)return Xe=!1,Ry(e,t,l);Xe=(e.flags&131072)!==0}else Xe=!1,me&&(t.flags&1048576)!==0&&qo(t,Cu,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var a=t.elementType,n=a._init;if(a=n(a._payload),t.type=a,typeof a=="function")Ac(a)?(e=$l(a,e),t.tag=1,t=ud(null,t,a,e,l)):(t.tag=0,t=sr(null,t,a,e,l));else{if(a!=null){if(n=a.$$typeof,n===te){t.tag=11,t=If(null,t,a,e,l);break e}else if(n===fe){t.tag=14,t=ed(null,t,a,e,l);break e}}throw t=zl(a)||a,Error(r(306,t,""))}}return t;case 0:return sr(e,t,t.type,t.pendingProps,l);case 1:return a=t.type,n=$l(a,t.pendingProps),ud(e,t,a,n,l);case 3:e:{if(Oe(t,t.stateNode.containerInfo),e===null)throw Error(r(387));a=t.pendingProps;var i=t.memoizedState;n=i.element,qc(e,t),xn(t,a,null,l);var f=t.memoizedState;if(a=f.cache,dl(t,qe,a),a!==i.cache&&jc(t,[qe],l,!0),Sn(),a=f.element,i.isDehydrated)if(i={element:a,isDehydrated:!1,cache:f.cache},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){t=id(e,t,a,l);break e}else if(a!==n){n=Et(Error(r(424)),t),hn(n),t=id(e,t,a,l);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Ce=Ct(e.firstChild),et=t,me=!0,Vl=null,Bt=!0,l=Xf(t,null,a,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(dn(),a===n){t=It(e,t,l);break e}Ke(e,t,a,l)}t=t.child}return t;case 26:return Wu(e,t),e===null?(l=mh(t.type,null,t.pendingProps,null))?t.memoizedState=l:me||(l=t.type,e=t.pendingProps,a=di(le.current).createElement(l),a[Fe]=t,a[tt]=e,ke(a,l,e),Ge(a),t.stateNode=a):t.memoizedState=mh(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Zi(t),e===null&&me&&(a=t.stateNode=fh(t.type,t.pendingProps,le.current),et=t,Bt=!0,n=Ce,Nl(t.type)?(Fr=n,Ce=Ct(a.firstChild)):Ce=n),Ke(e,t,t.pendingProps.children,l),Wu(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&me&&((n=a=Ce)&&(a=Py(a,t.type,t.pendingProps,Bt),a!==null?(t.stateNode=a,et=t,Ce=Ct(a.firstChild),Bt=!1,n=!0):n=!1),n||Ql(t)),Zi(t),n=t.type,i=t.pendingProps,f=e!==null?e.memoizedProps:null,a=i.children,Kr(n,i)?a=null:f!==null&&Kr(n,f)&&(t.flags|=32),t.memoizedState!==null&&(n=Zc(e,t,gy,null,null,l),Vn._currentValue=n),Wu(e,t),Ke(e,t,a,l),t.child;case 6:return e===null&&me&&((e=l=Ce)&&(l=Iy(l,t.pendingProps,Bt),l!==null?(t.stateNode=l,et=t,Ce=null,e=!0):e=!1),e||Ql(t)),null;case 13:return cd(e,t,l);case 4:return Oe(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Da(t,null,a,l):Ke(e,t,a,l),t.child;case 11:return If(e,t,t.type,t.pendingProps,l);case 7:return Ke(e,t,t.pendingProps,l),t.child;case 8:return Ke(e,t,t.pendingProps.children,l),t.child;case 12:return Ke(e,t,t.pendingProps.children,l),t.child;case 10:return a=t.pendingProps,dl(t,t.type,a.value),Ke(e,t,a.children,l),t.child;case 9:return n=t.type._context,a=t.pendingProps.children,Kl(t),n=We(n),a=a(n),t.flags|=1,Ke(e,t,a,l),t.child;case 14:return ed(e,t,t.type,t.pendingProps,l);case 15:return td(e,t,t.type,t.pendingProps,l);case 19:return sd(e,t,l);case 31:return a=t.pendingProps,l=t.mode,a={mode:a.mode,children:a.children},e===null?(l=Pu(a,l),l.ref=t.ref,t.child=l,l.return=t,t=l):(l=Kt(e.child,a),l.ref=t.ref,t.child=l,l.return=t,t=l),t;case 22:return ld(e,t,l);case 24:return Kl(t),a=We(qe),e===null?(n=Bc(),n===null&&(n=Re,i=zc(),n.pooledCache=i,i.refCount++,i!==null&&(n.pooledCacheLanes|=l),n=i),t.memoizedState={parent:a,cache:n},Lc(t),dl(t,qe,n)):((e.lanes&l)!==0&&(qc(e,t),xn(t,null,null,l),Sn()),n=e.memoizedState,i=t.memoizedState,n.parent!==a?(n={parent:a,cache:a},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),dl(t,qe,a)):(a=i.cache,dl(t,qe,a),a!==n.cache&&jc(t,[qe],l,!0))),Ke(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}function el(e){e.flags|=4}function fd(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!bh(t)){if(t=Ot.current,t!==null&&((oe&4194048)===oe?Ht!==null:(oe&62914560)!==oe&&(oe&536870912)===0||t!==Ht))throw pn=Hc,Jo;e.flags|=8192}}function Iu(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Gs():536870912,e.lanes|=t,Ma|=t)}function Dn(e,t){if(!me)switch(e.tailMode){case"hidden":t=e.tail;for(var l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var a=null;l!==null;)l.alternate!==null&&(a=l),l=l.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function we(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,a=0;if(t)for(var n=e.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags&65011712,a|=n.flags&65011712,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=a,e.childLanes=l,t}function Ay(e,t,l){var a=t.pendingProps;switch(wc(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return we(t),null;case 1:return we(t),null;case 3:return l=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Ft(qe),rl(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(fn(t)?el(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Xo())),we(t),null;case 26:return l=t.memoizedState,e===null?(el(t),l!==null?(we(t),fd(t,l)):(we(t),t.flags&=-16777217)):l?l!==e.memoizedState?(el(t),we(t),fd(t,l)):(we(t),t.flags&=-16777217):(e.memoizedProps!==a&&el(t),we(t),t.flags&=-16777217),null;case 27:ou(t),l=le.current;var n=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==a&&el(t);else{if(!a){if(t.stateNode===null)throw Error(r(166));return we(t),null}e=F.current,fn(t)?Yo(t):(e=fh(n,a,l),t.stateNode=e,el(t))}return we(t),null;case 5:if(ou(t),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&el(t);else{if(!a){if(t.stateNode===null)throw Error(r(166));return we(t),null}if(e=F.current,fn(t))Yo(t);else{switch(n=di(le.current),e){case 1:e=n.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:e=n.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":e=n.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":e=n.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":e=n.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof a.is=="string"?n.createElement("select",{is:a.is}):n.createElement("select"),a.multiple?e.multiple=!0:a.size&&(e.size=a.size);break;default:e=typeof a.is=="string"?n.createElement(l,{is:a.is}):n.createElement(l)}}e[Fe]=t,e[tt]=a;e:for(n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.tag!==27&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break e;for(;n.sibling===null;){if(n.return===null||n.return===t)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}t.stateNode=e;e:switch(ke(e,l,a),l){case"button":case"input":case"select":case"textarea":e=!!a.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&el(t)}}return we(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&el(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(r(166));if(e=le.current,fn(t)){if(e=t.stateNode,l=t.memoizedProps,a=null,n=et,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}e[Fe]=t,e=!!(e.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||nh(e.nodeValue,l)),e||Ql(t)}else e=di(e).createTextNode(a),e[Fe]=t,t.stateNode=e}return we(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=fn(t),a!==null&&a.dehydrated!==null){if(e===null){if(!n)throw Error(r(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));n[Fe]=t}else dn(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;we(t),n=!1}else n=Xo(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(Pt(t),t):(Pt(t),null)}if(Pt(t),(t.flags&128)!==0)return t.lanes=l,t;if(l=a!==null,e=e!==null&&e.memoizedState!==null,l){a=t.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool);var i=null;a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),i!==n&&(a.flags|=2048)}return l!==e&&l&&(t.child.flags|=8192),Iu(t,t.updateQueue),we(t),null;case 4:return rl(),e===null&&Gr(t.stateNode.containerInfo),we(t),null;case 10:return Ft(t.type),we(t),null;case 19:if(J(Ye),n=t.memoizedState,n===null)return we(t),null;if(a=(t.flags&128)!==0,i=n.rendering,i===null)if(a)Dn(n,!1);else{if(Me!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(i=ku(e),i!==null){for(t.flags|=128,Dn(n,!1),e=i.updateQueue,t.updateQueue=e,Iu(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)Lo(l,e),l=l.sibling;return Q(Ye,Ye.current&1|2),t.child}e=e.sibling}n.tail!==null&&Ut()>li&&(t.flags|=128,a=!0,Dn(n,!1),t.lanes=4194304)}else{if(!a)if(e=ku(i),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,Iu(t,e),Dn(n,!0),n.tail===null&&n.tailMode==="hidden"&&!i.alternate&&!me)return we(t),null}else 2*Ut()-n.renderingStartTime>li&&l!==536870912&&(t.flags|=128,a=!0,Dn(n,!1),t.lanes=4194304);n.isBackwards?(i.sibling=t.child,t.child=i):(e=n.last,e!==null?e.sibling=i:t.child=i,n.last=i)}return n.tail!==null?(t=n.tail,n.rendering=t,n.tail=t.sibling,n.renderingStartTime=Ut(),t.sibling=null,e=Ye.current,Q(Ye,a?e&1|2:e&1),t):(we(t),null);case 22:case 23:return Pt(t),Vc(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(l&536870912)!==0&&(t.flags&128)===0&&(we(t),t.subtreeFlags&6&&(t.flags|=8192)):we(t),l=t.updateQueue,l!==null&&Iu(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==l&&(t.flags|=2048),e!==null&&J(Jl),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),Ft(qe),we(t),null;case 25:return null;case 30:return null}throw Error(r(156,t.tag))}function Oy(e,t){switch(wc(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ft(qe),rl(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ou(t),null;case 13:if(Pt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(r(340));dn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return J(Ye),null;case 4:return rl(),null;case 10:return Ft(t.type),null;case 22:case 23:return Pt(t),Vc(),e!==null&&J(Jl),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Ft(qe),null;case 25:return null;default:return null}}function dd(e,t){switch(wc(t),t.tag){case 3:Ft(qe),rl();break;case 26:case 27:case 5:ou(t);break;case 4:rl();break;case 13:Pt(t);break;case 19:J(Ye);break;case 10:Ft(t.type);break;case 22:case 23:Pt(t),Vc(),e!==null&&J(Jl);break;case 24:Ft(qe)}}function wn(e,t){try{var l=t.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var n=a.next;l=n;do{if((l.tag&e)===e){a=void 0;var i=l.create,f=l.inst;a=i(),f.destroy=a}l=l.next}while(l!==n)}}catch(h){Ee(t,t.return,h)}}function bl(e,t,l){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var i=n.next;a=i;do{if((a.tag&e)===e){var f=a.inst,h=f.destroy;if(h!==void 0){f.destroy=void 0,n=t;var b=l,O=h;try{O()}catch(U){Ee(n,b,U)}}}a=a.next}while(a!==i)}}catch(U){Ee(t,t.return,U)}}function hd(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{Io(t,l)}catch(a){Ee(e,e.return,a)}}}function md(e,t,l){l.props=$l(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(a){Ee(e,t,a)}}function _n(e,t){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof l=="function"?e.refCleanup=l(a):l.current=a}}catch(n){Ee(e,t,n)}}function Lt(e,t){var l=e.ref,a=e.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(n){Ee(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(n){Ee(e,t,n)}else l.current=null}function yd(e){var t=e.type,l=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break e;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(n){Ee(e,e.return,n)}}function vr(e,t,l){try{var a=e.stateNode;Jy(a,e.type,l,t),a[tt]=t}catch(n){Ee(e,e.return,n)}}function gd(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Nl(e.type)||e.tag===4}function pr(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||gd(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Nl(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function br(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=fi));else if(a!==4&&(a===27&&Nl(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(br(e,t,l),e=e.sibling;e!==null;)br(e,t,l),e=e.sibling}function ei(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(a!==4&&(a===27&&Nl(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(ei(e,t,l),e=e.sibling;e!==null;)ei(e,t,l),e=e.sibling}function vd(e){var t=e.stateNode,l=e.memoizedProps;try{for(var a=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);ke(t,a,l),t[Fe]=e,t[tt]=l}catch(i){Ee(e,e.return,i)}}var tl=!1,Be=!1,Sr=!1,pd=typeof WeakSet=="function"?WeakSet:Set,Ve=null;function Ny(e,t){if(e=e.containerInfo,Qr=pi,e=Do(e),pc(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var n=a.anchorOffset,i=a.focusNode;a=a.focusOffset;try{l.nodeType,i.nodeType}catch(W){l=null;break e}var f=0,h=-1,b=-1,O=0,U=0,L=e,w=null;t:for(;;){for(var _;L!==l||n!==0&&L.nodeType!==3||(h=f+n),L!==i||a!==0&&L.nodeType!==3||(b=f+a),L.nodeType===3&&(f+=L.nodeValue.length),(_=L.firstChild)!==null;)w=L,L=_;for(;;){if(L===e)break t;if(w===l&&++O===n&&(h=f),w===i&&++U===a&&(b=f),(_=L.nextSibling)!==null)break;L=w,w=L.parentNode}L=_}l=h===-1||b===-1?null:{start:h,end:b}}else l=null}l=l||{start:0,end:0}}else l=null;for(Zr={focusedElem:e,selectionRange:l},pi=!1,Ve=t;Ve!==null;)if(t=Ve,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,Ve=e;else for(;Ve!==null;){switch(t=Ve,i=t.alternate,e=t.flags,t.tag){case 0:break;case 11:case 15:break;case 1:if((e&1024)!==0&&i!==null){e=void 0,l=t,n=i.memoizedProps,i=i.memoizedState,a=l.stateNode;try{var ee=$l(l.type,n,l.elementType===l.type);e=a.getSnapshotBeforeUpdate(ee,i),a.__reactInternalSnapshotBeforeUpdate=e}catch(W){Ee(l,l.return,W)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,l=e.nodeType,l===9)kr(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":kr(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(r(163))}if(e=t.sibling,e!==null){e.return=t.return,Ve=e;break}Ve=t.return}}function bd(e,t,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:Sl(e,l),a&4&&wn(5,l);break;case 1:if(Sl(e,l),a&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(f){Ee(l,l.return,f)}else{var n=$l(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(f){Ee(l,l.return,f)}}a&64&&hd(l),a&512&&_n(l,l.return);break;case 3:if(Sl(e,l),a&64&&(e=l.updateQueue,e!==null)){if(t=null,l.child!==null)switch(l.child.tag){case 27:case 5:t=l.child.stateNode;break;case 1:t=l.child.stateNode}try{Io(e,t)}catch(f){Ee(l,l.return,f)}}break;case 27:t===null&&a&4&&vd(l);case 26:case 5:Sl(e,l),t===null&&a&4&&yd(l),a&512&&_n(l,l.return);break;case 12:Sl(e,l);break;case 13:Sl(e,l),a&4&&Ed(e,l),a&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=By.bind(null,l),eg(e,l))));break;case 22:if(a=l.memoizedState!==null||tl,!a){t=t!==null&&t.memoizedState!==null||Be,n=tl;var i=Be;tl=a,(Be=t)&&!i?xl(e,l,(l.subtreeFlags&8772)!==0):Sl(e,l),tl=n,Be=i}break;case 30:break;default:Sl(e,l)}}function Sd(e){var t=e.alternate;t!==null&&(e.alternate=null,Sd(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Ii(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ne=null,nt=!1;function ll(e,t,l){for(l=l.child;l!==null;)xd(e,t,l),l=l.sibling}function xd(e,t,l){if(ot&&typeof ot.onCommitFiberUnmount=="function")try{ot.onCommitFiberUnmount(Fa,l)}catch(i){}switch(l.tag){case 26:Be||Lt(l,t),ll(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Be||Lt(l,t);var a=Ne,n=nt;Nl(l.type)&&(Ne=l.stateNode,nt=!1),ll(e,t,l),qn(l.stateNode),Ne=a,nt=n;break;case 5:Be||Lt(l,t);case 6:if(a=Ne,n=nt,Ne=null,ll(e,t,l),Ne=a,nt=n,Ne!==null)if(nt)try{(Ne.nodeType===9?Ne.body:Ne.nodeName==="HTML"?Ne.ownerDocument.body:Ne).removeChild(l.stateNode)}catch(i){Ee(l,t,i)}else try{Ne.removeChild(l.stateNode)}catch(i){Ee(l,t,i)}break;case 18:Ne!==null&&(nt?(e=Ne,sh(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),Jn(e)):sh(Ne,l.stateNode));break;case 4:a=Ne,n=nt,Ne=l.stateNode.containerInfo,nt=!0,ll(e,t,l),Ne=a,nt=n;break;case 0:case 11:case 14:case 15:Be||bl(2,l,t),Be||bl(4,l,t),ll(e,t,l);break;case 1:Be||(Lt(l,t),a=l.stateNode,typeof a.componentWillUnmount=="function"&&md(l,t,a)),ll(e,t,l);break;case 21:ll(e,t,l);break;case 22:Be=(a=Be)||l.memoizedState!==null,ll(e,t,l),Be=a;break;default:ll(e,t,l)}}function Ed(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Jn(e)}catch(l){Ee(t,t.return,l)}}function Dy(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new pd),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new pd),t;default:throw Error(r(435,e.tag))}}function xr(e,t){var l=Dy(e);t.forEach(function(a){var n=Hy.bind(null,e,a);l.has(a)||(l.add(a),a.then(n,n))})}function mt(e,t){var l=t.deletions;if(l!==null)for(var a=0;a<l.length;a++){var n=l[a],i=e,f=t,h=f;e:for(;h!==null;){switch(h.tag){case 27:if(Nl(h.type)){Ne=h.stateNode,nt=!1;break e}break;case 5:Ne=h.stateNode,nt=!1;break e;case 3:case 4:Ne=h.stateNode.containerInfo,nt=!0;break e}h=h.return}if(Ne===null)throw Error(r(160));xd(i,f,n),Ne=null,nt=!1,i=n.alternate,i!==null&&(i.return=null),n.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)Td(t,e),t=t.sibling}var _t=null;function Td(e,t){var l=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:mt(t,e),yt(e),a&4&&(bl(3,e,e.return),wn(3,e),bl(5,e,e.return));break;case 1:mt(t,e),yt(e),a&512&&(Be||l===null||Lt(l,l.return)),a&64&&tl&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?a:l.concat(a))));break;case 26:var n=_t;if(mt(t,e),yt(e),a&512&&(Be||l===null||Lt(l,l.return)),a&4){var i=l!==null?l.memoizedState:null;if(a=e.memoizedState,l===null)if(a===null)if(e.stateNode===null){e:{a=e.type,l=e.memoizedProps,n=n.ownerDocument||n;t:switch(a){case"title":i=n.getElementsByTagName("title")[0],(!i||i[Ia]||i[Fe]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=n.createElement(a),n.head.insertBefore(i,n.querySelector("head > title"))),ke(i,a,l),i[Fe]=e,Ge(i),a=i;break e;case"link":var f=vh("link","href",n).get(a+(l.href||""));if(f){for(var h=0;h<f.length;h++)if(i=f[h],i.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&i.getAttribute("rel")===(l.rel==null?null:l.rel)&&i.getAttribute("title")===(l.title==null?null:l.title)&&i.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){f.splice(h,1);break t}}i=n.createElement(a),ke(i,a,l),n.head.appendChild(i);break;case"meta":if(f=vh("meta","content",n).get(a+(l.content||""))){for(h=0;h<f.length;h++)if(i=f[h],i.getAttribute("content")===(l.content==null?null:""+l.content)&&i.getAttribute("name")===(l.name==null?null:l.name)&&i.getAttribute("property")===(l.property==null?null:l.property)&&i.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&i.getAttribute("charset")===(l.charSet==null?null:l.charSet)){f.splice(h,1);break t}}i=n.createElement(a),ke(i,a,l),n.head.appendChild(i);break;default:throw Error(r(468,a))}i[Fe]=e,Ge(i),a=i}e.stateNode=a}else ph(n,e.type,e.stateNode);else e.stateNode=gh(n,a,e.memoizedProps);else i!==a?(i===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):i.count--,a===null?ph(n,e.type,e.stateNode):gh(n,a,e.memoizedProps)):a===null&&e.stateNode!==null&&vr(e,e.memoizedProps,l.memoizedProps)}break;case 27:mt(t,e),yt(e),a&512&&(Be||l===null||Lt(l,l.return)),l!==null&&a&4&&vr(e,e.memoizedProps,l.memoizedProps);break;case 5:if(mt(t,e),yt(e),a&512&&(Be||l===null||Lt(l,l.return)),e.flags&32){n=e.stateNode;try{oa(n,"")}catch(_){Ee(e,e.return,_)}}a&4&&e.stateNode!=null&&(n=e.memoizedProps,vr(e,n,l!==null?l.memoizedProps:n)),a&1024&&(Sr=!0);break;case 6:if(mt(t,e),yt(e),a&4){if(e.stateNode===null)throw Error(r(162));a=e.memoizedProps,l=e.stateNode;try{l.nodeValue=a}catch(_){Ee(e,e.return,_)}}break;case 3:if(yi=null,n=_t,_t=hi(t.containerInfo),mt(t,e),_t=n,yt(e),a&4&&l!==null&&l.memoizedState.isDehydrated)try{Jn(t.containerInfo)}catch(_){Ee(e,e.return,_)}Sr&&(Sr=!1,Rd(e));break;case 4:a=_t,_t=hi(e.stateNode.containerInfo),mt(t,e),yt(e),_t=a;break;case 12:mt(t,e),yt(e);break;case 13:mt(t,e),yt(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Nr=Ut()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,xr(e,a)));break;case 22:n=e.memoizedState!==null;var b=l!==null&&l.memoizedState!==null,O=tl,U=Be;if(tl=O||n,Be=U||b,mt(t,e),Be=U,tl=O,yt(e),a&8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(l===null||b||tl||Be||Fl(e)),l=null,t=e;;){if(t.tag===5||t.tag===26){if(l===null){b=l=t;try{if(i=b.stateNode,n)f=i.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none";else{h=b.stateNode;var L=b.memoizedProps.style,w=L!=null&&L.hasOwnProperty("display")?L.display:null;h.style.display=w==null||typeof w=="boolean"?"":(""+w).trim()}}catch(_){Ee(b,b.return,_)}}}else if(t.tag===6){if(l===null){b=t;try{b.stateNode.nodeValue=n?"":b.memoizedProps}catch(_){Ee(b,b.return,_)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;l===t&&(l=null),t=t.return}l===t&&(l=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=e.updateQueue,a!==null&&(l=a.retryQueue,l!==null&&(a.retryQueue=null,xr(e,l))));break;case 19:mt(t,e),yt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,xr(e,a)));break;case 30:break;case 21:break;default:mt(t,e),yt(e)}}function yt(e){var t=e.flags;if(t&2){try{for(var l,a=e.return;a!==null;){if(gd(a)){l=a;break}a=a.return}if(l==null)throw Error(r(160));switch(l.tag){case 27:var n=l.stateNode,i=pr(e);ei(e,i,n);break;case 5:var f=l.stateNode;l.flags&32&&(oa(f,""),l.flags&=-33);var h=pr(e);ei(e,h,f);break;case 3:case 4:var b=l.stateNode.containerInfo,O=pr(e);br(e,O,b);break;default:throw Error(r(161))}}catch(U){Ee(e,e.return,U)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Rd(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Rd(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Sl(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)bd(e,t.alternate,t),t=t.sibling}function Fl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:bl(4,t,t.return),Fl(t);break;case 1:Lt(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&md(t,t.return,l),Fl(t);break;case 27:qn(t.stateNode);case 26:case 5:Lt(t,t.return),Fl(t);break;case 22:t.memoizedState===null&&Fl(t);break;case 30:Fl(t);break;default:Fl(t)}e=e.sibling}}function xl(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,n=e,i=t,f=i.flags;switch(i.tag){case 0:case 11:case 15:xl(n,i,l),wn(4,i);break;case 1:if(xl(n,i,l),a=i,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(O){Ee(a,a.return,O)}if(a=i,n=a.updateQueue,n!==null){var h=a.stateNode;try{var b=n.shared.hiddenCallbacks;if(b!==null)for(n.shared.hiddenCallbacks=null,n=0;n<b.length;n++)Po(b[n],h)}catch(O){Ee(a,a.return,O)}}l&&f&64&&hd(i),_n(i,i.return);break;case 27:vd(i);case 26:case 5:xl(n,i,l),l&&a===null&&f&4&&yd(i),_n(i,i.return);break;case 12:xl(n,i,l);break;case 13:xl(n,i,l),l&&f&4&&Ed(n,i);break;case 22:i.memoizedState===null&&xl(n,i,l),_n(i,i.return);break;case 30:break;default:xl(n,i,l)}t=t.sibling}}function Er(e,t){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==l&&(e!=null&&e.refCount++,l!=null&&yn(l))}function Tr(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&yn(e))}function qt(e,t,l,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Ad(e,t,l,a),t=t.sibling}function Ad(e,t,l,a){var n=t.flags;switch(t.tag){case 0:case 11:case 15:qt(e,t,l,a),n&2048&&wn(9,t);break;case 1:qt(e,t,l,a);break;case 3:qt(e,t,l,a),n&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&yn(e)));break;case 12:if(n&2048){qt(e,t,l,a),e=t.stateNode;try{var i=t.memoizedProps,f=i.id,h=i.onPostCommit;typeof h=="function"&&h(f,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(b){Ee(t,t.return,b)}}else qt(e,t,l,a);break;case 13:qt(e,t,l,a);break;case 23:break;case 22:i=t.stateNode,f=t.alternate,t.memoizedState!==null?i._visibility&2?qt(e,t,l,a):Cn(e,t):i._visibility&2?qt(e,t,l,a):(i._visibility|=2,wa(e,t,l,a,(t.subtreeFlags&10256)!==0)),n&2048&&Er(f,t);break;case 24:qt(e,t,l,a),n&2048&&Tr(t.alternate,t);break;default:qt(e,t,l,a)}}function wa(e,t,l,a,n){for(n=n&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;){var i=e,f=t,h=l,b=a,O=f.flags;switch(f.tag){case 0:case 11:case 15:wa(i,f,h,b,n),wn(8,f);break;case 23:break;case 22:var U=f.stateNode;f.memoizedState!==null?U._visibility&2?wa(i,f,h,b,n):Cn(i,f):(U._visibility|=2,wa(i,f,h,b,n)),n&&O&2048&&Er(f.alternate,f);break;case 24:wa(i,f,h,b,n),n&&O&2048&&Tr(f.alternate,f);break;default:wa(i,f,h,b,n)}t=t.sibling}}function Cn(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var l=e,a=t,n=a.flags;switch(a.tag){case 22:Cn(l,a),n&2048&&Er(a.alternate,a);break;case 24:Cn(l,a),n&2048&&Tr(a.alternate,a);break;default:Cn(l,a)}t=t.sibling}}var Mn=8192;function _a(e){if(e.subtreeFlags&Mn)for(e=e.child;e!==null;)Od(e),e=e.sibling}function Od(e){switch(e.tag){case 26:_a(e),e.flags&Mn&&e.memoizedState!==null&&hg(_t,e.memoizedState,e.memoizedProps);break;case 5:_a(e);break;case 3:case 4:var t=_t;_t=hi(e.stateNode.containerInfo),_a(e),_t=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=Mn,Mn=16777216,_a(e),Mn=t):_a(e));break;default:_a(e)}}function Nd(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function jn(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var a=t[l];Ve=a,wd(a,e)}Nd(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Dd(e),e=e.sibling}function Dd(e){switch(e.tag){case 0:case 11:case 15:jn(e),e.flags&2048&&bl(9,e,e.return);break;case 3:jn(e);break;case 12:jn(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,ti(e)):jn(e);break;default:jn(e)}}function ti(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var a=t[l];Ve=a,wd(a,e)}Nd(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:bl(8,t,t.return),ti(t);break;case 22:l=t.stateNode,l._visibility&2&&(l._visibility&=-3,ti(t));break;default:ti(t)}e=e.sibling}}function wd(e,t){for(;Ve!==null;){var l=Ve;switch(l.tag){case 0:case 11:case 15:bl(8,l,t);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var a=l.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:yn(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,Ve=a;else e:for(l=e;Ve!==null;){a=Ve;var n=a.sibling,i=a.return;if(Sd(a),a===l){Ve=null;break e}if(n!==null){n.return=i,Ve=n;break e}Ve=i}}}var wy={getCacheForType:function(e){var t=We(qe),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l}},_y=typeof WeakMap=="function"?WeakMap:Map,ye=0,Re=null,ce=null,oe=0,ge=0,gt=null,El=!1,Ca=!1,Rr=!1,al=0,Me=0,Tl=0,Wl=0,Ar=0,Nt=0,Ma=0,zn=null,ut=null,Or=!1,Nr=0,li=1/0,ai=null,Rl=null,Je=0,Al=null,ja=null,za=0,Dr=0,wr=null,_d=null,Un=0,_r=null;function vt(){if((ye&2)!==0&&oe!==0)return oe&-oe;if(B.T!==null){var e=xa;return e!==0?e:Hr()}return Qs()}function Cd(){Nt===0&&(Nt=(oe&536870912)===0||me?Ys():536870912);var e=Ot.current;return e!==null&&(e.flags|=32),Nt}function pt(e,t,l){(e===Re&&(ge===2||ge===9)||e.cancelPendingCommit!==null)&&(Ua(e,0),Ol(e,oe,Nt,!1)),Pa(e,l),((ye&2)===0||e!==Re)&&(e===Re&&((ye&2)===0&&(Wl|=l),Me===4&&Ol(e,oe,Nt,!1)),Yt(e))}function Md(e,t,l){if((ye&6)!==0)throw Error(r(327));var a=!l&&(t&124)===0&&(t&e.expiredLanes)===0||Wa(e,t),n=a?jy(e,t):jr(e,t,!0),i=a;do{if(n===0){Ca&&!a&&Ol(e,t,0,!1);break}else{if(l=e.current.alternate,i&&!Cy(l)){n=jr(e,t,!1),i=!1;continue}if(n===2){if(i=t,e.errorRecoveryDisabledLanes&i)var f=0;else f=e.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){t=f;e:{var h=e;n=zn;var b=h.current.memoizedState.isDehydrated;if(b&&(Ua(h,f).flags|=256),f=jr(h,f,!1),f!==2){if(Rr&&!b){h.errorRecoveryDisabledLanes|=i,Wl|=i,n=4;break e}i=ut,ut=n,i!==null&&(ut===null?ut=i:ut.push.apply(ut,i))}n=f}if(i=!1,n!==2)continue}}if(n===1){Ua(e,0),Ol(e,t,0,!0);break}e:{switch(a=e,i=n,i){case 0:case 1:throw Error(r(345));case 4:if((t&4194048)!==t)break;case 6:Ol(a,t,Nt,!El);break e;case 2:ut=null;break;case 3:case 5:break;default:throw Error(r(329))}if((t&62914560)===t&&(n=Nr+300-Ut(),10<n)){if(Ol(a,t,Nt,!El),mu(a,0,!0)!==0)break e;a.timeoutHandle=ch(jd.bind(null,a,l,ut,ai,Or,t,Nt,Wl,Ma,El,i,2,-0,0),n);break e}jd(a,l,ut,ai,Or,t,Nt,Wl,Ma,El,i,0,-0,0)}}break}while(!0);Yt(e)}function jd(e,t,l,a,n,i,f,h,b,O,U,L,w,_){if(e.timeoutHandle=-1,L=t.subtreeFlags,(L&8192||(L&16785408)===16785408)&&(Xn={stylesheets:null,count:0,unsuspend:dg},Od(t),L=mg(),L!==null)){e.cancelPendingCommit=L(Yd.bind(null,e,t,i,l,a,n,f,h,b,U,1,w,_)),Ol(e,i,f,!O);return}Yd(e,t,i,l,a,n,f,h,b)}function Cy(e){for(var t=e;;){var l=t.tag;if((l===0||l===11||l===15)&&t.flags&16384&&(l=t.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var a=0;a<l.length;a++){var n=l[a],i=n.getSnapshot;n=n.value;try{if(!dt(i(),n))return!1}catch(f){return!1}}if(l=t.child,t.subtreeFlags&16384&&l!==null)l.return=t,t=l;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ol(e,t,l,a){t&=~Ar,t&=~Wl,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var n=t;0<n;){var i=31-ft(n),f=1<<i;a[i]=-1,n&=~f}l!==0&&Xs(e,l,t)}function ni(){return(ye&6)===0?(Bn(0),!1):!0}function Cr(){if(ce!==null){if(ge===0)var e=ce.return;else e=ce,$t=Zl=null,kc(e),Na=null,On=0,e=ce;for(;e!==null;)dd(e.alternate,e),e=e.return;ce=null}}function Ua(e,t){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,$y(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),Cr(),Re=e,ce=l=Kt(e.current,null),oe=t,ge=0,gt=null,El=!1,Ca=Wa(e,t),Rr=!1,Ma=Nt=Ar=Wl=Tl=Me=0,ut=zn=null,Or=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var n=31-ft(a),i=1<<n;t|=e[n],a&=~i}return al=t,Ou(),l}function zd(e,t){ue=null,B.H=Zu,t===vn||t===Uu?(t=Fo(),ge=3):t===Jo?(t=Fo(),ge=4):ge=t===Pf?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,gt=t,ce===null&&(Me=1,Fu(e,Et(t,e.current)))}function Ud(){var e=B.H;return B.H=Zu,e===null?Zu:e}function Bd(){var e=B.A;return B.A=wy,e}function Mr(){Me=4,El||(oe&4194048)!==oe&&Ot.current!==null||(Ca=!0),(Tl&134217727)===0&&(Wl&134217727)===0||Re===null||Ol(Re,oe,Nt,!1)}function jr(e,t,l){var a=ye;ye|=2;var n=Ud(),i=Bd();(Re!==e||oe!==t)&&(ai=null,Ua(e,t)),t=!1;var f=Me;e:do try{if(ge!==0&&ce!==null){var h=ce,b=gt;switch(ge){case 8:Cr(),f=6;break e;case 3:case 2:case 9:case 6:Ot.current===null&&(t=!0);var O=ge;if(ge=0,gt=null,Ba(e,h,b,O),l&&Ca){f=0;break e}break;default:O=ge,ge=0,gt=null,Ba(e,h,b,O)}}My(),f=Me;break}catch(U){zd(e,U)}while(!0);return t&&e.shellSuspendCounter++,$t=Zl=null,ye=a,B.H=n,B.A=i,ce===null&&(Re=null,oe=0,Ou()),f}function My(){for(;ce!==null;)Hd(ce)}function jy(e,t){var l=ye;ye|=2;var a=Ud(),n=Bd();Re!==e||oe!==t?(ai=null,li=Ut()+500,Ua(e,t)):Ca=Wa(e,t);e:do try{if(ge!==0&&ce!==null){t=ce;var i=gt;t:switch(ge){case 1:ge=0,gt=null,Ba(e,t,i,1);break;case 2:case 9:if(ko(i)){ge=0,gt=null,Ld(t);break}t=function(){ge!==2&&ge!==9||Re!==e||(ge=7),Yt(e)},i.then(t,t);break e;case 3:ge=7;break e;case 4:ge=5;break e;case 7:ko(i)?(ge=0,gt=null,Ld(t)):(ge=0,gt=null,Ba(e,t,i,7));break;case 5:var f=null;switch(ce.tag){case 26:f=ce.memoizedState;case 5:case 27:var h=ce;if(!f||bh(f)){ge=0,gt=null;var b=h.sibling;if(b!==null)ce=b;else{var O=h.return;O!==null?(ce=O,ui(O)):ce=null}break t}}ge=0,gt=null,Ba(e,t,i,5);break;case 6:ge=0,gt=null,Ba(e,t,i,6);break;case 8:Cr(),Me=6;break e;default:throw Error(r(462))}}zy();break}catch(U){zd(e,U)}while(!0);return $t=Zl=null,B.H=a,B.A=n,ye=l,ce!==null?0:(Re=null,oe=0,Ou(),Me)}function zy(){for(;ce!==null&&!l0();)Hd(ce)}function Hd(e){var t=od(e.alternate,e,al);e.memoizedProps=e.pendingProps,t===null?ui(e):ce=t}function Ld(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=nd(l,t,t.pendingProps,t.type,void 0,oe);break;case 11:t=nd(l,t,t.pendingProps,t.type.render,t.ref,oe);break;case 5:kc(t);default:dd(l,t),t=ce=Lo(t,al),t=od(l,t,al)}e.memoizedProps=e.pendingProps,t===null?ui(e):ce=t}function Ba(e,t,l,a){$t=Zl=null,kc(t),Na=null,On=0;var n=t.return;try{if(Ty(e,n,t,l,oe)){Me=1,Fu(e,Et(l,e.current)),ce=null;return}}catch(i){if(n!==null)throw ce=n,i;Me=1,Fu(e,Et(l,e.current)),ce=null;return}t.flags&32768?(me||a===1?e=!0:Ca||(oe&536870912)!==0?e=!1:(El=e=!0,(a===2||a===9||a===3||a===6)&&(a=Ot.current,a!==null&&a.tag===13&&(a.flags|=16384))),qd(t,e)):ui(t)}function ui(e){var t=e;do{if((t.flags&32768)!==0){qd(t,El);return}e=t.return;var l=Ay(t.alternate,t,al);if(l!==null){ce=l;return}if(t=t.sibling,t!==null){ce=t;return}ce=t=e}while(t!==null);Me===0&&(Me=5)}function qd(e,t){do{var l=Oy(e.alternate,e);if(l!==null){l.flags&=32767,ce=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){ce=e;return}ce=e=l}while(e!==null);Me=6,ce=null}function Yd(e,t,l,a,n,i,f,h,b){e.cancelPendingCommit=null;do ii();while(Je!==0);if((ye&6)!==0)throw Error(r(327));if(t!==null){if(t===e.current)throw Error(r(177));if(i=t.lanes|t.childLanes,i|=Tc,d0(e,l,i,f,h,b),e===Re&&(ce=Re=null,oe=0),ja=t,Al=e,za=l,Dr=i,wr=n,_d=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Ly(fu,function(){return Zd(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=B.T,B.T=null,n=Z.p,Z.p=2,f=ye,ye|=4;try{Ny(e,t,l)}finally{ye=f,Z.p=n,B.T=a}}Je=1,Gd(),Xd(),Vd()}}function Gd(){if(Je===1){Je=0;var e=Al,t=ja,l=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||l){l=B.T,B.T=null;var a=Z.p;Z.p=2;var n=ye;ye|=4;try{Td(t,e);var i=Zr,f=Do(e.containerInfo),h=i.focusedElem,b=i.selectionRange;if(f!==h&&h&&h.ownerDocument&&No(h.ownerDocument.documentElement,h)){if(b!==null&&pc(h)){var O=b.start,U=b.end;if(U===void 0&&(U=O),"selectionStart"in h)h.selectionStart=O,h.selectionEnd=Math.min(U,h.value.length);else{var L=h.ownerDocument||document,w=L&&L.defaultView||window;if(w.getSelection){var _=w.getSelection(),ee=h.textContent.length,W=Math.min(b.start,ee),be=b.end===void 0?W:Math.min(b.end,ee);!_.extend&&W>be&&(f=be,be=W,W=f);var T=Oo(h,W),E=Oo(h,be);if(T&&E&&(_.rangeCount!==1||_.anchorNode!==T.node||_.anchorOffset!==T.offset||_.focusNode!==E.node||_.focusOffset!==E.offset)){var A=L.createRange();A.setStart(T.node,T.offset),_.removeAllRanges(),W>be?(_.addRange(A),_.extend(E.node,E.offset)):(A.setEnd(E.node,E.offset),_.addRange(A))}}}}for(L=[],_=h;_=_.parentNode;)_.nodeType===1&&L.push({element:_,left:_.scrollLeft,top:_.scrollTop});for(typeof h.focus=="function"&&h.focus(),h=0;h<L.length;h++){var H=L[h];H.element.scrollLeft=H.left,H.element.scrollTop=H.top}}pi=!!Qr,Zr=Qr=null}finally{ye=n,Z.p=a,B.T=l}}e.current=t,Je=2}}function Xd(){if(Je===2){Je=0;var e=Al,t=ja,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=B.T,B.T=null;var a=Z.p;Z.p=2;var n=ye;ye|=4;try{bd(e,t.alternate,t)}finally{ye=n,Z.p=a,B.T=l}}Je=3}}function Vd(){if(Je===4||Je===3){Je=0,a0();var e=Al,t=ja,l=za,a=_d;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Je=5:(Je=0,ja=Al=null,Qd(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(Rl=null),Wi(l),t=t.stateNode,ot&&typeof ot.onCommitFiberRoot=="function")try{ot.onCommitFiberRoot(Fa,t,void 0,(t.current.flags&128)===128)}catch(b){}if(a!==null){t=B.T,n=Z.p,Z.p=2,B.T=null;try{for(var i=e.onRecoverableError,f=0;f<a.length;f++){var h=a[f];i(h.value,{componentStack:h.stack})}}finally{B.T=t,Z.p=n}}(za&3)!==0&&ii(),Yt(e),n=e.pendingLanes,(l&4194090)!==0&&(n&42)!==0?e===_r?Un++:(Un=0,_r=e):Un=0,Bn(0)}}function Qd(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,yn(t)))}function ii(e){return Gd(),Xd(),Vd(),Zd()}function Zd(){if(Je!==5)return!1;var e=Al,t=Dr;Dr=0;var l=Wi(za),a=B.T,n=Z.p;try{Z.p=32>l?32:l,B.T=null,l=wr,wr=null;var i=Al,f=za;if(Je=0,ja=Al=null,za=0,(ye&6)!==0)throw Error(r(331));var h=ye;if(ye|=4,Dd(i.current),Ad(i,i.current,f,l),ye=h,Bn(0,!1),ot&&typeof ot.onPostCommitFiberRoot=="function")try{ot.onPostCommitFiberRoot(Fa,i)}catch(b){}return!0}finally{Z.p=n,B.T=a,Qd(e,t)}}function Kd(e,t,l){t=Et(l,t),t=rr(e.stateNode,t,2),e=yl(e,t,2),e!==null&&(Pa(e,2),Yt(e))}function Ee(e,t,l){if(e.tag===3)Kd(e,e,l);else for(;t!==null;){if(t.tag===3){Kd(t,e,l);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Rl===null||!Rl.has(a))){e=Et(l,e),l=Ff(2),a=yl(t,l,2),a!==null&&(Wf(l,a,t,e),Pa(a,2),Yt(a));break}}t=t.return}}function zr(e,t,l){var a=e.pingCache;if(a===null){a=e.pingCache=new _y;var n=new Set;a.set(t,n)}else n=a.get(t),n===void 0&&(n=new Set,a.set(t,n));n.has(l)||(Rr=!0,n.add(l),e=Uy.bind(null,e,t,l),t.then(e,e))}function Uy(e,t,l){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Re===e&&(oe&l)===l&&(Me===4||Me===3&&(oe&62914560)===oe&&300>Ut()-Nr?(ye&2)===0&&Ua(e,0):Ar|=l,Ma===oe&&(Ma=0)),Yt(e)}function Jd(e,t){t===0&&(t=Gs()),e=va(e,t),e!==null&&(Pa(e,t),Yt(e))}function By(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),Jd(e,l)}function Hy(e,t){var l=0;switch(e.tag){case 13:var a=e.stateNode,n=e.memoizedState;n!==null&&(l=n.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(r(314))}a!==null&&a.delete(t),Jd(e,l)}function Ly(e,t){return Ji(e,t)}var ci=null,Ha=null,Ur=!1,ri=!1,Br=!1,Pl=0;function Yt(e){e!==Ha&&e.next===null&&(Ha===null?ci=Ha=e:Ha=Ha.next=e),ri=!0,Ur||(Ur=!0,Yy())}function Bn(e,t){if(!Br&&ri){Br=!0;do for(var l=!1,a=ci;a!==null;){if(e!==0){var n=a.pendingLanes;if(n===0)var i=0;else{var f=a.suspendedLanes,h=a.pingedLanes;i=(1<<31-ft(42|e)+1)-1,i&=n&~(f&~h),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(l=!0,Wd(a,i))}else i=oe,i=mu(a,a===Re?i:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(i&3)===0||Wa(a,i)||(l=!0,Wd(a,i));a=a.next}while(l);Br=!1}}function qy(){kd()}function kd(){ri=Ur=!1;var e=0;Pl!==0&&(ky()&&(e=Pl),Pl=0);for(var t=Ut(),l=null,a=ci;a!==null;){var n=a.next,i=$d(a,t);i===0?(a.next=null,l===null?ci=n:l.next=n,n===null&&(Ha=l)):(l=a,(e!==0||(i&3)!==0)&&(ri=!0)),a=n}Bn(e)}function $d(e,t){for(var l=e.suspendedLanes,a=e.pingedLanes,n=e.expirationTimes,i=e.pendingLanes&-62914561;0<i;){var f=31-ft(i),h=1<<f,b=n[f];b===-1?((h&l)===0||(h&a)!==0)&&(n[f]=f0(h,t)):b<=t&&(e.expiredLanes|=h),i&=~h}if(t=Re,l=oe,l=mu(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,l===0||e===t&&(ge===2||ge===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&ki(a),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||Wa(e,l)){if(t=l&-l,t===e.callbackPriority)return t;switch(a!==null&&ki(a),Wi(l)){case 2:case 8:l=Ls;break;case 32:l=fu;break;case 268435456:l=qs;break;default:l=fu}return a=Fd.bind(null,e),l=Ji(l,a),e.callbackPriority=t,e.callbackNode=l,t}return a!==null&&a!==null&&ki(a),e.callbackPriority=2,e.callbackNode=null,2}function Fd(e,t){if(Je!==0&&Je!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(ii()&&e.callbackNode!==l)return null;var a=oe;return a=mu(e,e===Re?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(Md(e,a,t),$d(e,Ut()),e.callbackNode!=null&&e.callbackNode===l?Fd.bind(null,e):null)}function Wd(e,t){if(ii())return null;Md(e,t,!0)}function Yy(){Fy(function(){(ye&6)!==0?Ji(Hs,qy):kd()})}function Hr(){return Pl===0&&(Pl=Ys()),Pl}function Pd(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:bu(""+e)}function Id(e,t){var l=t.ownerDocument.createElement("input");return l.name=t.name,l.value=t.value,e.id&&l.setAttribute("form",e.id),t.parentNode.insertBefore(l,t),e=new FormData(e),l.parentNode.removeChild(l),e}function Gy(e,t,l,a,n){if(t==="submit"&&l&&l.stateNode===n){var i=Pd((n[tt]||null).action),f=a.submitter;f&&(t=(t=f[tt]||null)?Pd(t.formAction):f.getAttribute("formAction"),t!==null&&(i=t,f=null));var h=new Tu("action","action",null,a,n);e.push({event:h,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Pl!==0){var b=f?Id(n,f):new FormData(n);ar(l,{pending:!0,data:b,method:n.method,action:i},null,b)}}else typeof i=="function"&&(h.preventDefault(),b=f?Id(n,f):new FormData(n),ar(l,{pending:!0,data:b,method:n.method,action:i},i,b))},currentTarget:n}]})}}for(var Lr=0;Lr<Ec.length;Lr++){var qr=Ec[Lr],Xy=qr.toLowerCase(),Vy=qr[0].toUpperCase()+qr.slice(1);wt(Xy,"on"+Vy)}wt(Co,"onAnimationEnd"),wt(Mo,"onAnimationIteration"),wt(jo,"onAnimationStart"),wt("dblclick","onDoubleClick"),wt("focusin","onFocus"),wt("focusout","onBlur"),wt(iy,"onTransitionRun"),wt(cy,"onTransitionStart"),wt(ry,"onTransitionCancel"),wt(zo,"onTransitionEnd"),ca("onMouseEnter",["mouseout","mouseover"]),ca("onMouseLeave",["mouseout","mouseover"]),ca("onPointerEnter",["pointerout","pointerover"]),ca("onPointerLeave",["pointerout","pointerover"]),Bl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Bl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Bl("onBeforeInput",["compositionend","keypress","textInput","paste"]),Bl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Bl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Bl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Hn="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(" "),Qy=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Hn));function eh(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var a=e[l],n=a.event;a=a.listeners;e:{var i=void 0;if(t)for(var f=a.length-1;0<=f;f--){var h=a[f],b=h.instance,O=h.currentTarget;if(h=h.listener,b!==i&&n.isPropagationStopped())break e;i=h,n.currentTarget=O;try{i(n)}catch(U){$u(U)}n.currentTarget=null,i=b}else for(f=0;f<a.length;f++){if(h=a[f],b=h.instance,O=h.currentTarget,h=h.listener,b!==i&&n.isPropagationStopped())break e;i=h,n.currentTarget=O;try{i(n)}catch(U){$u(U)}n.currentTarget=null,i=b}}}}function re(e,t){var l=t[Pi];l===void 0&&(l=t[Pi]=new Set);var a=e+"__bubble";l.has(a)||(th(t,e,2,!1),l.add(a))}function Yr(e,t,l){var a=0;t&&(a|=4),th(l,e,a,t)}var si="_reactListening"+Math.random().toString(36).slice(2);function Gr(e){if(!e[si]){e[si]=!0,Ks.forEach(function(l){l!=="selectionchange"&&(Qy.has(l)||Yr(l,!1,e),Yr(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[si]||(t[si]=!0,Yr("selectionchange",!1,t))}}function th(e,t,l,a){switch(Ah(t)){case 2:var n=vg;break;case 8:n=pg;break;default:n=ts}l=n.bind(null,t,l,e),n=void 0,!sc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),a?n!==void 0?e.addEventListener(t,l,{capture:!0,passive:n}):e.addEventListener(t,l,!0):n!==void 0?e.addEventListener(t,l,{passive:n}):e.addEventListener(t,l,!1)}function Xr(e,t,l,a,n){var i=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var f=a.tag;if(f===3||f===4){var h=a.stateNode.containerInfo;if(h===n)break;if(f===4)for(f=a.return;f!==null;){var b=f.tag;if((b===3||b===4)&&f.stateNode.containerInfo===n)return;f=f.return}for(;h!==null;){if(f=na(h),f===null)return;if(b=f.tag,b===5||b===6||b===26||b===27){a=i=f;continue e}h=h.parentNode}}a=a.return}io(function(){var O=i,U=cc(l),L=[];e:{var w=Uo.get(e);if(w!==void 0){var _=Tu,ee=e;switch(e){case"keypress":if(xu(l)===0)break e;case"keydown":case"keyup":_=L0;break;case"focusin":ee="focus",_=hc;break;case"focusout":ee="blur",_=hc;break;case"beforeblur":case"afterblur":_=hc;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":_=so;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":_=O0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":_=G0;break;case Co:case Mo:case jo:_=w0;break;case zo:_=V0;break;case"scroll":case"scrollend":_=R0;break;case"wheel":_=Z0;break;case"copy":case"cut":case"paste":_=C0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":_=fo;break;case"toggle":case"beforetoggle":_=J0}var W=(t&4)!==0,be=!W&&(e==="scroll"||e==="scrollend"),T=W?w!==null?w+"Capture":null:w;W=[];for(var E=O,A;E!==null;){var H=E;if(A=H.stateNode,H=H.tag,H!==5&&H!==26&&H!==27||A===null||T===null||(H=tn(E,T),H!=null&&W.push(Ln(E,H,A))),be)break;E=E.return}0<W.length&&(w=new _(w,ee,null,l,U),L.push({event:w,listeners:W}))}}if((t&7)===0){e:{if(w=e==="mouseover"||e==="pointerover",_=e==="mouseout"||e==="pointerout",w&&l!==ic&&(ee=l.relatedTarget||l.fromElement)&&(na(ee)||ee[aa]))break e;if((_||w)&&(w=U.window===U?U:(w=U.ownerDocument)?w.defaultView||w.parentWindow:window,_?(ee=l.relatedTarget||l.toElement,_=O,ee=ee?na(ee):null,ee!==null&&(be=d(ee),W=ee.tag,ee!==be||W!==5&&W!==27&&W!==6)&&(ee=null)):(_=null,ee=O),_!==ee)){if(W=so,H="onMouseLeave",T="onMouseEnter",E="mouse",(e==="pointerout"||e==="pointerover")&&(W=fo,H="onPointerLeave",T="onPointerEnter",E="pointer"),be=_==null?w:en(_),A=ee==null?w:en(ee),w=new W(H,E+"leave",_,l,U),w.target=be,w.relatedTarget=A,H=null,na(U)===O&&(W=new W(T,E+"enter",ee,l,U),W.target=A,W.relatedTarget=be,H=W),be=H,_&&ee)t:{for(W=_,T=ee,E=0,A=W;A;A=La(A))E++;for(A=0,H=T;H;H=La(H))A++;for(;0<E-A;)W=La(W),E--;for(;0<A-E;)T=La(T),A--;for(;E--;){if(W===T||T!==null&&W===T.alternate)break t;W=La(W),T=La(T)}W=null}else W=null;_!==null&&lh(L,w,_,W,!1),ee!==null&&be!==null&&lh(L,be,ee,W,!0)}}e:{if(w=O?en(O):window,_=w.nodeName&&w.nodeName.toLowerCase(),_==="select"||_==="input"&&w.type==="file")var k=So;else if(po(w))if(xo)k=ay;else{k=ty;var ie=ey}else _=w.nodeName,!_||_.toLowerCase()!=="input"||w.type!=="checkbox"&&w.type!=="radio"?O&&uc(O.elementType)&&(k=So):k=ly;if(k&&(k=k(e,O))){bo(L,k,l,U);break e}ie&&ie(e,w,O),e==="focusout"&&O&&w.type==="number"&&O.memoizedProps.value!=null&&nc(w,"number",w.value)}switch(ie=O?en(O):window,e){case"focusin":(po(ie)||ie.contentEditable==="true")&&(ma=ie,bc=O,on=null);break;case"focusout":on=bc=ma=null;break;case"mousedown":Sc=!0;break;case"contextmenu":case"mouseup":case"dragend":Sc=!1,wo(L,l,U);break;case"selectionchange":if(uy)break;case"keydown":case"keyup":wo(L,l,U)}var $;if(yc)e:{switch(e){case"compositionstart":var P="onCompositionStart";break e;case"compositionend":P="onCompositionEnd";break e;case"compositionupdate":P="onCompositionUpdate";break e}P=void 0}else ha?go(e,l)&&(P="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(P="onCompositionStart");P&&(ho&&l.locale!=="ko"&&(ha||P!=="onCompositionStart"?P==="onCompositionEnd"&&ha&&($=co()):(fl=U,oc="value"in fl?fl.value:fl.textContent,ha=!0)),ie=oi(O,P),0<ie.length&&(P=new oo(P,e,null,l,U),L.push({event:P,listeners:ie}),$?P.data=$:($=vo(l),$!==null&&(P.data=$)))),($=$0?F0(e,l):W0(e,l))&&(P=oi(O,"onBeforeInput"),0<P.length&&(ie=new oo("onBeforeInput","beforeinput",null,l,U),L.push({event:ie,listeners:P}),ie.data=$)),Gy(L,e,O,l,U)}eh(L,t)})}function Ln(e,t,l){return{instance:e,listener:t,currentTarget:l}}function oi(e,t){for(var l=t+"Capture",a=[];e!==null;){var n=e,i=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||i===null||(n=tn(e,l),n!=null&&a.unshift(Ln(e,n,i)),n=tn(e,t),n!=null&&a.push(Ln(e,n,i))),e.tag===3)return a;e=e.return}return[]}function La(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function lh(e,t,l,a,n){for(var i=t._reactName,f=[];l!==null&&l!==a;){var h=l,b=h.alternate,O=h.stateNode;if(h=h.tag,b!==null&&b===a)break;h!==5&&h!==26&&h!==27||O===null||(b=O,n?(O=tn(l,i),O!=null&&f.unshift(Ln(l,O,b))):n||(O=tn(l,i),O!=null&&f.push(Ln(l,O,b)))),l=l.return}f.length!==0&&e.push({event:t,listeners:f})}var Zy=/\r\n?/g,Ky=/\u0000|\uFFFD/g;function ah(e){return(typeof e=="string"?e:""+e).replace(Zy,`
|
|
49
|
-
`).replace(Ky,"")}function nh(e,t){return t=ah(t),ah(e)===t}function fi(){}function pe(e,t,l,a,n,i){switch(l){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||oa(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&oa(e,""+a);break;case"className":gu(e,"class",a);break;case"tabIndex":gu(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":gu(e,l,a);break;case"style":no(e,a,i);break;case"data":if(t!=="object"){gu(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||l!=="href")){e.removeAttribute(l);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=bu(""+a),e.setAttribute(l,a);break;case"action":case"formAction":if(typeof a=="function"){e.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 i=="function"&&(l==="formAction"?(t!=="input"&&pe(e,t,"name",n.name,n,null),pe(e,t,"formEncType",n.formEncType,n,null),pe(e,t,"formMethod",n.formMethod,n,null),pe(e,t,"formTarget",n.formTarget,n,null)):(pe(e,t,"encType",n.encType,n,null),pe(e,t,"method",n.method,n,null),pe(e,t,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=bu(""+a),e.setAttribute(l,a);break;case"onClick":a!=null&&(e.onclick=fi);break;case"onScroll":a!=null&&re("scroll",e);break;case"onScrollEnd":a!=null&&re("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(r(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(r(60));e.innerHTML=l}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}l=bu(""+a),e.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":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,""+a):e.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":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":a===!0?e.setAttribute(l,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,a):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(l,a):e.removeAttribute(l);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(l):e.setAttribute(l,a);break;case"popover":re("beforetoggle",e),re("toggle",e),yu(e,"popover",a);break;case"xlinkActuate":Qt(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Qt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Qt(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Qt(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Qt(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Qt(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Qt(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Qt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Qt(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":yu(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=E0.get(l)||l,yu(e,l,a))}}function Vr(e,t,l,a,n,i){switch(l){case"style":no(e,a,i);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(r(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(r(60));e.innerHTML=l}}break;case"children":typeof a=="string"?oa(e,a):(typeof a=="number"||typeof a=="bigint")&&oa(e,""+a);break;case"onScroll":a!=null&&re("scroll",e);break;case"onScrollEnd":a!=null&&re("scrollend",e);break;case"onClick":a!=null&&(e.onclick=fi);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Js.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(n=l.endsWith("Capture"),t=l.slice(2,n?l.length-7:void 0),i=e[tt]||null,i=i!=null?i[l]:null,typeof i=="function"&&e.removeEventListener(t,i,n),typeof a=="function")){typeof i!="function"&&i!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,a,n);break e}l in e?e[l]=a:a===!0?e.setAttribute(l,""):yu(e,l,a)}}}function ke(e,t,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":re("error",e),re("load",e);var a=!1,n=!1,i;for(i in l)if(l.hasOwnProperty(i)){var f=l[i];if(f!=null)switch(i){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:pe(e,t,i,f,l,null)}}n&&pe(e,t,"srcSet",l.srcSet,l,null),a&&pe(e,t,"src",l.src,l,null);return;case"input":re("invalid",e);var h=i=f=n=null,b=null,O=null;for(a in l)if(l.hasOwnProperty(a)){var U=l[a];if(U!=null)switch(a){case"name":n=U;break;case"type":f=U;break;case"checked":b=U;break;case"defaultChecked":O=U;break;case"value":i=U;break;case"defaultValue":h=U;break;case"children":case"dangerouslySetInnerHTML":if(U!=null)throw Error(r(137,t));break;default:pe(e,t,a,U,l,null)}}eo(e,i,h,b,O,f,n,!1),vu(e);return;case"select":re("invalid",e),a=f=i=null;for(n in l)if(l.hasOwnProperty(n)&&(h=l[n],h!=null))switch(n){case"value":i=h;break;case"defaultValue":f=h;break;case"multiple":a=h;default:pe(e,t,n,h,l,null)}t=i,l=f,e.multiple=!!a,t!=null?sa(e,!!a,t,!1):l!=null&&sa(e,!!a,l,!0);return;case"textarea":re("invalid",e),i=n=a=null;for(f in l)if(l.hasOwnProperty(f)&&(h=l[f],h!=null))switch(f){case"value":a=h;break;case"defaultValue":n=h;break;case"children":i=h;break;case"dangerouslySetInnerHTML":if(h!=null)throw Error(r(91));break;default:pe(e,t,f,h,l,null)}lo(e,a,n,i),vu(e);return;case"option":for(b in l)if(l.hasOwnProperty(b)&&(a=l[b],a!=null))switch(b){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:pe(e,t,b,a,l,null)}return;case"dialog":re("beforetoggle",e),re("toggle",e),re("cancel",e),re("close",e);break;case"iframe":case"object":re("load",e);break;case"video":case"audio":for(a=0;a<Hn.length;a++)re(Hn[a],e);break;case"image":re("error",e),re("load",e);break;case"details":re("toggle",e);break;case"embed":case"source":case"link":re("error",e),re("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(O in l)if(l.hasOwnProperty(O)&&(a=l[O],a!=null))switch(O){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:pe(e,t,O,a,l,null)}return;default:if(uc(t)){for(U in l)l.hasOwnProperty(U)&&(a=l[U],a!==void 0&&Vr(e,t,U,a,l,void 0));return}}for(h in l)l.hasOwnProperty(h)&&(a=l[h],a!=null&&pe(e,t,h,a,l,null))}function Jy(e,t,l,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,i=null,f=null,h=null,b=null,O=null,U=null;for(_ in l){var L=l[_];if(l.hasOwnProperty(_)&&L!=null)switch(_){case"checked":break;case"value":break;case"defaultValue":b=L;default:a.hasOwnProperty(_)||pe(e,t,_,null,a,L)}}for(var w in a){var _=a[w];if(L=l[w],a.hasOwnProperty(w)&&(_!=null||L!=null))switch(w){case"type":i=_;break;case"name":n=_;break;case"checked":O=_;break;case"defaultChecked":U=_;break;case"value":f=_;break;case"defaultValue":h=_;break;case"children":case"dangerouslySetInnerHTML":if(_!=null)throw Error(r(137,t));break;default:_!==L&&pe(e,t,w,_,a,L)}}ac(e,f,h,b,O,U,i,n);return;case"select":_=f=h=w=null;for(i in l)if(b=l[i],l.hasOwnProperty(i)&&b!=null)switch(i){case"value":break;case"multiple":_=b;default:a.hasOwnProperty(i)||pe(e,t,i,null,a,b)}for(n in a)if(i=a[n],b=l[n],a.hasOwnProperty(n)&&(i!=null||b!=null))switch(n){case"value":w=i;break;case"defaultValue":h=i;break;case"multiple":f=i;default:i!==b&&pe(e,t,n,i,a,b)}t=h,l=f,a=_,w!=null?sa(e,!!l,w,!1):!!a!=!!l&&(t!=null?sa(e,!!l,t,!0):sa(e,!!l,l?[]:"",!1));return;case"textarea":_=w=null;for(h in l)if(n=l[h],l.hasOwnProperty(h)&&n!=null&&!a.hasOwnProperty(h))switch(h){case"value":break;case"children":break;default:pe(e,t,h,null,a,n)}for(f in a)if(n=a[f],i=l[f],a.hasOwnProperty(f)&&(n!=null||i!=null))switch(f){case"value":w=n;break;case"defaultValue":_=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(r(91));break;default:n!==i&&pe(e,t,f,n,a,i)}to(e,w,_);return;case"option":for(var ee in l)if(w=l[ee],l.hasOwnProperty(ee)&&w!=null&&!a.hasOwnProperty(ee))switch(ee){case"selected":e.selected=!1;break;default:pe(e,t,ee,null,a,w)}for(b in a)if(w=a[b],_=l[b],a.hasOwnProperty(b)&&w!==_&&(w!=null||_!=null))switch(b){case"selected":e.selected=w&&typeof w!="function"&&typeof w!="symbol";break;default:pe(e,t,b,w,a,_)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var W in l)w=l[W],l.hasOwnProperty(W)&&w!=null&&!a.hasOwnProperty(W)&&pe(e,t,W,null,a,w);for(O in a)if(w=a[O],_=l[O],a.hasOwnProperty(O)&&w!==_&&(w!=null||_!=null))switch(O){case"children":case"dangerouslySetInnerHTML":if(w!=null)throw Error(r(137,t));break;default:pe(e,t,O,w,a,_)}return;default:if(uc(t)){for(var be in l)w=l[be],l.hasOwnProperty(be)&&w!==void 0&&!a.hasOwnProperty(be)&&Vr(e,t,be,void 0,a,w);for(U in a)w=a[U],_=l[U],!a.hasOwnProperty(U)||w===_||w===void 0&&_===void 0||Vr(e,t,U,w,a,_);return}}for(var T in l)w=l[T],l.hasOwnProperty(T)&&w!=null&&!a.hasOwnProperty(T)&&pe(e,t,T,null,a,w);for(L in a)w=a[L],_=l[L],!a.hasOwnProperty(L)||w===_||w==null&&_==null||pe(e,t,L,w,a,_)}var Qr=null,Zr=null;function di(e){return e.nodeType===9?e:e.ownerDocument}function uh(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function ih(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Kr(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Jr=null;function ky(){var e=window.event;return e&&e.type==="popstate"?e===Jr?!1:(Jr=e,!0):(Jr=null,!1)}var ch=typeof setTimeout=="function"?setTimeout:void 0,$y=typeof clearTimeout=="function"?clearTimeout:void 0,rh=typeof Promise=="function"?Promise:void 0,Fy=typeof queueMicrotask=="function"?queueMicrotask:typeof rh!="undefined"?function(e){return rh.resolve(null).then(e).catch(Wy)}:ch;function Wy(e){setTimeout(function(){throw e})}function Nl(e){return e==="head"}function sh(e,t){var l=t,a=0,n=0;do{var i=l.nextSibling;if(e.removeChild(l),i&&i.nodeType===8)if(l=i.data,l==="/$"){if(0<a&&8>a){l=a;var f=e.ownerDocument;if(l&1&&qn(f.documentElement),l&2&&qn(f.body),l&4)for(l=f.head,qn(l),f=l.firstChild;f;){var h=f.nextSibling,b=f.nodeName;f[Ia]||b==="SCRIPT"||b==="STYLE"||b==="LINK"&&f.rel.toLowerCase()==="stylesheet"||l.removeChild(f),f=h}}if(n===0){e.removeChild(i),Jn(t);return}n--}else l==="$"||l==="$?"||l==="$!"?n++:a=l.charCodeAt(0)-48;else a=0;l=i}while(l);Jn(t)}function kr(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var l=t;switch(t=t.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":kr(l),Ii(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function Py(e,t,l,a){for(;e.nodeType===1;){var n=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[Ia])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(i=e.getAttribute("rel"),i==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(i!==n.rel||e.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||e.getAttribute("title")!==(n.title==null?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(i=e.getAttribute("src"),(i!==(n.src==null?null:n.src)||e.getAttribute("type")!==(n.type==null?null:n.type)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var i=n.name==null?null:""+n.name;if(n.type==="hidden"&&e.getAttribute("name")===i)return e}else return e;if(e=Ct(e.nextSibling),e===null)break}return null}function Iy(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=Ct(e.nextSibling),e===null))return null;return e}function $r(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState==="complete"}function eg(e,t){var l=e.ownerDocument;if(e.data!=="$?"||l.readyState==="complete")t();else{var a=function(){t(),l.removeEventListener("DOMContentLoaded",a)};l.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function Ct(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="F!"||t==="F")break;if(t==="/$")return null}}return e}var Fr=null;function oh(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="$"||l==="$!"||l==="$?"){if(t===0)return e;t--}else l==="/$"&&t++}e=e.previousSibling}return null}function fh(e,t,l){switch(t=di(l),e){case"html":if(e=t.documentElement,!e)throw Error(r(452));return e;case"head":if(e=t.head,!e)throw Error(r(453));return e;case"body":if(e=t.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function qn(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ii(e)}var Dt=new Map,dh=new Set;function hi(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var nl=Z.d;Z.d={f:tg,r:lg,D:ag,C:ng,L:ug,m:ig,X:rg,S:cg,M:sg};function tg(){var e=nl.f(),t=ni();return e||t}function lg(e){var t=ua(e);t!==null&&t.tag===5&&t.type==="form"?Mf(t):nl.r(e)}var qa=typeof document=="undefined"?null:document;function hh(e,t,l){var a=qa;if(a&&typeof t=="string"&&t){var n=xt(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),dh.has(n)||(dh.add(n),e={rel:e,crossOrigin:l,href:t},a.querySelector(n)===null&&(t=a.createElement("link"),ke(t,"link",e),Ge(t),a.head.appendChild(t)))}}function ag(e){nl.D(e),hh("dns-prefetch",e,null)}function ng(e,t){nl.C(e,t),hh("preconnect",e,t)}function ug(e,t,l){nl.L(e,t,l);var a=qa;if(a&&e&&t){var n='link[rel="preload"][as="'+xt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+xt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+xt(l.imageSizes)+'"]')):n+='[href="'+xt(e)+'"]';var i=n;switch(t){case"style":i=Ya(e);break;case"script":i=Ga(e)}Dt.has(i)||(e=p({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),Dt.set(i,e),a.querySelector(n)!==null||t==="style"&&a.querySelector(Yn(i))||t==="script"&&a.querySelector(Gn(i))||(t=a.createElement("link"),ke(t,"link",e),Ge(t),a.head.appendChild(t)))}}function ig(e,t){nl.m(e,t);var l=qa;if(l&&e){var a=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+xt(a)+'"][href="'+xt(e)+'"]',i=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=Ga(e)}if(!Dt.has(i)&&(e=p({rel:"modulepreload",href:e},t),Dt.set(i,e),l.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Gn(i)))return}a=l.createElement("link"),ke(a,"link",e),Ge(a),l.head.appendChild(a)}}}function cg(e,t,l){nl.S(e,t,l);var a=qa;if(a&&e){var n=ia(a).hoistableStyles,i=Ya(e);t=t||"default";var f=n.get(i);if(!f){var h={loading:0,preload:null};if(f=a.querySelector(Yn(i)))h.loading=5;else{e=p({rel:"stylesheet",href:e,"data-precedence":t},l),(l=Dt.get(i))&&Wr(e,l);var b=f=a.createElement("link");Ge(b),ke(b,"link",e),b._p=new Promise(function(O,U){b.onload=O,b.onerror=U}),b.addEventListener("load",function(){h.loading|=1}),b.addEventListener("error",function(){h.loading|=2}),h.loading|=4,mi(f,t,a)}f={type:"stylesheet",instance:f,count:1,state:h},n.set(i,f)}}}function rg(e,t){nl.X(e,t);var l=qa;if(l&&e){var a=ia(l).hoistableScripts,n=Ga(e),i=a.get(n);i||(i=l.querySelector(Gn(n)),i||(e=p({src:e,async:!0},t),(t=Dt.get(n))&&Pr(e,t),i=l.createElement("script"),Ge(i),ke(i,"link",e),l.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(n,i))}}function sg(e,t){nl.M(e,t);var l=qa;if(l&&e){var a=ia(l).hoistableScripts,n=Ga(e),i=a.get(n);i||(i=l.querySelector(Gn(n)),i||(e=p({src:e,async:!0,type:"module"},t),(t=Dt.get(n))&&Pr(e,t),i=l.createElement("script"),Ge(i),ke(i,"link",e),l.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(n,i))}}function mh(e,t,l,a){var n=(n=le.current)?hi(n):null;if(!n)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=Ya(l.href),l=ia(n).hoistableStyles,a=l.get(t),a||(a={type:"style",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=Ya(l.href);var i=ia(n).hoistableStyles,f=i.get(e);if(f||(n=n.ownerDocument||n,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,f),(i=n.querySelector(Yn(e)))&&!i._p&&(f.instance=i,f.state.loading=5),Dt.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},Dt.set(e,l),i||og(n,e,l,f.state))),t&&a===null)throw Error(r(528,""));return f}if(t&&a!==null)throw Error(r(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Ga(l),l=ia(n).hoistableScripts,a=l.get(t),a||(a={type:"script",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function Ya(e){return'href="'+xt(e)+'"'}function Yn(e){return'link[rel="stylesheet"]['+e+"]"}function yh(e){return p({},e,{"data-precedence":e.precedence,precedence:null})}function og(e,t,l,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),ke(t,"link",l),Ge(t),e.head.appendChild(t))}function Ga(e){return'[src="'+xt(e)+'"]'}function Gn(e){return"script[async]"+e}function gh(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+xt(l.href)+'"]');if(a)return t.instance=a,Ge(a),a;var n=p({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),Ge(a),ke(a,"style",n),mi(a,l.precedence,e),t.instance=a;case"stylesheet":n=Ya(l.href);var i=e.querySelector(Yn(n));if(i)return t.state.loading|=4,t.instance=i,Ge(i),i;a=yh(l),(n=Dt.get(n))&&Wr(a,n),i=(e.ownerDocument||e).createElement("link"),Ge(i);var f=i;return f._p=new Promise(function(h,b){f.onload=h,f.onerror=b}),ke(i,"link",a),t.state.loading|=4,mi(i,l.precedence,e),t.instance=i;case"script":return i=Ga(l.src),(n=e.querySelector(Gn(i)))?(t.instance=n,Ge(n),n):(a=l,(n=Dt.get(i))&&(a=p({},l),Pr(a,n)),e=e.ownerDocument||e,n=e.createElement("script"),Ge(n),ke(n,"link",a),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(r(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,mi(a,l.precedence,e));return t.instance}function mi(e,t,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,i=n,f=0;f<a.length;f++){var h=a[f];if(h.dataset.precedence===t)i=h;else if(i!==n)break}i?i.parentNode.insertBefore(e,i.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function Wr(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Pr(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var yi=null;function vh(e,t,l){if(yi===null){var a=new Map,n=yi=new Map;n.set(l,a)}else n=yi,a=n.get(l),a||(a=new Map,n.set(l,a));if(a.has(e))return a;for(a.set(e,null),l=l.getElementsByTagName(e),n=0;n<l.length;n++){var i=l[n];if(!(i[Ia]||i[Fe]||e==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var f=i.getAttribute(t)||"";f=e+f;var h=a.get(f);h?h.push(i):a.set(f,[i])}}return a}function ph(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function fg(e,t,l){if(l===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function bh(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}var Xn=null;function dg(){}function hg(e,t,l){if(Xn===null)throw Error(r(475));var a=Xn;if(t.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var n=Ya(l.href),i=e.querySelector(Yn(n));if(i){e=i._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(a.count++,a=gi.bind(a),e.then(a,a)),t.state.loading|=4,t.instance=i,Ge(i);return}i=e.ownerDocument||e,l=yh(l),(n=Dt.get(n))&&Wr(l,n),i=i.createElement("link"),Ge(i);var f=i;f._p=new Promise(function(h,b){f.onload=h,f.onerror=b}),ke(i,"link",l),t.instance=i}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&3)===0&&(a.count++,t=gi.bind(a),e.addEventListener("load",t),e.addEventListener("error",t))}}function mg(){if(Xn===null)throw Error(r(475));var e=Xn;return e.stylesheets&&e.count===0&&Ir(e,e.stylesheets),0<e.count?function(t){var l=setTimeout(function(){if(e.stylesheets&&Ir(e,e.stylesheets),e.unsuspend){var a=e.unsuspend;e.unsuspend=null,a()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(l)}}:null}function gi(){if(this.count--,this.count===0){if(this.stylesheets)Ir(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var vi=null;function Ir(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,vi=new Map,t.forEach(yg,e),vi=null,gi.call(e))}function yg(e,t){if(!(t.state.loading&4)){var l=vi.get(e);if(l)var a=l.get(null);else{l=new Map,vi.set(e,l);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<n.length;i++){var f=n[i];(f.nodeName==="LINK"||f.getAttribute("media")!=="not all")&&(l.set(f.dataset.precedence,f),a=f)}a&&l.set(null,a)}n=t.instance,f=n.getAttribute("data-precedence"),i=l.get(f)||a,i===a&&l.set(null,n),l.set(f,n),this.count++,a=gi.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),i?i.parentNode.insertBefore(n,i.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(n,e.firstChild)),t.state.loading|=4}}var Vn={$$typeof:K,Provider:null,Consumer:null,_currentValue:I,_currentValue2:I,_threadCount:0};function gg(e,t,l,a,n,i,f,h){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=$i(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$i(0),this.hiddenUpdates=$i(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=i,this.onRecoverableError=f,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=h,this.incompleteTransitions=new Map}function Sh(e,t,l,a,n,i,f,h,b,O,U,L){return e=new gg(e,t,l,f,h,b,O,L),t=1,i===!0&&(t|=24),i=ht(3,null,null,t),e.current=i,i.stateNode=e,t=zc(),t.refCount++,e.pooledCache=t,t.refCount++,i.memoizedState={element:a,isDehydrated:l,cache:t},Lc(i),e}function xh(e){return e?(e=pa,e):pa}function Eh(e,t,l,a,n,i){n=xh(n),a.context===null?a.context=n:a.pendingContext=n,a=ml(t),a.payload={element:l},i=i===void 0?null:i,i!==null&&(a.callback=i),l=yl(e,a,t),l!==null&&(pt(l,e,t),bn(l,e,t))}function Th(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function es(e,t){Th(e,t),(e=e.alternate)&&Th(e,t)}function Rh(e){if(e.tag===13){var t=va(e,67108864);t!==null&&pt(t,e,67108864),es(e,67108864)}}var pi=!0;function vg(e,t,l,a){var n=B.T;B.T=null;var i=Z.p;try{Z.p=2,ts(e,t,l,a)}finally{Z.p=i,B.T=n}}function pg(e,t,l,a){var n=B.T;B.T=null;var i=Z.p;try{Z.p=8,ts(e,t,l,a)}finally{Z.p=i,B.T=n}}function ts(e,t,l,a){if(pi){var n=ls(a);if(n===null)Xr(e,t,a,bi,l),Oh(e,a);else if(Sg(n,e,t,l,a))a.stopPropagation();else if(Oh(e,a),t&4&&-1<bg.indexOf(e)){for(;n!==null;){var i=ua(n);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var f=Ul(i.pendingLanes);if(f!==0){var h=i;for(h.pendingLanes|=2,h.entangledLanes|=2;f;){var b=1<<31-ft(f);h.entanglements[1]|=b,f&=~b}Yt(i),(ye&6)===0&&(li=Ut()+500,Bn(0))}}break;case 13:h=va(i,2),h!==null&&pt(h,i,2),ni(),es(i,2)}if(i=ls(a),i===null&&Xr(e,t,a,bi,l),i===n)break;n=i}n!==null&&a.stopPropagation()}else Xr(e,t,a,null,l)}}function ls(e){return e=cc(e),as(e)}var bi=null;function as(e){if(bi=null,e=na(e),e!==null){var t=d(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=m(t),e!==null)return e;e=null}else if(l===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return bi=e,null}function Ah(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(n0()){case Hs:return 2;case Ls:return 8;case fu:case u0:return 32;case qs:return 268435456;default:return 32}default:return 32}}var ns=!1,Dl=null,wl=null,_l=null,Qn=new Map,Zn=new Map,Cl=[],bg="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 Oh(e,t){switch(e){case"focusin":case"focusout":Dl=null;break;case"dragenter":case"dragleave":wl=null;break;case"mouseover":case"mouseout":_l=null;break;case"pointerover":case"pointerout":Qn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Zn.delete(t.pointerId)}}function Kn(e,t,l,a,n,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:l,eventSystemFlags:a,nativeEvent:i,targetContainers:[n]},t!==null&&(t=ua(t),t!==null&&Rh(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function Sg(e,t,l,a,n){switch(t){case"focusin":return Dl=Kn(Dl,e,t,l,a,n),!0;case"dragenter":return wl=Kn(wl,e,t,l,a,n),!0;case"mouseover":return _l=Kn(_l,e,t,l,a,n),!0;case"pointerover":var i=n.pointerId;return Qn.set(i,Kn(Qn.get(i)||null,e,t,l,a,n)),!0;case"gotpointercapture":return i=n.pointerId,Zn.set(i,Kn(Zn.get(i)||null,e,t,l,a,n)),!0}return!1}function Nh(e){var t=na(e.target);if(t!==null){var l=d(t);if(l!==null){if(t=l.tag,t===13){if(t=m(l),t!==null){e.blockedOn=t,h0(e.priority,function(){if(l.tag===13){var a=vt();a=Fi(a);var n=va(l,a);n!==null&&pt(n,l,a),es(l,a)}});return}}else if(t===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Si(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=ls(e.nativeEvent);if(l===null){l=e.nativeEvent;var a=new l.constructor(l.type,l);ic=a,l.target.dispatchEvent(a),ic=null}else return t=ua(l),t!==null&&Rh(t),e.blockedOn=l,!1;t.shift()}return!0}function Dh(e,t,l){Si(e)&&l.delete(t)}function xg(){ns=!1,Dl!==null&&Si(Dl)&&(Dl=null),wl!==null&&Si(wl)&&(wl=null),_l!==null&&Si(_l)&&(_l=null),Qn.forEach(Dh),Zn.forEach(Dh)}function xi(e,t){e.blockedOn===t&&(e.blockedOn=null,ns||(ns=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,xg)))}var Ei=null;function wh(e){Ei!==e&&(Ei=e,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){Ei===e&&(Ei=null);for(var t=0;t<e.length;t+=3){var l=e[t],a=e[t+1],n=e[t+2];if(typeof a!="function"){if(as(a||l)===null)continue;break}var i=ua(l);i!==null&&(e.splice(t,3),t-=3,ar(i,{pending:!0,data:n,method:l.method,action:a},a,n))}}))}function Jn(e){function t(b){return xi(b,e)}Dl!==null&&xi(Dl,e),wl!==null&&xi(wl,e),_l!==null&&xi(_l,e),Qn.forEach(t),Zn.forEach(t);for(var l=0;l<Cl.length;l++){var a=Cl[l];a.blockedOn===e&&(a.blockedOn=null)}for(;0<Cl.length&&(l=Cl[0],l.blockedOn===null);)Nh(l),l.blockedOn===null&&Cl.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(a=0;a<l.length;a+=3){var n=l[a],i=l[a+1],f=n[tt]||null;if(typeof i=="function")f||wh(l);else if(f){var h=null;if(i&&i.hasAttribute("formAction")){if(n=i,f=i[tt]||null)h=f.formAction;else if(as(n)!==null)continue}else h=f.action;typeof h=="function"?l[a+1]=h:(l.splice(a,3),a-=3),wh(l)}}}function us(e){this._internalRoot=e}Ti.prototype.render=us.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(r(409));var l=t.current,a=vt();Eh(l,a,e,t,null,null)},Ti.prototype.unmount=us.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Eh(e.current,2,null,e,null,null),ni(),t[aa]=null}};function Ti(e){this._internalRoot=e}Ti.prototype.unstable_scheduleHydration=function(e){if(e){var t=Qs();e={blockedOn:null,target:e,priority:t};for(var l=0;l<Cl.length&&t!==0&&t<Cl[l].priority;l++);Cl.splice(l,0,e),l===0&&Nh(e)}};var _h=c.version;if(_h!=="19.1.0")throw Error(r(527,_h,"19.1.0"));Z.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=g(t),e=e!==null?y(e):null,e=e===null?null:e.stateNode,e};var Eg={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:B,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var Ri=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ri.isDisabled&&Ri.supportsFiber)try{Fa=Ri.inject(Eg),ot=Ri}catch(e){}}return $n.createRoot=function(e,t){if(!o(e))throw Error(r(299));var l=!1,a="",n=Kf,i=Jf,f=kf,h=null;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(i=t.onCaughtError),t.onRecoverableError!==void 0&&(f=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(h=t.unstable_transitionCallbacks)),t=Sh(e,1,!1,null,null,l,a,n,i,f,h,null),e[aa]=t.current,Gr(e),new us(t)},$n.hydrateRoot=function(e,t,l){if(!o(e))throw Error(r(299));var a=!1,n="",i=Kf,f=Jf,h=kf,b=null,O=null;return l!=null&&(l.unstable_strictMode===!0&&(a=!0),l.identifierPrefix!==void 0&&(n=l.identifierPrefix),l.onUncaughtError!==void 0&&(i=l.onUncaughtError),l.onCaughtError!==void 0&&(f=l.onCaughtError),l.onRecoverableError!==void 0&&(h=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(b=l.unstable_transitionCallbacks),l.formState!==void 0&&(O=l.formState)),t=Sh(e,1,!0,t,l!=null?l:null,a,n,i,f,h,b,O),t.context=xh(null),l=t.current,a=vt(),a=Fi(a),n=ml(a),n.callback=null,yl(l,n,a),l=a,t.current.lanes=l,Pa(t,l),Yt(t),e[aa]=t.current,Gr(e),new Ti(t)},$n.version="19.1.0",$n}var Zh;function Lg(){if(Zh)return os.exports;Zh=1;function u(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(c){console.error(c)}}return u(),os.exports=Hg(),os.exports}var qg=Lg(),Fn={},Kh;function Yg(){if(Kh)return Fn;Kh=1,Object.defineProperty(Fn,"__esModule",{value:!0}),Fn.parse=m,Fn.serialize=y;const u=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,c=/^[\u0021-\u003A\u003C-\u007E]*$/,s=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,r=/^[\u0020-\u003A\u003D-\u007E]*$/,o=Object.prototype.toString,d=(()=>{const D=function(){};return D.prototype=Object.create(null),D})();function m(D,Y){const C=new d,z=D.length;if(z<2)return C;const j=(Y==null?void 0:Y.decode)||p;let G=0;do{const X=D.indexOf("=",G);if(X===-1)break;const K=D.indexOf(";",G),te=K===-1?z:K;if(X>te){G=D.lastIndexOf(";",X-1)+1;continue}const V=v(D,G,X),se=g(D,X,V),fe=D.slice(V,se);if(C[fe]===void 0){let Te=v(D,X+1,te),je=g(D,te,Te);const rt=j(D.slice(Te,je));C[fe]=rt}G=te+1}while(G<z);return C}function v(D,Y,C){do{const z=D.charCodeAt(Y);if(z!==32&&z!==9)return Y}while(++Y<C);return C}function g(D,Y,C){for(;Y>C;){const z=D.charCodeAt(--Y);if(z!==32&&z!==9)return Y+1}return C}function y(D,Y,C){const z=(C==null?void 0:C.encode)||encodeURIComponent;if(!u.test(D))throw new TypeError(`argument name is invalid: ${D}`);const j=z(Y);if(!c.test(j))throw new TypeError(`argument val is invalid: ${Y}`);let G=D+"="+j;if(!C)return G;if(C.maxAge!==void 0){if(!Number.isInteger(C.maxAge))throw new TypeError(`option maxAge is invalid: ${C.maxAge}`);G+="; Max-Age="+C.maxAge}if(C.domain){if(!s.test(C.domain))throw new TypeError(`option domain is invalid: ${C.domain}`);G+="; Domain="+C.domain}if(C.path){if(!r.test(C.path))throw new TypeError(`option path is invalid: ${C.path}`);G+="; Path="+C.path}if(C.expires){if(!N(C.expires)||!Number.isFinite(C.expires.valueOf()))throw new TypeError(`option expires is invalid: ${C.expires}`);G+="; Expires="+C.expires.toUTCString()}if(C.httpOnly&&(G+="; HttpOnly"),C.secure&&(G+="; Secure"),C.partitioned&&(G+="; Partitioned"),C.priority)switch(typeof C.priority=="string"?C.priority.toLowerCase():void 0){case"low":G+="; Priority=Low";break;case"medium":G+="; Priority=Medium";break;case"high":G+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${C.priority}`)}if(C.sameSite)switch(typeof C.sameSite=="string"?C.sameSite.toLowerCase():C.sameSite){case!0:case"strict":G+="; SameSite=Strict";break;case"lax":G+="; SameSite=Lax";break;case"none":G+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${C.sameSite}`)}return G}function p(D){if(D.indexOf("%")===-1)return D;try{return decodeURIComponent(D)}catch(Y){return D}}function N(D){return o.call(D)==="[object Date]"}return Fn}Yg();var Jh="popstate";function Gg(u={}){function c(r,o){let{pathname:d,search:m,hash:v}=r.location;return bs("",{pathname:d,search:m,hash:v},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function s(r,o){return typeof o=="string"?o:In(o)}return Vg(c,s,null,u)}function _e(u,c){if(u===!1||u===null||typeof u=="undefined")throw new Error(c)}function Mt(u,c){if(!u){typeof console!="undefined"&&console.warn(c);try{throw new Error(c)}catch(s){}}}function Xg(){return Math.random().toString(36).substring(2,10)}function kh(u,c){return{usr:u.state,key:u.key,idx:c}}function bs(u,c,s=null,r){return bt(Se({pathname:typeof u=="string"?u:u.pathname,search:"",hash:""},typeof c=="string"?Za(c):c),{state:s,key:c&&c.key||r||Xg()})}function In({pathname:u="/",search:c="",hash:s=""}){return c&&c!=="?"&&(u+=c.charAt(0)==="?"?c:"?"+c),s&&s!=="#"&&(u+=s.charAt(0)==="#"?s:"#"+s),u}function Za(u){let c={};if(u){let s=u.indexOf("#");s>=0&&(c.hash=u.substring(s),u=u.substring(0,s));let r=u.indexOf("?");r>=0&&(c.search=u.substring(r),u=u.substring(0,r)),u&&(c.pathname=u)}return c}function Vg(u,c,s,r={}){let{window:o=document.defaultView,v5Compat:d=!1}=r,m=o.history,v="POP",g=null,y=p();y==null&&(y=0,m.replaceState(bt(Se({},m.state),{idx:y}),""));function p(){return(m.state||{idx:null}).idx}function N(){v="POP";let j=p(),G=j==null?null:j-y;y=j,g&&g({action:v,location:z.location,delta:G})}function D(j,G){v="PUSH";let X=bs(z.location,j,G);y=p()+1;let K=kh(X,y),te=z.createHref(X);try{m.pushState(K,"",te)}catch(V){if(V instanceof DOMException&&V.name==="DataCloneError")throw V;o.location.assign(te)}d&&g&&g({action:v,location:z.location,delta:1})}function Y(j,G){v="REPLACE";let X=bs(z.location,j,G);y=p();let K=kh(X,y),te=z.createHref(X);m.replaceState(K,"",te),d&&g&&g({action:v,location:z.location,delta:0})}function C(j){return Qg(j)}let z={get action(){return v},get location(){return u(o,m)},listen(j){if(g)throw new Error("A history only accepts one active listener");return o.addEventListener(Jh,N),g=j,()=>{o.removeEventListener(Jh,N),g=null}},createHref(j){return c(o,j)},createURL:C,encodeLocation(j){let G=C(j);return{pathname:G.pathname,search:G.search,hash:G.hash}},push:D,replace:Y,go(j){return m.go(j)}};return z}function Qg(u,c=!1){let s="http://localhost";typeof window!="undefined"&&(s=window.location.origin!=="null"?window.location.origin:window.location.href),_e(s,"No window.location.(origin|href) available to create URL");let r=typeof u=="string"?u:In(u);return r=r.replace(/ $/,"%20"),!c&&r.startsWith("//")&&(r=s+r),new URL(r,s)}function hm(u,c,s="/"){return Zg(u,c,s,!1)}function Zg(u,c,s,r){let o=typeof c=="string"?Za(c):c,d=il(o.pathname||"/",s);if(d==null)return null;let m=mm(u);Kg(m);let v=null;for(let g=0;v==null&&g<m.length;++g){let y=av(d);v=tv(m[g],y,r)}return v}function mm(u,c=[],s=[],r=""){let o=(d,m,v)=>{let g={relativePath:v===void 0?d.path||"":v,caseSensitive:d.caseSensitive===!0,childrenIndex:m,route:d};g.relativePath.startsWith("/")&&(_e(g.relativePath.startsWith(r),`Absolute route path "${g.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),g.relativePath=g.relativePath.slice(r.length));let y=ul([r,g.relativePath]),p=s.concat(g);d.children&&d.children.length>0&&(_e(d.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${y}".`),mm(d.children,c,p,y)),!(d.path==null&&!d.index)&&c.push({path:y,score:Ig(y,d.index),routesMeta:p})};return u.forEach((d,m)=>{var v;if(d.path===""||!((v=d.path)!=null&&v.includes("?")))o(d,m);else for(let g of ym(d.path))o(d,m,g)}),c}function ym(u){let c=u.split("/");if(c.length===0)return[];let[s,...r]=c,o=s.endsWith("?"),d=s.replace(/\?$/,"");if(r.length===0)return o?[d,""]:[d];let m=ym(r.join("/")),v=[];return v.push(...m.map(g=>g===""?d:[d,g].join("/"))),o&&v.push(...m),v.map(g=>u.startsWith("/")&&g===""?"/":g)}function Kg(u){u.sort((c,s)=>c.score!==s.score?s.score-c.score:ev(c.routesMeta.map(r=>r.childrenIndex),s.routesMeta.map(r=>r.childrenIndex)))}var Jg=/^:[\w-]+$/,kg=3,$g=2,Fg=1,Wg=10,Pg=-2,$h=u=>u==="*";function Ig(u,c){let s=u.split("/"),r=s.length;return s.some($h)&&(r+=Pg),c&&(r+=$g),s.filter(o=>!$h(o)).reduce((o,d)=>o+(Jg.test(d)?kg:d===""?Fg:Wg),r)}function ev(u,c){return u.length===c.length&&u.slice(0,-1).every((r,o)=>r===c[o])?u[u.length-1]-c[c.length-1]:0}function tv(u,c,s=!1){let{routesMeta:r}=u,o={},d="/",m=[];for(let v=0;v<r.length;++v){let g=r[v],y=v===r.length-1,p=d==="/"?c:c.slice(d.length)||"/",N=ji({path:g.relativePath,caseSensitive:g.caseSensitive,end:y},p),D=g.route;if(!N&&y&&s&&!r[r.length-1].route.index&&(N=ji({path:g.relativePath,caseSensitive:g.caseSensitive,end:!1},p)),!N)return null;Object.assign(o,N.params),m.push({params:o,pathname:ul([d,N.pathname]),pathnameBase:cv(ul([d,N.pathnameBase])),route:D}),N.pathnameBase!=="/"&&(d=ul([d,N.pathnameBase]))}return m}function ji(u,c){typeof u=="string"&&(u={path:u,caseSensitive:!1,end:!0});let[s,r]=lv(u.path,u.caseSensitive,u.end),o=c.match(s);if(!o)return null;let d=o[0],m=d.replace(/(.)\/+$/,"$1"),v=o.slice(1);return{params:r.reduce((y,{paramName:p,isOptional:N},D)=>{if(p==="*"){let C=v[D]||"";m=d.slice(0,d.length-C.length).replace(/(.)\/+$/,"$1")}const Y=v[D];return N&&!Y?y[p]=void 0:y[p]=(Y||"").replace(/%2F/g,"/"),y},{}),pathname:d,pathnameBase:m,pattern:u}}function lv(u,c=!1,s=!0){Mt(u==="*"||!u.endsWith("*")||u.endsWith("/*"),`Route path "${u}" will be treated as if it were "${u.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${u.replace(/\*$/,"/*")}".`);let r=[],o="^"+u.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(m,v,g)=>(r.push({paramName:v,isOptional:g!=null}),g?"/?([^\\/]+)?":"/([^\\/]+)"));return u.endsWith("*")?(r.push({paramName:"*"}),o+=u==="*"||u==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?o+="\\/*$":u!==""&&u!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,c?void 0:"i"),r]}function av(u){try{return u.split("/").map(c=>decodeURIComponent(c).replace(/\//g,"%2F")).join("/")}catch(c){return Mt(!1,`The URL path "${u}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${c}).`),u}}function il(u,c){if(c==="/")return u;if(!u.toLowerCase().startsWith(c.toLowerCase()))return null;let s=c.endsWith("/")?c.length-1:c.length,r=u.charAt(s);return r&&r!=="/"?null:u.slice(s)||"/"}function nv(u,c="/"){let{pathname:s,search:r="",hash:o=""}=typeof u=="string"?Za(u):u;return{pathname:s?s.startsWith("/")?s:uv(s,c):c,search:rv(r),hash:sv(o)}}function uv(u,c){let s=c.replace(/\/+$/,"").split("/");return u.split("/").forEach(o=>{o===".."?s.length>1&&s.pop():o!=="."&&s.push(o)}),s.length>1?s.join("/"):"/"}function ms(u,c,s,r){return`Cannot include a '${u}' character in a manually specified \`to.${c}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${s}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function iv(u){return u.filter((c,s)=>s===0||c.route.path&&c.route.path.length>0)}function gm(u){let c=iv(u);return c.map((s,r)=>r===c.length-1?s.pathname:s.pathnameBase)}function vm(u,c,s,r=!1){let o;typeof u=="string"?o=Za(u):(o=Se({},u),_e(!o.pathname||!o.pathname.includes("?"),ms("?","pathname","search",o)),_e(!o.pathname||!o.pathname.includes("#"),ms("#","pathname","hash",o)),_e(!o.search||!o.search.includes("#"),ms("#","search","hash",o)));let d=u===""||o.pathname==="",m=d?"/":o.pathname,v;if(m==null)v=s;else{let N=c.length-1;if(!r&&m.startsWith("..")){let D=m.split("/");for(;D[0]==="..";)D.shift(),N-=1;o.pathname=D.join("/")}v=N>=0?c[N]:"/"}let g=nv(o,v),y=m&&m!=="/"&&m.endsWith("/"),p=(d||m===".")&&s.endsWith("/");return!g.pathname.endsWith("/")&&(y||p)&&(g.pathname+="/"),g}var ul=u=>u.join("/").replace(/\/\/+/g,"/"),cv=u=>u.replace(/\/+$/,"").replace(/^\/*/,"/"),rv=u=>!u||u==="?"?"":u.startsWith("?")?u:"?"+u,sv=u=>!u||u==="#"?"":u.startsWith("#")?u:"#"+u;function ov(u){return u!=null&&typeof u.status=="number"&&typeof u.statusText=="string"&&typeof u.internal=="boolean"&&"data"in u}var pm=["POST","PUT","PATCH","DELETE"];new Set(pm);var fv=["GET",...pm];new Set(fv);var Ka=R.createContext(null);Ka.displayName="DataRouter";var Bi=R.createContext(null);Bi.displayName="DataRouterState";var bm=R.createContext({isTransitioning:!1});bm.displayName="ViewTransition";var dv=R.createContext(new Map);dv.displayName="Fetchers";var hv=R.createContext(null);hv.displayName="Await";var Xt=R.createContext(null);Xt.displayName="Navigation";var lu=R.createContext(null);lu.displayName="Location";var cl=R.createContext({outlet:null,matches:[],isDataRoute:!1});cl.displayName="Route";var ws=R.createContext(null);ws.displayName="RouteError";function mv(u,{relative:c}={}){_e(au(),"useHref() may be used only in the context of a <Router> component.");let{basename:s,navigator:r}=R.useContext(Xt),{hash:o,pathname:d,search:m}=nu(u,{relative:c}),v=d;return s!=="/"&&(v=d==="/"?s:ul([s,d])),r.createHref({pathname:v,search:m,hash:o})}function au(){return R.useContext(lu)!=null}function jl(){return _e(au(),"useLocation() may be used only in the context of a <Router> component."),R.useContext(lu).location}var Sm="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function xm(u){R.useContext(Xt).static||R.useLayoutEffect(u)}function Hi(){let{isDataRoute:u}=R.useContext(cl);return u?Nv():yv()}function yv(){_e(au(),"useNavigate() may be used only in the context of a <Router> component.");let u=R.useContext(Ka),{basename:c,navigator:s}=R.useContext(Xt),{matches:r}=R.useContext(cl),{pathname:o}=jl(),d=JSON.stringify(gm(r)),m=R.useRef(!1);return xm(()=>{m.current=!0}),R.useCallback((g,y={})=>{if(Mt(m.current,Sm),!m.current)return;if(typeof g=="number"){s.go(g);return}let p=vm(g,JSON.parse(d),o,y.relative==="path");u==null&&c!=="/"&&(p.pathname=p.pathname==="/"?c:ul([c,p.pathname])),(y.replace?s.replace:s.push)(p,y.state,y)},[c,s,d,o,u])}R.createContext(null);function nu(u,{relative:c}={}){let{matches:s}=R.useContext(cl),{pathname:r}=jl(),o=JSON.stringify(gm(s));return R.useMemo(()=>vm(u,JSON.parse(o),r,c==="path"),[u,o,r,c])}function gv(u,c){return Em(u,c)}function Em(u,c,s,r){var G;_e(au(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=R.useContext(Xt),{matches:d}=R.useContext(cl),m=d[d.length-1],v=m?m.params:{},g=m?m.pathname:"/",y=m?m.pathnameBase:"/",p=m&&m.route;{let X=p&&p.path||"";Tm(g,!p||X.endsWith("*")||X.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${g}" (under <Route path="${X}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
50
|
-
|
|
51
|
-
Please change the parent <Route path="${X}"> to <Route path="${X==="/"?"*":`${X}/*`}">.`)}let N=jl(),D;if(c){let X=typeof c=="string"?Za(c):c;_e(y==="/"||((G=X.pathname)==null?void 0:G.startsWith(y)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${y}" but pathname "${X.pathname}" was given in the \`location\` prop.`),D=X}else D=N;let Y=D.pathname||"/",C=Y;if(y!=="/"){let X=y.replace(/^\//,"").split("/");C="/"+Y.replace(/^\//,"").split("/").slice(X.length).join("/")}let z=hm(u,{pathname:C});Mt(p||z!=null,`No routes matched location "${D.pathname}${D.search}${D.hash}" `),Mt(z==null||z[z.length-1].route.element!==void 0||z[z.length-1].route.Component!==void 0||z[z.length-1].route.lazy!==void 0,`Matched leaf route at location "${D.pathname}${D.search}${D.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let j=xv(z&&z.map(X=>Object.assign({},X,{params:Object.assign({},v,X.params),pathname:ul([y,o.encodeLocation?o.encodeLocation(X.pathname).pathname:X.pathname]),pathnameBase:X.pathnameBase==="/"?y:ul([y,o.encodeLocation?o.encodeLocation(X.pathnameBase).pathname:X.pathnameBase])})),d,s,r);return c&&j?R.createElement(lu.Provider,{value:{location:Se({pathname:"/",search:"",hash:"",state:null,key:"default"},D),navigationType:"POP"}},j):j}function vv(){let u=Ov(),c=ov(u)?`${u.status} ${u.statusText}`:u instanceof Error?u.message:JSON.stringify(u),s=u instanceof Error?u.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},d={padding:"2px 4px",backgroundColor:r},m=null;return console.error("Error handled by React Router default ErrorBoundary:",u),m=R.createElement(R.Fragment,null,R.createElement("p",null,"💿 Hey developer 👋"),R.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",R.createElement("code",{style:d},"ErrorBoundary")," or"," ",R.createElement("code",{style:d},"errorElement")," prop on your route.")),R.createElement(R.Fragment,null,R.createElement("h2",null,"Unexpected Application Error!"),R.createElement("h3",{style:{fontStyle:"italic"}},c),s?R.createElement("pre",{style:o},s):null,m)}var pv=R.createElement(vv,null),bv=class extends R.Component{constructor(u){super(u),this.state={location:u.location,revalidation:u.revalidation,error:u.error}}static getDerivedStateFromError(u){return{error:u}}static getDerivedStateFromProps(u,c){return c.location!==u.location||c.revalidation!=="idle"&&u.revalidation==="idle"?{error:u.error,location:u.location,revalidation:u.revalidation}:{error:u.error!==void 0?u.error:c.error,location:c.location,revalidation:u.revalidation||c.revalidation}}componentDidCatch(u,c){console.error("React Router caught the following error during render",u,c)}render(){return this.state.error!==void 0?R.createElement(cl.Provider,{value:this.props.routeContext},R.createElement(ws.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Sv({routeContext:u,match:c,children:s}){let r=R.useContext(Ka);return r&&r.static&&r.staticContext&&(c.route.errorElement||c.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=c.route.id),R.createElement(cl.Provider,{value:u},s)}function xv(u,c=[],s=null,r=null){if(u==null){if(!s)return null;if(s.errors)u=s.matches;else if(c.length===0&&!s.initialized&&s.matches.length>0)u=s.matches;else return null}let o=u,d=s==null?void 0:s.errors;if(d!=null){let g=o.findIndex(y=>y.route.id&&(d==null?void 0:d[y.route.id])!==void 0);_e(g>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(d).join(",")}`),o=o.slice(0,Math.min(o.length,g+1))}let m=!1,v=-1;if(s)for(let g=0;g<o.length;g++){let y=o[g];if((y.route.HydrateFallback||y.route.hydrateFallbackElement)&&(v=g),y.route.id){let{loaderData:p,errors:N}=s,D=y.route.loader&&!p.hasOwnProperty(y.route.id)&&(!N||N[y.route.id]===void 0);if(y.route.lazy||D){m=!0,v>=0?o=o.slice(0,v+1):o=[o[0]];break}}}return o.reduceRight((g,y,p)=>{let N,D=!1,Y=null,C=null;s&&(N=d&&y.route.id?d[y.route.id]:void 0,Y=y.route.errorElement||pv,m&&(v<0&&p===0?(Tm("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),D=!0,C=null):v===p&&(D=!0,C=y.route.hydrateFallbackElement||null)));let z=c.concat(o.slice(0,p+1)),j=()=>{let G;return N?G=Y:D?G=C:y.route.Component?G=R.createElement(y.route.Component,null):y.route.element?G=y.route.element:G=g,R.createElement(Sv,{match:y,routeContext:{outlet:g,matches:z,isDataRoute:s!=null},children:G})};return s&&(y.route.ErrorBoundary||y.route.errorElement||p===0)?R.createElement(bv,{location:s.location,revalidation:s.revalidation,component:Y,error:N,children:j(),routeContext:{outlet:null,matches:z,isDataRoute:!0}}):j()},null)}function _s(u){return`${u} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Ev(u){let c=R.useContext(Ka);return _e(c,_s(u)),c}function Tv(u){let c=R.useContext(Bi);return _e(c,_s(u)),c}function Rv(u){let c=R.useContext(cl);return _e(c,_s(u)),c}function Cs(u){let c=Rv(u),s=c.matches[c.matches.length-1];return _e(s.route.id,`${u} can only be used on routes that contain a unique "id"`),s.route.id}function Av(){return Cs("useRouteId")}function Ov(){var r;let u=R.useContext(ws),c=Tv("useRouteError"),s=Cs("useRouteError");return u!==void 0?u:(r=c.errors)==null?void 0:r[s]}function Nv(){let{router:u}=Ev("useNavigate"),c=Cs("useNavigate"),s=R.useRef(!1);return xm(()=>{s.current=!0}),R.useCallback((m,...v)=>Ze(null,[m,...v],function*(o,d={}){Mt(s.current,Sm),s.current&&(typeof o=="number"?u.navigate(o):yield u.navigate(o,Se({fromRouteId:c},d)))}),[u,c])}var Fh={};function Tm(u,c,s){!c&&!Fh[u]&&(Fh[u]=!0,Mt(!1,s))}R.memo(Dv);function Dv({routes:u,future:c,state:s}){return Em(u,void 0,s,c)}function Ni(u){_e(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function wv({basename:u="/",children:c=null,location:s,navigationType:r="POP",navigator:o,static:d=!1}){_e(!au(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let m=u.replace(/^\/*/,"/"),v=R.useMemo(()=>({basename:m,navigator:o,static:d,future:{}}),[m,o,d]);typeof s=="string"&&(s=Za(s));let{pathname:g="/",search:y="",hash:p="",state:N=null,key:D="default"}=s,Y=R.useMemo(()=>{let C=il(g,m);return C==null?null:{location:{pathname:C,search:y,hash:p,state:N,key:D},navigationType:r}},[m,g,y,p,N,D,r]);return Mt(Y!=null,`<Router basename="${m}"> is not able to match the URL "${g}${y}${p}" because it does not start with the basename, so the <Router> won't render anything.`),Y==null?null:R.createElement(Xt.Provider,{value:v},R.createElement(lu.Provider,{children:c,value:Y}))}function _v({children:u,location:c}){return gv(Ss(u),c)}function Ss(u,c=[]){let s=[];return R.Children.forEach(u,(r,o)=>{if(!R.isValidElement(r))return;let d=[...c,o];if(r.type===R.Fragment){s.push.apply(s,Ss(r.props.children,d));return}_e(r.type===Ni,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),_e(!r.props.index||!r.props.children,"An index route cannot have child routes.");let m={id:r.props.id||d.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(m.children=Ss(r.props.children,d)),s.push(m)}),s}var Di="get",wi="application/x-www-form-urlencoded";function Li(u){return u!=null&&typeof u.tagName=="string"}function Cv(u){return Li(u)&&u.tagName.toLowerCase()==="button"}function Mv(u){return Li(u)&&u.tagName.toLowerCase()==="form"}function jv(u){return Li(u)&&u.tagName.toLowerCase()==="input"}function zv(u){return!!(u.metaKey||u.altKey||u.ctrlKey||u.shiftKey)}function Uv(u,c){return u.button===0&&(!c||c==="_self")&&!zv(u)}function xs(u=""){return new URLSearchParams(typeof u=="string"||Array.isArray(u)||u instanceof URLSearchParams?u:Object.keys(u).reduce((c,s)=>{let r=u[s];return c.concat(Array.isArray(r)?r.map(o=>[s,o]):[[s,r]])},[]))}function Bv(u,c){let s=xs(u);return c&&c.forEach((r,o)=>{s.has(o)||c.getAll(o).forEach(d=>{s.append(o,d)})}),s}var Oi=null;function Hv(){if(Oi===null)try{new FormData(document.createElement("form"),0),Oi=!1}catch(u){Oi=!0}return Oi}var Lv=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function ys(u){return u!=null&&!Lv.has(u)?(Mt(!1,`"${u}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${wi}"`),null):u}function qv(u,c){let s,r,o,d,m;if(Mv(u)){let v=u.getAttribute("action");r=v?il(v,c):null,s=u.getAttribute("method")||Di,o=ys(u.getAttribute("enctype"))||wi,d=new FormData(u)}else if(Cv(u)||jv(u)&&(u.type==="submit"||u.type==="image")){let v=u.form;if(v==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let g=u.getAttribute("formaction")||v.getAttribute("action");if(r=g?il(g,c):null,s=u.getAttribute("formmethod")||v.getAttribute("method")||Di,o=ys(u.getAttribute("formenctype"))||ys(v.getAttribute("enctype"))||wi,d=new FormData(v,u),!Hv()){let{name:y,type:p,value:N}=u;if(p==="image"){let D=y?`${y}.`:"";d.append(`${D}x`,"0"),d.append(`${D}y`,"0")}else y&&d.append(y,N)}}else{if(Li(u))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');s=Di,r=null,o=wi,m=u}return d&&o==="text/plain"&&(m=d,d=void 0),{action:r,method:s.toLowerCase(),encType:o,formData:d,body:m}}function Ms(u,c){if(u===!1||u===null||typeof u=="undefined")throw new Error(c)}function Yv(u,c){return Ze(this,null,function*(){if(u.id in c)return c[u.id];try{let s=yield import(u.module);return c[u.id]=s,s}catch(s){return console.error(`Error loading route module \`${u.module}\`, reloading page...`),console.error(s),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}})}function Gv(u){return u==null?!1:u.href==null?u.rel==="preload"&&typeof u.imageSrcSet=="string"&&typeof u.imageSizes=="string":typeof u.rel=="string"&&typeof u.href=="string"}function Xv(u,c,s){return Ze(this,null,function*(){let r=yield Promise.all(u.map(o=>Ze(null,null,function*(){let d=c.routes[o.route.id];if(d){let m=yield Yv(d,s);return m.links?m.links():[]}return[]})));return Kv(r.flat(1).filter(Gv).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?bt(Se({},o),{rel:"prefetch",as:"style"}):bt(Se({},o),{rel:"prefetch"})))})}function Wh(u,c,s,r,o,d){let m=(g,y)=>s[y]?g.route.id!==s[y].route.id:!0,v=(g,y)=>{var p;return s[y].pathname!==g.pathname||((p=s[y].route.path)==null?void 0:p.endsWith("*"))&&s[y].params["*"]!==g.params["*"]};return d==="assets"?c.filter((g,y)=>m(g,y)||v(g,y)):d==="data"?c.filter((g,y)=>{var N;let p=r.routes[g.route.id];if(!p||!p.hasLoader)return!1;if(m(g,y)||v(g,y))return!0;if(g.route.shouldRevalidate){let D=g.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:((N=s[0])==null?void 0:N.params)||{},nextUrl:new URL(u,window.origin),nextParams:g.params,defaultShouldRevalidate:!0});if(typeof D=="boolean")return D}return!0}):[]}function Vv(u,c,{includeHydrateFallback:s}={}){return Qv(u.map(r=>{let o=c.routes[r.route.id];if(!o)return[];let d=[o.module];return o.clientActionModule&&(d=d.concat(o.clientActionModule)),o.clientLoaderModule&&(d=d.concat(o.clientLoaderModule)),s&&o.hydrateFallbackModule&&(d=d.concat(o.hydrateFallbackModule)),o.imports&&(d=d.concat(o.imports)),d}).flat(1))}function Qv(u){return[...new Set(u)]}function Zv(u){let c={},s=Object.keys(u).sort();for(let r of s)c[r]=u[r];return c}function Kv(u,c){let s=new Set;return new Set(c),u.reduce((r,o)=>{let d=JSON.stringify(Zv(o));return s.has(d)||(s.add(d),r.push({key:d,link:o})),r},[])}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Jv=new Set([100,101,204,205]);function kv(u,c){let s=typeof u=="string"?new URL(u,typeof window=="undefined"?"server://singlefetch/":window.location.origin):u;return s.pathname==="/"?s.pathname="_root.data":c&&il(s.pathname,c)==="/"?s.pathname=`${c.replace(/\/$/,"")}/_root.data`:s.pathname=`${s.pathname.replace(/\/$/,"")}.data`,s}function Rm(){let u=R.useContext(Ka);return Ms(u,"You must render this element inside a <DataRouterContext.Provider> element"),u}function $v(){let u=R.useContext(Bi);return Ms(u,"You must render this element inside a <DataRouterStateContext.Provider> element"),u}var js=R.createContext(void 0);js.displayName="FrameworkContext";function Am(){let u=R.useContext(js);return Ms(u,"You must render this element inside a <HydratedRouter> element"),u}function Fv(u,c){let s=R.useContext(js),[r,o]=R.useState(!1),[d,m]=R.useState(!1),{onFocus:v,onBlur:g,onMouseEnter:y,onMouseLeave:p,onTouchStart:N}=c,D=R.useRef(null);R.useEffect(()=>{if(u==="render"&&m(!0),u==="viewport"){let z=G=>{G.forEach(X=>{m(X.isIntersecting)})},j=new IntersectionObserver(z,{threshold:.5});return D.current&&j.observe(D.current),()=>{j.disconnect()}}},[u]),R.useEffect(()=>{if(r){let z=setTimeout(()=>{m(!0)},100);return()=>{clearTimeout(z)}}},[r]);let Y=()=>{o(!0)},C=()=>{o(!1),m(!1)};return s?u!=="intent"?[d,D,{}]:[d,D,{onFocus:Wn(v,Y),onBlur:Wn(g,C),onMouseEnter:Wn(y,Y),onMouseLeave:Wn(p,C),onTouchStart:Wn(N,Y)}]:[!1,D,{}]}function Wn(u,c){return s=>{u&&u(s),s.defaultPrevented||c(s)}}function Wv(s){var r=s,{page:u}=r,c=Va(r,["page"]);let{router:o}=Rm(),d=R.useMemo(()=>hm(o.routes,u,o.basename),[o.routes,u,o.basename]);return d?R.createElement(Iv,Se({page:u,matches:d},c)):null}function Pv(u){let{manifest:c,routeModules:s}=Am(),[r,o]=R.useState([]);return R.useEffect(()=>{let d=!1;return Xv(u,c,s).then(m=>{d||o(m)}),()=>{d=!0}},[u,c,s]),r}function Iv(r){var o=r,{page:u,matches:c}=o,s=Va(o,["page","matches"]);let d=jl(),{manifest:m,routeModules:v}=Am(),{basename:g}=Rm(),{loaderData:y,matches:p}=$v(),N=R.useMemo(()=>Wh(u,c,p,m,d,"data"),[u,c,p,m,d]),D=R.useMemo(()=>Wh(u,c,p,m,d,"assets"),[u,c,p,m,d]),Y=R.useMemo(()=>{if(u===d.pathname+d.search+d.hash)return[];let j=new Set,G=!1;if(c.forEach(K=>{var V;let te=m.routes[K.route.id];!te||!te.hasLoader||(!N.some(se=>se.route.id===K.route.id)&&K.route.id in y&&((V=v[K.route.id])!=null&&V.shouldRevalidate)||te.hasClientLoader?G=!0:j.add(K.route.id))}),j.size===0)return[];let X=kv(u,g);return G&&j.size>0&&X.searchParams.set("_routes",c.filter(K=>j.has(K.route.id)).map(K=>K.route.id).join(",")),[X.pathname+X.search]},[g,y,d,m,N,c,u,v]),C=R.useMemo(()=>Vv(D,m),[D,m]),z=Pv(D);return R.createElement(R.Fragment,null,Y.map(j=>R.createElement("link",Se({key:j,rel:"prefetch",as:"fetch",href:j},s))),C.map(j=>R.createElement("link",Se({key:j,rel:"modulepreload",href:j},s))),z.map(({key:j,link:G})=>R.createElement("link",Se({key:j},G))))}function ep(...u){return c=>{u.forEach(s=>{typeof s=="function"?s(c):s!=null&&(s.current=c)})}}var Om=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined";try{Om&&(window.__reactRouterVersion="7.6.2")}catch(u){}function tp({basename:u,children:c,window:s}){let r=R.useRef();r.current==null&&(r.current=Gg({window:s,v5Compat:!0}));let o=r.current,[d,m]=R.useState({action:o.action,location:o.location}),v=R.useCallback(g=>{R.startTransition(()=>m(g))},[m]);return R.useLayoutEffect(()=>o.listen(v),[o,v]),R.createElement(wv,{basename:u,children:c,location:d.location,navigationType:d.action,navigator:o})}var Nm=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Qa=R.forwardRef(function(C,Y){var z=C,{onClick:c,discover:s="render",prefetch:r="none",relative:o,reloadDocument:d,replace:m,state:v,target:g,to:y,preventScrollReset:p,viewTransition:N}=z,D=Va(z,["onClick","discover","prefetch","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"]);let{basename:j}=R.useContext(Xt),G=typeof y=="string"&&Nm.test(y),X,K=!1;if(typeof y=="string"&&G&&(X=y,Om))try{let ze=new URL(window.location.href),De=y.startsWith("//")?new URL(ze.protocol+y):new URL(y),zt=il(De.pathname,j);De.origin===ze.origin&&zt!=null?y=zt+De.search+De.hash:K=!0}catch(ze){Mt(!1,`<Link to="${y}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let te=mv(y,{relative:o}),[V,se,fe]=Fv(r,D),Te=up(y,{replace:m,state:v,target:g,preventScrollReset:p,relative:o,viewTransition:N});function je(ze){c&&c(ze),ze.defaultPrevented||Te(ze)}let rt=R.createElement("a",bt(Se(Se({},D),fe),{href:X||te,onClick:K||d?c:je,ref:ep(Y,se),target:g,"data-discover":!G&&s==="render"?"true":void 0}));return V&&!G?R.createElement(R.Fragment,null,rt,R.createElement(Wv,{page:te})):rt});Qa.displayName="Link";var lp=R.forwardRef(function(N,p){var D=N,{"aria-current":c="page",caseSensitive:s=!1,className:r="",end:o=!1,style:d,to:m,viewTransition:v,children:g}=D,y=Va(D,["aria-current","caseSensitive","className","end","style","to","viewTransition","children"]);let Y=nu(m,{relative:y.relative}),C=jl(),z=R.useContext(Bi),{navigator:j,basename:G}=R.useContext(Xt),X=z!=null&&fp(Y)&&v===!0,K=j.encodeLocation?j.encodeLocation(Y).pathname:Y.pathname,te=C.pathname,V=z&&z.navigation&&z.navigation.location?z.navigation.location.pathname:null;s||(te=te.toLowerCase(),V=V?V.toLowerCase():null,K=K.toLowerCase()),V&&G&&(V=il(V,G)||V);const se=K!=="/"&&K.endsWith("/")?K.length-1:K.length;let fe=te===K||!o&&te.startsWith(K)&&te.charAt(se)==="/",Te=V!=null&&(V===K||!o&&V.startsWith(K)&&V.charAt(K.length)==="/"),je={isActive:fe,isPending:Te,isTransitioning:X},rt=fe?c:void 0,ze;typeof r=="function"?ze=r(je):ze=[r,fe?"active":null,Te?"pending":null,X?"transitioning":null].filter(Boolean).join(" ");let De=typeof d=="function"?d(je):d;return R.createElement(Qa,bt(Se({},y),{"aria-current":rt,className:ze,ref:p,style:De,to:m,viewTransition:v}),typeof g=="function"?g(je):g)});lp.displayName="NavLink";var ap=R.forwardRef((C,Y)=>{var z=C,{discover:u="render",fetcherKey:c,navigate:s,reloadDocument:r,replace:o,state:d,method:m=Di,action:v,onSubmit:g,relative:y,preventScrollReset:p,viewTransition:N}=z,D=Va(z,["discover","fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","viewTransition"]);let j=sp(),G=op(v,{relative:y}),X=m.toLowerCase()==="get"?"get":"post",K=typeof v=="string"&&Nm.test(v),te=V=>{if(g&&g(V),V.defaultPrevented)return;V.preventDefault();let se=V.nativeEvent.submitter,fe=(se==null?void 0:se.getAttribute("formmethod"))||m;j(se||V.currentTarget,{fetcherKey:c,method:fe,navigate:s,replace:o,state:d,relative:y,preventScrollReset:p,viewTransition:N})};return R.createElement("form",bt(Se({ref:Y,method:X,action:G,onSubmit:r?g:te},D),{"data-discover":!K&&u==="render"?"true":void 0}))});ap.displayName="Form";function np(u){return`${u} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Dm(u){let c=R.useContext(Ka);return _e(c,np(u)),c}function up(u,{target:c,replace:s,state:r,preventScrollReset:o,relative:d,viewTransition:m}={}){let v=Hi(),g=jl(),y=nu(u,{relative:d});return R.useCallback(p=>{if(Uv(p,c)){p.preventDefault();let N=s!==void 0?s:In(g)===In(y);v(u,{replace:N,state:r,preventScrollReset:o,relative:d,viewTransition:m})}},[g,v,y,s,r,c,u,o,d,m])}function ip(u){Mt(typeof URLSearchParams!="undefined","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let c=R.useRef(xs(u)),s=R.useRef(!1),r=jl(),o=R.useMemo(()=>Bv(r.search,s.current?null:c.current),[r.search]),d=Hi(),m=R.useCallback((v,g)=>{const y=xs(typeof v=="function"?v(o):v);s.current=!0,d("?"+y,g)},[d,o]);return[o,m]}var cp=0,rp=()=>`__${String(++cp)}__`;function sp(){let{router:u}=Dm("useSubmit"),{basename:c}=R.useContext(Xt),s=Av();return R.useCallback((d,...m)=>Ze(null,[d,...m],function*(r,o={}){let{action:v,method:g,encType:y,formData:p,body:N}=qv(r,c);if(o.navigate===!1){let D=o.fetcherKey||rp();yield u.fetch(D,s,o.action||v,{preventScrollReset:o.preventScrollReset,formData:p,body:N,formMethod:o.method||g,formEncType:o.encType||y,flushSync:o.flushSync})}else yield u.navigate(o.action||v,{preventScrollReset:o.preventScrollReset,formData:p,body:N,formMethod:o.method||g,formEncType:o.encType||y,replace:o.replace,state:o.state,fromRouteId:s,flushSync:o.flushSync,viewTransition:o.viewTransition})}),[u,c,s])}function op(u,{relative:c}={}){let{basename:s}=R.useContext(Xt),r=R.useContext(cl);_e(r,"useFormAction must be used inside a RouteContext");let[o]=r.matches.slice(-1),d=Se({},nu(u||".",{relative:c})),m=jl();if(u==null){d.search=m.search;let v=new URLSearchParams(d.search),g=v.getAll("index");if(g.some(p=>p==="")){v.delete("index"),g.filter(N=>N).forEach(N=>v.append("index",N));let p=v.toString();d.search=p?`?${p}`:""}}return(!u||u===".")&&o.route.index&&(d.search=d.search?d.search.replace(/^\?/,"?index&"):"?index"),s!=="/"&&(d.pathname=d.pathname==="/"?s:ul([s,d.pathname])),In(d)}function fp(u,c={}){let s=R.useContext(bm);_e(s!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Dm("useViewTransitionState"),o=nu(u,{relative:c.relative});if(!s.isTransitioning)return!1;let d=il(s.currentLocation.pathname,r)||s.currentLocation.pathname,m=il(s.nextLocation.pathname,r)||s.nextLocation.pathname;return ji(o.pathname,m)!=null||ji(o.pathname,d)!=null}[...Jv];const dp=()=>{const u=new Date().getFullYear();return S.jsx("footer",{className:"bg-gray-800 text-gray-300 py-6",children:S.jsx("div",{className:"container mx-auto px-4",children:S.jsxs("div",{className:"flex flex-col md:flex-row justify-between items-center",children:[S.jsxs("div",{className:"mb-4 md:mb-0",children:[S.jsxs("div",{className:"flex items-center",children:[S.jsx("img",{src:"/AXioDB.png",alt:"AxioDB Logo",className:"h-8 w-8 mr-2"}),S.jsx("span",{className:"font-bold text-white text-lg",children:"AxioDB"})]}),S.jsx("p",{className:"text-sm mt-2",children:"High-performance document database"})]}),S.jsxs("div",{className:"text-sm",children:[S.jsxs("div",{className:"flex space-x-6",children:[S.jsx("a",{href:"/docs",className:"hover:text-white transition-colors",children:"Documentation"}),S.jsx("a",{href:"/support",className:"hover:text-white transition-colors",children:"Support"}),S.jsx("a",{href:"/api",className:"hover:text-white transition-colors",children:"API"}),S.jsx("a",{href:"/status",className:"hover:text-white transition-colors",children:"Status"})]}),S.jsxs("p",{className:"mt-4 text-xs text-center md:text-right",children:["© ",u," AxioDB, Inc. All rights reserved."]})]})]})})})};function wm(u,c){return function(){return u.apply(c,arguments)}}const{toString:hp}=Object.prototype,{getPrototypeOf:zs}=Object,{iterator:qi,toStringTag:_m}=Symbol,Yi=(u=>c=>{const s=hp.call(c);return u[s]||(u[s]=s.slice(8,-1).toLowerCase())})(Object.create(null)),jt=u=>(u=u.toLowerCase(),c=>Yi(c)===u),Gi=u=>c=>typeof c===u,{isArray:Ja}=Array,eu=Gi("undefined");function uu(u){return u!==null&&!eu(u)&&u.constructor!==null&&!eu(u.constructor)&&it(u.constructor.isBuffer)&&u.constructor.isBuffer(u)}const Cm=jt("ArrayBuffer");function mp(u){let c;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?c=ArrayBuffer.isView(u):c=u&&u.buffer&&Cm(u.buffer),c}const yp=Gi("string"),it=Gi("function"),Mm=Gi("number"),iu=u=>u!==null&&typeof u=="object",gp=u=>u===!0||u===!1,_i=u=>{if(Yi(u)!=="object")return!1;const c=zs(u);return(c===null||c===Object.prototype||Object.getPrototypeOf(c)===null)&&!(_m in u)&&!(qi in u)},vp=u=>{if(!iu(u)||uu(u))return!1;try{return Object.keys(u).length===0&&Object.getPrototypeOf(u)===Object.prototype}catch(c){return!1}},pp=jt("Date"),bp=jt("File"),Sp=jt("Blob"),xp=jt("FileList"),Ep=u=>iu(u)&&it(u.pipe),Tp=u=>{let c;return u&&(typeof FormData=="function"&&u instanceof FormData||it(u.append)&&((c=Yi(u))==="formdata"||c==="object"&&it(u.toString)&&u.toString()==="[object FormData]"))},Rp=jt("URLSearchParams"),[Ap,Op,Np,Dp]=["ReadableStream","Request","Response","Headers"].map(jt),wp=u=>u.trim?u.trim():u.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function cu(u,c,{allOwnKeys:s=!1}={}){if(u===null||typeof u=="undefined")return;let r,o;if(typeof u!="object"&&(u=[u]),Ja(u))for(r=0,o=u.length;r<o;r++)c.call(null,u[r],r,u);else{if(uu(u))return;const d=s?Object.getOwnPropertyNames(u):Object.keys(u),m=d.length;let v;for(r=0;r<m;r++)v=d[r],c.call(null,u[v],v,u)}}function jm(u,c){if(uu(u))return null;c=c.toLowerCase();const s=Object.keys(u);let r=s.length,o;for(;r-- >0;)if(o=s[r],c===o.toLowerCase())return o;return null}const ea=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:global,zm=u=>!eu(u)&&u!==ea;function Es(){const{caseless:u}=zm(this)&&this||{},c={},s=(r,o)=>{const d=u&&jm(c,o)||o;_i(c[d])&&_i(r)?c[d]=Es(c[d],r):_i(r)?c[d]=Es({},r):Ja(r)?c[d]=r.slice():c[d]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&cu(arguments[r],s);return c}const _p=(u,c,s,{allOwnKeys:r}={})=>(cu(c,(o,d)=>{s&&it(o)?u[d]=wm(o,s):u[d]=o},{allOwnKeys:r}),u),Cp=u=>(u.charCodeAt(0)===65279&&(u=u.slice(1)),u),Mp=(u,c,s,r)=>{u.prototype=Object.create(c.prototype,r),u.prototype.constructor=u,Object.defineProperty(u,"super",{value:c.prototype}),s&&Object.assign(u.prototype,s)},jp=(u,c,s,r)=>{let o,d,m;const v={};if(c=c||{},u==null)return c;do{for(o=Object.getOwnPropertyNames(u),d=o.length;d-- >0;)m=o[d],(!r||r(m,u,c))&&!v[m]&&(c[m]=u[m],v[m]=!0);u=s!==!1&&zs(u)}while(u&&(!s||s(u,c))&&u!==Object.prototype);return c},zp=(u,c,s)=>{u=String(u),(s===void 0||s>u.length)&&(s=u.length),s-=c.length;const r=u.indexOf(c,s);return r!==-1&&r===s},Up=u=>{if(!u)return null;if(Ja(u))return u;let c=u.length;if(!Mm(c))return null;const s=new Array(c);for(;c-- >0;)s[c]=u[c];return s},Bp=(u=>c=>u&&c instanceof u)(typeof Uint8Array!="undefined"&&zs(Uint8Array)),Hp=(u,c)=>{const r=(u&&u[qi]).call(u);let o;for(;(o=r.next())&&!o.done;){const d=o.value;c.call(u,d[0],d[1])}},Lp=(u,c)=>{let s;const r=[];for(;(s=u.exec(c))!==null;)r.push(s);return r},qp=jt("HTMLFormElement"),Yp=u=>u.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(s,r,o){return r.toUpperCase()+o}),Ph=(({hasOwnProperty:u})=>(c,s)=>u.call(c,s))(Object.prototype),Gp=jt("RegExp"),Um=(u,c)=>{const s=Object.getOwnPropertyDescriptors(u),r={};cu(s,(o,d)=>{let m;(m=c(o,d,u))!==!1&&(r[d]=m||o)}),Object.defineProperties(u,r)},Xp=u=>{Um(u,(c,s)=>{if(it(u)&&["arguments","caller","callee"].indexOf(s)!==-1)return!1;const r=u[s];if(it(r)){if(c.enumerable=!1,"writable"in c){c.writable=!1;return}c.set||(c.set=()=>{throw Error("Can not rewrite read-only method '"+s+"'")})}})},Vp=(u,c)=>{const s={},r=o=>{o.forEach(d=>{s[d]=!0})};return Ja(u)?r(u):r(String(u).split(c)),s},Qp=()=>{},Zp=(u,c)=>u!=null&&Number.isFinite(u=+u)?u:c;function Kp(u){return!!(u&&it(u.append)&&u[_m]==="FormData"&&u[qi])}const Jp=u=>{const c=new Array(10),s=(r,o)=>{if(iu(r)){if(c.indexOf(r)>=0)return;if(uu(r))return r;if(!("toJSON"in r)){c[o]=r;const d=Ja(r)?[]:{};return cu(r,(m,v)=>{const g=s(m,o+1);!eu(g)&&(d[v]=g)}),c[o]=void 0,d}}return r};return s(u,0)},kp=jt("AsyncFunction"),$p=u=>u&&(iu(u)||it(u))&&it(u.then)&&it(u.catch),Bm=((u,c)=>u?setImmediate:c?((s,r)=>(ea.addEventListener("message",({source:o,data:d})=>{o===ea&&d===s&&r.length&&r.shift()()},!1),o=>{r.push(o),ea.postMessage(s,"*")}))(`axios@${Math.random()}`,[]):s=>setTimeout(s))(typeof setImmediate=="function",it(ea.postMessage)),Fp=typeof queueMicrotask!="undefined"?queueMicrotask.bind(ea):typeof process!="undefined"&&process.nextTick||Bm,Wp=u=>u!=null&&it(u[qi]),M={isArray:Ja,isArrayBuffer:Cm,isBuffer:uu,isFormData:Tp,isArrayBufferView:mp,isString:yp,isNumber:Mm,isBoolean:gp,isObject:iu,isPlainObject:_i,isEmptyObject:vp,isReadableStream:Ap,isRequest:Op,isResponse:Np,isHeaders:Dp,isUndefined:eu,isDate:pp,isFile:bp,isBlob:Sp,isRegExp:Gp,isFunction:it,isStream:Ep,isURLSearchParams:Rp,isTypedArray:Bp,isFileList:xp,forEach:cu,merge:Es,extend:_p,trim:wp,stripBOM:Cp,inherits:Mp,toFlatObject:jp,kindOf:Yi,kindOfTest:jt,endsWith:zp,toArray:Up,forEachEntry:Hp,matchAll:Lp,isHTMLForm:qp,hasOwnProperty:Ph,hasOwnProp:Ph,reduceDescriptors:Um,freezeMethods:Xp,toObjectSet:Vp,toCamelCase:Yp,noop:Qp,toFiniteNumber:Zp,findKey:jm,global:ea,isContextDefined:zm,isSpecCompliantForm:Kp,toJSONObject:Jp,isAsyncFn:kp,isThenable:$p,setImmediate:Bm,asap:Fp,isIterable:Wp};function ae(u,c,s,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=u,this.name="AxiosError",c&&(this.code=c),s&&(this.config=s),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}M.inherits(ae,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:M.toJSONObject(this.config),code:this.code,status:this.status}}});const Hm=ae.prototype,Lm={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(u=>{Lm[u]={value:u}});Object.defineProperties(ae,Lm);Object.defineProperty(Hm,"isAxiosError",{value:!0});ae.from=(u,c,s,r,o,d)=>{const m=Object.create(Hm);return M.toFlatObject(u,m,function(g){return g!==Error.prototype},v=>v!=="isAxiosError"),ae.call(m,u.message,c,s,r,o),m.cause=u,m.name=u.name,d&&Object.assign(m,d),m};const Pp=null;function Ts(u){return M.isPlainObject(u)||M.isArray(u)}function qm(u){return M.endsWith(u,"[]")?u.slice(0,-2):u}function Ih(u,c,s){return u?u.concat(c).map(function(o,d){return o=qm(o),!s&&d?"["+o+"]":o}).join(s?".":""):c}function Ip(u){return M.isArray(u)&&!u.some(Ts)}const e1=M.toFlatObject(M,{},null,function(c){return/^is[A-Z]/.test(c)});function Xi(u,c,s){if(!M.isObject(u))throw new TypeError("target must be an object");c=c||new FormData,s=M.toFlatObject(s,{metaTokens:!0,dots:!1,indexes:!1},!1,function(z,j){return!M.isUndefined(j[z])});const r=s.metaTokens,o=s.visitor||p,d=s.dots,m=s.indexes,g=(s.Blob||typeof Blob!="undefined"&&Blob)&&M.isSpecCompliantForm(c);if(!M.isFunction(o))throw new TypeError("visitor must be a function");function y(C){if(C===null)return"";if(M.isDate(C))return C.toISOString();if(M.isBoolean(C))return C.toString();if(!g&&M.isBlob(C))throw new ae("Blob is not supported. Use a Buffer instead.");return M.isArrayBuffer(C)||M.isTypedArray(C)?g&&typeof Blob=="function"?new Blob([C]):Buffer.from(C):C}function p(C,z,j){let G=C;if(C&&!j&&typeof C=="object"){if(M.endsWith(z,"{}"))z=r?z:z.slice(0,-2),C=JSON.stringify(C);else if(M.isArray(C)&&Ip(C)||(M.isFileList(C)||M.endsWith(z,"[]"))&&(G=M.toArray(C)))return z=qm(z),G.forEach(function(K,te){!(M.isUndefined(K)||K===null)&&c.append(m===!0?Ih([z],te,d):m===null?z:z+"[]",y(K))}),!1}return Ts(C)?!0:(c.append(Ih(j,z,d),y(C)),!1)}const N=[],D=Object.assign(e1,{defaultVisitor:p,convertValue:y,isVisitable:Ts});function Y(C,z){if(!M.isUndefined(C)){if(N.indexOf(C)!==-1)throw Error("Circular reference detected in "+z.join("."));N.push(C),M.forEach(C,function(G,X){(!(M.isUndefined(G)||G===null)&&o.call(c,G,M.isString(X)?X.trim():X,z,D))===!0&&Y(G,z?z.concat(X):[X])}),N.pop()}}if(!M.isObject(u))throw new TypeError("data must be an object");return Y(u),c}function em(u){const c={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(u).replace(/[!'()~]|%20|%00/g,function(r){return c[r]})}function Us(u,c){this._pairs=[],u&&Xi(u,this,c)}const Ym=Us.prototype;Ym.append=function(c,s){this._pairs.push([c,s])};Ym.toString=function(c){const s=c?function(r){return c.call(this,r,em)}:em;return this._pairs.map(function(o){return s(o[0])+"="+s(o[1])},"").join("&")};function t1(u){return encodeURIComponent(u).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Gm(u,c,s){if(!c)return u;const r=s&&s.encode||t1;M.isFunction(s)&&(s={serialize:s});const o=s&&s.serialize;let d;if(o?d=o(c,s):d=M.isURLSearchParams(c)?c.toString():new Us(c,s).toString(r),d){const m=u.indexOf("#");m!==-1&&(u=u.slice(0,m)),u+=(u.indexOf("?")===-1?"?":"&")+d}return u}class tm{constructor(){this.handlers=[]}use(c,s,r){return this.handlers.push({fulfilled:c,rejected:s,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(c){this.handlers[c]&&(this.handlers[c]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(c){M.forEach(this.handlers,function(r){r!==null&&c(r)})}}const Xm={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},l1=typeof URLSearchParams!="undefined"?URLSearchParams:Us,a1=typeof FormData!="undefined"?FormData:null,n1=typeof Blob!="undefined"?Blob:null,u1={isBrowser:!0,classes:{URLSearchParams:l1,FormData:a1,Blob:n1},protocols:["http","https","file","blob","url","data"]},Bs=typeof window!="undefined"&&typeof document!="undefined",Rs=typeof navigator=="object"&&navigator||void 0,i1=Bs&&(!Rs||["ReactNative","NativeScript","NS"].indexOf(Rs.product)<0),c1=typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",r1=Bs&&window.location.href||"http://localhost",s1=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Bs,hasStandardBrowserEnv:i1,hasStandardBrowserWebWorkerEnv:c1,navigator:Rs,origin:r1},Symbol.toStringTag,{value:"Module"})),Ie=Se(Se({},s1),u1);function o1(u,c){return Xi(u,new Ie.classes.URLSearchParams,Se({visitor:function(s,r,o,d){return Ie.isNode&&M.isBuffer(s)?(this.append(r,s.toString("base64")),!1):d.defaultVisitor.apply(this,arguments)}},c))}function f1(u){return M.matchAll(/\w+|\[(\w*)]/g,u).map(c=>c[0]==="[]"?"":c[1]||c[0])}function d1(u){const c={},s=Object.keys(u);let r;const o=s.length;let d;for(r=0;r<o;r++)d=s[r],c[d]=u[d];return c}function Vm(u){function c(s,r,o,d){let m=s[d++];if(m==="__proto__")return!0;const v=Number.isFinite(+m),g=d>=s.length;return m=!m&&M.isArray(o)?o.length:m,g?(M.hasOwnProp(o,m)?o[m]=[o[m],r]:o[m]=r,!v):((!o[m]||!M.isObject(o[m]))&&(o[m]=[]),c(s,r,o[m],d)&&M.isArray(o[m])&&(o[m]=d1(o[m])),!v)}if(M.isFormData(u)&&M.isFunction(u.entries)){const s={};return M.forEachEntry(u,(r,o)=>{c(f1(r),o,s,0)}),s}return null}function h1(u,c,s){if(M.isString(u))try{return(c||JSON.parse)(u),M.trim(u)}catch(r){if(r.name!=="SyntaxError")throw r}return(s||JSON.stringify)(u)}const ru={transitional:Xm,adapter:["xhr","http","fetch"],transformRequest:[function(c,s){const r=s.getContentType()||"",o=r.indexOf("application/json")>-1,d=M.isObject(c);if(d&&M.isHTMLForm(c)&&(c=new FormData(c)),M.isFormData(c))return o?JSON.stringify(Vm(c)):c;if(M.isArrayBuffer(c)||M.isBuffer(c)||M.isStream(c)||M.isFile(c)||M.isBlob(c)||M.isReadableStream(c))return c;if(M.isArrayBufferView(c))return c.buffer;if(M.isURLSearchParams(c))return s.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),c.toString();let v;if(d){if(r.indexOf("application/x-www-form-urlencoded")>-1)return o1(c,this.formSerializer).toString();if((v=M.isFileList(c))||r.indexOf("multipart/form-data")>-1){const g=this.env&&this.env.FormData;return Xi(v?{"files[]":c}:c,g&&new g,this.formSerializer)}}return d||o?(s.setContentType("application/json",!1),h1(c)):c}],transformResponse:[function(c){const s=this.transitional||ru.transitional,r=s&&s.forcedJSONParsing,o=this.responseType==="json";if(M.isResponse(c)||M.isReadableStream(c))return c;if(c&&M.isString(c)&&(r&&!this.responseType||o)){const m=!(s&&s.silentJSONParsing)&&o;try{return JSON.parse(c)}catch(v){if(m)throw v.name==="SyntaxError"?ae.from(v,ae.ERR_BAD_RESPONSE,this,null,this.response):v}}return c}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ie.classes.FormData,Blob:Ie.classes.Blob},validateStatus:function(c){return c>=200&&c<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};M.forEach(["delete","get","head","post","put","patch"],u=>{ru.headers[u]={}});const m1=M.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),y1=u=>{const c={};let s,r,o;return u&&u.split(`
|
|
52
|
-
`).forEach(function(m){o=m.indexOf(":"),s=m.substring(0,o).trim().toLowerCase(),r=m.substring(o+1).trim(),!(!s||c[s]&&m1[s])&&(s==="set-cookie"?c[s]?c[s].push(r):c[s]=[r]:c[s]=c[s]?c[s]+", "+r:r)}),c},lm=Symbol("internals");function Pn(u){return u&&String(u).trim().toLowerCase()}function Ci(u){return u===!1||u==null?u:M.isArray(u)?u.map(Ci):String(u)}function g1(u){const c=Object.create(null),s=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=s.exec(u);)c[r[1]]=r[2];return c}const v1=u=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(u.trim());function gs(u,c,s,r,o){if(M.isFunction(r))return r.call(this,c,s);if(o&&(c=s),!!M.isString(c)){if(M.isString(r))return c.indexOf(r)!==-1;if(M.isRegExp(r))return r.test(c)}}function p1(u){return u.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(c,s,r)=>s.toUpperCase()+r)}function b1(u,c){const s=M.toCamelCase(" "+c);["get","set","has"].forEach(r=>{Object.defineProperty(u,r+s,{value:function(o,d,m){return this[r].call(this,c,o,d,m)},configurable:!0})})}let ct=class{constructor(c){c&&this.set(c)}set(c,s,r){const o=this;function d(v,g,y){const p=Pn(g);if(!p)throw new Error("header name must be a non-empty string");const N=M.findKey(o,p);(!N||o[N]===void 0||y===!0||y===void 0&&o[N]!==!1)&&(o[N||g]=Ci(v))}const m=(v,g)=>M.forEach(v,(y,p)=>d(y,p,g));if(M.isPlainObject(c)||c instanceof this.constructor)m(c,s);else if(M.isString(c)&&(c=c.trim())&&!v1(c))m(y1(c),s);else if(M.isObject(c)&&M.isIterable(c)){let v={},g,y;for(const p of c){if(!M.isArray(p))throw TypeError("Object iterator must return a key-value pair");v[y=p[0]]=(g=v[y])?M.isArray(g)?[...g,p[1]]:[g,p[1]]:p[1]}m(v,s)}else c!=null&&d(s,c,r);return this}get(c,s){if(c=Pn(c),c){const r=M.findKey(this,c);if(r){const o=this[r];if(!s)return o;if(s===!0)return g1(o);if(M.isFunction(s))return s.call(this,o,r);if(M.isRegExp(s))return s.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(c,s){if(c=Pn(c),c){const r=M.findKey(this,c);return!!(r&&this[r]!==void 0&&(!s||gs(this,this[r],r,s)))}return!1}delete(c,s){const r=this;let o=!1;function d(m){if(m=Pn(m),m){const v=M.findKey(r,m);v&&(!s||gs(r,r[v],v,s))&&(delete r[v],o=!0)}}return M.isArray(c)?c.forEach(d):d(c),o}clear(c){const s=Object.keys(this);let r=s.length,o=!1;for(;r--;){const d=s[r];(!c||gs(this,this[d],d,c,!0))&&(delete this[d],o=!0)}return o}normalize(c){const s=this,r={};return M.forEach(this,(o,d)=>{const m=M.findKey(r,d);if(m){s[m]=Ci(o),delete s[d];return}const v=c?p1(d):String(d).trim();v!==d&&delete s[d],s[v]=Ci(o),r[v]=!0}),this}concat(...c){return this.constructor.concat(this,...c)}toJSON(c){const s=Object.create(null);return M.forEach(this,(r,o)=>{r!=null&&r!==!1&&(s[o]=c&&M.isArray(r)?r.join(", "):r)}),s}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([c,s])=>c+": "+s).join(`
|
|
53
|
-
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(c){return c instanceof this?c:new this(c)}static concat(c,...s){const r=new this(c);return s.forEach(o=>r.set(o)),r}static accessor(c){const r=(this[lm]=this[lm]={accessors:{}}).accessors,o=this.prototype;function d(m){const v=Pn(m);r[v]||(b1(o,m),r[v]=!0)}return M.isArray(c)?c.forEach(d):d(c),this}};ct.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);M.reduceDescriptors(ct.prototype,({value:u},c)=>{let s=c[0].toUpperCase()+c.slice(1);return{get:()=>u,set(r){this[s]=r}}});M.freezeMethods(ct);function vs(u,c){const s=this||ru,r=c||s,o=ct.from(r.headers);let d=r.data;return M.forEach(u,function(v){d=v.call(s,d,o.normalize(),c?c.status:void 0)}),o.normalize(),d}function Qm(u){return!!(u&&u.__CANCEL__)}function ka(u,c,s){ae.call(this,u==null?"canceled":u,ae.ERR_CANCELED,c,s),this.name="CanceledError"}M.inherits(ka,ae,{__CANCEL__:!0});function Zm(u,c,s){const r=s.config.validateStatus;!s.status||!r||r(s.status)?u(s):c(new ae("Request failed with status code "+s.status,[ae.ERR_BAD_REQUEST,ae.ERR_BAD_RESPONSE][Math.floor(s.status/100)-4],s.config,s.request,s))}function S1(u){const c=/^([-+\w]{1,25})(:?\/\/|:)/.exec(u);return c&&c[1]||""}function x1(u,c){u=u||10;const s=new Array(u),r=new Array(u);let o=0,d=0,m;return c=c!==void 0?c:1e3,function(g){const y=Date.now(),p=r[d];m||(m=y),s[o]=g,r[o]=y;let N=d,D=0;for(;N!==o;)D+=s[N++],N=N%u;if(o=(o+1)%u,o===d&&(d=(d+1)%u),y-m<c)return;const Y=p&&y-p;return Y?Math.round(D*1e3/Y):void 0}}function E1(u,c){let s=0,r=1e3/c,o,d;const m=(y,p=Date.now())=>{s=p,o=null,d&&(clearTimeout(d),d=null),u(...y)};return[(...y)=>{const p=Date.now(),N=p-s;N>=r?m(y,p):(o=y,d||(d=setTimeout(()=>{d=null,m(o)},r-N)))},()=>o&&m(o)]}const zi=(u,c,s=3)=>{let r=0;const o=x1(50,250);return E1(d=>{const m=d.loaded,v=d.lengthComputable?d.total:void 0,g=m-r,y=o(g),p=m<=v;r=m;const N={loaded:m,total:v,progress:v?m/v:void 0,bytes:g,rate:y||void 0,estimated:y&&v&&p?(v-m)/y:void 0,event:d,lengthComputable:v!=null,[c?"download":"upload"]:!0};u(N)},s)},am=(u,c)=>{const s=u!=null;return[r=>c[0]({lengthComputable:s,total:u,loaded:r}),c[1]]},nm=u=>(...c)=>M.asap(()=>u(...c)),T1=Ie.hasStandardBrowserEnv?((u,c)=>s=>(s=new URL(s,Ie.origin),u.protocol===s.protocol&&u.host===s.host&&(c||u.port===s.port)))(new URL(Ie.origin),Ie.navigator&&/(msie|trident)/i.test(Ie.navigator.userAgent)):()=>!0,R1=Ie.hasStandardBrowserEnv?{write(u,c,s,r,o,d){const m=[u+"="+encodeURIComponent(c)];M.isNumber(s)&&m.push("expires="+new Date(s).toGMTString()),M.isString(r)&&m.push("path="+r),M.isString(o)&&m.push("domain="+o),d===!0&&m.push("secure"),document.cookie=m.join("; ")},read(u){const c=document.cookie.match(new RegExp("(^|;\\s*)("+u+")=([^;]*)"));return c?decodeURIComponent(c[3]):null},remove(u){this.write(u,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function A1(u){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(u)}function O1(u,c){return c?u.replace(/\/?\/$/,"")+"/"+c.replace(/^\/+/,""):u}function Km(u,c,s){let r=!A1(c);return u&&(r||s==!1)?O1(u,c):c}const um=u=>u instanceof ct?Se({},u):u;function la(u,c){c=c||{};const s={};function r(y,p,N,D){return M.isPlainObject(y)&&M.isPlainObject(p)?M.merge.call({caseless:D},y,p):M.isPlainObject(p)?M.merge({},p):M.isArray(p)?p.slice():p}function o(y,p,N,D){if(M.isUndefined(p)){if(!M.isUndefined(y))return r(void 0,y,N,D)}else return r(y,p,N,D)}function d(y,p){if(!M.isUndefined(p))return r(void 0,p)}function m(y,p){if(M.isUndefined(p)){if(!M.isUndefined(y))return r(void 0,y)}else return r(void 0,p)}function v(y,p,N){if(N in c)return r(y,p);if(N in u)return r(void 0,y)}const g={url:d,method:d,data:d,baseURL:m,transformRequest:m,transformResponse:m,paramsSerializer:m,timeout:m,timeoutMessage:m,withCredentials:m,withXSRFToken:m,adapter:m,responseType:m,xsrfCookieName:m,xsrfHeaderName:m,onUploadProgress:m,onDownloadProgress:m,decompress:m,maxContentLength:m,maxBodyLength:m,beforeRedirect:m,transport:m,httpAgent:m,httpsAgent:m,cancelToken:m,socketPath:m,responseEncoding:m,validateStatus:v,headers:(y,p,N)=>o(um(y),um(p),N,!0)};return M.forEach(Object.keys(Se(Se({},u),c)),function(p){const N=g[p]||o,D=N(u[p],c[p],p);M.isUndefined(D)&&N!==v||(s[p]=D)}),s}const Jm=u=>{const c=la({},u);let{data:s,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:d,headers:m,auth:v}=c;c.headers=m=ct.from(m),c.url=Gm(Km(c.baseURL,c.url,c.allowAbsoluteUrls),u.params,u.paramsSerializer),v&&m.set("Authorization","Basic "+btoa((v.username||"")+":"+(v.password?unescape(encodeURIComponent(v.password)):"")));let g;if(M.isFormData(s)){if(Ie.hasStandardBrowserEnv||Ie.hasStandardBrowserWebWorkerEnv)m.setContentType(void 0);else if((g=m.getContentType())!==!1){const[y,...p]=g?g.split(";").map(N=>N.trim()).filter(Boolean):[];m.setContentType([y||"multipart/form-data",...p].join("; "))}}if(Ie.hasStandardBrowserEnv&&(r&&M.isFunction(r)&&(r=r(c)),r||r!==!1&&T1(c.url))){const y=o&&d&&R1.read(d);y&&m.set(o,y)}return c},N1=typeof XMLHttpRequest!="undefined",D1=N1&&function(u){return new Promise(function(s,r){const o=Jm(u);let d=o.data;const m=ct.from(o.headers).normalize();let{responseType:v,onUploadProgress:g,onDownloadProgress:y}=o,p,N,D,Y,C;function z(){Y&&Y(),C&&C(),o.cancelToken&&o.cancelToken.unsubscribe(p),o.signal&&o.signal.removeEventListener("abort",p)}let j=new XMLHttpRequest;j.open(o.method.toUpperCase(),o.url,!0),j.timeout=o.timeout;function G(){if(!j)return;const K=ct.from("getAllResponseHeaders"in j&&j.getAllResponseHeaders()),V={data:!v||v==="text"||v==="json"?j.responseText:j.response,status:j.status,statusText:j.statusText,headers:K,config:u,request:j};Zm(function(fe){s(fe),z()},function(fe){r(fe),z()},V),j=null}"onloadend"in j?j.onloadend=G:j.onreadystatechange=function(){!j||j.readyState!==4||j.status===0&&!(j.responseURL&&j.responseURL.indexOf("file:")===0)||setTimeout(G)},j.onabort=function(){j&&(r(new ae("Request aborted",ae.ECONNABORTED,u,j)),j=null)},j.onerror=function(){r(new ae("Network Error",ae.ERR_NETWORK,u,j)),j=null},j.ontimeout=function(){let te=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const V=o.transitional||Xm;o.timeoutErrorMessage&&(te=o.timeoutErrorMessage),r(new ae(te,V.clarifyTimeoutError?ae.ETIMEDOUT:ae.ECONNABORTED,u,j)),j=null},d===void 0&&m.setContentType(null),"setRequestHeader"in j&&M.forEach(m.toJSON(),function(te,V){j.setRequestHeader(V,te)}),M.isUndefined(o.withCredentials)||(j.withCredentials=!!o.withCredentials),v&&v!=="json"&&(j.responseType=o.responseType),y&&([D,C]=zi(y,!0),j.addEventListener("progress",D)),g&&j.upload&&([N,Y]=zi(g),j.upload.addEventListener("progress",N),j.upload.addEventListener("loadend",Y)),(o.cancelToken||o.signal)&&(p=K=>{j&&(r(!K||K.type?new ka(null,u,j):K),j.abort(),j=null)},o.cancelToken&&o.cancelToken.subscribe(p),o.signal&&(o.signal.aborted?p():o.signal.addEventListener("abort",p)));const X=S1(o.url);if(X&&Ie.protocols.indexOf(X)===-1){r(new ae("Unsupported protocol "+X+":",ae.ERR_BAD_REQUEST,u));return}j.send(d||null)})},w1=(u,c)=>{const{length:s}=u=u?u.filter(Boolean):[];if(c||s){let r=new AbortController,o;const d=function(y){if(!o){o=!0,v();const p=y instanceof Error?y:this.reason;r.abort(p instanceof ae?p:new ka(p instanceof Error?p.message:p))}};let m=c&&setTimeout(()=>{m=null,d(new ae(`timeout ${c} of ms exceeded`,ae.ETIMEDOUT))},c);const v=()=>{u&&(m&&clearTimeout(m),m=null,u.forEach(y=>{y.unsubscribe?y.unsubscribe(d):y.removeEventListener("abort",d)}),u=null)};u.forEach(y=>y.addEventListener("abort",d));const{signal:g}=r;return g.unsubscribe=()=>M.asap(v),g}},_1=function*(u,c){let s=u.byteLength;if(s<c){yield u;return}let r=0,o;for(;r<s;)o=r+c,yield u.slice(r,o),r=o},C1=function(u,c){return is(this,null,function*(){try{for(var s=zh(M1(u)),r,o,d;r=!(o=yield new Il(s.next())).done;r=!1){const m=o.value;yield*cs(_1(m,c))}}catch(o){d=[o]}finally{try{r&&(o=s.return)&&(yield new Il(o.call(s)))}finally{if(d)throw d[0]}}})},M1=function(u){return is(this,null,function*(){if(u[Symbol.asyncIterator]){yield*cs(u);return}const c=u.getReader();try{for(;;){const{done:s,value:r}=yield new Il(c.read());if(s)break;yield r}}finally{yield new Il(c.cancel())}})},im=(u,c,s,r)=>{const o=C1(u,c);let d=0,m,v=y=>{m||(m=!0,r&&r(y))};return new ReadableStream({pull(y){return Ze(this,null,function*(){try{const{done:p,value:N}=yield o.next();if(p){v(),y.close();return}let D=N.byteLength;if(s){let Y=d+=D;s(Y)}y.enqueue(new Uint8Array(N))}catch(p){throw v(p),p}})},cancel(y){return v(y),o.return()}},{highWaterMark:2})},Vi=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",km=Vi&&typeof ReadableStream=="function",j1=Vi&&(typeof TextEncoder=="function"?(u=>c=>u.encode(c))(new TextEncoder):u=>Ze(null,null,function*(){return new Uint8Array(yield new Response(u).arrayBuffer())})),$m=(u,...c)=>{try{return!!u(...c)}catch(s){return!1}},z1=km&&$m(()=>{let u=!1;const c=new Request(Ie.origin,{body:new ReadableStream,method:"POST",get duplex(){return u=!0,"half"}}).headers.has("Content-Type");return u&&!c}),cm=64*1024,As=km&&$m(()=>M.isReadableStream(new Response("").body)),Ui={stream:As&&(u=>u.body)};Vi&&(u=>{["text","arrayBuffer","blob","formData","stream"].forEach(c=>{!Ui[c]&&(Ui[c]=M.isFunction(u[c])?s=>s[c]():(s,r)=>{throw new ae(`Response type '${c}' is not supported`,ae.ERR_NOT_SUPPORT,r)})})})(new Response);const U1=u=>Ze(null,null,function*(){if(u==null)return 0;if(M.isBlob(u))return u.size;if(M.isSpecCompliantForm(u))return(yield new Request(Ie.origin,{method:"POST",body:u}).arrayBuffer()).byteLength;if(M.isArrayBufferView(u)||M.isArrayBuffer(u))return u.byteLength;if(M.isURLSearchParams(u)&&(u=u+""),M.isString(u))return(yield j1(u)).byteLength}),B1=(u,c)=>Ze(null,null,function*(){const s=M.toFiniteNumber(u.getContentLength());return s==null?U1(c):s}),H1=Vi&&(u=>Ze(null,null,function*(){let{url:c,method:s,data:r,signal:o,cancelToken:d,timeout:m,onDownloadProgress:v,onUploadProgress:g,responseType:y,headers:p,withCredentials:N="same-origin",fetchOptions:D}=Jm(u);y=y?(y+"").toLowerCase():"text";let Y=w1([o,d&&d.toAbortSignal()],m),C;const z=Y&&Y.unsubscribe&&(()=>{Y.unsubscribe()});let j;try{if(g&&z1&&s!=="get"&&s!=="head"&&(j=yield B1(p,r))!==0){let V=new Request(c,{method:"POST",body:r,duplex:"half"}),se;if(M.isFormData(r)&&(se=V.headers.get("content-type"))&&p.setContentType(se),V.body){const[fe,Te]=am(j,zi(nm(g)));r=im(V.body,cm,fe,Te)}}M.isString(N)||(N=N?"include":"omit");const G="credentials"in Request.prototype;C=new Request(c,bt(Se({},D),{signal:Y,method:s.toUpperCase(),headers:p.normalize().toJSON(),body:r,duplex:"half",credentials:G?N:void 0}));let X=yield fetch(C,D);const K=As&&(y==="stream"||y==="response");if(As&&(v||K&&z)){const V={};["status","statusText","headers"].forEach(je=>{V[je]=X[je]});const se=M.toFiniteNumber(X.headers.get("content-length")),[fe,Te]=v&&am(se,zi(nm(v),!0))||[];X=new Response(im(X.body,cm,fe,()=>{Te&&Te(),z&&z()}),V)}y=y||"text";let te=yield Ui[M.findKey(Ui,y)||"text"](X,u);return!K&&z&&z(),yield new Promise((V,se)=>{Zm(V,se,{data:te,headers:ct.from(X.headers),status:X.status,statusText:X.statusText,config:u,request:C})})}catch(G){throw z&&z(),G&&G.name==="TypeError"&&/Load failed|fetch/i.test(G.message)?Object.assign(new ae("Network Error",ae.ERR_NETWORK,u,C),{cause:G.cause||G}):ae.from(G,G&&G.code,u,C)}})),Os={http:Pp,xhr:D1,fetch:H1};M.forEach(Os,(u,c)=>{if(u){try{Object.defineProperty(u,"name",{value:c})}catch(s){}Object.defineProperty(u,"adapterName",{value:c})}});const rm=u=>`- ${u}`,L1=u=>M.isFunction(u)||u===null||u===!1,Fm={getAdapter:u=>{u=M.isArray(u)?u:[u];const{length:c}=u;let s,r;const o={};for(let d=0;d<c;d++){s=u[d];let m;if(r=s,!L1(s)&&(r=Os[(m=String(s)).toLowerCase()],r===void 0))throw new ae(`Unknown adapter '${m}'`);if(r)break;o[m||"#"+d]=r}if(!r){const d=Object.entries(o).map(([v,g])=>`adapter ${v} `+(g===!1?"is not supported by the environment":"is not available in the build"));let m=c?d.length>1?`since :
|
|
54
|
-
`+d.map(rm).join(`
|
|
55
|
-
`):" "+rm(d[0]):"as no adapter specified";throw new ae("There is no suitable adapter to dispatch the request "+m,"ERR_NOT_SUPPORT")}return r},adapters:Os};function ps(u){if(u.cancelToken&&u.cancelToken.throwIfRequested(),u.signal&&u.signal.aborted)throw new ka(null,u)}function sm(u){return ps(u),u.headers=ct.from(u.headers),u.data=vs.call(u,u.transformRequest),["post","put","patch"].indexOf(u.method)!==-1&&u.headers.setContentType("application/x-www-form-urlencoded",!1),Fm.getAdapter(u.adapter||ru.adapter)(u).then(function(r){return ps(u),r.data=vs.call(u,u.transformResponse,r),r.headers=ct.from(r.headers),r},function(r){return Qm(r)||(ps(u),r&&r.response&&(r.response.data=vs.call(u,u.transformResponse,r.response),r.response.headers=ct.from(r.response.headers))),Promise.reject(r)})}const Wm="1.11.0",Qi={};["object","boolean","number","function","string","symbol"].forEach((u,c)=>{Qi[u]=function(r){return typeof r===u||"a"+(c<1?"n ":" ")+u}});const om={};Qi.transitional=function(c,s,r){function o(d,m){return"[Axios v"+Wm+"] Transitional option '"+d+"'"+m+(r?". "+r:"")}return(d,m,v)=>{if(c===!1)throw new ae(o(m," has been removed"+(s?" in "+s:"")),ae.ERR_DEPRECATED);return s&&!om[m]&&(om[m]=!0,console.warn(o(m," has been deprecated since v"+s+" and will be removed in the near future"))),c?c(d,m,v):!0}};Qi.spelling=function(c){return(s,r)=>(console.warn(`${r} is likely a misspelling of ${c}`),!0)};function q1(u,c,s){if(typeof u!="object")throw new ae("options must be an object",ae.ERR_BAD_OPTION_VALUE);const r=Object.keys(u);let o=r.length;for(;o-- >0;){const d=r[o],m=c[d];if(m){const v=u[d],g=v===void 0||m(v,d,u);if(g!==!0)throw new ae("option "+d+" must be "+g,ae.ERR_BAD_OPTION_VALUE);continue}if(s!==!0)throw new ae("Unknown option "+d,ae.ERR_BAD_OPTION)}}const Mi={assertOptions:q1,validators:Qi},Gt=Mi.validators;let ta=class{constructor(c){this.defaults=c||{},this.interceptors={request:new tm,response:new tm}}request(c,s){return Ze(this,null,function*(){try{return yield this._request(c,s)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const d=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?d&&!String(r.stack).endsWith(d.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
|
56
|
-
`+d):r.stack=d}catch(m){}}throw r}})}_request(c,s){typeof c=="string"?(s=s||{},s.url=c):s=c||{},s=la(this.defaults,s);const{transitional:r,paramsSerializer:o,headers:d}=s;r!==void 0&&Mi.assertOptions(r,{silentJSONParsing:Gt.transitional(Gt.boolean),forcedJSONParsing:Gt.transitional(Gt.boolean),clarifyTimeoutError:Gt.transitional(Gt.boolean)},!1),o!=null&&(M.isFunction(o)?s.paramsSerializer={serialize:o}:Mi.assertOptions(o,{encode:Gt.function,serialize:Gt.function},!0)),s.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?s.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:s.allowAbsoluteUrls=!0),Mi.assertOptions(s,{baseUrl:Gt.spelling("baseURL"),withXsrfToken:Gt.spelling("withXSRFToken")},!0),s.method=(s.method||this.defaults.method||"get").toLowerCase();let m=d&&M.merge(d.common,d[s.method]);d&&M.forEach(["delete","get","head","post","put","patch","common"],C=>{delete d[C]}),s.headers=ct.concat(m,d);const v=[];let g=!0;this.interceptors.request.forEach(function(z){typeof z.runWhen=="function"&&z.runWhen(s)===!1||(g=g&&z.synchronous,v.unshift(z.fulfilled,z.rejected))});const y=[];this.interceptors.response.forEach(function(z){y.push(z.fulfilled,z.rejected)});let p,N=0,D;if(!g){const C=[sm.bind(this),void 0];for(C.unshift(...v),C.push(...y),D=C.length,p=Promise.resolve(s);N<D;)p=p.then(C[N++],C[N++]);return p}D=v.length;let Y=s;for(N=0;N<D;){const C=v[N++],z=v[N++];try{Y=C(Y)}catch(j){z.call(this,j);break}}try{p=sm.call(this,Y)}catch(C){return Promise.reject(C)}for(N=0,D=y.length;N<D;)p=p.then(y[N++],y[N++]);return p}getUri(c){c=la(this.defaults,c);const s=Km(c.baseURL,c.url,c.allowAbsoluteUrls);return Gm(s,c.params,c.paramsSerializer)}};M.forEach(["delete","get","head","options"],function(c){ta.prototype[c]=function(s,r){return this.request(la(r||{},{method:c,url:s,data:(r||{}).data}))}});M.forEach(["post","put","patch"],function(c){function s(r){return function(d,m,v){return this.request(la(v||{},{method:c,headers:r?{"Content-Type":"multipart/form-data"}:{},url:d,data:m}))}}ta.prototype[c]=s(),ta.prototype[c+"Form"]=s(!0)});let Y1=class Pm{constructor(c){if(typeof c!="function")throw new TypeError("executor must be a function.");let s;this.promise=new Promise(function(d){s=d});const r=this;this.promise.then(o=>{if(!r._listeners)return;let d=r._listeners.length;for(;d-- >0;)r._listeners[d](o);r._listeners=null}),this.promise.then=o=>{let d;const m=new Promise(v=>{r.subscribe(v),d=v}).then(o);return m.cancel=function(){r.unsubscribe(d)},m},c(function(d,m,v){r.reason||(r.reason=new ka(d,m,v),s(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(c){if(this.reason){c(this.reason);return}this._listeners?this._listeners.push(c):this._listeners=[c]}unsubscribe(c){if(!this._listeners)return;const s=this._listeners.indexOf(c);s!==-1&&this._listeners.splice(s,1)}toAbortSignal(){const c=new AbortController,s=r=>{c.abort(r)};return this.subscribe(s),c.signal.unsubscribe=()=>this.unsubscribe(s),c.signal}static source(){let c;return{token:new Pm(function(o){c=o}),cancel:c}}};function G1(u){return function(s){return u.apply(null,s)}}function X1(u){return M.isObject(u)&&u.isAxiosError===!0}const Ns={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ns).forEach(([u,c])=>{Ns[c]=u});function Im(u){const c=new ta(u),s=wm(ta.prototype.request,c);return M.extend(s,ta.prototype,c,{allOwnKeys:!0}),M.extend(s,c,null,{allOwnKeys:!0}),s.create=function(o){return Im(la(u,o))},s}const Ae=Im(ru);Ae.Axios=ta;Ae.CanceledError=ka;Ae.CancelToken=Y1;Ae.isCancel=Qm;Ae.VERSION=Wm;Ae.toFormData=Xi;Ae.AxiosError=ae;Ae.Cancel=Ae.CanceledError;Ae.all=function(c){return Promise.all(c)};Ae.spread=G1;Ae.isAxiosError=X1;Ae.mergeConfig=la;Ae.AxiosHeaders=ct;Ae.formToJSON=u=>Vm(M.isHTMLForm(u)?new FormData(u):u);Ae.getAdapter=Fm.getAdapter;Ae.HttpStatusCode=Ns;Ae.default=Ae;const{Axios:Ab,AxiosError:Ob,CanceledError:Nb,isCancel:Db,CancelToken:wb,VERSION:_b,all:Cb,Cancel:Mb,isAxiosError:jb,spread:zb,toFormData:Ub,AxiosHeaders:Bb,HttpStatusCode:Hb,formToJSON:Lb,getAdapter:qb,mergeConfig:Yb}=Ae,fm=u=>{let c;const s=new Set,r=(y,p)=>{const N=typeof y=="function"?y(c):y;if(!Object.is(N,c)){const D=c;c=(p!=null?p:typeof N!="object"||N===null)?N:Object.assign({},c,N),s.forEach(Y=>Y(c,D))}},o=()=>c,v={setState:r,getState:o,getInitialState:()=>g,subscribe:y=>(s.add(y),()=>s.delete(y))},g=c=u(r,o,v);return v},V1=u=>u?fm(u):fm,Q1=u=>u;function Z1(u,c=Q1){const s=qh.useSyncExternalStore(u.subscribe,()=>c(u.getState()),()=>c(u.getInitialState()));return qh.useDebugValue(s),s}const dm=u=>{const c=V1(u),s=r=>Z1(c,r);return Object.assign(s,c),s},e0=u=>u?dm(u):dm,su=window.location.origin,tu=e0(u=>({Rootname:"",setRootname:c=>u({Rootname:c})})),$a=e0(u=>({TransactionKey:"",setTransactionKey:c=>u({TransactionKey:c}),loadKey:()=>Ze(null,null,function*(){yield Ae.get(`${su}/api/get-token`).then(c=>{var s,r;c.status===200&&u({TransactionKey:(r=(s=c.data)==null?void 0:s.data)==null?void 0:r.originSessionKey})}).catch(c=>{console.error("Error fetching transaction key:",c)})})})),K1=()=>{const[u,c]=R.useState(!1),{Rootname:s}=tu(r=>r);return S.jsx("header",{className:"bg-gradient-to-r from-blue-700 to-indigo-800 shadow-lg",children:S.jsx("nav",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:S.jsx("div",{className:"flex items-center justify-between h-16",children:S.jsxs("div",{className:"flex items-center",children:[S.jsx("div",{className:"flex-shrink-0",children:S.jsxs(Qa,{to:"/",className:"flex items-center",children:[S.jsx("img",{src:"/AXioDB.png",alt:"AxioDB Logo",className:"h-9 w-9"}),S.jsxs("span",{className:"ml-2 text-white font-bold text-xl tracking-tight",children:[s," Admin Hub"]})]})}),S.jsx("div",{className:"hidden md:block ml-10",children:S.jsxs("div",{className:"flex space-x-4",children:[S.jsx(Qa,{to:"/",className:"text-blue-100 hover:bg-blue-600 hover:text-white px-3 py-2 rounded-md text-sm font-medium transition-colors",children:"Dashboard"}),S.jsx(Qa,{to:"/databases",className:"text-blue-100 hover:bg-blue-600 hover:text-white px-3 py-2 rounded-md text-sm font-medium transition-colors",children:"Databases"}),S.jsx(Qa,{to:"/queries",className:"text-blue-100 hover:bg-blue-600 hover:text-white px-3 py-2 rounded-md text-sm font-medium transition-colors",children:"Queries"})]})})]})})})})};function J1(u,c){return R.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:c},u),R.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 3v2m6-2v2M9 19v2m6-2v2M5 9H3m2 6H3m18-6h-2m2 6h-2M7 19h10a2 2 0 002-2V7a2 2 0 00-2-2H7a2 2 0 00-2 2v10a2 2 0 002 2zM9 9h6v6H9V9z"}))}const k1=R.forwardRef(J1);function $1(u,c){return R.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:c},u),R.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"}))}const F1=R.forwardRef($1);function W1(u,c){return R.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:c},u),R.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 7v10c0 2.21 3.582 4 8 4s8-1.79 8-4V7M4 7c0 2.21 3.582 4 8 4s8-1.79 8-4M4 7c0-2.21 3.582-4 8-4s8 1.79 8 4m0 5c0 2.21-3.582 4-8 4s-8-1.79-8-4"}))}const t0=R.forwardRef(W1);function P1(u,c){return R.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:c},u),R.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"}))}const I1=R.forwardRef(P1);function eb(u,c){return R.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:c},u),R.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z"}))}const tb=R.forwardRef(eb);function lb(u,c){return R.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:c},u),R.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 12h14M5 12a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v4a2 2 0 01-2 2M5 12a2 2 0 00-2 2v4a2 2 0 002 2h14a2 2 0 002-2v-4a2 2 0 00-2-2m-2-4h.01M17 16h.01"}))}const ab=R.forwardRef(lb);function nb(u,c){return R.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:c},u),R.createElement("path",{fillRule:"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z",clipRule:"evenodd"}))}const ub=R.forwardRef(nb);function ib(u,c){return R.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:c},u),R.createElement("path",{fillRule:"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z",clipRule:"evenodd"}))}const cb=R.forwardRef(ib),rb=()=>{const[u,c]=R.useState(!0),[s,r]=R.useState({}),[o,d]=R.useState([]),m=g=>{r(y=>bt(Se({},y),{[g]:!y[g]}))};R.useEffect(()=>{(()=>{setTimeout(()=>{const y=[{id:"db1",name:"UsersDB",type:"database",children:[{id:"db1_col1",name:"accounts",type:"collection",documentCount:1250,size:"2.3 MB"},{id:"db1_col2",name:"profiles",type:"collection",documentCount:1200,size:"4.1 MB"},{id:"db1_col3",name:"sessions",type:"collection",documentCount:5400,size:"1.8 MB"}]},{id:"db2",name:"ProductsDB",type:"database",children:[{id:"db2_col1",name:"inventory",type:"collection",documentCount:850,size:"3.2 MB"},{id:"db2_col2",name:"categories",type:"collection",documentCount:45,size:"0.3 MB"},{id:"db2_col3",name:"suppliers",type:"collection",documentCount:120,size:"0.7 MB"}]},{id:"db3",name:"AnalyticsDB",type:"database",children:[{id:"db3_col1",name:"events",type:"collection",documentCount:4250,size:"8.5 MB"},{id:"db3_col2",name:"metrics",type:"collection",documentCount:1850,size:"4.2 MB"},{id:"db3_col3",name:"reports",type:"collection",documentCount:320,size:"1.5 MB"}]}];r({db1:!0}),d(y),c(!1)},1e3)})()},[]);const v=g=>{const y=s[g.id];return S.jsxs("div",{children:[S.jsxs("div",{className:`flex items-center py-2 px-3 ${g.type==="database"?"bg-blue-50 hover:bg-blue-100 border-b border-blue-100":"hover:bg-gray-50 pl-10"} cursor-pointer transition-colors`,onClick:()=>g.children&&m(g.id),children:[g.children?S.jsx("div",{className:"mr-1",children:y?S.jsx(ub,{className:"h-4 w-4 text-gray-500"}):S.jsx(cb,{className:"h-4 w-4 text-gray-500"})}):S.jsx("div",{className:"w-4 mr-1"}),g.type==="database"?S.jsx(t0,{className:"h-5 w-5 text-blue-600 mr-2"}):S.jsx(tb,{className:"h-5 w-5 text-yellow-600 mr-2"}),S.jsx("div",{className:"flex-grow",children:S.jsx("span",{className:"font-medium",children:g.name})}),g.type==="collection"&&S.jsxs("div",{className:"text-xs text-gray-500",children:[S.jsxs("span",{className:"mr-2",children:[g.documentCount," docs"]}),S.jsx("span",{children:g.size})]})]}),g.children&&y&&S.jsx("div",{className:"border-l border-gray-200 ml-5",children:g.children.map(v)})]},g.id)};return S.jsxs("div",{className:"bg-white rounded-lg shadow-md hover:shadow-lg transition-shadow",children:[S.jsxs("div",{className:"border-b border-gray-200 py-4 px-6",children:[S.jsx("h3",{className:"text-lg font-medium text-gray-900",children:"Database Structure"}),S.jsx("p",{className:"text-sm text-gray-500 mt-1",children:"Overview of databases and collections"})]}),S.jsx("div",{className:"overflow-y-auto",style:{maxHeight:"400px"},children:u?S.jsx("div",{className:"p-6 space-y-3",children:[1,2,3].map(g=>S.jsxs("div",{className:"animate-pulse",children:[S.jsx("div",{className:"h-6 bg-gray-200 rounded w-3/4 mb-2"}),S.jsxs("div",{className:"pl-6 space-y-2",children:[S.jsx("div",{className:"h-5 bg-gray-100 rounded w-2/3"}),S.jsx("div",{className:"h-5 bg-gray-100 rounded w-2/3"}),S.jsx("div",{className:"h-5 bg-gray-100 rounded w-2/3"})]})]},g))}):S.jsx("div",{children:o.map(v)})})]})},sb=()=>{const[u,c]=R.useState(0),[s,r]=R.useState(0),[o,d]=R.useState(!0);R.useEffect(()=>{(()=>{setTimeout(()=>{c(512),r(1024),d(!1)},800)})()},[]);const m=u/s*100;return S.jsxs("div",{className:"bg-white rounded-lg shadow-md p-6 hover:shadow-lg transition-shadow",children:[S.jsxs("div",{className:"flex justify-between mb-3",children:[S.jsxs("div",{children:[S.jsx("h3",{className:"text-lg font-medium text-gray-900",children:"In-Memory Cache"}),o?S.jsx("div",{className:"h-8 mt-2 bg-gray-200 rounded animate-pulse w-24"}):S.jsxs("p",{className:"text-3xl font-bold text-orange-600 mt-2",children:[u," ",S.jsx("span",{className:"text-lg",children:"MB"})]}),S.jsxs("p",{className:"text-sm text-gray-500 mt-1",children:["of ",s," MB allocated"]})]}),S.jsx("div",{className:"p-3 bg-orange-100 rounded-full",children:S.jsx(k1,{className:"h-8 w-8 text-orange-600"})})]}),S.jsx("div",{className:"w-full bg-gray-200 rounded-full h-2.5 mt-2",children:S.jsx("div",{className:"bg-orange-600 h-2.5 rounded-full",style:{width:`${o?0:m}%`}})})]})},ob=()=>{const[u,c]=R.useState(0),[s,r]=R.useState(0),[o,d]=R.useState(!0);R.useEffect(()=>{(()=>{setTimeout(()=>{c(2.7),r(10),d(!1)},800)})()},[]);const m=u/s*100;return S.jsxs("div",{className:"bg-white rounded-lg shadow-md p-6 hover:shadow-lg transition-shadow",children:[S.jsxs("div",{className:"flex justify-between mb-3",children:[S.jsxs("div",{children:[S.jsx("h3",{className:"text-lg font-medium text-gray-900",children:"Storage Used"}),o?S.jsx("div",{className:"h-8 mt-2 bg-gray-200 rounded animate-pulse w-24"}):S.jsxs("p",{className:"text-3xl font-bold text-green-600 mt-2",children:[u," ",S.jsx("span",{className:"text-lg",children:"GB"})]}),S.jsxs("p",{className:"text-sm text-gray-500 mt-1",children:["of ",s," GB available"]})]}),S.jsx("div",{className:"p-3 bg-green-100 rounded-full",children:S.jsx(ab,{className:"h-8 w-8 text-green-600"})})]}),S.jsx("div",{className:"w-full bg-gray-200 rounded-full h-2.5 mt-2",children:S.jsx("div",{className:"bg-green-600 h-2.5 rounded-full",style:{width:`${o?0:m}%`}})})]})},fb=()=>{const[u,c]=R.useState(0),[s,r]=R.useState(!0);return R.useEffect(()=>{(()=>{setTimeout(()=>{c(67),r(!1)},600)})()},[]),S.jsx("div",{className:"bg-white rounded-lg shadow-md p-6 hover:shadow-lg transition-shadow",children:S.jsxs("div",{className:"flex justify-between",children:[S.jsxs("div",{children:[S.jsx("h3",{className:"text-lg font-medium text-gray-900",children:"Total Collections"}),s?S.jsx("div",{className:"h-8 mt-2 bg-gray-200 rounded animate-pulse w-16"}):S.jsx("p",{className:"text-3xl font-bold text-indigo-600 mt-2",children:u}),S.jsx("p",{className:"text-sm text-gray-500 mt-1",children:"Across all databases"})]}),S.jsx("div",{className:"p-3 bg-indigo-100 rounded-full",children:S.jsx(F1,{className:"h-8 w-8 text-indigo-600"})})]})})},db=({totalDatabases:u})=>{const[c,s]=R.useState(!0);return R.useEffect(()=>{setTimeout(()=>{s(!1)},1e3)},[]),S.jsx("div",{className:"bg-white rounded-lg shadow-md p-6 hover:shadow-lg transition-shadow",children:S.jsxs("div",{className:"flex justify-between",children:[S.jsxs("div",{children:[S.jsx("h3",{className:"text-lg font-medium text-gray-900",children:"Total Databases"}),c?S.jsx("div",{className:"h-8 mt-2 bg-gray-200 rounded animate-pulse w-16"}):S.jsx("p",{className:"text-3xl font-bold text-blue-600 mt-2",children:u}),S.jsx("p",{className:"text-sm text-gray-500 mt-1",children:"Across all instances"})]}),S.jsx("div",{className:"p-3 bg-blue-100 rounded-full",children:S.jsx(t0,{className:"h-8 w-8 text-blue-600"})})]})})},hb=()=>{const[u,c]=R.useState(0),[s,r]=R.useState(!0);return R.useEffect(()=>{(()=>{setTimeout(()=>{c(14825),r(!1)},700)})()},[]),S.jsx("div",{className:"bg-white rounded-lg shadow-md p-6 hover:shadow-lg transition-shadow",children:S.jsxs("div",{className:"flex justify-between",children:[S.jsxs("div",{children:[S.jsx("h3",{className:"text-lg font-medium text-gray-900",children:"Total Documents"}),s?S.jsx("div",{className:"h-8 mt-2 bg-gray-200 rounded animate-pulse w-20"}):S.jsx("p",{className:"text-3xl font-bold text-purple-600 mt-2",children:u.toLocaleString()}),S.jsx("p",{className:"text-sm text-gray-500 mt-1",children:"Across all collections"})]}),S.jsx("div",{className:"p-3 bg-purple-100 rounded-full",children:S.jsx(I1,{className:"h-8 w-8 text-purple-600"})})]})})},mb=()=>{const[u,c]=R.useState(!0),[s,r]=R.useState(null),{setRootname:o}=tu(v=>v),{TransactionKey:d}=$a(v=>v),{Rootname:m}=tu(v=>v);return R.useEffect(()=>{Ae.get(`${su}/api/db/databases?transactiontoken=${d}`).then(v=>{var g;v.status===200&&(console.log("All Instance Info:",v.data.data),r(v.data.data),o((g=v.data.data.RootName)!=null?g:"AxioDB"),c(!1))})},[]),S.jsxs("div",{className:"container mx-auto px-4 py-6",children:[S.jsxs("div",{className:"mb-6",children:[S.jsx("h1",{className:"text-2xl font-bold text-gray-900",children:"Dashboard"}),S.jsxs("p",{className:"text-gray-600",children:["Welcome to ",m," Management Console"]})]}),u?S.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-6 mb-8",children:[1,2,3,4,5].map(v=>S.jsx("div",{className:"h-32 bg-gray-200 rounded-lg animate-pulse"},v))}):S.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-5 gap-6 mb-8",children:[S.jsx(db,{totalDatabases:(s==null?void 0:s.ListOfDatabases.length)||0}),S.jsx(fb,{}),S.jsx(hb,{}),S.jsx(ob,{}),S.jsx(sb,{})]}),S.jsx("div",{className:"mb-8",children:S.jsx(rb,{})})]})},yb=({isOpen:u,onClose:c,onDatabaseCreated:s})=>{const[r,o]=R.useState(""),[d,m]=R.useState(!1),[v,g]=R.useState(""),{TransactionKey:y}=$a(D=>D),p=()=>{o(""),g(""),m(!1),c()},N=D=>Ze(null,null,function*(){var Y,C;if(D.preventDefault(),!r.trim()){g("Database name is required");return}if(!/^[a-zA-Z0-9_]+$/.test(r)){g("Database name can only contain letters, numbers, and underscores");return}m(!0),g("");try{const z=yield Ae.post(`${su}/api/db/create-database`,{name:r},{params:{transactiontoken:y}});if(z.data.statusCode===200||z.data.statusCode===201)s(r),m(!1),p();else throw m(!1),new Error("Failed to create database")}catch(z){console.error("Error creating database:",z),g(((C=(Y=z.response)==null?void 0:Y.data)==null?void 0:C.message)||"Failed to create database. Please try again."),m(!1)}});return u?S.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 animate-fadeIn",children:S.jsxs("div",{className:"bg-white rounded-lg max-w-md w-full p-6",children:[S.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-4",children:"Create New Database"}),S.jsxs("form",{onSubmit:N,children:[S.jsxs("div",{className:"mb-4",children:[S.jsx("label",{htmlFor:"databaseName",className:"block text-sm font-medium text-gray-700 mb-1",children:"Database Name"}),S.jsx("input",{type:"text",id:"databaseName",value:r,onChange:D=>o(D.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500",placeholder:"Enter database name",disabled:d}),v&&S.jsx("p",{className:"mt-2 text-sm text-red-600",children:v})]}),S.jsxs("div",{className:"flex justify-end space-x-4 mt-6",children:[S.jsx("button",{type:"button",onClick:p,className:"px-4 py-2 text-gray-700 hover:text-gray-900 transition-colors",disabled:d,children:"Cancel"}),S.jsx("button",{type:"submit",className:`px-4 py-2 bg-green-600 text-white rounded hover:bg-green-700 transition-colors flex items-center ${d?"opacity-75 cursor-not-allowed":""}`,disabled:d,children:d?S.jsxs(S.Fragment,{children:[S.jsxs("svg",{className:"animate-spin -ml-1 mr-2 h-4 w-4 text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[S.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),S.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Creating..."]}):"Create Database"})]})]})]})}):null},gb=({isOpen:u,dbName:c,onClose:s,onConfirmDelete:r})=>{const{TransactionKey:o}=$a(g=>g),[d,m]=R.useState(!1);if(!u)return null;const v=()=>Ze(null,null,function*(){var g,y;m(!0);try{const p=yield Ae.delete(`${su}/api/db/delete-database`,{params:{transactiontoken:o,dbName:c}});if(p.status===200)console.log("Database deleted successfully:",p.data),r();else throw new Error("Failed to delete database")}catch(p){console.error("Error deleting database:",p),alert(((y=(g=p.response)==null?void 0:g.data)==null?void 0:y.message)||"Failed to delete database. Please try again.")}finally{m(!1)}});return S.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50",children:S.jsxs("div",{className:"bg-white rounded-lg max-w-md w-full p-6 animate-fadeIn",children:[S.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-4",children:"Confirm Deletion"}),S.jsxs("p",{className:"text-gray-700 mb-6",children:['Are you sure you want to delete the database "',c,'"? This action cannot be undone.']}),S.jsxs("div",{className:"flex justify-end space-x-4",children:[S.jsx("button",{onClick:s,disabled:d,className:"px-4 py-2 text-gray-700 hover:text-gray-900 transition-colors",children:"Cancel"}),S.jsx("button",{onClick:v,disabled:d,className:`px-4 py-2 bg-red-600 text-white rounded hover:bg-red-700 transition-colors flex items-center ${d?"opacity-75 cursor-not-allowed":""}`,children:d?S.jsxs(S.Fragment,{children:[S.jsxs("svg",{className:"animate-spin -ml-1 mr-2 h-4 w-4 text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[S.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),S.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),"Deleting..."]}):"Delete"})]})]})})},vb=({databases:u,onDeleteClick:c,loading:s})=>{const r=Hi(),[o,d]=R.useState({}),m=g=>{d(y=>bt(Se({},y),{[g]:!1}))},v=g=>{r(`/collections?database=${encodeURIComponent(g)}`)};return S.jsxs("div",{className:"bg-white rounded-lg shadow-md overflow-hidden",children:[S.jsxs("div",{className:"border-b border-gray-200 bg-gray-50 px-6 py-4",children:[S.jsx("h3",{className:"text-lg font-medium text-gray-900",children:"Your Databases"}),S.jsxs("p",{className:"text-sm text-gray-500",children:["Total: ",s?"Loading...":u.TotalDatabases]})]}),s?S.jsx("div",{className:"p-6",children:[1,2,3].map(g=>S.jsxs("div",{className:"animate-pulse flex items-center justify-between py-4 border-b border-gray-100",children:[S.jsxs("div",{children:[S.jsx("div",{className:"h-6 bg-gray-200 rounded w-48 mb-2"}),S.jsx("div",{className:"h-4 bg-gray-100 rounded w-32"})]}),S.jsx("div",{className:"h-8 bg-gray-200 rounded w-24"})]},g))}):S.jsx("ul",{className:"divide-y divide-gray-200",children:u.ListOfDatabases&&u.ListOfDatabases.length>0?u.ListOfDatabases.map((g,y)=>S.jsxs("li",{className:`px-6 py-4 flex items-center justify-between hover:bg-gray-50 transition-all duration-300 ${o[g]?"animate-slideIn":"animate-fadeIn"}`,onAnimationEnd:()=>m(g),children:[S.jsxs("div",{children:[S.jsx("h4",{className:"text-lg font-medium text-gray-900",children:g}),S.jsxs("p",{className:"text-sm text-gray-500",children:["Path: ",u.AllDatabasesPaths[y]]})]}),S.jsxs("div",{className:"flex space-x-2",children:[S.jsx("button",{onClick:()=>v(g),className:"text-blue-600 hover:text-blue-800 px-3 py-1 rounded border border-blue-200 hover:border-blue-400 transition-colors",children:"View Collections"}),S.jsx("button",{onClick:()=>c(g),className:"text-red-600 hover:text-red-800 px-3 py-1 rounded border border-red-200 hover:border-red-400 transition-colors",children:"Delete"})]})]},g)):S.jsx("li",{className:"px-6 py-8 text-center text-gray-500",children:'No databases found. Click "Create Database" to add one.'})})]})},pb=()=>{const[u,c]=R.useState(!0),[s,r]=R.useState([]),[o,d]=R.useState(!1),[m,v]=R.useState(!1),[g,y]=R.useState(""),{TransactionKey:p}=$a(z=>z),{Rootname:N}=tu(z=>z);R.useEffect(()=>{p&&Ze(null,null,function*(){try{const j=yield Ae.get(`${su}/api/db/databases?transactiontoken=${p}`);j.status===200&&(r(j.data.data),c(!1))}catch(j){console.error("Error fetching databases:",j),c(!1),r([])}})},[p]);const D=z=>{y(z),d(!0)},Y=()=>{r(z=>bt(Se({},z),{ListOfDatabases:z.ListOfDatabases.filter(j=>j!==g),TotalDatabases:`${z.ListOfDatabases.length-1} Databases`})),d(!1),y("")},C=z=>{r(j=>bt(Se({},j),{ListOfDatabases:[...j.ListOfDatabases,z],TotalDatabases:`${j.ListOfDatabases.length+1} Databases`,AllDatabasesPaths:[...j.AllDatabasesPaths,`${j.CurrentPath}/${z}`]}))};return S.jsxs("div",{className:"container mx-auto px-4 py-6",children:[S.jsxs("div",{className:"flex justify-between items-center mb-6",children:[S.jsxs("div",{children:[S.jsx("h1",{className:"text-2xl font-bold text-gray-900",children:"Databases"}),S.jsxs("p",{className:"text-gray-600",children:["Manage your ",N," databases"]})]}),S.jsxs("button",{onClick:()=>v(!0),className:"bg-green-600 hover:bg-green-700 text-white py-2 px-4 rounded-lg flex items-center transition-colors",children:[S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5 mr-2",viewBox:"0 0 20 20",fill:"currentColor",children:S.jsx("path",{fillRule:"evenodd",d:"M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z",clipRule:"evenodd"})}),"Create Database"]})]}),S.jsx(vb,{databases:s,onDeleteClick:D,loading:u}),S.jsx(yb,{isOpen:m,onClose:()=>v(!1),onDatabaseCreated:C}),S.jsx(gb,{isOpen:o,dbName:g,onClose:()=>d(!1),onConfirmDelete:Y})]})},bb=()=>{const[u]=ip(),c=Hi(),[s,r]=R.useState(!0),[o,d]=R.useState([]),m=u.get("database"),{TransactionKey:v}=$a(p=>p),{Rootname:g}=tu(p=>p);R.useEffect(()=>{if(!m){c("/databases");return}v&&Ze(null,null,function*(){try{setTimeout(()=>{d([{name:"users",documentCount:1250,size:"2.3 MB"},{name:"orders",documentCount:850,size:"1.8 MB"},{name:"products",documentCount:420,size:"3.1 MB"}]),r(!1)},1e3)}catch(N){console.error("Error fetching collections:",N),r(!1),d([])}})},[v,m,c]);const y=()=>{c("/databases")};return S.jsxs("div",{className:"container mx-auto px-4 py-6",children:[S.jsxs("div",{className:"flex justify-between items-center mb-6",children:[S.jsxs("div",{children:[S.jsx("div",{className:"flex items-center mb-2",children:S.jsx("button",{onClick:y,className:"text-blue-600 hover:text-blue-800 mr-3",children:"← Back to Databases"})}),S.jsx("h1",{className:"text-2xl font-bold text-gray-900",children:"Collections"}),S.jsxs("p",{className:"text-gray-600",children:["Collections in database:"," ",S.jsx("span",{className:"font-medium",children:m})]})]}),S.jsxs("button",{className:"bg-green-600 hover:bg-green-700 text-white py-2 px-4 rounded-lg flex items-center transition-colors",children:[S.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-5 w-5 mr-2",viewBox:"0 0 20 20",fill:"currentColor",children:S.jsx("path",{fillRule:"evenodd",d:"M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z",clipRule:"evenodd"})}),"Create Collection"]})]}),S.jsxs("div",{className:"bg-white rounded-lg shadow-md overflow-hidden",children:[S.jsxs("div",{className:"border-b border-gray-200 bg-gray-50 px-6 py-4",children:[S.jsxs("h3",{className:"text-lg font-medium text-gray-900",children:["Collections in ",m]}),S.jsxs("p",{className:"text-sm text-gray-500",children:["Total:"," ",s?"Loading...":`${o.length} Collections`]})]}),s?S.jsx("div",{className:"p-6",children:[1,2,3].map(p=>S.jsxs("div",{className:"animate-pulse flex items-center justify-between py-4 border-b border-gray-100",children:[S.jsxs("div",{children:[S.jsx("div",{className:"h-6 bg-gray-200 rounded w-48 mb-2"}),S.jsx("div",{className:"h-4 bg-gray-100 rounded w-32"})]}),S.jsx("div",{className:"h-8 bg-gray-200 rounded w-24"})]},p))}):S.jsx("ul",{className:"divide-y divide-gray-200",children:o.length>0?o.map(p=>S.jsxs("li",{className:"px-6 py-4 flex items-center justify-between hover:bg-gray-50 transition-colors",children:[S.jsxs("div",{children:[S.jsx("h4",{className:"text-lg font-medium text-gray-900",children:p.name}),S.jsxs("p",{className:"text-sm text-gray-500",children:[p.documentCount," documents • ",p.size]})]}),S.jsxs("div",{className:"flex space-x-2",children:[S.jsx("button",{className:"text-blue-600 hover:text-blue-800 px-3 py-1 rounded border border-blue-200 hover:border-blue-400 transition-colors",children:"View Documents"}),S.jsx("button",{className:"text-red-600 hover:text-red-800 px-3 py-1 rounded border border-red-200 hover:border-red-400 transition-colors",children:"Delete"})]})]},p.name)):S.jsx("li",{className:"px-6 py-8 text-center text-gray-500",children:'No collections found in this database. Click "Create Collection" to add one.'})})]})]})};function Sb(){const{loadKey:u}=$a(r=>r),[c,s]=R.useState(!0);return R.useEffect(()=>{Ze(null,null,function*(){try{yield u()}finally{s(!1)}})},[u]),c?S.jsx("div",{className:"min-h-screen bg-gray-50 flex items-center justify-center",children:S.jsxs("div",{className:"text-center",children:[S.jsx("div",{className:"spinner-border text-primary mb-3",role:"status",children:S.jsx("span",{className:"sr-only",children:"Loading..."})}),S.jsx("p",{className:"text-gray-600",children:"Loading application..."})]})}):S.jsx(tp,{children:S.jsxs("div",{className:"min-h-screen bg-gray-50 flex flex-col",children:[S.jsx(K1,{}),S.jsx("main",{className:"flex-grow",children:S.jsxs(_v,{children:[S.jsx(Ni,{path:"/",element:S.jsx(mb,{})}),S.jsx(Ni,{path:"/databases",element:S.jsx(pb,{})}),S.jsx(Ni,{path:"/collections",element:S.jsx(bb,{})})]})}),S.jsx(dp,{})]})})}qg.createRoot(document.getElementById("root")).render(S.jsx(R.StrictMode,{children:S.jsx(Sb,{})}))});export default xb();
|