promptfoo 0.3.0 → 0.5.0
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/README.md +58 -19
- package/dist/evaluator.d.ts.map +1 -1
- package/dist/evaluator.js +89 -45
- package/dist/evaluator.js.map +1 -1
- package/dist/main.js +51 -22
- package/dist/main.js.map +1 -1
- package/dist/providers/localai.d.ts +17 -0
- package/dist/providers/localai.d.ts.map +1 -0
- package/dist/providers/localai.js +94 -0
- package/dist/providers/localai.js.map +1 -0
- package/dist/providers/openai.d.ts +26 -0
- package/dist/providers/openai.d.ts.map +1 -0
- package/dist/providers/openai.js +223 -0
- package/dist/providers/openai.js.map +1 -0
- package/dist/providers/shared.d.ts +2 -0
- package/dist/providers/shared.d.ts.map +1 -0
- package/dist/providers/shared.js +4 -0
- package/dist/providers/shared.js.map +1 -0
- package/dist/providers.d.ts +1 -20
- package/dist/providers.d.ts.map +1 -1
- package/dist/providers.js +16 -153
- package/dist/providers.js.map +1 -1
- package/dist/types.d.ts +21 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/util.d.ts +4 -0
- package/dist/util.d.ts.map +1 -1
- package/dist/util.js +33 -1
- package/dist/util.js.map +1 -1
- package/dist/web/client/assets/index-710f1308.css +1 -0
- package/dist/web/client/assets/index-900b20c0.js +172 -0
- package/dist/web/client/favicon.ico +0 -0
- package/dist/web/client/index.html +15 -0
- package/dist/web/client/logo.svg +30 -0
- package/dist/web/server.d.ts +2 -0
- package/dist/web/server.d.ts.map +1 -0
- package/dist/web/server.js +74 -0
- package/dist/web/server.js.map +1 -0
- package/package.json +15 -3
- package/src/evaluator.ts +106 -50
- package/src/main.ts +43 -12
- package/src/providers/localai.ts +112 -0
- package/src/providers/openai.ts +256 -0
- package/src/providers/shared.ts +3 -0
- package/src/providers.ts +17 -177
- package/src/types.ts +24 -2
- package/src/util.ts +36 -1
- package/src/web/client/.eslintrc.cjs +14 -0
- package/src/web/client/index.html +13 -0
- package/src/web/client/package.json +37 -0
- package/src/web/client/public/favicon.ico +0 -0
- package/src/web/client/public/logo.svg +30 -0
- package/src/web/client/src/App.css +0 -0
- package/src/web/client/src/App.tsx +43 -0
- package/src/web/client/src/Logo.css +13 -0
- package/src/web/client/src/Logo.tsx +11 -0
- package/src/web/client/src/NavBar.css +3 -0
- package/src/web/client/src/NavBar.tsx +11 -0
- package/src/web/client/src/ResultsTable.css +133 -0
- package/src/web/client/src/ResultsTable.tsx +261 -0
- package/src/web/client/src/ResultsView.tsx +110 -0
- package/src/web/client/src/index.css +35 -0
- package/src/web/client/src/main.tsx +10 -0
- package/src/web/client/src/store.ts +13 -0
- package/src/web/client/src/types.ts +14 -0
- package/src/web/client/src/vite-env.d.ts +1 -0
- package/src/web/client/tsconfig.json +24 -0
- package/src/web/client/tsconfig.node.json +10 -0
- package/src/web/client/vite.config.ts +7 -0
- package/src/web/server.ts +96 -0
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
function Iv(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function Ac(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ih={exports:{}},fl={},Oh={exports:{}},ue={};/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react.production.min.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Facebook, Inc. and its 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 _i=Symbol.for("react.element"),Ov=Symbol.for("react.portal"),Av=Symbol.for("react.fragment"),Fv=Symbol.for("react.strict_mode"),Lv=Symbol.for("react.profiler"),Nv=Symbol.for("react.provider"),zv=Symbol.for("react.context"),Dv=Symbol.for("react.forward_ref"),Bv=Symbol.for("react.suspense"),Vv=Symbol.for("react.memo"),jv=Symbol.for("react.lazy"),pf=Symbol.iterator;function Hv(e){return e===null||typeof e!="object"?null:(e=pf&&e[pf]||e["@@iterator"],typeof e=="function"?e:null)}var Ah={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Fh=Object.assign,Lh={};function vo(e,t,n){this.props=e,this.context=t,this.refs=Lh,this.updater=n||Ah}vo.prototype.isReactComponent={};vo.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};vo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Nh(){}Nh.prototype=vo.prototype;function Fc(e,t,n){this.props=e,this.context=t,this.refs=Lh,this.updater=n||Ah}var Lc=Fc.prototype=new Nh;Lc.constructor=Fc;Fh(Lc,vo.prototype);Lc.isPureReactComponent=!0;var hf=Array.isArray,zh=Object.prototype.hasOwnProperty,Nc={current:null},Dh={key:!0,ref:!0,__self:!0,__source:!0};function Bh(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)zh.call(t,r)&&!Dh.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1<l){for(var a=Array(l),u=0;u<l;u++)a[u]=arguments[u+2];o.children=a}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)o[r]===void 0&&(o[r]=l[r]);return{$$typeof:_i,type:e,key:i,ref:s,props:o,_owner:Nc.current}}function Uv(e,t){return{$$typeof:_i,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function zc(e){return typeof e=="object"&&e!==null&&e.$$typeof===_i}function Wv(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var gf=/\/+/g;function Ma(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Wv(""+e.key):t.toString(36)}function ps(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case _i:case Ov:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+Ma(s,0):r,hf(o)?(n="",e!=null&&(n=e.replace(gf,"$&/")+"/"),ps(o,t,n,"",function(u){return u})):o!=null&&(zc(o)&&(o=Uv(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(gf,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",hf(e))for(var l=0;l<e.length;l++){i=e[l];var a=r+Ma(i,l);s+=ps(i,t,n,a,o)}else if(a=Hv(e),typeof a=="function")for(e=a.call(e),l=0;!(i=e.next()).done;)i=i.value,a=r+Ma(i,l++),s+=ps(i,t,n,a,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function zi(e,t,n){if(e==null)return e;var r=[],o=0;return ps(e,r,"","",function(i){return t.call(n,i,o++)}),r}function Gv(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var mt={current:null},hs={transition:null},Kv={ReactCurrentDispatcher:mt,ReactCurrentBatchConfig:hs,ReactCurrentOwner:Nc};ue.Children={map:zi,forEach:function(e,t,n){zi(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return zi(e,function(){t++}),t},toArray:function(e){return zi(e,function(t){return t})||[]},only:function(e){if(!zc(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ue.Component=vo;ue.Fragment=Av;ue.Profiler=Lv;ue.PureComponent=Fc;ue.StrictMode=Fv;ue.Suspense=Bv;ue.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Kv;ue.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Fh({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=Nc.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(a in t)zh.call(t,a)&&!Dh.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&l!==void 0?l[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){l=Array(a);for(var u=0;u<a;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:_i,type:e.type,key:o,ref:i,props:r,_owner:s}};ue.createContext=function(e){return e={$$typeof:zv,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Nv,_context:e},e.Consumer=e};ue.createElement=Bh;ue.createFactory=function(e){var t=Bh.bind(null,e);return t.type=e,t};ue.createRef=function(){return{current:null}};ue.forwardRef=function(e){return{$$typeof:Dv,render:e}};ue.isValidElement=zc;ue.lazy=function(e){return{$$typeof:jv,_payload:{_status:-1,_result:e},_init:Gv}};ue.memo=function(e,t){return{$$typeof:Vv,type:e,compare:t===void 0?null:t}};ue.startTransition=function(e){var t=hs.transition;hs.transition={};try{e()}finally{hs.transition=t}};ue.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};ue.useCallback=function(e,t){return mt.current.useCallback(e,t)};ue.useContext=function(e){return mt.current.useContext(e)};ue.useDebugValue=function(){};ue.useDeferredValue=function(e){return mt.current.useDeferredValue(e)};ue.useEffect=function(e,t){return mt.current.useEffect(e,t)};ue.useId=function(){return mt.current.useId()};ue.useImperativeHandle=function(e,t,n){return mt.current.useImperativeHandle(e,t,n)};ue.useInsertionEffect=function(e,t){return mt.current.useInsertionEffect(e,t)};ue.useLayoutEffect=function(e,t){return mt.current.useLayoutEffect(e,t)};ue.useMemo=function(e,t){return mt.current.useMemo(e,t)};ue.useReducer=function(e,t,n){return mt.current.useReducer(e,t,n)};ue.useRef=function(e){return mt.current.useRef(e)};ue.useState=function(e){return mt.current.useState(e)};ue.useSyncExternalStore=function(e,t,n){return mt.current.useSyncExternalStore(e,t,n)};ue.useTransition=function(){return mt.current.useTransition()};ue.version="18.2.0";Oh.exports=ue;var x=Oh.exports;const Jt=Ac(x),mf=Iv({__proto__:null,default:Jt},[x]);/**
|
|
10
|
+
* @license React
|
|
11
|
+
* react-jsx-runtime.production.min.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Facebook, Inc. and its 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 qv=x,Qv=Symbol.for("react.element"),Yv=Symbol.for("react.fragment"),Xv=Object.prototype.hasOwnProperty,Zv=qv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Jv={key:!0,ref:!0,__self:!0,__source:!0};function Vh(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)Xv.call(t,r)&&!Jv.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:Qv,type:e,key:i,ref:s,props:o,_owner:Zv.current}}fl.Fragment=Yv;fl.jsx=Vh;fl.jsxs=Vh;Ih.exports=fl;var E=Ih.exports,Cu={},jh={exports:{}},At={},Hh={exports:{}},Uh={};/**
|
|
18
|
+
* @license React
|
|
19
|
+
* scheduler.production.min.js
|
|
20
|
+
*
|
|
21
|
+
* Copyright (c) Facebook, Inc. and its 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
|
+
*/(function(e){function t(P,A){var M=P.length;P.push(A);e:for(;0<M;){var K=M-1>>>1,W=P[K];if(0<o(W,A))P[K]=A,P[M]=W,M=K;else break e}}function n(P){return P.length===0?null:P[0]}function r(P){if(P.length===0)return null;var A=P[0],M=P.pop();if(M!==A){P[0]=M;e:for(var K=0,W=P.length,re=W>>>1;K<re;){var se=2*(K+1)-1,oe=P[se],le=se+1,je=P[le];if(0>o(oe,M))le<W&&0>o(je,oe)?(P[K]=je,P[le]=M,K=le):(P[K]=oe,P[se]=M,K=se);else if(le<W&&0>o(je,M))P[K]=je,P[le]=M,K=le;else break e}}return A}function o(P,A){var M=P.sortIndex-A.sortIndex;return M!==0?M:P.id-A.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var a=[],u=[],c=1,d=null,f=3,h=!1,y=!1,g=!1,k=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(P){for(var A=n(u);A!==null;){if(A.callback===null)r(u);else if(A.startTime<=P)r(u),A.sortIndex=A.expirationTime,t(a,A);else break;A=n(u)}}function S(P){if(g=!1,v(P),!y)if(n(a)!==null)y=!0,V(C);else{var A=n(u);A!==null&&U(S,A.startTime-P)}}function C(P,A){y=!1,g&&(g=!1,m($),$=-1),h=!0;var M=f;try{for(v(A),d=n(a);d!==null&&(!(d.expirationTime>A)||P&&!F());){var K=d.callback;if(typeof K=="function"){d.callback=null,f=d.priorityLevel;var W=K(d.expirationTime<=A);A=e.unstable_now(),typeof W=="function"?d.callback=W:d===n(a)&&r(a),v(A)}else r(a);d=n(a)}if(d!==null)var re=!0;else{var se=n(u);se!==null&&U(S,se.startTime-A),re=!1}return re}finally{d=null,f=M,h=!1}}var R=!1,b=null,$=-1,L=5,_=-1;function F(){return!(e.unstable_now()-_<L)}function G(){if(b!==null){var P=e.unstable_now();_=P;var A=!0;try{A=b(!0,P)}finally{A?B():(R=!1,b=null)}}else R=!1}var B;if(typeof p=="function")B=function(){p(G)};else if(typeof MessageChannel<"u"){var T=new MessageChannel,O=T.port2;T.port1.onmessage=G,B=function(){O.postMessage(null)}}else B=function(){k(G,0)};function V(P){b=P,R||(R=!0,B())}function U(P,A){$=k(function(){P(e.unstable_now())},A)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(P){P.callback=null},e.unstable_continueExecution=function(){y||h||(y=!0,V(C))},e.unstable_forceFrameRate=function(P){0>P||125<P?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):L=0<P?Math.floor(1e3/P):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(P){switch(f){case 1:case 2:case 3:var A=3;break;default:A=f}var M=f;f=A;try{return P()}finally{f=M}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(P,A){switch(P){case 1:case 2:case 3:case 4:case 5:break;default:P=3}var M=f;f=P;try{return A()}finally{f=M}},e.unstable_scheduleCallback=function(P,A,M){var K=e.unstable_now();switch(typeof M=="object"&&M!==null?(M=M.delay,M=typeof M=="number"&&0<M?K+M:K):M=K,P){case 1:var W=-1;break;case 2:W=250;break;case 5:W=1073741823;break;case 4:W=1e4;break;default:W=5e3}return W=M+W,P={id:c++,callback:A,priorityLevel:P,startTime:M,expirationTime:W,sortIndex:-1},M>K?(P.sortIndex=M,t(u,P),n(a)===null&&P===n(u)&&(g?(m($),$=-1):g=!0,U(S,M-K))):(P.sortIndex=W,t(a,P),y||h||(y=!0,V(C))),P},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(P){var A=f;return function(){var M=f;f=A;try{return P.apply(this,arguments)}finally{f=M}}}})(Uh);Hh.exports=Uh;var ey=Hh.exports;/**
|
|
26
|
+
* @license React
|
|
27
|
+
* react-dom.production.min.js
|
|
28
|
+
*
|
|
29
|
+
* Copyright (c) Facebook, Inc. and its 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 Wh=x,Ot=ey;function I(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);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."}var Gh=new Set,li={};function Pr(e,t){so(e,t),so(e+"Capture",t)}function so(e,t){for(li[e]=t,e=0;e<t.length;e++)Gh.add(t[e])}var Tn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),bu=Object.prototype.hasOwnProperty,ty=/^[: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]*$/,vf={},yf={};function ny(e){return bu.call(yf,e)?!0:bu.call(vf,e)?!1:ty.test(e)?yf[e]=!0:(vf[e]=!0,!1)}function ry(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function oy(e,t,n,r){if(t===null||typeof t>"u"||ry(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function vt(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var st={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){st[e]=new vt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];st[t]=new vt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){st[e]=new vt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){st[e]=new vt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){st[e]=new vt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){st[e]=new vt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){st[e]=new vt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){st[e]=new vt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){st[e]=new vt(e,5,!1,e.toLowerCase(),null,!1,!1)});var Dc=/[\-:]([a-z])/g;function Bc(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Dc,Bc);st[t]=new vt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Dc,Bc);st[t]=new vt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Dc,Bc);st[t]=new vt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){st[e]=new vt(e,1,!1,e.toLowerCase(),null,!1,!1)});st.xlinkHref=new vt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){st[e]=new vt(e,1,!1,e.toLowerCase(),null,!0,!0)});function Vc(e,t,n,r){var o=st.hasOwnProperty(t)?st[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(oy(t,n,o,r)&&(n=null),r||o===null?ny(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var An=Wh.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Di=Symbol.for("react.element"),Br=Symbol.for("react.portal"),Vr=Symbol.for("react.fragment"),jc=Symbol.for("react.strict_mode"),ku=Symbol.for("react.profiler"),Kh=Symbol.for("react.provider"),qh=Symbol.for("react.context"),Hc=Symbol.for("react.forward_ref"),Ru=Symbol.for("react.suspense"),Eu=Symbol.for("react.suspense_list"),Uc=Symbol.for("react.memo"),Dn=Symbol.for("react.lazy"),Qh=Symbol.for("react.offscreen"),Sf=Symbol.iterator;function bo(e){return e===null||typeof e!="object"?null:(e=Sf&&e[Sf]||e["@@iterator"],typeof e=="function"?e:null)}var Fe=Object.assign,Ia;function Vo(e){if(Ia===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ia=t&&t[1]||""}return`
|
|
34
|
+
`+Ia+e}var Oa=!1;function Aa(e,t){if(!e||Oa)return"";Oa=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
|
|
35
|
+
`),i=r.stack.split(`
|
|
36
|
+
`),s=o.length-1,l=i.length-1;1<=s&&0<=l&&o[s]!==i[l];)l--;for(;1<=s&&0<=l;s--,l--)if(o[s]!==i[l]){if(s!==1||l!==1)do if(s--,l--,0>l||o[s]!==i[l]){var a=`
|
|
37
|
+
`+o[s].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{Oa=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Vo(e):""}function iy(e){switch(e.tag){case 5:return Vo(e.type);case 16:return Vo("Lazy");case 13:return Vo("Suspense");case 19:return Vo("SuspenseList");case 0:case 2:case 15:return e=Aa(e.type,!1),e;case 11:return e=Aa(e.type.render,!1),e;case 1:return e=Aa(e.type,!0),e;default:return""}}function $u(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Vr:return"Fragment";case Br:return"Portal";case ku:return"Profiler";case jc:return"StrictMode";case Ru:return"Suspense";case Eu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case qh:return(e.displayName||"Context")+".Consumer";case Kh:return(e._context.displayName||"Context")+".Provider";case Hc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Uc:return t=e.displayName||null,t!==null?t:$u(e.type)||"Memo";case Dn:t=e._payload,e=e._init;try{return $u(e(t))}catch{}}return null}function sy(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return $u(t);case 8:return t===jc?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function tr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Yh(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ly(e){var t=Yh(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Bi(e){e._valueTracker||(e._valueTracker=ly(e))}function Xh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Yh(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Is(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function _u(e,t){var n=t.checked;return Fe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function xf(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=tr(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Zh(e,t){t=t.checked,t!=null&&Vc(e,"checked",t,!1)}function Pu(e,t){Zh(e,t);var n=tr(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Tu(e,t.type,n):t.hasOwnProperty("defaultValue")&&Tu(e,t.type,tr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function wf(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Tu(e,t,n){(t!=="number"||Is(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var jo=Array.isArray;function Zr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+tr(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Mu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(I(91));return Fe({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Cf(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(I(92));if(jo(n)){if(1<n.length)throw Error(I(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:tr(n)}}function Jh(e,t){var n=tr(t.value),r=tr(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function bf(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function eg(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Iu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?eg(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Vi,tg=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Vi=Vi||document.createElement("div"),Vi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Vi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ai(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var qo={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ay=["Webkit","ms","Moz","O"];Object.keys(qo).forEach(function(e){ay.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),qo[t]=qo[e]})});function ng(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||qo.hasOwnProperty(e)&&qo[e]?(""+t).trim():t+"px"}function rg(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=ng(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var uy=Fe({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ou(e,t){if(t){if(uy[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(I(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(I(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(I(61))}if(t.style!=null&&typeof t.style!="object")throw Error(I(62))}}function Au(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 Fu=null;function Wc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Lu=null,Jr=null,eo=null;function kf(e){if(e=Mi(e)){if(typeof Lu!="function")throw Error(I(280));var t=e.stateNode;t&&(t=vl(t),Lu(e.stateNode,e.type,t))}}function og(e){Jr?eo?eo.push(e):eo=[e]:Jr=e}function ig(){if(Jr){var e=Jr,t=eo;if(eo=Jr=null,kf(e),t)for(e=0;e<t.length;e++)kf(t[e])}}function sg(e,t){return e(t)}function lg(){}var Fa=!1;function ag(e,t,n){if(Fa)return e(t,n);Fa=!0;try{return sg(e,t,n)}finally{Fa=!1,(Jr!==null||eo!==null)&&(lg(),ig())}}function ui(e,t){var n=e.stateNode;if(n===null)return null;var r=vl(n);if(r===null)return null;n=r[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":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(I(231,t,typeof n));return n}var Nu=!1;if(Tn)try{var ko={};Object.defineProperty(ko,"passive",{get:function(){Nu=!0}}),window.addEventListener("test",ko,ko),window.removeEventListener("test",ko,ko)}catch{Nu=!1}function cy(e,t,n,r,o,i,s,l,a){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Qo=!1,Os=null,As=!1,zu=null,dy={onError:function(e){Qo=!0,Os=e}};function fy(e,t,n,r,o,i,s,l,a){Qo=!1,Os=null,cy.apply(dy,arguments)}function py(e,t,n,r,o,i,s,l,a){if(fy.apply(this,arguments),Qo){if(Qo){var u=Os;Qo=!1,Os=null}else throw Error(I(198));As||(As=!0,zu=u)}}function Tr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function ug(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 Rf(e){if(Tr(e)!==e)throw Error(I(188))}function hy(e){var t=e.alternate;if(!t){if(t=Tr(e),t===null)throw Error(I(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Rf(o),e;if(i===r)return Rf(o),t;i=i.sibling}throw Error(I(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s)throw Error(I(189))}}if(n.alternate!==r)throw Error(I(190))}if(n.tag!==3)throw Error(I(188));return n.stateNode.current===n?e:t}function cg(e){return e=hy(e),e!==null?dg(e):null}function dg(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=dg(e);if(t!==null)return t;e=e.sibling}return null}var fg=Ot.unstable_scheduleCallback,Ef=Ot.unstable_cancelCallback,gy=Ot.unstable_shouldYield,my=Ot.unstable_requestPaint,He=Ot.unstable_now,vy=Ot.unstable_getCurrentPriorityLevel,Gc=Ot.unstable_ImmediatePriority,pg=Ot.unstable_UserBlockingPriority,Fs=Ot.unstable_NormalPriority,yy=Ot.unstable_LowPriority,hg=Ot.unstable_IdlePriority,pl=null,hn=null;function Sy(e){if(hn&&typeof hn.onCommitFiberRoot=="function")try{hn.onCommitFiberRoot(pl,e,void 0,(e.current.flags&128)===128)}catch{}}var tn=Math.clz32?Math.clz32:Cy,xy=Math.log,wy=Math.LN2;function Cy(e){return e>>>=0,e===0?32:31-(xy(e)/wy|0)|0}var ji=64,Hi=4194304;function Ho(e){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:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ls(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~o;l!==0?r=Ho(l):(i&=s,i!==0&&(r=Ho(i)))}else s=n&~o,s!==0?r=Ho(s):i!==0&&(r=Ho(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-tn(t),o=1<<n,r|=e[n],t&=~o;return r}function by(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64: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:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ky(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-tn(i),l=1<<s,a=o[s];a===-1?(!(l&n)||l&r)&&(o[s]=by(l,t)):a<=t&&(e.expiredLanes|=l),i&=~l}}function Du(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function gg(){var e=ji;return ji<<=1,!(ji&4194240)&&(ji=64),e}function La(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Pi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-tn(t),e[t]=n}function Ry(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-tn(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function Kc(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-tn(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var Se=0;function mg(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var vg,qc,yg,Sg,xg,Bu=!1,Ui=[],Gn=null,Kn=null,qn=null,ci=new Map,di=new Map,Vn=[],Ey="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 submit".split(" ");function $f(e,t){switch(e){case"focusin":case"focusout":Gn=null;break;case"dragenter":case"dragleave":Kn=null;break;case"mouseover":case"mouseout":qn=null;break;case"pointerover":case"pointerout":ci.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":di.delete(t.pointerId)}}function Ro(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=Mi(t),t!==null&&qc(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function $y(e,t,n,r,o){switch(t){case"focusin":return Gn=Ro(Gn,e,t,n,r,o),!0;case"dragenter":return Kn=Ro(Kn,e,t,n,r,o),!0;case"mouseover":return qn=Ro(qn,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return ci.set(i,Ro(ci.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,di.set(i,Ro(di.get(i)||null,e,t,n,r,o)),!0}return!1}function wg(e){var t=gr(e.target);if(t!==null){var n=Tr(t);if(n!==null){if(t=n.tag,t===13){if(t=ug(n),t!==null){e.blockedOn=t,xg(e.priority,function(){yg(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function gs(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Vu(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Fu=r,n.target.dispatchEvent(r),Fu=null}else return t=Mi(n),t!==null&&qc(t),e.blockedOn=n,!1;t.shift()}return!0}function _f(e,t,n){gs(e)&&n.delete(t)}function _y(){Bu=!1,Gn!==null&&gs(Gn)&&(Gn=null),Kn!==null&&gs(Kn)&&(Kn=null),qn!==null&&gs(qn)&&(qn=null),ci.forEach(_f),di.forEach(_f)}function Eo(e,t){e.blockedOn===t&&(e.blockedOn=null,Bu||(Bu=!0,Ot.unstable_scheduleCallback(Ot.unstable_NormalPriority,_y)))}function fi(e){function t(o){return Eo(o,e)}if(0<Ui.length){Eo(Ui[0],e);for(var n=1;n<Ui.length;n++){var r=Ui[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Gn!==null&&Eo(Gn,e),Kn!==null&&Eo(Kn,e),qn!==null&&Eo(qn,e),ci.forEach(t),di.forEach(t),n=0;n<Vn.length;n++)r=Vn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Vn.length&&(n=Vn[0],n.blockedOn===null);)wg(n),n.blockedOn===null&&Vn.shift()}var to=An.ReactCurrentBatchConfig,Ns=!0;function Py(e,t,n,r){var o=Se,i=to.transition;to.transition=null;try{Se=1,Qc(e,t,n,r)}finally{Se=o,to.transition=i}}function Ty(e,t,n,r){var o=Se,i=to.transition;to.transition=null;try{Se=4,Qc(e,t,n,r)}finally{Se=o,to.transition=i}}function Qc(e,t,n,r){if(Ns){var o=Vu(e,t,n,r);if(o===null)Ga(e,t,r,zs,n),$f(e,r);else if($y(o,e,t,n,r))r.stopPropagation();else if($f(e,r),t&4&&-1<Ey.indexOf(e)){for(;o!==null;){var i=Mi(o);if(i!==null&&vg(i),i=Vu(e,t,n,r),i===null&&Ga(e,t,r,zs,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else Ga(e,t,r,null,n)}}var zs=null;function Vu(e,t,n,r){if(zs=null,e=Wc(r),e=gr(e),e!==null)if(t=Tr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=ug(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return zs=e,null}function Cg(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(vy()){case Gc:return 1;case pg:return 4;case Fs:case yy:return 16;case hg:return 536870912;default:return 16}default:return 16}}var Hn=null,Yc=null,ms=null;function bg(){if(ms)return ms;var e,t=Yc,n=t.length,r,o="value"in Hn?Hn.value:Hn.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===o[i-r];r++);return ms=o.slice(e,1<r?1-r:void 0)}function vs(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 Wi(){return!0}function Pf(){return!1}function Ft(e){function t(n,r,o,i,s){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(i):i[l]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Wi:Pf,this.isPropagationStopped=Pf,this}return Fe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Wi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Wi)},persist:function(){},isPersistent:Wi}),t}var yo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Xc=Ft(yo),Ti=Fe({},yo,{view:0,detail:0}),My=Ft(Ti),Na,za,$o,hl=Fe({},Ti,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Zc,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!==$o&&($o&&e.type==="mousemove"?(Na=e.screenX-$o.screenX,za=e.screenY-$o.screenY):za=Na=0,$o=e),Na)},movementY:function(e){return"movementY"in e?e.movementY:za}}),Tf=Ft(hl),Iy=Fe({},hl,{dataTransfer:0}),Oy=Ft(Iy),Ay=Fe({},Ti,{relatedTarget:0}),Da=Ft(Ay),Fy=Fe({},yo,{animationName:0,elapsedTime:0,pseudoElement:0}),Ly=Ft(Fy),Ny=Fe({},yo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),zy=Ft(Ny),Dy=Fe({},yo,{data:0}),Mf=Ft(Dy),By={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Vy={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"},jy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Hy(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=jy[e])?!!t[e]:!1}function Zc(){return Hy}var Uy=Fe({},Ti,{key:function(e){if(e.key){var t=By[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=vs(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Vy[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Zc,charCode:function(e){return e.type==="keypress"?vs(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?vs(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Wy=Ft(Uy),Gy=Fe({},hl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),If=Ft(Gy),Ky=Fe({},Ti,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Zc}),qy=Ft(Ky),Qy=Fe({},yo,{propertyName:0,elapsedTime:0,pseudoElement:0}),Yy=Ft(Qy),Xy=Fe({},hl,{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}),Zy=Ft(Xy),Jy=[9,13,27,32],Jc=Tn&&"CompositionEvent"in window,Yo=null;Tn&&"documentMode"in document&&(Yo=document.documentMode);var e1=Tn&&"TextEvent"in window&&!Yo,kg=Tn&&(!Jc||Yo&&8<Yo&&11>=Yo),Of=String.fromCharCode(32),Af=!1;function Rg(e,t){switch(e){case"keyup":return Jy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Eg(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var jr=!1;function t1(e,t){switch(e){case"compositionend":return Eg(t);case"keypress":return t.which!==32?null:(Af=!0,Of);case"textInput":return e=t.data,e===Of&&Af?null:e;default:return null}}function n1(e,t){if(jr)return e==="compositionend"||!Jc&&Rg(e,t)?(e=bg(),ms=Yc=Hn=null,jr=!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 kg&&t.locale!=="ko"?null:t.data;default:return null}}var r1={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 Ff(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!r1[e.type]:t==="textarea"}function $g(e,t,n,r){og(r),t=Ds(t,"onChange"),0<t.length&&(n=new Xc("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Xo=null,pi=null;function o1(e){zg(e,0)}function gl(e){var t=Wr(e);if(Xh(t))return e}function i1(e,t){if(e==="change")return t}var _g=!1;if(Tn){var Ba;if(Tn){var Va="oninput"in document;if(!Va){var Lf=document.createElement("div");Lf.setAttribute("oninput","return;"),Va=typeof Lf.oninput=="function"}Ba=Va}else Ba=!1;_g=Ba&&(!document.documentMode||9<document.documentMode)}function Nf(){Xo&&(Xo.detachEvent("onpropertychange",Pg),pi=Xo=null)}function Pg(e){if(e.propertyName==="value"&&gl(pi)){var t=[];$g(t,pi,e,Wc(e)),ag(o1,t)}}function s1(e,t,n){e==="focusin"?(Nf(),Xo=t,pi=n,Xo.attachEvent("onpropertychange",Pg)):e==="focusout"&&Nf()}function l1(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return gl(pi)}function a1(e,t){if(e==="click")return gl(t)}function u1(e,t){if(e==="input"||e==="change")return gl(t)}function c1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var on=typeof Object.is=="function"?Object.is:c1;function hi(e,t){if(on(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!bu.call(t,o)||!on(e[o],t[o]))return!1}return!0}function zf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Df(e,t){var n=zf(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=zf(n)}}function Tg(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Tg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Mg(){for(var e=window,t=Is();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Is(e.document)}return t}function ed(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")}function d1(e){var t=Mg(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Tg(n.ownerDocument.documentElement,n)){if(r!==null&&ed(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Df(n,i);var s=Df(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var f1=Tn&&"documentMode"in document&&11>=document.documentMode,Hr=null,ju=null,Zo=null,Hu=!1;function Bf(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Hu||Hr==null||Hr!==Is(r)||(r=Hr,"selectionStart"in r&&ed(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Zo&&hi(Zo,r)||(Zo=r,r=Ds(ju,"onSelect"),0<r.length&&(t=new Xc("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Hr)))}function Gi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ur={animationend:Gi("Animation","AnimationEnd"),animationiteration:Gi("Animation","AnimationIteration"),animationstart:Gi("Animation","AnimationStart"),transitionend:Gi("Transition","TransitionEnd")},ja={},Ig={};Tn&&(Ig=document.createElement("div").style,"AnimationEvent"in window||(delete Ur.animationend.animation,delete Ur.animationiteration.animation,delete Ur.animationstart.animation),"TransitionEvent"in window||delete Ur.transitionend.transition);function ml(e){if(ja[e])return ja[e];if(!Ur[e])return e;var t=Ur[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Ig)return ja[e]=t[n];return e}var Og=ml("animationend"),Ag=ml("animationiteration"),Fg=ml("animationstart"),Lg=ml("transitionend"),Ng=new Map,Vf="abort auxClick 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(" ");function sr(e,t){Ng.set(e,t),Pr(t,[e])}for(var Ha=0;Ha<Vf.length;Ha++){var Ua=Vf[Ha],p1=Ua.toLowerCase(),h1=Ua[0].toUpperCase()+Ua.slice(1);sr(p1,"on"+h1)}sr(Og,"onAnimationEnd");sr(Ag,"onAnimationIteration");sr(Fg,"onAnimationStart");sr("dblclick","onDoubleClick");sr("focusin","onFocus");sr("focusout","onBlur");sr(Lg,"onTransitionEnd");so("onMouseEnter",["mouseout","mouseover"]);so("onMouseLeave",["mouseout","mouseover"]);so("onPointerEnter",["pointerout","pointerover"]);so("onPointerLeave",["pointerout","pointerover"]);Pr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Pr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Pr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Pr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Pr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Pr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Uo="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(" "),g1=new Set("cancel close invalid load scroll toggle".split(" ").concat(Uo));function jf(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,py(r,t,void 0,e),e.currentTarget=null}function zg(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var s=r.length-1;0<=s;s--){var l=r[s],a=l.instance,u=l.currentTarget;if(l=l.listener,a!==i&&o.isPropagationStopped())break e;jf(o,l,u),i=a}else for(s=0;s<r.length;s++){if(l=r[s],a=l.instance,u=l.currentTarget,l=l.listener,a!==i&&o.isPropagationStopped())break e;jf(o,l,u),i=a}}}if(As)throw e=zu,As=!1,zu=null,e}function Ee(e,t){var n=t[qu];n===void 0&&(n=t[qu]=new Set);var r=e+"__bubble";n.has(r)||(Dg(t,e,2,!1),n.add(r))}function Wa(e,t,n){var r=0;t&&(r|=4),Dg(n,e,r,t)}var Ki="_reactListening"+Math.random().toString(36).slice(2);function gi(e){if(!e[Ki]){e[Ki]=!0,Gh.forEach(function(n){n!=="selectionchange"&&(g1.has(n)||Wa(n,!1,e),Wa(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Ki]||(t[Ki]=!0,Wa("selectionchange",!1,t))}}function Dg(e,t,n,r){switch(Cg(t)){case 1:var o=Py;break;case 4:o=Ty;break;default:o=Qc}n=o.bind(null,t,n,e),o=void 0,!Nu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Ga(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var l=r.stateNode.containerInfo;if(l===o||l.nodeType===8&&l.parentNode===o)break;if(s===4)for(s=r.return;s!==null;){var a=s.tag;if((a===3||a===4)&&(a=s.stateNode.containerInfo,a===o||a.nodeType===8&&a.parentNode===o))return;s=s.return}for(;l!==null;){if(s=gr(l),s===null)return;if(a=s.tag,a===5||a===6){r=i=s;continue e}l=l.parentNode}}r=r.return}ag(function(){var u=i,c=Wc(n),d=[];e:{var f=Ng.get(e);if(f!==void 0){var h=Xc,y=e;switch(e){case"keypress":if(vs(n)===0)break e;case"keydown":case"keyup":h=Wy;break;case"focusin":y="focus",h=Da;break;case"focusout":y="blur",h=Da;break;case"beforeblur":case"afterblur":h=Da;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=Tf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=Oy;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=qy;break;case Og:case Ag:case Fg:h=Ly;break;case Lg:h=Yy;break;case"scroll":h=My;break;case"wheel":h=Zy;break;case"copy":case"cut":case"paste":h=zy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=If}var g=(t&4)!==0,k=!g&&e==="scroll",m=g?f!==null?f+"Capture":null:f;g=[];for(var p=u,v;p!==null;){v=p;var S=v.stateNode;if(v.tag===5&&S!==null&&(v=S,m!==null&&(S=ui(p,m),S!=null&&g.push(mi(p,S,v)))),k)break;p=p.return}0<g.length&&(f=new h(f,y,null,n,c),d.push({event:f,listeners:g}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",f&&n!==Fu&&(y=n.relatedTarget||n.fromElement)&&(gr(y)||y[Mn]))break e;if((h||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,h?(y=n.relatedTarget||n.toElement,h=u,y=y?gr(y):null,y!==null&&(k=Tr(y),y!==k||y.tag!==5&&y.tag!==6)&&(y=null)):(h=null,y=u),h!==y)){if(g=Tf,S="onMouseLeave",m="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(g=If,S="onPointerLeave",m="onPointerEnter",p="pointer"),k=h==null?f:Wr(h),v=y==null?f:Wr(y),f=new g(S,p+"leave",h,n,c),f.target=k,f.relatedTarget=v,S=null,gr(c)===u&&(g=new g(m,p+"enter",y,n,c),g.target=v,g.relatedTarget=k,S=g),k=S,h&&y)t:{for(g=h,m=y,p=0,v=g;v;v=Mr(v))p++;for(v=0,S=m;S;S=Mr(S))v++;for(;0<p-v;)g=Mr(g),p--;for(;0<v-p;)m=Mr(m),v--;for(;p--;){if(g===m||m!==null&&g===m.alternate)break t;g=Mr(g),m=Mr(m)}g=null}else g=null;h!==null&&Hf(d,f,h,g,!1),y!==null&&k!==null&&Hf(d,k,y,g,!0)}}e:{if(f=u?Wr(u):window,h=f.nodeName&&f.nodeName.toLowerCase(),h==="select"||h==="input"&&f.type==="file")var C=i1;else if(Ff(f))if(_g)C=u1;else{C=l1;var R=s1}else(h=f.nodeName)&&h.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(C=a1);if(C&&(C=C(e,u))){$g(d,C,n,c);break e}R&&R(e,f,u),e==="focusout"&&(R=f._wrapperState)&&R.controlled&&f.type==="number"&&Tu(f,"number",f.value)}switch(R=u?Wr(u):window,e){case"focusin":(Ff(R)||R.contentEditable==="true")&&(Hr=R,ju=u,Zo=null);break;case"focusout":Zo=ju=Hr=null;break;case"mousedown":Hu=!0;break;case"contextmenu":case"mouseup":case"dragend":Hu=!1,Bf(d,n,c);break;case"selectionchange":if(f1)break;case"keydown":case"keyup":Bf(d,n,c)}var b;if(Jc)e:{switch(e){case"compositionstart":var $="onCompositionStart";break e;case"compositionend":$="onCompositionEnd";break e;case"compositionupdate":$="onCompositionUpdate";break e}$=void 0}else jr?Rg(e,n)&&($="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&($="onCompositionStart");$&&(kg&&n.locale!=="ko"&&(jr||$!=="onCompositionStart"?$==="onCompositionEnd"&&jr&&(b=bg()):(Hn=c,Yc="value"in Hn?Hn.value:Hn.textContent,jr=!0)),R=Ds(u,$),0<R.length&&($=new Mf($,e,null,n,c),d.push({event:$,listeners:R}),b?$.data=b:(b=Eg(n),b!==null&&($.data=b)))),(b=e1?t1(e,n):n1(e,n))&&(u=Ds(u,"onBeforeInput"),0<u.length&&(c=new Mf("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=b))}zg(d,t)})}function mi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ds(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=ui(e,n),i!=null&&r.unshift(mi(e,i,o)),i=ui(e,t),i!=null&&r.push(mi(e,i,o))),e=e.return}return r}function Mr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Hf(e,t,n,r,o){for(var i=t._reactName,s=[];n!==null&&n!==r;){var l=n,a=l.alternate,u=l.stateNode;if(a!==null&&a===r)break;l.tag===5&&u!==null&&(l=u,o?(a=ui(n,i),a!=null&&s.unshift(mi(n,a,l))):o||(a=ui(n,i),a!=null&&s.push(mi(n,a,l)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var m1=/\r\n?/g,v1=/\u0000|\uFFFD/g;function Uf(e){return(typeof e=="string"?e:""+e).replace(m1,`
|
|
38
|
+
`).replace(v1,"")}function qi(e,t,n){if(t=Uf(t),Uf(e)!==t&&n)throw Error(I(425))}function Bs(){}var Uu=null,Wu=null;function Gu(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Ku=typeof setTimeout=="function"?setTimeout:void 0,y1=typeof clearTimeout=="function"?clearTimeout:void 0,Wf=typeof Promise=="function"?Promise:void 0,S1=typeof queueMicrotask=="function"?queueMicrotask:typeof Wf<"u"?function(e){return Wf.resolve(null).then(e).catch(x1)}:Ku;function x1(e){setTimeout(function(){throw e})}function Ka(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),fi(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);fi(t)}function Qn(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==="$?")break;if(t==="/$")return null}}return e}function Gf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var So=Math.random().toString(36).slice(2),fn="__reactFiber$"+So,vi="__reactProps$"+So,Mn="__reactContainer$"+So,qu="__reactEvents$"+So,w1="__reactListeners$"+So,C1="__reactHandles$"+So;function gr(e){var t=e[fn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Mn]||n[fn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Gf(e);e!==null;){if(n=e[fn])return n;e=Gf(e)}return t}e=n,n=e.parentNode}return null}function Mi(e){return e=e[fn]||e[Mn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Wr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(I(33))}function vl(e){return e[vi]||null}var Qu=[],Gr=-1;function lr(e){return{current:e}}function $e(e){0>Gr||(e.current=Qu[Gr],Qu[Gr]=null,Gr--)}function ke(e,t){Gr++,Qu[Gr]=e.current,e.current=t}var nr={},pt=lr(nr),Ct=lr(!1),wr=nr;function lo(e,t){var n=e.type.contextTypes;if(!n)return nr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function bt(e){return e=e.childContextTypes,e!=null}function Vs(){$e(Ct),$e(pt)}function Kf(e,t,n){if(pt.current!==nr)throw Error(I(168));ke(pt,t),ke(Ct,n)}function Bg(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(I(108,sy(e)||"Unknown",o));return Fe({},n,r)}function js(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||nr,wr=pt.current,ke(pt,e),ke(Ct,Ct.current),!0}function qf(e,t,n){var r=e.stateNode;if(!r)throw Error(I(169));n?(e=Bg(e,t,wr),r.__reactInternalMemoizedMergedChildContext=e,$e(Ct),$e(pt),ke(pt,e)):$e(Ct),ke(Ct,n)}var kn=null,yl=!1,qa=!1;function Vg(e){kn===null?kn=[e]:kn.push(e)}function b1(e){yl=!0,Vg(e)}function ar(){if(!qa&&kn!==null){qa=!0;var e=0,t=Se;try{var n=kn;for(Se=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}kn=null,yl=!1}catch(o){throw kn!==null&&(kn=kn.slice(e+1)),fg(Gc,ar),o}finally{Se=t,qa=!1}}return null}var Kr=[],qr=0,Hs=null,Us=0,zt=[],Dt=0,Cr=null,Rn=1,En="";function cr(e,t){Kr[qr++]=Us,Kr[qr++]=Hs,Hs=e,Us=t}function jg(e,t,n){zt[Dt++]=Rn,zt[Dt++]=En,zt[Dt++]=Cr,Cr=e;var r=Rn;e=En;var o=32-tn(r)-1;r&=~(1<<o),n+=1;var i=32-tn(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,Rn=1<<32-tn(t)+o|n<<o|r,En=i+e}else Rn=1<<i|n<<o|r,En=e}function td(e){e.return!==null&&(cr(e,1),jg(e,1,0))}function nd(e){for(;e===Hs;)Hs=Kr[--qr],Kr[qr]=null,Us=Kr[--qr],Kr[qr]=null;for(;e===Cr;)Cr=zt[--Dt],zt[Dt]=null,En=zt[--Dt],zt[Dt]=null,Rn=zt[--Dt],zt[Dt]=null}var Mt=null,Tt=null,Te=!1,Zt=null;function Hg(e,t){var n=Vt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Qf(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Mt=e,Tt=Qn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Mt=e,Tt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Cr!==null?{id:Rn,overflow:En}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Vt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Mt=e,Tt=null,!0):!1;default:return!1}}function Yu(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Xu(e){if(Te){var t=Tt;if(t){var n=t;if(!Qf(e,t)){if(Yu(e))throw Error(I(418));t=Qn(n.nextSibling);var r=Mt;t&&Qf(e,t)?Hg(r,n):(e.flags=e.flags&-4097|2,Te=!1,Mt=e)}}else{if(Yu(e))throw Error(I(418));e.flags=e.flags&-4097|2,Te=!1,Mt=e}}}function Yf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Mt=e}function Qi(e){if(e!==Mt)return!1;if(!Te)return Yf(e),Te=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Gu(e.type,e.memoizedProps)),t&&(t=Tt)){if(Yu(e))throw Ug(),Error(I(418));for(;t;)Hg(e,t),t=Qn(t.nextSibling)}if(Yf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(I(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Tt=Qn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Tt=null}}else Tt=Mt?Qn(e.stateNode.nextSibling):null;return!0}function Ug(){for(var e=Tt;e;)e=Qn(e.nextSibling)}function ao(){Tt=Mt=null,Te=!1}function rd(e){Zt===null?Zt=[e]:Zt.push(e)}var k1=An.ReactCurrentBatchConfig;function Qt(e,t){if(e&&e.defaultProps){t=Fe({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var Ws=lr(null),Gs=null,Qr=null,od=null;function id(){od=Qr=Gs=null}function sd(e){var t=Ws.current;$e(Ws),e._currentValue=t}function Zu(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function no(e,t){Gs=e,od=Qr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(wt=!0),e.firstContext=null)}function Ht(e){var t=e._currentValue;if(od!==e)if(e={context:e,memoizedValue:t,next:null},Qr===null){if(Gs===null)throw Error(I(308));Qr=e,Gs.dependencies={lanes:0,firstContext:e}}else Qr=Qr.next=e;return t}var mr=null;function ld(e){mr===null?mr=[e]:mr.push(e)}function Wg(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,ld(t)):(n.next=o.next,o.next=n),t.interleaved=n,In(e,r)}function In(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Bn=!1;function ad(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Gg(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Pn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Yn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,de&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,In(e,n)}return o=r.interleaved,o===null?(t.next=t,ld(r)):(t.next=o.next,o.next=t),r.interleaved=t,In(e,n)}function ys(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Kc(e,n)}}function Xf(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ks(e,t,n,r){var o=e.updateQueue;Bn=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var a=l,u=a.next;a.next=null,s===null?i=u:s.next=u,s=a;var c=e.alternate;c!==null&&(c=c.updateQueue,l=c.lastBaseUpdate,l!==s&&(l===null?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=a))}if(i!==null){var d=o.baseState;s=0,c=u=a=null,l=i;do{var f=l.lane,h=l.eventTime;if((r&f)===f){c!==null&&(c=c.next={eventTime:h,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var y=e,g=l;switch(f=t,h=n,g.tag){case 1:if(y=g.payload,typeof y=="function"){d=y.call(h,d,f);break e}d=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=g.payload,f=typeof y=="function"?y.call(h,d,f):y,f==null)break e;d=Fe({},d,f);break e;case 2:Bn=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,f=o.effects,f===null?o.effects=[l]:f.push(l))}else h={eventTime:h,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},c===null?(u=c=h,a=d):c=c.next=h,s|=f;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;f=l,l=f.next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}while(1);if(c===null&&(a=d),o.baseState=a,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);kr|=s,e.lanes=s,e.memoizedState=d}}function Zf(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(I(191,o));o.call(r)}}}var Kg=new Wh.Component().refs;function Ju(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Fe({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Sl={isMounted:function(e){return(e=e._reactInternals)?Tr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=gt(),o=Zn(e),i=Pn(r,o);i.payload=t,n!=null&&(i.callback=n),t=Yn(e,i,o),t!==null&&(nn(t,e,o,r),ys(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=gt(),o=Zn(e),i=Pn(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Yn(e,i,o),t!==null&&(nn(t,e,o,r),ys(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=gt(),r=Zn(e),o=Pn(n,r);o.tag=2,t!=null&&(o.callback=t),t=Yn(e,o,r),t!==null&&(nn(t,e,r,n),ys(t,e,r))}};function Jf(e,t,n,r,o,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,s):t.prototype&&t.prototype.isPureReactComponent?!hi(n,r)||!hi(o,i):!0}function qg(e,t,n){var r=!1,o=nr,i=t.contextType;return typeof i=="object"&&i!==null?i=Ht(i):(o=bt(t)?wr:pt.current,r=t.contextTypes,i=(r=r!=null)?lo(e,o):nr),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Sl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function ep(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Sl.enqueueReplaceState(t,t.state,null)}function ec(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Kg,ad(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=Ht(i):(i=bt(t)?wr:pt.current,o.context=lo(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Ju(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&Sl.enqueueReplaceState(o,o.state,null),Ks(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function _o(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(I(309));var r=n.stateNode}if(!r)throw Error(I(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(s){var l=o.refs;l===Kg&&(l=o.refs={}),s===null?delete l[i]:l[i]=s},t._stringRef=i,t)}if(typeof e!="string")throw Error(I(284));if(!n._owner)throw Error(I(290,e))}return e}function Yi(e,t){throw e=Object.prototype.toString.call(t),Error(I(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function tp(e){var t=e._init;return t(e._payload)}function Qg(e){function t(m,p){if(e){var v=m.deletions;v===null?(m.deletions=[p],m.flags|=16):v.push(p)}}function n(m,p){if(!e)return null;for(;p!==null;)t(m,p),p=p.sibling;return null}function r(m,p){for(m=new Map;p!==null;)p.key!==null?m.set(p.key,p):m.set(p.index,p),p=p.sibling;return m}function o(m,p){return m=Jn(m,p),m.index=0,m.sibling=null,m}function i(m,p,v){return m.index=v,e?(v=m.alternate,v!==null?(v=v.index,v<p?(m.flags|=2,p):v):(m.flags|=2,p)):(m.flags|=1048576,p)}function s(m){return e&&m.alternate===null&&(m.flags|=2),m}function l(m,p,v,S){return p===null||p.tag!==6?(p=tu(v,m.mode,S),p.return=m,p):(p=o(p,v),p.return=m,p)}function a(m,p,v,S){var C=v.type;return C===Vr?c(m,p,v.props.children,S,v.key):p!==null&&(p.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Dn&&tp(C)===p.type)?(S=o(p,v.props),S.ref=_o(m,p,v),S.return=m,S):(S=ks(v.type,v.key,v.props,null,m.mode,S),S.ref=_o(m,p,v),S.return=m,S)}function u(m,p,v,S){return p===null||p.tag!==4||p.stateNode.containerInfo!==v.containerInfo||p.stateNode.implementation!==v.implementation?(p=nu(v,m.mode,S),p.return=m,p):(p=o(p,v.children||[]),p.return=m,p)}function c(m,p,v,S,C){return p===null||p.tag!==7?(p=xr(v,m.mode,S,C),p.return=m,p):(p=o(p,v),p.return=m,p)}function d(m,p,v){if(typeof p=="string"&&p!==""||typeof p=="number")return p=tu(""+p,m.mode,v),p.return=m,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case Di:return v=ks(p.type,p.key,p.props,null,m.mode,v),v.ref=_o(m,null,p),v.return=m,v;case Br:return p=nu(p,m.mode,v),p.return=m,p;case Dn:var S=p._init;return d(m,S(p._payload),v)}if(jo(p)||bo(p))return p=xr(p,m.mode,v,null),p.return=m,p;Yi(m,p)}return null}function f(m,p,v,S){var C=p!==null?p.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return C!==null?null:l(m,p,""+v,S);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Di:return v.key===C?a(m,p,v,S):null;case Br:return v.key===C?u(m,p,v,S):null;case Dn:return C=v._init,f(m,p,C(v._payload),S)}if(jo(v)||bo(v))return C!==null?null:c(m,p,v,S,null);Yi(m,v)}return null}function h(m,p,v,S,C){if(typeof S=="string"&&S!==""||typeof S=="number")return m=m.get(v)||null,l(p,m,""+S,C);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Di:return m=m.get(S.key===null?v:S.key)||null,a(p,m,S,C);case Br:return m=m.get(S.key===null?v:S.key)||null,u(p,m,S,C);case Dn:var R=S._init;return h(m,p,v,R(S._payload),C)}if(jo(S)||bo(S))return m=m.get(v)||null,c(p,m,S,C,null);Yi(p,S)}return null}function y(m,p,v,S){for(var C=null,R=null,b=p,$=p=0,L=null;b!==null&&$<v.length;$++){b.index>$?(L=b,b=null):L=b.sibling;var _=f(m,b,v[$],S);if(_===null){b===null&&(b=L);break}e&&b&&_.alternate===null&&t(m,b),p=i(_,p,$),R===null?C=_:R.sibling=_,R=_,b=L}if($===v.length)return n(m,b),Te&&cr(m,$),C;if(b===null){for(;$<v.length;$++)b=d(m,v[$],S),b!==null&&(p=i(b,p,$),R===null?C=b:R.sibling=b,R=b);return Te&&cr(m,$),C}for(b=r(m,b);$<v.length;$++)L=h(b,m,$,v[$],S),L!==null&&(e&&L.alternate!==null&&b.delete(L.key===null?$:L.key),p=i(L,p,$),R===null?C=L:R.sibling=L,R=L);return e&&b.forEach(function(F){return t(m,F)}),Te&&cr(m,$),C}function g(m,p,v,S){var C=bo(v);if(typeof C!="function")throw Error(I(150));if(v=C.call(v),v==null)throw Error(I(151));for(var R=C=null,b=p,$=p=0,L=null,_=v.next();b!==null&&!_.done;$++,_=v.next()){b.index>$?(L=b,b=null):L=b.sibling;var F=f(m,b,_.value,S);if(F===null){b===null&&(b=L);break}e&&b&&F.alternate===null&&t(m,b),p=i(F,p,$),R===null?C=F:R.sibling=F,R=F,b=L}if(_.done)return n(m,b),Te&&cr(m,$),C;if(b===null){for(;!_.done;$++,_=v.next())_=d(m,_.value,S),_!==null&&(p=i(_,p,$),R===null?C=_:R.sibling=_,R=_);return Te&&cr(m,$),C}for(b=r(m,b);!_.done;$++,_=v.next())_=h(b,m,$,_.value,S),_!==null&&(e&&_.alternate!==null&&b.delete(_.key===null?$:_.key),p=i(_,p,$),R===null?C=_:R.sibling=_,R=_);return e&&b.forEach(function(G){return t(m,G)}),Te&&cr(m,$),C}function k(m,p,v,S){if(typeof v=="object"&&v!==null&&v.type===Vr&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Di:e:{for(var C=v.key,R=p;R!==null;){if(R.key===C){if(C=v.type,C===Vr){if(R.tag===7){n(m,R.sibling),p=o(R,v.props.children),p.return=m,m=p;break e}}else if(R.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Dn&&tp(C)===R.type){n(m,R.sibling),p=o(R,v.props),p.ref=_o(m,R,v),p.return=m,m=p;break e}n(m,R);break}else t(m,R);R=R.sibling}v.type===Vr?(p=xr(v.props.children,m.mode,S,v.key),p.return=m,m=p):(S=ks(v.type,v.key,v.props,null,m.mode,S),S.ref=_o(m,p,v),S.return=m,m=S)}return s(m);case Br:e:{for(R=v.key;p!==null;){if(p.key===R)if(p.tag===4&&p.stateNode.containerInfo===v.containerInfo&&p.stateNode.implementation===v.implementation){n(m,p.sibling),p=o(p,v.children||[]),p.return=m,m=p;break e}else{n(m,p);break}else t(m,p);p=p.sibling}p=nu(v,m.mode,S),p.return=m,m=p}return s(m);case Dn:return R=v._init,k(m,p,R(v._payload),S)}if(jo(v))return y(m,p,v,S);if(bo(v))return g(m,p,v,S);Yi(m,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,p!==null&&p.tag===6?(n(m,p.sibling),p=o(p,v),p.return=m,m=p):(n(m,p),p=tu(v,m.mode,S),p.return=m,m=p),s(m)):n(m,p)}return k}var uo=Qg(!0),Yg=Qg(!1),Ii={},gn=lr(Ii),yi=lr(Ii),Si=lr(Ii);function vr(e){if(e===Ii)throw Error(I(174));return e}function ud(e,t){switch(ke(Si,t),ke(yi,e),ke(gn,Ii),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Iu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Iu(t,e)}$e(gn),ke(gn,t)}function co(){$e(gn),$e(yi),$e(Si)}function Xg(e){vr(Si.current);var t=vr(gn.current),n=Iu(t,e.type);t!==n&&(ke(yi,e),ke(gn,n))}function cd(e){yi.current===e&&($e(gn),$e(yi))}var Oe=lr(0);function qs(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Qa=[];function dd(){for(var e=0;e<Qa.length;e++)Qa[e]._workInProgressVersionPrimary=null;Qa.length=0}var Ss=An.ReactCurrentDispatcher,Ya=An.ReactCurrentBatchConfig,br=0,Ae=null,qe=null,Xe=null,Qs=!1,Jo=!1,xi=0,R1=0;function ut(){throw Error(I(321))}function fd(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!on(e[n],t[n]))return!1;return!0}function pd(e,t,n,r,o,i){if(br=i,Ae=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ss.current=e===null||e.memoizedState===null?P1:T1,e=n(r,o),Jo){i=0;do{if(Jo=!1,xi=0,25<=i)throw Error(I(301));i+=1,Xe=qe=null,t.updateQueue=null,Ss.current=M1,e=n(r,o)}while(Jo)}if(Ss.current=Ys,t=qe!==null&&qe.next!==null,br=0,Xe=qe=Ae=null,Qs=!1,t)throw Error(I(300));return e}function hd(){var e=xi!==0;return xi=0,e}function an(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Xe===null?Ae.memoizedState=Xe=e:Xe=Xe.next=e,Xe}function Ut(){if(qe===null){var e=Ae.alternate;e=e!==null?e.memoizedState:null}else e=qe.next;var t=Xe===null?Ae.memoizedState:Xe.next;if(t!==null)Xe=t,qe=e;else{if(e===null)throw Error(I(310));qe=e,e={memoizedState:qe.memoizedState,baseState:qe.baseState,baseQueue:qe.baseQueue,queue:qe.queue,next:null},Xe===null?Ae.memoizedState=Xe=e:Xe=Xe.next=e}return Xe}function wi(e,t){return typeof t=="function"?t(e):t}function Xa(e){var t=Ut(),n=t.queue;if(n===null)throw Error(I(311));n.lastRenderedReducer=e;var r=qe,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var l=s=null,a=null,u=i;do{var c=u.lane;if((br&c)===c)a!==null&&(a=a.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};a===null?(l=a=d,s=r):a=a.next=d,Ae.lanes|=c,kr|=c}u=u.next}while(u!==null&&u!==i);a===null?s=r:a.next=l,on(r,t.memoizedState)||(wt=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,Ae.lanes|=i,kr|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Za(e){var t=Ut(),n=t.queue;if(n===null)throw Error(I(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var s=o=o.next;do i=e(i,s.action),s=s.next;while(s!==o);on(i,t.memoizedState)||(wt=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Zg(){}function Jg(e,t){var n=Ae,r=Ut(),o=t(),i=!on(r.memoizedState,o);if(i&&(r.memoizedState=o,wt=!0),r=r.queue,gd(nm.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Xe!==null&&Xe.memoizedState.tag&1){if(n.flags|=2048,Ci(9,tm.bind(null,n,r,o,t),void 0,null),Ze===null)throw Error(I(349));br&30||em(n,t,o)}return o}function em(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ae.updateQueue,t===null?(t={lastEffect:null,stores:null},Ae.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function tm(e,t,n,r){t.value=n,t.getSnapshot=r,rm(t)&&om(e)}function nm(e,t,n){return n(function(){rm(t)&&om(e)})}function rm(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!on(e,n)}catch{return!0}}function om(e){var t=In(e,1);t!==null&&nn(t,e,1,-1)}function np(e){var t=an();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:wi,lastRenderedState:e},t.queue=e,e=e.dispatch=_1.bind(null,Ae,e),[t.memoizedState,e]}function Ci(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Ae.updateQueue,t===null?(t={lastEffect:null,stores:null},Ae.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function im(){return Ut().memoizedState}function xs(e,t,n,r){var o=an();Ae.flags|=e,o.memoizedState=Ci(1|t,n,void 0,r===void 0?null:r)}function xl(e,t,n,r){var o=Ut();r=r===void 0?null:r;var i=void 0;if(qe!==null){var s=qe.memoizedState;if(i=s.destroy,r!==null&&fd(r,s.deps)){o.memoizedState=Ci(t,n,i,r);return}}Ae.flags|=e,o.memoizedState=Ci(1|t,n,i,r)}function rp(e,t){return xs(8390656,8,e,t)}function gd(e,t){return xl(2048,8,e,t)}function sm(e,t){return xl(4,2,e,t)}function lm(e,t){return xl(4,4,e,t)}function am(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function um(e,t,n){return n=n!=null?n.concat([e]):null,xl(4,4,am.bind(null,t,e),n)}function md(){}function cm(e,t){var n=Ut();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&fd(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function dm(e,t){var n=Ut();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&fd(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function fm(e,t,n){return br&21?(on(n,t)||(n=gg(),Ae.lanes|=n,kr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,wt=!0),e.memoizedState=n)}function E1(e,t){var n=Se;Se=n!==0&&4>n?n:4,e(!0);var r=Ya.transition;Ya.transition={};try{e(!1),t()}finally{Se=n,Ya.transition=r}}function pm(){return Ut().memoizedState}function $1(e,t,n){var r=Zn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},hm(e))gm(t,n);else if(n=Wg(e,t,n,r),n!==null){var o=gt();nn(n,e,r,o),mm(n,t,r)}}function _1(e,t,n){var r=Zn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(hm(e))gm(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,l=i(s,n);if(o.hasEagerState=!0,o.eagerState=l,on(l,s)){var a=t.interleaved;a===null?(o.next=o,ld(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=Wg(e,t,o,r),n!==null&&(o=gt(),nn(n,e,r,o),mm(n,t,r))}}function hm(e){var t=e.alternate;return e===Ae||t!==null&&t===Ae}function gm(e,t){Jo=Qs=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function mm(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Kc(e,n)}}var Ys={readContext:Ht,useCallback:ut,useContext:ut,useEffect:ut,useImperativeHandle:ut,useInsertionEffect:ut,useLayoutEffect:ut,useMemo:ut,useReducer:ut,useRef:ut,useState:ut,useDebugValue:ut,useDeferredValue:ut,useTransition:ut,useMutableSource:ut,useSyncExternalStore:ut,useId:ut,unstable_isNewReconciler:!1},P1={readContext:Ht,useCallback:function(e,t){return an().memoizedState=[e,t===void 0?null:t],e},useContext:Ht,useEffect:rp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,xs(4194308,4,am.bind(null,t,e),n)},useLayoutEffect:function(e,t){return xs(4194308,4,e,t)},useInsertionEffect:function(e,t){return xs(4,2,e,t)},useMemo:function(e,t){var n=an();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=an();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=$1.bind(null,Ae,e),[r.memoizedState,e]},useRef:function(e){var t=an();return e={current:e},t.memoizedState=e},useState:np,useDebugValue:md,useDeferredValue:function(e){return an().memoizedState=e},useTransition:function(){var e=np(!1),t=e[0];return e=E1.bind(null,e[1]),an().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ae,o=an();if(Te){if(n===void 0)throw Error(I(407));n=n()}else{if(n=t(),Ze===null)throw Error(I(349));br&30||em(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,rp(nm.bind(null,r,i,e),[e]),r.flags|=2048,Ci(9,tm.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=an(),t=Ze.identifierPrefix;if(Te){var n=En,r=Rn;n=(r&~(1<<32-tn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=xi++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=R1++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},T1={readContext:Ht,useCallback:cm,useContext:Ht,useEffect:gd,useImperativeHandle:um,useInsertionEffect:sm,useLayoutEffect:lm,useMemo:dm,useReducer:Xa,useRef:im,useState:function(){return Xa(wi)},useDebugValue:md,useDeferredValue:function(e){var t=Ut();return fm(t,qe.memoizedState,e)},useTransition:function(){var e=Xa(wi)[0],t=Ut().memoizedState;return[e,t]},useMutableSource:Zg,useSyncExternalStore:Jg,useId:pm,unstable_isNewReconciler:!1},M1={readContext:Ht,useCallback:cm,useContext:Ht,useEffect:gd,useImperativeHandle:um,useInsertionEffect:sm,useLayoutEffect:lm,useMemo:dm,useReducer:Za,useRef:im,useState:function(){return Za(wi)},useDebugValue:md,useDeferredValue:function(e){var t=Ut();return qe===null?t.memoizedState=e:fm(t,qe.memoizedState,e)},useTransition:function(){var e=Za(wi)[0],t=Ut().memoizedState;return[e,t]},useMutableSource:Zg,useSyncExternalStore:Jg,useId:pm,unstable_isNewReconciler:!1};function fo(e,t){try{var n="",r=t;do n+=iy(r),r=r.return;while(r);var o=n}catch(i){o=`
|
|
39
|
+
Error generating stack: `+i.message+`
|
|
40
|
+
`+i.stack}return{value:e,source:t,stack:o,digest:null}}function Ja(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function tc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var I1=typeof WeakMap=="function"?WeakMap:Map;function vm(e,t,n){n=Pn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Zs||(Zs=!0,dc=r),tc(e,t)},n}function ym(e,t,n){n=Pn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){tc(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){tc(e,t),typeof r!="function"&&(Xn===null?Xn=new Set([this]):Xn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function op(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new I1;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=G1.bind(null,e,t,n),t.then(e,e))}function ip(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function sp(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Pn(-1,1),t.tag=2,Yn(n,t,1))),n.lanes|=1),e)}var O1=An.ReactCurrentOwner,wt=!1;function ht(e,t,n,r){t.child=e===null?Yg(t,null,n,r):uo(t,e.child,n,r)}function lp(e,t,n,r,o){n=n.render;var i=t.ref;return no(t,o),r=pd(e,t,n,r,i,o),n=hd(),e!==null&&!wt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,On(e,t,o)):(Te&&n&&td(t),t.flags|=1,ht(e,t,r,o),t.child)}function ap(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!kd(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Sm(e,t,i,r,o)):(e=ks(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:hi,n(s,r)&&e.ref===t.ref)return On(e,t,o)}return t.flags|=1,e=Jn(i,r),e.ref=t.ref,e.return=t,t.child=e}function Sm(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(hi(i,r)&&e.ref===t.ref)if(wt=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(wt=!0);else return t.lanes=e.lanes,On(e,t,o)}return nc(e,t,n,r,o)}function xm(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ke(Xr,_t),_t|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ke(Xr,_t),_t|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,ke(Xr,_t),_t|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,ke(Xr,_t),_t|=r;return ht(e,t,o,n),t.child}function wm(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function nc(e,t,n,r,o){var i=bt(n)?wr:pt.current;return i=lo(t,i),no(t,o),n=pd(e,t,n,r,i,o),r=hd(),e!==null&&!wt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,On(e,t,o)):(Te&&r&&td(t),t.flags|=1,ht(e,t,n,o),t.child)}function up(e,t,n,r,o){if(bt(n)){var i=!0;js(t)}else i=!1;if(no(t,o),t.stateNode===null)ws(e,t),qg(t,n,r),ec(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,l=t.memoizedProps;s.props=l;var a=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=Ht(u):(u=bt(n)?wr:pt.current,u=lo(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||a!==u)&&ep(t,s,r,u),Bn=!1;var f=t.memoizedState;s.state=f,Ks(t,r,s,o),a=t.memoizedState,l!==r||f!==a||Ct.current||Bn?(typeof c=="function"&&(Ju(t,n,c,r),a=t.memoizedState),(l=Bn||Jf(t,n,l,r,f,a,u))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),s.props=r,s.state=a,s.context=u,r=l):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Gg(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:Qt(t.type,l),s.props=u,d=t.pendingProps,f=s.context,a=n.contextType,typeof a=="object"&&a!==null?a=Ht(a):(a=bt(n)?wr:pt.current,a=lo(t,a));var h=n.getDerivedStateFromProps;(c=typeof h=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==d||f!==a)&&ep(t,s,r,a),Bn=!1,f=t.memoizedState,s.state=f,Ks(t,r,s,o);var y=t.memoizedState;l!==d||f!==y||Ct.current||Bn?(typeof h=="function"&&(Ju(t,n,h,r),y=t.memoizedState),(u=Bn||Jf(t,n,u,r,f,y,a)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,y,a),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,y,a)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=y),s.props=r,s.state=y,s.context=a,r=u):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return rc(e,t,n,r,i,o)}function rc(e,t,n,r,o,i){wm(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&qf(t,n,!1),On(e,t,i);r=t.stateNode,O1.current=t;var l=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=uo(t,e.child,null,i),t.child=uo(t,null,l,i)):ht(e,t,l,i),t.memoizedState=r.state,o&&qf(t,n,!0),t.child}function Cm(e){var t=e.stateNode;t.pendingContext?Kf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Kf(e,t.context,!1),ud(e,t.containerInfo)}function cp(e,t,n,r,o){return ao(),rd(o),t.flags|=256,ht(e,t,n,r),t.child}var oc={dehydrated:null,treeContext:null,retryLane:0};function ic(e){return{baseLanes:e,cachePool:null,transitions:null}}function bm(e,t,n){var r=t.pendingProps,o=Oe.current,i=!1,s=(t.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),ke(Oe,o&1),e===null)return Xu(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,i?(r=t.mode,i=t.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=bl(s,r,0,null),e=xr(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=ic(n),t.memoizedState=oc,e):vd(t,s));if(o=e.memoizedState,o!==null&&(l=o.dehydrated,l!==null))return A1(e,t,s,r,l,o,n);if(i){i=r.fallback,s=t.mode,o=e.child,l=o.sibling;var a={mode:"hidden",children:r.children};return!(s&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=Jn(o,a),r.subtreeFlags=o.subtreeFlags&14680064),l!==null?i=Jn(l,i):(i=xr(i,s,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,s=e.child.memoizedState,s=s===null?ic(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=oc,r}return i=e.child,e=i.sibling,r=Jn(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function vd(e,t){return t=bl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Xi(e,t,n,r){return r!==null&&rd(r),uo(t,e.child,null,n),e=vd(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function A1(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=Ja(Error(I(422))),Xi(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=bl({mode:"visible",children:r.children},o,0,null),i=xr(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&uo(t,e.child,null,s),t.child.memoizedState=ic(s),t.memoizedState=oc,i);if(!(t.mode&1))return Xi(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,i=Error(I(419)),r=Ja(i,r,void 0),Xi(e,t,s,r)}if(l=(s&e.childLanes)!==0,wt||l){if(r=Ze,r!==null){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,In(e,o),nn(r,e,o,-1))}return bd(),r=Ja(Error(I(421))),Xi(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=K1.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Tt=Qn(o.nextSibling),Mt=t,Te=!0,Zt=null,e!==null&&(zt[Dt++]=Rn,zt[Dt++]=En,zt[Dt++]=Cr,Rn=e.id,En=e.overflow,Cr=t),t=vd(t,r.children),t.flags|=4096,t)}function dp(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Zu(e.return,t,n)}function eu(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function km(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(ht(e,t,r.children,n),r=Oe.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&dp(e,n,t);else if(e.tag===19)dp(e,n,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}r&=1}if(ke(Oe,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&qs(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),eu(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&qs(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}eu(t,!0,n,null,i);break;case"together":eu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ws(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function On(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),kr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(I(153));if(t.child!==null){for(e=t.child,n=Jn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Jn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function F1(e,t,n){switch(t.tag){case 3:Cm(t),ao();break;case 5:Xg(t);break;case 1:bt(t.type)&&js(t);break;case 4:ud(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;ke(Ws,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ke(Oe,Oe.current&1),t.flags|=128,null):n&t.child.childLanes?bm(e,t,n):(ke(Oe,Oe.current&1),e=On(e,t,n),e!==null?e.sibling:null);ke(Oe,Oe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return km(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),ke(Oe,Oe.current),r)break;return null;case 22:case 23:return t.lanes=0,xm(e,t,n)}return On(e,t,n)}var Rm,sc,Em,$m;Rm=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};sc=function(){};Em=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,vr(gn.current);var i=null;switch(n){case"input":o=_u(e,o),r=_u(e,r),i=[];break;case"select":o=Fe({},o,{value:void 0}),r=Fe({},r,{value:void 0}),i=[];break;case"textarea":o=Mu(e,o),r=Mu(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Bs)}Ou(n,r);var s;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var l=o[u];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(li.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var a=r[u];if(l=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&a!==l&&(a!=null||l!=null))if(u==="style")if(l){for(s in l)!l.hasOwnProperty(s)||a&&a.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in a)a.hasOwnProperty(s)&&l[s]!==a[s]&&(n||(n={}),n[s]=a[s])}else n||(i||(i=[]),i.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,l=l?l.__html:void 0,a!=null&&l!==a&&(i=i||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(i=i||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(li.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&Ee("scroll",e),i||l===a||(i=[])):(i=i||[]).push(u,a))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};$m=function(e,t,n,r){n!==r&&(t.flags|=4)};function Po(e,t){if(!Te)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ct(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function L1(e,t,n){var r=t.pendingProps;switch(nd(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ct(t),null;case 1:return bt(t.type)&&Vs(),ct(t),null;case 3:return r=t.stateNode,co(),$e(Ct),$e(pt),dd(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Qi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Zt!==null&&(hc(Zt),Zt=null))),sc(e,t),ct(t),null;case 5:cd(t);var o=vr(Si.current);if(n=t.type,e!==null&&t.stateNode!=null)Em(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(I(166));return ct(t),null}if(e=vr(gn.current),Qi(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[fn]=t,r[vi]=i,e=(t.mode&1)!==0,n){case"dialog":Ee("cancel",r),Ee("close",r);break;case"iframe":case"object":case"embed":Ee("load",r);break;case"video":case"audio":for(o=0;o<Uo.length;o++)Ee(Uo[o],r);break;case"source":Ee("error",r);break;case"img":case"image":case"link":Ee("error",r),Ee("load",r);break;case"details":Ee("toggle",r);break;case"input":xf(r,i),Ee("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Ee("invalid",r);break;case"textarea":Cf(r,i),Ee("invalid",r)}Ou(n,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];s==="children"?typeof l=="string"?r.textContent!==l&&(i.suppressHydrationWarning!==!0&&qi(r.textContent,l,e),o=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(i.suppressHydrationWarning!==!0&&qi(r.textContent,l,e),o=["children",""+l]):li.hasOwnProperty(s)&&l!=null&&s==="onScroll"&&Ee("scroll",r)}switch(n){case"input":Bi(r),wf(r,i,!0);break;case"textarea":Bi(r),bf(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Bs)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=eg(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[fn]=t,e[vi]=r,Rm(e,t,!1,!1),t.stateNode=e;e:{switch(s=Au(n,r),n){case"dialog":Ee("cancel",e),Ee("close",e),o=r;break;case"iframe":case"object":case"embed":Ee("load",e),o=r;break;case"video":case"audio":for(o=0;o<Uo.length;o++)Ee(Uo[o],e);o=r;break;case"source":Ee("error",e),o=r;break;case"img":case"image":case"link":Ee("error",e),Ee("load",e),o=r;break;case"details":Ee("toggle",e),o=r;break;case"input":xf(e,r),o=_u(e,r),Ee("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Fe({},r,{value:void 0}),Ee("invalid",e);break;case"textarea":Cf(e,r),o=Mu(e,r),Ee("invalid",e);break;default:o=r}Ou(n,o),l=o;for(i in l)if(l.hasOwnProperty(i)){var a=l[i];i==="style"?rg(e,a):i==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&tg(e,a)):i==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&ai(e,a):typeof a=="number"&&ai(e,""+a):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(li.hasOwnProperty(i)?a!=null&&i==="onScroll"&&Ee("scroll",e):a!=null&&Vc(e,i,a,s))}switch(n){case"input":Bi(e),wf(e,r,!1);break;case"textarea":Bi(e),bf(e);break;case"option":r.value!=null&&e.setAttribute("value",""+tr(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Zr(e,!!r.multiple,i,!1):r.defaultValue!=null&&Zr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Bs)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return ct(t),null;case 6:if(e&&t.stateNode!=null)$m(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(I(166));if(n=vr(Si.current),vr(gn.current),Qi(t)){if(r=t.stateNode,n=t.memoizedProps,r[fn]=t,(i=r.nodeValue!==n)&&(e=Mt,e!==null))switch(e.tag){case 3:qi(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&qi(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[fn]=t,t.stateNode=r}return ct(t),null;case 13:if($e(Oe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Te&&Tt!==null&&t.mode&1&&!(t.flags&128))Ug(),ao(),t.flags|=98560,i=!1;else if(i=Qi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(I(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(I(317));i[fn]=t}else ao(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ct(t),i=!1}else Zt!==null&&(hc(Zt),Zt=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Oe.current&1?Qe===0&&(Qe=3):bd())),t.updateQueue!==null&&(t.flags|=4),ct(t),null);case 4:return co(),sc(e,t),e===null&&gi(t.stateNode.containerInfo),ct(t),null;case 10:return sd(t.type._context),ct(t),null;case 17:return bt(t.type)&&Vs(),ct(t),null;case 19:if($e(Oe),i=t.memoizedState,i===null)return ct(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)Po(i,!1);else{if(Qe!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=qs(e),s!==null){for(t.flags|=128,Po(i,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,s=i.alternate,s===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ke(Oe,Oe.current&1|2),t.child}e=e.sibling}i.tail!==null&&He()>po&&(t.flags|=128,r=!0,Po(i,!1),t.lanes=4194304)}else{if(!r)if(e=qs(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Po(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!Te)return ct(t),null}else 2*He()-i.renderingStartTime>po&&n!==1073741824&&(t.flags|=128,r=!0,Po(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=He(),t.sibling=null,n=Oe.current,ke(Oe,r?n&1|2:n&1),t):(ct(t),null);case 22:case 23:return Cd(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?_t&1073741824&&(ct(t),t.subtreeFlags&6&&(t.flags|=8192)):ct(t),null;case 24:return null;case 25:return null}throw Error(I(156,t.tag))}function N1(e,t){switch(nd(t),t.tag){case 1:return bt(t.type)&&Vs(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return co(),$e(Ct),$e(pt),dd(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return cd(t),null;case 13:if($e(Oe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(I(340));ao()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return $e(Oe),null;case 4:return co(),null;case 10:return sd(t.type._context),null;case 22:case 23:return Cd(),null;case 24:return null;default:return null}}var Zi=!1,ft=!1,z1=typeof WeakSet=="function"?WeakSet:Set,D=null;function Yr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ve(e,t,r)}else n.current=null}function lc(e,t,n){try{n()}catch(r){Ve(e,t,r)}}var fp=!1;function D1(e,t){if(Uu=Ns,e=Mg(),ed(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var h;d!==n||o!==0&&d.nodeType!==3||(l=s+o),d!==i||r!==0&&d.nodeType!==3||(a=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(h=d.firstChild)!==null;)f=d,d=h;for(;;){if(d===e)break t;if(f===n&&++u===o&&(l=s),f===i&&++c===r&&(a=s),(h=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=h}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Wu={focusedElem:e,selectionRange:n},Ns=!1,D=t;D!==null;)if(t=D,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,D=e;else for(;D!==null;){t=D;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var g=y.memoizedProps,k=y.memoizedState,m=t.stateNode,p=m.getSnapshotBeforeUpdate(t.elementType===t.type?g:Qt(t.type,g),k);m.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(I(163))}}catch(S){Ve(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,D=e;break}D=t.return}return y=fp,fp=!1,y}function ei(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&lc(t,n,i)}o=o.next}while(o!==r)}}function wl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ac(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function _m(e){var t=e.alternate;t!==null&&(e.alternate=null,_m(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[fn],delete t[vi],delete t[qu],delete t[w1],delete t[C1])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Pm(e){return e.tag===5||e.tag===3||e.tag===4}function pp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Pm(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.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 uc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Bs));else if(r!==4&&(e=e.child,e!==null))for(uc(e,t,n),e=e.sibling;e!==null;)uc(e,t,n),e=e.sibling}function cc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(cc(e,t,n),e=e.sibling;e!==null;)cc(e,t,n),e=e.sibling}var nt=null,Yt=!1;function Nn(e,t,n){for(n=n.child;n!==null;)Tm(e,t,n),n=n.sibling}function Tm(e,t,n){if(hn&&typeof hn.onCommitFiberUnmount=="function")try{hn.onCommitFiberUnmount(pl,n)}catch{}switch(n.tag){case 5:ft||Yr(n,t);case 6:var r=nt,o=Yt;nt=null,Nn(e,t,n),nt=r,Yt=o,nt!==null&&(Yt?(e=nt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):nt.removeChild(n.stateNode));break;case 18:nt!==null&&(Yt?(e=nt,n=n.stateNode,e.nodeType===8?Ka(e.parentNode,n):e.nodeType===1&&Ka(e,n),fi(e)):Ka(nt,n.stateNode));break;case 4:r=nt,o=Yt,nt=n.stateNode.containerInfo,Yt=!0,Nn(e,t,n),nt=r,Yt=o;break;case 0:case 11:case 14:case 15:if(!ft&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&lc(n,t,s),o=o.next}while(o!==r)}Nn(e,t,n);break;case 1:if(!ft&&(Yr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Ve(n,t,l)}Nn(e,t,n);break;case 21:Nn(e,t,n);break;case 22:n.mode&1?(ft=(r=ft)||n.memoizedState!==null,Nn(e,t,n),ft=r):Nn(e,t,n);break;default:Nn(e,t,n)}}function hp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new z1),t.forEach(function(r){var o=q1.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function qt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,l=s;e:for(;l!==null;){switch(l.tag){case 5:nt=l.stateNode,Yt=!1;break e;case 3:nt=l.stateNode.containerInfo,Yt=!0;break e;case 4:nt=l.stateNode.containerInfo,Yt=!0;break e}l=l.return}if(nt===null)throw Error(I(160));Tm(i,s,o),nt=null,Yt=!1;var a=o.alternate;a!==null&&(a.return=null),o.return=null}catch(u){Ve(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Mm(t,e),t=t.sibling}function Mm(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(qt(t,e),ln(e),r&4){try{ei(3,e,e.return),wl(3,e)}catch(g){Ve(e,e.return,g)}try{ei(5,e,e.return)}catch(g){Ve(e,e.return,g)}}break;case 1:qt(t,e),ln(e),r&512&&n!==null&&Yr(n,n.return);break;case 5:if(qt(t,e),ln(e),r&512&&n!==null&&Yr(n,n.return),e.flags&32){var o=e.stateNode;try{ai(o,"")}catch(g){Ve(e,e.return,g)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,s=n!==null?n.memoizedProps:i,l=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{l==="input"&&i.type==="radio"&&i.name!=null&&Zh(o,i),Au(l,s);var u=Au(l,i);for(s=0;s<a.length;s+=2){var c=a[s],d=a[s+1];c==="style"?rg(o,d):c==="dangerouslySetInnerHTML"?tg(o,d):c==="children"?ai(o,d):Vc(o,c,d,u)}switch(l){case"input":Pu(o,i);break;case"textarea":Jh(o,i);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var h=i.value;h!=null?Zr(o,!!i.multiple,h,!1):f!==!!i.multiple&&(i.defaultValue!=null?Zr(o,!!i.multiple,i.defaultValue,!0):Zr(o,!!i.multiple,i.multiple?[]:"",!1))}o[vi]=i}catch(g){Ve(e,e.return,g)}}break;case 6:if(qt(t,e),ln(e),r&4){if(e.stateNode===null)throw Error(I(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(g){Ve(e,e.return,g)}}break;case 3:if(qt(t,e),ln(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{fi(t.containerInfo)}catch(g){Ve(e,e.return,g)}break;case 4:qt(t,e),ln(e);break;case 13:qt(t,e),ln(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(xd=He())),r&4&&hp(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(ft=(u=ft)||c,qt(t,e),ft=u):qt(t,e),ln(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(D=e,c=e.child;c!==null;){for(d=D=c;D!==null;){switch(f=D,h=f.child,f.tag){case 0:case 11:case 14:case 15:ei(4,f,f.return);break;case 1:Yr(f,f.return);var y=f.stateNode;if(typeof y.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,y.props=t.memoizedProps,y.state=t.memoizedState,y.componentWillUnmount()}catch(g){Ve(r,n,g)}}break;case 5:Yr(f,f.return);break;case 22:if(f.memoizedState!==null){mp(d);continue}}h!==null?(h.return=f,D=h):mp(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{o=d.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(l=d.stateNode,a=d.memoizedProps.style,s=a!=null&&a.hasOwnProperty("display")?a.display:null,l.style.display=ng("display",s))}catch(g){Ve(e,e.return,g)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(g){Ve(e,e.return,g)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:qt(t,e),ln(e),r&4&&hp(e);break;case 21:break;default:qt(t,e),ln(e)}}function ln(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Pm(n)){var r=n;break e}n=n.return}throw Error(I(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(ai(o,""),r.flags&=-33);var i=pp(e);cc(e,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,l=pp(e);uc(e,l,s);break;default:throw Error(I(161))}}catch(a){Ve(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function B1(e,t,n){D=e,Im(e)}function Im(e,t,n){for(var r=(e.mode&1)!==0;D!==null;){var o=D,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||Zi;if(!s){var l=o.alternate,a=l!==null&&l.memoizedState!==null||ft;l=Zi;var u=ft;if(Zi=s,(ft=a)&&!u)for(D=o;D!==null;)s=D,a=s.child,s.tag===22&&s.memoizedState!==null?vp(o):a!==null?(a.return=s,D=a):vp(o);for(;i!==null;)D=i,Im(i),i=i.sibling;D=o,Zi=l,ft=u}gp(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,D=i):gp(e)}}function gp(e){for(;D!==null;){var t=D;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ft||wl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!ft)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Qt(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Zf(t,i,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Zf(t,s,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&fi(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(I(163))}ft||t.flags&512&&ac(t)}catch(f){Ve(t,t.return,f)}}if(t===e){D=null;break}if(n=t.sibling,n!==null){n.return=t.return,D=n;break}D=t.return}}function mp(e){for(;D!==null;){var t=D;if(t===e){D=null;break}var n=t.sibling;if(n!==null){n.return=t.return,D=n;break}D=t.return}}function vp(e){for(;D!==null;){var t=D;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{wl(4,t)}catch(a){Ve(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(a){Ve(t,o,a)}}var i=t.return;try{ac(t)}catch(a){Ve(t,i,a)}break;case 5:var s=t.return;try{ac(t)}catch(a){Ve(t,s,a)}}}catch(a){Ve(t,t.return,a)}if(t===e){D=null;break}var l=t.sibling;if(l!==null){l.return=t.return,D=l;break}D=t.return}}var V1=Math.ceil,Xs=An.ReactCurrentDispatcher,yd=An.ReactCurrentOwner,jt=An.ReactCurrentBatchConfig,de=0,Ze=null,Ge=null,ot=0,_t=0,Xr=lr(0),Qe=0,bi=null,kr=0,Cl=0,Sd=0,ti=null,xt=null,xd=0,po=1/0,bn=null,Zs=!1,dc=null,Xn=null,Ji=!1,Un=null,Js=0,ni=0,fc=null,Cs=-1,bs=0;function gt(){return de&6?He():Cs!==-1?Cs:Cs=He()}function Zn(e){return e.mode&1?de&2&&ot!==0?ot&-ot:k1.transition!==null?(bs===0&&(bs=gg()),bs):(e=Se,e!==0||(e=window.event,e=e===void 0?16:Cg(e.type)),e):1}function nn(e,t,n,r){if(50<ni)throw ni=0,fc=null,Error(I(185));Pi(e,n,r),(!(de&2)||e!==Ze)&&(e===Ze&&(!(de&2)&&(Cl|=n),Qe===4&&jn(e,ot)),kt(e,r),n===1&&de===0&&!(t.mode&1)&&(po=He()+500,yl&&ar()))}function kt(e,t){var n=e.callbackNode;ky(e,t);var r=Ls(e,e===Ze?ot:0);if(r===0)n!==null&&Ef(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Ef(n),t===1)e.tag===0?b1(yp.bind(null,e)):Vg(yp.bind(null,e)),S1(function(){!(de&6)&&ar()}),n=null;else{switch(mg(r)){case 1:n=Gc;break;case 4:n=pg;break;case 16:n=Fs;break;case 536870912:n=hg;break;default:n=Fs}n=Bm(n,Om.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Om(e,t){if(Cs=-1,bs=0,de&6)throw Error(I(327));var n=e.callbackNode;if(ro()&&e.callbackNode!==n)return null;var r=Ls(e,e===Ze?ot:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=el(e,r);else{t=r;var o=de;de|=2;var i=Fm();(Ze!==e||ot!==t)&&(bn=null,po=He()+500,Sr(e,t));do try{U1();break}catch(l){Am(e,l)}while(1);id(),Xs.current=i,de=o,Ge!==null?t=0:(Ze=null,ot=0,t=Qe)}if(t!==0){if(t===2&&(o=Du(e),o!==0&&(r=o,t=pc(e,o))),t===1)throw n=bi,Sr(e,0),jn(e,r),kt(e,He()),n;if(t===6)jn(e,r);else{if(o=e.current.alternate,!(r&30)&&!j1(o)&&(t=el(e,r),t===2&&(i=Du(e),i!==0&&(r=i,t=pc(e,i))),t===1))throw n=bi,Sr(e,0),jn(e,r),kt(e,He()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(I(345));case 2:dr(e,xt,bn);break;case 3:if(jn(e,r),(r&130023424)===r&&(t=xd+500-He(),10<t)){if(Ls(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){gt(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Ku(dr.bind(null,e,xt,bn),t);break}dr(e,xt,bn);break;case 4:if(jn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-tn(r);i=1<<s,s=t[s],s>o&&(o=s),r&=~i}if(r=o,r=He()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*V1(r/1960))-r,10<r){e.timeoutHandle=Ku(dr.bind(null,e,xt,bn),r);break}dr(e,xt,bn);break;case 5:dr(e,xt,bn);break;default:throw Error(I(329))}}}return kt(e,He()),e.callbackNode===n?Om.bind(null,e):null}function pc(e,t){var n=ti;return e.current.memoizedState.isDehydrated&&(Sr(e,t).flags|=256),e=el(e,t),e!==2&&(t=xt,xt=n,t!==null&&hc(t)),e}function hc(e){xt===null?xt=e:xt.push.apply(xt,e)}function j1(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!on(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;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 jn(e,t){for(t&=~Sd,t&=~Cl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-tn(t),r=1<<n;e[n]=-1,t&=~r}}function yp(e){if(de&6)throw Error(I(327));ro();var t=Ls(e,0);if(!(t&1))return kt(e,He()),null;var n=el(e,t);if(e.tag!==0&&n===2){var r=Du(e);r!==0&&(t=r,n=pc(e,r))}if(n===1)throw n=bi,Sr(e,0),jn(e,t),kt(e,He()),n;if(n===6)throw Error(I(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,dr(e,xt,bn),kt(e,He()),null}function wd(e,t){var n=de;de|=1;try{return e(t)}finally{de=n,de===0&&(po=He()+500,yl&&ar())}}function Rr(e){Un!==null&&Un.tag===0&&!(de&6)&&ro();var t=de;de|=1;var n=jt.transition,r=Se;try{if(jt.transition=null,Se=1,e)return e()}finally{Se=r,jt.transition=n,de=t,!(de&6)&&ar()}}function Cd(){_t=Xr.current,$e(Xr)}function Sr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,y1(n)),Ge!==null)for(n=Ge.return;n!==null;){var r=n;switch(nd(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Vs();break;case 3:co(),$e(Ct),$e(pt),dd();break;case 5:cd(r);break;case 4:co();break;case 13:$e(Oe);break;case 19:$e(Oe);break;case 10:sd(r.type._context);break;case 22:case 23:Cd()}n=n.return}if(Ze=e,Ge=e=Jn(e.current,null),ot=_t=t,Qe=0,bi=null,Sd=Cl=kr=0,xt=ti=null,mr!==null){for(t=0;t<mr.length;t++)if(n=mr[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var s=i.next;i.next=o,r.next=s}n.pending=r}mr=null}return e}function Am(e,t){do{var n=Ge;try{if(id(),Ss.current=Ys,Qs){for(var r=Ae.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Qs=!1}if(br=0,Xe=qe=Ae=null,Jo=!1,xi=0,yd.current=null,n===null||n.return===null){Qe=1,bi=t,Ge=null;break}e:{var i=e,s=n.return,l=n,a=t;if(t=ot,l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,c=l,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var f=c.alternate;f?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null)}var h=ip(s);if(h!==null){h.flags&=-257,sp(h,s,l,i,t),h.mode&1&&op(i,u,t),t=h,a=u;var y=t.updateQueue;if(y===null){var g=new Set;g.add(a),t.updateQueue=g}else y.add(a);break e}else{if(!(t&1)){op(i,u,t),bd();break e}a=Error(I(426))}}else if(Te&&l.mode&1){var k=ip(s);if(k!==null){!(k.flags&65536)&&(k.flags|=256),sp(k,s,l,i,t),rd(fo(a,l));break e}}i=a=fo(a,l),Qe!==4&&(Qe=2),ti===null?ti=[i]:ti.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var m=vm(i,a,t);Xf(i,m);break e;case 1:l=a;var p=i.type,v=i.stateNode;if(!(i.flags&128)&&(typeof p.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(Xn===null||!Xn.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t;var S=ym(i,l,t);Xf(i,S);break e}}i=i.return}while(i!==null)}Nm(n)}catch(C){t=C,Ge===n&&n!==null&&(Ge=n=n.return);continue}break}while(1)}function Fm(){var e=Xs.current;return Xs.current=Ys,e===null?Ys:e}function bd(){(Qe===0||Qe===3||Qe===2)&&(Qe=4),Ze===null||!(kr&268435455)&&!(Cl&268435455)||jn(Ze,ot)}function el(e,t){var n=de;de|=2;var r=Fm();(Ze!==e||ot!==t)&&(bn=null,Sr(e,t));do try{H1();break}catch(o){Am(e,o)}while(1);if(id(),de=n,Xs.current=r,Ge!==null)throw Error(I(261));return Ze=null,ot=0,Qe}function H1(){for(;Ge!==null;)Lm(Ge)}function U1(){for(;Ge!==null&&!gy();)Lm(Ge)}function Lm(e){var t=Dm(e.alternate,e,_t);e.memoizedProps=e.pendingProps,t===null?Nm(e):Ge=t,yd.current=null}function Nm(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=N1(n,t),n!==null){n.flags&=32767,Ge=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Qe=6,Ge=null;return}}else if(n=L1(n,t,_t),n!==null){Ge=n;return}if(t=t.sibling,t!==null){Ge=t;return}Ge=t=e}while(t!==null);Qe===0&&(Qe=5)}function dr(e,t,n){var r=Se,o=jt.transition;try{jt.transition=null,Se=1,W1(e,t,n,r)}finally{jt.transition=o,Se=r}return null}function W1(e,t,n,r){do ro();while(Un!==null);if(de&6)throw Error(I(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(I(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(Ry(e,i),e===Ze&&(Ge=Ze=null,ot=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Ji||(Ji=!0,Bm(Fs,function(){return ro(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=jt.transition,jt.transition=null;var s=Se;Se=1;var l=de;de|=4,yd.current=null,D1(e,n),Mm(n,e),d1(Wu),Ns=!!Uu,Wu=Uu=null,e.current=n,B1(n),my(),de=l,Se=s,jt.transition=i}else e.current=n;if(Ji&&(Ji=!1,Un=e,Js=o),i=e.pendingLanes,i===0&&(Xn=null),Sy(n.stateNode),kt(e,He()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Zs)throw Zs=!1,e=dc,dc=null,e;return Js&1&&e.tag!==0&&ro(),i=e.pendingLanes,i&1?e===fc?ni++:(ni=0,fc=e):ni=0,ar(),null}function ro(){if(Un!==null){var e=mg(Js),t=jt.transition,n=Se;try{if(jt.transition=null,Se=16>e?16:e,Un===null)var r=!1;else{if(e=Un,Un=null,Js=0,de&6)throw Error(I(331));var o=de;for(de|=4,D=e.current;D!==null;){var i=D,s=i.child;if(D.flags&16){var l=i.deletions;if(l!==null){for(var a=0;a<l.length;a++){var u=l[a];for(D=u;D!==null;){var c=D;switch(c.tag){case 0:case 11:case 15:ei(8,c,i)}var d=c.child;if(d!==null)d.return=c,D=d;else for(;D!==null;){c=D;var f=c.sibling,h=c.return;if(_m(c),c===u){D=null;break}if(f!==null){f.return=h,D=f;break}D=h}}}var y=i.alternate;if(y!==null){var g=y.child;if(g!==null){y.child=null;do{var k=g.sibling;g.sibling=null,g=k}while(g!==null)}}D=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,D=s;else e:for(;D!==null;){if(i=D,i.flags&2048)switch(i.tag){case 0:case 11:case 15:ei(9,i,i.return)}var m=i.sibling;if(m!==null){m.return=i.return,D=m;break e}D=i.return}}var p=e.current;for(D=p;D!==null;){s=D;var v=s.child;if(s.subtreeFlags&2064&&v!==null)v.return=s,D=v;else e:for(s=p;D!==null;){if(l=D,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:wl(9,l)}}catch(C){Ve(l,l.return,C)}if(l===s){D=null;break e}var S=l.sibling;if(S!==null){S.return=l.return,D=S;break e}D=l.return}}if(de=o,ar(),hn&&typeof hn.onPostCommitFiberRoot=="function")try{hn.onPostCommitFiberRoot(pl,e)}catch{}r=!0}return r}finally{Se=n,jt.transition=t}}return!1}function Sp(e,t,n){t=fo(n,t),t=vm(e,t,1),e=Yn(e,t,1),t=gt(),e!==null&&(Pi(e,1,t),kt(e,t))}function Ve(e,t,n){if(e.tag===3)Sp(e,e,n);else for(;t!==null;){if(t.tag===3){Sp(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Xn===null||!Xn.has(r))){e=fo(n,e),e=ym(t,e,1),t=Yn(t,e,1),e=gt(),t!==null&&(Pi(t,1,e),kt(t,e));break}}t=t.return}}function G1(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=gt(),e.pingedLanes|=e.suspendedLanes&n,Ze===e&&(ot&n)===n&&(Qe===4||Qe===3&&(ot&130023424)===ot&&500>He()-xd?Sr(e,0):Sd|=n),kt(e,t)}function zm(e,t){t===0&&(e.mode&1?(t=Hi,Hi<<=1,!(Hi&130023424)&&(Hi=4194304)):t=1);var n=gt();e=In(e,t),e!==null&&(Pi(e,t,n),kt(e,n))}function K1(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),zm(e,n)}function q1(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(I(314))}r!==null&&r.delete(t),zm(e,n)}var Dm;Dm=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ct.current)wt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return wt=!1,F1(e,t,n);wt=!!(e.flags&131072)}else wt=!1,Te&&t.flags&1048576&&jg(t,Us,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ws(e,t),e=t.pendingProps;var o=lo(t,pt.current);no(t,n),o=pd(null,t,r,e,o,n);var i=hd();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,bt(r)?(i=!0,js(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,ad(t),o.updater=Sl,t.stateNode=o,o._reactInternals=t,ec(t,r,e,n),t=rc(null,t,r,!0,i,n)):(t.tag=0,Te&&i&&td(t),ht(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ws(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Y1(r),e=Qt(r,e),o){case 0:t=nc(null,t,r,e,n);break e;case 1:t=up(null,t,r,e,n);break e;case 11:t=lp(null,t,r,e,n);break e;case 14:t=ap(null,t,r,Qt(r.type,e),n);break e}throw Error(I(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Qt(r,o),nc(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Qt(r,o),up(e,t,r,o,n);case 3:e:{if(Cm(t),e===null)throw Error(I(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Gg(e,t),Ks(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=fo(Error(I(423)),t),t=cp(e,t,r,n,o);break e}else if(r!==o){o=fo(Error(I(424)),t),t=cp(e,t,r,n,o);break e}else for(Tt=Qn(t.stateNode.containerInfo.firstChild),Mt=t,Te=!0,Zt=null,n=Yg(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ao(),r===o){t=On(e,t,n);break e}ht(e,t,r,n)}t=t.child}return t;case 5:return Xg(t),e===null&&Xu(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,Gu(r,o)?s=null:i!==null&&Gu(r,i)&&(t.flags|=32),wm(e,t),ht(e,t,s,n),t.child;case 6:return e===null&&Xu(t),null;case 13:return bm(e,t,n);case 4:return ud(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=uo(t,null,r,n):ht(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Qt(r,o),lp(e,t,r,o,n);case 7:return ht(e,t,t.pendingProps,n),t.child;case 8:return ht(e,t,t.pendingProps.children,n),t.child;case 12:return ht(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,ke(Ws,r._currentValue),r._currentValue=s,i!==null)if(on(i.value,s)){if(i.children===o.children&&!Ct.current){t=On(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){s=i.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=Pn(-1,n&-n),a.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?a.next=a:(a.next=c.next,c.next=a),u.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),Zu(i.return,n,t),l.lanes|=n;break}a=a.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(I(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Zu(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}ht(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,no(t,n),o=Ht(o),r=r(o),t.flags|=1,ht(e,t,r,n),t.child;case 14:return r=t.type,o=Qt(r,t.pendingProps),o=Qt(r.type,o),ap(e,t,r,o,n);case 15:return Sm(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Qt(r,o),ws(e,t),t.tag=1,bt(r)?(e=!0,js(t)):e=!1,no(t,n),qg(t,r,o),ec(t,r,o,n),rc(null,t,r,!0,e,n);case 19:return km(e,t,n);case 22:return xm(e,t,n)}throw Error(I(156,t.tag))};function Bm(e,t){return fg(e,t)}function Q1(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Vt(e,t,n,r){return new Q1(e,t,n,r)}function kd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Y1(e){if(typeof e=="function")return kd(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Hc)return 11;if(e===Uc)return 14}return 2}function Jn(e,t){var n=e.alternate;return n===null?(n=Vt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ks(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")kd(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Vr:return xr(n.children,o,i,t);case jc:s=8,o|=8;break;case ku:return e=Vt(12,n,t,o|2),e.elementType=ku,e.lanes=i,e;case Ru:return e=Vt(13,n,t,o),e.elementType=Ru,e.lanes=i,e;case Eu:return e=Vt(19,n,t,o),e.elementType=Eu,e.lanes=i,e;case Qh:return bl(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Kh:s=10;break e;case qh:s=9;break e;case Hc:s=11;break e;case Uc:s=14;break e;case Dn:s=16,r=null;break e}throw Error(I(130,e==null?e:typeof e,""))}return t=Vt(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function xr(e,t,n,r){return e=Vt(7,e,r,t),e.lanes=n,e}function bl(e,t,n,r){return e=Vt(22,e,r,t),e.elementType=Qh,e.lanes=n,e.stateNode={isHidden:!1},e}function tu(e,t,n){return e=Vt(6,e,null,t),e.lanes=n,e}function nu(e,t,n){return t=Vt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function X1(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=La(0),this.expirationTimes=La(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=La(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Rd(e,t,n,r,o,i,s,l,a){return e=new X1(e,t,n,l,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Vt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},ad(i),e}function Z1(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Br,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Vm(e){if(!e)return nr;e=e._reactInternals;e:{if(Tr(e)!==e||e.tag!==1)throw Error(I(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(bt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(I(171))}if(e.tag===1){var n=e.type;if(bt(n))return Bg(e,n,t)}return t}function jm(e,t,n,r,o,i,s,l,a){return e=Rd(n,r,!0,e,o,i,s,l,a),e.context=Vm(null),n=e.current,r=gt(),o=Zn(n),i=Pn(r,o),i.callback=t??null,Yn(n,i,o),e.current.lanes=o,Pi(e,o,r),kt(e,r),e}function kl(e,t,n,r){var o=t.current,i=gt(),s=Zn(o);return n=Vm(n),t.context===null?t.context=n:t.pendingContext=n,t=Pn(i,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Yn(o,t,s),e!==null&&(nn(e,o,s,i),ys(e,o,s)),s}function tl(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function xp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Ed(e,t){xp(e,t),(e=e.alternate)&&xp(e,t)}function J1(){return null}var Hm=typeof reportError=="function"?reportError:function(e){console.error(e)};function $d(e){this._internalRoot=e}Rl.prototype.render=$d.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(I(409));kl(e,t,null,null)};Rl.prototype.unmount=$d.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Rr(function(){kl(null,e,null,null)}),t[Mn]=null}};function Rl(e){this._internalRoot=e}Rl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Sg();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Vn.length&&t!==0&&t<Vn[n].priority;n++);Vn.splice(n,0,e),n===0&&wg(e)}};function _d(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function El(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function wp(){}function eS(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=tl(s);i.call(u)}}var s=jm(t,r,e,0,null,!1,!1,"",wp);return e._reactRootContainer=s,e[Mn]=s.current,gi(e.nodeType===8?e.parentNode:e),Rr(),s}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var l=r;r=function(){var u=tl(a);l.call(u)}}var a=Rd(e,0,!1,null,null,!1,!1,"",wp);return e._reactRootContainer=a,e[Mn]=a.current,gi(e.nodeType===8?e.parentNode:e),Rr(function(){kl(t,a,n,r)}),a}function $l(e,t,n,r,o){var i=n._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var l=o;o=function(){var a=tl(s);l.call(a)}}kl(t,s,e,o)}else s=eS(n,t,e,o,r);return tl(s)}vg=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Ho(t.pendingLanes);n!==0&&(Kc(t,n|1),kt(t,He()),!(de&6)&&(po=He()+500,ar()))}break;case 13:Rr(function(){var r=In(e,1);if(r!==null){var o=gt();nn(r,e,1,o)}}),Ed(e,1)}};qc=function(e){if(e.tag===13){var t=In(e,134217728);if(t!==null){var n=gt();nn(t,e,134217728,n)}Ed(e,134217728)}};yg=function(e){if(e.tag===13){var t=Zn(e),n=In(e,t);if(n!==null){var r=gt();nn(n,e,t,r)}Ed(e,t)}};Sg=function(){return Se};xg=function(e,t){var n=Se;try{return Se=e,t()}finally{Se=n}};Lu=function(e,t,n){switch(t){case"input":if(Pu(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=vl(r);if(!o)throw Error(I(90));Xh(r),Pu(r,o)}}}break;case"textarea":Jh(e,n);break;case"select":t=n.value,t!=null&&Zr(e,!!n.multiple,t,!1)}};sg=wd;lg=Rr;var tS={usingClientEntryPoint:!1,Events:[Mi,Wr,vl,og,ig,wd]},To={findFiberByHostInstance:gr,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},nS={bundleType:To.bundleType,version:To.version,rendererPackageName:To.rendererPackageName,rendererConfig:To.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:An.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=cg(e),e===null?null:e.stateNode},findFiberByHostInstance:To.findFiberByHostInstance||J1,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var es=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!es.isDisabled&&es.supportsFiber)try{pl=es.inject(nS),hn=es}catch{}}At.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tS;At.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!_d(t))throw Error(I(200));return Z1(e,t,null,n)};At.createRoot=function(e,t){if(!_d(e))throw Error(I(299));var n=!1,r="",o=Hm;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Rd(e,1,!1,null,null,n,!1,r,o),e[Mn]=t.current,gi(e.nodeType===8?e.parentNode:e),new $d(t)};At.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(I(188)):(e=Object.keys(e).join(","),Error(I(268,e)));return e=cg(t),e=e===null?null:e.stateNode,e};At.flushSync=function(e){return Rr(e)};At.hydrate=function(e,t,n){if(!El(t))throw Error(I(200));return $l(null,e,t,!0,n)};At.hydrateRoot=function(e,t,n){if(!_d(e))throw Error(I(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=Hm;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=jm(t,null,e,1,n??null,o,!1,i,s),e[Mn]=t.current,gi(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Rl(t)};At.render=function(e,t,n){if(!El(t))throw Error(I(200));return $l(null,e,t,!1,n)};At.unmountComponentAtNode=function(e){if(!El(e))throw Error(I(40));return e._reactRootContainer?(Rr(function(){$l(null,null,e,!1,function(){e._reactRootContainer=null,e[Mn]=null})}),!0):!1};At.unstable_batchedUpdates=wd;At.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!El(n))throw Error(I(200));if(e==null||e._reactInternals===void 0)throw Error(I(38));return $l(e,t,n,!1,r)};At.version="18.2.0-next-9e3b772b8-20220608";function Um(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Um)}catch(e){console.error(e)}}Um(),jh.exports=At;var _l=jh.exports;const ts=Ac(_l);var Cp=_l;Cu.createRoot=Cp.createRoot,Cu.hydrateRoot=Cp.hydrateRoot;const yn=Object.create(null);yn.open="0";yn.close="1";yn.ping="2";yn.pong="3";yn.message="4";yn.upgrade="5";yn.noop="6";const Rs=Object.create(null);Object.keys(yn).forEach(e=>{Rs[yn[e]]=e});const rS={type:"error",data:"parser error"},oS=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",iS=typeof ArrayBuffer=="function",sS=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,Wm=({type:e,data:t},n,r)=>oS&&t instanceof Blob?n?r(t):bp(t,r):iS&&(t instanceof ArrayBuffer||sS(t))?n?r(t):bp(new Blob([t]),r):r(yn[e]+(t||"")),bp=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+(r||""))},n.readAsDataURL(e)},kp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Wo=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<kp.length;e++)Wo[kp.charCodeAt(e)]=e;const lS=e=>{let t=e.length*.75,n=e.length,r,o=0,i,s,l,a;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const u=new ArrayBuffer(t),c=new Uint8Array(u);for(r=0;r<n;r+=4)i=Wo[e.charCodeAt(r)],s=Wo[e.charCodeAt(r+1)],l=Wo[e.charCodeAt(r+2)],a=Wo[e.charCodeAt(r+3)],c[o++]=i<<2|s>>4,c[o++]=(s&15)<<4|l>>2,c[o++]=(l&3)<<6|a&63;return u},aS=typeof ArrayBuffer=="function",Gm=(e,t)=>{if(typeof e!="string")return{type:"message",data:Km(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:uS(e.substring(1),t)}:Rs[n]?e.length>1?{type:Rs[n],data:e.substring(1)}:{type:Rs[n]}:rS},uS=(e,t)=>{if(aS){const n=lS(e);return Km(n,t)}else return{base64:!0,data:e}},Km=(e,t)=>{switch(t){case"blob":return e instanceof ArrayBuffer?new Blob([e]):e;case"arraybuffer":default:return e}},qm=String.fromCharCode(30),cS=(e,t)=>{const n=e.length,r=new Array(n);let o=0;e.forEach((i,s)=>{Wm(i,!1,l=>{r[s]=l,++o===n&&t(r.join(qm))})})},dS=(e,t)=>{const n=e.split(qm),r=[];for(let o=0;o<n.length;o++){const i=Gm(n[o],t);if(r.push(i),i.type==="error")break}return r},Qm=4;function Ke(e){if(e)return fS(e)}function fS(e){for(var t in Ke.prototype)e[t]=Ke.prototype[t];return e}Ke.prototype.on=Ke.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};Ke.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this};Ke.prototype.off=Ke.prototype.removeListener=Ke.prototype.removeAllListeners=Ke.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var r,o=0;o<n.length;o++)if(r=n[o],r===t||r.fn===t){n.splice(o,1);break}return n.length===0&&delete this._callbacks["$"+e],this};Ke.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,o=n.length;r<o;++r)n[r].apply(this,t)}return this};Ke.prototype.emitReserved=Ke.prototype.emit;Ke.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};Ke.prototype.hasListeners=function(e){return!!this.listeners(e).length};const Bt=(()=>typeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function Ym(e,...t){return t.reduce((n,r)=>(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const pS=Bt.setTimeout,hS=Bt.clearTimeout;function Pl(e,t){t.useNativeTimers?(e.setTimeoutFn=pS.bind(Bt),e.clearTimeoutFn=hS.bind(Bt)):(e.setTimeoutFn=Bt.setTimeout.bind(Bt),e.clearTimeoutFn=Bt.clearTimeout.bind(Bt))}const gS=1.33;function mS(e){return typeof e=="string"?vS(e):Math.ceil((e.byteLength||e.size)*gS)}function vS(e){let t=0,n=0;for(let r=0,o=e.length;r<o;r++)t=e.charCodeAt(r),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}class yS extends Error{constructor(t,n,r){super(t),this.description=n,this.context=r,this.type="TransportError"}}class Xm extends Ke{constructor(t){super(),this.writable=!1,Pl(this,t),this.opts=t,this.query=t.query,this.socket=t.socket}onError(t,n,r){return super.emitReserved("error",new yS(t,n,r)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=Gm(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}}const Zm="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),gc=64,SS={};let Rp=0,ns=0,Ep;function $p(e){let t="";do t=Zm[e%gc]+t,e=Math.floor(e/gc);while(e>0);return t}function Jm(){const e=$p(+new Date);return e!==Ep?(Rp=0,Ep=e):e+"."+$p(Rp++)}for(;ns<gc;ns++)SS[Zm[ns]]=ns;function e0(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function xS(e){let t={},n=e.split("&");for(let r=0,o=n.length;r<o;r++){let i=n[r].split("=");t[decodeURIComponent(i[0])]=decodeURIComponent(i[1])}return t}let t0=!1;try{t0=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const wS=t0;function n0(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||wS))return new XMLHttpRequest}catch{}if(!t)try{return new Bt[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}function CS(){}const bS=function(){return new n0({xdomain:!1}).responseType!=null}();class kS extends Xm{constructor(t){if(super(t),this.polling=!1,typeof location<"u"){const r=location.protocol==="https:";let o=location.port;o||(o=r?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||o!==t.port,this.xs=t.secure!==r}const n=t&&t.forceBase64;this.supportsBinary=bS&&!n}get name(){return"polling"}doOpen(){this.poll()}pause(t){this.readyState="pausing";const n=()=>{this.readyState="paused",t()};if(this.polling||!this.writable){let r=0;this.polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};dS(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,cS(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let t=this.query||{};const n=this.opts.secure?"https":"http";let r="";this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=Jm()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.opts.port&&(n==="https"&&Number(this.opts.port)!==443||n==="http"&&Number(this.opts.port)!==80)&&(r=":"+this.opts.port);const o=e0(t),i=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(i?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(o.length?"?"+o:"")}request(t={}){return Object.assign(t,{xd:this.xd,xs:this.xs},this.opts),new mn(this.uri(),t)}doWrite(t,n){const r=this.request({method:"POST",data:t});r.on("success",n),r.on("error",(o,i)=>{this.onError("xhr post error",o,i)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=t}}class mn extends Ke{constructor(t,n){super(),Pl(this,n),this.opts=n,this.method=n.method||"GET",this.uri=t,this.async=n.async!==!1,this.data=n.data!==void 0?n.data:null,this.create()}create(){const t=Ym(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd,t.xscheme=!!this.opts.xs;const n=this.xhr=new n0(t);try{n.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let r in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(r)&&n.setRequestHeader(r,this.opts.extraHeaders[r])}}catch{}if(this.method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{n.readyState===4&&(n.status===200||n.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof n.status=="number"?n.status:0)},0))},n.send(this.data)}catch(r){this.setTimeoutFn(()=>{this.onError(r)},0);return}typeof document<"u"&&(this.index=mn.requestsCount++,mn.requests[this.index]=this)}onError(t){this.emitReserved("error",t,this.xhr),this.cleanup(!0)}cleanup(t){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=CS,t)try{this.xhr.abort()}catch{}typeof document<"u"&&delete mn.requests[this.index],this.xhr=null}}onLoad(){const t=this.xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}mn.requestsCount=0;mn.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",_p);else if(typeof addEventListener=="function"){const e="onpagehide"in Bt?"pagehide":"unload";addEventListener(e,_p,!1)}}function _p(){for(let e in mn.requests)mn.requests.hasOwnProperty(e)&&mn.requests[e].abort()}const r0=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0))(),rs=Bt.WebSocket||Bt.MozWebSocket,Pp=!0,RS="arraybuffer",Tp=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class ES extends Xm{constructor(t){super(t),this.supportsBinary=!t.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const t=this.uri(),n=this.opts.protocols,r=Tp?{}:Ym(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=Pp&&!Tp?n?new rs(t,n):new rs(t):new rs(t,n,r)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType||RS,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],o=n===t.length-1;Wm(r,this.supportsBinary,i=>{const s={};try{Pp&&this.ws.send(i)}catch{}o&&r0(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){let t=this.query||{};const n=this.opts.secure?"wss":"ws";let r="";this.opts.port&&(n==="wss"&&Number(this.opts.port)!==443||n==="ws"&&Number(this.opts.port)!==80)&&(r=":"+this.opts.port),this.opts.timestampRequests&&(t[this.opts.timestampParam]=Jm()),this.supportsBinary||(t.b64=1);const o=e0(t),i=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(i?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(o.length?"?"+o:"")}check(){return!!rs}}const $S={websocket:ES,polling:kS},_S=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,PS=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function mc(e){const t=e,n=e.indexOf("["),r=e.indexOf("]");n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let o=_S.exec(e||""),i={},s=14;for(;s--;)i[PS[s]]=o[s]||"";return n!=-1&&r!=-1&&(i.source=t,i.host=i.host.substring(1,i.host.length-1).replace(/;/g,":"),i.authority=i.authority.replace("[","").replace("]","").replace(/;/g,":"),i.ipv6uri=!0),i.pathNames=TS(i,i.path),i.queryKey=MS(i,i.query),i}function TS(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&r.splice(0,1),t.slice(-1)=="/"&&r.splice(r.length-1,1),r}function MS(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,o,i){o&&(n[o]=i)}),n}let o0=class zr extends Ke{constructor(t,n={}){super(),this.writeBuffer=[],t&&typeof t=="object"&&(n=t,t=null),t?(t=mc(t),n.hostname=t.host,n.secure=t.protocol==="https"||t.protocol==="wss",n.port=t.port,t.query&&(n.query=t.query)):n.host&&(n.hostname=mc(n.host).host),Pl(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=n.transports||["polling","websocket"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=xS(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=Qm,n.transport=t,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts.transportOptions[t],this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new $S[t](r)}open(){let t;if(this.opts.rememberUpgrade&&zr.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)t="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else t=this.transports[0];this.readyState="opening";try{t=this.createTransport(t)}catch{this.transports.shift(),this.open();return}t.open(),this.setTransport(t)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",n=>this.onClose("transport close",n))}probe(t){let n=this.createTransport(t),r=!1;zr.priorWebsocketSuccess=!1;const o=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",d=>{if(!r)if(d.type==="pong"&&d.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;zr.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(c(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const f=new Error("probe error");f.transport=n.name,this.emitReserved("upgradeError",f)}}))};function i(){r||(r=!0,c(),n.close(),n=null)}const s=d=>{const f=new Error("probe error: "+d);f.transport=n.name,i(),this.emitReserved("upgradeError",f)};function l(){s("transport closed")}function a(){s("socket closed")}function u(d){n&&d.name!==n.name&&i()}const c=()=>{n.removeListener("open",o),n.removeListener("error",s),n.removeListener("close",l),this.off("close",a),this.off("upgrading",u)};n.once("open",o),n.once("error",s),n.once("close",l),this.once("close",a),this.once("upgrading",u),n.open()}onOpen(){if(this.readyState="open",zr.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let t=0;const n=this.upgrades.length;for(;t<n;t++)this.probe(this.upgrades[t])}}onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this.resetPingTimeout(),this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const n=new Error("server error");n.code=t.data,this.onError(n);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this.upgrades=this.filterUpgrades(t.upgrades),this.pingInterval=t.pingInterval,this.pingTimeout=t.pingTimeout,this.maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn(()=>{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this.getWritablePackets();this.transport.send(t),this.prevBufferLen=t.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r<this.writeBuffer.length;r++){const o=this.writeBuffer[r].data;if(o&&(n+=mS(o)),r>0&&n>this.maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}write(t,n,r){return this.sendPacket("message",t,n,r),this}send(t,n,r){return this.sendPacket("message",t,n,r),this}sendPacket(t,n,r,o){if(typeof n=="function"&&(o=n,n=void 0),typeof r=="function"&&(o=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const i={type:t,data:n,options:r};this.emitReserved("packetCreate",i),this.writeBuffer.push(i),o&&this.once("flush",o),this.flush()}close(){const t=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():t()}):this.upgrading?r():t()),this}onError(t){zr.priorWebsocketSuccess=!1,this.emitReserved("error",t),this.onClose("transport error",t)}onClose(t,n){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(t){const n=[];let r=0;const o=t.length;for(;r<o;r++)~this.transports.indexOf(t[r])&&n.push(t[r]);return n}};o0.protocol=Qm;function IS(e,t="",n){let r=e;n=n||typeof location<"u"&&location,e==null&&(e=n.protocol+"//"+n.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=n.protocol+e:e=n.host+e),/^(https?|wss?):\/\//.test(e)||(typeof n<"u"?e=n.protocol+"//"+e:e="https://"+e),r=mc(e)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const i=r.host.indexOf(":")!==-1?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+i+":"+r.port+t,r.href=r.protocol+"://"+i+(n&&n.port===r.port?"":":"+r.port),r}const OS=typeof ArrayBuffer=="function",AS=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,i0=Object.prototype.toString,FS=typeof Blob=="function"||typeof Blob<"u"&&i0.call(Blob)==="[object BlobConstructor]",LS=typeof File=="function"||typeof File<"u"&&i0.call(File)==="[object FileConstructor]";function Pd(e){return OS&&(e instanceof ArrayBuffer||AS(e))||FS&&e instanceof Blob||LS&&e instanceof File}function Es(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n<r;n++)if(Es(e[n]))return!0;return!1}if(Pd(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return Es(e.toJSON(),!0);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&Es(e[n]))return!0;return!1}function NS(e){const t=[],n=e.data,r=e;return r.data=vc(n,t),r.attachments=t.length,{packet:r,buffers:t}}function vc(e,t){if(!e)return e;if(Pd(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}else if(Array.isArray(e)){const n=new Array(e.length);for(let r=0;r<e.length;r++)n[r]=vc(e[r],t);return n}else if(typeof e=="object"&&!(e instanceof Date)){const n={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=vc(e[r],t));return n}return e}function zS(e,t){return e.data=yc(e.data,t),delete e.attachments,e}function yc(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=yc(e[n],t);else if(typeof e=="object")for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=yc(e[n],t));return e}const DS=5;var ce;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(ce||(ce={}));class BS{constructor(t){this.replacer=t}encode(t){return(t.type===ce.EVENT||t.type===ce.ACK)&&Es(t)?this.encodeAsBinary({type:t.type===ce.EVENT?ce.BINARY_EVENT:ce.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let n=""+t.type;return(t.type===ce.BINARY_EVENT||t.type===ce.BINARY_ACK)&&(n+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(n+=t.nsp+","),t.id!=null&&(n+=t.id),t.data!=null&&(n+=JSON.stringify(t.data,this.replacer)),n}encodeAsBinary(t){const n=NS(t),r=this.encodeAsString(n.packet),o=n.buffers;return o.unshift(r),o}}class Td extends Ke{constructor(t){super(),this.reviver=t}add(t){let n;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(t);const r=n.type===ce.BINARY_EVENT;r||n.type===ce.BINARY_ACK?(n.type=r?ce.EVENT:ce.ACK,this.reconstructor=new VS(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(Pd(t)||t.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(t),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let n=0;const r={type:Number(t.charAt(0))};if(ce[r.type]===void 0)throw new Error("unknown packet type "+r.type);if(r.type===ce.BINARY_EVENT||r.type===ce.BINARY_ACK){const i=n+1;for(;t.charAt(++n)!=="-"&&n!=t.length;);const s=t.substring(i,n);if(s!=Number(s)||t.charAt(n)!=="-")throw new Error("Illegal attachments");r.attachments=Number(s)}if(t.charAt(n+1)==="/"){const i=n+1;for(;++n&&!(t.charAt(n)===","||n===t.length););r.nsp=t.substring(i,n)}else r.nsp="/";const o=t.charAt(n+1);if(o!==""&&Number(o)==o){const i=n+1;for(;++n;){const s=t.charAt(n);if(s==null||Number(s)!=s){--n;break}if(n===t.length)break}r.id=Number(t.substring(i,n+1))}if(t.charAt(++n)){const i=this.tryParse(t.substr(n));if(Td.isPayloadValid(r.type,i))r.data=i;else throw new Error("invalid payload")}return r}tryParse(t){try{return JSON.parse(t,this.reviver)}catch{return!1}}static isPayloadValid(t,n){switch(t){case ce.CONNECT:return typeof n=="object";case ce.DISCONNECT:return n===void 0;case ce.CONNECT_ERROR:return typeof n=="string"||typeof n=="object";case ce.EVENT:case ce.BINARY_EVENT:return Array.isArray(n)&&n.length>0;case ce.ACK:case ce.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class VS{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=zS(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const jS=Object.freeze(Object.defineProperty({__proto__:null,Decoder:Td,Encoder:BS,get PacketType(){return ce},protocol:DS},Symbol.toStringTag,{value:"Module"}));function Xt(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const HS=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class s0 extends Ke{constructor(t,n,r){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this._opts=Object.assign({},r),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[Xt(t,"open",this.onopen.bind(this)),Xt(t,"packet",this.onpacket.bind(this)),Xt(t,"error",this.onerror.bind(this)),Xt(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){if(HS.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(n.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const r={type:ce.EVENT,data:n};if(r.options={},r.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const s=this.ids++,l=n.pop();this._registerAckCallback(s,l),r.id=s}const o=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!o||!this.connected)||(this.connected?(this.notifyOutgoingListeners(r),this.packet(r)):this.sendBuffer.push(r)),this.flags={},this}_registerAckCallback(t,n){var r;const o=(r=this.flags.timeout)!==null&&r!==void 0?r:this._opts.ackTimeout;if(o===void 0){this.acks[t]=n;return}const i=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let s=0;s<this.sendBuffer.length;s++)this.sendBuffer[s].id===t&&this.sendBuffer.splice(s,1);n.call(this,new Error("operation has timed out"))},o);this.acks[t]=(...s)=>{this.io.clearTimeoutFn(i),n.apply(this,[null,...s])}}emitWithAck(t,...n){const r=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((o,i)=>{n.push((s,l)=>r?s?i(s):o(l):o(s)),this.emit(t,...n)})}_addToQueue(t){let n;typeof t[t.length-1]=="function"&&(n=t.pop());const r={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((o,...i)=>r!==this._queue[0]?void 0:(o!==null?r.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(o)):(this._queue.shift(),n&&n(null,...i)),r.pending=!1,this._drainQueue())),this._queue.push(r),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!t||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:ce.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n)}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case ce.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case ce.EVENT:case ce.BINARY_EVENT:this.onevent(t);break;case ce.ACK:case ce.BINARY_ACK:this.onack(t);break;case ce.DISCONNECT:this.ondisconnect();break;case ce.CONNECT_ERROR:this.destroy();const r=new Error(t.data.message);r.data=t.data.data,this.emitReserved("connect_error",r);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const n=this;let r=!1;return function(...o){r||(r=!0,n.packet({type:ce.ACK,id:t,data:o}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(n.apply(this,t.data),delete this.acks[t.id])}onconnect(t,n){this.id=t,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:ce.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const n=this._anyOutgoingListeners;for(let r=0;r<n.length;r++)if(t===n[r])return n.splice(r,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const r of n)r.apply(this,t.data)}}}function xo(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}xo.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+n:e-n}return Math.min(e,this.max)|0};xo.prototype.reset=function(){this.attempts=0};xo.prototype.setMin=function(e){this.ms=e};xo.prototype.setMax=function(e){this.max=e};xo.prototype.setJitter=function(e){this.jitter=e};class Sc extends Ke{constructor(t,n){var r;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,Pl(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new xo({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const o=n.parser||jS;this.encoder=new o.Encoder,this.decoder=new o.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new o0(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const o=Xt(n,"open",function(){r.onopen(),t&&t()}),i=Xt(n,"error",s=>{r.cleanup(),r._readyState="closed",this.emitReserved("error",s),t?t(s):r.maybeReconnectOnOpen()});if(this._timeout!==!1){const s=this._timeout;s===0&&o();const l=this.setTimeoutFn(()=>{o(),n.close(),n.emit("error",new Error("timeout"))},s);this.opts.autoUnref&&l.unref(),this.subs.push(function(){clearTimeout(l)})}return this.subs.push(o),this.subs.push(i),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(Xt(t,"ping",this.onping.bind(this)),Xt(t,"data",this.ondata.bind(this)),Xt(t,"error",this.onerror.bind(this)),Xt(t,"close",this.onclose.bind(this)),Xt(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){r0(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let r=this.nsps[t];return r?this._autoConnect&&!r.active&&r.connect():(r=new s0(this,t,n),this.nsps[t]=r),r}_destroy(t){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let r=0;r<n.length;r++)this.engine.write(n[r],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(t,n){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(o=>{o?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",o)):t.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(function(){clearTimeout(r)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const Mo={};function $s(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=IS(e,t.path||"/socket.io"),r=n.source,o=n.id,i=n.path,s=Mo[o]&&i in Mo[o].nsps,l=t.forceNew||t["force new connection"]||t.multiplex===!1||s;let a;return l?a=new Sc(r,t):(Mo[o]||(Mo[o]=new Sc(r,t)),a=Mo[o]),n.query&&!t.query&&(t.query=n.queryKey),a.socket(n.path,t)}Object.assign($s,{Manager:Sc,Socket:s0,io:$s,connect:$s});var US=!0,ru="Invariant failed";function l0(e,t){if(!e){if(US)throw new Error(ru);var n=typeof t=="function"?t():t,r=n?"".concat(ru,": ").concat(n):ru;throw new Error(r)}}function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},w.apply(this,arguments)}function hr(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function a0(e){if(!hr(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=a0(e[n])}),t}function Rt(e,t,n={clone:!0}){const r=n.clone?w({},e):e;return hr(e)&&hr(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(hr(t[o])&&o in e&&hr(e[o])?r[o]=Rt(e[o],t[o],n):n.clone?r[o]=hr(t[o])?a0(t[o]):t[o]:r[o]=t[o])}),r}function rr(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function ge(e){if(typeof e!="string")throw new Error(rr(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Mp(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function u0(e,t=166){let n;function r(...o){const i=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(i,t)}return r.clear=()=>{clearTimeout(n)},r}function ou(e,t){return x.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function it(e){return e&&e.ownerDocument||document}function Er(e){return it(e).defaultView||window}function xc(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const WS=typeof window<"u"?x.useLayoutEffect:x.useEffect,or=WS;function nl({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=x.useRef(e!==void 0),[i,s]=x.useState(t),l=o?e:i,a=x.useCallback(u=>{o||s(u)},[]);return[l,a]}function $n(e){const t=x.useRef(e);return or(()=>{t.current=e}),x.useCallback((...n)=>(0,t.current)(...n),[])}function lt(...e){return x.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{xc(n,t)})},e)}let Tl=!0,wc=!1,Ip;const GS={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function KS(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&GS[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function qS(e){e.metaKey||e.altKey||e.ctrlKey||(Tl=!0)}function iu(){Tl=!1}function QS(){this.visibilityState==="hidden"&&wc&&(Tl=!0)}function YS(e){e.addEventListener("keydown",qS,!0),e.addEventListener("mousedown",iu,!0),e.addEventListener("pointerdown",iu,!0),e.addEventListener("touchstart",iu,!0),e.addEventListener("visibilitychange",QS,!0)}function XS(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Tl||KS(t)}function c0(){const e=x.useCallback(o=>{o!=null&&YS(o.ownerDocument)},[]),t=x.useRef(!1);function n(){return t.current?(wc=!0,window.clearTimeout(Ip),Ip=window.setTimeout(()=>{wc=!1},100),t.current=!1,!0):!1}function r(o){return XS(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function d0(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const ZS={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:-1,overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},JS=ZS;function f0(e,t){const n=w({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=w({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=w({},i),Object.keys(o).forEach(s=>{n[r][s]=f0(o[s],i[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function Me(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,s)=>{if(s){const l=t(s);l!==""&&i.push(l),n&&n[s]&&i.push(n[s])}return i},[]).join(" ")}),r}const Op=e=>e,ex=()=>{let e=Op;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Op}}},tx=ex(),p0=tx,nx={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function _e(e,t,n="Mui"){const r=nx[t];return r?`${n}-${r}`:`${p0.generate(e)}-${t}`}function Re(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=_e(e,o,n)}),r}function h0(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var rx=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,ox=h0(function(e){return rx.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function ix(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function sx(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var lx=function(){function e(n){var r=this;this._insertTag=function(o){var i;r.tags.length===0?r.insertionPoint?i=r.insertionPoint.nextSibling:r.prepend?i=r.container.firstChild:i=r.before:i=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,i),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(sx(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=ix(o);try{i.insertRule(r,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0},e}(),dt="-ms-",rl="-moz-",pe="-webkit-",g0="comm",Md="rule",Id="decl",ax="@import",m0="@keyframes",ux="@layer",cx=Math.abs,Ml=String.fromCharCode,dx=Object.assign;function fx(e,t){return rt(e,0)^45?(((t<<2^rt(e,0))<<2^rt(e,1))<<2^rt(e,2))<<2^rt(e,3):0}function v0(e){return e.trim()}function px(e,t){return(e=t.exec(e))?e[0]:e}function he(e,t,n){return e.replace(t,n)}function Cc(e,t){return e.indexOf(t)}function rt(e,t){return e.charCodeAt(t)|0}function ki(e,t,n){return e.slice(t,n)}function cn(e){return e.length}function Od(e){return e.length}function os(e,t){return t.push(e),e}function hx(e,t){return e.map(t).join("")}var Il=1,ho=1,y0=0,Et=0,We=0,wo="";function Ol(e,t,n,r,o,i,s){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Il,column:ho,length:s,return:""}}function Io(e,t){return dx(Ol("",null,null,"",null,null,0),e,{length:-e.length},t)}function gx(){return We}function mx(){return We=Et>0?rt(wo,--Et):0,ho--,We===10&&(ho=1,Il--),We}function It(){return We=Et<y0?rt(wo,Et++):0,ho++,We===10&&(ho=1,Il++),We}function vn(){return rt(wo,Et)}function _s(){return Et}function Oi(e,t){return ki(wo,e,t)}function Ri(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function S0(e){return Il=ho=1,y0=cn(wo=e),Et=0,[]}function x0(e){return wo="",e}function Ps(e){return v0(Oi(Et-1,bc(e===91?e+2:e===40?e+1:e)))}function vx(e){for(;(We=vn())&&We<33;)It();return Ri(e)>2||Ri(We)>3?"":" "}function yx(e,t){for(;--t&&It()&&!(We<48||We>102||We>57&&We<65||We>70&&We<97););return Oi(e,_s()+(t<6&&vn()==32&&It()==32))}function bc(e){for(;It();)switch(We){case e:return Et;case 34:case 39:e!==34&&e!==39&&bc(We);break;case 40:e===41&&bc(e);break;case 92:It();break}return Et}function Sx(e,t){for(;It()&&e+We!==47+10;)if(e+We===42+42&&vn()===47)break;return"/*"+Oi(t,Et-1)+"*"+Ml(e===47?e:It())}function xx(e){for(;!Ri(vn());)It();return Oi(e,Et)}function wx(e){return x0(Ts("",null,null,null,[""],e=S0(e),0,[0],e))}function Ts(e,t,n,r,o,i,s,l,a){for(var u=0,c=0,d=s,f=0,h=0,y=0,g=1,k=1,m=1,p=0,v="",S=o,C=i,R=r,b=v;k;)switch(y=p,p=It()){case 40:if(y!=108&&rt(b,d-1)==58){Cc(b+=he(Ps(p),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:b+=Ps(p);break;case 9:case 10:case 13:case 32:b+=vx(y);break;case 92:b+=yx(_s()-1,7);continue;case 47:switch(vn()){case 42:case 47:os(Cx(Sx(It(),_s()),t,n),a);break;default:b+="/"}break;case 123*g:l[u++]=cn(b)*m;case 125*g:case 59:case 0:switch(p){case 0:case 125:k=0;case 59+c:m==-1&&(b=he(b,/\f/g,"")),h>0&&cn(b)-d&&os(h>32?Fp(b+";",r,n,d-1):Fp(he(b," ","")+";",r,n,d-2),a);break;case 59:b+=";";default:if(os(R=Ap(b,t,n,u,c,o,l,v,S=[],C=[],d),i),p===123)if(c===0)Ts(b,t,R,R,S,i,d,l,C);else switch(f===99&&rt(b,3)===110?100:f){case 100:case 108:case 109:case 115:Ts(e,R,R,r&&os(Ap(e,R,R,0,0,o,l,v,o,S=[],d),C),o,C,d,l,r?S:C);break;default:Ts(b,R,R,R,[""],C,0,l,C)}}u=c=h=0,g=m=1,v=b="",d=s;break;case 58:d=1+cn(b),h=y;default:if(g<1){if(p==123)--g;else if(p==125&&g++==0&&mx()==125)continue}switch(b+=Ml(p),p*g){case 38:m=c>0?1:(b+="\f",-1);break;case 44:l[u++]=(cn(b)-1)*m,m=1;break;case 64:vn()===45&&(b+=Ps(It())),f=vn(),c=d=cn(v=b+=xx(_s())),p++;break;case 45:y===45&&cn(b)==2&&(g=0)}}return i}function Ap(e,t,n,r,o,i,s,l,a,u,c){for(var d=o-1,f=o===0?i:[""],h=Od(f),y=0,g=0,k=0;y<r;++y)for(var m=0,p=ki(e,d+1,d=cx(g=s[y])),v=e;m<h;++m)(v=v0(g>0?f[m]+" "+p:he(p,/&\f/g,f[m])))&&(a[k++]=v);return Ol(e,t,n,o===0?Md:l,a,u,c)}function Cx(e,t,n){return Ol(e,t,n,g0,Ml(gx()),ki(e,2,-2),0)}function Fp(e,t,n,r){return Ol(e,t,n,Id,ki(e,0,r),ki(e,r+1,-1),r)}function oo(e,t){for(var n="",r=Od(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function bx(e,t,n,r){switch(e.type){case ux:if(e.children.length)break;case ax:case Id:return e.return=e.return||e.value;case g0:return"";case m0:return e.return=e.value+"{"+oo(e.children,r)+"}";case Md:e.value=e.props.join(",")}return cn(n=oo(e.children,r))?e.return=e.value+"{"+n+"}":""}function kx(e){var t=Od(e);return function(n,r,o,i){for(var s="",l=0;l<t;l++)s+=e[l](n,r,o,i)||"";return s}}function Rx(e){return function(t){t.root||(t=t.return)&&e(t)}}var Ex=function(t,n,r){for(var o=0,i=0;o=i,i=vn(),o===38&&i===12&&(n[r]=1),!Ri(i);)It();return Oi(t,Et)},$x=function(t,n){var r=-1,o=44;do switch(Ri(o)){case 0:o===38&&vn()===12&&(n[r]=1),t[r]+=Ex(Et-1,n,r);break;case 2:t[r]+=Ps(o);break;case 4:if(o===44){t[++r]=vn()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Ml(o)}while(o=It());return t},_x=function(t,n){return x0($x(S0(t),n))},Lp=new WeakMap,Px=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!Lp.get(r))&&!o){Lp.set(t,!0);for(var i=[],s=_x(n,i),l=r.props,a=0,u=0;a<s.length;a++)for(var c=0;c<l.length;c++,u++)t.props[u]=i[a]?s[a].replace(/&\f/g,l[c]):l[c]+" "+s[a]}}},Tx=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function w0(e,t){switch(fx(e,t)){case 5103:return pe+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return pe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return pe+e+rl+e+dt+e+e;case 6828:case 4268:return pe+e+dt+e+e;case 6165:return pe+e+dt+"flex-"+e+e;case 5187:return pe+e+he(e,/(\w+).+(:[^]+)/,pe+"box-$1$2"+dt+"flex-$1$2")+e;case 5443:return pe+e+dt+"flex-item-"+he(e,/flex-|-self/,"")+e;case 4675:return pe+e+dt+"flex-line-pack"+he(e,/align-content|flex-|-self/,"")+e;case 5548:return pe+e+dt+he(e,"shrink","negative")+e;case 5292:return pe+e+dt+he(e,"basis","preferred-size")+e;case 6060:return pe+"box-"+he(e,"-grow","")+pe+e+dt+he(e,"grow","positive")+e;case 4554:return pe+he(e,/([^-])(transform)/g,"$1"+pe+"$2")+e;case 6187:return he(he(he(e,/(zoom-|grab)/,pe+"$1"),/(image-set)/,pe+"$1"),e,"")+e;case 5495:case 3959:return he(e,/(image-set\([^]*)/,pe+"$1$`$1");case 4968:return he(he(e,/(.+:)(flex-)?(.*)/,pe+"box-pack:$3"+dt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+pe+e+e;case 4095:case 3583:case 4068:case 2532:return he(e,/(.+)-inline(.+)/,pe+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(cn(e)-1-t>6)switch(rt(e,t+1)){case 109:if(rt(e,t+4)!==45)break;case 102:return he(e,/(.+:)(.+)-([^]+)/,"$1"+pe+"$2-$3$1"+rl+(rt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Cc(e,"stretch")?w0(he(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(rt(e,t+1)!==115)break;case 6444:switch(rt(e,cn(e)-3-(~Cc(e,"!important")&&10))){case 107:return he(e,":",":"+pe)+e;case 101:return he(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+pe+(rt(e,14)===45?"inline-":"")+"box$3$1"+pe+"$2$3$1"+dt+"$2box$3")+e}break;case 5936:switch(rt(e,t+11)){case 114:return pe+e+dt+he(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return pe+e+dt+he(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return pe+e+dt+he(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return pe+e+dt+e+e}return e}var Mx=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Id:t.return=w0(t.value,t.length);break;case m0:return oo([Io(t,{value:he(t.value,"@","@"+pe)})],o);case Md:if(t.length)return hx(t.props,function(i){switch(px(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return oo([Io(t,{props:[he(i,/:(read-\w+)/,":"+rl+"$1")]})],o);case"::placeholder":return oo([Io(t,{props:[he(i,/:(plac\w+)/,":"+pe+"input-$1")]}),Io(t,{props:[he(i,/:(plac\w+)/,":"+rl+"$1")]}),Io(t,{props:[he(i,/:(plac\w+)/,dt+"input-$1")]})],o)}return""})}},Ix=[Mx],Ox=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(g){var k=g.getAttribute("data-emotion");k.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var o=t.stylisPlugins||Ix,i={},s,l=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var k=g.getAttribute("data-emotion").split(" "),m=1;m<k.length;m++)i[k[m]]=!0;l.push(g)});var a,u=[Px,Tx];{var c,d=[bx,Rx(function(g){c.insert(g)})],f=kx(u.concat(o,d)),h=function(k){return oo(wx(k),f)};a=function(k,m,p,v){c=p,h(k?k+"{"+m.styles+"}":m.styles),v&&(y.inserted[m.name]=!0)}}var y={key:n,sheet:new lx({key:n,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:a};return y.sheet.hydrate(l),y},C0={exports:{}},xe={};/** @license React v16.13.1
|
|
41
|
+
* react-is.production.min.js
|
|
42
|
+
*
|
|
43
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
44
|
+
*
|
|
45
|
+
* This source code is licensed under the MIT license found in the
|
|
46
|
+
* LICENSE file in the root directory of this source tree.
|
|
47
|
+
*/var Je=typeof Symbol=="function"&&Symbol.for,Ad=Je?Symbol.for("react.element"):60103,Fd=Je?Symbol.for("react.portal"):60106,Al=Je?Symbol.for("react.fragment"):60107,Fl=Je?Symbol.for("react.strict_mode"):60108,Ll=Je?Symbol.for("react.profiler"):60114,Nl=Je?Symbol.for("react.provider"):60109,zl=Je?Symbol.for("react.context"):60110,Ld=Je?Symbol.for("react.async_mode"):60111,Dl=Je?Symbol.for("react.concurrent_mode"):60111,Bl=Je?Symbol.for("react.forward_ref"):60112,Vl=Je?Symbol.for("react.suspense"):60113,Ax=Je?Symbol.for("react.suspense_list"):60120,jl=Je?Symbol.for("react.memo"):60115,Hl=Je?Symbol.for("react.lazy"):60116,Fx=Je?Symbol.for("react.block"):60121,Lx=Je?Symbol.for("react.fundamental"):60117,Nx=Je?Symbol.for("react.responder"):60118,zx=Je?Symbol.for("react.scope"):60119;function Lt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Ad:switch(e=e.type,e){case Ld:case Dl:case Al:case Ll:case Fl:case Vl:return e;default:switch(e=e&&e.$$typeof,e){case zl:case Bl:case Hl:case jl:case Nl:return e;default:return t}}case Fd:return t}}}function b0(e){return Lt(e)===Dl}xe.AsyncMode=Ld;xe.ConcurrentMode=Dl;xe.ContextConsumer=zl;xe.ContextProvider=Nl;xe.Element=Ad;xe.ForwardRef=Bl;xe.Fragment=Al;xe.Lazy=Hl;xe.Memo=jl;xe.Portal=Fd;xe.Profiler=Ll;xe.StrictMode=Fl;xe.Suspense=Vl;xe.isAsyncMode=function(e){return b0(e)||Lt(e)===Ld};xe.isConcurrentMode=b0;xe.isContextConsumer=function(e){return Lt(e)===zl};xe.isContextProvider=function(e){return Lt(e)===Nl};xe.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ad};xe.isForwardRef=function(e){return Lt(e)===Bl};xe.isFragment=function(e){return Lt(e)===Al};xe.isLazy=function(e){return Lt(e)===Hl};xe.isMemo=function(e){return Lt(e)===jl};xe.isPortal=function(e){return Lt(e)===Fd};xe.isProfiler=function(e){return Lt(e)===Ll};xe.isStrictMode=function(e){return Lt(e)===Fl};xe.isSuspense=function(e){return Lt(e)===Vl};xe.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Al||e===Dl||e===Ll||e===Fl||e===Vl||e===Ax||typeof e=="object"&&e!==null&&(e.$$typeof===Hl||e.$$typeof===jl||e.$$typeof===Nl||e.$$typeof===zl||e.$$typeof===Bl||e.$$typeof===Lx||e.$$typeof===Nx||e.$$typeof===zx||e.$$typeof===Fx)};xe.typeOf=Lt;C0.exports=xe;var Dx=C0.exports,k0=Dx,Bx={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Vx={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},R0={};R0[k0.ForwardRef]=Bx;R0[k0.Memo]=Vx;var jx=!0;function Hx(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):r+=o+" "}),r}var E0=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||jx===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},$0=function(t,n,r){E0(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var i=n;do t.insert(n===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function Ux(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Wx={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Gx=/[A-Z]|^ms/g,Kx=/_EMO_([^_]+?)_([^]*?)_EMO_/g,_0=function(t){return t.charCodeAt(1)===45},Np=function(t){return t!=null&&typeof t!="boolean"},su=h0(function(e){return _0(e)?e:e.replace(Gx,"-$&").toLowerCase()}),zp=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Kx,function(r,o,i){return dn={name:o,styles:i,next:dn},o})}return Wx[t]!==1&&!_0(t)&&typeof n=="number"&&n!==0?n+"px":n};function Ei(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return dn={name:n.name,styles:n.styles,next:dn},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)dn={name:r.name,styles:r.styles,next:dn},r=r.next;var o=n.styles+";";return o}return qx(e,t,n)}case"function":{if(e!==void 0){var i=dn,s=n(e);return dn=i,Ei(e,t,s)}break}}if(t==null)return n;var l=t[n];return l!==void 0?l:n}function qx(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Ei(e,t,n[o])+";";else for(var i in n){var s=n[i];if(typeof s!="object")t!=null&&t[s]!==void 0?r+=i+"{"+t[s]+"}":Np(s)&&(r+=su(i)+":"+zp(i,s)+";");else if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var l=0;l<s.length;l++)Np(s[l])&&(r+=su(i)+":"+zp(i,s[l])+";");else{var a=Ei(e,t,s);switch(i){case"animation":case"animationName":{r+=su(i)+":"+a+";";break}default:r+=i+"{"+a+"}"}}}return r}var Dp=/label:\s*([^\s;\n{]+)\s*(;|$)/g,dn,Nd=function(t,n,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,i="";dn=void 0;var s=t[0];s==null||s.raw===void 0?(o=!1,i+=Ei(r,n,s)):i+=s[0];for(var l=1;l<t.length;l++)i+=Ei(r,n,t[l]),o&&(i+=s[l]);Dp.lastIndex=0;for(var a="",u;(u=Dp.exec(i))!==null;)a+="-"+u[1];var c=Ux(i)+a;return{name:c,styles:i,next:dn}},Qx=function(t){return t()},P0=mf["useInsertionEffect"]?mf["useInsertionEffect"]:!1,Yx=P0||Qx,Bp=P0||x.useLayoutEffect,T0=x.createContext(typeof HTMLElement<"u"?Ox({key:"css"}):null);T0.Provider;var M0=function(t){return x.forwardRef(function(n,r){var o=x.useContext(T0);return t(n,o,r)})},zd=x.createContext({}),Xx=M0(function(e,t){var n=e.styles,r=Nd([n],void 0,x.useContext(zd)),o=x.useRef();return Bp(function(){var i=t.key+"-global",s=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,a=document.querySelector('style[data-emotion="'+i+" "+r.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),a!==null&&(l=!0,a.setAttribute("data-emotion",i),s.hydrate([a])),o.current=[s,l],function(){s.flush()}},[t]),Bp(function(){var i=o.current,s=i[0],l=i[1];if(l){i[1]=!1;return}if(r.next!==void 0&&$0(t,r.next,!0),s.tags.length){var a=s.tags[s.tags.length-1].nextElementSibling;s.before=a,s.flush()}t.insert("",r,s,!1)},[t,r.name]),null});function Zx(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Nd(t)}var Dd=function(){var t=Zx.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Jx=ox,ew=function(t){return t!=="theme"},Vp=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Jx:ew},jp=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(s){return t.__emotion_forwardProp(s)&&i(s)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},tw=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return E0(n,r,o),Yx(function(){return $0(n,r,o)}),null},nw=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,s;n!==void 0&&(i=n.label,s=n.target);var l=jp(t,n,r),a=l||Vp(o),u=!a("as");return function(){var c=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&d.push("label:"+i+";"),c[0]==null||c[0].raw===void 0)d.push.apply(d,c);else{d.push(c[0][0]);for(var f=c.length,h=1;h<f;h++)d.push(c[h],c[0][h])}var y=M0(function(g,k,m){var p=u&&g.as||o,v="",S=[],C=g;if(g.theme==null){C={};for(var R in g)C[R]=g[R];C.theme=x.useContext(zd)}typeof g.className=="string"?v=Hx(k.registered,S,g.className):g.className!=null&&(v=g.className+" ");var b=Nd(d.concat(S),k.registered,C);v+=k.key+"-"+b.name,s!==void 0&&(v+=" "+s);var $=u&&l===void 0?Vp(p):a,L={};for(var _ in g)u&&_==="as"||$(_)&&(L[_]=g[_]);return L.className=v,L.ref=m,x.createElement(x.Fragment,null,x.createElement(tw,{cache:k,serialized:b,isStringTag:typeof p=="string"}),x.createElement(p,L))});return y.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",y.defaultProps=t.defaultProps,y.__emotion_real=y,y.__emotion_base=o,y.__emotion_styles=d,y.__emotion_forwardProp=l,Object.defineProperty(y,"toString",{value:function(){return"."+s}}),y.withComponent=function(g,k){return e(g,w({},n,k,{shouldForwardProp:jp(y,k,!0)})).apply(void 0,d)},y}},rw=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],kc=nw.bind();rw.forEach(function(e){kc[e]=kc(e)});function ow(e){return e==null||Object.keys(e).length===0}function iw(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?o=>t(ow(o)?n:o):t;return E.jsx(Xx,{styles:r})}/**
|
|
48
|
+
* @mui/styled-engine v5.12.3
|
|
49
|
+
*
|
|
50
|
+
* @license MIT
|
|
51
|
+
* This source code is licensed under the MIT license found in the
|
|
52
|
+
* LICENSE file in the root directory of this source tree.
|
|
53
|
+
*/function I0(e,t){return kc(e,t)}const sw=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};function Z(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}const lw=["values","unit","step"],aw=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>w({},n,{[r.key]:r.val}),{})};function uw(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Z(e,lw),i=aw(t),s=Object.keys(i);function l(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n})`}function a(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-r/100}${n})`}function u(f,h){const y=s.indexOf(h);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n}) and (max-width:${(y!==-1&&typeof t[s[y]]=="number"?t[s[y]]:h)-r/100}${n})`}function c(f){return s.indexOf(f)+1<s.length?u(f,s[s.indexOf(f)+1]):l(f)}function d(f){const h=s.indexOf(f);return h===0?l(s[1]):h===s.length-1?a(s[h]):u(f,s[s.indexOf(f)+1]).replace("@media","@media not all and")}return w({keys:s,values:i,up:l,down:a,between:u,only:c,not:d,unit:n},o)}const cw={borderRadius:4},dw=cw;function ri(e,t){return t?Rt(e,t,{clone:!1}):e}const Bd={xs:0,sm:600,md:900,lg:1200,xl:1536},Hp={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Bd[e]}px)`};function sn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||Hp;return t.reduce((s,l,a)=>(s[i.up(i.keys[a])]=n(t[a]),s),{})}if(typeof t=="object"){const i=r.breakpoints||Hp;return Object.keys(t).reduce((s,l)=>{if(Object.keys(i.values||Bd).indexOf(l)!==-1){const a=i.up(l);s[a]=n(t[l],l)}else{const a=l;s[a]=t[a]}return s},{})}return n(t)}function O0(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function A0(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function fw(e,...t){const n=O0(e),r=[n,...t].reduce((o,i)=>Rt(o,i),{});return A0(Object.keys(n),r)}function pw(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((o,i)=>{i<e.length&&(n[o]=!0)}):r.forEach(o=>{e[o]!=null&&(n[o]=!0)}),n}function lu({values:e,breakpoints:t,base:n}){const r=n||pw(e,t),o=Object.keys(r);if(o.length===0)return e;let i;return o.reduce((s,l,a)=>(Array.isArray(e)?(s[l]=e[a]!=null?e[a]:e[i],i=a):typeof e=="object"?(s[l]=e[l]!=null?e[l]:e[i],i=l):s[l]=e,s),{})}function Ul(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function ol(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Ul(e,n)||r,t&&(o=t(o,r,e)),o}function ye(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=s=>{if(s[t]==null)return null;const l=s[t],a=s.theme,u=Ul(a,r)||{};return sn(s,l,d=>{let f=ol(u,o,d);return d===f&&typeof d=="string"&&(f=ol(u,o,`${t}${d==="default"?"":ge(d)}`,d)),n===!1?f:{[n]:f}})};return i.propTypes={},i.filterProps=[t],i}function hw(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const gw={m:"margin",p:"padding"},mw={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Up={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},vw=hw(e=>{if(e.length>2)if(Up[e])e=Up[e];else return[e];const[t,n]=e.split(""),r=gw[t],o=mw[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),Vd=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],jd=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Vd,...jd];function Ai(e,t,n,r){var o;const i=(o=Ul(e,t,!1))!=null?o:n;return typeof i=="number"?s=>typeof s=="string"?s:i*s:Array.isArray(i)?s=>typeof s=="string"?s:i[s]:typeof i=="function"?i:()=>{}}function Hd(e){return Ai(e,"spacing",8)}function $r(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function yw(e,t){return n=>e.reduce((r,o)=>(r[o]=$r(t,n),r),{})}function Sw(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=vw(n),i=yw(o,r),s=e[n];return sn(e,s,i)}function F0(e,t){const n=Hd(e.theme);return Object.keys(e).map(r=>Sw(e,t,r,n)).reduce(ri,{})}function De(e){return F0(e,Vd)}De.propTypes={};De.filterProps=Vd;function Be(e){return F0(e,jd)}Be.propTypes={};Be.filterProps=jd;function xw(e=8){if(e.mui)return e;const t=Hd({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function Wl(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?ri(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function pn(e){return typeof e!="number"?e:`${e}px solid`}const ww=ye({prop:"border",themeKey:"borders",transform:pn}),Cw=ye({prop:"borderTop",themeKey:"borders",transform:pn}),bw=ye({prop:"borderRight",themeKey:"borders",transform:pn}),kw=ye({prop:"borderBottom",themeKey:"borders",transform:pn}),Rw=ye({prop:"borderLeft",themeKey:"borders",transform:pn}),Ew=ye({prop:"borderColor",themeKey:"palette"}),$w=ye({prop:"borderTopColor",themeKey:"palette"}),_w=ye({prop:"borderRightColor",themeKey:"palette"}),Pw=ye({prop:"borderBottomColor",themeKey:"palette"}),Tw=ye({prop:"borderLeftColor",themeKey:"palette"}),Gl=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ai(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:$r(t,r)});return sn(e,e.borderRadius,n)}return null};Gl.propTypes={};Gl.filterProps=["borderRadius"];Wl(ww,Cw,bw,kw,Rw,Ew,$w,_w,Pw,Tw,Gl);const Kl=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ai(e.theme,"spacing",8),n=r=>({gap:$r(t,r)});return sn(e,e.gap,n)}return null};Kl.propTypes={};Kl.filterProps=["gap"];const ql=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ai(e.theme,"spacing",8),n=r=>({columnGap:$r(t,r)});return sn(e,e.columnGap,n)}return null};ql.propTypes={};ql.filterProps=["columnGap"];const Ql=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ai(e.theme,"spacing",8),n=r=>({rowGap:$r(t,r)});return sn(e,e.rowGap,n)}return null};Ql.propTypes={};Ql.filterProps=["rowGap"];const Mw=ye({prop:"gridColumn"}),Iw=ye({prop:"gridRow"}),Ow=ye({prop:"gridAutoFlow"}),Aw=ye({prop:"gridAutoColumns"}),Fw=ye({prop:"gridAutoRows"}),Lw=ye({prop:"gridTemplateColumns"}),Nw=ye({prop:"gridTemplateRows"}),zw=ye({prop:"gridTemplateAreas"}),Dw=ye({prop:"gridArea"});Wl(Kl,ql,Ql,Mw,Iw,Ow,Aw,Fw,Lw,Nw,zw,Dw);function io(e,t){return t==="grey"?t:e}const Bw=ye({prop:"color",themeKey:"palette",transform:io}),Vw=ye({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:io}),jw=ye({prop:"backgroundColor",themeKey:"palette",transform:io});Wl(Bw,Vw,jw);function Pt(e){return e<=1&&e!==0?`${e*100}%`:e}const Hw=ye({prop:"width",transform:Pt}),Ud=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o,i;return{maxWidth:((r=e.theme)==null||(o=r.breakpoints)==null||(i=o.values)==null?void 0:i[n])||Bd[n]||Pt(n)}};return sn(e,e.maxWidth,t)}return null};Ud.filterProps=["maxWidth"];const Uw=ye({prop:"minWidth",transform:Pt}),Ww=ye({prop:"height",transform:Pt}),Gw=ye({prop:"maxHeight",transform:Pt}),Kw=ye({prop:"minHeight",transform:Pt});ye({prop:"size",cssProperty:"width",transform:Pt});ye({prop:"size",cssProperty:"height",transform:Pt});const qw=ye({prop:"boxSizing"});Wl(Hw,Ud,Uw,Ww,Gw,Kw,qw);const Qw={border:{themeKey:"borders",transform:pn},borderTop:{themeKey:"borders",transform:pn},borderRight:{themeKey:"borders",transform:pn},borderBottom:{themeKey:"borders",transform:pn},borderLeft:{themeKey:"borders",transform:pn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Gl},color:{themeKey:"palette",transform:io},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:io},backgroundColor:{themeKey:"palette",transform:io},p:{style:Be},pt:{style:Be},pr:{style:Be},pb:{style:Be},pl:{style:Be},px:{style:Be},py:{style:Be},padding:{style:Be},paddingTop:{style:Be},paddingRight:{style:Be},paddingBottom:{style:Be},paddingLeft:{style:Be},paddingX:{style:Be},paddingY:{style:Be},paddingInline:{style:Be},paddingInlineStart:{style:Be},paddingInlineEnd:{style:Be},paddingBlock:{style:Be},paddingBlockStart:{style:Be},paddingBlockEnd:{style:Be},m:{style:De},mt:{style:De},mr:{style:De},mb:{style:De},ml:{style:De},mx:{style:De},my:{style:De},margin:{style:De},marginTop:{style:De},marginRight:{style:De},marginBottom:{style:De},marginLeft:{style:De},marginX:{style:De},marginY:{style:De},marginInline:{style:De},marginInlineStart:{style:De},marginInlineEnd:{style:De},marginBlock:{style:De},marginBlockStart:{style:De},marginBlockEnd:{style:De},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Kl},rowGap:{style:Ql},columnGap:{style:ql},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Pt},maxWidth:{style:Ud},minWidth:{transform:Pt},height:{transform:Pt},maxHeight:{transform:Pt},minHeight:{transform:Pt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Yl=Qw;function Yw(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function Xw(e,t){return typeof e=="function"?e(t):e}function Zw(){function e(n,r,o,i){const s={[n]:r,theme:o},l=i[n];if(!l)return{[n]:r};const{cssProperty:a=n,themeKey:u,transform:c,style:d}=l;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const f=Ul(o,u)||{};return d?d(s):sn(s,r,y=>{let g=ol(f,c,y);return y===g&&typeof y=="string"&&(g=ol(f,c,`${n}${y==="default"?"":ge(y)}`,y)),a===!1?g:{[a]:g}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const s=(r=i.unstable_sxConfig)!=null?r:Yl;function l(a){let u=a;if(typeof a=="function")u=a(i);else if(typeof a!="object")return a;if(!u)return null;const c=O0(i.breakpoints),d=Object.keys(c);let f=c;return Object.keys(u).forEach(h=>{const y=Xw(u[h],i);if(y!=null)if(typeof y=="object")if(s[h])f=ri(f,e(h,y,i,s));else{const g=sn({theme:i},y,k=>({[h]:k}));Yw(g,y)?f[h]=t({sx:y,theme:i}):f=ri(f,g)}else f=ri(f,e(h,y,i,s))}),A0(d,f)}return Array.isArray(o)?o.map(l):l(o)}return t}const L0=Zw();L0.filterProps=["sx"];const Xl=L0,Jw=["breakpoints","palette","spacing","shape"];function Zl(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,s=Z(e,Jw),l=uw(n),a=xw(o);let u=Rt({breakpoints:l,direction:"ltr",components:{},palette:w({mode:"light"},r),spacing:a,shape:w({},dw,i)},s);return u=t.reduce((c,d)=>Rt(c,d),u),u.unstable_sxConfig=w({},Yl,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return Xl({sx:d,theme:this})},u}function eC(e){return Object.keys(e).length===0}function tC(e=null){const t=x.useContext(zd);return!t||eC(t)?e:t}const nC=Zl();function Jl(e=nC){return tC(e)}function rC({styles:e,themeId:t,defaultTheme:n={}}){const r=Jl(n),o=typeof e=="function"?e(t&&r[t]||r):e;return E.jsx(iw,{styles:o})}const oC=["sx"],iC=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:Yl;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function Wd(e){const{sx:t}=e,n=Z(e,oC),{systemProps:r,otherProps:o}=iC(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...s)=>{const l=t(...s);return hr(l)?w({},r,l):r}:i=w({},r,t),w({},o,{sx:i})}function N0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=N0(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function z0(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=N0(e))&&(r&&(r+=" "),r+=t);return r}const sC=["className","component"];function lC(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=I0("div",{shouldForwardProp:l=>l!=="theme"&&l!=="sx"&&l!=="as"})(Xl);return x.forwardRef(function(a,u){const c=Jl(n),d=Wd(a),{className:f,component:h="div"}=d,y=Z(d,sC);return E.jsx(i,w({as:h,ref:u,className:z0(f,o?o(r):r),theme:t&&c[t]||c},y))})}const aC=["variant"];function Wp(e){return e.length===0}function D0(e){const{variant:t}=e,n=Z(e,aC);let r=t||"";return Object.keys(n).sort().forEach(o=>{o==="color"?r+=Wp(r)?e[o]:ge(e[o]):r+=`${Wp(r)?o:ge(o)}${ge(e[o].toString())}`}),r}const uC=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function cC(e){return Object.keys(e).length===0}function dC(e){return typeof e=="string"&&e.charCodeAt(0)>96}const fC=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,pC=(e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach(o=>{const i=D0(o.props);r[i]=o.style}),r},hC=(e,t,n,r)=>{var o,i;const{ownerState:s={}}=e,l=[],a=n==null||(o=n.components)==null||(i=o[r])==null?void 0:i.variants;return a&&a.forEach(u=>{let c=!0;Object.keys(u.props).forEach(d=>{s[d]!==u.props[d]&&e[d]!==u.props[d]&&(c=!1)}),c&&l.push(t[D0(u.props)])}),l};function oi(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const gC=Zl();function Oo({defaultTheme:e,theme:t,themeId:n}){return cC(t)?e:t[n]||t}function B0(e={}){const{themeId:t,defaultTheme:n=gC,rootShouldForwardProp:r=oi,slotShouldForwardProp:o=oi}=e,i=s=>Xl(w({},s,{theme:Oo(w({},s,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(s,l={})=>{sw(s,S=>S.filter(C=>!(C!=null&&C.__mui_systemSx)));const{name:a,slot:u,skipVariantsResolver:c,skipSx:d,overridesResolver:f}=l,h=Z(l,uC),y=c!==void 0?c:u&&u!=="Root"||!1,g=d||!1;let k,m=oi;u==="Root"?m=r:u?m=o:dC(s)&&(m=void 0);const p=I0(s,w({shouldForwardProp:m,label:k},h)),v=(S,...C)=>{const R=C?C.map(_=>typeof _=="function"&&_.__emotion_real!==_?F=>_(w({},F,{theme:Oo(w({},F,{defaultTheme:n,themeId:t}))})):_):[];let b=S;a&&f&&R.push(_=>{const F=Oo(w({},_,{defaultTheme:n,themeId:t})),G=fC(a,F);if(G){const B={};return Object.entries(G).forEach(([T,O])=>{B[T]=typeof O=="function"?O(w({},_,{theme:F})):O}),f(_,B)}return null}),a&&!y&&R.push(_=>{const F=Oo(w({},_,{defaultTheme:n,themeId:t}));return hC(_,pC(a,F),F,a)}),g||R.push(i);const $=R.length-C.length;if(Array.isArray(S)&&$>0){const _=new Array($).fill("");b=[...S,..._],b.raw=[...S.raw,..._]}else typeof S=="function"&&S.__emotion_real!==S&&(b=_=>S(w({},_,{theme:Oo(w({},_,{defaultTheme:n,themeId:t}))})));const L=p(b,...R);return s.muiName&&(L.muiName=s.muiName),L};return p.withConfig&&(v.withConfig=p.withConfig),v}}const mC=B0(),vC=mC;function yC(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:f0(t.components[n].defaultProps,r)}function V0({props:e,name:t,defaultTheme:n,themeId:r}){let o=Jl(n);return r&&(o=o[r]||o),yC({theme:o,name:t,props:e})}function Gd(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function SC(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function _r(e){if(e.type)return e;if(e.charAt(0)==="#")return _r(SC(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(rr(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(rr(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}function ea(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function xC(e){e=_r(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),s=(u,c=(u+n/30)%12)=>o-i*Math.max(Math.min(c-3,9-c,1),-1);let l="rgb";const a=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(l+="a",a.push(t[3])),ea({type:l,values:a})}function Gp(e){e=_r(e);let t=e.type==="hsl"||e.type==="hsla"?_r(xC(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function wC(e,t){const n=Gp(e),r=Gp(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function _n(e,t){return e=_r(e),t=Gd(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ea(e)}function j0(e,t){if(e=_r(e),t=Gd(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return ea(e)}function H0(e,t){if(e=_r(e),t=Gd(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return ea(e)}const CC=["component","direction","spacing","divider","children","className","useFlexGap"],bC=Zl(),kC=vC("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function RC(e){return V0({props:e,name:"MuiStack",defaultTheme:bC})}function EC(e,t){const n=x.Children.toArray(e).filter(Boolean);return n.reduce((r,o,i)=>(r.push(o),i<n.length-1&&r.push(x.cloneElement(t,{key:`separator-${i}`})),r),[])}const $C=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],_C=({ownerState:e,theme:t})=>{let n=w({display:"flex",flexDirection:"column"},sn({theme:t},lu({values:e.direction,breakpoints:t.breakpoints.values}),r=>({flexDirection:r})));if(e.spacing){const r=Hd(t),o=Object.keys(t.breakpoints.values).reduce((a,u)=>((typeof e.spacing=="object"&&e.spacing[u]!=null||typeof e.direction=="object"&&e.direction[u]!=null)&&(a[u]=!0),a),{}),i=lu({values:e.direction,base:o}),s=lu({values:e.spacing,base:o});typeof i=="object"&&Object.keys(i).forEach((a,u,c)=>{if(!i[a]){const f=u>0?i[c[u-1]]:"column";i[a]=f}}),n=Rt(n,sn({theme:t},s,(a,u)=>e.useFlexGap?{gap:$r(r,a)}:{"& > :not(style) + :not(style)":{margin:0,[`margin${$C(u?i[u]:e.direction)}`]:$r(r,a)}}))}return n=fw(t.breakpoints,n),n};function PC(e={}){const{createStyledComponent:t=kC,useThemeProps:n=RC,componentName:r="MuiStack"}=e,o=()=>Me({root:["root"]},a=>_e(r,a),{}),i=t(_C);return x.forwardRef(function(a,u){const c=n(a),d=Wd(c),{component:f="div",direction:h="column",spacing:y=0,divider:g,children:k,className:m,useFlexGap:p=!1}=d,v=Z(d,CC),S={direction:h,spacing:y,useFlexGap:p},C=o();return E.jsx(i,w({as:f,ownerState:S,ref:u,className:z0(C.root,m)},v,{children:g?EC(k,g):k}))})}const Fi="$$material";function TC(e,t){return w({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const MC={black:"#000",white:"#fff"},$i=MC,IC={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},OC=IC,AC={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},Ir=AC,FC={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Or=FC,LC={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Ao=LC,NC={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},Ar=NC,zC={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},Fr=zC,DC={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Lr=DC,BC=["mode","contrastThreshold","tonalOffset"],Kp={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:$i.white,default:$i.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},au={text:{primary:$i.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:$i.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function qp(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=H0(e.main,o):t==="dark"&&(e.dark=j0(e.main,i)))}function VC(e="light"){return e==="dark"?{main:Ar[200],light:Ar[50],dark:Ar[400]}:{main:Ar[700],light:Ar[400],dark:Ar[800]}}function jC(e="light"){return e==="dark"?{main:Ir[200],light:Ir[50],dark:Ir[400]}:{main:Ir[500],light:Ir[300],dark:Ir[700]}}function HC(e="light"){return e==="dark"?{main:Or[500],light:Or[300],dark:Or[700]}:{main:Or[700],light:Or[400],dark:Or[800]}}function UC(e="light"){return e==="dark"?{main:Fr[400],light:Fr[300],dark:Fr[700]}:{main:Fr[700],light:Fr[500],dark:Fr[900]}}function WC(e="light"){return e==="dark"?{main:Lr[400],light:Lr[300],dark:Lr[700]}:{main:Lr[800],light:Lr[500],dark:Lr[900]}}function GC(e="light"){return e==="dark"?{main:Ao[400],light:Ao[300],dark:Ao[700]}:{main:"#ed6c02",light:Ao[500],dark:Ao[900]}}function KC(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=Z(e,BC),i=e.primary||VC(t),s=e.secondary||jC(t),l=e.error||HC(t),a=e.info||UC(t),u=e.success||WC(t),c=e.warning||GC(t);function d(g){return wC(g,au.text.primary)>=n?au.text.primary:Kp.text.primary}const f=({color:g,name:k,mainShade:m=500,lightShade:p=300,darkShade:v=700})=>{if(g=w({},g),!g.main&&g[m]&&(g.main=g[m]),!g.hasOwnProperty("main"))throw new Error(rr(11,k?` (${k})`:"",m));if(typeof g.main!="string")throw new Error(rr(12,k?` (${k})`:"",JSON.stringify(g.main)));return qp(g,"light",p,r),qp(g,"dark",v,r),g.contrastText||(g.contrastText=d(g.main)),g},h={dark:au,light:Kp};return Rt(w({common:w({},$i),mode:t,primary:f({color:i,name:"primary"}),secondary:f({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:l,name:"error"}),warning:f({color:c,name:"warning"}),info:f({color:a,name:"info"}),success:f({color:u,name:"success"}),grey:OC,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r},h[t]),o)}const qC=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function QC(e){return Math.round(e*1e5)/1e5}const Qp={textTransform:"uppercase"},Yp='"Roboto", "Helvetica", "Arial", sans-serif';function YC(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=Yp,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:s=400,fontWeightMedium:l=500,fontWeightBold:a=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=n,f=Z(n,qC),h=o/14,y=d||(m=>`${m/u*h}rem`),g=(m,p,v,S,C)=>w({fontFamily:r,fontWeight:m,fontSize:y(p),lineHeight:v},r===Yp?{letterSpacing:`${QC(S/p)}em`}:{},C,c),k={h1:g(i,96,1.167,-1.5),h2:g(i,60,1.2,-.5),h3:g(s,48,1.167,0),h4:g(s,34,1.235,.25),h5:g(s,24,1.334,0),h6:g(l,20,1.6,.15),subtitle1:g(s,16,1.75,.15),subtitle2:g(l,14,1.57,.1),body1:g(s,16,1.5,.15),body2:g(s,14,1.43,.15),button:g(l,14,1.75,.4,Qp),caption:g(s,12,1.66,.4),overline:g(s,12,2.66,1,Qp),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Rt(w({htmlFontSize:u,pxToRem:y,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:s,fontWeightMedium:l,fontWeightBold:a},k),f,{clone:!1})}const XC=.2,ZC=.14,JC=.12;function Pe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${XC})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${ZC})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${JC})`].join(",")}const eb=["none",Pe(0,2,1,-1,0,1,1,0,0,1,3,0),Pe(0,3,1,-2,0,2,2,0,0,1,5,0),Pe(0,3,3,-2,0,3,4,0,0,1,8,0),Pe(0,2,4,-1,0,4,5,0,0,1,10,0),Pe(0,3,5,-1,0,5,8,0,0,1,14,0),Pe(0,3,5,-1,0,6,10,0,0,1,18,0),Pe(0,4,5,-2,0,7,10,1,0,2,16,1),Pe(0,5,5,-3,0,8,10,1,0,3,14,2),Pe(0,5,6,-3,0,9,12,1,0,3,16,2),Pe(0,6,6,-3,0,10,14,1,0,4,18,3),Pe(0,6,7,-4,0,11,15,1,0,4,20,3),Pe(0,7,8,-4,0,12,17,2,0,5,22,4),Pe(0,7,8,-4,0,13,19,2,0,5,24,4),Pe(0,7,9,-4,0,14,21,2,0,5,26,4),Pe(0,8,9,-5,0,15,22,2,0,6,28,5),Pe(0,8,10,-5,0,16,24,2,0,6,30,5),Pe(0,8,11,-5,0,17,26,2,0,6,32,5),Pe(0,9,11,-5,0,18,28,2,0,7,34,6),Pe(0,9,12,-6,0,19,29,2,0,7,36,6),Pe(0,10,13,-6,0,20,31,3,0,8,38,7),Pe(0,10,13,-6,0,21,33,3,0,8,40,7),Pe(0,10,14,-6,0,22,35,3,0,8,42,7),Pe(0,11,14,-7,0,23,36,3,0,9,44,8),Pe(0,11,15,-7,0,24,38,3,0,9,46,8)],tb=eb,nb=["duration","easing","delay"],rb={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},ob={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Xp(e){return`${Math.round(e)}ms`}function ib(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function sb(e){const t=w({},rb,e.easing),n=w({},ob,e.duration);return w({getAutoHeightDuration:ib,create:(o=["all"],i={})=>{const{duration:s=n.standard,easing:l=t.easeInOut,delay:a=0}=i;return Z(i,nb),(Array.isArray(o)?o:[o]).map(u=>`${u} ${typeof s=="string"?s:Xp(s)} ${l} ${typeof a=="string"?a:Xp(a)}`).join(",")}},e,{easing:t,duration:n})}const lb={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},ab=lb,ub=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function U0(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,s=Z(e,ub);if(e.vars)throw new Error(rr(18));const l=KC(r),a=Zl(e);let u=Rt(a,{mixins:TC(a.breakpoints,n),palette:l,shadows:tb.slice(),typography:YC(l,i),transitions:sb(o),zIndex:w({},ab)});return u=Rt(u,s),u=t.reduce((c,d)=>Rt(c,d),u),u.unstable_sxConfig=w({},Yl,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(d){return Xl({sx:d,theme:this})},u}const cb=U0(),ta=cb;function na(){const e=Jl(ta);return e[Fi]||e}function Le({props:e,name:t}){return V0({props:e,name:t,defaultTheme:ta,themeId:Fi})}const Sn=e=>oi(e)&&e!=="classes",Kd=oi,db=B0({themeId:Fi,defaultTheme:ta,rootShouldForwardProp:Sn}),Q=db,fb=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},Zp=fb,pb=U0(),hb=lC({themeId:Fi,defaultTheme:pb,defaultClassName:"MuiBox-root",generateClassName:p0.generate}),Ms=hb,gb=PC({createStyledComponent:Q("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>Le({props:e,name:"MuiStack"})}),mb=gb;function W0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=W0(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function ie(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=W0(e))&&(r&&(r+=" "),r+=t);return r}function er(e){return typeof e=="string"}function vb(e,t,n){return e===void 0||er(e)?t:w({},t,{ownerState:w({},t.ownerState,n)})}function yb(e,t,n=(r,o)=>r===o){return e.length===t.length&&e.every((r,o)=>n(r,t[o]))}const Sb={disableDefaultClasses:!1},xb=x.createContext(Sb);function wb(e){const{disableDefaultClasses:t}=x.useContext(xb);return n=>t?"":e(n)}function Cb(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function Rc(e,t){return typeof e=="function"?e(t):e}function G0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=G0(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Jp(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=G0(e))&&(r&&(r+=" "),r+=t);return r}function eh(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function bb(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const h=Jp(o==null?void 0:o.className,r==null?void 0:r.className,i,n==null?void 0:n.className),y=w({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),g=w({},n,o,r);return h.length>0&&(g.className=h),Object.keys(y).length>0&&(g.style=y),{props:g,internalRef:void 0}}const s=Cb(w({},o,r)),l=eh(r),a=eh(o),u=t(s),c=Jp(u==null?void 0:u.className,n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),d=w({},u==null?void 0:u.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),f=w({},u,n,a,l);return c.length>0&&(f.className=c),Object.keys(d).length>0&&(f.style=d),{props:f,internalRef:u.ref}}const kb=["elementType","externalSlotProps","ownerState"];function un(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o}=e,i=Z(e,kb),s=Rc(r,o),{props:l,internalRef:a}=bb(w({},i,{externalSlotProps:s})),u=lt(a,s==null?void 0:s.ref,(t=e.additionalProps)==null?void 0:t.ref);return vb(n,w({},l,{ref:u}),o)}const Rb=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Eb(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function $b(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function _b(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||$b(e))}function Pb(e){const t=[],n=[];return Array.from(e.querySelectorAll(Rb)).forEach((r,o)=>{const i=Eb(r);i===-1||!_b(r)||(i===0?t.push(r):n.push({documentOrder:o,tabIndex:i,node:r}))}),n.sort((r,o)=>r.tabIndex===o.tabIndex?r.documentOrder-o.documentOrder:r.tabIndex-o.tabIndex).map(r=>r.node).concat(t)}function Tb(){return!0}function Mb(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=Pb,isEnabled:s=Tb,open:l}=e,a=x.useRef(!1),u=x.useRef(null),c=x.useRef(null),d=x.useRef(null),f=x.useRef(null),h=x.useRef(!1),y=x.useRef(null),g=lt(t.ref,y),k=x.useRef(null);x.useEffect(()=>{!l||!y.current||(h.current=!n)},[n,l]),x.useEffect(()=>{if(!l||!y.current)return;const v=it(y.current);return y.current.contains(v.activeElement)||(y.current.hasAttribute("tabIndex")||y.current.setAttribute("tabIndex","-1"),h.current&&y.current.focus()),()=>{o||(d.current&&d.current.focus&&(a.current=!0,d.current.focus()),d.current=null)}},[l]),x.useEffect(()=>{if(!l||!y.current)return;const v=it(y.current),S=b=>{const{current:$}=y;if($!==null){if(!v.hasFocus()||r||!s()||a.current){a.current=!1;return}if(!$.contains(v.activeElement)){if(b&&f.current!==b.target||v.activeElement!==f.current)f.current=null;else if(f.current!==null)return;if(!h.current)return;let F=[];if((v.activeElement===u.current||v.activeElement===c.current)&&(F=i(y.current)),F.length>0){var L,_;const G=!!((L=k.current)!=null&&L.shiftKey&&((_=k.current)==null?void 0:_.key)==="Tab"),B=F[0],T=F[F.length-1];typeof B!="string"&&typeof T!="string"&&(G?T.focus():B.focus())}else $.focus()}}},C=b=>{k.current=b,!(r||!s()||b.key!=="Tab")&&v.activeElement===y.current&&b.shiftKey&&(a.current=!0,c.current&&c.current.focus())};v.addEventListener("focusin",S),v.addEventListener("keydown",C,!0);const R=setInterval(()=>{v.activeElement&&v.activeElement.tagName==="BODY"&&S(null)},50);return()=>{clearInterval(R),v.removeEventListener("focusin",S),v.removeEventListener("keydown",C,!0)}},[n,r,o,s,l,i]);const m=v=>{d.current===null&&(d.current=v.relatedTarget),h.current=!0,f.current=v.target;const S=t.props.onFocus;S&&S(v)},p=v=>{d.current===null&&(d.current=v.relatedTarget),h.current=!0};return E.jsxs(x.Fragment,{children:[E.jsx("div",{tabIndex:l?0:-1,onFocus:p,ref:u,"data-testid":"sentinelStart"}),x.cloneElement(t,{ref:g,onFocus:m}),E.jsx("div",{tabIndex:l?0:-1,onFocus:p,ref:c,"data-testid":"sentinelEnd"})]})}function Ib(e){return typeof e=="function"?e():e}const Ob=x.forwardRef(function(t,n){const{children:r,container:o,disablePortal:i=!1}=t,[s,l]=x.useState(null),a=lt(x.isValidElement(r)?r.ref:null,n);if(or(()=>{i||l(Ib(o)||document.body)},[o,i]),or(()=>{if(s&&!i)return xc(n,s),()=>{xc(n,null)}},[n,s,i]),i){if(x.isValidElement(r)){const u={ref:a};return x.cloneElement(r,u)}return E.jsx(x.Fragment,{children:r})}return E.jsx(x.Fragment,{children:s&&_l.createPortal(r,s)})}),Ab=Ob;function Fb(e){const t=it(e);return t.body===e?Er(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function ii(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function th(e){return parseInt(Er(e).getComputedStyle(e).paddingRight,10)||0}function Lb(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function nh(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,s=>{const l=i.indexOf(s)===-1,a=!Lb(s);l&&a&&ii(s,o)})}function uu(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function Nb(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(Fb(r)){const s=d0(it(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${th(r)+s}px`;const l=it(r).querySelectorAll(".mui-fixed");[].forEach.call(l,a=>{n.push({value:a.style.paddingRight,property:"padding-right",el:a}),a.style.paddingRight=`${th(a)+s}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=it(r).body;else{const s=r.parentElement,l=Er(r);i=(s==null?void 0:s.nodeName)==="HTML"&&l.getComputedStyle(s).overflowY==="scroll"?s:r}n.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{n.forEach(({value:i,el:s,property:l})=>{i?s.style.setProperty(l,i):s.style.removeProperty(l)})}}function zb(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class Db{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&ii(t.modalRef,!1);const o=zb(n);nh(n,t.mount,t.modalRef,o,!0);const i=uu(this.containers,s=>s.container===n);return i!==-1?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=uu(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[r];o.restore||(o.restore=Nb(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=uu(this.containers,s=>s.modals.indexOf(t)!==-1),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(r,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&ii(t.modalRef,n),nh(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const s=i.modals[i.modals.length-1];s.modalRef&&ii(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function Bb(e){return _e("MuiModal",e)}Re("MuiModal",["root","hidden","backdrop"]);const Vb=["children","closeAfterTransition","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"],jb=e=>{const{open:t,exited:n}=e;return Me({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},wb(Bb))};function Hb(e){return typeof e=="function"?e():e}function Ub(e){return e?e.props.hasOwnProperty("in"):!1}const Wb=new Db,Gb=x.forwardRef(function(t,n){var r,o;const{children:i,closeAfterTransition:s=!1,container:l,disableAutoFocus:a=!1,disableEnforceFocus:u=!1,disableEscapeKeyDown:c=!1,disablePortal:d=!1,disableRestoreFocus:f=!1,disableScrollLock:h=!1,hideBackdrop:y=!1,keepMounted:g=!1,manager:k=Wb,onBackdropClick:m,onClose:p,onKeyDown:v,open:S,onTransitionEnter:C,onTransitionExited:R,slotProps:b={},slots:$={}}=t,L=Z(t,Vb),_=k,[F,G]=x.useState(!S),B=x.useRef({}),T=x.useRef(null),O=x.useRef(null),V=lt(O,n),U=Ub(i),P=(r=t["aria-hidden"])!=null?r:!0,A=()=>it(T.current),M=()=>(B.current.modalRef=O.current,B.current.mountNode=T.current,B.current),K=()=>{_.mount(M(),{disableScrollLock:h}),O.current&&(O.current.scrollTop=0)},W=$n(()=>{const Ce=Hb(l)||A().body;_.add(M(),Ce),O.current&&K()}),re=x.useCallback(()=>_.isTopModal(M()),[_]),se=$n(Ce=>{T.current=Ce,!(!Ce||!O.current)&&(S&&re()?K():ii(O.current,P))}),oe=x.useCallback(()=>{_.remove(M(),P)},[_,P]);x.useEffect(()=>()=>{oe()},[oe]),x.useEffect(()=>{S?W():(!U||!s)&&oe()},[S,oe,U,s,W]);const le=w({},t,{closeAfterTransition:s,disableAutoFocus:a,disableEnforceFocus:u,disableEscapeKeyDown:c,disablePortal:d,disableRestoreFocus:f,disableScrollLock:h,exited:F,hideBackdrop:y,keepMounted:g}),je=jb(le),et=()=>{G(!1),C&&C()},we=()=>{G(!0),R&&R(),s&&oe()},Ne=Ce=>{Ce.target===Ce.currentTarget&&(m&&m(Ce),p&&p(Ce,"backdropClick"))},X=Ce=>{v&&v(Ce),!(Ce.key!=="Escape"||!re())&&(c||(Ce.stopPropagation(),p&&p(Ce,"escapeKeyDown")))},me={};i.props.tabIndex===void 0&&(me.tabIndex="-1"),U&&(me.onEnter=Mp(et,i.props.onEnter),me.onExited=Mp(we,i.props.onExited));const ze=(o=$.root)!=null?o:"div",fe=un({elementType:ze,externalSlotProps:b.root,externalForwardedProps:L,additionalProps:{ref:V,role:"presentation",onKeyDown:X},className:je.root,ownerState:le}),ae=$.backdrop,yt=un({elementType:ae,externalSlotProps:b.backdrop,additionalProps:{"aria-hidden":!0,onClick:Ne,open:S},className:je.backdrop,ownerState:le});return!g&&!S&&(!U||F)?null:E.jsx(Ab,{ref:se,container:l,disablePortal:d,children:E.jsxs(ze,w({},fe,{children:[!y&&ae?E.jsx(ae,w({},yt)):null,E.jsx(Mb,{disableEnforceFocus:u,disableAutoFocus:a,disableRestoreFocus:f,isEnabled:re,open:S,children:x.cloneElement(i,me)})]}))})}),Kb=Gb,qb=2;function K0(e,t){return e-t}function Fo(e,t,n){return e==null?t:Math.min(Math.max(t,e),n)}function rh(e,t){var n;const{index:r}=(n=e.reduce((o,i,s)=>{const l=Math.abs(t-i);return o===null||l<o.distance||l===o.distance?{distance:l,index:s}:o},null))!=null?n:{};return r}function is(e,t){if(t.current!==void 0&&e.changedTouches){const n=e;for(let r=0;r<n.changedTouches.length;r+=1){const o=n.changedTouches[r];if(o.identifier===t.current)return{x:o.clientX,y:o.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function il(e,t,n){return(e-t)*100/(n-t)}function Qb(e,t,n){return(n-t)*e+t}function Yb(e){if(Math.abs(e)<1){const n=e.toExponential().split("e-"),r=n[0].split(".")[1];return(r?r.length:0)+parseInt(n[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}function Xb(e,t,n){const r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(Yb(t)))}function oh({values:e,newValue:t,index:n}){const r=e.slice();return r[n]=t,r.sort(K0)}function ss({sliderRef:e,activeIndex:t,setActive:n}){var r,o;const i=it(e.current);if(!((r=e.current)!=null&&r.contains(i.activeElement))||Number(i==null||(o=i.activeElement)==null?void 0:o.getAttribute("data-index"))!==t){var s;(s=e.current)==null||s.querySelector(`[type="range"][data-index="${t}"]`).focus()}n&&n(t)}function ls(e,t){return typeof e=="number"&&typeof t=="number"?e===t:typeof e=="object"&&typeof t=="object"?yb(e,t):!1}const Zb={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},Jb=e=>e;let as;function cu(){return as===void 0&&(typeof CSS<"u"&&typeof CSS.supports=="function"?as=CSS.supports("touch-action","none"):as=!0),as}function ek(e){const{"aria-labelledby":t,defaultValue:n,disabled:r=!1,disableSwap:o=!1,isRtl:i=!1,marks:s=!1,max:l=100,min:a=0,name:u,onChange:c,onChangeCommitted:d,orientation:f="horizontal",rootRef:h,scale:y=Jb,step:g=1,tabIndex:k,value:m}=e,p=x.useRef(),[v,S]=x.useState(-1),[C,R]=x.useState(-1),[b,$]=x.useState(!1),L=x.useRef(0),[_,F]=nl({controlled:m,default:n??a,name:"Slider"}),G=c&&((N,j,Y)=>{const ee=N.nativeEvent||N,J=new ee.constructor(ee.type,ee);Object.defineProperty(J,"target",{writable:!0,value:{value:j,name:u}}),c(J,j,Y)}),B=Array.isArray(_);let T=B?_.slice().sort(K0):[_];T=T.map(N=>Fo(N,a,l));const O=s===!0&&g!==null?[...Array(Math.floor((l-a)/g)+1)].map((N,j)=>({value:a+g*j})):s||[],V=O.map(N=>N.value),{isFocusVisibleRef:U,onBlur:P,onFocus:A,ref:M}=c0(),[K,W]=x.useState(-1),re=x.useRef(),se=lt(M,re),oe=lt(h,se),le=N=>j=>{var Y;const ee=Number(j.currentTarget.getAttribute("data-index"));A(j),U.current===!0&&W(ee),R(ee),N==null||(Y=N.onFocus)==null||Y.call(N,j)},je=N=>j=>{var Y;P(j),U.current===!1&&W(-1),R(-1),N==null||(Y=N.onBlur)==null||Y.call(N,j)};or(()=>{if(r&&re.current.contains(document.activeElement)){var N;(N=document.activeElement)==null||N.blur()}},[r]),r&&v!==-1&&S(-1),r&&K!==-1&&W(-1);const et=N=>j=>{var Y;(Y=N.onChange)==null||Y.call(N,j);const ee=Number(j.currentTarget.getAttribute("data-index")),J=T[ee],H=V.indexOf(J);let z=j.target.valueAsNumber;if(O&&g==null&&(z=z<J?V[H-1]:V[H+1]),z=Fo(z,a,l),O&&g==null){const te=V.indexOf(T[ee]);z=z<T[ee]?V[te-1]:V[te+1]}if(B){o&&(z=Fo(z,T[ee-1]||-1/0,T[ee+1]||1/0));const te=z;z=oh({values:T,newValue:z,index:ee});let q=ee;o||(q=z.indexOf(te)),ss({sliderRef:re,activeIndex:q})}F(z),W(ee),G&&!ls(z,_)&&G(j,z,ee),d&&d(j,z)},we=x.useRef();let Ne=f;i&&f==="horizontal"&&(Ne+="-reverse");const X=({finger:N,move:j=!1})=>{const{current:Y}=re,{width:ee,height:J,bottom:H,left:z}=Y.getBoundingClientRect();let te;Ne.indexOf("vertical")===0?te=(H-N.y)/J:te=(N.x-z)/ee,Ne.indexOf("-reverse")!==-1&&(te=1-te);let q;if(q=Qb(te,a,l),g)q=Xb(q,g,a);else{const Ln=rh(V,q);q=V[Ln]}q=Fo(q,a,l);let Ye=0;if(B){j?Ye=we.current:Ye=rh(T,q),o&&(q=Fo(q,T[Ye-1]||-1/0,T[Ye+1]||1/0));const Ln=q;q=oh({values:T,newValue:q,index:Ye}),o&&j||(Ye=q.indexOf(Ln),we.current=Ye)}return{newValue:q,activeIndex:Ye}},me=$n(N=>{const j=is(N,p);if(!j)return;if(L.current+=1,N.type==="mousemove"&&N.buttons===0){ze(N);return}const{newValue:Y,activeIndex:ee}=X({finger:j,move:!0});ss({sliderRef:re,activeIndex:ee,setActive:S}),F(Y),!b&&L.current>qb&&$(!0),G&&!ls(Y,_)&&G(N,Y,ee)}),ze=$n(N=>{const j=is(N,p);if($(!1),!j)return;const{newValue:Y}=X({finger:j,move:!0});S(-1),N.type==="touchend"&&R(-1),d&&d(N,Y),p.current=void 0,ae()}),fe=$n(N=>{if(r)return;cu()||N.preventDefault();const j=N.changedTouches[0];j!=null&&(p.current=j.identifier);const Y=is(N,p);if(Y!==!1){const{newValue:J,activeIndex:H}=X({finger:Y});ss({sliderRef:re,activeIndex:H,setActive:S}),F(J),G&&!ls(J,_)&&G(N,J,H)}L.current=0;const ee=it(re.current);ee.addEventListener("touchmove",me),ee.addEventListener("touchend",ze)}),ae=x.useCallback(()=>{const N=it(re.current);N.removeEventListener("mousemove",me),N.removeEventListener("mouseup",ze),N.removeEventListener("touchmove",me),N.removeEventListener("touchend",ze)},[ze,me]);x.useEffect(()=>{const{current:N}=re;return N.addEventListener("touchstart",fe,{passive:cu()}),()=>{N.removeEventListener("touchstart",fe,{passive:cu()}),ae()}},[ae,fe]),x.useEffect(()=>{r&&ae()},[r,ae]);const yt=N=>j=>{var Y;if((Y=N.onMouseDown)==null||Y.call(N,j),r||j.defaultPrevented||j.button!==0)return;j.preventDefault();const ee=is(j,p);if(ee!==!1){const{newValue:H,activeIndex:z}=X({finger:ee});ss({sliderRef:re,activeIndex:z,setActive:S}),F(H),G&&!ls(H,_)&&G(j,H,z)}L.current=0;const J=it(re.current);J.addEventListener("mousemove",me),J.addEventListener("mouseup",ze)},Ce=il(B?T[0]:a,a,l),at=il(T[T.length-1],a,l)-Ce,xn=(N={})=>{const j={onMouseDown:yt(N||{})},Y=w({},N,j);return w({ref:oe},Y)},ve=N=>j=>{var Y;(Y=N.onMouseOver)==null||Y.call(N,j);const ee=Number(j.currentTarget.getAttribute("data-index"));R(ee)},Ie=N=>j=>{var Y;(Y=N.onMouseLeave)==null||Y.call(N,j),R(-1)};return{active:v,axis:Ne,axisProps:Zb,dragging:b,focusedThumbIndex:K,getHiddenInputProps:(N={})=>{var j;const Y={onChange:et(N||{}),onFocus:le(N||{}),onBlur:je(N||{})},ee=w({},N,Y);return w({tabIndex:k,"aria-labelledby":t,"aria-orientation":f,"aria-valuemax":y(l),"aria-valuemin":y(a),name:u,type:"range",min:e.min,max:e.max,step:(j=e.step)!=null?j:void 0,disabled:r},ee,{style:w({},JS,{direction:i?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:xn,getThumbProps:(N={})=>{const j={onMouseOver:ve(N||{}),onMouseLeave:Ie(N||{})};return w({},N,j)},marks:O,open:C,range:B,rootRef:oe,trackLeap:at,trackOffset:Ce,values:T}}const tk=["onChange","maxRows","minRows","style","value"];function us(e){return parseInt(e,10)||0}const nk={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function ih(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflow}const rk=x.forwardRef(function(t,n){const{onChange:r,maxRows:o,minRows:i=1,style:s,value:l}=t,a=Z(t,tk),{current:u}=x.useRef(l!=null),c=x.useRef(null),d=lt(n,c),f=x.useRef(null),h=x.useRef(0),[y,g]=x.useState({outerHeightStyle:0}),k=x.useCallback(()=>{const C=c.current,b=Er(C).getComputedStyle(C);if(b.width==="0px")return{outerHeightStyle:0};const $=f.current;$.style.width=b.width,$.value=C.value||t.placeholder||"x",$.value.slice(-1)===`
|
|
54
|
+
`&&($.value+=" ");const L=b.boxSizing,_=us(b.paddingBottom)+us(b.paddingTop),F=us(b.borderBottomWidth)+us(b.borderTopWidth),G=$.scrollHeight;$.value="x";const B=$.scrollHeight;let T=G;i&&(T=Math.max(Number(i)*B,T)),o&&(T=Math.min(Number(o)*B,T)),T=Math.max(T,B);const O=T+(L==="border-box"?_+F:0),V=Math.abs(T-G)<=1;return{outerHeightStyle:O,overflow:V}},[o,i,t.placeholder]),m=(C,R)=>{const{outerHeightStyle:b,overflow:$}=R;return h.current<20&&(b>0&&Math.abs((C.outerHeightStyle||0)-b)>1||C.overflow!==$)?(h.current+=1,{overflow:$,outerHeightStyle:b}):C},p=x.useCallback(()=>{const C=k();ih(C)||g(R=>m(R,C))},[k]),v=()=>{const C=k();ih(C)||_l.flushSync(()=>{g(R=>m(R,C))})};x.useEffect(()=>{const C=u0(()=>{h.current=0,c.current&&v()});let R;const b=c.current,$=Er(b);return $.addEventListener("resize",C),typeof ResizeObserver<"u"&&(R=new ResizeObserver(C),R.observe(b)),()=>{C.clear(),$.removeEventListener("resize",C),R&&R.disconnect()}}),or(()=>{p()}),x.useEffect(()=>{h.current=0},[l]);const S=C=>{h.current=0,u||p(),r&&r(C)};return E.jsxs(x.Fragment,{children:[E.jsx("textarea",w({value:l,onChange:S,ref:d,rows:i,style:w({height:y.outerHeightStyle,overflow:y.overflow?"hidden":void 0},s)},a)),E.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:f,tabIndex:-1,style:w({},nk.shadow,s,{padding:0})})]})}),ok=rk,ik=e=>!e||!er(e),sk=ik;function lk(e){return _e("MuiSlider",e)}const ak=Re("MuiSlider",["root","active","colorPrimary","colorSecondary","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),en=ak,uk=e=>{const{open:t}=e;return{offset:ie(t&&en.valueLabelOpen),circle:en.valueLabelCircle,label:en.valueLabelLabel}};function ck(e){const{children:t,className:n,value:r}=e,o=uk(e);return t?x.cloneElement(t,{className:ie(t.props.className)},E.jsxs(x.Fragment,{children:[t.props.children,E.jsx("span",{className:ie(o.offset,n),"aria-hidden":!0,children:E.jsx("span",{className:o.circle,children:E.jsx("span",{className:o.label,children:r})})})]})):null}const dk=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"];function sh(e){return e}const fk=Q("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${ge(n.color)}`],n.size!=="medium"&&t[`size${ge(n.size)}`],n.marked&&t.marked,n.orientation==="vertical"&&t.vertical,n.track==="inverted"&&t.trackInverted,n.track===!1&&t.trackFalse]}})(({theme:e,ownerState:t})=>w({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:(e.vars||e).palette[t.color].main,WebkitTapHighlightColor:"transparent"},t.orientation==="horizontal"&&w({height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}},t.size==="small"&&{height:2},t.marked&&{marginBottom:20}),t.orientation==="vertical"&&w({height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}},t.size==="small"&&{width:2},t.marked&&{marginRight:44}),{"@media print":{colorAdjust:"exact"},[`&.${en.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${en.dragging}`]:{[`& .${en.thumb}, & .${en.track}`]:{transition:"none"}}})),pk=Q("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})(({ownerState:e})=>w({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38},e.orientation==="horizontal"&&{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"},e.orientation==="vertical"&&{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"},e.track==="inverted"&&{opacity:1})),hk=Q("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?H0(e.palette[t.color].main,.62):j0(e.palette[t.color].main,.5);return w({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest})},t.size==="small"&&{border:"none"},t.orientation==="horizontal"&&{height:"inherit",top:"50%",transform:"translateY(-50%)"},t.orientation==="vertical"&&{width:"inherit",left:"50%",transform:"translateX(-50%)"},t.track===!1&&{display:"none"},t.track==="inverted"&&{backgroundColor:e.vars?e.vars.palette.Slider[`${t.color}Track`]:n,borderColor:e.vars?e.vars.palette.Slider[`${t.color}Track`]:n})}),gk=Q("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${ge(n.color)}`],n.size!=="medium"&&t[`thumbSize${ge(n.size)}`]]}})(({theme:e,ownerState:t})=>w({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest})},t.size==="small"&&{width:12,height:12},t.orientation==="horizontal"&&{top:"50%",transform:"translate(-50%, -50%)"},t.orientation==="vertical"&&{left:"50%",transform:"translate(-50%, 50%)"},{"&:before":w({position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},t.size==="small"&&{boxShadow:"none"}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&:hover, &.${en.focusVisible}`]:{boxShadow:`0px 0px 0px 8px ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.16)`:_n(e.palette[t.color].main,.16)}`,"@media (hover: none)":{boxShadow:"none"}},[`&.${en.active}`]:{boxShadow:`0px 0px 0px 14px ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.16)`:_n(e.palette[t.color].main,.16)}`},[`&.${en.disabled}`]:{"&:hover":{boxShadow:"none"}}})),mk=Q(ck,{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e,ownerState:t})=>w({[`&.${en.valueLabelOpen}`]:{transform:`${t.orientation==="vertical"?"translateY(-50%)":"translateY(-100%)"} scale(1)`},zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),transform:`${t.orientation==="vertical"?"translateY(-50%)":"translateY(-100%)"} scale(0)`,position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem"},t.orientation==="horizontal"&&{top:"-10px",transformOrigin:"bottom center","&:before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"}},t.orientation==="vertical"&&{right:t.size==="small"?"20px":"30px",top:"50%",transformOrigin:"right center","&:before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:"-20%",top:"50%"}},t.size==="small"&&{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"})),vk=Q("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>Kd(e)&&e!=="markActive",overridesResolver:(e,t)=>{const{markActive:n}=e;return[t.mark,n&&t.markActive]}})(({theme:e,ownerState:t,markActive:n})=>w({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},t.orientation==="horizontal"&&{top:"50%",transform:"translate(-1px, -50%)"},t.orientation==="vertical"&&{left:"50%",transform:"translate(-50%, 1px)"},n&&{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8})),yk=Q("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>Kd(e)&&e!=="markLabelActive",overridesResolver:(e,t)=>t.markLabel})(({theme:e,ownerState:t,markLabelActive:n})=>w({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap"},t.orientation==="horizontal"&&{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}},t.orientation==="vertical"&&{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}},n&&{color:(e.vars||e).palette.text.primary})),Sk=e=>{const{disabled:t,dragging:n,marked:r,orientation:o,track:i,classes:s,color:l,size:a}=e,u={root:["root",t&&"disabled",n&&"dragging",r&&"marked",o==="vertical"&&"vertical",i==="inverted"&&"trackInverted",i===!1&&"trackFalse",l&&`color${ge(l)}`,a&&`size${ge(a)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",a&&`thumbSize${ge(a)}`,l&&`thumbColor${ge(l)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return Me(u,lk,s)},xk=({children:e})=>e,wk=x.forwardRef(function(t,n){var r,o,i,s,l,a,u,c,d,f,h,y,g,k,m,p,v,S,C,R,b,$,L,_;const F=Le({props:t,name:"MuiSlider"}),B=na().direction==="rtl",{"aria-label":T,"aria-valuetext":O,"aria-labelledby":V,component:U="span",components:P={},componentsProps:A={},color:M="primary",classes:K,className:W,disableSwap:re=!1,disabled:se=!1,getAriaLabel:oe,getAriaValueText:le,marks:je=!1,max:et=100,min:we=0,orientation:Ne="horizontal",size:X="medium",step:me=1,scale:ze=sh,slotProps:fe,slots:ae,track:yt="normal",valueLabelDisplay:Ce="off",valueLabelFormat:at=sh}=F,xn=Z(F,dk),ve=w({},F,{isRtl:B,max:et,min:we,classes:K,disabled:se,disableSwap:re,orientation:Ne,marks:je,color:M,size:X,step:me,scale:ze,track:yt,valueLabelDisplay:Ce,valueLabelFormat:at}),{axisProps:Ie,getRootProps:Kt,getHiddenInputProps:St,getThumbProps:N,open:j,active:Y,axis:ee,focusedThumbIndex:J,range:H,dragging:z,marks:te,values:q,trackOffset:Ye,trackLeap:Ln}=ek(w({},ve,{rootRef:n}));ve.marked=te.length>0&&te.some(Ue=>Ue.label),ve.dragging=z,ve.focusedThumbIndex=J;const $t=Sk(ve),xa=(r=(o=ae==null?void 0:ae.root)!=null?o:P.Root)!=null?r:fk,af=(i=(s=ae==null?void 0:ae.rail)!=null?s:P.Rail)!=null?i:pk,uf=(l=(a=ae==null?void 0:ae.track)!=null?a:P.Track)!=null?l:hk,cf=(u=(c=ae==null?void 0:ae.thumb)!=null?c:P.Thumb)!=null?u:gk,df=(d=(f=ae==null?void 0:ae.valueLabel)!=null?f:P.ValueLabel)!=null?d:mk,wa=(h=(y=ae==null?void 0:ae.mark)!=null?y:P.Mark)!=null?h:vk,Ca=(g=(k=ae==null?void 0:ae.markLabel)!=null?k:P.MarkLabel)!=null?g:yk,ff=(m=(p=ae==null?void 0:ae.input)!=null?p:P.Input)!=null?m:"input",ba=(v=fe==null?void 0:fe.root)!=null?v:A.root,bv=(S=fe==null?void 0:fe.rail)!=null?S:A.rail,ka=(C=fe==null?void 0:fe.track)!=null?C:A.track,Ra=(R=fe==null?void 0:fe.thumb)!=null?R:A.thumb,Ea=(b=fe==null?void 0:fe.valueLabel)!=null?b:A.valueLabel,kv=($=fe==null?void 0:fe.mark)!=null?$:A.mark,Rv=(L=fe==null?void 0:fe.markLabel)!=null?L:A.markLabel,Ev=(_=fe==null?void 0:fe.input)!=null?_:A.input,$v=un({elementType:xa,getSlotProps:Kt,externalSlotProps:ba,externalForwardedProps:xn,additionalProps:w({},sk(xa)&&{as:U}),ownerState:w({},ve,ba==null?void 0:ba.ownerState),className:[$t.root,W]}),_v=un({elementType:af,externalSlotProps:bv,ownerState:ve,className:$t.rail}),Pv=un({elementType:uf,externalSlotProps:ka,additionalProps:{style:w({},Ie[ee].offset(Ye),Ie[ee].leap(Ln))},ownerState:w({},ve,ka==null?void 0:ka.ownerState),className:$t.track}),$a=un({elementType:cf,getSlotProps:N,externalSlotProps:Ra,ownerState:w({},ve,Ra==null?void 0:Ra.ownerState),className:$t.thumb}),Tv=un({elementType:df,externalSlotProps:Ea,ownerState:w({},ve,Ea==null?void 0:Ea.ownerState),className:$t.valueLabel}),_a=un({elementType:wa,externalSlotProps:kv,ownerState:ve,className:$t.mark}),Pa=un({elementType:Ca,externalSlotProps:Rv,ownerState:ve,className:$t.markLabel}),Mv=un({elementType:ff,getSlotProps:St,externalSlotProps:Ev,ownerState:ve});return E.jsxs(xa,w({},$v,{children:[E.jsx(af,w({},_v)),E.jsx(uf,w({},Pv)),te.filter(Ue=>Ue.value>=we&&Ue.value<=et).map((Ue,tt)=>{const Ta=il(Ue.value,we,et),Ni=Ie[ee].offset(Ta);let wn;return yt===!1?wn=q.indexOf(Ue.value)!==-1:wn=yt==="normal"&&(H?Ue.value>=q[0]&&Ue.value<=q[q.length-1]:Ue.value<=q[0])||yt==="inverted"&&(H?Ue.value<=q[0]||Ue.value>=q[q.length-1]:Ue.value>=q[0]),E.jsxs(x.Fragment,{children:[E.jsx(wa,w({"data-index":tt},_a,!er(wa)&&{markActive:wn},{style:w({},Ni,_a.style),className:ie(_a.className,wn&&$t.markActive)})),Ue.label!=null?E.jsx(Ca,w({"aria-hidden":!0,"data-index":tt},Pa,!er(Ca)&&{markLabelActive:wn},{style:w({},Ni,Pa.style),className:ie($t.markLabel,Pa.className,wn&&$t.markLabelActive),children:Ue.label})):null]},tt)}),q.map((Ue,tt)=>{const Ta=il(Ue,we,et),Ni=Ie[ee].offset(Ta),wn=Ce==="off"?xk:df;return E.jsx(wn,w({},!er(wn)&&{valueLabelFormat:at,valueLabelDisplay:Ce,value:typeof at=="function"?at(ze(Ue),tt):at,index:tt,open:j===tt||Y===tt||Ce==="on",disabled:se},Tv,{children:E.jsx(cf,w({"data-index":tt},$a,{className:ie($t.thumb,$a.className,Y===tt&&$t.active,J===tt&&$t.focusVisible),style:w({},Ni,{pointerEvents:re&&Y!==tt?"none":void 0},$a.style),children:E.jsx(ff,w({"data-index":tt,"aria-label":oe?oe(tt):T,"aria-valuenow":ze(Ue),"aria-labelledby":V,"aria-valuetext":le?le(ze(Ue),tt):O,value:q[tt]},Mv))}))}),tt)})]}))}),Ck=wk;function bk(e){return _e("MuiTypography",e)}Re("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const kk=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Rk=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:s}=e,l={root:["root",i,e.align!=="inherit"&&`align${ge(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return Me(l,bk,s)},Ek=Q("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${ge(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>w({margin:0},t.variant&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),lh={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},$k={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},_k=e=>$k[e]||e,Pk=x.forwardRef(function(t,n){const r=Le({props:t,name:"MuiTypography"}),o=_k(r.color),i=Wd(w({},r,{color:o})),{align:s="inherit",className:l,component:a,gutterBottom:u=!1,noWrap:c=!1,paragraph:d=!1,variant:f="body1",variantMapping:h=lh}=i,y=Z(i,kk),g=w({},i,{align:s,color:o,className:l,component:a,gutterBottom:u,noWrap:c,paragraph:d,variant:f,variantMapping:h}),k=a||(d?"p":h[f]||lh[f])||"span",m=Rk(g);return E.jsx(Ek,w({as:k,ref:n,ownerState:g,className:ie(m.root,l)},y))}),Go=Pk;var ah;const Tk=["children","classes","className","label","notched"],Mk=Q("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Ik=Q("legend")(({ownerState:e,theme:t})=>w({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&w({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function Ok(e){const{className:t,label:n,notched:r}=e,o=Z(e,Tk),i=n!=null&&n!=="",s=w({},e,{notched:r,withLabel:i});return E.jsx(Mk,w({"aria-hidden":!0,className:t,ownerState:s},o,{children:E.jsx(Ik,{ownerState:s,children:i?E.jsx("span",{children:n}):ah||(ah=E.jsx("span",{className:"notranslate",children:""}))})}))}const Ak=x.createContext(void 0),qd=Ak;function Co(){return x.useContext(qd)}function Li({props:e,states:t,muiFormControl:n}){return t.reduce((r,o)=>(r[o]=e[o],n&&typeof e[o]>"u"&&(r[o]=n[o]),r),{})}function Fk(e){return E.jsx(rC,w({},e,{defaultTheme:ta,themeId:Fi}))}function uh(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function sl(e,t=!1){return e&&(uh(e.value)&&e.value!==""||t&&uh(e.defaultValue)&&e.defaultValue!=="")}function Lk(e){return e.startAdornment}function Nk(e){return _e("MuiInputBase",e)}const zk=Re("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),go=zk,Dk=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],ra=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${ge(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},oa=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},Bk=e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:s,formControl:l,fullWidth:a,hiddenLabel:u,multiline:c,readOnly:d,size:f,startAdornment:h,type:y}=e,g={root:["root",`color${ge(n)}`,r&&"disabled",o&&"error",a&&"fullWidth",s&&"focused",l&&"formControl",f==="small"&&"sizeSmall",c&&"multiline",h&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled",y==="search"&&"inputTypeSearch",c&&"inputMultiline",f==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",h&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]};return Me(g,Nk,t)},ia=Q("div",{name:"MuiInputBase",slot:"Root",overridesResolver:ra})(({theme:e,ownerState:t})=>w({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${go.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&w({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),sa=Q("input",{name:"MuiInputBase",slot:"Input",overridesResolver:oa})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light",r=w({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return w({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${go.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${go.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),Vk=E.jsx(Fk,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),jk=x.forwardRef(function(t,n){var r;const o=Le({props:t,name:"MuiInputBase"}),{"aria-describedby":i,autoComplete:s,autoFocus:l,className:a,components:u={},componentsProps:c={},defaultValue:d,disabled:f,disableInjectingGlobalStyles:h,endAdornment:y,fullWidth:g=!1,id:k,inputComponent:m="input",inputProps:p={},inputRef:v,maxRows:S,minRows:C,multiline:R=!1,name:b,onBlur:$,onChange:L,onClick:_,onFocus:F,onKeyDown:G,onKeyUp:B,placeholder:T,readOnly:O,renderSuffix:V,rows:U,slotProps:P={},slots:A={},startAdornment:M,type:K="text",value:W}=o,re=Z(o,Dk),se=p.value!=null?p.value:W,{current:oe}=x.useRef(se!=null),le=x.useRef(),je=x.useCallback(J=>{},[]),et=lt(le,v,p.ref,je),[we,Ne]=x.useState(!1),X=Co(),me=Li({props:o,muiFormControl:X,states:["color","disabled","error","hiddenLabel","size","required","filled"]});me.focused=X?X.focused:we,x.useEffect(()=>{!X&&f&&we&&(Ne(!1),$&&$())},[X,f,we,$]);const ze=X&&X.onFilled,fe=X&&X.onEmpty,ae=x.useCallback(J=>{sl(J)?ze&&ze():fe&&fe()},[ze,fe]);or(()=>{oe&&ae({value:se})},[se,ae,oe]);const yt=J=>{if(me.disabled){J.stopPropagation();return}F&&F(J),p.onFocus&&p.onFocus(J),X&&X.onFocus?X.onFocus(J):Ne(!0)},Ce=J=>{$&&$(J),p.onBlur&&p.onBlur(J),X&&X.onBlur?X.onBlur(J):Ne(!1)},at=(J,...H)=>{if(!oe){const z=J.target||le.current;if(z==null)throw new Error(rr(1));ae({value:z.value})}p.onChange&&p.onChange(J,...H),L&&L(J,...H)};x.useEffect(()=>{ae(le.current)},[]);const xn=J=>{le.current&&J.currentTarget===J.target&&le.current.focus(),_&&!me.disabled&&_(J)};let ve=m,Ie=p;R&&ve==="input"&&(U?Ie=w({type:void 0,minRows:U,maxRows:U},Ie):Ie=w({type:void 0,maxRows:S,minRows:C},Ie),ve=ok);const Kt=J=>{ae(J.animationName==="mui-auto-fill-cancel"?le.current:{value:"x"})};x.useEffect(()=>{X&&X.setAdornedStart(!!M)},[X,M]);const St=w({},o,{color:me.color||"primary",disabled:me.disabled,endAdornment:y,error:me.error,focused:me.focused,formControl:X,fullWidth:g,hiddenLabel:me.hiddenLabel,multiline:R,size:me.size,startAdornment:M,type:K}),N=Bk(St),j=A.root||u.Root||ia,Y=P.root||c.root||{},ee=A.input||u.Input||sa;return Ie=w({},Ie,(r=P.input)!=null?r:c.input),E.jsxs(x.Fragment,{children:[!h&&Vk,E.jsxs(j,w({},Y,!er(j)&&{ownerState:w({},St,Y.ownerState)},{ref:n,onClick:xn},re,{className:ie(N.root,Y.className,a,O&&"MuiInputBase-readOnly"),children:[M,E.jsx(qd.Provider,{value:null,children:E.jsx(ee,w({ownerState:St,"aria-invalid":me.error,"aria-describedby":i,autoComplete:s,autoFocus:l,defaultValue:d,disabled:me.disabled,id:k,onAnimationStart:Kt,name:b,placeholder:T,readOnly:O,required:me.required,rows:U,value:se,onKeyDown:G,onKeyUp:B,type:K},Ie,!er(ee)&&{as:ve,ownerState:w({},St,Ie.ownerState)},{ref:et,className:ie(N.input,Ie.className,O&&"MuiInputBase-readOnly"),onBlur:Ce,onChange:at,onFocus:yt}))}),y,V?V(w({},me,{startAdornment:M})):null]}))]})}),Qd=jk;function Hk(e){return _e("MuiOutlinedInput",e)}const Uk=w({},go,Re("MuiOutlinedInput",["root","notchedOutline","input"])),zn=Uk,Wk=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],Gk=e=>{const{classes:t}=e,r=Me({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Hk,t);return w({},t,r)},Kk=Q(ia,{shouldForwardProp:e=>Sn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:ra})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return w({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${zn.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${zn.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${zn.focused} .${zn.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${zn.error} .${zn.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${zn.disabled} .${zn.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&w({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),qk=Q(Ok,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),Qk=Q(sa,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:oa})(({theme:e,ownerState:t})=>w({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),q0=x.forwardRef(function(t,n){var r,o,i,s,l;const a=Le({props:t,name:"MuiOutlinedInput"}),{components:u={},fullWidth:c=!1,inputComponent:d="input",label:f,multiline:h=!1,notched:y,slots:g={},type:k="text"}=a,m=Z(a,Wk),p=Gk(a),v=Co(),S=Li({props:a,muiFormControl:v,states:["required"]}),C=w({},a,{color:S.color||"primary",disabled:S.disabled,error:S.error,focused:S.focused,formControl:v,fullWidth:c,hiddenLabel:S.hiddenLabel,multiline:h,size:S.size,type:k}),R=(r=(o=g.root)!=null?o:u.Root)!=null?r:Kk,b=(i=(s=g.input)!=null?s:u.Input)!=null?i:Qk;return E.jsx(Qd,w({slots:{root:R,input:b},renderSuffix:$=>E.jsx(qk,{ownerState:C,className:p.notchedOutline,label:f!=null&&f!==""&&S.required?l||(l=E.jsxs(x.Fragment,{children:[f," ","*"]})):f,notched:typeof y<"u"?y:!!($.startAdornment||$.filled||$.focused)}),fullWidth:c,inputComponent:d,multiline:h,ref:n,type:k},m,{classes:w({},p,{notchedOutline:null})}))});q0.muiName="Input";const Q0=q0;function Yk(e){return _e("MuiFormLabel",e)}const Xk=Re("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),si=Xk,Zk=["children","className","color","component","disabled","error","filled","focused","required"],Jk=e=>{const{classes:t,color:n,focused:r,disabled:o,error:i,filled:s,required:l}=e,a={root:["root",`color${ge(n)}`,o&&"disabled",i&&"error",s&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",i&&"error"]};return Me(a,Yk,t)},eR=Q("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>w({},t.root,e.color==="secondary"&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>w({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${si.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${si.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${si.error}`]:{color:(e.vars||e).palette.error.main}})),tR=Q("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${si.error}`]:{color:(e.vars||e).palette.error.main}})),nR=x.forwardRef(function(t,n){const r=Le({props:t,name:"MuiFormLabel"}),{children:o,className:i,component:s="label"}=r,l=Z(r,Zk),a=Co(),u=Li({props:r,muiFormControl:a,states:["color","required","focused","disabled","error","filled"]}),c=w({},r,{color:u.color||"primary",component:s,disabled:u.disabled,error:u.error,filled:u.filled,focused:u.focused,required:u.required}),d=Jk(c);return E.jsxs(eR,w({as:s,ownerState:c,className:ie(d.root,i),ref:n},l,{children:[o,u.required&&E.jsxs(tR,{ownerState:c,"aria-hidden":!0,className:d.asterisk,children:[" ","*"]})]}))}),rR=nR;function oR(e){return _e("MuiInputLabel",e)}Re("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const iR=["disableAnimation","margin","shrink","variant","className"],sR=e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:i,variant:s,required:l}=e,u=Me({root:["root",n&&"formControl",!i&&"animated",o&&"shrink",r==="small"&&"sizeSmall",s],asterisk:[l&&"asterisk"]},oR,t);return w({},t,u)},lR=Q(rR,{shouldForwardProp:e=>Sn(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${si.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})(({theme:e,ownerState:t})=>w({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},t.size==="small"&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},t.variant==="filled"&&w({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&w({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},t.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),t.variant==="outlined"&&w({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),aR=x.forwardRef(function(t,n){const r=Le({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,shrink:i,className:s}=r,l=Z(r,iR),a=Co();let u=i;typeof u>"u"&&a&&(u=a.filled||a.focused||a.adornedStart);const c=Li({props:r,muiFormControl:a,states:["size","variant","required"]}),d=w({},r,{disableAnimation:o,formControl:a,shrink:u,size:c.size,variant:c.variant,required:c.required}),f=sR(d);return E.jsx(lR,w({"data-shrink":u,ownerState:d,ref:n,className:ie(f.root,s)},l,{classes:f}))}),uR=aR,cR=x.createContext({}),ll=cR;function Ec(e,t){return Ec=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Ec(e,t)}function Y0(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ec(e,t)}const ch={disabled:!1},al=Jt.createContext(null);var dR=function(t){return t.scrollTop},Ko="unmounted",fr="exited",pr="entering",Dr="entered",$c="exiting",Fn=function(e){Y0(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var s=o,l=s&&!s.isMounting?r.enter:r.appear,a;return i.appearStatus=null,r.in?l?(a=fr,i.appearStatus=pr):a=Dr:r.unmountOnExit||r.mountOnEnter?a=Ko:a=fr,i.state={status:a},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var s=o.in;return s&&i.status===Ko?{status:fr}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var i=null;if(o!==this.props){var s=this.state.status;this.props.in?s!==pr&&s!==Dr&&(i=pr):(s===pr||s===Dr)&&(i=$c)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,s,l;return i=s=l=o,o!=null&&typeof o!="number"&&(i=o.exit,s=o.enter,l=o.appear!==void 0?o.appear:s),{exit:i,enter:s,appear:l}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===pr){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:ts.findDOMNode(this);s&&dR(s)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===fr&&this.setState({status:Ko})},n.performEnter=function(o){var i=this,s=this.props.enter,l=this.context?this.context.isMounting:o,a=this.props.nodeRef?[l]:[ts.findDOMNode(this),l],u=a[0],c=a[1],d=this.getTimeouts(),f=l?d.appear:d.enter;if(!o&&!s||ch.disabled){this.safeSetState({status:Dr},function(){i.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:pr},function(){i.props.onEntering(u,c),i.onTransitionEnd(f,function(){i.safeSetState({status:Dr},function(){i.props.onEntered(u,c)})})})},n.performExit=function(){var o=this,i=this.props.exit,s=this.getTimeouts(),l=this.props.nodeRef?void 0:ts.findDOMNode(this);if(!i||ch.disabled){this.safeSetState({status:fr},function(){o.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:$c},function(){o.props.onExiting(l),o.onTransitionEnd(s.exit,function(){o.safeSetState({status:fr},function(){o.props.onExited(l)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},n.setNextCallback=function(o){var i=this,s=!0;return this.nextCallback=function(l){s&&(s=!1,i.nextCallback=null,o(l))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(o,i){this.setNextCallback(i);var s=this.props.nodeRef?this.props.nodeRef.current:ts.findDOMNode(this),l=o==null&&!this.props.addEndListener;if(!s||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var a=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],u=a[0],c=a[1];this.props.addEndListener(u,c)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===Ko)return null;var i=this.props,s=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var l=Z(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Jt.createElement(al.Provider,{value:null},typeof s=="function"?s(o,l):Jt.cloneElement(Jt.Children.only(s),l))},t}(Jt.Component);Fn.contextType=al;Fn.propTypes={};function Nr(){}Fn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Nr,onEntering:Nr,onEntered:Nr,onExit:Nr,onExiting:Nr,onExited:Nr};Fn.UNMOUNTED=Ko;Fn.EXITED=fr;Fn.ENTERING=pr;Fn.ENTERED=Dr;Fn.EXITING=$c;const X0=Fn;function fR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yd(e,t){var n=function(i){return t&&x.isValidElement(i)?t(i):i},r=Object.create(null);return e&&x.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function pR(e,t){e=e||{},t=t||{};function n(c){return c in t?t[c]:e[c]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var s,l={};for(var a in t){if(r[a])for(s=0;s<r[a].length;s++){var u=r[a][s];l[r[a][s]]=n(u)}l[a]=n(a)}for(s=0;s<o.length;s++)l[o[s]]=n(o[s]);return l}function yr(e,t,n){return n[t]!=null?n[t]:e.props[t]}function hR(e,t){return Yd(e.children,function(n){return x.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:yr(n,"appear",e),enter:yr(n,"enter",e),exit:yr(n,"exit",e)})})}function gR(e,t,n){var r=Yd(e.children),o=pR(t,r);return Object.keys(o).forEach(function(i){var s=o[i];if(x.isValidElement(s)){var l=i in t,a=i in r,u=t[i],c=x.isValidElement(u)&&!u.props.in;a&&(!l||c)?o[i]=x.cloneElement(s,{onExited:n.bind(null,s),in:!0,exit:yr(s,"exit",e),enter:yr(s,"enter",e)}):!a&&l&&!c?o[i]=x.cloneElement(s,{in:!1}):a&&l&&x.isValidElement(u)&&(o[i]=x.cloneElement(s,{onExited:n.bind(null,s),in:u.props.in,exit:yr(s,"exit",e),enter:yr(s,"enter",e)}))}}),o}var mR=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},vR={component:"div",childFactory:function(t){return t}},Xd=function(e){Y0(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var s=i.handleExited.bind(fR(i));return i.state={contextValue:{isMounting:!0},handleExited:s,firstRender:!0},i}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,i){var s=i.children,l=i.handleExited,a=i.firstRender;return{children:a?hR(o,l):gR(o,s,l),firstRender:!1}},n.handleExited=function(o,i){var s=Yd(this.props.children);o.key in s||(o.props.onExited&&o.props.onExited(i),this.mounted&&this.setState(function(l){var a=w({},l.children);return delete a[o.key],{children:a}}))},n.render=function(){var o=this.props,i=o.component,s=o.childFactory,l=Z(o,["component","childFactory"]),a=this.state.contextValue,u=mR(this.state.children).map(s);return delete l.appear,delete l.enter,delete l.exit,i===null?Jt.createElement(al.Provider,{value:a},u):Jt.createElement(al.Provider,{value:a},Jt.createElement(i,l,u))},t}(Jt.Component);Xd.propTypes={};Xd.defaultProps=vR;const yR=Xd;function SR(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:s,in:l,onExited:a,timeout:u}=e,[c,d]=x.useState(!1),f=ie(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),h={width:s,height:s,top:-(s/2)+i,left:-(s/2)+o},y=ie(n.child,c&&n.childLeaving,r&&n.childPulsate);return!l&&!c&&d(!0),x.useEffect(()=>{if(!l&&a!=null){const g=setTimeout(a,u);return()=>{clearTimeout(g)}}},[a,l,u]),E.jsx("span",{className:f,style:h,children:E.jsx("span",{className:y})})}const xR=Re("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Nt=xR,wR=["center","classes","className"];let la=e=>e,dh,fh,ph,hh;const _c=550,CR=80,bR=Dd(dh||(dh=la`
|
|
55
|
+
0% {
|
|
56
|
+
transform: scale(0);
|
|
57
|
+
opacity: 0.1;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
100% {
|
|
61
|
+
transform: scale(1);
|
|
62
|
+
opacity: 0.3;
|
|
63
|
+
}
|
|
64
|
+
`)),kR=Dd(fh||(fh=la`
|
|
65
|
+
0% {
|
|
66
|
+
opacity: 1;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
100% {
|
|
70
|
+
opacity: 0;
|
|
71
|
+
}
|
|
72
|
+
`)),RR=Dd(ph||(ph=la`
|
|
73
|
+
0% {
|
|
74
|
+
transform: scale(1);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
50% {
|
|
78
|
+
transform: scale(0.92);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
100% {
|
|
82
|
+
transform: scale(1);
|
|
83
|
+
}
|
|
84
|
+
`)),ER=Q("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),$R=Q(SR,{name:"MuiTouchRipple",slot:"Ripple"})(hh||(hh=la`
|
|
85
|
+
opacity: 0;
|
|
86
|
+
position: absolute;
|
|
87
|
+
|
|
88
|
+
&.${0} {
|
|
89
|
+
opacity: 0.3;
|
|
90
|
+
transform: scale(1);
|
|
91
|
+
animation-name: ${0};
|
|
92
|
+
animation-duration: ${0}ms;
|
|
93
|
+
animation-timing-function: ${0};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&.${0} {
|
|
97
|
+
animation-duration: ${0}ms;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
& .${0} {
|
|
101
|
+
opacity: 1;
|
|
102
|
+
display: block;
|
|
103
|
+
width: 100%;
|
|
104
|
+
height: 100%;
|
|
105
|
+
border-radius: 50%;
|
|
106
|
+
background-color: currentColor;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
& .${0} {
|
|
110
|
+
opacity: 0;
|
|
111
|
+
animation-name: ${0};
|
|
112
|
+
animation-duration: ${0}ms;
|
|
113
|
+
animation-timing-function: ${0};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
& .${0} {
|
|
117
|
+
position: absolute;
|
|
118
|
+
/* @noflip */
|
|
119
|
+
left: 0px;
|
|
120
|
+
top: 0;
|
|
121
|
+
animation-name: ${0};
|
|
122
|
+
animation-duration: 2500ms;
|
|
123
|
+
animation-timing-function: ${0};
|
|
124
|
+
animation-iteration-count: infinite;
|
|
125
|
+
animation-delay: 200ms;
|
|
126
|
+
}
|
|
127
|
+
`),Nt.rippleVisible,bR,_c,({theme:e})=>e.transitions.easing.easeInOut,Nt.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Nt.child,Nt.childLeaving,kR,_c,({theme:e})=>e.transitions.easing.easeInOut,Nt.childPulsate,RR,({theme:e})=>e.transitions.easing.easeInOut),_R=x.forwardRef(function(t,n){const r=Le({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:s}=r,l=Z(r,wR),[a,u]=x.useState([]),c=x.useRef(0),d=x.useRef(null);x.useEffect(()=>{d.current&&(d.current(),d.current=null)},[a]);const f=x.useRef(!1),h=x.useRef(null),y=x.useRef(null),g=x.useRef(null);x.useEffect(()=>()=>{clearTimeout(h.current)},[]);const k=x.useCallback(S=>{const{pulsate:C,rippleX:R,rippleY:b,rippleSize:$,cb:L}=S;u(_=>[..._,E.jsx($R,{classes:{ripple:ie(i.ripple,Nt.ripple),rippleVisible:ie(i.rippleVisible,Nt.rippleVisible),ripplePulsate:ie(i.ripplePulsate,Nt.ripplePulsate),child:ie(i.child,Nt.child),childLeaving:ie(i.childLeaving,Nt.childLeaving),childPulsate:ie(i.childPulsate,Nt.childPulsate)},timeout:_c,pulsate:C,rippleX:R,rippleY:b,rippleSize:$},c.current)]),c.current+=1,d.current=L},[i]),m=x.useCallback((S={},C={},R=()=>{})=>{const{pulsate:b=!1,center:$=o||C.pulsate,fakeElement:L=!1}=C;if((S==null?void 0:S.type)==="mousedown"&&f.current){f.current=!1;return}(S==null?void 0:S.type)==="touchstart"&&(f.current=!0);const _=L?null:g.current,F=_?_.getBoundingClientRect():{width:0,height:0,left:0,top:0};let G,B,T;if($||S===void 0||S.clientX===0&&S.clientY===0||!S.clientX&&!S.touches)G=Math.round(F.width/2),B=Math.round(F.height/2);else{const{clientX:O,clientY:V}=S.touches&&S.touches.length>0?S.touches[0]:S;G=Math.round(O-F.left),B=Math.round(V-F.top)}if($)T=Math.sqrt((2*F.width**2+F.height**2)/3),T%2===0&&(T+=1);else{const O=Math.max(Math.abs((_?_.clientWidth:0)-G),G)*2+2,V=Math.max(Math.abs((_?_.clientHeight:0)-B),B)*2+2;T=Math.sqrt(O**2+V**2)}S!=null&&S.touches?y.current===null&&(y.current=()=>{k({pulsate:b,rippleX:G,rippleY:B,rippleSize:T,cb:R})},h.current=setTimeout(()=>{y.current&&(y.current(),y.current=null)},CR)):k({pulsate:b,rippleX:G,rippleY:B,rippleSize:T,cb:R})},[o,k]),p=x.useCallback(()=>{m({},{pulsate:!0})},[m]),v=x.useCallback((S,C)=>{if(clearTimeout(h.current),(S==null?void 0:S.type)==="touchend"&&y.current){y.current(),y.current=null,h.current=setTimeout(()=>{v(S,C)});return}y.current=null,u(R=>R.length>0?R.slice(1):R),d.current=C},[]);return x.useImperativeHandle(n,()=>({pulsate:p,start:m,stop:v}),[p,m,v]),E.jsx(ER,w({className:ie(Nt.root,i.root,s),ref:g},l,{children:E.jsx(yR,{component:null,exit:!0,children:a})}))}),PR=_R;function TR(e){return _e("MuiButtonBase",e)}const MR=Re("MuiButtonBase",["root","disabled","focusVisible"]),IR=MR,OR=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],AR=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,s=Me({root:["root",t&&"disabled",n&&"focusVisible"]},TR,o);return n&&r&&(s.root+=` ${r}`),s},FR=Q("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${IR.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),LR=x.forwardRef(function(t,n){const r=Le({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:s,className:l,component:a="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:d=!1,focusRipple:f=!1,LinkComponent:h="a",onBlur:y,onClick:g,onContextMenu:k,onDragLeave:m,onFocus:p,onFocusVisible:v,onKeyDown:S,onKeyUp:C,onMouseDown:R,onMouseLeave:b,onMouseUp:$,onTouchEnd:L,onTouchMove:_,onTouchStart:F,tabIndex:G=0,TouchRippleProps:B,touchRippleRef:T,type:O}=r,V=Z(r,OR),U=x.useRef(null),P=x.useRef(null),A=lt(P,T),{isFocusVisibleRef:M,onFocus:K,onBlur:W,ref:re}=c0(),[se,oe]=x.useState(!1);u&&se&&oe(!1),x.useImperativeHandle(o,()=>({focusVisible:()=>{oe(!0),U.current.focus()}}),[]);const[le,je]=x.useState(!1);x.useEffect(()=>{je(!0)},[]);const et=le&&!c&&!u;x.useEffect(()=>{se&&f&&!c&&le&&P.current.pulsate()},[c,f,se,le]);function we(H,z,te=d){return $n(q=>(z&&z(q),!te&&P.current&&P.current[H](q),!0))}const Ne=we("start",R),X=we("stop",k),me=we("stop",m),ze=we("stop",$),fe=we("stop",H=>{se&&H.preventDefault(),b&&b(H)}),ae=we("start",F),yt=we("stop",L),Ce=we("stop",_),at=we("stop",H=>{W(H),M.current===!1&&oe(!1),y&&y(H)},!1),xn=$n(H=>{U.current||(U.current=H.currentTarget),K(H),M.current===!0&&(oe(!0),v&&v(H)),p&&p(H)}),ve=()=>{const H=U.current;return a&&a!=="button"&&!(H.tagName==="A"&&H.href)},Ie=x.useRef(!1),Kt=$n(H=>{f&&!Ie.current&&se&&P.current&&H.key===" "&&(Ie.current=!0,P.current.stop(H,()=>{P.current.start(H)})),H.target===H.currentTarget&&ve()&&H.key===" "&&H.preventDefault(),S&&S(H),H.target===H.currentTarget&&ve()&&H.key==="Enter"&&!u&&(H.preventDefault(),g&&g(H))}),St=$n(H=>{f&&H.key===" "&&P.current&&se&&!H.defaultPrevented&&(Ie.current=!1,P.current.stop(H,()=>{P.current.pulsate(H)})),C&&C(H),g&&H.target===H.currentTarget&&ve()&&H.key===" "&&!H.defaultPrevented&&g(H)});let N=a;N==="button"&&(V.href||V.to)&&(N=h);const j={};N==="button"?(j.type=O===void 0?"button":O,j.disabled=u):(!V.href&&!V.to&&(j.role="button"),u&&(j["aria-disabled"]=u));const Y=lt(n,re,U),ee=w({},r,{centerRipple:i,component:a,disabled:u,disableRipple:c,disableTouchRipple:d,focusRipple:f,tabIndex:G,focusVisible:se}),J=AR(ee);return E.jsxs(FR,w({as:N,className:ie(J.root,l),ownerState:ee,onBlur:at,onClick:g,onContextMenu:X,onFocus:xn,onKeyDown:Kt,onKeyUp:St,onMouseDown:Ne,onMouseLeave:fe,onMouseUp:ze,onDragLeave:me,onTouchEnd:yt,onTouchMove:Ce,onTouchStart:ae,ref:Y,tabIndex:u?-1:G,type:O},j,V,{children:[s,et?E.jsx(PR,w({ref:A,center:i},B)):null]}))}),Z0=LR,NR=Re("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),gh=NR,zR=Re("MuiListItemIcon",["root","alignItemsFlexStart"]),mh=zR;function DR(e){return _e("MuiListItemText",e)}const BR=Re("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),ul=BR,VR=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],jR=e=>{const{classes:t,inset:n,primary:r,secondary:o,dense:i}=e;return Me({root:["root",n&&"inset",i&&"dense",r&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},DR,t)},HR=Q("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ul.primary}`]:t.primary},{[`& .${ul.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})(({ownerState:e})=>w({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),UR=x.forwardRef(function(t,n){const r=Le({props:t,name:"MuiListItemText"}),{children:o,className:i,disableTypography:s=!1,inset:l=!1,primary:a,primaryTypographyProps:u,secondary:c,secondaryTypographyProps:d}=r,f=Z(r,VR),{dense:h}=x.useContext(ll);let y=a??o,g=c;const k=w({},r,{disableTypography:s,inset:l,primary:!!y,secondary:!!g,dense:h}),m=jR(k);return y!=null&&y.type!==Go&&!s&&(y=E.jsx(Go,w({variant:h?"body2":"body1",className:m.primary,component:u!=null&&u.variant?void 0:"span",display:"block"},u,{children:y}))),g!=null&&g.type!==Go&&!s&&(g=E.jsx(Go,w({variant:"body2",className:m.secondary,color:"text.secondary",display:"block"},d,{children:g}))),E.jsxs(HR,w({className:ie(m.root,i),ownerState:k,ref:n},f,{children:[y,g]}))}),WR=UR;function GR(e){return _e("MuiMenuItem",e)}const KR=Re("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Lo=KR,qR=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],QR=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},YR=e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:s}=e,a=Me({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},GR,s);return w({},s,a)},XR=Q(Z0,{shouldForwardProp:e=>Sn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:QR})(({theme:e,ownerState:t})=>w({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Lo.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:_n(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Lo.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:_n(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Lo.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:_n(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:_n(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Lo.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Lo.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${gh.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${gh.inset}`]:{marginLeft:52},[`& .${ul.root}`]:{marginTop:0,marginBottom:0},[`& .${ul.inset}`]:{paddingLeft:36},[`& .${mh.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&w({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${mh.root} svg`]:{fontSize:"1.25rem"}}))),ZR=x.forwardRef(function(t,n){const r=Le({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:i="li",dense:s=!1,divider:l=!1,disableGutters:a=!1,focusVisibleClassName:u,role:c="menuitem",tabIndex:d,className:f}=r,h=Z(r,qR),y=x.useContext(ll),g=x.useMemo(()=>({dense:s||y.dense||!1,disableGutters:a}),[y.dense,s,a]),k=x.useRef(null);or(()=>{o&&k.current&&k.current.focus()},[o]);const m=w({},r,{dense:g.dense,divider:l,disableGutters:a}),p=YR(r),v=lt(k,n);let S;return r.disabled||(S=d!==void 0?d:-1),E.jsx(ll.Provider,{value:g,children:E.jsx(XR,w({ref:v,role:c,tabIndex:S,component:i,focusVisibleClassName:ie(p.focusVisible,u),className:ie(p.root,f)},h,{ownerState:m,classes:p}))})}),JR=ZR;function eE(e){return _e("MuiFormControl",e)}Re("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const tE=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],nE=e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root",n!=="none"&&`margin${ge(n)}`,r&&"fullWidth"]};return Me(o,eE,t)},rE=Q("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>w({},t.root,t[`margin${ge(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>w({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},e.margin==="normal"&&{marginTop:16,marginBottom:8},e.margin==="dense"&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),oE=x.forwardRef(function(t,n){const r=Le({props:t,name:"MuiFormControl"}),{children:o,className:i,color:s="primary",component:l="div",disabled:a=!1,error:u=!1,focused:c,fullWidth:d=!1,hiddenLabel:f=!1,margin:h="none",required:y=!1,size:g="medium",variant:k="outlined"}=r,m=Z(r,tE),p=w({},r,{color:s,component:l,disabled:a,error:u,fullWidth:d,hiddenLabel:f,margin:h,required:y,size:g,variant:k}),v=nE(p),[S,C]=x.useState(()=>{let B=!1;return o&&x.Children.forEach(o,T=>{if(!ou(T,["Input","Select"]))return;const O=ou(T,["Select"])?T.props.input:T;O&&Lk(O.props)&&(B=!0)}),B}),[R,b]=x.useState(()=>{let B=!1;return o&&x.Children.forEach(o,T=>{ou(T,["Input","Select"])&&(sl(T.props,!0)||sl(T.props.inputProps,!0))&&(B=!0)}),B}),[$,L]=x.useState(!1);a&&$&&L(!1);const _=c!==void 0&&!a?c:$;let F;const G=x.useMemo(()=>({adornedStart:S,setAdornedStart:C,color:s,disabled:a,error:u,filled:R,focused:_,fullWidth:d,hiddenLabel:f,size:g,onBlur:()=>{L(!1)},onEmpty:()=>{b(!1)},onFilled:()=>{b(!0)},onFocus:()=>{L(!0)},registerEffect:F,required:y,variant:k}),[S,s,a,u,R,_,d,f,F,y,g,k]);return E.jsx(qd.Provider,{value:G,children:E.jsx(rE,w({as:l,ownerState:p,className:ie(v.root,i),ref:n},m,{children:o}))})}),iE=oE;var be={};/**
|
|
128
|
+
* @license React
|
|
129
|
+
* react-is.production.min.js
|
|
130
|
+
*
|
|
131
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
132
|
+
*
|
|
133
|
+
* This source code is licensed under the MIT license found in the
|
|
134
|
+
* LICENSE file in the root directory of this source tree.
|
|
135
|
+
*/var Zd=Symbol.for("react.element"),Jd=Symbol.for("react.portal"),aa=Symbol.for("react.fragment"),ua=Symbol.for("react.strict_mode"),ca=Symbol.for("react.profiler"),da=Symbol.for("react.provider"),fa=Symbol.for("react.context"),sE=Symbol.for("react.server_context"),pa=Symbol.for("react.forward_ref"),ha=Symbol.for("react.suspense"),ga=Symbol.for("react.suspense_list"),ma=Symbol.for("react.memo"),va=Symbol.for("react.lazy"),lE=Symbol.for("react.offscreen"),J0;J0=Symbol.for("react.module.reference");function Gt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Zd:switch(e=e.type,e){case aa:case ca:case ua:case ha:case ga:return e;default:switch(e=e&&e.$$typeof,e){case sE:case fa:case pa:case va:case ma:case da:return e;default:return t}}case Jd:return t}}}be.ContextConsumer=fa;be.ContextProvider=da;be.Element=Zd;be.ForwardRef=pa;be.Fragment=aa;be.Lazy=va;be.Memo=ma;be.Portal=Jd;be.Profiler=ca;be.StrictMode=ua;be.Suspense=ha;be.SuspenseList=ga;be.isAsyncMode=function(){return!1};be.isConcurrentMode=function(){return!1};be.isContextConsumer=function(e){return Gt(e)===fa};be.isContextProvider=function(e){return Gt(e)===da};be.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Zd};be.isForwardRef=function(e){return Gt(e)===pa};be.isFragment=function(e){return Gt(e)===aa};be.isLazy=function(e){return Gt(e)===va};be.isMemo=function(e){return Gt(e)===ma};be.isPortal=function(e){return Gt(e)===Jd};be.isProfiler=function(e){return Gt(e)===ca};be.isStrictMode=function(e){return Gt(e)===ua};be.isSuspense=function(e){return Gt(e)===ha};be.isSuspenseList=function(e){return Gt(e)===ga};be.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===aa||e===ca||e===ua||e===ha||e===ga||e===lE||typeof e=="object"&&e!==null&&(e.$$typeof===va||e.$$typeof===ma||e.$$typeof===da||e.$$typeof===fa||e.$$typeof===pa||e.$$typeof===J0||e.getModuleId!==void 0)};be.typeOf=Gt;function aE(e){return _e("MuiList",e)}Re("MuiList",["root","padding","dense","subheader"]);const uE=["children","className","component","dense","disablePadding","subheader"],cE=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return Me({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},aE,t)},dE=Q("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})(({ownerState:e})=>w({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),fE=x.forwardRef(function(t,n){const r=Le({props:t,name:"MuiList"}),{children:o,className:i,component:s="ul",dense:l=!1,disablePadding:a=!1,subheader:u}=r,c=Z(r,uE),d=x.useMemo(()=>({dense:l}),[l]),f=w({},r,{component:s,dense:l,disablePadding:a}),h=cE(f);return E.jsx(ll.Provider,{value:d,children:E.jsxs(dE,w({as:s,className:ie(h.root,i),ref:n,ownerState:f},c,{children:[u,o]}))})}),pE=fE,hE=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function du(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function vh(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function ev(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.indexOf(t.keys.join(""))===0}function No(e,t,n,r,o,i){let s=!1,l=o(e,t,t?n:!1);for(;l;){if(l===e.firstChild){if(s)return!1;s=!0}const a=r?!1:l.disabled||l.getAttribute("aria-disabled")==="true";if(!l.hasAttribute("tabindex")||!ev(l,i)||a)l=o(e,l,n);else return l.focus(),!0}return!1}const gE=x.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:s,className:l,disabledItemsFocusable:a=!1,disableListWrap:u=!1,onKeyDown:c,variant:d="selectedMenu"}=t,f=Z(t,hE),h=x.useRef(null),y=x.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});or(()=>{o&&h.current.focus()},[o]),x.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(v,S)=>{const C=!h.current.style.width;if(v.clientHeight<h.current.clientHeight&&C){const R=`${d0(it(v))}px`;h.current.style[S.direction==="rtl"?"paddingLeft":"paddingRight"]=R,h.current.style.width=`calc(100% + ${R})`}return h.current}}),[]);const g=v=>{const S=h.current,C=v.key,R=it(S).activeElement;if(C==="ArrowDown")v.preventDefault(),No(S,R,u,a,du);else if(C==="ArrowUp")v.preventDefault(),No(S,R,u,a,vh);else if(C==="Home")v.preventDefault(),No(S,null,u,a,du);else if(C==="End")v.preventDefault(),No(S,null,u,a,vh);else if(C.length===1){const b=y.current,$=C.toLowerCase(),L=performance.now();b.keys.length>0&&(L-b.lastTime>500?(b.keys=[],b.repeating=!0,b.previousKeyMatched=!0):b.repeating&&$!==b.keys[0]&&(b.repeating=!1)),b.lastTime=L,b.keys.push($);const _=R&&!b.repeating&&ev(R,b);b.previousKeyMatched&&(_||No(S,R,!1,a,du,b))?v.preventDefault():b.previousKeyMatched=!1}c&&c(v)},k=lt(h,n);let m=-1;x.Children.forEach(s,(v,S)=>{x.isValidElement(v)&&(v.props.disabled||(d==="selectedMenu"&&v.props.selected||m===-1)&&(m=S),m===S&&(v.props.disabled||v.props.muiSkipListHighlight||v.type.muiSkipListHighlight)&&(m+=1,m>=s.length&&(m=-1)))});const p=x.Children.map(s,(v,S)=>{if(S===m){const C={};return i&&(C.autoFocus=!0),v.props.tabIndex===void 0&&d==="selectedMenu"&&(C.tabIndex=0),x.cloneElement(v,C)}return v});return E.jsx(pE,w({role:"menu",ref:k,className:l,onKeyDown:g,tabIndex:o?0:-1},f,{children:p}))}),mE=gE;function vE(e){return _e("MuiPaper",e)}Re("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const yE=["className","component","elevation","square","variant"],SE=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Me(i,vE,o)},xE=Q("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return w({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&w({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${_n("#fff",Zp(t.elevation))}, ${_n("#fff",Zp(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),wE=x.forwardRef(function(t,n){const r=Le({props:t,name:"MuiPaper"}),{className:o,component:i="div",elevation:s=1,square:l=!1,variant:a="elevation"}=r,u=Z(r,yE),c=w({},r,{component:i,elevation:s,square:l,variant:a}),d=SE(c);return E.jsx(xE,w({as:i,ownerState:c,className:ie(d.root,o),ref:n},u))}),tv=wE,nv=e=>e.scrollTop;function cl(e,t){var n,r;const{timeout:o,easing:i,style:s={}}=e;return{duration:(n=s.transitionDuration)!=null?n:typeof o=="number"?o:o[t.mode]||0,easing:(r=s.transitionTimingFunction)!=null?r:typeof i=="object"?i[t.mode]:i,delay:s.transitionDelay}}const CE=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Pc(e){return`scale(${e}, ${e**2})`}const bE={entering:{opacity:1,transform:Pc(1)},entered:{opacity:1,transform:"none"}},fu=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),rv=x.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:s,in:l,onEnter:a,onEntered:u,onEntering:c,onExit:d,onExited:f,onExiting:h,style:y,timeout:g="auto",TransitionComponent:k=X0}=t,m=Z(t,CE),p=x.useRef(),v=x.useRef(),S=na(),C=x.useRef(null),R=lt(C,i.ref,n),b=O=>V=>{if(O){const U=C.current;V===void 0?O(U):O(U,V)}},$=b(c),L=b((O,V)=>{nv(O);const{duration:U,delay:P,easing:A}=cl({style:y,timeout:g,easing:s},{mode:"enter"});let M;g==="auto"?(M=S.transitions.getAutoHeightDuration(O.clientHeight),v.current=M):M=U,O.style.transition=[S.transitions.create("opacity",{duration:M,delay:P}),S.transitions.create("transform",{duration:fu?M:M*.666,delay:P,easing:A})].join(","),a&&a(O,V)}),_=b(u),F=b(h),G=b(O=>{const{duration:V,delay:U,easing:P}=cl({style:y,timeout:g,easing:s},{mode:"exit"});let A;g==="auto"?(A=S.transitions.getAutoHeightDuration(O.clientHeight),v.current=A):A=V,O.style.transition=[S.transitions.create("opacity",{duration:A,delay:U}),S.transitions.create("transform",{duration:fu?A:A*.666,delay:fu?U:U||A*.333,easing:P})].join(","),O.style.opacity=0,O.style.transform=Pc(.75),d&&d(O)}),B=b(f),T=O=>{g==="auto"&&(p.current=setTimeout(O,v.current||0)),r&&r(C.current,O)};return x.useEffect(()=>()=>{clearTimeout(p.current)},[]),E.jsx(k,w({appear:o,in:l,nodeRef:C,onEnter:L,onEntered:_,onEntering:$,onExit:G,onExited:B,onExiting:F,addEndListener:T,timeout:g==="auto"?null:g},m,{children:(O,V)=>x.cloneElement(i,w({style:w({opacity:0,transform:Pc(.75),visibility:O==="exited"&&!l?"hidden":void 0},bE[O],y,i.props.style),ref:R},V))}))});rv.muiSupportAuto=!0;const kE=rv,RE=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],EE={entering:{opacity:1},entered:{opacity:1}},$E=x.forwardRef(function(t,n){const r=na(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:l,easing:a,in:u,onEnter:c,onEntered:d,onEntering:f,onExit:h,onExited:y,onExiting:g,style:k,timeout:m=o,TransitionComponent:p=X0}=t,v=Z(t,RE),S=x.useRef(null),C=lt(S,l.ref,n),R=T=>O=>{if(T){const V=S.current;O===void 0?T(V):T(V,O)}},b=R(f),$=R((T,O)=>{nv(T);const V=cl({style:k,timeout:m,easing:a},{mode:"enter"});T.style.webkitTransition=r.transitions.create("opacity",V),T.style.transition=r.transitions.create("opacity",V),c&&c(T,O)}),L=R(d),_=R(g),F=R(T=>{const O=cl({style:k,timeout:m,easing:a},{mode:"exit"});T.style.webkitTransition=r.transitions.create("opacity",O),T.style.transition=r.transitions.create("opacity",O),h&&h(T)}),G=R(y),B=T=>{i&&i(S.current,T)};return E.jsx(p,w({appear:s,in:u,nodeRef:S,onEnter:$,onEntered:L,onEntering:b,onExit:F,onExited:G,onExiting:_,addEndListener:B,timeout:m},v,{children:(T,O)=>x.cloneElement(l,w({style:w({opacity:0,visibility:T==="exited"&&!u?"hidden":void 0},EE[T],k,l.props.style),ref:C},O))}))}),_E=$E;function PE(e){return _e("MuiBackdrop",e)}Re("MuiBackdrop",["root","invisible"]);const TE=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],ME=e=>{const{classes:t,invisible:n}=e;return Me({root:["root",n&&"invisible"]},PE,t)},IE=Q("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>w({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),OE=x.forwardRef(function(t,n){var r,o,i;const s=Le({props:t,name:"MuiBackdrop"}),{children:l,className:a,component:u="div",components:c={},componentsProps:d={},invisible:f=!1,open:h,slotProps:y={},slots:g={},TransitionComponent:k=_E,transitionDuration:m}=s,p=Z(s,TE),v=w({},s,{component:u,invisible:f}),S=ME(v),C=(r=y.root)!=null?r:d.root;return E.jsx(k,w({in:h,timeout:m},p,{children:E.jsx(IE,w({"aria-hidden":!0},C,{as:(o=(i=g.root)!=null?i:c.Root)!=null?o:u,className:ie(S.root,a,C==null?void 0:C.className),ownerState:w({},v,C==null?void 0:C.ownerState),classes:S,ref:n,children:l}))}))}),AE=OE,FE=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","open","slotProps","slots","theme"],LE=Q("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>w({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),NE=Q(AE,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),zE=x.forwardRef(function(t,n){var r,o,i,s,l,a;const u=Le({name:"MuiModal",props:t}),{BackdropComponent:c=NE,BackdropProps:d,classes:f,className:h,closeAfterTransition:y=!1,children:g,container:k,component:m,components:p={},componentsProps:v={},disableAutoFocus:S=!1,disableEnforceFocus:C=!1,disableEscapeKeyDown:R=!1,disablePortal:b=!1,disableRestoreFocus:$=!1,disableScrollLock:L=!1,hideBackdrop:_=!1,keepMounted:F=!1,onBackdropClick:G,onClose:B,open:T,slotProps:O,slots:V,theme:U}=u,P=Z(u,FE),[A,M]=x.useState(!0),K={container:k,closeAfterTransition:y,disableAutoFocus:S,disableEnforceFocus:C,disableEscapeKeyDown:R,disablePortal:b,disableRestoreFocus:$,disableScrollLock:L,hideBackdrop:_,keepMounted:F,onBackdropClick:G,onClose:B,open:T},W=w({},u,K,{exited:A}),re=(r=(o=V==null?void 0:V.root)!=null?o:p.Root)!=null?r:LE,se=(i=(s=V==null?void 0:V.backdrop)!=null?s:p.Backdrop)!=null?i:c,oe=(l=O==null?void 0:O.root)!=null?l:v.root,le=(a=O==null?void 0:O.backdrop)!=null?a:v.backdrop;return E.jsx(Kb,w({slots:{root:re,backdrop:se},slotProps:{root:()=>w({},Rc(oe,W),!er(re)&&{as:m,theme:U},{className:ie(h,oe==null?void 0:oe.className,f==null?void 0:f.root,!W.open&&W.exited&&(f==null?void 0:f.hidden))}),backdrop:()=>w({},d,Rc(le,W),{className:ie(le==null?void 0:le.className,f==null?void 0:f.backdrop)})},onTransitionEnter:()=>M(!1),onTransitionExited:()=>M(!0),ref:n},P,K,{children:g}))}),DE=zE;function BE(e){return _e("MuiPopover",e)}Re("MuiPopover",["root","paper"]);const VE=["onEntering"],jE=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function yh(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function Sh(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function xh(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function pu(e){return typeof e=="function"?e():e}const HE=e=>{const{classes:t}=e;return Me({root:["root"],paper:["paper"]},BE,t)},UE=Q(DE,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),WE=Q(tv,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),GE=x.forwardRef(function(t,n){const r=Le({props:t,name:"MuiPopover"}),{action:o,anchorEl:i,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:a="anchorEl",children:u,className:c,container:d,elevation:f=8,marginThreshold:h=16,open:y,PaperProps:g={},transformOrigin:k={vertical:"top",horizontal:"left"},TransitionComponent:m=kE,transitionDuration:p="auto",TransitionProps:{onEntering:v}={}}=r,S=Z(r.TransitionProps,VE),C=Z(r,jE),R=x.useRef(),b=lt(R,g.ref),$=w({},r,{anchorOrigin:s,anchorReference:a,elevation:f,marginThreshold:h,PaperProps:g,transformOrigin:k,TransitionComponent:m,transitionDuration:p,TransitionProps:S}),L=HE($),_=x.useCallback(()=>{if(a==="anchorPosition")return l;const M=pu(i),W=(M&&M.nodeType===1?M:it(R.current).body).getBoundingClientRect();return{top:W.top+yh(W,s.vertical),left:W.left+Sh(W,s.horizontal)}},[i,s.horizontal,s.vertical,l,a]),F=x.useCallback(M=>({vertical:yh(M,k.vertical),horizontal:Sh(M,k.horizontal)}),[k.horizontal,k.vertical]),G=x.useCallback(M=>{const K={width:M.offsetWidth,height:M.offsetHeight},W=F(K);if(a==="none")return{top:null,left:null,transformOrigin:xh(W)};const re=_();let se=re.top-W.vertical,oe=re.left-W.horizontal;const le=se+K.height,je=oe+K.width,et=Er(pu(i)),we=et.innerHeight-h,Ne=et.innerWidth-h;if(se<h){const X=se-h;se-=X,W.vertical+=X}else if(le>we){const X=le-we;se-=X,W.vertical+=X}if(oe<h){const X=oe-h;oe-=X,W.horizontal+=X}else if(je>Ne){const X=je-Ne;oe-=X,W.horizontal+=X}return{top:`${Math.round(se)}px`,left:`${Math.round(oe)}px`,transformOrigin:xh(W)}},[i,a,_,F,h]),[B,T]=x.useState(y),O=x.useCallback(()=>{const M=R.current;if(!M)return;const K=G(M);K.top!==null&&(M.style.top=K.top),K.left!==null&&(M.style.left=K.left),M.style.transformOrigin=K.transformOrigin,T(!0)},[G]),V=(M,K)=>{v&&v(M,K),O()},U=()=>{T(!1)};x.useEffect(()=>{y&&O()}),x.useImperativeHandle(o,()=>y?{updatePosition:()=>{O()}}:null,[y,O]),x.useEffect(()=>{if(!y)return;const M=u0(()=>{O()}),K=Er(i);return K.addEventListener("resize",M),()=>{M.clear(),K.removeEventListener("resize",M)}},[i,y,O]);let P=p;p==="auto"&&!m.muiSupportAuto&&(P=void 0);const A=d||(i?it(pu(i)).body:void 0);return E.jsx(UE,w({BackdropProps:{invisible:!0},className:ie(L.root,c),container:A,open:y,ref:n,ownerState:$},C,{children:E.jsx(m,w({appear:!0,in:y,onEntering:V,onExited:U,timeout:P},S,{children:E.jsx(WE,w({elevation:f},g,{ref:b,className:ie(L.paper,g.className)},B?void 0:{style:w({},g.style,{opacity:0})},{ownerState:$,children:u}))}))}))}),KE=GE;function qE(e){return _e("MuiMenu",e)}Re("MuiMenu",["root","paper","list"]);const QE=["onEntering"],YE=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],XE={vertical:"top",horizontal:"right"},ZE={vertical:"top",horizontal:"left"},JE=e=>{const{classes:t}=e;return Me({root:["root"],paper:["paper"],list:["list"]},qE,t)},e$=Q(KE,{shouldForwardProp:e=>Sn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),t$=Q(tv,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),n$=Q(mE,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),r$=x.forwardRef(function(t,n){const r=Le({props:t,name:"MuiMenu"}),{autoFocus:o=!0,children:i,disableAutoFocusItem:s=!1,MenuListProps:l={},onClose:a,open:u,PaperProps:c={},PopoverClasses:d,transitionDuration:f="auto",TransitionProps:{onEntering:h}={},variant:y="selectedMenu"}=r,g=Z(r.TransitionProps,QE),k=Z(r,YE),m=na(),p=m.direction==="rtl",v=w({},r,{autoFocus:o,disableAutoFocusItem:s,MenuListProps:l,onEntering:h,PaperProps:c,transitionDuration:f,TransitionProps:g,variant:y}),S=JE(v),C=o&&!s&&u,R=x.useRef(null),b=(_,F)=>{R.current&&R.current.adjustStyleForScrollbar(_,m),h&&h(_,F)},$=_=>{_.key==="Tab"&&(_.preventDefault(),a&&a(_,"tabKeyDown"))};let L=-1;return x.Children.map(i,(_,F)=>{x.isValidElement(_)&&(_.props.disabled||(y==="selectedMenu"&&_.props.selected||L===-1)&&(L=F))}),E.jsx(e$,w({onClose:a,anchorOrigin:{vertical:"bottom",horizontal:p?"right":"left"},transformOrigin:p?XE:ZE,PaperProps:w({as:t$},c,{classes:w({},c.classes,{root:S.paper})}),className:S.root,open:u,ref:n,transitionDuration:f,TransitionProps:w({onEntering:b},g),ownerState:v},k,{classes:d,children:E.jsx(n$,w({onKeyDown:$,actions:R,autoFocus:o&&(L===-1||s),autoFocusItem:C,variant:y},l,{className:ie(S.list,l.className),children:i}))}))}),o$=r$;function i$(e){return _e("MuiNativeSelect",e)}const s$=Re("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),ef=s$,l$=["className","disabled","error","IconComponent","inputRef","variant"],a$=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:s}=e,l={select:["select",n,r&&"disabled",o&&"multiple",s&&"error"],icon:["icon",`icon${ge(n)}`,i&&"iconOpen",r&&"disabled"]};return Me(l,i$,t)},ov=({ownerState:e,theme:t})=>w({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":w({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:t.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${ef.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},e.variant==="filled"&&{"&&&":{paddingRight:32}},e.variant==="outlined"&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),u$=Q("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Sn,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${ef.multiple}`]:t.multiple}]}})(ov),iv=({ownerState:e,theme:t})=>w({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${ef.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),c$=Q("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ge(n.variant)}`],n.open&&t.iconOpen]}})(iv),d$=x.forwardRef(function(t,n){const{className:r,disabled:o,error:i,IconComponent:s,inputRef:l,variant:a="standard"}=t,u=Z(t,l$),c=w({},t,{disabled:o,variant:a,error:i}),d=a$(c);return E.jsxs(x.Fragment,{children:[E.jsx(u$,w({ownerState:c,className:ie(d.select,r),disabled:o,ref:l||n},u)),t.multiple?null:E.jsx(c$,{as:s,ownerState:c,className:d.icon})]})}),f$=d$;function p$(e){return _e("MuiSelect",e)}const h$=Re("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),zo=h$;var wh;const g$=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],m$=Q("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${zo.select}`]:t.select},{[`&.${zo.select}`]:t[n.variant]},{[`&.${zo.error}`]:t.error},{[`&.${zo.multiple}`]:t.multiple}]}})(ov,{[`&.${zo.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),v$=Q("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ge(n.variant)}`],n.open&&t.iconOpen]}})(iv),y$=Q("input",{shouldForwardProp:e=>Kd(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Ch(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function S$(e){return e==null||typeof e=="string"&&!e.trim()}const x$=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:s}=e,l={select:["select",n,r&&"disabled",o&&"multiple",s&&"error"],icon:["icon",`icon${ge(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Me(l,p$,t)},w$=x.forwardRef(function(t,n){const{"aria-describedby":r,"aria-label":o,autoFocus:i,autoWidth:s,children:l,className:a,defaultOpen:u,defaultValue:c,disabled:d,displayEmpty:f,error:h=!1,IconComponent:y,inputRef:g,labelId:k,MenuProps:m={},multiple:p,name:v,onBlur:S,onChange:C,onClose:R,onFocus:b,onOpen:$,open:L,readOnly:_,renderValue:F,SelectDisplayProps:G={},tabIndex:B,value:T,variant:O="standard"}=t,V=Z(t,g$),[U,P]=nl({controlled:T,default:c,name:"Select"}),[A,M]=nl({controlled:L,default:u,name:"Select"}),K=x.useRef(null),W=x.useRef(null),[re,se]=x.useState(null),{current:oe}=x.useRef(L!=null),[le,je]=x.useState(),et=lt(n,g),we=x.useCallback(z=>{W.current=z,z&&se(z)},[]),Ne=re==null?void 0:re.parentNode;x.useImperativeHandle(et,()=>({focus:()=>{W.current.focus()},node:K.current,value:U}),[U]),x.useEffect(()=>{u&&A&&re&&!oe&&(je(s?null:Ne.clientWidth),W.current.focus())},[re,s]),x.useEffect(()=>{i&&W.current.focus()},[i]),x.useEffect(()=>{if(!k)return;const z=it(W.current).getElementById(k);if(z){const te=()=>{getSelection().isCollapsed&&W.current.focus()};return z.addEventListener("click",te),()=>{z.removeEventListener("click",te)}}},[k]);const X=(z,te)=>{z?$&&$(te):R&&R(te),oe||(je(s?null:Ne.clientWidth),M(z))},me=z=>{z.button===0&&(z.preventDefault(),W.current.focus(),X(!0,z))},ze=z=>{X(!1,z)},fe=x.Children.toArray(l),ae=z=>{const te=fe.find(q=>q.props.value===z.target.value);te!==void 0&&(P(te.props.value),C&&C(z,te))},yt=z=>te=>{let q;if(te.currentTarget.hasAttribute("tabindex")){if(p){q=Array.isArray(U)?U.slice():[];const Ye=U.indexOf(z.props.value);Ye===-1?q.push(z.props.value):q.splice(Ye,1)}else q=z.props.value;if(z.props.onClick&&z.props.onClick(te),U!==q&&(P(q),C)){const Ye=te.nativeEvent||te,Ln=new Ye.constructor(Ye.type,Ye);Object.defineProperty(Ln,"target",{writable:!0,value:{value:q,name:v}}),C(Ln,z)}p||X(!1,te)}},Ce=z=>{_||[" ","ArrowUp","ArrowDown","Enter"].indexOf(z.key)!==-1&&(z.preventDefault(),X(!0,z))},at=re!==null&&A,xn=z=>{!at&&S&&(Object.defineProperty(z,"target",{writable:!0,value:{value:U,name:v}}),S(z))};delete V["aria-invalid"];let ve,Ie;const Kt=[];let St=!1;(sl({value:U})||f)&&(F?ve=F(U):St=!0);const N=fe.map(z=>{if(!x.isValidElement(z))return null;let te;if(p){if(!Array.isArray(U))throw new Error(rr(2));te=U.some(q=>Ch(q,z.props.value)),te&&St&&Kt.push(z.props.children)}else te=Ch(U,z.props.value),te&&St&&(Ie=z.props.children);return x.cloneElement(z,{"aria-selected":te?"true":"false",onClick:yt(z),onKeyUp:q=>{q.key===" "&&q.preventDefault(),z.props.onKeyUp&&z.props.onKeyUp(q)},role:"option",selected:te,value:void 0,"data-value":z.props.value})});St&&(p?Kt.length===0?ve=null:ve=Kt.reduce((z,te,q)=>(z.push(te),q<Kt.length-1&&z.push(", "),z),[]):ve=Ie);let j=le;!s&&oe&&re&&(j=Ne.clientWidth);let Y;typeof B<"u"?Y=B:Y=d?null:0;const ee=G.id||(v?`mui-component-select-${v}`:void 0),J=w({},t,{variant:O,value:U,open:at,error:h}),H=x$(J);return E.jsxs(x.Fragment,{children:[E.jsx(m$,w({ref:we,tabIndex:Y,role:"button","aria-disabled":d?"true":void 0,"aria-expanded":at?"true":"false","aria-haspopup":"listbox","aria-label":o,"aria-labelledby":[k,ee].filter(Boolean).join(" ")||void 0,"aria-describedby":r,onKeyDown:Ce,onMouseDown:d||_?null:me,onBlur:xn,onFocus:b},G,{ownerState:J,className:ie(G.className,H.select,a),id:ee,children:S$(ve)?wh||(wh=E.jsx("span",{className:"notranslate",children:""})):ve})),E.jsx(y$,w({"aria-invalid":h,value:Array.isArray(U)?U.join(","):U,name:v,ref:K,"aria-hidden":!0,onChange:ae,tabIndex:-1,disabled:d,className:H.nativeInput,autoFocus:i,ownerState:J},V)),E.jsx(v$,{as:y,className:H.icon,ownerState:J}),E.jsx(o$,w({id:`menu-${v||""}`,anchorEl:Ne,open:at,onClose:ze,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},m,{MenuListProps:w({"aria-labelledby":k,role:"listbox",disableListWrap:!0},m.MenuListProps),PaperProps:w({},m.PaperProps,{style:w({minWidth:j},m.PaperProps!=null?m.PaperProps.style:null)}),children:N}))]})}),C$=w$;function b$(e){return _e("MuiSvgIcon",e)}Re("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const k$=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],R$=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${ge(t)}`,`fontSize${ge(n)}`]};return Me(o,b$,r)},E$=Q("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${ge(n.color)}`],t[`fontSize${ge(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,i,s,l,a,u,c,d,f,h,y,g,k,m,p;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(o=e.transitions)==null||(i=o.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((s=e.typography)==null||(l=s.pxToRem)==null?void 0:l.call(s,20))||"1.25rem",medium:((a=e.typography)==null||(u=a.pxToRem)==null?void 0:u.call(a,24))||"1.5rem",large:((c=e.typography)==null||(d=c.pxToRem)==null?void 0:d.call(c,35))||"2.1875rem"}[t.fontSize],color:(f=(h=(e.vars||e).palette)==null||(y=h[t.color])==null?void 0:y.main)!=null?f:{action:(g=(e.vars||e).palette)==null||(k=g.action)==null?void 0:k.active,disabled:(m=(e.vars||e).palette)==null||(p=m.action)==null?void 0:p.disabled,inherit:void 0}[t.color]}}),sv=x.forwardRef(function(t,n){const r=Le({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:s="inherit",component:l="svg",fontSize:a="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:d,viewBox:f="0 0 24 24"}=r,h=Z(r,k$),y=w({},r,{color:s,component:l,fontSize:a,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:f}),g={};c||(g.viewBox=f);const k=R$(y);return E.jsxs(E$,w({as:l,className:ie(k.root,i),focusable:"false",color:u,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n},g,h,{ownerState:y,children:[o,d?E.jsx("title",{children:d}):null]}))});sv.muiName="SvgIcon";const bh=sv;function ya(e,t){function n(r,o){return E.jsx(bh,w({"data-testid":`${t}Icon`,ref:o},r,{children:e}))}return n.muiName=bh.muiName,x.memo(x.forwardRef(n))}const $$=ya(E.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function _$(e){return _e("MuiInput",e)}const P$=w({},go,Re("MuiInput",["root","underline","input"])),Do=P$,T$=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],M$=e=>{const{classes:t,disableUnderline:n}=e,o=Me({root:["root",!n&&"underline"],input:["input"]},_$,t);return w({},t,o)},I$=Q(ia,{shouldForwardProp:e=>Sn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...ra(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let r=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(r=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),w({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Do.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Do.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&:before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Do.disabled}, .${Do.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${Do.disabled}:before`]:{borderBottomStyle:"dotted"}})}),O$=Q(sa,{name:"MuiInput",slot:"Input",overridesResolver:oa})({}),lv=x.forwardRef(function(t,n){var r,o,i,s;const l=Le({props:t,name:"MuiInput"}),{disableUnderline:a,components:u={},componentsProps:c,fullWidth:d=!1,inputComponent:f="input",multiline:h=!1,slotProps:y,slots:g={},type:k="text"}=l,m=Z(l,T$),p=M$(l),S={root:{ownerState:{disableUnderline:a}}},C=y??c?Rt(y??c,S):S,R=(r=(o=g.root)!=null?o:u.Root)!=null?r:I$,b=(i=(s=g.input)!=null?s:u.Input)!=null?i:O$;return E.jsx(Qd,w({slots:{root:R,input:b},slotProps:C,fullWidth:d,inputComponent:f,multiline:h,ref:n,type:k},m,{classes:p}))});lv.muiName="Input";const A$=lv;function F$(e){return _e("MuiFilledInput",e)}const L$=w({},go,Re("MuiFilledInput",["root","underline","input"])),ur=L$,N$=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],z$=e=>{const{classes:t,disableUnderline:n}=e,o=Me({root:["root",!n&&"underline"],input:["input"]},F$,t);return w({},t,o)},D$=Q(ia,{shouldForwardProp:e=>Sn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...ra(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var n;const r=e.palette.mode==="light",o=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",i=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",l=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return w({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i}},[`&.${ur.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i},[`&.${ur.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:l}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(n=(e.vars||e).palette[t.color||"primary"])==null?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${ur.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${ur.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&:before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${ur.disabled}, .${ur.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${ur.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&w({padding:"25px 12px 8px"},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17}))}),B$=Q(sa,{name:"MuiFilledInput",slot:"Input",overridesResolver:oa})(({theme:e,ownerState:t})=>w({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9})),av=x.forwardRef(function(t,n){var r,o,i,s;const l=Le({props:t,name:"MuiFilledInput"}),{components:a={},componentsProps:u,fullWidth:c=!1,inputComponent:d="input",multiline:f=!1,slotProps:h,slots:y={},type:g="text"}=l,k=Z(l,N$),m=w({},l,{fullWidth:c,inputComponent:d,multiline:f,type:g}),p=z$(l),v={root:{ownerState:m},input:{ownerState:m}},S=h??u?Rt(h??u,v):v,C=(r=(o=y.root)!=null?o:a.Root)!=null?r:D$,R=(i=(s=y.input)!=null?s:a.Input)!=null?i:B$;return E.jsx(Qd,w({slots:{root:C,input:R},componentsProps:S,fullWidth:c,inputComponent:d,multiline:f,ref:n,type:g},k,{classes:p}))});av.muiName="Input";const V$=av,j$=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],H$=e=>{const{classes:t}=e;return t},tf={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Sn(e)&&e!=="variant",slot:"Root"},U$=Q(A$,tf)(""),W$=Q(Q0,tf)(""),G$=Q(V$,tf)(""),uv=x.forwardRef(function(t,n){const r=Le({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:i,classes:s={},className:l,defaultOpen:a=!1,displayEmpty:u=!1,IconComponent:c=$$,id:d,input:f,inputProps:h,label:y,labelId:g,MenuProps:k,multiple:m=!1,native:p=!1,onClose:v,onOpen:S,open:C,renderValue:R,SelectDisplayProps:b,variant:$="outlined"}=r,L=Z(r,j$),_=p?f$:C$,F=Co(),G=Li({props:r,muiFormControl:F,states:["variant","error"]}),B=G.variant||$,T=w({},r,{variant:B,classes:s}),O=H$(T),V=f||{standard:E.jsx(U$,{ownerState:T}),outlined:E.jsx(W$,{label:y,ownerState:T}),filled:E.jsx(G$,{ownerState:T})}[B],U=lt(n,V.ref);return E.jsx(x.Fragment,{children:x.cloneElement(V,w({inputComponent:_,inputProps:w({children:i,error:G.error,IconComponent:c,variant:B,type:void 0,multiple:m},p?{id:d}:{autoWidth:o,defaultOpen:a,displayEmpty:u,labelId:g,MenuProps:k,onClose:v,onOpen:S,open:C,renderValue:R,SelectDisplayProps:w({id:d},b)},h,{classes:h?Rt(O,h.classes):O},f?f.props.inputProps:{})},m&&p&&B==="outlined"?{notched:!0}:{},{ref:U,className:ie(V.props.className,l)},!f&&{variant:B},L))})});uv.muiName="Select";const K$=uv;function q$(e){return _e("PrivateSwitchBase",e)}Re("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const Q$=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],Y$=e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,i={root:["root",n&&"checked",r&&"disabled",o&&`edge${ge(o)}`],input:["input"]};return Me(i,q$,t)},X$=Q(Z0)(({ownerState:e})=>w({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),Z$=Q("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),J$=x.forwardRef(function(t,n){const{autoFocus:r,checked:o,checkedIcon:i,className:s,defaultChecked:l,disabled:a,disableFocusRipple:u=!1,edge:c=!1,icon:d,id:f,inputProps:h,inputRef:y,name:g,onBlur:k,onChange:m,onFocus:p,readOnly:v,required:S=!1,tabIndex:C,type:R,value:b}=t,$=Z(t,Q$),[L,_]=nl({controlled:o,default:!!l,name:"SwitchBase",state:"checked"}),F=Co(),G=A=>{p&&p(A),F&&F.onFocus&&F.onFocus(A)},B=A=>{k&&k(A),F&&F.onBlur&&F.onBlur(A)},T=A=>{if(A.nativeEvent.defaultPrevented)return;const M=A.target.checked;_(M),m&&m(A,M)};let O=a;F&&typeof O>"u"&&(O=F.disabled);const V=R==="checkbox"||R==="radio",U=w({},t,{checked:L,disabled:O,disableFocusRipple:u,edge:c}),P=Y$(U);return E.jsxs(X$,w({component:"span",className:ie(P.root,s),centerRipple:!0,focusRipple:!u,disabled:O,tabIndex:null,role:void 0,onFocus:G,onBlur:B,ownerState:U,ref:n},$,{children:[E.jsx(Z$,w({autoFocus:r,checked:o,defaultChecked:l,className:P.input,disabled:O,id:V?f:void 0,name:g,onChange:T,readOnly:v,ref:y,required:S,ownerState:U,tabIndex:C,type:R},R==="checkbox"&&b===void 0?{}:{value:b},h)),L?i:d]}))}),e_=J$,t_=ya(E.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),n_=ya(E.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),r_=ya(E.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function o_(e){return _e("MuiCheckbox",e)}const i_=Re("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]),hu=i_,s_=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],l_=e=>{const{classes:t,indeterminate:n,color:r}=e,o={root:["root",n&&"indeterminate",`color${ge(r)}`]},i=Me(o,o_,t);return w({},t,i)},a_=Q(e_,{shouldForwardProp:e=>Sn(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,n.color!=="default"&&t[`color${ge(n.color)}`]]}})(({theme:e,ownerState:t})=>w({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${t.color==="default"?e.vars.palette.action.activeChannel:e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:_n(t.color==="default"?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${hu.checked}, &.${hu.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${hu.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),u_=E.jsx(n_,{}),c_=E.jsx(t_,{}),d_=E.jsx(r_,{}),f_=x.forwardRef(function(t,n){var r,o;const i=Le({props:t,name:"MuiCheckbox"}),{checkedIcon:s=u_,color:l="primary",icon:a=c_,indeterminate:u=!1,indeterminateIcon:c=d_,inputProps:d,size:f="medium",className:h}=i,y=Z(i,s_),g=u?c:a,k=u?c:s,m=w({},i,{color:l,indeterminate:u,size:f}),p=l_(m);return E.jsx(a_,w({type:"checkbox",inputProps:w({"data-indeterminate":u},d),icon:x.cloneElement(g,{fontSize:(r=g.props.fontSize)!=null?r:f}),checkedIcon:x.cloneElement(k,{fontSize:(o=k.props.fontSize)!=null?o:f}),ownerState:m,ref:n,className:ie(p.root,h)},y,{classes:p}))}),p_=f_;/**
|
|
136
|
+
* table-core
|
|
137
|
+
*
|
|
138
|
+
* Copyright (c) TanStack
|
|
139
|
+
*
|
|
140
|
+
* This source code is licensed under the MIT license found in the
|
|
141
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
142
|
+
*
|
|
143
|
+
* @license MIT
|
|
144
|
+
*/function Wn(e,t){return typeof e=="function"?e(t):e}function Wt(e,t){return n=>{t.setState(r=>({...r,[e]:Wn(n,r[e])}))}}function dl(e){return e instanceof Function}function h_(e){return Array.isArray(e)&&e.every(t=>typeof t=="number")}function g_(e,t){const n=[],r=o=>{o.forEach(i=>{n.push(i);const s=t(i);s!=null&&s.length&&r(s)})};return r(e),n}function ne(e,t,n){let r=[],o;return()=>{let i;n.key&&n.debug&&(i=Date.now());const s=e();if(!(s.length!==r.length||s.some((u,c)=>r[c]!==u)))return o;r=s;let a;if(n.key&&n.debug&&(a=Date.now()),o=t(...s),n==null||n.onChange==null||n.onChange(o),n.key&&n.debug&&n!=null&&n.debug()){const u=Math.round((Date.now()-i)*100)/100,c=Math.round((Date.now()-a)*100)/100,d=c/16,f=(h,y)=>{for(h=String(h);h.length<y;)h=" "+h;return h};console.info(`%c⏱ ${f(c,5)} /${f(u,5)} ms`,`
|
|
145
|
+
font-size: .6rem;
|
|
146
|
+
font-weight: bold;
|
|
147
|
+
color: hsl(${Math.max(0,Math.min(120-120*d,120))}deg 100% 31%);`,n==null?void 0:n.key)}return o}}function m_(e,t,n,r){var o,i;const l={...e._getDefaultColumnDef(),...t},a=l.accessorKey;let u=(o=(i=l.id)!=null?i:a?a.replace(".","_"):void 0)!=null?o:typeof l.header=="string"?l.header:void 0,c;if(l.accessorFn?c=l.accessorFn:a&&(a.includes(".")?c=f=>{let h=f;for(const g of a.split(".")){var y;h=(y=h)==null?void 0:y[g]}return h}:c=f=>f[l.accessorKey]),!u)throw new Error;let d={id:`${String(u)}`,accessorFn:c,parent:r,depth:n,columnDef:l,columns:[],getFlatColumns:ne(()=>[!0],()=>{var f;return[d,...(f=d.columns)==null?void 0:f.flatMap(h=>h.getFlatColumns())]},{key:"column.getFlatColumns",debug:()=>{var f;return(f=e.options.debugAll)!=null?f:e.options.debugColumns}}),getLeafColumns:ne(()=>[e._getOrderColumnsFn()],f=>{var h;if((h=d.columns)!=null&&h.length){let y=d.columns.flatMap(g=>g.getLeafColumns());return f(y)}return[d]},{key:"column.getLeafColumns",debug:()=>{var f;return(f=e.options.debugAll)!=null?f:e.options.debugColumns}})};return d=e._features.reduce((f,h)=>Object.assign(f,h.createColumn==null?void 0:h.createColumn(d,e)),d),d}function kh(e,t,n){var r;let i={id:(r=n.id)!=null?r:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const s=[],l=a=>{a.subHeaders&&a.subHeaders.length&&a.subHeaders.map(l),s.push(a)};return l(i),s},getContext:()=>({table:e,header:i,column:t})};return e._features.forEach(s=>{Object.assign(i,s.createHeader==null?void 0:s.createHeader(i,e))}),i}const v_={createTable:e=>({getHeaderGroups:ne(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,o)=>{var i,s;const l=(i=r==null?void 0:r.map(d=>n.find(f=>f.id===d)).filter(Boolean))!=null?i:[],a=(s=o==null?void 0:o.map(d=>n.find(f=>f.id===d)).filter(Boolean))!=null?s:[],u=n.filter(d=>!(r!=null&&r.includes(d.id))&&!(o!=null&&o.includes(d.id)));return cs(t,[...l,...u,...a],e)},{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),getCenterHeaderGroups:ne(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r,o)=>(n=n.filter(i=>!(r!=null&&r.includes(i.id))&&!(o!=null&&o.includes(i.id))),cs(t,n,e,"center")),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),getLeftHeaderGroups:ne(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left],(t,n,r)=>{var o;const i=(o=r==null?void 0:r.map(s=>n.find(l=>l.id===s)).filter(Boolean))!=null?o:[];return cs(t,i,e,"left")},{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),getRightHeaderGroups:ne(()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right],(t,n,r)=>{var o;const i=(o=r==null?void 0:r.map(s=>n.find(l=>l.id===s)).filter(Boolean))!=null?o:[];return cs(t,i,e,"right")},{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),getFooterGroups:ne(()=>[e.getHeaderGroups()],t=>[...t].reverse(),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),getLeftFooterGroups:ne(()=>[e.getLeftHeaderGroups()],t=>[...t].reverse(),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),getCenterFooterGroups:ne(()=>[e.getCenterHeaderGroups()],t=>[...t].reverse(),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),getRightFooterGroups:ne(()=>[e.getRightHeaderGroups()],t=>[...t].reverse(),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),getFlatHeaders:ne(()=>[e.getHeaderGroups()],t=>t.map(n=>n.headers).flat(),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),getLeftFlatHeaders:ne(()=>[e.getLeftHeaderGroups()],t=>t.map(n=>n.headers).flat(),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),getCenterFlatHeaders:ne(()=>[e.getCenterHeaderGroups()],t=>t.map(n=>n.headers).flat(),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),getRightFlatHeaders:ne(()=>[e.getRightHeaderGroups()],t=>t.map(n=>n.headers).flat(),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),getCenterLeafHeaders:ne(()=>[e.getCenterFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),getLeftLeafHeaders:ne(()=>[e.getLeftFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),getRightLeafHeaders:ne(()=>[e.getRightFlatHeaders()],t=>t.filter(n=>{var r;return!((r=n.subHeaders)!=null&&r.length)}),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}}),getLeafHeaders:ne(()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()],(t,n,r)=>{var o,i,s,l,a,u;return[...(o=(i=t[0])==null?void 0:i.headers)!=null?o:[],...(s=(l=n[0])==null?void 0:l.headers)!=null?s:[],...(a=(u=r[0])==null?void 0:u.headers)!=null?a:[]].map(c=>c.getLeafHeaders()).flat()},{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugHeaders}})})};function cs(e,t,n,r){var o,i;let s=0;const l=function(f,h){h===void 0&&(h=1),s=Math.max(s,h),f.filter(y=>y.getIsVisible()).forEach(y=>{var g;(g=y.columns)!=null&&g.length&&l(y.columns,h+1)},0)};l(e);let a=[];const u=(f,h)=>{const y={depth:h,id:[r,`${h}`].filter(Boolean).join("_"),headers:[]},g=[];f.forEach(k=>{const m=[...g].reverse()[0],p=k.column.depth===y.depth;let v,S=!1;if(p&&k.column.parent?v=k.column.parent:(v=k.column,S=!0),m&&(m==null?void 0:m.column)===v)m.subHeaders.push(k);else{const C=kh(n,v,{id:[r,h,v.id,k==null?void 0:k.id].filter(Boolean).join("_"),isPlaceholder:S,placeholderId:S?`${g.filter(R=>R.column===v).length}`:void 0,depth:h,index:g.length});C.subHeaders.push(k),g.push(C)}y.headers.push(k),k.headerGroup=y}),a.push(y),h>0&&u(g,h-1)},c=t.map((f,h)=>kh(n,f,{depth:s,index:h}));u(c,s-1),a.reverse();const d=f=>f.filter(y=>y.column.getIsVisible()).map(y=>{let g=0,k=0,m=[0];y.subHeaders&&y.subHeaders.length?(m=[],d(y.subHeaders).forEach(v=>{let{colSpan:S,rowSpan:C}=v;g+=S,m.push(C)})):g=1;const p=Math.min(...m);return k=k+p,y.colSpan=g,y.rowSpan=k,{colSpan:g,rowSpan:k}});return d((o=(i=a[0])==null?void 0:i.headers)!=null?o:[]),a}const ds={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},gu=()=>({startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}),y_={getDefaultColumnDef:()=>ds,getInitialState:e=>({columnSizing:{},columnSizingInfo:gu(),...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",onColumnSizingChange:Wt("columnSizing",e),onColumnSizingInfoChange:Wt("columnSizingInfo",e)}),createColumn:(e,t)=>({getSize:()=>{var n,r,o;const i=t.getState().columnSizing[e.id];return Math.min(Math.max((n=e.columnDef.minSize)!=null?n:ds.minSize,(r=i??e.columnDef.size)!=null?r:ds.size),(o=e.columnDef.maxSize)!=null?o:ds.maxSize)},getStart:n=>{const r=n?n==="left"?t.getLeftVisibleLeafColumns():t.getRightVisibleLeafColumns():t.getVisibleLeafColumns(),o=r.findIndex(i=>i.id===e.id);if(o>0){const i=r[o-1];return i.getStart(n)+i.getSize()}return 0},resetSize:()=>{t.setColumnSizing(n=>{let{[e.id]:r,...o}=n;return o})},getCanResize:()=>{var n,r;return((n=e.columnDef.enableResizing)!=null?n:!0)&&((r=t.options.enableColumnResizing)!=null?r:!0)},getIsResizing:()=>t.getState().columnSizingInfo.isResizingColumn===e.id}),createHeader:(e,t)=>({getSize:()=>{let n=0;const r=o=>{if(o.subHeaders.length)o.subHeaders.forEach(r);else{var i;n+=(i=o.column.getSize())!=null?i:0}};return r(e),n},getStart:()=>{if(e.index>0){const n=e.headerGroup.headers[e.index-1];return n.getStart()+n.getSize()}return 0},getResizeHandler:()=>{const n=t.getColumn(e.column.id),r=n==null?void 0:n.getCanResize();return o=>{if(!n||!r||(o.persist==null||o.persist(),mu(o)&&o.touches&&o.touches.length>1))return;const i=e.getSize(),s=e?e.getLeafHeaders().map(g=>[g.column.id,g.column.getSize()]):[[n.id,n.getSize()]],l=mu(o)?Math.round(o.touches[0].clientX):o.clientX,a={},u=(g,k)=>{typeof k=="number"&&(t.setColumnSizingInfo(m=>{var p,v;const S=k-((p=m==null?void 0:m.startOffset)!=null?p:0),C=Math.max(S/((v=m==null?void 0:m.startSize)!=null?v:0),-.999999);return m.columnSizingStart.forEach(R=>{let[b,$]=R;a[b]=Math.round(Math.max($+$*C,0)*100)/100}),{...m,deltaOffset:S,deltaPercentage:C}}),(t.options.columnResizeMode==="onChange"||g==="end")&&t.setColumnSizing(m=>({...m,...a})))},c=g=>u("move",g),d=g=>{u("end",g),t.setColumnSizingInfo(k=>({...k,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]}))},f={moveHandler:g=>c(g.clientX),upHandler:g=>{document.removeEventListener("mousemove",f.moveHandler),document.removeEventListener("mouseup",f.upHandler),d(g.clientX)}},h={moveHandler:g=>(g.cancelable&&(g.preventDefault(),g.stopPropagation()),c(g.touches[0].clientX),!1),upHandler:g=>{var k;document.removeEventListener("touchmove",h.moveHandler),document.removeEventListener("touchend",h.upHandler),g.cancelable&&(g.preventDefault(),g.stopPropagation()),d((k=g.touches[0])==null?void 0:k.clientX)}},y=S_()?{passive:!1}:!1;mu(o)?(document.addEventListener("touchmove",h.moveHandler,y),document.addEventListener("touchend",h.upHandler,y)):(document.addEventListener("mousemove",f.moveHandler,y),document.addEventListener("mouseup",f.upHandler,y)),t.setColumnSizingInfo(g=>({...g,startOffset:l,startSize:i,deltaOffset:0,deltaPercentage:0,columnSizingStart:s,isResizingColumn:n.id}))}}}),createTable:e=>({setColumnSizing:t=>e.options.onColumnSizingChange==null?void 0:e.options.onColumnSizingChange(t),setColumnSizingInfo:t=>e.options.onColumnSizingInfoChange==null?void 0:e.options.onColumnSizingInfoChange(t),resetColumnSizing:t=>{var n;e.setColumnSizing(t?{}:(n=e.initialState.columnSizing)!=null?n:{})},resetHeaderSizeInfo:t=>{var n;e.setColumnSizingInfo(t?gu():(n=e.initialState.columnSizingInfo)!=null?n:gu())},getTotalSize:()=>{var t,n;return(t=(n=e.getHeaderGroups()[0])==null?void 0:n.headers.reduce((r,o)=>r+o.getSize(),0))!=null?t:0},getLeftTotalSize:()=>{var t,n;return(t=(n=e.getLeftHeaderGroups()[0])==null?void 0:n.headers.reduce((r,o)=>r+o.getSize(),0))!=null?t:0},getCenterTotalSize:()=>{var t,n;return(t=(n=e.getCenterHeaderGroups()[0])==null?void 0:n.headers.reduce((r,o)=>r+o.getSize(),0))!=null?t:0},getRightTotalSize:()=>{var t,n;return(t=(n=e.getRightHeaderGroups()[0])==null?void 0:n.headers.reduce((r,o)=>r+o.getSize(),0))!=null?t:0}})};let fs=null;function S_(){if(typeof fs=="boolean")return fs;let e=!1;try{const t={get passive(){return e=!0,!1}},n=()=>{};window.addEventListener("test",n,t),window.removeEventListener("test",n)}catch{e=!1}return fs=e,fs}function mu(e){return e.type==="touchstart"}const x_={getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:Wt("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;return{_autoResetExpanded:()=>{var r,o;if(!t){e._queue(()=>{t=!0});return}if((r=(o=e.options.autoResetAll)!=null?o:e.options.autoResetExpanded)!=null?r:!e.options.manualExpanding){if(n)return;n=!0,e._queue(()=>{e.resetExpanded(),n=!1})}},setExpanded:r=>e.options.onExpandedChange==null?void 0:e.options.onExpandedChange(r),toggleAllRowsExpanded:r=>{r??!e.getIsAllRowsExpanded()?e.setExpanded(!0):e.setExpanded({})},resetExpanded:r=>{var o,i;e.setExpanded(r?{}:(o=(i=e.initialState)==null?void 0:i.expanded)!=null?o:{})},getCanSomeRowsExpand:()=>e.getPrePaginationRowModel().flatRows.some(r=>r.getCanExpand()),getToggleAllRowsExpandedHandler:()=>r=>{r.persist==null||r.persist(),e.toggleAllRowsExpanded()},getIsSomeRowsExpanded:()=>{const r=e.getState().expanded;return r===!0||Object.values(r).some(Boolean)},getIsAllRowsExpanded:()=>{const r=e.getState().expanded;return typeof r=="boolean"?r===!0:!(!Object.keys(r).length||e.getRowModel().flatRows.some(o=>!o.getIsExpanded()))},getExpandedDepth:()=>{let r=0;return(e.getState().expanded===!0?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach(i=>{const s=i.split(".");r=Math.max(r,s.length)}),r},getPreExpandedRowModel:()=>e.getSortedRowModel(),getExpandedRowModel:()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())}},createRow:(e,t)=>({toggleExpanded:n=>{t.setExpanded(r=>{var o;const i=r===!0?!0:!!(r!=null&&r[e.id]);let s={};if(r===!0?Object.keys(t.getRowModel().rowsById).forEach(l=>{s[l]=!0}):s=r,n=(o=n)!=null?o:!i,!i&&n)return{...s,[e.id]:!0};if(i&&!n){const{[e.id]:l,...a}=s;return a}return r})},getIsExpanded:()=>{var n;const r=t.getState().expanded;return!!((n=t.options.getIsRowExpanded==null?void 0:t.options.getIsRowExpanded(e))!=null?n:r===!0||r!=null&&r[e.id])},getCanExpand:()=>{var n,r,o;return(n=t.options.getRowCanExpand==null?void 0:t.options.getRowCanExpand(e))!=null?n:((r=t.options.enableExpanding)!=null?r:!0)&&!!((o=e.subRows)!=null&&o.length)},getToggleExpandedHandler:()=>{const n=e.getCanExpand();return()=>{n&&e.toggleExpanded()}}})},cv=(e,t,n)=>{var r,o,i;const s=n.toLowerCase();return!!(!((r=e.getValue(t))==null||(o=r.toString())==null||(i=o.toLowerCase())==null)&&i.includes(s))};cv.autoRemove=e=>rn(e);const dv=(e,t,n)=>{var r,o;return!!(!((r=e.getValue(t))==null||(o=r.toString())==null)&&o.includes(n))};dv.autoRemove=e=>rn(e);const fv=(e,t,n)=>{var r,o;return((r=e.getValue(t))==null||(o=r.toString())==null?void 0:o.toLowerCase())===(n==null?void 0:n.toLowerCase())};fv.autoRemove=e=>rn(e);const pv=(e,t,n)=>{var r;return(r=e.getValue(t))==null?void 0:r.includes(n)};pv.autoRemove=e=>rn(e)||!(e!=null&&e.length);const hv=(e,t,n)=>!n.some(r=>{var o;return!((o=e.getValue(t))!=null&&o.includes(r))});hv.autoRemove=e=>rn(e)||!(e!=null&&e.length);const gv=(e,t,n)=>n.some(r=>{var o;return(o=e.getValue(t))==null?void 0:o.includes(r)});gv.autoRemove=e=>rn(e)||!(e!=null&&e.length);const mv=(e,t,n)=>e.getValue(t)===n;mv.autoRemove=e=>rn(e);const vv=(e,t,n)=>e.getValue(t)==n;vv.autoRemove=e=>rn(e);const nf=(e,t,n)=>{let[r,o]=n;const i=e.getValue(t);return i>=r&&i<=o};nf.resolveFilterValue=e=>{let[t,n]=e,r=typeof t!="number"?parseFloat(t):t,o=typeof n!="number"?parseFloat(n):n,i=t===null||Number.isNaN(r)?-1/0:r,s=n===null||Number.isNaN(o)?1/0:o;if(i>s){const l=i;i=s,s=l}return[i,s]};nf.autoRemove=e=>rn(e)||rn(e[0])&&rn(e[1]);const Cn={includesString:cv,includesStringSensitive:dv,equalsString:fv,arrIncludes:pv,arrIncludesAll:hv,arrIncludesSome:gv,equals:mv,weakEquals:vv,inNumberRange:nf};function rn(e){return e==null||e===""}const w_={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],globalFilter:void 0,...e}),getDefaultOptions:e=>({onColumnFiltersChange:Wt("columnFilters",e),onGlobalFilterChange:Wt("globalFilter",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100,globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n,r;const o=(n=e.getCoreRowModel().flatRows[0])==null||(r=n._getAllCellsByColumnId()[t.id])==null?void 0:r.getValue();return typeof o=="string"||typeof o=="number"}}),createColumn:(e,t)=>({getAutoFilterFn:()=>{const n=t.getCoreRowModel().flatRows[0],r=n==null?void 0:n.getValue(e.id);return typeof r=="string"?Cn.includesString:typeof r=="number"?Cn.inNumberRange:typeof r=="boolean"||r!==null&&typeof r=="object"?Cn.equals:Array.isArray(r)?Cn.arrIncludes:Cn.weakEquals},getFilterFn:()=>{var n,r;return dl(e.columnDef.filterFn)?e.columnDef.filterFn:e.columnDef.filterFn==="auto"?e.getAutoFilterFn():(n=(r=t.options.filterFns)==null?void 0:r[e.columnDef.filterFn])!=null?n:Cn[e.columnDef.filterFn]},getCanFilter:()=>{var n,r,o;return((n=e.columnDef.enableColumnFilter)!=null?n:!0)&&((r=t.options.enableColumnFilters)!=null?r:!0)&&((o=t.options.enableFilters)!=null?o:!0)&&!!e.accessorFn},getCanGlobalFilter:()=>{var n,r,o,i;return((n=e.columnDef.enableGlobalFilter)!=null?n:!0)&&((r=t.options.enableGlobalFilter)!=null?r:!0)&&((o=t.options.enableFilters)!=null?o:!0)&&((i=t.options.getColumnCanGlobalFilter==null?void 0:t.options.getColumnCanGlobalFilter(e))!=null?i:!0)&&!!e.accessorFn},getIsFiltered:()=>e.getFilterIndex()>-1,getFilterValue:()=>{var n,r;return(n=t.getState().columnFilters)==null||(r=n.find(o=>o.id===e.id))==null?void 0:r.value},getFilterIndex:()=>{var n,r;return(n=(r=t.getState().columnFilters)==null?void 0:r.findIndex(o=>o.id===e.id))!=null?n:-1},setFilterValue:n=>{t.setColumnFilters(r=>{const o=e.getFilterFn(),i=r==null?void 0:r.find(c=>c.id===e.id),s=Wn(n,i?i.value:void 0);if(Rh(o,s,e)){var l;return(l=r==null?void 0:r.filter(c=>c.id!==e.id))!=null?l:[]}const a={id:e.id,value:s};if(i){var u;return(u=r==null?void 0:r.map(c=>c.id===e.id?a:c))!=null?u:[]}return r!=null&&r.length?[...r,a]:[a]})},_getFacetedRowModel:t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),getFacetedRowModel:()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),_getFacetedUniqueValues:t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),getFacetedUniqueValues:()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,_getFacetedMinMaxValues:t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),getFacetedMinMaxValues:()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}),createRow:(e,t)=>({columnFilters:{},columnFiltersMeta:{}}),createTable:e=>({getGlobalAutoFilterFn:()=>Cn.includesString,getGlobalFilterFn:()=>{var t,n;const{globalFilterFn:r}=e.options;return dl(r)?r:r==="auto"?e.getGlobalAutoFilterFn():(t=(n=e.options.filterFns)==null?void 0:n[r])!=null?t:Cn[r]},setColumnFilters:t=>{const n=e.getAllLeafColumns(),r=o=>{var i;return(i=Wn(t,o))==null?void 0:i.filter(s=>{const l=n.find(a=>a.id===s.id);if(l){const a=l.getFilterFn();if(Rh(a,s.value,l))return!1}return!0})};e.options.onColumnFiltersChange==null||e.options.onColumnFiltersChange(r)},setGlobalFilter:t=>{e.options.onGlobalFilterChange==null||e.options.onGlobalFilterChange(t)},resetGlobalFilter:t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)},resetColumnFilters:t=>{var n,r;e.setColumnFilters(t?[]:(n=(r=e.initialState)==null?void 0:r.columnFilters)!=null?n:[])},getPreFilteredRowModel:()=>e.getCoreRowModel(),getFilteredRowModel:()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel()),_getGlobalFacetedRowModel:e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),getGlobalFacetedRowModel:()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),_getGlobalFacetedUniqueValues:e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),getGlobalFacetedUniqueValues:()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,_getGlobalFacetedMinMaxValues:e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),getGlobalFacetedMinMaxValues:()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}})};function Rh(e,t,n){return(e&&e.autoRemove?e.autoRemove(t,n):!1)||typeof t>"u"||typeof t=="string"&&!t}const C_=(e,t,n)=>n.reduce((r,o)=>{const i=o.getValue(e);return r+(typeof i=="number"?i:0)},0),b_=(e,t,n)=>{let r;return n.forEach(o=>{const i=o.getValue(e);i!=null&&(r>i||r===void 0&&i>=i)&&(r=i)}),r},k_=(e,t,n)=>{let r;return n.forEach(o=>{const i=o.getValue(e);i!=null&&(r<i||r===void 0&&i>=i)&&(r=i)}),r},R_=(e,t,n)=>{let r,o;return n.forEach(i=>{const s=i.getValue(e);s!=null&&(r===void 0?s>=s&&(r=o=s):(r>s&&(r=s),o<s&&(o=s)))}),[r,o]},E_=(e,t)=>{let n=0,r=0;if(t.forEach(o=>{let i=o.getValue(e);i!=null&&(i=+i)>=i&&(++n,r+=i)}),n)return r/n},$_=(e,t)=>{if(!t.length)return;const n=t.map(i=>i.getValue(e));if(!h_(n))return;if(n.length===1)return n[0];const r=Math.floor(n.length/2),o=n.sort((i,s)=>i-s);return n.length%2!==0?o[r]:(o[r-1]+o[r])/2},__=(e,t)=>Array.from(new Set(t.map(n=>n.getValue(e))).values()),P_=(e,t)=>new Set(t.map(n=>n.getValue(e))).size,T_=(e,t)=>t.length,vu={sum:C_,min:b_,max:k_,extent:R_,mean:E_,median:$_,unique:__,uniqueCount:P_,count:T_},M_={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n;return(t=(n=e.getValue())==null||n.toString==null?void 0:n.toString())!=null?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:Wt("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>({toggleGrouping:()=>{t.setGrouping(n=>n!=null&&n.includes(e.id)?n.filter(r=>r!==e.id):[...n??[],e.id])},getCanGroup:()=>{var n,r,o,i;return(n=(r=(o=(i=e.columnDef.enableGrouping)!=null?i:!0)!=null?o:t.options.enableGrouping)!=null?r:!0)!=null?n:!!e.accessorFn},getIsGrouped:()=>{var n;return(n=t.getState().grouping)==null?void 0:n.includes(e.id)},getGroupedIndex:()=>{var n;return(n=t.getState().grouping)==null?void 0:n.indexOf(e.id)},getToggleGroupingHandler:()=>{const n=e.getCanGroup();return()=>{n&&e.toggleGrouping()}},getAutoAggregationFn:()=>{const n=t.getCoreRowModel().flatRows[0],r=n==null?void 0:n.getValue(e.id);if(typeof r=="number")return vu.sum;if(Object.prototype.toString.call(r)==="[object Date]")return vu.extent},getAggregationFn:()=>{var n,r;if(!e)throw new Error;return dl(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:e.columnDef.aggregationFn==="auto"?e.getAutoAggregationFn():(n=(r=t.options.aggregationFns)==null?void 0:r[e.columnDef.aggregationFn])!=null?n:vu[e.columnDef.aggregationFn]}}),createTable:e=>({setGrouping:t=>e.options.onGroupingChange==null?void 0:e.options.onGroupingChange(t),resetGrouping:t=>{var n,r;e.setGrouping(t?[]:(n=(r=e.initialState)==null?void 0:r.grouping)!=null?n:[])},getPreGroupedRowModel:()=>e.getFilteredRowModel(),getGroupedRowModel:()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())}),createRow:(e,t)=>({getIsGrouped:()=>!!e.groupingColumnId,getGroupingValue:n=>{if(e._groupingValuesCache.hasOwnProperty(n))return e._groupingValuesCache[n];const r=t.getColumn(n);return r!=null&&r.columnDef.getGroupingValue?(e._groupingValuesCache[n]=r.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},_groupingValuesCache:{}}),createCell:(e,t,n,r)=>({getIsGrouped:()=>t.getIsGrouped()&&t.id===n.groupingColumnId,getIsPlaceholder:()=>!e.getIsGrouped()&&t.getIsGrouped(),getIsAggregated:()=>{var o;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!!((o=n.subRows)!=null&&o.length)}})};function I_(e,t,n){if(!(t!=null&&t.length)||!n)return e;const r=e.filter(i=>!t.includes(i.id));return n==="remove"?r:[...t.map(i=>e.find(s=>s.id===i)).filter(Boolean),...r]}const O_={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:Wt("columnOrder",e)}),createTable:e=>({setColumnOrder:t=>e.options.onColumnOrderChange==null?void 0:e.options.onColumnOrderChange(t),resetColumnOrder:t=>{var n;e.setColumnOrder(t?[]:(n=e.initialState.columnOrder)!=null?n:[])},_getOrderColumnsFn:ne(()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode],(t,n,r)=>o=>{let i=[];if(!(t!=null&&t.length))i=o;else{const s=[...t],l=[...o];for(;l.length&&s.length;){const a=s.shift(),u=l.findIndex(c=>c.id===a);u>-1&&i.push(l.splice(u,1)[0])}i=[...i,...l]}return I_(i,n,r)},{key:!1})})},Tc=0,Mc=10,yu=()=>({pageIndex:Tc,pageSize:Mc}),A_={getInitialState:e=>({...e,pagination:{...yu(),...e==null?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:Wt("pagination",e)}),createTable:e=>{let t=!1,n=!1;return{_autoResetPageIndex:()=>{var r,o;if(!t){e._queue(()=>{t=!0});return}if((r=(o=e.options.autoResetAll)!=null?o:e.options.autoResetPageIndex)!=null?r:!e.options.manualPagination){if(n)return;n=!0,e._queue(()=>{e.resetPageIndex(),n=!1})}},setPagination:r=>{const o=i=>Wn(r,i);return e.options.onPaginationChange==null?void 0:e.options.onPaginationChange(o)},resetPagination:r=>{var o;e.setPagination(r?yu():(o=e.initialState.pagination)!=null?o:yu())},setPageIndex:r=>{e.setPagination(o=>{let i=Wn(r,o.pageIndex);const s=typeof e.options.pageCount>"u"||e.options.pageCount===-1?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return i=Math.max(0,Math.min(i,s)),{...o,pageIndex:i}})},resetPageIndex:r=>{var o,i,s;e.setPageIndex(r?Tc:(o=(i=e.initialState)==null||(s=i.pagination)==null?void 0:s.pageIndex)!=null?o:Tc)},resetPageSize:r=>{var o,i,s;e.setPageSize(r?Mc:(o=(i=e.initialState)==null||(s=i.pagination)==null?void 0:s.pageSize)!=null?o:Mc)},setPageSize:r=>{e.setPagination(o=>{const i=Math.max(1,Wn(r,o.pageSize)),s=o.pageSize*o.pageIndex,l=Math.floor(s/i);return{...o,pageIndex:l,pageSize:i}})},setPageCount:r=>e.setPagination(o=>{var i;let s=Wn(r,(i=e.options.pageCount)!=null?i:-1);return typeof s=="number"&&(s=Math.max(-1,s)),{...o,pageCount:s}}),getPageOptions:ne(()=>[e.getPageCount()],r=>{let o=[];return r&&r>0&&(o=[...new Array(r)].fill(null).map((i,s)=>s)),o},{key:!1,debug:()=>{var r;return(r=e.options.debugAll)!=null?r:e.options.debugTable}}),getCanPreviousPage:()=>e.getState().pagination.pageIndex>0,getCanNextPage:()=>{const{pageIndex:r}=e.getState().pagination,o=e.getPageCount();return o===-1?!0:o===0?!1:r<o-1},previousPage:()=>e.setPageIndex(r=>r-1),nextPage:()=>e.setPageIndex(r=>r+1),getPrePaginationRowModel:()=>e.getExpandedRowModel(),getPaginationRowModel:()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),getPageCount:()=>{var r;return(r=e.options.pageCount)!=null?r:Math.ceil(e.getPrePaginationRowModel().rows.length/e.getState().pagination.pageSize)}}}},Su=()=>({left:[],right:[]}),F_={getInitialState:e=>({columnPinning:Su(),...e}),getDefaultOptions:e=>({onColumnPinningChange:Wt("columnPinning",e)}),createColumn:(e,t)=>({pin:n=>{const r=e.getLeafColumns().map(o=>o.id).filter(Boolean);t.setColumnPinning(o=>{var i,s;if(n==="right"){var l,a;return{left:((l=o==null?void 0:o.left)!=null?l:[]).filter(d=>!(r!=null&&r.includes(d))),right:[...((a=o==null?void 0:o.right)!=null?a:[]).filter(d=>!(r!=null&&r.includes(d))),...r]}}if(n==="left"){var u,c;return{left:[...((u=o==null?void 0:o.left)!=null?u:[]).filter(d=>!(r!=null&&r.includes(d))),...r],right:((c=o==null?void 0:o.right)!=null?c:[]).filter(d=>!(r!=null&&r.includes(d)))}}return{left:((i=o==null?void 0:o.left)!=null?i:[]).filter(d=>!(r!=null&&r.includes(d))),right:((s=o==null?void 0:o.right)!=null?s:[]).filter(d=>!(r!=null&&r.includes(d)))}})},getCanPin:()=>e.getLeafColumns().some(r=>{var o,i;return((o=r.columnDef.enablePinning)!=null?o:!0)&&((i=t.options.enablePinning)!=null?i:!0)}),getIsPinned:()=>{const n=e.getLeafColumns().map(l=>l.id),{left:r,right:o}=t.getState().columnPinning,i=n.some(l=>r==null?void 0:r.includes(l)),s=n.some(l=>o==null?void 0:o.includes(l));return i?"left":s?"right":!1},getPinnedIndex:()=>{var n,r,o;const i=e.getIsPinned();return i?(n=(r=t.getState().columnPinning)==null||(o=r[i])==null?void 0:o.indexOf(e.id))!=null?n:-1:0}}),createRow:(e,t)=>({getCenterVisibleCells:ne(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right],(n,r,o)=>{const i=[...r??[],...o??[]];return n.filter(s=>!i.includes(s.column.id))},{key:"row.getCenterVisibleCells",debug:()=>{var n;return(n=t.options.debugAll)!=null?n:t.options.debugRows}}),getLeftVisibleCells:ne(()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,,],(n,r)=>(r??[]).map(i=>n.find(s=>s.column.id===i)).filter(Boolean).map(i=>({...i,position:"left"})),{key:"row.getLeftVisibleCells",debug:()=>{var n;return(n=t.options.debugAll)!=null?n:t.options.debugRows}}),getRightVisibleCells:ne(()=>[e._getAllVisibleCells(),t.getState().columnPinning.right],(n,r)=>(r??[]).map(i=>n.find(s=>s.column.id===i)).filter(Boolean).map(i=>({...i,position:"right"})),{key:"row.getRightVisibleCells",debug:()=>{var n;return(n=t.options.debugAll)!=null?n:t.options.debugRows}})}),createTable:e=>({setColumnPinning:t=>e.options.onColumnPinningChange==null?void 0:e.options.onColumnPinningChange(t),resetColumnPinning:t=>{var n,r;return e.setColumnPinning(t?Su():(n=(r=e.initialState)==null?void 0:r.columnPinning)!=null?n:Su())},getIsSomeColumnsPinned:t=>{var n;const r=e.getState().columnPinning;if(!t){var o,i;return!!((o=r.left)!=null&&o.length||(i=r.right)!=null&&i.length)}return!!((n=r[t])!=null&&n.length)},getLeftLeafColumns:ne(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left],(t,n)=>(n??[]).map(r=>t.find(o=>o.id===r)).filter(Boolean),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugColumns}}),getRightLeafColumns:ne(()=>[e.getAllLeafColumns(),e.getState().columnPinning.right],(t,n)=>(n??[]).map(r=>t.find(o=>o.id===r)).filter(Boolean),{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugColumns}}),getCenterLeafColumns:ne(()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right],(t,n,r)=>{const o=[...n??[],...r??[]];return t.filter(i=>!o.includes(i.id))},{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugColumns}})})},L_={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:Wt("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>({setRowSelection:t=>e.options.onRowSelectionChange==null?void 0:e.options.onRowSelectionChange(t),resetRowSelection:t=>{var n;return e.setRowSelection(t?{}:(n=e.initialState.rowSelection)!=null?n:{})},toggleAllRowsSelected:t=>{e.setRowSelection(n=>{t=typeof t<"u"?t:!e.getIsAllRowsSelected();const r={...n},o=e.getPreGroupedRowModel().flatRows;return t?o.forEach(i=>{i.getCanSelect()&&(r[i.id]=!0)}):o.forEach(i=>{delete r[i.id]}),r})},toggleAllPageRowsSelected:t=>e.setRowSelection(n=>{const r=typeof t<"u"?t:!e.getIsAllPageRowsSelected(),o={...n};return e.getRowModel().rows.forEach(i=>{Ic(o,i.id,r,e)}),o}),getPreSelectedRowModel:()=>e.getCoreRowModel(),getSelectedRowModel:ne(()=>[e.getState().rowSelection,e.getCoreRowModel()],(t,n)=>Object.keys(t).length?xu(e,n):{rows:[],flatRows:[],rowsById:{}},{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugTable}}),getFilteredSelectedRowModel:ne(()=>[e.getState().rowSelection,e.getFilteredRowModel()],(t,n)=>Object.keys(t).length?xu(e,n):{rows:[],flatRows:[],rowsById:{}},{key:"getFilteredSelectedRowModel",debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugTable}}),getGroupedSelectedRowModel:ne(()=>[e.getState().rowSelection,e.getSortedRowModel()],(t,n)=>Object.keys(t).length?xu(e,n):{rows:[],flatRows:[],rowsById:{}},{key:"getGroupedSelectedRowModel",debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugTable}}),getIsAllRowsSelected:()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState();let r=!!(t.length&&Object.keys(n).length);return r&&t.some(o=>o.getCanSelect()&&!n[o.id])&&(r=!1),r},getIsAllPageRowsSelected:()=>{const t=e.getPaginationRowModel().flatRows.filter(o=>o.getCanSelect()),{rowSelection:n}=e.getState();let r=!!t.length;return r&&t.some(o=>!n[o.id])&&(r=!1),r},getIsSomeRowsSelected:()=>{var t;const n=Object.keys((t=e.getState().rowSelection)!=null?t:{}).length;return n>0&&n<e.getFilteredRowModel().flatRows.length},getIsSomePageRowsSelected:()=>{const t=e.getPaginationRowModel().flatRows;return e.getIsAllPageRowsSelected()?!1:t.filter(n=>n.getCanSelect()).some(n=>n.getIsSelected()||n.getIsSomeSelected())},getToggleAllRowsSelectedHandler:()=>t=>{e.toggleAllRowsSelected(t.target.checked)},getToggleAllPageRowsSelectedHandler:()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}}),createRow:(e,t)=>({toggleSelected:n=>{const r=e.getIsSelected();t.setRowSelection(o=>{if(n=typeof n<"u"?n:!r,r===n)return o;const i={...o};return Ic(i,e.id,n,t),i})},getIsSelected:()=>{const{rowSelection:n}=t.getState();return rf(e,n)},getIsSomeSelected:()=>{const{rowSelection:n}=t.getState();return Eh(e,n)==="some"},getIsAllSubRowsSelected:()=>{const{rowSelection:n}=t.getState();return Eh(e,n)==="all"},getCanSelect:()=>{var n;return typeof t.options.enableRowSelection=="function"?t.options.enableRowSelection(e):(n=t.options.enableRowSelection)!=null?n:!0},getCanSelectSubRows:()=>{var n;return typeof t.options.enableSubRowSelection=="function"?t.options.enableSubRowSelection(e):(n=t.options.enableSubRowSelection)!=null?n:!0},getCanMultiSelect:()=>{var n;return typeof t.options.enableMultiRowSelection=="function"?t.options.enableMultiRowSelection(e):(n=t.options.enableMultiRowSelection)!=null?n:!0},getToggleSelectedHandler:()=>{const n=e.getCanSelect();return r=>{var o;n&&e.toggleSelected((o=r.target)==null?void 0:o.checked)}}})},Ic=(e,t,n,r)=>{var o;const i=r.getRow(t);n?(i.getCanMultiSelect()||Object.keys(e).forEach(s=>delete e[s]),i.getCanSelect()&&(e[t]=!0)):delete e[t],(o=i.subRows)!=null&&o.length&&i.getCanSelectSubRows()&&i.subRows.forEach(s=>Ic(e,s.id,n,r))};function xu(e,t){const n=e.getState().rowSelection,r=[],o={},i=function(s,l){return s.map(a=>{var u;const c=rf(a,n);if(c&&(r.push(a),o[a.id]=a),(u=a.subRows)!=null&&u.length&&(a={...a,subRows:i(a.subRows)}),c)return a}).filter(Boolean)};return{rows:i(t.rows),flatRows:r,rowsById:o}}function rf(e,t){var n;return(n=t[e.id])!=null?n:!1}function Eh(e,t,n){if(e.subRows&&e.subRows.length){let r=!0,o=!1;return e.subRows.forEach(i=>{o&&!r||(rf(i,t)?o=!0:r=!1)}),r?"all":o?"some":!1}return!1}const Oc=/([0-9]+)/gm,N_=(e,t,n)=>yv(ir(e.getValue(n)).toLowerCase(),ir(t.getValue(n)).toLowerCase()),z_=(e,t,n)=>yv(ir(e.getValue(n)),ir(t.getValue(n))),D_=(e,t,n)=>of(ir(e.getValue(n)).toLowerCase(),ir(t.getValue(n)).toLowerCase()),B_=(e,t,n)=>of(ir(e.getValue(n)),ir(t.getValue(n))),V_=(e,t,n)=>{const r=e.getValue(n),o=t.getValue(n);return r>o?1:r<o?-1:0},j_=(e,t,n)=>of(e.getValue(n),t.getValue(n));function of(e,t){return e===t?0:e>t?1:-1}function ir(e){return typeof e=="number"?isNaN(e)||e===1/0||e===-1/0?"":String(e):typeof e=="string"?e:""}function yv(e,t){const n=e.split(Oc).filter(Boolean),r=t.split(Oc).filter(Boolean);for(;n.length&&r.length;){const o=n.shift(),i=r.shift(),s=parseInt(o,10),l=parseInt(i,10),a=[s,l].sort();if(isNaN(a[0])){if(o>i)return 1;if(i>o)return-1;continue}if(isNaN(a[1]))return isNaN(s)?-1:1;if(s>l)return 1;if(l>s)return-1}return n.length-r.length}const Bo={alphanumeric:N_,alphanumericCaseSensitive:z_,text:D_,textCaseSensitive:B_,datetime:V_,basic:j_},H_={getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto"}),getDefaultOptions:e=>({onSortingChange:Wt("sorting",e),isMultiSortEvent:t=>t.shiftKey}),createColumn:(e,t)=>({getAutoSortingFn:()=>{const n=t.getFilteredRowModel().flatRows.slice(10);let r=!1;for(const o of n){const i=o==null?void 0:o.getValue(e.id);if(Object.prototype.toString.call(i)==="[object Date]")return Bo.datetime;if(typeof i=="string"&&(r=!0,i.split(Oc).length>1))return Bo.alphanumeric}return r?Bo.text:Bo.basic},getAutoSortDir:()=>{const n=t.getFilteredRowModel().flatRows[0];return typeof(n==null?void 0:n.getValue(e.id))=="string"?"asc":"desc"},getSortingFn:()=>{var n,r;if(!e)throw new Error;return dl(e.columnDef.sortingFn)?e.columnDef.sortingFn:e.columnDef.sortingFn==="auto"?e.getAutoSortingFn():(n=(r=t.options.sortingFns)==null?void 0:r[e.columnDef.sortingFn])!=null?n:Bo[e.columnDef.sortingFn]},toggleSorting:(n,r)=>{const o=e.getNextSortingOrder(),i=typeof n<"u"&&n!==null;t.setSorting(s=>{const l=s==null?void 0:s.find(h=>h.id===e.id),a=s==null?void 0:s.findIndex(h=>h.id===e.id);let u=[],c,d=i?n:o==="desc";if(s!=null&&s.length&&e.getCanMultiSort()&&r?l?c="toggle":c="add":s!=null&&s.length&&a!==s.length-1?c="replace":l?c="toggle":c="replace",c==="toggle"&&(i||o||(c="remove")),c==="add"){var f;u=[...s,{id:e.id,desc:d}],u.splice(0,u.length-((f=t.options.maxMultiSortColCount)!=null?f:Number.MAX_SAFE_INTEGER))}else c==="toggle"?u=s.map(h=>h.id===e.id?{...h,desc:d}:h):c==="remove"?u=s.filter(h=>h.id!==e.id):u=[{id:e.id,desc:d}];return u})},getFirstSortDir:()=>{var n,r;return((n=(r=e.columnDef.sortDescFirst)!=null?r:t.options.sortDescFirst)!=null?n:e.getAutoSortDir()==="desc")?"desc":"asc"},getNextSortingOrder:n=>{var r,o;const i=e.getFirstSortDir(),s=e.getIsSorted();return s?s!==i&&((r=t.options.enableSortingRemoval)==null||r)&&(!(n&&(o=t.options.enableMultiRemove)!=null)||o)?!1:s==="desc"?"asc":"desc":i},getCanSort:()=>{var n,r;return((n=e.columnDef.enableSorting)!=null?n:!0)&&((r=t.options.enableSorting)!=null?r:!0)&&!!e.accessorFn},getCanMultiSort:()=>{var n,r;return(n=(r=e.columnDef.enableMultiSort)!=null?r:t.options.enableMultiSort)!=null?n:!!e.accessorFn},getIsSorted:()=>{var n;const r=(n=t.getState().sorting)==null?void 0:n.find(o=>o.id===e.id);return r?r.desc?"desc":"asc":!1},getSortIndex:()=>{var n,r;return(n=(r=t.getState().sorting)==null?void 0:r.findIndex(o=>o.id===e.id))!=null?n:-1},clearSorting:()=>{t.setSorting(n=>n!=null&&n.length?n.filter(r=>r.id!==e.id):[])},getToggleSortingHandler:()=>{const n=e.getCanSort();return r=>{n&&(r.persist==null||r.persist(),e.toggleSorting==null||e.toggleSorting(void 0,e.getCanMultiSort()?t.options.isMultiSortEvent==null?void 0:t.options.isMultiSortEvent(r):!1))}}}),createTable:e=>({setSorting:t=>e.options.onSortingChange==null?void 0:e.options.onSortingChange(t),resetSorting:t=>{var n,r;e.setSorting(t?[]:(n=(r=e.initialState)==null?void 0:r.sorting)!=null?n:[])},getPreSortedRowModel:()=>e.getGroupedRowModel(),getSortedRowModel:()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())})},U_={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:Wt("columnVisibility",e)}),createColumn:(e,t)=>({toggleVisibility:n=>{e.getCanHide()&&t.setColumnVisibility(r=>({...r,[e.id]:n??!e.getIsVisible()}))},getIsVisible:()=>{var n,r;return(n=(r=t.getState().columnVisibility)==null?void 0:r[e.id])!=null?n:!0},getCanHide:()=>{var n,r;return((n=e.columnDef.enableHiding)!=null?n:!0)&&((r=t.options.enableHiding)!=null?r:!0)},getToggleVisibilityHandler:()=>n=>{e.toggleVisibility==null||e.toggleVisibility(n.target.checked)}}),createRow:(e,t)=>({_getAllVisibleCells:ne(()=>[e.getAllCells(),t.getState().columnVisibility],n=>n.filter(r=>r.column.getIsVisible()),{key:"row._getAllVisibleCells",debug:()=>{var n;return(n=t.options.debugAll)!=null?n:t.options.debugRows}}),getVisibleCells:ne(()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()],(n,r,o)=>[...n,...r,...o],{key:!1,debug:()=>{var n;return(n=t.options.debugAll)!=null?n:t.options.debugRows}})}),createTable:e=>{const t=(n,r)=>ne(()=>[r(),r().filter(o=>o.getIsVisible()).map(o=>o.id).join("_")],o=>o.filter(i=>i.getIsVisible==null?void 0:i.getIsVisible()),{key:n,debug:()=>{var o;return(o=e.options.debugAll)!=null?o:e.options.debugColumns}});return{getVisibleFlatColumns:t("getVisibleFlatColumns",()=>e.getAllFlatColumns()),getVisibleLeafColumns:t("getVisibleLeafColumns",()=>e.getAllLeafColumns()),getLeftVisibleLeafColumns:t("getLeftVisibleLeafColumns",()=>e.getLeftLeafColumns()),getRightVisibleLeafColumns:t("getRightVisibleLeafColumns",()=>e.getRightLeafColumns()),getCenterVisibleLeafColumns:t("getCenterVisibleLeafColumns",()=>e.getCenterLeafColumns()),setColumnVisibility:n=>e.options.onColumnVisibilityChange==null?void 0:e.options.onColumnVisibilityChange(n),resetColumnVisibility:n=>{var r;e.setColumnVisibility(n?{}:(r=e.initialState.columnVisibility)!=null?r:{})},toggleAllColumnsVisible:n=>{var r;n=(r=n)!=null?r:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce((o,i)=>({...o,[i.id]:n||!(i.getCanHide!=null&&i.getCanHide())}),{}))},getIsAllColumnsVisible:()=>!e.getAllLeafColumns().some(n=>!(n.getIsVisible!=null&&n.getIsVisible())),getIsSomeColumnsVisible:()=>e.getAllLeafColumns().some(n=>n.getIsVisible==null?void 0:n.getIsVisible()),getToggleAllColumnsVisibilityHandler:()=>n=>{var r;e.toggleAllColumnsVisible((r=n.target)==null?void 0:r.checked)}}}},$h=[v_,U_,O_,F_,w_,H_,M_,x_,A_,L_,y_];function W_(e){var t;(e.debugAll||e.debugTable)&&console.info("Creating Table Instance...");let n={_features:$h};const r=n._features.reduce((c,d)=>Object.assign(c,d.getDefaultOptions==null?void 0:d.getDefaultOptions(n)),{}),o=c=>n.options.mergeOptions?n.options.mergeOptions(r,c):{...r,...c};let s={...{},...(t=e.initialState)!=null?t:{}};n._features.forEach(c=>{var d;s=(d=c.getInitialState==null?void 0:c.getInitialState(s))!=null?d:s});const l=[];let a=!1;const u={_features:$h,options:{...r,...e},initialState:s,_queue:c=>{l.push(c),a||(a=!0,Promise.resolve().then(()=>{for(;l.length;)l.shift()();a=!1}).catch(d=>setTimeout(()=>{throw d})))},reset:()=>{n.setState(n.initialState)},setOptions:c=>{const d=Wn(c,n.options);n.options=o(d)},getState:()=>n.options.state,setState:c=>{n.options.onStateChange==null||n.options.onStateChange(c)},_getRowId:(c,d,f)=>{var h;return(h=n.options.getRowId==null?void 0:n.options.getRowId(c,d,f))!=null?h:`${f?[f.id,d].join("."):d}`},getCoreRowModel:()=>(n._getCoreRowModel||(n._getCoreRowModel=n.options.getCoreRowModel(n)),n._getCoreRowModel()),getRowModel:()=>n.getPaginationRowModel(),getRow:c=>{const d=n.getRowModel().rowsById[c];if(!d)throw new Error;return d},_getDefaultColumnDef:ne(()=>[n.options.defaultColumn],c=>{var d;return c=(d=c)!=null?d:{},{header:f=>{const h=f.header.column.columnDef;return h.accessorKey?h.accessorKey:h.accessorFn?h.id:null},cell:f=>{var h,y;return(h=(y=f.renderValue())==null||y.toString==null?void 0:y.toString())!=null?h:null},...n._features.reduce((f,h)=>Object.assign(f,h.getDefaultColumnDef==null?void 0:h.getDefaultColumnDef()),{}),...c}},{debug:()=>{var c;return(c=n.options.debugAll)!=null?c:n.options.debugColumns},key:!1}),_getColumnDefs:()=>n.options.columns,getAllColumns:ne(()=>[n._getColumnDefs()],c=>{const d=function(f,h,y){return y===void 0&&(y=0),f.map(g=>{const k=m_(n,g,y,h),m=g;return k.columns=m.columns?d(m.columns,k,y+1):[],k})};return d(c)},{key:!1,debug:()=>{var c;return(c=n.options.debugAll)!=null?c:n.options.debugColumns}}),getAllFlatColumns:ne(()=>[n.getAllColumns()],c=>c.flatMap(d=>d.getFlatColumns()),{key:!1,debug:()=>{var c;return(c=n.options.debugAll)!=null?c:n.options.debugColumns}}),_getAllFlatColumnsById:ne(()=>[n.getAllFlatColumns()],c=>c.reduce((d,f)=>(d[f.id]=f,d),{}),{key:!1,debug:()=>{var c;return(c=n.options.debugAll)!=null?c:n.options.debugColumns}}),getAllLeafColumns:ne(()=>[n.getAllColumns(),n._getOrderColumnsFn()],(c,d)=>{let f=c.flatMap(h=>h.getLeafColumns());return d(f)},{key:!1,debug:()=>{var c;return(c=n.options.debugAll)!=null?c:n.options.debugColumns}}),getColumn:c=>n._getAllFlatColumnsById()[c]};return Object.assign(n,u),n._features.forEach(c=>Object.assign(n,c.createTable==null?void 0:c.createTable(n))),n}function G_(e,t,n,r){const o=()=>{var s;return(s=i.getValue())!=null?s:e.options.renderFallbackValue},i={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(r),renderValue:o,getContext:ne(()=>[e,n,t,i],(s,l,a,u)=>({table:s,column:l,row:a,cell:u,getValue:u.getValue,renderValue:u.renderValue}),{key:!1,debug:()=>e.options.debugAll})};return e._features.forEach(s=>{Object.assign(i,s.createCell==null?void 0:s.createCell(i,n,t,e))},{}),i}const K_=(e,t,n,r,o,i,s)=>{let l={id:t,index:r,original:n,depth:o,parentId:s,_valuesCache:{},_uniqueValuesCache:{},getValue:a=>{if(l._valuesCache.hasOwnProperty(a))return l._valuesCache[a];const u=e.getColumn(a);if(u!=null&&u.accessorFn)return l._valuesCache[a]=u.accessorFn(l.original,r),l._valuesCache[a]},getUniqueValues:a=>{if(l._uniqueValuesCache.hasOwnProperty(a))return l._uniqueValuesCache[a];const u=e.getColumn(a);if(u!=null&&u.accessorFn)return u.columnDef.getUniqueValues?(l._uniqueValuesCache[a]=u.columnDef.getUniqueValues(l.original,r),l._uniqueValuesCache[a]):(l._uniqueValuesCache[a]=[l.getValue(a)],l._uniqueValuesCache[a])},renderValue:a=>{var u;return(u=l.getValue(a))!=null?u:e.options.renderFallbackValue},subRows:i??[],getLeafRows:()=>g_(l.subRows,a=>a.subRows),getParentRow:()=>l.parentId?e.getRow(l.parentId):void 0,getParentRows:()=>{let a=[],u=l;for(;;){const c=u.getParentRow();if(!c)break;a.push(c),u=c}return a.reverse()},getAllCells:ne(()=>[e.getAllLeafColumns()],a=>a.map(u=>G_(e,l,u,u.id)),{key:!1,debug:()=>{var a;return(a=e.options.debugAll)!=null?a:e.options.debugRows}}),_getAllCellsByColumnId:ne(()=>[l.getAllCells()],a=>a.reduce((u,c)=>(u[c.column.id]=c,u),{}),{key:"row.getAllCellsByColumnId",debug:()=>{var a;return(a=e.options.debugAll)!=null?a:e.options.debugRows}})};for(let a=0;a<e._features.length;a++){const u=e._features[a];Object.assign(l,u==null||u.createRow==null?void 0:u.createRow(l,e))}return l};function q_(){return{accessor:(e,t)=>typeof e=="function"?{...t,accessorFn:e}:{...t,accessorKey:e},display:e=>e,group:e=>e}}function Q_(){return e=>ne(()=>[e.options.data],t=>{const n={rows:[],flatRows:[],rowsById:{}},r=function(o,i,s){i===void 0&&(i=0);const l=[];for(let u=0;u<o.length;u++){const c=K_(e,e._getRowId(o[u],u,s),o[u],u,i,void 0,s==null?void 0:s.id);if(n.flatRows.push(c),n.rowsById[c.id]=c,l.push(c),e.options.getSubRows){var a;c.originalSubRows=e.options.getSubRows(o[u],u),(a=c.originalSubRows)!=null&&a.length&&(c.subRows=r(c.originalSubRows,i+1,c))}}return l};return n.rows=r(t),n},{key:!1,debug:()=>{var t;return(t=e.options.debugAll)!=null?t:e.options.debugTable},onChange:()=>{e._autoResetPageIndex()}})}/**
|
|
148
|
+
* react-table
|
|
149
|
+
*
|
|
150
|
+
* Copyright (c) TanStack
|
|
151
|
+
*
|
|
152
|
+
* This source code is licensed under the MIT license found in the
|
|
153
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
154
|
+
*
|
|
155
|
+
* @license MIT
|
|
156
|
+
*/function _h(e,t){return e?Y_(e)?x.createElement(e,t):e:null}function Y_(e){return X_(e)||typeof e=="function"||Z_(e)}function X_(e){return typeof e=="function"&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}function Z_(e){return typeof e=="object"&&typeof e.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}function J_(e){const t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[n]=x.useState(()=>({current:W_(t)})),[r,o]=x.useState(()=>n.current.initialState);return n.current.setOptions(i=>({...i,...e,state:{...r,...e.state},onStateChange:s=>{o(s),e.onStateChange==null||e.onStateChange(s)}})),n.current}const Ph=e=>{let t;const n=new Set,r=(a,u)=>{const c=typeof a=="function"?a(t):a;if(!Object.is(c,t)){const d=t;t=u??typeof c!="object"?c:Object.assign({},t,c),n.forEach(f=>f(t,d))}},o=()=>t,l={setState:r,getState:o,subscribe:a=>(n.add(a),()=>n.delete(a)),destroy:()=>{({BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}};return t=e(r,o,l),l},e2=e=>e?Ph(e):Ph;var Sv={exports:{}},xv={},wv={exports:{}},Cv={};/**
|
|
157
|
+
* @license React
|
|
158
|
+
* use-sync-external-store-shim.production.min.js
|
|
159
|
+
*
|
|
160
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
161
|
+
*
|
|
162
|
+
* This source code is licensed under the MIT license found in the
|
|
163
|
+
* LICENSE file in the root directory of this source tree.
|
|
164
|
+
*/var mo=x;function t2(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var n2=typeof Object.is=="function"?Object.is:t2,r2=mo.useState,o2=mo.useEffect,i2=mo.useLayoutEffect,s2=mo.useDebugValue;function l2(e,t){var n=t(),r=r2({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return i2(function(){o.value=n,o.getSnapshot=t,wu(o)&&i({inst:o})},[e,n,t]),o2(function(){return wu(o)&&i({inst:o}),e(function(){wu(o)&&i({inst:o})})},[e]),s2(n),n}function wu(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!n2(e,n)}catch{return!0}}function a2(e,t){return t()}var u2=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?a2:l2;Cv.useSyncExternalStore=mo.useSyncExternalStore!==void 0?mo.useSyncExternalStore:u2;wv.exports=Cv;var c2=wv.exports;/**
|
|
165
|
+
* @license React
|
|
166
|
+
* use-sync-external-store-shim/with-selector.production.min.js
|
|
167
|
+
*
|
|
168
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
169
|
+
*
|
|
170
|
+
* This source code is licensed under the MIT license found in the
|
|
171
|
+
* LICENSE file in the root directory of this source tree.
|
|
172
|
+
*/var Sa=x,d2=c2;function f2(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var p2=typeof Object.is=="function"?Object.is:f2,h2=d2.useSyncExternalStore,g2=Sa.useRef,m2=Sa.useEffect,v2=Sa.useMemo,y2=Sa.useDebugValue;xv.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=g2(null);if(i.current===null){var s={hasValue:!1,value:null};i.current=s}else s=i.current;i=v2(function(){function a(h){if(!u){if(u=!0,c=h,h=r(h),o!==void 0&&s.hasValue){var y=s.value;if(o(y,h))return d=y}return d=h}if(y=d,p2(c,h))return y;var g=r(h);return o!==void 0&&o(y,g)?y:(c=h,d=g)}var u=!1,c,d,f=n===void 0?null:n;return[function(){return a(t())},f===null?void 0:function(){return a(f())}]},[t,n,r,o]);var l=h2(e,i[0],i[1]);return m2(function(){s.hasValue=!0,s.value=l},[l]),y2(l),l};Sv.exports=xv;var S2=Sv.exports;const x2=Ac(S2),{useSyncExternalStoreWithSelector:w2}=x2;function C2(e,t=e.getState,n){const r=w2(e.subscribe,e.getState,e.getServerState||e.getState,t,n);return x.useDebugValue(r),r}const Th=e=>{({BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t=typeof e=="function"?e2(e):e,n=(r,o)=>C2(t,r,o);return Object.assign(n,t),n},b2=e=>e?Th(e):Th;var k2=e=>(({BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1}&&"production")!=="production"&&console.warn("[DEPRECATED] Default export is deprecated. Instead use `import { create } from 'zustand'`."),b2(e));const sf=k2(e=>({table:null,setTable:t=>e(()=>({table:t}))}));function lf({text:e,maxLength:t}){const[n,r]=x.useState(!0),o=()=>{r(!n)},i=()=>e.length<=t?e:n?E.jsx(E.Fragment,{children:E.jsxs("span",{style:{cursor:"pointer"},onClick:o,children:[e.substring(0,t)," ..."]})}):E.jsx(E.Fragment,{children:E.jsx("span",{style:{cursor:"pointer"},onClick:o,children:e})});return E.jsx("div",{children:i()})}function R2({text:e,maxTextLength:t,rowIndex:n,promptIndex:r,onRating:o}){const i=e.startsWith("[PASS] "),s=e.startsWith("[FAIL] ");let l=[];i?e=e.substring(7):s&&(e.includes("---")?(l=e.split("---"),e=l.slice(1).join("---")):(l=["[FAIL]"],e.startsWith("[FAIL] ")&&(e=e.substring(7))));const a=u=>{o(n,r,u)};return E.jsxs(E.Fragment,{children:[E.jsxs("div",{className:"cell",children:[i&&E.jsx("div",{className:"status pass",children:"[PASS]"}),s&&E.jsx("div",{className:"status fail",children:l[0]})," ",E.jsx(lf,{text:e,maxLength:t})]}),E.jsxs("div",{className:"cell-rating",children:[E.jsx("span",{className:"rating",onClick:()=>a(!0),children:"👍"}),E.jsx("span",{className:"rating",onClick:()=>a(!1),children:"👎"})]})]})}function Mh({text:e,maxLength:t,smallText:n}){return E.jsxs("div",{children:[E.jsx(lf,{text:e,maxLength:t}),E.jsx("span",{className:"smalltext",children:n})]})}function E2({maxTextLength:e,columnVisibility:t}){const{table:n,setTable:r}=sf();l0(n,"Table should be defined");const{head:o,body:i}=n,s=o.prompts.map((d,f)=>i.reduce((h,y)=>h+(y.outputs[f].startsWith("[PASS]")?1:0),0)),l=(d,f,h)=>{const y=[...i],g={...y[d]},k=[...g.outputs],m=h?`[PASS] ${k[f].replace(/^\[(PASS|FAIL)\] /,"")}`:`[FAIL] ${k[f].replace(/^\[(PASS|FAIL)\] /,"")}`;k[f]=m,g.outputs=k,y[d]=g,r({head:o,body:y})},a=q_(),u=[a.group({id:"prompts",header:()=>E.jsx("span",{children:"Prompts"}),columns:o.prompts.map((d,f)=>a.accessor(h=>h.outputs[f],{id:`Prompt ${f+1}`,header:()=>E.jsxs(E.Fragment,{children:[E.jsx(Mh,{smallText:`Prompt ${f+1}`,text:d,maxLength:e}),s[f]," / ",i.length," 👍"]}),cell:h=>E.jsx(R2,{text:h.getValue(),maxTextLength:e,rowIndex:h.row.index,promptIndex:f,onRating:l})}))}),a.group({id:"vars",header:()=>E.jsx("span",{children:"Variables"}),columns:o.vars.map((d,f)=>a.accessor(h=>h.vars[f],{id:`Variable ${f+1}`,header:()=>E.jsx(Mh,{smallText:`Variable ${f+1}`,text:d,maxLength:e}),cell:h=>E.jsx(lf,{text:h.getValue(),maxLength:e})}))})],c=J_({data:i,columns:u,columnResizeMode:"onChange",getCoreRowModel:Q_(),state:{columnVisibility:t}});return E.jsxs("table",{children:[E.jsx("thead",{children:c.getHeaderGroups().map(d=>E.jsx("tr",{children:d.headers.map(f=>E.jsxs("th",{key:f.id,colSpan:f.colSpan,style:{width:f.getSize()},children:[f.isPlaceholder?null:_h(f.column.columnDef.header,f.getContext()),E.jsx("div",{onMouseDown:f.getResizeHandler(),onTouchStart:f.getResizeHandler(),className:`resizer ${f.column.getIsResizing()?"isResizing":""}`})]}))},d.id))}),E.jsx("tbody",{children:c.getRowModel().rows.map(d=>E.jsx("tr",{children:d.getVisibleCells().map(f=>E.jsx("td",{key:f.id,style:{width:f.column.getSize()},children:_h(f.column.columnDef.cell,f.getContext())}))},d.id))})]})}function $2(){const{table:e}=sf(),[t,n]=x.useState(250),[r,o]=x.useState({}),[i,s]=x.useState([]);l0(e,"Table data must be loaded before rendering ResultsView");const{head:l}=e,a=c=>{const{target:{value:d}}=c;s(typeof d=="string"?d.split(","):d);const f=[...l.prompts.map((y,g)=>`Prompt ${g+1}`),...l.vars.map((y,g)=>`Variable ${g+1}`)],h={};f.forEach(y=>{h[y]=(typeof d=="string"?d.split(","):d).includes(y)}),o(h)},u=[...l.prompts.map((c,d)=>({value:`Prompt ${d+1}`,label:`Prompt ${d+1}`,group:"Prompts"})),...l.vars.map((c,d)=>({value:`Variable ${d+1}`,label:`Variable ${d+1}`,group:"Variables"}))];return x.useEffect(()=>{s([...l.prompts.map((c,d)=>`Prompt ${d+1}`),...l.vars.map((c,d)=>`Variable ${d+1}`)])},[l]),E.jsxs("div",{children:[E.jsx(Ms,{py:"md",children:E.jsxs(mb,{direction:"row",spacing:2,alignItems:"center",children:[E.jsx(Ms,{children:E.jsxs(iE,{sx:{m:1,minWidth:300},size:"small",children:[E.jsx(uR,{id:"visible-columns-label",children:"Visible columns"}),E.jsx(K$,{labelId:"visible-columns-label",id:"visible-columns",multiple:!0,value:i,onChange:a,input:E.jsx(Q0,{label:"Visible columns"}),renderValue:c=>c.join(", "),children:u.map(c=>E.jsxs(JR,{dense:!0,value:c.value,children:[E.jsx(p_,{checked:i.indexOf(c.value)>-1}),E.jsx(WR,{primary:c.label})]},c.value))})]})}),E.jsxs(Ms,{children:[E.jsxs(Go,{mt:2,children:["Max text length: ",t]}),E.jsx(Ck,{min:25,max:1e3,value:t,onChange:(c,d)=>n(d)})]})]})}),E.jsx(E2,{maxTextLength:t,columnVisibility:r})]})}function _2(){return E.jsxs(Ms,{className:"logo",children:[E.jsx("img",{src:"/logo.svg",alt:"Promptfoo logo"})," ",E.jsx("span",{children:"promptfoo"})]})}function P2(){return E.jsx("nav",{children:E.jsx(_2,{})})}function T2(){const{table:e,setTable:t}=sf(),[n,r]=x.useState(!1);return x.useEffect(()=>{const o=$s(`http://${window.location.host}`);return o.on("init",i=>{console.log("Initialized socket connection"),r(!0),t(i.table)}),o.on("update",i=>{console.log("Received data update"),t(i.table)}),()=>{o.disconnect()}},[n,t]),E.jsxs(E.Fragment,{children:[E.jsx(P2,{}),n&&e?E.jsx($2,{}):E.jsx("div",{children:"Loading..."})]})}Cu.createRoot(document.getElementById("root")).render(E.jsx(Jt.StrictMode,{children:E.jsx(T2,{})}));
|