@oc-digital/react-component-library 7.2.3-beta.10 → 7.2.3-beta.4
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/build/index.umd.cjs +574 -0
- package/build/index.umd.cjs.map +1 -0
- package/package.json +1 -1
- package/build/index.js +0 -581
- package/build/index.js.map +0 -1
|
@@ -0,0 +1,574 @@
|
|
|
1
|
+
(function(Nr,py){typeof exports=="object"&&typeof module<"u"?py(exports):typeof define=="function"&&define.amd?define(["exports"],py):(Nr=typeof globalThis<"u"?globalThis:Nr||self,py(Nr["react-component-library"]={}))})(this,function(Nr){"use strict";function py(e,t){for(var n=0;n<t.length;n++){const o=t[n];if(typeof o!="string"&&!Array.isArray(o)){for(const s in o)if(s!=="default"&&!(s in e)){const p=Object.getOwnPropertyDescriptor(o,s);p&&Object.defineProperty(e,s,p.get?p:{enumerable:!0,get:()=>o[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var Pc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function nm(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function fj(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var s=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,s.get?s:{enumerable:!0,get:function(){return e[o]}})}),n}var Iw={exports:{}},rm={};/*
|
|
2
|
+
object-assign
|
|
3
|
+
(c) Sindre Sorhus
|
|
4
|
+
@license MIT
|
|
5
|
+
*/var Fw,vP;function Ch(){if(vP)return Fw;vP=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function o(p){if(p==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(p)}function s(){try{if(!Object.assign)return!1;var p=new String("abc");if(p[5]="de",Object.getOwnPropertyNames(p)[0]==="5")return!1;for(var u={},g=0;g<10;g++)u["_"+String.fromCharCode(g)]=g;var b=Object.getOwnPropertyNames(u).map(function(C){return u[C]});if(b.join("")!=="0123456789")return!1;var y={};return"abcdefghijklmnopqrst".split("").forEach(function(C){y[C]=C}),Object.keys(Object.assign({},y)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Fw=s()?Object.assign:function(p,u){for(var g,b=o(p),y,C=1;C<arguments.length;C++){g=Object(arguments[C]);for(var w in g)t.call(g,w)&&(b[w]=g[w]);if(e){y=e(g);for(var O=0;O<y.length;O++)n.call(g,y[O])&&(b[y[O]]=g[y[O]])}}return b},Fw}var jw={exports:{}},xo={};/** @license React v17.0.2
|
|
6
|
+
* react.production.min.js
|
|
7
|
+
*
|
|
8
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
9
|
+
*
|
|
10
|
+
* This source code is licensed under the MIT license found in the
|
|
11
|
+
* LICENSE file in the root directory of this source tree.
|
|
12
|
+
*/var mP;function pj(){if(mP)return xo;mP=1;var e=Ch(),t=60103,n=60106;xo.Fragment=60107,xo.StrictMode=60108,xo.Profiler=60114;var o=60109,s=60110,p=60112;xo.Suspense=60113;var u=60115,g=60116;if(typeof Symbol=="function"&&Symbol.for){var b=Symbol.for;t=b("react.element"),n=b("react.portal"),xo.Fragment=b("react.fragment"),xo.StrictMode=b("react.strict_mode"),xo.Profiler=b("react.profiler"),o=b("react.provider"),s=b("react.context"),p=b("react.forward_ref"),xo.Suspense=b("react.suspense"),u=b("react.memo"),g=b("react.lazy")}var y=typeof Symbol=="function"&&Symbol.iterator;function C(re){return re===null||typeof re!="object"?null:(re=y&&re[y]||re["@@iterator"],typeof re=="function"?re:null)}function w(re){for(var ce="https://reactjs.org/docs/error-decoder.html?invariant="+re,ke=1;ke<arguments.length;ke++)ce+="&args[]="+encodeURIComponent(arguments[ke]);return"Minified React error #"+re+"; visit "+ce+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var O={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},P={};function D(re,ce,ke){this.props=re,this.context=ce,this.refs=P,this.updater=ke||O}D.prototype.isReactComponent={},D.prototype.setState=function(re,ce){if(typeof re!="object"&&typeof re!="function"&&re!=null)throw Error(w(85));this.updater.enqueueSetState(this,re,ce,"setState")},D.prototype.forceUpdate=function(re){this.updater.enqueueForceUpdate(this,re,"forceUpdate")};function I(){}I.prototype=D.prototype;function j(re,ce,ke){this.props=re,this.context=ce,this.refs=P,this.updater=ke||O}var z=j.prototype=new I;z.constructor=j,e(z,D.prototype),z.isPureReactComponent=!0;var H={current:null},L=Object.prototype.hasOwnProperty,U={key:!0,ref:!0,__self:!0,__source:!0};function A(re,ce,ke){var Ce,ge={},Me=null,Le=null;if(ce!=null)for(Ce in ce.ref!==void 0&&(Le=ce.ref),ce.key!==void 0&&(Me=""+ce.key),ce)L.call(ce,Ce)&&!U.hasOwnProperty(Ce)&&(ge[Ce]=ce[Ce]);var Oe=arguments.length-2;if(Oe===1)ge.children=ke;else if(1<Oe){for(var Ve=Array(Oe),ze=0;ze<Oe;ze++)Ve[ze]=arguments[ze+2];ge.children=Ve}if(re&&re.defaultProps)for(Ce in Oe=re.defaultProps,Oe)ge[Ce]===void 0&&(ge[Ce]=Oe[Ce]);return{$$typeof:t,type:re,key:Me,ref:Le,props:ge,_owner:H.current}}function Q(re,ce){return{$$typeof:t,type:re.type,key:ce,ref:re.ref,props:re.props,_owner:re._owner}}function te(re){return typeof re=="object"&&re!==null&&re.$$typeof===t}function ue(re){var ce={"=":"=0",":":"=2"};return"$"+re.replace(/[=:]/g,function(ke){return ce[ke]})}var ae=/\/+/g;function pe(re,ce){return typeof re=="object"&&re!==null&&re.key!=null?ue(""+re.key):ce.toString(36)}function xe(re,ce,ke,Ce,ge){var Me=typeof re;(Me==="undefined"||Me==="boolean")&&(re=null);var Le=!1;if(re===null)Le=!0;else switch(Me){case"string":case"number":Le=!0;break;case"object":switch(re.$$typeof){case t:case n:Le=!0}}if(Le)return Le=re,ge=ge(Le),re=Ce===""?"."+pe(Le,0):Ce,Array.isArray(ge)?(ke="",re!=null&&(ke=re.replace(ae,"$&/")+"/"),xe(ge,ce,ke,"",function(ze){return ze})):ge!=null&&(te(ge)&&(ge=Q(ge,ke+(!ge.key||Le&&Le.key===ge.key?"":(""+ge.key).replace(ae,"$&/")+"/")+re)),ce.push(ge)),1;if(Le=0,Ce=Ce===""?".":Ce+":",Array.isArray(re))for(var Oe=0;Oe<re.length;Oe++){Me=re[Oe];var Ve=Ce+pe(Me,Oe);Le+=xe(Me,ce,ke,Ve,ge)}else if(Ve=C(re),typeof Ve=="function")for(re=Ve.call(re),Oe=0;!(Me=re.next()).done;)Me=Me.value,Ve=Ce+pe(Me,Oe++),Le+=xe(Me,ce,ke,Ve,ge);else if(Me==="object")throw ce=""+re,Error(w(31,ce==="[object Object]"?"object with keys {"+Object.keys(re).join(", ")+"}":ce));return Le}function Pe(re,ce,ke){if(re==null)return re;var Ce=[],ge=0;return xe(re,Ce,"","",function(Me){return ce.call(ke,Me,ge++)}),Ce}function ye(re){if(re._status===-1){var ce=re._result;ce=ce(),re._status=0,re._result=ce,ce.then(function(ke){re._status===0&&(ke=ke.default,re._status=1,re._result=ke)},function(ke){re._status===0&&(re._status=2,re._result=ke)})}if(re._status===1)return re._result;throw re._result}var de={current:null};function fe(){var re=de.current;if(re===null)throw Error(w(321));return re}var Se={ReactCurrentDispatcher:de,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:H,IsSomeRendererActing:{current:!1},assign:e};return xo.Children={map:Pe,forEach:function(re,ce,ke){Pe(re,function(){ce.apply(this,arguments)},ke)},count:function(re){var ce=0;return Pe(re,function(){ce++}),ce},toArray:function(re){return Pe(re,function(ce){return ce})||[]},only:function(re){if(!te(re))throw Error(w(143));return re}},xo.Component=D,xo.PureComponent=j,xo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Se,xo.cloneElement=function(re,ce,ke){if(re==null)throw Error(w(267,re));var Ce=e({},re.props),ge=re.key,Me=re.ref,Le=re._owner;if(ce!=null){if(ce.ref!==void 0&&(Me=ce.ref,Le=H.current),ce.key!==void 0&&(ge=""+ce.key),re.type&&re.type.defaultProps)var Oe=re.type.defaultProps;for(Ve in ce)L.call(ce,Ve)&&!U.hasOwnProperty(Ve)&&(Ce[Ve]=ce[Ve]===void 0&&Oe!==void 0?Oe[Ve]:ce[Ve])}var Ve=arguments.length-2;if(Ve===1)Ce.children=ke;else if(1<Ve){Oe=Array(Ve);for(var ze=0;ze<Ve;ze++)Oe[ze]=arguments[ze+2];Ce.children=Oe}return{$$typeof:t,type:re.type,key:ge,ref:Me,props:Ce,_owner:Le}},xo.createContext=function(re,ce){return ce===void 0&&(ce=null),re={$$typeof:s,_calculateChangedBits:ce,_currentValue:re,_currentValue2:re,_threadCount:0,Provider:null,Consumer:null},re.Provider={$$typeof:o,_context:re},re.Consumer=re},xo.createElement=A,xo.createFactory=function(re){var ce=A.bind(null,re);return ce.type=re,ce},xo.createRef=function(){return{current:null}},xo.forwardRef=function(re){return{$$typeof:p,render:re}},xo.isValidElement=te,xo.lazy=function(re){return{$$typeof:g,_payload:{_status:-1,_result:re},_init:ye}},xo.memo=function(re,ce){return{$$typeof:u,type:re,compare:ce===void 0?null:ce}},xo.useCallback=function(re,ce){return fe().useCallback(re,ce)},xo.useContext=function(re,ce){return fe().useContext(re,ce)},xo.useDebugValue=function(){},xo.useEffect=function(re,ce){return fe().useEffect(re,ce)},xo.useImperativeHandle=function(re,ce,ke){return fe().useImperativeHandle(re,ce,ke)},xo.useLayoutEffect=function(re,ce){return fe().useLayoutEffect(re,ce)},xo.useMemo=function(re,ce){return fe().useMemo(re,ce)},xo.useReducer=function(re,ce,ke){return fe().useReducer(re,ce,ke)},xo.useRef=function(re){return fe().useRef(re)},xo.useState=function(re){return fe().useState(re)},xo.version="17.0.2",xo}var Lw={};/** @license React v17.0.2
|
|
13
|
+
* react.development.js
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
16
|
+
*
|
|
17
|
+
* This source code is licensed under the MIT license found in the
|
|
18
|
+
* LICENSE file in the root directory of this source tree.
|
|
19
|
+
*/var gP;function hj(){return gP||(gP=1,function(e){process.env.NODE_ENV!=="production"&&function(){var t=Ch(),n="17.0.2",o=60103,s=60106;e.Fragment=60107,e.StrictMode=60108,e.Profiler=60114;var p=60109,u=60110,g=60112;e.Suspense=60113;var b=60120,y=60115,C=60116,w=60121,O=60122,P=60117,D=60129,I=60131;if(typeof Symbol=="function"&&Symbol.for){var j=Symbol.for;o=j("react.element"),s=j("react.portal"),e.Fragment=j("react.fragment"),e.StrictMode=j("react.strict_mode"),e.Profiler=j("react.profiler"),p=j("react.provider"),u=j("react.context"),g=j("react.forward_ref"),e.Suspense=j("react.suspense"),b=j("react.suspense_list"),y=j("react.memo"),C=j("react.lazy"),w=j("react.block"),O=j("react.server.block"),P=j("react.fundamental"),j("react.scope"),j("react.opaque.id"),D=j("react.debug_trace_mode"),j("react.offscreen"),I=j("react.legacy_hidden")}var z=typeof Symbol=="function"&&Symbol.iterator,H="@@iterator";function L(J){if(J===null||typeof J!="object")return null;var Be=z&&J[z]||J[H];return typeof Be=="function"?Be:null}var U={current:null},A={transition:0},Q={current:null},te={},ue=null;function ae(J){ue=J}te.setExtraStackFrame=function(J){ue=J},te.getCurrentStack=null,te.getStackAddendum=function(){var J="";ue&&(J+=ue);var Be=te.getCurrentStack;return Be&&(J+=Be()||""),J};var pe={current:!1},xe={ReactCurrentDispatcher:U,ReactCurrentBatchConfig:A,ReactCurrentOwner:Q,IsSomeRendererActing:pe,assign:t};xe.ReactDebugCurrentFrame=te;function Pe(J){{for(var Be=arguments.length,it=new Array(Be>1?Be-1:0),St=1;St<Be;St++)it[St-1]=arguments[St];de("warn",J,it)}}function ye(J){{for(var Be=arguments.length,it=new Array(Be>1?Be-1:0),St=1;St<Be;St++)it[St-1]=arguments[St];de("error",J,it)}}function de(J,Be,it){{var St=xe.ReactDebugCurrentFrame,sn=St.getStackAddendum();sn!==""&&(Be+="%s",it=it.concat([sn]));var cr=it.map(function(Zn){return""+Zn});cr.unshift("Warning: "+Be),Function.prototype.apply.call(console[J],console,cr)}}var fe={};function Se(J,Be){{var it=J.constructor,St=it&&(it.displayName||it.name)||"ReactClass",sn=St+"."+Be;if(fe[sn])return;ye("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",Be,St),fe[sn]=!0}}var re={isMounted:function(J){return!1},enqueueForceUpdate:function(J,Be,it){Se(J,"forceUpdate")},enqueueReplaceState:function(J,Be,it,St){Se(J,"replaceState")},enqueueSetState:function(J,Be,it,St){Se(J,"setState")}},ce={};Object.freeze(ce);function ke(J,Be,it){this.props=J,this.context=Be,this.refs=ce,this.updater=it||re}ke.prototype.isReactComponent={},ke.prototype.setState=function(J,Be){if(!(typeof J=="object"||typeof J=="function"||J==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,J,Be,"setState")},ke.prototype.forceUpdate=function(J){this.updater.enqueueForceUpdate(this,J,"forceUpdate")};{var Ce={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},ge=function(J,Be){Object.defineProperty(ke.prototype,J,{get:function(){Pe("%s(...) is deprecated in plain JavaScript React classes. %s",Be[0],Be[1])}})};for(var Me in Ce)Ce.hasOwnProperty(Me)&&ge(Me,Ce[Me])}function Le(){}Le.prototype=ke.prototype;function Oe(J,Be,it){this.props=J,this.context=Be,this.refs=ce,this.updater=it||re}var Ve=Oe.prototype=new Le;Ve.constructor=Oe,t(Ve,ke.prototype),Ve.isPureReactComponent=!0;function ze(){var J={current:null};return Object.seal(J),J}function We(J,Be,it){var St=Be.displayName||Be.name||"";return J.displayName||(St!==""?it+"("+St+")":it)}function Ye(J){return J.displayName||"Context"}function ot(J){if(J==null)return null;if(typeof J.tag=="number"&&ye("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof J=="function")return J.displayName||J.name||null;if(typeof J=="string")return J;switch(J){case e.Fragment:return"Fragment";case s:return"Portal";case e.Profiler:return"Profiler";case e.StrictMode:return"StrictMode";case e.Suspense:return"Suspense";case b:return"SuspenseList"}if(typeof J=="object")switch(J.$$typeof){case u:var Be=J;return Ye(Be)+".Consumer";case p:var it=J;return Ye(it._context)+".Provider";case g:return We(J,J.render,"ForwardRef");case y:return ot(J.type);case w:return ot(J._render);case C:{var St=J,sn=St._payload,cr=St._init;try{return ot(cr(sn))}catch{return null}}}return null}var yt=Object.prototype.hasOwnProperty,Ze={key:!0,ref:!0,__self:!0,__source:!0},Te,tt,Ge;Ge={};function et(J){if(yt.call(J,"ref")){var Be=Object.getOwnPropertyDescriptor(J,"ref").get;if(Be&&Be.isReactWarning)return!1}return J.ref!==void 0}function xt(J){if(yt.call(J,"key")){var Be=Object.getOwnPropertyDescriptor(J,"key").get;if(Be&&Be.isReactWarning)return!1}return J.key!==void 0}function Yt(J,Be){var it=function(){Te||(Te=!0,ye("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",Be))};it.isReactWarning=!0,Object.defineProperty(J,"key",{get:it,configurable:!0})}function _t(J,Be){var it=function(){tt||(tt=!0,ye("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",Be))};it.isReactWarning=!0,Object.defineProperty(J,"ref",{get:it,configurable:!0})}function Jt(J){if(typeof J.ref=="string"&&Q.current&&J.__self&&Q.current.stateNode!==J.__self){var Be=ot(Q.current.type);Ge[Be]||(ye('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',Be,J.ref),Ge[Be]=!0)}}var rt=function(J,Be,it,St,sn,cr,Zn){var rr={$$typeof:o,type:J,key:Be,ref:it,props:Zn,_owner:cr};return rr._store={},Object.defineProperty(rr._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(rr,"_self",{configurable:!1,enumerable:!1,writable:!1,value:St}),Object.defineProperty(rr,"_source",{configurable:!1,enumerable:!1,writable:!1,value:sn}),Object.freeze&&(Object.freeze(rr.props),Object.freeze(rr)),rr};function ut(J,Be,it){var St,sn={},cr=null,Zn=null,rr=null,Ln=null;if(Be!=null){et(Be)&&(Zn=Be.ref,Jt(Be)),xt(Be)&&(cr=""+Be.key),rr=Be.__self===void 0?null:Be.__self,Ln=Be.__source===void 0?null:Be.__source;for(St in Be)yt.call(Be,St)&&!Ze.hasOwnProperty(St)&&(sn[St]=Be[St])}var Kr=arguments.length-2;if(Kr===1)sn.children=it;else if(Kr>1){for(var yo=Array(Kr),Ao=0;Ao<Kr;Ao++)yo[Ao]=arguments[Ao+2];Object.freeze&&Object.freeze(yo),sn.children=yo}if(J&&J.defaultProps){var Xo=J.defaultProps;for(St in Xo)sn[St]===void 0&&(sn[St]=Xo[St])}if(cr||Zn){var Fi=typeof J=="function"?J.displayName||J.name||"Unknown":J;cr&&Yt(sn,Fi),Zn&&_t(sn,Fi)}return rt(J,cr,Zn,rr,Ln,Q.current,sn)}function Kt(J,Be){var it=rt(J.type,Be,J.ref,J._self,J._source,J._owner,J.props);return it}function En(J,Be,it){if(J==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+J+".");var St,sn=t({},J.props),cr=J.key,Zn=J.ref,rr=J._self,Ln=J._source,Kr=J._owner;if(Be!=null){et(Be)&&(Zn=Be.ref,Kr=Q.current),xt(Be)&&(cr=""+Be.key);var yo;J.type&&J.type.defaultProps&&(yo=J.type.defaultProps);for(St in Be)yt.call(Be,St)&&!Ze.hasOwnProperty(St)&&(Be[St]===void 0&&yo!==void 0?sn[St]=yo[St]:sn[St]=Be[St])}var Ao=arguments.length-2;if(Ao===1)sn.children=it;else if(Ao>1){for(var Xo=Array(Ao),Fi=0;Fi<Ao;Fi++)Xo[Fi]=arguments[Fi+2];sn.children=Xo}return rt(J.type,cr,Zn,rr,Ln,Kr,sn)}function yn(J){return typeof J=="object"&&J!==null&&J.$$typeof===o}var Hn=".",sr=":";function Kn(J){var Be=/[=:]/g,it={"=":"=0",":":"=2"},St=J.replace(Be,function(sn){return it[sn]});return"$"+St}var Gn=!1,xn=/\/+/g;function Or(J){return J.replace(xn,"$&/")}function Vt(J,Be){return typeof J=="object"&&J!==null&&J.key!=null?Kn(""+J.key):Be.toString(36)}function Xt(J,Be,it,St,sn){var cr=typeof J;(cr==="undefined"||cr==="boolean")&&(J=null);var Zn=!1;if(J===null)Zn=!0;else switch(cr){case"string":case"number":Zn=!0;break;case"object":switch(J.$$typeof){case o:case s:Zn=!0}}if(Zn){var rr=J,Ln=sn(rr),Kr=St===""?Hn+Vt(rr,0):St;if(Array.isArray(Ln)){var yo="";Kr!=null&&(yo=Or(Kr)+"/"),Xt(Ln,Be,yo,"",function(xl){return xl})}else Ln!=null&&(yn(Ln)&&(Ln=Kt(Ln,it+(Ln.key&&(!rr||rr.key!==Ln.key)?Or(""+Ln.key)+"/":"")+Kr)),Be.push(Ln));return 1}var Ao,Xo,Fi=0,ui=St===""?Hn:St+sr;if(Array.isArray(J))for(var Ur=0;Ur<J.length;Ur++)Ao=J[Ur],Xo=ui+Vt(Ao,Ur),Fi+=Xt(Ao,Be,it,Xo,sn);else{var ao=L(J);if(typeof ao=="function"){var As=J;ao===As.entries&&(Gn||Pe("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Gn=!0);for(var Ka=ao.call(As),bl,Gu=0;!(bl=Ka.next()).done;)Ao=bl.value,Xo=ui+Vt(Ao,Gu++),Fi+=Xt(Ao,Be,it,Xo,sn)}else if(cr==="object"){var Qs=""+J;throw Error("Objects are not valid as a React child (found: "+(Qs==="[object Object]"?"object with keys {"+Object.keys(J).join(", ")+"}":Qs)+"). If you meant to render a collection of children, use an array instead.")}}return Fi}function vn(J,Be,it){if(J==null)return J;var St=[],sn=0;return Xt(J,St,"","",function(cr){return Be.call(it,cr,sn++)}),St}function zt(J){var Be=0;return vn(J,function(){Be++}),Be}function mn(J,Be,it){vn(J,function(){Be.apply(this,arguments)},it)}function Xn(J){return vn(J,function(Be){return Be})||[]}function Pr(J){if(!yn(J))throw Error("React.Children.only expected to receive a single React element child.");return J}function lo(J,Be){Be===void 0?Be=null:Be!==null&&typeof Be!="function"&&ye("createContext: Expected the optional second argument to be a function. Instead received: %s",Be);var it={$$typeof:u,_calculateChangedBits:Be,_currentValue:J,_currentValue2:J,_threadCount:0,Provider:null,Consumer:null};it.Provider={$$typeof:p,_context:it};var St=!1,sn=!1,cr=!1;{var Zn={$$typeof:u,_context:it,_calculateChangedBits:it._calculateChangedBits};Object.defineProperties(Zn,{Provider:{get:function(){return sn||(sn=!0,ye("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),it.Provider},set:function(rr){it.Provider=rr}},_currentValue:{get:function(){return it._currentValue},set:function(rr){it._currentValue=rr}},_currentValue2:{get:function(){return it._currentValue2},set:function(rr){it._currentValue2=rr}},_threadCount:{get:function(){return it._threadCount},set:function(rr){it._threadCount=rr}},Consumer:{get:function(){return St||(St=!0,ye("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),it.Consumer}},displayName:{get:function(){return it.displayName},set:function(rr){cr||(Pe("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",rr),cr=!0)}}}),it.Consumer=Zn}return it._currentRenderer=null,it._currentRenderer2=null,it}var oo=-1,No=0,Ui=1,Zo=2;function $i(J){if(J._status===oo){var Be=J._result,it=Be(),St=J;St._status=No,St._result=it,it.then(function(sn){if(J._status===No){var cr=sn.default;cr===void 0&&ye(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
20
|
+
|
|
21
|
+
Your code should look like:
|
|
22
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,sn);var Zn=J;Zn._status=Ui,Zn._result=cr}},function(sn){if(J._status===No){var cr=J;cr._status=Zo,cr._result=sn}})}if(J._status===Ui)return J._result;throw J._result}function $r(J){var Be={_status:-1,_result:J},it={$$typeof:C,_payload:Be,_init:$i};{var St,sn;Object.defineProperties(it,{defaultProps:{configurable:!0,get:function(){return St},set:function(cr){ye("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),St=cr,Object.defineProperty(it,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return sn},set:function(cr){ye("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),sn=cr,Object.defineProperty(it,"propTypes",{enumerable:!0})}}})}return it}function mo(J){J!=null&&J.$$typeof===y?ye("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof J!="function"?ye("forwardRef requires a render function but was given %s.",J===null?"null":typeof J):J.length!==0&&J.length!==2&&ye("forwardRef render functions accept exactly two parameters: props and ref. %s",J.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),J!=null&&(J.defaultProps!=null||J.propTypes!=null)&&ye("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var Be={$$typeof:g,render:J};{var it;Object.defineProperty(Be,"displayName",{enumerable:!1,configurable:!0,get:function(){return it},set:function(St){it=St,J.displayName==null&&(J.displayName=St)}})}return Be}var Oo=!1;function po(J){return!!(typeof J=="string"||typeof J=="function"||J===e.Fragment||J===e.Profiler||J===D||J===e.StrictMode||J===e.Suspense||J===b||J===I||Oo||typeof J=="object"&&J!==null&&(J.$$typeof===C||J.$$typeof===y||J.$$typeof===p||J.$$typeof===u||J.$$typeof===g||J.$$typeof===P||J.$$typeof===w||J[0]===O))}function ea(J,Be){po(J)||ye("memo: The first argument must be a component. Instead received: %s",J===null?"null":typeof J);var it={$$typeof:y,type:J,compare:Be===void 0?null:Be};{var St;Object.defineProperty(it,"displayName",{enumerable:!1,configurable:!0,get:function(){return St},set:function(sn){St=sn,J.displayName==null&&(J.displayName=sn)}})}return it}function wo(){var J=U.current;if(J===null)throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
23
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
24
|
+
2. You might be breaking the Rules of Hooks
|
|
25
|
+
3. You might have more than one copy of React in the same app
|
|
26
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return J}function ka(J,Be){var it=wo();if(Be!==void 0&&ye("useContext() second argument is reserved for future use in React. Passing it is not supported. You passed: %s.%s",Be,typeof Be=="number"&&Array.isArray(arguments[2])?`
|
|
27
|
+
|
|
28
|
+
Did you call array.map(useContext)? Calling Hooks inside a loop is not supported. Learn more at https://reactjs.org/link/rules-of-hooks`:""),J._context!==void 0){var St=J._context;St.Consumer===J?ye("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):St.Provider===J&&ye("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return it.useContext(J,Be)}function Ne(J){var Be=wo();return Be.useState(J)}function At(J,Be,it){var St=wo();return St.useReducer(J,Be,it)}function Qt(J){var Be=wo();return Be.useRef(J)}function Fn(J,Be){var it=wo();return it.useEffect(J,Be)}function tr(J,Be){var it=wo();return it.useLayoutEffect(J,Be)}function jn(J,Be){var it=wo();return it.useCallback(J,Be)}function vr(J,Be){var it=wo();return it.useMemo(J,Be)}function mr(J,Be,it){var St=wo();return St.useImperativeHandle(J,Be,it)}function io(J,Be){{var it=wo();return it.useDebugValue(J,Be)}}var Vr=0,eo,ei,ti,Wi,Mo,Ja,Ks;function gr(){}gr.__reactDisabledLog=!0;function vo(){{if(Vr===0){eo=console.log,ei=console.info,ti=console.warn,Wi=console.error,Mo=console.group,Ja=console.groupCollapsed,Ks=console.groupEnd;var J={configurable:!0,enumerable:!0,value:gr,writable:!0};Object.defineProperties(console,{info:J,log:J,warn:J,error:J,group:J,groupCollapsed:J,groupEnd:J})}Vr++}}function bi(){{if(Vr--,Vr===0){var J={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:t({},J,{value:eo}),info:t({},J,{value:ei}),warn:t({},J,{value:ti}),error:t({},J,{value:Wi}),group:t({},J,{value:Mo}),groupCollapsed:t({},J,{value:Ja}),groupEnd:t({},J,{value:Ks})})}Vr<0&&ye("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ha=xe.ReactCurrentDispatcher,ms;function ta(J,Be,it){{if(ms===void 0)try{throw Error()}catch(sn){var St=sn.stack.trim().match(/\n( *(at )?)/);ms=St&&St[1]||""}return`
|
|
29
|
+
`+ms+J}}var Ds=!1,Ga;{var Xs=typeof WeakMap=="function"?WeakMap:Map;Ga=new Xs}function es(J,Be){if(!J||Ds)return"";{var it=Ga.get(J);if(it!==void 0)return it}var St;Ds=!0;var sn=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var cr;cr=Ha.current,Ha.current=null,vo();try{if(Be){var Zn=function(){throw Error()};if(Object.defineProperty(Zn.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Zn,[])}catch(ui){St=ui}Reflect.construct(J,[],Zn)}else{try{Zn.call()}catch(ui){St=ui}J.call(Zn.prototype)}}else{try{throw Error()}catch(ui){St=ui}J()}}catch(ui){if(ui&&St&&typeof ui.stack=="string"){for(var rr=ui.stack.split(`
|
|
30
|
+
`),Ln=St.stack.split(`
|
|
31
|
+
`),Kr=rr.length-1,yo=Ln.length-1;Kr>=1&&yo>=0&&rr[Kr]!==Ln[yo];)yo--;for(;Kr>=1&&yo>=0;Kr--,yo--)if(rr[Kr]!==Ln[yo]){if(Kr!==1||yo!==1)do if(Kr--,yo--,yo<0||rr[Kr]!==Ln[yo]){var Ao=`
|
|
32
|
+
`+rr[Kr].replace(" at new "," at ");return typeof J=="function"&&Ga.set(J,Ao),Ao}while(Kr>=1&&yo>=0);break}}}finally{Ds=!1,Ha.current=cr,bi(),Error.prepareStackTrace=sn}var Xo=J?J.displayName||J.name:"",Fi=Xo?ta(Xo):"";return typeof J=="function"&&Ga.set(J,Fi),Fi}function Zl(J,Be,it){return es(J,!1)}function ks(J){var Be=J.prototype;return!!(Be&&Be.isReactComponent)}function Ns(J,Be,it){if(J==null)return"";if(typeof J=="function")return es(J,ks(J));if(typeof J=="string")return ta(J);switch(J){case e.Suspense:return ta("Suspense");case b:return ta("SuspenseList")}if(typeof J=="object")switch(J.$$typeof){case g:return Zl(J.render);case y:return Ns(J.type,Be,it);case w:return Zl(J._render);case C:{var St=J,sn=St._payload,cr=St._init;try{return Ns(cr(sn),Be,it)}catch{}}}return""}var na={},Na=xe.ReactDebugCurrentFrame;function Hi(J){if(J){var Be=J._owner,it=Ns(J.type,J._source,Be?Be.type:null);Na.setExtraStackFrame(it)}else Na.setExtraStackFrame(null)}function Ma(J,Be,it,St,sn){{var cr=Function.call.bind(Object.prototype.hasOwnProperty);for(var Zn in J)if(cr(J,Zn)){var rr=void 0;try{if(typeof J[Zn]!="function"){var Ln=Error((St||"React class")+": "+it+" type `"+Zn+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof J[Zn]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ln.name="Invariant Violation",Ln}rr=J[Zn](Be,Zn,St,it,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Kr){rr=Kr}rr&&!(rr instanceof Error)&&(Hi(sn),ye("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",St||"React class",it,Zn,typeof rr),Hi(null)),rr instanceof Error&&!(rr.message in na)&&(na[rr.message]=!0,Hi(sn),ye("Failed %s type: %s",it,rr.message),Hi(null))}}}function ra(J){if(J){var Be=J._owner,it=Ns(J.type,J._source,Be?Be.type:null);ae(it)}else ae(null)}var on;on=!1;function ts(){if(Q.current){var J=ot(Q.current.type);if(J)return`
|
|
33
|
+
|
|
34
|
+
Check the render method of \``+J+"`."}return""}function ni(J){if(J!==void 0){var Be=J.fileName.replace(/^.*[\\\/]/,""),it=J.lineNumber;return`
|
|
35
|
+
|
|
36
|
+
Check your code at `+Be+":"+it+"."}return""}function Aa(J){return J!=null?ni(J.__source):""}var qa={};function $a(J){var Be=ts();if(!Be){var it=typeof J=="string"?J:J.displayName||J.name;it&&(Be=`
|
|
37
|
+
|
|
38
|
+
Check the top-level render call using <`+it+">.")}return Be}function li(J,Be){if(!(!J._store||J._store.validated||J.key!=null)){J._store.validated=!0;var it=$a(Be);if(!qa[it]){qa[it]=!0;var St="";J&&J._owner&&J._owner!==Q.current&&(St=" It was passed a child from "+ot(J._owner.type)+"."),ra(J),ye('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',it,St),ra(null)}}}function Bo(J,Be){if(typeof J=="object"){if(Array.isArray(J))for(var it=0;it<J.length;it++){var St=J[it];yn(St)&&li(St,Be)}else if(yn(J))J._store&&(J._store.validated=!0);else if(J){var sn=L(J);if(typeof sn=="function"&&sn!==J.entries)for(var cr=sn.call(J),Zn;!(Zn=cr.next()).done;)yn(Zn.value)&&li(Zn.value,Be)}}}function Ii(J){{var Be=J.type;if(Be==null||typeof Be=="string")return;var it;if(typeof Be=="function")it=Be.propTypes;else if(typeof Be=="object"&&(Be.$$typeof===g||Be.$$typeof===y))it=Be.propTypes;else return;if(it){var St=ot(Be);Ma(it,J.props,"prop",St,J)}else if(Be.PropTypes!==void 0&&!on){on=!0;var sn=ot(Be);ye("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",sn||"Unknown")}typeof Be.getDefaultProps=="function"&&!Be.getDefaultProps.isReactClassApproved&&ye("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Jl(J){{for(var Be=Object.keys(J.props),it=0;it<Be.length;it++){var St=Be[it];if(St!=="children"&&St!=="key"){ra(J),ye("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",St),ra(null);break}}J.ref!==null&&(ra(J),ye("Invalid attribute `ref` supplied to `React.Fragment`."),ra(null))}}function xi(J,Be,it){var St=po(J);if(!St){var sn="";(J===void 0||typeof J=="object"&&J!==null&&Object.keys(J).length===0)&&(sn+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var cr=Aa(Be);cr?sn+=cr:sn+=ts();var Zn;J===null?Zn="null":Array.isArray(J)?Zn="array":J!==void 0&&J.$$typeof===o?(Zn="<"+(ot(J.type)||"Unknown")+" />",sn=" Did you accidentally export a JSX literal instead of a component?"):Zn=typeof J,ye("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Zn,sn)}var rr=ut.apply(this,arguments);if(rr==null)return rr;if(St)for(var Ln=2;Ln<arguments.length;Ln++)Bo(arguments[Ln],J);return J===e.Fragment?Jl(rr):Ii(rr),rr}var Si=!1;function Ya(J){var Be=xi.bind(null,J);return Be.type=J,Si||(Si=!0,Pe("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(Be,"type",{enumerable:!1,get:function(){return Pe("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:J}),J}}),Be}function gs(J,Be,it){for(var St=En.apply(this,arguments),sn=2;sn<arguments.length;sn++)Bo(arguments[sn],St.type);return Ii(St),St}try{var Ia=Object.freeze({})}catch{}var ml=xi,gl=gs,Ms=Ya,yl={map:vn,forEach:mn,count:zt,toArray:Xn,only:Pr};e.Children=yl,e.Component=ke,e.PureComponent=Oe,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=xe,e.cloneElement=gl,e.createContext=lo,e.createElement=ml,e.createFactory=Ms,e.createRef=ze,e.forwardRef=mo,e.isValidElement=yn,e.lazy=$r,e.memo=ea,e.useCallback=jn,e.useContext=ka,e.useDebugValue=io,e.useEffect=Fn,e.useImperativeHandle=mr,e.useLayoutEffect=tr,e.useMemo=vr,e.useReducer=At,e.useRef=Qt,e.useState=Ne,e.version=n}()}(Lw)),Lw}process.env.NODE_ENV==="production"?jw.exports=pj():jw.exports=hj();var $=jw.exports;const xa=nm($),_0=py({__proto__:null,default:xa},[$]);/** @license React v17.0.2
|
|
39
|
+
* react-jsx-runtime.production.min.js
|
|
40
|
+
*
|
|
41
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
42
|
+
*
|
|
43
|
+
* This source code is licensed under the MIT license found in the
|
|
44
|
+
* LICENSE file in the root directory of this source tree.
|
|
45
|
+
*/var yP;function vj(){if(yP)return rm;yP=1,Ch();var e=$,t=60103;if(rm.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var n=Symbol.for;t=n("react.element"),rm.Fragment=n("react.fragment")}var o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,p={key:!0,ref:!0,__self:!0,__source:!0};function u(g,b,y){var C,w={},O=null,P=null;y!==void 0&&(O=""+y),b.key!==void 0&&(O=""+b.key),b.ref!==void 0&&(P=b.ref);for(C in b)s.call(b,C)&&!p.hasOwnProperty(C)&&(w[C]=b[C]);if(g&&g.defaultProps)for(C in b=g.defaultProps,b)w[C]===void 0&&(w[C]=b[C]);return{$$typeof:t,type:g,key:O,ref:P,props:w,_owner:o.current}}return rm.jsx=u,rm.jsxs=u,rm}var Bw={};/** @license React v17.0.2
|
|
46
|
+
* react-jsx-runtime.development.js
|
|
47
|
+
*
|
|
48
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
49
|
+
*
|
|
50
|
+
* This source code is licensed under the MIT license found in the
|
|
51
|
+
* LICENSE file in the root directory of this source tree.
|
|
52
|
+
*/var bP;function mj(){return bP||(bP=1,function(e){process.env.NODE_ENV!=="production"&&function(){var t=$,n=Ch(),o=60103,s=60106;e.Fragment=60107;var p=60108,u=60114,g=60109,b=60110,y=60112,C=60113,w=60120,O=60115,P=60116,D=60121,I=60122,j=60117,z=60129,H=60131;if(typeof Symbol=="function"&&Symbol.for){var L=Symbol.for;o=L("react.element"),s=L("react.portal"),e.Fragment=L("react.fragment"),p=L("react.strict_mode"),u=L("react.profiler"),g=L("react.provider"),b=L("react.context"),y=L("react.forward_ref"),C=L("react.suspense"),w=L("react.suspense_list"),O=L("react.memo"),P=L("react.lazy"),D=L("react.block"),I=L("react.server.block"),j=L("react.fundamental"),L("react.scope"),L("react.opaque.id"),z=L("react.debug_trace_mode"),L("react.offscreen"),H=L("react.legacy_hidden")}var U=typeof Symbol=="function"&&Symbol.iterator,A="@@iterator";function Q(Ne){if(Ne===null||typeof Ne!="object")return null;var At=U&&Ne[U]||Ne[A];return typeof At=="function"?At:null}var te=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function ue(Ne){{for(var At=arguments.length,Qt=new Array(At>1?At-1:0),Fn=1;Fn<At;Fn++)Qt[Fn-1]=arguments[Fn];ae("error",Ne,Qt)}}function ae(Ne,At,Qt){{var Fn=te.ReactDebugCurrentFrame,tr=Fn.getStackAddendum();tr!==""&&(At+="%s",Qt=Qt.concat([tr]));var jn=Qt.map(function(vr){return""+vr});jn.unshift("Warning: "+At),Function.prototype.apply.call(console[Ne],console,jn)}}var pe=!1;function xe(Ne){return!!(typeof Ne=="string"||typeof Ne=="function"||Ne===e.Fragment||Ne===u||Ne===z||Ne===p||Ne===C||Ne===w||Ne===H||pe||typeof Ne=="object"&&Ne!==null&&(Ne.$$typeof===P||Ne.$$typeof===O||Ne.$$typeof===g||Ne.$$typeof===b||Ne.$$typeof===y||Ne.$$typeof===j||Ne.$$typeof===D||Ne[0]===I))}function Pe(Ne,At,Qt){var Fn=At.displayName||At.name||"";return Ne.displayName||(Fn!==""?Qt+"("+Fn+")":Qt)}function ye(Ne){return Ne.displayName||"Context"}function de(Ne){if(Ne==null)return null;if(typeof Ne.tag=="number"&&ue("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof Ne=="function")return Ne.displayName||Ne.name||null;if(typeof Ne=="string")return Ne;switch(Ne){case e.Fragment:return"Fragment";case s:return"Portal";case u:return"Profiler";case p:return"StrictMode";case C:return"Suspense";case w:return"SuspenseList"}if(typeof Ne=="object")switch(Ne.$$typeof){case b:var At=Ne;return ye(At)+".Consumer";case g:var Qt=Ne;return ye(Qt._context)+".Provider";case y:return Pe(Ne,Ne.render,"ForwardRef");case O:return de(Ne.type);case D:return de(Ne._render);case P:{var Fn=Ne,tr=Fn._payload,jn=Fn._init;try{return de(jn(tr))}catch{return null}}}return null}var fe=0,Se,re,ce,ke,Ce,ge,Me;function Le(){}Le.__reactDisabledLog=!0;function Oe(){{if(fe===0){Se=console.log,re=console.info,ce=console.warn,ke=console.error,Ce=console.group,ge=console.groupCollapsed,Me=console.groupEnd;var Ne={configurable:!0,enumerable:!0,value:Le,writable:!0};Object.defineProperties(console,{info:Ne,log:Ne,warn:Ne,error:Ne,group:Ne,groupCollapsed:Ne,groupEnd:Ne})}fe++}}function Ve(){{if(fe--,fe===0){var Ne={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:n({},Ne,{value:Se}),info:n({},Ne,{value:re}),warn:n({},Ne,{value:ce}),error:n({},Ne,{value:ke}),group:n({},Ne,{value:Ce}),groupCollapsed:n({},Ne,{value:ge}),groupEnd:n({},Ne,{value:Me})})}fe<0&&ue("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ze=te.ReactCurrentDispatcher,We;function Ye(Ne,At,Qt){{if(We===void 0)try{throw Error()}catch(tr){var Fn=tr.stack.trim().match(/\n( *(at )?)/);We=Fn&&Fn[1]||""}return`
|
|
53
|
+
`+We+Ne}}var ot=!1,yt;{var Ze=typeof WeakMap=="function"?WeakMap:Map;yt=new Ze}function Te(Ne,At){if(!Ne||ot)return"";{var Qt=yt.get(Ne);if(Qt!==void 0)return Qt}var Fn;ot=!0;var tr=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var jn;jn=ze.current,ze.current=null,Oe();try{if(At){var vr=function(){throw Error()};if(Object.defineProperty(vr.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(vr,[])}catch(Mo){Fn=Mo}Reflect.construct(Ne,[],vr)}else{try{vr.call()}catch(Mo){Fn=Mo}Ne.call(vr.prototype)}}else{try{throw Error()}catch(Mo){Fn=Mo}Ne()}}catch(Mo){if(Mo&&Fn&&typeof Mo.stack=="string"){for(var mr=Mo.stack.split(`
|
|
54
|
+
`),io=Fn.stack.split(`
|
|
55
|
+
`),Vr=mr.length-1,eo=io.length-1;Vr>=1&&eo>=0&&mr[Vr]!==io[eo];)eo--;for(;Vr>=1&&eo>=0;Vr--,eo--)if(mr[Vr]!==io[eo]){if(Vr!==1||eo!==1)do if(Vr--,eo--,eo<0||mr[Vr]!==io[eo]){var ei=`
|
|
56
|
+
`+mr[Vr].replace(" at new "," at ");return typeof Ne=="function"&&yt.set(Ne,ei),ei}while(Vr>=1&&eo>=0);break}}}finally{ot=!1,ze.current=jn,Ve(),Error.prepareStackTrace=tr}var ti=Ne?Ne.displayName||Ne.name:"",Wi=ti?Ye(ti):"";return typeof Ne=="function"&&yt.set(Ne,Wi),Wi}function tt(Ne,At,Qt){return Te(Ne,!1)}function Ge(Ne){var At=Ne.prototype;return!!(At&&At.isReactComponent)}function et(Ne,At,Qt){if(Ne==null)return"";if(typeof Ne=="function")return Te(Ne,Ge(Ne));if(typeof Ne=="string")return Ye(Ne);switch(Ne){case C:return Ye("Suspense");case w:return Ye("SuspenseList")}if(typeof Ne=="object")switch(Ne.$$typeof){case y:return tt(Ne.render);case O:return et(Ne.type,At,Qt);case D:return tt(Ne._render);case P:{var Fn=Ne,tr=Fn._payload,jn=Fn._init;try{return et(jn(tr),At,Qt)}catch{}}}return""}var xt={},Yt=te.ReactDebugCurrentFrame;function _t(Ne){if(Ne){var At=Ne._owner,Qt=et(Ne.type,Ne._source,At?At.type:null);Yt.setExtraStackFrame(Qt)}else Yt.setExtraStackFrame(null)}function Jt(Ne,At,Qt,Fn,tr){{var jn=Function.call.bind(Object.prototype.hasOwnProperty);for(var vr in Ne)if(jn(Ne,vr)){var mr=void 0;try{if(typeof Ne[vr]!="function"){var io=Error((Fn||"React class")+": "+Qt+" type `"+vr+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof Ne[vr]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw io.name="Invariant Violation",io}mr=Ne[vr](At,vr,Fn,Qt,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Vr){mr=Vr}mr&&!(mr instanceof Error)&&(_t(tr),ue("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Fn||"React class",Qt,vr,typeof mr),_t(null)),mr instanceof Error&&!(mr.message in xt)&&(xt[mr.message]=!0,_t(tr),ue("Failed %s type: %s",Qt,mr.message),_t(null))}}}var rt=te.ReactCurrentOwner,ut=Object.prototype.hasOwnProperty,Kt={key:!0,ref:!0,__self:!0,__source:!0},En,yn,Hn;Hn={};function sr(Ne){if(ut.call(Ne,"ref")){var At=Object.getOwnPropertyDescriptor(Ne,"ref").get;if(At&&At.isReactWarning)return!1}return Ne.ref!==void 0}function Kn(Ne){if(ut.call(Ne,"key")){var At=Object.getOwnPropertyDescriptor(Ne,"key").get;if(At&&At.isReactWarning)return!1}return Ne.key!==void 0}function Gn(Ne,At){if(typeof Ne.ref=="string"&&rt.current&&At&&rt.current.stateNode!==At){var Qt=de(rt.current.type);Hn[Qt]||(ue('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',de(rt.current.type),Ne.ref),Hn[Qt]=!0)}}function xn(Ne,At){{var Qt=function(){En||(En=!0,ue("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",At))};Qt.isReactWarning=!0,Object.defineProperty(Ne,"key",{get:Qt,configurable:!0})}}function Or(Ne,At){{var Qt=function(){yn||(yn=!0,ue("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",At))};Qt.isReactWarning=!0,Object.defineProperty(Ne,"ref",{get:Qt,configurable:!0})}}var Vt=function(Ne,At,Qt,Fn,tr,jn,vr){var mr={$$typeof:o,type:Ne,key:At,ref:Qt,props:vr,_owner:jn};return mr._store={},Object.defineProperty(mr._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(mr,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Fn}),Object.defineProperty(mr,"_source",{configurable:!1,enumerable:!1,writable:!1,value:tr}),Object.freeze&&(Object.freeze(mr.props),Object.freeze(mr)),mr};function Xt(Ne,At,Qt,Fn,tr){{var jn,vr={},mr=null,io=null;Qt!==void 0&&(mr=""+Qt),Kn(At)&&(mr=""+At.key),sr(At)&&(io=At.ref,Gn(At,tr));for(jn in At)ut.call(At,jn)&&!Kt.hasOwnProperty(jn)&&(vr[jn]=At[jn]);if(Ne&&Ne.defaultProps){var Vr=Ne.defaultProps;for(jn in Vr)vr[jn]===void 0&&(vr[jn]=Vr[jn])}if(mr||io){var eo=typeof Ne=="function"?Ne.displayName||Ne.name||"Unknown":Ne;mr&&xn(vr,eo),io&&Or(vr,eo)}return Vt(Ne,mr,io,tr,Fn,rt.current,vr)}}var vn=te.ReactCurrentOwner,zt=te.ReactDebugCurrentFrame;function mn(Ne){if(Ne){var At=Ne._owner,Qt=et(Ne.type,Ne._source,At?At.type:null);zt.setExtraStackFrame(Qt)}else zt.setExtraStackFrame(null)}var Xn;Xn=!1;function Pr(Ne){return typeof Ne=="object"&&Ne!==null&&Ne.$$typeof===o}function lo(){{if(vn.current){var Ne=de(vn.current.type);if(Ne)return`
|
|
57
|
+
|
|
58
|
+
Check the render method of \``+Ne+"`."}return""}}function oo(Ne){return""}var No={};function Ui(Ne){{var At=lo();if(!At){var Qt=typeof Ne=="string"?Ne:Ne.displayName||Ne.name;Qt&&(At=`
|
|
59
|
+
|
|
60
|
+
Check the top-level render call using <`+Qt+">.")}return At}}function Zo(Ne,At){{if(!Ne._store||Ne._store.validated||Ne.key!=null)return;Ne._store.validated=!0;var Qt=Ui(At);if(No[Qt])return;No[Qt]=!0;var Fn="";Ne&&Ne._owner&&Ne._owner!==vn.current&&(Fn=" It was passed a child from "+de(Ne._owner.type)+"."),mn(Ne),ue('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Qt,Fn),mn(null)}}function $i(Ne,At){{if(typeof Ne!="object")return;if(Array.isArray(Ne))for(var Qt=0;Qt<Ne.length;Qt++){var Fn=Ne[Qt];Pr(Fn)&&Zo(Fn,At)}else if(Pr(Ne))Ne._store&&(Ne._store.validated=!0);else if(Ne){var tr=Q(Ne);if(typeof tr=="function"&&tr!==Ne.entries)for(var jn=tr.call(Ne),vr;!(vr=jn.next()).done;)Pr(vr.value)&&Zo(vr.value,At)}}}function $r(Ne){{var At=Ne.type;if(At==null||typeof At=="string")return;var Qt;if(typeof At=="function")Qt=At.propTypes;else if(typeof At=="object"&&(At.$$typeof===y||At.$$typeof===O))Qt=At.propTypes;else return;if(Qt){var Fn=de(At);Jt(Qt,Ne.props,"prop",Fn,Ne)}else if(At.PropTypes!==void 0&&!Xn){Xn=!0;var tr=de(At);ue("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",tr||"Unknown")}typeof At.getDefaultProps=="function"&&!At.getDefaultProps.isReactClassApproved&&ue("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function mo(Ne){{for(var At=Object.keys(Ne.props),Qt=0;Qt<At.length;Qt++){var Fn=At[Qt];if(Fn!=="children"&&Fn!=="key"){mn(Ne),ue("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Fn),mn(null);break}}Ne.ref!==null&&(mn(Ne),ue("Invalid attribute `ref` supplied to `React.Fragment`."),mn(null))}}function Oo(Ne,At,Qt,Fn,tr,jn){{var vr=xe(Ne);if(!vr){var mr="";(Ne===void 0||typeof Ne=="object"&&Ne!==null&&Object.keys(Ne).length===0)&&(mr+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var io=oo();io?mr+=io:mr+=lo();var Vr;Ne===null?Vr="null":Array.isArray(Ne)?Vr="array":Ne!==void 0&&Ne.$$typeof===o?(Vr="<"+(de(Ne.type)||"Unknown")+" />",mr=" Did you accidentally export a JSX literal instead of a component?"):Vr=typeof Ne,ue("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Vr,mr)}var eo=Xt(Ne,At,Qt,tr,jn);if(eo==null)return eo;if(vr){var ei=At.children;if(ei!==void 0)if(Fn)if(Array.isArray(ei)){for(var ti=0;ti<ei.length;ti++)$i(ei[ti],Ne);Object.freeze&&Object.freeze(ei)}else ue("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else $i(ei,Ne)}return Ne===e.Fragment?mo(eo):$r(eo),eo}}function po(Ne,At,Qt){return Oo(Ne,At,Qt,!0)}function ea(Ne,At,Qt){return Oo(Ne,At,Qt,!1)}var wo=ea,ka=po;e.jsx=wo,e.jsxs=ka}()}(Bw)),Bw}process.env.NODE_ENV==="production"?Iw.exports=vj():Iw.exports=mj();var B=Iw.exports;function Ot(e,t){if(e==null)return{};var n={},o=Object.keys(e),s,p;for(p=0;p<o.length;p++)s=o[p],!(t.indexOf(s)>=0)&&(n[s]=e[s]);return n}function V(){return V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},V.apply(this,arguments)}var Vw={exports:{}},O0={exports:{}},Uo={};/** @license React v16.13.1
|
|
61
|
+
* react-is.production.min.js
|
|
62
|
+
*
|
|
63
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
64
|
+
*
|
|
65
|
+
* This source code is licensed under the MIT license found in the
|
|
66
|
+
* LICENSE file in the root directory of this source tree.
|
|
67
|
+
*/var xP;function gj(){if(xP)return Uo;xP=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,s=e?Symbol.for("react.strict_mode"):60108,p=e?Symbol.for("react.profiler"):60114,u=e?Symbol.for("react.provider"):60109,g=e?Symbol.for("react.context"):60110,b=e?Symbol.for("react.async_mode"):60111,y=e?Symbol.for("react.concurrent_mode"):60111,C=e?Symbol.for("react.forward_ref"):60112,w=e?Symbol.for("react.suspense"):60113,O=e?Symbol.for("react.suspense_list"):60120,P=e?Symbol.for("react.memo"):60115,D=e?Symbol.for("react.lazy"):60116,I=e?Symbol.for("react.block"):60121,j=e?Symbol.for("react.fundamental"):60117,z=e?Symbol.for("react.responder"):60118,H=e?Symbol.for("react.scope"):60119;function L(A){if(typeof A=="object"&&A!==null){var Q=A.$$typeof;switch(Q){case t:switch(A=A.type,A){case b:case y:case o:case p:case s:case w:return A;default:switch(A=A&&A.$$typeof,A){case g:case C:case D:case P:case u:return A;default:return Q}}case n:return Q}}}function U(A){return L(A)===y}return Uo.AsyncMode=b,Uo.ConcurrentMode=y,Uo.ContextConsumer=g,Uo.ContextProvider=u,Uo.Element=t,Uo.ForwardRef=C,Uo.Fragment=o,Uo.Lazy=D,Uo.Memo=P,Uo.Portal=n,Uo.Profiler=p,Uo.StrictMode=s,Uo.Suspense=w,Uo.isAsyncMode=function(A){return U(A)||L(A)===b},Uo.isConcurrentMode=U,Uo.isContextConsumer=function(A){return L(A)===g},Uo.isContextProvider=function(A){return L(A)===u},Uo.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===t},Uo.isForwardRef=function(A){return L(A)===C},Uo.isFragment=function(A){return L(A)===o},Uo.isLazy=function(A){return L(A)===D},Uo.isMemo=function(A){return L(A)===P},Uo.isPortal=function(A){return L(A)===n},Uo.isProfiler=function(A){return L(A)===p},Uo.isStrictMode=function(A){return L(A)===s},Uo.isSuspense=function(A){return L(A)===w},Uo.isValidElementType=function(A){return typeof A=="string"||typeof A=="function"||A===o||A===y||A===p||A===s||A===w||A===O||typeof A=="object"&&A!==null&&(A.$$typeof===D||A.$$typeof===P||A.$$typeof===u||A.$$typeof===g||A.$$typeof===C||A.$$typeof===j||A.$$typeof===z||A.$$typeof===H||A.$$typeof===I)},Uo.typeOf=L,Uo}var Wo={};/** @license React v16.13.1
|
|
68
|
+
* react-is.development.js
|
|
69
|
+
*
|
|
70
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
71
|
+
*
|
|
72
|
+
* This source code is licensed under the MIT license found in the
|
|
73
|
+
* LICENSE file in the root directory of this source tree.
|
|
74
|
+
*/var SP;function yj(){return SP||(SP=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,s=e?Symbol.for("react.strict_mode"):60108,p=e?Symbol.for("react.profiler"):60114,u=e?Symbol.for("react.provider"):60109,g=e?Symbol.for("react.context"):60110,b=e?Symbol.for("react.async_mode"):60111,y=e?Symbol.for("react.concurrent_mode"):60111,C=e?Symbol.for("react.forward_ref"):60112,w=e?Symbol.for("react.suspense"):60113,O=e?Symbol.for("react.suspense_list"):60120,P=e?Symbol.for("react.memo"):60115,D=e?Symbol.for("react.lazy"):60116,I=e?Symbol.for("react.block"):60121,j=e?Symbol.for("react.fundamental"):60117,z=e?Symbol.for("react.responder"):60118,H=e?Symbol.for("react.scope"):60119;function L(Te){return typeof Te=="string"||typeof Te=="function"||Te===o||Te===y||Te===p||Te===s||Te===w||Te===O||typeof Te=="object"&&Te!==null&&(Te.$$typeof===D||Te.$$typeof===P||Te.$$typeof===u||Te.$$typeof===g||Te.$$typeof===C||Te.$$typeof===j||Te.$$typeof===z||Te.$$typeof===H||Te.$$typeof===I)}function U(Te){if(typeof Te=="object"&&Te!==null){var tt=Te.$$typeof;switch(tt){case t:var Ge=Te.type;switch(Ge){case b:case y:case o:case p:case s:case w:return Ge;default:var et=Ge&&Ge.$$typeof;switch(et){case g:case C:case D:case P:case u:return et;default:return tt}}case n:return tt}}}var A=b,Q=y,te=g,ue=u,ae=t,pe=C,xe=o,Pe=D,ye=P,de=n,fe=p,Se=s,re=w,ce=!1;function ke(Te){return ce||(ce=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Ce(Te)||U(Te)===b}function Ce(Te){return U(Te)===y}function ge(Te){return U(Te)===g}function Me(Te){return U(Te)===u}function Le(Te){return typeof Te=="object"&&Te!==null&&Te.$$typeof===t}function Oe(Te){return U(Te)===C}function Ve(Te){return U(Te)===o}function ze(Te){return U(Te)===D}function We(Te){return U(Te)===P}function Ye(Te){return U(Te)===n}function ot(Te){return U(Te)===p}function yt(Te){return U(Te)===s}function Ze(Te){return U(Te)===w}Wo.AsyncMode=A,Wo.ConcurrentMode=Q,Wo.ContextConsumer=te,Wo.ContextProvider=ue,Wo.Element=ae,Wo.ForwardRef=pe,Wo.Fragment=xe,Wo.Lazy=Pe,Wo.Memo=ye,Wo.Portal=de,Wo.Profiler=fe,Wo.StrictMode=Se,Wo.Suspense=re,Wo.isAsyncMode=ke,Wo.isConcurrentMode=Ce,Wo.isContextConsumer=ge,Wo.isContextProvider=Me,Wo.isElement=Le,Wo.isForwardRef=Oe,Wo.isFragment=Ve,Wo.isLazy=ze,Wo.isMemo=We,Wo.isPortal=Ye,Wo.isProfiler=ot,Wo.isStrictMode=yt,Wo.isSuspense=Ze,Wo.isValidElementType=L,Wo.typeOf=U}()),Wo}var CP;function wP(){return CP||(CP=1,process.env.NODE_ENV==="production"?O0.exports=gj():O0.exports=yj()),O0.exports}var zw,RP;function Uw(){if(RP)return zw;RP=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return zw=e,zw}var Ww,EP;function TP(){return EP||(EP=1,Ww=Function.call.bind(Object.prototype.hasOwnProperty)),Ww}var Hw,_P;function bj(){if(_P)return Hw;_P=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Uw(),n={},o=TP();e=function(p){var u="Warning: "+p;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}}}function s(p,u,g,b,y){if(process.env.NODE_ENV!=="production"){for(var C in p)if(o(p,C)){var w;try{if(typeof p[C]!="function"){var O=Error((b||"React class")+": "+g+" type `"+C+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof p[C]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw O.name="Invariant Violation",O}w=p[C](u,C,b,g,null,t)}catch(D){w=D}if(w&&!(w instanceof Error)&&e((b||"React class")+": type specification of "+g+" `"+C+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof w+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),w instanceof Error&&!(w.message in n)){n[w.message]=!0;var P=y?y():"";e("Failed "+g+" type: "+w.message+(P??""))}}}}return s.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},Hw=s,Hw}var Gw,OP;function xj(){if(OP)return Gw;OP=1;var e=wP(),t=Ch(),n=Uw(),o=TP(),s=bj(),p=function(){};process.env.NODE_ENV!=="production"&&(p=function(g){var b="Warning: "+g;typeof console<"u"&&console.error(b);try{throw new Error(b)}catch{}});function u(){return null}return Gw=function(g,b){var y=typeof Symbol=="function"&&Symbol.iterator,C="@@iterator";function w(Ce){var ge=Ce&&(y&&Ce[y]||Ce[C]);if(typeof ge=="function")return ge}var O="<<anonymous>>",P={array:z("array"),bigint:z("bigint"),bool:z("boolean"),func:z("function"),number:z("number"),object:z("object"),string:z("string"),symbol:z("symbol"),any:H(),arrayOf:L,element:U(),elementType:A(),instanceOf:Q,node:pe(),objectOf:ue,oneOf:te,oneOfType:ae,shape:Pe,exact:ye};function D(Ce,ge){return Ce===ge?Ce!==0||1/Ce===1/ge:Ce!==Ce&&ge!==ge}function I(Ce,ge){this.message=Ce,this.data=ge&&typeof ge=="object"?ge:{},this.stack=""}I.prototype=Error.prototype;function j(Ce){if(process.env.NODE_ENV!=="production")var ge={},Me=0;function Le(Ve,ze,We,Ye,ot,yt,Ze){if(Ye=Ye||O,yt=yt||We,Ze!==n){if(b){var Te=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw Te.name="Invariant Violation",Te}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var tt=Ye+":"+We;!ge[tt]&&Me<3&&(p("You are manually calling a React.PropTypes validation function for the `"+yt+"` prop on `"+Ye+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),ge[tt]=!0,Me++)}}return ze[We]==null?Ve?ze[We]===null?new I("The "+ot+" `"+yt+"` is marked as required "+("in `"+Ye+"`, but its value is `null`.")):new I("The "+ot+" `"+yt+"` is marked as required in "+("`"+Ye+"`, but its value is `undefined`.")):null:Ce(ze,We,Ye,ot,yt)}var Oe=Le.bind(null,!1);return Oe.isRequired=Le.bind(null,!0),Oe}function z(Ce){function ge(Me,Le,Oe,Ve,ze,We){var Ye=Me[Le],ot=Se(Ye);if(ot!==Ce){var yt=re(Ye);return new I("Invalid "+Ve+" `"+ze+"` of type "+("`"+yt+"` supplied to `"+Oe+"`, expected ")+("`"+Ce+"`."),{expectedType:Ce})}return null}return j(ge)}function H(){return j(u)}function L(Ce){function ge(Me,Le,Oe,Ve,ze){if(typeof Ce!="function")return new I("Property `"+ze+"` of component `"+Oe+"` has invalid PropType notation inside arrayOf.");var We=Me[Le];if(!Array.isArray(We)){var Ye=Se(We);return new I("Invalid "+Ve+" `"+ze+"` of type "+("`"+Ye+"` supplied to `"+Oe+"`, expected an array."))}for(var ot=0;ot<We.length;ot++){var yt=Ce(We,ot,Oe,Ve,ze+"["+ot+"]",n);if(yt instanceof Error)return yt}return null}return j(ge)}function U(){function Ce(ge,Me,Le,Oe,Ve){var ze=ge[Me];if(!g(ze)){var We=Se(ze);return new I("Invalid "+Oe+" `"+Ve+"` of type "+("`"+We+"` supplied to `"+Le+"`, expected a single ReactElement."))}return null}return j(Ce)}function A(){function Ce(ge,Me,Le,Oe,Ve){var ze=ge[Me];if(!e.isValidElementType(ze)){var We=Se(ze);return new I("Invalid "+Oe+" `"+Ve+"` of type "+("`"+We+"` supplied to `"+Le+"`, expected a single ReactElement type."))}return null}return j(Ce)}function Q(Ce){function ge(Me,Le,Oe,Ve,ze){if(!(Me[Le]instanceof Ce)){var We=Ce.name||O,Ye=ke(Me[Le]);return new I("Invalid "+Ve+" `"+ze+"` of type "+("`"+Ye+"` supplied to `"+Oe+"`, expected ")+("instance of `"+We+"`."))}return null}return j(ge)}function te(Ce){if(!Array.isArray(Ce))return process.env.NODE_ENV!=="production"&&(arguments.length>1?p("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):p("Invalid argument supplied to oneOf, expected an array.")),u;function ge(Me,Le,Oe,Ve,ze){for(var We=Me[Le],Ye=0;Ye<Ce.length;Ye++)if(D(We,Ce[Ye]))return null;var ot=JSON.stringify(Ce,function(Ze,Te){var tt=re(Te);return tt==="symbol"?String(Te):Te});return new I("Invalid "+Ve+" `"+ze+"` of value `"+String(We)+"` "+("supplied to `"+Oe+"`, expected one of "+ot+"."))}return j(ge)}function ue(Ce){function ge(Me,Le,Oe,Ve,ze){if(typeof Ce!="function")return new I("Property `"+ze+"` of component `"+Oe+"` has invalid PropType notation inside objectOf.");var We=Me[Le],Ye=Se(We);if(Ye!=="object")return new I("Invalid "+Ve+" `"+ze+"` of type "+("`"+Ye+"` supplied to `"+Oe+"`, expected an object."));for(var ot in We)if(o(We,ot)){var yt=Ce(We,ot,Oe,Ve,ze+"."+ot,n);if(yt instanceof Error)return yt}return null}return j(ge)}function ae(Ce){if(!Array.isArray(Ce))return process.env.NODE_ENV!=="production"&&p("Invalid argument supplied to oneOfType, expected an instance of array."),u;for(var ge=0;ge<Ce.length;ge++){var Me=Ce[ge];if(typeof Me!="function")return p("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ce(Me)+" at index "+ge+"."),u}function Le(Oe,Ve,ze,We,Ye){for(var ot=[],yt=0;yt<Ce.length;yt++){var Ze=Ce[yt],Te=Ze(Oe,Ve,ze,We,Ye,n);if(Te==null)return null;Te.data&&o(Te.data,"expectedType")&&ot.push(Te.data.expectedType)}var tt=ot.length>0?", expected one of type ["+ot.join(", ")+"]":"";return new I("Invalid "+We+" `"+Ye+"` supplied to "+("`"+ze+"`"+tt+"."))}return j(Le)}function pe(){function Ce(ge,Me,Le,Oe,Ve){return de(ge[Me])?null:new I("Invalid "+Oe+" `"+Ve+"` supplied to "+("`"+Le+"`, expected a ReactNode."))}return j(Ce)}function xe(Ce,ge,Me,Le,Oe){return new I((Ce||"React class")+": "+ge+" type `"+Me+"."+Le+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+Oe+"`.")}function Pe(Ce){function ge(Me,Le,Oe,Ve,ze){var We=Me[Le],Ye=Se(We);if(Ye!=="object")return new I("Invalid "+Ve+" `"+ze+"` of type `"+Ye+"` "+("supplied to `"+Oe+"`, expected `object`."));for(var ot in Ce){var yt=Ce[ot];if(typeof yt!="function")return xe(Oe,Ve,ze,ot,re(yt));var Ze=yt(We,ot,Oe,Ve,ze+"."+ot,n);if(Ze)return Ze}return null}return j(ge)}function ye(Ce){function ge(Me,Le,Oe,Ve,ze){var We=Me[Le],Ye=Se(We);if(Ye!=="object")return new I("Invalid "+Ve+" `"+ze+"` of type `"+Ye+"` "+("supplied to `"+Oe+"`, expected `object`."));var ot=t({},Me[Le],Ce);for(var yt in ot){var Ze=Ce[yt];if(o(Ce,yt)&&typeof Ze!="function")return xe(Oe,Ve,ze,yt,re(Ze));if(!Ze)return new I("Invalid "+Ve+" `"+ze+"` key `"+yt+"` supplied to `"+Oe+"`.\nBad object: "+JSON.stringify(Me[Le],null," ")+`
|
|
75
|
+
Valid keys: `+JSON.stringify(Object.keys(Ce),null," "));var Te=Ze(We,yt,Oe,Ve,ze+"."+yt,n);if(Te)return Te}return null}return j(ge)}function de(Ce){switch(typeof Ce){case"number":case"string":case"undefined":return!0;case"boolean":return!Ce;case"object":if(Array.isArray(Ce))return Ce.every(de);if(Ce===null||g(Ce))return!0;var ge=w(Ce);if(ge){var Me=ge.call(Ce),Le;if(ge!==Ce.entries){for(;!(Le=Me.next()).done;)if(!de(Le.value))return!1}else for(;!(Le=Me.next()).done;){var Oe=Le.value;if(Oe&&!de(Oe[1]))return!1}}else return!1;return!0;default:return!1}}function fe(Ce,ge){return Ce==="symbol"?!0:ge?ge["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&ge instanceof Symbol:!1}function Se(Ce){var ge=typeof Ce;return Array.isArray(Ce)?"array":Ce instanceof RegExp?"object":fe(ge,Ce)?"symbol":ge}function re(Ce){if(typeof Ce>"u"||Ce===null)return""+Ce;var ge=Se(Ce);if(ge==="object"){if(Ce instanceof Date)return"date";if(Ce instanceof RegExp)return"regexp"}return ge}function ce(Ce){var ge=re(Ce);switch(ge){case"array":case"object":return"an "+ge;case"boolean":case"date":case"regexp":return"a "+ge;default:return ge}}function ke(Ce){return!Ce.constructor||!Ce.constructor.name?O:Ce.constructor.name}return P.checkPropTypes=s,P.resetWarningCache=s.resetWarningCache,P.PropTypes=P,P},Gw}var qw,PP;function Sj(){if(PP)return qw;PP=1;var e=Uw();function t(){}function n(){}return n.resetWarningCache=t,qw=function(){function o(u,g,b,y,C,w){if(w!==e){var O=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw O.name="Invariant Violation",O}}o.isRequired=o;function s(){return o}var p={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:s,element:o,elementType:o,instanceOf:s,node:o,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:n,resetWarningCache:t};return p.PropTypes=p,p},qw}if(process.env.NODE_ENV!=="production"){var Cj=wP(),wj=!0;Vw.exports=xj()(Cj.isElement,wj)}else Vw.exports=Sj()();var Rj=Vw.exports;const a=nm(Rj);function DP(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=DP(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function tn(){for(var e,t,n=0,o="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=DP(e))&&(o&&(o+=" "),o+=t);return o}function Jd(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...o){return e(...o)||t(...o)}}function ef(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function kP(e){if(!ef(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=kP(e[n])}),t}function Os(e,t,n={clone:!0}){const o=n.clone?V({},e):e;return ef(e)&&ef(t)&&Object.keys(t).forEach(s=>{s!=="__proto__"&&(ef(t[s])&&s in e&&ef(e[s])?o[s]=Os(e[s],t[s],n):n.clone?o[s]=ef(t[s])?kP(t[s]):t[s]:o[s]=t[s])}),o}function Ej(e){const{prototype:t={}}=e;return!!t.isReactComponent}function NP(e,t,n,o,s){const p=e[t],u=s||t;if(p==null||typeof window>"u")return null;let g;const b=p.type;return typeof b=="function"&&!Ej(b)&&(g="Did you accidentally use a plain function component for an element instead?"),g!==void 0?new Error(`Invalid ${o} \`${u}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${g} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const om=Jd(a.element,NP);om.isRequired=Jd(a.element.isRequired,NP);function Tj(e){const{prototype:t={}}=e;return!!t.isReactComponent}function _j(e,t,n,o,s){const p=e[t],u=s||t;if(p==null||typeof window>"u")return null;let g;return typeof p=="function"&&!Tj(p)&&(g="Did you accidentally provide a plain function component instead?"),g!==void 0?new Error(`Invalid ${o} \`${u}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${g} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const im=Jd(a.elementType,_j),Oj="exact-prop: ";function Yw(e){return process.env.NODE_ENV==="production"?e:V({},e,{[Oj]:t=>{const n=Object.keys(t).filter(o=>!e.hasOwnProperty(o));return n.length>0?new Error(`The following props are not supported: ${n.map(o=>`\`${o}\``).join(", ")}. Please remove them.`):null}})}function sp(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."}var Kw={exports:{}},Ho={};/**
|
|
76
|
+
* @license React
|
|
77
|
+
* react-is.production.min.js
|
|
78
|
+
*
|
|
79
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
80
|
+
*
|
|
81
|
+
* This source code is licensed under the MIT license found in the
|
|
82
|
+
* LICENSE file in the root directory of this source tree.
|
|
83
|
+
*/var MP;function Pj(){if(MP)return Ho;MP=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),p=Symbol.for("react.provider"),u=Symbol.for("react.context"),g=Symbol.for("react.server_context"),b=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),P=Symbol.for("react.offscreen"),D;D=Symbol.for("react.module.reference");function I(j){if(typeof j=="object"&&j!==null){var z=j.$$typeof;switch(z){case e:switch(j=j.type,j){case n:case s:case o:case y:case C:return j;default:switch(j=j&&j.$$typeof,j){case g:case u:case b:case O:case w:case p:return j;default:return z}}case t:return z}}}return Ho.ContextConsumer=u,Ho.ContextProvider=p,Ho.Element=e,Ho.ForwardRef=b,Ho.Fragment=n,Ho.Lazy=O,Ho.Memo=w,Ho.Portal=t,Ho.Profiler=s,Ho.StrictMode=o,Ho.Suspense=y,Ho.SuspenseList=C,Ho.isAsyncMode=function(){return!1},Ho.isConcurrentMode=function(){return!1},Ho.isContextConsumer=function(j){return I(j)===u},Ho.isContextProvider=function(j){return I(j)===p},Ho.isElement=function(j){return typeof j=="object"&&j!==null&&j.$$typeof===e},Ho.isForwardRef=function(j){return I(j)===b},Ho.isFragment=function(j){return I(j)===n},Ho.isLazy=function(j){return I(j)===O},Ho.isMemo=function(j){return I(j)===w},Ho.isPortal=function(j){return I(j)===t},Ho.isProfiler=function(j){return I(j)===s},Ho.isStrictMode=function(j){return I(j)===o},Ho.isSuspense=function(j){return I(j)===y},Ho.isSuspenseList=function(j){return I(j)===C},Ho.isValidElementType=function(j){return typeof j=="string"||typeof j=="function"||j===n||j===s||j===o||j===y||j===C||j===P||typeof j=="object"&&j!==null&&(j.$$typeof===O||j.$$typeof===w||j.$$typeof===p||j.$$typeof===u||j.$$typeof===b||j.$$typeof===D||j.getModuleId!==void 0)},Ho.typeOf=I,Ho}var Go={};/**
|
|
84
|
+
* @license React
|
|
85
|
+
* react-is.development.js
|
|
86
|
+
*
|
|
87
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
88
|
+
*
|
|
89
|
+
* This source code is licensed under the MIT license found in the
|
|
90
|
+
* LICENSE file in the root directory of this source tree.
|
|
91
|
+
*/var AP;function Dj(){return AP||(AP=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),p=Symbol.for("react.provider"),u=Symbol.for("react.context"),g=Symbol.for("react.server_context"),b=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),P=Symbol.for("react.offscreen"),D=!1,I=!1,j=!1,z=!1,H=!1,L;L=Symbol.for("react.module.reference");function U(Ge){return!!(typeof Ge=="string"||typeof Ge=="function"||Ge===n||Ge===s||H||Ge===o||Ge===y||Ge===C||z||Ge===P||D||I||j||typeof Ge=="object"&&Ge!==null&&(Ge.$$typeof===O||Ge.$$typeof===w||Ge.$$typeof===p||Ge.$$typeof===u||Ge.$$typeof===b||Ge.$$typeof===L||Ge.getModuleId!==void 0))}function A(Ge){if(typeof Ge=="object"&&Ge!==null){var et=Ge.$$typeof;switch(et){case e:var xt=Ge.type;switch(xt){case n:case s:case o:case y:case C:return xt;default:var Yt=xt&&xt.$$typeof;switch(Yt){case g:case u:case b:case O:case w:case p:return Yt;default:return et}}case t:return et}}}var Q=u,te=p,ue=e,ae=b,pe=n,xe=O,Pe=w,ye=t,de=s,fe=o,Se=y,re=C,ce=!1,ke=!1;function Ce(Ge){return ce||(ce=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ge(Ge){return ke||(ke=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Me(Ge){return A(Ge)===u}function Le(Ge){return A(Ge)===p}function Oe(Ge){return typeof Ge=="object"&&Ge!==null&&Ge.$$typeof===e}function Ve(Ge){return A(Ge)===b}function ze(Ge){return A(Ge)===n}function We(Ge){return A(Ge)===O}function Ye(Ge){return A(Ge)===w}function ot(Ge){return A(Ge)===t}function yt(Ge){return A(Ge)===s}function Ze(Ge){return A(Ge)===o}function Te(Ge){return A(Ge)===y}function tt(Ge){return A(Ge)===C}Go.ContextConsumer=Q,Go.ContextProvider=te,Go.Element=ue,Go.ForwardRef=ae,Go.Fragment=pe,Go.Lazy=xe,Go.Memo=Pe,Go.Portal=ye,Go.Profiler=de,Go.StrictMode=fe,Go.Suspense=Se,Go.SuspenseList=re,Go.isAsyncMode=Ce,Go.isConcurrentMode=ge,Go.isContextConsumer=Me,Go.isContextProvider=Le,Go.isElement=Oe,Go.isForwardRef=Ve,Go.isFragment=ze,Go.isLazy=We,Go.isMemo=Ye,Go.isPortal=ot,Go.isProfiler=yt,Go.isStrictMode=Ze,Go.isSuspense=Te,Go.isSuspenseList=tt,Go.isValidElementType=U,Go.typeOf=A}()),Go}process.env.NODE_ENV==="production"?Kw.exports=Pj():Kw.exports=Dj();var hy=Kw.exports;const kj=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Nj(e){const t=`${e}`.match(kj);return t&&t[1]||""}function $P(e,t=""){return e.displayName||e.name||Nj(e)||t}function IP(e,t,n){const o=$P(t);return e.displayName||(o!==""?`${n}(${o})`:n)}function am(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return $P(e,"Component");if(typeof e=="object")switch(e.$$typeof){case hy.ForwardRef:return IP(e,e.render,"ForwardRef");case hy.Memo:return IP(e,e.type,"memo");default:return}}}function tf(e,t,n,o,s){if(process.env.NODE_ENV==="production")return null;const p=e[t],u=s||t;return p==null?null:p&&p.nodeType!==1?new Error(`Invalid ${o} \`${u}\` supplied to \`${n}\`. Expected an HTMLElement.`):null}const qs=a.oneOfType([a.func,a.object]);function Ft(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":sp(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Xw(...e){return e.reduce((t,n)=>n==null?t:function(...s){t.apply(this,s),n.apply(this,s)},()=>{})}function Qw(e,t=166){let n;function o(...s){const p=()=>{e.apply(this,s)};clearTimeout(n),n=setTimeout(p,t)}return o.clear=()=>{clearTimeout(n)},o}function Mj(e,t){return process.env.NODE_ENV==="production"?()=>null:(n,o,s,p,u)=>{const g=s||"<<anonymous>>",b=u||o;return typeof n[o]<"u"?new Error(`The ${p} \`${b}\` of \`${g}\` is deprecated. ${t}`):null}}function sm(e,t){var n,o;return $.isValidElement(e)&&t.indexOf((n=e.type.muiName)!=null?n:(o=e.type)==null||(o=o._payload)==null||(o=o.value)==null?void 0:o.muiName)!==-1}function Ua(e){return e&&e.ownerDocument||document}function lp(e){return Ua(e).defaultView||window}function FP(e,t){if(process.env.NODE_ENV==="production")return()=>null;const n=t?V({},t.propTypes):null;return s=>(p,u,g,b,y,...C)=>{const w=y||u,O=n==null?void 0:n[w];if(O){const P=O(p,u,g,b,y,...C);if(P)return P}return typeof p[u]<"u"&&!p[s]?new Error(`The prop \`${w}\` of \`${e}\` can only be used together with the \`${s}\` prop.`):null}}function P0(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const Wa=typeof window<"u"?$.useLayoutEffect:$.useEffect;let jP=0;function Aj(e){const[t,n]=$.useState(e),o=e||t;return $.useEffect(()=>{t==null&&(jP+=1,n(`mui-${jP}`))},[t]),o}const LP=_0.useId;function up(e){if(LP!==void 0){const t=LP();return e??t}return Aj(e)}function BP(e,t,n,o,s){if(process.env.NODE_ENV==="production")return null;const p=s||t;return typeof e[t]<"u"?new Error(`The prop \`${p}\` is not supported. Please remove it.`):null}function Hl({controlled:e,default:t,name:n,state:o="value"}){const{current:s}=$.useRef(e!==void 0),[p,u]=$.useState(t),g=s?e:p;if(process.env.NODE_ENV!=="production"){$.useEffect(()=>{s!==(e!==void 0)&&console.error([`MUI: A component is changing the ${s?"":"un"}controlled ${o} state of ${n} to be ${s?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
|
|
92
|
+
`))},[o,n,e]);const{current:y}=$.useRef(t);$.useEffect(()=>{!s&&y!==t&&console.error([`MUI: A component is changing the default ${o} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join(`
|
|
93
|
+
`))},[JSON.stringify(t)])}const b=$.useCallback(y=>{s||u(y)},[]);return[g,b]}function ir(e){const t=$.useRef(e);return Wa(()=>{t.current=e}),$.useRef((...n)=>(0,t.current)(...n)).current}function qo(...e){return $.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{P0(n,t)})},e)}const VP={};function $j(e,t){const n=$.useRef(VP);return n.current===VP&&(n.current=e(t)),n}const Ij=[];function Fj(e){$.useEffect(e,Ij)}class vy{constructor(){this.currentId=0,this.clear=()=>{this.currentId!==0&&(clearTimeout(this.currentId),this.currentId=0)},this.disposeEffect=()=>this.clear}static create(){return new vy}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=0,n()},t)}}function wh(){const e=$j(vy.create).current;return Fj(e.disposeEffect),e}let D0=!0,Zw=!1;const jj=new vy,Lj={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 Bj(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&Lj[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Vj(e){e.metaKey||e.altKey||e.ctrlKey||(D0=!0)}function Jw(){D0=!1}function zj(){this.visibilityState==="hidden"&&Zw&&(D0=!0)}function Uj(e){e.addEventListener("keydown",Vj,!0),e.addEventListener("mousedown",Jw,!0),e.addEventListener("pointerdown",Jw,!0),e.addEventListener("touchstart",Jw,!0),e.addEventListener("visibilitychange",zj,!0)}function Wj(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return D0||Bj(t)}function k0(){const e=$.useCallback(s=>{s!=null&&Uj(s.ownerDocument)},[]),t=$.useRef(!1);function n(){return t.current?(Zw=!0,jj.start(100,()=>{Zw=!1}),t.current=!1,!0):!1}function o(s){return Wj(s)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:o,onBlur:n,ref:e}}function zP(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function Hj(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return t}}function Gj(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}const qj=Number.isInteger||Gj;function UP(e,t,n,o){const s=e[t];if(s==null||!qj(s)){const p=Hj(s);return new RangeError(`Invalid ${o} \`${t}\` of type \`${p}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function WP(e,t,...n){return e[t]===void 0?null:UP(e,t,...n)}function e1(){return null}WP.isRequired=UP,e1.isRequired=e1;const Rh=process.env.NODE_ENV==="production"?e1:WP;function t1(e,t){const n=V({},t);return Object.keys(e).forEach(o=>{if(o.toString().match(/^(components|slots)$/))n[o]=V({},e[o],n[o]);else if(o.toString().match(/^(componentsProps|slotProps)$/)){const s=e[o]||{},p=t[o];n[o]={},!p||!Object.keys(p)?n[o]=s:!s||!Object.keys(s)?n[o]=p:(n[o]=V({},p),Object.keys(s).forEach(u=>{n[o][u]=t1(s[u],p[u])}))}else n[o]===void 0&&(n[o]=e[o])}),n}function Un(e,t,n=void 0){const o={};return Object.keys(e).forEach(s=>{o[s]=e[s].reduce((p,u)=>{if(u){const g=t(u);g!==""&&p.push(g),n&&n[u]&&p.push(n[u])}return p},[]).join(" ")}),o}const HP=e=>e,n1=(()=>{let e=HP;return{configure(t){e=t},generate(t){return e(t)},reset(){e=HP}}})(),GP={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Wn(e,t,n="Mui"){const o=GP[t];return o?`${n}-${o}`:`${n1.generate(e)}-${t}`}function Bn(e,t,n="Mui"){const o={};return t.forEach(s=>{o[s]=Wn(e,s,n)}),o}function Yj(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function qP(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Kj=/^((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)-.*))$/,Xj=qP(function(e){return Kj.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Qj(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 Zj(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 Jj=function(){function e(n){var o=this;this._insertTag=function(s){var p;o.tags.length===0?o.insertionPoint?p=o.insertionPoint.nextSibling:o.prepend?p=o.container.firstChild:p=o.before:p=o.tags[o.tags.length-1].nextSibling,o.container.insertBefore(s,p),o.tags.push(s)},this.isSpeedy=n.speedy===void 0?process.env.NODE_ENV==="production":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(o){o.forEach(this._insertTag)},t.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Zj(this));var s=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var p=o.charCodeAt(0)===64&&o.charCodeAt(1)===105;p&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
|
|
94
|
+
`+o+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!p}if(this.isSpeedy){var u=Qj(s);try{u.insertRule(o,u.cssRules.length)}catch(g){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(o)&&console.error('There was a problem inserting the following rule: "'+o+'"',g)}}else s.appendChild(document.createTextNode(o));this.ctr++},t.flush=function(){this.tags.forEach(function(o){return o.parentNode&&o.parentNode.removeChild(o)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),Ps="-ms-",N0="-moz-",jo="-webkit-",r1="comm",o1="rule",i1="decl",eL="@import",YP="@keyframes",tL="@layer",nL=Math.abs,M0=String.fromCharCode,rL=Object.assign;function oL(e,t){return vs(e,0)^45?(((t<<2^vs(e,0))<<2^vs(e,1))<<2^vs(e,2))<<2^vs(e,3):0}function KP(e){return e.trim()}function iL(e,t){return(e=t.exec(e))?e[0]:e}function Lo(e,t,n){return e.replace(t,n)}function a1(e,t){return e.indexOf(t)}function vs(e,t){return e.charCodeAt(t)|0}function my(e,t,n){return e.slice(t,n)}function pd(e){return e.length}function s1(e){return e.length}function A0(e,t){return t.push(e),e}function aL(e,t){return e.map(t).join("")}var $0=1,lm=1,XP=0,fl=0,Da=0,um="";function I0(e,t,n,o,s,p,u){return{value:e,root:t,parent:n,type:o,props:s,children:p,line:$0,column:lm,length:u,return:""}}function gy(e,t){return rL(I0("",null,null,"",null,null,0),e,{length:-e.length},t)}function sL(){return Da}function lL(){return Da=fl>0?vs(um,--fl):0,lm--,Da===10&&(lm=1,$0--),Da}function Gl(){return Da=fl<XP?vs(um,fl++):0,lm++,Da===10&&(lm=1,$0++),Da}function hd(){return vs(um,fl)}function F0(){return fl}function yy(e,t){return my(um,e,t)}function by(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 QP(e){return $0=lm=1,XP=pd(um=e),fl=0,[]}function ZP(e){return um="",e}function j0(e){return KP(yy(fl-1,l1(e===91?e+2:e===40?e+1:e)))}function uL(e){for(;(Da=hd())&&Da<33;)Gl();return by(e)>2||by(Da)>3?"":" "}function cL(e,t){for(;--t&&Gl()&&!(Da<48||Da>102||Da>57&&Da<65||Da>70&&Da<97););return yy(e,F0()+(t<6&&hd()==32&&Gl()==32))}function l1(e){for(;Gl();)switch(Da){case e:return fl;case 34:case 39:e!==34&&e!==39&&l1(Da);break;case 40:e===41&&l1(e);break;case 92:Gl();break}return fl}function dL(e,t){for(;Gl()&&e+Da!==57;)if(e+Da===84&&hd()===47)break;return"/*"+yy(t,fl-1)+"*"+M0(e===47?e:Gl())}function fL(e){for(;!by(hd());)Gl();return yy(e,fl)}function pL(e){return ZP(L0("",null,null,null,[""],e=QP(e),0,[0],e))}function L0(e,t,n,o,s,p,u,g,b){for(var y=0,C=0,w=u,O=0,P=0,D=0,I=1,j=1,z=1,H=0,L="",U=s,A=p,Q=o,te=L;j;)switch(D=H,H=Gl()){case 40:if(D!=108&&vs(te,w-1)==58){a1(te+=Lo(j0(H),"&","&\f"),"&\f")!=-1&&(z=-1);break}case 34:case 39:case 91:te+=j0(H);break;case 9:case 10:case 13:case 32:te+=uL(D);break;case 92:te+=cL(F0()-1,7);continue;case 47:switch(hd()){case 42:case 47:A0(hL(dL(Gl(),F0()),t,n),b);break;default:te+="/"}break;case 123*I:g[y++]=pd(te)*z;case 125*I:case 59:case 0:switch(H){case 0:case 125:j=0;case 59+C:z==-1&&(te=Lo(te,/\f/g,"")),P>0&&pd(te)-w&&A0(P>32?eD(te+";",o,n,w-1):eD(Lo(te," ","")+";",o,n,w-2),b);break;case 59:te+=";";default:if(A0(Q=JP(te,t,n,y,C,s,g,L,U=[],A=[],w),p),H===123)if(C===0)L0(te,t,Q,Q,U,p,w,g,A);else switch(O===99&&vs(te,3)===110?100:O){case 100:case 108:case 109:case 115:L0(e,Q,Q,o&&A0(JP(e,Q,Q,0,0,s,g,L,s,U=[],w),A),s,A,w,g,o?U:A);break;default:L0(te,Q,Q,Q,[""],A,0,g,A)}}y=C=P=0,I=z=1,L=te="",w=u;break;case 58:w=1+pd(te),P=D;default:if(I<1){if(H==123)--I;else if(H==125&&I++==0&&lL()==125)continue}switch(te+=M0(H),H*I){case 38:z=C>0?1:(te+="\f",-1);break;case 44:g[y++]=(pd(te)-1)*z,z=1;break;case 64:hd()===45&&(te+=j0(Gl())),O=hd(),C=w=pd(L=te+=fL(F0())),H++;break;case 45:D===45&&pd(te)==2&&(I=0)}}return p}function JP(e,t,n,o,s,p,u,g,b,y,C){for(var w=s-1,O=s===0?p:[""],P=s1(O),D=0,I=0,j=0;D<o;++D)for(var z=0,H=my(e,w+1,w=nL(I=u[D])),L=e;z<P;++z)(L=KP(I>0?O[z]+" "+H:Lo(H,/&\f/g,O[z])))&&(b[j++]=L);return I0(e,t,n,s===0?o1:g,b,y,C)}function hL(e,t,n){return I0(e,t,n,r1,M0(sL()),my(e,2,-2),0)}function eD(e,t,n,o){return I0(e,t,n,i1,my(e,0,o),my(e,o+1,-1),o)}function cm(e,t){for(var n="",o=s1(e),s=0;s<o;s++)n+=t(e[s],s,e,t)||"";return n}function vL(e,t,n,o){switch(e.type){case tL:if(e.children.length)break;case eL:case i1:return e.return=e.return||e.value;case r1:return"";case YP:return e.return=e.value+"{"+cm(e.children,o)+"}";case o1:e.value=e.props.join(",")}return pd(n=cm(e.children,o))?e.return=e.value+"{"+n+"}":""}function mL(e){var t=s1(e);return function(n,o,s,p){for(var u="",g=0;g<t;g++)u+=e[g](n,o,s,p)||"";return u}}function gL(e){return function(t){t.root||(t=t.return)&&e(t)}}var yL=function(t,n,o){for(var s=0,p=0;s=p,p=hd(),s===38&&p===12&&(n[o]=1),!by(p);)Gl();return yy(t,fl)},bL=function(t,n){var o=-1,s=44;do switch(by(s)){case 0:s===38&&hd()===12&&(n[o]=1),t[o]+=yL(fl-1,n,o);break;case 2:t[o]+=j0(s);break;case 4:if(s===44){t[++o]=hd()===58?"&\f":"",n[o]=t[o].length;break}default:t[o]+=M0(s)}while(s=Gl());return t},xL=function(t,n){return ZP(bL(QP(t),n))},tD=new WeakMap,SL=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,o=t.parent,s=t.column===o.column&&t.line===o.line;o.type!=="rule";)if(o=o.parent,!o)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!tD.get(o))&&!s){tD.set(t,!0);for(var p=[],u=xL(n,p),g=o.props,b=0,y=0;b<u.length;b++)for(var C=0;C<g.length;C++,y++)t.props[y]=p[b]?u[b].replace(/&\f/g,g[C]):g[C]+" "+u[b]}}},CL=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}},wL="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",RL=function(t){return t.type==="comm"&&t.children.indexOf(wL)>-1},EL=function(t){return function(n,o,s){if(!(n.type!=="rule"||t.compat)){var p=n.value.match(/(:first|:nth|:nth-last)-child/g);if(p){for(var u=!!n.parent,g=u?n.parent.children:s,b=g.length-1;b>=0;b--){var y=g[b];if(y.line<n.line)break;if(y.column<n.column){if(RL(y))return;break}}p.forEach(function(C){console.error('The pseudo class "'+C+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+C.split("-child")[0]+'-of-type".')})}}}},nD=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},TL=function(t,n){for(var o=t-1;o>=0;o--)if(!nD(n[o]))return!0;return!1},rD=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},_L=function(t,n,o){nD(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),rD(t)):TL(n,o)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),rD(t)))};function oD(e,t){switch(oL(e,t)){case 5103:return jo+"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 jo+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return jo+e+N0+e+Ps+e+e;case 6828:case 4268:return jo+e+Ps+e+e;case 6165:return jo+e+Ps+"flex-"+e+e;case 5187:return jo+e+Lo(e,/(\w+).+(:[^]+)/,jo+"box-$1$2"+Ps+"flex-$1$2")+e;case 5443:return jo+e+Ps+"flex-item-"+Lo(e,/flex-|-self/,"")+e;case 4675:return jo+e+Ps+"flex-line-pack"+Lo(e,/align-content|flex-|-self/,"")+e;case 5548:return jo+e+Ps+Lo(e,"shrink","negative")+e;case 5292:return jo+e+Ps+Lo(e,"basis","preferred-size")+e;case 6060:return jo+"box-"+Lo(e,"-grow","")+jo+e+Ps+Lo(e,"grow","positive")+e;case 4554:return jo+Lo(e,/([^-])(transform)/g,"$1"+jo+"$2")+e;case 6187:return Lo(Lo(Lo(e,/(zoom-|grab)/,jo+"$1"),/(image-set)/,jo+"$1"),e,"")+e;case 5495:case 3959:return Lo(e,/(image-set\([^]*)/,jo+"$1$`$1");case 4968:return Lo(Lo(e,/(.+:)(flex-)?(.*)/,jo+"box-pack:$3"+Ps+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+jo+e+e;case 4095:case 3583:case 4068:case 2532:return Lo(e,/(.+)-inline(.+)/,jo+"$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(pd(e)-1-t>6)switch(vs(e,t+1)){case 109:if(vs(e,t+4)!==45)break;case 102:return Lo(e,/(.+:)(.+)-([^]+)/,"$1"+jo+"$2-$3$1"+N0+(vs(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~a1(e,"stretch")?oD(Lo(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(vs(e,t+1)!==115)break;case 6444:switch(vs(e,pd(e)-3-(~a1(e,"!important")&&10))){case 107:return Lo(e,":",":"+jo)+e;case 101:return Lo(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+jo+(vs(e,14)===45?"inline-":"")+"box$3$1"+jo+"$2$3$1"+Ps+"$2box$3")+e}break;case 5936:switch(vs(e,t+11)){case 114:return jo+e+Ps+Lo(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return jo+e+Ps+Lo(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return jo+e+Ps+Lo(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return jo+e+Ps+e+e}return e}var OL=function(t,n,o,s){if(t.length>-1&&!t.return)switch(t.type){case i1:t.return=oD(t.value,t.length);break;case YP:return cm([gy(t,{value:Lo(t.value,"@","@"+jo)})],s);case o1:if(t.length)return aL(t.props,function(p){switch(iL(p,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return cm([gy(t,{props:[Lo(p,/:(read-\w+)/,":"+N0+"$1")]})],s);case"::placeholder":return cm([gy(t,{props:[Lo(p,/:(plac\w+)/,":"+jo+"input-$1")]}),gy(t,{props:[Lo(p,/:(plac\w+)/,":"+N0+"$1")]}),gy(t,{props:[Lo(p,/:(plac\w+)/,Ps+"input-$1")]})],s)}return""})}},PL=[OL],DL=function(t){var n=t.key;if(process.env.NODE_ENV!=="production"&&!n)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
|
|
95
|
+
If multiple caches share the same key they might "fight" for each other's style elements.`);if(n==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(I){var j=I.getAttribute("data-emotion");j.indexOf(" ")!==-1&&(document.head.appendChild(I),I.setAttribute("data-s",""))})}var s=t.stylisPlugins||PL;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(n))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+n+'" was passed');var p={},u,g=[];u=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(I){for(var j=I.getAttribute("data-emotion").split(" "),z=1;z<j.length;z++)p[j[z]]=!0;g.push(I)});var b,y=[SL,CL];process.env.NODE_ENV!=="production"&&y.push(EL({get compat(){return D.compat}}),_L);{var C,w=[vL,process.env.NODE_ENV!=="production"?function(I){I.root||(I.return?C.insert(I.return):I.value&&I.type!==r1&&C.insert(I.value+"{}"))}:gL(function(I){C.insert(I)})],O=mL(y.concat(s,w)),P=function(j){return cm(pL(j),O)};b=function(j,z,H,L){C=H,process.env.NODE_ENV!=="production"&&z.map!==void 0&&(C={insert:function(A){H.insert(A+z.map)}}),P(j?j+"{"+z.styles+"}":z.styles),L&&(D.inserted[z.name]=!0)}}var D={key:n,sheet:new Jj({key:n,container:u,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:p,registered:{},insert:b};return D.sheet.hydrate(g),D},u1={exports:{}},Yo={};/** @license React v16.13.1
|
|
96
|
+
* react-is.production.min.js
|
|
97
|
+
*
|
|
98
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
99
|
+
*
|
|
100
|
+
* This source code is licensed under the MIT license found in the
|
|
101
|
+
* LICENSE file in the root directory of this source tree.
|
|
102
|
+
*/var iD;function kL(){if(iD)return Yo;iD=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,s=e?Symbol.for("react.strict_mode"):60108,p=e?Symbol.for("react.profiler"):60114,u=e?Symbol.for("react.provider"):60109,g=e?Symbol.for("react.context"):60110,b=e?Symbol.for("react.async_mode"):60111,y=e?Symbol.for("react.concurrent_mode"):60111,C=e?Symbol.for("react.forward_ref"):60112,w=e?Symbol.for("react.suspense"):60113,O=e?Symbol.for("react.suspense_list"):60120,P=e?Symbol.for("react.memo"):60115,D=e?Symbol.for("react.lazy"):60116,I=e?Symbol.for("react.block"):60121,j=e?Symbol.for("react.fundamental"):60117,z=e?Symbol.for("react.responder"):60118,H=e?Symbol.for("react.scope"):60119;function L(A){if(typeof A=="object"&&A!==null){var Q=A.$$typeof;switch(Q){case t:switch(A=A.type,A){case b:case y:case o:case p:case s:case w:return A;default:switch(A=A&&A.$$typeof,A){case g:case C:case D:case P:case u:return A;default:return Q}}case n:return Q}}}function U(A){return L(A)===y}return Yo.AsyncMode=b,Yo.ConcurrentMode=y,Yo.ContextConsumer=g,Yo.ContextProvider=u,Yo.Element=t,Yo.ForwardRef=C,Yo.Fragment=o,Yo.Lazy=D,Yo.Memo=P,Yo.Portal=n,Yo.Profiler=p,Yo.StrictMode=s,Yo.Suspense=w,Yo.isAsyncMode=function(A){return U(A)||L(A)===b},Yo.isConcurrentMode=U,Yo.isContextConsumer=function(A){return L(A)===g},Yo.isContextProvider=function(A){return L(A)===u},Yo.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===t},Yo.isForwardRef=function(A){return L(A)===C},Yo.isFragment=function(A){return L(A)===o},Yo.isLazy=function(A){return L(A)===D},Yo.isMemo=function(A){return L(A)===P},Yo.isPortal=function(A){return L(A)===n},Yo.isProfiler=function(A){return L(A)===p},Yo.isStrictMode=function(A){return L(A)===s},Yo.isSuspense=function(A){return L(A)===w},Yo.isValidElementType=function(A){return typeof A=="string"||typeof A=="function"||A===o||A===y||A===p||A===s||A===w||A===O||typeof A=="object"&&A!==null&&(A.$$typeof===D||A.$$typeof===P||A.$$typeof===u||A.$$typeof===g||A.$$typeof===C||A.$$typeof===j||A.$$typeof===z||A.$$typeof===H||A.$$typeof===I)},Yo.typeOf=L,Yo}var Ko={};/** @license React v16.13.1
|
|
103
|
+
* react-is.development.js
|
|
104
|
+
*
|
|
105
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
106
|
+
*
|
|
107
|
+
* This source code is licensed under the MIT license found in the
|
|
108
|
+
* LICENSE file in the root directory of this source tree.
|
|
109
|
+
*/var aD;function NL(){return aD||(aD=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,s=e?Symbol.for("react.strict_mode"):60108,p=e?Symbol.for("react.profiler"):60114,u=e?Symbol.for("react.provider"):60109,g=e?Symbol.for("react.context"):60110,b=e?Symbol.for("react.async_mode"):60111,y=e?Symbol.for("react.concurrent_mode"):60111,C=e?Symbol.for("react.forward_ref"):60112,w=e?Symbol.for("react.suspense"):60113,O=e?Symbol.for("react.suspense_list"):60120,P=e?Symbol.for("react.memo"):60115,D=e?Symbol.for("react.lazy"):60116,I=e?Symbol.for("react.block"):60121,j=e?Symbol.for("react.fundamental"):60117,z=e?Symbol.for("react.responder"):60118,H=e?Symbol.for("react.scope"):60119;function L(Te){return typeof Te=="string"||typeof Te=="function"||Te===o||Te===y||Te===p||Te===s||Te===w||Te===O||typeof Te=="object"&&Te!==null&&(Te.$$typeof===D||Te.$$typeof===P||Te.$$typeof===u||Te.$$typeof===g||Te.$$typeof===C||Te.$$typeof===j||Te.$$typeof===z||Te.$$typeof===H||Te.$$typeof===I)}function U(Te){if(typeof Te=="object"&&Te!==null){var tt=Te.$$typeof;switch(tt){case t:var Ge=Te.type;switch(Ge){case b:case y:case o:case p:case s:case w:return Ge;default:var et=Ge&&Ge.$$typeof;switch(et){case g:case C:case D:case P:case u:return et;default:return tt}}case n:return tt}}}var A=b,Q=y,te=g,ue=u,ae=t,pe=C,xe=o,Pe=D,ye=P,de=n,fe=p,Se=s,re=w,ce=!1;function ke(Te){return ce||(ce=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Ce(Te)||U(Te)===b}function Ce(Te){return U(Te)===y}function ge(Te){return U(Te)===g}function Me(Te){return U(Te)===u}function Le(Te){return typeof Te=="object"&&Te!==null&&Te.$$typeof===t}function Oe(Te){return U(Te)===C}function Ve(Te){return U(Te)===o}function ze(Te){return U(Te)===D}function We(Te){return U(Te)===P}function Ye(Te){return U(Te)===n}function ot(Te){return U(Te)===p}function yt(Te){return U(Te)===s}function Ze(Te){return U(Te)===w}Ko.AsyncMode=A,Ko.ConcurrentMode=Q,Ko.ContextConsumer=te,Ko.ContextProvider=ue,Ko.Element=ae,Ko.ForwardRef=pe,Ko.Fragment=xe,Ko.Lazy=Pe,Ko.Memo=ye,Ko.Portal=de,Ko.Profiler=fe,Ko.StrictMode=Se,Ko.Suspense=re,Ko.isAsyncMode=ke,Ko.isConcurrentMode=Ce,Ko.isContextConsumer=ge,Ko.isContextProvider=Me,Ko.isElement=Le,Ko.isForwardRef=Oe,Ko.isFragment=Ve,Ko.isLazy=ze,Ko.isMemo=We,Ko.isPortal=Ye,Ko.isProfiler=ot,Ko.isStrictMode=yt,Ko.isSuspense=Ze,Ko.isValidElementType=L,Ko.typeOf=U}()),Ko}process.env.NODE_ENV==="production"?u1.exports=kL():u1.exports=NL();var ML=u1.exports,c1=ML,AL={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},$L={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},IL={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},sD={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},d1={};d1[c1.ForwardRef]=IL,d1[c1.Memo]=sD;function lD(e){return c1.isMemo(e)?sD:d1[e.$$typeof]||AL}var FL=Object.defineProperty,jL=Object.getOwnPropertyNames,uD=Object.getOwnPropertySymbols,LL=Object.getOwnPropertyDescriptor,BL=Object.getPrototypeOf,cD=Object.prototype;function dD(e,t,n){if(typeof t!="string"){if(cD){var o=BL(t);o&&o!==cD&&dD(e,o,n)}var s=jL(t);uD&&(s=s.concat(uD(t)));for(var p=lD(e),u=lD(t),g=0;g<s.length;++g){var b=s[g];if(!$L[b]&&!(n&&n[b])&&!(u&&u[b])&&!(p&&p[b])){var y=LL(t,b);try{FL(e,b,y)}catch{}}}}return e}var VL=dD;const zL=nm(VL);var UL=!0;function f1(e,t,n){var o="";return n.split(" ").forEach(function(s){e[s]!==void 0?t.push(e[s]+";"):o+=s+" "}),o}var B0=function(t,n,o){var s=t.key+"-"+n.name;(o===!1||UL===!1)&&t.registered[s]===void 0&&(t.registered[s]=n.styles)},V0=function(t,n,o){B0(t,n,o);var s=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var p=n;do t.insert(n===p?"."+s:"",p,t.sheet,!0),p=p.next;while(p!==void 0)}};function WL(e){for(var t=0,n,o=0,s=e.length;s>=4;++o,s-=4)n=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&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(s){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&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 HL={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},fD=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
110
|
+
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
111
|
+
You can read more about this here:
|
|
112
|
+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,GL="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",qL=/[A-Z]|^ms/g,pD=/_EMO_([^_]+?)_([^]*?)_EMO_/g,p1=function(t){return t.charCodeAt(1)===45},hD=function(t){return t!=null&&typeof t!="boolean"},h1=qP(function(e){return p1(e)?e:e.replace(qL,"-$&").toLowerCase()}),z0=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(pD,function(o,s,p){return Dc={name:s,styles:p,next:Dc},s})}return HL[t]!==1&&!p1(t)&&typeof n=="number"&&n!==0?n+"px":n};if(process.env.NODE_ENV!=="production"){var YL=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,KL=["normal","none","initial","inherit","unset"],XL=z0,QL=/^-ms-/,ZL=/-(.)/g,vD={};z0=function(t,n){if(t==="content"&&(typeof n!="string"||KL.indexOf(n)===-1&&!YL.test(n)&&(n.charAt(0)!==n.charAt(n.length-1)||n.charAt(0)!=='"'&&n.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+n+"\"'`");var o=XL(t,n);return o!==""&&!p1(t)&&t.indexOf("-")!==-1&&vD[t]===void 0&&(vD[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(QL,"ms-").replace(ZL,function(s,p){return p.toUpperCase()})+"?")),o}}var mD="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function xy(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&n.toString()==="NO_COMPONENT_SELECTOR")throw new Error(mD);return n}switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Dc={name:n.name,styles:n.styles,next:Dc},n.name;if(n.styles!==void 0){var o=n.next;if(o!==void 0)for(;o!==void 0;)Dc={name:o.name,styles:o.styles,next:Dc},o=o.next;var s=n.styles+";";return process.env.NODE_ENV!=="production"&&n.map!==void 0&&(s+=n.map),s}return JL(e,t,n)}case"function":{if(e!==void 0){var p=Dc,u=n(e);return Dc=p,xy(e,t,u)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var g=[],b=n.replace(pD,function(C,w,O){var P="animation"+g.length;return g.push("const "+P+" = keyframes`"+O.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+P+"}"});g.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(g,["`"+b+"`"]).join(`
|
|
113
|
+
`)+`
|
|
114
|
+
|
|
115
|
+
You should wrap it with \`css\` like this:
|
|
116
|
+
|
|
117
|
+
`+("css`"+b+"`"))}break}if(t==null)return n;var y=t[n];return y!==void 0?y:n}function JL(e,t,n){var o="";if(Array.isArray(n))for(var s=0;s<n.length;s++)o+=xy(e,t,n[s])+";";else for(var p in n){var u=n[p];if(typeof u!="object")t!=null&&t[u]!==void 0?o+=p+"{"+t[u]+"}":hD(u)&&(o+=h1(p)+":"+z0(p,u)+";");else{if(p==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(mD);if(Array.isArray(u)&&typeof u[0]=="string"&&(t==null||t[u[0]]===void 0))for(var g=0;g<u.length;g++)hD(u[g])&&(o+=h1(p)+":"+z0(p,u[g])+";");else{var b=xy(e,t,u);switch(p){case"animation":case"animationName":{o+=h1(p)+":"+b+";";break}default:process.env.NODE_ENV!=="production"&&p==="undefined"&&console.error(GL),o+=p+"{"+b+"}"}}}}return o}var gD=/label:\s*([^\s;\n{]+)\s*(;|$)/g,yD;process.env.NODE_ENV!=="production"&&(yD=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Dc,dm=function(t,n,o){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var s=!0,p="";Dc=void 0;var u=t[0];u==null||u.raw===void 0?(s=!1,p+=xy(o,n,u)):(process.env.NODE_ENV!=="production"&&u[0]===void 0&&console.error(fD),p+=u[0]);for(var g=1;g<t.length;g++)p+=xy(o,n,t[g]),s&&(process.env.NODE_ENV!=="production"&&u[g]===void 0&&console.error(fD),p+=u[g]);var b;process.env.NODE_ENV!=="production"&&(p=p.replace(yD,function(O){return b=O,""})),gD.lastIndex=0;for(var y="",C;(C=gD.exec(p))!==null;)y+="-"+C[1];var w=WL(p)+y;return process.env.NODE_ENV!=="production"?{name:w,styles:p,map:b,next:Dc,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:w,styles:p,next:Dc}},eB=function(t){return t()},bD=_0.useInsertionEffect?_0.useInsertionEffect:!1,v1=bD||eB,xD=bD||$.useLayoutEffect,tB={}.hasOwnProperty,m1=$.createContext(typeof HTMLElement<"u"?DL({key:"css"}):null);process.env.NODE_ENV!=="production"&&(m1.displayName="EmotionCacheContext"),m1.Provider;var U0=function(t){return $.forwardRef(function(n,o){var s=$.useContext(m1);return t(n,s,o)})},fm=$.createContext({});process.env.NODE_ENV!=="production"&&(fm.displayName="EmotionThemeContext");var SD="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",CD="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",nB=function(t){var n=t.cache,o=t.serialized,s=t.isStringTag;return B0(n,o,s),v1(function(){return V0(n,o,s)}),null},rB=U0(function(e,t,n){var o=e.css;typeof o=="string"&&t.registered[o]!==void 0&&(o=t.registered[o]);var s=e[SD],p=[o],u="";typeof e.className=="string"?u=f1(t.registered,p,e.className):e.className!=null&&(u=e.className+" ");var g=dm(p,void 0,$.useContext(fm));if(process.env.NODE_ENV!=="production"&&g.name.indexOf("-")===-1){var b=e[CD];b&&(g=dm([g,"label:"+b+";"]))}u+=t.key+"-"+g.name;var y={};for(var C in e)tB.call(e,C)&&C!=="css"&&C!==SD&&(process.env.NODE_ENV==="production"||C!==CD)&&(y[C]=e[C]);return y.ref=n,y.className=u,$.createElement($.Fragment,null,$.createElement(nB,{cache:t,serialized:g,isStringTag:typeof s=="string"}),$.createElement(s,y))});process.env.NODE_ENV!=="production"&&(rB.displayName="EmotionCssPropInternal");var oB={name:"@emotion/react",version:"11.11.3",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.3","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.2","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},wD=!1,RD=U0(function(e,t){process.env.NODE_ENV!=="production"&&!wD&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),wD=!0);var n=e.styles,o=dm([n],void 0,$.useContext(fm)),s=$.useRef();return xD(function(){var p=t.key+"-global",u=new t.sheet.constructor({key:p,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),g=!1,b=document.querySelector('style[data-emotion="'+p+" "+o.name+'"]');return t.sheet.tags.length&&(u.before=t.sheet.tags[0]),b!==null&&(g=!0,b.setAttribute("data-emotion",p),u.hydrate([b])),s.current=[u,g],function(){u.flush()}},[t]),xD(function(){var p=s.current,u=p[0],g=p[1];if(g){p[1]=!1;return}if(o.next!==void 0&&V0(t,o.next,!0),u.tags.length){var b=u.tags[u.tags.length-1].nextElementSibling;u.before=b,u.flush()}t.insert("",o,u,!1)},[t,o.name]),null});process.env.NODE_ENV!=="production"&&(RD.displayName="EmotionGlobal");function g1(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return dm(t)}var Sy=function(){var t=g1.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_"}}},iB=function e(t){for(var n=t.length,o=0,s="";o<n;o++){var p=t[o];if(p!=null){var u=void 0;switch(typeof p){case"boolean":break;case"object":{if(Array.isArray(p))u=e(p);else{process.env.NODE_ENV!=="production"&&p.styles!==void 0&&p.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),u="";for(var g in p)p[g]&&g&&(u&&(u+=" "),u+=g)}break}default:u=p}u&&(s&&(s+=" "),s+=u)}}return s};function aB(e,t,n){var o=[],s=f1(e,o,n);return o.length<2?n:s+t(o)}var sB=function(t){var n=t.cache,o=t.serializedArr;return v1(function(){for(var s=0;s<o.length;s++)V0(n,o[s],!1)}),null},lB=U0(function(e,t){var n=!1,o=[],s=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var y=arguments.length,C=new Array(y),w=0;w<y;w++)C[w]=arguments[w];var O=dm(C,t.registered);return o.push(O),B0(t,O,!1),t.key+"-"+O.name},p=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var y=arguments.length,C=new Array(y),w=0;w<y;w++)C[w]=arguments[w];return aB(t.registered,s,iB(C))},u={css:s,cx:p,theme:$.useContext(fm)},g=e.children(u);return n=!0,$.createElement($.Fragment,null,$.createElement(sB,{cache:t,serializedArr:o}),g)});if(process.env.NODE_ENV!=="production"&&(lB.displayName="EmotionClassNames"),process.env.NODE_ENV!=="production"){var ED=!0,uB=typeof jest<"u"||typeof vi<"u";if(ED&&!uB){var TD=typeof globalThis<"u"?globalThis:ED?window:global,_D="__EMOTION_REACT_"+oB.version.split(".")[0]+"__";TD[_D]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),TD[_D]=!0}}var cB=Xj,dB=function(t){return t!=="theme"},OD=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?cB:dB},PD=function(t,n,o){var s;if(n){var p=n.shouldForwardProp;s=t.__emotion_forwardProp&&p?function(u){return t.__emotion_forwardProp(u)&&p(u)}:p}return typeof s!="function"&&o&&(s=t.__emotion_forwardProp),s},DD=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
118
|
+
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
119
|
+
You can read more about this here:
|
|
120
|
+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,fB=function(t){var n=t.cache,o=t.serialized,s=t.isStringTag;return B0(n,o,s),v1(function(){return V0(n,o,s)}),null},pB=function e(t,n){if(process.env.NODE_ENV!=="production"&&t===void 0)throw new Error(`You are trying to create a styled element with an undefined component.
|
|
121
|
+
You may have forgotten to import it.`);var o=t.__emotion_real===t,s=o&&t.__emotion_base||t,p,u;n!==void 0&&(p=n.label,u=n.target);var g=PD(t,n,o),b=g||OD(s),y=!b("as");return function(){var C=arguments,w=o&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(p!==void 0&&w.push("label:"+p+";"),C[0]==null||C[0].raw===void 0)w.push.apply(w,C);else{process.env.NODE_ENV!=="production"&&C[0][0]===void 0&&console.error(DD),w.push(C[0][0]);for(var O=C.length,P=1;P<O;P++)process.env.NODE_ENV!=="production"&&C[0][P]===void 0&&console.error(DD),w.push(C[P],C[0][P])}var D=U0(function(I,j,z){var H=y&&I.as||s,L="",U=[],A=I;if(I.theme==null){A={};for(var Q in I)A[Q]=I[Q];A.theme=$.useContext(fm)}typeof I.className=="string"?L=f1(j.registered,U,I.className):I.className!=null&&(L=I.className+" ");var te=dm(w.concat(U),j.registered,A);L+=j.key+"-"+te.name,u!==void 0&&(L+=" "+u);var ue=y&&g===void 0?OD(H):b,ae={};for(var pe in I)y&&pe==="as"||ue(pe)&&(ae[pe]=I[pe]);return ae.className=L,ae.ref=z,$.createElement($.Fragment,null,$.createElement(fB,{cache:j,serialized:te,isStringTag:typeof H=="string"}),$.createElement(H,ae))});return D.displayName=p!==void 0?p:"Styled("+(typeof s=="string"?s:s.displayName||s.name||"Component")+")",D.defaultProps=t.defaultProps,D.__emotion_real=D,D.__emotion_base=s,D.__emotion_styles=w,D.__emotion_forwardProp=g,Object.defineProperty(D,"toString",{value:function(){return u===void 0&&process.env.NODE_ENV!=="production"?"NO_COMPONENT_SELECTOR":"."+u}}),D.withComponent=function(I,j){return e(I,V({},n,j,{shouldForwardProp:PD(D,j,!0)})).apply(void 0,w)},D}},hB=["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"],y1=pB.bind();hB.forEach(function(e){y1[e]=y1(e)});function vB(e){return e==null||Object.keys(e).length===0}function kD(e){const{styles:t,defaultTheme:n={}}=e,o=typeof t=="function"?s=>t(vB(s)?n:s):t;return B.jsx(RD,{styles:o})}process.env.NODE_ENV!=="production"&&(kD.propTypes={defaultTheme:a.object,styles:a.oneOfType([a.array,a.string,a.object,a.func])});/**
|
|
122
|
+
* @mui/styled-engine v5.15.7
|
|
123
|
+
*
|
|
124
|
+
* @license MIT
|
|
125
|
+
* This source code is licensed under the MIT license found in the
|
|
126
|
+
* LICENSE file in the root directory of this source tree.
|
|
127
|
+
*/function ND(e,t){const n=y1(e,t);return process.env.NODE_ENV!=="production"?(...o)=>{const s=typeof e=="string"?`"${e}"`:"component";return o.length===0?console.error([`MUI: Seems like you called \`styled(${s})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
128
|
+
`)):o.some(p=>p===void 0)&&console.error(`MUI: the styled(${s})(...args) API requires all its args to be defined.`),n(...o)}:n}const mB=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},gB=["values","unit","step"],yB=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,o)=>n.val-o.val),t.reduce((n,o)=>V({},n,{[o.key]:o.val}),{})};function bB(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:o=5}=e,s=Ot(e,gB),p=yB(t),u=Object.keys(p);function g(O){return`@media (min-width:${typeof t[O]=="number"?t[O]:O}${n})`}function b(O){return`@media (max-width:${(typeof t[O]=="number"?t[O]:O)-o/100}${n})`}function y(O,P){const D=u.indexOf(P);return`@media (min-width:${typeof t[O]=="number"?t[O]:O}${n}) and (max-width:${(D!==-1&&typeof t[u[D]]=="number"?t[u[D]]:P)-o/100}${n})`}function C(O){return u.indexOf(O)+1<u.length?y(O,u[u.indexOf(O)+1]):g(O)}function w(O){const P=u.indexOf(O);return P===0?g(u[1]):P===u.length-1?b(u[P]):y(O,u[u.indexOf(O)+1]).replace("@media","@media not all and")}return V({keys:u,values:p,up:g,down:b,between:y,only:C,not:w,unit:n},s)}const xB={borderRadius:4},cp=process.env.NODE_ENV!=="production"?a.oneOfType([a.number,a.string,a.object,a.array]):{};function Cy(e,t){return t?Os(e,t,{clone:!1}):e}const b1={xs:0,sm:600,md:900,lg:1200,xl:1536},MD={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${b1[e]}px)`};function Pu(e,t,n){const o=e.theme||{};if(Array.isArray(t)){const p=o.breakpoints||MD;return t.reduce((u,g,b)=>(u[p.up(p.keys[b])]=n(t[b]),u),{})}if(typeof t=="object"){const p=o.breakpoints||MD;return Object.keys(t).reduce((u,g)=>{if(Object.keys(p.values||b1).indexOf(g)!==-1){const b=p.up(g);u[b]=n(t[g],g)}else{const b=g;u[b]=t[b]}return u},{})}return n(t)}function SB(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((o,s)=>{const p=e.up(s);return o[p]={},o},{}))||{}}function CB(e,t){return e.reduce((n,o)=>{const s=n[o];return(!s||Object.keys(s).length===0)&&delete n[o],n},t)}function wB(e,t){if(typeof e!="object")return{};const n={},o=Object.keys(t);return Array.isArray(e)?o.forEach((s,p)=>{p<e.length&&(n[s]=!0)}):o.forEach(s=>{e[s]!=null&&(n[s]=!0)}),n}function W0({values:e,breakpoints:t,base:n}){const o=n||wB(e,t),s=Object.keys(o);if(s.length===0)return e;let p;return s.reduce((u,g,b)=>(Array.isArray(e)?(u[g]=e[b]!=null?e[b]:e[p],p=b):typeof e=="object"?(u[g]=e[g]!=null?e[g]:e[p],p=g):u[g]=e,u),{})}function pm(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const o=`vars.${t}`.split(".").reduce((s,p)=>s&&s[p]?s[p]:null,e);if(o!=null)return o}return t.split(".").reduce((o,s)=>o&&o[s]!=null?o[s]:null,e)}function H0(e,t,n,o=n){let s;return typeof e=="function"?s=e(n):Array.isArray(e)?s=e[n]||o:s=pm(e,n)||o,t&&(s=t(s,o,e)),s}function Sa(e){const{prop:t,cssProperty:n=e.prop,themeKey:o,transform:s}=e,p=u=>{if(u[t]==null)return null;const g=u[t],b=u.theme,y=pm(b,o)||{};return Pu(u,g,w=>{let O=H0(y,s,w);return w===O&&typeof w=="string"&&(O=H0(y,s,`${t}${w==="default"?"":Ft(w)}`,w)),n===!1?O:{[n]:O}})};return p.propTypes=process.env.NODE_ENV!=="production"?{[t]:cp}:{},p.filterProps=[t],p}function RB(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const EB={m:"margin",p:"padding"},TB={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},AD={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},_B=RB(e=>{if(e.length>2)if(AD[e])e=AD[e];else return[e];const[t,n]=e.split(""),o=EB[t],s=TB[n]||"";return Array.isArray(s)?s.map(p=>o+p):[o+s]}),G0=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],q0=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],OB=[...G0,...q0];function wy(e,t,n,o){var s;const p=(s=pm(e,t,!1))!=null?s:n;return typeof p=="number"?u=>typeof u=="string"?u:(process.env.NODE_ENV!=="production"&&typeof u!="number"&&console.error(`MUI: Expected ${o} argument to be a number or a string, got ${u}.`),p*u):Array.isArray(p)?u=>typeof u=="string"?u:(process.env.NODE_ENV!=="production"&&(Number.isInteger(u)?u>p.length-1&&console.error([`MUI: The value provided (${u}) overflows.`,`The supported values are: ${JSON.stringify(p)}.`,`${u} > ${p.length-1}, you need to add the missing values.`].join(`
|
|
129
|
+
`)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
|
|
130
|
+
`))),p[u]):typeof p=="function"?p:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${p}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
131
|
+
`)),()=>{})}function $D(e){return wy(e,"spacing",8,"spacing")}function Ry(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),o=e(n);return t>=0?o:typeof o=="number"?-o:`-${o}`}function PB(e,t){return n=>e.reduce((o,s)=>(o[s]=Ry(t,n),o),{})}function DB(e,t,n,o){if(t.indexOf(n)===-1)return null;const s=_B(n),p=PB(s,o),u=e[n];return Pu(e,u,p)}function ID(e,t){const n=$D(e.theme);return Object.keys(e).map(o=>DB(e,t,o,n)).reduce(Cy,{})}function ca(e){return ID(e,G0)}ca.propTypes=process.env.NODE_ENV!=="production"?G0.reduce((e,t)=>(e[t]=cp,e),{}):{},ca.filterProps=G0;function da(e){return ID(e,q0)}da.propTypes=process.env.NODE_ENV!=="production"?q0.reduce((e,t)=>(e[t]=cp,e),{}):{},da.filterProps=q0,process.env.NODE_ENV!=="production"&&OB.reduce((e,t)=>(e[t]=cp,e),{});function kB(e=8){if(e.mui)return e;const t=$D({spacing:e}),n=(...o)=>(process.env.NODE_ENV!=="production"&&(o.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${o.length}`)),(o.length===0?[1]:o).map(p=>{const u=t(p);return typeof u=="number"?`${u}px`:u}).join(" "));return n.mui=!0,n}function Y0(...e){const t=e.reduce((o,s)=>(s.filterProps.forEach(p=>{o[p]=s}),o),{}),n=o=>Object.keys(o).reduce((s,p)=>t[p]?Cy(s,t[p](o)):s,{});return n.propTypes=process.env.NODE_ENV!=="production"?e.reduce((o,s)=>Object.assign(o,s.propTypes),{}):{},n.filterProps=e.reduce((o,s)=>o.concat(s.filterProps),[]),n}function Du(e){return typeof e!="number"?e:`${e}px solid`}function ku(e,t){return Sa({prop:e,themeKey:"borders",transform:t})}const NB=ku("border",Du),MB=ku("borderTop",Du),AB=ku("borderRight",Du),$B=ku("borderBottom",Du),IB=ku("borderLeft",Du),FB=ku("borderColor"),jB=ku("borderTopColor"),LB=ku("borderRightColor"),BB=ku("borderBottomColor"),VB=ku("borderLeftColor"),zB=ku("outline",Du),UB=ku("outlineColor"),K0=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=wy(e.theme,"shape.borderRadius",4,"borderRadius"),n=o=>({borderRadius:Ry(t,o)});return Pu(e,e.borderRadius,n)}return null};K0.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:cp}:{},K0.filterProps=["borderRadius"],Y0(NB,MB,AB,$B,IB,FB,jB,LB,BB,VB,K0,zB,UB);const X0=e=>{if(e.gap!==void 0&&e.gap!==null){const t=wy(e.theme,"spacing",8,"gap"),n=o=>({gap:Ry(t,o)});return Pu(e,e.gap,n)}return null};X0.propTypes=process.env.NODE_ENV!=="production"?{gap:cp}:{},X0.filterProps=["gap"];const Q0=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=wy(e.theme,"spacing",8,"columnGap"),n=o=>({columnGap:Ry(t,o)});return Pu(e,e.columnGap,n)}return null};Q0.propTypes=process.env.NODE_ENV!=="production"?{columnGap:cp}:{},Q0.filterProps=["columnGap"];const Z0=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=wy(e.theme,"spacing",8,"rowGap"),n=o=>({rowGap:Ry(t,o)});return Pu(e,e.rowGap,n)}return null};Z0.propTypes=process.env.NODE_ENV!=="production"?{rowGap:cp}:{},Z0.filterProps=["rowGap"];const WB=Sa({prop:"gridColumn"}),HB=Sa({prop:"gridRow"}),GB=Sa({prop:"gridAutoFlow"}),qB=Sa({prop:"gridAutoColumns"}),YB=Sa({prop:"gridAutoRows"}),KB=Sa({prop:"gridTemplateColumns"}),XB=Sa({prop:"gridTemplateRows"}),QB=Sa({prop:"gridTemplateAreas"}),ZB=Sa({prop:"gridArea"});Y0(X0,Q0,Z0,WB,HB,GB,qB,YB,KB,XB,QB,ZB);function hm(e,t){return t==="grey"?t:e}const JB=Sa({prop:"color",themeKey:"palette",transform:hm}),eV=Sa({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:hm}),tV=Sa({prop:"backgroundColor",themeKey:"palette",transform:hm});Y0(JB,eV,tV);function ql(e){return e<=1&&e!==0?`${e*100}%`:e}const nV=Sa({prop:"width",transform:ql}),x1=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var o,s;const p=((o=e.theme)==null||(o=o.breakpoints)==null||(o=o.values)==null?void 0:o[n])||b1[n];return p?((s=e.theme)==null||(s=s.breakpoints)==null?void 0:s.unit)!=="px"?{maxWidth:`${p}${e.theme.breakpoints.unit}`}:{maxWidth:p}:{maxWidth:ql(n)}};return Pu(e,e.maxWidth,t)}return null};x1.filterProps=["maxWidth"];const rV=Sa({prop:"minWidth",transform:ql}),oV=Sa({prop:"height",transform:ql}),iV=Sa({prop:"maxHeight",transform:ql}),aV=Sa({prop:"minHeight",transform:ql});Sa({prop:"size",cssProperty:"width",transform:ql}),Sa({prop:"size",cssProperty:"height",transform:ql});const sV=Sa({prop:"boxSizing"});Y0(nV,x1,rV,oV,iV,aV,sV);const J0={border:{themeKey:"borders",transform:Du},borderTop:{themeKey:"borders",transform:Du},borderRight:{themeKey:"borders",transform:Du},borderBottom:{themeKey:"borders",transform:Du},borderLeft:{themeKey:"borders",transform:Du},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Du},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:K0},color:{themeKey:"palette",transform:hm},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:hm},backgroundColor:{themeKey:"palette",transform:hm},p:{style:da},pt:{style:da},pr:{style:da},pb:{style:da},pl:{style:da},px:{style:da},py:{style:da},padding:{style:da},paddingTop:{style:da},paddingRight:{style:da},paddingBottom:{style:da},paddingLeft:{style:da},paddingX:{style:da},paddingY:{style:da},paddingInline:{style:da},paddingInlineStart:{style:da},paddingInlineEnd:{style:da},paddingBlock:{style:da},paddingBlockStart:{style:da},paddingBlockEnd:{style:da},m:{style:ca},mt:{style:ca},mr:{style:ca},mb:{style:ca},ml:{style:ca},mx:{style:ca},my:{style:ca},margin:{style:ca},marginTop:{style:ca},marginRight:{style:ca},marginBottom:{style:ca},marginLeft:{style:ca},marginX:{style:ca},marginY:{style:ca},marginInline:{style:ca},marginInlineStart:{style:ca},marginInlineEnd:{style:ca},marginBlock:{style:ca},marginBlockStart:{style:ca},marginBlockEnd:{style:ca},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:X0},rowGap:{style:Z0},columnGap:{style:Q0},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ql},maxWidth:{style:x1},minWidth:{transform:ql},height:{transform:ql},maxHeight:{transform:ql},minHeight:{transform:ql},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function lV(...e){const t=e.reduce((o,s)=>o.concat(Object.keys(s)),[]),n=new Set(t);return e.every(o=>n.size===Object.keys(o).length)}function uV(e,t){return typeof e=="function"?e(t):e}function cV(){function e(n,o,s,p){const u={[n]:o,theme:s},g=p[n];if(!g)return{[n]:o};const{cssProperty:b=n,themeKey:y,transform:C,style:w}=g;if(o==null)return null;if(y==="typography"&&o==="inherit")return{[n]:o};const O=pm(s,y)||{};return w?w(u):Pu(u,o,D=>{let I=H0(O,C,D);return D===I&&typeof D=="string"&&(I=H0(O,C,`${n}${D==="default"?"":Ft(D)}`,D)),b===!1?I:{[b]:I}})}function t(n){var o;const{sx:s,theme:p={}}=n||{};if(!s)return null;const u=(o=p.unstable_sxConfig)!=null?o:J0;function g(b){let y=b;if(typeof b=="function")y=b(p);else if(typeof b!="object")return b;if(!y)return null;const C=SB(p.breakpoints),w=Object.keys(C);let O=C;return Object.keys(y).forEach(P=>{const D=uV(y[P],p);if(D!=null)if(typeof D=="object")if(u[P])O=Cy(O,e(P,D,p,u));else{const I=Pu({theme:p},D,j=>({[P]:j}));lV(I,D)?O[P]=t({sx:D,theme:p}):O=Cy(O,I)}else O=Cy(O,e(P,D,p,u))}),CB(w,O)}return Array.isArray(s)?s.map(g):g(s)}return t}const Ey=cV();Ey.filterProps=["sx"];function dV(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const fV=["breakpoints","palette","spacing","shape"];function ex(e={},...t){const{breakpoints:n={},palette:o={},spacing:s,shape:p={}}=e,u=Ot(e,fV),g=bB(n),b=kB(s);let y=Os({breakpoints:g,direction:"ltr",components:{},palette:V({mode:"light"},o),spacing:b,shape:V({},xB,p)},u);return y.applyStyles=dV,y=t.reduce((C,w)=>Os(C,w),y),y.unstable_sxConfig=V({},J0,u==null?void 0:u.unstable_sxConfig),y.unstable_sx=function(w){return Ey({sx:w,theme:this})},y}function pV(e){return Object.keys(e).length===0}function S1(e=null){const t=$.useContext(fm);return!t||pV(t)?e:t}const hV=ex();function vm(e=hV){return S1(e)}function FD({styles:e,themeId:t,defaultTheme:n={}}){const o=vm(n),s=typeof e=="function"?e(t&&o[t]||o):e;return B.jsx(kD,{styles:s})}process.env.NODE_ENV!=="production"&&(FD.propTypes={defaultTheme:a.object,styles:a.oneOfType([a.array,a.func,a.number,a.object,a.string,a.bool]),themeId:a.string});const vV=["sx"],mV=e=>{var t,n;const o={systemProps:{},otherProps:{}},s=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:J0;return Object.keys(e).forEach(p=>{s[p]?o.systemProps[p]=e[p]:o.otherProps[p]=e[p]}),o};function C1(e){const{sx:t}=e,n=Ot(e,vV),{systemProps:o,otherProps:s}=mV(n);let p;return Array.isArray(t)?p=[o,...t]:typeof t=="function"?p=(...u)=>{const g=t(...u);return ef(g)?V({},o,g):o}:p=V({},o,t),V({},s,{sx:p})}const gV=["className","component"];function yV(e={}){const{themeId:t,defaultTheme:n,defaultClassName:o="MuiBox-root",generateClassName:s}=e,p=ND("div",{shouldForwardProp:g=>g!=="theme"&&g!=="sx"&&g!=="as"})(Ey);return $.forwardRef(function(b,y){const C=vm(n),w=C1(b),{className:O,component:P="div"}=w,D=Ot(w,gV);return B.jsx(p,V({as:P,ref:y,className:tn(O,s?s(o):o),theme:t&&C[t]||C},D))})}const bV=["variant"];function jD(e){return e.length===0}function LD(e){const{variant:t}=e,n=Ot(e,bV);let o=t||"";return Object.keys(n).sort().forEach(s=>{s==="color"?o+=jD(o)?e[s]:Ft(e[s]):o+=`${jD(o)?s:Ft(s)}${Ft(e[s].toString())}`}),o}const xV=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function SV(e){return Object.keys(e).length===0}function CV(e){return typeof e=="string"&&e.charCodeAt(0)>96}const wV=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,tx=e=>{let t=0;const n={};return e&&e.forEach(o=>{let s="";typeof o.props=="function"?(s=`callback${t}`,t+=1):s=LD(o.props),n[s]=o.style}),n},RV=(e,t)=>{let n=[];return t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants),tx(n)},nx=(e,t,n)=>{const{ownerState:o={}}=e,s=[];let p=0;return n&&n.forEach(u=>{let g=!0;if(typeof u.props=="function"){const b=V({},e,o);g=u.props(b)}else Object.keys(u.props).forEach(b=>{o[b]!==u.props[b]&&e[b]!==u.props[b]&&(g=!1)});g&&(typeof u.props=="function"?s.push(t[`callback${p}`]):s.push(t[LD(u.props)])),typeof u.props=="function"&&(p+=1)}),s},EV=(e,t,n,o)=>{var s;const p=n==null||(s=n.components)==null||(s=s[o])==null?void 0:s.variants;return nx(e,t,p)};function Ty(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const TV=ex(),BD=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function rx({defaultTheme:e,theme:t,themeId:n}){return SV(t)?e:t[n]||t}function _V(e){return e?(t,n)=>n[e]:null}const VD=({styledArg:e,props:t,defaultTheme:n,themeId:o})=>{const s=e(V({},t,{theme:rx(V({},t,{defaultTheme:n,themeId:o}))}));let p;if(s&&s.variants&&(p=s.variants,delete s.variants),p){const u=nx(t,tx(p),p);return[s,...u]}return s};function zD(e={}){const{themeId:t,defaultTheme:n=TV,rootShouldForwardProp:o=Ty,slotShouldForwardProp:s=Ty}=e,p=u=>Ey(V({},u,{theme:rx(V({},u,{defaultTheme:n,themeId:t}))}));return p.__mui_systemSx=!0,(u,g={})=>{mB(u,U=>U.filter(A=>!(A!=null&&A.__mui_systemSx)));const{name:b,slot:y,skipVariantsResolver:C,skipSx:w,overridesResolver:O=_V(BD(y))}=g,P=Ot(g,xV),D=C!==void 0?C:y&&y!=="Root"&&y!=="root"||!1,I=w||!1;let j;process.env.NODE_ENV!=="production"&&b&&(j=`${b}-${BD(y||"Root")}`);let z=Ty;y==="Root"||y==="root"?z=o:y?z=s:CV(u)&&(z=void 0);const H=ND(u,V({shouldForwardProp:z,label:j},P)),L=(U,...A)=>{const Q=A?A.map(pe=>{if(typeof pe=="function"&&pe.__emotion_real!==pe)return xe=>VD({styledArg:pe,props:xe,defaultTheme:n,themeId:t});if(ef(pe)){let xe=pe,Pe;return pe&&pe.variants&&(Pe=pe.variants,delete xe.variants,xe=ye=>{let de=pe;return nx(ye,tx(Pe),Pe).forEach(Se=>{de=Os(de,Se)}),de}),xe}return pe}):[];let te=U;if(ef(U)){let pe;U&&U.variants&&(pe=U.variants,delete te.variants,te=xe=>{let Pe=U;return nx(xe,tx(pe),pe).forEach(de=>{Pe=Os(Pe,de)}),Pe})}else typeof U=="function"&&U.__emotion_real!==U&&(te=pe=>VD({styledArg:U,props:pe,defaultTheme:n,themeId:t}));b&&O&&Q.push(pe=>{const xe=rx(V({},pe,{defaultTheme:n,themeId:t})),Pe=wV(b,xe);if(Pe){const ye={};return Object.entries(Pe).forEach(([de,fe])=>{ye[de]=typeof fe=="function"?fe(V({},pe,{theme:xe})):fe}),O(pe,ye)}return null}),b&&!D&&Q.push(pe=>{const xe=rx(V({},pe,{defaultTheme:n,themeId:t}));return EV(pe,RV(b,xe),xe,b)}),I||Q.push(p);const ue=Q.length-A.length;if(Array.isArray(U)&&ue>0){const pe=new Array(ue).fill("");te=[...U,...pe],te.raw=[...U.raw,...pe]}const ae=H(te,...Q);if(process.env.NODE_ENV!=="production"){let pe;b&&(pe=`${b}${Ft(y||"")}`),pe===void 0&&(pe=`Styled(${am(u)})`),ae.displayName=pe}return u.muiName&&(ae.muiName=u.muiName),ae};return H.withConfig&&(L.withConfig=H.withConfig),L}}const OV=zD();function UD(e){const{theme:t,name:n,props:o}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?o:t1(t.components[n].defaultProps,o)}function WD({props:e,name:t,defaultTheme:n,themeId:o}){let s=vm(n);return o&&(s=s[o]||s),UD({theme:s,name:t,props:e})}function w1(e,t=0,n=1){return process.env.NODE_ENV!=="production"&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),Yj(e,t,n)}function PV(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(o=>o+o)),n?`rgb${n.length===4?"a":""}(${n.map((o,s)=>s<3?parseInt(o,16):Math.round(parseInt(o,16)/255*1e3)/1e3).join(", ")})`:""}function Eh(e){if(e.type)return e;if(e.charAt(0)==="#")return Eh(PV(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
132
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:sp(9,e));let o=e.substring(t+1,e.length-1),s;if(n==="color"){if(o=o.split(" "),s=o.shift(),o.length===4&&o[3].charAt(0)==="/"&&(o[3]=o[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(s)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${s}\` color space.
|
|
133
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:sp(10,s))}else o=o.split(",");return o=o.map(p=>parseFloat(p)),{type:n,values:o,colorSpace:s}}function ox(e){const{type:t,colorSpace:n}=e;let{values:o}=e;return t.indexOf("rgb")!==-1?o=o.map((s,p)=>p<3?parseInt(s,10):s):t.indexOf("hsl")!==-1&&(o[1]=`${o[1]}%`,o[2]=`${o[2]}%`),t.indexOf("color")!==-1?o=`${n} ${o.join(" ")}`:o=`${o.join(", ")}`,`${t}(${o})`}function DV(e){e=Eh(e);const{values:t}=e,n=t[0],o=t[1]/100,s=t[2]/100,p=o*Math.min(s,1-s),u=(y,C=(y+n/30)%12)=>s-p*Math.max(Math.min(C-3,9-C,1),-1);let g="rgb";const b=[Math.round(u(0)*255),Math.round(u(8)*255),Math.round(u(4)*255)];return e.type==="hsla"&&(g+="a",b.push(t[3])),ox({type:g,values:b})}function HD(e){e=Eh(e);let t=e.type==="hsl"||e.type==="hsla"?Eh(DV(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 GD(e,t){const n=HD(e),o=HD(t);return(Math.max(n,o)+.05)/(Math.min(n,o)+.05)}function Br(e,t){return e=Eh(e),t=w1(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ox(e)}function ix(e,t){if(e=Eh(e),t=w1(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 ox(e)}function ax(e,t){if(e=Eh(e),t=w1(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 ox(e)}const qD=$.createContext(null);process.env.NODE_ENV!=="production"&&(qD.displayName="ThemeContext");function kV(){const e=$.useContext(qD);return process.env.NODE_ENV!=="production"&&$.useDebugValue(e),e}const NV=typeof Symbol=="function"&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",MV=["className","component","disableGutters","fixed","maxWidth","classes"],AV=ex(),$V=OV("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${Ft(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),IV=e=>WD({props:e,name:"MuiContainer",defaultTheme:AV}),FV=(e,t)=>{const n=b=>Wn(t,b),{classes:o,fixed:s,disableGutters:p,maxWidth:u}=e,g={root:["root",u&&`maxWidth${Ft(String(u))}`,s&&"fixed",p&&"disableGutters"]};return Un(g,n,o)};function jV(e={}){const{createStyledComponent:t=$V,useThemeProps:n=IV,componentName:o="MuiContainer"}=e,s=t(({theme:u,ownerState:g})=>V({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!g.disableGutters&&{paddingLeft:u.spacing(2),paddingRight:u.spacing(2),[u.breakpoints.up("sm")]:{paddingLeft:u.spacing(3),paddingRight:u.spacing(3)}}),({theme:u,ownerState:g})=>g.fixed&&Object.keys(u.breakpoints.values).reduce((b,y)=>{const C=y,w=u.breakpoints.values[C];return w!==0&&(b[u.breakpoints.up(C)]={maxWidth:`${w}${u.breakpoints.unit}`}),b},{}),({theme:u,ownerState:g})=>V({},g.maxWidth==="xs"&&{[u.breakpoints.up("xs")]:{maxWidth:Math.max(u.breakpoints.values.xs,444)}},g.maxWidth&&g.maxWidth!=="xs"&&{[u.breakpoints.up(g.maxWidth)]:{maxWidth:`${u.breakpoints.values[g.maxWidth]}${u.breakpoints.unit}`}})),p=$.forwardRef(function(g,b){const y=n(g),{className:C,component:w="div",disableGutters:O=!1,fixed:P=!1,maxWidth:D="lg"}=y,I=Ot(y,MV),j=V({},y,{component:w,disableGutters:O,fixed:P,maxWidth:D}),z=FV(j,o);return B.jsx(s,V({as:w,ownerState:j,className:tn(z.root,C),ref:b},I))});return process.env.NODE_ENV!=="production"&&(p.propTypes={children:a.node,classes:a.object,className:a.string,component:a.elementType,disableGutters:a.bool,fixed:a.bool,maxWidth:a.oneOfType([a.oneOf(["xs","sm","md","lg","xl",!1]),a.string]),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])}),p}function LV(e,t){return V({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const _y={black:"#000",white:"#fff"},BV={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"},mm={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"},gm={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"},Oy={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"},ym={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"},bm={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"},xm={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"},VV=["mode","contrastThreshold","tonalOffset"],YD={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:_y.white,default:_y.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}},R1={text:{primary:_y.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:_y.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 KD(e,t,n,o){const s=o.light||o,p=o.dark||o*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=ax(e.main,s):t==="dark"&&(e.dark=ix(e.main,p)))}function zV(e="light"){return e==="dark"?{main:ym[200],light:ym[50],dark:ym[400]}:{main:ym[700],light:ym[400],dark:ym[800]}}function UV(e="light"){return e==="dark"?{main:mm[200],light:mm[50],dark:mm[400]}:{main:mm[500],light:mm[300],dark:mm[700]}}function WV(e="light"){return e==="dark"?{main:gm[500],light:gm[300],dark:gm[700]}:{main:gm[700],light:gm[400],dark:gm[800]}}function HV(e="light"){return e==="dark"?{main:bm[400],light:bm[300],dark:bm[700]}:{main:bm[700],light:bm[500],dark:bm[900]}}function GV(e="light"){return e==="dark"?{main:xm[400],light:xm[300],dark:xm[700]}:{main:xm[800],light:xm[500],dark:xm[900]}}function qV(e="light"){return e==="dark"?{main:Oy[400],light:Oy[300],dark:Oy[700]}:{main:"#ed6c02",light:Oy[500],dark:Oy[900]}}function YV(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:o=.2}=e,s=Ot(e,VV),p=e.primary||zV(t),u=e.secondary||UV(t),g=e.error||WV(t),b=e.info||HV(t),y=e.success||GV(t),C=e.warning||qV(t);function w(I){const j=GD(I,R1.text.primary)>=n?R1.text.primary:YD.text.primary;if(process.env.NODE_ENV!=="production"){const z=GD(I,j);z<3&&console.error([`MUI: The contrast ratio of ${z}:1 for ${j} on ${I}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
134
|
+
`))}return j}const O=({color:I,name:j,mainShade:z=500,lightShade:H=300,darkShade:L=700})=>{if(I=V({},I),!I.main&&I[z]&&(I.main=I[z]),!I.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${j?` (${j})`:""} provided to augmentColor(color) is invalid.
|
|
135
|
+
The color object needs to have a \`main\` property or a \`${z}\` property.`:sp(11,j?` (${j})`:"",z));if(typeof I.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${j?` (${j})`:""} provided to augmentColor(color) is invalid.
|
|
136
|
+
\`color.main\` should be a string, but \`${JSON.stringify(I.main)}\` was provided instead.
|
|
137
|
+
|
|
138
|
+
Did you intend to use one of the following approaches?
|
|
139
|
+
|
|
140
|
+
import { green } from "@mui/material/colors";
|
|
141
|
+
|
|
142
|
+
const theme1 = createTheme({ palette: {
|
|
143
|
+
primary: green,
|
|
144
|
+
} });
|
|
145
|
+
|
|
146
|
+
const theme2 = createTheme({ palette: {
|
|
147
|
+
primary: { main: green[500] },
|
|
148
|
+
} });`:sp(12,j?` (${j})`:"",JSON.stringify(I.main)));return KD(I,"light",H,o),KD(I,"dark",L,o),I.contrastText||(I.contrastText=w(I.main)),I},P={dark:R1,light:YD};return process.env.NODE_ENV!=="production"&&(P[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Os(V({common:V({},_y),mode:t,primary:O({color:p,name:"primary"}),secondary:O({color:u,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:O({color:g,name:"error"}),warning:O({color:C,name:"warning"}),info:O({color:b,name:"info"}),success:O({color:y,name:"success"}),grey:BV,contrastThreshold:n,getContrastText:w,augmentColor:O,tonalOffset:o},P[t]),s)}const KV=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function XV(e){return Math.round(e*1e5)/1e5}const XD={textTransform:"uppercase"},QD='"Roboto", "Helvetica", "Arial", sans-serif';function QV(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:o=QD,fontSize:s=14,fontWeightLight:p=300,fontWeightRegular:u=400,fontWeightMedium:g=500,fontWeightBold:b=700,htmlFontSize:y=16,allVariants:C,pxToRem:w}=n,O=Ot(n,KV);process.env.NODE_ENV!=="production"&&(typeof s!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof y!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const P=s/14,D=w||(z=>`${z/y*P}rem`),I=(z,H,L,U,A)=>V({fontFamily:o,fontWeight:z,fontSize:D(H),lineHeight:L},o===QD?{letterSpacing:`${XV(U/H)}em`}:{},A,C),j={h1:I(p,96,1.167,-1.5),h2:I(p,60,1.2,-.5),h3:I(u,48,1.167,0),h4:I(u,34,1.235,.25),h5:I(u,24,1.334,0),h6:I(g,20,1.6,.15),subtitle1:I(u,16,1.75,.15),subtitle2:I(g,14,1.57,.1),body1:I(u,16,1.5,.15),body2:I(u,14,1.43,.15),button:I(g,14,1.75,.4,XD),caption:I(u,12,1.66,.4),overline:I(u,12,2.66,1,XD),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Os(V({htmlFontSize:y,pxToRem:D,fontFamily:o,fontSize:s,fontWeightLight:p,fontWeightRegular:u,fontWeightMedium:g,fontWeightBold:b},j),O,{clone:!1})}const ZV=.2,JV=.14,ez=.12;function zi(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${ZV})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${JV})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${ez})`].join(",")}const tz=["none",zi(0,2,1,-1,0,1,1,0,0,1,3,0),zi(0,3,1,-2,0,2,2,0,0,1,5,0),zi(0,3,3,-2,0,3,4,0,0,1,8,0),zi(0,2,4,-1,0,4,5,0,0,1,10,0),zi(0,3,5,-1,0,5,8,0,0,1,14,0),zi(0,3,5,-1,0,6,10,0,0,1,18,0),zi(0,4,5,-2,0,7,10,1,0,2,16,1),zi(0,5,5,-3,0,8,10,1,0,3,14,2),zi(0,5,6,-3,0,9,12,1,0,3,16,2),zi(0,6,6,-3,0,10,14,1,0,4,18,3),zi(0,6,7,-4,0,11,15,1,0,4,20,3),zi(0,7,8,-4,0,12,17,2,0,5,22,4),zi(0,7,8,-4,0,13,19,2,0,5,24,4),zi(0,7,9,-4,0,14,21,2,0,5,26,4),zi(0,8,9,-5,0,15,22,2,0,6,28,5),zi(0,8,10,-5,0,16,24,2,0,6,30,5),zi(0,8,11,-5,0,17,26,2,0,6,32,5),zi(0,9,11,-5,0,18,28,2,0,7,34,6),zi(0,9,12,-6,0,19,29,2,0,7,36,6),zi(0,10,13,-6,0,20,31,3,0,8,38,7),zi(0,10,13,-6,0,21,33,3,0,8,40,7),zi(0,10,14,-6,0,22,35,3,0,8,42,7),zi(0,11,14,-7,0,23,36,3,0,9,44,8),zi(0,11,15,-7,0,24,38,3,0,9,46,8)],nz=["duration","easing","delay"],rz={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)"},ZD={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function JD(e){return`${Math.round(e)}ms`}function oz(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function iz(e){const t=V({},rz,e.easing),n=V({},ZD,e.duration);return V({getAutoHeightDuration:oz,create:(s=["all"],p={})=>{const{duration:u=n.standard,easing:g=t.easeInOut,delay:b=0}=p,y=Ot(p,nz);if(process.env.NODE_ENV!=="production"){const C=O=>typeof O=="string",w=O=>!isNaN(parseFloat(O));!C(s)&&!Array.isArray(s)&&console.error('MUI: Argument "props" must be a string or Array.'),!w(u)&&!C(u)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${u}.`),C(g)||console.error('MUI: Argument "easing" must be a string.'),!w(b)&&!C(b)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof p!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
149
|
+
`)),Object.keys(y).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(y).join(",")}].`)}return(Array.isArray(s)?s:[s]).map(C=>`${C} ${typeof u=="string"?u:JD(u)} ${g} ${typeof b=="string"?b:JD(b)}`).join(",")}},e,{easing:t,duration:n})}const az={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},sz=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function ek(e={},...t){const{mixins:n={},palette:o={},transitions:s={},typography:p={}}=e,u=Ot(e,sz);if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":sp(18));const g=YV(o),b=ex(e);let y=Os(b,{mixins:LV(b.breakpoints,n),palette:g,shadows:tz.slice(),typography:QV(g,p),transitions:iz(s),zIndex:V({},az)});if(y=Os(y,u),y=t.reduce((C,w)=>Os(C,w),y),process.env.NODE_ENV!=="production"){const C=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],w=(O,P)=>{let D;for(D in O){const I=O[D];if(C.indexOf(D)!==-1&&Object.keys(I).length>0){if(process.env.NODE_ENV!=="production"){const j=Wn("",D);console.error([`MUI: The \`${P}\` component increases the CSS specificity of the \`${D}\` internal state.`,"You can not override it like this: ",JSON.stringify(O,null,2),"",`Instead, you need to use the '&.${j}' syntax:`,JSON.stringify({root:{[`&.${j}`]:I}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
150
|
+
`))}O[D]={}}}};Object.keys(y.components).forEach(O=>{const P=y.components[O].styleOverrides;P&&O.indexOf("Mui")===0&&w(P,O)})}return y.unstable_sxConfig=V({},J0,u==null?void 0:u.unstable_sxConfig),y.unstable_sx=function(w){return Ey({sx:w,theme:this})},y}const sx=ek(),Py="$$material",Nu=e=>Ty(e)&&e!=="classes",lz=Ty,mt=zD({themeId:Py,defaultTheme:sx,rootShouldForwardProp:Nu});function An({props:e,name:t}){return WD({props:e,name:t,defaultTheme:sx,themeId:Py})}function E1(e,t){return E1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,s){return o.__proto__=s,o},E1(e,t)}function Dy(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,E1(e,t)}function uz(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function cz(e,t){e.classList?e.classList.add(t):uz(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function tk(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function dz(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=tk(e.className,t):e.setAttribute("class",tk(e.className&&e.className.baseVal||"",t))}var T1={exports:{}},Yl={},lx={exports:{}},_1={};/** @license React v0.20.2
|
|
151
|
+
* scheduler.production.min.js
|
|
152
|
+
*
|
|
153
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
154
|
+
*
|
|
155
|
+
* This source code is licensed under the MIT license found in the
|
|
156
|
+
* LICENSE file in the root directory of this source tree.
|
|
157
|
+
*/var nk;function fz(){return nk||(nk=1,function(e){var t,n,o,s;if(typeof performance=="object"&&typeof performance.now=="function"){var p=performance;e.unstable_now=function(){return p.now()}}else{var u=Date,g=u.now();e.unstable_now=function(){return u.now()-g}}if(typeof window>"u"||typeof MessageChannel!="function"){var b=null,y=null,C=function(){if(b!==null)try{var ge=e.unstable_now();b(!0,ge),b=null}catch(Me){throw setTimeout(C,0),Me}};t=function(ge){b!==null?setTimeout(t,0,ge):(b=ge,setTimeout(C,0))},n=function(ge,Me){y=setTimeout(ge,Me)},o=function(){clearTimeout(y)},e.unstable_shouldYield=function(){return!1},s=e.unstable_forceFrameRate=function(){}}else{var w=window.setTimeout,O=window.clearTimeout;if(typeof console<"u"){var P=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof P!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var D=!1,I=null,j=-1,z=5,H=0;e.unstable_shouldYield=function(){return e.unstable_now()>=H},s=function(){},e.unstable_forceFrameRate=function(ge){0>ge||125<ge?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):z=0<ge?Math.floor(1e3/ge):5};var L=new MessageChannel,U=L.port2;L.port1.onmessage=function(){if(I!==null){var ge=e.unstable_now();H=ge+z;try{I(!0,ge)?U.postMessage(null):(D=!1,I=null)}catch(Me){throw U.postMessage(null),Me}}else D=!1},t=function(ge){I=ge,D||(D=!0,U.postMessage(null))},n=function(ge,Me){j=w(function(){ge(e.unstable_now())},Me)},o=function(){O(j),j=-1}}function A(ge,Me){var Le=ge.length;ge.push(Me);e:for(;;){var Oe=Le-1>>>1,Ve=ge[Oe];if(Ve!==void 0&&0<ue(Ve,Me))ge[Oe]=Me,ge[Le]=Ve,Le=Oe;else break e}}function Q(ge){return ge=ge[0],ge===void 0?null:ge}function te(ge){var Me=ge[0];if(Me!==void 0){var Le=ge.pop();if(Le!==Me){ge[0]=Le;e:for(var Oe=0,Ve=ge.length;Oe<Ve;){var ze=2*(Oe+1)-1,We=ge[ze],Ye=ze+1,ot=ge[Ye];if(We!==void 0&&0>ue(We,Le))ot!==void 0&&0>ue(ot,We)?(ge[Oe]=ot,ge[Ye]=Le,Oe=Ye):(ge[Oe]=We,ge[ze]=Le,Oe=ze);else if(ot!==void 0&&0>ue(ot,Le))ge[Oe]=ot,ge[Ye]=Le,Oe=Ye;else break e}}return Me}return null}function ue(ge,Me){var Le=ge.sortIndex-Me.sortIndex;return Le!==0?Le:ge.id-Me.id}var ae=[],pe=[],xe=1,Pe=null,ye=3,de=!1,fe=!1,Se=!1;function re(ge){for(var Me=Q(pe);Me!==null;){if(Me.callback===null)te(pe);else if(Me.startTime<=ge)te(pe),Me.sortIndex=Me.expirationTime,A(ae,Me);else break;Me=Q(pe)}}function ce(ge){if(Se=!1,re(ge),!fe)if(Q(ae)!==null)fe=!0,t(ke);else{var Me=Q(pe);Me!==null&&n(ce,Me.startTime-ge)}}function ke(ge,Me){fe=!1,Se&&(Se=!1,o()),de=!0;var Le=ye;try{for(re(Me),Pe=Q(ae);Pe!==null&&(!(Pe.expirationTime>Me)||ge&&!e.unstable_shouldYield());){var Oe=Pe.callback;if(typeof Oe=="function"){Pe.callback=null,ye=Pe.priorityLevel;var Ve=Oe(Pe.expirationTime<=Me);Me=e.unstable_now(),typeof Ve=="function"?Pe.callback=Ve:Pe===Q(ae)&&te(ae),re(Me)}else te(ae);Pe=Q(ae)}if(Pe!==null)var ze=!0;else{var We=Q(pe);We!==null&&n(ce,We.startTime-Me),ze=!1}return ze}finally{Pe=null,ye=Le,de=!1}}var Ce=s;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(ge){ge.callback=null},e.unstable_continueExecution=function(){fe||de||(fe=!0,t(ke))},e.unstable_getCurrentPriorityLevel=function(){return ye},e.unstable_getFirstCallbackNode=function(){return Q(ae)},e.unstable_next=function(ge){switch(ye){case 1:case 2:case 3:var Me=3;break;default:Me=ye}var Le=ye;ye=Me;try{return ge()}finally{ye=Le}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=Ce,e.unstable_runWithPriority=function(ge,Me){switch(ge){case 1:case 2:case 3:case 4:case 5:break;default:ge=3}var Le=ye;ye=ge;try{return Me()}finally{ye=Le}},e.unstable_scheduleCallback=function(ge,Me,Le){var Oe=e.unstable_now();switch(typeof Le=="object"&&Le!==null?(Le=Le.delay,Le=typeof Le=="number"&&0<Le?Oe+Le:Oe):Le=Oe,ge){case 1:var Ve=-1;break;case 2:Ve=250;break;case 5:Ve=1073741823;break;case 4:Ve=1e4;break;default:Ve=5e3}return Ve=Le+Ve,ge={id:xe++,callback:Me,priorityLevel:ge,startTime:Le,expirationTime:Ve,sortIndex:-1},Le>Oe?(ge.sortIndex=Le,A(pe,ge),Q(ae)===null&&ge===Q(pe)&&(Se?o():Se=!0,n(ce,Le-Oe))):(ge.sortIndex=Ve,A(ae,ge),fe||de||(fe=!0,t(ke))),ge},e.unstable_wrapCallback=function(ge){var Me=ye;return function(){var Le=ye;ye=Me;try{return ge.apply(this,arguments)}finally{ye=Le}}}}(_1)),_1}var O1={};/** @license React v0.20.2
|
|
158
|
+
* scheduler.development.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 rk;function pz(){return rk||(rk=1,function(e){process.env.NODE_ENV!=="production"&&function(){var t=!1,n=!1,o,s,p,u,g=typeof performance=="object"&&typeof performance.now=="function";if(g){var b=performance;e.unstable_now=function(){return b.now()}}else{var y=Date,C=y.now();e.unstable_now=function(){return y.now()-C}}if(typeof window>"u"||typeof MessageChannel!="function"){var w=null,O=null,P=function(){if(w!==null)try{var Vt=e.unstable_now(),Xt=!0;w(Xt,Vt),w=null}catch(vn){throw setTimeout(P,0),vn}};o=function(Vt){w!==null?setTimeout(o,0,Vt):(w=Vt,setTimeout(P,0))},s=function(Vt,Xt){O=setTimeout(Vt,Xt)},p=function(){clearTimeout(O)},e.unstable_shouldYield=function(){return!1},u=e.unstable_forceFrameRate=function(){}}else{var D=window.setTimeout,I=window.clearTimeout;if(typeof console<"u"){var j=window.requestAnimationFrame,z=window.cancelAnimationFrame;typeof j!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof z!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var H=!1,L=null,U=-1,A=5,Q=0;e.unstable_shouldYield=function(){return e.unstable_now()>=Q},u=function(){},e.unstable_forceFrameRate=function(Vt){if(Vt<0||Vt>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Vt>0?A=Math.floor(1e3/Vt):A=5};var te=function(){if(L!==null){var Vt=e.unstable_now();Q=Vt+A;var Xt=!0;try{var vn=L(Xt,Vt);vn?ae.postMessage(null):(H=!1,L=null)}catch(zt){throw ae.postMessage(null),zt}}else H=!1},ue=new MessageChannel,ae=ue.port2;ue.port1.onmessage=te,o=function(Vt){L=Vt,H||(H=!0,ae.postMessage(null))},s=function(Vt,Xt){U=D(function(){Vt(e.unstable_now())},Xt)},p=function(){I(U),U=-1}}function pe(Vt,Xt){var vn=Vt.length;Vt.push(Xt),ye(Vt,Xt,vn)}function xe(Vt){var Xt=Vt[0];return Xt===void 0?null:Xt}function Pe(Vt){var Xt=Vt[0];if(Xt!==void 0){var vn=Vt.pop();return vn!==Xt&&(Vt[0]=vn,de(Vt,vn,0)),Xt}else return null}function ye(Vt,Xt,vn){for(var zt=vn;;){var mn=zt-1>>>1,Xn=Vt[mn];if(Xn!==void 0&&fe(Xn,Xt)>0)Vt[mn]=Xt,Vt[zt]=Xn,zt=mn;else return}}function de(Vt,Xt,vn){for(var zt=vn,mn=Vt.length;zt<mn;){var Xn=(zt+1)*2-1,Pr=Vt[Xn],lo=Xn+1,oo=Vt[lo];if(Pr!==void 0&&fe(Pr,Xt)<0)oo!==void 0&&fe(oo,Pr)<0?(Vt[zt]=oo,Vt[lo]=Xt,zt=lo):(Vt[zt]=Pr,Vt[Xn]=Xt,zt=Xn);else if(oo!==void 0&&fe(oo,Xt)<0)Vt[zt]=oo,Vt[lo]=Xt,zt=lo;else return}}function fe(Vt,Xt){var vn=Vt.sortIndex-Xt.sortIndex;return vn!==0?vn:Vt.id-Xt.id}var Se=1,re=2,ce=3,ke=4,Ce=5;function ge(Vt,Xt){}var Me=1073741823,Le=-1,Oe=250,Ve=5e3,ze=1e4,We=Me,Ye=[],ot=[],yt=1,Ze=null,Te=ce,tt=!1,Ge=!1,et=!1;function xt(Vt){for(var Xt=xe(ot);Xt!==null;){if(Xt.callback===null)Pe(ot);else if(Xt.startTime<=Vt)Pe(ot),Xt.sortIndex=Xt.expirationTime,pe(Ye,Xt);else return;Xt=xe(ot)}}function Yt(Vt){if(et=!1,xt(Vt),!Ge)if(xe(Ye)!==null)Ge=!0,o(_t);else{var Xt=xe(ot);Xt!==null&&s(Yt,Xt.startTime-Vt)}}function _t(Vt,Xt){Ge=!1,et&&(et=!1,p()),tt=!0;var vn=Te;try{var zt;if(!n)return Jt(Vt,Xt)}finally{Ze=null,Te=vn,tt=!1}}function Jt(Vt,Xt){var vn=Xt;for(xt(vn),Ze=xe(Ye);Ze!==null&&!t&&!(Ze.expirationTime>vn&&(!Vt||e.unstable_shouldYield()));){var zt=Ze.callback;if(typeof zt=="function"){Ze.callback=null,Te=Ze.priorityLevel;var mn=Ze.expirationTime<=vn,Xn=zt(mn);vn=e.unstable_now(),typeof Xn=="function"?Ze.callback=Xn:Ze===xe(Ye)&&Pe(Ye),xt(vn)}else Pe(Ye);Ze=xe(Ye)}if(Ze!==null)return!0;var Pr=xe(ot);return Pr!==null&&s(Yt,Pr.startTime-vn),!1}function rt(Vt,Xt){switch(Vt){case Se:case re:case ce:case ke:case Ce:break;default:Vt=ce}var vn=Te;Te=Vt;try{return Xt()}finally{Te=vn}}function ut(Vt){var Xt;switch(Te){case Se:case re:case ce:Xt=ce;break;default:Xt=Te;break}var vn=Te;Te=Xt;try{return Vt()}finally{Te=vn}}function Kt(Vt){var Xt=Te;return function(){var vn=Te;Te=Xt;try{return Vt.apply(this,arguments)}finally{Te=vn}}}function En(Vt,Xt,vn){var zt=e.unstable_now(),mn;if(typeof vn=="object"&&vn!==null){var Xn=vn.delay;typeof Xn=="number"&&Xn>0?mn=zt+Xn:mn=zt}else mn=zt;var Pr;switch(Vt){case Se:Pr=Le;break;case re:Pr=Oe;break;case Ce:Pr=We;break;case ke:Pr=ze;break;case ce:default:Pr=Ve;break}var lo=mn+Pr,oo={id:yt++,callback:Xt,priorityLevel:Vt,startTime:mn,expirationTime:lo,sortIndex:-1};return mn>zt?(oo.sortIndex=mn,pe(ot,oo),xe(Ye)===null&&oo===xe(ot)&&(et?p():et=!0,s(Yt,mn-zt))):(oo.sortIndex=lo,pe(Ye,oo),!Ge&&!tt&&(Ge=!0,o(_t))),oo}function yn(){}function Hn(){!Ge&&!tt&&(Ge=!0,o(_t))}function sr(){return xe(Ye)}function Kn(Vt){Vt.callback=null}function Gn(){return Te}var xn=u,Or=null;e.unstable_IdlePriority=Ce,e.unstable_ImmediatePriority=Se,e.unstable_LowPriority=ke,e.unstable_NormalPriority=ce,e.unstable_Profiling=Or,e.unstable_UserBlockingPriority=re,e.unstable_cancelCallback=Kn,e.unstable_continueExecution=Hn,e.unstable_getCurrentPriorityLevel=Gn,e.unstable_getFirstCallbackNode=sr,e.unstable_next=ut,e.unstable_pauseExecution=yn,e.unstable_requestPaint=xn,e.unstable_runWithPriority=rt,e.unstable_scheduleCallback=En,e.unstable_wrapCallback=Kt}()}(O1)),O1}var ok;function ik(){return ok||(ok=1,process.env.NODE_ENV==="production"?lx.exports=fz():lx.exports=pz()),lx.exports}/** @license React v17.0.2
|
|
165
|
+
* react-dom.production.min.js
|
|
166
|
+
*
|
|
167
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
168
|
+
*
|
|
169
|
+
* This source code is licensed under the MIT license found in the
|
|
170
|
+
* LICENSE file in the root directory of this source tree.
|
|
171
|
+
*/var ak;function hz(){if(ak)return Yl;ak=1;var e=$,t=Ch(),n=ik();function o(l){for(var f="https://reactjs.org/docs/error-decoder.html?invariant="+l,m=1;m<arguments.length;m++)f+="&args[]="+encodeURIComponent(arguments[m]);return"Minified React error #"+l+"; visit "+f+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!e)throw Error(o(227));var s=new Set,p={};function u(l,f){g(l,f),g(l+"Capture",f)}function g(l,f){for(p[l]=f,l=0;l<f.length;l++)s.add(f[l])}var b=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),y=/^[: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]*$/,C=Object.prototype.hasOwnProperty,w={},O={};function P(l){return C.call(O,l)?!0:C.call(w,l)?!1:y.test(l)?O[l]=!0:(w[l]=!0,!1)}function D(l,f,m,R){if(m!==null&&m.type===0)return!1;switch(typeof f){case"function":case"symbol":return!0;case"boolean":return R?!1:m!==null?!m.acceptsBooleans:(l=l.toLowerCase().slice(0,5),l!=="data-"&&l!=="aria-");default:return!1}}function I(l,f,m,R){if(f===null||typeof f>"u"||D(l,f,m,R))return!0;if(R)return!1;if(m!==null)switch(m.type){case 3:return!f;case 4:return f===!1;case 5:return isNaN(f);case 6:return isNaN(f)||1>f}return!1}function j(l,f,m,R,k,G,oe){this.acceptsBooleans=f===2||f===3||f===4,this.attributeName=R,this.attributeNamespace=k,this.mustUseProperty=m,this.propertyName=l,this.type=f,this.sanitizeURL=G,this.removeEmptyString=oe}var z={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(l){z[l]=new j(l,0,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var f=l[0];z[f]=new j(f,1,!1,l[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){z[l]=new j(l,2,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){z[l]=new j(l,2,!1,l,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(l){z[l]=new j(l,3,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){z[l]=new j(l,3,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){z[l]=new j(l,4,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){z[l]=new j(l,6,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){z[l]=new j(l,5,!1,l.toLowerCase(),null,!1,!1)});var H=/[\-:]([a-z])/g;function L(l){return l[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(l){var f=l.replace(H,L);z[f]=new j(f,1,!1,l,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(l){var f=l.replace(H,L);z[f]=new j(f,1,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var f=l.replace(H,L);z[f]=new j(f,1,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){z[l]=new j(l,1,!1,l.toLowerCase(),null,!1,!1)}),z.xlinkHref=new j("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){z[l]=new j(l,1,!1,l.toLowerCase(),null,!0,!0)});function U(l,f,m,R){var k=z.hasOwnProperty(f)?z[f]:null,G=k!==null?k.type===0:R?!1:!(!(2<f.length)||f[0]!=="o"&&f[0]!=="O"||f[1]!=="n"&&f[1]!=="N");G||(I(f,m,k,R)&&(m=null),R||k===null?P(f)&&(m===null?l.removeAttribute(f):l.setAttribute(f,""+m)):k.mustUseProperty?l[k.propertyName]=m===null?k.type===3?!1:"":m:(f=k.attributeName,R=k.attributeNamespace,m===null?l.removeAttribute(f):(k=k.type,m=k===3||k===4&&m===!0?"":""+m,R?l.setAttributeNS(R,f,m):l.setAttribute(f,m))))}var A=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Q=60103,te=60106,ue=60107,ae=60108,pe=60114,xe=60109,Pe=60110,ye=60112,de=60113,fe=60120,Se=60115,re=60116,ce=60121,ke=60128,Ce=60129,ge=60130,Me=60131;if(typeof Symbol=="function"&&Symbol.for){var Le=Symbol.for;Q=Le("react.element"),te=Le("react.portal"),ue=Le("react.fragment"),ae=Le("react.strict_mode"),pe=Le("react.profiler"),xe=Le("react.provider"),Pe=Le("react.context"),ye=Le("react.forward_ref"),de=Le("react.suspense"),fe=Le("react.suspense_list"),Se=Le("react.memo"),re=Le("react.lazy"),ce=Le("react.block"),Le("react.scope"),ke=Le("react.opaque.id"),Ce=Le("react.debug_trace_mode"),ge=Le("react.offscreen"),Me=Le("react.legacy_hidden")}var Oe=typeof Symbol=="function"&&Symbol.iterator;function Ve(l){return l===null||typeof l!="object"?null:(l=Oe&&l[Oe]||l["@@iterator"],typeof l=="function"?l:null)}var ze;function We(l){if(ze===void 0)try{throw Error()}catch(m){var f=m.stack.trim().match(/\n( *(at )?)/);ze=f&&f[1]||""}return`
|
|
172
|
+
`+ze+l}var Ye=!1;function ot(l,f){if(!l||Ye)return"";Ye=!0;var m=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(f)if(f=function(){throw Error()},Object.defineProperty(f.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(f,[])}catch(Ie){var R=Ie}Reflect.construct(l,[],f)}else{try{f.call()}catch(Ie){R=Ie}l.call(f.prototype)}else{try{throw Error()}catch(Ie){R=Ie}l()}}catch(Ie){if(Ie&&R&&typeof Ie.stack=="string"){for(var k=Ie.stack.split(`
|
|
173
|
+
`),G=R.stack.split(`
|
|
174
|
+
`),oe=k.length-1,ve=G.length-1;1<=oe&&0<=ve&&k[oe]!==G[ve];)ve--;for(;1<=oe&&0<=ve;oe--,ve--)if(k[oe]!==G[ve]){if(oe!==1||ve!==1)do if(oe--,ve--,0>ve||k[oe]!==G[ve])return`
|
|
175
|
+
`+k[oe].replace(" at new "," at ");while(1<=oe&&0<=ve);break}}}finally{Ye=!1,Error.prepareStackTrace=m}return(l=l?l.displayName||l.name:"")?We(l):""}function yt(l){switch(l.tag){case 5:return We(l.type);case 16:return We("Lazy");case 13:return We("Suspense");case 19:return We("SuspenseList");case 0:case 2:case 15:return l=ot(l.type,!1),l;case 11:return l=ot(l.type.render,!1),l;case 22:return l=ot(l.type._render,!1),l;case 1:return l=ot(l.type,!0),l;default:return""}}function Ze(l){if(l==null)return null;if(typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case ue:return"Fragment";case te:return"Portal";case pe:return"Profiler";case ae:return"StrictMode";case de:return"Suspense";case fe:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case Pe:return(l.displayName||"Context")+".Consumer";case xe:return(l._context.displayName||"Context")+".Provider";case ye:var f=l.render;return f=f.displayName||f.name||"",l.displayName||(f!==""?"ForwardRef("+f+")":"ForwardRef");case Se:return Ze(l.type);case ce:return Ze(l._render);case re:f=l._payload,l=l._init;try{return Ze(l(f))}catch{}}return null}function Te(l){switch(typeof l){case"boolean":case"number":case"object":case"string":case"undefined":return l;default:return""}}function tt(l){var f=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(f==="checkbox"||f==="radio")}function Ge(l){var f=tt(l)?"checked":"value",m=Object.getOwnPropertyDescriptor(l.constructor.prototype,f),R=""+l[f];if(!l.hasOwnProperty(f)&&typeof m<"u"&&typeof m.get=="function"&&typeof m.set=="function"){var k=m.get,G=m.set;return Object.defineProperty(l,f,{configurable:!0,get:function(){return k.call(this)},set:function(oe){R=""+oe,G.call(this,oe)}}),Object.defineProperty(l,f,{enumerable:m.enumerable}),{getValue:function(){return R},setValue:function(oe){R=""+oe},stopTracking:function(){l._valueTracker=null,delete l[f]}}}}function et(l){l._valueTracker||(l._valueTracker=Ge(l))}function xt(l){if(!l)return!1;var f=l._valueTracker;if(!f)return!0;var m=f.getValue(),R="";return l&&(R=tt(l)?l.checked?"true":"false":l.value),l=R,l!==m?(f.setValue(l),!0):!1}function Yt(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}function _t(l,f){var m=f.checked;return t({},f,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:m??l._wrapperState.initialChecked})}function Jt(l,f){var m=f.defaultValue==null?"":f.defaultValue,R=f.checked!=null?f.checked:f.defaultChecked;m=Te(f.value!=null?f.value:m),l._wrapperState={initialChecked:R,initialValue:m,controlled:f.type==="checkbox"||f.type==="radio"?f.checked!=null:f.value!=null}}function rt(l,f){f=f.checked,f!=null&&U(l,"checked",f,!1)}function ut(l,f){rt(l,f);var m=Te(f.value),R=f.type;if(m!=null)R==="number"?(m===0&&l.value===""||l.value!=m)&&(l.value=""+m):l.value!==""+m&&(l.value=""+m);else if(R==="submit"||R==="reset"){l.removeAttribute("value");return}f.hasOwnProperty("value")?En(l,f.type,m):f.hasOwnProperty("defaultValue")&&En(l,f.type,Te(f.defaultValue)),f.checked==null&&f.defaultChecked!=null&&(l.defaultChecked=!!f.defaultChecked)}function Kt(l,f,m){if(f.hasOwnProperty("value")||f.hasOwnProperty("defaultValue")){var R=f.type;if(!(R!=="submit"&&R!=="reset"||f.value!==void 0&&f.value!==null))return;f=""+l._wrapperState.initialValue,m||f===l.value||(l.value=f),l.defaultValue=f}m=l.name,m!==""&&(l.name=""),l.defaultChecked=!!l._wrapperState.initialChecked,m!==""&&(l.name=m)}function En(l,f,m){(f!=="number"||Yt(l.ownerDocument)!==l)&&(m==null?l.defaultValue=""+l._wrapperState.initialValue:l.defaultValue!==""+m&&(l.defaultValue=""+m))}function yn(l){var f="";return e.Children.forEach(l,function(m){m!=null&&(f+=m)}),f}function Hn(l,f){return l=t({children:void 0},f),(f=yn(f.children))&&(l.children=f),l}function sr(l,f,m,R){if(l=l.options,f){f={};for(var k=0;k<m.length;k++)f["$"+m[k]]=!0;for(m=0;m<l.length;m++)k=f.hasOwnProperty("$"+l[m].value),l[m].selected!==k&&(l[m].selected=k),k&&R&&(l[m].defaultSelected=!0)}else{for(m=""+Te(m),f=null,k=0;k<l.length;k++){if(l[k].value===m){l[k].selected=!0,R&&(l[k].defaultSelected=!0);return}f!==null||l[k].disabled||(f=l[k])}f!==null&&(f.selected=!0)}}function Kn(l,f){if(f.dangerouslySetInnerHTML!=null)throw Error(o(91));return t({},f,{value:void 0,defaultValue:void 0,children:""+l._wrapperState.initialValue})}function Gn(l,f){var m=f.value;if(m==null){if(m=f.children,f=f.defaultValue,m!=null){if(f!=null)throw Error(o(92));if(Array.isArray(m)){if(!(1>=m.length))throw Error(o(93));m=m[0]}f=m}f==null&&(f=""),m=f}l._wrapperState={initialValue:Te(m)}}function xn(l,f){var m=Te(f.value),R=Te(f.defaultValue);m!=null&&(m=""+m,m!==l.value&&(l.value=m),f.defaultValue==null&&l.defaultValue!==m&&(l.defaultValue=m)),R!=null&&(l.defaultValue=""+R)}function Or(l){var f=l.textContent;f===l._wrapperState.initialValue&&f!==""&&f!==null&&(l.value=f)}var Vt={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Xt(l){switch(l){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 vn(l,f){return l==null||l==="http://www.w3.org/1999/xhtml"?Xt(f):l==="http://www.w3.org/2000/svg"&&f==="foreignObject"?"http://www.w3.org/1999/xhtml":l}var zt,mn=function(l){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(f,m,R,k){MSApp.execUnsafeLocalFunction(function(){return l(f,m,R,k)})}:l}(function(l,f){if(l.namespaceURI!==Vt.svg||"innerHTML"in l)l.innerHTML=f;else{for(zt=zt||document.createElement("div"),zt.innerHTML="<svg>"+f.valueOf().toString()+"</svg>",f=zt.firstChild;l.firstChild;)l.removeChild(l.firstChild);for(;f.firstChild;)l.appendChild(f.firstChild)}});function Xn(l,f){if(f){var m=l.firstChild;if(m&&m===l.lastChild&&m.nodeType===3){m.nodeValue=f;return}}l.textContent=f}var Pr={animationIterationCount:!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},lo=["Webkit","ms","Moz","O"];Object.keys(Pr).forEach(function(l){lo.forEach(function(f){f=f+l.charAt(0).toUpperCase()+l.substring(1),Pr[f]=Pr[l]})});function oo(l,f,m){return f==null||typeof f=="boolean"||f===""?"":m||typeof f!="number"||f===0||Pr.hasOwnProperty(l)&&Pr[l]?(""+f).trim():f+"px"}function No(l,f){l=l.style;for(var m in f)if(f.hasOwnProperty(m)){var R=m.indexOf("--")===0,k=oo(m,f[m],R);m==="float"&&(m="cssFloat"),R?l.setProperty(m,k):l[m]=k}}var Ui=t({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 Zo(l,f){if(f){if(Ui[l]&&(f.children!=null||f.dangerouslySetInnerHTML!=null))throw Error(o(137,l));if(f.dangerouslySetInnerHTML!=null){if(f.children!=null)throw Error(o(60));if(!(typeof f.dangerouslySetInnerHTML=="object"&&"__html"in f.dangerouslySetInnerHTML))throw Error(o(61))}if(f.style!=null&&typeof f.style!="object")throw Error(o(62))}}function $i(l,f){if(l.indexOf("-")===-1)return typeof f.is=="string";switch(l){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}}function $r(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var mo=null,Oo=null,po=null;function ea(l){if(l=fa(l)){if(typeof mo!="function")throw Error(o(280));var f=l.stateNode;f&&(f=ys(f),mo(l.stateNode,l.type,f))}}function wo(l){Oo?po?po.push(l):po=[l]:Oo=l}function ka(){if(Oo){var l=Oo,f=po;if(po=Oo=null,ea(l),f)for(l=0;l<f.length;l++)ea(f[l])}}function Ne(l,f){return l(f)}function At(l,f,m,R,k){return l(f,m,R,k)}function Qt(){}var Fn=Ne,tr=!1,jn=!1;function vr(){(Oo!==null||po!==null)&&(Qt(),ka())}function mr(l,f,m){if(jn)return l(f,m);jn=!0;try{return Fn(l,f,m)}finally{jn=!1,vr()}}function io(l,f){var m=l.stateNode;if(m===null)return null;var R=ys(m);if(R===null)return null;m=R[f];e:switch(f){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)||(l=l.type,R=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!R;break e;default:l=!1}if(l)return null;if(m&&typeof m!="function")throw Error(o(231,f,typeof m));return m}var Vr=!1;if(b)try{var eo={};Object.defineProperty(eo,"passive",{get:function(){Vr=!0}}),window.addEventListener("test",eo,eo),window.removeEventListener("test",eo,eo)}catch{Vr=!1}function ei(l,f,m,R,k,G,oe,ve,Ie){var dt=Array.prototype.slice.call(arguments,3);try{f.apply(m,dt)}catch(wn){this.onError(wn)}}var ti=!1,Wi=null,Mo=!1,Ja=null,Ks={onError:function(l){ti=!0,Wi=l}};function gr(l,f,m,R,k,G,oe,ve,Ie){ti=!1,Wi=null,ei.apply(Ks,arguments)}function vo(l,f,m,R,k,G,oe,ve,Ie){if(gr.apply(this,arguments),ti){if(ti){var dt=Wi;ti=!1,Wi=null}else throw Error(o(198));Mo||(Mo=!0,Ja=dt)}}function bi(l){var f=l,m=l;if(l.alternate)for(;f.return;)f=f.return;else{l=f;do f=l,f.flags&1026&&(m=f.return),l=f.return;while(l)}return f.tag===3?m:null}function Ha(l){if(l.tag===13){var f=l.memoizedState;if(f===null&&(l=l.alternate,l!==null&&(f=l.memoizedState)),f!==null)return f.dehydrated}return null}function ms(l){if(bi(l)!==l)throw Error(o(188))}function ta(l){var f=l.alternate;if(!f){if(f=bi(l),f===null)throw Error(o(188));return f!==l?null:l}for(var m=l,R=f;;){var k=m.return;if(k===null)break;var G=k.alternate;if(G===null){if(R=k.return,R!==null){m=R;continue}break}if(k.child===G.child){for(G=k.child;G;){if(G===m)return ms(k),l;if(G===R)return ms(k),f;G=G.sibling}throw Error(o(188))}if(m.return!==R.return)m=k,R=G;else{for(var oe=!1,ve=k.child;ve;){if(ve===m){oe=!0,m=k,R=G;break}if(ve===R){oe=!0,R=k,m=G;break}ve=ve.sibling}if(!oe){for(ve=G.child;ve;){if(ve===m){oe=!0,m=G,R=k;break}if(ve===R){oe=!0,R=G,m=k;break}ve=ve.sibling}if(!oe)throw Error(o(189))}}if(m.alternate!==R)throw Error(o(190))}if(m.tag!==3)throw Error(o(188));return m.stateNode.current===m?l:f}function Ds(l){if(l=ta(l),!l)return null;for(var f=l;;){if(f.tag===5||f.tag===6)return f;if(f.child)f.child.return=f,f=f.child;else{if(f===l)break;for(;!f.sibling;){if(!f.return||f.return===l)return null;f=f.return}f.sibling.return=f.return,f=f.sibling}}return null}function Ga(l,f){for(var m=l.alternate;f!==null;){if(f===l||f===m)return!0;f=f.return}return!1}var Xs,es,Zl,ks,Ns=!1,na=[],Na=null,Hi=null,Ma=null,ra=new Map,on=new Map,ts=[],ni="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 Aa(l,f,m,R,k){return{blockedOn:l,domEventName:f,eventSystemFlags:m|16,nativeEvent:k,targetContainers:[R]}}function qa(l,f){switch(l){case"focusin":case"focusout":Na=null;break;case"dragenter":case"dragleave":Hi=null;break;case"mouseover":case"mouseout":Ma=null;break;case"pointerover":case"pointerout":ra.delete(f.pointerId);break;case"gotpointercapture":case"lostpointercapture":on.delete(f.pointerId)}}function $a(l,f,m,R,k,G){return l===null||l.nativeEvent!==G?(l=Aa(f,m,R,k,G),f!==null&&(f=fa(f),f!==null&&es(f)),l):(l.eventSystemFlags|=R,f=l.targetContainers,k!==null&&f.indexOf(k)===-1&&f.push(k),l)}function li(l,f,m,R,k){switch(f){case"focusin":return Na=$a(Na,l,f,m,R,k),!0;case"dragenter":return Hi=$a(Hi,l,f,m,R,k),!0;case"mouseover":return Ma=$a(Ma,l,f,m,R,k),!0;case"pointerover":var G=k.pointerId;return ra.set(G,$a(ra.get(G)||null,l,f,m,R,k)),!0;case"gotpointercapture":return G=k.pointerId,on.set(G,$a(on.get(G)||null,l,f,m,R,k)),!0}return!1}function Bo(l){var f=au(l.target);if(f!==null){var m=bi(f);if(m!==null){if(f=m.tag,f===13){if(f=Ha(m),f!==null){l.blockedOn=f,ks(l.lanePriority,function(){n.unstable_runWithPriority(l.priority,function(){Zl(m)})});return}}else if(f===3&&m.stateNode.hydrate){l.blockedOn=m.tag===3?m.stateNode.containerInfo:null;return}}}l.blockedOn=null}function Ii(l){if(l.blockedOn!==null)return!1;for(var f=l.targetContainers;0<f.length;){var m=_e(l.domEventName,l.eventSystemFlags,f[0],l.nativeEvent);if(m!==null)return f=fa(m),f!==null&&es(f),l.blockedOn=m,!1;f.shift()}return!0}function Jl(l,f,m){Ii(l)&&m.delete(f)}function xi(){for(Ns=!1;0<na.length;){var l=na[0];if(l.blockedOn!==null){l=fa(l.blockedOn),l!==null&&Xs(l);break}for(var f=l.targetContainers;0<f.length;){var m=_e(l.domEventName,l.eventSystemFlags,f[0],l.nativeEvent);if(m!==null){l.blockedOn=m;break}f.shift()}l.blockedOn===null&&na.shift()}Na!==null&&Ii(Na)&&(Na=null),Hi!==null&&Ii(Hi)&&(Hi=null),Ma!==null&&Ii(Ma)&&(Ma=null),ra.forEach(Jl),on.forEach(Jl)}function Si(l,f){l.blockedOn===f&&(l.blockedOn=null,Ns||(Ns=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,xi)))}function Ya(l){function f(k){return Si(k,l)}if(0<na.length){Si(na[0],l);for(var m=1;m<na.length;m++){var R=na[m];R.blockedOn===l&&(R.blockedOn=null)}}for(Na!==null&&Si(Na,l),Hi!==null&&Si(Hi,l),Ma!==null&&Si(Ma,l),ra.forEach(f),on.forEach(f),m=0;m<ts.length;m++)R=ts[m],R.blockedOn===l&&(R.blockedOn=null);for(;0<ts.length&&(m=ts[0],m.blockedOn===null);)Bo(m),m.blockedOn===null&&ts.shift()}function gs(l,f){var m={};return m[l.toLowerCase()]=f.toLowerCase(),m["Webkit"+l]="webkit"+f,m["Moz"+l]="moz"+f,m}var Ia={animationend:gs("Animation","AnimationEnd"),animationiteration:gs("Animation","AnimationIteration"),animationstart:gs("Animation","AnimationStart"),transitionend:gs("Transition","TransitionEnd")},ml={},gl={};b&&(gl=document.createElement("div").style,"AnimationEvent"in window||(delete Ia.animationend.animation,delete Ia.animationiteration.animation,delete Ia.animationstart.animation),"TransitionEvent"in window||delete Ia.transitionend.transition);function Ms(l){if(ml[l])return ml[l];if(!Ia[l])return l;var f=Ia[l],m;for(m in f)if(f.hasOwnProperty(m)&&m in gl)return ml[l]=f[m];return l}var yl=Ms("animationend"),J=Ms("animationiteration"),Be=Ms("animationstart"),it=Ms("transitionend"),St=new Map,sn=new Map,cr=["abort","abort",yl,"animationEnd",J,"animationIteration",Be,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",it,"transitionEnd","waiting","waiting"];function Zn(l,f){for(var m=0;m<l.length;m+=2){var R=l[m],k=l[m+1];k="on"+(k[0].toUpperCase()+k.slice(1)),sn.set(R,f),St.set(R,k),u(k,[R])}}var rr=n.unstable_now;rr();var Ln=8;function Kr(l){if(1&l)return Ln=15,1;if(2&l)return Ln=14,2;if(4&l)return Ln=13,4;var f=24&l;return f!==0?(Ln=12,f):l&32?(Ln=11,32):(f=192&l,f!==0?(Ln=10,f):l&256?(Ln=9,256):(f=3584&l,f!==0?(Ln=8,f):l&4096?(Ln=7,4096):(f=4186112&l,f!==0?(Ln=6,f):(f=62914560&l,f!==0?(Ln=5,f):l&67108864?(Ln=4,67108864):l&134217728?(Ln=3,134217728):(f=805306368&l,f!==0?(Ln=2,f):1073741824&l?(Ln=1,1073741824):(Ln=8,l))))))}function yo(l){switch(l){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function Ao(l){switch(l){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(o(358,l))}}function Xo(l,f){var m=l.pendingLanes;if(m===0)return Ln=0;var R=0,k=0,G=l.expiredLanes,oe=l.suspendedLanes,ve=l.pingedLanes;if(G!==0)R=G,k=Ln=15;else if(G=m&134217727,G!==0){var Ie=G&~oe;Ie!==0?(R=Kr(Ie),k=Ln):(ve&=G,ve!==0&&(R=Kr(ve),k=Ln))}else G=m&~oe,G!==0?(R=Kr(G),k=Ln):ve!==0&&(R=Kr(ve),k=Ln);if(R===0)return 0;if(R=31-Ka(R),R=m&((0>R?0:1<<R)<<1)-1,f!==0&&f!==R&&!(f&oe)){if(Kr(f),k<=Ln)return f;Ln=k}if(f=l.entangledLanes,f!==0)for(l=l.entanglements,f&=R;0<f;)m=31-Ka(f),k=1<<m,R|=l[m],f&=~k;return R}function Fi(l){return l=l.pendingLanes&-1073741825,l!==0?l:l&1073741824?1073741824:0}function ui(l,f){switch(l){case 15:return 1;case 14:return 2;case 12:return l=Ur(24&~f),l===0?ui(10,f):l;case 10:return l=Ur(192&~f),l===0?ui(8,f):l;case 8:return l=Ur(3584&~f),l===0&&(l=Ur(4186112&~f),l===0&&(l=512)),l;case 2:return f=Ur(805306368&~f),f===0&&(f=268435456),f}throw Error(o(358,l))}function Ur(l){return l&-l}function ao(l){for(var f=[],m=0;31>m;m++)f.push(l);return f}function As(l,f,m){l.pendingLanes|=f;var R=f-1;l.suspendedLanes&=R,l.pingedLanes&=R,l=l.eventTimes,f=31-Ka(f),l[f]=m}var Ka=Math.clz32?Math.clz32:Qs,bl=Math.log,Gu=Math.LN2;function Qs(l){return l===0?32:31-(bl(l)/Gu|0)|0}var xl=n.unstable_UserBlockingPriority,eu=n.unstable_runWithPriority,T=!0;function q(l,f,m,R){tr||Qt();var k=ie,G=tr;tr=!0;try{At(k,l,f,m,R)}finally{(tr=G)||vr()}}function ee(l,f,m,R){eu(xl,ie.bind(null,l,f,m,R))}function ie(l,f,m,R){if(T){var k;if((k=(f&4)===0)&&0<na.length&&-1<ni.indexOf(l))l=Aa(null,l,f,m,R),na.push(l);else{var G=_e(l,f,m,R);if(G===null)k&&qa(l,R);else{if(k){if(-1<ni.indexOf(l)){l=Aa(G,l,f,m,R),na.push(l);return}if(li(G,l,f,m,R))return;qa(l,R)}pf(l,f,R,null,m)}}}}function _e(l,f,m,R){var k=$r(R);if(k=au(k),k!==null){var G=bi(k);if(G===null)k=null;else{var oe=G.tag;if(oe===13){if(k=Ha(G),k!==null)return k;k=null}else if(oe===3){if(G.stateNode.hydrate)return G.tag===3?G.stateNode.containerInfo:null;k=null}else G!==k&&(k=null)}}return pf(l,f,R,k,m),null}var me=null,De=null,lt=null;function ft(){if(lt)return lt;var l,f=De,m=f.length,R,k="value"in me?me.value:me.textContent,G=k.length;for(l=0;l<m&&f[l]===k[l];l++);var oe=m-l;for(R=1;R<=oe&&f[m-R]===k[G-R];R++);return lt=k.slice(l,1<R?1-R:void 0)}function vt(l){var f=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&f===13&&(l=13)):l=f,l===10&&(l=13),32<=l||l===13?l:0}function Ht(){return!0}function Wt(){return!1}function kt(l){function f(m,R,k,G,oe){this._reactName=m,this._targetInst=k,this.type=R,this.nativeEvent=G,this.target=oe,this.currentTarget=null;for(var ve in l)l.hasOwnProperty(ve)&&(m=l[ve],this[ve]=m?m(G):G[ve]);return this.isDefaultPrevented=(G.defaultPrevented!=null?G.defaultPrevented:G.returnValue===!1)?Ht:Wt,this.isPropagationStopped=Wt,this}return t(f.prototype,{preventDefault:function(){this.defaultPrevented=!0;var m=this.nativeEvent;m&&(m.preventDefault?m.preventDefault():typeof m.returnValue!="unknown"&&(m.returnValue=!1),this.isDefaultPrevented=Ht)},stopPropagation:function(){var m=this.nativeEvent;m&&(m.stopPropagation?m.stopPropagation():typeof m.cancelBubble!="unknown"&&(m.cancelBubble=!0),this.isPropagationStopped=Ht)},persist:function(){},isPersistent:Ht}),f}var ht={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Bt=kt(ht),Ut=t({},ht,{view:0,detail:0}),ln=kt(Ut),On,Jn,bn,Gt=t({},Ut,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:le,button:0,buttons:0,relatedTarget:function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},movementX:function(l){return"movementX"in l?l.movementX:(l!==bn&&(bn&&l.type==="mousemove"?(On=l.screenX-bn.screenX,Jn=l.screenY-bn.screenY):Jn=On=0,bn=l),On)},movementY:function(l){return"movementY"in l?l.movementY:Jn}}),fn=kt(Gt),pn=t({},Gt,{dataTransfer:0}),Dn=kt(pn),fr=t({},Ut,{relatedTarget:0}),Sn=kt(fr),qn=t({},ht,{animationName:0,elapsedTime:0,pseudoElement:0}),to=kt(qn),lr=t({},ht,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),Wr=kt(lr),_=t({},ht,{data:0}),F=kt(_),K={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Y={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"},he={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function we(l){var f=this.nativeEvent;return f.getModifierState?f.getModifierState(l):(l=he[l])?!!f[l]:!1}function le(){return we}var Ae=t({},Ut,{key:function(l){if(l.key){var f=K[l.key]||l.key;if(f!=="Unidentified")return f}return l.type==="keypress"?(l=vt(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?Y[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:le,charCode:function(l){return l.type==="keypress"?vt(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?vt(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),Qe=kt(Ae),ct=t({},Gt,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),gt=kt(ct),en=t({},Ut,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:le}),Dt=kt(en),Mt=t({},ht,{propertyName:0,elapsedTime:0,pseudoElement:0}),nn=kt(Mt),Ct=t({},Gt,{deltaX:function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},deltaY:function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},deltaZ:0,deltaMode:0}),gn=kt(Ct),$n=[9,13,27,32],or=b&&"CompositionEvent"in window,an=null;b&&"documentMode"in document&&(an=document.documentMode);var yr=b&&"TextEvent"in window&&!an,Dr=b&&(!or||an&&8<an&&11>=an),cn=" ",Zt=!1;function un(l,f){switch(l){case"keyup":return $n.indexOf(f.keyCode)!==-1;case"keydown":return f.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Nn(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var ar=!1;function wr(l,f){switch(l){case"compositionend":return Nn(f);case"keypress":return f.which!==32?null:(Zt=!0,cn);case"textInput":return l=f.data,l===cn&&Zt?null:l;default:return null}}function Xr(l,f){if(ar)return l==="compositionend"||!or&&un(l,f)?(l=ft(),lt=De=me=null,ar=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(f.ctrlKey||f.altKey||f.metaKey)||f.ctrlKey&&f.altKey){if(f.char&&1<f.char.length)return f.char;if(f.which)return String.fromCharCode(f.which)}return null;case"compositionend":return Dr&&f.locale!=="ko"?null:f.data;default:return null}}var Cn={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 Ci(l){var f=l&&l.nodeName&&l.nodeName.toLowerCase();return f==="input"?!!Cn[l.type]:f==="textarea"}function br(l,f,m,R){wo(R),f=El(f,"onChange"),0<f.length&&(m=new Bt("onChange","change",null,m,R),l.push({event:m,listeners:f}))}var In=null,Mn=null;function Hr(l){Fc(l,0)}function Po(l){var f=oa(l);if(xt(f))return l}function tu(l,f){if(l==="change")return f}var qu=!1;if(b){var nr;if(b){var Ro="oninput"in document;if(!Ro){var ci=document.createElement("div");ci.setAttribute("oninput","return;"),Ro=typeof ci.oninput=="function"}nr=Ro}else nr=!1;qu=nr&&(!document.documentMode||9<document.documentMode)}function di(){In&&(In.detachEvent("onpropertychange",Fe),Mn=In=null)}function Fe(l){if(l.propertyName==="value"&&Po(Mn)){var f=[];if(br(f,Mn,l,$r(l)),l=Hr,tr)l(f);else{tr=!0;try{Ne(l,f)}finally{tr=!1,vr()}}}}function pt(l,f,m){l==="focusin"?(di(),In=f,Mn=m,In.attachEvent("onpropertychange",Fe)):l==="focusout"&&di()}function Je(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return Po(Mn)}function rn(l,f){if(l==="click")return Po(f)}function dr(l,f){if(l==="input"||l==="change")return Po(f)}function ur(l,f){return l===f&&(l!==0||1/l===1/f)||l!==l&&f!==f}var co=typeof Object.is=="function"?Object.is:ur,ho=Object.prototype.hasOwnProperty;function Zs(l,f){if(co(l,f))return!0;if(typeof l!="object"||l===null||typeof f!="object"||f===null)return!1;var m=Object.keys(l),R=Object.keys(f);if(m.length!==R.length)return!1;for(R=0;R<m.length;R++)if(!ho.call(f,m[R])||!co(l[m[R]],f[m[R]]))return!1;return!0}function Sl(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function wi(l,f){var m=Sl(l);l=0;for(var R;m;){if(m.nodeType===3){if(R=l+m.textContent.length,l<=f&&R>=f)return{node:m,offset:f-l};l=R}e:{for(;m;){if(m.nextSibling){m=m.nextSibling;break e}m=m.parentNode}m=void 0}m=Sl(m)}}function Xa(l,f){return l&&f?l===f?!0:l&&l.nodeType===3?!1:f&&f.nodeType===3?Xa(l,f.parentNode):"contains"in l?l.contains(f):l.compareDocumentPosition?!!(l.compareDocumentPosition(f)&16):!1:!1}function Ac(){for(var l=window,f=Yt();f instanceof l.HTMLIFrameElement;){try{var m=typeof f.contentWindow.location.href=="string"}catch{m=!1}if(m)l=f.contentWindow;else break;f=Yt(l.document)}return f}function Qa(l){var f=l&&l.nodeName&&l.nodeName.toLowerCase();return f&&(f==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||f==="textarea"||l.contentEditable==="true")}var $c=b&&"documentMode"in document&&11>=document.documentMode,Js=null,jr=null,Ic=null,nu=!1;function Cl(l,f,m){var R=m.window===m?m.document:m.nodeType===9?m:m.ownerDocument;nu||Js==null||Js!==Yt(R)||(R=Js,"selectionStart"in R&&Qa(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}),Ic&&Zs(Ic,R)||(Ic=R,R=El(jr,"onSelect"),0<R.length&&(f=new Bt("onSelect","select",null,f,m),l.push({event:f,listeners:R}),f.target=Js)))}Zn("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Zn("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Zn(cr,2);for(var qh="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Yh=0;Yh<qh.length;Yh++)sn.set(qh[Yh],0);g("onMouseEnter",["mouseout","mouseover"]),g("onMouseLeave",["mouseout","mouseover"]),g("onPointerEnter",["pointerout","pointerover"]),g("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Sd="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),wp=new Set("cancel close invalid load scroll toggle".split(" ").concat(Sd));function wl(l,f,m){var R=l.type||"unknown-event";l.currentTarget=m,vo(R,f,void 0,l),l.currentTarget=null}function Fc(l,f){f=(f&4)!==0;for(var m=0;m<l.length;m++){var R=l[m],k=R.event;R=R.listeners;e:{var G=void 0;if(f)for(var oe=R.length-1;0<=oe;oe--){var ve=R[oe],Ie=ve.instance,dt=ve.currentTarget;if(ve=ve.listener,Ie!==G&&k.isPropagationStopped())break e;wl(k,ve,dt),G=Ie}else for(oe=0;oe<R.length;oe++){if(ve=R[oe],Ie=ve.instance,dt=ve.currentTarget,ve=ve.listener,Ie!==G&&k.isPropagationStopped())break e;wl(k,ve,dt),G=Ie}}}if(Mo)throw l=Ja,Mo=!1,Ja=null,l}function Vo(l,f){var m=hf(f),R=l+"__bubble";m.has(R)||(Lc(f,l,2,!1),m.add(R))}var jc="_reactListening"+Math.random().toString(36).slice(2);function Rp(l){l[jc]||(l[jc]=!0,s.forEach(function(f){wp.has(f)||Rl(f,!1,l,null),Rl(f,!0,l,null)}))}function Rl(l,f,m,R){var k=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,G=m;l==="selectionchange"&&m.nodeType!==9&&(G=m.ownerDocument);var oe=hf(G),ve=l+"__"+(f?"capture":"bubble");oe.has(ve)||(f&&(k|=4),Lc(G,l,k,f),oe.add(ve))}function Lc(l,f,m,R){var k=sn.get(f);switch(k===void 0?2:k){case 0:k=q;break;case 1:k=ee;break;default:k=ie}m=k.bind(null,f,m,l),k=void 0,!Vr||f!=="touchstart"&&f!=="touchmove"&&f!=="wheel"||(k=!0),R?k!==void 0?l.addEventListener(f,m,{capture:!0,passive:k}):l.addEventListener(f,m,!0):k!==void 0?l.addEventListener(f,m,{passive:k}):l.addEventListener(f,m,!1)}function pf(l,f,m,R,k){var G=R;if(!(f&1)&&!(f&2)&&R!==null)e:for(;;){if(R===null)return;var oe=R.tag;if(oe===3||oe===4){var ve=R.stateNode.containerInfo;if(ve===k||ve.nodeType===8&&ve.parentNode===k)break;if(oe===4)for(oe=R.return;oe!==null;){var Ie=oe.tag;if((Ie===3||Ie===4)&&(Ie=oe.stateNode.containerInfo,Ie===k||Ie.nodeType===8&&Ie.parentNode===k))return;oe=oe.return}for(;ve!==null;){if(oe=au(ve),oe===null)return;if(Ie=oe.tag,Ie===5||Ie===6){R=G=oe;continue e}ve=ve.parentNode}}R=R.return}mr(function(){var dt=G,wn=$r(m),Tr=[];e:{var jt=St.get(l);if(jt!==void 0){var er=Bt,kr=l;switch(l){case"keypress":if(vt(m)===0)break e;case"keydown":case"keyup":er=Qe;break;case"focusin":kr="focus",er=Sn;break;case"focusout":kr="blur",er=Sn;break;case"beforeblur":case"afterblur":er=Sn;break;case"click":if(m.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":er=fn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":er=Dn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":er=Dt;break;case yl:case J:case Be:er=to;break;case it:er=nn;break;case"scroll":er=ln;break;case"wheel":er=gn;break;case"copy":case"cut":case"paste":er=Wr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":er=gt}var pr=(f&4)!==0,Xe=!pr&&l==="scroll",Ue=pr?jt!==null?jt+"Capture":null:jt;pr=[];for(var qe=dt,Tt;qe!==null;){Tt=qe;var Nt=Tt.stateNode;if(Tt.tag===5&&Nt!==null&&(Tt=Nt,Ue!==null&&(Nt=io(qe,Ue),Nt!=null&&pr.push(ru(qe,Nt,Tt)))),Xe)break;qe=qe.return}0<pr.length&&(jt=new er(jt,kr,null,m,wn),Tr.push({event:jt,listeners:pr}))}}if(!(f&7)){e:{if(jt=l==="mouseover"||l==="pointerover",er=l==="mouseout"||l==="pointerout",jt&&!(f&16)&&(kr=m.relatedTarget||m.fromElement)&&(au(kr)||kr[wa]))break e;if((er||jt)&&(jt=wn.window===wn?wn:(jt=wn.ownerDocument)?jt.defaultView||jt.parentWindow:window,er?(kr=m.relatedTarget||m.toElement,er=dt,kr=kr?au(kr):null,kr!==null&&(Xe=bi(kr),kr!==Xe||kr.tag!==5&&kr.tag!==6)&&(kr=null)):(er=null,kr=dt),er!==kr)){if(pr=fn,Nt="onMouseLeave",Ue="onMouseEnter",qe="mouse",(l==="pointerout"||l==="pointerover")&&(pr=gt,Nt="onPointerLeave",Ue="onPointerEnter",qe="pointer"),Xe=er==null?jt:oa(er),Tt=kr==null?jt:oa(kr),jt=new pr(Nt,qe+"leave",er,m,wn),jt.target=Xe,jt.relatedTarget=Tt,Nt=null,au(wn)===dt&&(pr=new pr(Ue,qe+"enter",kr,m,wn),pr.target=Tt,pr.relatedTarget=Xe,Nt=pr),Xe=Nt,er&&kr)t:{for(pr=er,Ue=kr,qe=0,Tt=pr;Tt;Tt=ou(Tt))qe++;for(Tt=0,Nt=Ue;Nt;Nt=ou(Nt))Tt++;for(;0<qe-Tt;)pr=ou(pr),qe--;for(;0<Tt-qe;)Ue=ou(Ue),Tt--;for(;qe--;){if(pr===Ue||Ue!==null&&pr===Ue.alternate)break t;pr=ou(pr),Ue=ou(Ue)}pr=null}else pr=null;er!==null&&sg(Tr,jt,er,pr,!1),kr!==null&&Xe!==null&&sg(Tr,Xe,kr,pr,!0)}}e:{if(jt=dt?oa(dt):window,er=jt.nodeName&&jt.nodeName.toLowerCase(),er==="select"||er==="input"&&jt.type==="file")var Fr=tu;else if(Ci(jt))if(qu)Fr=dr;else{Fr=Je;var Pn=pt}else(er=jt.nodeName)&&er.toLowerCase()==="input"&&(jt.type==="checkbox"||jt.type==="radio")&&(Fr=rn);if(Fr&&(Fr=Fr(l,dt))){br(Tr,Fr,m,wn);break e}Pn&&Pn(l,jt,dt),l==="focusout"&&(Pn=jt._wrapperState)&&Pn.controlled&&jt.type==="number"&&En(jt,"number",jt.value)}switch(Pn=dt?oa(dt):window,l){case"focusin":(Ci(Pn)||Pn.contentEditable==="true")&&(Js=Pn,jr=dt,Ic=null);break;case"focusout":Ic=jr=Js=null;break;case"mousedown":nu=!0;break;case"contextmenu":case"mouseup":case"dragend":nu=!1,Cl(Tr,m,wn);break;case"selectionchange":if($c)break;case"keydown":case"keyup":Cl(Tr,m,wn)}var Sr;if(or)e:{switch(l){case"compositionstart":var zr="onCompositionStart";break e;case"compositionend":zr="onCompositionEnd";break e;case"compositionupdate":zr="onCompositionUpdate";break e}zr=void 0}else ar?un(l,m)&&(zr="onCompositionEnd"):l==="keydown"&&m.keyCode===229&&(zr="onCompositionStart");zr&&(Dr&&m.locale!=="ko"&&(ar||zr!=="onCompositionStart"?zr==="onCompositionEnd"&&ar&&(Sr=ft()):(me=wn,De="value"in me?me.value:me.textContent,ar=!0)),Pn=El(dt,zr),0<Pn.length&&(zr=new F(zr,l,null,m,wn),Tr.push({event:zr,listeners:Pn}),Sr?zr.data=Sr:(Sr=Nn(m),Sr!==null&&(zr.data=Sr)))),(Sr=yr?wr(l,m):Xr(l,m))&&(dt=El(dt,"onBeforeInput"),0<dt.length&&(wn=new F("onBeforeInput","beforeinput",null,m,wn),Tr.push({event:wn,listeners:dt}),wn.data=Sr))}Fc(Tr,f)})}function ru(l,f,m){return{instance:l,listener:f,currentTarget:m}}function El(l,f){for(var m=f+"Capture",R=[];l!==null;){var k=l,G=k.stateNode;k.tag===5&&G!==null&&(k=G,G=io(l,m),G!=null&&R.unshift(ru(l,G,k)),G=io(l,f),G!=null&&R.push(ru(l,G,k))),l=l.return}return R}function ou(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5);return l||null}function sg(l,f,m,R,k){for(var G=f._reactName,oe=[];m!==null&&m!==R;){var ve=m,Ie=ve.alternate,dt=ve.stateNode;if(Ie!==null&&Ie===R)break;ve.tag===5&&dt!==null&&(ve=dt,k?(Ie=io(m,G),Ie!=null&&oe.unshift(ru(m,Ie,ve))):k||(Ie=io(m,G),Ie!=null&&oe.push(ru(m,Ie,ve)))),m=m.return}oe.length!==0&&l.push({event:f,listeners:oe})}function Ep(){}var Kh=null,Cd=null;function iu(l,f){switch(l){case"button":case"input":case"select":case"textarea":return!!f.autoFocus}return!1}function Bc(l,f){return l==="textarea"||l==="option"||l==="noscript"||typeof f.children=="string"||typeof f.children=="number"||typeof f.dangerouslySetInnerHTML=="object"&&f.dangerouslySetInnerHTML!==null&&f.dangerouslySetInnerHTML.__html!=null}var wd=typeof setTimeout=="function"?setTimeout:void 0,Xh=typeof clearTimeout=="function"?clearTimeout:void 0;function Tp(l){l.nodeType===1?l.textContent="":l.nodeType===9&&(l=l.body,l!=null&&(l.textContent=""))}function Yu(l){for(;l!=null;l=l.nextSibling){var f=l.nodeType;if(f===1||f===3)break}return l}function Gi(l){l=l.previousSibling;for(var f=0;l;){if(l.nodeType===8){var m=l.data;if(m==="$"||m==="$!"||m==="$?"){if(f===0)return l;f--}else m==="/$"&&f++}l=l.previousSibling}return null}var fi=0;function _p(l){return{$$typeof:ke,toString:l,valueOf:l}}var Vc=Math.random().toString(36).slice(2),el="__reactFiber$"+Vc,Op="__reactProps$"+Vc,wa="__reactContainer$"+Vc,Rd="__reactEvents$"+Vc;function au(l){var f=l[el];if(f)return f;for(var m=l.parentNode;m;){if(f=m[wa]||m[el]){if(m=f.alternate,f.child!==null||m!==null&&m.child!==null)for(l=Gi(l);l!==null;){if(m=l[el])return m;l=Gi(l)}return f}l=m,m=l.parentNode}return null}function fa(l){return l=l[el]||l[wa],!l||l.tag!==5&&l.tag!==6&&l.tag!==13&&l.tag!==3?null:l}function oa(l){if(l.tag===5||l.tag===6)return l.stateNode;throw Error(o(33))}function ys(l){return l[Op]||null}function hf(l){var f=l[Rd];return f===void 0&&(f=l[Rd]=new Set),f}var Ku=[],$o=-1;function Za(l){return{current:l}}function Ir(l){0>$o||(l.current=Ku[$o],Ku[$o]=null,$o--)}function Rr(l,f){$o++,Ku[$o]=l.current,l.current=f}var Xu={},zo=Za(Xu),ji=Za(!1),su=Xu;function ne(l,f){var m=l.type.contextTypes;if(!m)return Xu;var R=l.stateNode;if(R&&R.__reactInternalMemoizedUnmaskedChildContext===f)return R.__reactInternalMemoizedMaskedChildContext;var k={},G;for(G in m)k[G]=f[G];return R&&(l=l.stateNode,l.__reactInternalMemoizedUnmaskedChildContext=f,l.__reactInternalMemoizedMaskedChildContext=k),k}function Ri(l){return l=l.childContextTypes,l!=null}function bs(){Ir(ji),Ir(zo)}function Ra(l,f,m){if(zo.current!==Xu)throw Error(o(168));Rr(zo,f),Rr(ji,m)}function Gr(l,f,m){var R=l.stateNode;if(l=f.childContextTypes,typeof R.getChildContext!="function")return m;R=R.getChildContext();for(var k in R)if(!(k in l))throw Error(o(108,Ze(f)||"Unknown",k));return t({},m,R)}function $s(l){return l=(l=l.stateNode)&&l.__reactInternalMemoizedMergedChildContext||Xu,su=zo.current,Rr(zo,l),Rr(ji,ji.current),!0}function lg(l,f,m){var R=l.stateNode;if(!R)throw Error(o(169));m?(l=Gr(l,f,su),R.__reactInternalMemoizedMergedChildContext=l,Ir(ji),Ir(zo),Rr(zo,l)):Ir(ji),Rr(ji,m)}var Qh=null,xs=null,vf=n.unstable_runWithPriority,tl=n.unstable_scheduleCallback,mf=n.unstable_cancelCallback,_b=n.unstable_shouldYield,Qu=n.unstable_requestPaint,Is=n.unstable_now,ug=n.unstable_getCurrentPriorityLevel,Pp=n.unstable_ImmediatePriority,cg=n.unstable_UserBlockingPriority,Zh=n.unstable_NormalPriority,Jh=n.unstable_LowPriority,nl=n.unstable_IdlePriority,ev={},dg=Qu!==void 0?Qu:function(){},Tl=null,Dp=null,gf=!1,Zu=Is(),Ea=1e4>Zu?Is:function(){return Is()-Zu};function Ed(){switch(ug()){case Pp:return 99;case cg:return 98;case Zh:return 97;case Jh:return 96;case nl:return 95;default:throw Error(o(332))}}function Ss(l){switch(l){case 99:return Pp;case 98:return cg;case 97:return Zh;case 96:return Jh;case 95:return nl;default:throw Error(o(332))}}function zc(l,f){return l=Ss(l),vf(l,f)}function Uc(l,f,m){return l=Ss(l),tl(l,f,m)}function pa(){if(Dp!==null){var l=Dp;Dp=null,mf(l)}lu()}function lu(){if(!gf&&Tl!==null){gf=!0;var l=0;try{var f=Tl;zc(99,function(){for(;l<f.length;l++){var m=f[l];do m=m(!0);while(m!==null)}}),Tl=null}catch(m){throw Tl!==null&&(Tl=Tl.slice(l+1)),tl(Pp,pa),m}finally{gf=!1}}}var Ju=A.ReactCurrentBatchConfig;function ia(l,f){if(l&&l.defaultProps){f=t({},f),l=l.defaultProps;for(var m in l)f[m]===void 0&&(f[m]=l[m]);return f}return f}var uu=Za(null),ec=null,_l=null,Td=null;function Wc(){Td=_l=ec=null}function Hc(l){var f=uu.current;Ir(uu),l.type._context._currentValue=f}function tv(l,f){for(;l!==null;){var m=l.alternate;if((l.childLanes&f)===f){if(m===null||(m.childLanes&f)===f)break;m.childLanes|=f}else l.childLanes|=f,m!==null&&(m.childLanes|=f);l=l.return}}function tc(l,f){ec=l,Td=_l=null,l=l.dependencies,l!==null&&l.firstContext!==null&&(l.lanes&f&&(la=!0),l.firstContext=null)}function Cs(l,f){if(Td!==l&&f!==!1&&f!==0)if((typeof f!="number"||f===1073741823)&&(Td=l,f=1073741823),f={context:l,observedBits:f,next:null},_l===null){if(ec===null)throw Error(o(308));_l=f,ec.dependencies={lanes:0,firstContext:f,responders:null}}else _l=_l.next=f;return l._currentValue}var qi=!1;function yf(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function nc(l,f){l=l.updateQueue,f.updateQueue===l&&(f.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,effects:l.effects})}function Ei(l,f){return{eventTime:l,lane:f,tag:0,payload:null,callback:null,next:null}}function cu(l,f){if(l=l.updateQueue,l!==null){l=l.shared;var m=l.pending;m===null?f.next=f:(f.next=m.next,m.next=f),l.pending=f}}function nv(l,f){var m=l.updateQueue,R=l.alternate;if(R!==null&&(R=R.updateQueue,m===R)){var k=null,G=null;if(m=m.firstBaseUpdate,m!==null){do{var oe={eventTime:m.eventTime,lane:m.lane,tag:m.tag,payload:m.payload,callback:m.callback,next:null};G===null?k=G=oe:G=G.next=oe,m=m.next}while(m!==null);G===null?k=G=f:G=G.next=f}else k=G=f;m={baseState:R.baseState,firstBaseUpdate:k,lastBaseUpdate:G,shared:R.shared,effects:R.effects},l.updateQueue=m;return}l=m.lastBaseUpdate,l===null?m.firstBaseUpdate=f:l.next=f,m.lastBaseUpdate=f}function Ol(l,f,m,R){var k=l.updateQueue;qi=!1;var G=k.firstBaseUpdate,oe=k.lastBaseUpdate,ve=k.shared.pending;if(ve!==null){k.shared.pending=null;var Ie=ve,dt=Ie.next;Ie.next=null,oe===null?G=dt:oe.next=dt,oe=Ie;var wn=l.alternate;if(wn!==null){wn=wn.updateQueue;var Tr=wn.lastBaseUpdate;Tr!==oe&&(Tr===null?wn.firstBaseUpdate=dt:Tr.next=dt,wn.lastBaseUpdate=Ie)}}if(G!==null){Tr=k.baseState,oe=0,wn=dt=Ie=null;do{ve=G.lane;var jt=G.eventTime;if((R&ve)===ve){wn!==null&&(wn=wn.next={eventTime:jt,lane:0,tag:G.tag,payload:G.payload,callback:G.callback,next:null});e:{var er=l,kr=G;switch(ve=f,jt=m,kr.tag){case 1:if(er=kr.payload,typeof er=="function"){Tr=er.call(jt,Tr,ve);break e}Tr=er;break e;case 3:er.flags=er.flags&-4097|64;case 0:if(er=kr.payload,ve=typeof er=="function"?er.call(jt,Tr,ve):er,ve==null)break e;Tr=t({},Tr,ve);break e;case 2:qi=!0}}G.callback!==null&&(l.flags|=32,ve=k.effects,ve===null?k.effects=[G]:ve.push(G))}else jt={eventTime:jt,lane:ve,tag:G.tag,payload:G.payload,callback:G.callback,next:null},wn===null?(dt=wn=jt,Ie=Tr):wn=wn.next=jt,oe|=ve;if(G=G.next,G===null){if(ve=k.shared.pending,ve===null)break;G=ve.next,ve.next=null,k.lastBaseUpdate=ve,k.shared.pending=null}}while(!0);wn===null&&(Ie=Tr),k.baseState=Ie,k.firstBaseUpdate=dt,k.lastBaseUpdate=wn,xu|=oe,l.lanes=oe,l.memoizedState=Tr}}function Gc(l,f,m){if(l=f.effects,f.effects=null,l!==null)for(f=0;f<l.length;f++){var R=l[f],k=R.callback;if(k!==null){if(R.callback=null,R=m,typeof k!="function")throw Error(o(191,k));k.call(R)}}}var rl=new e.Component().refs;function _d(l,f,m,R){f=l.memoizedState,m=m(R,f),m=m==null?f:t({},f,m),l.memoizedState=m,l.lanes===0&&(l.updateQueue.baseState=m)}var Od={isMounted:function(l){return(l=l._reactInternals)?bi(l)===l:!1},enqueueSetState:function(l,f,m){l=l._reactInternals;var R=Es(),k=sl(l),G=Ei(R,k);G.payload=f,m!=null&&(G.callback=m),cu(l,G),Cu(l,k,R)},enqueueReplaceState:function(l,f,m){l=l._reactInternals;var R=Es(),k=sl(l),G=Ei(R,k);G.tag=1,G.payload=f,m!=null&&(G.callback=m),cu(l,G),Cu(l,k,R)},enqueueForceUpdate:function(l,f){l=l._reactInternals;var m=Es(),R=sl(l),k=Ei(m,R);k.tag=2,f!=null&&(k.callback=f),cu(l,k),Cu(l,R,m)}};function rc(l,f,m,R,k,G,oe){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(R,G,oe):f.prototype&&f.prototype.isPureReactComponent?!Zs(m,R)||!Zs(k,G):!0}function qc(l,f,m){var R=!1,k=Xu,G=f.contextType;return typeof G=="object"&&G!==null?G=Cs(G):(k=Ri(f)?su:zo.current,R=f.contextTypes,G=(R=R!=null)?ne(l,k):Xu),f=new f(m,G),l.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=Od,l.stateNode=f,f._reactInternals=l,R&&(l=l.stateNode,l.__reactInternalMemoizedUnmaskedChildContext=k,l.__reactInternalMemoizedMaskedChildContext=G),f}function bf(l,f,m,R){l=f.state,typeof f.componentWillReceiveProps=="function"&&f.componentWillReceiveProps(m,R),typeof f.UNSAFE_componentWillReceiveProps=="function"&&f.UNSAFE_componentWillReceiveProps(m,R),f.state!==l&&Od.enqueueReplaceState(f,f.state,null)}function Yi(l,f,m,R){var k=l.stateNode;k.props=m,k.state=l.memoizedState,k.refs=rl,yf(l);var G=f.contextType;typeof G=="object"&&G!==null?k.context=Cs(G):(G=Ri(f)?su:zo.current,k.context=ne(l,G)),Ol(l,m,k,R),k.state=l.memoizedState,G=f.getDerivedStateFromProps,typeof G=="function"&&(_d(l,f,G,m),k.state=l.memoizedState),typeof f.getDerivedStateFromProps=="function"||typeof k.getSnapshotBeforeUpdate=="function"||typeof k.UNSAFE_componentWillMount!="function"&&typeof k.componentWillMount!="function"||(f=k.state,typeof k.componentWillMount=="function"&&k.componentWillMount(),typeof k.UNSAFE_componentWillMount=="function"&&k.UNSAFE_componentWillMount(),f!==k.state&&Od.enqueueReplaceState(k,k.state,null),Ol(l,m,k,R),k.state=l.memoizedState),typeof k.componentDidMount=="function"&&(l.flags|=4)}var du=Array.isArray;function Yc(l,f,m){if(l=m.ref,l!==null&&typeof l!="function"&&typeof l!="object"){if(m._owner){if(m=m._owner,m){if(m.tag!==1)throw Error(o(309));var R=m.stateNode}if(!R)throw Error(o(147,l));var k=""+l;return f!==null&&f.ref!==null&&typeof f.ref=="function"&&f.ref._stringRef===k?f.ref:(f=function(G){var oe=R.refs;oe===rl&&(oe=R.refs={}),G===null?delete oe[k]:oe[k]=G},f._stringRef=k,f)}if(typeof l!="string")throw Error(o(284));if(!m._owner)throw Error(o(290,l))}return l}function ns(l,f){if(l.type!=="textarea")throw Error(o(31,Object.prototype.toString.call(f)==="[object Object]"?"object with keys {"+Object.keys(f).join(", ")+"}":f))}function xf(l){function f(Xe,Ue){if(l){var qe=Xe.lastEffect;qe!==null?(qe.nextEffect=Ue,Xe.lastEffect=Ue):Xe.firstEffect=Xe.lastEffect=Ue,Ue.nextEffect=null,Ue.flags=8}}function m(Xe,Ue){if(!l)return null;for(;Ue!==null;)f(Xe,Ue),Ue=Ue.sibling;return null}function R(Xe,Ue){for(Xe=new Map;Ue!==null;)Ue.key!==null?Xe.set(Ue.key,Ue):Xe.set(Ue.index,Ue),Ue=Ue.sibling;return Xe}function k(Xe,Ue){return Xe=mc(Xe,Ue),Xe.index=0,Xe.sibling=null,Xe}function G(Xe,Ue,qe){return Xe.index=qe,l?(qe=Xe.alternate,qe!==null?(qe=qe.index,qe<Ue?(Xe.flags=2,Ue):qe):(Xe.flags=2,Ue)):Ue}function oe(Xe){return l&&Xe.alternate===null&&(Xe.flags=2),Xe}function ve(Xe,Ue,qe,Tt){return Ue===null||Ue.tag!==6?(Ue=Rv(qe,Xe.mode,Tt),Ue.return=Xe,Ue):(Ue=k(Ue,qe),Ue.return=Xe,Ue)}function Ie(Xe,Ue,qe,Tt){return Ue!==null&&Ue.elementType===qe.type?(Tt=k(Ue,qe.props),Tt.ref=Yc(Xe,Ue,qe),Tt.return=Xe,Tt):(Tt=qf(qe.type,qe.key,qe.props,null,Xe.mode,Tt),Tt.ref=Yc(Xe,Ue,qe),Tt.return=Xe,Tt)}function dt(Xe,Ue,qe,Tt){return Ue===null||Ue.tag!==4||Ue.stateNode.containerInfo!==qe.containerInfo||Ue.stateNode.implementation!==qe.implementation?(Ue=Ev(qe,Xe.mode,Tt),Ue.return=Xe,Ue):(Ue=k(Ue,qe.children||[]),Ue.return=Xe,Ue)}function wn(Xe,Ue,qe,Tt,Nt){return Ue===null||Ue.tag!==7?(Ue=jl(qe,Xe.mode,Tt,Nt),Ue.return=Xe,Ue):(Ue=k(Ue,qe),Ue.return=Xe,Ue)}function Tr(Xe,Ue,qe){if(typeof Ue=="string"||typeof Ue=="number")return Ue=Rv(""+Ue,Xe.mode,qe),Ue.return=Xe,Ue;if(typeof Ue=="object"&&Ue!==null){switch(Ue.$$typeof){case Q:return qe=qf(Ue.type,Ue.key,Ue.props,null,Xe.mode,qe),qe.ref=Yc(Xe,null,Ue),qe.return=Xe,qe;case te:return Ue=Ev(Ue,Xe.mode,qe),Ue.return=Xe,Ue}if(du(Ue)||Ve(Ue))return Ue=jl(Ue,Xe.mode,qe,null),Ue.return=Xe,Ue;ns(Xe,Ue)}return null}function jt(Xe,Ue,qe,Tt){var Nt=Ue!==null?Ue.key:null;if(typeof qe=="string"||typeof qe=="number")return Nt!==null?null:ve(Xe,Ue,""+qe,Tt);if(typeof qe=="object"&&qe!==null){switch(qe.$$typeof){case Q:return qe.key===Nt?qe.type===ue?wn(Xe,Ue,qe.props.children,Tt,Nt):Ie(Xe,Ue,qe,Tt):null;case te:return qe.key===Nt?dt(Xe,Ue,qe,Tt):null}if(du(qe)||Ve(qe))return Nt!==null?null:wn(Xe,Ue,qe,Tt,null);ns(Xe,qe)}return null}function er(Xe,Ue,qe,Tt,Nt){if(typeof Tt=="string"||typeof Tt=="number")return Xe=Xe.get(qe)||null,ve(Ue,Xe,""+Tt,Nt);if(typeof Tt=="object"&&Tt!==null){switch(Tt.$$typeof){case Q:return Xe=Xe.get(Tt.key===null?qe:Tt.key)||null,Tt.type===ue?wn(Ue,Xe,Tt.props.children,Nt,Tt.key):Ie(Ue,Xe,Tt,Nt);case te:return Xe=Xe.get(Tt.key===null?qe:Tt.key)||null,dt(Ue,Xe,Tt,Nt)}if(du(Tt)||Ve(Tt))return Xe=Xe.get(qe)||null,wn(Ue,Xe,Tt,Nt,null);ns(Ue,Tt)}return null}function kr(Xe,Ue,qe,Tt){for(var Nt=null,Fr=null,Pn=Ue,Sr=Ue=0,zr=null;Pn!==null&&Sr<qe.length;Sr++){Pn.index>Sr?(zr=Pn,Pn=null):zr=Pn.sibling;var Lr=jt(Xe,Pn,qe[Sr],Tt);if(Lr===null){Pn===null&&(Pn=zr);break}l&&Pn&&Lr.alternate===null&&f(Xe,Pn),Ue=G(Lr,Ue,Sr),Fr===null?Nt=Lr:Fr.sibling=Lr,Fr=Lr,Pn=zr}if(Sr===qe.length)return m(Xe,Pn),Nt;if(Pn===null){for(;Sr<qe.length;Sr++)Pn=Tr(Xe,qe[Sr],Tt),Pn!==null&&(Ue=G(Pn,Ue,Sr),Fr===null?Nt=Pn:Fr.sibling=Pn,Fr=Pn);return Nt}for(Pn=R(Xe,Pn);Sr<qe.length;Sr++)zr=er(Pn,Xe,Sr,qe[Sr],Tt),zr!==null&&(l&&zr.alternate!==null&&Pn.delete(zr.key===null?Sr:zr.key),Ue=G(zr,Ue,Sr),Fr===null?Nt=zr:Fr.sibling=zr,Fr=zr);return l&&Pn.forEach(function(gc){return f(Xe,gc)}),Nt}function pr(Xe,Ue,qe,Tt){var Nt=Ve(qe);if(typeof Nt!="function")throw Error(o(150));if(qe=Nt.call(qe),qe==null)throw Error(o(151));for(var Fr=Nt=null,Pn=Ue,Sr=Ue=0,zr=null,Lr=qe.next();Pn!==null&&!Lr.done;Sr++,Lr=qe.next()){Pn.index>Sr?(zr=Pn,Pn=null):zr=Pn.sibling;var gc=jt(Xe,Pn,Lr.value,Tt);if(gc===null){Pn===null&&(Pn=zr);break}l&&Pn&&gc.alternate===null&&f(Xe,Pn),Ue=G(gc,Ue,Sr),Fr===null?Nt=gc:Fr.sibling=gc,Fr=gc,Pn=zr}if(Lr.done)return m(Xe,Pn),Nt;if(Pn===null){for(;!Lr.done;Sr++,Lr=qe.next())Lr=Tr(Xe,Lr.value,Tt),Lr!==null&&(Ue=G(Lr,Ue,Sr),Fr===null?Nt=Lr:Fr.sibling=Lr,Fr=Lr);return Nt}for(Pn=R(Xe,Pn);!Lr.done;Sr++,Lr=qe.next())Lr=er(Pn,Xe,Sr,Lr.value,Tt),Lr!==null&&(l&&Lr.alternate!==null&&Pn.delete(Lr.key===null?Sr:Lr.key),Ue=G(Lr,Ue,Sr),Fr===null?Nt=Lr:Fr.sibling=Lr,Fr=Lr);return l&&Pn.forEach(function(Lb){return f(Xe,Lb)}),Nt}return function(Xe,Ue,qe,Tt){var Nt=typeof qe=="object"&&qe!==null&&qe.type===ue&&qe.key===null;Nt&&(qe=qe.props.children);var Fr=typeof qe=="object"&&qe!==null;if(Fr)switch(qe.$$typeof){case Q:e:{for(Fr=qe.key,Nt=Ue;Nt!==null;){if(Nt.key===Fr){switch(Nt.tag){case 7:if(qe.type===ue){m(Xe,Nt.sibling),Ue=k(Nt,qe.props.children),Ue.return=Xe,Xe=Ue;break e}break;default:if(Nt.elementType===qe.type){m(Xe,Nt.sibling),Ue=k(Nt,qe.props),Ue.ref=Yc(Xe,Nt,qe),Ue.return=Xe,Xe=Ue;break e}}m(Xe,Nt);break}else f(Xe,Nt);Nt=Nt.sibling}qe.type===ue?(Ue=jl(qe.props.children,Xe.mode,Tt,qe.key),Ue.return=Xe,Xe=Ue):(Tt=qf(qe.type,qe.key,qe.props,null,Xe.mode,Tt),Tt.ref=Yc(Xe,Ue,qe),Tt.return=Xe,Xe=Tt)}return oe(Xe);case te:e:{for(Nt=qe.key;Ue!==null;){if(Ue.key===Nt)if(Ue.tag===4&&Ue.stateNode.containerInfo===qe.containerInfo&&Ue.stateNode.implementation===qe.implementation){m(Xe,Ue.sibling),Ue=k(Ue,qe.children||[]),Ue.return=Xe,Xe=Ue;break e}else{m(Xe,Ue);break}else f(Xe,Ue);Ue=Ue.sibling}Ue=Ev(qe,Xe.mode,Tt),Ue.return=Xe,Xe=Ue}return oe(Xe)}if(typeof qe=="string"||typeof qe=="number")return qe=""+qe,Ue!==null&&Ue.tag===6?(m(Xe,Ue.sibling),Ue=k(Ue,qe),Ue.return=Xe,Xe=Ue):(m(Xe,Ue),Ue=Rv(qe,Xe.mode,Tt),Ue.return=Xe,Xe=Ue),oe(Xe);if(du(qe))return kr(Xe,Ue,qe,Tt);if(Ve(qe))return pr(Xe,Ue,qe,Tt);if(Fr&&ns(Xe,qe),typeof qe>"u"&&!Nt)switch(Xe.tag){case 1:case 22:case 0:case 11:case 15:throw Error(o(152,Ze(Xe.type)||"Component"))}return m(Xe,Ue)}}var oc=xf(!0),fu=xf(!1),ic={},ri=Za(ic),Kc=Za(ic),Sf=Za(ic);function Xc(l){if(l===ic)throw Error(o(174));return l}function Cf(l,f){switch(Rr(Sf,f),Rr(Kc,l),Rr(ri,ic),l=f.nodeType,l){case 9:case 11:f=(f=f.documentElement)?f.namespaceURI:vn(null,"");break;default:l=l===8?f.parentNode:f,f=l.namespaceURI||null,l=l.tagName,f=vn(f,l)}Ir(ri),Rr(ri,f)}function ac(){Ir(ri),Ir(Kc),Ir(Sf)}function fg(l){Xc(Sf.current);var f=Xc(ri.current),m=vn(f,l.type);f!==m&&(Rr(Kc,l),Rr(ri,m))}function Qc(l){Kc.current===l&&(Ir(ri),Ir(Kc))}var pi=Za(0);function wf(l){for(var f=l;f!==null;){if(f.tag===13){var m=f.memoizedState;if(m!==null&&(m=m.dehydrated,m===null||m.data==="$?"||m.data==="$!"))return f}else if(f.tag===19&&f.memoizedProps.revealOrder!==void 0){if(f.flags&64)return f}else if(f.child!==null){f.child.return=f,f=f.child;continue}if(f===l)break;for(;f.sibling===null;){if(f.return===null||f.return===l)return null;f=f.return}f.sibling.return=f.return,f=f.sibling}return null}var Pl=null,ws=null,Dl=!1;function rv(l,f){var m=Ls(5,null,null,0);m.elementType="DELETED",m.type="DELETED",m.stateNode=f,m.return=l,m.flags=8,l.lastEffect!==null?(l.lastEffect.nextEffect=m,l.lastEffect=m):l.firstEffect=l.lastEffect=m}function kp(l,f){switch(l.tag){case 5:var m=l.type;return f=f.nodeType!==1||m.toLowerCase()!==f.nodeName.toLowerCase()?null:f,f!==null?(l.stateNode=f,!0):!1;case 6:return f=l.pendingProps===""||f.nodeType!==3?null:f,f!==null?(l.stateNode=f,!0):!1;case 13:return!1;default:return!1}}function pu(l){if(Dl){var f=ws;if(f){var m=f;if(!kp(l,f)){if(f=Yu(m.nextSibling),!f||!kp(l,f)){l.flags=l.flags&-1025|2,Dl=!1,Pl=l;return}rv(Pl,m)}Pl=l,ws=Yu(f.firstChild)}else l.flags=l.flags&-1025|2,Dl=!1,Pl=l}}function Rf(l){for(l=l.return;l!==null&&l.tag!==5&&l.tag!==3&&l.tag!==13;)l=l.return;Pl=l}function Ef(l){if(l!==Pl)return!1;if(!Dl)return Rf(l),Dl=!0,!1;var f=l.type;if(l.tag!==5||f!=="head"&&f!=="body"&&!Bc(f,l.memoizedProps))for(f=ws;f;)rv(l,f),f=Yu(f.nextSibling);if(Rf(l),l.tag===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(o(317));e:{for(l=l.nextSibling,f=0;l;){if(l.nodeType===8){var m=l.data;if(m==="/$"){if(f===0){ws=Yu(l.nextSibling);break e}f--}else m!=="$"&&m!=="$!"&&m!=="$?"||f++}l=l.nextSibling}ws=null}}else ws=Pl?Yu(l.stateNode.nextSibling):null;return!0}function Pd(){ws=Pl=null,Dl=!1}var sc=[];function kl(){for(var l=0;l<sc.length;l++)sc[l]._workInProgressVersionPrimary=null;sc.length=0}var Dd=A.ReactCurrentDispatcher,Ki=A.ReactCurrentBatchConfig,Zc=0,Jo=null,aa=null,Li=null,Tf=!1,hu=!1;function Fa(){throw Error(o(321))}function vu(l,f){if(f===null)return!1;for(var m=0;m<f.length&&m<l.length;m++)if(!co(l[m],f[m]))return!1;return!0}function Np(l,f,m,R,k,G){if(Zc=G,Jo=f,f.memoizedState=null,f.updateQueue=null,f.lanes=0,Dd.current=l===null||l.memoizedState===null?nd:pg,l=m(R,k),hu){G=0;do{if(hu=!1,!(25>G))throw Error(o(301));G+=1,Li=aa=null,f.updateQueue=null,Dd.current=iv,l=m(R,k)}while(hu)}if(Dd.current=Pf,f=aa!==null&&aa.next!==null,Zc=0,Li=aa=Jo=null,Tf=!1,f)throw Error(o(300));return l}function Pt(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Li===null?Jo.memoizedState=Li=l:Li=Li.next=l,Li}function Ti(){if(aa===null){var l=Jo.alternate;l=l!==null?l.memoizedState:null}else l=aa.next;var f=Li===null?Jo.memoizedState:Li.next;if(f!==null)Li=f,aa=l;else{if(l===null)throw Error(o(310));aa=l,l={memoizedState:aa.memoizedState,baseState:aa.baseState,baseQueue:aa.baseQueue,queue:aa.queue,next:null},Li===null?Jo.memoizedState=Li=l:Li=Li.next=l}return Li}function no(l,f){return typeof f=="function"?f(l):f}function ol(l){var f=Ti(),m=f.queue;if(m===null)throw Error(o(311));m.lastRenderedReducer=l;var R=aa,k=R.baseQueue,G=m.pending;if(G!==null){if(k!==null){var oe=k.next;k.next=G.next,G.next=oe}R.baseQueue=k=G,m.pending=null}if(k!==null){k=k.next,R=R.baseState;var ve=oe=G=null,Ie=k;do{var dt=Ie.lane;if((Zc&dt)===dt)ve!==null&&(ve=ve.next={lane:0,action:Ie.action,eagerReducer:Ie.eagerReducer,eagerState:Ie.eagerState,next:null}),R=Ie.eagerReducer===l?Ie.eagerState:l(R,Ie.action);else{var wn={lane:dt,action:Ie.action,eagerReducer:Ie.eagerReducer,eagerState:Ie.eagerState,next:null};ve===null?(oe=ve=wn,G=R):ve=ve.next=wn,Jo.lanes|=dt,xu|=dt}Ie=Ie.next}while(Ie!==null&&Ie!==k);ve===null?G=R:ve.next=oe,co(R,f.memoizedState)||(la=!0),f.memoizedState=R,f.baseState=G,f.baseQueue=ve,m.lastRenderedState=R}return[f.memoizedState,m.dispatch]}function Jc(l){var f=Ti(),m=f.queue;if(m===null)throw Error(o(311));m.lastRenderedReducer=l;var R=m.dispatch,k=m.pending,G=f.memoizedState;if(k!==null){m.pending=null;var oe=k=k.next;do G=l(G,oe.action),oe=oe.next;while(oe!==k);co(G,f.memoizedState)||(la=!0),f.memoizedState=G,f.baseQueue===null&&(f.baseState=G),m.lastRenderedState=G}return[G,R]}function ed(l,f,m){var R=f._getVersion;R=R(f._source);var k=f._workInProgressVersionPrimary;if(k!==null?l=k===R:(l=l.mutableReadLanes,(l=(Zc&l)===l)&&(f._workInProgressVersionPrimary=R,sc.push(f))),l)return m(f._source);throw sc.push(f),Error(o(350))}function qr(l,f,m,R){var k=_a;if(k===null)throw Error(o(349));var G=f._getVersion,oe=G(f._source),ve=Dd.current,Ie=ve.useState(function(){return ed(k,f,m)}),dt=Ie[1],wn=Ie[0];Ie=Li;var Tr=l.memoizedState,jt=Tr.refs,er=jt.getSnapshot,kr=Tr.source;Tr=Tr.subscribe;var pr=Jo;return l.memoizedState={refs:jt,source:f,subscribe:R},ve.useEffect(function(){jt.getSnapshot=m,jt.setSnapshot=dt;var Xe=G(f._source);if(!co(oe,Xe)){Xe=m(f._source),co(wn,Xe)||(dt(Xe),Xe=sl(pr),k.mutableReadLanes|=Xe&k.pendingLanes),Xe=k.mutableReadLanes,k.entangledLanes|=Xe;for(var Ue=k.entanglements,qe=Xe;0<qe;){var Tt=31-Ka(qe),Nt=1<<Tt;Ue[Tt]|=Xe,qe&=~Nt}}},[m,f,R]),ve.useEffect(function(){return R(f._source,function(){var Xe=jt.getSnapshot,Ue=jt.setSnapshot;try{Ue(Xe(f._source));var qe=sl(pr);k.mutableReadLanes|=qe&k.pendingLanes}catch(Tt){Ue(function(){throw Tt})}})},[f,R]),co(er,m)&&co(kr,f)&&co(Tr,R)||(l={pending:null,dispatch:null,lastRenderedReducer:no,lastRenderedState:wn},l.dispatch=dt=Md.bind(null,Jo,l),Ie.queue=l,Ie.baseQueue=null,wn=ed(k,f,m),Ie.memoizedState=Ie.baseState=wn),wn}function ov(l,f,m){var R=Ti();return qr(R,l,f,m)}function kd(l){var f=Pt();return typeof l=="function"&&(l=l()),f.memoizedState=f.baseState=l,l=f.queue={pending:null,dispatch:null,lastRenderedReducer:no,lastRenderedState:l},l=l.dispatch=Md.bind(null,Jo,l),[f.memoizedState,l]}function Nl(l,f,m,R){return l={tag:l,create:f,destroy:m,deps:R,next:null},f=Jo.updateQueue,f===null?(f={lastEffect:null},Jo.updateQueue=f,f.lastEffect=l.next=l):(m=f.lastEffect,m===null?f.lastEffect=l.next=l:(R=m.next,m.next=l,l.next=R,f.lastEffect=l)),l}function Mp(l){var f=Pt();return l={current:l},f.memoizedState=l}function mu(){return Ti().memoizedState}function Nd(l,f,m,R){var k=Pt();Jo.flags|=l,k.memoizedState=Nl(1|f,m,void 0,R===void 0?null:R)}function sa(l,f,m,R){var k=Ti();R=R===void 0?null:R;var G=void 0;if(aa!==null){var oe=aa.memoizedState;if(G=oe.destroy,R!==null&&vu(R,oe.deps)){Nl(f,m,G,R);return}}Jo.flags|=l,k.memoizedState=Nl(1|f,m,G,R)}function Ap(l,f){return Nd(516,4,l,f)}function lc(l,f){return sa(516,4,l,f)}function _f(l,f){return sa(4,2,l,f)}function Of(l,f){if(typeof f=="function")return l=l(),f(l),function(){f(null)};if(f!=null)return l=l(),f.current=l,function(){f.current=null}}function Fs(l,f,m){return m=m!=null?m.concat([l]):null,sa(4,2,Of.bind(null,f,l),m)}function uo(){}function uc(l,f){var m=Ti();f=f===void 0?null:f;var R=m.memoizedState;return R!==null&&f!==null&&vu(f,R[1])?R[0]:(m.memoizedState=[l,f],l)}function Do(l,f){var m=Ti();f=f===void 0?null:f;var R=m.memoizedState;return R!==null&&f!==null&&vu(f,R[1])?R[0]:(l=l(),m.memoizedState=[l,f],l)}function td(l,f){var m=Ed();zc(98>m?98:m,function(){l(!0)}),zc(97<m?97:m,function(){var R=Ki.transition;Ki.transition=1;try{l(!1),f()}finally{Ki.transition=R}})}function Md(l,f,m){var R=Es(),k=sl(l),G={lane:k,action:m,eagerReducer:null,eagerState:null,next:null},oe=f.pending;if(oe===null?G.next=G:(G.next=oe.next,oe.next=G),f.pending=G,oe=l.alternate,l===Jo||oe!==null&&oe===Jo)hu=Tf=!0;else{if(l.lanes===0&&(oe===null||oe.lanes===0)&&(oe=f.lastRenderedReducer,oe!==null))try{var ve=f.lastRenderedState,Ie=oe(ve,m);if(G.eagerReducer=oe,G.eagerState=Ie,co(Ie,ve))return}catch{}finally{}Cu(l,k,R)}}var Pf={readContext:Cs,useCallback:Fa,useContext:Fa,useEffect:Fa,useImperativeHandle:Fa,useLayoutEffect:Fa,useMemo:Fa,useReducer:Fa,useRef:Fa,useState:Fa,useDebugValue:Fa,useDeferredValue:Fa,useTransition:Fa,useMutableSource:Fa,useOpaqueIdentifier:Fa,unstable_isNewReconciler:!1},nd={readContext:Cs,useCallback:function(l,f){return Pt().memoizedState=[l,f===void 0?null:f],l},useContext:Cs,useEffect:Ap,useImperativeHandle:function(l,f,m){return m=m!=null?m.concat([l]):null,Nd(4,2,Of.bind(null,f,l),m)},useLayoutEffect:function(l,f){return Nd(4,2,l,f)},useMemo:function(l,f){var m=Pt();return f=f===void 0?null:f,l=l(),m.memoizedState=[l,f],l},useReducer:function(l,f,m){var R=Pt();return f=m!==void 0?m(f):f,R.memoizedState=R.baseState=f,l=R.queue={pending:null,dispatch:null,lastRenderedReducer:l,lastRenderedState:f},l=l.dispatch=Md.bind(null,Jo,l),[R.memoizedState,l]},useRef:Mp,useState:kd,useDebugValue:uo,useDeferredValue:function(l){var f=kd(l),m=f[0],R=f[1];return Ap(function(){var k=Ki.transition;Ki.transition=1;try{R(l)}finally{Ki.transition=k}},[l]),m},useTransition:function(){var l=kd(!1),f=l[0];return l=td.bind(null,l[1]),Mp(l),[l,f]},useMutableSource:function(l,f,m){var R=Pt();return R.memoizedState={refs:{getSnapshot:f,setSnapshot:null},source:l,subscribe:m},qr(R,l,f,m)},useOpaqueIdentifier:function(){if(Dl){var l=!1,f=_p(function(){throw l||(l=!0,m("r:"+(fi++).toString(36))),Error(o(355))}),m=kd(f)[1];return!(Jo.mode&2)&&(Jo.flags|=516,Nl(5,function(){m("r:"+(fi++).toString(36))},void 0,null)),f}return f="r:"+(fi++).toString(36),kd(f),f},unstable_isNewReconciler:!1},pg={readContext:Cs,useCallback:uc,useContext:Cs,useEffect:lc,useImperativeHandle:Fs,useLayoutEffect:_f,useMemo:Do,useReducer:ol,useRef:mu,useState:function(){return ol(no)},useDebugValue:uo,useDeferredValue:function(l){var f=ol(no),m=f[0],R=f[1];return lc(function(){var k=Ki.transition;Ki.transition=1;try{R(l)}finally{Ki.transition=k}},[l]),m},useTransition:function(){var l=ol(no)[0];return[mu().current,l]},useMutableSource:ov,useOpaqueIdentifier:function(){return ol(no)[0]},unstable_isNewReconciler:!1},iv={readContext:Cs,useCallback:uc,useContext:Cs,useEffect:lc,useImperativeHandle:Fs,useLayoutEffect:_f,useMemo:Do,useReducer:Jc,useRef:mu,useState:function(){return Jc(no)},useDebugValue:uo,useDeferredValue:function(l){var f=Jc(no),m=f[0],R=f[1];return lc(function(){var k=Ki.transition;Ki.transition=1;try{R(l)}finally{Ki.transition=k}},[l]),m},useTransition:function(){var l=Jc(no)[0];return[mu().current,l]},useMutableSource:ov,useOpaqueIdentifier:function(){return Jc(no)[0]},unstable_isNewReconciler:!1},av=A.ReactCurrentOwner,la=!1;function rs(l,f,m,R){f.child=l===null?fu(f,null,m,R):oc(f,l.child,m,R)}function Ml(l,f,m,R,k){m=m.render;var G=f.ref;return tc(f,k),R=Np(l,f,m,R,G,k),l!==null&&!la?(f.updateQueue=l.updateQueue,f.flags&=-517,l.lanes&=~k,os(l,f,k)):(f.flags|=1,rs(l,f,R,k),f.child)}function $p(l,f,m,R,k,G){if(l===null){var oe=m.type;return typeof oe=="function"&&!Yp(oe)&&oe.defaultProps===void 0&&m.compare===null&&m.defaultProps===void 0?(f.tag=15,f.type=oe,sv(l,f,oe,R,k,G)):(l=qf(m.type,null,R,f,f.mode,G),l.ref=f.ref,l.return=f,f.child=l)}return oe=l.child,!(k&G)&&(k=oe.memoizedProps,m=m.compare,m=m!==null?m:Zs,m(k,R)&&l.ref===f.ref)?os(l,f,G):(f.flags|=1,l=mc(oe,R),l.ref=f.ref,l.return=f,f.child=l)}function sv(l,f,m,R,k,G){if(l!==null&&Zs(l.memoizedProps,R)&&l.ref===f.ref)if(la=!1,(G&k)!==0)l.flags&16384&&(la=!0);else return f.lanes=l.lanes,os(l,f,G);return lv(l,f,m,R,G)}function cc(l,f,m){var R=f.pendingProps,k=R.children,G=l!==null?l.memoizedState:null;if(R.mode==="hidden"||R.mode==="unstable-defer-without-hiding")if(!(f.mode&4))f.memoizedState={baseLanes:0},Hf(f,m);else if(m&1073741824)f.memoizedState={baseLanes:0},Hf(f,G!==null?G.baseLanes:m);else return l=G!==null?G.baseLanes|m:m,f.lanes=f.childLanes=1073741824,f.memoizedState={baseLanes:l},Hf(f,l),null;else G!==null?(R=G.baseLanes|m,f.memoizedState=null):R=m,Hf(f,R);return rs(l,f,k,m),f.child}function hg(l,f){var m=f.ref;(l===null&&m!==null||l!==null&&l.ref!==m)&&(f.flags|=128)}function lv(l,f,m,R,k){var G=Ri(m)?su:zo.current;return G=ne(f,G),tc(f,k),m=Np(l,f,m,R,G,k),l!==null&&!la?(f.updateQueue=l.updateQueue,f.flags&=-517,l.lanes&=~k,os(l,f,k)):(f.flags|=1,rs(l,f,m,k),f.child)}function vg(l,f,m,R,k){if(Ri(m)){var G=!0;$s(f)}else G=!1;if(tc(f,k),f.stateNode===null)l!==null&&(l.alternate=null,f.alternate=null,f.flags|=2),qc(f,m,R),Yi(f,m,R,k),R=!0;else if(l===null){var oe=f.stateNode,ve=f.memoizedProps;oe.props=ve;var Ie=oe.context,dt=m.contextType;typeof dt=="object"&&dt!==null?dt=Cs(dt):(dt=Ri(m)?su:zo.current,dt=ne(f,dt));var wn=m.getDerivedStateFromProps,Tr=typeof wn=="function"||typeof oe.getSnapshotBeforeUpdate=="function";Tr||typeof oe.UNSAFE_componentWillReceiveProps!="function"&&typeof oe.componentWillReceiveProps!="function"||(ve!==R||Ie!==dt)&&bf(f,oe,R,dt),qi=!1;var jt=f.memoizedState;oe.state=jt,Ol(f,R,oe,k),Ie=f.memoizedState,ve!==R||jt!==Ie||ji.current||qi?(typeof wn=="function"&&(_d(f,m,wn,R),Ie=f.memoizedState),(ve=qi||rc(f,m,ve,R,jt,Ie,dt))?(Tr||typeof oe.UNSAFE_componentWillMount!="function"&&typeof oe.componentWillMount!="function"||(typeof oe.componentWillMount=="function"&&oe.componentWillMount(),typeof oe.UNSAFE_componentWillMount=="function"&&oe.UNSAFE_componentWillMount()),typeof oe.componentDidMount=="function"&&(f.flags|=4)):(typeof oe.componentDidMount=="function"&&(f.flags|=4),f.memoizedProps=R,f.memoizedState=Ie),oe.props=R,oe.state=Ie,oe.context=dt,R=ve):(typeof oe.componentDidMount=="function"&&(f.flags|=4),R=!1)}else{oe=f.stateNode,nc(l,f),ve=f.memoizedProps,dt=f.type===f.elementType?ve:ia(f.type,ve),oe.props=dt,Tr=f.pendingProps,jt=oe.context,Ie=m.contextType,typeof Ie=="object"&&Ie!==null?Ie=Cs(Ie):(Ie=Ri(m)?su:zo.current,Ie=ne(f,Ie));var er=m.getDerivedStateFromProps;(wn=typeof er=="function"||typeof oe.getSnapshotBeforeUpdate=="function")||typeof oe.UNSAFE_componentWillReceiveProps!="function"&&typeof oe.componentWillReceiveProps!="function"||(ve!==Tr||jt!==Ie)&&bf(f,oe,R,Ie),qi=!1,jt=f.memoizedState,oe.state=jt,Ol(f,R,oe,k);var kr=f.memoizedState;ve!==Tr||jt!==kr||ji.current||qi?(typeof er=="function"&&(_d(f,m,er,R),kr=f.memoizedState),(dt=qi||rc(f,m,dt,R,jt,kr,Ie))?(wn||typeof oe.UNSAFE_componentWillUpdate!="function"&&typeof oe.componentWillUpdate!="function"||(typeof oe.componentWillUpdate=="function"&&oe.componentWillUpdate(R,kr,Ie),typeof oe.UNSAFE_componentWillUpdate=="function"&&oe.UNSAFE_componentWillUpdate(R,kr,Ie)),typeof oe.componentDidUpdate=="function"&&(f.flags|=4),typeof oe.getSnapshotBeforeUpdate=="function"&&(f.flags|=256)):(typeof oe.componentDidUpdate!="function"||ve===l.memoizedProps&&jt===l.memoizedState||(f.flags|=4),typeof oe.getSnapshotBeforeUpdate!="function"||ve===l.memoizedProps&&jt===l.memoizedState||(f.flags|=256),f.memoizedProps=R,f.memoizedState=kr),oe.props=R,oe.state=kr,oe.context=Ie,R=dt):(typeof oe.componentDidUpdate!="function"||ve===l.memoizedProps&&jt===l.memoizedState||(f.flags|=4),typeof oe.getSnapshotBeforeUpdate!="function"||ve===l.memoizedProps&&jt===l.memoizedState||(f.flags|=256),R=!1)}return Ip(l,f,m,R,G,k)}function Ip(l,f,m,R,k,G){hg(l,f);var oe=(f.flags&64)!==0;if(!R&&!oe)return k&&lg(f,m,!1),os(l,f,G);R=f.stateNode,av.current=f;var ve=oe&&typeof m.getDerivedStateFromError!="function"?null:R.render();return f.flags|=1,l!==null&&oe?(f.child=oc(f,l.child,null,G),f.child=oc(f,null,ve,G)):rs(l,f,ve,G),f.memoizedState=R.state,k&&lg(f,m,!0),f.child}function uv(l){var f=l.stateNode;f.pendingContext?Ra(l,f.pendingContext,f.pendingContext!==f.context):f.context&&Ra(l,f.context,!1),Cf(l,f.containerInfo)}var ha={dehydrated:null,retryLane:0};function gu(l,f,m){var R=f.pendingProps,k=pi.current,G=!1,oe;return(oe=(f.flags&64)!==0)||(oe=l!==null&&l.memoizedState===null?!1:(k&2)!==0),oe?(G=!0,f.flags&=-65):l!==null&&l.memoizedState===null||R.fallback===void 0||R.unstable_avoidThisFallback===!0||(k|=1),Rr(pi,k&1),l===null?(R.fallback!==void 0&&pu(f),l=R.children,k=R.fallback,G?(l=cv(f,l,k,m),f.child.memoizedState={baseLanes:m},f.memoizedState=ha,l):typeof R.unstable_expectedLoadTime=="number"?(l=cv(f,l,k,m),f.child.memoizedState={baseLanes:m},f.memoizedState=ha,f.lanes=33554432,l):(m=ma({mode:"visible",children:l},f.mode,m,null),m.return=f,f.child=m)):l.memoizedState!==null?G?(R=Ta(l,f,R.children,R.fallback,m),G=f.child,k=l.child.memoizedState,G.memoizedState=k===null?{baseLanes:m}:{baseLanes:k.baseLanes|m},G.childLanes=l.childLanes&~m,f.memoizedState=ha,R):(m=Eo(l,f,R.children,m),f.memoizedState=null,m):G?(R=Ta(l,f,R.children,R.fallback,m),G=f.child,k=l.child.memoizedState,G.memoizedState=k===null?{baseLanes:m}:{baseLanes:k.baseLanes|m},G.childLanes=l.childLanes&~m,f.memoizedState=ha,R):(m=Eo(l,f,R.children,m),f.memoizedState=null,m)}function cv(l,f,m,R){var k=l.mode,G=l.child;return f={mode:"hidden",children:f},!(k&2)&&G!==null?(G.childLanes=0,G.pendingProps=f):G=ma(f,k,0,null),m=jl(m,k,R,null),G.return=l,m.return=l,G.sibling=m,l.child=G,m}function Eo(l,f,m,R){var k=l.child;return l=k.sibling,m=mc(k,{mode:"visible",children:m}),!(f.mode&2)&&(m.lanes=R),m.return=f,m.sibling=null,l!==null&&(l.nextEffect=null,l.flags=8,f.firstEffect=f.lastEffect=l),f.child=m}function Ta(l,f,m,R,k){var G=f.mode,oe=l.child;l=oe.sibling;var ve={mode:"hidden",children:m};return!(G&2)&&f.child!==oe?(m=f.child,m.childLanes=0,m.pendingProps=ve,oe=m.lastEffect,oe!==null?(f.firstEffect=m.firstEffect,f.lastEffect=oe,oe.nextEffect=null):f.firstEffect=f.lastEffect=null):m=mc(oe,ve),l!==null?R=mc(l,R):(R=jl(R,G,k,null),R.flags|=2),R.return=f,m.return=f,m.sibling=R,f.child=m,R}function bo(l,f){l.lanes|=f;var m=l.alternate;m!==null&&(m.lanes|=f),tv(l.return,f)}function Ad(l,f,m,R,k,G){var oe=l.memoizedState;oe===null?l.memoizedState={isBackwards:f,rendering:null,renderingStartTime:0,last:R,tail:m,tailMode:k,lastEffect:G}:(oe.isBackwards=f,oe.rendering=null,oe.renderingStartTime=0,oe.last=R,oe.tail=m,oe.tailMode=k,oe.lastEffect=G)}function Fp(l,f,m){var R=f.pendingProps,k=R.revealOrder,G=R.tail;if(rs(l,f,R.children,m),R=pi.current,R&2)R=R&1|2,f.flags|=64;else{if(l!==null&&l.flags&64)e:for(l=f.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&bo(l,m);else if(l.tag===19)bo(l,m);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===f)break e;for(;l.sibling===null;){if(l.return===null||l.return===f)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}R&=1}if(Rr(pi,R),!(f.mode&2))f.memoizedState=null;else switch(k){case"forwards":for(m=f.child,k=null;m!==null;)l=m.alternate,l!==null&&wf(l)===null&&(k=m),m=m.sibling;m=k,m===null?(k=f.child,f.child=null):(k=m.sibling,m.sibling=null),Ad(f,!1,k,m,G,f.lastEffect);break;case"backwards":for(m=null,k=f.child,f.child=null;k!==null;){if(l=k.alternate,l!==null&&wf(l)===null){f.child=k;break}l=k.sibling,k.sibling=m,m=k,k=l}Ad(f,!0,m,null,G,f.lastEffect);break;case"together":Ad(f,!1,null,null,void 0,f.lastEffect);break;default:f.memoizedState=null}return f.child}function os(l,f,m){if(l!==null&&(f.dependencies=l.dependencies),xu|=f.lanes,m&f.childLanes){if(l!==null&&f.child!==l.child)throw Error(o(153));if(f.child!==null){for(l=f.child,m=mc(l,l.pendingProps),f.child=m,m.return=f;l.sibling!==null;)l=l.sibling,m=m.sibling=mc(l,l.pendingProps),m.return=f;m.sibling=null}return f.child}return null}var Df,rd,mg,jp;Df=function(l,f){for(var m=f.child;m!==null;){if(m.tag===5||m.tag===6)l.appendChild(m.stateNode);else if(m.tag!==4&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===f)break;for(;m.sibling===null;){if(m.return===null||m.return===f)return;m=m.return}m.sibling.return=m.return,m=m.sibling}},rd=function(){},mg=function(l,f,m,R){var k=l.memoizedProps;if(k!==R){l=f.stateNode,Xc(ri.current);var G=null;switch(m){case"input":k=_t(l,k),R=_t(l,R),G=[];break;case"option":k=Hn(l,k),R=Hn(l,R),G=[];break;case"select":k=t({},k,{value:void 0}),R=t({},R,{value:void 0}),G=[];break;case"textarea":k=Kn(l,k),R=Kn(l,R),G=[];break;default:typeof k.onClick!="function"&&typeof R.onClick=="function"&&(l.onclick=Ep)}Zo(m,R);var oe;m=null;for(dt in k)if(!R.hasOwnProperty(dt)&&k.hasOwnProperty(dt)&&k[dt]!=null)if(dt==="style"){var ve=k[dt];for(oe in ve)ve.hasOwnProperty(oe)&&(m||(m={}),m[oe]="")}else dt!=="dangerouslySetInnerHTML"&&dt!=="children"&&dt!=="suppressContentEditableWarning"&&dt!=="suppressHydrationWarning"&&dt!=="autoFocus"&&(p.hasOwnProperty(dt)?G||(G=[]):(G=G||[]).push(dt,null));for(dt in R){var Ie=R[dt];if(ve=k!=null?k[dt]:void 0,R.hasOwnProperty(dt)&&Ie!==ve&&(Ie!=null||ve!=null))if(dt==="style")if(ve){for(oe in ve)!ve.hasOwnProperty(oe)||Ie&&Ie.hasOwnProperty(oe)||(m||(m={}),m[oe]="");for(oe in Ie)Ie.hasOwnProperty(oe)&&ve[oe]!==Ie[oe]&&(m||(m={}),m[oe]=Ie[oe])}else m||(G||(G=[]),G.push(dt,m)),m=Ie;else dt==="dangerouslySetInnerHTML"?(Ie=Ie?Ie.__html:void 0,ve=ve?ve.__html:void 0,Ie!=null&&ve!==Ie&&(G=G||[]).push(dt,Ie)):dt==="children"?typeof Ie!="string"&&typeof Ie!="number"||(G=G||[]).push(dt,""+Ie):dt!=="suppressContentEditableWarning"&&dt!=="suppressHydrationWarning"&&(p.hasOwnProperty(dt)?(Ie!=null&&dt==="onScroll"&&Vo("scroll",l),G||ve===Ie||(G=[])):typeof Ie=="object"&&Ie!==null&&Ie.$$typeof===ke?Ie.toString():(G=G||[]).push(dt,Ie))}m&&(G=G||[]).push("style",m);var dt=G;(f.updateQueue=dt)&&(f.flags|=4)}},jp=function(l,f,m,R){m!==R&&(f.flags|=4)};function Al(l,f){if(!Dl)switch(l.tailMode){case"hidden":f=l.tail;for(var m=null;f!==null;)f.alternate!==null&&(m=f),f=f.sibling;m===null?l.tail=null:m.sibling=null;break;case"collapsed":m=l.tail;for(var R=null;m!==null;)m.alternate!==null&&(R=m),m=m.sibling;R===null?f||l.tail===null?l.tail=null:l.tail.sibling=null:R.sibling=null}}function kf(l,f,m){var R=f.pendingProps;switch(f.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Ri(f.type)&&bs(),null;case 3:return ac(),Ir(ji),Ir(zo),kl(),R=f.stateNode,R.pendingContext&&(R.context=R.pendingContext,R.pendingContext=null),(l===null||l.child===null)&&(Ef(f)?f.flags|=4:R.hydrate||(f.flags|=256)),rd(f),null;case 5:Qc(f);var k=Xc(Sf.current);if(m=f.type,l!==null&&f.stateNode!=null)mg(l,f,m,R,k),l.ref!==f.ref&&(f.flags|=128);else{if(!R){if(f.stateNode===null)throw Error(o(166));return null}if(l=Xc(ri.current),Ef(f)){R=f.stateNode,m=f.type;var G=f.memoizedProps;switch(R[el]=f,R[Op]=G,m){case"dialog":Vo("cancel",R),Vo("close",R);break;case"iframe":case"object":case"embed":Vo("load",R);break;case"video":case"audio":for(l=0;l<Sd.length;l++)Vo(Sd[l],R);break;case"source":Vo("error",R);break;case"img":case"image":case"link":Vo("error",R),Vo("load",R);break;case"details":Vo("toggle",R);break;case"input":Jt(R,G),Vo("invalid",R);break;case"select":R._wrapperState={wasMultiple:!!G.multiple},Vo("invalid",R);break;case"textarea":Gn(R,G),Vo("invalid",R)}Zo(m,G),l=null;for(var oe in G)G.hasOwnProperty(oe)&&(k=G[oe],oe==="children"?typeof k=="string"?R.textContent!==k&&(l=["children",k]):typeof k=="number"&&R.textContent!==""+k&&(l=["children",""+k]):p.hasOwnProperty(oe)&&k!=null&&oe==="onScroll"&&Vo("scroll",R));switch(m){case"input":et(R),Kt(R,G,!0);break;case"textarea":et(R),Or(R);break;case"select":case"option":break;default:typeof G.onClick=="function"&&(R.onclick=Ep)}R=l,f.updateQueue=R,R!==null&&(f.flags|=4)}else{switch(oe=k.nodeType===9?k:k.ownerDocument,l===Vt.html&&(l=Xt(m)),l===Vt.html?m==="script"?(l=oe.createElement("div"),l.innerHTML="<script><\/script>",l=l.removeChild(l.firstChild)):typeof R.is=="string"?l=oe.createElement(m,{is:R.is}):(l=oe.createElement(m),m==="select"&&(oe=l,R.multiple?oe.multiple=!0:R.size&&(oe.size=R.size))):l=oe.createElementNS(l,m),l[el]=f,l[Op]=R,Df(l,f,!1,!1),f.stateNode=l,oe=$i(m,R),m){case"dialog":Vo("cancel",l),Vo("close",l),k=R;break;case"iframe":case"object":case"embed":Vo("load",l),k=R;break;case"video":case"audio":for(k=0;k<Sd.length;k++)Vo(Sd[k],l);k=R;break;case"source":Vo("error",l),k=R;break;case"img":case"image":case"link":Vo("error",l),Vo("load",l),k=R;break;case"details":Vo("toggle",l),k=R;break;case"input":Jt(l,R),k=_t(l,R),Vo("invalid",l);break;case"option":k=Hn(l,R);break;case"select":l._wrapperState={wasMultiple:!!R.multiple},k=t({},R,{value:void 0}),Vo("invalid",l);break;case"textarea":Gn(l,R),k=Kn(l,R),Vo("invalid",l);break;default:k=R}Zo(m,k);var ve=k;for(G in ve)if(ve.hasOwnProperty(G)){var Ie=ve[G];G==="style"?No(l,Ie):G==="dangerouslySetInnerHTML"?(Ie=Ie?Ie.__html:void 0,Ie!=null&&mn(l,Ie)):G==="children"?typeof Ie=="string"?(m!=="textarea"||Ie!=="")&&Xn(l,Ie):typeof Ie=="number"&&Xn(l,""+Ie):G!=="suppressContentEditableWarning"&&G!=="suppressHydrationWarning"&&G!=="autoFocus"&&(p.hasOwnProperty(G)?Ie!=null&&G==="onScroll"&&Vo("scroll",l):Ie!=null&&U(l,G,Ie,oe))}switch(m){case"input":et(l),Kt(l,R,!1);break;case"textarea":et(l),Or(l);break;case"option":R.value!=null&&l.setAttribute("value",""+Te(R.value));break;case"select":l.multiple=!!R.multiple,G=R.value,G!=null?sr(l,!!R.multiple,G,!1):R.defaultValue!=null&&sr(l,!!R.multiple,R.defaultValue,!0);break;default:typeof k.onClick=="function"&&(l.onclick=Ep)}iu(m,R)&&(f.flags|=4)}f.ref!==null&&(f.flags|=128)}return null;case 6:if(l&&f.stateNode!=null)jp(l,f,l.memoizedProps,R);else{if(typeof R!="string"&&f.stateNode===null)throw Error(o(166));m=Xc(Sf.current),Xc(ri.current),Ef(f)?(R=f.stateNode,m=f.memoizedProps,R[el]=f,R.nodeValue!==m&&(f.flags|=4)):(R=(m.nodeType===9?m:m.ownerDocument).createTextNode(R),R[el]=f,f.stateNode=R)}return null;case 13:return Ir(pi),R=f.memoizedState,f.flags&64?(f.lanes=m,f):(R=R!==null,m=!1,l===null?f.memoizedProps.fallback!==void 0&&Ef(f):m=l.memoizedState!==null,R&&!m&&f.mode&2&&(l===null&&f.memoizedProps.unstable_avoidThisFallback!==!0||pi.current&1?Xi===0&&(Xi=3):((Xi===0||Xi===3)&&(Xi=4),_a===null||!(xu&134217727)&&!(al&134217727)||Fl(_a,_i))),(R||m)&&(f.flags|=4),null);case 4:return ac(),rd(f),l===null&&Rp(f.stateNode.containerInfo),null;case 10:return Hc(f),null;case 17:return Ri(f.type)&&bs(),null;case 19:if(Ir(pi),R=f.memoizedState,R===null)return null;if(G=(f.flags&64)!==0,oe=R.rendering,oe===null)if(G)Al(R,!1);else{if(Xi!==0||l!==null&&l.flags&64)for(l=f.child;l!==null;){if(oe=wf(l),oe!==null){for(f.flags|=64,Al(R,!1),G=oe.updateQueue,G!==null&&(f.updateQueue=G,f.flags|=4),R.lastEffect===null&&(f.firstEffect=null),f.lastEffect=R.lastEffect,R=m,m=f.child;m!==null;)G=m,l=R,G.flags&=2,G.nextEffect=null,G.firstEffect=null,G.lastEffect=null,oe=G.alternate,oe===null?(G.childLanes=0,G.lanes=l,G.child=null,G.memoizedProps=null,G.memoizedState=null,G.updateQueue=null,G.dependencies=null,G.stateNode=null):(G.childLanes=oe.childLanes,G.lanes=oe.lanes,G.child=oe.child,G.memoizedProps=oe.memoizedProps,G.memoizedState=oe.memoizedState,G.updateQueue=oe.updateQueue,G.type=oe.type,l=oe.dependencies,G.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),m=m.sibling;return Rr(pi,pi.current&1|2),f.child}l=l.sibling}R.tail!==null&&Ea()>dc&&(f.flags|=64,G=!0,Al(R,!1),f.lanes=33554432)}else{if(!G)if(l=wf(oe),l!==null){if(f.flags|=64,G=!0,m=l.updateQueue,m!==null&&(f.updateQueue=m,f.flags|=4),Al(R,!0),R.tail===null&&R.tailMode==="hidden"&&!oe.alternate&&!Dl)return f=f.lastEffect=R.lastEffect,f!==null&&(f.nextEffect=null),null}else 2*Ea()-R.renderingStartTime>dc&&m!==1073741824&&(f.flags|=64,G=!0,Al(R,!1),f.lanes=33554432);R.isBackwards?(oe.sibling=f.child,f.child=oe):(m=R.last,m!==null?m.sibling=oe:f.child=oe,R.last=oe)}return R.tail!==null?(m=R.tail,R.rendering=m,R.tail=m.sibling,R.lastEffect=f.lastEffect,R.renderingStartTime=Ea(),m.sibling=null,f=pi.current,Rr(pi,G?f&1|2:f&1),m):null;case 23:case 24:return js(),l!==null&&l.memoizedState!==null!=(f.memoizedState!==null)&&R.mode!=="unstable-defer-without-hiding"&&(f.flags|=4),null}throw Error(o(156,f.tag))}function gg(l){switch(l.tag){case 1:Ri(l.type)&&bs();var f=l.flags;return f&4096?(l.flags=f&-4097|64,l):null;case 3:if(ac(),Ir(ji),Ir(zo),kl(),f=l.flags,f&64)throw Error(o(285));return l.flags=f&-4097|64,l;case 5:return Qc(l),null;case 13:return Ir(pi),f=l.flags,f&4096?(l.flags=f&-4097|64,l):null;case 19:return Ir(pi),null;case 4:return ac(),null;case 10:return Hc(l),null;case 23:case 24:return js(),null;default:return null}}function Lp(l,f){try{var m="",R=f;do m+=yt(R),R=R.return;while(R);var k=m}catch(G){k=`
|
|
176
|
+
Error generating stack: `+G.message+`
|
|
177
|
+
`+G.stack}return{value:l,source:f,stack:k}}function Bp(l,f){try{console.error(f.value)}catch(m){setTimeout(function(){throw m})}}var Nf=typeof WeakMap=="function"?WeakMap:Map;function dv(l,f,m){m=Ei(-1,m),m.tag=3,m.payload={element:null};var R=f.value;return m.callback=function(){jf||(jf=!0,yv=R),Bp(l,f)},m}function Mf(l,f,m){m=Ei(-1,m),m.tag=3;var R=l.type.getDerivedStateFromError;if(typeof R=="function"){var k=f.value;m.payload=function(){return Bp(l,f),R(k)}}var G=l.stateNode;return G!==null&&typeof G.componentDidCatch=="function"&&(m.callback=function(){typeof R!="function"&&($l===null?$l=new Set([this]):$l.add(this),Bp(l,f));var oe=f.stack;this.componentDidCatch(f.value,{componentStack:oe!==null?oe:""})}),m}var fv=typeof WeakSet=="function"?WeakSet:Set;function Af(l){var f=l.ref;if(f!==null)if(typeof f=="function")try{f(null)}catch(m){wu(l,m)}else f.current=null}function Ob(l,f){switch(f.tag){case 0:case 11:case 15:case 22:return;case 1:if(f.flags&256&&l!==null){var m=l.memoizedProps,R=l.memoizedState;l=f.stateNode,f=l.getSnapshotBeforeUpdate(f.elementType===f.type?m:ia(f.type,m),R),l.__reactInternalSnapshotBeforeUpdate=f}return;case 3:f.flags&256&&Tp(f.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(o(163))}function Vp(l,f,m){switch(m.tag){case 0:case 11:case 15:case 22:if(f=m.updateQueue,f=f!==null?f.lastEffect:null,f!==null){l=f=f.next;do{if((l.tag&3)===3){var R=l.create;l.destroy=R()}l=l.next}while(l!==f)}if(f=m.updateQueue,f=f!==null?f.lastEffect:null,f!==null){l=f=f.next;do{var k=l;R=k.next,k=k.tag,k&4&&k&1&&(Cv(m,l),wg(m,l)),l=R}while(l!==f)}return;case 1:l=m.stateNode,m.flags&4&&(f===null?l.componentDidMount():(R=m.elementType===m.type?f.memoizedProps:ia(m.type,f.memoizedProps),l.componentDidUpdate(R,f.memoizedState,l.__reactInternalSnapshotBeforeUpdate))),f=m.updateQueue,f!==null&&Gc(m,f,l);return;case 3:if(f=m.updateQueue,f!==null){if(l=null,m.child!==null)switch(m.child.tag){case 5:l=m.child.stateNode;break;case 1:l=m.child.stateNode}Gc(m,f,l)}return;case 5:l=m.stateNode,f===null&&m.flags&4&&iu(m.type,m.memoizedProps)&&l.focus();return;case 6:return;case 4:return;case 12:return;case 13:m.memoizedState===null&&(m=m.alternate,m!==null&&(m=m.memoizedState,m!==null&&(m=m.dehydrated,m!==null&&Ya(m))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(o(163))}function $d(l,f){for(var m=l;;){if(m.tag===5){var R=m.stateNode;if(f)R=R.style,typeof R.setProperty=="function"?R.setProperty("display","none","important"):R.display="none";else{R=m.stateNode;var k=m.memoizedProps.style;k=k!=null&&k.hasOwnProperty("display")?k.display:null,R.style.display=oo("display",k)}}else if(m.tag===6)m.stateNode.nodeValue=f?"":m.memoizedProps;else if((m.tag!==23&&m.tag!==24||m.memoizedState===null||m===l)&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===l)break;for(;m.sibling===null;){if(m.return===null||m.return===l)return;m=m.return}m.sibling.return=m.return,m=m.sibling}}function pv(l,f){if(xs&&typeof xs.onCommitFiberUnmount=="function")try{xs.onCommitFiberUnmount(Qh,f)}catch{}switch(f.tag){case 0:case 11:case 14:case 15:case 22:if(l=f.updateQueue,l!==null&&(l=l.lastEffect,l!==null)){var m=l=l.next;do{var R=m,k=R.destroy;if(R=R.tag,k!==void 0)if(R&4)Cv(f,m);else{R=f;try{k()}catch(G){wu(R,G)}}m=m.next}while(m!==l)}break;case 1:if(Af(f),l=f.stateNode,typeof l.componentWillUnmount=="function")try{l.props=f.memoizedProps,l.state=f.memoizedState,l.componentWillUnmount()}catch(G){wu(f,G)}break;case 5:Af(f);break;case 4:vv(l,f)}}function zp(l){l.alternate=null,l.child=null,l.dependencies=null,l.firstEffect=null,l.lastEffect=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.return=null,l.updateQueue=null}function yg(l){return l.tag===5||l.tag===3||l.tag===4}function hv(l){e:{for(var f=l.return;f!==null;){if(yg(f))break e;f=f.return}throw Error(o(160))}var m=f;switch(f=m.stateNode,m.tag){case 5:var R=!1;break;case 3:f=f.containerInfo,R=!0;break;case 4:f=f.containerInfo,R=!0;break;default:throw Error(o(161))}m.flags&16&&(Xn(f,""),m.flags&=-17);e:t:for(m=l;;){for(;m.sibling===null;){if(m.return===null||yg(m.return)){m=null;break e}m=m.return}for(m.sibling.return=m.return,m=m.sibling;m.tag!==5&&m.tag!==6&&m.tag!==18;){if(m.flags&2||m.child===null||m.tag===4)continue t;m.child.return=m,m=m.child}if(!(m.flags&2)){m=m.stateNode;break e}}R?Rs(l,m,f):Id(l,m,f)}function Rs(l,f,m){var R=l.tag,k=R===5||R===6;if(k)l=k?l.stateNode:l.stateNode.instance,f?m.nodeType===8?m.parentNode.insertBefore(l,f):m.insertBefore(l,f):(m.nodeType===8?(f=m.parentNode,f.insertBefore(l,m)):(f=m,f.appendChild(l)),m=m._reactRootContainer,m!=null||f.onclick!==null||(f.onclick=Ep));else if(R!==4&&(l=l.child,l!==null))for(Rs(l,f,m),l=l.sibling;l!==null;)Rs(l,f,m),l=l.sibling}function Id(l,f,m){var R=l.tag,k=R===5||R===6;if(k)l=k?l.stateNode:l.stateNode.instance,f?m.insertBefore(l,f):m.appendChild(l);else if(R!==4&&(l=l.child,l!==null))for(Id(l,f,m),l=l.sibling;l!==null;)Id(l,f,m),l=l.sibling}function vv(l,f){for(var m=f,R=!1,k,G;;){if(!R){R=m.return;e:for(;;){if(R===null)throw Error(o(160));switch(k=R.stateNode,R.tag){case 5:G=!1;break e;case 3:k=k.containerInfo,G=!0;break e;case 4:k=k.containerInfo,G=!0;break e}R=R.return}R=!0}if(m.tag===5||m.tag===6){e:for(var oe=l,ve=m,Ie=ve;;)if(pv(oe,Ie),Ie.child!==null&&Ie.tag!==4)Ie.child.return=Ie,Ie=Ie.child;else{if(Ie===ve)break e;for(;Ie.sibling===null;){if(Ie.return===null||Ie.return===ve)break e;Ie=Ie.return}Ie.sibling.return=Ie.return,Ie=Ie.sibling}G?(oe=k,ve=m.stateNode,oe.nodeType===8?oe.parentNode.removeChild(ve):oe.removeChild(ve)):k.removeChild(m.stateNode)}else if(m.tag===4){if(m.child!==null){k=m.stateNode.containerInfo,G=!0,m.child.return=m,m=m.child;continue}}else if(pv(l,m),m.child!==null){m.child.return=m,m=m.child;continue}if(m===f)break;for(;m.sibling===null;){if(m.return===null||m.return===f)return;m=m.return,m.tag===4&&(R=!1)}m.sibling.return=m.return,m=m.sibling}}function mv(l,f){switch(f.tag){case 0:case 11:case 14:case 15:case 22:var m=f.updateQueue;if(m=m!==null?m.lastEffect:null,m!==null){var R=m=m.next;do(R.tag&3)===3&&(l=R.destroy,R.destroy=void 0,l!==void 0&&l()),R=R.next;while(R!==m)}return;case 1:return;case 5:if(m=f.stateNode,m!=null){R=f.memoizedProps;var k=l!==null?l.memoizedProps:R;l=f.type;var G=f.updateQueue;if(f.updateQueue=null,G!==null){for(m[Op]=R,l==="input"&&R.type==="radio"&&R.name!=null&&rt(m,R),$i(l,k),f=$i(l,R),k=0;k<G.length;k+=2){var oe=G[k],ve=G[k+1];oe==="style"?No(m,ve):oe==="dangerouslySetInnerHTML"?mn(m,ve):oe==="children"?Xn(m,ve):U(m,oe,ve,f)}switch(l){case"input":ut(m,R);break;case"textarea":xn(m,R);break;case"select":l=m._wrapperState.wasMultiple,m._wrapperState.wasMultiple=!!R.multiple,G=R.value,G!=null?sr(m,!!R.multiple,G,!1):l!==!!R.multiple&&(R.defaultValue!=null?sr(m,!!R.multiple,R.defaultValue,!0):sr(m,!!R.multiple,R.multiple?[]:"",!1))}}}return;case 6:if(f.stateNode===null)throw Error(o(162));f.stateNode.nodeValue=f.memoizedProps;return;case 3:m=f.stateNode,m.hydrate&&(m.hydrate=!1,Ya(m.containerInfo));return;case 12:return;case 13:f.memoizedState!==null&&(Ff=Ea(),$d(f.child,!0)),gv(f);return;case 19:gv(f);return;case 17:return;case 23:case 24:$d(f,f.memoizedState!==null);return}throw Error(o(163))}function gv(l){var f=l.updateQueue;if(f!==null){l.updateQueue=null;var m=l.stateNode;m===null&&(m=l.stateNode=new fv),f.forEach(function(R){var k=Mb.bind(null,l,R);m.has(R)||(m.add(R),R.then(k,k))})}}function Pb(l,f){return l!==null&&(l=l.memoizedState,l===null||l.dehydrated!==null)?(f=f.memoizedState,f!==null&&f.dehydrated===null):!1}var $f=Math.ceil,is=A.ReactCurrentDispatcher,yu=A.ReactCurrentOwner,Er=0,_a=null,hi=null,_i=0,Qn=0,bu=Za(0),Xi=0,Oi=null,il=0,xu=0,al=0,va=0,If=null,Ff=0,dc=1/0;function Fd(){dc=Ea()+500}var Tn=null,jf=!1,yv=null,$l=null,ja=!1,Bi=null,od=90,bv=[],Lf=[],Su=null,Bf=0,fc=null,Vf=-1,Il=0,Up=0,zf=null,Wp=!1;function Es(){return Er&48?Ea():Vf!==-1?Vf:Vf=Ea()}function sl(l){if(l=l.mode,!(l&2))return 1;if(!(l&4))return Ed()===99?1:2;if(Il===0&&(Il=il),Ju.transition!==0){Up!==0&&(Up=If!==null?If.pendingLanes:0),l=Il;var f=4186112&~Up;return f&=-f,f===0&&(l=4186112&~l,f=l&-l,f===0&&(f=8192)),f}return l=Ed(),Er&4&&l===98?l=ui(12,Il):(l=yo(l),l=ui(l,Il)),l}function Cu(l,f,m){if(50<Bf)throw Bf=0,fc=null,Error(o(185));if(l=Hp(l,f),l===null)return null;As(l,f,m),l===_a&&(al|=f,Xi===4&&Fl(l,_i));var R=Ed();f===1?Er&8&&!(Er&48)?Uf(l):(as(l,m),Er===0&&(Fd(),pa())):(!(Er&4)||R!==98&&R!==99||(Su===null?Su=new Set([l]):Su.add(l)),as(l,m)),If=l}function Hp(l,f){l.lanes|=f;var m=l.alternate;for(m!==null&&(m.lanes|=f),m=l,l=l.return;l!==null;)l.childLanes|=f,m=l.alternate,m!==null&&(m.childLanes|=f),m=l,l=l.return;return m.tag===3?m.stateNode:null}function as(l,f){for(var m=l.callbackNode,R=l.suspendedLanes,k=l.pingedLanes,G=l.expirationTimes,oe=l.pendingLanes;0<oe;){var ve=31-Ka(oe),Ie=1<<ve,dt=G[ve];if(dt===-1){if(!(Ie&R)||Ie&k){dt=f,Kr(Ie);var wn=Ln;G[ve]=10<=wn?dt+250:6<=wn?dt+5e3:-1}}else dt<=f&&(l.expiredLanes|=Ie);oe&=~Ie}if(R=Xo(l,l===_a?_i:0),f=Ln,R===0)m!==null&&(m!==ev&&mf(m),l.callbackNode=null,l.callbackPriority=0);else{if(m!==null){if(l.callbackPriority===f)return;m!==ev&&mf(m)}f===15?(m=Uf.bind(null,l),Tl===null?(Tl=[m],Dp=tl(Pp,lu)):Tl.push(m),m=ev):f===14?m=Uc(99,Uf.bind(null,l)):(m=Ao(f),m=Uc(m,Gp.bind(null,l))),l.callbackPriority=f,l.callbackNode=m}}function Gp(l){if(Vf=-1,Up=Il=0,Er&48)throw Error(o(327));var f=l.callbackNode;if(hc()&&l.callbackNode!==f)return null;var m=Xo(l,l===_a?_i:0);if(m===0)return null;var R=m,k=Er;Er|=16;var G=id();(_a!==l||_i!==R)&&(Fd(),Ts(l,R));do try{Sg();break}catch(ve){qp(l,ve)}while(!0);if(Wc(),is.current=G,Er=k,hi!==null?R=0:(_a=null,_i=0,R=Xi),il&al)Ts(l,0);else if(R!==0){if(R===2&&(Er|=64,l.hydrate&&(l.hydrate=!1,Tp(l.containerInfo)),m=Fi(l),m!==0&&(R=Gf(l,m))),R===1)throw f=Oi,Ts(l,0),Fl(l,m),as(l,Ea()),f;switch(l.finishedWork=l.current.alternate,l.finishedLanes=m,R){case 0:case 1:throw Error(o(345));case 2:pc(l);break;case 3:if(Fl(l,m),(m&62914560)===m&&(R=Ff+500-Ea(),10<R)){if(Xo(l,0)!==0)break;if(k=l.suspendedLanes,(k&m)!==m){Es(),l.pingedLanes|=l.suspendedLanes&k;break}l.timeoutHandle=wd(pc.bind(null,l),R);break}pc(l);break;case 4:if(Fl(l,m),(m&4186112)===m)break;for(R=l.eventTimes,k=-1;0<m;){var oe=31-Ka(m);G=1<<oe,oe=R[oe],oe>k&&(k=oe),m&=~G}if(m=k,m=Ea()-m,m=(120>m?120:480>m?480:1080>m?1080:1920>m?1920:3e3>m?3e3:4320>m?4320:1960*$f(m/1960))-m,10<m){l.timeoutHandle=wd(pc.bind(null,l),m);break}pc(l);break;case 5:pc(l);break;default:throw Error(o(329))}}return as(l,Ea()),l.callbackNode===f?Gp.bind(null,l):null}function Fl(l,f){for(f&=~va,f&=~al,l.suspendedLanes|=f,l.pingedLanes&=~f,l=l.expirationTimes;0<f;){var m=31-Ka(f),R=1<<m;l[m]=-1,f&=~R}}function Uf(l){if(Er&48)throw Error(o(327));if(hc(),l===_a&&l.expiredLanes&_i){var f=_i,m=Gf(l,f);il&al&&(f=Xo(l,f),m=Gf(l,f))}else f=Xo(l,0),m=Gf(l,f);if(l.tag!==0&&m===2&&(Er|=64,l.hydrate&&(l.hydrate=!1,Tp(l.containerInfo)),f=Fi(l),f!==0&&(m=Gf(l,f))),m===1)throw m=Oi,Ts(l,0),Fl(l,f),as(l,Ea()),m;return l.finishedWork=l.current.alternate,l.finishedLanes=f,pc(l),as(l,Ea()),null}function bg(){if(Su!==null){var l=Su;Su=null,l.forEach(function(f){f.expiredLanes|=24&f.pendingLanes,as(f,Ea())})}pa()}function xv(l,f){var m=Er;Er|=1;try{return l(f)}finally{Er=m,Er===0&&(Fd(),pa())}}function Wf(l,f){var m=Er;Er&=-2,Er|=8;try{return l(f)}finally{Er=m,Er===0&&(Fd(),pa())}}function Hf(l,f){Rr(bu,Qn),Qn|=f,il|=f}function js(){Qn=bu.current,Ir(bu)}function Ts(l,f){l.finishedWork=null,l.finishedLanes=0;var m=l.timeoutHandle;if(m!==-1&&(l.timeoutHandle=-1,Xh(m)),hi!==null)for(m=hi.return;m!==null;){var R=m;switch(R.tag){case 1:R=R.type.childContextTypes,R!=null&&bs();break;case 3:ac(),Ir(ji),Ir(zo),kl();break;case 5:Qc(R);break;case 4:ac();break;case 13:Ir(pi);break;case 19:Ir(pi);break;case 10:Hc(R);break;case 23:case 24:js()}m=m.return}_a=l,hi=mc(l.current,null),_i=Qn=il=f,Xi=0,Oi=null,va=al=xu=0}function qp(l,f){do{var m=hi;try{if(Wc(),Dd.current=Pf,Tf){for(var R=Jo.memoizedState;R!==null;){var k=R.queue;k!==null&&(k.pending=null),R=R.next}Tf=!1}if(Zc=0,Li=aa=Jo=null,hu=!1,yu.current=null,m===null||m.return===null){Xi=1,Oi=f,hi=null;break}e:{var G=l,oe=m.return,ve=m,Ie=f;if(f=_i,ve.flags|=2048,ve.firstEffect=ve.lastEffect=null,Ie!==null&&typeof Ie=="object"&&typeof Ie.then=="function"){var dt=Ie;if(!(ve.mode&2)){var wn=ve.alternate;wn?(ve.updateQueue=wn.updateQueue,ve.memoizedState=wn.memoizedState,ve.lanes=wn.lanes):(ve.updateQueue=null,ve.memoizedState=null)}var Tr=(pi.current&1)!==0,jt=oe;do{var er;if(er=jt.tag===13){var kr=jt.memoizedState;if(kr!==null)er=kr.dehydrated!==null;else{var pr=jt.memoizedProps;er=pr.fallback===void 0?!1:pr.unstable_avoidThisFallback!==!0?!0:!Tr}}if(er){var Xe=jt.updateQueue;if(Xe===null){var Ue=new Set;Ue.add(dt),jt.updateQueue=Ue}else Xe.add(dt);if(!(jt.mode&2)){if(jt.flags|=64,ve.flags|=16384,ve.flags&=-2981,ve.tag===1)if(ve.alternate===null)ve.tag=17;else{var qe=Ei(-1,1);qe.tag=2,cu(ve,qe)}ve.lanes|=1;break e}Ie=void 0,ve=f;var Tt=G.pingCache;if(Tt===null?(Tt=G.pingCache=new Nf,Ie=new Set,Tt.set(dt,Ie)):(Ie=Tt.get(dt),Ie===void 0&&(Ie=new Set,Tt.set(dt,Ie))),!Ie.has(ve)){Ie.add(ve);var Nt=Nb.bind(null,G,dt,ve);dt.then(Nt,Nt)}jt.flags|=4096,jt.lanes=f;break e}jt=jt.return}while(jt!==null);Ie=Error((Ze(ve.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
|
|
178
|
+
|
|
179
|
+
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}Xi!==5&&(Xi=2),Ie=Lp(Ie,ve),jt=oe;do{switch(jt.tag){case 3:G=Ie,jt.flags|=4096,f&=-f,jt.lanes|=f;var Fr=dv(jt,G,f);nv(jt,Fr);break e;case 1:G=Ie;var Pn=jt.type,Sr=jt.stateNode;if(!(jt.flags&64)&&(typeof Pn.getDerivedStateFromError=="function"||Sr!==null&&typeof Sr.componentDidCatch=="function"&&($l===null||!$l.has(Sr)))){jt.flags|=4096,f&=-f,jt.lanes|=f;var zr=Mf(jt,G,f);nv(jt,zr);break e}}jt=jt.return}while(jt!==null)}Cg(m)}catch(Lr){f=Lr,hi===m&&m!==null&&(hi=m=m.return);continue}break}while(!0)}function id(){var l=is.current;return is.current=Pf,l===null?Pf:l}function Gf(l,f){var m=Er;Er|=16;var R=id();_a===l&&_i===f||Ts(l,f);do try{xg();break}catch(k){qp(l,k)}while(!0);if(Wc(),Er=m,is.current=R,hi!==null)throw Error(o(261));return _a=null,_i=0,Xi}function xg(){for(;hi!==null;)Sv(hi)}function Sg(){for(;hi!==null&&!_b();)Sv(hi)}function Sv(l){var f=Rg(l.alternate,l,Qn);l.memoizedProps=l.pendingProps,f===null?Cg(l):hi=f,yu.current=null}function Cg(l){var f=l;do{var m=f.alternate;if(l=f.return,f.flags&2048){if(m=gg(f),m!==null){m.flags&=2047,hi=m;return}l!==null&&(l.firstEffect=l.lastEffect=null,l.flags|=2048)}else{if(m=kf(m,f,Qn),m!==null){hi=m;return}if(m=f,m.tag!==24&&m.tag!==23||m.memoizedState===null||Qn&1073741824||!(m.mode&4)){for(var R=0,k=m.child;k!==null;)R|=k.lanes|k.childLanes,k=k.sibling;m.childLanes=R}l!==null&&!(l.flags&2048)&&(l.firstEffect===null&&(l.firstEffect=f.firstEffect),f.lastEffect!==null&&(l.lastEffect!==null&&(l.lastEffect.nextEffect=f.firstEffect),l.lastEffect=f.lastEffect),1<f.flags&&(l.lastEffect!==null?l.lastEffect.nextEffect=f:l.firstEffect=f,l.lastEffect=f))}if(f=f.sibling,f!==null){hi=f;return}hi=f=l}while(f!==null);Xi===0&&(Xi=5)}function pc(l){var f=Ed();return zc(99,Db.bind(null,l,f)),null}function Db(l,f){do hc();while(Bi!==null);if(Er&48)throw Error(o(327));var m=l.finishedWork;if(m===null)return null;if(l.finishedWork=null,l.finishedLanes=0,m===l.current)throw Error(o(177));l.callbackNode=null;var R=m.lanes|m.childLanes,k=R,G=l.pendingLanes&~k;l.pendingLanes=k,l.suspendedLanes=0,l.pingedLanes=0,l.expiredLanes&=k,l.mutableReadLanes&=k,l.entangledLanes&=k,k=l.entanglements;for(var oe=l.eventTimes,ve=l.expirationTimes;0<G;){var Ie=31-Ka(G),dt=1<<Ie;k[Ie]=0,oe[Ie]=-1,ve[Ie]=-1,G&=~dt}if(Su!==null&&!(R&24)&&Su.has(l)&&Su.delete(l),l===_a&&(hi=_a=null,_i=0),1<m.flags?m.lastEffect!==null?(m.lastEffect.nextEffect=m,R=m.firstEffect):R=m:R=m.firstEffect,R!==null){if(k=Er,Er|=32,yu.current=null,Kh=T,oe=Ac(),Qa(oe)){if("selectionStart"in oe)ve={start:oe.selectionStart,end:oe.selectionEnd};else e:if(ve=(ve=oe.ownerDocument)&&ve.defaultView||window,(dt=ve.getSelection&&ve.getSelection())&&dt.rangeCount!==0){ve=dt.anchorNode,G=dt.anchorOffset,Ie=dt.focusNode,dt=dt.focusOffset;try{ve.nodeType,Ie.nodeType}catch{ve=null;break e}var wn=0,Tr=-1,jt=-1,er=0,kr=0,pr=oe,Xe=null;t:for(;;){for(var Ue;pr!==ve||G!==0&&pr.nodeType!==3||(Tr=wn+G),pr!==Ie||dt!==0&&pr.nodeType!==3||(jt=wn+dt),pr.nodeType===3&&(wn+=pr.nodeValue.length),(Ue=pr.firstChild)!==null;)Xe=pr,pr=Ue;for(;;){if(pr===oe)break t;if(Xe===ve&&++er===G&&(Tr=wn),Xe===Ie&&++kr===dt&&(jt=wn),(Ue=pr.nextSibling)!==null)break;pr=Xe,Xe=pr.parentNode}pr=Ue}ve=Tr===-1||jt===-1?null:{start:Tr,end:jt}}else ve=null;ve=ve||{start:0,end:0}}else ve=null;Cd={focusedElem:oe,selectionRange:ve},T=!1,zf=null,Wp=!1,Tn=R;do try{kb()}catch(Lr){if(Tn===null)throw Error(o(330));wu(Tn,Lr),Tn=Tn.nextEffect}while(Tn!==null);zf=null,Tn=R;do try{for(oe=l;Tn!==null;){var qe=Tn.flags;if(qe&16&&Xn(Tn.stateNode,""),qe&128){var Tt=Tn.alternate;if(Tt!==null){var Nt=Tt.ref;Nt!==null&&(typeof Nt=="function"?Nt(null):Nt.current=null)}}switch(qe&1038){case 2:hv(Tn),Tn.flags&=-3;break;case 6:hv(Tn),Tn.flags&=-3,mv(Tn.alternate,Tn);break;case 1024:Tn.flags&=-1025;break;case 1028:Tn.flags&=-1025,mv(Tn.alternate,Tn);break;case 4:mv(Tn.alternate,Tn);break;case 8:ve=Tn,vv(oe,ve);var Fr=ve.alternate;zp(ve),Fr!==null&&zp(Fr)}Tn=Tn.nextEffect}}catch(Lr){if(Tn===null)throw Error(o(330));wu(Tn,Lr),Tn=Tn.nextEffect}while(Tn!==null);if(Nt=Cd,Tt=Ac(),qe=Nt.focusedElem,oe=Nt.selectionRange,Tt!==qe&&qe&&qe.ownerDocument&&Xa(qe.ownerDocument.documentElement,qe)){for(oe!==null&&Qa(qe)&&(Tt=oe.start,Nt=oe.end,Nt===void 0&&(Nt=Tt),"selectionStart"in qe?(qe.selectionStart=Tt,qe.selectionEnd=Math.min(Nt,qe.value.length)):(Nt=(Tt=qe.ownerDocument||document)&&Tt.defaultView||window,Nt.getSelection&&(Nt=Nt.getSelection(),ve=qe.textContent.length,Fr=Math.min(oe.start,ve),oe=oe.end===void 0?Fr:Math.min(oe.end,ve),!Nt.extend&&Fr>oe&&(ve=oe,oe=Fr,Fr=ve),ve=wi(qe,Fr),G=wi(qe,oe),ve&&G&&(Nt.rangeCount!==1||Nt.anchorNode!==ve.node||Nt.anchorOffset!==ve.offset||Nt.focusNode!==G.node||Nt.focusOffset!==G.offset)&&(Tt=Tt.createRange(),Tt.setStart(ve.node,ve.offset),Nt.removeAllRanges(),Fr>oe?(Nt.addRange(Tt),Nt.extend(G.node,G.offset)):(Tt.setEnd(G.node,G.offset),Nt.addRange(Tt)))))),Tt=[],Nt=qe;Nt=Nt.parentNode;)Nt.nodeType===1&&Tt.push({element:Nt,left:Nt.scrollLeft,top:Nt.scrollTop});for(typeof qe.focus=="function"&&qe.focus(),qe=0;qe<Tt.length;qe++)Nt=Tt[qe],Nt.element.scrollLeft=Nt.left,Nt.element.scrollTop=Nt.top}T=!!Kh,Cd=Kh=null,l.current=m,Tn=R;do try{for(qe=l;Tn!==null;){var Pn=Tn.flags;if(Pn&36&&Vp(qe,Tn.alternate,Tn),Pn&128){Tt=void 0;var Sr=Tn.ref;if(Sr!==null){var zr=Tn.stateNode;switch(Tn.tag){case 5:Tt=zr;break;default:Tt=zr}typeof Sr=="function"?Sr(Tt):Sr.current=Tt}}Tn=Tn.nextEffect}}catch(Lr){if(Tn===null)throw Error(o(330));wu(Tn,Lr),Tn=Tn.nextEffect}while(Tn!==null);Tn=null,dg(),Er=k}else l.current=m;if(ja)ja=!1,Bi=l,od=f;else for(Tn=R;Tn!==null;)f=Tn.nextEffect,Tn.nextEffect=null,Tn.flags&8&&(Pn=Tn,Pn.sibling=null,Pn.stateNode=null),Tn=f;if(R=l.pendingLanes,R===0&&($l=null),R===1?l===fc?Bf++:(Bf=0,fc=l):Bf=0,m=m.stateNode,xs&&typeof xs.onCommitFiberRoot=="function")try{xs.onCommitFiberRoot(Qh,m,void 0,(m.current.flags&64)===64)}catch{}if(as(l,Ea()),jf)throw jf=!1,l=yv,yv=null,l;return Er&8||pa(),null}function kb(){for(;Tn!==null;){var l=Tn.alternate;Wp||zf===null||(Tn.flags&8?Ga(Tn,zf)&&(Wp=!0):Tn.tag===13&&Pb(l,Tn)&&Ga(Tn,zf)&&(Wp=!0));var f=Tn.flags;f&256&&Ob(l,Tn),!(f&512)||ja||(ja=!0,Uc(97,function(){return hc(),null})),Tn=Tn.nextEffect}}function hc(){if(od!==90){var l=97<od?97:od;return od=90,zc(l,wv)}return!1}function wg(l,f){bv.push(f,l),ja||(ja=!0,Uc(97,function(){return hc(),null}))}function Cv(l,f){Lf.push(f,l),ja||(ja=!0,Uc(97,function(){return hc(),null}))}function wv(){if(Bi===null)return!1;var l=Bi;if(Bi=null,Er&48)throw Error(o(331));var f=Er;Er|=32;var m=Lf;Lf=[];for(var R=0;R<m.length;R+=2){var k=m[R],G=m[R+1],oe=k.destroy;if(k.destroy=void 0,typeof oe=="function")try{oe()}catch(Ie){if(G===null)throw Error(o(330));wu(G,Ie)}}for(m=bv,bv=[],R=0;R<m.length;R+=2){k=m[R],G=m[R+1];try{var ve=k.create;k.destroy=ve()}catch(Ie){if(G===null)throw Error(o(330));wu(G,Ie)}}for(ve=l.current.firstEffect;ve!==null;)l=ve.nextEffect,ve.nextEffect=null,ve.flags&8&&(ve.sibling=null,ve.stateNode=null),ve=l;return Er=f,pa(),!0}function vc(l,f,m){f=Lp(m,f),f=dv(l,f,1),cu(l,f),f=Es(),l=Hp(l,1),l!==null&&(As(l,1,f),as(l,f))}function wu(l,f){if(l.tag===3)vc(l,l,f);else for(var m=l.return;m!==null;){if(m.tag===3){vc(m,l,f);break}else if(m.tag===1){var R=m.stateNode;if(typeof m.type.getDerivedStateFromError=="function"||typeof R.componentDidCatch=="function"&&($l===null||!$l.has(R))){l=Lp(f,l);var k=Mf(m,l,1);if(cu(m,k),k=Es(),m=Hp(m,1),m!==null)As(m,1,k),as(m,k);else if(typeof R.componentDidCatch=="function"&&($l===null||!$l.has(R)))try{R.componentDidCatch(f,l)}catch{}break}}m=m.return}}function Nb(l,f,m){var R=l.pingCache;R!==null&&R.delete(f),f=Es(),l.pingedLanes|=l.suspendedLanes&m,_a===l&&(_i&m)===m&&(Xi===4||Xi===3&&(_i&62914560)===_i&&500>Ea()-Ff?Ts(l,0):va|=m),as(l,f)}function Mb(l,f){var m=l.stateNode;m!==null&&m.delete(f),f=0,f===0&&(f=l.mode,f&2?f&4?(Il===0&&(Il=il),f=Ur(62914560&~Il),f===0&&(f=4194304)):f=Ed()===99?1:2:f=1),m=Es(),l=Hp(l,f),l!==null&&(As(l,f,m),as(l,m))}var Rg;Rg=function(l,f,m){var R=f.lanes;if(l!==null)if(l.memoizedProps!==f.pendingProps||ji.current)la=!0;else if(m&R)la=!!(l.flags&16384);else{switch(la=!1,f.tag){case 3:uv(f),Pd();break;case 5:fg(f);break;case 1:Ri(f.type)&&$s(f);break;case 4:Cf(f,f.stateNode.containerInfo);break;case 10:R=f.memoizedProps.value;var k=f.type._context;Rr(uu,k._currentValue),k._currentValue=R;break;case 13:if(f.memoizedState!==null)return m&f.child.childLanes?gu(l,f,m):(Rr(pi,pi.current&1),f=os(l,f,m),f!==null?f.sibling:null);Rr(pi,pi.current&1);break;case 19:if(R=(m&f.childLanes)!==0,l.flags&64){if(R)return Fp(l,f,m);f.flags|=64}if(k=f.memoizedState,k!==null&&(k.rendering=null,k.tail=null,k.lastEffect=null),Rr(pi,pi.current),R)break;return null;case 23:case 24:return f.lanes=0,cc(l,f,m)}return os(l,f,m)}else la=!1;switch(f.lanes=0,f.tag){case 2:if(R=f.type,l!==null&&(l.alternate=null,f.alternate=null,f.flags|=2),l=f.pendingProps,k=ne(f,zo.current),tc(f,m),k=Np(null,f,R,l,k,m),f.flags|=1,typeof k=="object"&&k!==null&&typeof k.render=="function"&&k.$$typeof===void 0){if(f.tag=1,f.memoizedState=null,f.updateQueue=null,Ri(R)){var G=!0;$s(f)}else G=!1;f.memoizedState=k.state!==null&&k.state!==void 0?k.state:null,yf(f);var oe=R.getDerivedStateFromProps;typeof oe=="function"&&_d(f,R,oe,l),k.updater=Od,f.stateNode=k,k._reactInternals=f,Yi(f,R,l,m),f=Ip(null,f,R,!0,G,m)}else f.tag=0,rs(null,f,k,m),f=f.child;return f;case 16:k=f.elementType;e:{switch(l!==null&&(l.alternate=null,f.alternate=null,f.flags|=2),l=f.pendingProps,G=k._init,k=G(k._payload),f.type=k,G=f.tag=Ab(k),l=ia(k,l),G){case 0:f=lv(null,f,k,l,m);break e;case 1:f=vg(null,f,k,l,m);break e;case 11:f=Ml(null,f,k,l,m);break e;case 14:f=$p(null,f,k,ia(k.type,l),R,m);break e}throw Error(o(306,k,""))}return f;case 0:return R=f.type,k=f.pendingProps,k=f.elementType===R?k:ia(R,k),lv(l,f,R,k,m);case 1:return R=f.type,k=f.pendingProps,k=f.elementType===R?k:ia(R,k),vg(l,f,R,k,m);case 3:if(uv(f),R=f.updateQueue,l===null||R===null)throw Error(o(282));if(R=f.pendingProps,k=f.memoizedState,k=k!==null?k.element:null,nc(l,f),Ol(f,R,null,m),R=f.memoizedState.element,R===k)Pd(),f=os(l,f,m);else{if(k=f.stateNode,(G=k.hydrate)&&(ws=Yu(f.stateNode.containerInfo.firstChild),Pl=f,G=Dl=!0),G){if(l=k.mutableSourceEagerHydrationData,l!=null)for(k=0;k<l.length;k+=2)G=l[k],G._workInProgressVersionPrimary=l[k+1],sc.push(G);for(m=fu(f,null,R,m),f.child=m;m;)m.flags=m.flags&-3|1024,m=m.sibling}else rs(l,f,R,m),Pd();f=f.child}return f;case 5:return fg(f),l===null&&pu(f),R=f.type,k=f.pendingProps,G=l!==null?l.memoizedProps:null,oe=k.children,Bc(R,k)?oe=null:G!==null&&Bc(R,G)&&(f.flags|=16),hg(l,f),rs(l,f,oe,m),f.child;case 6:return l===null&&pu(f),null;case 13:return gu(l,f,m);case 4:return Cf(f,f.stateNode.containerInfo),R=f.pendingProps,l===null?f.child=oc(f,null,R,m):rs(l,f,R,m),f.child;case 11:return R=f.type,k=f.pendingProps,k=f.elementType===R?k:ia(R,k),Ml(l,f,R,k,m);case 7:return rs(l,f,f.pendingProps,m),f.child;case 8:return rs(l,f,f.pendingProps.children,m),f.child;case 12:return rs(l,f,f.pendingProps.children,m),f.child;case 10:e:{R=f.type._context,k=f.pendingProps,oe=f.memoizedProps,G=k.value;var ve=f.type._context;if(Rr(uu,ve._currentValue),ve._currentValue=G,oe!==null)if(ve=oe.value,G=co(ve,G)?0:(typeof R._calculateChangedBits=="function"?R._calculateChangedBits(ve,G):1073741823)|0,G===0){if(oe.children===k.children&&!ji.current){f=os(l,f,m);break e}}else for(ve=f.child,ve!==null&&(ve.return=f);ve!==null;){var Ie=ve.dependencies;if(Ie!==null){oe=ve.child;for(var dt=Ie.firstContext;dt!==null;){if(dt.context===R&&dt.observedBits&G){ve.tag===1&&(dt=Ei(-1,m&-m),dt.tag=2,cu(ve,dt)),ve.lanes|=m,dt=ve.alternate,dt!==null&&(dt.lanes|=m),tv(ve.return,m),Ie.lanes|=m;break}dt=dt.next}}else oe=ve.tag===10&&ve.type===f.type?null:ve.child;if(oe!==null)oe.return=ve;else for(oe=ve;oe!==null;){if(oe===f){oe=null;break}if(ve=oe.sibling,ve!==null){ve.return=oe.return,oe=ve;break}oe=oe.return}ve=oe}rs(l,f,k.children,m),f=f.child}return f;case 9:return k=f.type,G=f.pendingProps,R=G.children,tc(f,m),k=Cs(k,G.unstable_observedBits),R=R(k),f.flags|=1,rs(l,f,R,m),f.child;case 14:return k=f.type,G=ia(k,f.pendingProps),G=ia(k.type,G),$p(l,f,k,G,R,m);case 15:return sv(l,f,f.type,f.pendingProps,R,m);case 17:return R=f.type,k=f.pendingProps,k=f.elementType===R?k:ia(R,k),l!==null&&(l.alternate=null,f.alternate=null,f.flags|=2),f.tag=1,Ri(R)?(l=!0,$s(f)):l=!1,tc(f,m),qc(f,R,k),Yi(f,R,k,m),Ip(null,f,R,!0,l,m);case 19:return Fp(l,f,m);case 23:return cc(l,f,m);case 24:return cc(l,f,m)}throw Error(o(156,f.tag))};function Eg(l,f,m,R){this.tag=l,this.key=m,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=f,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=R,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Ls(l,f,m,R){return new Eg(l,f,m,R)}function Yp(l){return l=l.prototype,!(!l||!l.isReactComponent)}function Ab(l){if(typeof l=="function")return Yp(l)?1:0;if(l!=null){if(l=l.$$typeof,l===ye)return 11;if(l===Se)return 14}return 2}function mc(l,f){var m=l.alternate;return m===null?(m=Ls(l.tag,f,l.key,l.mode),m.elementType=l.elementType,m.type=l.type,m.stateNode=l.stateNode,m.alternate=l,l.alternate=m):(m.pendingProps=f,m.type=l.type,m.flags=0,m.nextEffect=null,m.firstEffect=null,m.lastEffect=null),m.childLanes=l.childLanes,m.lanes=l.lanes,m.child=l.child,m.memoizedProps=l.memoizedProps,m.memoizedState=l.memoizedState,m.updateQueue=l.updateQueue,f=l.dependencies,m.dependencies=f===null?null:{lanes:f.lanes,firstContext:f.firstContext},m.sibling=l.sibling,m.index=l.index,m.ref=l.ref,m}function qf(l,f,m,R,k,G){var oe=2;if(R=l,typeof l=="function")Yp(l)&&(oe=1);else if(typeof l=="string")oe=5;else e:switch(l){case ue:return jl(m.children,k,G,f);case Ce:oe=8,k|=16;break;case ae:oe=8,k|=1;break;case pe:return l=Ls(12,m,f,k|8),l.elementType=pe,l.type=pe,l.lanes=G,l;case de:return l=Ls(13,m,f,k),l.type=de,l.elementType=de,l.lanes=G,l;case fe:return l=Ls(19,m,f,k),l.elementType=fe,l.lanes=G,l;case ge:return ma(m,k,G,f);case Me:return l=Ls(24,m,f,k),l.elementType=Me,l.lanes=G,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case xe:oe=10;break e;case Pe:oe=9;break e;case ye:oe=11;break e;case Se:oe=14;break e;case re:oe=16,R=null;break e;case ce:oe=22;break e}throw Error(o(130,l==null?l:typeof l,""))}return f=Ls(oe,m,f,k),f.elementType=l,f.type=R,f.lanes=G,f}function jl(l,f,m,R){return l=Ls(7,l,R,f),l.lanes=m,l}function ma(l,f,m,R){return l=Ls(23,l,R,f),l.elementType=ge,l.lanes=m,l}function Rv(l,f,m){return l=Ls(6,l,null,f),l.lanes=m,l}function Ev(l,f,m){return f=Ls(4,l.children!==null?l.children:[],l.key,f),f.lanes=m,f.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},f}function $b(l,f,m){this.tag=f,this.containerInfo=l,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=m,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=ao(0),this.expirationTimes=ao(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ao(0),this.mutableSourceEagerHydrationData=null}function Yf(l,f,m){var R=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:te,key:R==null?null:""+R,children:l,containerInfo:f,implementation:m}}function Kp(l,f,m,R){var k=f.current,G=Es(),oe=sl(k);e:if(m){m=m._reactInternals;t:{if(bi(m)!==m||m.tag!==1)throw Error(o(170));var ve=m;do{switch(ve.tag){case 3:ve=ve.stateNode.context;break t;case 1:if(Ri(ve.type)){ve=ve.stateNode.__reactInternalMemoizedMergedChildContext;break t}}ve=ve.return}while(ve!==null);throw Error(o(171))}if(m.tag===1){var Ie=m.type;if(Ri(Ie)){m=Gr(m,Ie,ve);break e}}m=ve}else m=Xu;return f.context===null?f.context=m:f.pendingContext=m,f=Ei(G,oe),f.payload={element:l},R=R===void 0?null:R,R!==null&&(f.callback=R),cu(k,f),Cu(k,oe,G),oe}function Xp(l){if(l=l.current,!l.child)return null;switch(l.child.tag){case 5:return l.child.stateNode;default:return l.child.stateNode}}function Tg(l,f){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var m=l.retryLane;l.retryLane=m!==0&&m<f?m:f}}function Qp(l,f){Tg(l,f),(l=l.alternate)&&Tg(l,f)}function Zp(){return null}function Tv(l,f,m){var R=m!=null&&m.hydrationOptions!=null&&m.hydrationOptions.mutableSources||null;if(m=new $b(l,f,m!=null&&m.hydrate===!0),f=Ls(3,null,null,f===2?7:f===1?3:0),m.current=f,f.stateNode=m,yf(f),l[wa]=m.current,Rp(l.nodeType===8?l.parentNode:l),R)for(l=0;l<R.length;l++){f=R[l];var k=f._getVersion;k=k(f._source),m.mutableSourceEagerHydrationData==null?m.mutableSourceEagerHydrationData=[f,k]:m.mutableSourceEagerHydrationData.push(f,k)}this._internalRoot=m}Tv.prototype.render=function(l){Kp(l,this._internalRoot,null,null)},Tv.prototype.unmount=function(){var l=this._internalRoot,f=l.containerInfo;Kp(null,l,null,function(){f[wa]=null})};function Kf(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11&&(l.nodeType!==8||l.nodeValue!==" react-mount-point-unstable "))}function Ib(l,f){if(f||(f=l?l.nodeType===9?l.documentElement:l.firstChild:null,f=!(!f||f.nodeType!==1||!f.hasAttribute("data-reactroot"))),!f)for(var m;m=l.lastChild;)l.removeChild(m);return new Tv(l,0,f?{hydrate:!0}:void 0)}function Jp(l,f,m,R,k){var G=m._reactRootContainer;if(G){var oe=G._internalRoot;if(typeof k=="function"){var ve=k;k=function(){var dt=Xp(oe);ve.call(dt)}}Kp(f,oe,l,k)}else{if(G=m._reactRootContainer=Ib(m,R),oe=G._internalRoot,typeof k=="function"){var Ie=k;k=function(){var dt=Xp(oe);Ie.call(dt)}}Wf(function(){Kp(f,oe,l,k)})}return Xp(oe)}Xs=function(l){if(l.tag===13){var f=Es();Cu(l,4,f),Qp(l,4)}},es=function(l){if(l.tag===13){var f=Es();Cu(l,67108864,f),Qp(l,67108864)}},Zl=function(l){if(l.tag===13){var f=Es(),m=sl(l);Cu(l,m,f),Qp(l,m)}},ks=function(l,f){return f()},mo=function(l,f,m){switch(f){case"input":if(ut(l,m),f=m.name,m.type==="radio"&&f!=null){for(m=l;m.parentNode;)m=m.parentNode;for(m=m.querySelectorAll("input[name="+JSON.stringify(""+f)+'][type="radio"]'),f=0;f<m.length;f++){var R=m[f];if(R!==l&&R.form===l.form){var k=ys(R);if(!k)throw Error(o(90));xt(R),ut(R,k)}}}break;case"textarea":xn(l,m);break;case"select":f=m.value,f!=null&&sr(l,!!m.multiple,f,!1)}},Ne=xv,At=function(l,f,m,R,k){var G=Er;Er|=4;try{return zc(98,l.bind(null,f,m,R,k))}finally{Er=G,Er===0&&(Fd(),pa())}},Qt=function(){!(Er&49)&&(bg(),hc())},Fn=function(l,f){var m=Er;Er|=2;try{return l(f)}finally{Er=m,Er===0&&(Fd(),pa())}};function _g(l,f){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Kf(f))throw Error(o(200));return Yf(l,f,null,m)}var Fb={Events:[fa,oa,ys,wo,ka,hc,{current:!1}]},Xf={findFiberByHostInstance:au,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},jb={bundleType:Xf.bundleType,version:Xf.version,rendererPackageName:Xf.rendererPackageName,rendererConfig:Xf.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:A.ReactCurrentDispatcher,findHostInstanceByFiber:function(l){return l=Ds(l),l===null?null:l.stateNode},findFiberByHostInstance:Xf.findFiberByHostInstance||Zp,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var eh=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!eh.isDisabled&&eh.supportsFiber)try{Qh=eh.inject(jb),xs=eh}catch{}}return Yl.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Fb,Yl.createPortal=_g,Yl.findDOMNode=function(l){if(l==null)return null;if(l.nodeType===1)return l;var f=l._reactInternals;if(f===void 0)throw typeof l.render=="function"?Error(o(188)):Error(o(268,Object.keys(l)));return l=Ds(f),l=l===null?null:l.stateNode,l},Yl.flushSync=function(l,f){var m=Er;if(m&48)return l(f);Er|=1;try{if(l)return zc(99,l.bind(null,f))}finally{Er=m,pa()}},Yl.hydrate=function(l,f,m){if(!Kf(f))throw Error(o(200));return Jp(null,l,f,!0,m)},Yl.render=function(l,f,m){if(!Kf(f))throw Error(o(200));return Jp(null,l,f,!1,m)},Yl.unmountComponentAtNode=function(l){if(!Kf(l))throw Error(o(40));return l._reactRootContainer?(Wf(function(){Jp(null,null,l,!1,function(){l._reactRootContainer=null,l[wa]=null})}),!0):!1},Yl.unstable_batchedUpdates=xv,Yl.unstable_createPortal=function(l,f){return _g(l,f,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},Yl.unstable_renderSubtreeIntoContainer=function(l,f,m,R){if(!Kf(m))throw Error(o(200));if(l==null||l._reactInternals===void 0)throw Error(o(38));return Jp(l,f,m,!1,R)},Yl.version="17.0.2",Yl}var Kl={},ux={exports:{}},kc={};/** @license React v0.20.2
|
|
180
|
+
* scheduler-tracing.production.min.js
|
|
181
|
+
*
|
|
182
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
183
|
+
*
|
|
184
|
+
* This source code is licensed under the MIT license found in the
|
|
185
|
+
* LICENSE file in the root directory of this source tree.
|
|
186
|
+
*/var sk;function vz(){if(sk)return kc;sk=1;var e=0;return kc.__interactionsRef=null,kc.__subscriberRef=null,kc.unstable_clear=function(t){return t()},kc.unstable_getCurrent=function(){return null},kc.unstable_getThreadID=function(){return++e},kc.unstable_subscribe=function(){},kc.unstable_trace=function(t,n,o){return o()},kc.unstable_unsubscribe=function(){},kc.unstable_wrap=function(t){return t},kc}var P1={};/** @license React v0.20.2
|
|
187
|
+
* scheduler-tracing.development.js
|
|
188
|
+
*
|
|
189
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
190
|
+
*
|
|
191
|
+
* This source code is licensed under the MIT license found in the
|
|
192
|
+
* LICENSE file in the root directory of this source tree.
|
|
193
|
+
*/var lk;function mz(){return lk||(lk=1,function(e){process.env.NODE_ENV!=="production"&&function(){var t=0,n=0,o=0;e.__interactionsRef=null,e.__subscriberRef=null,e.__interactionsRef={current:new Set},e.__subscriberRef={current:null};function s(H){var L=e.__interactionsRef.current;e.__interactionsRef.current=new Set;try{return H()}finally{e.__interactionsRef.current=L}}function p(){return e.__interactionsRef.current}function u(){return++o}function g(H,L,U){var A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:t,Q={__count:1,id:n++,name:H,timestamp:L},te=e.__interactionsRef.current,ue=new Set(te);ue.add(Q),e.__interactionsRef.current=ue;var ae=e.__subscriberRef.current,pe;try{ae!==null&&ae.onInteractionTraced(Q)}finally{try{ae!==null&&ae.onWorkStarted(ue,A)}finally{try{pe=U()}finally{e.__interactionsRef.current=te;try{ae!==null&&ae.onWorkStopped(ue,A)}finally{Q.__count--,ae!==null&&Q.__count===0&&ae.onInteractionScheduledWorkCompleted(Q)}}}}return pe}function b(H){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,U=e.__interactionsRef.current,A=e.__subscriberRef.current;A!==null&&A.onWorkScheduled(U,L),U.forEach(function(ue){ue.__count++});var Q=!1;function te(){var ue=e.__interactionsRef.current;e.__interactionsRef.current=U,A=e.__subscriberRef.current;try{var ae;try{A!==null&&A.onWorkStarted(U,L)}finally{try{ae=H.apply(void 0,arguments)}finally{e.__interactionsRef.current=ue,A!==null&&A.onWorkStopped(U,L)}}return ae}finally{Q||(Q=!0,U.forEach(function(pe){pe.__count--,A!==null&&pe.__count===0&&A.onInteractionScheduledWorkCompleted(pe)}))}}return te.cancel=function(){A=e.__subscriberRef.current;try{A!==null&&A.onWorkCanceled(U,L)}finally{U.forEach(function(ae){ae.__count--,A&&ae.__count===0&&A.onInteractionScheduledWorkCompleted(ae)})}},te}var y=null;y=new Set;function C(H){y.add(H),y.size===1&&(e.__subscriberRef.current={onInteractionScheduledWorkCompleted:P,onInteractionTraced:O,onWorkCanceled:z,onWorkScheduled:D,onWorkStarted:I,onWorkStopped:j})}function w(H){y.delete(H),y.size===0&&(e.__subscriberRef.current=null)}function O(H){var L=!1,U=null;if(y.forEach(function(A){try{A.onInteractionTraced(H)}catch(Q){L||(L=!0,U=Q)}}),L)throw U}function P(H){var L=!1,U=null;if(y.forEach(function(A){try{A.onInteractionScheduledWorkCompleted(H)}catch(Q){L||(L=!0,U=Q)}}),L)throw U}function D(H,L){var U=!1,A=null;if(y.forEach(function(Q){try{Q.onWorkScheduled(H,L)}catch(te){U||(U=!0,A=te)}}),U)throw A}function I(H,L){var U=!1,A=null;if(y.forEach(function(Q){try{Q.onWorkStarted(H,L)}catch(te){U||(U=!0,A=te)}}),U)throw A}function j(H,L){var U=!1,A=null;if(y.forEach(function(Q){try{Q.onWorkStopped(H,L)}catch(te){U||(U=!0,A=te)}}),U)throw A}function z(H,L){var U=!1,A=null;if(y.forEach(function(Q){try{Q.onWorkCanceled(H,L)}catch(te){U||(U=!0,A=te)}}),U)throw A}e.unstable_clear=s,e.unstable_getCurrent=p,e.unstable_getThreadID=u,e.unstable_subscribe=C,e.unstable_trace=g,e.unstable_unsubscribe=w,e.unstable_wrap=b}()}(P1)),P1}var uk;function gz(){return uk||(uk=1,process.env.NODE_ENV==="production"?ux.exports=vz():ux.exports=mz()),ux.exports}/** @license React v17.0.2
|
|
194
|
+
* react-dom.development.js
|
|
195
|
+
*
|
|
196
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
197
|
+
*
|
|
198
|
+
* This source code is licensed under the MIT license found in the
|
|
199
|
+
* LICENSE file in the root directory of this source tree.
|
|
200
|
+
*/var ck;function yz(){return ck||(ck=1,process.env.NODE_ENV!=="production"&&function(){var e=$,t=Ch(),n=ik(),o=gz(),s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function p(r){{for(var i=arguments.length,d=new Array(i>1?i-1:0),v=1;v<i;v++)d[v-1]=arguments[v];g("warn",r,d)}}function u(r){{for(var i=arguments.length,d=new Array(i>1?i-1:0),v=1;v<i;v++)d[v-1]=arguments[v];g("error",r,d)}}function g(r,i,d){{var v=s.ReactDebugCurrentFrame,x=v.getStackAddendum();x!==""&&(i+="%s",d=d.concat([x]));var E=d.map(function(M){return""+M});E.unshift("Warning: "+i),Function.prototype.apply.call(console[r],console,E)}}if(!e)throw Error("ReactDOM was loaded before React. Make sure you load the React package before loading ReactDOM.");var b=0,y=1,C=2,w=3,O=4,P=5,D=6,I=7,j=8,z=9,H=10,L=11,U=12,A=13,Q=14,te=15,ue=16,ae=17,pe=18,xe=19,Pe=20,ye=21,de=22,fe=23,Se=24,re=!0,ce=!1,ke=!1,Ce=!1,ge=new Set,Me={},Le={};function Oe(r,i){Ve(r,i),Ve(r+"Capture",i)}function Ve(r,i){Me[r]&&u("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",r),Me[r]=i;{var d=r.toLowerCase();Le[d]=r,r==="onDoubleClick"&&(Le.ondblclick=r)}for(var v=0;v<i.length;v++)ge.add(i[v])}var ze=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",We=0,Ye=1,ot=2,yt=3,Ze=4,Te=5,tt=6,Ge=":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",et=Ge+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",xt="data-reactroot",Yt=new RegExp("^["+Ge+"]["+et+"]*$"),_t=Object.prototype.hasOwnProperty,Jt={},rt={};function ut(r){return _t.call(rt,r)?!0:_t.call(Jt,r)?!1:Yt.test(r)?(rt[r]=!0,!0):(Jt[r]=!0,u("Invalid attribute name: `%s`",r),!1)}function Kt(r,i,d){return i!==null?i.type===We:d?!1:r.length>2&&(r[0]==="o"||r[0]==="O")&&(r[1]==="n"||r[1]==="N")}function En(r,i,d,v){if(d!==null&&d.type===We)return!1;switch(typeof i){case"function":case"symbol":return!0;case"boolean":{if(v)return!1;if(d!==null)return!d.acceptsBooleans;var x=r.toLowerCase().slice(0,5);return x!=="data-"&&x!=="aria-"}default:return!1}}function yn(r,i,d,v){if(i===null||typeof i>"u"||En(r,i,d,v))return!0;if(v)return!1;if(d!==null)switch(d.type){case yt:return!i;case Ze:return i===!1;case Te:return isNaN(i);case tt:return isNaN(i)||i<1}return!1}function Hn(r){return Kn.hasOwnProperty(r)?Kn[r]:null}function sr(r,i,d,v,x,E,M){this.acceptsBooleans=i===ot||i===yt||i===Ze,this.attributeName=v,this.attributeNamespace=x,this.mustUseProperty=d,this.propertyName=r,this.type=i,this.sanitizeURL=E,this.removeEmptyString=M}var Kn={},Gn=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];Gn.forEach(function(r){Kn[r]=new sr(r,We,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var i=r[0],d=r[1];Kn[i]=new sr(i,Ye,!1,d,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){Kn[r]=new sr(r,ot,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){Kn[r]=new sr(r,ot,!1,r,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"].forEach(function(r){Kn[r]=new sr(r,yt,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){Kn[r]=new sr(r,yt,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){Kn[r]=new sr(r,Ze,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){Kn[r]=new sr(r,tt,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){Kn[r]=new sr(r,Te,!1,r.toLowerCase(),null,!1,!1)});var xn=/[\-\:]([a-z])/g,Or=function(r){return r[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"].forEach(function(r){var i=r.replace(xn,Or);Kn[i]=new sr(i,Ye,!1,r,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(r){var i=r.replace(xn,Or);Kn[i]=new sr(i,Ye,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var i=r.replace(xn,Or);Kn[i]=new sr(i,Ye,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){Kn[r]=new sr(r,Ye,!1,r.toLowerCase(),null,!1,!1)});var Vt="xlinkHref";Kn[Vt]=new sr("xlinkHref",Ye,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){Kn[r]=new sr(r,Ye,!1,r.toLowerCase(),null,!0,!0)});var Xt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,vn=!1;function zt(r){!vn&&Xt.test(r)&&(vn=!0,u("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(r)))}function mn(r,i,d,v){if(v.mustUseProperty){var x=v.propertyName;return r[x]}else{v.sanitizeURL&&zt(""+d);var E=v.attributeName,M=null;if(v.type===Ze){if(r.hasAttribute(E)){var W=r.getAttribute(E);return W===""?!0:yn(i,d,v,!1)?W:W===""+d?d:W}}else if(r.hasAttribute(E)){if(yn(i,d,v,!1))return r.getAttribute(E);if(v.type===yt)return d;M=r.getAttribute(E)}return yn(i,d,v,!1)?M===null?d:M:M===""+d?d:M}}function Xn(r,i,d){{if(!ut(i))return;if(uC(d))return d;if(!r.hasAttribute(i))return d===void 0?void 0:null;var v=r.getAttribute(i);return v===""+d?d:v}}function Pr(r,i,d,v){var x=Hn(i);if(!Kt(i,x,v)){if(yn(i,d,x,v)&&(d=null),v||x===null){if(ut(i)){var E=i;d===null?r.removeAttribute(E):r.setAttribute(E,""+d)}return}var M=x.mustUseProperty;if(M){var W=x.propertyName;if(d===null){var Z=x.type;r[W]=Z===yt?!1:""}else r[W]=d;return}var be=x.attributeName,Re=x.attributeNamespace;if(d===null)r.removeAttribute(be);else{var nt=x.type,je;nt===yt||nt===Ze&&d===!0?je="":(je=""+d,x.sanitizeURL&&zt(je.toString())),Re?r.setAttributeNS(Re,be,je):r.setAttribute(be,je)}}}var lo=60103,oo=60106,No=60107,Ui=60108,Zo=60114,$i=60109,$r=60110,mo=60112,Oo=60113,po=60120,ea=60115,wo=60116,ka=60121,Ne=60119,At=60128,Qt=60129,Fn=60130,tr=60131;if(typeof Symbol=="function"&&Symbol.for){var jn=Symbol.for;lo=jn("react.element"),oo=jn("react.portal"),No=jn("react.fragment"),Ui=jn("react.strict_mode"),Zo=jn("react.profiler"),$i=jn("react.provider"),$r=jn("react.context"),mo=jn("react.forward_ref"),Oo=jn("react.suspense"),po=jn("react.suspense_list"),ea=jn("react.memo"),wo=jn("react.lazy"),ka=jn("react.block"),jn("react.server.block"),jn("react.fundamental"),Ne=jn("react.scope"),At=jn("react.opaque.id"),Qt=jn("react.debug_trace_mode"),Fn=jn("react.offscreen"),tr=jn("react.legacy_hidden")}var vr=typeof Symbol=="function"&&Symbol.iterator,mr="@@iterator";function io(r){if(r===null||typeof r!="object")return null;var i=vr&&r[vr]||r[mr];return typeof i=="function"?i:null}var Vr=0,eo,ei,ti,Wi,Mo,Ja,Ks;function gr(){}gr.__reactDisabledLog=!0;function vo(){{if(Vr===0){eo=console.log,ei=console.info,ti=console.warn,Wi=console.error,Mo=console.group,Ja=console.groupCollapsed,Ks=console.groupEnd;var r={configurable:!0,enumerable:!0,value:gr,writable:!0};Object.defineProperties(console,{info:r,log:r,warn:r,error:r,group:r,groupCollapsed:r,groupEnd:r})}Vr++}}function bi(){{if(Vr--,Vr===0){var r={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:t({},r,{value:eo}),info:t({},r,{value:ei}),warn:t({},r,{value:ti}),error:t({},r,{value:Wi}),group:t({},r,{value:Mo}),groupCollapsed:t({},r,{value:Ja}),groupEnd:t({},r,{value:Ks})})}Vr<0&&u("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ha=s.ReactCurrentDispatcher,ms;function ta(r,i,d){{if(ms===void 0)try{throw Error()}catch(x){var v=x.stack.trim().match(/\n( *(at )?)/);ms=v&&v[1]||""}return`
|
|
201
|
+
`+ms+r}}var Ds=!1,Ga;{var Xs=typeof WeakMap=="function"?WeakMap:Map;Ga=new Xs}function es(r,i){if(!r||Ds)return"";{var d=Ga.get(r);if(d!==void 0)return d}var v;Ds=!0;var x=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var E;E=Ha.current,Ha.current=null,vo();try{if(i){var M=function(){throw Error()};if(Object.defineProperty(M.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(M,[])}catch(It){v=It}Reflect.construct(r,[],M)}else{try{M.call()}catch(It){v=It}r.call(M.prototype)}}else{try{throw Error()}catch(It){v=It}r()}}catch(It){if(It&&v&&typeof It.stack=="string"){for(var W=It.stack.split(`
|
|
202
|
+
`),Z=v.stack.split(`
|
|
203
|
+
`),be=W.length-1,Re=Z.length-1;be>=1&&Re>=0&&W[be]!==Z[Re];)Re--;for(;be>=1&&Re>=0;be--,Re--)if(W[be]!==Z[Re]){if(be!==1||Re!==1)do if(be--,Re--,Re<0||W[be]!==Z[Re]){var nt=`
|
|
204
|
+
`+W[be].replace(" at new "," at ");return typeof r=="function"&&Ga.set(r,nt),nt}while(be>=1&&Re>=0);break}}}finally{Ds=!1,Ha.current=E,bi(),Error.prepareStackTrace=x}var je=r?r.displayName||r.name:"",st=je?ta(je):"";return typeof r=="function"&&Ga.set(r,st),st}function Zl(r,i,d){return es(r,!0)}function ks(r,i,d){return es(r,!1)}function Ns(r){var i=r.prototype;return!!(i&&i.isReactComponent)}function na(r,i,d){if(r==null)return"";if(typeof r=="function")return es(r,Ns(r));if(typeof r=="string")return ta(r);switch(r){case Oo:return ta("Suspense");case po:return ta("SuspenseList")}if(typeof r=="object")switch(r.$$typeof){case mo:return ks(r.render);case ea:return na(r.type,i,d);case ka:return ks(r._render);case wo:{var v=r,x=v._payload,E=v._init;try{return na(E(x),i,d)}catch{}}}return""}function Na(r){switch(r._debugOwner&&r._debugOwner.type,r._debugSource,r.tag){case P:return ta(r.type);case ue:return ta("Lazy");case A:return ta("Suspense");case xe:return ta("SuspenseList");case b:case C:case te:return ks(r.type);case L:return ks(r.type.render);case de:return ks(r.type._render);case y:return Zl(r.type);default:return""}}function Hi(r){try{var i="",d=r;do i+=Na(d),d=d.return;while(d);return i}catch(v){return`
|
|
205
|
+
Error generating stack: `+v.message+`
|
|
206
|
+
`+v.stack}}function Ma(r,i,d){var v=i.displayName||i.name||"";return r.displayName||(v!==""?d+"("+v+")":d)}function ra(r){return r.displayName||"Context"}function on(r){if(r==null)return null;if(typeof r.tag=="number"&&u("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case No:return"Fragment";case oo:return"Portal";case Zo:return"Profiler";case Ui:return"StrictMode";case Oo:return"Suspense";case po:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case $r:var i=r;return ra(i)+".Consumer";case $i:var d=r;return ra(d._context)+".Provider";case mo:return Ma(r,r.render,"ForwardRef");case ea:return on(r.type);case ka:return on(r._render);case wo:{var v=r,x=v._payload,E=v._init;try{return on(E(x))}catch{return null}}}return null}var ts=s.ReactDebugCurrentFrame,ni=null,Aa=!1;function qa(){{if(ni===null)return null;var r=ni._debugOwner;if(r!==null&&typeof r<"u")return on(r.type)}return null}function $a(){return ni===null?"":Hi(ni)}function li(){ts.getCurrentStack=null,ni=null,Aa=!1}function Bo(r){ts.getCurrentStack=$a,ni=r,Aa=!1}function Ii(r){Aa=r}function Jl(){return Aa}function xi(r){return""+r}function Si(r){switch(typeof r){case"boolean":case"number":case"object":case"string":case"undefined":return r;default:return""}}var Ya={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function gs(r,i){Ya[i.type]||i.onChange||i.onInput||i.readOnly||i.disabled||i.value==null||u("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),i.onChange||i.readOnly||i.disabled||i.checked==null||u("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Ia(r){var i=r.type,d=r.nodeName;return d&&d.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function ml(r){return r._valueTracker}function gl(r){r._valueTracker=null}function Ms(r){var i="";return r&&(Ia(r)?i=r.checked?"true":"false":i=r.value),i}function yl(r){var i=Ia(r)?"checked":"value",d=Object.getOwnPropertyDescriptor(r.constructor.prototype,i),v=""+r[i];if(!(r.hasOwnProperty(i)||typeof d>"u"||typeof d.get!="function"||typeof d.set!="function")){var x=d.get,E=d.set;Object.defineProperty(r,i,{configurable:!0,get:function(){return x.call(this)},set:function(W){v=""+W,E.call(this,W)}}),Object.defineProperty(r,i,{enumerable:d.enumerable});var M={getValue:function(){return v},setValue:function(W){v=""+W},stopTracking:function(){gl(r),delete r[i]}};return M}}function J(r){ml(r)||(r._valueTracker=yl(r))}function Be(r){if(!r)return!1;var i=ml(r);if(!i)return!0;var d=i.getValue(),v=Ms(r);return v!==d?(i.setValue(v),!0):!1}function it(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}var St=!1,sn=!1,cr=!1,Zn=!1;function rr(r){var i=r.type==="checkbox"||r.type==="radio";return i?r.checked!=null:r.value!=null}function Ln(r,i){var d=r,v=i.checked,x=t({},i,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:v??d._wrapperState.initialChecked});return x}function Kr(r,i){gs("input",i),i.checked!==void 0&&i.defaultChecked!==void 0&&!sn&&(u("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",qa()||"A component",i.type),sn=!0),i.value!==void 0&&i.defaultValue!==void 0&&!St&&(u("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",qa()||"A component",i.type),St=!0);var d=r,v=i.defaultValue==null?"":i.defaultValue;d._wrapperState={initialChecked:i.checked!=null?i.checked:i.defaultChecked,initialValue:Si(i.value!=null?i.value:v),controlled:rr(i)}}function yo(r,i){var d=r,v=i.checked;v!=null&&Pr(d,"checked",v,!1)}function Ao(r,i){var d=r;{var v=rr(i);!d._wrapperState.controlled&&v&&!Zn&&(u("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),Zn=!0),d._wrapperState.controlled&&!v&&!cr&&(u("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),cr=!0)}yo(r,i);var x=Si(i.value),E=i.type;if(x!=null)E==="number"?(x===0&&d.value===""||d.value!=x)&&(d.value=xi(x)):d.value!==xi(x)&&(d.value=xi(x));else if(E==="submit"||E==="reset"){d.removeAttribute("value");return}i.hasOwnProperty("value")?Ur(d,i.type,x):i.hasOwnProperty("defaultValue")&&Ur(d,i.type,Si(i.defaultValue)),i.checked==null&&i.defaultChecked!=null&&(d.defaultChecked=!!i.defaultChecked)}function Xo(r,i,d){var v=r;if(i.hasOwnProperty("value")||i.hasOwnProperty("defaultValue")){var x=i.type,E=x==="submit"||x==="reset";if(E&&(i.value===void 0||i.value===null))return;var M=xi(v._wrapperState.initialValue);d||M!==v.value&&(v.value=M),v.defaultValue=M}var W=v.name;W!==""&&(v.name=""),v.defaultChecked=!v.defaultChecked,v.defaultChecked=!!v._wrapperState.initialChecked,W!==""&&(v.name=W)}function Fi(r,i){var d=r;Ao(d,i),ui(d,i)}function ui(r,i){var d=i.name;if(i.type==="radio"&&d!=null){for(var v=r;v.parentNode;)v=v.parentNode;for(var x=v.querySelectorAll("input[name="+JSON.stringify(""+d)+'][type="radio"]'),E=0;E<x.length;E++){var M=x[E];if(!(M===r||M.form!==r.form)){var W=Vg(M);if(!W)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Be(M),Ao(M,W)}}}}function Ur(r,i,d){(i!=="number"||it(r.ownerDocument)!==r)&&(d==null?r.defaultValue=xi(r._wrapperState.initialValue):r.defaultValue!==xi(d)&&(r.defaultValue=xi(d)))}var ao=!1,As=!1;function Ka(r){var i="";return e.Children.forEach(r,function(d){d!=null&&(i+=d)}),i}function bl(r,i){typeof i.children=="object"&&i.children!==null&&e.Children.forEach(i.children,function(d){d!=null&&(typeof d=="string"||typeof d=="number"||typeof d.type=="string"&&(As||(As=!0,u("Only strings and numbers are supported as <option> children."))))}),i.selected!=null&&!ao&&(u("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),ao=!0)}function Gu(r,i){i.value!=null&&r.setAttribute("value",xi(Si(i.value)))}function Qs(r,i){var d=t({children:void 0},i),v=Ka(i.children);return v&&(d.children=v),d}var xl;xl=!1;function eu(){var r=qa();return r?`
|
|
207
|
+
|
|
208
|
+
Check the render method of \``+r+"`.":""}var T=["value","defaultValue"];function q(r){{gs("select",r);for(var i=0;i<T.length;i++){var d=T[i];if(r[d]!=null){var v=Array.isArray(r[d]);r.multiple&&!v?u("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",d,eu()):!r.multiple&&v&&u("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",d,eu())}}}}function ee(r,i,d,v){var x=r.options;if(i){for(var E=d,M={},W=0;W<E.length;W++)M["$"+E[W]]=!0;for(var Z=0;Z<x.length;Z++){var be=M.hasOwnProperty("$"+x[Z].value);x[Z].selected!==be&&(x[Z].selected=be),be&&v&&(x[Z].defaultSelected=!0)}}else{for(var Re=xi(Si(d)),nt=null,je=0;je<x.length;je++){if(x[je].value===Re){x[je].selected=!0,v&&(x[je].defaultSelected=!0);return}nt===null&&!x[je].disabled&&(nt=x[je])}nt!==null&&(nt.selected=!0)}}function ie(r,i){return t({},i,{value:void 0})}function _e(r,i){var d=r;q(i),d._wrapperState={wasMultiple:!!i.multiple},i.value!==void 0&&i.defaultValue!==void 0&&!xl&&(u("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),xl=!0)}function me(r,i){var d=r;d.multiple=!!i.multiple;var v=i.value;v!=null?ee(d,!!i.multiple,v,!1):i.defaultValue!=null&&ee(d,!!i.multiple,i.defaultValue,!0)}function De(r,i){var d=r,v=d._wrapperState.wasMultiple;d._wrapperState.wasMultiple=!!i.multiple;var x=i.value;x!=null?ee(d,!!i.multiple,x,!1):v!==!!i.multiple&&(i.defaultValue!=null?ee(d,!!i.multiple,i.defaultValue,!0):ee(d,!!i.multiple,i.multiple?[]:"",!1))}function lt(r,i){var d=r,v=i.value;v!=null&&ee(d,!!i.multiple,v,!1)}var ft=!1;function vt(r,i){var d=r;if(i.dangerouslySetInnerHTML!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var v=t({},i,{value:void 0,defaultValue:void 0,children:xi(d._wrapperState.initialValue)});return v}function Ht(r,i){var d=r;gs("textarea",i),i.value!==void 0&&i.defaultValue!==void 0&&!ft&&(u("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",qa()||"A component"),ft=!0);var v=i.value;if(v==null){var x=i.children,E=i.defaultValue;if(x!=null){u("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(E!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Array.isArray(x)){if(!(x.length<=1))throw Error("<textarea> can only have at most one child.");x=x[0]}E=x}}E==null&&(E=""),v=E}d._wrapperState={initialValue:Si(v)}}function Wt(r,i){var d=r,v=Si(i.value),x=Si(i.defaultValue);if(v!=null){var E=xi(v);E!==d.value&&(d.value=E),i.defaultValue==null&&d.defaultValue!==E&&(d.defaultValue=E)}x!=null&&(d.defaultValue=xi(x))}function kt(r,i){var d=r,v=d.textContent;v===d._wrapperState.initialValue&&v!==""&&v!==null&&(d.value=v)}function ht(r,i){Wt(r,i)}var Bt="http://www.w3.org/1999/xhtml",Ut="http://www.w3.org/1998/Math/MathML",ln="http://www.w3.org/2000/svg",On={html:Bt,mathml:Ut,svg:ln};function Jn(r){switch(r){case"svg":return ln;case"math":return Ut;default:return Bt}}function bn(r,i){return r==null||r===Bt?Jn(i):r===ln&&i==="foreignObject"?Bt:r}var Gt=function(r){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(i,d,v,x){MSApp.execUnsafeLocalFunction(function(){return r(i,d,v,x)})}:r},fn,pn=Gt(function(r,i){if(r.namespaceURI===On.svg&&!("innerHTML"in r)){fn=fn||document.createElement("div"),fn.innerHTML="<svg>"+i.valueOf().toString()+"</svg>";for(var d=fn.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;d.firstChild;)r.appendChild(d.firstChild);return}r.innerHTML=i}),Dn=1,fr=3,Sn=8,qn=9,to=11,lr=function(r,i){if(i){var d=r.firstChild;if(d&&d===r.lastChild&&d.nodeType===fr){d.nodeValue=i;return}}r.textContent=i},Wr={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},_={animationIterationCount:!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};function F(r,i){return r+i.charAt(0).toUpperCase()+i.substring(1)}var K=["Webkit","ms","Moz","O"];Object.keys(_).forEach(function(r){K.forEach(function(i){_[F(i,r)]=_[r]})});function Y(r,i,d){var v=i==null||typeof i=="boolean"||i==="";return v?"":!d&&typeof i=="number"&&i!==0&&!(_.hasOwnProperty(r)&&_[r])?i+"px":(""+i).trim()}var he=/([A-Z])/g,we=/^ms-/;function le(r){return r.replace(he,"-$1").toLowerCase().replace(we,"-ms-")}var Ae=function(){};{var Qe=/^(?:webkit|moz|o)[A-Z]/,ct=/^-ms-/,gt=/-(.)/g,en=/;\s*$/,Dt={},Mt={},nn=!1,Ct=!1,gn=function(r){return r.replace(gt,function(i,d){return d.toUpperCase()})},$n=function(r){Dt.hasOwnProperty(r)&&Dt[r]||(Dt[r]=!0,u("Unsupported style property %s. Did you mean %s?",r,gn(r.replace(ct,"ms-"))))},or=function(r){Dt.hasOwnProperty(r)&&Dt[r]||(Dt[r]=!0,u("Unsupported vendor-prefixed style property %s. Did you mean %s?",r,r.charAt(0).toUpperCase()+r.slice(1)))},an=function(r,i){Mt.hasOwnProperty(i)&&Mt[i]||(Mt[i]=!0,u(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,r,i.replace(en,"")))},yr=function(r,i){nn||(nn=!0,u("`NaN` is an invalid value for the `%s` css style property.",r))},Dr=function(r,i){Ct||(Ct=!0,u("`Infinity` is an invalid value for the `%s` css style property.",r))};Ae=function(r,i){r.indexOf("-")>-1?$n(r):Qe.test(r)?or(r):en.test(i)&&an(r,i),typeof i=="number"&&(isNaN(i)?yr(r,i):isFinite(i)||Dr(r,i))}}var cn=Ae;function Zt(r){{var i="",d="";for(var v in r)if(r.hasOwnProperty(v)){var x=r[v];if(x!=null){var E=v.indexOf("--")===0;i+=d+(E?v:le(v))+":",i+=Y(v,x,E),d=";"}}return i||null}}function un(r,i){var d=r.style;for(var v in i)if(i.hasOwnProperty(v)){var x=v.indexOf("--")===0;x||cn(v,i[v]);var E=Y(v,i[v],x);v==="float"&&(v="cssFloat"),x?d.setProperty(v,E):d[v]=E}}function Nn(r){return r==null||typeof r=="boolean"||r===""}function ar(r){var i={};for(var d in r)for(var v=Wr[d]||[d],x=0;x<v.length;x++)i[v[x]]=d;return i}function wr(r,i){{if(!i)return;var d=ar(r),v=ar(i),x={};for(var E in d){var M=d[E],W=v[E];if(W&&M!==W){var Z=M+","+W;if(x[Z])continue;x[Z]=!0,u("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",Nn(r[M])?"Removing":"Updating",M,W)}}}}var Xr={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},Cn=t({menuitem:!0},Xr),Ci="__html";function br(r,i){if(i){if(Cn[r]&&!(i.children==null&&i.dangerouslySetInnerHTML==null))throw Error(r+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(i.dangerouslySetInnerHTML!=null){if(i.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(!(typeof i.dangerouslySetInnerHTML=="object"&&Ci in i.dangerouslySetInnerHTML))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!i.suppressContentEditableWarning&&i.contentEditable&&i.children!=null&&u("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),!(i.style==null||typeof i.style=="object"))throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function In(r,i){if(r.indexOf("-")===-1)return typeof i.is=="string";switch(r){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 Mn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Hr={"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Po={},tu=new RegExp("^(aria)-["+et+"]*$"),qu=new RegExp("^(aria)[A-Z]["+et+"]*$"),nr=Object.prototype.hasOwnProperty;function Ro(r,i){{if(nr.call(Po,i)&&Po[i])return!0;if(qu.test(i)){var d="aria-"+i.slice(4).toLowerCase(),v=Hr.hasOwnProperty(d)?d:null;if(v==null)return u("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",i),Po[i]=!0,!0;if(i!==v)return u("Invalid ARIA attribute `%s`. Did you mean `%s`?",i,v),Po[i]=!0,!0}if(tu.test(i)){var x=i.toLowerCase(),E=Hr.hasOwnProperty(x)?x:null;if(E==null)return Po[i]=!0,!1;if(i!==E)return u("Unknown ARIA attribute `%s`. Did you mean `%s`?",i,E),Po[i]=!0,!0}}return!0}function ci(r,i){{var d=[];for(var v in i){var x=Ro(r,v);x||d.push(v)}var E=d.map(function(M){return"`"+M+"`"}).join(", ");d.length===1?u("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",E,r):d.length>1&&u("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",E,r)}}function di(r,i){In(r,i)||ci(r,i)}var Fe=!1;function pt(r,i){{if(r!=="input"&&r!=="textarea"&&r!=="select")return;i!=null&&i.value===null&&!Fe&&(Fe=!0,r==="select"&&i.multiple?u("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",r):u("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",r))}}var Je=function(){};{var rn={},dr=Object.prototype.hasOwnProperty,ur=/^on./,co=/^on[^A-Z]/,ho=new RegExp("^(aria)-["+et+"]*$"),Zs=new RegExp("^(aria)[A-Z]["+et+"]*$");Je=function(r,i,d,v){if(dr.call(rn,i)&&rn[i])return!0;var x=i.toLowerCase();if(x==="onfocusin"||x==="onfocusout")return u("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),rn[i]=!0,!0;if(v!=null){var E=v.registrationNameDependencies,M=v.possibleRegistrationNames;if(E.hasOwnProperty(i))return!0;var W=M.hasOwnProperty(x)?M[x]:null;if(W!=null)return u("Invalid event handler property `%s`. Did you mean `%s`?",i,W),rn[i]=!0,!0;if(ur.test(i))return u("Unknown event handler property `%s`. It will be ignored.",i),rn[i]=!0,!0}else if(ur.test(i))return co.test(i)&&u("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",i),rn[i]=!0,!0;if(ho.test(i)||Zs.test(i))return!0;if(x==="innerhtml")return u("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),rn[i]=!0,!0;if(x==="aria")return u("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),rn[i]=!0,!0;if(x==="is"&&d!==null&&d!==void 0&&typeof d!="string")return u("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof d),rn[i]=!0,!0;if(typeof d=="number"&&isNaN(d))return u("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",i),rn[i]=!0,!0;var Z=Hn(i),be=Z!==null&&Z.type===We;if(Mn.hasOwnProperty(x)){var Re=Mn[x];if(Re!==i)return u("Invalid DOM property `%s`. Did you mean `%s`?",i,Re),rn[i]=!0,!0}else if(!be&&i!==x)return u("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",i,x),rn[i]=!0,!0;return typeof d=="boolean"&&En(i,d,Z,!1)?(d?u('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',d,i,i,d,i):u('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',d,i,i,d,i,i,i),rn[i]=!0,!0):be?!0:En(i,d,Z,!1)?(rn[i]=!0,!1):((d==="false"||d==="true")&&Z!==null&&Z.type===yt&&(u("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",d,i,d==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',i,d),rn[i]=!0),!0)}}var Sl=function(r,i,d){{var v=[];for(var x in i){var E=Je(r,x,i[x],d);E||v.push(x)}var M=v.map(function(W){return"`"+W+"`"}).join(", ");v.length===1?u("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",M,r):v.length>1&&u("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",M,r)}};function wi(r,i,d){In(r,i)||Sl(r,i,d)}var Xa=1,Ac=2,Qa=4,$c=16,Js=Xa|Ac|Qa;function jr(r){var i=r.target||r.srcElement||window;return i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===fr?i.parentNode:i}var Ic=null,nu=null,Cl=null;function qh(r){var i=zd(r);if(i){if(typeof Ic!="function")throw Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var d=i.stateNode;if(d){var v=Vg(d);Ic(i.stateNode,i.type,v)}}}function Yh(r){Ic=r}function Sd(r){nu?Cl?Cl.push(r):Cl=[r]:nu=r}function wp(){return nu!==null||Cl!==null}function wl(){if(nu){var r=nu,i=Cl;if(nu=null,Cl=null,qh(r),i)for(var d=0;d<i.length;d++)qh(i[d])}}var Fc=function(r,i){return r(i)},Vo=function(r,i,d,v,x){return r(i,d,v,x)},jc=function(){},Rp=Fc,Rl=!1,Lc=!1;function pf(){var r=wp();r&&(jc(),wl())}function ru(r,i){if(Rl)return r(i);Rl=!0;try{return Fc(r,i)}finally{Rl=!1,pf()}}function El(r,i,d){if(Lc)return r(i,d);Lc=!0;try{return Rp(r,i,d)}finally{Lc=!1,pf()}}function ou(r,i,d,v,x){var E=Rl;Rl=!0;try{return Vo(r,i,d,v,x)}finally{Rl=E,Rl||pf()}}function sg(r){Rl||jc()}function Ep(r,i,d,v){Fc=r,Vo=i,jc=d,Rp=v}function Kh(r){return r==="button"||r==="input"||r==="select"||r==="textarea"}function Cd(r,i,d){switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!!(d.disabled&&Kh(i));default:return!1}}function iu(r,i){var d=r.stateNode;if(d===null)return null;var v=Vg(d);if(v===null)return null;var x=v[i];if(Cd(i,r.type,v))return null;if(!(!x||typeof x=="function"))throw Error("Expected `"+i+"` listener to be a function, instead got a value of `"+typeof x+"` type.");return x}var Bc=!1;if(ze)try{var wd={};Object.defineProperty(wd,"passive",{get:function(){Bc=!0}}),window.addEventListener("test",wd,wd),window.removeEventListener("test",wd,wd)}catch{Bc=!1}function Xh(r,i,d,v,x,E,M,W,Z){var be=Array.prototype.slice.call(arguments,3);try{i.apply(d,be)}catch(Re){this.onError(Re)}}var Tp=Xh;if(typeof window<"u"&&typeof window.dispatchEvent=="function"&&typeof document<"u"&&typeof document.createEvent=="function"){var Yu=document.createElement("react");Tp=function(i,d,v,x,E,M,W,Z,be){if(!(typeof document<"u"))throw Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var Re=document.createEvent("Event"),nt=!1,je=!0,st=window.event,It=Object.getOwnPropertyDescriptor(window,"event");function hn(){Yu.removeEventListener(bt,Zr,!1),typeof window.event<"u"&&window.hasOwnProperty("event")&&(window.event=st)}var xr=Array.prototype.slice.call(arguments,3);function Zr(){nt=!0,hn(),d.apply(v,xr),je=!1}var Ar,To=!1,ii=!1;function at(Ke){if(Ar=Ke.error,To=!0,Ar===null&&Ke.colno===0&&Ke.lineno===0&&(ii=!0),Ke.defaultPrevented&&Ar!=null&&typeof Ar=="object")try{Ar._suppressLogging=!0}catch{}}var bt="react-"+(i||"invokeguardedcallback");if(window.addEventListener("error",at),Yu.addEventListener(bt,Zr,!1),Re.initEvent(bt,!1,!1),Yu.dispatchEvent(Re),It&&Object.defineProperty(window,"event",It),nt&&je&&(To?ii&&(Ar=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):Ar=new Error(`An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the "Pause on exceptions" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue.`),this.onError(Ar)),window.removeEventListener("error",at),!nt)return hn(),Xh.apply(this,arguments)}}var Gi=Tp,fi=!1,_p=null,Vc=!1,el=null,Op={onError:function(r){fi=!0,_p=r}};function wa(r,i,d,v,x,E,M,W,Z){fi=!1,_p=null,Gi.apply(Op,arguments)}function Rd(r,i,d,v,x,E,M,W,Z){if(wa.apply(this,arguments),fi){var be=oa();Vc||(Vc=!0,el=be)}}function au(){if(Vc){var r=el;throw Vc=!1,el=null,r}}function fa(){return fi}function oa(){if(fi){var r=_p;return fi=!1,_p=null,r}else throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function ys(r){return r._reactInternals}function hf(r){return r._reactInternals!==void 0}function Ku(r,i){r._reactInternals=i}var $o=0,Za=1,Ir=2,Rr=4,Xu=6,zo=8,ji=16,su=32,ne=64,Ri=128,bs=256,Ra=512,Gr=8192,$s=1024,lg=1028,Qh=932,xs=2047,vf=2048,tl=4096,mf=16384,_b=s.ReactCurrentOwner;function Qu(r){var i=r,d=r;if(r.alternate)for(;i.return;)i=i.return;else{var v=i;do i=v,(i.flags&(Ir|$s))!==$o&&(d=i.return),v=i.return;while(v)}return i.tag===w?d:null}function Is(r){if(r.tag===A){var i=r.memoizedState;if(i===null){var d=r.alternate;d!==null&&(i=d.memoizedState)}if(i!==null)return i.dehydrated}return null}function ug(r){return r.tag===w?r.stateNode.containerInfo:null}function Pp(r){return Qu(r)===r}function cg(r){{var i=_b.current;if(i!==null&&i.tag===y){var d=i,v=d.stateNode;v._warnedAboutRefsInRender||u("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",on(d.type)||"A component"),v._warnedAboutRefsInRender=!0}}var x=ys(r);return x?Qu(x)===x:!1}function Zh(r){if(Qu(r)!==r)throw Error("Unable to find node on an unmounted component.")}function Jh(r){var i=r.alternate;if(!i){var d=Qu(r);if(d===null)throw Error("Unable to find node on an unmounted component.");return d!==r?null:r}for(var v=r,x=i;;){var E=v.return;if(E===null)break;var M=E.alternate;if(M===null){var W=E.return;if(W!==null){v=x=W;continue}break}if(E.child===M.child){for(var Z=E.child;Z;){if(Z===v)return Zh(E),r;if(Z===x)return Zh(E),i;Z=Z.sibling}throw Error("Unable to find node on an unmounted component.")}if(v.return!==x.return)v=E,x=M;else{for(var be=!1,Re=E.child;Re;){if(Re===v){be=!0,v=E,x=M;break}if(Re===x){be=!0,x=E,v=M;break}Re=Re.sibling}if(!be){for(Re=M.child;Re;){if(Re===v){be=!0,v=M,x=E;break}if(Re===x){be=!0,x=M,v=E;break}Re=Re.sibling}if(!be)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(v.alternate!==x)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(v.tag!==w)throw Error("Unable to find node on an unmounted component.");return v.stateNode.current===v?r:i}function nl(r){var i=Jh(r);if(!i)return null;for(var d=i;;){if(d.tag===P||d.tag===D)return d;if(d.child){d.child.return=d,d=d.child;continue}if(d===i)return null;for(;!d.sibling;){if(!d.return||d.return===i)return null;d=d.return}d.sibling.return=d.return,d=d.sibling}return null}function ev(r){var i=Jh(r);if(!i)return null;for(var d=i;;){if(d.tag===P||d.tag===D||ce)return d;if(d.child&&d.tag!==O){d.child.return=d,d=d.child;continue}if(d===i)return null;for(;!d.sibling;){if(!d.return||d.return===i)return null;d=d.return}d.sibling.return=d.return,d=d.sibling}return null}function dg(r,i){for(var d=i,v=r.alternate;d!==null;){if(d===r||d===v)return!0;d=d.return}return!1}var Tl;function Dp(r){Tl=r}var gf;function Zu(r){gf=r}var Ea;function Ed(r){Ea=r}var Ss;function zc(r){Ss=r}var Uc=!1,pa=[],lu=null,Ju=null,ia=null,uu=new Map,ec=new Map,_l=[];function Td(){return pa.length>0}var Wc=["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"];function Hc(r){return Wc.indexOf(r)>-1}function tv(r,i,d,v,x){return{blockedOn:r,domEventName:i,eventSystemFlags:d|$c,nativeEvent:x,targetContainers:[v]}}function tc(r,i,d,v,x){var E=tv(r,i,d,v,x);pa.push(E)}function Cs(r,i){switch(r){case"focusin":case"focusout":lu=null;break;case"dragenter":case"dragleave":Ju=null;break;case"mouseover":case"mouseout":ia=null;break;case"pointerover":case"pointerout":{var d=i.pointerId;uu.delete(d);break}case"gotpointercapture":case"lostpointercapture":{var v=i.pointerId;ec.delete(v);break}}}function qi(r,i,d,v,x,E){if(r===null||r.nativeEvent!==E){var M=tv(i,d,v,x,E);if(i!==null){var W=zd(i);W!==null&&gf(W)}return M}r.eventSystemFlags|=v;var Z=r.targetContainers;return x!==null&&Z.indexOf(x)===-1&&Z.push(x),r}function yf(r,i,d,v,x){switch(i){case"focusin":{var E=x;return lu=qi(lu,r,i,d,v,E),!0}case"dragenter":{var M=x;return Ju=qi(Ju,r,i,d,v,M),!0}case"mouseover":{var W=x;return ia=qi(ia,r,i,d,v,W),!0}case"pointerover":{var Z=x,be=Z.pointerId;return uu.set(be,qi(uu.get(be)||null,r,i,d,v,Z)),!0}case"gotpointercapture":{var Re=x,nt=Re.pointerId;return ec.set(nt,qi(ec.get(nt)||null,r,i,d,v,Re)),!0}}return!1}function nc(r){var i=Jf(r.target);if(i!==null){var d=Qu(i);if(d!==null){var v=d.tag;if(v===A){var x=Is(d);if(x!==null){r.blockedOn=x,Ss(r.lanePriority,function(){n.unstable_runWithPriority(r.priority,function(){Ea(d)})});return}}else if(v===w){var E=d.stateNode;if(E.hydrate){r.blockedOn=ug(d);return}}}}r.blockedOn=null}function Ei(r){if(r.blockedOn!==null)return!1;for(var i=r.targetContainers;i.length>0;){var d=i[0],v=Id(r.domEventName,r.eventSystemFlags,d,r.nativeEvent);if(v!==null){var x=zd(v);return x!==null&&gf(x),r.blockedOn=v,!1}i.shift()}return!0}function cu(r,i,d){Ei(r)&&d.delete(i)}function nv(){for(Uc=!1;pa.length>0;){var r=pa[0];if(r.blockedOn!==null){var i=zd(r.blockedOn);i!==null&&Tl(i);break}for(var d=r.targetContainers;d.length>0;){var v=d[0],x=Id(r.domEventName,r.eventSystemFlags,v,r.nativeEvent);if(x!==null){r.blockedOn=x;break}d.shift()}r.blockedOn===null&&pa.shift()}lu!==null&&Ei(lu)&&(lu=null),Ju!==null&&Ei(Ju)&&(Ju=null),ia!==null&&Ei(ia)&&(ia=null),uu.forEach(cu),ec.forEach(cu)}function Ol(r,i){r.blockedOn===i&&(r.blockedOn=null,Uc||(Uc=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,nv)))}function Gc(r){if(pa.length>0){Ol(pa[0],r);for(var i=1;i<pa.length;i++){var d=pa[i];d.blockedOn===r&&(d.blockedOn=null)}}lu!==null&&Ol(lu,r),Ju!==null&&Ol(Ju,r),ia!==null&&Ol(ia,r);var v=function(W){return Ol(W,r)};uu.forEach(v),ec.forEach(v);for(var x=0;x<_l.length;x++){var E=_l[x];E.blockedOn===r&&(E.blockedOn=null)}for(;_l.length>0;){var M=_l[0];if(M.blockedOn!==null)break;nc(M),M.blockedOn===null&&_l.shift()}}var rl=0,_d=1,Od=2;function rc(r,i){var d={};return d[r.toLowerCase()]=i.toLowerCase(),d["Webkit"+r]="webkit"+i,d["Moz"+r]="moz"+i,d}var qc={animationend:rc("Animation","AnimationEnd"),animationiteration:rc("Animation","AnimationIteration"),animationstart:rc("Animation","AnimationStart"),transitionend:rc("Transition","TransitionEnd")},bf={},Yi={};ze&&(Yi=document.createElement("div").style,"AnimationEvent"in window||(delete qc.animationend.animation,delete qc.animationiteration.animation,delete qc.animationstart.animation),"TransitionEvent"in window||delete qc.transitionend.transition);function du(r){if(bf[r])return bf[r];if(!qc[r])return r;var i=qc[r];for(var d in i)if(i.hasOwnProperty(d)&&d in Yi)return bf[r]=i[d];return r}var Yc=du("animationend"),ns=du("animationiteration"),xf=du("animationstart"),oc=du("transitionend"),fu=new Map,ic=new Map,ri=["cancel","cancel","click","click","close","close","contextmenu","contextMenu","copy","copy","cut","cut","auxclick","auxClick","dblclick","doubleClick","dragend","dragEnd","dragstart","dragStart","drop","drop","focusin","focus","focusout","blur","input","input","invalid","invalid","keydown","keyDown","keypress","keyPress","keyup","keyUp","mousedown","mouseDown","mouseup","mouseUp","paste","paste","pause","pause","play","play","pointercancel","pointerCancel","pointerdown","pointerDown","pointerup","pointerUp","ratechange","rateChange","reset","reset","seeked","seeked","submit","submit","touchcancel","touchCancel","touchend","touchEnd","touchstart","touchStart","volumechange","volumeChange"],Kc=["change","selectionchange","textInput","compositionstart","compositionend","compositionupdate"],Sf=["drag","drag","dragenter","dragEnter","dragexit","dragExit","dragleave","dragLeave","dragover","dragOver","mousemove","mouseMove","mouseout","mouseOut","mouseover","mouseOver","pointermove","pointerMove","pointerout","pointerOut","pointerover","pointerOver","scroll","scroll","toggle","toggle","touchmove","touchMove","wheel","wheel"],Xc=["abort","abort",Yc,"animationEnd",ns,"animationIteration",xf,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",oc,"transitionEnd","waiting","waiting"];function Cf(r,i){for(var d=0;d<r.length;d+=2){var v=r[d],x=r[d+1],E=x[0].toUpperCase()+x.slice(1),M="on"+E;ic.set(v,i),fu.set(v,M),Oe(M,[v])}}function ac(r,i){for(var d=0;d<r.length;d++)ic.set(r[d],i)}function fg(r){var i=ic.get(r);return i===void 0?Od:i}function Qc(){Cf(ri,rl),Cf(Sf,_d),Cf(Xc,Od),ac(Kc,rl)}var pi=n.unstable_now;if(!(o.__interactionsRef!=null&&o.__interactionsRef.current!=null))throw Error("It is not supported to run the profiling version of a renderer (for example, `react-dom/profiling`) without also replacing the `scheduler/tracing` module with `scheduler/tracing-profiling`. Your bundler might have a setting for aliasing both modules. Learn more at https://reactjs.org/link/profiling");var wf=99,Pl=98,ws=97,Dl=96,rv=95,kp=90;pi();var pu=15,Rf=14,Ef=13,Pd=12,sc=11,kl=10,Dd=9,Ki=8,Zc=7,Jo=6,aa=5,Li=4,Tf=3,hu=2,Fa=1,vu=0,Np=31,Pt=0,Ti=0,no=1,ol=2,Jc=4,ed=24,qr=32,ov=192,kd=256,Nl=3584,Mp=4096,mu=4186112,Nd=62914560,sa=33554432,Ap=67108864,lc=134217727,_f=134217728,Of=805306368,Fs=1073741824,uo=-1;function uc(r){}var Do=Ki;function td(r){if((no&r)!==Pt)return Do=pu,no;if((ol&r)!==Pt)return Do=Rf,ol;if((Jc&r)!==Pt)return Do=Ef,Jc;var i=ed&r;if(i!==Pt)return Do=Pd,i;if((r&qr)!==Pt)return Do=sc,qr;var d=ov&r;if(d!==Pt)return Do=kl,d;if((r&kd)!==Pt)return Do=Dd,kd;var v=Nl&r;if(v!==Pt)return Do=Ki,v;if((r&Mp)!==Pt)return Do=Zc,Mp;var x=mu&r;if(x!==Pt)return Do=Jo,x;var E=Nd&r;if(E!==Pt)return Do=aa,E;if(r&Ap)return Do=Li,Ap;if((r&_f)!==Pt)return Do=Tf,_f;var M=Of&r;return M!==Pt?(Do=hu,M):(Fs&r)!==Pt?(Do=Fa,Fs):(u("Should have found matching lanes. This is a bug in React."),Do=Ki,r)}function Md(r){switch(r){case wf:return pu;case Pl:return kl;case ws:case Dl:return Ki;case rv:return hu;default:return vu}}function Pf(r){switch(r){case pu:case Rf:return wf;case Ef:case Pd:case sc:case kl:return Pl;case Dd:case Ki:case Zc:case Jo:case Li:case aa:return ws;case Tf:case hu:case Fa:return rv;case vu:return kp;default:throw Error("Invalid update priority: "+r+". This is a bug in React.")}}function nd(r,i){var d=r.pendingLanes;if(d===Pt)return Do=vu,Pt;var v=Pt,x=vu,E=r.expiredLanes,M=r.suspendedLanes,W=r.pingedLanes;if(E!==Pt)v=E,x=Do=pu;else{var Z=d&lc;if(Z!==Pt){var be=Z&~M;if(be!==Pt)v=td(be),x=Do;else{var Re=Z&W;Re!==Pt&&(v=td(Re),x=Do)}}else{var nt=d&~M;nt!==Pt?(v=td(nt),x=Do):W!==Pt&&(v=td(W),x=Do)}}if(v===Pt)return Pt;if(v=d&uv(v),i!==Pt&&i!==v&&(i&M)===Pt){td(i);var je=Do;if(x<=je)return i;Do=x}var st=r.entangledLanes;if(st!==Pt)for(var It=r.entanglements,hn=v&st;hn>0;){var xr=gu(hn),Zr=1<<xr;v|=It[xr],hn&=~Zr}return v}function pg(r,i){for(var d=r.eventTimes,v=uo;i>0;){var x=gu(i),E=1<<x,M=d[x];M>v&&(v=M),i&=~E}return v}function iv(r,i){td(r);var d=Do;return d>=kl?i+250:d>=Jo?i+5e3:uo}function av(r,i){for(var d=r.pendingLanes,v=r.suspendedLanes,x=r.pingedLanes,E=r.expirationTimes,M=d;M>0;){var W=gu(M),Z=1<<W,be=E[W];be===uo?((Z&v)===Pt||(Z&x)!==Pt)&&(E[W]=iv(Z,i)):be<=i&&(r.expiredLanes|=Z),M&=~Z}}function la(r){var i=r.pendingLanes&~Fs;return i!==Pt?i:i&Fs?Fs:Pt}function rs(){return Do}function Ml(r){return(r&lc)!==Pt}function $p(r){return(r&Nd)===r}function sv(r){return(r&mu)===r}function cc(r,i){switch(r){case vu:break;case pu:return no;case Rf:return ol;case Pd:{var d=ha(ed&~i);return d===Ti?cc(kl,i):d}case kl:{var v=ha(ov&~i);return v===Ti?cc(Ki,i):v}case Ki:{var x=ha(Nl&~i);return x===Ti&&(x=ha(mu&~i),x===Ti&&(x=ha(Nl))),x}case Jo:case aa:break;case hu:var E=ha(Of&~i);return E===Ti&&(E=ha(Of)),E}throw Error("Invalid update priority: "+r+". This is a bug in React.")}function hg(r,i){var d=ha(mu&~i);return d===Ti&&(d=ha(mu&~r),d===Ti&&(d=ha(mu))),d}function lv(r){var i=ha(Nd&~r);return i===Ti&&(i=ha(Nd)),i}function vg(r){return r&-r}function Ip(r){var i=31-Nf(r);return i<0?Pt:1<<i}function uv(r){return(Ip(r)<<1)-1}function ha(r){return vg(r)}function gu(r){return 31-Nf(r)}function cv(r){return gu(r)}function Eo(r,i){return(r&i)!==Pt}function Ta(r,i){return(r&i)===i}function bo(r,i){return r|i}function Ad(r,i){return r&~i}function Fp(r){return r}function os(r,i){return r!==Ti&&r<i?r:i}function Df(r){for(var i=[],d=0;d<Np;d++)i.push(r);return i}function rd(r,i,d){r.pendingLanes|=i;var v=i-1;r.suspendedLanes&=v,r.pingedLanes&=v;var x=r.eventTimes,E=cv(i);x[E]=d}function mg(r,i){r.suspendedLanes|=i,r.pingedLanes&=~i;for(var d=r.expirationTimes,v=i;v>0;){var x=gu(v),E=1<<x;d[x]=uo,v&=~E}}function jp(r,i,d){r.pingedLanes|=r.suspendedLanes&i}function Al(r){r.expiredLanes|=ed&r.pendingLanes}function kf(r){return(r&ed)!==Pt}function gg(r,i){r.mutableReadLanes|=i&r.pendingLanes}function Lp(r,i){var d=r.pendingLanes&~i;r.pendingLanes=i,r.suspendedLanes=0,r.pingedLanes=0,r.expiredLanes&=i,r.mutableReadLanes&=i,r.entangledLanes&=i;for(var v=r.entanglements,x=r.eventTimes,E=r.expirationTimes,M=d;M>0;){var W=gu(M),Z=1<<W;v[W]=Pt,x[W]=uo,E[W]=uo,M&=~Z}}function Bp(r,i){r.entangledLanes|=i;for(var d=r.entanglements,v=i;v>0;){var x=gu(v),E=1<<x;d[x]|=i,v&=~E}}var Nf=Math.clz32?Math.clz32:fv,dv=Math.log,Mf=Math.LN2;function fv(r){return r===0?32:31-(dv(r)/Mf|0)|0}var Af=n.unstable_UserBlockingPriority,Ob=n.unstable_runWithPriority,Vp=!0;function $d(r){Vp=!!r}function pv(){return Vp}function zp(r,i,d){var v=fg(i),x;switch(v){case rl:x=yg;break;case _d:x=hv;break;case Od:default:x=Rs;break}return x.bind(null,i,d,r)}function yg(r,i,d,v){sg(v.timeStamp),ou(Rs,r,i,d,v)}function hv(r,i,d,v){Ob(Af,Rs.bind(null,r,i,d,v))}function Rs(r,i,d,v){if(Vp){var x=!0;if(x=(i&Qa)===0,x&&Td()&&Hc(r)){tc(null,r,i,d,v);return}var E=Id(r,i,d,v);if(E===null){x&&Cs(r,v);return}if(x){if(Hc(r)){tc(E,r,i,d,v);return}if(yf(E,r,i,d,v))return;Cs(r,v)}LS(r,i,v,null,d)}}function Id(r,i,d,v){var x=jr(v),E=Jf(x);if(E!==null){var M=Qu(E);if(M===null)E=null;else{var W=M.tag;if(W===A){var Z=Is(M);if(Z!==null)return Z;E=null}else if(W===w){var be=M.stateNode;if(be.hydrate)return ug(M);E=null}else M!==E&&(E=null)}}return LS(r,i,v,E,d),null}function vv(r,i,d){return r.addEventListener(i,d,!1),d}function mv(r,i,d){return r.addEventListener(i,d,!0),d}function gv(r,i,d,v){return r.addEventListener(i,d,{capture:!0,passive:v}),d}function Pb(r,i,d,v){return r.addEventListener(i,d,{passive:v}),d}var $f=null,is=null,yu=null;function Er(r){return $f=r,is=_i(),!0}function _a(){$f=null,is=null,yu=null}function hi(){if(yu)return yu;var r,i=is,d=i.length,v,x=_i(),E=x.length;for(r=0;r<d&&i[r]===x[r];r++);var M=d-r;for(v=1;v<=M&&i[d-v]===x[E-v];v++);var W=v>1?1-v:void 0;return yu=x.slice(r,W),yu}function _i(){return"value"in $f?$f.value:$f.textContent}function Qn(r){var i,d=r.keyCode;return"charCode"in r?(i=r.charCode,i===0&&d===13&&(i=13)):i=d,i===10&&(i=13),i>=32||i===13?i:0}function bu(){return!0}function Xi(){return!1}function Oi(r){function i(d,v,x,E,M){this._reactName=d,this._targetInst=x,this.type=v,this.nativeEvent=E,this.target=M,this.currentTarget=null;for(var W in r)if(r.hasOwnProperty(W)){var Z=r[W];Z?this[W]=Z(E):this[W]=E[W]}var be=E.defaultPrevented!=null?E.defaultPrevented:E.returnValue===!1;return be?this.isDefaultPrevented=bu:this.isDefaultPrevented=Xi,this.isPropagationStopped=Xi,this}return t(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var d=this.nativeEvent;d&&(d.preventDefault?d.preventDefault():typeof d.returnValue!="unknown"&&(d.returnValue=!1),this.isDefaultPrevented=bu)},stopPropagation:function(){var d=this.nativeEvent;d&&(d.stopPropagation?d.stopPropagation():typeof d.cancelBubble!="unknown"&&(d.cancelBubble=!0),this.isPropagationStopped=bu)},persist:function(){},isPersistent:bu}),i}var il={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},xu=Oi(il),al=t({},il,{view:0,detail:0}),va=Oi(al),If,Ff,dc;function Fd(r){r!==dc&&(dc&&r.type==="mousemove"?(If=r.screenX-dc.screenX,Ff=r.screenY-dc.screenY):(If=0,Ff=0),dc=r)}var Tn=t({},al,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:sl,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(Fd(r),If)},movementY:function(r){return"movementY"in r?r.movementY:Ff}}),jf=Oi(Tn),yv=t({},Tn,{dataTransfer:0}),$l=Oi(yv),ja=t({},al,{relatedTarget:0}),Bi=Oi(ja),od=t({},il,{animationName:0,elapsedTime:0,pseudoElement:0}),bv=Oi(od),Lf=t({},il,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),Su=Oi(Lf),Bf=t({},il,{data:0}),fc=Oi(Bf),Vf=fc,Il={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Up={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"};function zf(r){if(r.key){var i=Il[r.key]||r.key;if(i!=="Unidentified")return i}if(r.type==="keypress"){var d=Qn(r);return d===13?"Enter":String.fromCharCode(d)}return r.type==="keydown"||r.type==="keyup"?Up[r.keyCode]||"Unidentified":""}var Wp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Es(r){var i=this,d=i.nativeEvent;if(d.getModifierState)return d.getModifierState(r);var v=Wp[r];return v?!!d[v]:!1}function sl(r){return Es}var Cu=t({},al,{key:zf,code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:sl,charCode:function(r){return r.type==="keypress"?Qn(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?Qn(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),Hp=Oi(Cu),as=t({},Tn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Gp=Oi(as),Fl=t({},al,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:sl}),Uf=Oi(Fl),bg=t({},il,{propertyName:0,elapsedTime:0,pseudoElement:0}),xv=Oi(bg),Wf=t({},Tn,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),Hf=Oi(Wf),js=[9,13,27,32],Ts=229,qp=ze&&"CompositionEvent"in window,id=null;ze&&"documentMode"in document&&(id=document.documentMode);var Gf=ze&&"TextEvent"in window&&!id,xg=ze&&(!qp||id&&id>8&&id<=11),Sg=32,Sv=String.fromCharCode(Sg);function Cg(){Oe("onBeforeInput",["compositionend","keypress","textInput","paste"]),Oe("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),Oe("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),Oe("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"])}var pc=!1;function Db(r){return(r.ctrlKey||r.altKey||r.metaKey)&&!(r.ctrlKey&&r.altKey)}function kb(r){switch(r){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}function hc(r,i){return r==="keydown"&&i.keyCode===Ts}function wg(r,i){switch(r){case"keyup":return js.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==Ts;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Cv(r){var i=r.detail;return typeof i=="object"&&"data"in i?i.data:null}function wv(r){return r.locale==="ko"}var vc=!1;function wu(r,i,d,v,x){var E,M;if(qp?E=kb(i):vc?wg(i,v)&&(E="onCompositionEnd"):hc(i,v)&&(E="onCompositionStart"),!E)return null;xg&&!wv(v)&&(!vc&&E==="onCompositionStart"?vc=Er(x):E==="onCompositionEnd"&&vc&&(M=hi()));var W=Pg(d,E);if(W.length>0){var Z=new fc(E,i,null,v,x);if(r.push({event:Z,listeners:W}),M)Z.data=M;else{var be=Cv(v);be!==null&&(Z.data=be)}}}function Nb(r,i){switch(r){case"compositionend":return Cv(i);case"keypress":var d=i.which;return d!==Sg?null:(pc=!0,Sv);case"textInput":var v=i.data;return v===Sv&&pc?null:v;default:return null}}function Mb(r,i){if(vc){if(r==="compositionend"||!qp&&wg(r,i)){var d=hi();return _a(),vc=!1,d}return null}switch(r){case"paste":return null;case"keypress":if(!Db(i)){if(i.char&&i.char.length>1)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return xg&&!wv(i)?null:i.data;default:return null}}function Rg(r,i,d,v,x){var E;if(Gf?E=Nb(i,v):E=Mb(i,v),!E)return null;var M=Pg(d,"onBeforeInput");if(M.length>0){var W=new Vf("onBeforeInput","beforeinput",null,v,x);r.push({event:W,listeners:M}),W.data=E}}function Eg(r,i,d,v,x,E,M){wu(r,i,d,v,x),Rg(r,i,d,v,x)}var Ls={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 Yp(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i==="input"?!!Ls[r.type]:i==="textarea"}/**
|
|
209
|
+
* Checks if an event is supported in the current execution environment.
|
|
210
|
+
*
|
|
211
|
+
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|
212
|
+
* `reset`, `load`, `error`, and `select`.
|
|
213
|
+
*
|
|
214
|
+
* Borrows from Modernizr.
|
|
215
|
+
*
|
|
216
|
+
* @param {string} eventNameSuffix Event name, e.g. "click".
|
|
217
|
+
* @return {boolean} True if the event is supported.
|
|
218
|
+
* @internal
|
|
219
|
+
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
220
|
+
*/function Ab(r){if(!ze)return!1;var i="on"+r,d=i in document;if(!d){var v=document.createElement("div");v.setAttribute(i,"return;"),d=typeof v[i]=="function"}return d}function mc(){Oe("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function qf(r,i,d,v){Sd(v);var x=Pg(i,"onChange");if(x.length>0){var E=new xu("onChange","change",null,d,v);r.push({event:E,listeners:x})}}var jl=null,ma=null;function Rv(r){var i=r.nodeName&&r.nodeName.toLowerCase();return i==="select"||i==="input"&&r.type==="file"}function Ev(r){var i=[];qf(i,ma,r,jr(r)),ru($b,i)}function $b(r){$S(r,0)}function Yf(r){var i=Ru(r);if(Be(i))return r}function Kp(r,i){if(r==="change")return i}var Xp=!1;ze&&(Xp=Ab("input")&&(!document.documentMode||document.documentMode>9));function Tg(r,i){jl=r,ma=i,jl.attachEvent("onpropertychange",Zp)}function Qp(){jl&&(jl.detachEvent("onpropertychange",Zp),jl=null,ma=null)}function Zp(r){r.propertyName==="value"&&Yf(ma)&&Ev(r)}function Tv(r,i,d){r==="focusin"?(Qp(),Tg(i,d)):r==="focusout"&&Qp()}function Kf(r,i){if(r==="selectionchange"||r==="keyup"||r==="keydown")return Yf(ma)}function Ib(r){var i=r.nodeName;return i&&i.toLowerCase()==="input"&&(r.type==="checkbox"||r.type==="radio")}function Jp(r,i){if(r==="click")return Yf(i)}function _g(r,i){if(r==="input"||r==="change")return Yf(i)}function Fb(r){var i=r._wrapperState;!i||!i.controlled||r.type!=="number"||Ur(r,"number",r.value)}function Xf(r,i,d,v,x,E,M){var W=d?Ru(d):window,Z,be;if(Rv(W)?Z=Kp:Yp(W)?Xp?Z=_g:(Z=Kf,be=Tv):Ib(W)&&(Z=Jp),Z){var Re=Z(i,d);if(Re){qf(r,Re,v,x);return}}be&&be(i,W,d),i==="focusout"&&Fb(W)}function jb(){Ve("onMouseEnter",["mouseout","mouseover"]),Ve("onMouseLeave",["mouseout","mouseover"]),Ve("onPointerEnter",["pointerout","pointerover"]),Ve("onPointerLeave",["pointerout","pointerover"])}function eh(r,i,d,v,x,E,M){var W=i==="mouseover"||i==="pointerover",Z=i==="mouseout"||i==="pointerout";if(W&&!(E&$c)){var be=v.relatedTarget||v.fromElement;if(be&&(Jf(be)||Bg(be)))return}if(!(!Z&&!W)){var Re;if(x.window===x)Re=x;else{var nt=x.ownerDocument;nt?Re=nt.defaultView||nt.parentWindow:Re=window}var je,st;if(Z){var It=v.relatedTarget||v.toElement;if(je=d,st=It?Jf(It):null,st!==null){var hn=Qu(st);(st!==hn||st.tag!==P&&st.tag!==D)&&(st=null)}}else je=null,st=d;if(je!==st){var xr=jf,Zr="onMouseLeave",Ar="onMouseEnter",To="mouse";(i==="pointerout"||i==="pointerover")&&(xr=Gp,Zr="onPointerLeave",Ar="onPointerEnter",To="pointer");var ii=je==null?Re:Ru(je),at=st==null?Re:Ru(st),bt=new xr(Zr,To+"leave",je,v,x);bt.target=ii,bt.relatedTarget=at;var Ke=null,qt=Jf(x);if(qt===d){var Rn=new xr(Ar,To+"enter",st,v,x);Rn.target=at,Rn.relatedTarget=ii,Ke=Rn}fT(r,bt,Ke,je,st)}}}function l(r,i){return r===i&&(r!==0||1/r===1/i)||r!==r&&i!==i}var f=typeof Object.is=="function"?Object.is:l,m=Object.prototype.hasOwnProperty;function R(r,i){if(f(r,i))return!0;if(typeof r!="object"||r===null||typeof i!="object"||i===null)return!1;var d=Object.keys(r),v=Object.keys(i);if(d.length!==v.length)return!1;for(var x=0;x<d.length;x++)if(!m.call(i,d[x])||!f(r[d[x]],i[d[x]]))return!1;return!0}function k(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function G(r){for(;r;){if(r.nextSibling)return r.nextSibling;r=r.parentNode}}function oe(r,i){for(var d=k(r),v=0,x=0;d;){if(d.nodeType===fr){if(x=v+d.textContent.length,v<=i&&x>=i)return{node:d,offset:i-v};v=x}d=k(G(d))}}function ve(r){var i=r.ownerDocument,d=i&&i.defaultView||window,v=d.getSelection&&d.getSelection();if(!v||v.rangeCount===0)return null;var x=v.anchorNode,E=v.anchorOffset,M=v.focusNode,W=v.focusOffset;try{x.nodeType,M.nodeType}catch{return null}return Ie(r,x,E,M,W)}function Ie(r,i,d,v,x){var E=0,M=-1,W=-1,Z=0,be=0,Re=r,nt=null;e:for(;;){for(var je=null;Re===i&&(d===0||Re.nodeType===fr)&&(M=E+d),Re===v&&(x===0||Re.nodeType===fr)&&(W=E+x),Re.nodeType===fr&&(E+=Re.nodeValue.length),(je=Re.firstChild)!==null;)nt=Re,Re=je;for(;;){if(Re===r)break e;if(nt===i&&++Z===d&&(M=E),nt===v&&++be===x&&(W=E),(je=Re.nextSibling)!==null)break;Re=nt,nt=Re.parentNode}Re=je}return M===-1||W===-1?null:{start:M,end:W}}function dt(r,i){var d=r.ownerDocument||document,v=d&&d.defaultView||window;if(v.getSelection){var x=v.getSelection(),E=r.textContent.length,M=Math.min(i.start,E),W=i.end===void 0?M:Math.min(i.end,E);if(!x.extend&&M>W){var Z=W;W=M,M=Z}var be=oe(r,M),Re=oe(r,W);if(be&&Re){if(x.rangeCount===1&&x.anchorNode===be.node&&x.anchorOffset===be.offset&&x.focusNode===Re.node&&x.focusOffset===Re.offset)return;var nt=d.createRange();nt.setStart(be.node,be.offset),x.removeAllRanges(),M>W?(x.addRange(nt),x.extend(Re.node,Re.offset)):(nt.setEnd(Re.node,Re.offset),x.addRange(nt))}}}function wn(r){return r&&r.nodeType===fr}function Tr(r,i){return!r||!i?!1:r===i?!0:wn(r)?!1:wn(i)?Tr(r,i.parentNode):"contains"in r?r.contains(i):r.compareDocumentPosition?!!(r.compareDocumentPosition(i)&16):!1}function jt(r){return r&&r.ownerDocument&&Tr(r.ownerDocument.documentElement,r)}function er(r){try{return typeof r.contentWindow.location.href=="string"}catch{return!1}}function kr(){for(var r=window,i=it();i instanceof r.HTMLIFrameElement;){if(er(i))r=i.contentWindow;else return i;i=it(r.document)}return i}function pr(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i&&(i==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||i==="textarea"||r.contentEditable==="true")}function Xe(){var r=kr();return{focusedElem:r,selectionRange:pr(r)?qe(r):null}}function Ue(r){var i=kr(),d=r.focusedElem,v=r.selectionRange;if(i!==d&&jt(d)){v!==null&&pr(d)&&Tt(d,v);for(var x=[],E=d;E=E.parentNode;)E.nodeType===Dn&&x.push({element:E,left:E.scrollLeft,top:E.scrollTop});typeof d.focus=="function"&&d.focus();for(var M=0;M<x.length;M++){var W=x[M];W.element.scrollLeft=W.left,W.element.scrollTop=W.top}}}function qe(r){var i;return"selectionStart"in r?i={start:r.selectionStart,end:r.selectionEnd}:i=ve(r),i||{start:0,end:0}}function Tt(r,i){var d=i.start,v=i.end;v===void 0&&(v=d),"selectionStart"in r?(r.selectionStart=d,r.selectionEnd=Math.min(v,r.value.length)):dt(r,i)}var Nt=ze&&"documentMode"in document&&document.documentMode<=11;function Fr(){Oe("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"])}var Pn=null,Sr=null,zr=null,Lr=!1;function gc(r){if("selectionStart"in r&&pr(r))return{start:r.selectionStart,end:r.selectionEnd};var i=r.ownerDocument&&r.ownerDocument.defaultView||window,d=i.getSelection();return{anchorNode:d.anchorNode,anchorOffset:d.anchorOffset,focusNode:d.focusNode,focusOffset:d.focusOffset}}function Lb(r){return r.window===r?r.document:r.nodeType===qn?r:r.ownerDocument}function MS(r,i,d){var v=Lb(d);if(!(Lr||Pn==null||Pn!==it(v))){var x=gc(Pn);if(!zr||!R(zr,x)){zr=x;var E=Pg(Sr,"onSelect");if(E.length>0){var M=new xu("onSelect","select",null,i,d);r.push({event:M,listeners:E}),M.target=Pn}}}}function iT(r,i,d,v,x,E,M){var W=d?Ru(d):window;switch(i){case"focusin":(Yp(W)||W.contentEditable==="true")&&(Pn=W,Sr=d,zr=null);break;case"focusout":Pn=null,Sr=null,zr=null;break;case"mousedown":Lr=!0;break;case"contextmenu":case"mouseup":case"dragend":Lr=!1,MS(r,v,x);break;case"selectionchange":if(Nt)break;case"keydown":case"keyup":MS(r,v,x)}}function aT(r,i,d,v,x,E,M){var W=fu.get(i);if(W!==void 0){var Z=xu,be=i;switch(i){case"keypress":if(Qn(v)===0)return;case"keydown":case"keyup":Z=Hp;break;case"focusin":be="focus",Z=Bi;break;case"focusout":be="blur",Z=Bi;break;case"beforeblur":case"afterblur":Z=Bi;break;case"click":if(v.button===2)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Z=jf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Z=$l;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Z=Uf;break;case Yc:case ns:case xf:Z=bv;break;case oc:Z=xv;break;case"scroll":Z=va;break;case"wheel":Z=Hf;break;case"copy":case"cut":case"paste":Z=Su;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Z=Gp;break}var Re=(E&Qa)!==0;{var nt=!Re&&i==="scroll",je=Og(d,W,v.type,Re,nt);if(je.length>0){var st=new Z(W,be,null,v,x);r.push({event:st,listeners:je})}}}}Qc(),jb(),mc(),Fr(),Cg();function sT(r,i,d,v,x,E,M){aT(r,i,d,v,x,E);var W=(E&Js)===0;W&&(eh(r,i,d,v,x,E),Xf(r,i,d,v,x),iT(r,i,d,v,x),Eg(r,i,d,v,x))}var _v=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],lT=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(_v));function AS(r,i,d){var v=r.type||"unknown-event";r.currentTarget=d,Rd(v,i,void 0,r),r.currentTarget=null}function uT(r,i,d){var v;if(d)for(var x=i.length-1;x>=0;x--){var E=i[x],M=E.instance,W=E.currentTarget,Z=E.listener;if(M!==v&&r.isPropagationStopped())return;AS(r,Z,W),v=M}else for(var be=0;be<i.length;be++){var Re=i[be],nt=Re.instance,je=Re.currentTarget,st=Re.listener;if(nt!==v&&r.isPropagationStopped())return;AS(r,st,je),v=nt}}function $S(r,i){for(var d=(i&Qa)!==0,v=0;v<r.length;v++){var x=r[v],E=x.event,M=x.listeners;uT(E,M,d)}au()}function cT(r,i,d,v,x){var E=jr(d),M=[];sT(M,r,v,d,E,i),$S(M,i)}function mi(r,i){var d=!1,v=hC(i),x=VS(r,d);v.has(x)||(FS(i,r,Ac,d),v.add(x))}var IS="_reactListening"+Math.random().toString(36).slice(2);function Bb(r){{if(r[IS])return;r[IS]=!0,ge.forEach(function(i){lT.has(i)||Vb(i,!1,r,null),Vb(i,!0,r,null)})}}function Vb(r,i,d,v){var x=arguments.length>4&&arguments[4]!==void 0?arguments[4]:0,E=d;r==="selectionchange"&&d.nodeType!==qn&&(E=d.ownerDocument);var M=hC(E),W=VS(r,i);M.has(W)||(i&&(x|=Qa),FS(E,r,x,i),M.add(W))}function FS(r,i,d,v,x){var E=zp(r,i,d),M=void 0;Bc&&(i==="touchstart"||i==="touchmove"||i==="wheel")&&(M=!0),r=r,v?M!==void 0?gv(r,i,E,M):mv(r,i,E):M!==void 0?Pb(r,i,E,M):vv(r,i,E)}function jS(r,i){return r===i||r.nodeType===Sn&&r.parentNode===i}function LS(r,i,d,v,x){var E=v;if(!(i&Xa)&&!(i&Ac)){var M=x;if(v!==null){var W=v;e:for(;;){if(W===null)return;var Z=W.tag;if(Z===w||Z===O){var be=W.stateNode.containerInfo;if(jS(be,M))break;if(Z===O)for(var Re=W.return;Re!==null;){var nt=Re.tag;if(nt===w||nt===O){var je=Re.stateNode.containerInfo;if(jS(je,M))return}Re=Re.return}for(;be!==null;){var st=Jf(be);if(st===null)return;var It=st.tag;if(It===P||It===D){W=E=st;continue e}be=be.parentNode}}W=W.return}}}El(function(){return cT(r,i,d,E)})}function Ov(r,i,d){return{instance:r,listener:i,currentTarget:d}}function Og(r,i,d,v,x){for(var E=i!==null?i+"Capture":null,M=v?E:i,W=[],Z=r,be=null;Z!==null;){var Re=Z,nt=Re.stateNode,je=Re.tag;if(je===P&&nt!==null&&(be=nt,M!==null)){var st=iu(Z,M);st!=null&&W.push(Ov(Z,st,be))}if(x)break;Z=Z.return}return W}function Pg(r,i){for(var d=i+"Capture",v=[],x=r;x!==null;){var E=x,M=E.stateNode,W=E.tag;if(W===P&&M!==null){var Z=M,be=iu(x,d);be!=null&&v.unshift(Ov(x,be,Z));var Re=iu(x,i);Re!=null&&v.push(Ov(x,Re,Z))}x=x.return}return v}function th(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==P);return r||null}function dT(r,i){for(var d=r,v=i,x=0,E=d;E;E=th(E))x++;for(var M=0,W=v;W;W=th(W))M++;for(;x-M>0;)d=th(d),x--;for(;M-x>0;)v=th(v),M--;for(var Z=x;Z--;){if(d===v||v!==null&&d===v.alternate)return d;d=th(d),v=th(v)}return null}function BS(r,i,d,v,x){for(var E=i._reactName,M=[],W=d;W!==null&&W!==v;){var Z=W,be=Z.alternate,Re=Z.stateNode,nt=Z.tag;if(be!==null&&be===v)break;if(nt===P&&Re!==null){var je=Re;if(x){var st=iu(W,E);st!=null&&M.unshift(Ov(W,st,je))}else if(!x){var It=iu(W,E);It!=null&&M.push(Ov(W,It,je))}}W=W.return}M.length!==0&&r.push({event:i,listeners:M})}function fT(r,i,d,v,x){var E=v&&x?dT(v,x):null;v!==null&&BS(r,i,v,E,!1),x!==null&&d!==null&&BS(r,d,x,E,!0)}function VS(r,i){return r+"__"+(i?"capture":"bubble")}var Bs=!1,Pv="dangerouslySetInnerHTML",Dg="suppressContentEditableWarning",Dv="suppressHydrationWarning",zS="autoFocus",yc="children",Qf="style",kv="__html",Zf=On.html,Nv,nh,Mv,Av,rh,US,kg,WS,jd,$v;{Nv={dialog:!0,webview:!0},Mv=function(r,i){di(r,i),pt(r,i),wi(r,i,{registrationNameDependencies:Me,possibleRegistrationNames:Le})},WS=ze&&!document.documentMode;var pT=/\r\n?/g,hT=/\u0000|\uFFFD/g;jd=function(r){var i=typeof r=="string"?r:""+r;return i.replace(pT,`
|
|
221
|
+
`).replace(hT,"")},Av=function(r,i){if(!Bs){var d=jd(i),v=jd(r);v!==d&&(Bs=!0,u('Text content did not match. Server: "%s" Client: "%s"',v,d))}},rh=function(r,i,d){if(!Bs){var v=jd(d),x=jd(i);x!==v&&(Bs=!0,u("Prop `%s` did not match. Server: %s Client: %s",r,JSON.stringify(x),JSON.stringify(v)))}},US=function(r){if(!Bs){Bs=!0;var i=[];r.forEach(function(d){i.push(d)}),u("Extra attributes from the server: %s",i)}},kg=function(r,i){i===!1?u("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",r,r,r):u("Expected `%s` listener to be a function, instead got a value of `%s` type.",r,typeof i)},$v=function(r,i){var d=r.namespaceURI===Zf?r.ownerDocument.createElement(r.tagName):r.ownerDocument.createElementNS(r.namespaceURI,r.tagName);return d.innerHTML=i,d.innerHTML}}function Ng(r){return r.nodeType===qn?r:r.ownerDocument}function HS(){}function Mg(r){r.onclick=HS}function vT(r,i,d,v,x){for(var E in v)if(v.hasOwnProperty(E)){var M=v[E];if(E===Qf)M&&Object.freeze(M),un(i,M);else if(E===Pv){var W=M?M[kv]:void 0;W!=null&&pn(i,W)}else if(E===yc)if(typeof M=="string"){var Z=r!=="textarea"||M!=="";Z&&lr(i,M)}else typeof M=="number"&&lr(i,""+M);else E===Dg||E===Dv||E===zS||(Me.hasOwnProperty(E)?M!=null&&(typeof M!="function"&&kg(E,M),E==="onScroll"&&mi("scroll",i)):M!=null&&Pr(i,E,M,x))}}function mT(r,i,d,v){for(var x=0;x<i.length;x+=2){var E=i[x],M=i[x+1];E===Qf?un(r,M):E===Pv?pn(r,M):E===yc?lr(r,M):Pr(r,E,M,v)}}function gT(r,i,d,v){var x,E=Ng(d),M,W=v;if(W===Zf&&(W=Jn(r)),W===Zf){if(x=In(r,i),!x&&r!==r.toLowerCase()&&u("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",r),r==="script"){var Z=E.createElement("div");Z.innerHTML="<script><\/script>";var be=Z.firstChild;M=Z.removeChild(be)}else if(typeof i.is=="string")M=E.createElement(r,{is:i.is});else if(M=E.createElement(r),r==="select"){var Re=M;i.multiple?Re.multiple=!0:i.size&&(Re.size=i.size)}}else M=E.createElementNS(W,r);return W===Zf&&!x&&Object.prototype.toString.call(M)==="[object HTMLUnknownElement]"&&!Object.prototype.hasOwnProperty.call(Nv,r)&&(Nv[r]=!0,u("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",r)),M}function yT(r,i){return Ng(i).createTextNode(r)}function bT(r,i,d,v){var x=In(i,d);Mv(i,d);var E;switch(i){case"dialog":mi("cancel",r),mi("close",r),E=d;break;case"iframe":case"object":case"embed":mi("load",r),E=d;break;case"video":case"audio":for(var M=0;M<_v.length;M++)mi(_v[M],r);E=d;break;case"source":mi("error",r),E=d;break;case"img":case"image":case"link":mi("error",r),mi("load",r),E=d;break;case"details":mi("toggle",r),E=d;break;case"input":Kr(r,d),E=Ln(r,d),mi("invalid",r);break;case"option":bl(r,d),E=Qs(r,d);break;case"select":_e(r,d),E=ie(r,d),mi("invalid",r);break;case"textarea":Ht(r,d),E=vt(r,d),mi("invalid",r);break;default:E=d}switch(br(i,E),vT(i,r,v,E,x),i){case"input":J(r),Xo(r,d,!1);break;case"textarea":J(r),kt(r);break;case"option":Gu(r,d);break;case"select":me(r,d);break;default:typeof E.onClick=="function"&&Mg(r);break}}function xT(r,i,d,v,x){Mv(i,v);var E=null,M,W;switch(i){case"input":M=Ln(r,d),W=Ln(r,v),E=[];break;case"option":M=Qs(r,d),W=Qs(r,v),E=[];break;case"select":M=ie(r,d),W=ie(r,v),E=[];break;case"textarea":M=vt(r,d),W=vt(r,v),E=[];break;default:M=d,W=v,typeof M.onClick!="function"&&typeof W.onClick=="function"&&Mg(r);break}br(i,W);var Z,be,Re=null;for(Z in M)if(!(W.hasOwnProperty(Z)||!M.hasOwnProperty(Z)||M[Z]==null))if(Z===Qf){var nt=M[Z];for(be in nt)nt.hasOwnProperty(be)&&(Re||(Re={}),Re[be]="")}else Z===Pv||Z===yc||Z===Dg||Z===Dv||Z===zS||(Me.hasOwnProperty(Z)?E||(E=[]):(E=E||[]).push(Z,null));for(Z in W){var je=W[Z],st=M!=null?M[Z]:void 0;if(!(!W.hasOwnProperty(Z)||je===st||je==null&&st==null))if(Z===Qf)if(je&&Object.freeze(je),st){for(be in st)st.hasOwnProperty(be)&&(!je||!je.hasOwnProperty(be))&&(Re||(Re={}),Re[be]="");for(be in je)je.hasOwnProperty(be)&&st[be]!==je[be]&&(Re||(Re={}),Re[be]=je[be])}else Re||(E||(E=[]),E.push(Z,Re)),Re=je;else if(Z===Pv){var It=je?je[kv]:void 0,hn=st?st[kv]:void 0;It!=null&&hn!==It&&(E=E||[]).push(Z,It)}else Z===yc?(typeof je=="string"||typeof je=="number")&&(E=E||[]).push(Z,""+je):Z===Dg||Z===Dv||(Me.hasOwnProperty(Z)?(je!=null&&(typeof je!="function"&&kg(Z,je),Z==="onScroll"&&mi("scroll",r)),!E&&st!==je&&(E=[])):typeof je=="object"&&je!==null&&je.$$typeof===At?je.toString():(E=E||[]).push(Z,je))}return Re&&(wr(Re,W[Qf]),(E=E||[]).push(Qf,Re)),E}function ST(r,i,d,v,x){d==="input"&&x.type==="radio"&&x.name!=null&&yo(r,x);var E=In(d,v),M=In(d,x);switch(mT(r,i,E,M),d){case"input":Ao(r,x);break;case"textarea":Wt(r,x);break;case"select":De(r,x);break}}function CT(r){{var i=r.toLowerCase();return Mn.hasOwnProperty(i)&&Mn[i]||null}}function wT(r,i,d,v,x){var E,M;switch(nh=d[Dv]===!0,E=In(i,d),Mv(i,d),i){case"dialog":mi("cancel",r),mi("close",r);break;case"iframe":case"object":case"embed":mi("load",r);break;case"video":case"audio":for(var W=0;W<_v.length;W++)mi(_v[W],r);break;case"source":mi("error",r);break;case"img":case"image":case"link":mi("error",r),mi("load",r);break;case"details":mi("toggle",r);break;case"input":Kr(r,d),mi("invalid",r);break;case"option":bl(r,d);break;case"select":_e(r,d),mi("invalid",r);break;case"textarea":Ht(r,d),mi("invalid",r);break}br(i,d);{M=new Set;for(var Z=r.attributes,be=0;be<Z.length;be++){var Re=Z[be].name.toLowerCase();switch(Re){case"data-reactroot":break;case"value":break;case"checked":break;case"selected":break;default:M.add(Z[be].name)}}}var nt=null;for(var je in d)if(d.hasOwnProperty(je)){var st=d[je];if(je===yc)typeof st=="string"?r.textContent!==st&&(nh||Av(r.textContent,st),nt=[yc,st]):typeof st=="number"&&r.textContent!==""+st&&(nh||Av(r.textContent,st),nt=[yc,""+st]);else if(Me.hasOwnProperty(je))st!=null&&(typeof st!="function"&&kg(je,st),je==="onScroll"&&mi("scroll",r));else if(typeof E=="boolean"){var It=void 0,hn=Hn(je);if(!nh){if(!(je===Dg||je===Dv||je==="value"||je==="checked"||je==="selected")){if(je===Pv){var xr=r.innerHTML,Zr=st?st[kv]:void 0;if(Zr!=null){var Ar=$v(r,Zr);Ar!==xr&&rh(je,xr,Ar)}}else if(je===Qf){if(M.delete(je),WS){var To=Zt(st);It=r.getAttribute("style"),To!==It&&rh(je,It,To)}}else if(E)M.delete(je.toLowerCase()),It=Xn(r,je,st),st!==It&&rh(je,It,st);else if(!Kt(je,hn,E)&&!yn(je,st,hn,E)){var ii=!1;if(hn!==null)M.delete(hn.attributeName),It=mn(r,je,st,hn);else{var at=v;if(at===Zf&&(at=Jn(i)),at===Zf)M.delete(je.toLowerCase());else{var bt=CT(je);bt!==null&&bt!==je&&(ii=!0,M.delete(bt)),M.delete(je)}It=Xn(r,je,st)}st!==It&&!ii&&rh(je,It,st)}}}}}switch(M.size>0&&!nh&&US(M),i){case"input":J(r),Xo(r,d,!0);break;case"textarea":J(r),kt(r);break;case"select":case"option":break;default:typeof d.onClick=="function"&&Mg(r);break}return nt}function RT(r,i){var d=r.nodeValue!==i;return d}function GS(r,i){Av(r.nodeValue,i)}function Ll(r,i){{if(Bs)return;Bs=!0,u("Did not expect server HTML to contain a <%s> in <%s>.",i.nodeName.toLowerCase(),r.nodeName.toLowerCase())}}function qS(r,i){{if(Bs)return;Bs=!0,u('Did not expect server HTML to contain the text node "%s" in <%s>.',i.nodeValue,r.nodeName.toLowerCase())}}function YS(r,i,d){{if(Bs)return;Bs=!0,u("Expected server HTML to contain a matching <%s> in <%s>.",i,r.nodeName.toLowerCase())}}function Ld(r,i){{if(i===""||Bs)return;Bs=!0,u('Expected server HTML to contain a matching text node for "%s" in <%s>.',i,r.nodeName.toLowerCase())}}function Yr(r,i,d){switch(i){case"input":Fi(r,d);return;case"textarea":ht(r,d);return;case"select":lt(r,d);return}}var Iv=function(){},La=function(){};{var ua=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],KS=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],Bd=KS.concat(["button"]),ET=["dd","dt","li","option","optgroup","p","rp","rt"],XS={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};La=function(r,i){var d=t({},r||XS),v={tag:i};return KS.indexOf(i)!==-1&&(d.aTagInScope=null,d.buttonTagInScope=null,d.nobrTagInScope=null),Bd.indexOf(i)!==-1&&(d.pTagInButtonScope=null),ua.indexOf(i)!==-1&&i!=="address"&&i!=="div"&&i!=="p"&&(d.listItemTagAutoclosing=null,d.dlItemTagAutoclosing=null),d.current=v,i==="form"&&(d.formTag=v),i==="a"&&(d.aTagInScope=v),i==="button"&&(d.buttonTagInScope=v),i==="nobr"&&(d.nobrTagInScope=v),i==="p"&&(d.pTagInButtonScope=v),i==="li"&&(d.listItemTagAutoclosing=v),(i==="dd"||i==="dt")&&(d.dlItemTagAutoclosing=v),d};var TT=function(r,i){switch(i){case"select":return r==="option"||r==="optgroup"||r==="#text";case"optgroup":return r==="option"||r==="#text";case"option":return r==="#text";case"tr":return r==="th"||r==="td"||r==="style"||r==="script"||r==="template";case"tbody":case"thead":case"tfoot":return r==="tr"||r==="style"||r==="script"||r==="template";case"colgroup":return r==="col"||r==="template";case"table":return r==="caption"||r==="colgroup"||r==="tbody"||r==="tfoot"||r==="thead"||r==="style"||r==="script"||r==="template";case"head":return r==="base"||r==="basefont"||r==="bgsound"||r==="link"||r==="meta"||r==="title"||r==="noscript"||r==="noframes"||r==="style"||r==="script"||r==="template";case"html":return r==="head"||r==="body"||r==="frameset";case"frameset":return r==="frame";case"#document":return r==="html"}switch(r){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return i!=="h1"&&i!=="h2"&&i!=="h3"&&i!=="h4"&&i!=="h5"&&i!=="h6";case"rp":case"rt":return ET.indexOf(i)===-1;case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return i==null}return!0},_T=function(r,i){switch(r){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return i.pTagInButtonScope;case"form":return i.formTag||i.pTagInButtonScope;case"li":return i.listItemTagAutoclosing;case"dd":case"dt":return i.dlItemTagAutoclosing;case"button":return i.buttonTagInScope;case"a":return i.aTagInScope;case"nobr":return i.nobrTagInScope}return null},QS={};Iv=function(r,i,d){d=d||XS;var v=d.current,x=v&&v.tag;i!=null&&(r!=null&&u("validateDOMNesting: when childText is passed, childTag should be null"),r="#text");var E=TT(r,x)?null:v,M=E?null:_T(r,d),W=E||M;if(W){var Z=W.tag,be=!!E+"|"+r+"|"+Z;if(!QS[be]){QS[be]=!0;var Re=r,nt="";if(r==="#text"?/\S/.test(i)?Re="Text nodes":(Re="Whitespace text nodes",nt=" Make sure you don't have any extra whitespace between tags on each line of your source code."):Re="<"+r+">",E){var je="";Z==="table"&&r==="tr"&&(je+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),u("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",Re,Z,nt,je)}else u("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",Re,Z)}}}}var Vd;Vd="suppressHydrationWarning";var ZS="$",bc="/$",Ag="$?",oh="$!",Vi="style",Pi=null,$g=null;function JS(r,i){switch(r){case"button":case"input":case"select":case"textarea":return!!i.autoFocus}return!1}function OT(r){var i,d,v=r.nodeType;switch(v){case qn:case to:{i=v===qn?"#document":"#fragment";var x=r.documentElement;d=x?x.namespaceURI:bn(null,"");break}default:{var E=v===Sn?r.parentNode:r,M=E.namespaceURI||null;i=E.tagName,d=bn(M,i);break}}{var W=i.toLowerCase(),Z=La(null,W);return{namespace:d,ancestorInfo:Z}}}function PT(r,i,d){{var v=r,x=bn(v.namespace,i),E=La(v.ancestorInfo,i);return{namespace:x,ancestorInfo:E}}}function UI(r){return r}function DT(r){Pi=pv(),$g=Xe();var i=null;return $d(!1),i}function kT(r){Ue($g),$d(Pi),Pi=null,$g=null}function eC(r,i,d,v,x){var E;{var M=v;if(Iv(r,null,M.ancestorInfo),typeof i.children=="string"||typeof i.children=="number"){var W=""+i.children,Z=La(M.ancestorInfo,r);Iv(null,W,Z)}E=M.namespace}var be=gT(r,i,d,E);return Lv(x,be),Gb(be,i),be}function Fv(r,i){r.appendChild(i)}function zb(r,i,d,v,x){return bT(r,i,d,v),JS(i,d)}function NT(r,i,d,v,x,E){{var M=E;if(typeof v.children!=typeof d.children&&(typeof v.children=="string"||typeof v.children=="number")){var W=""+v.children,Z=La(M.ancestorInfo,i);Iv(null,W,Z)}}return xT(r,i,d,v)}function Ig(r,i){return r==="textarea"||r==="option"||r==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}function Fg(r,i,d,v){{var x=d;Iv(null,r,x.ancestorInfo)}var E=yT(r,i);return Lv(v,E),E}var Vs=typeof setTimeout=="function"?setTimeout:void 0,ih=typeof clearTimeout=="function"?clearTimeout:void 0,Ub=-1;function MT(r,i,d,v){JS(i,d)&&r.focus()}function AT(r,i,d,v,x,E){Gb(r,x),ST(r,i,d,v,x)}function tC(r){lr(r,"")}function $T(r,i,d){r.nodeValue=d}function nC(r,i){r.appendChild(i)}function ad(r,i){var d;r.nodeType===Sn?(d=r.parentNode,d.insertBefore(i,r)):(d=r,d.appendChild(i));var v=r._reactRootContainer;v==null&&d.onclick===null&&Mg(d)}function Qr(r,i,d){r.insertBefore(i,d)}function rC(r,i,d){r.nodeType===Sn?r.parentNode.insertBefore(i,d):r.insertBefore(i,d)}function Bl(r,i){r.removeChild(i)}function oC(r,i){r.nodeType===Sn?r.parentNode.removeChild(i):r.removeChild(i)}function IT(r){r=r;var i=r.style;typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"}function Io(r){r.nodeValue=""}function FT(r,i){r=r;var d=i[Vi],v=d!=null&&d.hasOwnProperty("display")?d.display:null;r.style.display=Y("display",v)}function iC(r,i){r.nodeValue=i}function ah(r){if(r.nodeType===Dn)r.textContent="";else if(r.nodeType===qn){var i=r.body;i!=null&&(i.textContent="")}}function jT(r,i,d){return r.nodeType!==Dn||i.toLowerCase()!==r.nodeName.toLowerCase()?null:r}function LT(r,i){return i===""||r.nodeType!==fr?null:r}function BT(r){return r.data===Ag}function VT(r){return r.data===oh}function aC(r){for(;r!=null;r=r.nextSibling){var i=r.nodeType;if(i===Dn||i===fr)break}return r}function jg(r){return aC(r.nextSibling)}function sC(r){return aC(r.firstChild)}function zT(r,i,d,v,x,E){Lv(E,r),Gb(r,d);var M;{var W=x;M=W.namespace}return wT(r,i,d,M)}function UT(r,i,d){return Lv(d,r),RT(r,i)}function WT(r){for(var i=r.nextSibling,d=0;i;){if(i.nodeType===Sn){var v=i.data;if(v===bc){if(d===0)return jg(i);d--}else(v===ZS||v===oh||v===Ag)&&d++}i=i.nextSibling}return null}function lC(r){for(var i=r.previousSibling,d=0;i;){if(i.nodeType===Sn){var v=i.data;if(v===ZS||v===oh||v===Ag){if(d===0)return i;d--}else v===bc&&d++}i=i.previousSibling}return null}function HT(r){Gc(r)}function GT(r){Gc(r)}function Wb(r,i,d){GS(i,d)}function qT(r,i,d,v,x){i[Vd]!==!0&&GS(v,x)}function Hb(r,i){i.nodeType===Dn?Ll(r,i):i.nodeType===Sn||qS(r,i)}function YT(r,i,d,v){i[Vd]!==!0&&(v.nodeType===Dn?Ll(d,v):v.nodeType===Sn||qS(d,v))}function KT(r,i,d){YS(r,i)}function XT(r,i){Ld(r,i)}function Ba(r,i,d,v,x){i[Vd]!==!0&&YS(d,v)}function zs(r,i,d,v){i[Vd]!==!0&&Ld(d,v)}function QT(r,i,d){i[Vd]}var ZT=0;function JT(r){var i="r:"+(ZT++).toString(36);return{toString:function(){return r(),i},valueOf:function(){return r(),i}}}function uC(r){return r!==null&&typeof r=="object"&&r.$$typeof===At}function e_(r){return{$$typeof:At,toString:r,valueOf:r}}function t_(r){Bb(r)}var Lg=Math.random().toString(36).slice(2),sh="__reactFiber$"+Lg,cC="__reactProps$"+Lg,jv="__reactContainer$"+Lg,dC="__reactEvents$"+Lg;function Lv(r,i){i[sh]=r}function fC(r,i){i[jv]=r}function pC(r){r[jv]=null}function Bg(r){return!!r[jv]}function Jf(r){var i=r[sh];if(i)return i;for(var d=r.parentNode;d;){if(i=d[jv]||d[sh],i){var v=i.alternate;if(i.child!==null||v!==null&&v.child!==null)for(var x=lC(r);x!==null;){var E=x[sh];if(E)return E;x=lC(x)}return i}r=d,d=r.parentNode}return null}function zd(r){var i=r[sh]||r[jv];return i&&(i.tag===P||i.tag===D||i.tag===A||i.tag===w)?i:null}function Ru(r){if(r.tag===P||r.tag===D)return r.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Vg(r){return r[cC]||null}function Gb(r,i){r[cC]=i}function hC(r){var i=r[dC];return i===void 0&&(i=r[dC]=new Set),i}var vC={},mC=s.ReactDebugCurrentFrame;function Bv(r){if(r){var i=r._owner,d=na(r.type,r._source,i?i.type:null);mC.setExtraStackFrame(d)}else mC.setExtraStackFrame(null)}function Vl(r,i,d,v,x){{var E=Function.call.bind(Object.prototype.hasOwnProperty);for(var M in r)if(E(r,M)){var W=void 0;try{if(typeof r[M]!="function"){var Z=Error((v||"React class")+": "+d+" type `"+M+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[M]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Z.name="Invariant Violation",Z}W=r[M](i,M,v,d,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(be){W=be}W&&!(W instanceof Error)&&(Bv(x),u("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",v||"React class",d,M,typeof W),Bv(null)),W instanceof Error&&!(W.message in vC)&&(vC[W.message]=!0,Bv(x),u("Failed %s type: %s",d,W.message),Bv(null))}}}var qb=[],zg;zg=[];var sd=-1;function Ud(r){return{current:r}}function ss(r,i){if(sd<0){u("Unexpected pop.");return}i!==zg[sd]&&u("Unexpected Fiber popped."),r.current=qb[sd],qb[sd]=null,zg[sd]=null,sd--}function ls(r,i,d){sd++,qb[sd]=r.current,zg[sd]=d,r.current=i}var Yb;Yb={};var ll={};Object.freeze(ll);var ld=Ud(ll),xc=Ud(!1),Kb=ll;function lh(r,i,d){return d&&Sc(i)?Kb:ld.current}function gC(r,i,d){{var v=r.stateNode;v.__reactInternalMemoizedUnmaskedChildContext=i,v.__reactInternalMemoizedMaskedChildContext=d}}function uh(r,i){{var d=r.type,v=d.contextTypes;if(!v)return ll;var x=r.stateNode;if(x&&x.__reactInternalMemoizedUnmaskedChildContext===i)return x.__reactInternalMemoizedMaskedChildContext;var E={};for(var M in v)E[M]=i[M];{var W=on(d)||"Unknown";Vl(v,E,"context",W)}return x&&gC(r,i,E),E}}function Ug(){return xc.current}function Sc(r){{var i=r.childContextTypes;return i!=null}}function Wg(r){ss(xc,r),ss(ld,r)}function Xb(r){ss(xc,r),ss(ld,r)}function yC(r,i,d){{if(ld.current!==ll)throw Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");ls(ld,i,r),ls(xc,d,r)}}function bC(r,i,d){{var v=r.stateNode,x=i.childContextTypes;if(typeof v.getChildContext!="function"){{var E=on(i)||"Unknown";Yb[E]||(Yb[E]=!0,u("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",E,E))}return d}var M=v.getChildContext();for(var W in M)if(!(W in x))throw Error((on(i)||"Unknown")+'.getChildContext(): key "'+W+'" is not defined in childContextTypes.');{var Z=on(i)||"Unknown";Vl(x,M,"child context",Z)}return t({},d,M)}}function Hg(r){{var i=r.stateNode,d=i&&i.__reactInternalMemoizedMergedChildContext||ll;return Kb=ld.current,ls(ld,d,r),ls(xc,xc.current,r),!0}}function xC(r,i,d){{var v=r.stateNode;if(!v)throw Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(d){var x=bC(r,i,Kb);v.__reactInternalMemoizedMergedChildContext=x,ss(xc,r),ss(ld,r),ls(ld,x,r),ls(xc,d,r)}else ss(xc,r),ls(xc,d,r)}}function n_(r){{if(!(Pp(r)&&r.tag===y))throw Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var i=r;do{switch(i.tag){case w:return i.stateNode.context;case y:{var d=i.type;if(Sc(d))return i.stateNode.__reactInternalMemoizedMergedChildContext;break}}i=i.return}while(i!==null);throw Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}}var Qb=0,SC=1,Gg=2,Vv=null,Eu=null,ch=!1,r_=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u";function o_(r){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var i=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(i.isDisabled)return!0;if(!i.supportsFiber)return u("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{Vv=i.inject(r),Eu=i}catch(d){u("React instrumentation encountered an error: %s.",d)}return!0}function Zb(r,i){if(Eu&&typeof Eu.onScheduleFiberRoot=="function")try{Eu.onScheduleFiberRoot(Vv,r,i)}catch(d){ch||(ch=!0,u("React instrumentation encountered an error: %s",d))}}function i_(r,i){if(Eu&&typeof Eu.onCommitFiberRoot=="function")try{var d=(r.current.flags&ne)===ne;re&&Eu.onCommitFiberRoot(Vv,r,i,d)}catch(v){ch||(ch=!0,u("React instrumentation encountered an error: %s",v))}}function a_(r){if(Eu&&typeof Eu.onCommitFiberUnmount=="function")try{Eu.onCommitFiberUnmount(Vv,r)}catch(i){ch||(ch=!0,u("React instrumentation encountered an error: %s",i))}}var s_=n.unstable_runWithPriority,us=n.unstable_scheduleCallback,qg=n.unstable_cancelCallback,l_=n.unstable_shouldYield,CC=n.unstable_requestPaint,Jb=n.unstable_now,u_=n.unstable_getCurrentPriorityLevel,dh=n.unstable_ImmediatePriority,wC=n.unstable_UserBlockingPriority,Yg=n.unstable_NormalPriority,RC=n.unstable_LowPriority,EC=n.unstable_IdlePriority;if(!(o.__interactionsRef!=null&&o.__interactionsRef.current!=null))throw Error("It is not supported to run the profiling version of a renderer (for example, `react-dom/profiling`) without also replacing the `scheduler/tracing` module with `scheduler/tracing-profiling`. Your bundler might have a setting for aliasing both modules. Learn more at https://reactjs.org/link/profiling");var TC={},zl=99,Wd=98,ud=97,_C=96,OC=95,zv=90,e0=l_,c_=CC!==void 0?CC:function(){},cd=null,Kg=null,t0=!1,PC=Jb(),cs=PC<1e4?Jb:function(){return Jb()-PC};function fh(){switch(u_()){case dh:return zl;case wC:return Wd;case Yg:return ud;case RC:return _C;case EC:return OC;default:throw Error("Unknown priority level.")}}function DC(r){switch(r){case zl:return dh;case Wd:return wC;case ud:return Yg;case _C:return RC;case OC:return EC;default:throw Error("Unknown priority level.")}}function ep(r,i){var d=DC(r);return s_(d,i)}function Hd(r,i,d){var v=DC(r);return us(v,i,d)}function d_(r){return cd===null?(cd=[r],Kg=us(dh,NC)):cd.push(r),TC}function kC(r){r!==TC&&qg(r)}function Cc(){if(Kg!==null){var r=Kg;Kg=null,qg(r)}NC()}function NC(){if(!t0&&cd!==null){t0=!0;var r=0;try{var i=!0,d=cd;ep(zl,function(){for(;r<d.length;r++){var v=d[r];do v=v(i);while(v!==null)}}),cd=null}catch(v){throw cd!==null&&(cd=cd.slice(r+1)),us(dh,Cc),v}finally{t0=!1}}}var MC="17.0.2",Di=0,Qi=1,Us=2,tp=4,ul=8,f_=16,c=s.ReactCurrentBatchConfig,h=0;function S(){return c.transition}var N={recordUnsafeLifecycleWarnings:function(r,i){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(r,i){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}};{var X=function(r){for(var i=null,d=r;d!==null;)d.mode&Qi&&(i=d),d=d.return;return i},se=function(r){var i=[];return r.forEach(function(d){i.push(d)}),i.sort().join(", ")},Ee=[],$e=[],He=[],wt=[],Et=[],$t=[],dn=new Set;N.recordUnsafeLifecycleWarnings=function(r,i){dn.has(r.type)||(typeof i.componentWillMount=="function"&&i.componentWillMount.__suppressDeprecationWarning!==!0&&Ee.push(r),r.mode&Qi&&typeof i.UNSAFE_componentWillMount=="function"&&$e.push(r),typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&He.push(r),r.mode&Qi&&typeof i.UNSAFE_componentWillReceiveProps=="function"&&wt.push(r),typeof i.componentWillUpdate=="function"&&i.componentWillUpdate.__suppressDeprecationWarning!==!0&&Et.push(r),r.mode&Qi&&typeof i.UNSAFE_componentWillUpdate=="function"&&$t.push(r))},N.flushPendingUnsafeLifecycleWarnings=function(){var r=new Set;Ee.length>0&&(Ee.forEach(function(je){r.add(on(je.type)||"Component"),dn.add(je.type)}),Ee=[]);var i=new Set;$e.length>0&&($e.forEach(function(je){i.add(on(je.type)||"Component"),dn.add(je.type)}),$e=[]);var d=new Set;He.length>0&&(He.forEach(function(je){d.add(on(je.type)||"Component"),dn.add(je.type)}),He=[]);var v=new Set;wt.length>0&&(wt.forEach(function(je){v.add(on(je.type)||"Component"),dn.add(je.type)}),wt=[]);var x=new Set;Et.length>0&&(Et.forEach(function(je){x.add(on(je.type)||"Component"),dn.add(je.type)}),Et=[]);var E=new Set;if($t.length>0&&($t.forEach(function(je){E.add(on(je.type)||"Component"),dn.add(je.type)}),$t=[]),i.size>0){var M=se(i);u(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
222
|
+
|
|
223
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
224
|
+
|
|
225
|
+
Please update the following components: %s`,M)}if(v.size>0){var W=se(v);u(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
226
|
+
|
|
227
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
228
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
229
|
+
|
|
230
|
+
Please update the following components: %s`,W)}if(E.size>0){var Z=se(E);u(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
231
|
+
|
|
232
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
233
|
+
|
|
234
|
+
Please update the following components: %s`,Z)}if(r.size>0){var be=se(r);p(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
235
|
+
|
|
236
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
237
|
+
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
238
|
+
|
|
239
|
+
Please update the following components: %s`,be)}if(d.size>0){var Re=se(d);p(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
240
|
+
|
|
241
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
242
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
|
|
243
|
+
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
244
|
+
|
|
245
|
+
Please update the following components: %s`,Re)}if(x.size>0){var nt=se(x);p(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
246
|
+
|
|
247
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
248
|
+
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
249
|
+
|
|
250
|
+
Please update the following components: %s`,nt)}};var Yn=new Map,Cr=new Set;N.recordLegacyContextWarning=function(r,i){var d=X(r);if(d===null){u("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!Cr.has(r.type)){var v=Yn.get(d);(r.type.contextTypes!=null||r.type.childContextTypes!=null||i!==null&&typeof i.getChildContext=="function")&&(v===void 0&&(v=[],Yn.set(d,v)),v.push(r))}},N.flushLegacyContextWarning=function(){Yn.forEach(function(r,i){if(r.length!==0){var d=r[0],v=new Set;r.forEach(function(E){v.add(on(E.type)||"Component"),Cr.add(E.type)});var x=se(v);try{Bo(d),u(`Legacy context API has been detected within a strict-mode tree.
|
|
251
|
+
|
|
252
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
253
|
+
|
|
254
|
+
Please update the following components: %s
|
|
255
|
+
|
|
256
|
+
Learn more about this warning here: https://reactjs.org/link/legacy-context`,x)}finally{li()}}})},N.discardPendingWarnings=function(){Ee=[],$e=[],He=[],wt=[],Et=[],$t=[],Yn=new Map}}function _r(r,i){if(r&&r.defaultProps){var d=t({},i),v=r.defaultProps;for(var x in v)d[x]===void 0&&(d[x]=v[x]);return d}return i}var hr=1073741823,so=Ud(null),fo;fo={};var ds=null,ga=null,fs=null,ki=!1;function Ws(){ds=null,ga=null,fs=null,ki=!1}function wc(){ki=!0}function n0(){ki=!1}function WI(r,i){var d=r.type._context;ls(so,d._currentValue,r),d._currentValue=i,d._currentRenderer!==void 0&&d._currentRenderer!==null&&d._currentRenderer!==fo&&u("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),d._currentRenderer=fo}function p_(r){var i=so.current;ss(so,r);var d=r.type._context;d._currentValue=i}function Eae(r,i,d){if(f(d,i))return 0;var v=typeof r._calculateChangedBits=="function"?r._calculateChangedBits(d,i):hr;return(v&hr)!==v&&u("calculateChangedBits: Expected the return value to be a 31-bit integer. Instead received: %s",v),v|0}function HI(r,i){for(var d=r;d!==null;){var v=d.alternate;if(!Ta(d.childLanes,i))d.childLanes=bo(d.childLanes,i),v!==null&&(v.childLanes=bo(v.childLanes,i));else if(v!==null&&!Ta(v.childLanes,i))v.childLanes=bo(v.childLanes,i);else break;d=d.return}}function Tae(r,i,d,v){var x=r.child;for(x!==null&&(x.return=r);x!==null;){var E=void 0,M=x.dependencies;if(M!==null){E=x.child;for(var W=M.firstContext;W!==null;){if(W.context===i&&W.observedBits&d){if(x.tag===y){var Z=ph(uo,ha(v));Z.tag=AC,hh(x,Z)}x.lanes=bo(x.lanes,v);var be=x.alternate;be!==null&&(be.lanes=bo(be.lanes,v)),HI(x.return,v),M.lanes=bo(M.lanes,v);break}W=W.next}}else x.tag===H?E=x.type===r.type?null:x.child:E=x.child;if(E!==null)E.return=x;else for(E=x;E!==null;){if(E===r){E=null;break}var Re=E.sibling;if(Re!==null){Re.return=E.return,E=Re;break}E=E.return}x=E}}function Xg(r,i){ds=r,ga=null,fs=null;var d=r.dependencies;if(d!==null){var v=d.firstContext;v!==null&&(Eo(d.lanes,i)&&SO(),d.firstContext=null)}}function Va(r,i){if(ki&&u("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),fs!==r){if(!(i===!1||i===0)){var d;typeof i!="number"||i===hr?(fs=r,d=hr):d=i;var v={context:r,observedBits:d,next:null};if(ga===null){if(ds===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");ga=v,ds.dependencies={lanes:Pt,firstContext:v,responders:null}}else ga=ga.next=v}}return r._currentValue}var GI=0,qI=1,AC=2,h_=3,$C=!1,v_,IC;v_=!1,IC=null;function m_(r){var i={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null};r.updateQueue=i}function YI(r,i){var d=i.updateQueue,v=r.updateQueue;if(d===v){var x={baseState:v.baseState,firstBaseUpdate:v.firstBaseUpdate,lastBaseUpdate:v.lastBaseUpdate,shared:v.shared,effects:v.effects};i.updateQueue=x}}function ph(r,i){var d={eventTime:r,lane:i,tag:GI,payload:null,callback:null,next:null};return d}function hh(r,i){var d=r.updateQueue;if(d!==null){var v=d.shared,x=v.pending;x===null?i.next=i:(i.next=x.next,x.next=i),v.pending=i,IC===v&&!v_&&(u("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),v_=!0)}}function KI(r,i){var d=r.updateQueue,v=r.alternate;if(v!==null){var x=v.updateQueue;if(d===x){var E=null,M=null,W=d.firstBaseUpdate;if(W!==null){var Z=W;do{var be={eventTime:Z.eventTime,lane:Z.lane,tag:Z.tag,payload:Z.payload,callback:Z.callback,next:null};M===null?E=M=be:(M.next=be,M=be),Z=Z.next}while(Z!==null);M===null?E=M=i:(M.next=i,M=i)}else E=M=i;d={baseState:x.baseState,firstBaseUpdate:E,lastBaseUpdate:M,shared:x.shared,effects:x.effects},r.updateQueue=d;return}}var Re=d.lastBaseUpdate;Re===null?d.firstBaseUpdate=i:Re.next=i,d.lastBaseUpdate=i}function _ae(r,i,d,v,x,E){switch(d.tag){case qI:{var M=d.payload;if(typeof M=="function"){wc();var W=M.call(E,v,x);{if(r.mode&Qi){vo();try{M.call(E,v,x)}finally{bi()}}n0()}return W}return M}case h_:r.flags=r.flags&~tl|ne;case GI:{var Z=d.payload,be;if(typeof Z=="function"){wc(),be=Z.call(E,v,x);{if(r.mode&Qi){vo();try{Z.call(E,v,x)}finally{bi()}}n0()}}else be=Z;return be==null?v:t({},v,be)}case AC:return $C=!0,v}return v}function r0(r,i,d,v){var x=r.updateQueue;$C=!1,IC=x.shared;var E=x.firstBaseUpdate,M=x.lastBaseUpdate,W=x.shared.pending;if(W!==null){x.shared.pending=null;var Z=W,be=Z.next;Z.next=null,M===null?E=be:M.next=be,M=Z;var Re=r.alternate;if(Re!==null){var nt=Re.updateQueue,je=nt.lastBaseUpdate;je!==M&&(je===null?nt.firstBaseUpdate=be:je.next=be,nt.lastBaseUpdate=Z)}}if(E!==null){var st=x.baseState,It=Pt,hn=null,xr=null,Zr=null,Ar=E;do{var To=Ar.lane,ii=Ar.eventTime;if(Ta(v,To)){if(Zr!==null){var bt={eventTime:ii,lane:Ti,tag:Ar.tag,payload:Ar.payload,callback:Ar.callback,next:null};Zr=Zr.next=bt}st=_ae(r,x,Ar,st,i,d);var Ke=Ar.callback;if(Ke!==null){r.flags|=su;var qt=x.effects;qt===null?x.effects=[Ar]:qt.push(Ar)}}else{var at={eventTime:ii,lane:To,tag:Ar.tag,payload:Ar.payload,callback:Ar.callback,next:null};Zr===null?(xr=Zr=at,hn=st):Zr=Zr.next=at,It=bo(It,To)}if(Ar=Ar.next,Ar===null){if(W=x.shared.pending,W===null)break;var Rn=W,zn=Rn.next;Rn.next=null,Ar=zn,x.lastBaseUpdate=Rn,x.shared.pending=null}}while(!0);Zr===null&&(hn=st),x.baseState=hn,x.firstBaseUpdate=xr,x.lastBaseUpdate=Zr,GO(It),r.lanes=It,r.memoizedState=st}IC=null}function Oae(r,i){if(typeof r!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+r);r.call(i)}function XI(){$C=!1}function FC(){return $C}function QI(r,i,d){var v=i.effects;if(i.effects=null,v!==null)for(var x=0;x<v.length;x++){var E=v[x],M=E.callback;M!==null&&(E.callback=null,Oae(M,d))}}var g_={},Pae=Array.isArray,ZI=new e.Component().refs,y_,b_,x_,S_,C_,JI,jC,w_,R_,E_;{y_=new Set,b_=new Set,x_=new Set,S_=new Set,w_=new Set,C_=new Set,R_=new Set,E_=new Set;var eF=new Set;jC=function(r,i){if(!(r===null||typeof r=="function")){var d=i+"_"+r;eF.has(d)||(eF.add(d),u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",i,r))}},JI=function(r,i){if(i===void 0){var d=on(r)||"Component";C_.has(d)||(C_.add(d),u("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",d))}},Object.defineProperty(g_,"_processChildContext",{enumerable:!1,value:function(){throw Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(g_)}function LC(r,i,d,v){var x=r.memoizedState;if(r.mode&Qi){vo();try{d(v,x)}finally{bi()}}var E=d(v,x);JI(i,E);var M=E==null?x:t({},x,E);if(r.memoizedState=M,r.lanes===Pt){var W=r.updateQueue;W.baseState=M}}var T_={isMounted:cg,enqueueSetState:function(r,i,d){var v=ys(r),x=_u(),E=yh(v),M=ph(x,E);M.payload=i,d!=null&&(jC(d,"setState"),M.callback=d),hh(v,M),Gs(v,E,x)},enqueueReplaceState:function(r,i,d){var v=ys(r),x=_u(),E=yh(v),M=ph(x,E);M.tag=qI,M.payload=i,d!=null&&(jC(d,"replaceState"),M.callback=d),hh(v,M),Gs(v,E,x)},enqueueForceUpdate:function(r,i){var d=ys(r),v=_u(),x=yh(d),E=ph(v,x);E.tag=AC,i!=null&&(jC(i,"forceUpdate"),E.callback=i),hh(d,E),Gs(d,x,v)}};function tF(r,i,d,v,x,E,M){var W=r.stateNode;if(typeof W.shouldComponentUpdate=="function"){if(r.mode&Qi){vo();try{W.shouldComponentUpdate(v,E,M)}finally{bi()}}var Z=W.shouldComponentUpdate(v,E,M);return Z===void 0&&u("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",on(i)||"Component"),Z}return i.prototype&&i.prototype.isPureReactComponent?!R(d,v)||!R(x,E):!0}function Dae(r,i,d){var v=r.stateNode;{var x=on(i)||"Component",E=v.render;E||(i.prototype&&typeof i.prototype.render=="function"?u("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",x):u("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",x)),v.getInitialState&&!v.getInitialState.isReactClassApproved&&!v.state&&u("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",x),v.getDefaultProps&&!v.getDefaultProps.isReactClassApproved&&u("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",x),v.propTypes&&u("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",x),v.contextType&&u("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",x),v.contextTypes&&u("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",x),i.contextType&&i.contextTypes&&!R_.has(i)&&(R_.add(i),u("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",x)),typeof v.componentShouldUpdate=="function"&&u("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",x),i.prototype&&i.prototype.isPureReactComponent&&typeof v.shouldComponentUpdate<"u"&&u("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",on(i)||"A pure component"),typeof v.componentDidUnmount=="function"&&u("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",x),typeof v.componentDidReceiveProps=="function"&&u("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",x),typeof v.componentWillRecieveProps=="function"&&u("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",x),typeof v.UNSAFE_componentWillRecieveProps=="function"&&u("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",x);var M=v.props!==d;v.props!==void 0&&M&&u("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",x,x),v.defaultProps&&u("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",x,x),typeof v.getSnapshotBeforeUpdate=="function"&&typeof v.componentDidUpdate!="function"&&!x_.has(i)&&(x_.add(i),u("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",on(i))),typeof v.getDerivedStateFromProps=="function"&&u("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",x),typeof v.getDerivedStateFromError=="function"&&u("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",x),typeof i.getSnapshotBeforeUpdate=="function"&&u("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",x);var W=v.state;W&&(typeof W!="object"||Pae(W))&&u("%s.state: must be set to an object or null",x),typeof v.getChildContext=="function"&&typeof i.childContextTypes!="object"&&u("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",x)}}function nF(r,i){i.updater=T_,r.stateNode=i,Ku(i,r),i._reactInternalInstance=g_}function rF(r,i,d){var v=!1,x=ll,E=ll,M=i.contextType;if("contextType"in i){var W=M===null||M!==void 0&&M.$$typeof===$r&&M._context===void 0;if(!W&&!E_.has(i)){E_.add(i);var Z="";M===void 0?Z=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof M!="object"?Z=" However, it is set to a "+typeof M+".":M.$$typeof===$i?Z=" Did you accidentally pass the Context.Provider instead?":M._context!==void 0?Z=" Did you accidentally pass the Context.Consumer instead?":Z=" However, it is set to an object with keys {"+Object.keys(M).join(", ")+"}.",u("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",on(i)||"Component",Z)}}if(typeof M=="object"&&M!==null)E=Va(M);else{x=lh(r,i,!0);var be=i.contextTypes;v=be!=null,E=v?uh(r,x):ll}if(r.mode&Qi){vo();try{new i(d,E)}finally{bi()}}var Re=new i(d,E),nt=r.memoizedState=Re.state!==null&&Re.state!==void 0?Re.state:null;nF(r,Re);{if(typeof i.getDerivedStateFromProps=="function"&&nt===null){var je=on(i)||"Component";b_.has(je)||(b_.add(je),u("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",je,Re.state===null?"null":"undefined",je))}if(typeof i.getDerivedStateFromProps=="function"||typeof Re.getSnapshotBeforeUpdate=="function"){var st=null,It=null,hn=null;if(typeof Re.componentWillMount=="function"&&Re.componentWillMount.__suppressDeprecationWarning!==!0?st="componentWillMount":typeof Re.UNSAFE_componentWillMount=="function"&&(st="UNSAFE_componentWillMount"),typeof Re.componentWillReceiveProps=="function"&&Re.componentWillReceiveProps.__suppressDeprecationWarning!==!0?It="componentWillReceiveProps":typeof Re.UNSAFE_componentWillReceiveProps=="function"&&(It="UNSAFE_componentWillReceiveProps"),typeof Re.componentWillUpdate=="function"&&Re.componentWillUpdate.__suppressDeprecationWarning!==!0?hn="componentWillUpdate":typeof Re.UNSAFE_componentWillUpdate=="function"&&(hn="UNSAFE_componentWillUpdate"),st!==null||It!==null||hn!==null){var xr=on(i)||"Component",Zr=typeof i.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";S_.has(xr)||(S_.add(xr),u(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
257
|
+
|
|
258
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
259
|
+
|
|
260
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
261
|
+
https://reactjs.org/link/unsafe-component-lifecycles`,xr,Zr,st!==null?`
|
|
262
|
+
`+st:"",It!==null?`
|
|
263
|
+
`+It:"",hn!==null?`
|
|
264
|
+
`+hn:""))}}}return v&&gC(r,x,E),Re}function kae(r,i){var d=i.state;typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),d!==i.state&&(u("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",on(r.type)||"Component"),T_.enqueueReplaceState(i,i.state,null))}function oF(r,i,d,v){var x=i.state;if(typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(d,v),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(d,v),i.state!==x){{var E=on(r.type)||"Component";y_.has(E)||(y_.add(E),u("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",E))}T_.enqueueReplaceState(i,i.state,null)}}function __(r,i,d,v){Dae(r,i,d);var x=r.stateNode;x.props=d,x.state=r.memoizedState,x.refs=ZI,m_(r);var E=i.contextType;if(typeof E=="object"&&E!==null)x.context=Va(E);else{var M=lh(r,i,!0);x.context=uh(r,M)}{if(x.state===d){var W=on(i)||"Component";w_.has(W)||(w_.add(W),u("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",W))}r.mode&Qi&&N.recordLegacyContextWarning(r,x),N.recordUnsafeLifecycleWarnings(r,x)}r0(r,d,x,v),x.state=r.memoizedState;var Z=i.getDerivedStateFromProps;typeof Z=="function"&&(LC(r,i,Z,d),x.state=r.memoizedState),typeof i.getDerivedStateFromProps!="function"&&typeof x.getSnapshotBeforeUpdate!="function"&&(typeof x.UNSAFE_componentWillMount=="function"||typeof x.componentWillMount=="function")&&(kae(r,x),r0(r,d,x,v),x.state=r.memoizedState),typeof x.componentDidMount=="function"&&(r.flags|=Rr)}function Nae(r,i,d,v){var x=r.stateNode,E=r.memoizedProps;x.props=E;var M=x.context,W=i.contextType,Z=ll;if(typeof W=="object"&&W!==null)Z=Va(W);else{var be=lh(r,i,!0);Z=uh(r,be)}var Re=i.getDerivedStateFromProps,nt=typeof Re=="function"||typeof x.getSnapshotBeforeUpdate=="function";!nt&&(typeof x.UNSAFE_componentWillReceiveProps=="function"||typeof x.componentWillReceiveProps=="function")&&(E!==d||M!==Z)&&oF(r,x,d,Z),XI();var je=r.memoizedState,st=x.state=je;if(r0(r,d,x,v),st=r.memoizedState,E===d&&je===st&&!Ug()&&!FC())return typeof x.componentDidMount=="function"&&(r.flags|=Rr),!1;typeof Re=="function"&&(LC(r,i,Re,d),st=r.memoizedState);var It=FC()||tF(r,i,E,d,je,st,Z);return It?(!nt&&(typeof x.UNSAFE_componentWillMount=="function"||typeof x.componentWillMount=="function")&&(typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount()),typeof x.componentDidMount=="function"&&(r.flags|=Rr)):(typeof x.componentDidMount=="function"&&(r.flags|=Rr),r.memoizedProps=d,r.memoizedState=st),x.props=d,x.state=st,x.context=Z,It}function Mae(r,i,d,v,x){var E=i.stateNode;YI(r,i);var M=i.memoizedProps,W=i.type===i.elementType?M:_r(i.type,M);E.props=W;var Z=i.pendingProps,be=E.context,Re=d.contextType,nt=ll;if(typeof Re=="object"&&Re!==null)nt=Va(Re);else{var je=lh(i,d,!0);nt=uh(i,je)}var st=d.getDerivedStateFromProps,It=typeof st=="function"||typeof E.getSnapshotBeforeUpdate=="function";!It&&(typeof E.UNSAFE_componentWillReceiveProps=="function"||typeof E.componentWillReceiveProps=="function")&&(M!==Z||be!==nt)&&oF(i,E,v,nt),XI();var hn=i.memoizedState,xr=E.state=hn;if(r0(i,v,E,x),xr=i.memoizedState,M===Z&&hn===xr&&!Ug()&&!FC())return typeof E.componentDidUpdate=="function"&&(M!==r.memoizedProps||hn!==r.memoizedState)&&(i.flags|=Rr),typeof E.getSnapshotBeforeUpdate=="function"&&(M!==r.memoizedProps||hn!==r.memoizedState)&&(i.flags|=bs),!1;typeof st=="function"&&(LC(i,d,st,v),xr=i.memoizedState);var Zr=FC()||tF(i,d,W,v,hn,xr,nt);return Zr?(!It&&(typeof E.UNSAFE_componentWillUpdate=="function"||typeof E.componentWillUpdate=="function")&&(typeof E.componentWillUpdate=="function"&&E.componentWillUpdate(v,xr,nt),typeof E.UNSAFE_componentWillUpdate=="function"&&E.UNSAFE_componentWillUpdate(v,xr,nt)),typeof E.componentDidUpdate=="function"&&(i.flags|=Rr),typeof E.getSnapshotBeforeUpdate=="function"&&(i.flags|=bs)):(typeof E.componentDidUpdate=="function"&&(M!==r.memoizedProps||hn!==r.memoizedState)&&(i.flags|=Rr),typeof E.getSnapshotBeforeUpdate=="function"&&(M!==r.memoizedProps||hn!==r.memoizedState)&&(i.flags|=bs),i.memoizedProps=v,i.memoizedState=xr),E.props=v,E.state=xr,E.context=nt,Zr}var O_,P_,D_,k_,N_,iF=function(r,i){};O_=!1,P_=!1,D_={},k_={},N_={},iF=function(r,i){if(!(r===null||typeof r!="object")&&!(!r._store||r._store.validated||r.key!=null)){if(typeof r._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");r._store.validated=!0;var d=on(i.type)||"Component";k_[d]||(k_[d]=!0,u('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};var BC=Array.isArray;function o0(r,i,d){var v=d.ref;if(v!==null&&typeof v!="function"&&typeof v!="object"){if((r.mode&Qi||Ce)&&!(d._owner&&d._self&&d._owner.stateNode!==d._self)){var x=on(r.type)||"Component";D_[x]||(u('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',v),D_[x]=!0)}if(d._owner){var E=d._owner,M;if(E){var W=E;if(W.tag!==y)throw Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");M=W.stateNode}if(!M)throw Error("Missing owner for string ref "+v+". This error is likely caused by a bug in React. Please file an issue.");var Z=""+v;if(i!==null&&i.ref!==null&&typeof i.ref=="function"&&i.ref._stringRef===Z)return i.ref;var be=function(Re){var nt=M.refs;nt===ZI&&(nt=M.refs={}),Re===null?delete nt[Z]:nt[Z]=Re};return be._stringRef=Z,be}else{if(typeof v!="string")throw Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!d._owner)throw Error("Element ref was specified as a string ("+v+`) but no owner was set. This could happen for one of the following reasons:
|
|
265
|
+
1. You may be adding a ref to a function component
|
|
266
|
+
2. You may be adding a ref to a component that was not created inside a component's render method
|
|
267
|
+
3. You have multiple copies of React loaded
|
|
268
|
+
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return v}function VC(r,i){if(r.type!=="textarea")throw Error("Objects are not valid as a React child (found: "+(Object.prototype.toString.call(i)==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":i)+"). If you meant to render a collection of children, use an array instead.")}function zC(r){{var i=on(r.type)||"Component";if(N_[i])return;N_[i]=!0,u("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function aF(r){function i(at,bt){if(r){var Ke=at.lastEffect;Ke!==null?(Ke.nextEffect=bt,at.lastEffect=bt):at.firstEffect=at.lastEffect=bt,bt.nextEffect=null,bt.flags=zo}}function d(at,bt){if(!r)return null;for(var Ke=bt;Ke!==null;)i(at,Ke),Ke=Ke.sibling;return null}function v(at,bt){for(var Ke=new Map,qt=bt;qt!==null;)qt.key!==null?Ke.set(qt.key,qt):Ke.set(qt.index,qt),qt=qt.sibling;return Ke}function x(at,bt){var Ke=Jv(at,bt);return Ke.index=0,Ke.sibling=null,Ke}function E(at,bt,Ke){if(at.index=Ke,!r)return bt;var qt=at.alternate;if(qt!==null){var Rn=qt.index;return Rn<bt?(at.flags=Ir,bt):Rn}else return at.flags=Ir,bt}function M(at){return r&&at.alternate===null&&(at.flags=Ir),at}function W(at,bt,Ke,qt){if(bt===null||bt.tag!==D){var Rn=aP(Ke,at.mode,qt);return Rn.return=at,Rn}else{var zn=x(bt,Ke);return zn.return=at,zn}}function Z(at,bt,Ke,qt){if(bt!==null&&(bt.elementType===Ke.type||B2(bt,Ke))){var Rn=x(bt,Ke.props);return Rn.ref=o0(at,bt,Ke),Rn.return=at,Rn._debugSource=Ke._source,Rn._debugOwner=Ke._owner,Rn}var zn=oP(Ke,at.mode,qt);return zn.ref=o0(at,bt,Ke),zn.return=at,zn}function be(at,bt,Ke,qt){if(bt===null||bt.tag!==O||bt.stateNode.containerInfo!==Ke.containerInfo||bt.stateNode.implementation!==Ke.implementation){var Rn=sP(Ke,at.mode,qt);return Rn.return=at,Rn}else{var zn=x(bt,Ke.children||[]);return zn.return=at,zn}}function Re(at,bt,Ke,qt,Rn){if(bt===null||bt.tag!==I){var zn=em(Ke,at.mode,qt,Rn);return zn.return=at,zn}else{var go=x(bt,Ke);return go.return=at,go}}function nt(at,bt,Ke){if(typeof bt=="string"||typeof bt=="number"){var qt=aP(""+bt,at.mode,Ke);return qt.return=at,qt}if(typeof bt=="object"&&bt!==null){switch(bt.$$typeof){case lo:{var Rn=oP(bt,at.mode,Ke);return Rn.ref=o0(at,null,bt),Rn.return=at,Rn}case oo:{var zn=sP(bt,at.mode,Ke);return zn.return=at,zn}}if(BC(bt)||io(bt)){var go=em(bt,at.mode,Ke,null);return go.return=at,go}VC(at,bt)}return typeof bt=="function"&&zC(at),null}function je(at,bt,Ke,qt){var Rn=bt!==null?bt.key:null;if(typeof Ke=="string"||typeof Ke=="number")return Rn!==null?null:W(at,bt,""+Ke,qt);if(typeof Ke=="object"&&Ke!==null){switch(Ke.$$typeof){case lo:return Ke.key===Rn?Ke.type===No?Re(at,bt,Ke.props.children,qt,Rn):Z(at,bt,Ke,qt):null;case oo:return Ke.key===Rn?be(at,bt,Ke,qt):null}if(BC(Ke)||io(Ke))return Rn!==null?null:Re(at,bt,Ke,qt,null);VC(at,Ke)}return typeof Ke=="function"&&zC(at),null}function st(at,bt,Ke,qt,Rn){if(typeof qt=="string"||typeof qt=="number"){var zn=at.get(Ke)||null;return W(bt,zn,""+qt,Rn)}if(typeof qt=="object"&&qt!==null){switch(qt.$$typeof){case lo:{var go=at.get(qt.key===null?Ke:qt.key)||null;return qt.type===No?Re(bt,go,qt.props.children,Rn,qt.key):Z(bt,go,qt,Rn)}case oo:{var Ni=at.get(qt.key===null?Ke:qt.key)||null;return be(bt,Ni,qt,Rn)}}if(BC(qt)||io(qt)){var Zi=at.get(Ke)||null;return Re(bt,Zi,qt,Rn,null)}VC(bt,qt)}return typeof qt=="function"&&zC(bt),null}function It(at,bt,Ke){{if(typeof at!="object"||at===null)return bt;switch(at.$$typeof){case lo:case oo:iF(at,Ke);var qt=at.key;if(typeof qt!="string")break;if(bt===null){bt=new Set,bt.add(qt);break}if(!bt.has(qt)){bt.add(qt);break}u("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",qt);break}}return bt}function hn(at,bt,Ke,qt){for(var Rn=null,zn=0;zn<Ke.length;zn++){var go=Ke[zn];Rn=It(go,Rn,at)}for(var Ni=null,Zi=null,Qo=bt,za=0,Fo=0,Ji=null;Qo!==null&&Fo<Ke.length;Fo++){Qo.index>Fo?(Ji=Qo,Qo=null):Ji=Qo.sibling;var hs=je(at,Qo,Ke[Fo],qt);if(hs===null){Qo===null&&(Qo=Ji);break}r&&Qo&&hs.alternate===null&&i(at,Qo),za=E(hs,za,Fo),Zi===null?Ni=hs:Zi.sibling=hs,Zi=hs,Qo=Ji}if(Fo===Ke.length)return d(at,Qo),Ni;if(Qo===null){for(;Fo<Ke.length;Fo++){var Oa=nt(at,Ke[Fo],qt);Oa!==null&&(za=E(Oa,za,Fo),Zi===null?Ni=Oa:Zi.sibling=Oa,Zi=Oa)}return Ni}for(var Qd=v(at,Qo);Fo<Ke.length;Fo++){var Pa=st(Qd,at,Fo,Ke[Fo],qt);Pa!==null&&(r&&Pa.alternate!==null&&Qd.delete(Pa.key===null?Fo:Pa.key),za=E(Pa,za,Fo),Zi===null?Ni=Pa:Zi.sibling=Pa,Zi=Pa)}return r&&Qd.forEach(function(Zd){return i(at,Zd)}),Ni}function xr(at,bt,Ke,qt){var Rn=io(Ke);if(typeof Rn!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");{typeof Symbol=="function"&&Ke[Symbol.toStringTag]==="Generator"&&(P_||u("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),P_=!0),Ke.entries===Rn&&(O_||u("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),O_=!0);var zn=Rn.call(Ke);if(zn)for(var go=null,Ni=zn.next();!Ni.done;Ni=zn.next()){var Zi=Ni.value;go=It(Zi,go,at)}}var Qo=Rn.call(Ke);if(Qo==null)throw Error("An iterable object provided no iterator.");for(var za=null,Fo=null,Ji=bt,hs=0,Oa=0,Qd=null,Pa=Qo.next();Ji!==null&&!Pa.done;Oa++,Pa=Qo.next()){Ji.index>Oa?(Qd=Ji,Ji=null):Qd=Ji.sibling;var Zd=je(at,Ji,Pa.value,qt);if(Zd===null){Ji===null&&(Ji=Qd);break}r&&Ji&&Zd.alternate===null&&i(at,Ji),hs=E(Zd,hs,Oa),Fo===null?za=Zd:Fo.sibling=Zd,Fo=Zd,Ji=Qd}if(Pa.done)return d(at,Ji),za;if(Ji===null){for(;!Pa.done;Oa++,Pa=Qo.next()){var tm=nt(at,Pa.value,qt);tm!==null&&(hs=E(tm,hs,Oa),Fo===null?za=tm:Fo.sibling=tm,Fo=tm)}return za}for(var hP=v(at,Ji);!Pa.done;Oa++,Pa=Qo.next()){var Sh=st(hP,at,Oa,Pa.value,qt);Sh!==null&&(r&&Sh.alternate!==null&&hP.delete(Sh.key===null?Oa:Sh.key),hs=E(Sh,hs,Oa),Fo===null?za=Sh:Fo.sibling=Sh,Fo=Sh)}return r&&hP.forEach(function(Nue){return i(at,Nue)}),za}function Zr(at,bt,Ke,qt){if(bt!==null&&bt.tag===D){d(at,bt.sibling);var Rn=x(bt,Ke);return Rn.return=at,Rn}d(at,bt);var zn=aP(Ke,at.mode,qt);return zn.return=at,zn}function Ar(at,bt,Ke,qt){for(var Rn=Ke.key,zn=bt;zn!==null;){if(zn.key===Rn){switch(zn.tag){case I:{if(Ke.type===No){d(at,zn.sibling);var go=x(zn,Ke.props.children);return go.return=at,go._debugSource=Ke._source,go._debugOwner=Ke._owner,go}break}case de:default:{if(zn.elementType===Ke.type||B2(zn,Ke)){d(at,zn.sibling);var Ni=x(zn,Ke.props);return Ni.ref=o0(at,zn,Ke),Ni.return=at,Ni._debugSource=Ke._source,Ni._debugOwner=Ke._owner,Ni}break}}d(at,zn);break}else i(at,zn);zn=zn.sibling}if(Ke.type===No){var Zi=em(Ke.props.children,at.mode,qt,Ke.key);return Zi.return=at,Zi}else{var Qo=oP(Ke,at.mode,qt);return Qo.ref=o0(at,bt,Ke),Qo.return=at,Qo}}function To(at,bt,Ke,qt){for(var Rn=Ke.key,zn=bt;zn!==null;){if(zn.key===Rn)if(zn.tag===O&&zn.stateNode.containerInfo===Ke.containerInfo&&zn.stateNode.implementation===Ke.implementation){d(at,zn.sibling);var go=x(zn,Ke.children||[]);return go.return=at,go}else{d(at,zn);break}else i(at,zn);zn=zn.sibling}var Ni=sP(Ke,at.mode,qt);return Ni.return=at,Ni}function ii(at,bt,Ke,qt){var Rn=typeof Ke=="object"&&Ke!==null&&Ke.type===No&&Ke.key===null;Rn&&(Ke=Ke.props.children);var zn=typeof Ke=="object"&&Ke!==null;if(zn)switch(Ke.$$typeof){case lo:return M(Ar(at,bt,Ke,qt));case oo:return M(To(at,bt,Ke,qt))}if(typeof Ke=="string"||typeof Ke=="number")return M(Zr(at,bt,""+Ke,qt));if(BC(Ke))return hn(at,bt,Ke,qt);if(io(Ke))return xr(at,bt,Ke,qt);if(zn&&VC(at,Ke),typeof Ke=="function"&&zC(at),typeof Ke>"u"&&!Rn)switch(at.tag){case y:{var go=at.stateNode;if(go.render._isMockFunction)break}case de:case b:case L:case te:throw Error((on(at.type)||"Component")+"(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.")}return d(at,bt)}return ii}var UC=aF(!0),sF=aF(!1);function Aae(r,i){if(!(r===null||i.child===r.child))throw Error("Resuming work not yet implemented.");if(i.child!==null){var d=i.child,v=Jv(d,d.pendingProps);for(i.child=v,v.return=i;d.sibling!==null;)d=d.sibling,v=v.sibling=Jv(d,d.pendingProps),v.return=i;v.sibling=null}}function $ae(r,i){for(var d=r.child;d!==null;)Yle(d,i),d=d.sibling}var i0={},vh=Ud(i0),a0=Ud(i0),WC=Ud(i0);function HC(r){if(r===i0)throw Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return r}function lF(){var r=HC(WC.current);return r}function M_(r,i){ls(WC,i,r),ls(a0,r,r),ls(vh,i0,r);var d=OT(i);ss(vh,r),ls(vh,d,r)}function Qg(r){ss(vh,r),ss(a0,r),ss(WC,r)}function A_(){var r=HC(vh.current);return r}function uF(r){HC(WC.current);var i=HC(vh.current),d=PT(i,r.type);i!==d&&(ls(a0,r,r),ls(vh,d,r))}function $_(r){a0.current===r&&(ss(vh,r),ss(a0,r))}var Iae=0,cF=1,I_=1,s0=2,dd=Ud(Iae);function GC(r,i){return(r&i)!==0}function l0(r){return r&cF}function F_(r,i){return r&cF|i}function Fae(r,i){return r|i}function Uv(r,i){ls(dd,i,r)}function Zg(r){ss(dd,r)}function jae(r,i){var d=r.memoizedState;if(d!==null)return d.dehydrated!==null;var v=r.memoizedProps;return v.fallback===void 0?!1:v.unstable_avoidThisFallback!==!0?!0:!i}function qC(r){for(var i=r;i!==null;){if(i.tag===A){var d=i.memoizedState;if(d!==null){var v=d.dehydrated;if(v===null||BT(v)||VT(v))return i}}else if(i.tag===xe&&i.memoizedProps.revealOrder!==void 0){var x=(i.flags&ne)!==$o;if(x)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===r)return null;for(;i.sibling===null;){if(i.return===null||i.return===r)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}var j_=0,Jg=1,ey=2,u0=4,Rc=null,Wv=null,mh=!1;function Lae(r){var i=r.stateNode.containerInfo;return Wv=sC(i),Rc=r,mh=!0,!0}function dF(r,i){switch(r.tag){case w:Hb(r.stateNode.containerInfo,i);break;case P:YT(r.type,r.memoizedProps,r.stateNode,i);break}var d=eue();d.stateNode=i,d.return=r,d.flags=zo,r.lastEffect!==null?(r.lastEffect.nextEffect=d,r.lastEffect=d):r.firstEffect=r.lastEffect=d}function fF(r,i){switch(i.flags=i.flags&~$s|Ir,r.tag){case w:{var d=r.stateNode.containerInfo;switch(i.tag){case P:var v=i.type;i.pendingProps,KT(d,v);break;case D:var x=i.pendingProps;XT(d,x);break}break}case P:{var E=r.type,M=r.memoizedProps,W=r.stateNode;switch(i.tag){case P:var Z=i.type;i.pendingProps,Ba(E,M,W,Z);break;case D:var be=i.pendingProps;zs(E,M,W,be);break;case A:QT(E,M);break}break}default:return}}function pF(r,i){switch(r.tag){case P:{var d=r.type;r.pendingProps;var v=jT(i,d);return v!==null?(r.stateNode=v,!0):!1}case D:{var x=r.pendingProps,E=LT(i,x);return E!==null?(r.stateNode=E,!0):!1}case A:return!1;default:return!1}}function L_(r){if(mh){var i=Wv;if(!i){fF(Rc,r),mh=!1,Rc=r;return}var d=i;if(!pF(r,i)){if(i=jg(d),!i||!pF(r,i)){fF(Rc,r),mh=!1,Rc=r;return}dF(Rc,d)}Rc=r,Wv=sC(i)}}function Bae(r,i,d){var v=r.stateNode,x=zT(v,r.type,r.memoizedProps,i,d,r);return r.updateQueue=x,x!==null}function Vae(r){var i=r.stateNode,d=r.memoizedProps,v=UT(i,d,r);if(v){var x=Rc;if(x!==null)switch(x.tag){case w:{var E=x.stateNode.containerInfo;Wb(E,i,d);break}case P:{var M=x.type,W=x.memoizedProps,Z=x.stateNode;qT(M,W,Z,i,d);break}}}return v}function zae(r){var i=r.memoizedState,d=i!==null?i.dehydrated:null;if(!d)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return WT(d)}function hF(r){for(var i=r.return;i!==null&&i.tag!==P&&i.tag!==w&&i.tag!==A;)i=i.return;Rc=i}function YC(r){if(r!==Rc)return!1;if(!mh)return hF(r),mh=!0,!1;var i=r.type;if(r.tag!==P||i!=="head"&&i!=="body"&&!Ig(i,r.memoizedProps))for(var d=Wv;d;)dF(r,d),d=jg(d);return hF(r),r.tag===A?Wv=zae(r):Wv=Rc?jg(r.stateNode):null,!0}function B_(){Rc=null,Wv=null,mh=!1}function V_(){return mh}var c0=[],z_;z_={};function Uae(r){c0.push(r)}function U_(){for(var r=0;r<c0.length;r++){var i=c0[r];i._workInProgressVersionPrimary=null}c0.length=0}function Wae(r){return r._workInProgressVersionPrimary}function vF(r,i){r._workInProgressVersionPrimary=i,c0.push(r)}function Hae(r){r._currentPrimaryRenderer==null?r._currentPrimaryRenderer=z_:r._currentPrimaryRenderer!==z_&&u("Detected multiple renderers concurrently rendering the same mutable source. This is currently unsupported.")}var _n=s.ReactCurrentDispatcher,Ec=s.ReactCurrentBatchConfig,W_,H_;H_={},W_=new Set;var d0=Pt,gi=null,Hs=null,ps=null,KC=!1,f0=!1,Gae=25,Lt=null,Tc=null,gh=-1,G_=!1;function oi(){{var r=Lt;Tc===null?Tc=[r]:Tc.push(r)}}function kn(){{var r=Lt;Tc!==null&&(gh++,Tc[gh]!==r&&qae(r))}}function p0(r){r!=null&&!Array.isArray(r)&&u("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",Lt,typeof r)}function qae(r){{var i=on(gi.type);if(!W_.has(i)&&(W_.add(i),Tc!==null)){for(var d="",v=30,x=0;x<=gh;x++){for(var E=Tc[x],M=x===gh?r:E,W=x+1+". "+E;W.length<v;)W+=" ";W+=M+`
|
|
269
|
+
`,d+=W}u(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
|
|
270
|
+
|
|
271
|
+
Previous render Next render
|
|
272
|
+
------------------------------------------------------
|
|
273
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
274
|
+
`,i,d)}}}function Ul(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
275
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
276
|
+
2. You might be breaking the Rules of Hooks
|
|
277
|
+
3. You might have more than one copy of React in the same app
|
|
278
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function q_(r,i){if(G_)return!1;if(i===null)return u("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Lt),!1;r.length!==i.length&&u(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
279
|
+
|
|
280
|
+
Previous: %s
|
|
281
|
+
Incoming: %s`,Lt,"["+i.join(", ")+"]","["+r.join(", ")+"]");for(var d=0;d<i.length&&d<r.length;d++)if(!f(r[d],i[d]))return!1;return!0}function ty(r,i,d,v,x,E){d0=E,gi=i,Tc=r!==null?r._debugHookTypes:null,gh=-1,G_=r!==null&&r.type!==i.type,i.memoizedState=null,i.updateQueue=null,i.lanes=Pt,r!==null&&r.memoizedState!==null?_n.current=DF:Tc!==null?_n.current=PF:_n.current=OF;var M=d(v,x);if(f0){var W=0;do{if(f0=!1,!(W<Gae))throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");W+=1,G_=!1,Hs=null,ps=null,i.updateQueue=null,gh=-1,_n.current=kF,M=d(v,x)}while(f0)}_n.current=sw,i._debugHookTypes=Tc;var Z=Hs!==null&&Hs.next!==null;if(d0=Pt,gi=null,Hs=null,ps=null,Lt=null,Tc=null,gh=-1,KC=!1,Z)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return M}function mF(r,i,d){i.updateQueue=r.updateQueue,i.flags&=~(Ra|Rr),r.lanes=Ad(r.lanes,d)}function gF(){if(_n.current=sw,KC){for(var r=gi.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}KC=!1}d0=Pt,gi=null,Hs=null,ps=null,Tc=null,gh=-1,Lt=null,aw=!1,f0=!1}function Hv(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ps===null?gi.memoizedState=ps=r:ps=ps.next=r,ps}function Gv(){var r;if(Hs===null){var i=gi.alternate;i!==null?r=i.memoizedState:r=null}else r=Hs.next;var d;if(ps===null?d=gi.memoizedState:d=ps.next,d!==null)ps=d,d=ps.next,Hs=r;else{if(r===null)throw Error("Rendered more hooks than during the previous render.");Hs=r;var v={memoizedState:Hs.memoizedState,baseState:Hs.baseState,baseQueue:Hs.baseQueue,queue:Hs.queue,next:null};ps===null?gi.memoizedState=ps=v:ps=ps.next=v}return ps}function Yae(){return{lastEffect:null}}function XC(r,i){return typeof i=="function"?i(r):i}function Y_(r,i,d){var v=Hv(),x;d!==void 0?x=d(i):x=i,v.memoizedState=v.baseState=x;var E=v.queue={pending:null,dispatch:null,lastRenderedReducer:r,lastRenderedState:x},M=E.dispatch=sO.bind(null,gi,E);return[v.memoizedState,M]}function K_(r,i,d){var v=Gv(),x=v.queue;if(x===null)throw Error("Should have a queue. This is likely a bug in React. Please file an issue.");x.lastRenderedReducer=r;var E=Hs,M=E.baseQueue,W=x.pending;if(W!==null){if(M!==null){var Z=M.next,be=W.next;M.next=be,W.next=Z}E.baseQueue!==M&&u("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),E.baseQueue=M=W,x.pending=null}if(M!==null){var Re=M.next,nt=E.baseState,je=null,st=null,It=null,hn=Re;do{var xr=hn.lane;if(Ta(d0,xr)){if(It!==null){var Ar={lane:Ti,action:hn.action,eagerReducer:hn.eagerReducer,eagerState:hn.eagerState,next:null};It=It.next=Ar}if(hn.eagerReducer===r)nt=hn.eagerState;else{var To=hn.action;nt=r(nt,To)}}else{var Zr={lane:xr,action:hn.action,eagerReducer:hn.eagerReducer,eagerState:hn.eagerState,next:null};It===null?(st=It=Zr,je=nt):It=It.next=Zr,gi.lanes=bo(gi.lanes,xr),GO(xr)}hn=hn.next}while(hn!==null&&hn!==Re);It===null?je=nt:It.next=st,f(nt,v.memoizedState)||SO(),v.memoizedState=nt,v.baseState=je,v.baseQueue=It,x.lastRenderedState=nt}var ii=x.dispatch;return[v.memoizedState,ii]}function X_(r,i,d){var v=Gv(),x=v.queue;if(x===null)throw Error("Should have a queue. This is likely a bug in React. Please file an issue.");x.lastRenderedReducer=r;var E=x.dispatch,M=x.pending,W=v.memoizedState;if(M!==null){x.pending=null;var Z=M.next,be=Z;do{var Re=be.action;W=r(W,Re),be=be.next}while(be!==Z);f(W,v.memoizedState)||SO(),v.memoizedState=W,v.baseQueue===null&&(v.baseState=W),x.lastRenderedState=W}return[W,E]}function yF(r,i,d){Hae(i);var v=i._getVersion,x=v(i._source),E=!1,M=Wae(i);if(M!==null?E=M===x:(E=Ta(d0,r.mutableReadLanes),E&&vF(i,x)),E){var W=d(i._source);return typeof W=="function"&&u("Mutable source should not return a function as the snapshot value. Functions may close over mutable values and cause tearing."),W}else throw Uae(i),Error("Cannot read from mutable source during the current render without tearing. This is a bug in React. Please file an issue.")}function bF(r,i,d,v){var x=Zse();if(x===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");var E=i._getVersion,M=E(i._source),W=_n.current,Z=W.useState(function(){return yF(x,i,d)}),be=Z[0],Re=Z[1],nt=be,je=ps,st=r.memoizedState,It=st.refs,hn=It.getSnapshot,xr=st.source,Zr=st.subscribe,Ar=gi;if(r.memoizedState={refs:It,source:i,subscribe:v},W.useEffect(function(){It.getSnapshot=d,It.setSnapshot=Re;var ii=E(i._source);if(!f(M,ii)){var at=d(i._source);if(typeof at=="function"&&u("Mutable source should not return a function as the snapshot value. Functions may close over mutable values and cause tearing."),!f(nt,at)){Re(at);var bt=yh(Ar);gg(x,bt)}Bp(x,x.mutableReadLanes)}},[d,i,v]),W.useEffect(function(){var ii=function(){var bt=It.getSnapshot,Ke=It.setSnapshot;try{Ke(bt(i._source));var qt=yh(Ar);gg(x,qt)}catch(Rn){Ke(function(){throw Rn})}},at=v(i._source,ii);return typeof at!="function"&&u("Mutable source subscribe function must return an unsubscribe function."),at},[i,v]),!f(hn,d)||!f(xr,i)||!f(Zr,v)){var To={pending:null,dispatch:null,lastRenderedReducer:XC,lastRenderedState:nt};To.dispatch=Re=sO.bind(null,gi,To),je.queue=To,je.baseQueue=null,nt=yF(x,i,d),je.memoizedState=je.baseState=nt}return nt}function Q_(r,i,d){var v=Hv();return v.memoizedState={refs:{getSnapshot:i,setSnapshot:null},source:r,subscribe:d},bF(v,r,i,d)}function QC(r,i,d){var v=Gv();return bF(v,r,i,d)}function qv(r){var i=Hv();typeof r=="function"&&(r=r()),i.memoizedState=i.baseState=r;var d=i.queue={pending:null,dispatch:null,lastRenderedReducer:XC,lastRenderedState:r},v=d.dispatch=sO.bind(null,gi,d);return[i.memoizedState,v]}function h0(r){return K_(XC)}function v0(r){return X_(XC)}function ZC(r,i,d,v){var x={tag:r,create:i,destroy:d,deps:v,next:null},E=gi.updateQueue;if(E===null)E=Yae(),gi.updateQueue=E,E.lastEffect=x.next=x;else{var M=E.lastEffect;if(M===null)E.lastEffect=x.next=x;else{var W=M.next;M.next=x,x.next=W,E.lastEffect=x}}return x}function JC(r){var i=Hv(),d={current:r};return Object.seal(d),i.memoizedState=d,d}function ny(r){var i=Gv();return i.memoizedState}function Z_(r,i,d,v){var x=Hv(),E=v===void 0?null:v;gi.flags|=r,x.memoizedState=ZC(Jg|i,d,void 0,E)}function J_(r,i,d,v){var x=Gv(),E=v===void 0?null:v,M=void 0;if(Hs!==null){var W=Hs.memoizedState;if(M=W.destroy,E!==null){var Z=W.deps;if(q_(E,Z)){ZC(i,d,M,E);return}}}gi.flags|=r,x.memoizedState=ZC(Jg|i,d,M,E)}function ew(r,i){return typeof jest<"u"&&A2(gi),Z_(Rr|Ra,u0,r,i)}function ry(r,i){return typeof jest<"u"&&A2(gi),J_(Rr|Ra,u0,r,i)}function eO(r,i){return Z_(Rr,ey,r,i)}function tw(r,i){return J_(Rr,ey,r,i)}function xF(r,i){if(typeof i=="function"){var d=i,v=r();return d(v),function(){d(null)}}else if(i!=null){var x=i;x.hasOwnProperty("current")||u("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(x).join(", ")+"}");var E=r();return x.current=E,function(){x.current=null}}}function tO(r,i,d){typeof i!="function"&&u("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",i!==null?typeof i:"null");var v=d!=null?d.concat([r]):null;return Z_(Rr,ey,xF.bind(null,i,r),v)}function nw(r,i,d){typeof i!="function"&&u("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",i!==null?typeof i:"null");var v=d!=null?d.concat([r]):null;return J_(Rr,ey,xF.bind(null,i,r),v)}function Kae(r,i){}var rw=Kae;function nO(r,i){var d=Hv(),v=i===void 0?null:i;return d.memoizedState=[r,v],r}function ow(r,i){var d=Gv(),v=i===void 0?null:i,x=d.memoizedState;if(x!==null&&v!==null){var E=x[1];if(q_(v,E))return x[0]}return d.memoizedState=[r,v],r}function rO(r,i){var d=Hv(),v=i===void 0?null:i,x=r();return d.memoizedState=[x,v],x}function iw(r,i){var d=Gv(),v=i===void 0?null:i,x=d.memoizedState;if(x!==null&&v!==null){var E=x[1];if(q_(v,E))return x[0]}var M=r();return d.memoizedState=[M,v],M}function oO(r){var i=qv(r),d=i[0],v=i[1];return ew(function(){var x=Ec.transition;Ec.transition=1;try{v(r)}finally{Ec.transition=x}},[r]),d}function SF(r){var i=h0(),d=i[0],v=i[1];return ry(function(){var x=Ec.transition;Ec.transition=1;try{v(r)}finally{Ec.transition=x}},[r]),d}function CF(r){var i=v0(),d=i[0],v=i[1];return ry(function(){var x=Ec.transition;Ec.transition=1;try{v(r)}finally{Ec.transition=x}},[r]),d}function Xae(r,i){var d=fh();ep(d<Wd?Wd:d,function(){r(!0)}),ep(d>ud?ud:d,function(){var v=Ec.transition;Ec.transition=1;try{r(!1),i()}finally{Ec.transition=v}})}function iO(){var r=qv(!1),i=r[0],d=r[1],v=Xae.bind(null,d);return JC(v),[v,i]}function wF(){var r=h0(),i=r[0],d=ny(),v=d.current;return[v,i]}function RF(){var r=v0(),i=r[0],d=ny(),v=d.current;return[v,i]}var aw=!1;function Qae(){return aw}function EF(r){{var i=on(r.type)||"Unknown";Jl()&&!H_[i]&&(u("The object passed back from useOpaqueIdentifier is meant to be passed through to attributes only. Do not read the value directly."),H_[i]=!0)}}function aO(){var r=JT.bind(null,EF.bind(null,gi));if(V_()){var i=!1,d=gi,v=function(){throw i||(i=!0,aw=!0,E(r()),aw=!1,EF(d)),Error("The object passed back from useOpaqueIdentifier is meant to be passed through to attributes only. Do not read the value directly.")},x=e_(v),E=qv(x)[1];return(gi.mode&Us)===Di&&(gi.flags|=Rr|Ra,ZC(Jg|u0,function(){E(r())},void 0,null)),x}else{var M=r();return qv(M),M}}function TF(){var r=h0()[0];return r}function _F(){var r=v0()[0];return r}function sO(r,i,d){typeof arguments[3]=="function"&&u("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var v=_u(),x=yh(r),E={lane:x,action:d,eagerReducer:null,eagerState:null,next:null},M=i.pending;M===null?E.next=E:(E.next=M.next,M.next=E),i.pending=E;var W=r.alternate;if(r===gi||W!==null&&W===gi)f0=KC=!0;else{if(r.lanes===Pt&&(W===null||W.lanes===Pt)){var Z=i.lastRenderedReducer;if(Z!==null){var be;be=_n.current,_n.current=fd;try{var Re=i.lastRenderedState,nt=Z(Re,d);if(E.eagerReducer=Z,E.eagerState=nt,f(nt,Re))return}catch{}finally{_n.current=be}}}typeof jest<"u"&&(M2(r),Ale(r)),Gs(r,x,v)}}var sw={readContext:Va,useCallback:Ul,useContext:Ul,useEffect:Ul,useImperativeHandle:Ul,useLayoutEffect:Ul,useMemo:Ul,useReducer:Ul,useRef:Ul,useState:Ul,useDebugValue:Ul,useDeferredValue:Ul,useTransition:Ul,useMutableSource:Ul,useOpaqueIdentifier:Ul,unstable_isNewReconciler:ke},OF=null,PF=null,DF=null,kF=null,Gd=null,fd=null,lw=null;{var lO=function(){u("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},ro=function(){u("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};OF={readContext:function(r,i){return Va(r,i)},useCallback:function(r,i){return Lt="useCallback",oi(),p0(i),nO(r,i)},useContext:function(r,i){return Lt="useContext",oi(),Va(r,i)},useEffect:function(r,i){return Lt="useEffect",oi(),p0(i),ew(r,i)},useImperativeHandle:function(r,i,d){return Lt="useImperativeHandle",oi(),p0(d),tO(r,i,d)},useLayoutEffect:function(r,i){return Lt="useLayoutEffect",oi(),p0(i),eO(r,i)},useMemo:function(r,i){Lt="useMemo",oi(),p0(i);var d=_n.current;_n.current=Gd;try{return rO(r,i)}finally{_n.current=d}},useReducer:function(r,i,d){Lt="useReducer",oi();var v=_n.current;_n.current=Gd;try{return Y_(r,i,d)}finally{_n.current=v}},useRef:function(r){return Lt="useRef",oi(),JC(r)},useState:function(r){Lt="useState",oi();var i=_n.current;_n.current=Gd;try{return qv(r)}finally{_n.current=i}},useDebugValue:function(r,i){return Lt="useDebugValue",oi(),void 0},useDeferredValue:function(r){return Lt="useDeferredValue",oi(),oO(r)},useTransition:function(){return Lt="useTransition",oi(),iO()},useMutableSource:function(r,i,d){return Lt="useMutableSource",oi(),Q_(r,i,d)},useOpaqueIdentifier:function(){return Lt="useOpaqueIdentifier",oi(),aO()},unstable_isNewReconciler:ke},PF={readContext:function(r,i){return Va(r,i)},useCallback:function(r,i){return Lt="useCallback",kn(),nO(r,i)},useContext:function(r,i){return Lt="useContext",kn(),Va(r,i)},useEffect:function(r,i){return Lt="useEffect",kn(),ew(r,i)},useImperativeHandle:function(r,i,d){return Lt="useImperativeHandle",kn(),tO(r,i,d)},useLayoutEffect:function(r,i){return Lt="useLayoutEffect",kn(),eO(r,i)},useMemo:function(r,i){Lt="useMemo",kn();var d=_n.current;_n.current=Gd;try{return rO(r,i)}finally{_n.current=d}},useReducer:function(r,i,d){Lt="useReducer",kn();var v=_n.current;_n.current=Gd;try{return Y_(r,i,d)}finally{_n.current=v}},useRef:function(r){return Lt="useRef",kn(),JC(r)},useState:function(r){Lt="useState",kn();var i=_n.current;_n.current=Gd;try{return qv(r)}finally{_n.current=i}},useDebugValue:function(r,i){return Lt="useDebugValue",kn(),void 0},useDeferredValue:function(r){return Lt="useDeferredValue",kn(),oO(r)},useTransition:function(){return Lt="useTransition",kn(),iO()},useMutableSource:function(r,i,d){return Lt="useMutableSource",kn(),Q_(r,i,d)},useOpaqueIdentifier:function(){return Lt="useOpaqueIdentifier",kn(),aO()},unstable_isNewReconciler:ke},DF={readContext:function(r,i){return Va(r,i)},useCallback:function(r,i){return Lt="useCallback",kn(),ow(r,i)},useContext:function(r,i){return Lt="useContext",kn(),Va(r,i)},useEffect:function(r,i){return Lt="useEffect",kn(),ry(r,i)},useImperativeHandle:function(r,i,d){return Lt="useImperativeHandle",kn(),nw(r,i,d)},useLayoutEffect:function(r,i){return Lt="useLayoutEffect",kn(),tw(r,i)},useMemo:function(r,i){Lt="useMemo",kn();var d=_n.current;_n.current=fd;try{return iw(r,i)}finally{_n.current=d}},useReducer:function(r,i,d){Lt="useReducer",kn();var v=_n.current;_n.current=fd;try{return K_(r,i,d)}finally{_n.current=v}},useRef:function(r){return Lt="useRef",kn(),ny()},useState:function(r){Lt="useState",kn();var i=_n.current;_n.current=fd;try{return h0(r)}finally{_n.current=i}},useDebugValue:function(r,i){return Lt="useDebugValue",kn(),rw()},useDeferredValue:function(r){return Lt="useDeferredValue",kn(),SF(r)},useTransition:function(){return Lt="useTransition",kn(),wF()},useMutableSource:function(r,i,d){return Lt="useMutableSource",kn(),QC(r,i,d)},useOpaqueIdentifier:function(){return Lt="useOpaqueIdentifier",kn(),TF()},unstable_isNewReconciler:ke},kF={readContext:function(r,i){return Va(r,i)},useCallback:function(r,i){return Lt="useCallback",kn(),ow(r,i)},useContext:function(r,i){return Lt="useContext",kn(),Va(r,i)},useEffect:function(r,i){return Lt="useEffect",kn(),ry(r,i)},useImperativeHandle:function(r,i,d){return Lt="useImperativeHandle",kn(),nw(r,i,d)},useLayoutEffect:function(r,i){return Lt="useLayoutEffect",kn(),tw(r,i)},useMemo:function(r,i){Lt="useMemo",kn();var d=_n.current;_n.current=lw;try{return iw(r,i)}finally{_n.current=d}},useReducer:function(r,i,d){Lt="useReducer",kn();var v=_n.current;_n.current=lw;try{return X_(r,i,d)}finally{_n.current=v}},useRef:function(r){return Lt="useRef",kn(),ny()},useState:function(r){Lt="useState",kn();var i=_n.current;_n.current=lw;try{return v0(r)}finally{_n.current=i}},useDebugValue:function(r,i){return Lt="useDebugValue",kn(),rw()},useDeferredValue:function(r){return Lt="useDeferredValue",kn(),CF(r)},useTransition:function(){return Lt="useTransition",kn(),RF()},useMutableSource:function(r,i,d){return Lt="useMutableSource",kn(),QC(r,i,d)},useOpaqueIdentifier:function(){return Lt="useOpaqueIdentifier",kn(),_F()},unstable_isNewReconciler:ke},Gd={readContext:function(r,i){return lO(),Va(r,i)},useCallback:function(r,i){return Lt="useCallback",ro(),oi(),nO(r,i)},useContext:function(r,i){return Lt="useContext",ro(),oi(),Va(r,i)},useEffect:function(r,i){return Lt="useEffect",ro(),oi(),ew(r,i)},useImperativeHandle:function(r,i,d){return Lt="useImperativeHandle",ro(),oi(),tO(r,i,d)},useLayoutEffect:function(r,i){return Lt="useLayoutEffect",ro(),oi(),eO(r,i)},useMemo:function(r,i){Lt="useMemo",ro(),oi();var d=_n.current;_n.current=Gd;try{return rO(r,i)}finally{_n.current=d}},useReducer:function(r,i,d){Lt="useReducer",ro(),oi();var v=_n.current;_n.current=Gd;try{return Y_(r,i,d)}finally{_n.current=v}},useRef:function(r){return Lt="useRef",ro(),oi(),JC(r)},useState:function(r){Lt="useState",ro(),oi();var i=_n.current;_n.current=Gd;try{return qv(r)}finally{_n.current=i}},useDebugValue:function(r,i){return Lt="useDebugValue",ro(),oi(),void 0},useDeferredValue:function(r){return Lt="useDeferredValue",ro(),oi(),oO(r)},useTransition:function(){return Lt="useTransition",ro(),oi(),iO()},useMutableSource:function(r,i,d){return Lt="useMutableSource",ro(),oi(),Q_(r,i,d)},useOpaqueIdentifier:function(){return Lt="useOpaqueIdentifier",ro(),oi(),aO()},unstable_isNewReconciler:ke},fd={readContext:function(r,i){return lO(),Va(r,i)},useCallback:function(r,i){return Lt="useCallback",ro(),kn(),ow(r,i)},useContext:function(r,i){return Lt="useContext",ro(),kn(),Va(r,i)},useEffect:function(r,i){return Lt="useEffect",ro(),kn(),ry(r,i)},useImperativeHandle:function(r,i,d){return Lt="useImperativeHandle",ro(),kn(),nw(r,i,d)},useLayoutEffect:function(r,i){return Lt="useLayoutEffect",ro(),kn(),tw(r,i)},useMemo:function(r,i){Lt="useMemo",ro(),kn();var d=_n.current;_n.current=fd;try{return iw(r,i)}finally{_n.current=d}},useReducer:function(r,i,d){Lt="useReducer",ro(),kn();var v=_n.current;_n.current=fd;try{return K_(r,i,d)}finally{_n.current=v}},useRef:function(r){return Lt="useRef",ro(),kn(),ny()},useState:function(r){Lt="useState",ro(),kn();var i=_n.current;_n.current=fd;try{return h0(r)}finally{_n.current=i}},useDebugValue:function(r,i){return Lt="useDebugValue",ro(),kn(),rw()},useDeferredValue:function(r){return Lt="useDeferredValue",ro(),kn(),SF(r)},useTransition:function(){return Lt="useTransition",ro(),kn(),wF()},useMutableSource:function(r,i,d){return Lt="useMutableSource",ro(),kn(),QC(r,i,d)},useOpaqueIdentifier:function(){return Lt="useOpaqueIdentifier",ro(),kn(),TF()},unstable_isNewReconciler:ke},lw={readContext:function(r,i){return lO(),Va(r,i)},useCallback:function(r,i){return Lt="useCallback",ro(),kn(),ow(r,i)},useContext:function(r,i){return Lt="useContext",ro(),kn(),Va(r,i)},useEffect:function(r,i){return Lt="useEffect",ro(),kn(),ry(r,i)},useImperativeHandle:function(r,i,d){return Lt="useImperativeHandle",ro(),kn(),nw(r,i,d)},useLayoutEffect:function(r,i){return Lt="useLayoutEffect",ro(),kn(),tw(r,i)},useMemo:function(r,i){Lt="useMemo",ro(),kn();var d=_n.current;_n.current=fd;try{return iw(r,i)}finally{_n.current=d}},useReducer:function(r,i,d){Lt="useReducer",ro(),kn();var v=_n.current;_n.current=fd;try{return X_(r,i,d)}finally{_n.current=v}},useRef:function(r){return Lt="useRef",ro(),kn(),ny()},useState:function(r){Lt="useState",ro(),kn();var i=_n.current;_n.current=fd;try{return v0(r)}finally{_n.current=i}},useDebugValue:function(r,i){return Lt="useDebugValue",ro(),kn(),rw()},useDeferredValue:function(r){return Lt="useDeferredValue",ro(),kn(),CF(r)},useTransition:function(){return Lt="useTransition",ro(),kn(),RF()},useMutableSource:function(r,i,d){return Lt="useMutableSource",ro(),kn(),QC(r,i,d)},useOpaqueIdentifier:function(){return Lt="useOpaqueIdentifier",ro(),kn(),_F()},unstable_isNewReconciler:ke}}var uw=n.unstable_now,NF=0,m0=-1;function Zae(){return NF}function MF(){NF=uw()}function uO(r){m0=uw(),r.actualStartTime<0&&(r.actualStartTime=uw())}function AF(r){m0=-1}function cw(r,i){if(m0>=0){var d=uw()-m0;r.actualDuration+=d,i&&(r.selfBaseDuration=d),m0=-1}}function cO(r){for(var i=r.child;i;)r.actualDuration+=i.actualDuration,i=i.sibling}var g0=s.ReactCurrentOwner,qd=!1,dO,y0,fO,pO,hO,Yv,vO,dw;dO={},y0={},fO={},pO={},hO={},Yv=!1,vO={},dw={};function Wl(r,i,d,v){r===null?i.child=sF(i,null,d,v):i.child=UC(i,r.child,d,v)}function Jae(r,i,d,v){i.child=UC(i,r.child,null,v),i.child=UC(i,null,d,v)}function $F(r,i,d,v,x){if(i.type!==i.elementType){var E=d.propTypes;E&&Vl(E,v,"prop",on(d))}var M=d.render,W=i.ref,Z;Xg(i,x);{if(g0.current=i,Ii(!0),Z=ty(r,i,M,v,W,x),i.mode&Qi){vo();try{Z=ty(r,i,M,v,W,x)}finally{bi()}}Ii(!1)}return r!==null&&!qd?(mF(r,i,x),np(r,i,x)):(i.flags|=Za,Wl(r,i,Z,x),i.child)}function IF(r,i,d,v,x,E){if(r===null){var M=d.type;if(Gle(M)&&d.compare===null&&d.defaultProps===void 0){var W=M;return W=dy(M),i.tag=te,i.type=W,bO(i,M),FF(r,i,W,v,x,E)}{var Z=M.propTypes;Z&&Vl(Z,v,"prop",on(M))}var be=rP(d.type,null,v,i,i.mode,E);return be.ref=i.ref,be.return=i,i.child=be,be}{var Re=d.type,nt=Re.propTypes;nt&&Vl(nt,v,"prop",on(Re))}var je=r.child;if(!Eo(x,E)){var st=je.memoizedProps,It=d.compare;if(It=It!==null?It:R,It(st,v)&&r.ref===i.ref)return np(r,i,E)}i.flags|=Za;var hn=Jv(je,v);return hn.ref=i.ref,hn.return=i,i.child=hn,hn}function FF(r,i,d,v,x,E){if(i.type!==i.elementType){var M=i.elementType;if(M.$$typeof===wo){var W=M,Z=W._payload,be=W._init;try{M=be(Z)}catch{M=null}var Re=M&&M.propTypes;Re&&Vl(Re,v,"prop",on(M))}}if(r!==null){var nt=r.memoizedProps;if(R(nt,v)&&r.ref===i.ref&&i.type===r.type)if(qd=!1,Eo(E,x))(r.flags&mf)!==$o&&(qd=!0);else return i.lanes=r.lanes,np(r,i,E)}return gO(r,i,d,v,E)}function mO(r,i,d){var v=i.pendingProps,x=v.children,E=r!==null?r.memoizedState:null;if(v.mode==="hidden"||v.mode==="unstable-defer-without-hiding")if((i.mode&tp)===Di){var M={baseLanes:Pt};i.memoizedState=M,_w(i,d)}else if(Eo(d,Fs)){var Re={baseLanes:Pt};i.memoizedState=Re;var nt=E!==null?E.baseLanes:d;_w(i,nt)}else{var W;if(E!==null){var Z=E.baseLanes;W=bo(Z,d)}else W=d;Mw(Fs),i.lanes=i.childLanes=Fs;var be={baseLanes:W};return i.memoizedState=be,_w(i,W),null}else{var je;E!==null?(je=bo(E.baseLanes,d),i.memoizedState=null):je=d,_w(i,je)}return Wl(r,i,x,d),i.child}var ese=mO;function tse(r,i,d){var v=i.pendingProps;return Wl(r,i,v,d),i.child}function nse(r,i,d){var v=i.pendingProps.children;return Wl(r,i,v,d),i.child}function rse(r,i,d){{i.flags|=Rr;var v=i.stateNode;v.effectDuration=0,v.passiveEffectDuration=0}var x=i.pendingProps,E=x.children;return Wl(r,i,E,d),i.child}function jF(r,i){var d=i.ref;(r===null&&d!==null||r!==null&&r.ref!==d)&&(i.flags|=Ri)}function gO(r,i,d,v,x){if(i.type!==i.elementType){var E=d.propTypes;E&&Vl(E,v,"prop",on(d))}var M;{var W=lh(i,d,!0);M=uh(i,W)}var Z;Xg(i,x);{if(g0.current=i,Ii(!0),Z=ty(r,i,d,v,M,x),i.mode&Qi){vo();try{Z=ty(r,i,d,v,M,x)}finally{bi()}}Ii(!1)}return r!==null&&!qd?(mF(r,i,x),np(r,i,x)):(i.flags|=Za,Wl(r,i,Z,x),i.child)}function LF(r,i,d,v,x){if(i.type!==i.elementType){var E=d.propTypes;E&&Vl(E,v,"prop",on(d))}var M;Sc(d)?(M=!0,Hg(i)):M=!1,Xg(i,x);var W=i.stateNode,Z;W===null?(r!==null&&(r.alternate=null,i.alternate=null,i.flags|=Ir),rF(i,d,v),__(i,d,v,x),Z=!0):r===null?Z=Nae(i,d,v,x):Z=Mae(r,i,d,v,x);var be=yO(r,i,d,Z,M,x);{var Re=i.stateNode;Z&&Re.props!==v&&(Yv||u("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",on(i.type)||"a component"),Yv=!0)}return be}function yO(r,i,d,v,x,E){jF(r,i);var M=(i.flags&ne)!==$o;if(!v&&!M)return x&&xC(i,d,!1),np(r,i,E);var W=i.stateNode;g0.current=i;var Z;if(M&&typeof d.getDerivedStateFromError!="function")Z=null,AF();else{if(Ii(!0),Z=W.render(),i.mode&Qi){vo();try{W.render()}finally{bi()}}Ii(!1)}return i.flags|=Za,r!==null&&M?Jae(r,i,Z,E):Wl(r,i,Z,E),i.memoizedState=W.state,x&&xC(i,d,!0),i.child}function BF(r){var i=r.stateNode;i.pendingContext?yC(r,i.pendingContext,i.pendingContext!==i.context):i.context&&yC(r,i.context,!1),M_(r,i.containerInfo)}function ose(r,i,d){BF(i);var v=i.updateQueue;if(!(r!==null&&v!==null))throw Error("If the root does not have an updateQueue, we should have already bailed out. This error is likely caused by a bug in React. Please file an issue.");var x=i.pendingProps,E=i.memoizedState,M=E!==null?E.element:null;YI(r,i),r0(i,x,null,d);var W=i.memoizedState,Z=W.element;if(Z===M)return B_(),np(r,i,d);var be=i.stateNode;if(be.hydrate&&Lae(i)){{var Re=be.mutableSourceEagerHydrationData;if(Re!=null)for(var nt=0;nt<Re.length;nt+=2){var je=Re[nt],st=Re[nt+1];vF(je,st)}}var It=sF(i,null,Z,d);i.child=It;for(var hn=It;hn;)hn.flags=hn.flags&~Ir|$s,hn=hn.sibling}else Wl(r,i,Z,d),B_();return i.child}function ise(r,i,d){uF(i),r===null&&L_(i);var v=i.type,x=i.pendingProps,E=r!==null?r.memoizedProps:null,M=x.children,W=Ig(v,x);return W?M=null:E!==null&&Ig(v,E)&&(i.flags|=ji),jF(r,i),Wl(r,i,M,d),i.child}function ase(r,i){return r===null&&L_(i),null}function sse(r,i,d,v,x){r!==null&&(r.alternate=null,i.alternate=null,i.flags|=Ir);var E=i.pendingProps,M=d,W=M._payload,Z=M._init,be=Z(W);i.type=be;var Re=i.tag=qle(be),nt=_r(be,E),je;switch(Re){case b:return bO(i,be),i.type=be=dy(be),je=gO(null,i,be,nt,x),je;case y:return i.type=be=QO(be),je=LF(null,i,be,nt,x),je;case L:return i.type=be=ZO(be),je=$F(null,i,be,nt,x),je;case Q:{if(i.type!==i.elementType){var st=be.propTypes;st&&Vl(st,nt,"prop",on(be))}return je=IF(null,i,be,_r(be.type,nt),v,x),je}}var It="";throw be!==null&&typeof be=="object"&&be.$$typeof===wo&&(It=" Did you wrap a component in React.lazy() more than once?"),Error("Element type is invalid. Received a promise that resolves to: "+be+". Lazy element type must resolve to a class or function."+It)}function lse(r,i,d,v,x){r!==null&&(r.alternate=null,i.alternate=null,i.flags|=Ir),i.tag=y;var E;return Sc(d)?(E=!0,Hg(i)):E=!1,Xg(i,x),rF(i,d,v),__(i,d,v,x),yO(null,i,d,!0,E,x)}function use(r,i,d,v){r!==null&&(r.alternate=null,i.alternate=null,i.flags|=Ir);var x=i.pendingProps,E;{var M=lh(i,d,!1);E=uh(i,M)}Xg(i,v);var W;{if(d.prototype&&typeof d.prototype.render=="function"){var Z=on(d)||"Unknown";dO[Z]||(u("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",Z,Z),dO[Z]=!0)}i.mode&Qi&&N.recordLegacyContextWarning(i,null),Ii(!0),g0.current=i,W=ty(null,i,d,x,E,v),Ii(!1)}if(i.flags|=Za,typeof W=="object"&&W!==null&&typeof W.render=="function"&&W.$$typeof===void 0){var be=on(d)||"Unknown";y0[be]||(u("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",be,be,be),y0[be]=!0)}if(typeof W=="object"&&W!==null&&typeof W.render=="function"&&W.$$typeof===void 0){{var Re=on(d)||"Unknown";y0[Re]||(u("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",Re,Re,Re),y0[Re]=!0)}i.tag=y,i.memoizedState=null,i.updateQueue=null;var nt=!1;Sc(d)?(nt=!0,Hg(i)):nt=!1,i.memoizedState=W.state!==null&&W.state!==void 0?W.state:null,m_(i);var je=d.getDerivedStateFromProps;return typeof je=="function"&&LC(i,d,je,x),nF(i,W),__(i,d,x,v),yO(null,i,d,!0,nt,v)}else{if(i.tag=b,i.mode&Qi){vo();try{W=ty(null,i,d,x,E,v)}finally{bi()}}return Wl(null,i,W,v),bO(i,d),i.child}}function bO(r,i){{if(i&&i.childContextTypes&&u("%s(...): childContextTypes cannot be defined on a function component.",i.displayName||i.name||"Component"),r.ref!==null){var d="",v=qa();v&&(d+=`
|
|
282
|
+
|
|
283
|
+
Check the render method of \``+v+"`.");var x=v||r._debugID||"",E=r._debugSource;E&&(x=E.fileName+":"+E.lineNumber),hO[x]||(hO[x]=!0,u("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",d))}if(typeof i.getDerivedStateFromProps=="function"){var M=on(i)||"Unknown";pO[M]||(u("%s: Function components do not support getDerivedStateFromProps.",M),pO[M]=!0)}if(typeof i.contextType=="object"&&i.contextType!==null){var W=on(i)||"Unknown";fO[W]||(u("%s: Function components do not support contextType.",W),fO[W]=!0)}}}var fw={dehydrated:null,retryLane:Ti};function pw(r){return{baseLanes:r}}function VF(r,i){return{baseLanes:bo(r.baseLanes,i)}}function cse(r,i,d,v){if(i!==null){var x=i.memoizedState;if(x===null)return!1}return GC(r,s0)}function zF(r,i){return Ad(r.childLanes,i)}function UF(r,i,d){var v=i.pendingProps;fue(i)&&(i.flags|=ne);var x=dd.current,E=!1,M=(i.flags&ne)!==$o;if(M||cse(x,r)?(E=!0,i.flags&=~ne):(r===null||r.memoizedState!==null)&&v.fallback!==void 0&&v.unstable_avoidThisFallback!==!0&&(x=Fae(x,I_)),x=l0(x),Uv(i,x),r===null){v.fallback!==void 0&&L_(i);var W=v.children,Z=v.fallback;if(E){var be=WF(i,W,Z,d),Re=i.child;return Re.memoizedState=pw(d),i.memoizedState=fw,be}else if(typeof v.unstable_expectedLoadTime=="number"){var nt=WF(i,W,Z,d),je=i.child;return je.memoizedState=pw(d),i.memoizedState=fw,i.lanes=sa,Mw(sa),nt}else return dse(i,W,d)}else{var st=r.memoizedState;if(st!==null)if(E){var It=v.fallback,hn=v.children,xr=qF(r,i,hn,It,d),Zr=i.child,Ar=r.child.memoizedState;return Zr.memoizedState=Ar===null?pw(d):VF(Ar,d),Zr.childLanes=zF(r,d),i.memoizedState=fw,xr}else{var To=v.children,ii=GF(r,i,To,d);return i.memoizedState=null,ii}else if(E){var at=v.fallback,bt=v.children,Ke=qF(r,i,bt,at,d),qt=i.child,Rn=r.child.memoizedState;return qt.memoizedState=Rn===null?pw(d):VF(Rn,d),qt.childLanes=zF(r,d),i.memoizedState=fw,Ke}else{var zn=v.children,go=GF(r,i,zn,d);return i.memoizedState=null,go}}}function dse(r,i,d){var v=r.mode,x={mode:"visible",children:i},E=iP(x,v,d,null);return E.return=r,r.child=E,E}function WF(r,i,d,v){var x=r.mode,E=r.child,M={mode:"hidden",children:i},W,Z;return(x&Us)===Di&&E!==null?(W=E,W.childLanes=Pt,W.pendingProps=M,r.mode&ul&&(W.actualDuration=0,W.actualStartTime=-1,W.selfBaseDuration=0,W.treeBaseDuration=0),Z=em(d,x,v,null)):(W=iP(M,x,Pt,null),Z=em(d,x,v,null)),W.return=r,Z.return=r,W.sibling=Z,r.child=W,Z}function HF(r,i){return Jv(r,i)}function GF(r,i,d,v){var x=r.child,E=x.sibling,M=HF(x,{mode:"visible",children:d});return(i.mode&Us)===Di&&(M.lanes=v),M.return=i,M.sibling=null,E!==null&&(E.nextEffect=null,E.flags=zo,i.firstEffect=i.lastEffect=E),i.child=M,M}function qF(r,i,d,v,x){var E=i.mode,M=r.child,W=M.sibling,Z={mode:"hidden",children:d},be;if((E&Us)===Di&&i.child!==M){var Re=i.child;be=Re,be.childLanes=Pt,be.pendingProps=Z,i.mode&ul&&(be.actualDuration=0,be.actualStartTime=-1,be.selfBaseDuration=M.selfBaseDuration,be.treeBaseDuration=M.treeBaseDuration);var nt=be.lastEffect;nt!==null?(i.firstEffect=be.firstEffect,i.lastEffect=nt,nt.nextEffect=null):i.firstEffect=i.lastEffect=null}else be=HF(M,Z);var je;return W!==null?je=Jv(W,v):(je=em(v,E,x,null),je.flags|=Ir),je.return=i,be.return=i,be.sibling=je,i.child=be,je}function YF(r,i){r.lanes=bo(r.lanes,i);var d=r.alternate;d!==null&&(d.lanes=bo(d.lanes,i)),HI(r.return,i)}function fse(r,i,d){for(var v=i;v!==null;){if(v.tag===A){var x=v.memoizedState;x!==null&&YF(v,d)}else if(v.tag===xe)YF(v,d);else if(v.child!==null){v.child.return=v,v=v.child;continue}if(v===r)return;for(;v.sibling===null;){if(v.return===null||v.return===r)return;v=v.return}v.sibling.return=v.return,v=v.sibling}}function pse(r){for(var i=r,d=null;i!==null;){var v=i.alternate;v!==null&&qC(v)===null&&(d=i),i=i.sibling}return d}function hse(r){if(r!==void 0&&r!=="forwards"&&r!=="backwards"&&r!=="together"&&!vO[r])if(vO[r]=!0,typeof r=="string")switch(r.toLowerCase()){case"together":case"forwards":case"backwards":{u('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',r,r.toLowerCase());break}case"forward":case"backward":{u('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',r,r.toLowerCase());break}default:u('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',r);break}else u('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',r)}function vse(r,i){r!==void 0&&!dw[r]&&(r!=="collapsed"&&r!=="hidden"?(dw[r]=!0,u('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',r)):i!=="forwards"&&i!=="backwards"&&(dw[r]=!0,u('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',r)))}function KF(r,i){{var d=Array.isArray(r),v=!d&&typeof io(r)=="function";if(d||v){var x=d?"array":"iterable";return u("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",x,i,x),!1}}return!0}function mse(r,i){if((i==="forwards"||i==="backwards")&&r!==void 0&&r!==null&&r!==!1)if(Array.isArray(r)){for(var d=0;d<r.length;d++)if(!KF(r[d],d))return}else{var v=io(r);if(typeof v=="function"){var x=v.call(r);if(x)for(var E=x.next(),M=0;!E.done;E=x.next()){if(!KF(E.value,M))return;M++}}else u('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',i)}}function xO(r,i,d,v,x,E){var M=r.memoizedState;M===null?r.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:v,tail:d,tailMode:x,lastEffect:E}:(M.isBackwards=i,M.rendering=null,M.renderingStartTime=0,M.last=v,M.tail=d,M.tailMode=x,M.lastEffect=E)}function XF(r,i,d){var v=i.pendingProps,x=v.revealOrder,E=v.tail,M=v.children;hse(x),vse(E,x),mse(M,x),Wl(r,i,M,d);var W=dd.current,Z=GC(W,s0);if(Z)W=F_(W,s0),i.flags|=ne;else{var be=r!==null&&(r.flags&ne)!==$o;be&&fse(i,i.child,d),W=l0(W)}if(Uv(i,W),(i.mode&Us)===Di)i.memoizedState=null;else switch(x){case"forwards":{var Re=pse(i.child),nt;Re===null?(nt=i.child,i.child=null):(nt=Re.sibling,Re.sibling=null),xO(i,!1,nt,Re,E,i.lastEffect);break}case"backwards":{var je=null,st=i.child;for(i.child=null;st!==null;){var It=st.alternate;if(It!==null&&qC(It)===null){i.child=st;break}var hn=st.sibling;st.sibling=je,je=st,st=hn}xO(i,!0,je,null,E,i.lastEffect);break}case"together":{xO(i,!1,null,null,void 0,i.lastEffect);break}default:i.memoizedState=null}return i.child}function gse(r,i,d){M_(i,i.stateNode.containerInfo);var v=i.pendingProps;return r===null?i.child=UC(i,null,v,d):Wl(r,i,v,d),i.child}var QF=!1;function yse(r,i,d){var v=i.type,x=v._context,E=i.pendingProps,M=i.memoizedProps,W=E.value;{"value"in E||QF||(QF=!0,u("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var Z=i.type.propTypes;Z&&Vl(Z,E,"prop","Context.Provider")}if(WI(i,W),M!==null){var be=M.value,Re=Eae(x,W,be);if(Re===0){if(M.children===E.children&&!Ug())return np(r,i,d)}else Tae(i,x,Re,d)}var nt=E.children;return Wl(r,i,nt,d),i.child}var ZF=!1;function bse(r,i,d){var v=i.type;v._context===void 0?v!==v.Consumer&&(ZF||(ZF=!0,u("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):v=v._context;var x=i.pendingProps,E=x.children;typeof E!="function"&&u("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),Xg(i,d);var M=Va(v,x.unstable_observedBits),W;return g0.current=i,Ii(!0),W=E(M),Ii(!1),i.flags|=Za,Wl(r,i,W,d),i.child}function SO(){qd=!0}function np(r,i,d){return r!==null&&(i.dependencies=r.dependencies),AF(),GO(i.lanes),Eo(d,i.childLanes)?(Aae(r,i),i.child):null}function xse(r,i,d){{var v=i.return;if(v===null)throw new Error("Cannot swap the root fiber.");if(r.alternate=null,i.alternate=null,d.index=i.index,d.sibling=i.sibling,d.return=i.return,d.ref=i.ref,i===v.child)v.child=d;else{var x=v.child;if(x===null)throw new Error("Expected parent to have a child.");for(;x.sibling!==i;)if(x=x.sibling,x===null)throw new Error("Expected to find the previous sibling.");x.sibling=d}var E=v.lastEffect;return E!==null?(E.nextEffect=r,v.lastEffect=r):v.firstEffect=v.lastEffect=r,r.nextEffect=null,r.flags=zo,d.flags|=Ir,d}}function JF(r,i,d){var v=i.lanes;if(i._debugNeedsRemount&&r!==null)return xse(r,i,rP(i.type,i.key,i.pendingProps,i._debugOwner||null,i.mode,i.lanes));if(r!==null){var x=r.memoizedProps,E=i.pendingProps;if(x!==E||Ug()||i.type!==r.type)qd=!0;else if(Eo(d,v))(r.flags&mf)!==$o?qd=!0:qd=!1;else{switch(qd=!1,i.tag){case w:BF(i),B_();break;case P:uF(i);break;case y:{var M=i.type;Sc(M)&&Hg(i);break}case O:M_(i,i.stateNode.containerInfo);break;case H:{var W=i.memoizedProps.value;WI(i,W);break}case U:{var Z=Eo(d,i.childLanes);Z&&(i.flags|=Rr);var be=i.stateNode;be.effectDuration=0,be.passiveEffectDuration=0}break;case A:{var Re=i.memoizedState;if(Re!==null){var nt=i.child,je=nt.childLanes;if(Eo(d,je))return UF(r,i,d);Uv(i,l0(dd.current));var st=np(r,i,d);return st!==null?st.sibling:null}else Uv(i,l0(dd.current));break}case xe:{var It=(r.flags&ne)!==$o,hn=Eo(d,i.childLanes);if(It){if(hn)return XF(r,i,d);i.flags|=ne}var xr=i.memoizedState;if(xr!==null&&(xr.rendering=null,xr.tail=null,xr.lastEffect=null),Uv(i,dd.current),hn)break;return null}case fe:case Se:return i.lanes=Pt,mO(r,i,d)}return np(r,i,d)}}else qd=!1;switch(i.lanes=Pt,i.tag){case C:return use(r,i,i.type,d);case ue:{var Zr=i.elementType;return sse(r,i,Zr,v,d)}case b:{var Ar=i.type,To=i.pendingProps,ii=i.elementType===Ar?To:_r(Ar,To);return gO(r,i,Ar,ii,d)}case y:{var at=i.type,bt=i.pendingProps,Ke=i.elementType===at?bt:_r(at,bt);return LF(r,i,at,Ke,d)}case w:return ose(r,i,d);case P:return ise(r,i,d);case D:return ase(r,i);case A:return UF(r,i,d);case O:return gse(r,i,d);case L:{var qt=i.type,Rn=i.pendingProps,zn=i.elementType===qt?Rn:_r(qt,Rn);return $F(r,i,qt,zn,d)}case I:return tse(r,i,d);case j:return nse(r,i,d);case U:return rse(r,i,d);case H:return yse(r,i,d);case z:return bse(r,i,d);case Q:{var go=i.type,Ni=i.pendingProps,Zi=_r(go,Ni);if(i.type!==i.elementType){var Qo=go.propTypes;Qo&&Vl(Qo,Zi,"prop",on(go))}return Zi=_r(go.type,Zi),IF(r,i,go,Zi,v,d)}case te:return FF(r,i,i.type,i.pendingProps,v,d);case ae:{var za=i.type,Fo=i.pendingProps,Ji=i.elementType===za?Fo:_r(za,Fo);return lse(r,i,za,Ji,d)}case xe:return XF(r,i,d);case Pe:break;case ye:break;case de:break;case fe:return mO(r,i,d);case Se:return ese(r,i,d)}throw Error("Unknown unit of work tag ("+i.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function oy(r){r.flags|=Rr}function e2(r){r.flags|=Ri}var t2,CO,n2,r2;t2=function(r,i,d,v){for(var x=i.child;x!==null;){if(x.tag===P||x.tag===D)Fv(r,x.stateNode);else if(x.tag!==O){if(x.child!==null){x.child.return=x,x=x.child;continue}}if(x===i)return;for(;x.sibling===null;){if(x.return===null||x.return===i)return;x=x.return}x.sibling.return=x.return,x=x.sibling}},CO=function(r){},n2=function(r,i,d,v,x){var E=r.memoizedProps;if(E!==v){var M=i.stateNode,W=A_(),Z=NT(M,d,E,v,x,W);i.updateQueue=Z,Z&&oy(i)}},r2=function(r,i,d,v){d!==v&&oy(i)};function b0(r,i){if(!V_())switch(r.tailMode){case"hidden":{for(var d=r.tail,v=null;d!==null;)d.alternate!==null&&(v=d),d=d.sibling;v===null?r.tail=null:v.sibling=null;break}case"collapsed":{for(var x=r.tail,E=null;x!==null;)x.alternate!==null&&(E=x),x=x.sibling;E===null?!i&&r.tail!==null?r.tail.sibling=null:r.tail=null:E.sibling=null;break}}}function o2(r,i,d){var v=i.pendingProps;switch(i.tag){case C:case ue:case te:case b:case L:case I:case j:case U:case z:case Q:return null;case y:{var x=i.type;return Sc(x)&&Wg(i),null}case w:{Qg(i),Xb(i),U_();var E=i.stateNode;if(E.pendingContext&&(E.context=E.pendingContext,E.pendingContext=null),r===null||r.child===null){var M=YC(i);M?oy(i):E.hydrate||(i.flags|=bs)}return CO(i),null}case P:{$_(i);var W=lF(),Z=i.type;if(r!==null&&i.stateNode!=null)n2(r,i,Z,v,W),r.ref!==i.ref&&e2(i);else{if(!v){if(i.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return null}var be=A_(),Re=YC(i);if(Re)Bae(i,W,be)&&oy(i);else{var nt=eC(Z,v,W,be,i);t2(nt,i,!1,!1),i.stateNode=nt,zb(nt,Z,v,W)&&oy(i)}i.ref!==null&&e2(i)}return null}case D:{var je=v;if(r&&i.stateNode!=null){var st=r.memoizedProps;r2(r,i,st,je)}else{if(typeof je!="string"&&i.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var It=lF(),hn=A_(),xr=YC(i);xr?Vae(i)&&oy(i):i.stateNode=Fg(je,It,hn,i)}return null}case A:{Zg(i);var Zr=i.memoizedState;if((i.flags&ne)!==$o)return i.lanes=d,(i.mode&ul)!==Di&&cO(i),i;var Ar=Zr!==null,To=!1;if(r===null)i.memoizedProps.fallback!==void 0&&YC(i);else{var ii=r.memoizedState;To=ii!==null}if(Ar&&!To&&(i.mode&Us)!==Di){var at=r===null&&i.memoizedProps.unstable_avoidThisFallback!==!0;at||GC(dd.current,I_)?ale():sle()}return(Ar||To)&&(i.flags|=Rr),null}case O:return Qg(i),CO(i),r===null&&t_(i.stateNode.containerInfo),null;case H:return p_(i),null;case ae:{var bt=i.type;return Sc(bt)&&Wg(i),null}case xe:{Zg(i);var Ke=i.memoizedState;if(Ke===null)return null;var qt=(i.flags&ne)!==$o,Rn=Ke.rendering;if(Rn===null)if(qt)b0(Ke,!1);else{var zn=ule()&&(r===null||(r.flags&ne)===$o);if(!zn)for(var go=i.child;go!==null;){var Ni=qC(go);if(Ni!==null){qt=!0,i.flags|=ne,b0(Ke,!1);var Zi=Ni.updateQueue;return Zi!==null&&(i.updateQueue=Zi,i.flags|=Rr),Ke.lastEffect===null&&(i.firstEffect=null),i.lastEffect=Ke.lastEffect,$ae(i,d),Uv(i,F_(dd.current,s0)),i.child}go=go.sibling}Ke.tail!==null&&cs()>x2()&&(i.flags|=ne,qt=!0,b0(Ke,!1),i.lanes=sa,Mw(sa))}else{if(!qt){var Qo=qC(Rn);if(Qo!==null){i.flags|=ne,qt=!0;var za=Qo.updateQueue;if(za!==null&&(i.updateQueue=za,i.flags|=Rr),b0(Ke,!0),Ke.tail===null&&Ke.tailMode==="hidden"&&!Rn.alternate&&!V_()){var Fo=i.lastEffect=Ke.lastEffect;return Fo!==null&&(Fo.nextEffect=null),null}}else cs()*2-Ke.renderingStartTime>x2()&&d!==Fs&&(i.flags|=ne,qt=!0,b0(Ke,!1),i.lanes=sa,Mw(sa))}if(Ke.isBackwards)Rn.sibling=i.child,i.child=Rn;else{var Ji=Ke.last;Ji!==null?Ji.sibling=Rn:i.child=Rn,Ke.last=Rn}}if(Ke.tail!==null){var hs=Ke.tail;Ke.rendering=hs,Ke.tail=hs.sibling,Ke.lastEffect=i.lastEffect,Ke.renderingStartTime=cs(),hs.sibling=null;var Oa=dd.current;return qt?Oa=F_(Oa,s0):Oa=l0(Oa),Uv(i,Oa),hs}return null}case Pe:break;case ye:break;case de:break;case fe:case Se:{if(HO(i),r!==null){var Qd=i.memoizedState,Pa=r.memoizedState,Zd=Pa!==null,tm=Qd!==null;Zd!==tm&&v.mode!=="unstable-defer-without-hiding"&&(i.flags|=Rr)}return null}}throw Error("Unknown unit of work tag ("+i.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Sse(r,i){switch(r.tag){case y:{var d=r.type;Sc(d)&&Wg(r);var v=r.flags;return v&tl?(r.flags=v&~tl|ne,(r.mode&ul)!==Di&&cO(r),r):null}case w:{Qg(r),Xb(r),U_();var x=r.flags;if((x&ne)!==$o)throw Error("The root failed to unmount after an error. This is likely a bug in React. Please file an issue.");return r.flags=x&~tl|ne,r}case P:return $_(r),null;case A:{Zg(r);var E=r.flags;return E&tl?(r.flags=E&~tl|ne,(r.mode&ul)!==Di&&cO(r),r):null}case xe:return Zg(r),null;case O:return Qg(r),null;case H:return p_(r),null;case fe:case Se:return HO(r),null;default:return null}}function i2(r){switch(r.tag){case y:{var i=r.type.childContextTypes;i!=null&&Wg(r);break}case w:{Qg(r),Xb(r),U_();break}case P:{$_(r);break}case O:Qg(r);break;case A:Zg(r);break;case xe:Zg(r);break;case H:p_(r);break;case fe:case Se:HO(r);break}}function wO(r,i){return{value:r,source:i,stack:Hi(i)}}function Cse(r,i){return!0}function RO(r,i){try{var d=Cse(r,i);if(d===!1)return;var v=i.value,x=i.source,E=i.stack,M=E!==null?E:"";if(v!=null&&v._suppressLogging){if(r.tag===y)return;console.error(v)}var W=x?on(x.type):null,Z=W?"The above error occurred in the <"+W+"> component:":"The above error occurred in one of your React components:",be,Re=on(r.type);Re?be="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+Re+"."):be=`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
284
|
+
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;var nt=Z+`
|
|
285
|
+
`+M+`
|
|
286
|
+
|
|
287
|
+
`+(""+be);console.error(nt)}catch(je){setTimeout(function(){throw je})}}var wse=typeof WeakMap=="function"?WeakMap:Map;function a2(r,i,d){var v=ph(uo,d);v.tag=h_,v.payload={element:null};var x=i.value;return v.callback=function(){wle(x),RO(r,i)},v}function s2(r,i,d){var v=ph(uo,d);v.tag=h_;var x=r.type.getDerivedStateFromError;if(typeof x=="function"){var E=i.value;v.payload=function(){return RO(r,i),x(E)}}var M=r.stateNode;return M!==null&&typeof M.componentDidCatch=="function"?v.callback=function(){V2(r),typeof x!="function"&&(Sle(this),RO(r,i));var Z=i.value,be=i.stack;this.componentDidCatch(Z,{componentStack:be!==null?be:""}),typeof x!="function"&&(Eo(r.lanes,no)||u("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",on(r.type)||"Unknown"))}:v.callback=function(){V2(r)},v}function Rse(r,i,d){var v=r.pingCache,x;if(v===null?(v=r.pingCache=new wse,x=new Set,v.set(i,x)):(x=v.get(i),x===void 0&&(x=new Set,v.set(i,x))),!x.has(d)){x.add(d);var E=Rle.bind(null,r,i,d);i.then(E,E)}}function Ese(r,i,d,v,x){if(d.flags|=vf,d.firstEffect=d.lastEffect=null,v!==null&&typeof v=="object"&&typeof v.then=="function"){var E=v;if((d.mode&Us)===Di){var M=d.alternate;M?(d.updateQueue=M.updateQueue,d.memoizedState=M.memoizedState,d.lanes=M.lanes):(d.updateQueue=null,d.memoizedState=null)}var W=GC(dd.current,I_),Z=i;do{if(Z.tag===A&&jae(Z,W)){var be=Z.updateQueue;if(be===null){var Re=new Set;Re.add(E),Z.updateQueue=Re}else be.add(E);if((Z.mode&Us)===Di){if(Z.flags|=ne,d.flags|=mf,d.flags&=~(Qh|vf),d.tag===y){var nt=d.alternate;if(nt===null)d.tag=ae;else{var je=ph(uo,no);je.tag=AC,hh(d,je)}}d.lanes=bo(d.lanes,no);return}Rse(r,E,x),Z.flags|=tl,Z.lanes=x;return}Z=Z.return}while(Z!==null);v=new Error((on(d.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
|
|
288
|
+
|
|
289
|
+
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}lle(),v=wO(v,d);var st=i;do{switch(st.tag){case w:{var It=v;st.flags|=tl;var hn=ha(x);st.lanes=bo(st.lanes,hn);var xr=a2(st,It,hn);KI(st,xr);return}case y:var Zr=v,Ar=st.type,To=st.stateNode;if((st.flags&ne)===$o&&(typeof Ar.getDerivedStateFromError=="function"||To!==null&&typeof To.componentDidCatch=="function"&&!qO(To))){st.flags|=tl;var ii=ha(x);st.lanes=bo(st.lanes,ii);var at=s2(st,Zr,ii);KI(st,at);return}break}st=st.return}while(st!==null)}var l2=null;l2=new Set;var Tse=typeof WeakSet=="function"?WeakSet:Set,_se=function(r,i){i.props=r.memoizedProps,i.state=r.memoizedState,i.componentWillUnmount()};function Ose(r,i){if(wa(null,_se,null,r,i),fa()){var d=oa();bh(r,d)}}function u2(r){var i=r.ref;if(i!==null)if(typeof i=="function"){if(wa(null,i,null,null),fa()){var d=oa();bh(r,d)}}else i.current=null}function Pse(r,i){if(wa(null,i,null),fa()){var d=oa();bh(r,d)}}function Dse(r,i){switch(i.tag){case b:case L:case te:case de:return;case y:{if(i.flags&bs&&r!==null){var d=r.memoizedProps,v=r.memoizedState,x=i.stateNode;i.type===i.elementType&&!Yv&&(x.props!==i.memoizedProps&&u("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",on(i.type)||"instance"),x.state!==i.memoizedState&&u("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",on(i.type)||"instance"));var E=x.getSnapshotBeforeUpdate(i.elementType===i.type?d:_r(i.type,d),v);{var M=l2;E===void 0&&!M.has(i.type)&&(M.add(i.type),u("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",on(i.type)))}x.__reactInternalSnapshotBeforeUpdate=E}return}case w:{if(i.flags&bs){var W=i.stateNode;ah(W.containerInfo)}return}case P:case D:case O:case ae:return}throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}function kse(r,i){var d=i.updateQueue,v=d!==null?d.lastEffect:null;if(v!==null){var x=v.next,E=x;do{if((E.tag&r)===r){var M=E.destroy;E.destroy=void 0,M!==void 0&&M()}E=E.next}while(E!==x)}}function Nse(r,i){var d=i.updateQueue,v=d!==null?d.lastEffect:null;if(v!==null){var x=v.next,E=x;do{if((E.tag&r)===r){var M=E.create;E.destroy=M();{var W=E.destroy;if(W!==void 0&&typeof W!="function"){var Z=void 0;W===null?Z=" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof W.then=="function"?Z=`
|
|
290
|
+
|
|
291
|
+
It looks like you wrote useEffect(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
292
|
+
|
|
293
|
+
useEffect(() => {
|
|
294
|
+
async function fetchData() {
|
|
295
|
+
// You can await here
|
|
296
|
+
const response = await MyAPI.getData(someId);
|
|
297
|
+
// ...
|
|
298
|
+
}
|
|
299
|
+
fetchData();
|
|
300
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
301
|
+
|
|
302
|
+
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:Z=" You returned: "+W,u("An effect function must not return anything besides a function, which is used for clean-up.%s",Z)}}}E=E.next}while(E!==x)}}function Mse(r){var i=r.updateQueue,d=i!==null?i.lastEffect:null;if(d!==null){var v=d.next,x=v;do{var E=x,M=E.next,W=E.tag;(W&u0)!==j_&&(W&Jg)!==j_&&(P2(r,x),yle(r,x)),x=M}while(x!==v)}}function Ase(r,i,d,v){switch(d.tag){case b:case L:case te:case de:{Nse(ey|Jg,d),Mse(d);return}case y:{var x=d.stateNode;if(d.flags&Rr)if(i===null)d.type===d.elementType&&!Yv&&(x.props!==d.memoizedProps&&u("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",on(d.type)||"instance"),x.state!==d.memoizedState&&u("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",on(d.type)||"instance")),x.componentDidMount();else{var E=d.elementType===d.type?i.memoizedProps:_r(d.type,i.memoizedProps),M=i.memoizedState;d.type===d.elementType&&!Yv&&(x.props!==d.memoizedProps&&u("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",on(d.type)||"instance"),x.state!==d.memoizedState&&u("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",on(d.type)||"instance")),x.componentDidUpdate(E,M,x.__reactInternalSnapshotBeforeUpdate)}var W=d.updateQueue;W!==null&&(d.type===d.elementType&&!Yv&&(x.props!==d.memoizedProps&&u("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",on(d.type)||"instance"),x.state!==d.memoizedState&&u("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",on(d.type)||"instance")),QI(d,W,x));return}case w:{var Z=d.updateQueue;if(Z!==null){var be=null;if(d.child!==null)switch(d.child.tag){case P:be=d.child.stateNode;break;case y:be=d.child.stateNode;break}QI(d,Z,be)}return}case P:{var Re=d.stateNode;if(i===null&&d.flags&Rr){var nt=d.type,je=d.memoizedProps;MT(Re,nt,je)}return}case D:return;case O:return;case U:{{var st=d.memoizedProps;st.onCommit;var It=st.onRender;d.stateNode.effectDuration;var hn=Zae();typeof It=="function"&&It(d.memoizedProps.id,i===null?"mount":"update",d.actualDuration,d.treeBaseDuration,d.actualStartTime,hn,r.memoizedInteractions)}return}case A:{zse(r,d);return}case xe:case ae:case Pe:case ye:case fe:case Se:return}throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}function c2(r,i){for(var d=r;;){if(d.tag===P){var v=d.stateNode;i?IT(v):FT(d.stateNode,d.memoizedProps)}else if(d.tag===D){var x=d.stateNode;i?Io(x):iC(x,d.memoizedProps)}else if(!((d.tag===fe||d.tag===Se)&&d.memoizedState!==null&&d!==r)){if(d.child!==null){d.child.return=d,d=d.child;continue}}if(d===r)return;for(;d.sibling===null;){if(d.return===null||d.return===r)return;d=d.return}d.sibling.return=d.return,d=d.sibling}}function $se(r){var i=r.ref;if(i!==null){var d=r.stateNode,v;switch(r.tag){case P:v=d;break;default:v=d}typeof i=="function"?i(v):(i.hasOwnProperty("current")||u("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",on(r.type)),i.current=v)}}function Ise(r){var i=r.ref;i!==null&&(typeof i=="function"?i(null):i.current=null)}function d2(r,i,d){switch(a_(i),i.tag){case b:case L:case Q:case te:case de:{var v=i.updateQueue;if(v!==null){var x=v.lastEffect;if(x!==null){var E=x.next,M=E;do{var W=M,Z=W.destroy,be=W.tag;Z!==void 0&&((be&u0)!==j_?P2(i,M):Pse(i,Z)),M=M.next}while(M!==E)}}return}case y:{u2(i);var Re=i.stateNode;typeof Re.componentWillUnmount=="function"&&Ose(i,Re);return}case P:{u2(i);return}case O:{v2(r,i);return}case Pe:return;case pe:return;case ye:return}}function Fse(r,i,d){for(var v=i;;){if(d2(r,v),v.child!==null&&v.tag!==O){v.child.return=v,v=v.child;continue}if(v===i)return;for(;v.sibling===null;){if(v.return===null||v.return===i)return;v=v.return}v.sibling.return=v.return,v=v.sibling}}function f2(r){r.alternate=null,r.child=null,r.dependencies=null,r.firstEffect=null,r.lastEffect=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.return=null,r.updateQueue=null,r._debugOwner=null}function jse(r){for(var i=r.return;i!==null;){if(p2(i))return i;i=i.return}throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function p2(r){return r.tag===P||r.tag===w||r.tag===O}function Lse(r){var i=r;e:for(;;){for(;i.sibling===null;){if(i.return===null||p2(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==P&&i.tag!==D&&i.tag!==pe;){if(i.flags&Ir||i.child===null||i.tag===O)continue e;i.child.return=i,i=i.child}if(!(i.flags&Ir))return i.stateNode}}function h2(r){var i=jse(r),d,v,x=i.stateNode;switch(i.tag){case P:d=x,v=!1;break;case w:d=x.containerInfo,v=!0;break;case O:d=x.containerInfo,v=!0;break;case Pe:default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}i.flags&ji&&(tC(d),i.flags&=~ji);var E=Lse(r);v?EO(r,E,d):TO(r,E,d)}function EO(r,i,d){var v=r.tag,x=v===P||v===D;if(x||ce){var E=x?r.stateNode:r.stateNode.instance;i?rC(d,E,i):ad(d,E)}else if(v!==O){var M=r.child;if(M!==null){EO(M,i,d);for(var W=M.sibling;W!==null;)EO(W,i,d),W=W.sibling}}}function TO(r,i,d){var v=r.tag,x=v===P||v===D;if(x||ce){var E=x?r.stateNode:r.stateNode.instance;i?Qr(d,E,i):nC(d,E)}else if(v!==O){var M=r.child;if(M!==null){TO(M,i,d);for(var W=M.sibling;W!==null;)TO(W,i,d),W=W.sibling}}}function v2(r,i,d){for(var v=i,x=!1,E,M;;){if(!x){var W=v.return;e:for(;;){if(W===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");var Z=W.stateNode;switch(W.tag){case P:E=Z,M=!1;break e;case w:E=Z.containerInfo,M=!0;break e;case O:E=Z.containerInfo,M=!0;break e}W=W.return}x=!0}if(v.tag===P||v.tag===D)Fse(r,v),M?oC(E,v.stateNode):Bl(E,v.stateNode);else if(v.tag===O){if(v.child!==null){E=v.stateNode.containerInfo,M=!0,v.child.return=v,v=v.child;continue}}else if(d2(r,v),v.child!==null){v.child.return=v,v=v.child;continue}if(v===i)return;for(;v.sibling===null;){if(v.return===null||v.return===i)return;v=v.return,v.tag===O&&(x=!1)}v.sibling.return=v.return,v=v.sibling}}function Bse(r,i,d){v2(r,i);var v=i.alternate;f2(i),v!==null&&f2(v)}function _O(r,i){switch(i.tag){case b:case L:case Q:case te:case de:{kse(ey|Jg,i);return}case y:return;case P:{var d=i.stateNode;if(d!=null){var v=i.memoizedProps,x=r!==null?r.memoizedProps:v,E=i.type,M=i.updateQueue;i.updateQueue=null,M!==null&&AT(d,M,E,x,v)}return}case D:{if(i.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var W=i.stateNode,Z=i.memoizedProps,be=r!==null?r.memoizedProps:Z;$T(W,be,Z);return}case w:{{var Re=i.stateNode;Re.hydrate&&(Re.hydrate=!1,HT(Re.containerInfo))}return}case U:return;case A:{Vse(i),m2(i);return}case xe:{m2(i);return}case ae:return;case Pe:break;case ye:break;case fe:case Se:{var nt=i.memoizedState,je=nt!==null;c2(i,je);return}}throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}function Vse(r){var i=r.memoizedState;if(i!==null){ile();{var d=r.child;c2(d,!0)}}}function zse(r,i){var d=i.memoizedState;if(d===null){var v=i.alternate;if(v!==null){var x=v.memoizedState;if(x!==null){var E=x.dehydrated;E!==null&>(E)}}}}function m2(r){var i=r.updateQueue;if(i!==null){r.updateQueue=null;var d=r.stateNode;d===null&&(d=r.stateNode=new Tse),i.forEach(function(v){var x=Tle.bind(null,r,v);d.has(v)||(v.__reactDoNotTraceInteractions!==!0&&(x=o.unstable_wrap(x)),d.add(v),v.then(x,x))})}}function Use(r,i){if(r!==null){var d=r.memoizedState;if(d===null||d.dehydrated!==null){var v=i.memoizedState;return v!==null&&v.dehydrated===null}}return!1}function Wse(r){tC(r.stateNode)}if(typeof Symbol=="function"&&Symbol.for){var x0=Symbol.for;x0("selector.component"),x0("selector.has_pseudo_class"),x0("selector.role"),x0("selector.test_id"),x0("selector.text")}var Hse=[];function Gse(){Hse.forEach(function(r){return r()})}var qse=Math.ceil,OO=s.ReactCurrentDispatcher,PO=s.ReactCurrentOwner,DO=s.IsSomeRendererActing,ya=0,hw=1,Yse=2,kO=4,NO=8,Tu=16,Yd=32,g2=64,rp=0,vw=1,mw=2,gw=3,yw=4,MO=5,Mr=ya,cl=null,ba=null,dl=Pt,Kd=Pt,AO=Ud(Pt),_s=rp,bw=null,Kv=Pt,xw=Pt,Xv=Pt,Sw=Pt,$O=null,IO=0,y2=500,b2=1/0,Kse=500;function iy(){b2=cs()+Kse}function x2(){return b2}var Vn=null,Cw=!1,FO=null,ay=null,op=!1,sy=null,S0=zv,jO=Pt,LO=[],BO=[],ip=null,Xse=50,C0=0,VO=null,Qse=50,ww=0,Qv=null,w0=uo,ap=Pt,Rw=Pt,zO=!1,R0=null,Ew=!1;function Zse(){return cl}function _u(){return(Mr&(Tu|Yd))!==ya?cs():(w0!==uo||(w0=cs()),w0)}function yh(r){var i=r.mode;if((i&Us)===Di)return no;if((i&tp)===Di)return fh()===zl?no:ol;ap===Pt&&(ap=Kv);var d=S()!==h;if(d)return Rw!==Pt&&(Rw=$O!==null?$O.pendingLanes:Pt),hg(ap,Rw);var v=fh(),x;if((Mr&kO)!==ya&&v===Wd)x=cc(Pd,ap);else{var E=Md(v);x=cc(E,ap)}return x}function Jse(r){var i=r.mode;return(i&Us)===Di?no:(i&tp)===Di?fh()===zl?no:ol:(ap===Pt&&(ap=Kv),lv(ap))}function Gs(r,i,d){Ole(),Nle(r);var v=Tw(r,i);if(v===null)return Dle(r),null;rd(v,i,d),v===cl&&(Xv=bo(Xv,i),_s===yw&&ly(v,dl));var x=fh();i===no?(Mr&NO)!==ya&&(Mr&(Tu|Yd))===ya?(xh(v,i),UO(v)):(_c(v,d),xh(v,i),Mr===ya&&(iy(),Cc())):((Mr&kO)!==ya&&(x===Wd||x===zl)&&(ip===null?ip=new Set([v]):ip.add(v)),_c(v,d),xh(v,i)),$O=v}function Tw(r,i){r.lanes=bo(r.lanes,i);var d=r.alternate;d!==null&&(d.lanes=bo(d.lanes,i)),d===null&&(r.flags&(Ir|$s))!==$o&&k2(r);for(var v=r,x=r.return;x!==null;)x.childLanes=bo(x.childLanes,i),d=x.alternate,d!==null?d.childLanes=bo(d.childLanes,i):(x.flags&(Ir|$s))!==$o&&k2(r),v=x,x=x.return;if(v.tag===w){var E=v.stateNode;return E}else return null}function _c(r,i){var d=r.callbackNode;av(r,i);var v=nd(r,r===cl?dl:Pt),x=rs();if(v===Pt){d!==null&&(kC(d),r.callbackNode=null,r.callbackPriority=vu);return}if(d!==null){var E=r.callbackPriority;if(E===x)return;kC(d)}var M;if(x===pu)M=d_(UO.bind(null,r));else if(x===Rf)M=Hd(zl,UO.bind(null,r));else{var W=Pf(x);M=Hd(W,S2.bind(null,r))}r.callbackPriority=x,r.callbackNode=M}function S2(r){if(w0=uo,ap=Pt,Rw=Pt,(Mr&(Tu|Yd))!==ya)throw Error("Should not already be working.");var i=r.callbackNode,d=Xd();if(d&&r.callbackNode!==i)return null;var v=nd(r,r===cl?dl:Pt);if(v===Pt)return null;var x=dle(r,v);if(Eo(Kv,Xv))uy(r,Pt);else if(x!==rp){if(x===mw&&(Mr|=g2,r.hydrate&&(r.hydrate=!1,ah(r.containerInfo)),v=la(r),v!==Pt&&(x=E0(r,v))),x===vw){var E=bw;throw uy(r,Pt),ly(r,v),_c(r,cs()),E}var M=r.current.alternate;r.finishedWork=M,r.finishedLanes=v,ele(r,x,v)}return _c(r,cs()),r.callbackNode===i?S2.bind(null,r):null}function ele(r,i,d){switch(i){case rp:case vw:throw Error("Root did not complete. This is a bug in React.");case mw:{Zv(r);break}case gw:{if(ly(r,d),$p(d)&&!Ile()){var v=IO+y2-cs();if(v>10){var x=nd(r,Pt);if(x!==Pt)break;var E=r.suspendedLanes;if(!Ta(E,d)){_u(),jp(r,E);break}r.timeoutHandle=Vs(Zv.bind(null,r),v);break}}Zv(r);break}case yw:{if(ly(r,d),sv(d))break;{var M=pg(r,d),W=M,Z=cs()-W,be=_le(Z)-Z;if(be>10){r.timeoutHandle=Vs(Zv.bind(null,r),be);break}}Zv(r);break}case MO:{Zv(r);break}default:throw Error("Unknown root exit status.")}}function ly(r,i){i=Ad(i,Sw),i=Ad(i,Xv),mg(r,i)}function UO(r){if((Mr&(Tu|Yd))!==ya)throw Error("Should not already be working.");Xd();var i,d;if(r===cl&&Eo(r.expiredLanes,dl)?(i=dl,d=E0(r,i),Eo(Kv,Xv)&&(i=nd(r,i),d=E0(r,i))):(i=nd(r,Pt),d=E0(r,i)),r.tag!==Qb&&d===mw&&(Mr|=g2,r.hydrate&&(r.hydrate=!1,ah(r.containerInfo)),i=la(r),i!==Pt&&(d=E0(r,i))),d===vw){var v=bw;throw uy(r,Pt),ly(r,i),_c(r,cs()),v}var x=r.current.alternate;return r.finishedWork=x,r.finishedLanes=i,Zv(r),_c(r,cs()),null}function tle(){if((Mr&(hw|Tu|Yd))!==ya){(Mr&Tu)!==ya&&u("unstable_flushDiscreteUpdates: Cannot flush updates when React is already rendering.");return}nle(),Xd()}function nle(){if(ip!==null){var r=ip;ip=null,r.forEach(function(i){Al(i),_c(i,cs())})}Cc()}function C2(r,i){var d=Mr;Mr|=hw;try{return r(i)}finally{Mr=d,Mr===ya&&(iy(),Cc())}}function rle(r,i){var d=Mr;Mr|=Yse;try{return r(i)}finally{Mr=d,Mr===ya&&(iy(),Cc())}}function ole(r,i,d,v,x){var E=Mr;Mr|=kO;try{return ep(Wd,r.bind(null,i,d,v,x))}finally{Mr=E,Mr===ya&&(iy(),Cc())}}function w2(r,i){var d=Mr;Mr&=~hw,Mr|=NO;try{return r(i)}finally{Mr=d,Mr===ya&&(iy(),Cc())}}function WO(r,i){var d=Mr;if((d&(Tu|Yd))!==ya)return u("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),r(i);Mr|=hw;try{return r?ep(zl,r.bind(null,i)):void 0}finally{Mr=d,Cc()}}function _w(r,i){ls(AO,Kd,r),Kd=bo(Kd,i),Kv=bo(Kv,i)}function HO(r){Kd=AO.current,ss(AO,r)}function uy(r,i){r.finishedWork=null,r.finishedLanes=Pt;var d=r.timeoutHandle;if(d!==Ub&&(r.timeoutHandle=Ub,ih(d)),ba!==null)for(var v=ba.return;v!==null;)i2(v),v=v.return;cl=r,ba=Jv(r.current,null),dl=Kd=Kv=i,_s=rp,bw=null,xw=Pt,Xv=Pt,Sw=Pt,Qv=null,N.discardPendingWarnings()}function R2(r,i){do{var d=ba;try{if(Ws(),gF(),li(),PO.current=null,d===null||d.return===null){_s=vw,bw=i,ba=null;return}re&&d.mode&ul&&cw(d,!0),Ese(r,d.return,d,i,dl),O2(d)}catch(v){i=v,ba===d&&d!==null?(d=d.return,ba=d):d=ba;continue}return}while(!0)}function E2(){var r=OO.current;return OO.current=sw,r===null?sw:r}function T2(r){OO.current=r}function Ow(r){{var i=o.__interactionsRef.current;return o.__interactionsRef.current=r.memoizedInteractions,i}}function Pw(r){o.__interactionsRef.current=r}function ile(){IO=cs()}function GO(r){xw=bo(r,xw)}function ale(){_s===rp&&(_s=gw)}function sle(){(_s===rp||_s===gw)&&(_s=yw),cl!==null&&(Ml(xw)||Ml(Xv))&&ly(cl,dl)}function lle(){_s!==MO&&(_s=mw)}function ule(){return _s===rp}function E0(r,i){var d=Mr;Mr|=Tu;var v=E2();(cl!==r||dl!==i)&&(uy(r,i),F2(r,i));var x=Ow(r);do try{cle();break}catch(E){R2(r,E)}while(!0);if(Ws(),Pw(x),Mr=d,T2(v),ba!==null)throw Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return cl=null,dl=Pt,_s}function cle(){for(;ba!==null;)_2(ba)}function dle(r,i){var d=Mr;Mr|=Tu;var v=E2();(cl!==r||dl!==i)&&(iy(),uy(r,i),F2(r,i));var x=Ow(r);do try{fle();break}catch(E){R2(r,E)}while(!0);return Ws(),Pw(x),T2(v),Mr=d,ba!==null?rp:(cl=null,dl=Pt,_s)}function fle(){for(;ba!==null&&!e0();)_2(ba)}function _2(r){var i=r.alternate;Bo(r);var d;(r.mode&ul)!==Di?(uO(r),d=YO(i,r,Kd),cw(r,!0)):d=YO(i,r,Kd),li(),r.memoizedProps=r.pendingProps,d===null?O2(r):ba=d,PO.current=null}function O2(r){var i=r;do{var d=i.alternate,v=i.return;if((i.flags&vf)===$o){Bo(i);var x=void 0;if((i.mode&ul)===Di?x=o2(d,i,Kd):(uO(i),x=o2(d,i,Kd),cw(i,!1)),li(),x!==null){ba=x;return}if(ple(i),v!==null&&(v.flags&vf)===$o){v.firstEffect===null&&(v.firstEffect=i.firstEffect),i.lastEffect!==null&&(v.lastEffect!==null&&(v.lastEffect.nextEffect=i.firstEffect),v.lastEffect=i.lastEffect);var E=i.flags;E>Za&&(v.lastEffect!==null?v.lastEffect.nextEffect=i:v.firstEffect=i,v.lastEffect=i)}}else{var M=Sse(i);if(M!==null){M.flags&=xs,ba=M;return}if((i.mode&ul)!==Di){cw(i,!1);for(var W=i.actualDuration,Z=i.child;Z!==null;)W+=Z.actualDuration,Z=Z.sibling;i.actualDuration=W}v!==null&&(v.firstEffect=v.lastEffect=null,v.flags|=vf)}var be=i.sibling;if(be!==null){ba=be;return}i=v,ba=i}while(i!==null);_s===rp&&(_s=MO)}function ple(r){if(!((r.tag===Se||r.tag===fe)&&r.memoizedState!==null&&!Eo(Kd,Fs)&&(r.mode&tp)!==Pt)){var i=Pt;if((r.mode&ul)!==Di){for(var d=r.actualDuration,v=r.selfBaseDuration,x=r.alternate===null||r.child!==r.alternate.child,E=r.child;E!==null;)i=bo(i,bo(E.lanes,E.childLanes)),x&&(d+=E.actualDuration),v+=E.treeBaseDuration,E=E.sibling;var M=r.tag===A&&r.memoizedState!==null;if(M){var W=r.child;W!==null&&(v-=W.treeBaseDuration)}r.actualDuration=d,r.treeBaseDuration=v}else for(var Z=r.child;Z!==null;)i=bo(i,bo(Z.lanes,Z.childLanes)),Z=Z.sibling;r.childLanes=i}}function Zv(r){var i=fh();return ep(zl,hle.bind(null,r,i)),null}function hle(r,i){do Xd();while(sy!==null);if(Ple(),(Mr&(Tu|Yd))!==ya)throw Error("Should not already be working.");var d=r.finishedWork,v=r.finishedLanes;if(d===null)return null;if(r.finishedWork=null,r.finishedLanes=Pt,d===r.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");r.callbackNode=null;var x=bo(d.lanes,d.childLanes);Lp(r,x),ip!==null&&!kf(x)&&ip.has(r)&&ip.delete(r),r===cl&&(cl=null,ba=null,dl=Pt);var E;if(d.flags>Za?d.lastEffect!==null?(d.lastEffect.nextEffect=d,E=d.firstEffect):E=d:E=d.firstEffect,E!==null){var M=Mr;Mr|=Yd;var W=Ow(r);PO.current=null,R0=DT(r.containerInfo),Ew=!1,Vn=E;do if(wa(null,vle,null),fa()){if(Vn===null)throw Error("Should be working on an effect.");var Z=oa();bh(Vn,Z),Vn=Vn.nextEffect}while(Vn!==null);R0=null,MF(),Vn=E;do if(wa(null,mle,null,r,i),fa()){if(Vn===null)throw Error("Should be working on an effect.");var be=oa();bh(Vn,be),Vn=Vn.nextEffect}while(Vn!==null);kT(r.containerInfo),r.current=d,Vn=E;do if(wa(null,gle,null,r,v),fa()){if(Vn===null)throw Error("Should be working on an effect.");var Re=oa();bh(Vn,Re),Vn=Vn.nextEffect}while(Vn!==null);Vn=null,c_(),Pw(W),Mr=M}else r.current=d,MF();var nt=op;if(op)op=!1,sy=r,jO=v,S0=i;else for(Vn=E;Vn!==null;){var je=Vn.nextEffect;Vn.nextEffect=null,Vn.flags&zo&&L2(Vn),Vn=je}if(x=r.pendingLanes,x!==Pt){if(Qv!==null){var st=Qv;Qv=null;for(var It=0;It<st.length;It++)I2(r,st[It],r.memoizedInteractions)}xh(r,x)}else ay=null;if(nt||j2(r,v),x===no?r===VO?C0++:(C0=0,VO=r):C0=0,i_(d.stateNode,i),Gse(),_c(r,cs()),Cw){Cw=!1;var hn=FO;throw FO=null,hn}return(Mr&NO)!==ya||Cc(),null}function vle(){for(;Vn!==null;){var r=Vn.alternate;!Ew&&R0!==null&&((Vn.flags&zo)!==$o?dg(Vn,R0)&&(Ew=!0):Vn.tag===A&&Use(r,Vn)&&dg(Vn,R0)&&(Ew=!0));var i=Vn.flags;(i&bs)!==$o&&(Bo(Vn),Dse(r,Vn),li()),(i&Ra)!==$o&&(op||(op=!0,Hd(ud,function(){return Xd(),null}))),Vn=Vn.nextEffect}}function mle(r,i){for(;Vn!==null;){Bo(Vn);var d=Vn.flags;if(d&ji&&Wse(Vn),d&Ri){var v=Vn.alternate;v!==null&&Ise(v)}var x=d&(Ir|Rr|zo|$s);switch(x){case Ir:{h2(Vn),Vn.flags&=~Ir;break}case Xu:{h2(Vn),Vn.flags&=~Ir;var E=Vn.alternate;_O(E,Vn);break}case $s:{Vn.flags&=~$s;break}case lg:{Vn.flags&=~$s;var M=Vn.alternate;_O(M,Vn);break}case Rr:{var W=Vn.alternate;_O(W,Vn);break}case zo:{Bse(r,Vn);break}}li(),Vn=Vn.nextEffect}}function gle(r,i){for(;Vn!==null;){Bo(Vn);var d=Vn.flags;if(d&(Rr|su)){var v=Vn.alternate;Ase(r,v,Vn)}d&Ri&&$se(Vn),li(),Vn=Vn.nextEffect}}function Xd(){if(S0!==zv){var r=S0>ud?ud:S0;return S0=zv,ep(r,xle)}return!1}function yle(r,i){LO.push(i,r),op||(op=!0,Hd(ud,function(){return Xd(),null}))}function P2(r,i){BO.push(i,r);{r.flags|=Gr;var d=r.alternate;d!==null&&(d.flags|=Gr)}op||(op=!0,Hd(ud,function(){return Xd(),null}))}function ble(r){var i=r.create;r.destroy=i()}function xle(){if(sy===null)return!1;var r=sy,i=jO;if(sy=null,jO=Pt,(Mr&(Tu|Yd))!==ya)throw Error("Cannot flush passive effects while already rendering.");zO=!0;var d=Mr;Mr|=Yd;var v=Ow(r),x=BO;BO=[];for(var E=0;E<x.length;E+=2){var M=x[E],W=x[E+1],Z=M.destroy;M.destroy=void 0;{W.flags&=~Gr;var be=W.alternate;be!==null&&(be.flags&=~Gr)}if(typeof Z=="function"){if(Bo(W),wa(null,Z,null),fa()){if(W===null)throw Error("Should be working on an effect.");var Re=oa();bh(W,Re)}li()}}var nt=LO;LO=[];for(var je=0;je<nt.length;je+=2){var st=nt[je],It=nt[je+1];{if(Bo(It),wa(null,ble,null,st),fa()){if(It===null)throw Error("Should be working on an effect.");var hn=oa();bh(It,hn)}li()}}for(var xr=r.current.firstEffect;xr!==null;){var Zr=xr.nextEffect;xr.nextEffect=null,xr.flags&zo&&L2(xr),xr=Zr}return Pw(v),j2(r,i),zO=!1,Mr=d,Cc(),ww=sy===null?0:ww+1,!0}function qO(r){return ay!==null&&ay.has(r)}function Sle(r){ay===null?ay=new Set([r]):ay.add(r)}function Cle(r){Cw||(Cw=!0,FO=r)}var wle=Cle;function D2(r,i,d){var v=wO(d,i),x=a2(r,v,no);hh(r,x);var E=_u(),M=Tw(r,no);M!==null&&(rd(M,no,E),_c(M,E),xh(M,no))}function bh(r,i){if(r.tag===w){D2(r,r,i);return}for(var d=r.return;d!==null;){if(d.tag===w){D2(d,r,i);return}else if(d.tag===y){var v=d.type,x=d.stateNode;if(typeof v.getDerivedStateFromError=="function"||typeof x.componentDidCatch=="function"&&!qO(x)){var E=wO(i,r),M=s2(d,E,no);hh(d,M);var W=_u(),Z=Tw(d,no);if(Z!==null)rd(Z,no,W),_c(Z,W),xh(Z,no);else if(typeof x.componentDidCatch=="function"&&!qO(x))try{x.componentDidCatch(i,E)}catch{}return}}d=d.return}}function Rle(r,i,d){var v=r.pingCache;v!==null&&v.delete(i);var x=_u();jp(r,d),cl===r&&Ta(dl,d)&&(_s===yw||_s===gw&&$p(dl)&&cs()-IO<y2?uy(r,Pt):Sw=bo(Sw,d)),_c(r,x),xh(r,d)}function Ele(r,i){i===Ti&&(i=Jse(r));var d=_u(),v=Tw(r,i);v!==null&&(rd(v,i,d),_c(v,d),xh(v,i))}function Tle(r,i){var d=Ti,v;v=r.stateNode,v!==null&&v.delete(i),Ele(r,d)}function _le(r){return r<120?120:r<480?480:r<1080?1080:r<1920?1920:r<3e3?3e3:r<4320?4320:qse(r/1960)*1960}function Ole(){if(C0>Xse)throw C0=0,VO=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");ww>Qse&&(ww=0,u("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function Ple(){N.flushLegacyContextWarning(),N.flushPendingUnsafeLifecycleWarnings()}var Dw=null;function k2(r){{if((Mr&Tu)!==ya||!(r.mode&(Us|tp)))return;var i=r.tag;if(i!==C&&i!==w&&i!==y&&i!==b&&i!==L&&i!==Q&&i!==te&&i!==de)return;var d=on(r.type)||"ReactComponent";if(Dw!==null){if(Dw.has(d))return;Dw.add(d)}else Dw=new Set([d]);var v=ni;try{Bo(r),u("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{v?Bo(r):li()}}}var kw=null;function Dle(r){{var i=r.tag;if(i!==w&&i!==y&&i!==b&&i!==L&&i!==Q&&i!==te&&i!==de||(r.flags&Gr)!==$o)return;var d=on(r.type)||"ReactComponent";if(kw!==null){if(kw.has(d))return;kw.add(d)}else kw=new Set([d]);if(!zO){var v=ni;try{Bo(r),u("Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in %s.",i===y?"the componentWillUnmount method":"a useEffect cleanup function")}finally{v?Bo(r):li()}}}}var YO;{var kle=null;YO=function(r,i,d){var v=U2(kle,i);try{return JF(r,i,d)}catch(E){if(E!==null&&typeof E=="object"&&typeof E.then=="function")throw E;if(Ws(),gF(),i2(i),U2(i,v),i.mode&ul&&uO(i),wa(null,JF,null,r,i,d),fa()){var x=oa();throw x}else throw E}}}var N2=!1,KO;KO=new Set;function Nle(r){if(Aa&&(Mr&Tu)!==ya&&!Qae())switch(r.tag){case b:case L:case te:{var i=ba&&on(ba.type)||"Unknown",d=i;if(!KO.has(d)){KO.add(d);var v=on(r.type)||"Unknown";u("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",v,i,i)}break}case y:{N2||(u("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),N2=!0);break}}}var Nw={current:!1};function M2(r){if(DO.current===!0&&Nw.current!==!0){var i=ni;try{Bo(r),u(`It looks like you're using the wrong act() around your test interactions.
|
|
303
|
+
Be sure to use the matching version of act() corresponding to your renderer:
|
|
304
|
+
|
|
305
|
+
// for react-dom:
|
|
306
|
+
import {act} from 'react-dom/test-utils';
|
|
307
|
+
// ...
|
|
308
|
+
act(() => ...);
|
|
309
|
+
|
|
310
|
+
// for react-test-renderer:
|
|
311
|
+
import TestRenderer from react-test-renderer';
|
|
312
|
+
const {act} = TestRenderer;
|
|
313
|
+
// ...
|
|
314
|
+
act(() => ...);`)}finally{i?Bo(r):li()}}}function A2(r){(r.mode&Qi)!==Di&&DO.current===!1&&Nw.current===!1&&u(`An update to %s ran an effect, but was not wrapped in act(...).
|
|
315
|
+
|
|
316
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
317
|
+
|
|
318
|
+
act(() => {
|
|
319
|
+
/* fire events that update state */
|
|
320
|
+
});
|
|
321
|
+
/* assert on the output */
|
|
322
|
+
|
|
323
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,on(r.type))}function Mle(r){if(Mr===ya&&DO.current===!1&&Nw.current===!1){var i=ni;try{Bo(r),u(`An update to %s inside a test was not wrapped in act(...).
|
|
324
|
+
|
|
325
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
326
|
+
|
|
327
|
+
act(() => {
|
|
328
|
+
/* fire events that update state */
|
|
329
|
+
});
|
|
330
|
+
/* assert on the output */
|
|
331
|
+
|
|
332
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,on(r.type))}finally{i?Bo(r):li()}}}var Ale=Mle,$2=!1;function $le(r){$2===!1&&n.unstable_flushAllWithoutAsserting===void 0&&(r.mode&Us||r.mode&tp)&&($2=!0,u(`In Concurrent or Sync modes, the "scheduler" module needs to be mocked to guarantee consistent behaviour across tests and browsers. For example, with jest:
|
|
333
|
+
jest.mock('scheduler', () => require('scheduler/unstable_mock'));
|
|
334
|
+
|
|
335
|
+
For more info, visit https://reactjs.org/link/mock-scheduler`))}function XO(r,i){return i*1e3+r.interactionThreadID}function Mw(r){Qv===null?Qv=[r]:Qv.push(r)}function I2(r,i,d){if(d.size>0){var v=r.pendingInteractionMap,x=v.get(i);x!=null?d.forEach(function(W){x.has(W)||W.__count++,x.add(W)}):(v.set(i,new Set(d)),d.forEach(function(W){W.__count++}));var E=o.__subscriberRef.current;if(E!==null){var M=XO(r,i);E.onWorkScheduled(d,M)}}}function xh(r,i){I2(r,i,o.__interactionsRef.current)}function F2(r,i){var d=new Set;if(r.pendingInteractionMap.forEach(function(E,M){Eo(i,M)&&E.forEach(function(W){return d.add(W)})}),r.memoizedInteractions=d,d.size>0){var v=o.__subscriberRef.current;if(v!==null){var x=XO(r,i);try{v.onWorkStarted(d,x)}catch(E){Hd(zl,function(){throw E})}}}}function j2(r,i){var d=r.pendingLanes,v;try{if(v=o.__subscriberRef.current,v!==null&&r.memoizedInteractions.size>0){var x=XO(r,i);v.onWorkStopped(r.memoizedInteractions,x)}}catch(M){Hd(zl,function(){throw M})}finally{var E=r.pendingInteractionMap;E.forEach(function(M,W){Eo(d,W)||(E.delete(W),M.forEach(function(Z){if(Z.__count--,v!==null&&Z.__count===0)try{v.onInteractionScheduledWorkCompleted(Z)}catch(be){Hd(zl,function(){throw be})}}))})}}function Ile(){return Fle>0}var Fle=0;function L2(r){r.sibling=null,r.stateNode=null}var Oc=null,cy=null,jle=function(r){Oc=r};function dy(r){{if(Oc===null)return r;var i=Oc(r);return i===void 0?r:i.current}}function QO(r){return dy(r)}function ZO(r){{if(Oc===null)return r;var i=Oc(r);if(i===void 0){if(r!=null&&typeof r.render=="function"){var d=dy(r.render);if(r.render!==d){var v={$$typeof:mo,render:d};return r.displayName!==void 0&&(v.displayName=r.displayName),v}}return r}return i.current}}function B2(r,i){{if(Oc===null)return!1;var d=r.elementType,v=i.type,x=!1,E=typeof v=="object"&&v!==null?v.$$typeof:null;switch(r.tag){case y:{typeof v=="function"&&(x=!0);break}case b:{(typeof v=="function"||E===wo)&&(x=!0);break}case L:{(E===mo||E===wo)&&(x=!0);break}case Q:case te:{(E===ea||E===wo)&&(x=!0);break}default:return!1}if(x){var M=Oc(d);if(M!==void 0&&M===Oc(v))return!0}return!1}}function V2(r){{if(Oc===null||typeof WeakSet!="function")return;cy===null&&(cy=new WeakSet),cy.add(r)}}var Lle=function(r,i){{if(Oc===null)return;var d=i.staleFamilies,v=i.updatedFamilies;Xd(),WO(function(){JO(r.current,v,d)})}},Ble=function(r,i){{if(r.context!==ll)return;Xd(),WO(function(){T0(i,r,null,null)})}};function JO(r,i,d){{var v=r.alternate,x=r.child,E=r.sibling,M=r.tag,W=r.type,Z=null;switch(M){case b:case te:case y:Z=W;break;case L:Z=W.render;break}if(Oc===null)throw new Error("Expected resolveFamily to be set during hot reload.");var be=!1,Re=!1;if(Z!==null){var nt=Oc(Z);nt!==void 0&&(d.has(nt)?Re=!0:i.has(nt)&&(M===y?Re=!0:be=!0))}cy!==null&&(cy.has(r)||v!==null&&cy.has(v))&&(Re=!0),Re&&(r._debugNeedsRemount=!0),(Re||be)&&Gs(r,no,uo),x!==null&&!Re&&JO(x,i,d),E!==null&&JO(E,i,d)}}var Vle=function(r,i){{var d=new Set,v=new Set(i.map(function(x){return x.current}));return eP(r.current,v,d),d}};function eP(r,i,d){{var v=r.child,x=r.sibling,E=r.tag,M=r.type,W=null;switch(E){case b:case te:case y:W=M;break;case L:W=M.render;break}var Z=!1;W!==null&&i.has(W)&&(Z=!0),Z?zle(r,d):v!==null&&eP(v,i,d),x!==null&&eP(x,i,d)}}function zle(r,i){{var d=Ule(r,i);if(d)return;for(var v=r;;){switch(v.tag){case P:i.add(v.stateNode);return;case O:i.add(v.stateNode.containerInfo);return;case w:i.add(v.stateNode.containerInfo);return}if(v.return===null)throw new Error("Expected to reach root first.");v=v.return}}}function Ule(r,i){for(var d=r,v=!1;;){if(d.tag===P)v=!0,i.add(d.stateNode);else if(d.child!==null){d.child.return=d,d=d.child;continue}if(d===r)return v;for(;d.sibling===null;){if(d.return===null||d.return===r)return v;d=d.return}d.sibling.return=d.return,d=d.sibling}return!1}var tP;{tP=!1;try{var z2=Object.preventExtensions({})}catch{tP=!0}}var Wle=1;function Hle(r,i,d,v){this.tag=r,this.key=d,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=i,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=v,this.flags=$o,this.nextEffect=null,this.firstEffect=null,this.lastEffect=null,this.lanes=Pt,this.childLanes=Pt,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugID=Wle++,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!tP&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Ou=function(r,i,d,v){return new Hle(r,i,d,v)};function nP(r){var i=r.prototype;return!!(i&&i.isReactComponent)}function Gle(r){return typeof r=="function"&&!nP(r)&&r.defaultProps===void 0}function qle(r){if(typeof r=="function")return nP(r)?y:b;if(r!=null){var i=r.$$typeof;if(i===mo)return L;if(i===ea)return Q}return C}function Jv(r,i){var d=r.alternate;d===null?(d=Ou(r.tag,i,r.key,r.mode),d.elementType=r.elementType,d.type=r.type,d.stateNode=r.stateNode,d._debugID=r._debugID,d._debugSource=r._debugSource,d._debugOwner=r._debugOwner,d._debugHookTypes=r._debugHookTypes,d.alternate=r,r.alternate=d):(d.pendingProps=i,d.type=r.type,d.flags=$o,d.nextEffect=null,d.firstEffect=null,d.lastEffect=null,d.actualDuration=0,d.actualStartTime=-1),d.childLanes=r.childLanes,d.lanes=r.lanes,d.child=r.child,d.memoizedProps=r.memoizedProps,d.memoizedState=r.memoizedState,d.updateQueue=r.updateQueue;var v=r.dependencies;switch(d.dependencies=v===null?null:{lanes:v.lanes,firstContext:v.firstContext},d.sibling=r.sibling,d.index=r.index,d.ref=r.ref,d.selfBaseDuration=r.selfBaseDuration,d.treeBaseDuration=r.treeBaseDuration,d._debugNeedsRemount=r._debugNeedsRemount,d.tag){case C:case b:case te:d.type=dy(r.type);break;case y:d.type=QO(r.type);break;case L:d.type=ZO(r.type);break}return d}function Yle(r,i){r.flags&=Ir,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null;var d=r.alternate;if(d===null)r.childLanes=Pt,r.lanes=i,r.child=null,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null,r.stateNode=null,r.selfBaseDuration=0,r.treeBaseDuration=0;else{r.childLanes=d.childLanes,r.lanes=d.lanes,r.child=d.child,r.memoizedProps=d.memoizedProps,r.memoizedState=d.memoizedState,r.updateQueue=d.updateQueue,r.type=d.type;var v=d.dependencies;r.dependencies=v===null?null:{lanes:v.lanes,firstContext:v.firstContext},r.selfBaseDuration=d.selfBaseDuration,r.treeBaseDuration=d.treeBaseDuration}return r}function Kle(r){var i;return r===Gg?i=tp|Us|Qi:r===SC?i=Us|Qi:i=Di,r_&&(i|=ul),Ou(w,null,null,i)}function rP(r,i,d,v,x,E){var M=C,W=r;if(typeof r=="function")nP(r)?(M=y,W=QO(W)):W=dy(W);else if(typeof r=="string")M=P;else e:switch(r){case No:return em(d.children,x,E,i);case Qt:M=j,x|=f_;break;case Ui:M=j,x|=Qi;break;case Zo:return Xle(d,x,E,i);case Oo:return Qle(d,x,E,i);case po:return Zle(d,x,E,i);case Fn:return iP(d,x,E,i);case tr:return Jle(d,x,E,i);case Ne:default:{if(typeof r=="object"&&r!==null)switch(r.$$typeof){case $i:M=H;break e;case $r:M=z;break e;case mo:M=L,W=ZO(W);break e;case ea:M=Q;break e;case wo:M=ue,W=null;break e;case ka:M=de;break e}var Z="";{(r===void 0||typeof r=="object"&&r!==null&&Object.keys(r).length===0)&&(Z+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var be=v?on(v.type):null;be&&(Z+=`
|
|
336
|
+
|
|
337
|
+
Check the render method of \``+be+"`.")}throw Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(r==null?r:typeof r)+"."+Z)}}var Re=Ou(M,d,i,x);return Re.elementType=r,Re.type=W,Re.lanes=E,Re._debugOwner=v,Re}function oP(r,i,d){var v=null;v=r._owner;var x=r.type,E=r.key,M=r.props,W=rP(x,E,M,v,i,d);return W._debugSource=r._source,W._debugOwner=r._owner,W}function em(r,i,d,v){var x=Ou(I,r,v,i);return x.lanes=d,x}function Xle(r,i,d,v){typeof r.id!="string"&&u('Profiler must specify an "id" as a prop');var x=Ou(U,r,v,i|ul);return x.elementType=Zo,x.type=Zo,x.lanes=d,x.stateNode={effectDuration:0,passiveEffectDuration:0},x}function Qle(r,i,d,v){var x=Ou(A,r,v,i);return x.type=Oo,x.elementType=Oo,x.lanes=d,x}function Zle(r,i,d,v){var x=Ou(xe,r,v,i);return x.type=po,x.elementType=po,x.lanes=d,x}function iP(r,i,d,v){var x=Ou(fe,r,v,i);return x.type=Fn,x.elementType=Fn,x.lanes=d,x}function Jle(r,i,d,v){var x=Ou(Se,r,v,i);return x.type=tr,x.elementType=tr,x.lanes=d,x}function aP(r,i,d){var v=Ou(D,r,null,i);return v.lanes=d,v}function eue(){var r=Ou(P,null,null,Di);return r.elementType="DELETED",r.type="DELETED",r}function sP(r,i,d){var v=r.children!==null?r.children:[],x=Ou(O,v,r.key,i);return x.lanes=d,x.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},x}function U2(r,i){return r===null&&(r=Ou(C,null,null,Di)),r.tag=i.tag,r.key=i.key,r.elementType=i.elementType,r.type=i.type,r.stateNode=i.stateNode,r.return=i.return,r.child=i.child,r.sibling=i.sibling,r.index=i.index,r.ref=i.ref,r.pendingProps=i.pendingProps,r.memoizedProps=i.memoizedProps,r.updateQueue=i.updateQueue,r.memoizedState=i.memoizedState,r.dependencies=i.dependencies,r.mode=i.mode,r.flags=i.flags,r.nextEffect=i.nextEffect,r.firstEffect=i.firstEffect,r.lastEffect=i.lastEffect,r.lanes=i.lanes,r.childLanes=i.childLanes,r.alternate=i.alternate,r.actualDuration=i.actualDuration,r.actualStartTime=i.actualStartTime,r.selfBaseDuration=i.selfBaseDuration,r.treeBaseDuration=i.treeBaseDuration,r._debugID=i._debugID,r._debugSource=i._debugSource,r._debugOwner=i._debugOwner,r._debugNeedsRemount=i._debugNeedsRemount,r._debugHookTypes=i._debugHookTypes,r}function tue(r,i,d){switch(this.tag=i,this.containerInfo=r,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=Ub,this.context=null,this.pendingContext=null,this.hydrate=d,this.callbackNode=null,this.callbackPriority=vu,this.eventTimes=Df(Pt),this.expirationTimes=Df(uo),this.pendingLanes=Pt,this.suspendedLanes=Pt,this.pingedLanes=Pt,this.expiredLanes=Pt,this.mutableReadLanes=Pt,this.finishedLanes=Pt,this.entangledLanes=Pt,this.entanglements=Df(Pt),this.mutableSourceEagerHydrationData=null,this.interactionThreadID=o.unstable_getThreadID(),this.memoizedInteractions=new Set,this.pendingInteractionMap=new Map,i){case SC:this._debugRootType="createBlockingRoot()";break;case Gg:this._debugRootType="createRoot()";break;case Qb:this._debugRootType="createLegacyRoot()";break}}function nue(r,i,d,v){var x=new tue(r,i,d),E=Kle(i);return x.current=E,E.stateNode=x,m_(E),x}function rue(r,i){var d=i._getVersion,v=d(i._source);r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[i,v]:r.mutableSourceEagerHydrationData.push(i,v)}function oue(r,i,d){var v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:oo,key:v==null?null:""+v,children:r,containerInfo:i,implementation:d}}var lP,uP;lP=!1,uP={};function iue(r){if(!r)return ll;var i=ys(r),d=n_(i);if(i.tag===y){var v=i.type;if(Sc(v))return bC(i,v,d)}return d}function aue(r,i){{var d=ys(r);if(d===void 0)throw typeof r.render=="function"?Error("Unable to find node on an unmounted component."):Error("Argument appears to not be a ReactComponent. Keys: "+Object.keys(r));var v=nl(d);if(v===null)return null;if(v.mode&Qi){var x=on(d.type)||"Component";if(!uP[x]){uP[x]=!0;var E=ni;try{Bo(v),d.mode&Qi?u("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",i,i,x):u("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",i,i,x)}finally{E?Bo(E):li()}}}return v.stateNode}}function sue(r,i,d,v){return nue(r,i,d)}function T0(r,i,d,v){Zb(i,r);var x=i.current,E=_u();typeof jest<"u"&&($le(x),M2(x));var M=yh(x),W=iue(d);i.context===null?i.context=W:i.pendingContext=W,Aa&&ni!==null&&!lP&&(lP=!0,u(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
338
|
+
|
|
339
|
+
Check the render method of %s.`,on(ni.type)||"Unknown"));var Z=ph(E,M);return Z.payload={element:r},v=v===void 0?null:v,v!==null&&(typeof v!="function"&&u("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",v),Z.callback=v),hh(x,Z),Gs(x,M,E),M}function cP(r){var i=r.current;if(!i.child)return null;switch(i.child.tag){case P:return i.child.stateNode;default:return i.child.stateNode}}function W2(r,i){var d=r.memoizedState;d!==null&&d.dehydrated!==null&&(d.retryLane=os(d.retryLane,i))}function dP(r,i){W2(r,i);var d=r.alternate;d&&W2(d,i)}function lue(r){if(r.tag===A){var i=_u(),d=Jc;Gs(r,d,i),dP(r,d)}}function uue(r){if(r.tag===A){var i=_u(),d=Ap;Gs(r,d,i),dP(r,d)}}function cue(r){if(r.tag===A){var i=_u(),d=yh(r);Gs(r,d,i),dP(r,d)}}function due(r,i){try{return i()}finally{}}function H2(r){var i=ev(r);return i===null?null:i.tag===Pe?i.stateNode.instance:i.stateNode}var G2=function(r){return!1};function fue(r){return G2(r)}var q2=null,Y2=null,K2=null,X2=null,Q2=null,Z2=null,J2=null,ej=null;{var tj=function(r,i,d){var v=i[d],x=Array.isArray(r)?r.slice():t({},r);return d+1===i.length?(Array.isArray(x)?x.splice(v,1):delete x[v],x):(x[v]=tj(r[v],i,d+1),x)},nj=function(r,i){return tj(r,i,0)},rj=function(r,i,d,v){var x=i[v],E=Array.isArray(r)?r.slice():t({},r);if(v+1===i.length){var M=d[v];E[M]=E[x],Array.isArray(E)?E.splice(x,1):delete E[x]}else E[x]=rj(r[x],i,d,v+1);return E},oj=function(r,i,d){if(i.length!==d.length){p("copyWithRename() expects paths of the same length");return}else for(var v=0;v<d.length-1;v++)if(i[v]!==d[v]){p("copyWithRename() expects paths to be the same except for the deepest key");return}return rj(r,i,d,0)},ij=function(r,i,d,v){if(d>=i.length)return v;var x=i[d],E=Array.isArray(r)?r.slice():t({},r);return E[x]=ij(r[x],i,d+1,v),E},aj=function(r,i,d){return ij(r,i,0,d)},fP=function(r,i){for(var d=r.memoizedState;d!==null&&i>0;)d=d.next,i--;return d};q2=function(r,i,d,v){var x=fP(r,i);if(x!==null){var E=aj(x.memoizedState,d,v);x.memoizedState=E,x.baseState=E,r.memoizedProps=t({},r.memoizedProps),Gs(r,no,uo)}},Y2=function(r,i,d){var v=fP(r,i);if(v!==null){var x=nj(v.memoizedState,d);v.memoizedState=x,v.baseState=x,r.memoizedProps=t({},r.memoizedProps),Gs(r,no,uo)}},K2=function(r,i,d,v){var x=fP(r,i);if(x!==null){var E=oj(x.memoizedState,d,v);x.memoizedState=E,x.baseState=E,r.memoizedProps=t({},r.memoizedProps),Gs(r,no,uo)}},X2=function(r,i,d){r.pendingProps=aj(r.memoizedProps,i,d),r.alternate&&(r.alternate.pendingProps=r.pendingProps),Gs(r,no,uo)},Q2=function(r,i){r.pendingProps=nj(r.memoizedProps,i),r.alternate&&(r.alternate.pendingProps=r.pendingProps),Gs(r,no,uo)},Z2=function(r,i,d){r.pendingProps=oj(r.memoizedProps,i,d),r.alternate&&(r.alternate.pendingProps=r.pendingProps),Gs(r,no,uo)},J2=function(r){Gs(r,no,uo)},ej=function(r){G2=r}}function pue(r){var i=nl(r);return i===null?null:i.stateNode}function hue(r){return null}function vue(){return ni}function mue(r){var i=r.findFiberByHostInstance,d=s.ReactCurrentDispatcher;return o_({bundleType:r.bundleType,version:r.version,rendererPackageName:r.rendererPackageName,rendererConfig:r.rendererConfig,overrideHookState:q2,overrideHookStateDeletePath:Y2,overrideHookStateRenamePath:K2,overrideProps:X2,overridePropsDeletePath:Q2,overridePropsRenamePath:Z2,setSuspenseHandler:ej,scheduleUpdate:J2,currentDispatcherRef:d,findHostInstanceByFiber:pue,findFiberByHostInstance:i||hue,findHostInstancesForRefresh:Vle,scheduleRefresh:Lle,scheduleRoot:Ble,setRefreshHandler:jle,getCurrentFiber:vue})}function pP(r,i,d){this._internalRoot=gue(r,i,d)}pP.prototype.render=function(r){var i=this._internalRoot;{typeof arguments[1]=="function"&&u("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var d=i.containerInfo;if(d.nodeType!==Sn){var v=H2(i.current);v&&v.parentNode!==d&&u("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}}T0(r,i,null,null)},pP.prototype.unmount=function(){typeof arguments[0]=="function"&&u("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var r=this._internalRoot,i=r.containerInfo;T0(null,r,null,function(){pC(i)})};function gue(r,i,d){var v=d!=null&&d.hydrate===!0;d!=null&&d.hydrationOptions;var x=d!=null&&d.hydrationOptions!=null&&d.hydrationOptions.mutableSources||null,E=sue(r,i,v);fC(E.current,r),r.nodeType;{var M=r.nodeType===Sn?r.parentNode:r;Bb(M)}if(x)for(var W=0;W<x.length;W++){var Z=x[W];rue(E,Z)}return E}function yue(r,i){return new pP(r,Qb,i)}function fy(r){return!!(r&&(r.nodeType===Dn||r.nodeType===qn||r.nodeType===to||r.nodeType===Sn&&r.nodeValue===" react-mount-point-unstable "))}var bue=s.ReactCurrentOwner,sj,lj=!1;sj=function(r){if(r._reactRootContainer&&r.nodeType!==Sn){var i=H2(r._reactRootContainer._internalRoot.current);i&&i.parentNode!==r&&u("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var d=!!r._reactRootContainer,v=Aw(r),x=!!(v&&zd(v));x&&!d&&u("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),r.nodeType===Dn&&r.tagName&&r.tagName.toUpperCase()==="BODY"&&u("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function Aw(r){return r?r.nodeType===qn?r.documentElement:r.firstChild:null}function xue(r){var i=Aw(r);return!!(i&&i.nodeType===Dn&&i.hasAttribute(xt))}function Sue(r,i){var d=i||xue(r);if(!d)for(var v=!1,x;x=r.lastChild;)!v&&x.nodeType===Dn&&x.hasAttribute(xt)&&(v=!0,u("render(): Target node has markup rendered by React, but there are unrelated nodes as well. This is most commonly caused by white-space inserted around server-rendered markup.")),r.removeChild(x);return d&&!i&&!lj&&(lj=!0,p("render(): Calling ReactDOM.render() to hydrate server-rendered markup will stop working in React v18. Replace the ReactDOM.render() call with ReactDOM.hydrate() if you want React to attach to the server HTML.")),yue(r,d?{hydrate:!0}:void 0)}function Cue(r,i){r!==null&&typeof r!="function"&&u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",i,r)}function $w(r,i,d,v,x){sj(d),Cue(x===void 0?null:x,"render");var E=d._reactRootContainer,M;if(E){if(M=E._internalRoot,typeof x=="function"){var Z=x;x=function(){var be=cP(M);Z.call(be)}}T0(i,M,r,x)}else{if(E=d._reactRootContainer=Sue(d,v),M=E._internalRoot,typeof x=="function"){var W=x;x=function(){var be=cP(M);W.call(be)}}w2(function(){T0(i,M,r,x)})}return cP(M)}function wue(r){{var i=bue.current;if(i!==null&&i.stateNode!==null){var d=i.stateNode._warnedAboutRefsInRender;d||u("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",on(i.type)||"A component"),i.stateNode._warnedAboutRefsInRender=!0}}return r==null?null:r.nodeType===Dn?r:aue(r,"findDOMNode")}function Rue(r,i,d){if(!fy(i))throw Error("Target container is not a DOM element.");{var v=Bg(i)&&i._reactRootContainer===void 0;v&&u("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOM.createRoot(). This is not supported. Did you mean to call createRoot(container, {hydrate: true}).render(element)?")}return $w(null,r,i,!0,d)}function Eue(r,i,d){if(!fy(i))throw Error("Target container is not a DOM element.");{var v=Bg(i)&&i._reactRootContainer===void 0;v&&u("You are calling ReactDOM.render() on a container that was previously passed to ReactDOM.createRoot(). This is not supported. Did you mean to call root.render(element)?")}return $w(null,r,i,!1,d)}function Tue(r,i,d,v){if(!fy(d))throw Error("Target container is not a DOM element.");if(!(r!=null&&hf(r)))throw Error("parentComponent must be a valid React Component");return $w(r,i,d,!1,v)}function _ue(r){if(!fy(r))throw Error("unmountComponentAtNode(...): Target container is not a DOM element.");{var i=Bg(r)&&r._reactRootContainer===void 0;i&&u("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOM.createRoot(). This is not supported. Did you mean to call root.unmount()?")}if(r._reactRootContainer){{var d=Aw(r),v=d&&!zd(d);v&&u("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.")}return w2(function(){$w(null,null,r,!1,function(){r._reactRootContainer=null,pC(r)})}),!0}else{{var x=Aw(r),E=!!(x&&zd(x)),M=r.nodeType===Dn&&fy(r.parentNode)&&!!r.parentNode._reactRootContainer;E&&u("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",M?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component.")}return!1}}Dp(lue),Zu(uue),Ed(cue),zc(due);var uj=!1;(typeof Map!="function"||Map.prototype==null||typeof Map.prototype.forEach!="function"||typeof Set!="function"||Set.prototype==null||typeof Set.prototype.clear!="function"||typeof Set.prototype.forEach!="function")&&u("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Yh(Yr),Ep(C2,ole,tle,rle);function cj(r,i){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!fy(i))throw Error("Target container is not a DOM element.");return oue(r,i,null,d)}function Oue(r,i,d,v){return Tue(r,i,d,v)}function Pue(r,i){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return uj||(uj=!0,p('The ReactDOM.unstable_createPortal() alias has been deprecated, and will be removed in React 18+. Update your code to use ReactDOM.createPortal() instead. It has the exact same API, but without the "unstable_" prefix.')),cj(r,i,d)}var Due={Events:[zd,Ru,Vg,Sd,wl,Xd,Nw]},kue=mue({findFiberByHostInstance:Jf,bundleType:1,version:MC,rendererPackageName:"react-dom"});if(!kue&&ze&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var dj=window.location.protocol;/^(https?|file):$/.test(dj)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+(dj==="file:"?`
|
|
340
|
+
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Kl.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Due,Kl.createPortal=cj,Kl.findDOMNode=wue,Kl.flushSync=WO,Kl.hydrate=Rue,Kl.render=Eue,Kl.unmountComponentAtNode=_ue,Kl.unstable_batchedUpdates=C2,Kl.unstable_createPortal=Pue,Kl.unstable_renderSubtreeIntoContainer=Oue,Kl.version=MC}()),Kl}function dk(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(dk)}catch(e){console.error(e)}}}process.env.NODE_ENV==="production"?(dk(),T1.exports=hz()):T1.exports=yz();var D1=T1.exports;const cx=nm(D1),fk={disabled:!1};var bz=process.env.NODE_ENV!=="production"?a.oneOfType([a.number,a.shape({enter:a.number,exit:a.number,appear:a.number}).isRequired]):null,xz=process.env.NODE_ENV!=="production"?a.oneOfType([a.string,a.shape({enter:a.string,exit:a.string,active:a.string}),a.shape({enter:a.string,enterDone:a.string,enterActive:a.string,exit:a.string,exitDone:a.string,exitActive:a.string})]):null;const dx=xa.createContext(null);var pk=function(t){return t.scrollTop},ky="unmounted",Th="exited",_h="entering",Sm="entered",k1="exiting",Xl=function(e){Dy(t,e);function t(o,s){var p;p=e.call(this,o,s)||this;var u=s,g=u&&!u.isMounting?o.enter:o.appear,b;return p.appearStatus=null,o.in?g?(b=Th,p.appearStatus=_h):b=Sm:o.unmountOnExit||o.mountOnEnter?b=ky:b=Th,p.state={status:b},p.nextCallback=null,p}t.getDerivedStateFromProps=function(s,p){var u=s.in;return u&&p.status===ky?{status:Th}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(s){var p=null;if(s!==this.props){var u=this.state.status;this.props.in?u!==_h&&u!==Sm&&(p=_h):(u===_h||u===Sm)&&(p=k1)}this.updateStatus(!1,p)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var s=this.props.timeout,p,u,g;return p=u=g=s,s!=null&&typeof s!="number"&&(p=s.exit,u=s.enter,g=s.appear!==void 0?s.appear:u),{exit:p,enter:u,appear:g}},n.updateStatus=function(s,p){if(s===void 0&&(s=!1),p!==null)if(this.cancelNextCallback(),p===_h){if(this.props.unmountOnExit||this.props.mountOnEnter){var u=this.props.nodeRef?this.props.nodeRef.current:cx.findDOMNode(this);u&&pk(u)}this.performEnter(s)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Th&&this.setState({status:ky})},n.performEnter=function(s){var p=this,u=this.props.enter,g=this.context?this.context.isMounting:s,b=this.props.nodeRef?[g]:[cx.findDOMNode(this),g],y=b[0],C=b[1],w=this.getTimeouts(),O=g?w.appear:w.enter;if(!s&&!u||fk.disabled){this.safeSetState({status:Sm},function(){p.props.onEntered(y)});return}this.props.onEnter(y,C),this.safeSetState({status:_h},function(){p.props.onEntering(y,C),p.onTransitionEnd(O,function(){p.safeSetState({status:Sm},function(){p.props.onEntered(y,C)})})})},n.performExit=function(){var s=this,p=this.props.exit,u=this.getTimeouts(),g=this.props.nodeRef?void 0:cx.findDOMNode(this);if(!p||fk.disabled){this.safeSetState({status:Th},function(){s.props.onExited(g)});return}this.props.onExit(g),this.safeSetState({status:k1},function(){s.props.onExiting(g),s.onTransitionEnd(u.exit,function(){s.safeSetState({status:Th},function(){s.props.onExited(g)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(s,p){p=this.setNextCallback(p),this.setState(s,p)},n.setNextCallback=function(s){var p=this,u=!0;return this.nextCallback=function(g){u&&(u=!1,p.nextCallback=null,s(g))},this.nextCallback.cancel=function(){u=!1},this.nextCallback},n.onTransitionEnd=function(s,p){this.setNextCallback(p);var u=this.props.nodeRef?this.props.nodeRef.current:cx.findDOMNode(this),g=s==null&&!this.props.addEndListener;if(!u||g){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var b=this.props.nodeRef?[this.nextCallback]:[u,this.nextCallback],y=b[0],C=b[1];this.props.addEndListener(y,C)}s!=null&&setTimeout(this.nextCallback,s)},n.render=function(){var s=this.state.status;if(s===ky)return null;var p=this.props,u=p.children;p.in,p.mountOnEnter,p.unmountOnExit,p.appear,p.enter,p.exit,p.timeout,p.addEndListener,p.onEnter,p.onEntering,p.onEntered,p.onExit,p.onExiting,p.onExited,p.nodeRef;var g=Ot(p,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return xa.createElement(dx.Provider,{value:null},typeof u=="function"?u(s,g):xa.cloneElement(xa.Children.only(u),g))},t}(xa.Component);Xl.contextType=dx,Xl.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:a.shape({current:typeof Element>"u"?a.any:function(e,t,n,o,s,p){var u=e[t];return a.instanceOf(u&&"ownerDocument"in u?u.ownerDocument.defaultView.Element:Element)(e,t,n,o,s,p)}}),children:a.oneOfType([a.func.isRequired,a.element.isRequired]).isRequired,in:a.bool,mountOnEnter:a.bool,unmountOnExit:a.bool,appear:a.bool,enter:a.bool,exit:a.bool,timeout:function(t){var n=bz;t.addEndListener||(n=n.isRequired);for(var o=arguments.length,s=new Array(o>1?o-1:0),p=1;p<o;p++)s[p-1]=arguments[p];return n.apply(void 0,[t].concat(s))},addEndListener:a.func,onEnter:a.func,onEntering:a.func,onEntered:a.func,onExit:a.func,onExiting:a.func,onExited:a.func}:{};function Cm(){}Xl.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Cm,onEntering:Cm,onEntered:Cm,onExit:Cm,onExiting:Cm,onExited:Cm},Xl.UNMOUNTED=ky,Xl.EXITED=Th,Xl.ENTERING=_h,Xl.ENTERED=Sm,Xl.EXITING=k1;var Sz=function(t,n){return t&&n&&n.split(" ").forEach(function(o){return cz(t,o)})},N1=function(t,n){return t&&n&&n.split(" ").forEach(function(o){return dz(t,o)})},M1=function(e){Dy(t,e);function t(){for(var o,s=arguments.length,p=new Array(s),u=0;u<s;u++)p[u]=arguments[u];return o=e.call.apply(e,[this].concat(p))||this,o.appliedClasses={appear:{},enter:{},exit:{}},o.onEnter=function(g,b){var y=o.resolveArguments(g,b),C=y[0],w=y[1];o.removeClasses(C,"exit"),o.addClass(C,w?"appear":"enter","base"),o.props.onEnter&&o.props.onEnter(g,b)},o.onEntering=function(g,b){var y=o.resolveArguments(g,b),C=y[0],w=y[1],O=w?"appear":"enter";o.addClass(C,O,"active"),o.props.onEntering&&o.props.onEntering(g,b)},o.onEntered=function(g,b){var y=o.resolveArguments(g,b),C=y[0],w=y[1],O=w?"appear":"enter";o.removeClasses(C,O),o.addClass(C,O,"done"),o.props.onEntered&&o.props.onEntered(g,b)},o.onExit=function(g){var b=o.resolveArguments(g),y=b[0];o.removeClasses(y,"appear"),o.removeClasses(y,"enter"),o.addClass(y,"exit","base"),o.props.onExit&&o.props.onExit(g)},o.onExiting=function(g){var b=o.resolveArguments(g),y=b[0];o.addClass(y,"exit","active"),o.props.onExiting&&o.props.onExiting(g)},o.onExited=function(g){var b=o.resolveArguments(g),y=b[0];o.removeClasses(y,"exit"),o.addClass(y,"exit","done"),o.props.onExited&&o.props.onExited(g)},o.resolveArguments=function(g,b){return o.props.nodeRef?[o.props.nodeRef.current,g]:[g,b]},o.getClassNames=function(g){var b=o.props.classNames,y=typeof b=="string",C=y&&b?b+"-":"",w=y?""+C+g:b[g],O=y?w+"-active":b[g+"Active"],P=y?w+"-done":b[g+"Done"];return{baseClassName:w,activeClassName:O,doneClassName:P}},o}var n=t.prototype;return n.addClass=function(s,p,u){var g=this.getClassNames(p)[u+"ClassName"],b=this.getClassNames("enter"),y=b.doneClassName;p==="appear"&&u==="done"&&y&&(g+=" "+y),u==="active"&&s&&pk(s),g&&(this.appliedClasses[p][u]=g,Sz(s,g))},n.removeClasses=function(s,p){var u=this.appliedClasses[p],g=u.base,b=u.active,y=u.done;this.appliedClasses[p]={},g&&N1(s,g),b&&N1(s,b),y&&N1(s,y)},n.render=function(){var s=this.props;s.classNames;var p=Ot(s,["classNames"]);return xa.createElement(Xl,V({},p,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(xa.Component);M1.defaultProps={classNames:""},M1.propTypes=process.env.NODE_ENV!=="production"?V({},Xl.propTypes,{classNames:xz,onEnter:a.func,onEntering:a.func,onEntered:a.func,onExit:a.func,onExiting:a.func,onExited:a.func}):{};function A1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $1(e,t){var n=function(p){return t&&$.isValidElement(p)?t(p):p},o=Object.create(null);return e&&$.Children.map(e,function(s){return s}).forEach(function(s){o[s.key]=n(s)}),o}function Cz(e,t){e=e||{},t=t||{};function n(C){return C in t?t[C]:e[C]}var o=Object.create(null),s=[];for(var p in e)p in t?s.length&&(o[p]=s,s=[]):s.push(p);var u,g={};for(var b in t){if(o[b])for(u=0;u<o[b].length;u++){var y=o[b][u];g[o[b][u]]=n(y)}g[b]=n(b)}for(u=0;u<s.length;u++)g[s[u]]=n(s[u]);return g}function Oh(e,t,n){return n[t]!=null?n[t]:e.props[t]}function wz(e,t){return $1(e.children,function(n){return $.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:Oh(n,"appear",e),enter:Oh(n,"enter",e),exit:Oh(n,"exit",e)})})}function Rz(e,t,n){var o=$1(e.children),s=Cz(t,o);return Object.keys(s).forEach(function(p){var u=s[p];if($.isValidElement(u)){var g=p in t,b=p in o,y=t[p],C=$.isValidElement(y)&&!y.props.in;b&&(!g||C)?s[p]=$.cloneElement(u,{onExited:n.bind(null,u),in:!0,exit:Oh(u,"exit",e),enter:Oh(u,"enter",e)}):!b&&g&&!C?s[p]=$.cloneElement(u,{in:!1}):b&&g&&$.isValidElement(y)&&(s[p]=$.cloneElement(u,{onExited:n.bind(null,u),in:y.props.in,exit:Oh(u,"exit",e),enter:Oh(u,"enter",e)}))}}),s}var Ez=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Tz={component:"div",childFactory:function(t){return t}},Ny=function(e){Dy(t,e);function t(o,s){var p;p=e.call(this,o,s)||this;var u=p.handleExited.bind(A1(p));return p.state={contextValue:{isMounting:!0},handleExited:u,firstRender:!0},p}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(s,p){var u=p.children,g=p.handleExited,b=p.firstRender;return{children:b?wz(s,g):Rz(s,u,g),firstRender:!1}},n.handleExited=function(s,p){var u=$1(this.props.children);s.key in u||(s.props.onExited&&s.props.onExited(p),this.mounted&&this.setState(function(g){var b=V({},g.children);return delete b[s.key],{children:b}}))},n.render=function(){var s=this.props,p=s.component,u=s.childFactory,g=Ot(s,["component","childFactory"]),b=this.state.contextValue,y=Ez(this.state.children).map(u);return delete g.appear,delete g.enter,delete g.exit,p===null?xa.createElement(dx.Provider,{value:b},y):xa.createElement(dx.Provider,{value:b},xa.createElement(p,g,y))},t}(xa.Component);Ny.propTypes=process.env.NODE_ENV!=="production"?{component:a.any,children:a.node,appear:a.bool,enter:a.bool,exit:a.bool,childFactory:a.func}:{},Ny.defaultProps=Tz;function hk(e){const{className:t,classes:n,pulsate:o=!1,rippleX:s,rippleY:p,rippleSize:u,in:g,onExited:b,timeout:y}=e,[C,w]=$.useState(!1),O=tn(t,n.ripple,n.rippleVisible,o&&n.ripplePulsate),P={width:u,height:u,top:-(u/2)+p,left:-(u/2)+s},D=tn(n.child,C&&n.childLeaving,o&&n.childPulsate);return!g&&!C&&w(!0),$.useEffect(()=>{if(!g&&b!=null){const I=setTimeout(b,y);return()=>{clearTimeout(I)}}},[b,g,y]),B.jsx("span",{className:O,style:P,children:B.jsx("span",{className:D})})}process.env.NODE_ENV!=="production"&&(hk.propTypes={classes:a.object.isRequired,className:a.string,in:a.bool,onExited:a.func,pulsate:a.bool,rippleSize:a.number,rippleX:a.number,rippleY:a.number,timeout:a.number.isRequired});const Mu=Bn("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),_z=["center","classes","className"];let fx=e=>e,vk,mk,gk,yk;const I1=550,Oz=80,Pz=Sy(vk||(vk=fx`
|
|
341
|
+
0% {
|
|
342
|
+
transform: scale(0);
|
|
343
|
+
opacity: 0.1;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
100% {
|
|
347
|
+
transform: scale(1);
|
|
348
|
+
opacity: 0.3;
|
|
349
|
+
}
|
|
350
|
+
`)),Dz=Sy(mk||(mk=fx`
|
|
351
|
+
0% {
|
|
352
|
+
opacity: 1;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
100% {
|
|
356
|
+
opacity: 0;
|
|
357
|
+
}
|
|
358
|
+
`)),kz=Sy(gk||(gk=fx`
|
|
359
|
+
0% {
|
|
360
|
+
transform: scale(1);
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
50% {
|
|
364
|
+
transform: scale(0.92);
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
100% {
|
|
368
|
+
transform: scale(1);
|
|
369
|
+
}
|
|
370
|
+
`)),Nz=mt("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Mz=mt(hk,{name:"MuiTouchRipple",slot:"Ripple"})(yk||(yk=fx`
|
|
371
|
+
opacity: 0;
|
|
372
|
+
position: absolute;
|
|
373
|
+
|
|
374
|
+
&.${0} {
|
|
375
|
+
opacity: 0.3;
|
|
376
|
+
transform: scale(1);
|
|
377
|
+
animation-name: ${0};
|
|
378
|
+
animation-duration: ${0}ms;
|
|
379
|
+
animation-timing-function: ${0};
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
&.${0} {
|
|
383
|
+
animation-duration: ${0}ms;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
& .${0} {
|
|
387
|
+
opacity: 1;
|
|
388
|
+
display: block;
|
|
389
|
+
width: 100%;
|
|
390
|
+
height: 100%;
|
|
391
|
+
border-radius: 50%;
|
|
392
|
+
background-color: currentColor;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
& .${0} {
|
|
396
|
+
opacity: 0;
|
|
397
|
+
animation-name: ${0};
|
|
398
|
+
animation-duration: ${0}ms;
|
|
399
|
+
animation-timing-function: ${0};
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
& .${0} {
|
|
403
|
+
position: absolute;
|
|
404
|
+
/* @noflip */
|
|
405
|
+
left: 0px;
|
|
406
|
+
top: 0;
|
|
407
|
+
animation-name: ${0};
|
|
408
|
+
animation-duration: 2500ms;
|
|
409
|
+
animation-timing-function: ${0};
|
|
410
|
+
animation-iteration-count: infinite;
|
|
411
|
+
animation-delay: 200ms;
|
|
412
|
+
}
|
|
413
|
+
`),Mu.rippleVisible,Pz,I1,({theme:e})=>e.transitions.easing.easeInOut,Mu.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Mu.child,Mu.childLeaving,Dz,I1,({theme:e})=>e.transitions.easing.easeInOut,Mu.childPulsate,kz,({theme:e})=>e.transitions.easing.easeInOut),bk=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiTouchRipple"}),{center:s=!1,classes:p={},className:u}=o,g=Ot(o,_z),[b,y]=$.useState([]),C=$.useRef(0),w=$.useRef(null);$.useEffect(()=>{w.current&&(w.current(),w.current=null)},[b]);const O=$.useRef(!1),P=wh(),D=$.useRef(null),I=$.useRef(null),j=$.useCallback(U=>{const{pulsate:A,rippleX:Q,rippleY:te,rippleSize:ue,cb:ae}=U;y(pe=>[...pe,B.jsx(Mz,{classes:{ripple:tn(p.ripple,Mu.ripple),rippleVisible:tn(p.rippleVisible,Mu.rippleVisible),ripplePulsate:tn(p.ripplePulsate,Mu.ripplePulsate),child:tn(p.child,Mu.child),childLeaving:tn(p.childLeaving,Mu.childLeaving),childPulsate:tn(p.childPulsate,Mu.childPulsate)},timeout:I1,pulsate:A,rippleX:Q,rippleY:te,rippleSize:ue},C.current)]),C.current+=1,w.current=ae},[p]),z=$.useCallback((U={},A={},Q=()=>{})=>{const{pulsate:te=!1,center:ue=s||A.pulsate,fakeElement:ae=!1}=A;if((U==null?void 0:U.type)==="mousedown"&&O.current){O.current=!1;return}(U==null?void 0:U.type)==="touchstart"&&(O.current=!0);const pe=ae?null:I.current,xe=pe?pe.getBoundingClientRect():{width:0,height:0,left:0,top:0};let Pe,ye,de;if(ue||U===void 0||U.clientX===0&&U.clientY===0||!U.clientX&&!U.touches)Pe=Math.round(xe.width/2),ye=Math.round(xe.height/2);else{const{clientX:fe,clientY:Se}=U.touches&&U.touches.length>0?U.touches[0]:U;Pe=Math.round(fe-xe.left),ye=Math.round(Se-xe.top)}if(ue)de=Math.sqrt((2*xe.width**2+xe.height**2)/3),de%2===0&&(de+=1);else{const fe=Math.max(Math.abs((pe?pe.clientWidth:0)-Pe),Pe)*2+2,Se=Math.max(Math.abs((pe?pe.clientHeight:0)-ye),ye)*2+2;de=Math.sqrt(fe**2+Se**2)}U!=null&&U.touches?D.current===null&&(D.current=()=>{j({pulsate:te,rippleX:Pe,rippleY:ye,rippleSize:de,cb:Q})},P.start(Oz,()=>{D.current&&(D.current(),D.current=null)})):j({pulsate:te,rippleX:Pe,rippleY:ye,rippleSize:de,cb:Q})},[s,j,P]),H=$.useCallback(()=>{z({},{pulsate:!0})},[z]),L=$.useCallback((U,A)=>{if(P.clear(),(U==null?void 0:U.type)==="touchend"&&D.current){D.current(),D.current=null,P.start(0,()=>{L(U,A)});return}D.current=null,y(Q=>Q.length>0?Q.slice(1):Q),w.current=A},[P]);return $.useImperativeHandle(n,()=>({pulsate:H,start:z,stop:L}),[H,z,L]),B.jsx(Nz,V({className:tn(Mu.root,p.root,u),ref:I},g,{children:B.jsx(Ny,{component:null,exit:!0,children:b})}))});process.env.NODE_ENV!=="production"&&(bk.propTypes={center:a.bool,classes:a.object,className:a.string});function Az(e){return Wn("MuiButtonBase",e)}const $z=Bn("MuiButtonBase",["root","disabled","focusVisible"]),Iz=["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"],Fz=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:o,classes:s}=e,u=Un({root:["root",t&&"disabled",n&&"focusVisible"]},Az,s);return n&&o&&(u.root+=` ${o}`),u},jz=mt("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"},[`&.${$z.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),vd=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiButtonBase"}),{action:s,centerRipple:p=!1,children:u,className:g,component:b="button",disabled:y=!1,disableRipple:C=!1,disableTouchRipple:w=!1,focusRipple:O=!1,LinkComponent:P="a",onBlur:D,onClick:I,onContextMenu:j,onDragLeave:z,onFocus:H,onFocusVisible:L,onKeyDown:U,onKeyUp:A,onMouseDown:Q,onMouseLeave:te,onMouseUp:ue,onTouchEnd:ae,onTouchMove:pe,onTouchStart:xe,tabIndex:Pe=0,TouchRippleProps:ye,touchRippleRef:de,type:fe}=o,Se=Ot(o,Iz),re=$.useRef(null),ce=$.useRef(null),ke=qo(ce,de),{isFocusVisibleRef:Ce,onFocus:ge,onBlur:Me,ref:Le}=k0(),[Oe,Ve]=$.useState(!1);y&&Oe&&Ve(!1),$.useImperativeHandle(s,()=>({focusVisible:()=>{Ve(!0),re.current.focus()}}),[]);const[ze,We]=$.useState(!1);$.useEffect(()=>{We(!0)},[]);const Ye=ze&&!C&&!y;$.useEffect(()=>{Oe&&O&&!C&&ze&&ce.current.pulsate()},[C,O,Oe,ze]);function ot(xn,Or,Vt=w){return ir(Xt=>(Or&&Or(Xt),!Vt&&ce.current&&ce.current[xn](Xt),!0))}const yt=ot("start",Q),Ze=ot("stop",j),Te=ot("stop",z),tt=ot("stop",ue),Ge=ot("stop",xn=>{Oe&&xn.preventDefault(),te&&te(xn)}),et=ot("start",xe),xt=ot("stop",ae),Yt=ot("stop",pe),_t=ot("stop",xn=>{Me(xn),Ce.current===!1&&Ve(!1),D&&D(xn)},!1),Jt=ir(xn=>{re.current||(re.current=xn.currentTarget),ge(xn),Ce.current===!0&&(Ve(!0),L&&L(xn)),H&&H(xn)}),rt=()=>{const xn=re.current;return b&&b!=="button"&&!(xn.tagName==="A"&&xn.href)},ut=$.useRef(!1),Kt=ir(xn=>{O&&!ut.current&&Oe&&ce.current&&xn.key===" "&&(ut.current=!0,ce.current.stop(xn,()=>{ce.current.start(xn)})),xn.target===xn.currentTarget&&rt()&&xn.key===" "&&xn.preventDefault(),U&&U(xn),xn.target===xn.currentTarget&&rt()&&xn.key==="Enter"&&!y&&(xn.preventDefault(),I&&I(xn))}),En=ir(xn=>{O&&xn.key===" "&&ce.current&&Oe&&!xn.defaultPrevented&&(ut.current=!1,ce.current.stop(xn,()=>{ce.current.pulsate(xn)})),A&&A(xn),I&&xn.target===xn.currentTarget&&rt()&&xn.key===" "&&!xn.defaultPrevented&&I(xn)});let yn=b;yn==="button"&&(Se.href||Se.to)&&(yn=P);const Hn={};yn==="button"?(Hn.type=fe===void 0?"button":fe,Hn.disabled=y):(!Se.href&&!Se.to&&(Hn.role="button"),y&&(Hn["aria-disabled"]=y));const sr=qo(n,Le,re);process.env.NODE_ENV!=="production"&&$.useEffect(()=>{Ye&&!ce.current&&console.error(["MUI: The `component` prop provided to ButtonBase is invalid.","Please make sure the children prop is rendered in this custom component."].join(`
|
|
414
|
+
`))},[Ye]);const Kn=V({},o,{centerRipple:p,component:b,disabled:y,disableRipple:C,disableTouchRipple:w,focusRipple:O,tabIndex:Pe,focusVisible:Oe}),Gn=Fz(Kn);return B.jsxs(jz,V({as:yn,className:tn(Gn.root,g),ownerState:Kn,onBlur:_t,onClick:I,onContextMenu:Ze,onFocus:Jt,onKeyDown:Kt,onKeyUp:En,onMouseDown:yt,onMouseLeave:Ge,onMouseUp:tt,onDragLeave:Te,onTouchEnd:xt,onTouchMove:Yt,onTouchStart:et,ref:sr,tabIndex:y?-1:Pe,type:fe},Hn,Se,{children:[u,Ye?B.jsx(bk,V({ref:ke,center:p},ye)):null]}))});process.env.NODE_ENV!=="production"&&(vd.propTypes={action:qs,centerRipple:a.bool,children:a.node,classes:a.object,className:a.string,component:im,disabled:a.bool,disableRipple:a.bool,disableTouchRipple:a.bool,focusRipple:a.bool,focusVisibleClassName:a.string,href:a.any,LinkComponent:a.elementType,onBlur:a.func,onClick:a.func,onContextMenu:a.func,onDragLeave:a.func,onFocus:a.func,onFocusVisible:a.func,onKeyDown:a.func,onKeyUp:a.func,onMouseDown:a.func,onMouseLeave:a.func,onMouseUp:a.func,onTouchEnd:a.func,onTouchMove:a.func,onTouchStart:a.func,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),tabIndex:a.number,TouchRippleProps:a.object,touchRippleRef:a.oneOfType([a.func,a.shape({current:a.shape({pulsate:a.func.isRequired,start:a.func.isRequired,stop:a.func.isRequired})})]),type:a.oneOfType([a.oneOf(["button","reset","submit"]),a.string])});function Lz(e){return Wn("MuiButton",e)}const px=Bn("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),xk=$.createContext({});process.env.NODE_ENV!=="production"&&(xk.displayName="ButtonGroupContext");const Sk=$.createContext(void 0);process.env.NODE_ENV!=="production"&&(Sk.displayName="ButtonGroupButtonContext");const Bz=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Vz=e=>{const{color:t,disableElevation:n,fullWidth:o,size:s,variant:p,classes:u}=e,g={root:["root",p,`${p}${Ft(t)}`,`size${Ft(s)}`,`${p}Size${Ft(s)}`,t==="inherit"&&"colorInherit",n&&"disableElevation",o&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${Ft(s)}`],endIcon:["endIcon",`iconSize${Ft(s)}`]},b=Un(g,Lz,u);return V({},u,b)},Ck=e=>V({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),zz=mt(vd,{shouldForwardProp:e=>Nu(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Ft(n.color)}`],t[`size${Ft(n.size)}`],t[`${n.variant}Size${Ft(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,o;const s=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],p=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return V({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":V({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Br(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Br(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Br(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:p,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":V({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${px.focusVisible}`]:V({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${px.disabled}`]:V({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Br(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(o=e.palette).getContrastText)==null?void 0:n.call(o,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:s,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${px.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${px.disabled}`]:{boxShadow:"none"}}),Uz=mt("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Ft(n.size)}`]]}})(({ownerState:e})=>V({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},Ck(e))),Wz=mt("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Ft(n.size)}`]]}})(({ownerState:e})=>V({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},Ck(e))),nf=$.forwardRef(function(t,n){const o=$.useContext(xk),s=$.useContext(Sk),p=t1(o,t),u=An({props:p,name:"MuiButton"}),{children:g,color:b="primary",component:y="button",className:C,disabled:w=!1,disableElevation:O=!1,disableFocusRipple:P=!1,endIcon:D,focusVisibleClassName:I,fullWidth:j=!1,size:z="medium",startIcon:H,type:L,variant:U="text"}=u,A=Ot(u,Bz),Q=V({},u,{color:b,component:y,disabled:w,disableElevation:O,disableFocusRipple:P,fullWidth:j,size:z,type:L,variant:U}),te=Vz(Q),ue=H&&B.jsx(Uz,{className:te.startIcon,ownerState:Q,children:H}),ae=D&&B.jsx(Wz,{className:te.endIcon,ownerState:Q,children:D}),pe=s||"";return B.jsxs(zz,V({ownerState:Q,className:tn(o.className,te.root,C,pe),component:y,disabled:w,focusRipple:!P,focusVisibleClassName:tn(te.focusVisible,I),ref:n,type:L},A,{classes:te,children:[ue,g,ae]}))});process.env.NODE_ENV!=="production"&&(nf.propTypes={children:a.node,classes:a.object,className:a.string,color:a.oneOfType([a.oneOf(["inherit","primary","secondary","success","error","info","warning"]),a.string]),component:a.elementType,disabled:a.bool,disableElevation:a.bool,disableFocusRipple:a.bool,disableRipple:a.bool,endIcon:a.node,focusVisibleClassName:a.string,fullWidth:a.bool,href:a.string,size:a.oneOfType([a.oneOf(["small","medium","large"]),a.string]),startIcon:a.node,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),type:a.oneOfType([a.oneOf(["button","reset","submit"]),a.string]),variant:a.oneOfType([a.oneOf(["contained","outlined","text"]),a.string])});function Hz(e){return Wn("MuiCircularProgress",e)}Bn("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Gz=["className","color","disableShrink","size","style","thickness","value","variant"];let hx=e=>e,wk,Rk,Ek,Tk;const dp=44,qz=Sy(wk||(wk=hx`
|
|
415
|
+
0% {
|
|
416
|
+
transform: rotate(0deg);
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
100% {
|
|
420
|
+
transform: rotate(360deg);
|
|
421
|
+
}
|
|
422
|
+
`)),Yz=Sy(Rk||(Rk=hx`
|
|
423
|
+
0% {
|
|
424
|
+
stroke-dasharray: 1px, 200px;
|
|
425
|
+
stroke-dashoffset: 0;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
50% {
|
|
429
|
+
stroke-dasharray: 100px, 200px;
|
|
430
|
+
stroke-dashoffset: -15px;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
100% {
|
|
434
|
+
stroke-dasharray: 100px, 200px;
|
|
435
|
+
stroke-dashoffset: -125px;
|
|
436
|
+
}
|
|
437
|
+
`)),Kz=e=>{const{classes:t,variant:n,color:o,disableShrink:s}=e,p={root:["root",n,`color${Ft(o)}`],svg:["svg"],circle:["circle",`circle${Ft(n)}`,s&&"circleDisableShrink"]};return Un(p,Hz,t)},Xz=mt("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Ft(n.color)}`]]}})(({ownerState:e,theme:t})=>V({display:"inline-block"},e.variant==="determinate"&&{transition:t.transitions.create("transform")},e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>e.variant==="indeterminate"&&g1(Ek||(Ek=hx`
|
|
438
|
+
animation: ${0} 1.4s linear infinite;
|
|
439
|
+
`),qz)),Qz=mt("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),Zz=mt("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${Ft(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>V({stroke:"currentColor"},e.variant==="determinate"&&{transition:t.transitions.create("stroke-dashoffset")},e.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink&&g1(Tk||(Tk=hx`
|
|
440
|
+
animation: ${0} 1.4s ease-in-out infinite;
|
|
441
|
+
`),Yz)),vx=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiCircularProgress"}),{className:s,color:p="primary",disableShrink:u=!1,size:g=40,style:b,thickness:y=3.6,value:C=0,variant:w="indeterminate"}=o,O=Ot(o,Gz),P=V({},o,{color:p,disableShrink:u,size:g,thickness:y,value:C,variant:w}),D=Kz(P),I={},j={},z={};if(w==="determinate"){const H=2*Math.PI*((dp-y)/2);I.strokeDasharray=H.toFixed(3),z["aria-valuenow"]=Math.round(C),I.strokeDashoffset=`${((100-C)/100*H).toFixed(3)}px`,j.transform="rotate(-90deg)"}return B.jsx(Xz,V({className:tn(D.root,s),style:V({width:g,height:g},j,b),ownerState:P,ref:n,role:"progressbar"},z,O,{children:B.jsx(Qz,{className:D.svg,ownerState:P,viewBox:`${dp/2} ${dp/2} ${dp} ${dp}`,children:B.jsx(Zz,{className:D.circle,style:I,ownerState:P,cx:dp,cy:dp,r:(dp-y)/2,fill:"none",strokeWidth:y})})}))});process.env.NODE_ENV!=="production"&&(vx.propTypes={classes:a.object,className:a.string,color:a.oneOfType([a.oneOf(["inherit","primary","secondary","error","info","success","warning"]),a.string]),disableShrink:Jd(a.bool,e=>e.disableShrink&&e.variant&&e.variant!=="indeterminate"?new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),size:a.oneOfType([a.number,a.string]),style:a.object,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),thickness:a.number,value:a.number,variant:a.oneOf(["determinate","indeterminate"])});var _k=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},My=(typeof window>"u"?"undefined":_k(window))==="object"&&(typeof document>"u"?"undefined":_k(document))==="object"&&document.nodeType===9,Jz=process.env.NODE_ENV==="production";function Au(e,t){if(!Jz){var n="Warning: "+t;typeof console<"u"&&console.warn(n);try{throw Error(n)}catch{}}}function Ph(e){"@babel/helpers - typeof";return Ph=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ph(e)}function eU(e,t){if(Ph(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var o=n.call(e,t);if(Ph(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function tU(e){var t=eU(e,"string");return Ph(t)=="symbol"?t:String(t)}function nU(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,tU(o.key),o)}}function Ok(e,t,n){return t&&nU(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}var rU={}.constructor;function F1(e){if(e==null||typeof e!="object")return e;if(Array.isArray(e))return e.map(F1);if(e.constructor!==rU)return e;var t={};for(var n in e)t[n]=F1(e[n]);return t}function j1(e,t,n){e===void 0&&(e="unnamed");var o=n.jss,s=F1(t),p=o.plugins.onCreateRule(e,s,n);return p||(e[0]==="@"&&process.env.NODE_ENV!=="production"&&Au(!1,"[JSS] Unknown rule "+e),null)}var Pk=function(t,n){for(var o="",s=0;s<t.length&&t[s]!=="!important";s++)o&&(o+=n),o+=t[s];return o},Dh=function(t){if(!Array.isArray(t))return t;var n="";if(Array.isArray(t[0]))for(var o=0;o<t.length&&t[o]!=="!important";o++)n&&(n+=", "),n+=Pk(t[o]," ");else n=Pk(t,", ");return t[t.length-1]==="!important"&&(n+=" !important"),n};function wm(e){return e&&e.format===!1?{linebreak:"",space:""}:{linebreak:`
|
|
442
|
+
`,space:" "}}function Ay(e,t){for(var n="",o=0;o<t;o++)n+=" ";return n+e}function $y(e,t,n){n===void 0&&(n={});var o="";if(!t)return o;var s=n,p=s.indent,u=p===void 0?0:p,g=t.fallbacks;n.format===!1&&(u=-1/0);var b=wm(n),y=b.linebreak,C=b.space;if(e&&u++,g)if(Array.isArray(g))for(var w=0;w<g.length;w++){var O=g[w];for(var P in O){var D=O[P];D!=null&&(o&&(o+=y),o+=Ay(P+":"+C+Dh(D)+";",u))}}else for(var I in g){var j=g[I];j!=null&&(o&&(o+=y),o+=Ay(I+":"+C+Dh(j)+";",u))}for(var z in t){var H=t[z];H!=null&&z!=="fallbacks"&&(o&&(o+=y),o+=Ay(z+":"+C+Dh(H)+";",u))}return!o&&!n.allowEmpty||!e?o:(u--,o&&(o=""+y+o+y),Ay(""+e+C+"{"+o,u)+Ay("}",u))}var oU=/([[\].#*$><+~=|^:(),"'`\s])/g,Dk=typeof CSS<"u"&&CSS.escape,L1=function(e){return Dk?Dk(e):e.replace(oU,"\\$1")},kk=function(){function e(n,o,s){this.type="style",this.isProcessed=!1;var p=s.sheet,u=s.Renderer;this.key=n,this.options=s,this.style=o,p?this.renderer=p.renderer:u&&(this.renderer=new u)}var t=e.prototype;return t.prop=function(o,s,p){if(s===void 0)return this.style[o];var u=p?p.force:!1;if(!u&&this.style[o]===s)return this;var g=s;(!p||p.process!==!1)&&(g=this.options.jss.plugins.onChangeValue(s,o,this));var b=g==null||g===!1,y=o in this.style;if(b&&!y&&!u)return this;var C=b&&y;if(C?delete this.style[o]:this.style[o]=g,this.renderable&&this.renderer)return C?this.renderer.removeProperty(this.renderable,o):this.renderer.setProperty(this.renderable,o,g),this;var w=this.options.sheet;return w&&w.attached&&process.env.NODE_ENV!=="production"&&Au(!1,'[JSS] Rule is not linked. Missing sheet option "link: true".'),this},e}(),B1=function(e){Dy(t,e);function t(o,s,p){var u;u=e.call(this,o,s,p)||this;var g=p.selector,b=p.scoped,y=p.sheet,C=p.generateId;return g?u.selectorText=g:b!==!1&&(u.id=C(A1(A1(u)),y),u.selectorText="."+L1(u.id)),u}var n=t.prototype;return n.applyTo=function(s){var p=this.renderer;if(p){var u=this.toJSON();for(var g in u)p.setProperty(s,g,u[g])}return this},n.toJSON=function(){var s={};for(var p in this.style){var u=this.style[p];typeof u!="object"?s[p]=u:Array.isArray(u)&&(s[p]=Dh(u))}return s},n.toString=function(s){var p=this.options.sheet,u=p?p.options.link:!1,g=u?V({},s,{allowEmpty:!0}):s;return $y(this.selectorText,this.style,g)},Ok(t,[{key:"selector",set:function(s){if(s!==this.selectorText){this.selectorText=s;var p=this.renderer,u=this.renderable;if(!(!u||!p)){var g=p.setSelector(u,s);g||p.replaceRule(u,this)}}},get:function(){return this.selectorText}}]),t}(kk),iU={onCreateRule:function(t,n,o){return t[0]==="@"||o.parent&&o.parent.type==="keyframes"?null:new B1(t,n,o)}},V1={indent:1,children:!0},aU=/@([\w-]+)/,sU=function(){function e(n,o,s){this.type="conditional",this.isProcessed=!1,this.key=n;var p=n.match(aU);this.at=p?p[1]:"unknown",this.query=s.name||"@"+this.at,this.options=s,this.rules=new mx(V({},s,{parent:this}));for(var u in o)this.rules.add(u,o[u]);this.rules.process()}var t=e.prototype;return t.getRule=function(o){return this.rules.get(o)},t.indexOf=function(o){return this.rules.indexOf(o)},t.addRule=function(o,s,p){var u=this.rules.add(o,s,p);return u?(this.options.jss.plugins.onProcessRule(u),u):null},t.replaceRule=function(o,s,p){var u=this.rules.replace(o,s,p);return u&&this.options.jss.plugins.onProcessRule(u),u},t.toString=function(o){o===void 0&&(o=V1);var s=wm(o),p=s.linebreak;if(o.indent==null&&(o.indent=V1.indent),o.children==null&&(o.children=V1.children),o.children===!1)return this.query+" {}";var u=this.rules.toString(o);return u?this.query+" {"+p+u+p+"}":""},e}(),lU=/@container|@media|@supports\s+/,uU={onCreateRule:function(t,n,o){return lU.test(t)?new sU(t,n,o):null}},z1={indent:1,children:!0},cU=/@keyframes\s+([\w-]+)/,U1=function(){function e(n,o,s){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var p=n.match(cU);p&&p[1]?this.name=p[1]:(this.name="noname",process.env.NODE_ENV!=="production"&&Au(!1,"[JSS] Bad keyframes name "+n)),this.key=this.type+"-"+this.name,this.options=s;var u=s.scoped,g=s.sheet,b=s.generateId;this.id=u===!1?this.name:L1(b(this,g)),this.rules=new mx(V({},s,{parent:this}));for(var y in o)this.rules.add(y,o[y],V({},s,{parent:this}));this.rules.process()}var t=e.prototype;return t.toString=function(o){o===void 0&&(o=z1);var s=wm(o),p=s.linebreak;if(o.indent==null&&(o.indent=z1.indent),o.children==null&&(o.children=z1.children),o.children===!1)return this.at+" "+this.id+" {}";var u=this.rules.toString(o);return u&&(u=""+p+u+p),this.at+" "+this.id+" {"+u+"}"},e}(),dU=/@keyframes\s+/,fU=/\$([\w-]+)/g,W1=function(t,n){return typeof t=="string"?t.replace(fU,function(o,s){return s in n?n[s]:(process.env.NODE_ENV!=="production"&&Au(!1,'[JSS] Referenced keyframes rule "'+s+'" is not defined.'),o)}):t},Nk=function(t,n,o){var s=t[n],p=W1(s,o);p!==s&&(t[n]=p)},pU={onCreateRule:function(t,n,o){return typeof t=="string"&&dU.test(t)?new U1(t,n,o):null},onProcessStyle:function(t,n,o){return n.type!=="style"||!o||("animation-name"in t&&Nk(t,"animation-name",o.keyframes),"animation"in t&&Nk(t,"animation",o.keyframes)),t},onChangeValue:function(t,n,o){var s=o.options.sheet;if(!s)return t;switch(n){case"animation":return W1(t,s.keyframes);case"animation-name":return W1(t,s.keyframes);default:return t}}},hU=function(e){Dy(t,e);function t(){return e.apply(this,arguments)||this}var n=t.prototype;return n.toString=function(s){var p=this.options.sheet,u=p?p.options.link:!1,g=u?V({},s,{allowEmpty:!0}):s;return $y(this.key,this.style,g)},t}(kk),vU={onCreateRule:function(t,n,o){return o.parent&&o.parent.type==="keyframes"?new hU(t,n,o):null}},mU=function(){function e(n,o,s){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=n,this.style=o,this.options=s}var t=e.prototype;return t.toString=function(o){var s=wm(o),p=s.linebreak;if(Array.isArray(this.style)){for(var u="",g=0;g<this.style.length;g++)u+=$y(this.at,this.style[g]),this.style[g+1]&&(u+=p);return u}return $y(this.at,this.style,o)},e}(),gU=/@font-face/,yU={onCreateRule:function(t,n,o){return gU.test(t)?new mU(t,n,o):null}},bU=function(){function e(n,o,s){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=n,this.style=o,this.options=s}var t=e.prototype;return t.toString=function(o){return $y(this.key,this.style,o)},e}(),xU={onCreateRule:function(t,n,o){return t==="@viewport"||t==="@-ms-viewport"?new bU(t,n,o):null}},SU=function(){function e(n,o,s){this.type="simple",this.isProcessed=!1,this.key=n,this.value=o,this.options=s}var t=e.prototype;return t.toString=function(o){if(Array.isArray(this.value)){for(var s="",p=0;p<this.value.length;p++)s+=this.key+" "+this.value[p]+";",this.value[p+1]&&(s+=`
|
|
443
|
+
`);return s}return this.key+" "+this.value+";"},e}(),CU={"@charset":!0,"@import":!0,"@namespace":!0},wU={onCreateRule:function(t,n,o){return t in CU?new SU(t,n,o):null}},Mk=[iU,uU,pU,vU,yU,xU,wU],RU={process:!0},Ak={force:!0,process:!0},mx=function(){function e(n){this.map={},this.raw={},this.index=[],this.counter=0,this.options=n,this.classes=n.classes,this.keyframes=n.keyframes}var t=e.prototype;return t.add=function(o,s,p){var u=this.options,g=u.parent,b=u.sheet,y=u.jss,C=u.Renderer,w=u.generateId,O=u.scoped,P=V({classes:this.classes,parent:g,sheet:b,jss:y,Renderer:C,generateId:w,scoped:O,name:o,keyframes:this.keyframes,selector:void 0},p),D=o;o in this.raw&&(D=o+"-d"+this.counter++),this.raw[D]=s,D in this.classes&&(P.selector="."+L1(this.classes[D]));var I=j1(D,s,P);if(!I)return null;this.register(I);var j=P.index===void 0?this.index.length:P.index;return this.index.splice(j,0,I),I},t.replace=function(o,s,p){var u=this.get(o),g=this.index.indexOf(u);u&&this.remove(u);var b=p;return g!==-1&&(b=V({},p,{index:g})),this.add(o,s,b)},t.get=function(o){return this.map[o]},t.remove=function(o){this.unregister(o),delete this.raw[o.key],this.index.splice(this.index.indexOf(o),1)},t.indexOf=function(o){return this.index.indexOf(o)},t.process=function(){var o=this.options.jss.plugins;this.index.slice(0).forEach(o.onProcessRule,o)},t.register=function(o){this.map[o.key]=o,o instanceof B1?(this.map[o.selector]=o,o.id&&(this.classes[o.key]=o.id)):o instanceof U1&&this.keyframes&&(this.keyframes[o.name]=o.id)},t.unregister=function(o){delete this.map[o.key],o instanceof B1?(delete this.map[o.selector],delete this.classes[o.key]):o instanceof U1&&delete this.keyframes[o.name]},t.update=function(){var o,s,p;if(typeof(arguments.length<=0?void 0:arguments[0])=="string"?(o=arguments.length<=0?void 0:arguments[0],s=arguments.length<=1?void 0:arguments[1],p=arguments.length<=2?void 0:arguments[2]):(s=arguments.length<=0?void 0:arguments[0],p=arguments.length<=1?void 0:arguments[1],o=null),o)this.updateOne(this.get(o),s,p);else for(var u=0;u<this.index.length;u++)this.updateOne(this.index[u],s,p)},t.updateOne=function(o,s,p){p===void 0&&(p=RU);var u=this.options,g=u.jss.plugins,b=u.sheet;if(o.rules instanceof e){o.rules.update(s,p);return}var y=o.style;if(g.onUpdate(s,o,b,p),p.process&&y&&y!==o.style){g.onProcessStyle(o.style,o,b);for(var C in o.style){var w=o.style[C],O=y[C];w!==O&&o.prop(C,w,Ak)}for(var P in y){var D=o.style[P],I=y[P];D==null&&D!==I&&o.prop(P,null,Ak)}}},t.toString=function(o){for(var s="",p=this.options.sheet,u=p?p.options.link:!1,g=wm(o),b=g.linebreak,y=0;y<this.index.length;y++){var C=this.index[y],w=C.toString(o);!w&&!u||(s&&(s+=b),s+=w)}return s},e}(),$k=function(){function e(n,o){this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=V({},o,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),o.Renderer&&(this.renderer=new o.Renderer(this)),this.rules=new mx(this.options);for(var s in n)this.rules.add(s,n[s]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached?this:(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy(),this)},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(o,s,p){var u=this.queue;this.attached&&!u&&(this.queue=[]);var g=this.rules.add(o,s,p);return g?(this.options.jss.plugins.onProcessRule(g),this.attached?(this.deployed&&(u?u.push(g):(this.insertRule(g),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0))),g):(this.deployed=!1,g)):null},t.replaceRule=function(o,s,p){var u=this.rules.get(o);if(!u)return this.addRule(o,s,p);var g=this.rules.replace(o,s,p);return g&&this.options.jss.plugins.onProcessRule(g),this.attached?(this.deployed&&this.renderer&&(g?u.renderable&&this.renderer.replaceRule(u.renderable,g):this.renderer.deleteRule(u)),g):(this.deployed=!1,g)},t.insertRule=function(o){this.renderer&&this.renderer.insertRule(o)},t.addRules=function(o,s){var p=[];for(var u in o){var g=this.addRule(u,o[u],s);g&&p.push(g)}return p},t.getRule=function(o){return this.rules.get(o)},t.deleteRule=function(o){var s=typeof o=="object"?o:this.rules.get(o);return!s||this.attached&&!s.renderable?!1:(this.rules.remove(s),this.attached&&s.renderable&&this.renderer?this.renderer.deleteRule(s.renderable):!0)},t.indexOf=function(o){return this.rules.indexOf(o)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var o;return(o=this.rules).update.apply(o,arguments),this},t.updateOne=function(o,s,p){return this.rules.updateOne(o,s,p),this},t.toString=function(o){return this.rules.toString(o)},e}(),EU=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(o,s,p){for(var u=0;u<this.registry.onCreateRule.length;u++){var g=this.registry.onCreateRule[u](o,s,p);if(g)return g}return null},t.onProcessRule=function(o){if(!o.isProcessed){for(var s=o.options.sheet,p=0;p<this.registry.onProcessRule.length;p++)this.registry.onProcessRule[p](o,s);o.style&&this.onProcessStyle(o.style,o,s),o.isProcessed=!0}},t.onProcessStyle=function(o,s,p){for(var u=0;u<this.registry.onProcessStyle.length;u++)s.style=this.registry.onProcessStyle[u](s.style,s,p)},t.onProcessSheet=function(o){for(var s=0;s<this.registry.onProcessSheet.length;s++)this.registry.onProcessSheet[s](o)},t.onUpdate=function(o,s,p,u){for(var g=0;g<this.registry.onUpdate.length;g++)this.registry.onUpdate[g](o,s,p,u)},t.onChangeValue=function(o,s,p){for(var u=o,g=0;g<this.registry.onChangeValue.length;g++)u=this.registry.onChangeValue[g](u,s,p);return u},t.use=function(o,s){s===void 0&&(s={queue:"external"});var p=this.plugins[s.queue];p.indexOf(o)===-1&&(p.push(o),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce(function(u,g){for(var b in g)b in u?u[b].push(g[b]):process.env.NODE_ENV!=="production"&&Au(!1,'[JSS] Unknown hook "'+b+'".');return u},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),TU=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(o){var s=this.registry,p=o.options.index;if(s.indexOf(o)===-1){if(s.length===0||p>=this.index){s.push(o);return}for(var u=0;u<s.length;u++)if(s[u].options.index>p){s.splice(u,0,o);return}}},t.reset=function(){this.registry=[]},t.remove=function(o){var s=this.registry.indexOf(o);this.registry.splice(s,1)},t.toString=function(o){for(var s=o===void 0?{}:o,p=s.attached,u=Ot(s,["attached"]),g=wm(u),b=g.linebreak,y="",C=0;C<this.registry.length;C++){var w=this.registry[C];p!=null&&w.attached!==p||(y&&(y+=b),y+=w.toString(u))}return y},Ok(e,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),e}(),Iy=new TU,H1=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),G1="2f1acc6c3a606b082e5eef5e54414ffb";H1[G1]==null&&(H1[G1]=0);var Ik=H1[G1]++,_U=1e10,Fk=function(t){t===void 0&&(t={});var n=0,o=function(p,u){n+=1,n>_U&&process.env.NODE_ENV!=="production"&&Au(!1,"[JSS] You might have a memory leak. Rule counter is at "+n+".");var g="",b="";return u&&(u.options.classNamePrefix&&(b=u.options.classNamePrefix),u.options.jss.id!=null&&(g=String(u.options.jss.id))),t.minify?""+(b||"c")+Ik+g+n:b+p.key+"-"+Ik+(g?"-"+g:"")+"-"+n};return o},jk=function(t){var n;return function(){return n||(n=t()),n}},OU=function(t,n){try{return t.attributeStyleMap?t.attributeStyleMap.get(n):t.style.getPropertyValue(n)}catch{return""}},PU=function(t,n,o){try{var s=o;if(Array.isArray(o)&&(s=Dh(o)),t.attributeStyleMap)t.attributeStyleMap.set(n,s);else{var p=s?s.indexOf("!important"):-1,u=p>-1?s.substr(0,p-1):s;t.style.setProperty(n,u,p>-1?"important":"")}}catch{return!1}return!0},DU=function(t,n){try{t.attributeStyleMap?t.attributeStyleMap.delete(n):t.style.removeProperty(n)}catch(o){process.env.NODE_ENV!=="production"&&Au(!1,'[JSS] DOMException "'+o.message+'" was thrown. Tried to remove property "'+n+'".')}},kU=function(t,n){return t.selectorText=n,t.selectorText===n},Lk=jk(function(){return document.querySelector("head")});function NU(e,t){for(var n=0;n<e.length;n++){var o=e[n];if(o.attached&&o.options.index>t.index&&o.options.insertionPoint===t.insertionPoint)return o}return null}function MU(e,t){for(var n=e.length-1;n>=0;n--){var o=e[n];if(o.attached&&o.options.insertionPoint===t.insertionPoint)return o}return null}function AU(e){for(var t=Lk(),n=0;n<t.childNodes.length;n++){var o=t.childNodes[n];if(o.nodeType===8&&o.nodeValue.trim()===e)return o}return null}function $U(e){var t=Iy.registry;if(t.length>0){var n=NU(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=MU(t,e),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var o=e.insertionPoint;if(o&&typeof o=="string"){var s=AU(o);if(s)return{parent:s.parentNode,node:s.nextSibling};process.env.NODE_ENV!=="production"&&Au(!1,'[JSS] Insertion point "'+o+'" not found.')}return!1}function IU(e,t){var n=t.insertionPoint,o=$U(t);if(o!==!1&&o.parent){o.parent.insertBefore(e,o.node);return}if(n&&typeof n.nodeType=="number"){var s=n,p=s.parentNode;p?p.insertBefore(e,s.nextSibling):process.env.NODE_ENV!=="production"&&Au(!1,"[JSS] Insertion point is not in the DOM.");return}Lk().appendChild(e)}var FU=jk(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),Bk=function(t,n,o){try{"insertRule"in t?t.insertRule(n,o):"appendRule"in t&&t.appendRule(n)}catch(s){return process.env.NODE_ENV!=="production"&&Au(!1,"[JSS] "+s.message),!1}return t.cssRules[o]},Vk=function(t,n){var o=t.cssRules.length;return n===void 0||n>o?o:n},jU=function(){var t=document.createElement("style");return t.textContent=`
|
|
444
|
+
`,t},LU=function(){function e(n){this.getPropertyValue=OU,this.setProperty=PU,this.removeProperty=DU,this.setSelector=kU,this.hasInsertedRules=!1,this.cssRules=[],n&&Iy.add(n),this.sheet=n;var o=this.sheet?this.sheet.options:{},s=o.media,p=o.meta,u=o.element;this.element=u||jU(),this.element.setAttribute("data-jss",""),s&&this.element.setAttribute("media",s),p&&this.element.setAttribute("data-meta",p);var g=FU();g&&this.element.setAttribute("nonce",g)}var t=e.prototype;return t.attach=function(){if(!(this.element.parentNode||!this.sheet)){IU(this.element,this.sheet.options);var o=!!(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&o&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var o=this.element.parentNode;o&&o.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent=`
|
|
445
|
+
`)}},t.deploy=function(){var o=this.sheet;if(o){if(o.options.link){this.insertRules(o.rules);return}this.element.textContent=`
|
|
446
|
+
`+o.toString()+`
|
|
447
|
+
`}},t.insertRules=function(o,s){for(var p=0;p<o.index.length;p++)this.insertRule(o.index[p],p,s)},t.insertRule=function(o,s,p){if(p===void 0&&(p=this.element.sheet),o.rules){var u=o,g=p;if(o.type==="conditional"||o.type==="keyframes"){var b=Vk(p,s);if(g=Bk(p,u.toString({children:!1}),b),g===!1)return!1;this.refCssRule(o,b,g)}return this.insertRules(u.rules,g),g}var y=o.toString();if(!y)return!1;var C=Vk(p,s),w=Bk(p,y,C);return w===!1?!1:(this.hasInsertedRules=!0,this.refCssRule(o,C,w),w)},t.refCssRule=function(o,s,p){o.renderable=p,o.options.parent instanceof $k&&this.cssRules.splice(s,0,p)},t.deleteRule=function(o){var s=this.element.sheet,p=this.indexOf(o);return p===-1?!1:(s.deleteRule(p),this.cssRules.splice(p,1),!0)},t.indexOf=function(o){return this.cssRules.indexOf(o)},t.replaceRule=function(o,s){var p=this.indexOf(o);return p===-1?!1:(this.element.sheet.deleteRule(p),this.cssRules.splice(p,1),this.insertRule(s,p))},t.getRules=function(){return this.element.sheet.cssRules},e}(),BU=0,VU=function(){function e(n){this.id=BU++,this.version="10.10.0",this.plugins=new EU,this.options={id:{minify:!1},createGenerateId:Fk,Renderer:My?LU:null,plugins:[]},this.generateId=Fk({minify:!1});for(var o=0;o<Mk.length;o++)this.plugins.use(Mk[o],{queue:"internal"});this.setup(n)}var t=e.prototype;return t.setup=function(o){return o===void 0&&(o={}),o.createGenerateId&&(this.options.createGenerateId=o.createGenerateId),o.id&&(this.options.id=V({},this.options.id,o.id)),(o.createGenerateId||o.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),o.insertionPoint!=null&&(this.options.insertionPoint=o.insertionPoint),"Renderer"in o&&(this.options.Renderer=o.Renderer),o.plugins&&this.use.apply(this,o.plugins),this},t.createStyleSheet=function(o,s){s===void 0&&(s={});var p=s,u=p.index;typeof u!="number"&&(u=Iy.index===0?0:Iy.index+1);var g=new $k(o,V({},s,{jss:this,generateId:s.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:u}));return this.plugins.onProcessSheet(g),g},t.removeStyleSheet=function(o){return o.detach(),Iy.remove(o),this},t.createRule=function(o,s,p){if(s===void 0&&(s={}),p===void 0&&(p={}),typeof o=="object")return this.createRule(void 0,o,s);var u=V({},p,{name:o,jss:this,Renderer:this.options.Renderer});u.generateId||(u.generateId=this.generateId),u.classes||(u.classes={}),u.keyframes||(u.keyframes={});var g=j1(o,s,u);return g&&this.plugins.onProcessRule(g),g},t.use=function(){for(var o=this,s=arguments.length,p=new Array(s),u=0;u<s;u++)p[u]=arguments[u];return p.forEach(function(g){o.plugins.use(g)}),this},e}(),q1=function(t){return new VU(t)},Y1=typeof CSS=="object"&&CSS!=null&&"number"in CSS;function zk(e){var t=null;for(var n in e){var o=e[n],s=typeof o;if(s==="function")t||(t={}),t[n]=o;else if(s==="object"&&o!==null&&!Array.isArray(o)){var p=zk(o);p&&(t||(t={}),t[n]=p)}}return t}/**
|
|
448
|
+
* A better abstraction over CSS.
|
|
449
|
+
*
|
|
450
|
+
* @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
|
|
451
|
+
* @website https://github.com/cssinjs/jss
|
|
452
|
+
* @license MIT
|
|
453
|
+
*/q1();function Uk(e={}){const{baseClasses:t,newClasses:n,Component:o}=e;if(!n)return t;const s=V({},t);return process.env.NODE_ENV!=="production"&&typeof n=="string"?(console.error([`MUI: The value \`${n}\` provided to the classes prop of ${am(o)} is incorrect.`,"You might want to use the className prop instead."].join(`
|
|
454
|
+
`)),t):(Object.keys(n).forEach(p=>{process.env.NODE_ENV!=="production"&&(!t[p]&&n[p]&&console.error([`MUI: The key \`${p}\` provided to the classes prop is not implemented in ${am(o)}.`,`You can only override one of the following: ${Object.keys(t).join(",")}.`].join(`
|
|
455
|
+
`)),n[p]&&typeof n[p]!="string"&&console.error([`MUI: The key \`${p}\` provided to the classes prop is not valid for ${am(o)}.`,`You need to provide a non empty string instead of: ${n[p]}.`].join(`
|
|
456
|
+
`))),n[p]&&(s[p]=`${t[p]} ${n[p]}`)}),s)}const Rm={set:(e,t,n,o)=>{let s=e.get(t);s||(s=new Map,e.set(t,s)),s.set(n,o)},get:(e,t,n)=>{const o=e.get(t);return o?o.get(n):void 0},delete:(e,t,n)=>{e.get(t).delete(n)}};function Wk(){var e;const t=kV();return(e=t==null?void 0:t.$$material)!=null?e:t}const zU=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function UU(e={}){const{disableGlobal:t=!1,productionPrefix:n="jss",seed:o=""}=e,s=o===""?"":`${o}-`;let p=0;const u=()=>(p+=1,process.env.NODE_ENV!=="production"&&p>=1e10&&console.warn(["MUI: You might have a memory leak.","The ruleCounter is not supposed to grow that much."].join("")),p);return(g,b)=>{const y=b.options.name;if(y&&y.indexOf("Mui")===0&&!b.options.link&&!t){if(zU.indexOf(g.key)!==-1)return`Mui-${g.key}`;const w=`${s}${y}-${g.key}`;return!b.options.theme[NV]||o!==""?w:`${w}-${u()}`}if(process.env.NODE_ENV==="production")return`${s}${n}${u()}`;const C=`${g.key}-${u()}`;return b.options.classNamePrefix?`${s}${b.options.classNamePrefix}-${C}`:`${s}${C}`}}var Hk=Date.now(),K1="fnValues"+Hk,X1="fnStyle"+ ++Hk,WU=function(){return{onCreateRule:function(n,o,s){if(typeof o!="function")return null;var p=j1(n,{},s);return p[X1]=o,p},onProcessStyle:function(n,o){if(K1 in o||X1 in o)return n;var s={};for(var p in n){var u=n[p];typeof u=="function"&&(delete n[p],s[p]=u)}return o[K1]=s,n},onUpdate:function(n,o,s,p){var u=o,g=u[X1];if(g&&(u.style=g(n)||{},process.env.NODE_ENV==="development")){for(var b in u.style)if(typeof u.style[b]=="function"){process.env.NODE_ENV!=="production"&&Au(!1,"[JSS] Function values inside function rules are not supported.");break}}var y=u[K1];if(y)for(var C in y)u.prop(C,y[C](n),p)}}},fp="@global",Q1="@global ",HU=function(){function e(n,o,s){this.type="global",this.at=fp,this.isProcessed=!1,this.key=n,this.options=s,this.rules=new mx(V({},s,{parent:this}));for(var p in o)this.rules.add(p,o[p]);this.rules.process()}var t=e.prototype;return t.getRule=function(o){return this.rules.get(o)},t.addRule=function(o,s,p){var u=this.rules.add(o,s,p);return u&&this.options.jss.plugins.onProcessRule(u),u},t.replaceRule=function(o,s,p){var u=this.rules.replace(o,s,p);return u&&this.options.jss.plugins.onProcessRule(u),u},t.indexOf=function(o){return this.rules.indexOf(o)},t.toString=function(o){return this.rules.toString(o)},e}(),GU=function(){function e(n,o,s){this.type="global",this.at=fp,this.isProcessed=!1,this.key=n,this.options=s;var p=n.substr(Q1.length);this.rule=s.jss.createRule(p,o,V({},s,{parent:this}))}var t=e.prototype;return t.toString=function(o){return this.rule?this.rule.toString(o):""},e}(),qU=/\s*,\s*/g;function Gk(e,t){for(var n=e.split(qU),o="",s=0;s<n.length;s++)o+=t+" "+n[s].trim(),n[s+1]&&(o+=", ");return o}function YU(e,t){var n=e.options,o=e.style,s=o?o[fp]:null;if(s){for(var p in s)t.addRule(p,s[p],V({},n,{selector:Gk(p,e.selector)}));delete o[fp]}}function KU(e,t){var n=e.options,o=e.style;for(var s in o)if(!(s[0]!=="@"||s.substr(0,fp.length)!==fp)){var p=Gk(s.substr(fp.length),e.selector);t.addRule(p,o[s],V({},n,{selector:p})),delete o[s]}}function XU(){function e(n,o,s){if(!n)return null;if(n===fp)return new HU(n,o,s);if(n[0]==="@"&&n.substr(0,Q1.length)===Q1)return new GU(n,o,s);var p=s.parent;return p&&(p.type==="global"||p.options.parent&&p.options.parent.type==="global")&&(s.scoped=!1),!s.selector&&s.scoped===!1&&(s.selector=n),null}function t(n,o){n.type!=="style"||!o||(YU(n,o),KU(n,o))}return{onCreateRule:e,onProcessRule:t}}var qk=/\s*,\s*/g,QU=/&/g,ZU=/\$([\w-]+)/g;function JU(){function e(s,p){return function(u,g){var b=s.getRule(g)||p&&p.getRule(g);return b?b.selector:(process.env.NODE_ENV!=="production"&&Au(!1,'[JSS] Could not find the referenced rule "'+g+'" in "'+(s.options.meta||s.toString())+'".'),g)}}function t(s,p){for(var u=p.split(qk),g=s.split(qk),b="",y=0;y<u.length;y++)for(var C=u[y],w=0;w<g.length;w++){var O=g[w];b&&(b+=", "),b+=O.indexOf("&")!==-1?O.replace(QU,C):C+" "+O}return b}function n(s,p,u){if(u)return V({},u,{index:u.index+1});var g=s.options.nestingLevel;g=g===void 0?1:g+1;var b=V({},s.options,{nestingLevel:g,index:p.indexOf(s)+1});return delete b.name,b}function o(s,p,u){if(p.type!=="style")return s;var g=p,b=g.options.parent,y,C;for(var w in s){var O=w.indexOf("&")!==-1,P=w[0]==="@";if(!(!O&&!P)){if(y=n(g,b,y),O){var D=t(w,g.selector);C||(C=e(b,u)),D=D.replace(ZU,C);var I=g.key+"-"+w;"replaceRule"in b?b.replaceRule(I,s[w],V({},y,{selector:D})):b.addRule(I,s[w],V({},y,{selector:D}))}else P&&b.addRule(w,{},y).addRule(g.key,s[w],{selector:g.selector});delete s[w]}}return s}return{onProcessStyle:o}}var eW=/[A-Z]/g,tW=/^ms-/,Z1={};function nW(e){return"-"+e.toLowerCase()}function Yk(e){if(Z1.hasOwnProperty(e))return Z1[e];var t=e.replace(eW,nW);return Z1[e]=tW.test(t)?"-"+t:t}function gx(e){var t={};for(var n in e){var o=n.indexOf("--")===0?n:Yk(n);t[o]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(gx):t.fallbacks=gx(e.fallbacks)),t}function rW(){function e(n){if(Array.isArray(n)){for(var o=0;o<n.length;o++)n[o]=gx(n[o]);return n}return gx(n)}function t(n,o,s){if(o.indexOf("--")===0)return n;var p=Yk(o);return o===p?n:(s.prop(p,n),null)}return{onProcessStyle:e,onChangeValue:t}}var Rt=Y1&&CSS?CSS.px:"px",yx=Y1&&CSS?CSS.ms:"ms",Em=Y1&&CSS?CSS.percent:"%",oW={"animation-delay":yx,"animation-duration":yx,"background-position":Rt,"background-position-x":Rt,"background-position-y":Rt,"background-size":Rt,border:Rt,"border-bottom":Rt,"border-bottom-left-radius":Rt,"border-bottom-right-radius":Rt,"border-bottom-width":Rt,"border-left":Rt,"border-left-width":Rt,"border-radius":Rt,"border-right":Rt,"border-right-width":Rt,"border-top":Rt,"border-top-left-radius":Rt,"border-top-right-radius":Rt,"border-top-width":Rt,"border-width":Rt,"border-block":Rt,"border-block-end":Rt,"border-block-end-width":Rt,"border-block-start":Rt,"border-block-start-width":Rt,"border-block-width":Rt,"border-inline":Rt,"border-inline-end":Rt,"border-inline-end-width":Rt,"border-inline-start":Rt,"border-inline-start-width":Rt,"border-inline-width":Rt,"border-start-start-radius":Rt,"border-start-end-radius":Rt,"border-end-start-radius":Rt,"border-end-end-radius":Rt,margin:Rt,"margin-bottom":Rt,"margin-left":Rt,"margin-right":Rt,"margin-top":Rt,"margin-block":Rt,"margin-block-end":Rt,"margin-block-start":Rt,"margin-inline":Rt,"margin-inline-end":Rt,"margin-inline-start":Rt,padding:Rt,"padding-bottom":Rt,"padding-left":Rt,"padding-right":Rt,"padding-top":Rt,"padding-block":Rt,"padding-block-end":Rt,"padding-block-start":Rt,"padding-inline":Rt,"padding-inline-end":Rt,"padding-inline-start":Rt,"mask-position-x":Rt,"mask-position-y":Rt,"mask-size":Rt,height:Rt,width:Rt,"min-height":Rt,"max-height":Rt,"min-width":Rt,"max-width":Rt,bottom:Rt,left:Rt,top:Rt,right:Rt,inset:Rt,"inset-block":Rt,"inset-block-end":Rt,"inset-block-start":Rt,"inset-inline":Rt,"inset-inline-end":Rt,"inset-inline-start":Rt,"box-shadow":Rt,"text-shadow":Rt,"column-gap":Rt,"column-rule":Rt,"column-rule-width":Rt,"column-width":Rt,"font-size":Rt,"font-size-delta":Rt,"letter-spacing":Rt,"text-decoration-thickness":Rt,"text-indent":Rt,"text-stroke":Rt,"text-stroke-width":Rt,"word-spacing":Rt,motion:Rt,"motion-offset":Rt,outline:Rt,"outline-offset":Rt,"outline-width":Rt,perspective:Rt,"perspective-origin-x":Em,"perspective-origin-y":Em,"transform-origin":Em,"transform-origin-x":Em,"transform-origin-y":Em,"transform-origin-z":Em,"transition-delay":yx,"transition-duration":yx,"vertical-align":Rt,"flex-basis":Rt,"shape-margin":Rt,size:Rt,gap:Rt,grid:Rt,"grid-gap":Rt,"row-gap":Rt,"grid-row-gap":Rt,"grid-column-gap":Rt,"grid-template-rows":Rt,"grid-template-columns":Rt,"grid-auto-rows":Rt,"grid-auto-columns":Rt,"box-shadow-x":Rt,"box-shadow-y":Rt,"box-shadow-blur":Rt,"box-shadow-spread":Rt,"font-line-height":Rt,"text-shadow-x":Rt,"text-shadow-y":Rt,"text-shadow-blur":Rt};function Kk(e){var t=/(-[a-z])/g,n=function(u){return u[1].toUpperCase()},o={};for(var s in e)o[s]=e[s],o[s.replace(t,n)]=e[s];return o}var iW=Kk(oW);function Fy(e,t,n){if(t==null)return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)t[o]=Fy(e,t[o],n);else if(typeof t=="object")if(e==="fallbacks")for(var s in t)t[s]=Fy(s,t[s],n);else for(var p in t)t[p]=Fy(e+"-"+p,t[p],n);else if(typeof t=="number"&&isNaN(t)===!1){var u=n[e]||iW[e];return u&&!(t===0&&u===Rt)?typeof u=="function"?u(t).toString():""+t+u:t.toString()}return t}function aW(e){e===void 0&&(e={});var t=Kk(e);function n(s,p){if(p.type!=="style")return s;for(var u in s)s[u]=Fy(u,s[u],t);return s}function o(s,p){return Fy(p,s,t)}return{onProcessStyle:n,onChangeValue:o}}function J1(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function sW(e){if(Array.isArray(e))return J1(e)}function lW(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function uW(e,t){if(e){if(typeof e=="string")return J1(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return J1(e,t)}}function cW(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
457
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dW(e){return sW(e)||lW(e)||uW(e)||cW()}var jy="",eR="",Xk="",Qk="",fW=My&&"ontouchstart"in document.documentElement;if(My){var tR={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},pW=document.createElement("p"),nR=pW.style,hW="Transform";for(var rR in tR)if(rR+hW in nR){jy=rR,eR=tR[rR];break}jy==="Webkit"&&"msHyphens"in nR&&(jy="ms",eR=tR.ms,Qk="edge"),jy==="Webkit"&&"-apple-trailing-word"in nR&&(Xk="apple")}var Jr={js:jy,css:eR,vendor:Xk,browser:Qk,isTouch:fW};function vW(e){return e[1]==="-"||Jr.js==="ms"?e:"@"+Jr.css+"keyframes"+e.substr(10)}var mW={noPrefill:["appearance"],supportedProperty:function(t){return t!=="appearance"?!1:Jr.js==="ms"?"-webkit-"+t:Jr.css+t}},gW={noPrefill:["color-adjust"],supportedProperty:function(t){return t!=="color-adjust"?!1:Jr.js==="Webkit"?Jr.css+"print-"+t:t}},yW=/[-\s]+(.)?/g;function bW(e,t){return t?t.toUpperCase():""}function oR(e){return e.replace(yW,bW)}function pp(e){return oR("-"+e)}var xW={noPrefill:["mask"],supportedProperty:function(t,n){if(!/^mask/.test(t))return!1;if(Jr.js==="Webkit"){var o="mask-image";if(oR(o)in n)return t;if(Jr.js+pp(o)in n)return Jr.css+t}return t}},SW={noPrefill:["text-orientation"],supportedProperty:function(t){return t!=="text-orientation"?!1:Jr.vendor==="apple"&&!Jr.isTouch?Jr.css+t:t}},CW={noPrefill:["transform"],supportedProperty:function(t,n,o){return t!=="transform"?!1:o.transform?t:Jr.css+t}},wW={noPrefill:["transition"],supportedProperty:function(t,n,o){return t!=="transition"?!1:o.transition?t:Jr.css+t}},RW={noPrefill:["writing-mode"],supportedProperty:function(t){return t!=="writing-mode"?!1:Jr.js==="Webkit"||Jr.js==="ms"&&Jr.browser!=="edge"?Jr.css+t:t}},EW={noPrefill:["user-select"],supportedProperty:function(t){return t!=="user-select"?!1:Jr.js==="Moz"||Jr.js==="ms"||Jr.vendor==="apple"?Jr.css+t:t}},TW={supportedProperty:function(t,n){if(!/^break-/.test(t))return!1;if(Jr.js==="Webkit"){var o="WebkitColumn"+pp(t);return o in n?Jr.css+"column-"+t:!1}if(Jr.js==="Moz"){var s="page"+pp(t);return s in n?"page-"+t:!1}return!1}},_W={supportedProperty:function(t,n){if(!/^(border|margin|padding)-inline/.test(t))return!1;if(Jr.js==="Moz")return t;var o=t.replace("-inline","");return Jr.js+pp(o)in n?Jr.css+o:!1}},OW={supportedProperty:function(t,n){return oR(t)in n?t:!1}},PW={supportedProperty:function(t,n){var o=pp(t);return t[0]==="-"||t[0]==="-"&&t[1]==="-"?t:Jr.js+o in n?Jr.css+t:Jr.js!=="Webkit"&&"Webkit"+o in n?"-webkit-"+t:!1}},DW={supportedProperty:function(t){return t.substring(0,11)!=="scroll-snap"?!1:Jr.js==="ms"?""+Jr.css+t:t}},kW={supportedProperty:function(t){return t!=="overscroll-behavior"?!1:Jr.js==="ms"?Jr.css+"scroll-chaining":t}},NW={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},MW={supportedProperty:function(t,n){var o=NW[t];return o&&Jr.js+pp(o)in n?Jr.css+o:!1}},Zk={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},AW=Object.keys(Zk),$W=function(t){return Jr.css+t},IW={supportedProperty:function(t,n,o){var s=o.multiple;if(AW.indexOf(t)>-1){var p=Zk[t];if(!Array.isArray(p))return Jr.js+pp(p)in n?Jr.css+p:!1;if(!s)return!1;for(var u=0;u<p.length;u++)if(!(Jr.js+pp(p[0])in n))return!1;return p.map($W)}return!1}},Jk=[mW,gW,xW,SW,CW,wW,RW,EW,TW,_W,OW,PW,DW,kW,MW,IW],eN=Jk.filter(function(e){return e.supportedProperty}).map(function(e){return e.supportedProperty}),FW=Jk.filter(function(e){return e.noPrefill}).reduce(function(e,t){return e.push.apply(e,dW(t.noPrefill)),e},[]),Ly,kh={};if(My){Ly=document.createElement("p");var iR=window.getComputedStyle(document.documentElement,"");for(var aR in iR)isNaN(aR)||(kh[iR[aR]]=iR[aR]);FW.forEach(function(e){return delete kh[e]})}function sR(e,t){if(t===void 0&&(t={}),!Ly)return e;if(process.env.NODE_ENV!=="benchmark"&&kh[e]!=null)return kh[e];(e==="transition"||e==="transform")&&(t[e]=e in Ly.style);for(var n=0;n<eN.length&&(kh[e]=eN[n](e,Ly.style,t),!kh[e]);n++);try{Ly.style[e]=""}catch{return!1}return kh[e]}var Tm={},jW={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},LW=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g,hp;function BW(e,t,n){if(t==="var")return"var";if(t==="all")return"all";if(n==="all")return", all";var o=t?sR(t):", "+sR(n);return o||t||n}My&&(hp=document.createElement("p"));function tN(e,t){var n=t;if(!hp||e==="content")return t;if(typeof n!="string"||!isNaN(parseInt(n,10)))return n;var o=e+n;if(process.env.NODE_ENV!=="benchmark"&&Tm[o]!=null)return Tm[o];try{hp.style[e]=n}catch{return Tm[o]=!1,!1}if(jW[e])n=n.replace(LW,BW);else if(hp.style[e]===""&&(n=Jr.css+n,n==="-ms-flex"&&(hp.style[e]="-ms-flexbox"),hp.style[e]=n,hp.style[e]===""))return Tm[o]=!1,!1;return hp.style[e]="",Tm[o]=n,Tm[o]}function VW(){function e(s){if(s.type==="keyframes"){var p=s;p.at=vW(p.at)}}function t(s){for(var p in s){var u=s[p];if(p==="fallbacks"&&Array.isArray(u)){s[p]=u.map(t);continue}var g=!1,b=sR(p);b&&b!==p&&(g=!0);var y=!1,C=tN(b,Dh(u));C&&C!==u&&(y=!0),(g||y)&&(g&&delete s[p],s[b||p]=C||u)}return s}function n(s,p){return p.type!=="style"?s:t(s)}function o(s,p){return tN(p,Dh(s))||s}return{onProcessRule:e,onProcessStyle:n,onChangeValue:o}}function zW(){var e=function(n,o){return n.length===o.length?n>o?1:-1:n.length-o.length};return{onProcessStyle:function(n,o){if(o.type!=="style")return n;for(var s={},p=Object.keys(n).sort(e),u=0;u<p.length;u++)s[p[u]]=n[p[u]];return s}}}function nN(){return{plugins:[WU(),XU(),JU(),rW(),aW(),typeof window>"u"?null:VW(),zW()]}}const UW=["children","injectFirst","disableGeneration"],WW=q1(nN()),HW={disableGeneration:!1,generateClassName:UU(),jss:WW,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},bx=$.createContext(HW);process.env.NODE_ENV!=="production"&&(bx.displayName="StylesContext");let xx;function lR(e){const{children:t,injectFirst:n=!1,disableGeneration:o=!1}=e,s=Ot(e,UW),p=$.useContext(bx),{generateClassName:u,jss:g,serverGenerateClassName:b,sheetsCache:y,sheetsManager:C,sheetsRegistry:w}=V({},p,s);process.env.NODE_ENV!=="production"&&n&&s.jss&&console.error("MUI: You cannot use the jss and injectFirst props at the same time.");const O=$.useMemo(()=>{const P={disableGeneration:o,generateClassName:u,jss:g,serverGenerateClassName:b,sheetsCache:y,sheetsManager:C,sheetsRegistry:w};if(process.env.NODE_ENV!=="production"&&typeof window>"u"&&!P.sheetsManager&&console.error("MUI: You need to use the ServerStyleSheets API when rendering on the server."),process.env.NODE_ENV!=="production"&&P.jss.options.insertionPoint&&n&&console.error("MUI: You cannot use a custom insertionPoint and <StylesContext injectFirst> at the same time."),!P.jss.options.insertionPoint&&n&&typeof window<"u"){if(!xx){const D=document.head;xx=document.createComment("mui-inject-first"),D.insertBefore(xx,D.firstChild)}P.jss=q1({plugins:nN().plugins,insertionPoint:xx})}return P},[n,o,u,g,b,y,C,w]);return B.jsx(bx.Provider,{value:O,children:t})}process.env.NODE_ENV!=="production"&&(lR.propTypes={children:a.node,disableGeneration:a.bool,generateClassName:a.func,injectFirst:a.bool,jss:a.object,serverGenerateClassName:a.func,sheetsCache:a.object,sheetsManager:a.object,sheetsRegistry:a.object}),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(lR.propTypes=Yw(lR.propTypes));let uR=-1e9;function GW(){return uR+=1,process.env.NODE_ENV!=="production"&&uR>=0&&console.warn(["MUI: You might have a memory leak.","The indexCounter is not supposed to grow that much."].join(`
|
|
458
|
+
`)),uR}const qW=["variant"];function rN(e){return e.length===0}function YW(e){const{variant:t}=e,n=Ot(e,qW);let o=t||"";return Object.keys(n).sort().forEach(s=>{s==="color"?o+=rN(o)?e[s]:Ft(e[s]):o+=`${rN(o)?s:Ft(s)}${Ft(e[s].toString())}`}),o}const oN={};function KW(e){const t=typeof e=="function";return process.env.NODE_ENV!=="production"&&typeof e!="object"&&!t&&console.error(["MUI: The `styles` argument provided is invalid.","You need to provide a function generating the styles or a styles object."].join(`
|
|
459
|
+
`)),{create:(n,o)=>{let s;try{s=t?e(n):e}catch(b){throw process.env.NODE_ENV!=="production"&&t===!0&&n===oN&&console.error(["MUI: The `styles` argument provided is invalid.","You are providing a function without a theme in the context.","One of the parent elements needs to use a ThemeProvider."].join(`
|
|
460
|
+
`)),b}if(!o||!n.components||!n.components[o]||!n.components[o].styleOverrides&&!n.components[o].variants)return s;const p=n.components[o].styleOverrides||{},u=n.components[o].variants||[],g=V({},s);return Object.keys(p).forEach(b=>{process.env.NODE_ENV!=="production"&&(g[b]||console.warn(["MUI: You are trying to override a style that does not exist.",`Fix the \`${b}\` key of \`theme.components.${o}.styleOverrides\`.`,"",`If you intentionally wanted to add a new key, please use the theme.components[${o}].variants option.`].join(`
|
|
461
|
+
`))),g[b]=Os(g[b]||{},p[b])}),u.forEach(b=>{const y=YW(b.props);g[y]=Os(g[y]||{},b.style)}),g},options:{}}}const XW=["name","classNamePrefix","Component","defaultTheme"];function QW({state:e,stylesOptions:t},n,o){if(t.disableGeneration)return n||{};e.cacheClasses||(e.cacheClasses={value:null,lastProp:null,lastJSS:{}});let s=!1;return e.classes!==e.cacheClasses.lastJSS&&(e.cacheClasses.lastJSS=e.classes,s=!0),n!==e.cacheClasses.lastProp&&(e.cacheClasses.lastProp=n,s=!0),s&&(e.cacheClasses.value=Uk({baseClasses:e.cacheClasses.lastJSS,newClasses:n,Component:o})),e.cacheClasses.value}function ZW({state:e,theme:t,stylesOptions:n,stylesCreator:o,name:s},p){if(n.disableGeneration)return;let u=Rm.get(n.sheetsManager,o,t);u||(u={refs:0,staticSheet:null,dynamicStyles:null},Rm.set(n.sheetsManager,o,t,u));const g=V({},o.options,n,{theme:t,flip:typeof n.flip=="boolean"?n.flip:t.direction==="rtl"});g.generateId=g.serverGenerateClassName||g.generateClassName;const b=n.sheetsRegistry;if(u.refs===0){let y;n.sheetsCache&&(y=Rm.get(n.sheetsCache,o,t));const C=o.create(t,s);y||(y=n.jss.createStyleSheet(C,V({link:!1},g)),y.attach(),n.sheetsCache&&Rm.set(n.sheetsCache,o,t,y)),b&&b.add(y),u.staticSheet=y,u.dynamicStyles=zk(C)}if(u.dynamicStyles){const y=n.jss.createStyleSheet(u.dynamicStyles,V({link:!0},g));y.update(p),y.attach(),e.dynamicSheet=y,e.classes=Uk({baseClasses:u.staticSheet.classes,newClasses:y.classes}),b&&b.add(y)}else e.classes=u.staticSheet.classes;u.refs+=1}function JW({state:e},t){e.dynamicSheet&&e.dynamicSheet.update(t)}function eH({state:e,theme:t,stylesOptions:n,stylesCreator:o}){if(n.disableGeneration)return;const s=Rm.get(n.sheetsManager,o,t);s.refs-=1;const p=n.sheetsRegistry;s.refs===0&&(Rm.delete(n.sheetsManager,o,t),n.jss.removeStyleSheet(s.staticSheet),p&&p.remove(s.staticSheet)),e.dynamicSheet&&(n.jss.removeStyleSheet(e.dynamicSheet),p&&p.remove(e.dynamicSheet))}function tH(e,t){const n=$.useRef([]);let o;const s=$.useMemo(()=>({}),t);n.current!==s&&(n.current=s,o=e()),$.useEffect(()=>()=>{o&&o()},[s])}function Mi(e,t={}){const{name:n,classNamePrefix:o,Component:s,defaultTheme:p=oN}=t,u=Ot(t,XW),g=KW(e),b=n||o||"makeStyles";return g.options={index:GW(),name:n,meta:b,classNamePrefix:b},(C={})=>{const w=Wk()||p,O=V({},$.useContext(bx),u),P=$.useRef(),D=$.useRef();tH(()=>{const j={name:n,state:{},stylesCreator:g,stylesOptions:O,theme:w};return ZW(j,C),D.current=!1,P.current=j,()=>{eH(j)}},[w,g]),$.useEffect(()=>{D.current&&JW(P.current,C),D.current=!0});const I=QW(P.current,C.classes,s);return process.env.NODE_ENV!=="production"&&$.useDebugValue(I),process.env.NODE_ENV!=="production"&&n&&["MuiAvatar","MuiBadge","MuiButton","MuiButtonGroup","MuiChip","MuiDivider","MuiFab","MuiPaper","MuiToolbar","MuiTypography","MuiAlert","MuiPagination","MuiPaginationItem","MuiSkeleton","MuiTimelineDot"].indexOf(n)>=0&&C.variant&&!I[C.variant]&&console.error([`MUI: You are using a variant value \`${C.variant}\` for which you didn't define styles.`,"Please create a new variant matcher in your theme for this variant. To learn more about matchers visit https://mui.com/r/custom-component-variants."].join(`
|
|
462
|
+
`)),I}}var cR;try{cR=Map}catch{}var dR;try{dR=Set}catch{}function iN(e,t,n){if(!e||typeof e!="object"||typeof e=="function")return e;if(e.nodeType&&"cloneNode"in e)return e.cloneNode(!0);if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);if(Array.isArray(e))return e.map(fR);if(cR&&e instanceof cR)return new Map(Array.from(e.entries()));if(dR&&e instanceof dR)return new Set(Array.from(e.values()));if(e instanceof Object){t.push(e);var o=Object.create(e);n.push(o);for(var s in e){var p=t.findIndex(function(u){return u===e[s]});o[s]=p>-1?n[p]:iN(e[s],t,n)}return o}return e}function fR(e){return iN(e,[],[])}const nH=Object.prototype.toString,rH=Error.prototype.toString,oH=RegExp.prototype.toString,iH=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",aH=/^Symbol\((.*)\)(.*)$/;function sH(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function aN(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const n=typeof e;if(n==="number")return sH(e);if(n==="string")return t?`"${e}"`:e;if(n==="function")return"[Function "+(e.name||"anonymous")+"]";if(n==="symbol")return iH.call(e).replace(aH,"Symbol($1)");const o=nH.call(e).slice(8,-1);return o==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):o==="Error"||e instanceof Error?"["+rH.call(e)+"]":o==="RegExp"?oH.call(e):null}function By(e,t){let n=aN(e,t);return n!==null?n:JSON.stringify(e,function(o,s){let p=aN(this[o],t);return p!==null?p:s},2)}let Nh={default:"${path} is invalid",required:"${path} is a required field",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:o})=>{let s=o!=null&&o!==n,p=`${e} must be a \`${t}\` type, but the final value was: \`${By(n,!0)}\``+(s?` (cast from the value \`${By(o,!0)}\`).`:".");return n===null&&(p+='\n If "null" is intended as an empty value be sure to mark the schema as `.nullable()`'),p},defined:"${path} must be defined"},Nc={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},lH={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},pR={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"};Object.assign(Object.create(null),{mixed:Nh,string:Nc,number:lH,date:pR,object:{noUnknown:"${path} field has unspecified keys: ${unknown}"},array:{min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},boolean:{isValue:"${path} field must be ${value}"}});var uH=Object.prototype,cH=uH.hasOwnProperty;function dH(e,t){return e!=null&&cH.call(e,t)}var fH=dH,pH=Array.isArray,vp=pH,hH=typeof Pc=="object"&&Pc&&Pc.Object===Object&&Pc,sN=hH,vH=sN,mH=typeof self=="object"&&self&&self.Object===Object&&self,gH=vH||mH||Function("return this")(),rf=gH,yH=rf,bH=yH.Symbol,Sx=bH,lN=Sx,uN=Object.prototype,xH=uN.hasOwnProperty,SH=uN.toString,Vy=lN?lN.toStringTag:void 0;function CH(e){var t=xH.call(e,Vy),n=e[Vy];try{e[Vy]=void 0;var o=!0}catch{}var s=SH.call(e);return o&&(t?e[Vy]=n:delete e[Vy]),s}var wH=CH,RH=Object.prototype,EH=RH.toString;function TH(e){return EH.call(e)}var _H=TH,cN=Sx,OH=wH,PH=_H,DH="[object Null]",kH="[object Undefined]",dN=cN?cN.toStringTag:void 0;function NH(e){return e==null?e===void 0?kH:DH:dN&&dN in Object(e)?OH(e):PH(e)}var zy=NH;function MH(e){return e!=null&&typeof e=="object"}var Uy=MH,AH=zy,$H=Uy,IH="[object Symbol]";function FH(e){return typeof e=="symbol"||$H(e)&&AH(e)==IH}var hR=FH,jH=vp,LH=hR,BH=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,VH=/^\w*$/;function zH(e,t){if(jH(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||LH(e)?!0:VH.test(e)||!BH.test(e)||t!=null&&e in Object(t)}var vR=zH;function UH(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var mR=UH,WH=zy,HH=mR,GH="[object AsyncFunction]",qH="[object Function]",YH="[object GeneratorFunction]",KH="[object Proxy]";function XH(e){if(!HH(e))return!1;var t=WH(e);return t==qH||t==YH||t==GH||t==KH}var fN=XH,QH=rf,ZH=QH["__core-js_shared__"],JH=ZH,gR=JH,pN=function(){var e=/[^.]+$/.exec(gR&&gR.keys&&gR.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function e5(e){return!!pN&&pN in e}var t5=e5,n5=Function.prototype,r5=n5.toString;function o5(e){if(e!=null){try{return r5.call(e)}catch{}try{return e+""}catch{}}return""}var hN=o5,i5=fN,a5=t5,s5=mR,l5=hN,u5=/[\\^$.*+?()[\]{}|]/g,c5=/^\[object .+?Constructor\]$/,d5=Function.prototype,f5=Object.prototype,p5=d5.toString,h5=f5.hasOwnProperty,v5=RegExp("^"+p5.call(h5).replace(u5,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function m5(e){if(!s5(e)||a5(e))return!1;var t=i5(e)?v5:c5;return t.test(l5(e))}var g5=m5;function y5(e,t){return e==null?void 0:e[t]}var b5=y5,x5=g5,S5=b5;function C5(e,t){var n=S5(e,t);return x5(n)?n:void 0}var Mh=C5,w5=Mh,R5=w5(Object,"create"),Cx=R5,vN=Cx;function E5(){this.__data__=vN?vN(null):{},this.size=0}var T5=E5;function _5(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var O5=_5,P5=Cx,D5="__lodash_hash_undefined__",k5=Object.prototype,N5=k5.hasOwnProperty;function M5(e){var t=this.__data__;if(P5){var n=t[e];return n===D5?void 0:n}return N5.call(t,e)?t[e]:void 0}var A5=M5,$5=Cx,I5=Object.prototype,F5=I5.hasOwnProperty;function j5(e){var t=this.__data__;return $5?t[e]!==void 0:F5.call(t,e)}var L5=j5,B5=Cx,V5="__lodash_hash_undefined__";function z5(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=B5&&t===void 0?V5:t,this}var U5=z5,W5=T5,H5=O5,G5=A5,q5=L5,Y5=U5;function _m(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}_m.prototype.clear=W5,_m.prototype.delete=H5,_m.prototype.get=G5,_m.prototype.has=q5,_m.prototype.set=Y5;var K5=_m;function X5(){this.__data__=[],this.size=0}var Q5=X5;function Z5(e,t){return e===t||e!==e&&t!==t}var mN=Z5,J5=mN;function e4(e,t){for(var n=e.length;n--;)if(J5(e[n][0],t))return n;return-1}var wx=e4,t4=wx,n4=Array.prototype,r4=n4.splice;function o4(e){var t=this.__data__,n=t4(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():r4.call(t,n,1),--this.size,!0}var i4=o4,a4=wx;function s4(e){var t=this.__data__,n=a4(t,e);return n<0?void 0:t[n][1]}var l4=s4,u4=wx;function c4(e){return u4(this.__data__,e)>-1}var d4=c4,f4=wx;function p4(e,t){var n=this.__data__,o=f4(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}var h4=p4,v4=Q5,m4=i4,g4=l4,y4=d4,b4=h4;function Om(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}Om.prototype.clear=v4,Om.prototype.delete=m4,Om.prototype.get=g4,Om.prototype.has=y4,Om.prototype.set=b4;var Rx=Om,x4=Mh,S4=rf,C4=x4(S4,"Map"),yR=C4,gN=K5,w4=Rx,R4=yR;function E4(){this.size=0,this.__data__={hash:new gN,map:new(R4||w4),string:new gN}}var T4=E4;function _4(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var O4=_4,P4=O4;function D4(e,t){var n=e.__data__;return P4(t)?n[typeof t=="string"?"string":"hash"]:n.map}var Ex=D4,k4=Ex;function N4(e){var t=k4(this,e).delete(e);return this.size-=t?1:0,t}var M4=N4,A4=Ex;function $4(e){return A4(this,e).get(e)}var I4=$4,F4=Ex;function j4(e){return F4(this,e).has(e)}var L4=j4,B4=Ex;function V4(e,t){var n=B4(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}var z4=V4,U4=T4,W4=M4,H4=I4,G4=L4,q4=z4;function Pm(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}Pm.prototype.clear=U4,Pm.prototype.delete=W4,Pm.prototype.get=H4,Pm.prototype.has=G4,Pm.prototype.set=q4;var bR=Pm,yN=bR,Y4="Expected a function";function xR(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Y4);var n=function(){var o=arguments,s=t?t.apply(this,o):o[0],p=n.cache;if(p.has(s))return p.get(s);var u=e.apply(this,o);return n.cache=p.set(s,u)||p,u};return n.cache=new(xR.Cache||yN),n}xR.Cache=yN;var K4=xR,X4=K4,Q4=500;function Z4(e){var t=X4(e,function(o){return n.size===Q4&&n.clear(),o}),n=t.cache;return t}var J4=Z4,e3=J4,t3=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n3=/\\(\\)?/g,r3=e3(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(t3,function(n,o,s,p){t.push(s?p.replace(n3,"$1"):o||n)}),t}),o3=r3;function i3(e,t){for(var n=-1,o=e==null?0:e.length,s=Array(o);++n<o;)s[n]=t(e[n],n,e);return s}var a3=i3,bN=Sx,s3=a3,l3=vp,u3=hR,c3=1/0,xN=bN?bN.prototype:void 0,SN=xN?xN.toString:void 0;function CN(e){if(typeof e=="string")return e;if(l3(e))return s3(e,CN)+"";if(u3(e))return SN?SN.call(e):"";var t=e+"";return t=="0"&&1/e==-c3?"-0":t}var d3=CN,f3=d3;function p3(e){return e==null?"":f3(e)}var h3=p3,v3=vp,m3=vR,g3=o3,y3=h3;function b3(e,t){return v3(e)?e:m3(e,t)?[e]:g3(y3(e))}var wN=b3,x3=zy,S3=Uy,C3="[object Arguments]";function w3(e){return S3(e)&&x3(e)==C3}var R3=w3,RN=R3,E3=Uy,EN=Object.prototype,T3=EN.hasOwnProperty,_3=EN.propertyIsEnumerable,O3=RN(function(){return arguments}())?RN:function(e){return E3(e)&&T3.call(e,"callee")&&!_3.call(e,"callee")},TN=O3,P3=9007199254740991,D3=/^(?:0|[1-9]\d*)$/;function k3(e,t){var n=typeof e;return t=t??P3,!!t&&(n=="number"||n!="symbol"&&D3.test(e))&&e>-1&&e%1==0&&e<t}var _N=k3,N3=9007199254740991;function M3(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=N3}var SR=M3,A3=hR,$3=1/0;function I3(e){if(typeof e=="string"||A3(e))return e;var t=e+"";return t=="0"&&1/e==-$3?"-0":t}var Tx=I3,F3=wN,j3=TN,L3=vp,B3=_N,V3=SR,z3=Tx;function U3(e,t,n){t=F3(t,e);for(var o=-1,s=t.length,p=!1;++o<s;){var u=z3(t[o]);if(!(p=e!=null&&n(e,u)))break;e=e[u]}return p||++o!=s?p:(s=e==null?0:e.length,!!s&&V3(s)&&B3(u,s)&&(L3(e)||j3(e)))}var ON=U3,W3=fH,H3=ON;function G3(e,t){return e!=null&&H3(e,t,W3)}var q3=G3;const Y3=nm(q3),K3=e=>e&&e.__isYupSchema__;class X3{constructor(t,n){if(this.fn=void 0,this.refs=t,this.refs=t,typeof n=="function"){this.fn=n;return}if(!Y3(n,"is"))throw new TypeError("`is:` is required for `when()` conditions");if(!n.then&&!n.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:o,then:s,otherwise:p}=n,u=typeof o=="function"?o:(...g)=>g.every(b=>b===o);this.fn=function(...g){let b=g.pop(),y=g.pop(),C=u(...g)?s:p;if(C)return typeof C=="function"?C(y):y.concat(C.resolve(b))}}resolve(t,n){let o=this.refs.map(p=>p.getValue(n==null?void 0:n.value,n==null?void 0:n.parent,n==null?void 0:n.context)),s=this.fn.apply(t,o.concat(t,n));if(s===void 0||s===t)return t;if(!K3(s))throw new TypeError("conditions must return a schema object");return s.resolve(n)}}function PN(e){return e==null?[]:[].concat(e)}function CR(){return CR=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},CR.apply(this,arguments)}let Q3=/\$\{\s*(\w+)\s*\}/g;class $u extends Error{static formatError(t,n){const o=n.label||n.path||"this";return o!==n.path&&(n=CR({},n,{path:o})),typeof t=="string"?t.replace(Q3,(s,p)=>By(n[p])):typeof t=="function"?t(n):t}static isError(t){return t&&t.name==="ValidationError"}constructor(t,n,o,s){super(),this.value=void 0,this.path=void 0,this.type=void 0,this.errors=void 0,this.params=void 0,this.inner=void 0,this.name="ValidationError",this.value=n,this.path=o,this.type=s,this.errors=[],this.inner=[],PN(t).forEach(p=>{$u.isError(p)?(this.errors.push(...p.errors),this.inner=this.inner.concat(p.inner.length?p.inner:p)):this.errors.push(p)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0],Error.captureStackTrace&&Error.captureStackTrace(this,$u)}}const Z3=e=>{let t=!1;return(...n)=>{t||(t=!0,e(...n))}};function DN(e,t){let{endEarly:n,tests:o,args:s,value:p,errors:u,sort:g,path:b}=e,y=Z3(t),C=o.length;const w=[];if(u=u||[],!C)return u.length?y(new $u(u,p,b)):y(null,p);for(let O=0;O<o.length;O++){const P=o[O];P(s,function(I){if(I){if(!$u.isError(I))return y(I,p);if(n)return I.value=p,y(I,p);w.push(I)}if(--C<=0){if(w.length&&(g&&w.sort(g),u.length&&w.push(...u),u=w),u.length){y(new $u(u,p,b),p);return}y(null,p)}})}}var J3=Mh,e6=function(){try{var e=J3(Object,"defineProperty");return e({},"",{}),e}catch{}}(),t6=e6,kN=t6;function n6(e,t,n){t=="__proto__"&&kN?kN(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var r6=n6;function o6(e){return function(t,n,o){for(var s=-1,p=Object(t),u=o(t),g=u.length;g--;){var b=u[e?g:++s];if(n(p[b],b,p)===!1)break}return t}}var i6=o6,a6=i6,s6=a6(),l6=s6;function u6(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}var c6=u6,_x={exports:{}};function d6(){return!1}var f6=d6;_x.exports,function(e,t){var n=rf,o=f6,s=t&&!t.nodeType&&t,p=s&&!0&&e&&!e.nodeType&&e,u=p&&p.exports===s,g=u?n.Buffer:void 0,b=g?g.isBuffer:void 0,y=b||o;e.exports=y}(_x,_x.exports);var NN=_x.exports,p6=zy,h6=SR,v6=Uy,m6="[object Arguments]",g6="[object Array]",y6="[object Boolean]",b6="[object Date]",x6="[object Error]",S6="[object Function]",C6="[object Map]",w6="[object Number]",R6="[object Object]",E6="[object RegExp]",T6="[object Set]",_6="[object String]",O6="[object WeakMap]",P6="[object ArrayBuffer]",D6="[object DataView]",k6="[object Float32Array]",N6="[object Float64Array]",M6="[object Int8Array]",A6="[object Int16Array]",$6="[object Int32Array]",I6="[object Uint8Array]",F6="[object Uint8ClampedArray]",j6="[object Uint16Array]",L6="[object Uint32Array]",Ai={};Ai[k6]=Ai[N6]=Ai[M6]=Ai[A6]=Ai[$6]=Ai[I6]=Ai[F6]=Ai[j6]=Ai[L6]=!0,Ai[m6]=Ai[g6]=Ai[P6]=Ai[y6]=Ai[D6]=Ai[b6]=Ai[x6]=Ai[S6]=Ai[C6]=Ai[w6]=Ai[R6]=Ai[E6]=Ai[T6]=Ai[_6]=Ai[O6]=!1;function B6(e){return v6(e)&&h6(e.length)&&!!Ai[p6(e)]}var V6=B6;function z6(e){return function(t){return e(t)}}var U6=z6,Ox={exports:{}};Ox.exports,function(e,t){var n=sN,o=t&&!t.nodeType&&t,s=o&&!0&&e&&!e.nodeType&&e,p=s&&s.exports===o,u=p&&n.process,g=function(){try{var b=s&&s.require&&s.require("util").types;return b||u&&u.binding&&u.binding("util")}catch{}}();e.exports=g}(Ox,Ox.exports);var W6=Ox.exports,H6=V6,G6=U6,MN=W6,AN=MN&&MN.isTypedArray,q6=AN?G6(AN):H6,$N=q6,Y6=c6,K6=TN,X6=vp,Q6=NN,Z6=_N,J6=$N,eG=Object.prototype,tG=eG.hasOwnProperty;function nG(e,t){var n=X6(e),o=!n&&K6(e),s=!n&&!o&&Q6(e),p=!n&&!o&&!s&&J6(e),u=n||o||s||p,g=u?Y6(e.length,String):[],b=g.length;for(var y in e)(t||tG.call(e,y))&&!(u&&(y=="length"||s&&(y=="offset"||y=="parent")||p&&(y=="buffer"||y=="byteLength"||y=="byteOffset")||Z6(y,b)))&&g.push(y);return g}var rG=nG,oG=Object.prototype;function iG(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||oG;return e===n}var aG=iG;function sG(e,t){return function(n){return e(t(n))}}var lG=sG,uG=lG,cG=uG(Object.keys,Object),dG=cG,fG=aG,pG=dG,hG=Object.prototype,vG=hG.hasOwnProperty;function mG(e){if(!fG(e))return pG(e);var t=[];for(var n in Object(e))vG.call(e,n)&&n!="constructor"&&t.push(n);return t}var gG=mG,yG=fN,bG=SR;function xG(e){return e!=null&&bG(e.length)&&!yG(e)}var SG=xG,CG=rG,wG=gG,RG=SG;function EG(e){return RG(e)?CG(e):wG(e)}var wR=EG,TG=l6,_G=wR;function OG(e,t){return e&&TG(e,t,_G)}var PG=OG,DG=Rx;function kG(){this.__data__=new DG,this.size=0}var NG=kG;function MG(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var AG=MG;function $G(e){return this.__data__.get(e)}var IG=$G;function FG(e){return this.__data__.has(e)}var jG=FG,LG=Rx,BG=yR,VG=bR,zG=200;function UG(e,t){var n=this.__data__;if(n instanceof LG){var o=n.__data__;if(!BG||o.length<zG-1)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new VG(o)}return n.set(e,t),this.size=n.size,this}var WG=UG,HG=Rx,GG=NG,qG=AG,YG=IG,KG=jG,XG=WG;function Dm(e){var t=this.__data__=new HG(e);this.size=t.size}Dm.prototype.clear=GG,Dm.prototype.delete=qG,Dm.prototype.get=YG,Dm.prototype.has=KG,Dm.prototype.set=XG;var IN=Dm,QG="__lodash_hash_undefined__";function ZG(e){return this.__data__.set(e,QG),this}var JG=ZG;function e8(e){return this.__data__.has(e)}var t8=e8,n8=bR,r8=JG,o8=t8;function Px(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new n8;++t<n;)this.add(e[t])}Px.prototype.add=Px.prototype.push=r8,Px.prototype.has=o8;var i8=Px;function a8(e,t){for(var n=-1,o=e==null?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1}var s8=a8;function l8(e,t){return e.has(t)}var u8=l8,c8=i8,d8=s8,f8=u8,p8=1,h8=2;function v8(e,t,n,o,s,p){var u=n&p8,g=e.length,b=t.length;if(g!=b&&!(u&&b>g))return!1;var y=p.get(e),C=p.get(t);if(y&&C)return y==t&&C==e;var w=-1,O=!0,P=n&h8?new c8:void 0;for(p.set(e,t),p.set(t,e);++w<g;){var D=e[w],I=t[w];if(o)var j=u?o(I,D,w,t,e,p):o(D,I,w,e,t,p);if(j!==void 0){if(j)continue;O=!1;break}if(P){if(!d8(t,function(z,H){if(!f8(P,H)&&(D===z||s(D,z,n,o,p)))return P.push(H)})){O=!1;break}}else if(!(D===I||s(D,I,n,o,p))){O=!1;break}}return p.delete(e),p.delete(t),O}var FN=v8,m8=rf,g8=m8.Uint8Array,y8=g8;function b8(e){var t=-1,n=Array(e.size);return e.forEach(function(o,s){n[++t]=[s,o]}),n}var x8=b8;function S8(e){var t=-1,n=Array(e.size);return e.forEach(function(o){n[++t]=o}),n}var C8=S8,jN=Sx,LN=y8,w8=mN,R8=FN,E8=x8,T8=C8,_8=1,O8=2,P8="[object Boolean]",D8="[object Date]",k8="[object Error]",N8="[object Map]",M8="[object Number]",A8="[object RegExp]",$8="[object Set]",I8="[object String]",F8="[object Symbol]",j8="[object ArrayBuffer]",L8="[object DataView]",BN=jN?jN.prototype:void 0,RR=BN?BN.valueOf:void 0;function B8(e,t,n,o,s,p,u){switch(n){case L8:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case j8:return!(e.byteLength!=t.byteLength||!p(new LN(e),new LN(t)));case P8:case D8:case M8:return w8(+e,+t);case k8:return e.name==t.name&&e.message==t.message;case A8:case I8:return e==t+"";case N8:var g=E8;case $8:var b=o&_8;if(g||(g=T8),e.size!=t.size&&!b)return!1;var y=u.get(e);if(y)return y==t;o|=O8,u.set(e,t);var C=R8(g(e),g(t),o,s,p,u);return u.delete(e),C;case F8:if(RR)return RR.call(e)==RR.call(t)}return!1}var V8=B8;function z8(e,t){for(var n=-1,o=t.length,s=e.length;++n<o;)e[s+n]=t[n];return e}var U8=z8,W8=U8,H8=vp;function G8(e,t,n){var o=t(e);return H8(e)?o:W8(o,n(e))}var q8=G8;function Y8(e,t){for(var n=-1,o=e==null?0:e.length,s=0,p=[];++n<o;){var u=e[n];t(u,n,e)&&(p[s++]=u)}return p}var K8=Y8;function X8(){return[]}var Q8=X8,Z8=K8,J8=Q8,e9=Object.prototype,t9=e9.propertyIsEnumerable,VN=Object.getOwnPropertySymbols,n9=VN?function(e){return e==null?[]:(e=Object(e),Z8(VN(e),function(t){return t9.call(e,t)}))}:J8,r9=n9,o9=q8,i9=r9,a9=wR;function s9(e){return o9(e,a9,i9)}var l9=s9,zN=l9,u9=1,c9=Object.prototype,d9=c9.hasOwnProperty;function f9(e,t,n,o,s,p){var u=n&u9,g=zN(e),b=g.length,y=zN(t),C=y.length;if(b!=C&&!u)return!1;for(var w=b;w--;){var O=g[w];if(!(u?O in t:d9.call(t,O)))return!1}var P=p.get(e),D=p.get(t);if(P&&D)return P==t&&D==e;var I=!0;p.set(e,t),p.set(t,e);for(var j=u;++w<b;){O=g[w];var z=e[O],H=t[O];if(o)var L=u?o(H,z,O,t,e,p):o(z,H,O,e,t,p);if(!(L===void 0?z===H||s(z,H,n,o,p):L)){I=!1;break}j||(j=O=="constructor")}if(I&&!j){var U=e.constructor,A=t.constructor;U!=A&&"constructor"in e&&"constructor"in t&&!(typeof U=="function"&&U instanceof U&&typeof A=="function"&&A instanceof A)&&(I=!1)}return p.delete(e),p.delete(t),I}var p9=f9,h9=Mh,v9=rf,m9=h9(v9,"DataView"),g9=m9,y9=Mh,b9=rf,x9=y9(b9,"Promise"),S9=x9,C9=Mh,w9=rf,R9=C9(w9,"Set"),E9=R9,T9=Mh,_9=rf,O9=T9(_9,"WeakMap"),P9=O9,ER=g9,TR=yR,_R=S9,OR=E9,PR=P9,UN=zy,km=hN,WN="[object Map]",D9="[object Object]",HN="[object Promise]",GN="[object Set]",qN="[object WeakMap]",YN="[object DataView]",k9=km(ER),N9=km(TR),M9=km(_R),A9=km(OR),$9=km(PR),Ah=UN;(ER&&Ah(new ER(new ArrayBuffer(1)))!=YN||TR&&Ah(new TR)!=WN||_R&&Ah(_R.resolve())!=HN||OR&&Ah(new OR)!=GN||PR&&Ah(new PR)!=qN)&&(Ah=function(e){var t=UN(e),n=t==D9?e.constructor:void 0,o=n?km(n):"";if(o)switch(o){case k9:return YN;case N9:return WN;case M9:return HN;case A9:return GN;case $9:return qN}return t});var I9=Ah,DR=IN,F9=FN,j9=V8,L9=p9,KN=I9,XN=vp,QN=NN,B9=$N,V9=1,ZN="[object Arguments]",JN="[object Array]",Dx="[object Object]",z9=Object.prototype,eM=z9.hasOwnProperty;function U9(e,t,n,o,s,p){var u=XN(e),g=XN(t),b=u?JN:KN(e),y=g?JN:KN(t);b=b==ZN?Dx:b,y=y==ZN?Dx:y;var C=b==Dx,w=y==Dx,O=b==y;if(O&&QN(e)){if(!QN(t))return!1;u=!0,C=!1}if(O&&!C)return p||(p=new DR),u||B9(e)?F9(e,t,n,o,s,p):j9(e,t,b,n,o,s,p);if(!(n&V9)){var P=C&&eM.call(e,"__wrapped__"),D=w&&eM.call(t,"__wrapped__");if(P||D){var I=P?e.value():e,j=D?t.value():t;return p||(p=new DR),s(I,j,n,o,p)}}return O?(p||(p=new DR),L9(e,t,n,o,s,p)):!1}var W9=U9,H9=W9,tM=Uy;function nM(e,t,n,o,s){return e===t?!0:e==null||t==null||!tM(e)&&!tM(t)?e!==e&&t!==t:H9(e,t,n,o,nM,s)}var rM=nM,G9=IN,q9=rM,Y9=1,K9=2;function X9(e,t,n,o){var s=n.length,p=s,u=!o;if(e==null)return!p;for(e=Object(e);s--;){var g=n[s];if(u&&g[2]?g[1]!==e[g[0]]:!(g[0]in e))return!1}for(;++s<p;){g=n[s];var b=g[0],y=e[b],C=g[1];if(u&&g[2]){if(y===void 0&&!(b in e))return!1}else{var w=new G9;if(o)var O=o(y,C,b,e,t,w);if(!(O===void 0?q9(C,y,Y9|K9,o,w):O))return!1}}return!0}var Q9=X9,Z9=mR;function J9(e){return e===e&&!Z9(e)}var oM=J9,e7=oM,t7=wR;function n7(e){for(var t=t7(e),n=t.length;n--;){var o=t[n],s=e[o];t[n]=[o,s,e7(s)]}return t}var r7=n7;function o7(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}var iM=o7,i7=Q9,a7=r7,s7=iM;function l7(e){var t=a7(e);return t.length==1&&t[0][2]?s7(t[0][0],t[0][1]):function(n){return n===e||i7(n,e,t)}}var u7=l7,c7=wN,d7=Tx;function f7(e,t){t=c7(t,e);for(var n=0,o=t.length;e!=null&&n<o;)e=e[d7(t[n++])];return n&&n==o?e:void 0}var aM=f7,p7=aM;function h7(e,t,n){var o=e==null?void 0:p7(e,t);return o===void 0?n:o}var v7=h7;function m7(e,t){return e!=null&&t in Object(e)}var g7=m7,y7=g7,b7=ON;function x7(e,t){return e!=null&&b7(e,t,y7)}var S7=x7,C7=rM,w7=v7,R7=S7,E7=vR,T7=oM,_7=iM,O7=Tx,P7=1,D7=2;function k7(e,t){return E7(e)&&T7(t)?_7(O7(e),t):function(n){var o=w7(n,e);return o===void 0&&o===t?R7(n,e):C7(t,o,P7|D7)}}var N7=k7;function M7(e){return e}var A7=M7;function $7(e){return function(t){return t==null?void 0:t[e]}}var I7=$7,F7=aM;function j7(e){return function(t){return F7(t,e)}}var L7=j7,B7=I7,V7=L7,z7=vR,U7=Tx;function W7(e){return z7(e)?B7(U7(e)):V7(e)}var H7=W7,G7=u7,q7=N7,Y7=A7,K7=vp,X7=H7;function Q7(e){return typeof e=="function"?e:e==null?Y7:typeof e=="object"?K7(e)?q7(e[0],e[1]):G7(e):X7(e)}var Z7=Q7,J7=r6,eq=PG,tq=Z7;function nq(e,t){var n={};return t=tq(t),eq(e,function(o,s,p){J7(n,s,t(o,s,p))}),n}var rq=nq;const oq=nm(rq);function $h(e){this._maxSize=e,this.clear()}$h.prototype.clear=function(){this._size=0,this._values=Object.create(null)},$h.prototype.get=function(e){return this._values[e]},$h.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var iq=/[^.^\]^[]+|(?=\[\]|\.\.)/g,sM=/^\d+$/,aq=/^\d/,sq=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,lq=/^\s*(['"]?)(.*?)(\1)\s*$/,kR=512,lM=new $h(kR),uM=new $h(kR),cM=new $h(kR),dM={Cache:$h,split:MR,normalizePath:NR,setter:function(e){var t=NR(e);return uM.get(e)||uM.set(e,function(o,s){for(var p=0,u=t.length,g=o;p<u-1;){var b=t[p];if(b==="__proto__"||b==="constructor"||b==="prototype")return o;g=g[t[p++]]}g[t[p]]=s})},getter:function(e,t){var n=NR(e);return cM.get(e)||cM.set(e,function(s){for(var p=0,u=n.length;p<u;)if(s!=null||!t)s=s[n[p++]];else return;return s})},join:function(e){return e.reduce(function(t,n){return t+(AR(n)||sM.test(n)?"["+n+"]":(t?".":"")+n)},"")},forEach:function(e,t,n){uq(Array.isArray(e)?e:MR(e),t,n)}};function NR(e){return lM.get(e)||lM.set(e,MR(e).map(function(t){return t.replace(lq,"$2")}))}function MR(e){return e.match(iq)||[""]}function uq(e,t,n){var o=e.length,s,p,u,g;for(p=0;p<o;p++)s=e[p],s&&(fq(s)&&(s='"'+s+'"'),g=AR(s),u=!g&&/^\d+$/.test(s),t.call(n,s,g,u,p,e))}function AR(e){return typeof e=="string"&&e&&["'",'"'].indexOf(e.charAt(0))!==-1}function cq(e){return e.match(aq)&&!e.match(sM)}function dq(e){return sq.test(e)}function fq(e){return!AR(e)&&(cq(e)||dq(e))}const kx={context:"$",value:"."};class Ih{constructor(t,n={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof t!="string")throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),t==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===kx.context,this.isValue=this.key[0]===kx.value,this.isSibling=!this.isContext&&!this.isValue;let o=this.isContext?kx.context:this.isValue?kx.value:"";this.path=this.key.slice(o.length),this.getter=this.path&&dM.getter(this.path,!0),this.map=n.map}getValue(t,n,o){let s=this.isContext?o:this.isValue?t:n;return this.getter&&(s=this.getter(s||{})),this.map&&(s=this.map(s)),s}cast(t,n){return this.getValue(t,n==null?void 0:n.parent,n==null?void 0:n.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}Ih.prototype.__isYupRef=!0;function Nx(){return Nx=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Nx.apply(this,arguments)}function pq(e,t){if(e==null)return{};var n={},o=Object.keys(e),s,p;for(p=0;p<o.length;p++)s=o[p],!(t.indexOf(s)>=0)&&(n[s]=e[s]);return n}function Mx(e){function t(n,o){let{value:s,path:p="",label:u,options:g,originalValue:b,sync:y}=n,C=pq(n,["value","path","label","options","originalValue","sync"]);const{name:w,test:O,params:P,message:D}=e;let{parent:I,context:j}=g;function z(Q){return Ih.isRef(Q)?Q.getValue(s,I,j):Q}function H(Q={}){const te=oq(Nx({value:s,originalValue:b,label:u,path:Q.path||p},P,Q.params),z),ue=new $u($u.formatError(Q.message||D,te),s,te.path,Q.type||w);return ue.params=te,ue}let L=Nx({path:p,parent:I,type:w,createError:H,resolve:z,options:g,originalValue:b},C);if(!y){try{Promise.resolve(O.call(L,s,L)).then(Q=>{$u.isError(Q)?o(Q):Q?o(null,Q):o(H())}).catch(o)}catch(Q){o(Q)}return}let U;try{var A;if(U=O.call(L,s,L),typeof((A=U)==null?void 0:A.then)=="function")throw new Error(`Validation test of type: "${L.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`)}catch(Q){o(Q);return}$u.isError(U)?o(U):U?o(null,U):o(H())}return t.OPTIONS=e,t}let hq=e=>e.substr(0,e.length-1).substr(1);function vq(e,t,n,o=n){let s,p,u;return t?(dM.forEach(t,(g,b,y)=>{let C=b?hq(g):g;if(e=e.resolve({context:o,parent:s,value:n}),e.innerType){let w=y?parseInt(C,10):0;if(n&&w>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${g}, in the path: ${t}. because there is no value at that index. `);s=n,n=n&&n[w],e=e.innerType}if(!y){if(!e.fields||!e.fields[C])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${u} which is a type: "${e._type}")`);s=n,n=n&&n[C],e=e.fields[C]}p=C,u=b?"["+g+"]":"."+g}),{schema:e,parent:s,parentPath:p}):{parent:s,parentPath:t,schema:e}}class Ax{constructor(){this.list=void 0,this.refs=void 0,this.list=new Set,this.refs=new Map}get size(){return this.list.size+this.refs.size}describe(){const t=[];for(const n of this.list)t.push(n);for(const[,n]of this.refs)t.push(n.describe());return t}toArray(){return Array.from(this.list).concat(Array.from(this.refs.values()))}resolveAll(t){return this.toArray().reduce((n,o)=>n.concat(Ih.isRef(o)?t(o):o),[])}add(t){Ih.isRef(t)?this.refs.set(t.key,t):this.list.add(t)}delete(t){Ih.isRef(t)?this.refs.delete(t.key):this.list.delete(t)}clone(){const t=new Ax;return t.list=new Set(this.list),t.refs=new Map(this.refs),t}merge(t,n){const o=this.clone();return t.list.forEach(s=>o.add(s)),t.refs.forEach(s=>o.add(s)),n.list.forEach(s=>o.delete(s)),n.refs.forEach(s=>o.delete(s)),o}}function Iu(){return Iu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Iu.apply(this,arguments)}class md{constructor(t){this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this._typeError=void 0,this._whitelist=new Ax,this._blacklist=new Ax,this.exclusiveTests=Object.create(null),this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(Nh.notType)}),this.type=(t==null?void 0:t.type)||"mixed",this.spec=Iu({strip:!1,strict:!1,abortEarly:!0,recursive:!0,nullable:!1,presence:"optional"},t==null?void 0:t.spec)}get _type(){return this.type}_typeCheck(t){return!0}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;const n=Object.create(Object.getPrototypeOf(this));return n.type=this.type,n._typeError=this._typeError,n._whitelistError=this._whitelistError,n._blacklistError=this._blacklistError,n._whitelist=this._whitelist.clone(),n._blacklist=this._blacklist.clone(),n.exclusiveTests=Iu({},this.exclusiveTests),n.deps=[...this.deps],n.conditions=[...this.conditions],n.tests=[...this.tests],n.transforms=[...this.transforms],n.spec=fR(Iu({},this.spec,t)),n}label(t){let n=this.clone();return n.spec.label=t,n}meta(...t){if(t.length===0)return this.spec.meta;let n=this.clone();return n.spec.meta=Object.assign(n.spec.meta||{},t[0]),n}withMutation(t){let n=this._mutate;this._mutate=!0;let o=t(this);return this._mutate=n,o}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let n=this,o=t.clone();const s=Iu({},n.spec,o.spec);return o.spec=s,o._typeError||(o._typeError=n._typeError),o._whitelistError||(o._whitelistError=n._whitelistError),o._blacklistError||(o._blacklistError=n._blacklistError),o._whitelist=n._whitelist.merge(t._whitelist,t._blacklist),o._blacklist=n._blacklist.merge(t._blacklist,t._whitelist),o.tests=n.tests,o.exclusiveTests=n.exclusiveTests,o.withMutation(p=>{t.tests.forEach(u=>{p.test(u.OPTIONS)})}),o.transforms=[...n.transforms,...o.transforms],o}isType(t){return this.spec.nullable&&t===null?!0:this._typeCheck(t)}resolve(t){let n=this;if(n.conditions.length){let o=n.conditions;n=n.clone(),n.conditions=[],n=o.reduce((s,p)=>p.resolve(s,t),n),n=n.resolve(t)}return n}cast(t,n={}){let o=this.resolve(Iu({value:t},n)),s=o._cast(t,n);if(t!==void 0&&n.assert!==!1&&o.isType(s)!==!0){let p=By(t),u=By(s);throw new TypeError(`The value of ${n.path||"field"} could not be cast to a value that satisfies the schema type: "${o._type}".
|
|
463
|
+
|
|
464
|
+
attempted value: ${p}
|
|
465
|
+
`+(u!==p?`result of cast: ${u}`:""))}return s}_cast(t,n){let o=t===void 0?t:this.transforms.reduce((s,p)=>p.call(this,s,t,this),t);return o===void 0&&(o=this.getDefault()),o}_validate(t,n={},o){let{sync:s,path:p,from:u=[],originalValue:g=t,strict:b=this.spec.strict,abortEarly:y=this.spec.abortEarly}=n,C=t;b||(C=this._cast(C,Iu({assert:!1},n)));let w={value:C,path:p,options:n,originalValue:g,schema:this,label:this.spec.label,sync:s,from:u},O=[];this._typeError&&O.push(this._typeError);let P=[];this._whitelistError&&P.push(this._whitelistError),this._blacklistError&&P.push(this._blacklistError),DN({args:w,value:C,path:p,sync:s,tests:O,endEarly:y},D=>{if(D)return void o(D,C);DN({tests:this.tests.concat(P),args:w,path:p,sync:s,value:C,endEarly:y},o)})}validate(t,n,o){let s=this.resolve(Iu({},n,{value:t}));return typeof o=="function"?s._validate(t,n,o):new Promise((p,u)=>s._validate(t,n,(g,b)=>{g?u(g):p(b)}))}validateSync(t,n){let o=this.resolve(Iu({},n,{value:t})),s;return o._validate(t,Iu({},n,{sync:!0}),(p,u)=>{if(p)throw p;s=u}),s}isValid(t,n){return this.validate(t,n).then(()=>!0,o=>{if($u.isError(o))return!1;throw o})}isValidSync(t,n){try{return this.validateSync(t,n),!0}catch(o){if($u.isError(o))return!1;throw o}}_getDefault(){let t=this.spec.default;return t==null?t:typeof t=="function"?t.call(this):fR(t)}getDefault(t){return this.resolve(t||{})._getDefault()}default(t){return arguments.length===0?this._getDefault():this.clone({default:t})}strict(t=!0){let n=this.clone();return n.spec.strict=t,n}_isPresent(t){return t!=null}defined(t=Nh.defined){return this.test({message:t,name:"defined",exclusive:!0,test(n){return n!==void 0}})}required(t=Nh.required){return this.clone({presence:"required"}).withMutation(n=>n.test({message:t,name:"required",exclusive:!0,test(o){return this.schema._isPresent(o)}}))}notRequired(){let t=this.clone({presence:"optional"});return t.tests=t.tests.filter(n=>n.OPTIONS.name!=="required"),t}nullable(t=!0){return this.clone({nullable:t!==!1})}transform(t){let n=this.clone();return n.transforms.push(t),n}test(...t){let n;if(t.length===1?typeof t[0]=="function"?n={test:t[0]}:n=t[0]:t.length===2?n={name:t[0],test:t[1]}:n={name:t[0],message:t[1],test:t[2]},n.message===void 0&&(n.message=Nh.default),typeof n.test!="function")throw new TypeError("`test` is a required parameters");let o=this.clone(),s=Mx(n),p=n.exclusive||n.name&&o.exclusiveTests[n.name]===!0;if(n.exclusive&&!n.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return n.name&&(o.exclusiveTests[n.name]=!!n.exclusive),o.tests=o.tests.filter(u=>!(u.OPTIONS.name===n.name&&(p||u.OPTIONS.test===s.OPTIONS.test))),o.tests.push(s),o}when(t,n){!Array.isArray(t)&&typeof t!="string"&&(n=t,t=".");let o=this.clone(),s=PN(t).map(p=>new Ih(p));return s.forEach(p=>{p.isSibling&&o.deps.push(p.key)}),o.conditions.push(new X3(s,n)),o}typeError(t){let n=this.clone();return n._typeError=Mx({message:t,name:"typeError",test(o){return o!==void 0&&!this.schema.isType(o)?this.createError({params:{type:this.schema._type}}):!0}}),n}oneOf(t,n=Nh.oneOf){let o=this.clone();return t.forEach(s=>{o._whitelist.add(s),o._blacklist.delete(s)}),o._whitelistError=Mx({message:n,name:"oneOf",test(s){if(s===void 0)return!0;let p=this.schema._whitelist,u=p.resolveAll(this.resolve);return u.includes(s)?!0:this.createError({params:{values:p.toArray().join(", "),resolved:u}})}}),o}notOneOf(t,n=Nh.notOneOf){let o=this.clone();return t.forEach(s=>{o._blacklist.add(s),o._whitelist.delete(s)}),o._blacklistError=Mx({message:n,name:"notOneOf",test(s){let p=this.schema._blacklist,u=p.resolveAll(this.resolve);return u.includes(s)?this.createError({params:{values:p.toArray().join(", "),resolved:u}}):!0}}),o}strip(t=!0){let n=this.clone();return n.spec.strip=t,n}describe(){const t=this.clone(),{label:n,meta:o}=t.spec;return{meta:o,label:n,type:t.type,oneOf:t._whitelist.describe(),notOneOf:t._blacklist.describe(),tests:t.tests.map(p=>({name:p.OPTIONS.name,params:p.OPTIONS.params})).filter((p,u,g)=>g.findIndex(b=>b.name===p.name)===u)}}}md.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])md.prototype[`${e}At`]=function(t,n,o={}){const{parent:s,parentPath:p,schema:u}=vq(this,t,n,o.context);return u[e](s&&s[p],Iu({},o,{parent:s,path:t}))};for(const e of["equals","is"])md.prototype[e]=md.prototype.oneOf;for(const e of["not","nope"])md.prototype[e]=md.prototype.notOneOf;md.prototype.optional=md.prototype.notRequired;const Mc=e=>e==null;let mq=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i,gq=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,yq=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,bq=e=>Mc(e)||e===e.trim(),xq={}.toString();function $R(){return new fM}class fM extends md{constructor(){super({type:"string"}),this.withMutation(()=>{this.transform(function(t){if(this.isType(t)||Array.isArray(t))return t;const n=t!=null&&t.toString?t.toString():t;return n===xq?t:n})})}_typeCheck(t){return t instanceof String&&(t=t.valueOf()),typeof t=="string"}_isPresent(t){return super._isPresent(t)&&!!t.length}length(t,n=Nc.length){return this.test({message:n,name:"length",exclusive:!0,params:{length:t},test(o){return Mc(o)||o.length===this.resolve(t)}})}min(t,n=Nc.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},test(o){return Mc(o)||o.length>=this.resolve(t)}})}max(t,n=Nc.max){return this.test({name:"max",exclusive:!0,message:n,params:{max:t},test(o){return Mc(o)||o.length<=this.resolve(t)}})}matches(t,n){let o=!1,s,p;return n&&(typeof n=="object"?{excludeEmptyString:o=!1,message:s,name:p}=n:s=n),this.test({name:p||"matches",message:s||Nc.matches,params:{regex:t},test:u=>Mc(u)||u===""&&o||u.search(t)!==-1})}email(t=Nc.email){return this.matches(mq,{name:"email",message:t,excludeEmptyString:!0})}url(t=Nc.url){return this.matches(gq,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=Nc.uuid){return this.matches(yq,{name:"uuid",message:t,excludeEmptyString:!1})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=Nc.trim){return this.transform(n=>n!=null?n.trim():n).test({message:t,name:"trim",test:bq})}lowercase(t=Nc.lowercase){return this.transform(n=>Mc(n)?n:n.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,test:n=>Mc(n)||n===n.toLowerCase()})}uppercase(t=Nc.uppercase){return this.transform(n=>Mc(n)?n:n.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,test:n=>Mc(n)||n===n.toUpperCase()})}}$R.prototype=fM.prototype;var Sq=/^(\d{4}|[+\-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;function Cq(e){var t=[1,4,5,6,7,10,11],n=0,o,s;if(s=Sq.exec(e)){for(var p=0,u;u=t[p];++p)s[u]=+s[u]||0;s[2]=(+s[2]||1)-1,s[3]=+s[3]||1,s[7]=s[7]?String(s[7]).substr(0,3):0,(s[8]===void 0||s[8]==="")&&(s[9]===void 0||s[9]==="")?o=+new Date(s[1],s[2],s[3],s[4],s[5],s[6],s[7]):(s[8]!=="Z"&&s[9]!==void 0&&(n=s[10]*60+s[11],s[9]==="+"&&(n=0-n)),o=Date.UTC(s[1],s[2],s[3],s[4],s[5]+n,s[6],s[7]))}else o=Date.parse?Date.parse(e):NaN;return o}let pM=new Date(""),wq=e=>Object.prototype.toString.call(e)==="[object Date]";class Rq extends md{constructor(){super({type:"date"}),this.withMutation(()=>{this.transform(function(t){return this.isType(t)?t:(t=Cq(t),isNaN(t)?pM:new Date(t))})})}_typeCheck(t){return wq(t)&&!isNaN(t.getTime())}prepareParam(t,n){let o;if(Ih.isRef(t))o=t;else{let s=this.cast(t);if(!this._typeCheck(s))throw new TypeError(`\`${n}\` must be a Date or a value that can be \`cast()\` to a Date`);o=s}return o}min(t,n=pR.min){let o=this.prepareParam(t,"min");return this.test({message:n,name:"min",exclusive:!0,params:{min:t},test(s){return Mc(s)||s>=this.resolve(o)}})}max(t,n=pR.max){let o=this.prepareParam(t,"max");return this.test({message:n,name:"max",exclusive:!0,params:{max:t},test(s){return Mc(s)||s<=this.resolve(o)}})}}Rq.INVALID_DATE=pM;var hM={exports:{}};hM.exports=function(e){return vM(Eq(e),e)},hM.exports.array=vM;function vM(e,t){var n=e.length,o=new Array(n),s={},p=n,u=Tq(t),g=_q(e);for(t.forEach(function(y){if(!g.has(y[0])||!g.has(y[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});p--;)s[p]||b(e[p],p,new Set);return o;function b(y,C,w){if(w.has(y)){var O;try{O=", node was:"+JSON.stringify(y)}catch{O=""}throw new Error("Cyclic dependency"+O)}if(!g.has(y))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(y));if(!s[C]){s[C]=!0;var P=u.get(y)||new Set;if(P=Array.from(P),C=P.length){w.add(y);do{var D=P[--C];b(D,g.get(D),w)}while(C);w.delete(y)}o[--n]=y}}}function Eq(e){for(var t=new Set,n=0,o=e.length;n<o;n++){var s=e[n];t.add(s[0]),t.add(s[1])}return Array.from(t)}function Tq(e){for(var t=new Map,n=0,o=e.length;n<o;n++){var s=e[n];t.has(s[0])||t.set(s[0],new Set),t.has(s[1])||t.set(s[1],new Set),t.get(s[0]).add(s[1])}return t}function _q(e){for(var t=new Map,n=0,o=e.length;n<o;n++)t.set(e[n],n);return t}const of="0.5rem",af="1rem",mM="1.5rem",gM="3rem",yM="EDITED",Oq="NEW",bM="Required",Pq=/^\d*\.?\d*$/;$R().trim().required(bM),$R().trim().required(bM).matches(Pq,"Must be a Number");const sf="success",Fu="error",Nm="loading",$x="enabled",IR="warning",Dq="deleting",mp="read",gp="noAccess",ju="14px",pl=Mi({labelBreak:{marginBottom:of},contentBreak:{marginBottom:af},sectionBreak:{marginBottom:mM},doubleSectionBreak:{marginBottom:gM},rightSpacer1:{marginRight:of},rightSpacer2:{marginRight:af},leftSpacer1:{marginLeft:of},leftSpacer2:{marginLeft:af},buttonSpacing:{marginLeft:of,marginRight:of,marginBottom:af},leftRightPadding1:{paddingLeft:of,paddingRight:of},leftRightPadding2:{paddingLeft:af,paddingRight:af},topBottomPadding1:{paddingTop:of,paddingBottom:of},topBottomPadding2:{paddingTop:af,paddingBottom:af}},{classNamePrefix:"spacing",index:2}),Ix=Mi(e=>({boldText:{fontWeight:700},bolderText:{fontWeight:500},smallText:{fontSize:"0.7rem"},warningColor:{color:e.palette.warning.main},centerText:{textAlign:"center"}}),{classNamePrefix:"font"}),Fh=Mi({contentBox:{background:"white",borderRadius:ju,marginBottom:af,padding:gM,overflow:"hidden"},limitWidth60rem:{maxWidth:"60rem",marginLeft:"auto",marginRight:"auto"},limitWidth50rem:{maxWidth:"50rem",marginLeft:"auto",marginRight:"auto"},limitWidth45rem:{maxWidth:"45rem",marginLeft:"auto",marginRight:"auto"},limitWidth40rem:{maxWidth:"40rem",marginLeft:"auto",marginRight:"auto"},limitWidth35rem:{maxWidth:"35rem",marginLeft:"auto",marginRight:"auto"},limitWidth30rem:{maxWidth:"30rem",marginLeft:"auto",marginRight:"auto"},limitWidth25rem:{maxWidth:"25rem",marginLeft:"auto",marginRight:"auto"},centeredText:{textAlign:"center"},startAlignedText:{textAlign:"start"},width20:{width:"20%"},width49:{width:"49%"},width50:{width:"50%"},width60:{width:"60%"},width100:{width:"100%"},flexCenter:{display:"flex",alignItems:"center",justifyContent:"center"},centerJustify:{justifyContent:"center"},leftJustify:{justifyContent:"left"},rightJustify:{justifyContent:"right"},adornmentGap:{gap:"0.35rem"}},{classNamePrefix:"layout",index:2}),kq=Mi(e=>({submitButton:{borderRadius:mM,padding:"0.4rem 1rem",textTransform:"none"},containedText:{color:"white"},spinnerColour:{color:e.palette.grey[500]}}));function FR({loading:e=!1,children:t,errors:n=!1,type:o="submit",onClick:s,disabled:p=!1,variant:u="outlined",styling:g="",color:b="primary",accessLevel:y,...C}){const w={...pl(),...kq()};if(y&&[gp,mp].includes(y))return null;let O=p;return!p&&(e||n)&&(O=!0),B.jsxs(nf,{...C,variant:u,color:b,type:o,className:`${w.submitButton} ${u==="contained"&&w.containedText} ${g}`,disabled:O,onClick:s,children:[t,e?B.jsx(vx,{className:`${w.leftSpacer1} ${w.spinnerColour}`,size:"1.1rem",thickness:6}):""]})}function Ys(){const e=vm(sx);return process.env.NODE_ENV!=="production"&&$.useDebugValue(e),e[Py]||e}const xM=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Nq(e){return Wn("MuiSvgIcon",e)}Bn("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Mq=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Aq=e=>{const{color:t,fontSize:n,classes:o}=e,s={root:["root",t!=="inherit"&&`color${Ft(t)}`,`fontSize${Ft(n)}`]};return Un(s,Nq,o)},$q=mt("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${Ft(n.color)}`],t[`fontSize${Ft(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,o,s,p,u,g,b,y,C,w,O,P,D;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(o=n.create)==null?void 0:o.call(n,"fill",{duration:(s=e.transitions)==null||(s=s.duration)==null?void 0:s.shorter}),fontSize:{inherit:"inherit",small:((p=e.typography)==null||(u=p.pxToRem)==null?void 0:u.call(p,20))||"1.25rem",medium:((g=e.typography)==null||(b=g.pxToRem)==null?void 0:b.call(g,24))||"1.5rem",large:((y=e.typography)==null||(C=y.pxToRem)==null?void 0:C.call(y,35))||"2.1875rem"}[t.fontSize],color:(w=(O=(e.vars||e).palette)==null||(O=O[t.color])==null?void 0:O.main)!=null?w:{action:(P=(e.vars||e).palette)==null||(P=P.action)==null?void 0:P.active,disabled:(D=(e.vars||e).palette)==null||(D=D.action)==null?void 0:D.disabled,inherit:void 0}[t.color]}}),Fx=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiSvgIcon"}),{children:s,className:p,color:u="inherit",component:g="svg",fontSize:b="medium",htmlColor:y,inheritViewBox:C=!1,titleAccess:w,viewBox:O="0 0 24 24"}=o,P=Ot(o,Mq),D=$.isValidElement(s)&&s.type==="svg",I=V({},o,{color:u,component:g,fontSize:b,instanceFontSize:t.fontSize,inheritViewBox:C,viewBox:O,hasSvgAsChild:D}),j={};C||(j.viewBox=O);const z=Aq(I);return B.jsxs($q,V({as:g,className:tn(z.root,p),focusable:"false",color:y,"aria-hidden":w?void 0:!0,role:w?"img":void 0,ref:n},j,P,D&&s.props,{ownerState:I,children:[D?s.props.children:s,w?B.jsx("title",{children:w}):null]}))});process.env.NODE_ENV!=="production"&&(Fx.propTypes={children:a.node,classes:a.object,className:a.string,color:a.oneOfType([a.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),a.string]),component:a.elementType,fontSize:a.oneOfType([a.oneOf(["inherit","large","medium","small"]),a.string]),htmlColor:a.string,inheritViewBox:a.bool,shapeRendering:a.string,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),titleAccess:a.string,viewBox:a.string}),Fx.muiName="SvgIcon";function ai(e,t){function n(o,s){return B.jsx(Fx,V({"data-testid":`${t}Icon`,ref:s},o,{children:e}))}return process.env.NODE_ENV!=="production"&&(n.displayName=`${t}Icon`),n.muiName=Fx.muiName,$.memo($.forwardRef(n))}const Iq=Object.freeze(Object.defineProperty({__proto__:null,capitalize:Ft,createChainedFunction:Xw,createSvgIcon:ai,debounce:Qw,deprecatedPropType:Mj,isMuiElement:sm,ownerDocument:Ua,ownerWindow:lp,requirePropFactory:FP,setRef:P0,unstable_ClassNameGenerator:{configure:e=>{process.env.NODE_ENV!=="production"&&console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join(`
|
|
466
|
+
`)),n1.configure(e)}},unstable_useEnhancedEffect:Wa,unstable_useId:up,unsupportedProp:BP,useControlled:Hl,useEventCallback:ir,useForkRef:qo,useIsFocusVisible:k0},Symbol.toStringTag,{value:"Module"})),SM=e=>e.scrollTop;function Mm(e,t){var n,o;const{timeout:s,easing:p,style:u={}}=e;return{duration:(n=u.transitionDuration)!=null?n:typeof s=="number"?s:s[t.mode]||0,easing:(o=u.transitionTimingFunction)!=null?o:typeof p=="object"?p[t.mode]:p,delay:u.transitionDelay}}function Fq(e){return Wn("MuiCollapse",e)}Bn("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const jq=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],Lq=e=>{const{orientation:t,classes:n}=e,o={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return Un(o,Fq,n)},Bq=mt("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.state==="entered"&&t.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&t.hidden]}})(({theme:e,ownerState:t})=>V({height:0,overflow:"hidden",transition:e.transitions.create("height")},t.orientation==="horizontal"&&{height:"auto",width:0,transition:e.transitions.create("width")},t.state==="entered"&&V({height:"auto",overflow:"visible"},t.orientation==="horizontal"&&{width:"auto"}),t.state==="exited"&&!t.in&&t.collapsedSize==="0px"&&{visibility:"hidden"})),Vq=mt("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})(({ownerState:e})=>V({display:"flex",width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),zq=mt("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})(({ownerState:e})=>V({width:"100%"},e.orientation==="horizontal"&&{width:"auto",height:"100%"})),jx=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiCollapse"}),{addEndListener:s,children:p,className:u,collapsedSize:g="0px",component:b,easing:y,in:C,onEnter:w,onEntered:O,onEntering:P,onExit:D,onExited:I,onExiting:j,orientation:z="vertical",style:H,timeout:L=ZD.standard,TransitionComponent:U=Xl}=o,A=Ot(o,jq),Q=V({},o,{orientation:z,collapsedSize:g}),te=Lq(Q),ue=Ys(),ae=wh(),pe=$.useRef(null),xe=$.useRef(),Pe=typeof g=="number"?`${g}px`:g,ye=z==="horizontal",de=ye?"width":"height",fe=$.useRef(null),Se=qo(n,fe),re=ze=>We=>{if(ze){const Ye=fe.current;We===void 0?ze(Ye):ze(Ye,We)}},ce=()=>pe.current?pe.current[ye?"clientWidth":"clientHeight"]:0,ke=re((ze,We)=>{pe.current&&ye&&(pe.current.style.position="absolute"),ze.style[de]=Pe,w&&w(ze,We)}),Ce=re((ze,We)=>{const Ye=ce();pe.current&&ye&&(pe.current.style.position="");const{duration:ot,easing:yt}=Mm({style:H,timeout:L,easing:y},{mode:"enter"});if(L==="auto"){const Ze=ue.transitions.getAutoHeightDuration(Ye);ze.style.transitionDuration=`${Ze}ms`,xe.current=Ze}else ze.style.transitionDuration=typeof ot=="string"?ot:`${ot}ms`;ze.style[de]=`${Ye}px`,ze.style.transitionTimingFunction=yt,P&&P(ze,We)}),ge=re((ze,We)=>{ze.style[de]="auto",O&&O(ze,We)}),Me=re(ze=>{ze.style[de]=`${ce()}px`,D&&D(ze)}),Le=re(I),Oe=re(ze=>{const We=ce(),{duration:Ye,easing:ot}=Mm({style:H,timeout:L,easing:y},{mode:"exit"});if(L==="auto"){const yt=ue.transitions.getAutoHeightDuration(We);ze.style.transitionDuration=`${yt}ms`,xe.current=yt}else ze.style.transitionDuration=typeof Ye=="string"?Ye:`${Ye}ms`;ze.style[de]=Pe,ze.style.transitionTimingFunction=ot,j&&j(ze)}),Ve=ze=>{L==="auto"&&ae.start(xe.current||0,ze),s&&s(fe.current,ze)};return B.jsx(U,V({in:C,onEnter:ke,onEntered:ge,onEntering:Ce,onExit:Me,onExited:Le,onExiting:Oe,addEndListener:Ve,nodeRef:fe,timeout:L==="auto"?null:L},A,{children:(ze,We)=>B.jsx(Bq,V({as:b,className:tn(te.root,u,{entered:te.entered,exited:!C&&Pe==="0px"&&te.hidden}[ze]),style:V({[ye?"minWidth":"minHeight"]:Pe},H),ownerState:V({},Q,{state:ze}),ref:Se},We,{children:B.jsx(Vq,{ownerState:V({},Q,{state:ze}),className:te.wrapper,ref:pe,children:B.jsx(zq,{ownerState:V({},Q,{state:ze}),className:te.wrapperInner,children:p})})}))}))});process.env.NODE_ENV!=="production"&&(jx.propTypes={addEndListener:a.func,children:a.node,classes:a.object,className:a.string,collapsedSize:a.oneOfType([a.number,a.string]),component:im,easing:a.oneOfType([a.shape({enter:a.string,exit:a.string}),a.string]),in:a.bool,onEnter:a.func,onEntered:a.func,onEntering:a.func,onExit:a.func,onExited:a.func,onExiting:a.func,orientation:a.oneOf(["horizontal","vertical"]),style:a.object,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),timeout:a.oneOfType([a.oneOf(["auto"]),a.number,a.shape({appear:a.number,enter:a.number,exit:a.number})])}),jx.muiSupportAuto=!0;function Uq(e){return Wn("MuiPaper",e)}Bn("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 Wq=["className","component","elevation","square","variant"],Hq=e=>{const{square:t,elevation:n,variant:o,classes:s}=e,p={root:["root",o,!t&&"rounded",o==="elevation"&&`elevation${n}`]};return Un(p,Uq,s)},Gq=mt("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 V({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"&&V({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${Br("#fff",xM(t.elevation))}, ${Br("#fff",xM(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),Am=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiPaper"}),{className:s,component:p="div",elevation:u=1,square:g=!1,variant:b="elevation"}=o,y=Ot(o,Wq),C=V({},o,{component:p,elevation:u,square:g,variant:b}),w=Hq(C);return process.env.NODE_ENV!=="production"&&Ys().shadows[u]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${u}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${u}]\` is defined.`].join(`
|
|
467
|
+
`)),B.jsx(Gq,V({as:p,ownerState:C,className:tn(w.root,s),ref:n},y))});process.env.NODE_ENV!=="production"&&(Am.propTypes={children:a.node,classes:a.object,className:a.string,component:a.elementType,elevation:Jd(Rh,e=>{const{elevation:t,variant:n}=e;return t>0&&n==="outlined"?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${n}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:a.bool,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),variant:a.oneOfType([a.oneOf(["elevation","outlined"]),a.string])});function $m(e){return typeof e=="string"}function Wy(e,t,n){return e===void 0||$m(e)?t:V({},t,{ownerState:V({},t.ownerState,n)})}const qq={disableDefaultClasses:!1},Yq=$.createContext(qq);function Kq(e){const{disableDefaultClasses:t}=$.useContext(Yq);return n=>t?"":e(n)}function CM(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(o=>o.match(/^on[A-Z]/)&&typeof e[o]=="function"&&!t.includes(o)).forEach(o=>{n[o]=e[o]}),n}function jR(e,t,n){return typeof e=="function"?e(t,n):e}function wM(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 Xq(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:o,externalForwardedProps:s,className:p}=e;if(!t){const P=tn(n==null?void 0:n.className,p,s==null?void 0:s.className,o==null?void 0:o.className),D=V({},n==null?void 0:n.style,s==null?void 0:s.style,o==null?void 0:o.style),I=V({},n,s,o);return P.length>0&&(I.className=P),Object.keys(D).length>0&&(I.style=D),{props:I,internalRef:void 0}}const u=CM(V({},s,o)),g=wM(o),b=wM(s),y=t(u),C=tn(y==null?void 0:y.className,n==null?void 0:n.className,p,s==null?void 0:s.className,o==null?void 0:o.className),w=V({},y==null?void 0:y.style,n==null?void 0:n.style,s==null?void 0:s.style,o==null?void 0:o.style),O=V({},y,n,b,g);return C.length>0&&(O.className=C),Object.keys(w).length>0&&(O.style=w),{props:O,internalRef:y.ref}}const Qq=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function si(e){var t;const{elementType:n,externalSlotProps:o,ownerState:s,skipResolvingSlotProps:p=!1}=e,u=Ot(e,Qq),g=p?{}:jR(o,s),{props:b,internalRef:y}=Xq(V({},u,{externalSlotProps:g})),C=qo(y,g==null?void 0:g.ref,(t=e.additionalProps)==null?void 0:t.ref);return Wy(n,V({},b,{ref:C}),s)}function Zq(e){return Wn("MuiAlert",e)}const RM=Bn("MuiAlert",["root","action","icon","message","filled","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function Jq(e){return Wn("MuiIconButton",e)}const eY=Bn("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),tY=["edge","children","className","color","disabled","disableFocusRipple","size"],nY=e=>{const{classes:t,disabled:n,color:o,edge:s,size:p}=e,u={root:["root",n&&"disabled",o!=="default"&&`color${Ft(o)}`,s&&`edge${Ft(s)}`,`size${Ft(p)}`]};return Un(u,Jq,t)},rY=mt(vd,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${Ft(n.color)}`],n.edge&&t[`edge${Ft(n.edge)}`],t[`size${Ft(n.size)}`]]}})(({theme:e,ownerState:t})=>V({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Br(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var n;const o=(n=(e.vars||e).palette)==null?void 0:n[t.color];return V({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&V({color:o==null?void 0:o.main},!t.disableRipple&&{"&:hover":V({},o&&{backgroundColor:e.vars?`rgba(${o.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Br(o.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${eY.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),lf=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiIconButton"}),{edge:s=!1,children:p,className:u,color:g="default",disabled:b=!1,disableFocusRipple:y=!1,size:C="medium"}=o,w=Ot(o,tY),O=V({},o,{edge:s,color:g,disabled:b,disableFocusRipple:y,size:C}),P=nY(O);return B.jsx(rY,V({className:tn(P.root,u),centerRipple:!0,focusRipple:!y,disabled:b,ref:n,ownerState:O},w,{children:p}))});process.env.NODE_ENV!=="production"&&(lf.propTypes={children:Jd(a.node,e=>$.Children.toArray(e.children).some(n=>$.isValidElement(n)&&n.props.onClick)?new Error(["MUI: You are providing an onClick event listener to a child of a button element.","Prefer applying it to the IconButton directly.","This guarantees that the whole <button> will be responsive to click events."].join(`
|
|
468
|
+
`)):null),classes:a.object,className:a.string,color:a.oneOfType([a.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),a.string]),disabled:a.bool,disableFocusRipple:a.bool,disableRipple:a.bool,edge:a.oneOf(["end","start",!1]),size:a.oneOfType([a.oneOf(["small","medium","large"]),a.string]),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});const oY=ai(B.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),iY=ai(B.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),aY=ai(B.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),sY=ai(B.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),lY=ai(B.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),uY=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],cY=e=>{const{variant:t,color:n,severity:o,classes:s}=e,p={root:["root",`${t}${Ft(n||o)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return Un(p,Zq,s)},dY=mt(Am,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Ft(n.color||n.severity)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?ix:ax,o=e.palette.mode==="light"?ax:ix,s=t.color||t.severity;return V({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px"},s&&t.variant==="standard"&&{color:e.vars?e.vars.palette.Alert[`${s}Color`]:n(e.palette[s].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${s}StandardBg`]:o(e.palette[s].light,.9),[`& .${RM.icon}`]:e.vars?{color:e.vars.palette.Alert[`${s}IconColor`]}:{color:e.palette[s].main}},s&&t.variant==="outlined"&&{color:e.vars?e.vars.palette.Alert[`${s}Color`]:n(e.palette[s].light,.6),border:`1px solid ${(e.vars||e).palette[s].light}`,[`& .${RM.icon}`]:e.vars?{color:e.vars.palette.Alert[`${s}IconColor`]}:{color:e.palette[s].main}},s&&t.variant==="filled"&&V({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${s}FilledColor`],backgroundColor:e.vars.palette.Alert[`${s}FilledBg`]}:{backgroundColor:e.palette.mode==="dark"?e.palette[s].dark:e.palette[s].main,color:e.palette.getContrastText(e.palette[s].main)}))}),fY=mt("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),pY=mt("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),EM=mt("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),TM={success:B.jsx(oY,{fontSize:"inherit"}),warning:B.jsx(iY,{fontSize:"inherit"}),error:B.jsx(aY,{fontSize:"inherit"}),info:B.jsx(sY,{fontSize:"inherit"})},_M=$.forwardRef(function(t,n){var o,s,p,u,g,b;const y=An({props:t,name:"MuiAlert"}),{action:C,children:w,className:O,closeText:P="Close",color:D,components:I={},componentsProps:j={},icon:z,iconMapping:H=TM,onClose:L,role:U="alert",severity:A="success",slotProps:Q={},slots:te={},variant:ue="standard"}=y,ae=Ot(y,uY),pe=V({},y,{color:D,severity:A,variant:ue}),xe=cY(pe),Pe=(o=(s=te.closeButton)!=null?s:I.CloseButton)!=null?o:lf,ye=(p=(u=te.closeIcon)!=null?u:I.CloseIcon)!=null?p:lY,de=(g=Q.closeButton)!=null?g:j.closeButton,fe=(b=Q.closeIcon)!=null?b:j.closeIcon;return B.jsxs(dY,V({role:U,elevation:0,ownerState:pe,className:tn(xe.root,O),ref:n},ae,{children:[z!==!1?B.jsx(fY,{ownerState:pe,className:xe.icon,children:z||H[A]||TM[A]}):null,B.jsx(pY,{ownerState:pe,className:xe.message,children:w}),C!=null?B.jsx(EM,{ownerState:pe,className:xe.action,children:C}):null,C==null&&L?B.jsx(EM,{ownerState:pe,className:xe.action,children:B.jsx(Pe,V({size:"small","aria-label":P,title:P,color:"inherit",onClick:L},de,{children:B.jsx(ye,V({fontSize:"small"},fe))}))}):null]}))});process.env.NODE_ENV!=="production"&&(_M.propTypes={action:a.node,children:a.node,classes:a.object,className:a.string,closeText:a.string,color:a.oneOfType([a.oneOf(["error","info","success","warning"]),a.string]),components:a.shape({CloseButton:a.elementType,CloseIcon:a.elementType}),componentsProps:a.shape({closeButton:a.object,closeIcon:a.object}),icon:a.node,iconMapping:a.shape({error:a.node,info:a.node,success:a.node,warning:a.node}),onClose:a.func,role:a.string,severity:a.oneOfType([a.oneOf(["error","info","success","warning"]),a.string]),slotProps:a.shape({closeButton:a.object,closeIcon:a.object}),slots:a.shape({closeButton:a.elementType,closeIcon:a.elementType}),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),variant:a.oneOfType([a.oneOf(["filled","outlined","standard"]),a.string])});function hY(e){return Wn("MuiTypography",e)}Bn("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const vY=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],mY=e=>{const{align:t,gutterBottom:n,noWrap:o,paragraph:s,variant:p,classes:u}=e,g={root:["root",p,e.align!=="inherit"&&`align${Ft(t)}`,n&&"gutterBottom",o&&"noWrap",s&&"paragraph"]};return Un(g,hY,u)},gY=mt("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${Ft(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>V({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&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})),OM={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},yY={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},bY=e=>yY[e]||e,So=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiTypography"}),s=bY(o.color),p=C1(V({},o,{color:s})),{align:u="inherit",className:g,component:b,gutterBottom:y=!1,noWrap:C=!1,paragraph:w=!1,variant:O="body1",variantMapping:P=OM}=p,D=Ot(p,vY),I=V({},p,{align:u,color:s,className:g,component:b,gutterBottom:y,noWrap:C,paragraph:w,variant:O,variantMapping:P}),j=b||(w?"p":P[O]||OM[O])||"span",z=mY(I);return B.jsx(gY,V({as:j,ref:n,ownerState:I,className:tn(z.root,g)},D))});process.env.NODE_ENV!=="production"&&(So.propTypes={align:a.oneOf(["center","inherit","justify","left","right"]),children:a.node,classes:a.object,className:a.string,component:a.elementType,gutterBottom:a.bool,noWrap:a.bool,paragraph:a.bool,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),variant:a.oneOfType([a.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),a.string]),variantMapping:a.object});const PM="base";function xY(e){return`${PM}--${e}`}function SY(e,t){return`${PM}-${e}-${t}`}function DM(e,t){const n=GP[t];return n?xY(n):SY(e,t)}function CY(e,t){const n={};return t.forEach(o=>{n[o]=DM(e,o)}),n}const wY=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function RY(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 EY(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=o=>e.ownerDocument.querySelector(`input[type="radio"]${o}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function TY(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||EY(e))}function _Y(e){const t=[],n=[];return Array.from(e.querySelectorAll(wY)).forEach((o,s)=>{const p=RY(o);p===-1||!TY(o)||(p===0?t.push(o):n.push({documentOrder:s,tabIndex:p,node:o}))}),n.sort((o,s)=>o.tabIndex===s.tabIndex?o.documentOrder-s.documentOrder:o.tabIndex-s.tabIndex).map(o=>o.node).concat(t)}function OY(){return!0}function Hy(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:o=!1,disableRestoreFocus:s=!1,getTabbable:p=_Y,isEnabled:u=OY,open:g}=e,b=$.useRef(!1),y=$.useRef(null),C=$.useRef(null),w=$.useRef(null),O=$.useRef(null),P=$.useRef(!1),D=$.useRef(null),I=qo(t.ref,D),j=$.useRef(null);$.useEffect(()=>{!g||!D.current||(P.current=!n)},[n,g]),$.useEffect(()=>{if(!g||!D.current)return;const L=Ua(D.current);return D.current.contains(L.activeElement)||(D.current.hasAttribute("tabIndex")||(process.env.NODE_ENV!=="production"&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
|
|
469
|
+
`)),D.current.setAttribute("tabIndex","-1")),P.current&&D.current.focus()),()=>{s||(w.current&&w.current.focus&&(b.current=!0,w.current.focus()),w.current=null)}},[g]),$.useEffect(()=>{if(!g||!D.current)return;const L=Ua(D.current),U=te=>{j.current=te,!(o||!u()||te.key!=="Tab")&&L.activeElement===D.current&&te.shiftKey&&(b.current=!0,C.current&&C.current.focus())},A=()=>{const te=D.current;if(te===null)return;if(!L.hasFocus()||!u()||b.current){b.current=!1;return}if(te.contains(L.activeElement)||o&&L.activeElement!==y.current&&L.activeElement!==C.current)return;if(L.activeElement!==O.current)O.current=null;else if(O.current!==null)return;if(!P.current)return;let ue=[];if((L.activeElement===y.current||L.activeElement===C.current)&&(ue=p(D.current)),ue.length>0){var ae,pe;const xe=!!((ae=j.current)!=null&&ae.shiftKey&&((pe=j.current)==null?void 0:pe.key)==="Tab"),Pe=ue[0],ye=ue[ue.length-1];typeof Pe!="string"&&typeof ye!="string"&&(xe?ye.focus():Pe.focus())}else te.focus()};L.addEventListener("focusin",A),L.addEventListener("keydown",U,!0);const Q=setInterval(()=>{L.activeElement&&L.activeElement.tagName==="BODY"&&A()},50);return()=>{clearInterval(Q),L.removeEventListener("focusin",A),L.removeEventListener("keydown",U,!0)}},[n,o,s,u,g,p]);const z=L=>{w.current===null&&(w.current=L.relatedTarget),P.current=!0,O.current=L.target;const U=t.props.onFocus;U&&U(L)},H=L=>{w.current===null&&(w.current=L.relatedTarget),P.current=!0};return B.jsxs($.Fragment,{children:[B.jsx("div",{tabIndex:g?0:-1,onFocus:H,ref:y,"data-testid":"sentinelStart"}),$.cloneElement(t,{ref:I,onFocus:z}),B.jsx("div",{tabIndex:g?0:-1,onFocus:H,ref:C,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(Hy.propTypes={children:om,disableAutoFocus:a.bool,disableEnforceFocus:a.bool,disableRestoreFocus:a.bool,getTabbable:a.func,isEnabled:a.func,open:a.bool.isRequired}),process.env.NODE_ENV!=="production"&&(Hy.propTypes=Yw(Hy.propTypes));var hl="top",Lu="bottom",Bu="right",vl="left",LR="auto",Gy=[hl,Lu,Bu,vl],Im="start",qy="end",PY="clippingParents",kM="viewport",Yy="popper",DY="reference",NM=Gy.reduce(function(e,t){return e.concat([t+"-"+Im,t+"-"+qy])},[]),MM=[].concat(Gy,[LR]).reduce(function(e,t){return e.concat([t,t+"-"+Im,t+"-"+qy])},[]),kY="beforeRead",NY="read",MY="afterRead",AY="beforeMain",$Y="main",IY="afterMain",FY="beforeWrite",jY="write",LY="afterWrite",BY=[kY,NY,MY,AY,$Y,IY,FY,jY,LY];function gd(e){return e?(e.nodeName||"").toLowerCase():null}function Ql(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function jh(e){var t=Ql(e).Element;return e instanceof t||e instanceof Element}function Vu(e){var t=Ql(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function BR(e){if(typeof ShadowRoot>"u")return!1;var t=Ql(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function VY(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var o=t.styles[n]||{},s=t.attributes[n]||{},p=t.elements[n];!Vu(p)||!gd(p)||(Object.assign(p.style,o),Object.keys(s).forEach(function(u){var g=s[u];g===!1?p.removeAttribute(u):p.setAttribute(u,g===!0?"":g)}))})}function zY(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(o){var s=t.elements[o],p=t.attributes[o]||{},u=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:n[o]),g=u.reduce(function(b,y){return b[y]="",b},{});!Vu(s)||!gd(s)||(Object.assign(s.style,g),Object.keys(p).forEach(function(b){s.removeAttribute(b)}))})}}const UY={name:"applyStyles",enabled:!0,phase:"write",fn:VY,effect:zY,requires:["computeStyles"]};function yd(e){return e.split("-")[0]}var Lh=Math.max,Lx=Math.min,Fm=Math.round;function VR(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function AM(){return!/^((?!chrome|android).)*safari/i.test(VR())}function jm(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var o=e.getBoundingClientRect(),s=1,p=1;t&&Vu(e)&&(s=e.offsetWidth>0&&Fm(o.width)/e.offsetWidth||1,p=e.offsetHeight>0&&Fm(o.height)/e.offsetHeight||1);var u=jh(e)?Ql(e):window,g=u.visualViewport,b=!AM()&&n,y=(o.left+(b&&g?g.offsetLeft:0))/s,C=(o.top+(b&&g?g.offsetTop:0))/p,w=o.width/s,O=o.height/p;return{width:w,height:O,top:C,right:y+w,bottom:C+O,left:y,x:y,y:C}}function zR(e){var t=jm(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function $M(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&BR(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function uf(e){return Ql(e).getComputedStyle(e)}function WY(e){return["table","td","th"].indexOf(gd(e))>=0}function yp(e){return((jh(e)?e.ownerDocument:e.document)||window.document).documentElement}function Bx(e){return gd(e)==="html"?e:e.assignedSlot||e.parentNode||(BR(e)?e.host:null)||yp(e)}function IM(e){return!Vu(e)||uf(e).position==="fixed"?null:e.offsetParent}function HY(e){var t=/firefox/i.test(VR()),n=/Trident/i.test(VR());if(n&&Vu(e)){var o=uf(e);if(o.position==="fixed")return null}var s=Bx(e);for(BR(s)&&(s=s.host);Vu(s)&&["html","body"].indexOf(gd(s))<0;){var p=uf(s);if(p.transform!=="none"||p.perspective!=="none"||p.contain==="paint"||["transform","perspective"].indexOf(p.willChange)!==-1||t&&p.willChange==="filter"||t&&p.filter&&p.filter!=="none")return s;s=s.parentNode}return null}function Ky(e){for(var t=Ql(e),n=IM(e);n&&WY(n)&&uf(n).position==="static";)n=IM(n);return n&&(gd(n)==="html"||gd(n)==="body"&&uf(n).position==="static")?t:n||HY(e)||t}function UR(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Xy(e,t,n){return Lh(e,Lx(t,n))}function GY(e,t,n){var o=Xy(e,t,n);return o>n?n:o}function FM(){return{top:0,right:0,bottom:0,left:0}}function jM(e){return Object.assign({},FM(),e)}function LM(e,t){return t.reduce(function(n,o){return n[o]=e,n},{})}var qY=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,jM(typeof t!="number"?t:LM(t,Gy))};function YY(e){var t,n=e.state,o=e.name,s=e.options,p=n.elements.arrow,u=n.modifiersData.popperOffsets,g=yd(n.placement),b=UR(g),y=[vl,Bu].indexOf(g)>=0,C=y?"height":"width";if(!(!p||!u)){var w=qY(s.padding,n),O=zR(p),P=b==="y"?hl:vl,D=b==="y"?Lu:Bu,I=n.rects.reference[C]+n.rects.reference[b]-u[b]-n.rects.popper[C],j=u[b]-n.rects.reference[b],z=Ky(p),H=z?b==="y"?z.clientHeight||0:z.clientWidth||0:0,L=I/2-j/2,U=w[P],A=H-O[C]-w[D],Q=H/2-O[C]/2+L,te=Xy(U,Q,A),ue=b;n.modifiersData[o]=(t={},t[ue]=te,t.centerOffset=te-Q,t)}}function KY(e){var t=e.state,n=e.options,o=n.element,s=o===void 0?"[data-popper-arrow]":o;s!=null&&(typeof s=="string"&&(s=t.elements.popper.querySelector(s),!s)||$M(t.elements.popper,s)&&(t.elements.arrow=s))}const XY={name:"arrow",enabled:!0,phase:"main",fn:YY,effect:KY,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Lm(e){return e.split("-")[1]}var QY={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ZY(e,t){var n=e.x,o=e.y,s=t.devicePixelRatio||1;return{x:Fm(n*s)/s||0,y:Fm(o*s)/s||0}}function BM(e){var t,n=e.popper,o=e.popperRect,s=e.placement,p=e.variation,u=e.offsets,g=e.position,b=e.gpuAcceleration,y=e.adaptive,C=e.roundOffsets,w=e.isFixed,O=u.x,P=O===void 0?0:O,D=u.y,I=D===void 0?0:D,j=typeof C=="function"?C({x:P,y:I}):{x:P,y:I};P=j.x,I=j.y;var z=u.hasOwnProperty("x"),H=u.hasOwnProperty("y"),L=vl,U=hl,A=window;if(y){var Q=Ky(n),te="clientHeight",ue="clientWidth";if(Q===Ql(n)&&(Q=yp(n),uf(Q).position!=="static"&&g==="absolute"&&(te="scrollHeight",ue="scrollWidth")),Q=Q,s===hl||(s===vl||s===Bu)&&p===qy){U=Lu;var ae=w&&Q===A&&A.visualViewport?A.visualViewport.height:Q[te];I-=ae-o.height,I*=b?1:-1}if(s===vl||(s===hl||s===Lu)&&p===qy){L=Bu;var pe=w&&Q===A&&A.visualViewport?A.visualViewport.width:Q[ue];P-=pe-o.width,P*=b?1:-1}}var xe=Object.assign({position:g},y&&QY),Pe=C===!0?ZY({x:P,y:I},Ql(n)):{x:P,y:I};if(P=Pe.x,I=Pe.y,b){var ye;return Object.assign({},xe,(ye={},ye[U]=H?"0":"",ye[L]=z?"0":"",ye.transform=(A.devicePixelRatio||1)<=1?"translate("+P+"px, "+I+"px)":"translate3d("+P+"px, "+I+"px, 0)",ye))}return Object.assign({},xe,(t={},t[U]=H?I+"px":"",t[L]=z?P+"px":"",t.transform="",t))}function JY(e){var t=e.state,n=e.options,o=n.gpuAcceleration,s=o===void 0?!0:o,p=n.adaptive,u=p===void 0?!0:p,g=n.roundOffsets,b=g===void 0?!0:g,y={placement:yd(t.placement),variation:Lm(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,BM(Object.assign({},y,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:u,roundOffsets:b})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,BM(Object.assign({},y,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:b})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const eK={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:JY,data:{}};var Vx={passive:!0};function tK(e){var t=e.state,n=e.instance,o=e.options,s=o.scroll,p=s===void 0?!0:s,u=o.resize,g=u===void 0?!0:u,b=Ql(t.elements.popper),y=[].concat(t.scrollParents.reference,t.scrollParents.popper);return p&&y.forEach(function(C){C.addEventListener("scroll",n.update,Vx)}),g&&b.addEventListener("resize",n.update,Vx),function(){p&&y.forEach(function(C){C.removeEventListener("scroll",n.update,Vx)}),g&&b.removeEventListener("resize",n.update,Vx)}}const nK={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:tK,data:{}};var rK={left:"right",right:"left",bottom:"top",top:"bottom"};function zx(e){return e.replace(/left|right|bottom|top/g,function(t){return rK[t]})}var oK={start:"end",end:"start"};function VM(e){return e.replace(/start|end/g,function(t){return oK[t]})}function WR(e){var t=Ql(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function HR(e){return jm(yp(e)).left+WR(e).scrollLeft}function iK(e,t){var n=Ql(e),o=yp(e),s=n.visualViewport,p=o.clientWidth,u=o.clientHeight,g=0,b=0;if(s){p=s.width,u=s.height;var y=AM();(y||!y&&t==="fixed")&&(g=s.offsetLeft,b=s.offsetTop)}return{width:p,height:u,x:g+HR(e),y:b}}function aK(e){var t,n=yp(e),o=WR(e),s=(t=e.ownerDocument)==null?void 0:t.body,p=Lh(n.scrollWidth,n.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),u=Lh(n.scrollHeight,n.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),g=-o.scrollLeft+HR(e),b=-o.scrollTop;return uf(s||n).direction==="rtl"&&(g+=Lh(n.clientWidth,s?s.clientWidth:0)-p),{width:p,height:u,x:g,y:b}}function GR(e){var t=uf(e),n=t.overflow,o=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+s+o)}function zM(e){return["html","body","#document"].indexOf(gd(e))>=0?e.ownerDocument.body:Vu(e)&&GR(e)?e:zM(Bx(e))}function Qy(e,t){var n;t===void 0&&(t=[]);var o=zM(e),s=o===((n=e.ownerDocument)==null?void 0:n.body),p=Ql(o),u=s?[p].concat(p.visualViewport||[],GR(o)?o:[]):o,g=t.concat(u);return s?g:g.concat(Qy(Bx(u)))}function qR(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function sK(e,t){var n=jm(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function UM(e,t,n){return t===kM?qR(iK(e,n)):jh(t)?sK(t,n):qR(aK(yp(e)))}function lK(e){var t=Qy(Bx(e)),n=["absolute","fixed"].indexOf(uf(e).position)>=0,o=n&&Vu(e)?Ky(e):e;return jh(o)?t.filter(function(s){return jh(s)&&$M(s,o)&&gd(s)!=="body"}):[]}function uK(e,t,n,o){var s=t==="clippingParents"?lK(e):[].concat(t),p=[].concat(s,[n]),u=p[0],g=p.reduce(function(b,y){var C=UM(e,y,o);return b.top=Lh(C.top,b.top),b.right=Lx(C.right,b.right),b.bottom=Lx(C.bottom,b.bottom),b.left=Lh(C.left,b.left),b},UM(e,u,o));return g.width=g.right-g.left,g.height=g.bottom-g.top,g.x=g.left,g.y=g.top,g}function WM(e){var t=e.reference,n=e.element,o=e.placement,s=o?yd(o):null,p=o?Lm(o):null,u=t.x+t.width/2-n.width/2,g=t.y+t.height/2-n.height/2,b;switch(s){case hl:b={x:u,y:t.y-n.height};break;case Lu:b={x:u,y:t.y+t.height};break;case Bu:b={x:t.x+t.width,y:g};break;case vl:b={x:t.x-n.width,y:g};break;default:b={x:t.x,y:t.y}}var y=s?UR(s):null;if(y!=null){var C=y==="y"?"height":"width";switch(p){case Im:b[y]=b[y]-(t[C]/2-n[C]/2);break;case qy:b[y]=b[y]+(t[C]/2-n[C]/2);break}}return b}function Zy(e,t){t===void 0&&(t={});var n=t,o=n.placement,s=o===void 0?e.placement:o,p=n.strategy,u=p===void 0?e.strategy:p,g=n.boundary,b=g===void 0?PY:g,y=n.rootBoundary,C=y===void 0?kM:y,w=n.elementContext,O=w===void 0?Yy:w,P=n.altBoundary,D=P===void 0?!1:P,I=n.padding,j=I===void 0?0:I,z=jM(typeof j!="number"?j:LM(j,Gy)),H=O===Yy?DY:Yy,L=e.rects.popper,U=e.elements[D?H:O],A=uK(jh(U)?U:U.contextElement||yp(e.elements.popper),b,C,u),Q=jm(e.elements.reference),te=WM({reference:Q,element:L,strategy:"absolute",placement:s}),ue=qR(Object.assign({},L,te)),ae=O===Yy?ue:Q,pe={top:A.top-ae.top+z.top,bottom:ae.bottom-A.bottom+z.bottom,left:A.left-ae.left+z.left,right:ae.right-A.right+z.right},xe=e.modifiersData.offset;if(O===Yy&&xe){var Pe=xe[s];Object.keys(pe).forEach(function(ye){var de=[Bu,Lu].indexOf(ye)>=0?1:-1,fe=[hl,Lu].indexOf(ye)>=0?"y":"x";pe[ye]+=Pe[fe]*de})}return pe}function cK(e,t){t===void 0&&(t={});var n=t,o=n.placement,s=n.boundary,p=n.rootBoundary,u=n.padding,g=n.flipVariations,b=n.allowedAutoPlacements,y=b===void 0?MM:b,C=Lm(o),w=C?g?NM:NM.filter(function(D){return Lm(D)===C}):Gy,O=w.filter(function(D){return y.indexOf(D)>=0});O.length===0&&(O=w);var P=O.reduce(function(D,I){return D[I]=Zy(e,{placement:I,boundary:s,rootBoundary:p,padding:u})[yd(I)],D},{});return Object.keys(P).sort(function(D,I){return P[D]-P[I]})}function dK(e){if(yd(e)===LR)return[];var t=zx(e);return[VM(e),t,VM(t)]}function fK(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var s=n.mainAxis,p=s===void 0?!0:s,u=n.altAxis,g=u===void 0?!0:u,b=n.fallbackPlacements,y=n.padding,C=n.boundary,w=n.rootBoundary,O=n.altBoundary,P=n.flipVariations,D=P===void 0?!0:P,I=n.allowedAutoPlacements,j=t.options.placement,z=yd(j),H=z===j,L=b||(H||!D?[zx(j)]:dK(j)),U=[j].concat(L).reduce(function(Oe,Ve){return Oe.concat(yd(Ve)===LR?cK(t,{placement:Ve,boundary:C,rootBoundary:w,padding:y,flipVariations:D,allowedAutoPlacements:I}):Ve)},[]),A=t.rects.reference,Q=t.rects.popper,te=new Map,ue=!0,ae=U[0],pe=0;pe<U.length;pe++){var xe=U[pe],Pe=yd(xe),ye=Lm(xe)===Im,de=[hl,Lu].indexOf(Pe)>=0,fe=de?"width":"height",Se=Zy(t,{placement:xe,boundary:C,rootBoundary:w,altBoundary:O,padding:y}),re=de?ye?Bu:vl:ye?Lu:hl;A[fe]>Q[fe]&&(re=zx(re));var ce=zx(re),ke=[];if(p&&ke.push(Se[Pe]<=0),g&&ke.push(Se[re]<=0,Se[ce]<=0),ke.every(function(Oe){return Oe})){ae=xe,ue=!1;break}te.set(xe,ke)}if(ue)for(var Ce=D?3:1,ge=function(Ve){var ze=U.find(function(We){var Ye=te.get(We);if(Ye)return Ye.slice(0,Ve).every(function(ot){return ot})});if(ze)return ae=ze,"break"},Me=Ce;Me>0;Me--){var Le=ge(Me);if(Le==="break")break}t.placement!==ae&&(t.modifiersData[o]._skip=!0,t.placement=ae,t.reset=!0)}}const pK={name:"flip",enabled:!0,phase:"main",fn:fK,requiresIfExists:["offset"],data:{_skip:!1}};function HM(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function GM(e){return[hl,Bu,Lu,vl].some(function(t){return e[t]>=0})}function hK(e){var t=e.state,n=e.name,o=t.rects.reference,s=t.rects.popper,p=t.modifiersData.preventOverflow,u=Zy(t,{elementContext:"reference"}),g=Zy(t,{altBoundary:!0}),b=HM(u,o),y=HM(g,s,p),C=GM(b),w=GM(y);t.modifiersData[n]={referenceClippingOffsets:b,popperEscapeOffsets:y,isReferenceHidden:C,hasPopperEscaped:w},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":C,"data-popper-escaped":w})}const vK={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:hK};function mK(e,t,n){var o=yd(e),s=[vl,hl].indexOf(o)>=0?-1:1,p=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,u=p[0],g=p[1];return u=u||0,g=(g||0)*s,[vl,Bu].indexOf(o)>=0?{x:g,y:u}:{x:u,y:g}}function gK(e){var t=e.state,n=e.options,o=e.name,s=n.offset,p=s===void 0?[0,0]:s,u=MM.reduce(function(C,w){return C[w]=mK(w,t.rects,p),C},{}),g=u[t.placement],b=g.x,y=g.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=b,t.modifiersData.popperOffsets.y+=y),t.modifiersData[o]=u}const yK={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:gK};function bK(e){var t=e.state,n=e.name;t.modifiersData[n]=WM({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const xK={name:"popperOffsets",enabled:!0,phase:"read",fn:bK,data:{}};function SK(e){return e==="x"?"y":"x"}function CK(e){var t=e.state,n=e.options,o=e.name,s=n.mainAxis,p=s===void 0?!0:s,u=n.altAxis,g=u===void 0?!1:u,b=n.boundary,y=n.rootBoundary,C=n.altBoundary,w=n.padding,O=n.tether,P=O===void 0?!0:O,D=n.tetherOffset,I=D===void 0?0:D,j=Zy(t,{boundary:b,rootBoundary:y,padding:w,altBoundary:C}),z=yd(t.placement),H=Lm(t.placement),L=!H,U=UR(z),A=SK(U),Q=t.modifiersData.popperOffsets,te=t.rects.reference,ue=t.rects.popper,ae=typeof I=="function"?I(Object.assign({},t.rects,{placement:t.placement})):I,pe=typeof ae=="number"?{mainAxis:ae,altAxis:ae}:Object.assign({mainAxis:0,altAxis:0},ae),xe=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,Pe={x:0,y:0};if(Q){if(p){var ye,de=U==="y"?hl:vl,fe=U==="y"?Lu:Bu,Se=U==="y"?"height":"width",re=Q[U],ce=re+j[de],ke=re-j[fe],Ce=P?-ue[Se]/2:0,ge=H===Im?te[Se]:ue[Se],Me=H===Im?-ue[Se]:-te[Se],Le=t.elements.arrow,Oe=P&&Le?zR(Le):{width:0,height:0},Ve=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:FM(),ze=Ve[de],We=Ve[fe],Ye=Xy(0,te[Se],Oe[Se]),ot=L?te[Se]/2-Ce-Ye-ze-pe.mainAxis:ge-Ye-ze-pe.mainAxis,yt=L?-te[Se]/2+Ce+Ye+We+pe.mainAxis:Me+Ye+We+pe.mainAxis,Ze=t.elements.arrow&&Ky(t.elements.arrow),Te=Ze?U==="y"?Ze.clientTop||0:Ze.clientLeft||0:0,tt=(ye=xe==null?void 0:xe[U])!=null?ye:0,Ge=re+ot-tt-Te,et=re+yt-tt,xt=Xy(P?Lx(ce,Ge):ce,re,P?Lh(ke,et):ke);Q[U]=xt,Pe[U]=xt-re}if(g){var Yt,_t=U==="x"?hl:vl,Jt=U==="x"?Lu:Bu,rt=Q[A],ut=A==="y"?"height":"width",Kt=rt+j[_t],En=rt-j[Jt],yn=[hl,vl].indexOf(z)!==-1,Hn=(Yt=xe==null?void 0:xe[A])!=null?Yt:0,sr=yn?Kt:rt-te[ut]-ue[ut]-Hn+pe.altAxis,Kn=yn?rt+te[ut]+ue[ut]-Hn-pe.altAxis:En,Gn=P&&yn?GY(sr,rt,Kn):Xy(P?sr:Kt,rt,P?Kn:En);Q[A]=Gn,Pe[A]=Gn-rt}t.modifiersData[o]=Pe}}const wK={name:"preventOverflow",enabled:!0,phase:"main",fn:CK,requiresIfExists:["offset"]};function RK(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function EK(e){return e===Ql(e)||!Vu(e)?WR(e):RK(e)}function TK(e){var t=e.getBoundingClientRect(),n=Fm(t.width)/e.offsetWidth||1,o=Fm(t.height)/e.offsetHeight||1;return n!==1||o!==1}function _K(e,t,n){n===void 0&&(n=!1);var o=Vu(t),s=Vu(t)&&TK(t),p=yp(t),u=jm(e,s,n),g={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(o||!o&&!n)&&((gd(t)!=="body"||GR(p))&&(g=EK(t)),Vu(t)?(b=jm(t,!0),b.x+=t.clientLeft,b.y+=t.clientTop):p&&(b.x=HR(p))),{x:u.left+g.scrollLeft-b.x,y:u.top+g.scrollTop-b.y,width:u.width,height:u.height}}function OK(e){var t=new Map,n=new Set,o=[];e.forEach(function(p){t.set(p.name,p)});function s(p){n.add(p.name);var u=[].concat(p.requires||[],p.requiresIfExists||[]);u.forEach(function(g){if(!n.has(g)){var b=t.get(g);b&&s(b)}}),o.push(p)}return e.forEach(function(p){n.has(p.name)||s(p)}),o}function PK(e){var t=OK(e);return BY.reduce(function(n,o){return n.concat(t.filter(function(s){return s.phase===o}))},[])}function DK(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function kK(e){var t=e.reduce(function(n,o){var s=n[o.name];return n[o.name]=s?Object.assign({},s,o,{options:Object.assign({},s.options,o.options),data:Object.assign({},s.data,o.data)}):o,n},{});return Object.keys(t).map(function(n){return t[n]})}var qM={placement:"bottom",modifiers:[],strategy:"absolute"};function YM(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function NK(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,o=n===void 0?[]:n,s=t.defaultOptions,p=s===void 0?qM:s;return function(g,b,y){y===void 0&&(y=p);var C={placement:"bottom",orderedModifiers:[],options:Object.assign({},qM,p),modifiersData:{},elements:{reference:g,popper:b},attributes:{},styles:{}},w=[],O=!1,P={state:C,setOptions:function(z){var H=typeof z=="function"?z(C.options):z;I(),C.options=Object.assign({},p,C.options,H),C.scrollParents={reference:jh(g)?Qy(g):g.contextElement?Qy(g.contextElement):[],popper:Qy(b)};var L=PK(kK([].concat(o,C.options.modifiers)));return C.orderedModifiers=L.filter(function(U){return U.enabled}),D(),P.update()},forceUpdate:function(){if(!O){var z=C.elements,H=z.reference,L=z.popper;if(YM(H,L)){C.rects={reference:_K(H,Ky(L),C.options.strategy==="fixed"),popper:zR(L)},C.reset=!1,C.placement=C.options.placement,C.orderedModifiers.forEach(function(pe){return C.modifiersData[pe.name]=Object.assign({},pe.data)});for(var U=0;U<C.orderedModifiers.length;U++){if(C.reset===!0){C.reset=!1,U=-1;continue}var A=C.orderedModifiers[U],Q=A.fn,te=A.options,ue=te===void 0?{}:te,ae=A.name;typeof Q=="function"&&(C=Q({state:C,options:ue,name:ae,instance:P})||C)}}}},update:DK(function(){return new Promise(function(j){P.forceUpdate(),j(C)})}),destroy:function(){I(),O=!0}};if(!YM(g,b))return P;P.setOptions(y).then(function(j){!O&&y.onFirstUpdate&&y.onFirstUpdate(j)});function D(){C.orderedModifiers.forEach(function(j){var z=j.name,H=j.options,L=H===void 0?{}:H,U=j.effect;if(typeof U=="function"){var A=U({state:C,name:z,instance:P,options:L}),Q=function(){};w.push(A||Q)}})}function I(){w.forEach(function(j){return j()}),w=[]}return P}}var MK=[nK,xK,eK,UY,yK,pK,wK,XY,vK],AK=NK({defaultModifiers:MK});function $K(e){return typeof e=="function"?e():e}const Jy=$.forwardRef(function(t,n){const{children:o,container:s,disablePortal:p=!1}=t,[u,g]=$.useState(null),b=qo($.isValidElement(o)?o.ref:null,n);if(Wa(()=>{p||g($K(s)||document.body)},[s,p]),Wa(()=>{if(u&&!p)return P0(n,u),()=>{P0(n,null)}},[n,u,p]),p){if($.isValidElement(o)){const y={ref:b};return $.cloneElement(o,y)}return B.jsx($.Fragment,{children:o})}return B.jsx($.Fragment,{children:u&&D1.createPortal(o,u)})});process.env.NODE_ENV!=="production"&&(Jy.propTypes={children:a.node,container:a.oneOfType([tf,a.func]),disablePortal:a.bool}),process.env.NODE_ENV!=="production"&&(Jy.propTypes=Yw(Jy.propTypes));const KM="Popper";function IK(e){return DM(KM,e)}CY(KM,["root"]);const FK=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],jK=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function LK(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function Ux(e){return typeof e=="function"?e():e}function Wx(e){return e.nodeType!==void 0}function BK(e){return!Wx(e)}const VK=()=>Un({root:["root"]},Kq(IK)),zK={},UK=$.forwardRef(function(t,n){var o;const{anchorEl:s,children:p,direction:u,disablePortal:g,modifiers:b,open:y,placement:C,popperOptions:w,popperRef:O,slotProps:P={},slots:D={},TransitionProps:I}=t,j=Ot(t,FK),z=$.useRef(null),H=qo(z,n),L=$.useRef(null),U=qo(L,O),A=$.useRef(U);Wa(()=>{A.current=U},[U]),$.useImperativeHandle(O,()=>L.current,[]);const Q=LK(C,u),[te,ue]=$.useState(Q),[ae,pe]=$.useState(Ux(s));$.useEffect(()=>{L.current&&L.current.forceUpdate()}),$.useEffect(()=>{s&&pe(Ux(s))},[s]),Wa(()=>{if(!ae||!y)return;const fe=ce=>{ue(ce.placement)};if(process.env.NODE_ENV!=="production"&&ae&&Wx(ae)&&ae.nodeType===1){const ce=ae.getBoundingClientRect();process.env.NODE_ENV!=="test"&&ce.top===0&&ce.left===0&&ce.right===0&&ce.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
470
|
+
`))}let Se=[{name:"preventOverflow",options:{altBoundary:g}},{name:"flip",options:{altBoundary:g}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:ce})=>{fe(ce)}}];b!=null&&(Se=Se.concat(b)),w&&w.modifiers!=null&&(Se=Se.concat(w.modifiers));const re=AK(ae,z.current,V({placement:Q},w,{modifiers:Se}));return A.current(re),()=>{re.destroy(),A.current(null)}},[ae,g,b,y,w,Q]);const xe={placement:te};I!==null&&(xe.TransitionProps=I);const Pe=VK(),ye=(o=D.root)!=null?o:"div",de=si({elementType:ye,externalSlotProps:P.root,externalForwardedProps:j,additionalProps:{role:"tooltip",ref:H},ownerState:t,className:Pe.root});return B.jsx(ye,V({},de,{children:typeof p=="function"?p(xe):p}))}),XM=$.forwardRef(function(t,n){const{anchorEl:o,children:s,container:p,direction:u="ltr",disablePortal:g=!1,keepMounted:b=!1,modifiers:y,open:C,placement:w="bottom",popperOptions:O=zK,popperRef:P,style:D,transition:I=!1,slotProps:j={},slots:z={}}=t,H=Ot(t,jK),[L,U]=$.useState(!0),A=()=>{U(!1)},Q=()=>{U(!0)};if(!b&&!C&&(!I||L))return null;let te;if(p)te=p;else if(o){const pe=Ux(o);te=pe&&Wx(pe)?Ua(pe).body:Ua(null).body}const ue=!C&&b&&(!I||L)?"none":void 0,ae=I?{in:C,onEnter:A,onExited:Q}:void 0;return B.jsx(Jy,{disablePortal:g,container:te,children:B.jsx(UK,V({anchorEl:o,direction:u,disablePortal:g,modifiers:y,ref:n,open:I?!L:C,placement:w,popperOptions:O,popperRef:P,slotProps:j,slots:z},H,{style:V({position:"fixed",top:0,left:0,display:ue},D),TransitionProps:ae,children:s}))})});process.env.NODE_ENV!=="production"&&(XM.propTypes={anchorEl:Jd(a.oneOfType([tf,a.object,a.func]),e=>{if(e.open){const t=Ux(e.anchorEl);if(t&&Wx(t)&&t.nodeType===1){const n=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&n.top===0&&n.left===0&&n.right===0&&n.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
471
|
+
`))}else if(!t||typeof t.getBoundingClientRect!="function"||BK(t)&&t.contextElement!=null&&t.contextElement.nodeType!==1)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join(`
|
|
472
|
+
`))}return null}),children:a.oneOfType([a.node,a.func]),container:a.oneOfType([tf,a.func]),direction:a.oneOf(["ltr","rtl"]),disablePortal:a.bool,keepMounted:a.bool,modifiers:a.arrayOf(a.shape({data:a.object,effect:a.func,enabled:a.bool,fn:a.func,name:a.any,options:a.object,phase:a.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:a.arrayOf(a.string),requiresIfExists:a.arrayOf(a.string)})),open:a.bool.isRequired,placement:a.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:a.shape({modifiers:a.array,onFirstUpdate:a.func,placement:a.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:a.oneOf(["absolute","fixed"])}),popperRef:qs,slotProps:a.shape({root:a.oneOfType([a.func,a.object])}),slots:a.shape({root:a.elementType}),transition:a.bool});function WK(e){const t=Ua(e);return t.body===e?lp(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function eb(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function QM(e){return parseInt(lp(e).getComputedStyle(e).paddingRight,10)||0}function HK(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,o=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||o}function ZM(e,t,n,o,s){const p=[t,n,...o];[].forEach.call(e.children,u=>{const g=p.indexOf(u)===-1,b=!HK(u);g&&b&&eb(u,s)})}function YR(e,t){let n=-1;return e.some((o,s)=>t(o)?(n=s,!0):!1),n}function GK(e,t){const n=[],o=e.container;if(!t.disableScrollLock){if(WK(o)){const u=zP(Ua(o));n.push({value:o.style.paddingRight,property:"padding-right",el:o}),o.style.paddingRight=`${QM(o)+u}px`;const g=Ua(o).querySelectorAll(".mui-fixed");[].forEach.call(g,b=>{n.push({value:b.style.paddingRight,property:"padding-right",el:b}),b.style.paddingRight=`${QM(b)+u}px`})}let p;if(o.parentNode instanceof DocumentFragment)p=Ua(o).body;else{const u=o.parentElement,g=lp(o);p=(u==null?void 0:u.nodeName)==="HTML"&&g.getComputedStyle(u).overflowY==="scroll"?u:o}n.push({value:p.style.overflow,property:"overflow",el:p},{value:p.style.overflowX,property:"overflow-x",el:p},{value:p.style.overflowY,property:"overflow-y",el:p}),p.style.overflow="hidden"}return()=>{n.forEach(({value:p,el:u,property:g})=>{p?u.style.setProperty(g,p):u.style.removeProperty(g)})}}function qK(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class YK{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let o=this.modals.indexOf(t);if(o!==-1)return o;o=this.modals.length,this.modals.push(t),t.modalRef&&eb(t.modalRef,!1);const s=qK(n);ZM(n,t.mount,t.modalRef,s,!0);const p=YR(this.containers,u=>u.container===n);return p!==-1?(this.containers[p].modals.push(t),o):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:s}),o)}mount(t,n){const o=YR(this.containers,p=>p.modals.indexOf(t)!==-1),s=this.containers[o];s.restore||(s.restore=GK(s,n))}remove(t,n=!0){const o=this.modals.indexOf(t);if(o===-1)return o;const s=YR(this.containers,u=>u.modals.indexOf(t)!==-1),p=this.containers[s];if(p.modals.splice(p.modals.indexOf(t),1),this.modals.splice(o,1),p.modals.length===0)p.restore&&p.restore(),t.modalRef&&eb(t.modalRef,n),ZM(p.container,t.mount,t.modalRef,p.hiddenSiblings,!1),this.containers.splice(s,1);else{const u=p.modals[p.modals.length-1];u.modalRef&&eb(u.modalRef,!1)}return o}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function KK(e){return typeof e=="function"?e():e}function XK(e){return e?e.props.hasOwnProperty("in"):!1}const QK=new YK;function ZK(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:o=!1,manager:s=QK,closeAfterTransition:p=!1,onTransitionEnter:u,onTransitionExited:g,children:b,onClose:y,open:C,rootRef:w}=e,O=$.useRef({}),P=$.useRef(null),D=$.useRef(null),I=qo(D,w),[j,z]=$.useState(!C),H=XK(b);let L=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(L=!1);const U=()=>Ua(P.current),A=()=>(O.current.modalRef=D.current,O.current.mount=P.current,O.current),Q=()=>{s.mount(A(),{disableScrollLock:o}),D.current&&(D.current.scrollTop=0)},te=ir(()=>{const Se=KK(t)||U().body;s.add(A(),Se),D.current&&Q()}),ue=$.useCallback(()=>s.isTopModal(A()),[s]),ae=ir(Se=>{P.current=Se,Se&&(C&&ue()?Q():D.current&&eb(D.current,L))}),pe=$.useCallback(()=>{s.remove(A(),L)},[L,s]);$.useEffect(()=>()=>{pe()},[pe]),$.useEffect(()=>{C?te():(!H||!p)&&pe()},[C,pe,H,p,te]);const xe=Se=>re=>{var ce;(ce=Se.onKeyDown)==null||ce.call(Se,re),!(re.key!=="Escape"||re.which===229||!ue())&&(n||(re.stopPropagation(),y&&y(re,"escapeKeyDown")))},Pe=Se=>re=>{var ce;(ce=Se.onClick)==null||ce.call(Se,re),re.target===re.currentTarget&&y&&y(re,"backdropClick")};return{getRootProps:(Se={})=>{const re=CM(e);delete re.onTransitionEnter,delete re.onTransitionExited;const ce=V({},re,Se);return V({role:"presentation"},ce,{onKeyDown:xe(ce),ref:I})},getBackdropProps:(Se={})=>{const re=Se;return V({"aria-hidden":!0},re,{onClick:Pe(re),open:C})},getTransitionProps:()=>{const Se=()=>{z(!1),u&&u()},re=()=>{z(!0),g&&g(),p&&pe()};return{onEnter:Xw(Se,b==null?void 0:b.props.onEnter),onExited:Xw(re,b==null?void 0:b.props.onExited)}},rootRef:I,portalRef:ae,isTopModal:ue,exited:j,hasTransition:H}}const JK=["onChange","maxRows","minRows","style","value"];function Hx(e){return parseInt(e,10)||0}const eX={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function JM(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflow}const eA=$.forwardRef(function(t,n){const{onChange:o,maxRows:s,minRows:p=1,style:u,value:g}=t,b=Ot(t,JK),{current:y}=$.useRef(g!=null),C=$.useRef(null),w=qo(n,C),O=$.useRef(null),P=$.useRef(0),[D,I]=$.useState({outerHeightStyle:0}),j=$.useCallback(()=>{const U=C.current,Q=lp(U).getComputedStyle(U);if(Q.width==="0px")return{outerHeightStyle:0};const te=O.current;te.style.width=Q.width,te.value=U.value||t.placeholder||"x",te.value.slice(-1)===`
|
|
473
|
+
`&&(te.value+=" ");const ue=Q.boxSizing,ae=Hx(Q.paddingBottom)+Hx(Q.paddingTop),pe=Hx(Q.borderBottomWidth)+Hx(Q.borderTopWidth),xe=te.scrollHeight;te.value="x";const Pe=te.scrollHeight;let ye=xe;p&&(ye=Math.max(Number(p)*Pe,ye)),s&&(ye=Math.min(Number(s)*Pe,ye)),ye=Math.max(ye,Pe);const de=ye+(ue==="border-box"?ae+pe:0),fe=Math.abs(ye-xe)<=1;return{outerHeightStyle:de,overflow:fe}},[s,p,t.placeholder]),z=(U,A)=>{const{outerHeightStyle:Q,overflow:te}=A;return P.current<20&&(Q>0&&Math.abs((U.outerHeightStyle||0)-Q)>1||U.overflow!==te)?(P.current+=1,{overflow:te,outerHeightStyle:Q}):(process.env.NODE_ENV!=="production"&&P.current===20&&console.error(["MUI: Too many re-renders. The layout is unstable.","TextareaAutosize limits the number of renders to prevent an infinite loop."].join(`
|
|
474
|
+
`)),U)},H=$.useCallback(()=>{const U=j();JM(U)||I(A=>z(A,U))},[j]);Wa(()=>{const U=()=>{const Pe=j();JM(Pe)||D1.flushSync(()=>{I(ye=>z(ye,Pe))})},A=()=>{P.current=0,U()};let Q;const te=()=>{cancelAnimationFrame(Q),Q=requestAnimationFrame(()=>{A()})},ue=Qw(A),ae=C.current,pe=lp(ae);pe.addEventListener("resize",ue);let xe;return typeof ResizeObserver<"u"&&(xe=new ResizeObserver(process.env.NODE_ENV==="test"?te:A),xe.observe(ae)),()=>{ue.clear(),cancelAnimationFrame(Q),pe.removeEventListener("resize",ue),xe&&xe.disconnect()}},[j]),Wa(()=>{H()}),$.useEffect(()=>{P.current=0},[g]);const L=U=>{P.current=0,y||H(),o&&o(U)};return B.jsxs($.Fragment,{children:[B.jsx("textarea",V({value:g,onChange:L,ref:w,rows:p,style:V({height:D.outerHeightStyle,overflow:D.overflow?"hidden":void 0},u)},b)),B.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:O,tabIndex:-1,style:V({},eX.shadow,u,{paddingTop:0,paddingBottom:0})})]})});process.env.NODE_ENV!=="production"&&(eA.propTypes={className:a.string,maxRows:a.oneOfType([a.number,a.string]),minRows:a.oneOfType([a.number,a.string]),onChange:a.func,placeholder:a.string,style:a.object,value:a.oneOfType([a.arrayOf(a.string),a.number,a.string])});const tX=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],nX=mt(XM,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Gx=$.forwardRef(function(t,n){var o;const s=S1(),p=An({props:t,name:"MuiPopper"}),{anchorEl:u,component:g,components:b,componentsProps:y,container:C,disablePortal:w,keepMounted:O,modifiers:P,open:D,placement:I,popperOptions:j,popperRef:z,transition:H,slots:L,slotProps:U}=p,A=Ot(p,tX),Q=(o=L==null?void 0:L.root)!=null?o:b==null?void 0:b.Root,te=V({anchorEl:u,container:C,disablePortal:w,keepMounted:O,modifiers:P,open:D,placement:I,popperOptions:j,popperRef:z,transition:H},A);return B.jsx(nX,V({as:g,direction:s==null?void 0:s.direction,slots:{root:Q},slotProps:U??y},te,{ref:n}))});process.env.NODE_ENV!=="production"&&(Gx.propTypes={anchorEl:a.oneOfType([tf,a.object,a.func]),children:a.oneOfType([a.node,a.func]),component:a.elementType,components:a.shape({Root:a.elementType}),componentsProps:a.shape({root:a.oneOfType([a.func,a.object])}),container:a.oneOfType([tf,a.func]),disablePortal:a.bool,keepMounted:a.bool,modifiers:a.arrayOf(a.shape({data:a.object,effect:a.func,enabled:a.bool,fn:a.func,name:a.any,options:a.object,phase:a.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:a.arrayOf(a.string),requiresIfExists:a.arrayOf(a.string)})),open:a.bool.isRequired,placement:a.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:a.shape({modifiers:a.array,onFirstUpdate:a.func,placement:a.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:a.oneOf(["absolute","fixed"])}),popperRef:qs,slotProps:a.shape({root:a.oneOfType([a.func,a.object])}),slots:a.shape({root:a.elementType}),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),transition:a.bool});const rX=ai(B.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function oX(e){return Wn("MuiChip",e)}const ko=Bn("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),iX=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],aX=e=>{const{classes:t,disabled:n,size:o,color:s,iconColor:p,onDelete:u,clickable:g,variant:b}=e,y={root:["root",b,n&&"disabled",`size${Ft(o)}`,`color${Ft(s)}`,g&&"clickable",g&&`clickableColor${Ft(s)}`,u&&"deletable",u&&`deletableColor${Ft(s)}`,`${b}${Ft(s)}`],label:["label",`label${Ft(o)}`],avatar:["avatar",`avatar${Ft(o)}`,`avatarColor${Ft(s)}`],icon:["icon",`icon${Ft(o)}`,`iconColor${Ft(p)}`],deleteIcon:["deleteIcon",`deleteIcon${Ft(o)}`,`deleteIconColor${Ft(s)}`,`deleteIcon${Ft(b)}Color${Ft(s)}`]};return Un(y,oX,t)},sX=mt("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:o,iconColor:s,clickable:p,onDelete:u,size:g,variant:b}=n;return[{[`& .${ko.avatar}`]:t.avatar},{[`& .${ko.avatar}`]:t[`avatar${Ft(g)}`]},{[`& .${ko.avatar}`]:t[`avatarColor${Ft(o)}`]},{[`& .${ko.icon}`]:t.icon},{[`& .${ko.icon}`]:t[`icon${Ft(g)}`]},{[`& .${ko.icon}`]:t[`iconColor${Ft(s)}`]},{[`& .${ko.deleteIcon}`]:t.deleteIcon},{[`& .${ko.deleteIcon}`]:t[`deleteIcon${Ft(g)}`]},{[`& .${ko.deleteIcon}`]:t[`deleteIconColor${Ft(o)}`]},{[`& .${ko.deleteIcon}`]:t[`deleteIcon${Ft(b)}Color${Ft(o)}`]},t.root,t[`size${Ft(g)}`],t[`color${Ft(o)}`],p&&t.clickable,p&&o!=="default"&&t[`clickableColor${Ft(o)})`],u&&t.deletable,u&&o!=="default"&&t[`deletableColor${Ft(o)}`],t[b],t[`${b}${Ft(o)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[700]:e.palette.grey[300];return V({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:32/2,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${ko.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${ko.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:n,fontSize:e.typography.pxToRem(12)},[`& .${ko.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${ko.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${ko.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${ko.icon}`]:V({marginLeft:5,marginRight:-6},t.size==="small"&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&V({color:e.vars?e.vars.palette.Chip.defaultIconColor:n},t.color!=="default"&&{color:"inherit"})),[`& .${ko.deleteIcon}`]:V({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:Br(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Br(e.palette.text.primary,.4)}},t.size==="small"&&{fontSize:16,marginRight:4,marginLeft:-4},t.color!=="default"&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:Br(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},t.size==="small"&&{height:24},t.color!=="default"&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${ko.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Br(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&t.color!=="default"&&{[`&.${ko.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})},({theme:e,ownerState:t})=>V({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Br(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${ko.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Br(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&t.color!=="default"&&{[`&:hover, &.${ko.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}}),({theme:e,ownerState:t})=>V({},t.variant==="outlined"&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${ko.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${ko.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${ko.avatar}`]:{marginLeft:4},[`& .${ko.avatarSmall}`]:{marginLeft:2},[`& .${ko.icon}`]:{marginLeft:4},[`& .${ko.iconSmall}`]:{marginLeft:2},[`& .${ko.deleteIcon}`]:{marginRight:5},[`& .${ko.deleteIconSmall}`]:{marginRight:3}},t.variant==="outlined"&&t.color!=="default"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:Br(e.palette[t.color].main,.7)}`,[`&.${ko.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Br(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${ko.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Br(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${ko.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:Br(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}})),lX=mt("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:o}=n;return[t.label,t[`label${Ft(o)}`]]}})(({ownerState:e})=>V({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},e.variant==="outlined"&&{paddingLeft:11,paddingRight:11},e.size==="small"&&{paddingLeft:8,paddingRight:8},e.size==="small"&&e.variant==="outlined"&&{paddingLeft:7,paddingRight:7}));function tA(e){return e.key==="Backspace"||e.key==="Delete"}const nA=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiChip"}),{avatar:s,className:p,clickable:u,color:g="default",component:b,deleteIcon:y,disabled:C=!1,icon:w,label:O,onClick:P,onDelete:D,onKeyDown:I,onKeyUp:j,size:z="medium",variant:H="filled",tabIndex:L,skipFocusWhenDisabled:U=!1}=o,A=Ot(o,iX),Q=$.useRef(null),te=qo(Q,n),ue=ke=>{ke.stopPropagation(),D&&D(ke)},ae=ke=>{ke.currentTarget===ke.target&&tA(ke)&&ke.preventDefault(),I&&I(ke)},pe=ke=>{ke.currentTarget===ke.target&&(D&&tA(ke)?D(ke):ke.key==="Escape"&&Q.current&&Q.current.blur()),j&&j(ke)},xe=u!==!1&&P?!0:u,Pe=xe||D?vd:b||"div",ye=V({},o,{component:Pe,disabled:C,size:z,color:g,iconColor:$.isValidElement(w)&&w.props.color||g,onDelete:!!D,clickable:xe,variant:H}),de=aX(ye),fe=Pe===vd?V({component:b||"div",focusVisibleClassName:de.focusVisible},D&&{disableRipple:!0}):{};let Se=null;D&&(Se=y&&$.isValidElement(y)?$.cloneElement(y,{className:tn(y.props.className,de.deleteIcon),onClick:ue}):B.jsx(rX,{className:tn(de.deleteIcon),onClick:ue}));let re=null;s&&$.isValidElement(s)&&(re=$.cloneElement(s,{className:tn(de.avatar,s.props.className)}));let ce=null;return w&&$.isValidElement(w)&&(ce=$.cloneElement(w,{className:tn(de.icon,w.props.className)})),process.env.NODE_ENV!=="production"&&re&&ce&&console.error("MUI: The Chip component can not handle the avatar and the icon prop at the same time. Pick one."),B.jsxs(sX,V({as:Pe,className:tn(de.root,p),disabled:xe&&C?!0:void 0,onClick:P,onKeyDown:ae,onKeyUp:pe,ref:te,tabIndex:U&&C?-1:L,ownerState:ye},fe,A,{children:[re||ce,B.jsx(lX,{className:tn(de.label),ownerState:ye,children:O}),Se]}))});process.env.NODE_ENV!=="production"&&(nA.propTypes={avatar:a.element,children:BP,classes:a.object,className:a.string,clickable:a.bool,color:a.oneOfType([a.oneOf(["default","primary","secondary","error","info","success","warning"]),a.string]),component:a.elementType,deleteIcon:a.element,disabled:a.bool,icon:a.element,label:a.node,onClick:a.func,onDelete:a.func,onKeyDown:a.func,onKeyUp:a.func,size:a.oneOfType([a.oneOf(["medium","small"]),a.string]),skipFocusWhenDisabled:a.bool,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),tabIndex:a.number,variant:a.oneOfType([a.oneOf(["filled","outlined"]),a.string])});function Bm({props:e,states:t,muiFormControl:n}){return t.reduce((o,s)=>(o[s]=e[s],n&&typeof e[s]>"u"&&(o[s]=n[s]),o),{})}const tb=$.createContext(void 0);process.env.NODE_ENV!=="production"&&(tb.displayName="FormControlContext");function Bh(){return $.useContext(tb)}function rA(e){return B.jsx(FD,V({},e,{defaultTheme:sx,themeId:Py}))}process.env.NODE_ENV!=="production"&&(rA.propTypes={styles:a.oneOfType([a.array,a.func,a.number,a.object,a.string,a.bool])});function oA(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function qx(e,t=!1){return e&&(oA(e.value)&&e.value!==""||t&&oA(e.defaultValue)&&e.defaultValue!=="")}function uX(e){return e.startAdornment}function cX(e){return Wn("MuiInputBase",e)}const Vm=Bn("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),dX=["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"],Yx=(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${Ft(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Kx=(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]},fX=e=>{const{classes:t,color:n,disabled:o,error:s,endAdornment:p,focused:u,formControl:g,fullWidth:b,hiddenLabel:y,multiline:C,readOnly:w,size:O,startAdornment:P,type:D}=e,I={root:["root",`color${Ft(n)}`,o&&"disabled",s&&"error",b&&"fullWidth",u&&"focused",g&&"formControl",O&&O!=="medium"&&`size${Ft(O)}`,C&&"multiline",P&&"adornedStart",p&&"adornedEnd",y&&"hiddenLabel",w&&"readOnly"],input:["input",o&&"disabled",D==="search"&&"inputTypeSearch",C&&"inputMultiline",O==="small"&&"inputSizeSmall",y&&"inputHiddenLabel",P&&"inputAdornedStart",p&&"inputAdornedEnd",w&&"readOnly"]};return Un(I,cX,t)},Xx=mt("div",{name:"MuiInputBase",slot:"Root",overridesResolver:Yx})(({theme:e,ownerState:t})=>V({},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",[`&.${Vm.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&V({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),Qx=mt("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Kx})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light",o=V({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),s={opacity:"0 !important"},p=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return V({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":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Vm.formControl} &`]:{"&::-webkit-input-placeholder":s,"&::-moz-placeholder":s,"&:-ms-input-placeholder":s,"&::-ms-input-placeholder":s,"&:focus::-webkit-input-placeholder":p,"&:focus::-moz-placeholder":p,"&:focus:-ms-input-placeholder":p,"&:focus::-ms-input-placeholder":p},[`&.${Vm.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"})}),pX=B.jsx(rA,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),zm=$.forwardRef(function(t,n){var o;const s=An({props:t,name:"MuiInputBase"}),{"aria-describedby":p,autoComplete:u,autoFocus:g,className:b,components:y={},componentsProps:C={},defaultValue:w,disabled:O,disableInjectingGlobalStyles:P,endAdornment:D,fullWidth:I=!1,id:j,inputComponent:z="input",inputProps:H={},inputRef:L,maxRows:U,minRows:A,multiline:Q=!1,name:te,onBlur:ue,onChange:ae,onClick:pe,onFocus:xe,onKeyDown:Pe,onKeyUp:ye,placeholder:de,readOnly:fe,renderSuffix:Se,rows:re,slotProps:ce={},slots:ke={},startAdornment:Ce,type:ge="text",value:Me}=s,Le=Ot(s,dX),Oe=H.value!=null?H.value:Me,{current:Ve}=$.useRef(Oe!=null),ze=$.useRef(),We=$.useCallback(Gn=>{process.env.NODE_ENV!=="production"&&Gn&&Gn.nodeName!=="INPUT"&&!Gn.focus&&console.error(["MUI: You have provided a `inputComponent` to the input component","that does not correctly handle the `ref` prop.","Make sure the `ref` prop is called with a HTMLInputElement."].join(`
|
|
475
|
+
`))},[]),Ye=qo(ze,L,H.ref,We),[ot,yt]=$.useState(!1),Ze=Bh();process.env.NODE_ENV!=="production"&&$.useEffect(()=>{if(Ze)return Ze.registerEffect()},[Ze]);const Te=Bm({props:s,muiFormControl:Ze,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Te.focused=Ze?Ze.focused:ot,$.useEffect(()=>{!Ze&&O&&ot&&(yt(!1),ue&&ue())},[Ze,O,ot,ue]);const tt=Ze&&Ze.onFilled,Ge=Ze&&Ze.onEmpty,et=$.useCallback(Gn=>{qx(Gn)?tt&&tt():Ge&&Ge()},[tt,Ge]);Wa(()=>{Ve&&et({value:Oe})},[Oe,et,Ve]);const xt=Gn=>{if(Te.disabled){Gn.stopPropagation();return}xe&&xe(Gn),H.onFocus&&H.onFocus(Gn),Ze&&Ze.onFocus?Ze.onFocus(Gn):yt(!0)},Yt=Gn=>{ue&&ue(Gn),H.onBlur&&H.onBlur(Gn),Ze&&Ze.onBlur?Ze.onBlur(Gn):yt(!1)},_t=(Gn,...xn)=>{if(!Ve){const Or=Gn.target||ze.current;if(Or==null)throw new Error(process.env.NODE_ENV!=="production"?"MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info.":sp(1));et({value:Or.value})}H.onChange&&H.onChange(Gn,...xn),ae&&ae(Gn,...xn)};$.useEffect(()=>{et(ze.current)},[]);const Jt=Gn=>{ze.current&&Gn.currentTarget===Gn.target&&ze.current.focus(),pe&&pe(Gn)};let rt=z,ut=H;Q&&rt==="input"&&(re?(process.env.NODE_ENV!=="production"&&(A||U)&&console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."),ut=V({type:void 0,minRows:re,maxRows:re},ut)):ut=V({type:void 0,maxRows:U,minRows:A},ut),rt=eA);const Kt=Gn=>{et(Gn.animationName==="mui-auto-fill-cancel"?ze.current:{value:"x"})};$.useEffect(()=>{Ze&&Ze.setAdornedStart(!!Ce)},[Ze,Ce]);const En=V({},s,{color:Te.color||"primary",disabled:Te.disabled,endAdornment:D,error:Te.error,focused:Te.focused,formControl:Ze,fullWidth:I,hiddenLabel:Te.hiddenLabel,multiline:Q,size:Te.size,startAdornment:Ce,type:ge}),yn=fX(En),Hn=ke.root||y.Root||Xx,sr=ce.root||C.root||{},Kn=ke.input||y.Input||Qx;return ut=V({},ut,(o=ce.input)!=null?o:C.input),B.jsxs($.Fragment,{children:[!P&&pX,B.jsxs(Hn,V({},sr,!$m(Hn)&&{ownerState:V({},En,sr.ownerState)},{ref:n,onClick:Jt},Le,{className:tn(yn.root,sr.className,b,fe&&"MuiInputBase-readOnly"),children:[Ce,B.jsx(tb.Provider,{value:null,children:B.jsx(Kn,V({ownerState:En,"aria-invalid":Te.error,"aria-describedby":p,autoComplete:u,autoFocus:g,defaultValue:w,disabled:Te.disabled,id:j,onAnimationStart:Kt,name:te,placeholder:de,readOnly:fe,required:Te.required,rows:re,value:Oe,onKeyDown:Pe,onKeyUp:ye,type:ge},ut,!$m(Kn)&&{as:rt,ownerState:V({},En,ut.ownerState)},{ref:Ye,className:tn(yn.input,ut.className,fe&&"MuiInputBase-readOnly"),onBlur:Yt,onChange:_t,onFocus:xt}))}),D,Se?Se(V({},Te,{startAdornment:Ce})):null]}))]})});process.env.NODE_ENV!=="production"&&(zm.propTypes={"aria-describedby":a.string,autoComplete:a.string,autoFocus:a.bool,classes:a.object,className:a.string,color:a.oneOfType([a.oneOf(["primary","secondary","error","info","success","warning"]),a.string]),components:a.shape({Input:a.elementType,Root:a.elementType}),componentsProps:a.shape({input:a.object,root:a.object}),defaultValue:a.any,disabled:a.bool,disableInjectingGlobalStyles:a.bool,endAdornment:a.node,error:a.bool,fullWidth:a.bool,id:a.string,inputComponent:im,inputProps:a.object,inputRef:qs,margin:a.oneOf(["dense","none"]),maxRows:a.oneOfType([a.number,a.string]),minRows:a.oneOfType([a.number,a.string]),multiline:a.bool,name:a.string,onBlur:a.func,onChange:a.func,onClick:a.func,onFocus:a.func,onInvalid:a.func,onKeyDown:a.func,onKeyUp:a.func,placeholder:a.string,readOnly:a.bool,renderSuffix:a.func,required:a.bool,rows:a.oneOfType([a.number,a.string]),size:a.oneOfType([a.oneOf(["medium","small"]),a.string]),slotProps:a.shape({input:a.object,root:a.object}),slots:a.shape({input:a.elementType,root:a.elementType}),startAdornment:a.node,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),type:a.string,value:a.any});function hX(e){return Wn("MuiInput",e)}const nb=V({},Vm,Bn("MuiInput",["root","underline","input"]));function vX(e){return Wn("MuiOutlinedInput",e)}const bp=V({},Vm,Bn("MuiOutlinedInput",["root","notchedOutline","input"]));function mX(e){return Wn("MuiFilledInput",e)}const Vh=V({},Vm,Bn("MuiFilledInput",["root","underline","input"])),gX=ai(B.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),yX=ai(B.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function bX(e){return Wn("MuiAvatar",e)}Bn("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const xX=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],SX=e=>{const{classes:t,variant:n,colorDefault:o}=e;return Un({root:["root",n,o&&"colorDefault"],img:["img"],fallback:["fallback"]},bX,t)},CX=mt("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:V({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:V({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]})),wX=mt("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),RX=mt(yX,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function EX({crossOrigin:e,referrerPolicy:t,src:n,srcSet:o}){const[s,p]=$.useState(!1);return $.useEffect(()=>{if(!n&&!o)return;p(!1);let u=!0;const g=new Image;return g.onload=()=>{u&&p("loaded")},g.onerror=()=>{u&&p("error")},g.crossOrigin=e,g.referrerPolicy=t,g.src=n,o&&(g.srcset=o),()=>{u=!1}},[e,t,n,o]),s}const iA=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiAvatar"}),{alt:s,children:p,className:u,component:g="div",imgProps:b,sizes:y,src:C,srcSet:w,variant:O="circular"}=o,P=Ot(o,xX);let D=null;const I=EX(V({},b,{src:C,srcSet:w})),j=C||w,z=j&&I!=="error",H=V({},o,{colorDefault:!z,component:g,variant:O}),L=SX(H);return z?D=B.jsx(wX,V({alt:s,srcSet:w,src:C,sizes:y,ownerState:H,className:L.img},b)):p!=null&&p!==""&&typeof p!="boolean"?D=p:j&&s?D=s[0]:D=B.jsx(RX,{ownerState:H,className:L.fallback}),B.jsx(CX,V({as:g,ownerState:H,className:tn(L.root,u),ref:n},P,{children:D}))});process.env.NODE_ENV!=="production"&&(iA.propTypes={alt:a.string,children:a.node,classes:a.object,className:a.string,component:a.elementType,imgProps:a.object,sizes:a.string,src:a.string,srcSet:a.string,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),variant:a.oneOfType([a.oneOf(["circular","rounded","square"]),a.string])});const TX=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],_X={entering:{opacity:1},entered:{opacity:1}},zh=$.forwardRef(function(t,n){const o=Ys(),s={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{addEndListener:p,appear:u=!0,children:g,easing:b,in:y,onEnter:C,onEntered:w,onEntering:O,onExit:P,onExited:D,onExiting:I,style:j,timeout:z=s,TransitionComponent:H=Xl}=t,L=Ot(t,TX),U=$.useRef(null),A=qo(U,g.ref,n),Q=de=>fe=>{if(de){const Se=U.current;fe===void 0?de(Se):de(Se,fe)}},te=Q(O),ue=Q((de,fe)=>{SM(de);const Se=Mm({style:j,timeout:z,easing:b},{mode:"enter"});de.style.webkitTransition=o.transitions.create("opacity",Se),de.style.transition=o.transitions.create("opacity",Se),C&&C(de,fe)}),ae=Q(w),pe=Q(I),xe=Q(de=>{const fe=Mm({style:j,timeout:z,easing:b},{mode:"exit"});de.style.webkitTransition=o.transitions.create("opacity",fe),de.style.transition=o.transitions.create("opacity",fe),P&&P(de)}),Pe=Q(D),ye=de=>{p&&p(U.current,de)};return B.jsx(H,V({appear:u,in:y,nodeRef:U,onEnter:ue,onEntered:ae,onEntering:te,onExit:xe,onExited:Pe,onExiting:pe,addEndListener:ye,timeout:z},L,{children:(de,fe)=>$.cloneElement(g,V({style:V({opacity:0,visibility:de==="exited"&&!y?"hidden":void 0},_X[de],j,g.props.style),ref:A},fe))}))});process.env.NODE_ENV!=="production"&&(zh.propTypes={addEndListener:a.func,appear:a.bool,children:om.isRequired,easing:a.oneOfType([a.shape({enter:a.string,exit:a.string}),a.string]),in:a.bool,onEnter:a.func,onEntered:a.func,onEntering:a.func,onExit:a.func,onExited:a.func,onExiting:a.func,style:a.object,timeout:a.oneOfType([a.number,a.shape({appear:a.number,enter:a.number,exit:a.number})])});function OX(e){return Wn("MuiBackdrop",e)}Bn("MuiBackdrop",["root","invisible"]);const PX=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],DX=e=>{const{classes:t,invisible:n}=e;return Un({root:["root",n&&"invisible"]},OX,t)},kX=mt("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>V({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"})),KR=$.forwardRef(function(t,n){var o,s,p;const u=An({props:t,name:"MuiBackdrop"}),{children:g,className:b,component:y="div",components:C={},componentsProps:w={},invisible:O=!1,open:P,slotProps:D={},slots:I={},TransitionComponent:j=zh,transitionDuration:z}=u,H=Ot(u,PX),L=V({},u,{component:y,invisible:O}),U=DX(L),A=(o=D.root)!=null?o:w.root;return B.jsx(j,V({in:P,timeout:z},H,{children:B.jsx(kX,V({"aria-hidden":!0},A,{as:(s=(p=I.root)!=null?p:C.Root)!=null?s:y,className:tn(U.root,b,A==null?void 0:A.className),ownerState:V({},L,A==null?void 0:A.ownerState),classes:U,ref:n,children:g}))}))});process.env.NODE_ENV!=="production"&&(KR.propTypes={children:a.node,classes:a.object,className:a.string,component:a.elementType,components:a.shape({Root:a.elementType}),componentsProps:a.shape({root:a.object}),invisible:a.bool,open:a.bool.isRequired,slotProps:a.shape({root:a.object}),slots:a.shape({root:a.elementType}),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),TransitionComponent:a.elementType,transitionDuration:a.oneOfType([a.number,a.shape({appear:a.number,enter:a.number,exit:a.number})])});const NX=Bn("MuiBox",["root"]),MX=ek(),Co=yV({themeId:Py,defaultTheme:MX,defaultClassName:NX.root,generateClassName:n1.generate});process.env.NODE_ENV!=="production"&&(Co.propTypes={children:a.node,component:a.elementType,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});const Zx=jV({createStyledComponent:mt("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${Ft(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>An({props:e,name:"MuiContainer"})});process.env.NODE_ENV!=="production"&&(Zx.propTypes={children:a.node,classes:a.object,component:a.elementType,disableGutters:a.bool,fixed:a.bool,maxWidth:a.oneOfType([a.oneOf(["xs","sm","md","lg","xl",!1]),a.string]),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});function AX(e){return Wn("MuiModal",e)}Bn("MuiModal",["root","hidden","backdrop"]);const $X=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],IX=e=>{const{open:t,exited:n,classes:o}=e;return Un({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},AX,o)},FX=mt("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})=>V({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),jX=mt(KR,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),XR=$.forwardRef(function(t,n){var o,s,p,u,g,b;const y=An({name:"MuiModal",props:t}),{BackdropComponent:C=jX,BackdropProps:w,className:O,closeAfterTransition:P=!1,children:D,container:I,component:j,components:z={},componentsProps:H={},disableAutoFocus:L=!1,disableEnforceFocus:U=!1,disableEscapeKeyDown:A=!1,disablePortal:Q=!1,disableRestoreFocus:te=!1,disableScrollLock:ue=!1,hideBackdrop:ae=!1,keepMounted:pe=!1,onBackdropClick:xe,open:Pe,slotProps:ye,slots:de}=y,fe=Ot(y,$X),Se=V({},y,{closeAfterTransition:P,disableAutoFocus:L,disableEnforceFocus:U,disableEscapeKeyDown:A,disablePortal:Q,disableRestoreFocus:te,disableScrollLock:ue,hideBackdrop:ae,keepMounted:pe}),{getRootProps:re,getBackdropProps:ce,getTransitionProps:ke,portalRef:Ce,isTopModal:ge,exited:Me,hasTransition:Le}=ZK(V({},Se,{rootRef:n})),Oe=V({},Se,{exited:Me}),Ve=IX(Oe),ze={};if(D.props.tabIndex===void 0&&(ze.tabIndex="-1"),Le){const{onEnter:tt,onExited:Ge}=ke();ze.onEnter=tt,ze.onExited=Ge}const We=(o=(s=de==null?void 0:de.root)!=null?s:z.Root)!=null?o:FX,Ye=(p=(u=de==null?void 0:de.backdrop)!=null?u:z.Backdrop)!=null?p:C,ot=(g=ye==null?void 0:ye.root)!=null?g:H.root,yt=(b=ye==null?void 0:ye.backdrop)!=null?b:H.backdrop,Ze=si({elementType:We,externalSlotProps:ot,externalForwardedProps:fe,getSlotProps:re,additionalProps:{ref:n,as:j},ownerState:Oe,className:tn(O,ot==null?void 0:ot.className,Ve==null?void 0:Ve.root,!Oe.open&&Oe.exited&&(Ve==null?void 0:Ve.hidden))}),Te=si({elementType:Ye,externalSlotProps:yt,additionalProps:w,getSlotProps:tt=>ce(V({},tt,{onClick:Ge=>{xe&&xe(Ge),tt!=null&&tt.onClick&&tt.onClick(Ge)}})),className:tn(yt==null?void 0:yt.className,w==null?void 0:w.className,Ve==null?void 0:Ve.backdrop),ownerState:Oe});return!pe&&!Pe&&(!Le||Me)?null:B.jsx(Jy,{ref:Ce,container:I,disablePortal:Q,children:B.jsxs(We,V({},Ze,{children:[!ae&&C?B.jsx(Ye,V({},Te)):null,B.jsx(Hy,{disableEnforceFocus:U,disableAutoFocus:L,disableRestoreFocus:te,isEnabled:ge,open:Pe,children:$.cloneElement(D,ze)})]}))})});process.env.NODE_ENV!=="production"&&(XR.propTypes={BackdropComponent:a.elementType,BackdropProps:a.object,children:om.isRequired,classes:a.object,className:a.string,closeAfterTransition:a.bool,component:a.elementType,components:a.shape({Backdrop:a.elementType,Root:a.elementType}),componentsProps:a.shape({backdrop:a.oneOfType([a.func,a.object]),root:a.oneOfType([a.func,a.object])}),container:a.oneOfType([tf,a.func]),disableAutoFocus:a.bool,disableEnforceFocus:a.bool,disableEscapeKeyDown:a.bool,disablePortal:a.bool,disableRestoreFocus:a.bool,disableScrollLock:a.bool,hideBackdrop:a.bool,keepMounted:a.bool,onBackdropClick:a.func,onClose:a.func,onTransitionEnter:a.func,onTransitionExited:a.func,open:a.bool.isRequired,slotProps:a.shape({backdrop:a.oneOfType([a.func,a.object]),root:a.oneOfType([a.func,a.object])}),slots:a.shape({backdrop:a.elementType,root:a.elementType}),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});function LX(e){return Wn("MuiDialog",e)}const rb=Bn("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),aA=$.createContext({});process.env.NODE_ENV!=="production"&&(aA.displayName="DialogContext");const BX=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],VX=mt(KR,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),zX=e=>{const{classes:t,scroll:n,maxWidth:o,fullWidth:s,fullScreen:p}=e,u={root:["root"],container:["container",`scroll${Ft(n)}`],paper:["paper",`paperScroll${Ft(n)}`,`paperWidth${Ft(String(o))}`,s&&"paperFullWidth",p&&"paperFullScreen"]};return Un(u,LX,t)},UX=mt(XR,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),WX=mt("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${Ft(n.scroll)}`]]}})(({ownerState:e})=>V({height:"100%","@media print":{height:"auto"},outline:0},e.scroll==="paper"&&{display:"flex",justifyContent:"center",alignItems:"center"},e.scroll==="body"&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),HX=mt(Am,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${Ft(n.scroll)}`],t[`paperWidth${Ft(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(({theme:e,ownerState:t})=>V({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},t.scroll==="paper"&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},t.scroll==="body"&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},t.maxWidth==="xs"&&{maxWidth:e.breakpoints.unit==="px"?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${rb.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&t.maxWidth!=="xs"&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${rb.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+32*2)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${rb.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),sA=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiDialog"}),s=Ys(),p={enter:s.transitions.duration.enteringScreen,exit:s.transitions.duration.leavingScreen},{"aria-describedby":u,"aria-labelledby":g,BackdropComponent:b,BackdropProps:y,children:C,className:w,disableEscapeKeyDown:O=!1,fullScreen:P=!1,fullWidth:D=!1,maxWidth:I="sm",onBackdropClick:j,onClose:z,open:H,PaperComponent:L=Am,PaperProps:U={},scroll:A="paper",TransitionComponent:Q=zh,transitionDuration:te=p,TransitionProps:ue}=o,ae=Ot(o,BX),pe=V({},o,{disableEscapeKeyDown:O,fullScreen:P,fullWidth:D,maxWidth:I,scroll:A}),xe=zX(pe),Pe=$.useRef(),ye=re=>{Pe.current=re.target===re.currentTarget},de=re=>{Pe.current&&(Pe.current=null,j&&j(re),z&&z(re,"backdropClick"))},fe=up(g),Se=$.useMemo(()=>({titleId:fe}),[fe]);return B.jsx(UX,V({className:tn(xe.root,w),closeAfterTransition:!0,components:{Backdrop:VX},componentsProps:{backdrop:V({transitionDuration:te,as:b},y)},disableEscapeKeyDown:O,onClose:z,open:H,ref:n,onClick:de,ownerState:pe},ae,{children:B.jsx(Q,V({appear:!0,in:H,timeout:te,role:"presentation"},ue,{children:B.jsx(WX,{className:tn(xe.container),onMouseDown:ye,ownerState:pe,children:B.jsx(HX,V({as:L,elevation:24,role:"dialog","aria-describedby":u,"aria-labelledby":fe},U,{className:tn(xe.paper,U.className),ownerState:pe,children:B.jsx(aA.Provider,{value:Se,children:C})}))})}))}))});process.env.NODE_ENV!=="production"&&(sA.propTypes={"aria-describedby":a.string,"aria-labelledby":a.string,BackdropComponent:a.elementType,BackdropProps:a.object,children:a.node,classes:a.object,className:a.string,disableEscapeKeyDown:a.bool,fullScreen:a.bool,fullWidth:a.bool,maxWidth:a.oneOfType([a.oneOf(["xs","sm","md","lg","xl",!1]),a.string]),onBackdropClick:a.func,onClose:a.func,open:a.bool.isRequired,PaperComponent:a.elementType,PaperProps:a.object,scroll:a.oneOf(["body","paper"]),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),TransitionComponent:a.elementType,transitionDuration:a.oneOfType([a.number,a.shape({appear:a.number,enter:a.number,exit:a.number})]),TransitionProps:a.object});function GX(e){return Wn("MuiDialogActions",e)}Bn("MuiDialogActions",["root","spacing"]);const qX=["className","disableSpacing"],YX=e=>{const{classes:t,disableSpacing:n}=e;return Un({root:["root",!n&&"spacing"]},GX,t)},KX=mt("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})(({ownerState:e})=>V({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),lA=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiDialogActions"}),{className:s,disableSpacing:p=!1}=o,u=Ot(o,qX),g=V({},o,{disableSpacing:p}),b=YX(g);return B.jsx(KX,V({className:tn(b.root,s),ownerState:g,ref:n},u))});process.env.NODE_ENV!=="production"&&(lA.propTypes={children:a.node,classes:a.object,className:a.string,disableSpacing:a.bool,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});function XX(e){return Wn("MuiDialogContent",e)}Bn("MuiDialogContent",["root","dividers"]);const QX=Bn("MuiDialogTitle",["root"]),ZX=["className","dividers"],JX=e=>{const{classes:t,dividers:n}=e;return Un({root:["root",n&&"dividers"]},XX,t)},eQ=mt("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(({theme:e,ownerState:t})=>V({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},t.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${QX.root} + &`]:{paddingTop:0}})),uA=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiDialogContent"}),{className:s,dividers:p=!1}=o,u=Ot(o,ZX),g=V({},o,{dividers:p}),b=JX(g);return B.jsx(eQ,V({className:tn(b.root,s),ownerState:g,ref:n},u))});process.env.NODE_ENV!=="production"&&(uA.propTypes={children:a.node,classes:a.object,className:a.string,dividers:a.bool,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});function tQ(e){return Wn("MuiDivider",e)}const cA=Bn("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),nQ=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],rQ=e=>{const{absolute:t,children:n,classes:o,flexItem:s,light:p,orientation:u,textAlign:g,variant:b}=e;return Un({root:["root",t&&"absolute",b,p&&"light",u==="vertical"&&"vertical",s&&"flexItem",n&&"withChildren",n&&u==="vertical"&&"withChildrenVertical",g==="right"&&u!=="vertical"&&"textAlignRight",g==="left"&&u!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",u==="vertical"&&"wrapperVertical"]},tQ,o)},oQ=mt("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>V({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Br(e.palette.divider,.08)},t.variant==="inset"&&{marginLeft:72},t.variant==="middle"&&t.orientation==="horizontal"&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},t.variant==="middle"&&t.orientation==="vertical"&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},t.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:e})=>V({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>V({},t.children&&t.orientation!=="vertical"&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}}),({theme:e,ownerState:t})=>V({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}}),({ownerState:e})=>V({},e.textAlign==="right"&&e.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},e.textAlign==="left"&&e.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),iQ=mt("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>V({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},t.orientation==="vertical"&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),QR=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiDivider"}),{absolute:s=!1,children:p,className:u,component:g=p?"div":"hr",flexItem:b=!1,light:y=!1,orientation:C="horizontal",role:w=g!=="hr"?"separator":void 0,textAlign:O="center",variant:P="fullWidth"}=o,D=Ot(o,nQ),I=V({},o,{absolute:s,component:g,flexItem:b,light:y,orientation:C,role:w,textAlign:O,variant:P}),j=rQ(I);return B.jsx(oQ,V({as:g,className:tn(j.root,u),role:w,ref:n,ownerState:I},D,{children:p?B.jsx(iQ,{className:j.wrapper,ownerState:I,children:p}):null}))});QR.muiSkipListHighlight=!0,process.env.NODE_ENV!=="production"&&(QR.propTypes={absolute:a.bool,children:a.node,classes:a.object,className:a.string,component:a.elementType,flexItem:a.bool,light:a.bool,orientation:a.oneOf(["horizontal","vertical"]),role:a.string,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),textAlign:a.oneOf(["center","left","right"]),variant:a.oneOfType([a.oneOf(["fullWidth","inset","middle"]),a.string])});const aQ=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],sQ=e=>{const{classes:t,disableUnderline:n}=e,s=Un({root:["root",!n&&"underline"],input:["input"]},mX,t);return V({},t,s)},lQ=mt(Xx,{shouldForwardProp:e=>Nu(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Yx(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var n;const o=e.palette.mode==="light",s=o?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",p=o?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",u=o?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",g=o?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return V({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:p,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:u,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:p}},[`&.${Vh.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:p},[`&.${Vh.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:g}},!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"},[`&.${Vh.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Vh.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})`:s}`,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(.${Vh.disabled}, .${Vh.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Vh.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&V({padding:"25px 12px 8px"},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9}))}),uQ=mt(Qx,{name:"MuiFilledInput",slot:"Input",overridesResolver:Kx})(({theme:e,ownerState:t})=>V({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.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})),Jx=$.forwardRef(function(t,n){var o,s,p,u;const g=An({props:t,name:"MuiFilledInput"}),{components:b={},componentsProps:y,fullWidth:C=!1,inputComponent:w="input",multiline:O=!1,slotProps:P,slots:D={},type:I="text"}=g,j=Ot(g,aQ),z=V({},g,{fullWidth:C,inputComponent:w,multiline:O,type:I}),H=sQ(g),L={root:{ownerState:z},input:{ownerState:z}},U=P??y?Os(L,P??y):L,A=(o=(s=D.root)!=null?s:b.Root)!=null?o:lQ,Q=(p=(u=D.input)!=null?u:b.Input)!=null?p:uQ;return B.jsx(zm,V({slots:{root:A,input:Q},componentsProps:U,fullWidth:C,inputComponent:w,multiline:O,ref:n,type:I},j,{classes:H}))});process.env.NODE_ENV!=="production"&&(Jx.propTypes={autoComplete:a.string,autoFocus:a.bool,classes:a.object,color:a.oneOfType([a.oneOf(["primary","secondary"]),a.string]),components:a.shape({Input:a.elementType,Root:a.elementType}),componentsProps:a.shape({input:a.object,root:a.object}),defaultValue:a.any,disabled:a.bool,disableUnderline:a.bool,endAdornment:a.node,error:a.bool,fullWidth:a.bool,hiddenLabel:a.bool,id:a.string,inputComponent:a.elementType,inputProps:a.object,inputRef:qs,margin:a.oneOf(["dense","none"]),maxRows:a.oneOfType([a.number,a.string]),minRows:a.oneOfType([a.number,a.string]),multiline:a.bool,name:a.string,onChange:a.func,placeholder:a.string,readOnly:a.bool,required:a.bool,rows:a.oneOfType([a.number,a.string]),slotProps:a.shape({input:a.object,root:a.object}),slots:a.shape({input:a.elementType,root:a.elementType}),startAdornment:a.node,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),type:a.string,value:a.any}),Jx.muiName="Input";function cQ(e){return Wn("MuiFormControl",e)}Bn("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const dQ=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],fQ=e=>{const{classes:t,margin:n,fullWidth:o}=e,s={root:["root",n!=="none"&&`margin${Ft(n)}`,o&&"fullWidth"]};return Un(s,cQ,t)},pQ=mt("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>V({},t.root,t[`margin${Ft(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>V({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%"})),eS=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiFormControl"}),{children:s,className:p,color:u="primary",component:g="div",disabled:b=!1,error:y=!1,focused:C,fullWidth:w=!1,hiddenLabel:O=!1,margin:P="none",required:D=!1,size:I="medium",variant:j="outlined"}=o,z=Ot(o,dQ),H=V({},o,{color:u,component:g,disabled:b,error:y,fullWidth:w,hiddenLabel:O,margin:P,required:D,size:I,variant:j}),L=fQ(H),[U,A]=$.useState(()=>{let ye=!1;return s&&$.Children.forEach(s,de=>{if(!sm(de,["Input","Select"]))return;const fe=sm(de,["Select"])?de.props.input:de;fe&&uX(fe.props)&&(ye=!0)}),ye}),[Q,te]=$.useState(()=>{let ye=!1;return s&&$.Children.forEach(s,de=>{sm(de,["Input","Select"])&&(qx(de.props,!0)||qx(de.props.inputProps,!0))&&(ye=!0)}),ye}),[ue,ae]=$.useState(!1);b&&ue&&ae(!1);const pe=C!==void 0&&!b?C:ue;let xe;if(process.env.NODE_ENV!=="production"){const ye=$.useRef(!1);xe=()=>(ye.current&&console.error(["MUI: There are multiple `InputBase` components inside a FormControl.","This creates visual inconsistencies, only use one `InputBase`."].join(`
|
|
476
|
+
`)),ye.current=!0,()=>{ye.current=!1})}const Pe=$.useMemo(()=>({adornedStart:U,setAdornedStart:A,color:u,disabled:b,error:y,filled:Q,focused:pe,fullWidth:w,hiddenLabel:O,size:I,onBlur:()=>{ae(!1)},onEmpty:()=>{te(!1)},onFilled:()=>{te(!0)},onFocus:()=>{ae(!0)},registerEffect:xe,required:D,variant:j}),[U,u,b,y,Q,pe,w,O,xe,D,I,j]);return B.jsx(tb.Provider,{value:Pe,children:B.jsx(pQ,V({as:g,ownerState:H,className:tn(L.root,p),ref:n},z,{children:s}))})});process.env.NODE_ENV!=="production"&&(eS.propTypes={children:a.node,classes:a.object,className:a.string,color:a.oneOfType([a.oneOf(["primary","secondary","error","info","success","warning"]),a.string]),component:a.elementType,disabled:a.bool,error:a.bool,focused:a.bool,fullWidth:a.bool,hiddenLabel:a.bool,margin:a.oneOf(["dense","none","normal"]),required:a.bool,size:a.oneOfType([a.oneOf(["medium","small"]),a.string]),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),variant:a.oneOf(["filled","outlined","standard"])});function hQ(e){return Wn("MuiFormHelperText",e)}const dA=Bn("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var fA;const vQ=["children","className","component","disabled","error","filled","focused","margin","required","variant"],mQ=e=>{const{classes:t,contained:n,size:o,disabled:s,error:p,filled:u,focused:g,required:b}=e,y={root:["root",s&&"disabled",p&&"error",o&&`size${Ft(o)}`,n&&"contained",g&&"focused",u&&"filled",b&&"required"]};return Un(y,hQ,t)},gQ=mt("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${Ft(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(({theme:e,ownerState:t})=>V({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${dA.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${dA.error}`]:{color:(e.vars||e).palette.error.main}},t.size==="small"&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),tS=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiFormHelperText"}),{children:s,className:p,component:u="p"}=o,g=Ot(o,vQ),b=Bh(),y=Bm({props:o,muiFormControl:b,states:["variant","size","disabled","error","filled","focused","required"]}),C=V({},o,{component:u,contained:y.variant==="filled"||y.variant==="outlined",variant:y.variant,size:y.size,disabled:y.disabled,error:y.error,filled:y.filled,focused:y.focused,required:y.required}),w=mQ(C);return B.jsx(gQ,V({as:u,ownerState:C,className:tn(w.root,p),ref:n},g,{children:s===" "?fA||(fA=B.jsx("span",{className:"notranslate",children:""})):s}))});process.env.NODE_ENV!=="production"&&(tS.propTypes={children:a.node,classes:a.object,className:a.string,component:a.elementType,disabled:a.bool,error:a.bool,filled:a.bool,focused:a.bool,margin:a.oneOf(["dense"]),required:a.bool,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),variant:a.oneOfType([a.oneOf(["filled","outlined","standard"]),a.string])});function yQ(e){return Wn("MuiFormLabel",e)}const ob=Bn("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),bQ=["children","className","color","component","disabled","error","filled","focused","required"],xQ=e=>{const{classes:t,color:n,focused:o,disabled:s,error:p,filled:u,required:g}=e,b={root:["root",`color${Ft(n)}`,s&&"disabled",p&&"error",u&&"filled",o&&"focused",g&&"required"],asterisk:["asterisk",p&&"error"]};return Un(b,yQ,t)},SQ=mt("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>V({},t.root,e.color==="secondary"&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>V({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${ob.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${ob.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${ob.error}`]:{color:(e.vars||e).palette.error.main}})),CQ=mt("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${ob.error}`]:{color:(e.vars||e).palette.error.main}})),pA=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiFormLabel"}),{children:s,className:p,component:u="label"}=o,g=Ot(o,bQ),b=Bh(),y=Bm({props:o,muiFormControl:b,states:["color","required","focused","disabled","error","filled"]}),C=V({},o,{color:y.color||"primary",component:u,disabled:y.disabled,error:y.error,filled:y.filled,focused:y.focused,required:y.required}),w=xQ(C);return B.jsxs(SQ,V({as:u,ownerState:C,className:tn(w.root,p),ref:n},g,{children:[s,y.required&&B.jsxs(CQ,{ownerState:C,"aria-hidden":!0,className:w.asterisk,children:[" ","*"]})]}))});process.env.NODE_ENV!=="production"&&(pA.propTypes={children:a.node,classes:a.object,className:a.string,color:a.oneOfType([a.oneOf(["error","info","primary","secondary","success","warning"]),a.string]),component:a.elementType,disabled:a.bool,error:a.bool,filled:a.bool,focused:a.bool,required:a.bool,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});const ZR=$.createContext();process.env.NODE_ENV!=="production"&&(ZR.displayName="GridContext");function wQ(e){return Wn("MuiGrid",e)}const RQ=[0,1,2,3,4,5,6,7,8,9,10],EQ=["column-reverse","column","row-reverse","row"],TQ=["nowrap","wrap-reverse","wrap"],ib=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],ab=Bn("MuiGrid",["root","container","item","zeroMinWidth",...RQ.map(e=>`spacing-xs-${e}`),...EQ.map(e=>`direction-xs-${e}`),...TQ.map(e=>`wrap-xs-${e}`),...ib.map(e=>`grid-xs-${e}`),...ib.map(e=>`grid-sm-${e}`),...ib.map(e=>`grid-md-${e}`),...ib.map(e=>`grid-lg-${e}`),...ib.map(e=>`grid-xl-${e}`)]),_Q=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function Um(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function OQ({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce((o,s)=>{let p={};if(t[s]&&(n=t[s]),!n)return o;if(n===!0)p={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if(n==="auto")p={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const u=W0({values:t.columns,breakpoints:e.breakpoints.values}),g=typeof u=="object"?u[s]:u;if(g==null)return o;const b=`${Math.round(n/g*1e8)/1e6}%`;let y={};if(t.container&&t.item&&t.columnSpacing!==0){const C=e.spacing(t.columnSpacing);if(C!=="0px"){const w=`calc(${b} + ${Um(C)})`;y={flexBasis:w,maxWidth:w}}}p=V({flexBasis:b,flexGrow:0,maxWidth:b},y)}return e.breakpoints.values[s]===0?Object.assign(o,p):o[e.breakpoints.up(s)]=p,o},{})}function PQ({theme:e,ownerState:t}){const n=W0({values:t.direction,breakpoints:e.breakpoints.values});return Pu({theme:e},n,o=>{const s={flexDirection:o};return o.indexOf("column")===0&&(s[`& > .${ab.item}`]={maxWidth:"none"}),s})}function hA({breakpoints:e,values:t}){let n="";Object.keys(t).forEach(s=>{n===""&&t[s]!==0&&(n=s)});const o=Object.keys(e).sort((s,p)=>e[s]-e[p]);return o.slice(0,o.indexOf(n))}function DQ({theme:e,ownerState:t}){const{container:n,rowSpacing:o}=t;let s={};if(n&&o!==0){const p=W0({values:o,breakpoints:e.breakpoints.values});let u;typeof p=="object"&&(u=hA({breakpoints:e.breakpoints.values,values:p})),s=Pu({theme:e},p,(g,b)=>{var y;const C=e.spacing(g);return C!=="0px"?{marginTop:`-${Um(C)}`,[`& > .${ab.item}`]:{paddingTop:Um(C)}}:(y=u)!=null&&y.includes(b)?{}:{marginTop:0,[`& > .${ab.item}`]:{paddingTop:0}}})}return s}function kQ({theme:e,ownerState:t}){const{container:n,columnSpacing:o}=t;let s={};if(n&&o!==0){const p=W0({values:o,breakpoints:e.breakpoints.values});let u;typeof p=="object"&&(u=hA({breakpoints:e.breakpoints.values,values:p})),s=Pu({theme:e},p,(g,b)=>{var y;const C=e.spacing(g);return C!=="0px"?{width:`calc(100% + ${Um(C)})`,marginLeft:`-${Um(C)}`,[`& > .${ab.item}`]:{paddingLeft:Um(C)}}:(y=u)!=null&&y.includes(b)?{}:{width:"100%",marginLeft:0,[`& > .${ab.item}`]:{paddingLeft:0}}})}return s}function NQ(e,t,n={}){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[n[`spacing-xs-${String(e)}`]];const o=[];return t.forEach(s=>{const p=e[s];Number(p)>0&&o.push(n[`spacing-${s}-${String(p)}`])}),o}const MQ=mt("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:o,direction:s,item:p,spacing:u,wrap:g,zeroMinWidth:b,breakpoints:y}=n;let C=[];o&&(C=NQ(u,y,t));const w=[];return y.forEach(O=>{const P=n[O];P&&w.push(t[`grid-${O}-${String(P)}`])}),[t.root,o&&t.container,p&&t.item,b&&t.zeroMinWidth,...C,s!=="row"&&t[`direction-xs-${String(s)}`],g!=="wrap"&&t[`wrap-xs-${String(g)}`],...w]}})(({ownerState:e})=>V({boxSizing:"border-box"},e.container&&{display:"flex",flexWrap:"wrap",width:"100%"},e.item&&{margin:0},e.zeroMinWidth&&{minWidth:0},e.wrap!=="wrap"&&{flexWrap:e.wrap}),PQ,DQ,kQ,OQ);function AQ(e,t){if(!e||e<=0)return[];if(typeof e=="string"&&!Number.isNaN(Number(e))||typeof e=="number")return[`spacing-xs-${String(e)}`];const n=[];return t.forEach(o=>{const s=e[o];if(Number(s)>0){const p=`spacing-${o}-${String(s)}`;n.push(p)}}),n}const $Q=e=>{const{classes:t,container:n,direction:o,item:s,spacing:p,wrap:u,zeroMinWidth:g,breakpoints:b}=e;let y=[];n&&(y=AQ(p,b));const C=[];b.forEach(O=>{const P=e[O];P&&C.push(`grid-${O}-${String(P)}`)});const w={root:["root",n&&"container",s&&"item",g&&"zeroMinWidth",...y,o!=="row"&&`direction-xs-${String(o)}`,u!=="wrap"&&`wrap-xs-${String(u)}`,...C]};return Un(w,wQ,t)},Wm=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiGrid"}),{breakpoints:s}=Ys(),p=C1(o),{className:u,columns:g,columnSpacing:b,component:y="div",container:C=!1,direction:w="row",item:O=!1,rowSpacing:P,spacing:D=0,wrap:I="wrap",zeroMinWidth:j=!1}=p,z=Ot(p,_Q),H=P||D,L=b||D,U=$.useContext(ZR),A=C?g||12:U,Q={},te=V({},z);s.keys.forEach(pe=>{z[pe]!=null&&(Q[pe]=z[pe],delete te[pe])});const ue=V({},p,{columns:A,container:C,direction:w,item:O,rowSpacing:H,columnSpacing:L,wrap:I,zeroMinWidth:j,spacing:D},Q,{breakpoints:s.keys}),ae=$Q(ue);return B.jsx(ZR.Provider,{value:A,children:B.jsx(MQ,V({ownerState:ue,className:tn(ae.root,u),as:y,ref:n},te))})});if(process.env.NODE_ENV!=="production"&&(Wm.propTypes={children:a.node,classes:a.object,className:a.string,columns:a.oneOfType([a.arrayOf(a.number),a.number,a.object]),columnSpacing:a.oneOfType([a.arrayOf(a.oneOfType([a.number,a.string])),a.number,a.object,a.string]),component:a.elementType,container:a.bool,direction:a.oneOfType([a.oneOf(["column-reverse","column","row-reverse","row"]),a.arrayOf(a.oneOf(["column-reverse","column","row-reverse","row"])),a.object]),item:a.bool,lg:a.oneOfType([a.oneOf(["auto"]),a.number,a.bool]),md:a.oneOfType([a.oneOf(["auto"]),a.number,a.bool]),rowSpacing:a.oneOfType([a.arrayOf(a.oneOfType([a.number,a.string])),a.number,a.object,a.string]),sm:a.oneOfType([a.oneOf(["auto"]),a.number,a.bool]),spacing:a.oneOfType([a.arrayOf(a.oneOfType([a.number,a.string])),a.number,a.object,a.string]),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),wrap:a.oneOf(["nowrap","wrap-reverse","wrap"]),xl:a.oneOfType([a.oneOf(["auto"]),a.number,a.bool]),xs:a.oneOfType([a.oneOf(["auto"]),a.number,a.bool]),zeroMinWidth:a.bool}),process.env.NODE_ENV!=="production"){const e=FP("Grid",Wm);Wm.propTypes=V({},Wm.propTypes,{direction:e("container"),lg:e("item"),md:e("item"),sm:e("item"),spacing:e("container"),wrap:e("container"),xs:e("item"),zeroMinWidth:e("item")})}const IQ=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function JR(e){return`scale(${e}, ${e**2})`}const FQ={entering:{opacity:1,transform:JR(1)},entered:{opacity:1,transform:"none"}},eE=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Hm=$.forwardRef(function(t,n){const{addEndListener:o,appear:s=!0,children:p,easing:u,in:g,onEnter:b,onEntered:y,onEntering:C,onExit:w,onExited:O,onExiting:P,style:D,timeout:I="auto",TransitionComponent:j=Xl}=t,z=Ot(t,IQ),H=wh(),L=$.useRef(),U=Ys(),A=$.useRef(null),Q=qo(A,p.ref,n),te=fe=>Se=>{if(fe){const re=A.current;Se===void 0?fe(re):fe(re,Se)}},ue=te(C),ae=te((fe,Se)=>{SM(fe);const{duration:re,delay:ce,easing:ke}=Mm({style:D,timeout:I,easing:u},{mode:"enter"});let Ce;I==="auto"?(Ce=U.transitions.getAutoHeightDuration(fe.clientHeight),L.current=Ce):Ce=re,fe.style.transition=[U.transitions.create("opacity",{duration:Ce,delay:ce}),U.transitions.create("transform",{duration:eE?Ce:Ce*.666,delay:ce,easing:ke})].join(","),b&&b(fe,Se)}),pe=te(y),xe=te(P),Pe=te(fe=>{const{duration:Se,delay:re,easing:ce}=Mm({style:D,timeout:I,easing:u},{mode:"exit"});let ke;I==="auto"?(ke=U.transitions.getAutoHeightDuration(fe.clientHeight),L.current=ke):ke=Se,fe.style.transition=[U.transitions.create("opacity",{duration:ke,delay:re}),U.transitions.create("transform",{duration:eE?ke:ke*.666,delay:eE?re:re||ke*.333,easing:ce})].join(","),fe.style.opacity=0,fe.style.transform=JR(.75),w&&w(fe)}),ye=te(O),de=fe=>{I==="auto"&&H.start(L.current||0,fe),o&&o(A.current,fe)};return B.jsx(j,V({appear:s,in:g,nodeRef:A,onEnter:ae,onEntered:pe,onEntering:ue,onExit:Pe,onExited:ye,onExiting:xe,addEndListener:de,timeout:I==="auto"?null:I},z,{children:(fe,Se)=>$.cloneElement(p,V({style:V({opacity:0,transform:JR(.75),visibility:fe==="exited"&&!g?"hidden":void 0},FQ[fe],D,p.props.style),ref:Q},Se))}))});process.env.NODE_ENV!=="production"&&(Hm.propTypes={addEndListener:a.func,appear:a.bool,children:om.isRequired,easing:a.oneOfType([a.shape({enter:a.string,exit:a.string}),a.string]),in:a.bool,onEnter:a.func,onEntered:a.func,onEntering:a.func,onExit:a.func,onExited:a.func,onExiting:a.func,style:a.object,timeout:a.oneOfType([a.oneOf(["auto"]),a.number,a.shape({appear:a.number,enter:a.number,exit:a.number})])}),Hm.muiSupportAuto=!0;function jQ(e,t,n,o,s){const[p,u]=$.useState(()=>s&&n?n(e).matches:o?o(e).matches:t);return Wa(()=>{let g=!0;if(!n)return;const b=n(e),y=()=>{g&&u(b.matches)};return y(),b.addListener(y),()=>{g=!1,b.removeListener(y)}},[e,n]),p}const vA=_0.useSyncExternalStore;function LQ(e,t,n,o,s){const p=$.useCallback(()=>t,[t]),u=$.useMemo(()=>{if(s&&n)return()=>n(e).matches;if(o!==null){const{matches:C}=o(e);return()=>C}return p},[p,e,o,s,n]),[g,b]=$.useMemo(()=>{if(n===null)return[p,()=>()=>{}];const C=n(e);return[()=>C.matches,w=>(C.addListener(w),()=>{C.removeListener(w)})]},[p,n,e]);return vA(b,g,u)}function mA(e,t={}){const n=S1(),o=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:s=!1,matchMedia:p=o?window.matchMedia:null,ssrMatchMedia:u=null,noSsr:g=!1}=UD({name:"MuiUseMediaQuery",props:t,theme:n});process.env.NODE_ENV!=="production"&&typeof e=="function"&&n===null&&console.error(["MUI: The `query` argument provided is invalid.","You are providing a function without a theme in the context.","One of the parent elements needs to use a ThemeProvider."].join(`
|
|
477
|
+
`));let b=typeof e=="function"?e(n):e;b=b.replace(/^@media( ?)/m,"");const C=(vA!==void 0?LQ:jQ)(b,s,p,u,g);return process.env.NODE_ENV!=="production"&&$.useDebugValue({query:b,match:C}),C}const BQ=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],VQ=e=>{const{classes:t,disableUnderline:n}=e,s=Un({root:["root",!n&&"underline"],input:["input"]},hX,t);return V({},t,s)},zQ=mt(Xx,{shouldForwardProp:e=>Nu(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...Yx(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let o=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(o=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),V({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"},[`&.${nb.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${nb.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${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(.${nb.disabled}, .${nb.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${o}`}},[`&.${nb.disabled}:before`]:{borderBottomStyle:"dotted"}})}),UQ=mt(Qx,{name:"MuiInput",slot:"Input",overridesResolver:Kx})({}),nS=$.forwardRef(function(t,n){var o,s,p,u;const g=An({props:t,name:"MuiInput"}),{disableUnderline:b,components:y={},componentsProps:C,fullWidth:w=!1,inputComponent:O="input",multiline:P=!1,slotProps:D,slots:I={},type:j="text"}=g,z=Ot(g,BQ),H=VQ(g),U={root:{ownerState:{disableUnderline:b}}},A=D??C?Os(D??C,U):U,Q=(o=(s=I.root)!=null?s:y.Root)!=null?o:zQ,te=(p=(u=I.input)!=null?u:y.Input)!=null?p:UQ;return B.jsx(zm,V({slots:{root:Q,input:te},slotProps:A,fullWidth:w,inputComponent:O,multiline:P,ref:n,type:j},z,{classes:H}))});process.env.NODE_ENV!=="production"&&(nS.propTypes={autoComplete:a.string,autoFocus:a.bool,classes:a.object,color:a.oneOfType([a.oneOf(["primary","secondary"]),a.string]),components:a.shape({Input:a.elementType,Root:a.elementType}),componentsProps:a.shape({input:a.object,root:a.object}),defaultValue:a.any,disabled:a.bool,disableUnderline:a.bool,endAdornment:a.node,error:a.bool,fullWidth:a.bool,id:a.string,inputComponent:a.elementType,inputProps:a.object,inputRef:qs,margin:a.oneOf(["dense","none"]),maxRows:a.oneOfType([a.number,a.string]),minRows:a.oneOfType([a.number,a.string]),multiline:a.bool,name:a.string,onChange:a.func,placeholder:a.string,readOnly:a.bool,required:a.bool,rows:a.oneOfType([a.number,a.string]),slotProps:a.shape({input:a.object,root:a.object}),slots:a.shape({input:a.elementType,root:a.elementType}),startAdornment:a.node,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),type:a.string,value:a.any}),nS.muiName="Input";function WQ(e){return Wn("MuiInputAdornment",e)}const gA=Bn("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var yA;const HQ=["children","className","component","disablePointerEvents","disableTypography","position","variant"],GQ=(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Ft(n.position)}`],n.disablePointerEvents===!0&&t.disablePointerEvents,t[n.variant]]},qQ=e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:o,position:s,size:p,variant:u}=e,g={root:["root",n&&"disablePointerEvents",s&&`position${Ft(s)}`,u,o&&"hiddenLabel",p&&`size${Ft(p)}`]};return Un(g,WQ,t)},YQ=mt("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:GQ})(({theme:e,ownerState:t})=>V({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},t.variant==="filled"&&{[`&.${gA.positionStart}&:not(.${gA.hiddenLabel})`]:{marginTop:16}},t.position==="start"&&{marginRight:8},t.position==="end"&&{marginLeft:8},t.disablePointerEvents===!0&&{pointerEvents:"none"})),rS=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiInputAdornment"}),{children:s,className:p,component:u="div",disablePointerEvents:g=!1,disableTypography:b=!1,position:y,variant:C}=o,w=Ot(o,HQ),O=Bh()||{};let P=C;C&&O.variant&&process.env.NODE_ENV!=="production"&&C===O.variant&&console.error("MUI: The `InputAdornment` variant infers the variant prop you do not have to provide one."),O&&!P&&(P=O.variant);const D=V({},o,{hiddenLabel:O.hiddenLabel,size:O.size,disablePointerEvents:g,position:y,variant:P}),I=qQ(D);return B.jsx(tb.Provider,{value:null,children:B.jsx(YQ,V({as:u,ownerState:D,className:tn(I.root,p),ref:n},w,{children:typeof s=="string"&&!b?B.jsx(So,{color:"text.secondary",children:s}):B.jsxs($.Fragment,{children:[y==="start"?yA||(yA=B.jsx("span",{className:"notranslate",children:""})):null,s]})}))})});process.env.NODE_ENV!=="production"&&(rS.propTypes={children:a.node,classes:a.object,className:a.string,component:a.elementType,disablePointerEvents:a.bool,disableTypography:a.bool,position:a.oneOf(["end","start"]).isRequired,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),variant:a.oneOf(["filled","outlined","standard"])});function KQ(e){return Wn("MuiInputLabel",e)}Bn("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const XQ=["disableAnimation","margin","shrink","variant","className"],QQ=e=>{const{classes:t,formControl:n,size:o,shrink:s,disableAnimation:p,variant:u,required:g}=e,b={root:["root",n&&"formControl",!p&&"animated",s&&"shrink",o&&o!=="normal"&&`size${Ft(o)}`,u],asterisk:[g&&"asterisk"]},y=Un(b,KQ,t);return V({},t,y)},ZQ=mt(pA,{shouldForwardProp:e=>Nu(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ob.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(({theme:e,ownerState:t})=>V({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"&&V({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&&V({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"&&V({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)"}))),bA=$.forwardRef(function(t,n){const o=An({name:"MuiInputLabel",props:t}),{disableAnimation:s=!1,shrink:p,className:u}=o,g=Ot(o,XQ),b=Bh();let y=p;typeof y>"u"&&b&&(y=b.filled||b.focused||b.adornedStart);const C=Bm({props:o,muiFormControl:b,states:["size","variant","required","focused"]}),w=V({},o,{disableAnimation:s,formControl:b,shrink:y,size:C.size,variant:C.variant,required:C.required,focused:C.focused}),O=QQ(w);return B.jsx(ZQ,V({"data-shrink":y,ownerState:w,ref:n,className:tn(O.root,u)},g,{classes:O}))});process.env.NODE_ENV!=="production"&&(bA.propTypes={children:a.node,classes:a.object,className:a.string,color:a.oneOfType([a.oneOf(["error","info","primary","secondary","success","warning"]),a.string]),disableAnimation:a.bool,disabled:a.bool,error:a.bool,focused:a.bool,margin:a.oneOf(["dense"]),required:a.bool,shrink:a.bool,size:a.oneOfType([a.oneOf(["normal","small"]),a.string]),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),variant:a.oneOf(["filled","outlined","standard"])});function JQ(e){return Wn("MuiLink",e)}const eZ=Bn("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),xA={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},tZ=e=>xA[e]||e,nZ=({theme:e,ownerState:t})=>{const n=tZ(t.color),o=pm(e,`palette.${n}`,!1)||t.color,s=pm(e,`palette.${n}Channel`);return"vars"in e&&s?`rgba(${s} / 0.4)`:Br(o,.4)},rZ=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],oZ=e=>{const{classes:t,component:n,focusVisible:o,underline:s}=e,p={root:["root",`underline${Ft(s)}`,n==="button"&&"button",o&&"focusVisible"]};return Un(p,JQ,t)},iZ=mt(So,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${Ft(n.underline)}`],n.component==="button"&&t.button]}})(({theme:e,ownerState:t})=>V({},t.underline==="none"&&{textDecoration:"none"},t.underline==="hover"&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},t.underline==="always"&&V({textDecoration:"underline"},t.color!=="inherit"&&{textDecorationColor:nZ({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),t.component==="button"&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${eZ.focusVisible}`]:{outline:"auto"}})),sb=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiLink"}),{className:s,color:p="primary",component:u="a",onBlur:g,onFocus:b,TypographyClasses:y,underline:C="always",variant:w="inherit",sx:O}=o,P=Ot(o,rZ),{isFocusVisibleRef:D,onBlur:I,onFocus:j,ref:z}=k0(),[H,L]=$.useState(!1),U=qo(n,z),A=ae=>{I(ae),D.current===!1&&L(!1),g&&g(ae)},Q=ae=>{j(ae),D.current===!0&&L(!0),b&&b(ae)},te=V({},o,{color:p,component:u,focusVisible:H,underline:C,variant:w}),ue=oZ(te);return B.jsx(iZ,V({color:p,className:tn(ue.root,s),classes:y,component:u,onBlur:A,onFocus:Q,ref:U,ownerState:te,variant:w,sx:[...Object.keys(xA).includes(p)?[]:[{color:p}],...Array.isArray(O)?O:[O]]},P))});process.env.NODE_ENV!=="production"&&(sb.propTypes={children:a.node,classes:a.object,className:a.string,color:a.any,component:im,onBlur:a.func,onFocus:a.func,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),TypographyClasses:a.object,underline:a.oneOf(["always","hover","none"]),variant:a.oneOfType([a.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),a.string])});const bd=$.createContext({});process.env.NODE_ENV!=="production"&&(bd.displayName="ListContext");function aZ(e){return Wn("MuiList",e)}Bn("MuiList",["root","padding","dense","subheader"]);const sZ=["children","className","component","dense","disablePadding","subheader"],lZ=e=>{const{classes:t,disablePadding:n,dense:o,subheader:s}=e;return Un({root:["root",!n&&"padding",o&&"dense",s&&"subheader"]},aZ,t)},uZ=mt("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})=>V({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),Uh=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiList"}),{children:s,className:p,component:u="ul",dense:g=!1,disablePadding:b=!1,subheader:y}=o,C=Ot(o,sZ),w=$.useMemo(()=>({dense:g}),[g]),O=V({},o,{component:u,dense:g,disablePadding:b}),P=lZ(O);return B.jsx(bd.Provider,{value:w,children:B.jsxs(uZ,V({as:u,className:tn(P.root,p),ref:n,ownerState:O},C,{children:[y,s]}))})});process.env.NODE_ENV!=="production"&&(Uh.propTypes={children:a.node,classes:a.object,className:a.string,component:a.elementType,dense:a.bool,disablePadding:a.bool,subheader:a.node,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});function cZ(e){return Wn("MuiListItem",e)}const Gm=Bn("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]),dZ=Bn("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function fZ(e){return Wn("MuiListItemSecondaryAction",e)}Bn("MuiListItemSecondaryAction",["root","disableGutters"]);const pZ=["className"],hZ=e=>{const{disableGutters:t,classes:n}=e;return Un({root:["root",t&&"disableGutters"]},fZ,n)},vZ=mt("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})(({ownerState:e})=>V({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),tE=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiListItemSecondaryAction"}),{className:s}=o,p=Ot(o,pZ),u=$.useContext(bd),g=V({},o,{disableGutters:u.disableGutters}),b=hZ(g);return B.jsx(vZ,V({className:tn(b.root,s),ownerState:g,ref:n},p))});process.env.NODE_ENV!=="production"&&(tE.propTypes={children:a.node,classes:a.object,className:a.string,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])}),tE.muiName="ListItemSecondaryAction";const mZ=["className"],gZ=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],yZ=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]},bZ=e=>{const{alignItems:t,button:n,classes:o,dense:s,disabled:p,disableGutters:u,disablePadding:g,divider:b,hasSecondaryAction:y,selected:C}=e;return Un({root:["root",s&&"dense",!u&&"gutters",!g&&"padding",b&&"divider",p&&"disabled",n&&"button",t==="flex-start"&&"alignItemsFlexStart",y&&"secondaryAction",C&&"selected"],container:["container"]},cZ,o)},xZ=mt("div",{name:"MuiListItem",slot:"Root",overridesResolver:yZ})(({theme:e,ownerState:t})=>V({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&V({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${dZ.root}`]:{paddingRight:48}},{[`&.${Gm.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Gm.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Br(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Gm.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Br(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Gm.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.alignItems==="flex-start"&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Gm.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Br(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})`:Br(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),SZ=mt("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),qm=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiListItem"}),{alignItems:s="center",autoFocus:p=!1,button:u=!1,children:g,className:b,component:y,components:C={},componentsProps:w={},ContainerComponent:O="li",ContainerProps:{className:P}={},dense:D=!1,disabled:I=!1,disableGutters:j=!1,disablePadding:z=!1,divider:H=!1,focusVisibleClassName:L,secondaryAction:U,selected:A=!1,slotProps:Q={},slots:te={}}=o,ue=Ot(o.ContainerProps,mZ),ae=Ot(o,gZ),pe=$.useContext(bd),xe=$.useMemo(()=>({dense:D||pe.dense||!1,alignItems:s,disableGutters:j}),[s,pe.dense,D,j]),Pe=$.useRef(null);Wa(()=>{p&&(Pe.current?Pe.current.focus():process.env.NODE_ENV!=="production"&&console.error("MUI: Unable to set focus to a ListItem whose component has not been rendered."))},[p]);const ye=$.Children.toArray(g),de=ye.length&&sm(ye[ye.length-1],["ListItemSecondaryAction"]),fe=V({},o,{alignItems:s,autoFocus:p,button:u,dense:xe.dense,disabled:I,disableGutters:j,disablePadding:z,divider:H,hasSecondaryAction:de,selected:A}),Se=bZ(fe),re=qo(Pe,n),ce=te.root||C.Root||xZ,ke=Q.root||w.root||{},Ce=V({className:tn(Se.root,ke.className,b),disabled:I},ae);let ge=y||"li";return u&&(Ce.component=y||"div",Ce.focusVisibleClassName=tn(Gm.focusVisible,L),ge=vd),de?(ge=!Ce.component&&!y?"div":ge,O==="li"&&(ge==="li"?ge="div":Ce.component==="li"&&(Ce.component="div")),B.jsx(bd.Provider,{value:xe,children:B.jsxs(SZ,V({as:O,className:tn(Se.container,P),ref:re,ownerState:fe},ue,{children:[B.jsx(ce,V({},ke,!$m(ce)&&{as:ge,ownerState:V({},fe,ke.ownerState)},Ce,{children:ye})),ye.pop()]}))})):B.jsx(bd.Provider,{value:xe,children:B.jsxs(ce,V({},ke,{as:ge,ref:re},!$m(ce)&&{ownerState:V({},fe,ke.ownerState)},Ce,{children:[ye,U&&B.jsx(tE,{children:U})]}))})});process.env.NODE_ENV!=="production"&&(qm.propTypes={alignItems:a.oneOf(["center","flex-start"]),autoFocus:a.bool,button:a.bool,children:Jd(a.node,e=>{const t=$.Children.toArray(e.children);let n=-1;for(let o=t.length-1;o>=0;o-=1){const s=t[o];if(sm(s,["ListItemSecondaryAction"])){n=o;break}}return n!==-1&&n!==t.length-1?new Error("MUI: You used an element after ListItemSecondaryAction. For ListItem to detect that it has a secondary action you must pass it as the last child to ListItem."):null}),classes:a.object,className:a.string,component:a.elementType,components:a.shape({Root:a.elementType}),componentsProps:a.shape({root:a.object}),ContainerComponent:im,ContainerProps:a.object,dense:a.bool,disabled:a.bool,disableGutters:a.bool,disablePadding:a.bool,divider:a.bool,focusVisibleClassName:a.string,secondaryAction:a.node,selected:a.bool,slotProps:a.shape({root:a.object}),slots:a.shape({root:a.elementType}),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});function CZ(e){return Wn("MuiListItemIcon",e)}const SA=Bn("MuiListItemIcon",["root","alignItemsFlexStart"]),wZ=["className"],RZ=e=>{const{alignItems:t,classes:n}=e;return Un({root:["root",t==="flex-start"&&"alignItemsFlexStart"]},CZ,n)},EZ=mt("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.alignItems==="flex-start"&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>V({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},t.alignItems==="flex-start"&&{marginTop:8})),oS=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiListItemIcon"}),{className:s}=o,p=Ot(o,wZ),u=$.useContext(bd),g=V({},o,{alignItems:u.alignItems}),b=RZ(g);return B.jsx(EZ,V({className:tn(b.root,s),ownerState:g,ref:n},p))});process.env.NODE_ENV!=="production"&&(oS.propTypes={children:a.node,classes:a.object,className:a.string,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});function TZ(e){return Wn("MuiListItemText",e)}const iS=Bn("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),_Z=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],OZ=e=>{const{classes:t,inset:n,primary:o,secondary:s,dense:p}=e;return Un({root:["root",n&&"inset",p&&"dense",o&&s&&"multiline"],primary:["primary"],secondary:["secondary"]},TZ,t)},PZ=mt("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${iS.primary}`]:t.primary},{[`& .${iS.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})(({ownerState:e})=>V({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),nE=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiListItemText"}),{children:s,className:p,disableTypography:u=!1,inset:g=!1,primary:b,primaryTypographyProps:y,secondary:C,secondaryTypographyProps:w}=o,O=Ot(o,_Z),{dense:P}=$.useContext(bd);let D=b??s,I=C;const j=V({},o,{disableTypography:u,inset:g,primary:!!D,secondary:!!I,dense:P}),z=OZ(j);return D!=null&&D.type!==So&&!u&&(D=B.jsx(So,V({variant:P?"body2":"body1",className:z.primary,component:y!=null&&y.variant?void 0:"span",display:"block"},y,{children:D}))),I!=null&&I.type!==So&&!u&&(I=B.jsx(So,V({variant:"body2",className:z.secondary,color:"text.secondary",display:"block"},w,{children:I}))),B.jsxs(PZ,V({className:tn(z.root,p),ownerState:j,ref:n},O,{children:[D,I]}))});process.env.NODE_ENV!=="production"&&(nE.propTypes={children:a.node,classes:a.object,className:a.string,disableTypography:a.bool,inset:a.bool,primary:a.node,primaryTypographyProps:a.object,secondary:a.node,secondaryTypographyProps:a.object,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});const DZ=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function rE(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function CA(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function wA(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 lb(e,t,n,o,s,p){let u=!1,g=s(e,t,t?n:!1);for(;g;){if(g===e.firstChild){if(u)return!1;u=!0}const b=o?!1:g.disabled||g.getAttribute("aria-disabled")==="true";if(!g.hasAttribute("tabindex")||!wA(g,p)||b)g=s(e,g,n);else return g.focus(),!0}return!1}const RA=$.forwardRef(function(t,n){const{actions:o,autoFocus:s=!1,autoFocusItem:p=!1,children:u,className:g,disabledItemsFocusable:b=!1,disableListWrap:y=!1,onKeyDown:C,variant:w="selectedMenu"}=t,O=Ot(t,DZ),P=$.useRef(null),D=$.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Wa(()=>{s&&P.current.focus()},[s]),$.useImperativeHandle(o,()=>({adjustStyleForScrollbar:(L,U)=>{const A=!P.current.style.width;if(L.clientHeight<P.current.clientHeight&&A){const Q=`${zP(Ua(L))}px`;P.current.style[U.direction==="rtl"?"paddingLeft":"paddingRight"]=Q,P.current.style.width=`calc(100% + ${Q})`}return P.current}}),[]);const I=L=>{const U=P.current,A=L.key,Q=Ua(U).activeElement;if(A==="ArrowDown")L.preventDefault(),lb(U,Q,y,b,rE);else if(A==="ArrowUp")L.preventDefault(),lb(U,Q,y,b,CA);else if(A==="Home")L.preventDefault(),lb(U,null,y,b,rE);else if(A==="End")L.preventDefault(),lb(U,null,y,b,CA);else if(A.length===1){const te=D.current,ue=A.toLowerCase(),ae=performance.now();te.keys.length>0&&(ae-te.lastTime>500?(te.keys=[],te.repeating=!0,te.previousKeyMatched=!0):te.repeating&&ue!==te.keys[0]&&(te.repeating=!1)),te.lastTime=ae,te.keys.push(ue);const pe=Q&&!te.repeating&&wA(Q,te);te.previousKeyMatched&&(pe||lb(U,Q,!1,b,rE,te))?L.preventDefault():te.previousKeyMatched=!1}C&&C(L)},j=qo(P,n);let z=-1;$.Children.forEach(u,(L,U)=>{if(!$.isValidElement(L)){z===U&&(z+=1,z>=u.length&&(z=-1));return}process.env.NODE_ENV!=="production"&&hy.isFragment(L)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
478
|
+
`)),L.props.disabled||(w==="selectedMenu"&&L.props.selected||z===-1)&&(z=U),z===U&&(L.props.disabled||L.props.muiSkipListHighlight||L.type.muiSkipListHighlight)&&(z+=1,z>=u.length&&(z=-1))});const H=$.Children.map(u,(L,U)=>{if(U===z){const A={};return p&&(A.autoFocus=!0),L.props.tabIndex===void 0&&w==="selectedMenu"&&(A.tabIndex=0),$.cloneElement(L,A)}return L});return B.jsx(Uh,V({role:"menu",ref:j,className:g,onKeyDown:I,tabIndex:s?0:-1},O,{children:H}))});process.env.NODE_ENV!=="production"&&(RA.propTypes={autoFocus:a.bool,autoFocusItem:a.bool,children:a.node,className:a.string,disabledItemsFocusable:a.bool,disableListWrap:a.bool,onKeyDown:a.func,variant:a.oneOf(["menu","selectedMenu"])});function kZ(e){return Wn("MuiPopover",e)}Bn("MuiPopover",["root","paper"]);const NZ=["onEntering"],MZ=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],AZ=["slotProps"];function EA(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function TA(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function _A(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function aS(e){return typeof e=="function"?e():e}const $Z=e=>{const{classes:t}=e;return Un({root:["root"],paper:["paper"]},kZ,t)},IZ=mt(XR,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),OA=mt(Am,{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}),PA=$.forwardRef(function(t,n){var o,s,p;const u=An({props:t,name:"MuiPopover"}),{action:g,anchorEl:b,anchorOrigin:y={vertical:"top",horizontal:"left"},anchorPosition:C,anchorReference:w="anchorEl",children:O,className:P,container:D,elevation:I=8,marginThreshold:j=16,open:z,PaperProps:H={},slots:L,slotProps:U,transformOrigin:A={vertical:"top",horizontal:"left"},TransitionComponent:Q=Hm,transitionDuration:te="auto",TransitionProps:{onEntering:ue}={},disableScrollLock:ae=!1}=u,pe=Ot(u.TransitionProps,NZ),xe=Ot(u,MZ),Pe=(o=U==null?void 0:U.paper)!=null?o:H,ye=$.useRef(),de=qo(ye,Pe.ref),fe=V({},u,{anchorOrigin:y,anchorReference:w,elevation:I,marginThreshold:j,externalPaperSlotProps:Pe,transformOrigin:A,TransitionComponent:Q,transitionDuration:te,TransitionProps:pe}),Se=$Z(fe),re=$.useCallback(()=>{if(w==="anchorPosition")return process.env.NODE_ENV!=="production"&&(C||console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')),C;const tt=aS(b),Ge=tt&&tt.nodeType===1?tt:Ua(ye.current).body,et=Ge.getBoundingClientRect();if(process.env.NODE_ENV!=="production"){const xt=Ge.getBoundingClientRect();process.env.NODE_ENV!=="test"&&xt.top===0&&xt.left===0&&xt.right===0&&xt.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
479
|
+
`))}return{top:et.top+EA(et,y.vertical),left:et.left+TA(et,y.horizontal)}},[b,y.horizontal,y.vertical,C,w]),ce=$.useCallback(tt=>({vertical:EA(tt,A.vertical),horizontal:TA(tt,A.horizontal)}),[A.horizontal,A.vertical]),ke=$.useCallback(tt=>{const Ge={width:tt.offsetWidth,height:tt.offsetHeight},et=ce(Ge);if(w==="none")return{top:null,left:null,transformOrigin:_A(et)};const xt=re();let Yt=xt.top-et.vertical,_t=xt.left-et.horizontal;const Jt=Yt+Ge.height,rt=_t+Ge.width,ut=lp(aS(b)),Kt=ut.innerHeight-j,En=ut.innerWidth-j;if(j!==null&&Yt<j){const yn=Yt-j;Yt-=yn,et.vertical+=yn}else if(j!==null&&Jt>Kt){const yn=Jt-Kt;Yt-=yn,et.vertical+=yn}if(process.env.NODE_ENV!=="production"&&Ge.height>Kt&&Ge.height&&Kt&&console.error(["MUI: The popover component is too tall.",`Some part of it can not be seen on the screen (${Ge.height-Kt}px).`,"Please consider adding a `max-height` to improve the user-experience."].join(`
|
|
480
|
+
`)),j!==null&&_t<j){const yn=_t-j;_t-=yn,et.horizontal+=yn}else if(rt>En){const yn=rt-En;_t-=yn,et.horizontal+=yn}return{top:`${Math.round(Yt)}px`,left:`${Math.round(_t)}px`,transformOrigin:_A(et)}},[b,w,re,ce,j]),[Ce,ge]=$.useState(z),Me=$.useCallback(()=>{const tt=ye.current;if(!tt)return;const Ge=ke(tt);Ge.top!==null&&(tt.style.top=Ge.top),Ge.left!==null&&(tt.style.left=Ge.left),tt.style.transformOrigin=Ge.transformOrigin,ge(!0)},[ke]);$.useEffect(()=>(ae&&window.addEventListener("scroll",Me),()=>window.removeEventListener("scroll",Me)),[b,ae,Me]);const Le=(tt,Ge)=>{ue&&ue(tt,Ge),Me()},Oe=()=>{ge(!1)};$.useEffect(()=>{z&&Me()}),$.useImperativeHandle(g,()=>z?{updatePosition:()=>{Me()}}:null,[z,Me]),$.useEffect(()=>{if(!z)return;const tt=Qw(()=>{Me()}),Ge=lp(b);return Ge.addEventListener("resize",tt),()=>{tt.clear(),Ge.removeEventListener("resize",tt)}},[b,z,Me]);let Ve=te;te==="auto"&&!Q.muiSupportAuto&&(Ve=void 0);const ze=D||(b?Ua(aS(b)).body:void 0),We=(s=L==null?void 0:L.root)!=null?s:IZ,Ye=(p=L==null?void 0:L.paper)!=null?p:OA,ot=si({elementType:Ye,externalSlotProps:V({},Pe,{style:Ce?Pe.style:V({},Pe.style,{opacity:0})}),additionalProps:{elevation:I,ref:de},ownerState:fe,className:tn(Se.paper,Pe==null?void 0:Pe.className)}),yt=si({elementType:We,externalSlotProps:(U==null?void 0:U.root)||{},externalForwardedProps:xe,additionalProps:{ref:n,slotProps:{backdrop:{invisible:!0}},container:ze,open:z},ownerState:fe,className:tn(Se.root,P)}),{slotProps:Ze}=yt,Te=Ot(yt,AZ);return B.jsx(We,V({},Te,!$m(We)&&{slotProps:Ze,disableScrollLock:ae},{children:B.jsx(Q,V({appear:!0,in:z,onEntering:Le,onExited:Oe,timeout:Ve},pe,{children:B.jsx(Ye,V({},ot,{children:O}))}))}))});process.env.NODE_ENV!=="production"&&(PA.propTypes={action:qs,anchorEl:Jd(a.oneOfType([tf,a.func]),e=>{if(e.open&&(!e.anchorReference||e.anchorReference==="anchorEl")){const t=aS(e.anchorEl);if(t&&t.nodeType===1){const n=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&n.top===0&&n.left===0&&n.right===0&&n.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
481
|
+
`))}else return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.",`It should be an Element or PopoverVirtualElement instance but it's \`${t}\` instead.`].join(`
|
|
482
|
+
`))}return null}),anchorOrigin:a.shape({horizontal:a.oneOfType([a.oneOf(["center","left","right"]),a.number]).isRequired,vertical:a.oneOfType([a.oneOf(["bottom","center","top"]),a.number]).isRequired}),anchorPosition:a.shape({left:a.number.isRequired,top:a.number.isRequired}),anchorReference:a.oneOf(["anchorEl","anchorPosition","none"]),children:a.node,classes:a.object,className:a.string,container:a.oneOfType([tf,a.func]),disableScrollLock:a.bool,elevation:Rh,marginThreshold:a.number,onClose:a.func,open:a.bool.isRequired,PaperProps:a.shape({component:im}),slotProps:a.shape({paper:a.oneOfType([a.func,a.object]),root:a.oneOfType([a.func,a.object])}),slots:a.shape({paper:a.elementType,root:a.elementType}),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),transformOrigin:a.shape({horizontal:a.oneOfType([a.oneOf(["center","left","right"]),a.number]).isRequired,vertical:a.oneOfType([a.oneOf(["bottom","center","top"]),a.number]).isRequired}),TransitionComponent:a.elementType,transitionDuration:a.oneOfType([a.oneOf(["auto"]),a.number,a.shape({appear:a.number,enter:a.number,exit:a.number})]),TransitionProps:a.object});function FZ(e){return Wn("MuiMenu",e)}Bn("MuiMenu",["root","paper","list"]);const jZ=["onEntering"],LZ=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],BZ={vertical:"top",horizontal:"right"},VZ={vertical:"top",horizontal:"left"},zZ=e=>{const{classes:t}=e;return Un({root:["root"],paper:["paper"],list:["list"]},FZ,t)},UZ=mt(PA,{shouldForwardProp:e=>Nu(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),WZ=mt(OA,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),HZ=mt(RA,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),DA=$.forwardRef(function(t,n){var o,s;const p=An({props:t,name:"MuiMenu"}),{autoFocus:u=!0,children:g,className:b,disableAutoFocusItem:y=!1,MenuListProps:C={},onClose:w,open:O,PaperProps:P={},PopoverClasses:D,transitionDuration:I="auto",TransitionProps:{onEntering:j}={},variant:z="selectedMenu",slots:H={},slotProps:L={}}=p,U=Ot(p.TransitionProps,jZ),A=Ot(p,LZ),Q=Ys(),te=Q.direction==="rtl",ue=V({},p,{autoFocus:u,disableAutoFocusItem:y,MenuListProps:C,onEntering:j,PaperProps:P,transitionDuration:I,TransitionProps:U,variant:z}),ae=zZ(ue),pe=u&&!y&&O,xe=$.useRef(null),Pe=(ke,Ce)=>{xe.current&&xe.current.adjustStyleForScrollbar(ke,Q),j&&j(ke,Ce)},ye=ke=>{ke.key==="Tab"&&(ke.preventDefault(),w&&w(ke,"tabKeyDown"))};let de=-1;$.Children.map(g,(ke,Ce)=>{$.isValidElement(ke)&&(process.env.NODE_ENV!=="production"&&hy.isFragment(ke)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
483
|
+
`)),ke.props.disabled||(z==="selectedMenu"&&ke.props.selected||de===-1)&&(de=Ce))});const fe=(o=H.paper)!=null?o:WZ,Se=(s=L.paper)!=null?s:P,re=si({elementType:H.root,externalSlotProps:L.root,ownerState:ue,className:[ae.root,b]}),ce=si({elementType:fe,externalSlotProps:Se,ownerState:ue,className:ae.paper});return B.jsx(UZ,V({onClose:w,anchorOrigin:{vertical:"bottom",horizontal:te?"right":"left"},transformOrigin:te?BZ:VZ,slots:{paper:fe,root:H.root},slotProps:{root:re,paper:ce},open:O,ref:n,transitionDuration:I,TransitionProps:V({onEntering:Pe},U),ownerState:ue},A,{classes:D,children:B.jsx(HZ,V({onKeyDown:ye,actions:xe,autoFocus:u&&(de===-1||y),autoFocusItem:pe,variant:z},C,{className:tn(ae.list,C.className),children:g}))}))});process.env.NODE_ENV!=="production"&&(DA.propTypes={anchorEl:a.oneOfType([tf,a.func]),autoFocus:a.bool,children:a.node,classes:a.object,className:a.string,disableAutoFocusItem:a.bool,MenuListProps:a.object,onClose:a.func,open:a.bool.isRequired,PaperProps:a.object,PopoverClasses:a.object,slotProps:a.shape({paper:a.oneOfType([a.func,a.object]),root:a.oneOfType([a.func,a.object])}),slots:a.shape({paper:a.elementType,root:a.elementType}),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),transitionDuration:a.oneOfType([a.oneOf(["auto"]),a.number,a.shape({appear:a.number,enter:a.number,exit:a.number})]),TransitionProps:a.object,variant:a.oneOf(["menu","selectedMenu"])});function GZ(e){return Wn("MuiMenuItem",e)}const ub=Bn("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),qZ=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],YZ=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},KZ=e=>{const{disabled:t,dense:n,divider:o,disableGutters:s,selected:p,classes:u}=e,b=Un({root:["root",n&&"dense",t&&"disabled",!s&&"gutters",o&&"divider",p&&"selected"]},GZ,u);return V({},u,b)},XZ=mt(vd,{shouldForwardProp:e=>Nu(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:YZ})(({theme:e,ownerState:t})=>V({},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"}},[`&.${ub.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Br(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${ub.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Br(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${ub.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Br(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})`:Br(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${ub.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ub.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${cA.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${cA.inset}`]:{marginLeft:52},[`& .${iS.root}`]:{marginTop:0,marginBottom:0},[`& .${iS.inset}`]:{paddingLeft:36},[`& .${SA.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&V({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${SA.root} svg`]:{fontSize:"1.25rem"}}))),oE=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiMenuItem"}),{autoFocus:s=!1,component:p="li",dense:u=!1,divider:g=!1,disableGutters:b=!1,focusVisibleClassName:y,role:C="menuitem",tabIndex:w,className:O}=o,P=Ot(o,qZ),D=$.useContext(bd),I=$.useMemo(()=>({dense:u||D.dense||!1,disableGutters:b}),[D.dense,u,b]),j=$.useRef(null);Wa(()=>{s&&(j.current?j.current.focus():process.env.NODE_ENV!=="production"&&console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."))},[s]);const z=V({},o,{dense:I.dense,divider:g,disableGutters:b}),H=KZ(o),L=qo(j,n);let U;return o.disabled||(U=w!==void 0?w:-1),B.jsx(bd.Provider,{value:I,children:B.jsx(XZ,V({ref:L,role:C,tabIndex:U,component:p,focusVisibleClassName:tn(H.focusVisible,y),className:tn(H.root,O)},P,{ownerState:z,classes:H}))})});process.env.NODE_ENV!=="production"&&(oE.propTypes={autoFocus:a.bool,children:a.node,classes:a.object,className:a.string,component:a.elementType,dense:a.bool,disabled:a.bool,disableGutters:a.bool,divider:a.bool,focusVisibleClassName:a.string,role:a.string,selected:a.bool,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),tabIndex:a.number});function QZ(e){return Wn("MuiNativeSelect",e)}const iE=Bn("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),ZZ=["className","disabled","error","IconComponent","inputRef","variant"],JZ=e=>{const{classes:t,variant:n,disabled:o,multiple:s,open:p,error:u}=e,g={select:["select",n,o&&"disabled",s&&"multiple",u&&"error"],icon:["icon",`icon${Ft(n)}`,p&&"iconOpen",o&&"disabled"]};return Un(g,QZ,t)},kA=({ownerState:e,theme:t})=>V({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":V({},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"},[`&.${iE.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}}),eJ=mt("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Nu,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${iE.multiple}`]:t.multiple}]}})(kA),NA=({ownerState:e,theme:t})=>V({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${iE.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),tJ=mt("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Ft(n.variant)}`],n.open&&t.iconOpen]}})(NA),MA=$.forwardRef(function(t,n){const{className:o,disabled:s,error:p,IconComponent:u,inputRef:g,variant:b="standard"}=t,y=Ot(t,ZZ),C=V({},t,{disabled:s,variant:b,error:p}),w=JZ(C);return B.jsxs($.Fragment,{children:[B.jsx(eJ,V({ownerState:C,className:tn(w.select,o),disabled:s,ref:g||n},y)),t.multiple?null:B.jsx(tJ,{as:u,ownerState:C,className:w.icon})]})});process.env.NODE_ENV!=="production"&&(MA.propTypes={children:a.node,classes:a.object,className:a.string,disabled:a.bool,error:a.bool,IconComponent:a.elementType.isRequired,inputRef:qs,multiple:a.bool,name:a.string,onChange:a.func,value:a.any,variant:a.oneOf(["standard","outlined","filled"])});var AA;const nJ=["children","classes","className","label","notched"],rJ=mt("fieldset",{shouldForwardProp:Nu})({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%"}),oJ=mt("legend",{shouldForwardProp:Nu})(({ownerState:e,theme:t})=>V({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&&V({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 $A(e){const{className:t,label:n,notched:o}=e,s=Ot(e,nJ),p=n!=null&&n!=="",u=V({},e,{notched:o,withLabel:p});return B.jsx(rJ,V({"aria-hidden":!0,className:t,ownerState:u},s,{children:B.jsx(oJ,{ownerState:u,children:p?B.jsx("span",{children:n}):AA||(AA=B.jsx("span",{className:"notranslate",children:""}))})}))}process.env.NODE_ENV!=="production"&&($A.propTypes={children:a.node,classes:a.object,className:a.string,label:a.node,notched:a.bool.isRequired,style:a.object});const iJ=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],aJ=e=>{const{classes:t}=e,o=Un({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},vX,t);return V({},t,o)},sJ=mt(Xx,{shouldForwardProp:e=>Nu(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:Yx})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return V({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${bp.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${bp.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${bp.focused} .${bp.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${bp.error} .${bp.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${bp.disabled} .${bp.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&V({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),lJ=mt($A,{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}}),uJ=mt(Qx,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Kx})(({theme:e,ownerState:t})=>V({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})),sS=$.forwardRef(function(t,n){var o,s,p,u,g;const b=An({props:t,name:"MuiOutlinedInput"}),{components:y={},fullWidth:C=!1,inputComponent:w="input",label:O,multiline:P=!1,notched:D,slots:I={},type:j="text"}=b,z=Ot(b,iJ),H=aJ(b),L=Bh(),U=Bm({props:b,muiFormControl:L,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),A=V({},b,{color:U.color||"primary",disabled:U.disabled,error:U.error,focused:U.focused,formControl:L,fullWidth:C,hiddenLabel:U.hiddenLabel,multiline:P,size:U.size,type:j}),Q=(o=(s=I.root)!=null?s:y.Root)!=null?o:sJ,te=(p=(u=I.input)!=null?u:y.Input)!=null?p:uJ;return B.jsx(zm,V({slots:{root:Q,input:te},renderSuffix:ue=>B.jsx(lJ,{ownerState:A,className:H.notchedOutline,label:O!=null&&O!==""&&U.required?g||(g=B.jsxs($.Fragment,{children:[O," ","*"]})):O,notched:typeof D<"u"?D:!!(ue.startAdornment||ue.filled||ue.focused)}),fullWidth:C,inputComponent:w,multiline:P,ref:n,type:j},z,{classes:V({},H,{notchedOutline:null})}))});process.env.NODE_ENV!=="production"&&(sS.propTypes={autoComplete:a.string,autoFocus:a.bool,classes:a.object,color:a.oneOfType([a.oneOf(["primary","secondary"]),a.string]),components:a.shape({Input:a.elementType,Root:a.elementType}),defaultValue:a.any,disabled:a.bool,endAdornment:a.node,error:a.bool,fullWidth:a.bool,id:a.string,inputComponent:a.elementType,inputProps:a.object,inputRef:qs,label:a.node,margin:a.oneOf(["dense","none"]),maxRows:a.oneOfType([a.number,a.string]),minRows:a.oneOfType([a.number,a.string]),multiline:a.bool,name:a.string,notched:a.bool,onChange:a.func,placeholder:a.string,readOnly:a.bool,required:a.bool,rows:a.oneOfType([a.number,a.string]),slots:a.shape({input:a.elementType,root:a.elementType}),startAdornment:a.node,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),type:a.string,value:a.any}),sS.muiName="Input";function cJ(e){return Wn("MuiPagination",e)}Bn("MuiPagination",["root","ul","outlined","text"]);const dJ=["boundaryCount","componentName","count","defaultPage","disabled","hideNextButton","hidePrevButton","onChange","page","showFirstButton","showLastButton","siblingCount"];function fJ(e={}){const{boundaryCount:t=1,componentName:n="usePagination",count:o=1,defaultPage:s=1,disabled:p=!1,hideNextButton:u=!1,hidePrevButton:g=!1,onChange:b,page:y,showFirstButton:C=!1,showLastButton:w=!1,siblingCount:O=1}=e,P=Ot(e,dJ),[D,I]=Hl({controlled:y,default:s,name:n,state:"page"}),j=(ae,pe)=>{y||I(pe),b&&b(ae,pe)},z=(ae,pe)=>{const xe=pe-ae+1;return Array.from({length:xe},(Pe,ye)=>ae+ye)},H=z(1,Math.min(t,o)),L=z(Math.max(o-t+1,t+1),o),U=Math.max(Math.min(D-O,o-t-O*2-1),t+2),A=Math.min(Math.max(D+O,t+O*2+2),L.length>0?L[0]-2:o-1),Q=[...C?["first"]:[],...g?[]:["previous"],...H,...U>t+2?["start-ellipsis"]:t+1<o-t?[t+1]:[],...z(U,A),...A<o-t-1?["end-ellipsis"]:o-t>t?[o-t]:[],...L,...u?[]:["next"],...w?["last"]:[]],te=ae=>{switch(ae){case"first":return 1;case"previous":return D-1;case"next":return D+1;case"last":return o;default:return null}},ue=Q.map(ae=>typeof ae=="number"?{onClick:pe=>{j(pe,ae)},type:"page",page:ae,selected:ae===D,disabled:p,"aria-current":ae===D?"true":void 0}:{onClick:pe=>{j(pe,te(ae))},type:ae,page:te(ae),selected:!1,disabled:p||ae.indexOf("ellipsis")===-1&&(ae==="next"||ae==="last"?D>=o:D<=1)});return V({items:ue},P)}function pJ(e){return Wn("MuiPaginationItem",e)}const zu=Bn("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]),IA=ai(B.jsx("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),FA=ai(B.jsx("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),jA=ai(B.jsx("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),LA=ai(B.jsx("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),hJ=["className","color","component","components","disabled","page","selected","shape","size","slots","type","variant"],BA=(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${Ft(n.size)}`],n.variant==="text"&&t[`text${Ft(n.color)}`],n.variant==="outlined"&&t[`outlined${Ft(n.color)}`],n.shape==="rounded"&&t.rounded,n.type==="page"&&t.page,(n.type==="start-ellipsis"||n.type==="end-ellipsis")&&t.ellipsis,(n.type==="previous"||n.type==="next")&&t.previousNext,(n.type==="first"||n.type==="last")&&t.firstLast]},vJ=e=>{const{classes:t,color:n,disabled:o,selected:s,size:p,shape:u,type:g,variant:b}=e,y={root:["root",`size${Ft(p)}`,b,u,n!=="standard"&&`color${Ft(n)}`,n!=="standard"&&`${b}${Ft(n)}`,o&&"disabled",s&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[g]],icon:["icon"]};return Un(y,pJ,t)},mJ=mt("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:BA})(({theme:e,ownerState:t})=>V({},e.typography.body2,{borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto",[`&.${zu.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.size==="small"&&{minWidth:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"},t.size==="large"&&{minWidth:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)})),gJ=mt(vd,{name:"MuiPaginationItem",slot:"Root",overridesResolver:BA})(({theme:e,ownerState:t})=>V({},e.typography.body2,{borderRadius:32/2,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,[`&.${zu.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${zu.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},transition:e.transitions.create(["color","background-color"],{duration:e.transitions.duration.short}),"&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${zu.selected}`]:{backgroundColor:(e.vars||e).palette.action.selected,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Br(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${zu.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Br(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},[`&.${zu.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}}},t.size==="small"&&{minWidth:26,height:26,borderRadius:26/2,margin:"0 1px",padding:"0 4px"},t.size==="large"&&{minWidth:40,height:40,borderRadius:40/2,padding:"0 10px",fontSize:e.typography.pxToRem(15)},t.shape==="rounded"&&{borderRadius:(e.vars||e).shape.borderRadius}),({theme:e,ownerState:t})=>V({},t.variant==="text"&&{[`&.${zu.selected}`]:V({},t.color!=="standard"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}},[`&.${zu.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}},{[`&.${zu.disabled}`]:{color:(e.vars||e).palette.action.disabled}})},t.variant==="outlined"&&{border:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:`1px solid ${e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"}`,[`&.${zu.selected}`]:V({},t.color!=="standard"&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:Br(e.palette[t.color].main,.5)}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.activatedOpacity})`:Br(e.palette[t.color].main,e.palette.action.activatedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Br(e.palette[t.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${zu.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Br(e.palette[t.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity)}},{[`&.${zu.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}})})),yJ=mt("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:(e,t)=>t.icon})(({theme:e,ownerState:t})=>V({fontSize:e.typography.pxToRem(20),margin:"0 -8px"},t.size==="small"&&{fontSize:e.typography.pxToRem(18)},t.size==="large"&&{fontSize:e.typography.pxToRem(22)})),VA=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiPaginationItem"}),{className:s,color:p="standard",component:u,components:g={},disabled:b=!1,page:y,selected:C=!1,shape:w="circular",size:O="medium",slots:P={},type:D="page",variant:I="text"}=o,j=Ot(o,hJ),z=V({},o,{color:p,disabled:b,selected:C,shape:w,size:O,type:D,variant:I}),H=Ys(),L=vJ(z),A=(H.direction==="rtl"?{previous:P.next||g.next||LA,next:P.previous||g.previous||jA,last:P.first||g.first||IA,first:P.last||g.last||FA}:{previous:P.previous||g.previous||jA,next:P.next||g.next||LA,first:P.first||g.first||IA,last:P.last||g.last||FA})[D];return D==="start-ellipsis"||D==="end-ellipsis"?B.jsx(mJ,{ref:n,ownerState:z,className:tn(L.root,s),children:"…"}):B.jsxs(gJ,V({ref:n,ownerState:z,component:u,disabled:b,className:tn(L.root,s)},j,{children:[D==="page"&&y,A?B.jsx(yJ,{as:A,ownerState:z,className:L.icon}):null]}))});process.env.NODE_ENV!=="production"&&(VA.propTypes={children:a.node,classes:a.object,className:a.string,color:a.oneOfType([a.oneOf(["primary","secondary","standard"]),a.string]),component:a.elementType,components:a.shape({first:a.elementType,last:a.elementType,next:a.elementType,previous:a.elementType}),disabled:a.bool,page:a.node,selected:a.bool,shape:a.oneOf(["circular","rounded"]),size:a.oneOfType([a.oneOf(["small","medium","large"]),a.string]),slots:a.shape({first:a.elementType,last:a.elementType,next:a.elementType,previous:a.elementType}),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),type:a.oneOf(["end-ellipsis","first","last","next","page","previous","start-ellipsis"]),variant:a.oneOfType([a.oneOf(["outlined","text"]),a.string])});const bJ=["boundaryCount","className","color","count","defaultPage","disabled","getItemAriaLabel","hideNextButton","hidePrevButton","onChange","page","renderItem","shape","showFirstButton","showLastButton","siblingCount","size","variant"],xJ=e=>{const{classes:t,variant:n}=e;return Un({root:["root",n],ul:["ul"]},cJ,t)},SJ=mt("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant]]}})({}),CJ=mt("ul",{name:"MuiPagination",slot:"Ul",overridesResolver:(e,t)=>t.ul})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function wJ(e,t,n){return e==="page"?`${n?"":"Go to "}page ${t}`:`Go to ${e} page`}const aE=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiPagination"}),{boundaryCount:s=1,className:p,color:u="standard",count:g=1,defaultPage:b=1,disabled:y=!1,getItemAriaLabel:C=wJ,hideNextButton:w=!1,hidePrevButton:O=!1,renderItem:P=ue=>B.jsx(VA,V({},ue)),shape:D="circular",showFirstButton:I=!1,showLastButton:j=!1,siblingCount:z=1,size:H="medium",variant:L="text"}=o,U=Ot(o,bJ),{items:A}=fJ(V({},o,{componentName:"Pagination"})),Q=V({},o,{boundaryCount:s,color:u,count:g,defaultPage:b,disabled:y,getItemAriaLabel:C,hideNextButton:w,hidePrevButton:O,renderItem:P,shape:D,showFirstButton:I,showLastButton:j,siblingCount:z,size:H,variant:L}),te=xJ(Q);return B.jsx(SJ,V({"aria-label":"pagination navigation",className:tn(te.root,p),ownerState:Q,ref:n},U,{children:B.jsx(CJ,{className:te.ul,ownerState:Q,children:A.map((ue,ae)=>B.jsx("li",{children:P(V({},ue,{color:u,"aria-label":C(ue.type,ue.page,ue.selected),shape:D,size:H,variant:L}))},ae))})}))});process.env.NODE_ENV!=="production"&&(aE.propTypes={boundaryCount:Rh,classes:a.object,className:a.string,color:a.oneOfType([a.oneOf(["primary","secondary","standard"]),a.string]),count:Rh,defaultPage:Rh,disabled:a.bool,getItemAriaLabel:a.func,hideNextButton:a.bool,hidePrevButton:a.bool,onChange:a.func,page:Rh,renderItem:a.func,shape:a.oneOf(["circular","rounded"]),showFirstButton:a.bool,showLastButton:a.bool,siblingCount:Rh,size:a.oneOfType([a.oneOf(["small","medium","large"]),a.string]),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),variant:a.oneOfType([a.oneOf(["outlined","text"]),a.string])});function RJ(e){return Wn("MuiSelect",e)}const cb=Bn("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var zA;const EJ=["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"],TJ=mt("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${cb.select}`]:t.select},{[`&.${cb.select}`]:t[n.variant]},{[`&.${cb.error}`]:t.error},{[`&.${cb.multiple}`]:t.multiple}]}})(kA,{[`&.${cb.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),_J=mt("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Ft(n.variant)}`],n.open&&t.iconOpen]}})(NA),OJ=mt("input",{shouldForwardProp:e=>lz(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 UA(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function PJ(e){return e==null||typeof e=="string"&&!e.trim()}const DJ=e=>{const{classes:t,variant:n,disabled:o,multiple:s,open:p,error:u}=e,g={select:["select",n,o&&"disabled",s&&"multiple",u&&"error"],icon:["icon",`icon${Ft(n)}`,p&&"iconOpen",o&&"disabled"],nativeInput:["nativeInput"]};return Un(g,RJ,t)},WA=$.forwardRef(function(t,n){var o;const{"aria-describedby":s,"aria-label":p,autoFocus:u,autoWidth:g,children:b,className:y,defaultOpen:C,defaultValue:w,disabled:O,displayEmpty:P,error:D=!1,IconComponent:I,inputRef:j,labelId:z,MenuProps:H={},multiple:L,name:U,onBlur:A,onChange:Q,onClose:te,onFocus:ue,onOpen:ae,open:pe,readOnly:xe,renderValue:Pe,SelectDisplayProps:ye={},tabIndex:de,value:fe,variant:Se="standard"}=t,re=Ot(t,EJ),[ce,ke]=Hl({controlled:fe,default:w,name:"Select"}),[Ce,ge]=Hl({controlled:pe,default:C,name:"Select"}),Me=$.useRef(null),Le=$.useRef(null),[Oe,Ve]=$.useState(null),{current:ze}=$.useRef(pe!=null),[We,Ye]=$.useState(),ot=qo(n,j),yt=$.useCallback(zt=>{Le.current=zt,zt&&Ve(zt)},[]),Ze=Oe==null?void 0:Oe.parentNode;$.useImperativeHandle(ot,()=>({focus:()=>{Le.current.focus()},node:Me.current,value:ce}),[ce]),$.useEffect(()=>{C&&Ce&&Oe&&!ze&&(Ye(g?null:Ze.clientWidth),Le.current.focus())},[Oe,g]),$.useEffect(()=>{u&&Le.current.focus()},[u]),$.useEffect(()=>{if(!z)return;const zt=Ua(Le.current).getElementById(z);if(zt){const mn=()=>{getSelection().isCollapsed&&Le.current.focus()};return zt.addEventListener("click",mn),()=>{zt.removeEventListener("click",mn)}}},[z]);const Te=(zt,mn)=>{zt?ae&&ae(mn):te&&te(mn),ze||(Ye(g?null:Ze.clientWidth),ge(zt))},tt=zt=>{zt.button===0&&(zt.preventDefault(),Le.current.focus(),Te(!0,zt))},Ge=zt=>{Te(!1,zt)},et=$.Children.toArray(b),xt=zt=>{const mn=et.find(Xn=>Xn.props.value===zt.target.value);mn!==void 0&&(ke(mn.props.value),Q&&Q(zt,mn))},Yt=zt=>mn=>{let Xn;if(mn.currentTarget.hasAttribute("tabindex")){if(L){Xn=Array.isArray(ce)?ce.slice():[];const Pr=ce.indexOf(zt.props.value);Pr===-1?Xn.push(zt.props.value):Xn.splice(Pr,1)}else Xn=zt.props.value;if(zt.props.onClick&&zt.props.onClick(mn),ce!==Xn&&(ke(Xn),Q)){const Pr=mn.nativeEvent||mn,lo=new Pr.constructor(Pr.type,Pr);Object.defineProperty(lo,"target",{writable:!0,value:{value:Xn,name:U}}),Q(lo,zt)}L||Te(!1,mn)}},_t=zt=>{xe||[" ","ArrowUp","ArrowDown","Enter"].indexOf(zt.key)!==-1&&(zt.preventDefault(),Te(!0,zt))},Jt=Oe!==null&&Ce,rt=zt=>{!Jt&&A&&(Object.defineProperty(zt,"target",{writable:!0,value:{value:ce,name:U}}),A(zt))};delete re["aria-invalid"];let ut,Kt;const En=[];let yn=!1,Hn=!1;(qx({value:ce})||P)&&(Pe?ut=Pe(ce):yn=!0);const sr=et.map(zt=>{if(!$.isValidElement(zt))return null;process.env.NODE_ENV!=="production"&&hy.isFragment(zt)&&console.error(["MUI: The Select component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
484
|
+
`));let mn;if(L){if(!Array.isArray(ce))throw new Error(process.env.NODE_ENV!=="production"?"MUI: The `value` prop must be an array when using the `Select` component with `multiple`.":sp(2));mn=ce.some(Xn=>UA(Xn,zt.props.value)),mn&&yn&&En.push(zt.props.children)}else mn=UA(ce,zt.props.value),mn&&yn&&(Kt=zt.props.children);return mn&&(Hn=!0),$.cloneElement(zt,{"aria-selected":mn?"true":"false",onClick:Yt(zt),onKeyUp:Xn=>{Xn.key===" "&&Xn.preventDefault(),zt.props.onKeyUp&&zt.props.onKeyUp(Xn)},role:"option",selected:mn,value:void 0,"data-value":zt.props.value})});process.env.NODE_ENV!=="production"&&$.useEffect(()=>{if(!Hn&&!L&&ce!==""){const zt=et.map(mn=>mn.props.value);console.warn([`MUI: You have provided an out-of-range value \`${ce}\` for the select ${U?`(name="${U}") `:""}component.`,"Consider providing a value that matches one of the available options or ''.",`The available values are ${zt.filter(mn=>mn!=null).map(mn=>`\`${mn}\``).join(", ")||'""'}.`].join(`
|
|
485
|
+
`))}},[Hn,et,L,U,ce]),yn&&(L?En.length===0?ut=null:ut=En.reduce((zt,mn,Xn)=>(zt.push(mn),Xn<En.length-1&&zt.push(", "),zt),[]):ut=Kt);let Kn=We;!g&&ze&&Oe&&(Kn=Ze.clientWidth);let Gn;typeof de<"u"?Gn=de:Gn=O?null:0;const xn=ye.id||(U?`mui-component-select-${U}`:void 0),Or=V({},t,{variant:Se,value:ce,open:Jt,error:D}),Vt=DJ(Or),Xt=V({},H.PaperProps,(o=H.slotProps)==null?void 0:o.paper),vn=up();return B.jsxs($.Fragment,{children:[B.jsx(TJ,V({ref:yt,tabIndex:Gn,role:"combobox","aria-controls":vn,"aria-disabled":O?"true":void 0,"aria-expanded":Jt?"true":"false","aria-haspopup":"listbox","aria-label":p,"aria-labelledby":[z,xn].filter(Boolean).join(" ")||void 0,"aria-describedby":s,onKeyDown:_t,onMouseDown:O||xe?null:tt,onBlur:rt,onFocus:ue},ye,{ownerState:Or,className:tn(ye.className,Vt.select,y),id:xn,children:PJ(ut)?zA||(zA=B.jsx("span",{className:"notranslate",children:""})):ut})),B.jsx(OJ,V({"aria-invalid":D,value:Array.isArray(ce)?ce.join(","):ce,name:U,ref:Me,"aria-hidden":!0,onChange:xt,tabIndex:-1,disabled:O,className:Vt.nativeInput,autoFocus:u,ownerState:Or},re)),B.jsx(_J,{as:I,className:Vt.icon,ownerState:Or}),B.jsx(DA,V({id:`menu-${U||""}`,anchorEl:Ze,open:Jt,onClose:Ge,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},H,{MenuListProps:V({"aria-labelledby":z,role:"listbox","aria-multiselectable":L?"true":void 0,disableListWrap:!0,id:vn},H.MenuListProps),slotProps:V({},H.slotProps,{paper:V({},Xt,{style:V({minWidth:Kn},Xt!=null?Xt.style:null)})}),children:sr}))]})});process.env.NODE_ENV!=="production"&&(WA.propTypes={"aria-describedby":a.string,"aria-label":a.string,autoFocus:a.bool,autoWidth:a.bool,children:a.node,classes:a.object,className:a.string,defaultOpen:a.bool,defaultValue:a.any,disabled:a.bool,displayEmpty:a.bool,error:a.bool,IconComponent:a.elementType.isRequired,inputRef:qs,labelId:a.string,MenuProps:a.object,multiple:a.bool,name:a.string,onBlur:a.func,onChange:a.func,onClose:a.func,onFocus:a.func,onOpen:a.func,open:a.bool,readOnly:a.bool,renderValue:a.func,SelectDisplayProps:a.object,tabIndex:a.oneOfType([a.number,a.string]),type:a.any,value:a.any,variant:a.oneOf(["standard","outlined","filled"])});const kJ=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],NJ=["root"],MJ=e=>{const{classes:t}=e;return t},sE={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Nu(e)&&e!=="variant",slot:"Root"},AJ=mt(nS,sE)(""),$J=mt(sS,sE)(""),IJ=mt(Jx,sE)(""),lS=$.forwardRef(function(t,n){const o=An({name:"MuiSelect",props:t}),{autoWidth:s=!1,children:p,classes:u={},className:g,defaultOpen:b=!1,displayEmpty:y=!1,IconComponent:C=gX,id:w,input:O,inputProps:P,label:D,labelId:I,MenuProps:j,multiple:z=!1,native:H=!1,onClose:L,onOpen:U,open:A,renderValue:Q,SelectDisplayProps:te,variant:ue="outlined"}=o,ae=Ot(o,kJ),pe=H?MA:WA,xe=Bh(),Pe=Bm({props:o,muiFormControl:xe,states:["variant","error"]}),ye=Pe.variant||ue,de=V({},o,{variant:ye,classes:u}),fe=MJ(de),Se=Ot(fe,NJ),re=O||{standard:B.jsx(AJ,{ownerState:de}),outlined:B.jsx($J,{label:D,ownerState:de}),filled:B.jsx(IJ,{ownerState:de})}[ye],ce=qo(n,re.ref);return B.jsx($.Fragment,{children:$.cloneElement(re,V({inputComponent:pe,inputProps:V({children:p,error:Pe.error,IconComponent:C,variant:ye,type:void 0,multiple:z},H?{id:w}:{autoWidth:s,defaultOpen:b,displayEmpty:y,labelId:I,MenuProps:j,onClose:L,onOpen:U,open:A,renderValue:Q,SelectDisplayProps:V({id:w},te)},P,{classes:P?Os(Se,P.classes):Se},O?O.props.inputProps:{})},(z&&H||y)&&ye==="outlined"?{notched:!0}:{},{ref:ce,className:tn(re.props.className,g,fe.root)},!O&&{variant:ye},ae))})});process.env.NODE_ENV!=="production"&&(lS.propTypes={autoWidth:a.bool,children:a.node,classes:a.object,className:a.string,defaultOpen:a.bool,defaultValue:a.any,displayEmpty:a.bool,IconComponent:a.elementType,id:a.string,input:a.element,inputProps:a.object,label:a.node,labelId:a.string,MenuProps:a.object,multiple:a.bool,native:a.bool,onChange:a.func,onClose:a.func,onOpen:a.func,open:a.bool,renderValue:a.func,SelectDisplayProps:a.object,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),value:a.oneOfType([a.oneOf([""]),a.any]),variant:a.oneOf(["filled","outlined","standard"])}),lS.muiName="Select";function FJ(e){return Wn("MuiTooltip",e)}const xp=Bn("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),jJ=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function LJ(e){return Math.round(e*1e5)/1e5}const BJ=e=>{const{classes:t,disableInteractive:n,arrow:o,touch:s,placement:p}=e,u={popper:["popper",!n&&"popperInteractive",o&&"popperArrow"],tooltip:["tooltip",o&&"tooltipArrow",s&&"touch",`tooltipPlacement${Ft(p.split("-")[0])}`],arrow:["arrow"]};return Un(u,FJ,t)},VJ=mt(Gx,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(({theme:e,ownerState:t,open:n})=>V({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${xp.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${xp.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${xp.arrow}`]:V({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${xp.arrow}`]:V({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),zJ=mt("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${Ft(n.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>V({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Br(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${LJ(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${xp.popper}[data-popper-placement*="left"] &`]:V({transformOrigin:"right center"},t.isRtl?V({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):V({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${xp.popper}[data-popper-placement*="right"] &`]:V({transformOrigin:"left center"},t.isRtl?V({marginRight:"14px"},t.touch&&{marginRight:"24px"}):V({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${xp.popper}[data-popper-placement*="top"] &`]:V({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${xp.popper}[data-popper-placement*="bottom"] &`]:V({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),UJ=mt("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Br(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let uS=!1;const HA=new vy;let db={x:0,y:0};function cS(e,t){return n=>{t&&t(n),e(n)}}const fb=$.forwardRef(function(t,n){var o,s,p,u,g,b,y,C,w,O,P,D,I,j,z,H,L,U,A;const Q=An({props:t,name:"MuiTooltip"}),{arrow:te=!1,children:ue,components:ae={},componentsProps:pe={},describeChild:xe=!1,disableFocusListener:Pe=!1,disableHoverListener:ye=!1,disableInteractive:de=!1,disableTouchListener:fe=!1,enterDelay:Se=100,enterNextDelay:re=0,enterTouchDelay:ce=700,followCursor:ke=!1,id:Ce,leaveDelay:ge=0,leaveTouchDelay:Me=1500,onClose:Le,onOpen:Oe,open:Ve,placement:ze="bottom",PopperComponent:We,PopperProps:Ye={},slotProps:ot={},slots:yt={},title:Ze,TransitionComponent:Te=Hm,TransitionProps:tt}=Q,Ge=Ot(Q,jJ),et=$.isValidElement(ue)?ue:B.jsx("span",{children:ue}),xt=Ys(),Yt=xt.direction==="rtl",[_t,Jt]=$.useState(),[rt,ut]=$.useState(null),Kt=$.useRef(!1),En=de||ke,yn=wh(),Hn=wh(),sr=wh(),Kn=wh(),[Gn,xn]=Hl({controlled:Ve,default:!1,name:"Tooltip",state:"open"});let Or=Gn;if(process.env.NODE_ENV!=="production"){const{current:gr}=$.useRef(Ve!==void 0);$.useEffect(()=>{_t&&_t.disabled&&!gr&&Ze!==""&&_t.tagName.toLowerCase()==="button"&&console.error(["MUI: You are providing a disabled `button` child to the Tooltip component.","A disabled element does not fire events.","Tooltip needs to listen to the child element's events to display the title.","","Add a simple wrapper element, such as a `span`."].join(`
|
|
486
|
+
`))},[Ze,_t,gr])}const Vt=up(Ce),Xt=$.useRef(),vn=ir(()=>{Xt.current!==void 0&&(document.body.style.WebkitUserSelect=Xt.current,Xt.current=void 0),Kn.clear()});$.useEffect(()=>vn,[vn]);const zt=gr=>{HA.clear(),uS=!0,xn(!0),Oe&&!Or&&Oe(gr)},mn=ir(gr=>{HA.start(800+ge,()=>{uS=!1}),xn(!1),Le&&Or&&Le(gr),yn.start(xt.transitions.duration.shortest,()=>{Kt.current=!1})}),Xn=gr=>{Kt.current&&gr.type!=="touchstart"||(_t&&_t.removeAttribute("title"),Hn.clear(),sr.clear(),Se||uS&&re?Hn.start(uS?re:Se,()=>{zt(gr)}):zt(gr))},Pr=gr=>{Hn.clear(),sr.start(ge,()=>{mn(gr)})},{isFocusVisibleRef:lo,onBlur:oo,onFocus:No,ref:Ui}=k0(),[,Zo]=$.useState(!1),$i=gr=>{oo(gr),lo.current===!1&&(Zo(!1),Pr(gr))},$r=gr=>{_t||Jt(gr.currentTarget),No(gr),lo.current===!0&&(Zo(!0),Xn(gr))},mo=gr=>{Kt.current=!0;const vo=et.props;vo.onTouchStart&&vo.onTouchStart(gr)},Oo=Xn,po=Pr,ea=gr=>{mo(gr),sr.clear(),yn.clear(),vn(),Xt.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Kn.start(ce,()=>{document.body.style.WebkitUserSelect=Xt.current,Xn(gr)})},wo=gr=>{et.props.onTouchEnd&&et.props.onTouchEnd(gr),vn(),sr.start(Me,()=>{mn(gr)})};$.useEffect(()=>{if(!Or)return;function gr(vo){(vo.key==="Escape"||vo.key==="Esc")&&mn(vo)}return document.addEventListener("keydown",gr),()=>{document.removeEventListener("keydown",gr)}},[mn,Or]);const ka=qo(et.ref,Ui,Jt,n);!Ze&&Ze!==0&&(Or=!1);const Ne=$.useRef(),At=gr=>{const vo=et.props;vo.onMouseMove&&vo.onMouseMove(gr),db={x:gr.clientX,y:gr.clientY},Ne.current&&Ne.current.update()},Qt={},Fn=typeof Ze=="string";xe?(Qt.title=!Or&&Fn&&!ye?Ze:null,Qt["aria-describedby"]=Or?Vt:null):(Qt["aria-label"]=Fn?Ze:null,Qt["aria-labelledby"]=Or&&!Fn?Vt:null);const tr=V({},Qt,Ge,et.props,{className:tn(Ge.className,et.props.className),onTouchStart:mo,ref:ka},ke?{onMouseMove:At}:{});process.env.NODE_ENV!=="production"&&(tr["data-mui-internal-clone-element"]=!0,$.useEffect(()=>{_t&&!_t.getAttribute("data-mui-internal-clone-element")&&console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.","Please make sure that props are spread on the same element that the ref is applied to."].join(`
|
|
487
|
+
`))},[_t]));const jn={};fe||(tr.onTouchStart=ea,tr.onTouchEnd=wo),ye||(tr.onMouseOver=cS(Oo,tr.onMouseOver),tr.onMouseLeave=cS(po,tr.onMouseLeave),En||(jn.onMouseOver=Oo,jn.onMouseLeave=po)),Pe||(tr.onFocus=cS($r,tr.onFocus),tr.onBlur=cS($i,tr.onBlur),En||(jn.onFocus=$r,jn.onBlur=$i)),process.env.NODE_ENV!=="production"&&et.props.title&&console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.",`Remove this title prop \`${et.props.title}\` or the Tooltip component.`].join(`
|
|
488
|
+
`));const vr=$.useMemo(()=>{var gr;let vo=[{name:"arrow",enabled:!!rt,options:{element:rt,padding:4}}];return(gr=Ye.popperOptions)!=null&&gr.modifiers&&(vo=vo.concat(Ye.popperOptions.modifiers)),V({},Ye.popperOptions,{modifiers:vo})},[rt,Ye]),mr=V({},Q,{isRtl:Yt,arrow:te,disableInteractive:En,placement:ze,PopperComponentProp:We,touch:Kt.current}),io=BJ(mr),Vr=(o=(s=yt.popper)!=null?s:ae.Popper)!=null?o:VJ,eo=(p=(u=(g=yt.transition)!=null?g:ae.Transition)!=null?u:Te)!=null?p:Hm,ei=(b=(y=yt.tooltip)!=null?y:ae.Tooltip)!=null?b:zJ,ti=(C=(w=yt.arrow)!=null?w:ae.Arrow)!=null?C:UJ,Wi=Wy(Vr,V({},Ye,(O=ot.popper)!=null?O:pe.popper,{className:tn(io.popper,Ye==null?void 0:Ye.className,(P=(D=ot.popper)!=null?D:pe.popper)==null?void 0:P.className)}),mr),Mo=Wy(eo,V({},tt,(I=ot.transition)!=null?I:pe.transition),mr),Ja=Wy(ei,V({},(j=ot.tooltip)!=null?j:pe.tooltip,{className:tn(io.tooltip,(z=(H=ot.tooltip)!=null?H:pe.tooltip)==null?void 0:z.className)}),mr),Ks=Wy(ti,V({},(L=ot.arrow)!=null?L:pe.arrow,{className:tn(io.arrow,(U=(A=ot.arrow)!=null?A:pe.arrow)==null?void 0:U.className)}),mr);return B.jsxs($.Fragment,{children:[$.cloneElement(et,tr),B.jsx(Vr,V({as:We??Gx,placement:ze,anchorEl:ke?{getBoundingClientRect:()=>({top:db.y,left:db.x,right:db.x,bottom:db.y,width:0,height:0})}:_t,popperRef:Ne,open:_t?Or:!1,id:Vt,transition:!0},jn,Wi,{popperOptions:vr,children:({TransitionProps:gr})=>B.jsx(eo,V({timeout:xt.transitions.duration.shorter},gr,Mo,{children:B.jsxs(ei,V({},Ja,{children:[Ze,te?B.jsx(ti,V({},Ks,{ref:ut})):null]}))}))}))]})});process.env.NODE_ENV!=="production"&&(fb.propTypes={arrow:a.bool,children:om.isRequired,classes:a.object,className:a.string,components:a.shape({Arrow:a.elementType,Popper:a.elementType,Tooltip:a.elementType,Transition:a.elementType}),componentsProps:a.shape({arrow:a.object,popper:a.object,tooltip:a.object,transition:a.object}),describeChild:a.bool,disableFocusListener:a.bool,disableHoverListener:a.bool,disableInteractive:a.bool,disableTouchListener:a.bool,enterDelay:a.number,enterNextDelay:a.number,enterTouchDelay:a.number,followCursor:a.bool,id:a.string,leaveDelay:a.number,leaveTouchDelay:a.number,onClose:a.func,onOpen:a.func,open:a.bool,placement:a.oneOf(["bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:a.elementType,PopperProps:a.object,slotProps:a.shape({arrow:a.object,popper:a.object,tooltip:a.object,transition:a.object}),slots:a.shape({arrow:a.elementType,popper:a.elementType,tooltip:a.elementType,transition:a.elementType}),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),title:a.node,TransitionComponent:a.elementType,TransitionProps:a.object});const lE=$.createContext();process.env.NODE_ENV!=="production"&&(lE.displayName="TableContext");function WJ(e){return Wn("MuiTable",e)}Bn("MuiTable",["root","stickyHeader"]);const HJ=["className","component","padding","size","stickyHeader"],GJ=e=>{const{classes:t,stickyHeader:n}=e;return Un({root:["root",n&&"stickyHeader"]},WJ,t)},qJ=mt("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>V({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":V({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"})),GA="table",uE=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiTable"}),{className:s,component:p=GA,padding:u="normal",size:g="medium",stickyHeader:b=!1}=o,y=Ot(o,HJ),C=V({},o,{component:p,padding:u,size:g,stickyHeader:b}),w=GJ(C),O=$.useMemo(()=>({padding:u,size:g,stickyHeader:b}),[u,g,b]);return B.jsx(lE.Provider,{value:O,children:B.jsx(qJ,V({as:p,role:p===GA?null:"table",ref:n,className:tn(w.root,s),ownerState:C},y))})});process.env.NODE_ENV!=="production"&&(uE.propTypes={children:a.node,classes:a.object,className:a.string,component:a.elementType,padding:a.oneOf(["checkbox","none","normal"]),size:a.oneOfType([a.oneOf(["medium","small"]),a.string]),stickyHeader:a.bool,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});const pb=$.createContext();process.env.NODE_ENV!=="production"&&(pb.displayName="Tablelvl2Context");function YJ(e){return Wn("MuiTableBody",e)}Bn("MuiTableBody",["root"]);const KJ=["className","component"],XJ=e=>{const{classes:t}=e;return Un({root:["root"]},YJ,t)},QJ=mt("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),ZJ={variant:"body"},qA="tbody",YA=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiTableBody"}),{className:s,component:p=qA}=o,u=Ot(o,KJ),g=V({},o,{component:p}),b=XJ(g);return B.jsx(pb.Provider,{value:ZJ,children:B.jsx(QJ,V({className:tn(b.root,s),as:p,ref:n,role:p===qA?null:"rowgroup",ownerState:g},u))})});process.env.NODE_ENV!=="production"&&(YA.propTypes={children:a.node,classes:a.object,className:a.string,component:a.elementType,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});function JJ(e){return Wn("MuiTableCell",e)}const eee=Bn("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),tee=["align","className","component","padding","scope","size","sortDirection","variant"],nee=e=>{const{classes:t,variant:n,align:o,padding:s,size:p,stickyHeader:u}=e,g={root:["root",n,u&&"stickyHeader",o!=="inherit"&&`align${Ft(o)}`,s!=="normal"&&`padding${Ft(s)}`,`size${Ft(p)}`]};return Un(g,JJ,t)},ree=mt("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${Ft(n.size)}`],n.padding!=="normal"&&t[`padding${Ft(n.padding)}`],n.align!=="inherit"&&t[`align${Ft(n.align)}`],n.stickyHeader&&t.stickyHeader]}})(({theme:e,ownerState:t})=>V({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid
|
|
489
|
+
${e.palette.mode==="light"?ax(Br(e.palette.divider,1),.88):ix(Br(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},t.variant==="head"&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},t.variant==="body"&&{color:(e.vars||e).palette.text.primary},t.variant==="footer"&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},t.size==="small"&&{padding:"6px 16px",[`&.${eee.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},t.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},t.padding==="none"&&{padding:0},t.align==="left"&&{textAlign:"left"},t.align==="center"&&{textAlign:"center"},t.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},t.align==="justify"&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default})),KA=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiTableCell"}),{align:s="inherit",className:p,component:u,padding:g,scope:b,size:y,sortDirection:C,variant:w}=o,O=Ot(o,tee),P=$.useContext(lE),D=$.useContext(pb),I=D&&D.variant==="head";let j;u?j=u:j=I?"th":"td";let z=b;j==="td"?z=void 0:!z&&I&&(z="col");const H=w||D&&D.variant,L=V({},o,{align:s,component:j,padding:g||(P&&P.padding?P.padding:"normal"),size:y||(P&&P.size?P.size:"medium"),sortDirection:C,stickyHeader:H==="head"&&P&&P.stickyHeader,variant:H}),U=nee(L);let A=null;return C&&(A=C==="asc"?"ascending":"descending"),B.jsx(ree,V({as:j,ref:n,className:tn(U.root,p),"aria-sort":A,scope:z,ownerState:L},O))});process.env.NODE_ENV!=="production"&&(KA.propTypes={align:a.oneOf(["center","inherit","justify","left","right"]),children:a.node,classes:a.object,className:a.string,component:a.elementType,padding:a.oneOf(["checkbox","none","normal"]),scope:a.string,size:a.oneOfType([a.oneOf(["medium","small"]),a.string]),sortDirection:a.oneOf(["asc","desc",!1]),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),variant:a.oneOfType([a.oneOf(["body","footer","head"]),a.string])});function oee(e){return Wn("MuiTableHead",e)}Bn("MuiTableHead",["root"]);const iee=["className","component"],aee=e=>{const{classes:t}=e;return Un({root:["root"]},oee,t)},see=mt("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),lee={variant:"head"},XA="thead",QA=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiTableHead"}),{className:s,component:p=XA}=o,u=Ot(o,iee),g=V({},o,{component:p}),b=aee(g);return B.jsx(pb.Provider,{value:lee,children:B.jsx(see,V({as:p,className:tn(b.root,s),ref:n,role:p===XA?null:"rowgroup",ownerState:g},u))})});process.env.NODE_ENV!=="production"&&(QA.propTypes={children:a.node,classes:a.object,className:a.string,component:a.elementType,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});function uee(e){return Wn("MuiTableRow",e)}const ZA=Bn("MuiTableRow",["root","selected","hover","head","footer"]),cee=["className","component","hover","selected"],dee=e=>{const{classes:t,selected:n,hover:o,head:s,footer:p}=e;return Un({root:["root",n&&"selected",o&&"hover",s&&"head",p&&"footer"]},uee,t)},fee=mt("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${ZA.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${ZA.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Br(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Br(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),JA="tr",dS=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiTableRow"}),{className:s,component:p=JA,hover:u=!1,selected:g=!1}=o,b=Ot(o,cee),y=$.useContext(pb),C=V({},o,{component:p,hover:u,selected:g,head:y&&y.variant==="head",footer:y&&y.variant==="footer"}),w=dee(C);return B.jsx(fee,V({as:p,ref:n,className:tn(w.root,s),role:p===JA?null:"row",ownerState:C},b))});process.env.NODE_ENV!=="production"&&(dS.propTypes={children:a.node,classes:a.object,className:a.string,component:a.elementType,hover:a.bool,selected:a.bool,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});function pee(e){return Wn("MuiTextField",e)}Bn("MuiTextField",["root"]);const hee=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],vee={standard:nS,filled:Jx,outlined:sS},mee=e=>{const{classes:t}=e;return Un({root:["root"]},pee,t)},gee=mt(eS,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),cE=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiTextField"}),{autoComplete:s,autoFocus:p=!1,children:u,className:g,color:b="primary",defaultValue:y,disabled:C=!1,error:w=!1,FormHelperTextProps:O,fullWidth:P=!1,helperText:D,id:I,InputLabelProps:j,inputProps:z,InputProps:H,inputRef:L,label:U,maxRows:A,minRows:Q,multiline:te=!1,name:ue,onBlur:ae,onChange:pe,onFocus:xe,placeholder:Pe,required:ye=!1,rows:de,select:fe=!1,SelectProps:Se,type:re,value:ce,variant:ke="outlined"}=o,Ce=Ot(o,hee),ge=V({},o,{autoFocus:p,color:b,disabled:C,error:w,fullWidth:P,multiline:te,required:ye,select:fe,variant:ke}),Me=mee(ge);process.env.NODE_ENV!=="production"&&fe&&!u&&console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");const Le={};ke==="outlined"&&(j&&typeof j.shrink<"u"&&(Le.notched=j.shrink),Le.label=U),fe&&((!Se||!Se.native)&&(Le.id=void 0),Le["aria-describedby"]=void 0);const Oe=up(I),Ve=D&&Oe?`${Oe}-helper-text`:void 0,ze=U&&Oe?`${Oe}-label`:void 0,We=vee[ke],Ye=B.jsx(We,V({"aria-describedby":Ve,autoComplete:s,autoFocus:p,defaultValue:y,fullWidth:P,multiline:te,name:ue,rows:de,maxRows:A,minRows:Q,type:re,value:ce,id:Oe,inputRef:L,onBlur:ae,onChange:pe,onFocus:xe,placeholder:Pe,inputProps:z},Le,H));return B.jsxs(gee,V({className:tn(Me.root,g),disabled:C,error:w,fullWidth:P,ref:n,required:ye,color:b,variant:ke,ownerState:ge},Ce,{children:[U!=null&&U!==""&&B.jsx(bA,V({htmlFor:Oe,id:ze},j,{children:U})),fe?B.jsx(lS,V({"aria-describedby":Ve,id:Oe,labelId:ze,value:ce,input:Ye},Se,{children:u})):Ye,D&&B.jsx(tS,V({id:Ve},O,{children:D}))]}))});process.env.NODE_ENV!=="production"&&(cE.propTypes={autoComplete:a.string,autoFocus:a.bool,children:a.node,classes:a.object,className:a.string,color:a.oneOfType([a.oneOf(["primary","secondary","error","info","success","warning"]),a.string]),defaultValue:a.any,disabled:a.bool,error:a.bool,FormHelperTextProps:a.object,fullWidth:a.bool,helperText:a.node,id:a.string,InputLabelProps:a.object,inputProps:a.object,InputProps:a.object,inputRef:qs,label:a.node,margin:a.oneOf(["dense","none","normal"]),maxRows:a.oneOfType([a.number,a.string]),minRows:a.oneOfType([a.number,a.string]),multiline:a.bool,name:a.string,onBlur:a.func,onChange:a.func,onFocus:a.func,placeholder:a.string,required:a.bool,rows:a.oneOfType([a.number,a.string]),select:a.bool,SelectProps:a.object,size:a.oneOfType([a.oneOf(["medium","small"]),a.string]),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),type:a.string,value:a.any,variant:a.oneOf(["filled","outlined","standard"])});const yee=({children:e,styling:t=null})=>{const n=Ix();return B.jsx(So,{variant:"h6",className:`${n.bolderText} ${t||""}`,children:e})},bee=({limitWidth:e=!1,children:t,styling:n,id:o})=>{const s={...pl(),...Fh()};return B.jsx(Co,{id:o,boxShadow:3,className:`${s.contentBox} ${n||""}`,children:B.jsx(Co,{className:`${s.centeredText} ${e?s.limitWidth50rem:""}`,children:t})})};function Vue(e){return e}function xee(e){const{theme:t,name:n,props:o}=e;if(!t||!t.components||!t.components[n]||!t.components[n].defaultProps)return o;const s=V({},o),p=t.components[n].defaultProps;let u;for(u in p)s[u]===void 0&&(s[u]=p[u]);return s}const See=["defaultTheme","withTheme","name"],Cee=["classes"],e$=(e,t={})=>n=>{const{defaultTheme:o,withTheme:s=!1,name:p}=t,u=Ot(t,See);if(process.env.NODE_ENV!=="production"&&n===void 0)throw new Error(["You are calling withStyles(styles)(Component) with an undefined component.","You may have forgotten to import it."].join(`
|
|
490
|
+
`));let g=p;if(process.env.NODE_ENV!=="production"&&!p){const C=am(n);C!==void 0&&(g=C)}const b=Mi(e,V({defaultTheme:o,Component:n,name:p||n.displayName,classNamePrefix:g},u)),y=$.forwardRef(function(w,O){const P=Ot(w,Cee),D=b(V({},n.defaultProps,w));let I,j=P;return(typeof p=="string"||s)&&(I=Wk()||o,p&&(j=xee({theme:I,name:p,props:P})),s&&!j.theme&&(j.theme=I)),B.jsx(n,V({ref:O,classes:D},j))});return process.env.NODE_ENV!=="production"&&(y.propTypes={classes:a.object}),process.env.NODE_ENV!=="production"&&(y.displayName=`WithStyles(${am(n)})`),zL(y,n),process.env.NODE_ENV!=="production"&&(y.Naked=n,y.options=t,y.useStyles=b),y},Ym=({text:e="Loading data...",styling:t})=>{const n={...pl(),...Fh()};return B.jsxs(Co,{className:`${n.flexCenter} ${t||""}`,children:[B.jsx(So,{variant:"body2",color:"textSecondary",className:n.rightSpacer1,children:e}),B.jsx(vx,{size:"1.5rem"})]})},wee=e$({root:{"&:hover td":{backgroundColor:"rgba(0, 0, 0, 0.06)"}}})(dS),Ree=e$({root:{"&:nth-of-type(even) td":{backgroundColor:"rgba(0, 0, 0, 0.03)"},"&:hover td":{backgroundColor:"rgba(0, 0, 0, 0.06)"}}})(dS),Eee=Mi(e=>({root:{borderBottom:"none",paddingTop:"8px",paddingBottom:"8px","&:first-child":{borderTopLeftRadius:15,borderBottomLeftRadius:15},"&:last-child":{borderTopRightRadius:15,borderBottomRightRadius:15}},head:({background:t,border:n,text:o})=>({backgroundColor:t||"HSLA(204, 58.3%, 81.2%, 0.1)",borderTop:`1px solid ${n||"HSLA(204, 58.3%, 81.2%, 0.3)"}`,borderBottom:`1px solid ${n||"HSLA(204, 58.3%, 81.2%, 0.3)"}`,color:o||e.palette.text.primary,fontWeight:500,"&:first-child":{borderLeft:`1px solid ${n||"HSLA(204, 58.3%, 81.2%, 0.3)"}`},"&:last-child":{borderRight:`1px solid ${n||"HSLA(204, 58.3%, 81.2%, 0.3)"}`}})})),dE=({children:e,align:t="centerJustify",headerColours:n,...o})=>{const s={...Fh(),...Eee({...n||{}})};return B.jsx(KA,{...o,classes:{root:s.root,head:s.head},children:B.jsx("div",{className:`${s.flexCenter} ${s.adornmentGap} ${s[t]}`,children:e})})},t$=({rowBorderSeparation:e=!1,children:t,...n})=>e?B.jsx(wee,{...n,children:t}):B.jsx(Ree,{...n,children:t}),n$=({colSpan:e,children:t})=>{const n=r$();return B.jsx(t$,{children:B.jsx(dE,{className:n.adjustedCellPadding,colSpan:e,children:t})})},r$=Mi({tableStyles:{borderCollapse:"separate"},pointer:{cursor:"pointer"},noShading:{backgroundColor:"transparent !important"},adjustedCellPadding:{paddingTop:"11px",paddingBottom:"11px"},row:{borderRadius:15,boxShadow:"0px 1px 1px rgba(213, 213, 213, 1)"}}),Tee=$.memo(({headers:e,headerCellAlignment:t=[],headerColours:n})=>e?B.jsx(QA,{children:B.jsx(dS,{children:e.map((o,s)=>B.jsx(dE,{align:t[s]||"centerJustify",headerColours:n,children:o},`header-cell-${s}`))})}):null),_ee=$.memo(({rowBorderSeparation:e=!1,headers:t,rows:n,headerCellAlignment:o=[],rowCellAlignment:s=[],styling:p,headerColours:u,paginate:g=!1,itemsPerPage:b=30})=>{const y={...Fh(),...pl(),...r$()},[C,w]=$.useState(1),O=$.useMemo(()=>!!(g&&((n==null?void 0:n.length)||0)>b),[b,g,n]),[P,D]=$.useState(O?n.slice(0,b):n),I=$.useCallback((j,z)=>{w(z)},[]);return $.useEffect(()=>{D(O?n.slice(b*(C-1),b*C):n)},[O,b,C,n]),B.jsxs(B.Fragment,{children:[B.jsxs(uE,{className:`${y.tableStyles} ${O?y.contentBreak:""} ${p||""}`,children:[B.jsx(Tee,{headers:t,headerCellAlignment:o,headerColours:u}),B.jsx(YA,{children:P?P.length?P.map((j,z)=>{const H=!!j.onClick;return B.jsx(t$,{rowBorderSeparation:e,className:H?`${y.pointer} ${y.row}`:`${y.row}}`,onClick:H?j.onClick:void 0,children:j.row.map((L,U)=>B.jsx(dE,{align:s[U]||"centerJustify",children:L},`row-${z}-cell-${U}`))},`row-${z}`)}):B.jsx(n$,{colSpan:(t==null?void 0:t.length)||0,children:"Table is empty"}):B.jsx(n$,{colSpan:(t==null?void 0:t.length)||0,children:B.jsx(Ym,{})})})]}),O?B.jsx(aE,{className:y.flexCenter,count:Math.ceil(n.length/b),page:C,onChange:I,shape:"rounded",showFirstButton:!0,showLastButton:!0}):null]})});/**
|
|
491
|
+
* @remix-run/router v1.14.2
|
|
492
|
+
*
|
|
493
|
+
* Copyright (c) Remix Software Inc.
|
|
494
|
+
*
|
|
495
|
+
* This source code is licensed under the MIT license found in the
|
|
496
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
497
|
+
*
|
|
498
|
+
* @license MIT
|
|
499
|
+
*/function fE(){return fE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},fE.apply(this,arguments)}var o$;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(o$||(o$={}));function Ca(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Km(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function pE(e){let{pathname:t="/",search:n="",hash:o=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),o&&o!=="#"&&(t+=o.charAt(0)==="#"?o:"#"+o),t}function i$(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let o=e.indexOf("?");o>=0&&(t.search=e.substr(o),e=e.substr(0,o)),e&&(t.pathname=e)}return t}var a$;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(a$||(a$={}));function s$(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,o]=Oee(e.path,e.caseSensitive,e.end),s=t.match(n);if(!s)return null;let p=s[0],u=p.replace(/(.)\/+$/,"$1"),g=s.slice(1);return{params:o.reduce((y,C,w)=>{let{paramName:O,isOptional:P}=C;if(O==="*"){let I=g[w]||"";u=p.slice(0,p.length-I.length).replace(/(.)\/+$/,"$1")}const D=g[w];return P&&!D?y[O]=void 0:y[O]=Pee(D||"",O),y},{}),pathname:p,pathnameBase:u,pattern:e}}function Oee(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Km(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let o=[],s="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,g,b)=>(o.push({paramName:g,isOptional:b!=null}),b?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(o.push({paramName:"*"}),s+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?s+="\\/*$":e!==""&&e!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,t?void 0:"i"),o]}function Pee(e,t){try{return decodeURIComponent(e)}catch(n){return Km(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function Xm(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,o=e.charAt(n);return o&&o!=="/"?null:e.slice(n)||"/"}function Dee(e,t){t===void 0&&(t="/");let{pathname:n,search:o="",hash:s=""}=typeof e=="string"?i$(e):e;return{pathname:n?n.startsWith("/")?n:kee(n,t):t,search:Mee(o),hash:Aee(s)}}function kee(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(s=>{s===".."?n.length>1&&n.pop():s!=="."&&n.push(s)}),n.length>1?n.join("/"):"/"}function hE(e,t,n,o){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(o)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function Nee(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function l$(e,t){let n=Nee(e);return t?n.map((o,s)=>s===e.length-1?o.pathname:o.pathnameBase):n.map(o=>o.pathnameBase)}function u$(e,t,n,o){o===void 0&&(o=!1);let s;typeof e=="string"?s=i$(e):(s=fE({},e),Ca(!s.pathname||!s.pathname.includes("?"),hE("?","pathname","search",s)),Ca(!s.pathname||!s.pathname.includes("#"),hE("#","pathname","hash",s)),Ca(!s.search||!s.search.includes("#"),hE("#","search","hash",s)));let p=e===""||s.pathname==="",u=p?"/":s.pathname,g;if(u==null)g=n;else{let w=t.length-1;if(!o&&u.startsWith("..")){let O=u.split("/");for(;O[0]==="..";)O.shift(),w-=1;s.pathname=O.join("/")}g=w>=0?t[w]:"/"}let b=Dee(s,g),y=u&&u!=="/"&&u.endsWith("/"),C=(p||u===".")&&n.endsWith("/");return!b.pathname.endsWith("/")&&(y||C)&&(b.pathname+="/"),b}const vE=e=>e.join("/").replace(/\/\/+/g,"/"),Mee=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Aee=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,c$=["post","put","patch","delete"];new Set(c$);const $ee=["get",...c$];new Set($ee);/**
|
|
500
|
+
* React Router v6.21.3
|
|
501
|
+
*
|
|
502
|
+
* Copyright (c) Remix Software Inc.
|
|
503
|
+
*
|
|
504
|
+
* This source code is licensed under the MIT license found in the
|
|
505
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
506
|
+
*
|
|
507
|
+
* @license MIT
|
|
508
|
+
*/function mE(){return mE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},mE.apply(this,arguments)}const fS=$.createContext(null);process.env.NODE_ENV!=="production"&&(fS.displayName="DataRouter");const d$=$.createContext(null);process.env.NODE_ENV!=="production"&&(d$.displayName="DataRouterState");const Iee=$.createContext(null);process.env.NODE_ENV!=="production"&&(Iee.displayName="Await");const cf=$.createContext(null);process.env.NODE_ENV!=="production"&&(cf.displayName="Navigation");const gE=$.createContext(null);process.env.NODE_ENV!=="production"&&(gE.displayName="Location");const Qm=$.createContext({outlet:null,matches:[],isDataRoute:!1});process.env.NODE_ENV!=="production"&&(Qm.displayName="Route");const Fee=$.createContext(null);process.env.NODE_ENV!=="production"&&(Fee.displayName="RouteError");function jee(e,t){let{relative:n}=t===void 0?{}:t;yE()||(process.env.NODE_ENV!=="production"?Ca(!1,"useHref() may be used only in the context of a <Router> component."):Ca(!1));let{basename:o,navigator:s}=$.useContext(cf),{hash:p,pathname:u,search:g}=hb(e,{relative:n}),b=u;return o!=="/"&&(b=u==="/"?o:vE([o,u])),s.createHref({pathname:b,search:g,hash:p})}function yE(){return $.useContext(gE)!=null}function df(){return yE()||(process.env.NODE_ENV!=="production"?Ca(!1,"useLocation() may be used only in the context of a <Router> component."):Ca(!1)),$.useContext(gE).location}const f$="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function p$(e){$.useContext(cf).static||$.useLayoutEffect(e)}function h$(){let{isDataRoute:e}=$.useContext(Qm);return e?Uee():Lee()}function Lee(){yE()||(process.env.NODE_ENV!=="production"?Ca(!1,"useNavigate() may be used only in the context of a <Router> component."):Ca(!1));let e=$.useContext(fS),{basename:t,future:n,navigator:o}=$.useContext(cf),{matches:s}=$.useContext(Qm),{pathname:p}=df(),u=JSON.stringify(l$(s,n.v7_relativeSplatPath)),g=$.useRef(!1);return p$(()=>{g.current=!0}),$.useCallback(function(y,C){if(C===void 0&&(C={}),process.env.NODE_ENV!=="production"&&Km(g.current,f$),!g.current)return;if(typeof y=="number"){o.go(y);return}let w=u$(y,JSON.parse(u),p,C.relative==="path");e==null&&t!=="/"&&(w.pathname=w.pathname==="/"?t:vE([t,w.pathname])),(C.replace?o.replace:o.push)(w,C.state,C)},[t,o,u,p,e])}function hb(e,t){let{relative:n}=t===void 0?{}:t,{future:o}=$.useContext(cf),{matches:s}=$.useContext(Qm),{pathname:p}=df(),u=JSON.stringify(l$(s,o.v7_relativeSplatPath));return $.useMemo(()=>u$(e,JSON.parse(u),p,n==="path"),[e,u,p,n])}var v$=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(v$||{}),bE=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(bE||{});function m$(e){return e+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function Bee(e){let t=$.useContext(fS);return t||(process.env.NODE_ENV!=="production"?Ca(!1,m$(e)):Ca(!1)),t}function Vee(e){let t=$.useContext(Qm);return t||(process.env.NODE_ENV!=="production"?Ca(!1,m$(e)):Ca(!1)),t}function g$(e){let t=Vee(e),n=t.matches[t.matches.length-1];return n.route.id||(process.env.NODE_ENV!=="production"?Ca(!1,e+' can only be used on routes that contain a unique "id"'):Ca(!1)),n.route.id}function zee(){return g$(bE.UseRouteId)}function Uee(){let{router:e}=Bee(v$.UseNavigateStable),t=g$(bE.UseNavigateStable),n=$.useRef(!1);return p$(()=>{n.current=!0}),$.useCallback(function(s,p){p===void 0&&(p={}),process.env.NODE_ENV!=="production"&&Km(n.current,f$),n.current&&(typeof s=="number"?e.navigate(s):e.navigate(s,mE({fromRouteId:t},p)))},[e,t])}new Promise(()=>{});/**
|
|
509
|
+
* React Router DOM v6.21.3
|
|
510
|
+
*
|
|
511
|
+
* Copyright (c) Remix Software Inc.
|
|
512
|
+
*
|
|
513
|
+
* This source code is licensed under the MIT license found in the
|
|
514
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
515
|
+
*
|
|
516
|
+
* @license MIT
|
|
517
|
+
*/function Zm(){return Zm=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Zm.apply(this,arguments)}function xE(e,t){if(e==null)return{};var n={},o=Object.keys(e),s,p;for(p=0;p<o.length;p++)s=o[p],!(t.indexOf(s)>=0)&&(n[s]=e[s]);return n}const pS="get",hS="application/x-www-form-urlencoded";function vS(e){return e!=null&&typeof e.tagName=="string"}function Wee(e){return vS(e)&&e.tagName.toLowerCase()==="button"}function Hee(e){return vS(e)&&e.tagName.toLowerCase()==="form"}function Gee(e){return vS(e)&&e.tagName.toLowerCase()==="input"}function qee(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Yee(e,t){return e.button===0&&(!t||t==="_self")&&!qee(e)}let mS=null;function Kee(){if(mS===null)try{new FormData(document.createElement("form"),0),mS=!1}catch{mS=!0}return mS}const Xee=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function SE(e){return e!=null&&!Xee.has(e)?(process.env.NODE_ENV!=="production"&&Km(!1,'"'+e+'" is not a valid `encType` for `<Form>`/`<fetcher.Form>` '+('and will default to "'+hS+'"')),null):e}function Qee(e,t){let n,o,s,p,u;if(Hee(e)){let g=e.getAttribute("action");o=g?Xm(g,t):null,n=e.getAttribute("method")||pS,s=SE(e.getAttribute("enctype"))||hS,p=new FormData(e)}else if(Wee(e)||Gee(e)&&(e.type==="submit"||e.type==="image")){let g=e.form;if(g==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let b=e.getAttribute("formaction")||g.getAttribute("action");if(o=b?Xm(b,t):null,n=e.getAttribute("formmethod")||g.getAttribute("method")||pS,s=SE(e.getAttribute("formenctype"))||SE(g.getAttribute("enctype"))||hS,p=new FormData(g,e),!Kee()){let{name:y,type:C,value:w}=e;if(C==="image"){let O=y?y+".":"";p.append(O+"x","0"),p.append(O+"y","0")}else y&&p.append(y,w)}}else{if(vS(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=pS,o=null,s=hS,u=e}return p&&s==="text/plain"&&(u=p,p=void 0),{action:o,method:n.toLowerCase(),encType:s,formData:p,body:u}}const Zee=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Jee=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],ete=["fetcherKey","navigate","reloadDocument","replace","state","method","action","onSubmit","relative","preventScrollReset","unstable_viewTransition"],y$=$.createContext({isTransitioning:!1});process.env.NODE_ENV!=="production"&&(y$.displayName="ViewTransition");const tte=$.createContext(new Map);process.env.NODE_ENV!=="production"&&(tte.displayName="Fetchers"),process.env.NODE_ENV;const nte=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",rte=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Uu=$.forwardRef(function(t,n){let{onClick:o,relative:s,reloadDocument:p,replace:u,state:g,target:b,to:y,preventScrollReset:C,unstable_viewTransition:w}=t,O=xE(t,Zee),{basename:P}=$.useContext(cf),D,I=!1;if(typeof y=="string"&&rte.test(y)&&(D=y,nte))try{let L=new URL(window.location.href),U=y.startsWith("//")?new URL(L.protocol+y):new URL(y),A=Xm(U.pathname,P);U.origin===L.origin&&A!=null?y=A+U.search+U.hash:I=!0}catch{process.env.NODE_ENV!=="production"&&Km(!1,'<Link to="'+y+'"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.')}let j=jee(y,{relative:s}),z=ste(y,{replace:u,state:g,target:b,preventScrollReset:C,relative:s,unstable_viewTransition:w});function H(L){o&&o(L),L.defaultPrevented||z(L)}return $.createElement("a",Zm({},O,{href:D||j,onClick:I||p?o:H,ref:n,target:b}))});process.env.NODE_ENV!=="production"&&(Uu.displayName="Link");const ote=$.forwardRef(function(t,n){let{"aria-current":o="page",caseSensitive:s=!1,className:p="",end:u=!1,style:g,to:b,unstable_viewTransition:y,children:C}=t,w=xE(t,Jee),O=hb(b,{relative:w.relative}),P=df(),D=$.useContext(d$),{navigator:I,basename:j}=$.useContext(cf),z=D!=null&&pte(O)&&y===!0,H=I.encodeLocation?I.encodeLocation(O).pathname:O.pathname,L=P.pathname,U=D&&D.navigation&&D.navigation.location?D.navigation.location.pathname:null;s||(L=L.toLowerCase(),U=U?U.toLowerCase():null,H=H.toLowerCase()),U&&j&&(U=Xm(U,j)||U);const A=H!=="/"&&H.endsWith("/")?H.length-1:H.length;let Q=L===H||!u&&L.startsWith(H)&&L.charAt(A)==="/",te=U!=null&&(U===H||!u&&U.startsWith(H)&&U.charAt(H.length)==="/"),ue={isActive:Q,isPending:te,isTransitioning:z},ae=Q?o:void 0,pe;typeof p=="function"?pe=p(ue):pe=[p,Q?"active":null,te?"pending":null,z?"transitioning":null].filter(Boolean).join(" ");let xe=typeof g=="function"?g(ue):g;return $.createElement(Uu,Zm({},w,{"aria-current":ae,className:pe,ref:n,style:xe,to:b,unstable_viewTransition:y}),typeof C=="function"?C(ue):C)});process.env.NODE_ENV!=="production"&&(ote.displayName="NavLink");const ite=$.forwardRef((e,t)=>{let{fetcherKey:n,navigate:o,reloadDocument:s,replace:p,state:u,method:g=pS,action:b,onSubmit:y,relative:C,preventScrollReset:w,unstable_viewTransition:O}=e,P=xE(e,ete),D=dte(),I=fte(b,{relative:C}),j=g.toLowerCase()==="get"?"get":"post",z=H=>{if(y&&y(H),H.defaultPrevented)return;H.preventDefault();let L=H.nativeEvent.submitter,U=(L==null?void 0:L.getAttribute("formmethod"))||g;D(L||H.currentTarget,{fetcherKey:n,method:U,navigate:o,replace:p,state:u,relative:C,preventScrollReset:w,unstable_viewTransition:O})};return $.createElement("form",Zm({ref:t,method:j,action:I,onSubmit:s?y:z},P))});process.env.NODE_ENV!=="production"&&(ite.displayName="Form"),process.env.NODE_ENV;var gS;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(gS||(gS={}));var b$;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(b$||(b$={}));function ate(e){return e+" must be used within a data router. See https://reactrouter.com/routers/picking-a-router."}function x$(e){let t=$.useContext(fS);return t||(process.env.NODE_ENV!=="production"?Ca(!1,ate(e)):Ca(!1)),t}function ste(e,t){let{target:n,replace:o,state:s,preventScrollReset:p,relative:u,unstable_viewTransition:g}=t===void 0?{}:t,b=h$(),y=df(),C=hb(e,{relative:u});return $.useCallback(w=>{if(Yee(w,n)){w.preventDefault();let O=o!==void 0?o:pE(y)===pE(C);b(e,{replace:O,state:s,preventScrollReset:p,relative:u,unstable_viewTransition:g})}},[y,b,C,o,s,n,e,p,u,g])}function lte(){if(typeof document>"u")throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.")}let ute=0,cte=()=>"__"+String(++ute)+"__";function dte(){let{router:e}=x$(gS.UseSubmit),{basename:t}=$.useContext(cf),n=zee();return $.useCallback(function(o,s){s===void 0&&(s={}),lte();let{action:p,method:u,encType:g,formData:b,body:y}=Qee(o,t);if(s.navigate===!1){let C=s.fetcherKey||cte();e.fetch(C,n,s.action||p,{preventScrollReset:s.preventScrollReset,formData:b,body:y,formMethod:s.method||u,formEncType:s.encType||g,unstable_flushSync:s.unstable_flushSync})}else e.navigate(s.action||p,{preventScrollReset:s.preventScrollReset,formData:b,body:y,formMethod:s.method||u,formEncType:s.encType||g,replace:s.replace,state:s.state,fromRouteId:n,unstable_flushSync:s.unstable_flushSync,unstable_viewTransition:s.unstable_viewTransition})},[e,t,n])}function fte(e,t){let{relative:n}=t===void 0?{}:t,{basename:o}=$.useContext(cf),s=$.useContext(Qm);s||(process.env.NODE_ENV!=="production"?Ca(!1,"useFormAction must be used inside a RouteContext"):Ca(!1));let[p]=s.matches.slice(-1),u=Zm({},hb(e||".",{relative:n})),g=df();if(e==null){u.search=g.search;let b=new URLSearchParams(u.search);b.has("index")&&b.get("index")===""&&(b.delete("index"),u.search=b.toString()?"?"+b.toString():"")}return(!e||e===".")&&p.route.index&&(u.search=u.search?u.search.replace(/^\?/,"?index&"):"?index"),o!=="/"&&(u.pathname=u.pathname==="/"?o:vE([o,u.pathname])),pE(u)}function pte(e,t){t===void 0&&(t={});let n=$.useContext(y$);n==null&&(process.env.NODE_ENV!=="production"?Ca(!1,"`unstable_useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?"):Ca(!1));let{basename:o}=x$(gS.useViewTransitionState),s=hb(e,{relative:t.relative});if(!n.isTransitioning)return!1;let p=Xm(n.currentLocation.pathname,o)||n.currentLocation.pathname,u=Xm(n.nextLocation.pathname,o)||n.nextLocation.pathname;return s$(s.pathname,u)!=null||s$(s.pathname,p)!=null}const hte=Mi(e=>({logoContainer:{width:"3rem",height:"3rem",display:"flex",justifyContent:"center",alignItems:"center"},logo:{width:"100%",height:"100%","& > div":{width:"100%",height:"100%"},"& > svg":{width:"100%",height:"100%"}},logoInBreadcrumb:{width:"2rem",height:"2rem",margin:"0.125rem 0 0.125rem 0.313rem"},logoSpacing:{marginRight:e.spacing(1)},flexItemsCenter:{display:"flex",alignItems:"center"},nonPrimaryBreadcrumbOffset:{marginLeft:"2.5rem"},BreadcrumbsContainer:{height:"2.25rem",marginLeft:"0.875rem",marginRight:"1.5rem"},primaryBreadcrumbItem:({primary:t})=>({backgroundColor:(t==null?void 0:t.background)||e.palette.common.white,color:(t==null?void 0:t.color)||e.palette.text.primary,borderRadius:"2rem",zIndex:3,height:"100%",display:"flex",alignItems:"center"}),secondaryBreadcrumbItem:({secondary:t})=>({height:"2.25rem",backgroundColor:(t==null?void 0:t.background)||"#D7D4E4",borderRadius:"2rem",zIndex:2,marginLeft:"-2rem",color:(t==null?void 0:t.color)||e.palette.text.primary}),tertiaryBreadcrumbItem:({tertiary:t})=>({height:"2.25rem",backgroundColor:(t==null?void 0:t.background)||"#D7D4E4",borderRadius:"2rem",zIndex:1,marginLeft:"-2rem",color:(t==null?void 0:t.color)||e.palette.common.white}),breadCrumbShadow:{boxShadow:e.shadows[2]},breadcrumbRightMargin:{marginRight:"1rem"},breadcrumbTextOverflow:{display:"block",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"12rem"},boldText:{fontWeight:500},activeBreadcrumb:({tertiary:t})=>({backgroundColor:(t==null?void 0:t.background)||"#D7D4E4",color:(t==null?void 0:t.color)||e.palette.common.white}),noWrap:{whiteSpace:"nowrap"},fullBorderRadius:{borderRadius:"100%"}})),vte=({logo:e,content:t,colors:n})=>{const o=hte({...n||{}}),{first:s=null,second:p=null,third:u=null}=t;return B.jsxs(Co,{className:`${o.BreadcrumbsContainer} ${o.flexItemsCenter}`,children:[B.jsxs(Co,{className:`${s?`${o.primaryBreadcrumbItem} ${o.breadCrumbShadow}`:""} ${o.flexItemsCenter}`,children:[B.jsx(sb,{component:Uu,to:"/",className:o.logoSpacing,children:B.jsx(Co,{className:`${o.logoContainer}
|
|
518
|
+
${s?o.logoInBreadcrumb:""}`,children:B.jsx(vd,{className:`${o.logo} ${o.fullBorderRadius}`,children:e})})}),s&&B.jsx(So,{color:"textPrimary",className:`${o.boldText} ${o.noWrap} ${o.primaryBreadcrumbItem}`,children:B.jsx(sb,{underline:"none",component:Uu,to:s.link,color:"inherit",className:`${o.breadcrumbRightMargin} ${o.breadcrumbTextOverflow}`,children:s.name})})]}),p&&B.jsx(Co,{className:`${o.flexItemsCenter} ${o.secondaryBreadcrumbItem} ${o.breadCrumbShadow} ${u?"":o.activeBreadcrumb}`,children:B.jsx(So,{color:"inherit",className:`${o.boldText} ${o.noWrap}`,children:B.jsx(sb,{component:Uu,underline:"none",to:p.link,color:"inherit",className:`${o.nonPrimaryBreadcrumbOffset} ${o.breadcrumbRightMargin} ${o.breadcrumbTextOverflow}`,children:p.name})})}),u&&B.jsx(Co,{className:`${o.flexItemsCenter} ${o.tertiaryBreadcrumbItem} ${o.breadCrumbShadow}`,children:B.jsx(So,{color:"inherit",className:`${o.boldText} ${o.noWrap}`,children:B.jsx(sb,{component:Uu,underline:"none",to:u.link,color:"inherit",className:`${o.nonPrimaryBreadcrumbOffset} ${o.breadcrumbRightMargin} ${o.breadcrumbTextOverflow}`,children:u.name})})})]})},mte=Mi(e=>({container:{marginRight:e.spacing(-1.5),marginLeft:e.spacing(-1.5)},svgContainer:{marginLeft:"auto",marginRight:"auto"},button:{display:"block",textDecoration:"none",borderRadius:ju,height:"100%",width:"100%",textAlign:"center",color:e.palette.text.primary},orgLabel:{padding:e.spacing(1),paddingTop:0}})),gte=({entities:e,icon:t,loadingMessage:n="Loading list...",emptyMessage:o="List is empty",onClick:s})=>{const p={...mte(),...pl(),...Ix()};return B.jsx(Co,{className:p.container,children:e?e.length?B.jsx(Wm,{container:!0,spacing:3,children:e.map((u,g)=>B.jsx(Wm,{item:!0,xs:4,md:3,children:B.jsxs(nf,{className:p.button,...s?{onClick:()=>s(u)}:{component:Uu,to:u.link},children:[B.jsx(Co,{className:`${p.svgContainer} ${p.labelBreak}`,children:t(u)}),B.jsx(So,{className:p.orgLabel,variant:"body1",children:u.name})]},u.name)},`${u.name}-${g}`))}):B.jsx(So,{className:p.centerText,variant:"body2",color:"text.primary",children:o}):B.jsx(Ym,{text:n})})};var CE={},S$={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(S$);var vb=S$.exports,wE={};const yte=fj(Iq);var C$;function mb(){return C$||(C$=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=yte}(wE)),wE}var bte=vb;Object.defineProperty(CE,"__esModule",{value:!0});var w$=CE.default=void 0,xte=bte(mb()),Ste=B;w$=CE.default=(0,xte.default)((0,Ste.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error");const Cte=({text:e="Something went wrong"})=>{const t={...pl(),...Fh()};return B.jsxs(Co,{className:t.flexCenter,children:[B.jsx(w$,{fontSize:"medium",className:t.rightSpacer1,color:"error"}),B.jsx(So,{variant:"body2",color:"textSecondary",children:e})]})},wte=ai(B.jsx("path",{d:"M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"CheckCircleOutline"),Rte=ai(B.jsx("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M14 13v4h-4v-4H7l5-5 5 5z"}),"CloudUpload"),Ete=ai(B.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"}),"ErrorOutline"),Tte=ai(B.jsx("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess"),_te=ai(B.jsx("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore"),yS=ai(B.jsx("path",{d:"M12 8V4l8 8-8 8v-4H4V8z"}),"Forward"),Ote=Mi(e=>({listIcon:{minWidth:"auto",paddingRight:"0.25rem"},mainIconSize:{fontSize:"1rem"},mainIconMarginAdjustment:{marginTop:"3px"},textOverflowEllipsis:{overflow:"hidden",textOverflow:"ellipsis"},mainListItem:t=>({padding:"8px 24px 8px 16px",alignItems:"flex-start",backgroundColor:t.mainBackground||e.palette.common.white,color:t.mainText||e.palette.text.primary,borderRadius:e.spacing(.6),"&:hover":{backgroundColor:t.mainHover||e.palette.action.hover}}),mainIconColor:t=>({color:t.mainIcon||e.palette.grey[500]}),activeMainIconColor:t=>({color:t.mainActiveText||"#8FC1FF"}),subListItem:t=>({backgroundColor:t.subItemBackground||"#FFFFFF",color:t.subItemText||e.palette.text.secondary,borderRadius:"8px","&:hover":{backgroundColor:t.subItemHover||"rgba(143,193,255,0.3)"}}),activeSubListItem:t=>({backgroundColor:t.subItemActiveBackground||"#FFFFFF",color:t.subItemActiveText||"#8FC1FF","&:hover":{backgroundColor:t.subItemActiveHover||"rgba(143,193,255,0.3)"}}),subItemBorder:{borderLeft:`1px solid ${e.palette.grey[600]}`,marginLeft:"1px",marginRight:"1px",width:"100%",height:"100%"},relativeWrapper:{position:"relative"},subItemBorderMask:t=>({borderLeft:`3px solid ${t.subItemActiveText||"#8FC1FF"}`,borderRadius:"1px",position:"absolute",top:"50%",bottom:"50%",transition:"all 0.2s ease-in-out"}),activeSubItemBorder:{top:"0 !important",bottom:"0 !important"},subItemWrapper:{display:"flex",marginLeft:"13px",marginRight:"16px"},noYMargin:{marginTop:"unset",marginBottom:"unset"}})),RE=(e,t)=>!!e.split("/").includes(t),R$=({mainItem:e,subItems:t,config:n,Icon:o})=>{var y,C;const s={...Ix(),...pl(),...Ote({...((y=n.secondary)==null?void 0:y.mainItemColors)||{},...((C=n.secondary)==null?void 0:C.subItemColors)||{}})},p=df(),u=RE(p.pathname,e.id),[g,b]=$.useState(t!=null&&t.length?u:!1);return B.jsxs(B.Fragment,{children:[B.jsxs(qm,{button:!0,dense:!0,className:s.mainListItem,component:Uu,to:e.route,children:[B.jsx(oS,{className:`${s.listIcon} ${s.mainIconMarginAdjustment} ${s.rightSpacer1}`,children:B.jsx(o,{id:"second-nav-item",styling:`${s.mainIconSize} ${s.mainIconColor} ${u?s.activeMainIconColor:""}`})}),B.jsx(nE,{disableTypography:!0,className:s.noYMargin,primary:B.jsxs(So,{variant:"body2",className:`${s.bolderText} ${s.textOverflowEllipsis}`,color:"inherit",children:[e.name,t!=null&&t.length?B.jsxs(So,{component:"span",variant:"body2",className:s.bolderText,color:"inherit",children:[" ","(",t.length,")"]}):null]})}),t!=null&&t.length?B.jsx(oS,{className:s.listIcon,onClick:w=>{w.preventDefault(),w.stopPropagation(),b(O=>!O)},children:g?B.jsx(Tte,{}):B.jsx(_te,{})}):null]}),t!=null&&t.length?B.jsx(jx,{in:g,timeout:"auto",unmountOnExit:!0,children:B.jsx(Uh,{component:"div",disablePadding:!0,children:t.map(({name:w,route:O,id:P})=>B.jsxs(Co,{className:s.subItemWrapper,children:[B.jsxs(Co,{className:`${s.relativeWrapper} ${s.rightSpacer1}`,children:[B.jsx(Co,{className:`${s.subItemBorder} `}),B.jsx(Co,{className:`${s.subItemBorderMask} ${RE(p.pathname,P)?s.activeSubItemBorder:""} `})]}),B.jsx(qm,{component:Uu,to:O,button:!0,dense:!0,className:`${s.subListItem} ${RE(p.pathname,P)?s.activeSubListItem:""}`,children:B.jsx(nE,{disableTypography:!0,primary:B.jsx(So,{variant:"body2",className:s.textOverflowEllipsis,color:"inherit",children:w})})},O)]},P))})}):null]})};function EE(e,t){if(t.length<e)throw new TypeError(e+" argument required, but only "+t.length+" present")}function Pte(e){EE(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Ph(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Dte(e){return EE(1,arguments),e instanceof Date||Ph(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function E$(e){if(EE(1,arguments),!Dte(e)&&typeof e!="number")return!1;var t=Pte(e);return!isNaN(Number(t))}function T$(e){return e.sort((t,n)=>+n.startDate.split("T")[0].replaceAll("-","")-+t.startDate.split("T")[0].replaceAll("-",""))}const _$=(e,t,n)=>n?(e&&E$(e)?e:new Date(0)).getTime()===(t&&E$(t)?t:new Date(0)).getTime():e===t;var TE={},kte=vb;Object.defineProperty(TE,"__esModule",{value:!0});var O$=TE.default=void 0,Nte=kte(mb()),Mte=B;O$=TE.default=(0,Nte.default)((0,Mte.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");var _E={},Ate=vb;Object.defineProperty(_E,"__esModule",{value:!0});var P$=_E.default=void 0,$te=Ate(mb()),Ite=B;P$=_E.default=(0,$te.default)((0,Ite.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 16H5V5h14zm-8-2h2v-4h4v-2h-4V7h-2v4H7v2h4z"}),"AddBoxOutlined");const Fte=Mi(e=>({secondaryNavWrapper:{height:"100%",width:"300px",background:"white",overflowY:"auto",overflowX:"hidden",borderTopRightRadius:ju,borderBottomRightRadius:ju,marginLeft:"-16px",paddingLeft:"16px",border:`1px solid ${e.palette.grey[300]}`,boxShadow:"0 2px 4px 0 rgba(0, 0, 0, 0.3)",boxSizing:"border-box"},titleWrapper:{marginTop:"24px",display:"flex",alignItems:"center",paddingLeft:"16px",paddingRight:"16px"},title:{fontSize:"18px",fontWeight:500,color:t=>t.titleColor||"#8FC1FF"},titleIcons:{color:t=>t.titleIconColor||"#8FC1FF"},closeButton:{marginLeft:"auto"},archivedSeparator:{paddingLeft:"8px",color:e.palette.grey[500]},archivedBorder:{marginTop:"3rem",border:`1px solid ${e.palette.grey[200]}`,width:"33%",marginLeft:"8px"},listWrapper:{marginLeft:e.spacing(1),marginRight:e.spacing(1)}})),jte=({secondaryNavItems:e,primaryNavItems:t,expandedOptions:n,setExpandedOptions:o,config:s})=>{var C,w,O,P;const p=h$(),u={titleColor:(C=s.secondary)==null?void 0:C.titleColor,titleIconColor:(w=s.secondary)==null?void 0:w.titleIconColor},g={...pl(),...Ix(),...Fte(u)},b=e[n.view];if(!b)return null;const y=t.find(D=>D.field===n.view).Icon;return B.jsxs(Co,{className:g.secondaryNavWrapper,children:[B.jsxs(Co,{className:g.titleWrapper,children:[B.jsx(So,{className:`${g.rightSpacer1} ${g.title}`,children:n.view}),b.button?B.jsx(lf,{className:g.titleIcons,size:"small",type:"button",onClick:()=>p(b.button.url),children:B.jsx(P$,{})}):null,B.jsx(lf,{className:`${g.titleIcons} ${g.closeButton}`,size:"small",type:"button",onClick:()=>o({view:"",expanded:!1}),children:((O=s.secondary)==null?void 0:O.closeButtonSvg)||B.jsx(O$,{})})]}),B.jsxs(Uh,{className:g.listWrapper,component:"div",children:[T$(b.items).map(D=>B.jsx(R$,{...D,config:s,Icon:y},D.mainItem.route)),(P=b.archivedItems)!=null&&P.length?B.jsxs(B.Fragment,{children:[B.jsx(Co,{className:`${g.archivedBorder} ${g.contentBreak}`}),B.jsxs(So,{variant:"body2",className:`${g.archivedSeparator} ${g.bolderText}`,children:["Archived ",n.view]}),T$(b.archivedItems).map(D=>B.jsx(R$,{...D,config:s,Icon:y},D.mainItem.route))]}):null]})]})},Lte=Mi(e=>({primaryNavContainer:t=>({background:t.background||"linear-gradient(to bottom, #253a68 40%, #73c4ca)",border:`2px solid ${t.activeBorderColor||"#8FC1FF"}`,borderLeft:"none",borderTopRightRadius:ju,borderBottomRightRadius:ju,minWidth:"4.5rem",overflowY:"auto",overflowX:"hidden"}),listWrapper:{display:"flex",flexDirection:"column",paddingTop:0},itemWrapper:{display:"flex",flexDirection:"column",padding:"0.75rem 0.5rem 0.5rem 0.5rem"},itemBorder:{borderRight:t=>`6px solid ${t.activeBorderColor||"#8FC1FF"}`,position:"absolute",bottom:"50%",top:"50%",transition:"all 0.2s ease-in-out",right:"-3px"},activeBorder:{top:"15%",bottom:"15%"},iconWrapper:{minWidth:0,marginBottom:"4px",position:"relative"},itemName:{fontSize:"0.7rem",maxWidth:"3.5rem",textAlign:"center",textOverflow:"ellipsis",overflow:"hidden"},textColour:{color:t=>t.text||"#FFFFFF"},activeTextColour:{color:t=>t.activeText||"#8FC1FF"},lastItem:{marginTop:"auto"}})),Bte=({expandedOptions:e,setExpandedOptions:t,navigationLinks:n,config:o})=>{const s=df(),p=Lte({...o.primary||{}}),u=(g,b)=>e.view===""?s.pathname===b?!0:!!(g!==o.rootRouteName&&s.pathname.startsWith(b)):e.view===g;return B.jsx(Uh,{className:`${p.primaryNavContainer} ${p.listWrapper}`,children:n.map((g,b,y)=>{var C;return B.jsxs(qm,{button:!0,className:`${p.itemWrapper} ${p.textColour} ${(C=o.primary)!=null&&C.moveLastItemToBottom&&b===y.length-1?p.lastItem:""}`,...g.hasSecondary?{}:{component:Uu,to:g.path},onClick:()=>{t({view:g.field,expanded:!!g.hasSecondary})},children:[B.jsx(oS,{className:p.iconWrapper,children:B.jsx(g.Icon,{styling:`${p.textColour} ${u(g.field,g.path)?p.activeTextColour:""}`})}),B.jsx(So,{variant:"caption",className:`${p.itemName} ${p.textColour} ${u(g.field,g.path)?p.activeTextColour:""}`,children:g.field}),B.jsx(Co,{className:`${p.itemBorder} ${u(g.field,g.path)?p.activeBorder:""}`})]},g.field)})})},Vte=Mi({leftNavContainer:{height:"100%",display:"flex",position:"relative",width:"max-content"}}),zte=({primaryNavItems:e,secondaryNavItems:t,config:n})=>{const[o,s]=$.useState({view:"",expanded:!1}),p=Vte(),u=df(),g=e.reduce((b,y)=>y.hasSecondary?[...b,y.field]:b,[]);return $.useEffect(()=>{s(b=>g.includes(b.view)&&b.expanded===!0?b:{view:"",expanded:!1})},[u.pathname]),B.jsxs(Co,{component:"nav",className:p.leftNavContainer,children:[B.jsx(Bte,{expandedOptions:o,setExpandedOptions:s,navigationLinks:e,config:n}),o.expanded&&B.jsx(jte,{secondaryNavItems:t,primaryNavItems:e,expandedOptions:o,setExpandedOptions:s,config:n})]})},Ute=Mi(e=>({remainingHeightBox:{position:"absolute",top:t=>t.topOffset??"4rem",bottom:0,left:0,right:0,display:"flex"},fullHeightFlexbox:{display:"flex",height:"100%"},relativeContainer:{position:"relative"},scrollWrapper:{overflow:"auto",overflowX:"hidden"},componentWrapper:{padding:e.spacing(2),paddingBottom:e.spacing(2),position:"relative"}})),Wte=({sideNavigation:e,children:t,desktopWidth:n,topOffset:o,id:s})=>{const p=Ute({topOffset:o});let u=!1;return n==null||n===!1?u="lg":n===!0?u="xl":u=!1,B.jsxs(Co,{className:p.remainingHeightBox,children:[e?B.jsx(Co,{className:`${p.fullHeightFlexbox} ${p.relativeContainer}`,children:e}):null,B.jsx(Zx,{id:s,disableGutters:!0,maxWidth:!1,className:p.scrollWrapper,children:B.jsx(Zx,{disableGutters:!0,maxWidth:u===!1?!1:u,className:p.componentWrapper,children:t})})]})};var OE={},Hte=vb;Object.defineProperty(OE,"__esModule",{value:!0});var PE=OE.default=void 0,Gte=Hte(mb()),qte=B;PE=OE.default=(0,Gte.default)((0,qte.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"}),"Search");const DE=(e,t,n=250)=>{const o=$.useCallback(e,t);$.useEffect(()=>{const s=setTimeout(o,n);return()=>clearTimeout(s)},[o,n])},kE=(e,t)=>{const n=$.useRef();$.useEffect(()=>{n.current=e}),$.useEffect(()=>{const o=()=>{n.current&&n.current()};if(t!==null){const s=setInterval(o,t);return()=>clearInterval(s)}},[t])};var bS={exports:{}};/**
|
|
519
|
+
* @license
|
|
520
|
+
* Lodash <https://lodash.com/>
|
|
521
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
522
|
+
* Released under MIT license <https://lodash.com/license>
|
|
523
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
524
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
525
|
+
*/bS.exports,function(e,t){(function(){var n,o="4.17.21",s=200,p="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",g="Invalid `variable` option passed into `_.template`",b="__lodash_hash_undefined__",y=500,C="__lodash_placeholder__",w=1,O=2,P=4,D=1,I=2,j=1,z=2,H=4,L=8,U=16,A=32,Q=64,te=128,ue=256,ae=512,pe=30,xe="...",Pe=800,ye=16,de=1,fe=2,Se=3,re=1/0,ce=9007199254740991,ke=17976931348623157e292,Ce=NaN,ge=4294967295,Me=ge-1,Le=ge>>>1,Oe=[["ary",te],["bind",j],["bindKey",z],["curry",L],["curryRight",U],["flip",ae],["partial",A],["partialRight",Q],["rearg",ue]],Ve="[object Arguments]",ze="[object Array]",We="[object AsyncFunction]",Ye="[object Boolean]",ot="[object Date]",yt="[object DOMException]",Ze="[object Error]",Te="[object Function]",tt="[object GeneratorFunction]",Ge="[object Map]",et="[object Number]",xt="[object Null]",Yt="[object Object]",_t="[object Promise]",Jt="[object Proxy]",rt="[object RegExp]",ut="[object Set]",Kt="[object String]",En="[object Symbol]",yn="[object Undefined]",Hn="[object WeakMap]",sr="[object WeakSet]",Kn="[object ArrayBuffer]",Gn="[object DataView]",xn="[object Float32Array]",Or="[object Float64Array]",Vt="[object Int8Array]",Xt="[object Int16Array]",vn="[object Int32Array]",zt="[object Uint8Array]",mn="[object Uint8ClampedArray]",Xn="[object Uint16Array]",Pr="[object Uint32Array]",lo=/\b__p \+= '';/g,oo=/\b(__p \+=) '' \+/g,No=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ui=/&(?:amp|lt|gt|quot|#39);/g,Zo=/[&<>"']/g,$i=RegExp(Ui.source),$r=RegExp(Zo.source),mo=/<%-([\s\S]+?)%>/g,Oo=/<%([\s\S]+?)%>/g,po=/<%=([\s\S]+?)%>/g,ea=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,wo=/^\w*$/,ka=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ne=/[\\^$.*+?()[\]{}|]/g,At=RegExp(Ne.source),Qt=/^\s+/,Fn=/\s/,tr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,jn=/\{\n\/\* \[wrapped with (.+)\] \*/,vr=/,? & /,mr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,io=/[()=,{}\[\]\/\s]/,Vr=/\\(\\)?/g,eo=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ei=/\w*$/,ti=/^[-+]0x[0-9a-f]+$/i,Wi=/^0b[01]+$/i,Mo=/^\[object .+?Constructor\]$/,Ja=/^0o[0-7]+$/i,Ks=/^(?:0|[1-9]\d*)$/,gr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,vo=/($^)/,bi=/['\n\r\u2028\u2029\\]/g,Ha="\\ud800-\\udfff",ms="\\u0300-\\u036f",ta="\\ufe20-\\ufe2f",Ds="\\u20d0-\\u20ff",Ga=ms+ta+Ds,Xs="\\u2700-\\u27bf",es="a-z\\xdf-\\xf6\\xf8-\\xff",Zl="\\xac\\xb1\\xd7\\xf7",ks="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ns="\\u2000-\\u206f",na=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Na="A-Z\\xc0-\\xd6\\xd8-\\xde",Hi="\\ufe0e\\ufe0f",Ma=Zl+ks+Ns+na,ra="['’]",on="["+Ha+"]",ts="["+Ma+"]",ni="["+Ga+"]",Aa="\\d+",qa="["+Xs+"]",$a="["+es+"]",li="[^"+Ha+Ma+Aa+Xs+es+Na+"]",Bo="\\ud83c[\\udffb-\\udfff]",Ii="(?:"+ni+"|"+Bo+")",Jl="[^"+Ha+"]",xi="(?:\\ud83c[\\udde6-\\uddff]){2}",Si="[\\ud800-\\udbff][\\udc00-\\udfff]",Ya="["+Na+"]",gs="\\u200d",Ia="(?:"+$a+"|"+li+")",ml="(?:"+Ya+"|"+li+")",gl="(?:"+ra+"(?:d|ll|m|re|s|t|ve))?",Ms="(?:"+ra+"(?:D|LL|M|RE|S|T|VE))?",yl=Ii+"?",J="["+Hi+"]?",Be="(?:"+gs+"(?:"+[Jl,xi,Si].join("|")+")"+J+yl+")*",it="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",St="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",sn=J+yl+Be,cr="(?:"+[qa,xi,Si].join("|")+")"+sn,Zn="(?:"+[Jl+ni+"?",ni,xi,Si,on].join("|")+")",rr=RegExp(ra,"g"),Ln=RegExp(ni,"g"),Kr=RegExp(Bo+"(?="+Bo+")|"+Zn+sn,"g"),yo=RegExp([Ya+"?"+$a+"+"+gl+"(?="+[ts,Ya,"$"].join("|")+")",ml+"+"+Ms+"(?="+[ts,Ya+Ia,"$"].join("|")+")",Ya+"?"+Ia+"+"+gl,Ya+"+"+Ms,St,it,Aa,cr].join("|"),"g"),Ao=RegExp("["+gs+Ha+Ga+Hi+"]"),Xo=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Fi=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ui=-1,Ur={};Ur[xn]=Ur[Or]=Ur[Vt]=Ur[Xt]=Ur[vn]=Ur[zt]=Ur[mn]=Ur[Xn]=Ur[Pr]=!0,Ur[Ve]=Ur[ze]=Ur[Kn]=Ur[Ye]=Ur[Gn]=Ur[ot]=Ur[Ze]=Ur[Te]=Ur[Ge]=Ur[et]=Ur[Yt]=Ur[rt]=Ur[ut]=Ur[Kt]=Ur[Hn]=!1;var ao={};ao[Ve]=ao[ze]=ao[Kn]=ao[Gn]=ao[Ye]=ao[ot]=ao[xn]=ao[Or]=ao[Vt]=ao[Xt]=ao[vn]=ao[Ge]=ao[et]=ao[Yt]=ao[rt]=ao[ut]=ao[Kt]=ao[En]=ao[zt]=ao[mn]=ao[Xn]=ao[Pr]=!0,ao[Ze]=ao[Te]=ao[Hn]=!1;var As={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Ka={"&":"&","<":"<",">":">",'"':""","'":"'"},bl={"&":"&","<":"<",">":">",""":'"',"'":"'"},Gu={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Qs=parseFloat,xl=parseInt,eu=typeof Pc=="object"&&Pc&&Pc.Object===Object&&Pc,T=typeof self=="object"&&self&&self.Object===Object&&self,q=eu||T||Function("return this")(),ee=t&&!t.nodeType&&t,ie=ee&&!0&&e&&!e.nodeType&&e,_e=ie&&ie.exports===ee,me=_e&&eu.process,De=function(){try{var Fe=ie&&ie.require&&ie.require("util").types;return Fe||me&&me.binding&&me.binding("util")}catch{}}(),lt=De&&De.isArrayBuffer,ft=De&&De.isDate,vt=De&&De.isMap,Ht=De&&De.isRegExp,Wt=De&&De.isSet,kt=De&&De.isTypedArray;function ht(Fe,pt,Je){switch(Je.length){case 0:return Fe.call(pt);case 1:return Fe.call(pt,Je[0]);case 2:return Fe.call(pt,Je[0],Je[1]);case 3:return Fe.call(pt,Je[0],Je[1],Je[2])}return Fe.apply(pt,Je)}function Bt(Fe,pt,Je,rn){for(var dr=-1,ur=Fe==null?0:Fe.length;++dr<ur;){var co=Fe[dr];pt(rn,co,Je(co),Fe)}return rn}function Ut(Fe,pt){for(var Je=-1,rn=Fe==null?0:Fe.length;++Je<rn&&pt(Fe[Je],Je,Fe)!==!1;);return Fe}function ln(Fe,pt){for(var Je=Fe==null?0:Fe.length;Je--&&pt(Fe[Je],Je,Fe)!==!1;);return Fe}function On(Fe,pt){for(var Je=-1,rn=Fe==null?0:Fe.length;++Je<rn;)if(!pt(Fe[Je],Je,Fe))return!1;return!0}function Jn(Fe,pt){for(var Je=-1,rn=Fe==null?0:Fe.length,dr=0,ur=[];++Je<rn;){var co=Fe[Je];pt(co,Je,Fe)&&(ur[dr++]=co)}return ur}function bn(Fe,pt){var Je=Fe==null?0:Fe.length;return!!Je&&F(Fe,pt,0)>-1}function Gt(Fe,pt,Je){for(var rn=-1,dr=Fe==null?0:Fe.length;++rn<dr;)if(Je(pt,Fe[rn]))return!0;return!1}function fn(Fe,pt){for(var Je=-1,rn=Fe==null?0:Fe.length,dr=Array(rn);++Je<rn;)dr[Je]=pt(Fe[Je],Je,Fe);return dr}function pn(Fe,pt){for(var Je=-1,rn=pt.length,dr=Fe.length;++Je<rn;)Fe[dr+Je]=pt[Je];return Fe}function Dn(Fe,pt,Je,rn){var dr=-1,ur=Fe==null?0:Fe.length;for(rn&&ur&&(Je=Fe[++dr]);++dr<ur;)Je=pt(Je,Fe[dr],dr,Fe);return Je}function fr(Fe,pt,Je,rn){var dr=Fe==null?0:Fe.length;for(rn&&dr&&(Je=Fe[--dr]);dr--;)Je=pt(Je,Fe[dr],dr,Fe);return Je}function Sn(Fe,pt){for(var Je=-1,rn=Fe==null?0:Fe.length;++Je<rn;)if(pt(Fe[Je],Je,Fe))return!0;return!1}var qn=we("length");function to(Fe){return Fe.split("")}function lr(Fe){return Fe.match(mr)||[]}function Wr(Fe,pt,Je){var rn;return Je(Fe,function(dr,ur,co){if(pt(dr,ur,co))return rn=ur,!1}),rn}function _(Fe,pt,Je,rn){for(var dr=Fe.length,ur=Je+(rn?1:-1);rn?ur--:++ur<dr;)if(pt(Fe[ur],ur,Fe))return ur;return-1}function F(Fe,pt,Je){return pt===pt?br(Fe,pt,Je):_(Fe,Y,Je)}function K(Fe,pt,Je,rn){for(var dr=Je-1,ur=Fe.length;++dr<ur;)if(rn(Fe[dr],pt))return dr;return-1}function Y(Fe){return Fe!==Fe}function he(Fe,pt){var Je=Fe==null?0:Fe.length;return Je?ct(Fe,pt)/Je:Ce}function we(Fe){return function(pt){return pt==null?n:pt[Fe]}}function le(Fe){return function(pt){return Fe==null?n:Fe[pt]}}function Ae(Fe,pt,Je,rn,dr){return dr(Fe,function(ur,co,ho){Je=rn?(rn=!1,ur):pt(Je,ur,co,ho)}),Je}function Qe(Fe,pt){var Je=Fe.length;for(Fe.sort(pt);Je--;)Fe[Je]=Fe[Je].value;return Fe}function ct(Fe,pt){for(var Je,rn=-1,dr=Fe.length;++rn<dr;){var ur=pt(Fe[rn]);ur!==n&&(Je=Je===n?ur:Je+ur)}return Je}function gt(Fe,pt){for(var Je=-1,rn=Array(Fe);++Je<Fe;)rn[Je]=pt(Je);return rn}function en(Fe,pt){return fn(pt,function(Je){return[Je,Fe[Je]]})}function Dt(Fe){return Fe&&Fe.slice(0,Po(Fe)+1).replace(Qt,"")}function Mt(Fe){return function(pt){return Fe(pt)}}function nn(Fe,pt){return fn(pt,function(Je){return Fe[Je]})}function Ct(Fe,pt){return Fe.has(pt)}function gn(Fe,pt){for(var Je=-1,rn=Fe.length;++Je<rn&&F(pt,Fe[Je],0)>-1;);return Je}function $n(Fe,pt){for(var Je=Fe.length;Je--&&F(pt,Fe[Je],0)>-1;);return Je}function or(Fe,pt){for(var Je=Fe.length,rn=0;Je--;)Fe[Je]===pt&&++rn;return rn}var an=le(As),yr=le(Ka);function Dr(Fe){return"\\"+Gu[Fe]}function cn(Fe,pt){return Fe==null?n:Fe[pt]}function Zt(Fe){return Ao.test(Fe)}function un(Fe){return Xo.test(Fe)}function Nn(Fe){for(var pt,Je=[];!(pt=Fe.next()).done;)Je.push(pt.value);return Je}function ar(Fe){var pt=-1,Je=Array(Fe.size);return Fe.forEach(function(rn,dr){Je[++pt]=[dr,rn]}),Je}function wr(Fe,pt){return function(Je){return Fe(pt(Je))}}function Xr(Fe,pt){for(var Je=-1,rn=Fe.length,dr=0,ur=[];++Je<rn;){var co=Fe[Je];(co===pt||co===C)&&(Fe[Je]=C,ur[dr++]=Je)}return ur}function Cn(Fe){var pt=-1,Je=Array(Fe.size);return Fe.forEach(function(rn){Je[++pt]=rn}),Je}function Ci(Fe){var pt=-1,Je=Array(Fe.size);return Fe.forEach(function(rn){Je[++pt]=[rn,rn]}),Je}function br(Fe,pt,Je){for(var rn=Je-1,dr=Fe.length;++rn<dr;)if(Fe[rn]===pt)return rn;return-1}function In(Fe,pt,Je){for(var rn=Je+1;rn--;)if(Fe[rn]===pt)return rn;return rn}function Mn(Fe){return Zt(Fe)?qu(Fe):qn(Fe)}function Hr(Fe){return Zt(Fe)?nr(Fe):to(Fe)}function Po(Fe){for(var pt=Fe.length;pt--&&Fn.test(Fe.charAt(pt)););return pt}var tu=le(bl);function qu(Fe){for(var pt=Kr.lastIndex=0;Kr.test(Fe);)++pt;return pt}function nr(Fe){return Fe.match(Kr)||[]}function Ro(Fe){return Fe.match(yo)||[]}var ci=function Fe(pt){pt=pt==null?q:di.defaults(q.Object(),pt,di.pick(q,Fi));var Je=pt.Array,rn=pt.Date,dr=pt.Error,ur=pt.Function,co=pt.Math,ho=pt.Object,Zs=pt.RegExp,Sl=pt.String,wi=pt.TypeError,Xa=Je.prototype,Ac=ur.prototype,Qa=ho.prototype,$c=pt["__core-js_shared__"],Js=Ac.toString,jr=Qa.hasOwnProperty,Ic=0,nu=function(){var c=/[^.]+$/.exec($c&&$c.keys&&$c.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}(),Cl=Qa.toString,qh=Js.call(ho),Yh=q._,Sd=Zs("^"+Js.call(jr).replace(Ne,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),wp=_e?pt.Buffer:n,wl=pt.Symbol,Fc=pt.Uint8Array,Vo=wp?wp.allocUnsafe:n,jc=wr(ho.getPrototypeOf,ho),Rp=ho.create,Rl=Qa.propertyIsEnumerable,Lc=Xa.splice,pf=wl?wl.isConcatSpreadable:n,ru=wl?wl.iterator:n,El=wl?wl.toStringTag:n,ou=function(){try{var c=Oi(ho,"defineProperty");return c({},"",{}),c}catch{}}(),sg=pt.clearTimeout!==q.clearTimeout&&pt.clearTimeout,Ep=rn&&rn.now!==q.Date.now&&rn.now,Kh=pt.setTimeout!==q.setTimeout&&pt.setTimeout,Cd=co.ceil,iu=co.floor,Bc=ho.getOwnPropertySymbols,wd=wp?wp.isBuffer:n,Xh=pt.isFinite,Tp=Xa.join,Yu=wr(ho.keys,ho),Gi=co.max,fi=co.min,_p=rn.now,Vc=pt.parseInt,el=co.random,Op=Xa.reverse,wa=Oi(pt,"DataView"),Rd=Oi(pt,"Map"),au=Oi(pt,"Promise"),fa=Oi(pt,"Set"),oa=Oi(pt,"WeakMap"),ys=Oi(ho,"create"),hf=oa&&new oa,Ku={},$o=Ts(wa),Za=Ts(Rd),Ir=Ts(au),Rr=Ts(fa),Xu=Ts(oa),zo=wl?wl.prototype:n,ji=zo?zo.valueOf:n,su=zo?zo.toString:n;function ne(c){if(Pi(c)&&!Yr(c)&&!(c instanceof Gr)){if(c instanceof Ra)return c;if(jr.call(c,"__wrapped__"))return id(c)}return new Ra(c)}var Ri=function(){function c(){}return function(h){if(!Vi(h))return{};if(Rp)return Rp(h);c.prototype=h;var S=new c;return c.prototype=n,S}}();function bs(){}function Ra(c,h){this.__wrapped__=c,this.__actions__=[],this.__chain__=!!h,this.__index__=0,this.__values__=n}ne.templateSettings={escape:mo,evaluate:Oo,interpolate:po,variable:"",imports:{_:ne}},ne.prototype=bs.prototype,ne.prototype.constructor=ne,Ra.prototype=Ri(bs.prototype),Ra.prototype.constructor=Ra;function Gr(c){this.__wrapped__=c,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ge,this.__views__=[]}function $s(){var c=new Gr(this.__wrapped__);return c.__actions__=Eo(this.__actions__),c.__dir__=this.__dir__,c.__filtered__=this.__filtered__,c.__iteratees__=Eo(this.__iteratees__),c.__takeCount__=this.__takeCount__,c.__views__=Eo(this.__views__),c}function lg(){if(this.__filtered__){var c=new Gr(this);c.__dir__=-1,c.__filtered__=!0}else c=this.clone(),c.__dir__*=-1;return c}function Qh(){var c=this.__wrapped__.value(),h=this.__dir__,S=Yr(c),N=h<0,X=S?c.length:0,se=If(0,X,this.__views__),Ee=se.start,$e=se.end,He=$e-Ee,wt=N?$e:Ee-1,Et=this.__iteratees__,$t=Et.length,dn=0,Yn=fi(He,this.__takeCount__);if(!S||!N&&X==He&&Yn==He)return Pf(c,this.__actions__);var Cr=[];e:for(;He--&&dn<Yn;){wt+=h;for(var _r=-1,hr=c[wt];++_r<$t;){var so=Et[_r],fo=so.iteratee,ds=so.type,ga=fo(hr);if(ds==fe)hr=ga;else if(!ga){if(ds==de)continue e;break e}}Cr[dn++]=hr}return Cr}Gr.prototype=Ri(bs.prototype),Gr.prototype.constructor=Gr;function xs(c){var h=-1,S=c==null?0:c.length;for(this.clear();++h<S;){var N=c[h];this.set(N[0],N[1])}}function vf(){this.__data__=ys?ys(null):{},this.size=0}function tl(c){var h=this.has(c)&&delete this.__data__[c];return this.size-=h?1:0,h}function mf(c){var h=this.__data__;if(ys){var S=h[c];return S===b?n:S}return jr.call(h,c)?h[c]:n}function _b(c){var h=this.__data__;return ys?h[c]!==n:jr.call(h,c)}function Qu(c,h){var S=this.__data__;return this.size+=this.has(c)?0:1,S[c]=ys&&h===n?b:h,this}xs.prototype.clear=vf,xs.prototype.delete=tl,xs.prototype.get=mf,xs.prototype.has=_b,xs.prototype.set=Qu;function Is(c){var h=-1,S=c==null?0:c.length;for(this.clear();++h<S;){var N=c[h];this.set(N[0],N[1])}}function ug(){this.__data__=[],this.size=0}function Pp(c){var h=this.__data__,S=Hc(h,c);if(S<0)return!1;var N=h.length-1;return S==N?h.pop():Lc.call(h,S,1),--this.size,!0}function cg(c){var h=this.__data__,S=Hc(h,c);return S<0?n:h[S][1]}function Zh(c){return Hc(this.__data__,c)>-1}function Jh(c,h){var S=this.__data__,N=Hc(S,c);return N<0?(++this.size,S.push([c,h])):S[N][1]=h,this}Is.prototype.clear=ug,Is.prototype.delete=Pp,Is.prototype.get=cg,Is.prototype.has=Zh,Is.prototype.set=Jh;function nl(c){var h=-1,S=c==null?0:c.length;for(this.clear();++h<S;){var N=c[h];this.set(N[0],N[1])}}function ev(){this.size=0,this.__data__={hash:new xs,map:new(Rd||Is),string:new xs}}function dg(c){var h=bu(this,c).delete(c);return this.size-=h?1:0,h}function Tl(c){return bu(this,c).get(c)}function Dp(c){return bu(this,c).has(c)}function gf(c,h){var S=bu(this,c),N=S.size;return S.set(c,h),this.size+=S.size==N?0:1,this}nl.prototype.clear=ev,nl.prototype.delete=dg,nl.prototype.get=Tl,nl.prototype.has=Dp,nl.prototype.set=gf;function Zu(c){var h=-1,S=c==null?0:c.length;for(this.__data__=new nl;++h<S;)this.add(c[h])}function Ea(c){return this.__data__.set(c,b),this}function Ed(c){return this.__data__.has(c)}Zu.prototype.add=Zu.prototype.push=Ea,Zu.prototype.has=Ed;function Ss(c){var h=this.__data__=new Is(c);this.size=h.size}function zc(){this.__data__=new Is,this.size=0}function Uc(c){var h=this.__data__,S=h.delete(c);return this.size=h.size,S}function pa(c){return this.__data__.get(c)}function lu(c){return this.__data__.has(c)}function Ju(c,h){var S=this.__data__;if(S instanceof Is){var N=S.__data__;if(!Rd||N.length<s-1)return N.push([c,h]),this.size=++S.size,this;S=this.__data__=new nl(N)}return S.set(c,h),this.size=S.size,this}Ss.prototype.clear=zc,Ss.prototype.delete=Uc,Ss.prototype.get=pa,Ss.prototype.has=lu,Ss.prototype.set=Ju;function ia(c,h){var S=Yr(c),N=!S&&Ld(c),X=!S&&!N&&Bd(c),se=!S&&!N&&!X&&ih(c),Ee=S||N||X||se,$e=Ee?gt(c.length,Sl):[],He=$e.length;for(var wt in c)(h||jr.call(c,wt))&&!(Ee&&(wt=="length"||X&&(wt=="offset"||wt=="parent")||se&&(wt=="buffer"||wt=="byteLength"||wt=="byteOffset")||ja(wt,He)))&&$e.push(wt);return $e}function uu(c){var h=c.length;return h?c[ol(0,h-1)]:n}function ec(c,h){return Wf(Eo(c),nc(h,0,c.length))}function _l(c){return Wf(Eo(c))}function Td(c,h,S){(S!==n&&!Ll(c[h],S)||S===n&&!(h in c))&&qi(c,h,S)}function Wc(c,h,S){var N=c[h];(!(jr.call(c,h)&&Ll(N,S))||S===n&&!(h in c))&&qi(c,h,S)}function Hc(c,h){for(var S=c.length;S--;)if(Ll(c[S][0],h))return S;return-1}function tv(c,h,S,N){return rl(c,function(X,se,Ee){h(N,X,S(X),Ee)}),N}function tc(c,h){return c&&Ta(h,Ba(h),c)}function Cs(c,h){return c&&Ta(h,zs(h),c)}function qi(c,h,S){h=="__proto__"&&ou?ou(c,h,{configurable:!0,enumerable:!0,value:S,writable:!0}):c[h]=S}function yf(c,h){for(var S=-1,N=h.length,X=Je(N),se=c==null;++S<N;)X[S]=se?n:Wb(c,h[S]);return X}function nc(c,h,S){return c===c&&(S!==n&&(c=c<=S?c:S),h!==n&&(c=c>=h?c:h)),c}function Ei(c,h,S,N,X,se){var Ee,$e=h&w,He=h&O,wt=h&P;if(S&&(Ee=X?S(c,N,X,se):S(c)),Ee!==n)return Ee;if(!Vi(c))return c;var Et=Yr(c);if(Et){if(Ee=Fd(c),!$e)return Eo(c,Ee)}else{var $t=va(c),dn=$t==Te||$t==tt;if(Bd(c))return sv(c,$e);if($t==Yt||$t==Ve||dn&&!X){if(Ee=He||dn?{}:Tn(c),!$e)return He?Ad(c,Cs(Ee,c)):bo(c,tc(Ee,c))}else{if(!ao[$t])return X?c:{};Ee=jf(c,$t,$e)}}se||(se=new Ss);var Yn=se.get(c);if(Yn)return Yn;se.set(c,Ee),Ig(c)?c.forEach(function(hr){Ee.add(Ei(hr,h,S,hr,c,se))}):$g(c)&&c.forEach(function(hr,so){Ee.set(so,Ei(hr,h,S,so,c,se))});var Cr=wt?He?Er:yu:He?zs:Ba,_r=Et?n:Cr(c);return Ut(_r||c,function(hr,so){_r&&(so=hr,hr=c[so]),Wc(Ee,so,Ei(hr,h,S,so,c,se))}),Ee}function cu(c){var h=Ba(c);return function(S){return nv(S,c,h)}}function nv(c,h,S){var N=S.length;if(c==null)return!N;for(c=ho(c);N--;){var X=S[N],se=h[X],Ee=c[X];if(Ee===n&&!(X in c)||!se(Ee))return!1}return!0}function Ol(c,h,S){if(typeof c!="function")throw new wi(u);return Fl(function(){c.apply(n,S)},h)}function Gc(c,h,S,N){var X=-1,se=bn,Ee=!0,$e=c.length,He=[],wt=h.length;if(!$e)return He;S&&(h=fn(h,Mt(S))),N?(se=Gt,Ee=!1):h.length>=s&&(se=Ct,Ee=!1,h=new Zu(h));e:for(;++X<$e;){var Et=c[X],$t=S==null?Et:S(Et);if(Et=N||Et!==0?Et:0,Ee&&$t===$t){for(var dn=wt;dn--;)if(h[dn]===$t)continue e;He.push(Et)}else se(h,$t,N)||He.push(Et)}return He}var rl=Df(ns),_d=Df(xf,!0);function Od(c,h){var S=!0;return rl(c,function(N,X,se){return S=!!h(N,X,se),S}),S}function rc(c,h,S){for(var N=-1,X=c.length;++N<X;){var se=c[N],Ee=h(se);if(Ee!=null&&($e===n?Ee===Ee&&!Vs(Ee):S(Ee,$e)))var $e=Ee,He=se}return He}function qc(c,h,S,N){var X=c.length;for(S=Qr(S),S<0&&(S=-S>X?0:X+S),N=N===n||N>X?X:Qr(N),N<0&&(N+=X),N=S>N?0:rC(N);S<N;)c[S++]=h;return c}function bf(c,h){var S=[];return rl(c,function(N,X,se){h(N,X,se)&&S.push(N)}),S}function Yi(c,h,S,N,X){var se=-1,Ee=c.length;for(S||(S=$l),X||(X=[]);++se<Ee;){var $e=c[se];h>0&&S($e)?h>1?Yi($e,h-1,S,N,X):pn(X,$e):N||(X[X.length]=$e)}return X}var du=rd(),Yc=rd(!0);function ns(c,h){return c&&du(c,h,Ba)}function xf(c,h){return c&&Yc(c,h,Ba)}function oc(c,h){return Jn(h,function(S){return bc(c[S])})}function fu(c,h){h=la(h,c);for(var S=0,N=h.length;c!=null&&S<N;)c=c[js(h[S++])];return S&&S==N?c:n}function ic(c,h,S){var N=h(c);return Yr(c)?N:pn(N,S(c))}function ri(c){return c==null?c===n?yn:xt:El&&El in ho(c)?il(c):Es(c)}function Kc(c,h){return c>h}function Sf(c,h){return c!=null&&jr.call(c,h)}function Xc(c,h){return c!=null&&h in ho(c)}function Cf(c,h,S){return c>=fi(h,S)&&c<Gi(h,S)}function ac(c,h,S){for(var N=S?Gt:bn,X=c[0].length,se=c.length,Ee=se,$e=Je(se),He=1/0,wt=[];Ee--;){var Et=c[Ee];Ee&&h&&(Et=fn(Et,Mt(h))),He=fi(Et.length,He),$e[Ee]=!S&&(h||X>=120&&Et.length>=120)?new Zu(Ee&&Et):n}Et=c[0];var $t=-1,dn=$e[0];e:for(;++$t<X&&wt.length<He;){var Yn=Et[$t],Cr=h?h(Yn):Yn;if(Yn=S||Yn!==0?Yn:0,!(dn?Ct(dn,Cr):N(wt,Cr,S))){for(Ee=se;--Ee;){var _r=$e[Ee];if(!(_r?Ct(_r,Cr):N(c[Ee],Cr,S)))continue e}dn&&dn.push(Cr),wt.push(Yn)}}return wt}function fg(c,h,S,N){return ns(c,function(X,se,Ee){h(N,S(X),se,Ee)}),N}function Qc(c,h,S){h=la(h,c),c=Cu(c,h);var N=c==null?c:c[js(ma(h))];return N==null?n:ht(N,c,S)}function pi(c){return Pi(c)&&ri(c)==Ve}function wf(c){return Pi(c)&&ri(c)==Kn}function Pl(c){return Pi(c)&&ri(c)==ot}function ws(c,h,S,N,X){return c===h?!0:c==null||h==null||!Pi(c)&&!Pi(h)?c!==c&&h!==h:Dl(c,h,S,N,ws,X)}function Dl(c,h,S,N,X,se){var Ee=Yr(c),$e=Yr(h),He=Ee?ze:va(c),wt=$e?ze:va(h);He=He==Ve?Yt:He,wt=wt==Ve?Yt:wt;var Et=He==Yt,$t=wt==Yt,dn=He==wt;if(dn&&Bd(c)){if(!Bd(h))return!1;Ee=!0,Et=!1}if(dn&&!Et)return se||(se=new Ss),Ee||ih(c)?gv(c,h,S,N,X,se):Pb(c,h,He,S,N,X,se);if(!(S&D)){var Yn=Et&&jr.call(c,"__wrapped__"),Cr=$t&&jr.call(h,"__wrapped__");if(Yn||Cr){var _r=Yn?c.value():c,hr=Cr?h.value():h;return se||(se=new Ss),X(_r,hr,S,N,se)}}return dn?(se||(se=new Ss),$f(c,h,S,N,X,se)):!1}function rv(c){return Pi(c)&&va(c)==Ge}function kp(c,h,S,N){var X=S.length,se=X,Ee=!N;if(c==null)return!se;for(c=ho(c);X--;){var $e=S[X];if(Ee&&$e[2]?$e[1]!==c[$e[0]]:!($e[0]in c))return!1}for(;++X<se;){$e=S[X];var He=$e[0],wt=c[He],Et=$e[1];if(Ee&&$e[2]){if(wt===n&&!(He in c))return!1}else{var $t=new Ss;if(N)var dn=N(wt,Et,He,c,h,$t);if(!(dn===n?ws(Et,wt,D|I,N,$t):dn))return!1}}return!0}function pu(c){if(!Vi(c)||Su(c))return!1;var h=bc(c)?Sd:Mo;return h.test(Ts(c))}function Rf(c){return Pi(c)&&ri(c)==rt}function Ef(c){return Pi(c)&&va(c)==ut}function Pd(c){return Pi(c)&&oh(c.length)&&!!Ur[ri(c)]}function sc(c){return typeof c=="function"?c:c==null?us:typeof c=="object"?Yr(c)?aa(c[0],c[1]):Jo(c):Wd(c)}function kl(c){if(!fc(c))return Yu(c);var h=[];for(var S in ho(c))jr.call(c,S)&&S!="constructor"&&h.push(S);return h}function Dd(c){if(!Vi(c))return Wp(c);var h=fc(c),S=[];for(var N in c)N=="constructor"&&(h||!jr.call(c,N))||S.push(N);return S}function Ki(c,h){return c<h}function Zc(c,h){var S=-1,N=La(c)?Je(c.length):[];return rl(c,function(X,se,Ee){N[++S]=h(X,se,Ee)}),N}function Jo(c){var h=Xi(c);return h.length==1&&h[0][2]?Il(h[0][0],h[0][1]):function(S){return S===c||kp(S,c,h)}}function aa(c,h){return od(c)&&Vf(h)?Il(js(c),h):function(S){var N=Wb(S,c);return N===n&&N===h?Hb(S,c):ws(h,N,D|I)}}function Li(c,h,S,N,X){c!==h&&du(h,function(se,Ee){if(X||(X=new Ss),Vi(se))Tf(c,h,Ee,S,Li,N,X);else{var $e=N?N(as(c,Ee),se,Ee+"",c,h,X):n;$e===n&&($e=se),Td(c,Ee,$e)}},zs)}function Tf(c,h,S,N,X,se,Ee){var $e=as(c,S),He=as(h,S),wt=Ee.get(He);if(wt){Td(c,S,wt);return}var Et=se?se($e,He,S+"",c,h,Ee):n,$t=Et===n;if($t){var dn=Yr(He),Yn=!dn&&Bd(He),Cr=!dn&&!Yn&&ih(He);Et=He,dn||Yn||Cr?Yr($e)?Et=$e:ua($e)?Et=Eo($e):Yn?($t=!1,Et=sv(He,!0)):Cr?($t=!1,Et=Ip(He,!0)):Et=[]:Fv(He)||Ld(He)?(Et=$e,Ld($e)?Et=oC($e):(!Vi($e)||bc($e))&&(Et=Tn(He))):$t=!1}$t&&(Ee.set(He,Et),X(Et,He,N,se,Ee),Ee.delete(He)),Td(c,S,Et)}function hu(c,h){var S=c.length;if(S)return h+=h<0?S:0,ja(h,S)?c[h]:n}function Fa(c,h,S){h.length?h=fn(h,function(se){return Yr(se)?function(Ee){return fu(Ee,se.length===1?se[0]:se)}:se}):h=[us];var N=-1;h=fn(h,Mt(Qn()));var X=Zc(c,function(se,Ee,$e){var He=fn(h,function(wt){return wt(se)});return{criteria:He,index:++N,value:se}});return Qe(X,function(se,Ee){return ha(se,Ee,S)})}function vu(c,h){return Np(c,h,function(S,N){return Hb(c,N)})}function Np(c,h,S){for(var N=-1,X=h.length,se={};++N<X;){var Ee=h[N],$e=fu(c,Ee);S($e,Ee)&&Nl(se,la(Ee,c),$e)}return se}function Pt(c){return function(h){return fu(h,c)}}function Ti(c,h,S,N){var X=N?K:F,se=-1,Ee=h.length,$e=c;for(c===h&&(h=Eo(h)),S&&($e=fn(c,Mt(S)));++se<Ee;)for(var He=0,wt=h[se],Et=S?S(wt):wt;(He=X($e,Et,He,N))>-1;)$e!==c&&Lc.call($e,He,1),Lc.call(c,He,1);return c}function no(c,h){for(var S=c?h.length:0,N=S-1;S--;){var X=h[S];if(S==N||X!==se){var se=X;ja(X)?Lc.call(c,X,1):Do(c,X)}}return c}function ol(c,h){return c+iu(el()*(h-c+1))}function Jc(c,h,S,N){for(var X=-1,se=Gi(Cd((h-c)/(S||1)),0),Ee=Je(se);se--;)Ee[N?se:++X]=c,c+=S;return Ee}function ed(c,h){var S="";if(!c||h<1||h>ce)return S;do h%2&&(S+=c),h=iu(h/2),h&&(c+=c);while(h);return S}function qr(c,h){return Uf(sl(c,h,us),c+"")}function ov(c){return uu(Ru(c))}function kd(c,h){var S=Ru(c);return Wf(S,nc(h,0,S.length))}function Nl(c,h,S,N){if(!Vi(c))return c;h=la(h,c);for(var X=-1,se=h.length,Ee=se-1,$e=c;$e!=null&&++X<se;){var He=js(h[X]),wt=S;if(He==="__proto__"||He==="constructor"||He==="prototype")return c;if(X!=Ee){var Et=$e[He];wt=N?N(Et,He,$e):n,wt===n&&(wt=Vi(Et)?Et:ja(h[X+1])?[]:{})}Wc($e,He,wt),$e=$e[He]}return c}var Mp=hf?function(c,h){return hf.set(c,h),c}:us,mu=ou?function(c,h){return ou(c,"toString",{configurable:!0,enumerable:!1,value:Zb(h),writable:!0})}:us;function Nd(c){return Wf(Ru(c))}function sa(c,h,S){var N=-1,X=c.length;h<0&&(h=-h>X?0:X+h),S=S>X?X:S,S<0&&(S+=X),X=h>S?0:S-h>>>0,h>>>=0;for(var se=Je(X);++N<X;)se[N]=c[N+h];return se}function Ap(c,h){var S;return rl(c,function(N,X,se){return S=h(N,X,se),!S}),!!S}function lc(c,h,S){var N=0,X=c==null?N:c.length;if(typeof h=="number"&&h===h&&X<=Le){for(;N<X;){var se=N+X>>>1,Ee=c[se];Ee!==null&&!Vs(Ee)&&(S?Ee<=h:Ee<h)?N=se+1:X=se}return X}return _f(c,h,us,S)}function _f(c,h,S,N){var X=0,se=c==null?0:c.length;if(se===0)return 0;h=S(h);for(var Ee=h!==h,$e=h===null,He=Vs(h),wt=h===n;X<se;){var Et=iu((X+se)/2),$t=S(c[Et]),dn=$t!==n,Yn=$t===null,Cr=$t===$t,_r=Vs($t);if(Ee)var hr=N||Cr;else wt?hr=Cr&&(N||dn):$e?hr=Cr&&dn&&(N||!Yn):He?hr=Cr&&dn&&!Yn&&(N||!_r):Yn||_r?hr=!1:hr=N?$t<=h:$t<h;hr?X=Et+1:se=Et}return fi(se,Me)}function Of(c,h){for(var S=-1,N=c.length,X=0,se=[];++S<N;){var Ee=c[S],$e=h?h(Ee):Ee;if(!S||!Ll($e,He)){var He=$e;se[X++]=Ee===0?0:Ee}}return se}function Fs(c){return typeof c=="number"?c:Vs(c)?Ce:+c}function uo(c){if(typeof c=="string")return c;if(Yr(c))return fn(c,uo)+"";if(Vs(c))return su?su.call(c):"";var h=c+"";return h=="0"&&1/c==-re?"-0":h}function uc(c,h,S){var N=-1,X=bn,se=c.length,Ee=!0,$e=[],He=$e;if(S)Ee=!1,X=Gt;else if(se>=s){var wt=h?null:yg(c);if(wt)return Cn(wt);Ee=!1,X=Ct,He=new Zu}else He=h?[]:$e;e:for(;++N<se;){var Et=c[N],$t=h?h(Et):Et;if(Et=S||Et!==0?Et:0,Ee&&$t===$t){for(var dn=He.length;dn--;)if(He[dn]===$t)continue e;h&&He.push($t),$e.push(Et)}else X(He,$t,S)||(He!==$e&&He.push($t),$e.push(Et))}return $e}function Do(c,h){return h=la(h,c),c=Cu(c,h),c==null||delete c[js(ma(h))]}function td(c,h,S,N){return Nl(c,h,S(fu(c,h)),N)}function Md(c,h,S,N){for(var X=c.length,se=N?X:-1;(N?se--:++se<X)&&h(c[se],se,c););return S?sa(c,N?0:se,N?se+1:X):sa(c,N?se+1:0,N?X:se)}function Pf(c,h){var S=c;return S instanceof Gr&&(S=S.value()),Dn(h,function(N,X){return X.func.apply(X.thisArg,pn([N],X.args))},S)}function nd(c,h,S){var N=c.length;if(N<2)return N?uc(c[0]):[];for(var X=-1,se=Je(N);++X<N;)for(var Ee=c[X],$e=-1;++$e<N;)$e!=X&&(se[X]=Gc(se[X]||Ee,c[$e],h,S));return uc(Yi(se,1),h,S)}function pg(c,h,S){for(var N=-1,X=c.length,se=h.length,Ee={};++N<X;){var $e=N<se?h[N]:n;S(Ee,c[N],$e)}return Ee}function iv(c){return ua(c)?c:[]}function av(c){return typeof c=="function"?c:us}function la(c,h){return Yr(c)?c:od(c,h)?[c]:Hf(Io(c))}var rs=qr;function Ml(c,h,S){var N=c.length;return S=S===n?N:S,!h&&S>=N?c:sa(c,h,S)}var $p=sg||function(c){return q.clearTimeout(c)};function sv(c,h){if(h)return c.slice();var S=c.length,N=Vo?Vo(S):new c.constructor(S);return c.copy(N),N}function cc(c){var h=new c.constructor(c.byteLength);return new Fc(h).set(new Fc(c)),h}function hg(c,h){var S=h?cc(c.buffer):c.buffer;return new c.constructor(S,c.byteOffset,c.byteLength)}function lv(c){var h=new c.constructor(c.source,ei.exec(c));return h.lastIndex=c.lastIndex,h}function vg(c){return ji?ho(ji.call(c)):{}}function Ip(c,h){var S=h?cc(c.buffer):c.buffer;return new c.constructor(S,c.byteOffset,c.length)}function uv(c,h){if(c!==h){var S=c!==n,N=c===null,X=c===c,se=Vs(c),Ee=h!==n,$e=h===null,He=h===h,wt=Vs(h);if(!$e&&!wt&&!se&&c>h||se&&Ee&&He&&!$e&&!wt||N&&Ee&&He||!S&&He||!X)return 1;if(!N&&!se&&!wt&&c<h||wt&&S&&X&&!N&&!se||$e&&S&&X||!Ee&&X||!He)return-1}return 0}function ha(c,h,S){for(var N=-1,X=c.criteria,se=h.criteria,Ee=X.length,$e=S.length;++N<Ee;){var He=uv(X[N],se[N]);if(He){if(N>=$e)return He;var wt=S[N];return He*(wt=="desc"?-1:1)}}return c.index-h.index}function gu(c,h,S,N){for(var X=-1,se=c.length,Ee=S.length,$e=-1,He=h.length,wt=Gi(se-Ee,0),Et=Je(He+wt),$t=!N;++$e<He;)Et[$e]=h[$e];for(;++X<Ee;)($t||X<se)&&(Et[S[X]]=c[X]);for(;wt--;)Et[$e++]=c[X++];return Et}function cv(c,h,S,N){for(var X=-1,se=c.length,Ee=-1,$e=S.length,He=-1,wt=h.length,Et=Gi(se-$e,0),$t=Je(Et+wt),dn=!N;++X<Et;)$t[X]=c[X];for(var Yn=X;++He<wt;)$t[Yn+He]=h[He];for(;++Ee<$e;)(dn||X<se)&&($t[Yn+S[Ee]]=c[X++]);return $t}function Eo(c,h){var S=-1,N=c.length;for(h||(h=Je(N));++S<N;)h[S]=c[S];return h}function Ta(c,h,S,N){var X=!S;S||(S={});for(var se=-1,Ee=h.length;++se<Ee;){var $e=h[se],He=N?N(S[$e],c[$e],$e,S,c):n;He===n&&(He=c[$e]),X?qi(S,$e,He):Wc(S,$e,He)}return S}function bo(c,h){return Ta(c,xu(c),h)}function Ad(c,h){return Ta(c,al(c),h)}function Fp(c,h){return function(S,N){var X=Yr(S)?Bt:tv,se=h?h():{};return X(S,c,Qn(N,2),se)}}function os(c){return qr(function(h,S){var N=-1,X=S.length,se=X>1?S[X-1]:n,Ee=X>2?S[2]:n;for(se=c.length>3&&typeof se=="function"?(X--,se):n,Ee&&Bi(S[0],S[1],Ee)&&(se=X<3?n:se,X=1),h=ho(h);++N<X;){var $e=S[N];$e&&c(h,$e,N,se)}return h})}function Df(c,h){return function(S,N){if(S==null)return S;if(!La(S))return c(S,N);for(var X=S.length,se=h?X:-1,Ee=ho(S);(h?se--:++se<X)&&N(Ee[se],se,Ee)!==!1;);return S}}function rd(c){return function(h,S,N){for(var X=-1,se=ho(h),Ee=N(h),$e=Ee.length;$e--;){var He=Ee[c?$e:++X];if(S(se[He],He,se)===!1)break}return h}}function mg(c,h,S){var N=h&j,X=kf(c);function se(){var Ee=this&&this!==q&&this instanceof se?X:c;return Ee.apply(N?S:this,arguments)}return se}function jp(c){return function(h){h=Io(h);var S=Zt(h)?Hr(h):n,N=S?S[0]:h.charAt(0),X=S?Ml(S,1).join(""):h.slice(1);return N[c]()+X}}function Al(c){return function(h){return Dn(Vv(Vl(h).replace(rr,"")),c,"")}}function kf(c){return function(){var h=arguments;switch(h.length){case 0:return new c;case 1:return new c(h[0]);case 2:return new c(h[0],h[1]);case 3:return new c(h[0],h[1],h[2]);case 4:return new c(h[0],h[1],h[2],h[3]);case 5:return new c(h[0],h[1],h[2],h[3],h[4]);case 6:return new c(h[0],h[1],h[2],h[3],h[4],h[5]);case 7:return new c(h[0],h[1],h[2],h[3],h[4],h[5],h[6])}var S=Ri(c.prototype),N=c.apply(S,h);return Vi(N)?N:S}}function gg(c,h,S){var N=kf(c);function X(){for(var se=arguments.length,Ee=Je(se),$e=se,He=_i(X);$e--;)Ee[$e]=arguments[$e];var wt=se<3&&Ee[0]!==He&&Ee[se-1]!==He?[]:Xr(Ee,He);if(se-=wt.length,se<S)return pv(c,h,Nf,X.placeholder,n,Ee,wt,n,n,S-se);var Et=this&&this!==q&&this instanceof X?N:c;return ht(Et,this,Ee)}return X}function Lp(c){return function(h,S,N){var X=ho(h);if(!La(h)){var se=Qn(S,3);h=Ba(h),S=function($e){return se(X[$e],$e,X)}}var Ee=c(h,S,N);return Ee>-1?X[se?h[Ee]:Ee]:n}}function Bp(c){return is(function(h){var S=h.length,N=S,X=Ra.prototype.thru;for(c&&h.reverse();N--;){var se=h[N];if(typeof se!="function")throw new wi(u);if(X&&!Ee&&hi(se)=="wrapper")var Ee=new Ra([],!0)}for(N=Ee?N:S;++N<S;){se=h[N];var $e=hi(se),He=$e=="wrapper"?_a(se):n;He&&Lf(He[0])&&He[1]==(te|L|A|ue)&&!He[4].length&&He[9]==1?Ee=Ee[hi(He[0])].apply(Ee,He[3]):Ee=se.length==1&&Lf(se)?Ee[$e]():Ee.thru(se)}return function(){var wt=arguments,Et=wt[0];if(Ee&&wt.length==1&&Yr(Et))return Ee.plant(Et).value();for(var $t=0,dn=S?h[$t].apply(this,wt):Et;++$t<S;)dn=h[$t].call(this,dn);return dn}})}function Nf(c,h,S,N,X,se,Ee,$e,He,wt){var Et=h&te,$t=h&j,dn=h&z,Yn=h&(L|U),Cr=h&ae,_r=dn?n:kf(c);function hr(){for(var so=arguments.length,fo=Je(so),ds=so;ds--;)fo[ds]=arguments[ds];if(Yn)var ga=_i(hr),fs=or(fo,ga);if(N&&(fo=gu(fo,N,X,Yn)),se&&(fo=cv(fo,se,Ee,Yn)),so-=fs,Yn&&so<wt){var ki=Xr(fo,ga);return pv(c,h,Nf,hr.placeholder,S,fo,ki,$e,He,wt-so)}var Ws=$t?S:this,wc=dn?Ws[c]:c;return so=fo.length,$e?fo=Hp(fo,$e):Cr&&so>1&&fo.reverse(),Et&&He<so&&(fo.length=He),this&&this!==q&&this instanceof hr&&(wc=_r||kf(wc)),wc.apply(Ws,fo)}return hr}function dv(c,h){return function(S,N){return fg(S,c,h(N),{})}}function Mf(c,h){return function(S,N){var X;if(S===n&&N===n)return h;if(S!==n&&(X=S),N!==n){if(X===n)return N;typeof S=="string"||typeof N=="string"?(S=uo(S),N=uo(N)):(S=Fs(S),N=Fs(N)),X=c(S,N)}return X}}function fv(c){return is(function(h){return h=fn(h,Mt(Qn())),qr(function(S){var N=this;return c(h,function(X){return ht(X,N,S)})})})}function Af(c,h){h=h===n?" ":uo(h);var S=h.length;if(S<2)return S?ed(h,c):h;var N=ed(h,Cd(c/Mn(h)));return Zt(h)?Ml(Hr(N),0,c).join(""):N.slice(0,c)}function Ob(c,h,S,N){var X=h&j,se=kf(c);function Ee(){for(var $e=-1,He=arguments.length,wt=-1,Et=N.length,$t=Je(Et+He),dn=this&&this!==q&&this instanceof Ee?se:c;++wt<Et;)$t[wt]=N[wt];for(;He--;)$t[wt++]=arguments[++$e];return ht(dn,X?S:this,$t)}return Ee}function Vp(c){return function(h,S,N){return N&&typeof N!="number"&&Bi(h,S,N)&&(S=N=n),h=ad(h),S===n?(S=h,h=0):S=ad(S),N=N===n?h<S?1:-1:ad(N),Jc(h,S,N,c)}}function $d(c){return function(h,S){return typeof h=="string"&&typeof S=="string"||(h=Bl(h),S=Bl(S)),c(h,S)}}function pv(c,h,S,N,X,se,Ee,$e,He,wt){var Et=h&L,$t=Et?Ee:n,dn=Et?n:Ee,Yn=Et?se:n,Cr=Et?n:se;h|=Et?A:Q,h&=~(Et?Q:A),h&H||(h&=~(j|z));var _r=[c,h,X,Yn,$t,Cr,dn,$e,He,wt],hr=S.apply(n,_r);return Lf(c)&&Gp(hr,_r),hr.placeholder=N,bg(hr,c,h)}function zp(c){var h=co[c];return function(S,N){if(S=Bl(S),N=N==null?0:fi(Qr(N),292),N&&Xh(S)){var X=(Io(S)+"e").split("e"),se=h(X[0]+"e"+(+X[1]+N));return X=(Io(se)+"e").split("e"),+(X[0]+"e"+(+X[1]-N))}return h(S)}}var yg=fa&&1/Cn(new fa([,-0]))[1]==re?function(c){return new fa(c)}:Yg;function hv(c){return function(h){var S=va(h);return S==Ge?ar(h):S==ut?Ci(h):en(h,c(h))}}function Rs(c,h,S,N,X,se,Ee,$e){var He=h&z;if(!He&&typeof c!="function")throw new wi(u);var wt=N?N.length:0;if(wt||(h&=~(A|Q),N=X=n),Ee=Ee===n?Ee:Gi(Qr(Ee),0),$e=$e===n?$e:Qr($e),wt-=X?X.length:0,h&Q){var Et=N,$t=X;N=X=n}var dn=He?n:_a(c),Yn=[c,h,S,N,X,Et,$t,se,Ee,$e];if(dn&&zf(Yn,dn),c=Yn[0],h=Yn[1],S=Yn[2],N=Yn[3],X=Yn[4],$e=Yn[9]=Yn[9]===n?He?0:c.length:Gi(Yn[9]-wt,0),!$e&&h&(L|U)&&(h&=~(L|U)),!h||h==j)var Cr=mg(c,h,S);else h==L||h==U?Cr=gg(c,h,$e):(h==A||h==(j|A))&&!X.length?Cr=Ob(c,h,S,N):Cr=Nf.apply(n,Yn);var _r=dn?Mp:Gp;return bg(_r(Cr,Yn),c,h)}function Id(c,h,S,N){return c===n||Ll(c,Qa[S])&&!jr.call(N,S)?h:c}function vv(c,h,S,N,X,se){return Vi(c)&&Vi(h)&&(se.set(h,c),Li(c,h,n,vv,se),se.delete(h)),c}function mv(c){return Fv(c)?n:c}function gv(c,h,S,N,X,se){var Ee=S&D,$e=c.length,He=h.length;if($e!=He&&!(Ee&&He>$e))return!1;var wt=se.get(c),Et=se.get(h);if(wt&&Et)return wt==h&&Et==c;var $t=-1,dn=!0,Yn=S&I?new Zu:n;for(se.set(c,h),se.set(h,c);++$t<$e;){var Cr=c[$t],_r=h[$t];if(N)var hr=Ee?N(_r,Cr,$t,h,c,se):N(Cr,_r,$t,c,h,se);if(hr!==n){if(hr)continue;dn=!1;break}if(Yn){if(!Sn(h,function(so,fo){if(!Ct(Yn,fo)&&(Cr===so||X(Cr,so,S,N,se)))return Yn.push(fo)})){dn=!1;break}}else if(!(Cr===_r||X(Cr,_r,S,N,se))){dn=!1;break}}return se.delete(c),se.delete(h),dn}function Pb(c,h,S,N,X,se,Ee){switch(S){case Gn:if(c.byteLength!=h.byteLength||c.byteOffset!=h.byteOffset)return!1;c=c.buffer,h=h.buffer;case Kn:return!(c.byteLength!=h.byteLength||!se(new Fc(c),new Fc(h)));case Ye:case ot:case et:return Ll(+c,+h);case Ze:return c.name==h.name&&c.message==h.message;case rt:case Kt:return c==h+"";case Ge:var $e=ar;case ut:var He=N&D;if($e||($e=Cn),c.size!=h.size&&!He)return!1;var wt=Ee.get(c);if(wt)return wt==h;N|=I,Ee.set(c,h);var Et=gv($e(c),$e(h),N,X,se,Ee);return Ee.delete(c),Et;case En:if(ji)return ji.call(c)==ji.call(h)}return!1}function $f(c,h,S,N,X,se){var Ee=S&D,$e=yu(c),He=$e.length,wt=yu(h),Et=wt.length;if(He!=Et&&!Ee)return!1;for(var $t=He;$t--;){var dn=$e[$t];if(!(Ee?dn in h:jr.call(h,dn)))return!1}var Yn=se.get(c),Cr=se.get(h);if(Yn&&Cr)return Yn==h&&Cr==c;var _r=!0;se.set(c,h),se.set(h,c);for(var hr=Ee;++$t<He;){dn=$e[$t];var so=c[dn],fo=h[dn];if(N)var ds=Ee?N(fo,so,dn,h,c,se):N(so,fo,dn,c,h,se);if(!(ds===n?so===fo||X(so,fo,S,N,se):ds)){_r=!1;break}hr||(hr=dn=="constructor")}if(_r&&!hr){var ga=c.constructor,fs=h.constructor;ga!=fs&&"constructor"in c&&"constructor"in h&&!(typeof ga=="function"&&ga instanceof ga&&typeof fs=="function"&&fs instanceof fs)&&(_r=!1)}return se.delete(c),se.delete(h),_r}function is(c){return Uf(sl(c,n,wu),c+"")}function yu(c){return ic(c,Ba,xu)}function Er(c){return ic(c,zs,al)}var _a=hf?function(c){return hf.get(c)}:Yg;function hi(c){for(var h=c.name+"",S=Ku[h],N=jr.call(Ku,h)?S.length:0;N--;){var X=S[N],se=X.func;if(se==null||se==c)return X.name}return h}function _i(c){var h=jr.call(ne,"placeholder")?ne:c;return h.placeholder}function Qn(){var c=ne.iteratee||qg;return c=c===qg?sc:c,arguments.length?c(arguments[0],arguments[1]):c}function bu(c,h){var S=c.__data__;return bv(h)?S[typeof h=="string"?"string":"hash"]:S.map}function Xi(c){for(var h=Ba(c),S=h.length;S--;){var N=h[S],X=c[N];h[S]=[N,X,Vf(X)]}return h}function Oi(c,h){var S=cn(c,h);return pu(S)?S:n}function il(c){var h=jr.call(c,El),S=c[El];try{c[El]=n;var N=!0}catch{}var X=Cl.call(c);return N&&(h?c[El]=S:delete c[El]),X}var xu=Bc?function(c){return c==null?[]:(c=ho(c),Jn(Bc(c),function(h){return Rl.call(c,h)}))}:zv,al=Bc?function(c){for(var h=[];c;)pn(h,xu(c)),c=jc(c);return h}:zv,va=ri;(wa&&va(new wa(new ArrayBuffer(1)))!=Gn||Rd&&va(new Rd)!=Ge||au&&va(au.resolve())!=_t||fa&&va(new fa)!=ut||oa&&va(new oa)!=Hn)&&(va=function(c){var h=ri(c),S=h==Yt?c.constructor:n,N=S?Ts(S):"";if(N)switch(N){case $o:return Gn;case Za:return Ge;case Ir:return _t;case Rr:return ut;case Xu:return Hn}return h});function If(c,h,S){for(var N=-1,X=S.length;++N<X;){var se=S[N],Ee=se.size;switch(se.type){case"drop":c+=Ee;break;case"dropRight":h-=Ee;break;case"take":h=fi(h,c+Ee);break;case"takeRight":c=Gi(c,h-Ee);break}}return{start:c,end:h}}function Ff(c){var h=c.match(jn);return h?h[1].split(vr):[]}function dc(c,h,S){h=la(h,c);for(var N=-1,X=h.length,se=!1;++N<X;){var Ee=js(h[N]);if(!(se=c!=null&&S(c,Ee)))break;c=c[Ee]}return se||++N!=X?se:(X=c==null?0:c.length,!!X&&oh(X)&&ja(Ee,X)&&(Yr(c)||Ld(c)))}function Fd(c){var h=c.length,S=new c.constructor(h);return h&&typeof c[0]=="string"&&jr.call(c,"index")&&(S.index=c.index,S.input=c.input),S}function Tn(c){return typeof c.constructor=="function"&&!fc(c)?Ri(jc(c)):{}}function jf(c,h,S){var N=c.constructor;switch(h){case Kn:return cc(c);case Ye:case ot:return new N(+c);case Gn:return hg(c,S);case xn:case Or:case Vt:case Xt:case vn:case zt:case mn:case Xn:case Pr:return Ip(c,S);case Ge:return new N;case et:case Kt:return new N(c);case rt:return lv(c);case ut:return new N;case En:return vg(c)}}function yv(c,h){var S=h.length;if(!S)return c;var N=S-1;return h[N]=(S>1?"& ":"")+h[N],h=h.join(S>2?", ":" "),c.replace(tr,`{
|
|
526
|
+
/* [wrapped with `+h+`] */
|
|
527
|
+
`)}function $l(c){return Yr(c)||Ld(c)||!!(pf&&c&&c[pf])}function ja(c,h){var S=typeof c;return h=h??ce,!!h&&(S=="number"||S!="symbol"&&Ks.test(c))&&c>-1&&c%1==0&&c<h}function Bi(c,h,S){if(!Vi(S))return!1;var N=typeof h;return(N=="number"?La(S)&&ja(h,S.length):N=="string"&&h in S)?Ll(S[h],c):!1}function od(c,h){if(Yr(c))return!1;var S=typeof c;return S=="number"||S=="symbol"||S=="boolean"||c==null||Vs(c)?!0:wo.test(c)||!ea.test(c)||h!=null&&c in ho(h)}function bv(c){var h=typeof c;return h=="string"||h=="number"||h=="symbol"||h=="boolean"?c!=="__proto__":c===null}function Lf(c){var h=hi(c),S=ne[h];if(typeof S!="function"||!(h in Gr.prototype))return!1;if(c===S)return!0;var N=_a(S);return!!N&&c===N[0]}function Su(c){return!!nu&&nu in c}var Bf=$c?bc:e0;function fc(c){var h=c&&c.constructor,S=typeof h=="function"&&h.prototype||Qa;return c===S}function Vf(c){return c===c&&!Vi(c)}function Il(c,h){return function(S){return S==null?!1:S[c]===h&&(h!==n||c in ho(S))}}function Up(c){var h=jd(c,function(N){return S.size===y&&S.clear(),N}),S=h.cache;return h}function zf(c,h){var S=c[1],N=h[1],X=S|N,se=X<(j|z|te),Ee=N==te&&S==L||N==te&&S==ue&&c[7].length<=h[8]||N==(te|ue)&&h[7].length<=h[8]&&S==L;if(!(se||Ee))return c;N&j&&(c[2]=h[2],X|=S&j?0:H);var $e=h[3];if($e){var He=c[3];c[3]=He?gu(He,$e,h[4]):$e,c[4]=He?Xr(c[3],C):h[4]}return $e=h[5],$e&&(He=c[5],c[5]=He?cv(He,$e,h[6]):$e,c[6]=He?Xr(c[5],C):h[6]),$e=h[7],$e&&(c[7]=$e),N&te&&(c[8]=c[8]==null?h[8]:fi(c[8],h[8])),c[9]==null&&(c[9]=h[9]),c[0]=h[0],c[1]=X,c}function Wp(c){var h=[];if(c!=null)for(var S in ho(c))h.push(S);return h}function Es(c){return Cl.call(c)}function sl(c,h,S){return h=Gi(h===n?c.length-1:h,0),function(){for(var N=arguments,X=-1,se=Gi(N.length-h,0),Ee=Je(se);++X<se;)Ee[X]=N[h+X];X=-1;for(var $e=Je(h+1);++X<h;)$e[X]=N[X];return $e[h]=S(Ee),ht(c,this,$e)}}function Cu(c,h){return h.length<2?c:fu(c,sa(h,0,-1))}function Hp(c,h){for(var S=c.length,N=fi(h.length,S),X=Eo(c);N--;){var se=h[N];c[N]=ja(se,S)?X[se]:n}return c}function as(c,h){if(!(h==="constructor"&&typeof c[h]=="function")&&h!="__proto__")return c[h]}var Gp=xv(Mp),Fl=Kh||function(c,h){return q.setTimeout(c,h)},Uf=xv(mu);function bg(c,h,S){var N=h+"";return Uf(c,yv(N,qp(Ff(N),S)))}function xv(c){var h=0,S=0;return function(){var N=_p(),X=ye-(N-S);if(S=N,X>0){if(++h>=Pe)return arguments[0]}else h=0;return c.apply(n,arguments)}}function Wf(c,h){var S=-1,N=c.length,X=N-1;for(h=h===n?N:h;++S<h;){var se=ol(S,X),Ee=c[se];c[se]=c[S],c[S]=Ee}return c.length=h,c}var Hf=Up(function(c){var h=[];return c.charCodeAt(0)===46&&h.push(""),c.replace(ka,function(S,N,X,se){h.push(X?se.replace(Vr,"$1"):N||S)}),h});function js(c){if(typeof c=="string"||Vs(c))return c;var h=c+"";return h=="0"&&1/c==-re?"-0":h}function Ts(c){if(c!=null){try{return Js.call(c)}catch{}try{return c+""}catch{}}return""}function qp(c,h){return Ut(Oe,function(S){var N="_."+S[0];h&S[1]&&!bn(c,N)&&c.push(N)}),c.sort()}function id(c){if(c instanceof Gr)return c.clone();var h=new Ra(c.__wrapped__,c.__chain__);return h.__actions__=Eo(c.__actions__),h.__index__=c.__index__,h.__values__=c.__values__,h}function Gf(c,h,S){(S?Bi(c,h,S):h===n)?h=1:h=Gi(Qr(h),0);var N=c==null?0:c.length;if(!N||h<1)return[];for(var X=0,se=0,Ee=Je(Cd(N/h));X<N;)Ee[se++]=sa(c,X,X+=h);return Ee}function xg(c){for(var h=-1,S=c==null?0:c.length,N=0,X=[];++h<S;){var se=c[h];se&&(X[N++]=se)}return X}function Sg(){var c=arguments.length;if(!c)return[];for(var h=Je(c-1),S=arguments[0],N=c;N--;)h[N-1]=arguments[N];return pn(Yr(S)?Eo(S):[S],Yi(h,1))}var Sv=qr(function(c,h){return ua(c)?Gc(c,Yi(h,1,ua,!0)):[]}),Cg=qr(function(c,h){var S=ma(h);return ua(S)&&(S=n),ua(c)?Gc(c,Yi(h,1,ua,!0),Qn(S,2)):[]}),pc=qr(function(c,h){var S=ma(h);return ua(S)&&(S=n),ua(c)?Gc(c,Yi(h,1,ua,!0),n,S):[]});function Db(c,h,S){var N=c==null?0:c.length;return N?(h=S||h===n?1:Qr(h),sa(c,h<0?0:h,N)):[]}function kb(c,h,S){var N=c==null?0:c.length;return N?(h=S||h===n?1:Qr(h),h=N-h,sa(c,0,h<0?0:h)):[]}function hc(c,h){return c&&c.length?Md(c,Qn(h,3),!0,!0):[]}function wg(c,h){return c&&c.length?Md(c,Qn(h,3),!0):[]}function Cv(c,h,S,N){var X=c==null?0:c.length;return X?(S&&typeof S!="number"&&Bi(c,h,S)&&(S=0,N=X),qc(c,h,S,N)):[]}function wv(c,h,S){var N=c==null?0:c.length;if(!N)return-1;var X=S==null?0:Qr(S);return X<0&&(X=Gi(N+X,0)),_(c,Qn(h,3),X)}function vc(c,h,S){var N=c==null?0:c.length;if(!N)return-1;var X=N-1;return S!==n&&(X=Qr(S),X=S<0?Gi(N+X,0):fi(X,N-1)),_(c,Qn(h,3),X,!0)}function wu(c){var h=c==null?0:c.length;return h?Yi(c,1):[]}function Nb(c){var h=c==null?0:c.length;return h?Yi(c,re):[]}function Mb(c,h){var S=c==null?0:c.length;return S?(h=h===n?1:Qr(h),Yi(c,h)):[]}function Rg(c){for(var h=-1,S=c==null?0:c.length,N={};++h<S;){var X=c[h];N[X[0]]=X[1]}return N}function Eg(c){return c&&c.length?c[0]:n}function Ls(c,h,S){var N=c==null?0:c.length;if(!N)return-1;var X=S==null?0:Qr(S);return X<0&&(X=Gi(N+X,0)),F(c,h,X)}function Yp(c){var h=c==null?0:c.length;return h?sa(c,0,-1):[]}var Ab=qr(function(c){var h=fn(c,iv);return h.length&&h[0]===c[0]?ac(h):[]}),mc=qr(function(c){var h=ma(c),S=fn(c,iv);return h===ma(S)?h=n:S.pop(),S.length&&S[0]===c[0]?ac(S,Qn(h,2)):[]}),qf=qr(function(c){var h=ma(c),S=fn(c,iv);return h=typeof h=="function"?h:n,h&&S.pop(),S.length&&S[0]===c[0]?ac(S,n,h):[]});function jl(c,h){return c==null?"":Tp.call(c,h)}function ma(c){var h=c==null?0:c.length;return h?c[h-1]:n}function Rv(c,h,S){var N=c==null?0:c.length;if(!N)return-1;var X=N;return S!==n&&(X=Qr(S),X=X<0?Gi(N+X,0):fi(X,N-1)),h===h?In(c,h,X):_(c,Y,X,!0)}function Ev(c,h){return c&&c.length?hu(c,Qr(h)):n}var $b=qr(Yf);function Yf(c,h){return c&&c.length&&h&&h.length?Ti(c,h):c}function Kp(c,h,S){return c&&c.length&&h&&h.length?Ti(c,h,Qn(S,2)):c}function Xp(c,h,S){return c&&c.length&&h&&h.length?Ti(c,h,n,S):c}var Tg=is(function(c,h){var S=c==null?0:c.length,N=yf(c,h);return no(c,fn(h,function(X){return ja(X,S)?+X:X}).sort(uv)),N});function Qp(c,h){var S=[];if(!(c&&c.length))return S;var N=-1,X=[],se=c.length;for(h=Qn(h,3);++N<se;){var Ee=c[N];h(Ee,N,c)&&(S.push(Ee),X.push(N))}return no(c,X),S}function Zp(c){return c==null?c:Op.call(c)}function Tv(c,h,S){var N=c==null?0:c.length;return N?(S&&typeof S!="number"&&Bi(c,h,S)?(h=0,S=N):(h=h==null?0:Qr(h),S=S===n?N:Qr(S)),sa(c,h,S)):[]}function Kf(c,h){return lc(c,h)}function Ib(c,h,S){return _f(c,h,Qn(S,2))}function Jp(c,h){var S=c==null?0:c.length;if(S){var N=lc(c,h);if(N<S&&Ll(c[N],h))return N}return-1}function _g(c,h){return lc(c,h,!0)}function Fb(c,h,S){return _f(c,h,Qn(S,2),!0)}function Xf(c,h){var S=c==null?0:c.length;if(S){var N=lc(c,h,!0)-1;if(Ll(c[N],h))return N}return-1}function jb(c){return c&&c.length?Of(c):[]}function eh(c,h){return c&&c.length?Of(c,Qn(h,2)):[]}function l(c){var h=c==null?0:c.length;return h?sa(c,1,h):[]}function f(c,h,S){return c&&c.length?(h=S||h===n?1:Qr(h),sa(c,0,h<0?0:h)):[]}function m(c,h,S){var N=c==null?0:c.length;return N?(h=S||h===n?1:Qr(h),h=N-h,sa(c,h<0?0:h,N)):[]}function R(c,h){return c&&c.length?Md(c,Qn(h,3),!1,!0):[]}function k(c,h){return c&&c.length?Md(c,Qn(h,3)):[]}var G=qr(function(c){return uc(Yi(c,1,ua,!0))}),oe=qr(function(c){var h=ma(c);return ua(h)&&(h=n),uc(Yi(c,1,ua,!0),Qn(h,2))}),ve=qr(function(c){var h=ma(c);return h=typeof h=="function"?h:n,uc(Yi(c,1,ua,!0),n,h)});function Ie(c){return c&&c.length?uc(c):[]}function dt(c,h){return c&&c.length?uc(c,Qn(h,2)):[]}function wn(c,h){return h=typeof h=="function"?h:n,c&&c.length?uc(c,n,h):[]}function Tr(c){if(!(c&&c.length))return[];var h=0;return c=Jn(c,function(S){if(ua(S))return h=Gi(S.length,h),!0}),gt(h,function(S){return fn(c,we(S))})}function jt(c,h){if(!(c&&c.length))return[];var S=Tr(c);return h==null?S:fn(S,function(N){return ht(h,n,N)})}var er=qr(function(c,h){return ua(c)?Gc(c,h):[]}),kr=qr(function(c){return nd(Jn(c,ua))}),pr=qr(function(c){var h=ma(c);return ua(h)&&(h=n),nd(Jn(c,ua),Qn(h,2))}),Xe=qr(function(c){var h=ma(c);return h=typeof h=="function"?h:n,nd(Jn(c,ua),n,h)}),Ue=qr(Tr);function qe(c,h){return pg(c||[],h||[],Wc)}function Tt(c,h){return pg(c||[],h||[],Nl)}var Nt=qr(function(c){var h=c.length,S=h>1?c[h-1]:n;return S=typeof S=="function"?(c.pop(),S):n,jt(c,S)});function Fr(c){var h=ne(c);return h.__chain__=!0,h}function Pn(c,h){return h(c),c}function Sr(c,h){return h(c)}var zr=is(function(c){var h=c.length,S=h?c[0]:0,N=this.__wrapped__,X=function(se){return yf(se,c)};return h>1||this.__actions__.length||!(N instanceof Gr)||!ja(S)?this.thru(X):(N=N.slice(S,+S+(h?1:0)),N.__actions__.push({func:Sr,args:[X],thisArg:n}),new Ra(N,this.__chain__).thru(function(se){return h&&!se.length&&se.push(n),se}))});function Lr(){return Fr(this)}function gc(){return new Ra(this.value(),this.__chain__)}function Lb(){this.__values__===n&&(this.__values__=nC(this.value()));var c=this.__index__>=this.__values__.length,h=c?n:this.__values__[this.__index__++];return{done:c,value:h}}function MS(){return this}function iT(c){for(var h,S=this;S instanceof bs;){var N=id(S);N.__index__=0,N.__values__=n,h?X.__wrapped__=N:h=N;var X=N;S=S.__wrapped__}return X.__wrapped__=c,h}function aT(){var c=this.__wrapped__;if(c instanceof Gr){var h=c;return this.__actions__.length&&(h=new Gr(this)),h=h.reverse(),h.__actions__.push({func:Sr,args:[Zp],thisArg:n}),new Ra(h,this.__chain__)}return this.thru(Zp)}function sT(){return Pf(this.__wrapped__,this.__actions__)}var _v=Fp(function(c,h,S){jr.call(c,S)?++c[S]:qi(c,S,1)});function lT(c,h,S){var N=Yr(c)?On:Od;return S&&Bi(c,h,S)&&(h=n),N(c,Qn(h,3))}function AS(c,h){var S=Yr(c)?Jn:bf;return S(c,Qn(h,3))}var uT=Lp(wv),$S=Lp(vc);function cT(c,h){return Yi(Og(c,h),1)}function mi(c,h){return Yi(Og(c,h),re)}function IS(c,h,S){return S=S===n?1:Qr(S),Yi(Og(c,h),S)}function Bb(c,h){var S=Yr(c)?Ut:rl;return S(c,Qn(h,3))}function Vb(c,h){var S=Yr(c)?ln:_d;return S(c,Qn(h,3))}var FS=Fp(function(c,h,S){jr.call(c,S)?c[S].push(h):qi(c,S,[h])});function jS(c,h,S,N){c=La(c)?c:Ru(c),S=S&&!N?Qr(S):0;var X=c.length;return S<0&&(S=Gi(X+S,0)),Fg(c)?S<=X&&c.indexOf(h,S)>-1:!!X&&F(c,h,S)>-1}var LS=qr(function(c,h,S){var N=-1,X=typeof h=="function",se=La(c)?Je(c.length):[];return rl(c,function(Ee){se[++N]=X?ht(h,Ee,S):Qc(Ee,h,S)}),se}),Ov=Fp(function(c,h,S){qi(c,S,h)});function Og(c,h){var S=Yr(c)?fn:Zc;return S(c,Qn(h,3))}function Pg(c,h,S,N){return c==null?[]:(Yr(h)||(h=h==null?[]:[h]),S=N?n:S,Yr(S)||(S=S==null?[]:[S]),Fa(c,h,S))}var th=Fp(function(c,h,S){c[S?0:1].push(h)},function(){return[[],[]]});function dT(c,h,S){var N=Yr(c)?Dn:Ae,X=arguments.length<3;return N(c,Qn(h,4),S,X,rl)}function BS(c,h,S){var N=Yr(c)?fr:Ae,X=arguments.length<3;return N(c,Qn(h,4),S,X,_d)}function fT(c,h){var S=Yr(c)?Jn:bf;return S(c,$v(Qn(h,3)))}function VS(c){var h=Yr(c)?uu:ov;return h(c)}function Bs(c,h,S){(S?Bi(c,h,S):h===n)?h=1:h=Qr(h);var N=Yr(c)?ec:kd;return N(c,h)}function Pv(c){var h=Yr(c)?_l:Nd;return h(c)}function Dg(c){if(c==null)return 0;if(La(c))return Fg(c)?Mn(c):c.length;var h=va(c);return h==Ge||h==ut?c.size:kl(c).length}function Dv(c,h,S){var N=Yr(c)?Sn:Ap;return S&&Bi(c,h,S)&&(h=n),N(c,Qn(h,3))}var zS=qr(function(c,h){if(c==null)return[];var S=h.length;return S>1&&Bi(c,h[0],h[1])?h=[]:S>2&&Bi(h[0],h[1],h[2])&&(h=[h[0]]),Fa(c,Yi(h,1),[])}),yc=Ep||function(){return q.Date.now()};function Qf(c,h){if(typeof h!="function")throw new wi(u);return c=Qr(c),function(){if(--c<1)return h.apply(this,arguments)}}function kv(c,h,S){return h=S?n:h,h=c&&h==null?c.length:h,Rs(c,te,n,n,n,n,h)}function Zf(c,h){var S;if(typeof h!="function")throw new wi(u);return c=Qr(c),function(){return--c>0&&(S=h.apply(this,arguments)),c<=1&&(h=n),S}}var Nv=qr(function(c,h,S){var N=j;if(S.length){var X=Xr(S,_i(Nv));N|=A}return Rs(c,N,h,S,X)}),nh=qr(function(c,h,S){var N=j|z;if(S.length){var X=Xr(S,_i(nh));N|=A}return Rs(h,N,c,S,X)});function Mv(c,h,S){h=S?n:h;var N=Rs(c,L,n,n,n,n,n,h);return N.placeholder=Mv.placeholder,N}function Av(c,h,S){h=S?n:h;var N=Rs(c,U,n,n,n,n,n,h);return N.placeholder=Av.placeholder,N}function rh(c,h,S){var N,X,se,Ee,$e,He,wt=0,Et=!1,$t=!1,dn=!0;if(typeof c!="function")throw new wi(u);h=Bl(h)||0,Vi(S)&&(Et=!!S.leading,$t="maxWait"in S,se=$t?Gi(Bl(S.maxWait)||0,h):se,dn="trailing"in S?!!S.trailing:dn);function Yn(ki){var Ws=N,wc=X;return N=X=n,wt=ki,Ee=c.apply(wc,Ws),Ee}function Cr(ki){return wt=ki,$e=Fl(so,h),Et?Yn(ki):Ee}function _r(ki){var Ws=ki-He,wc=ki-wt,n0=h-Ws;return $t?fi(n0,se-wc):n0}function hr(ki){var Ws=ki-He,wc=ki-wt;return He===n||Ws>=h||Ws<0||$t&&wc>=se}function so(){var ki=yc();if(hr(ki))return fo(ki);$e=Fl(so,_r(ki))}function fo(ki){return $e=n,dn&&N?Yn(ki):(N=X=n,Ee)}function ds(){$e!==n&&$p($e),wt=0,N=He=X=$e=n}function ga(){return $e===n?Ee:fo(yc())}function fs(){var ki=yc(),Ws=hr(ki);if(N=arguments,X=this,He=ki,Ws){if($e===n)return Cr(He);if($t)return $p($e),$e=Fl(so,h),Yn(He)}return $e===n&&($e=Fl(so,h)),Ee}return fs.cancel=ds,fs.flush=ga,fs}var US=qr(function(c,h){return Ol(c,1,h)}),kg=qr(function(c,h,S){return Ol(c,Bl(h)||0,S)});function WS(c){return Rs(c,ae)}function jd(c,h){if(typeof c!="function"||h!=null&&typeof h!="function")throw new wi(u);var S=function(){var N=arguments,X=h?h.apply(this,N):N[0],se=S.cache;if(se.has(X))return se.get(X);var Ee=c.apply(this,N);return S.cache=se.set(X,Ee)||se,Ee};return S.cache=new(jd.Cache||nl),S}jd.Cache=nl;function $v(c){if(typeof c!="function")throw new wi(u);return function(){var h=arguments;switch(h.length){case 0:return!c.call(this);case 1:return!c.call(this,h[0]);case 2:return!c.call(this,h[0],h[1]);case 3:return!c.call(this,h[0],h[1],h[2])}return!c.apply(this,h)}}function pT(c){return Zf(2,c)}var hT=rs(function(c,h){h=h.length==1&&Yr(h[0])?fn(h[0],Mt(Qn())):fn(Yi(h,1),Mt(Qn()));var S=h.length;return qr(function(N){for(var X=-1,se=fi(N.length,S);++X<se;)N[X]=h[X].call(this,N[X]);return ht(c,this,N)})}),Ng=qr(function(c,h){var S=Xr(h,_i(Ng));return Rs(c,A,n,h,S)}),HS=qr(function(c,h){var S=Xr(h,_i(HS));return Rs(c,Q,n,h,S)}),Mg=is(function(c,h){return Rs(c,ue,n,n,n,h)});function vT(c,h){if(typeof c!="function")throw new wi(u);return h=h===n?h:Qr(h),qr(c,h)}function mT(c,h){if(typeof c!="function")throw new wi(u);return h=h==null?0:Gi(Qr(h),0),qr(function(S){var N=S[h],X=Ml(S,0,h);return N&&pn(X,N),ht(c,this,X)})}function gT(c,h,S){var N=!0,X=!0;if(typeof c!="function")throw new wi(u);return Vi(S)&&(N="leading"in S?!!S.leading:N,X="trailing"in S?!!S.trailing:X),rh(c,h,{leading:N,maxWait:h,trailing:X})}function yT(c){return kv(c,1)}function bT(c,h){return Ng(av(h),c)}function xT(){if(!arguments.length)return[];var c=arguments[0];return Yr(c)?c:[c]}function ST(c){return Ei(c,P)}function CT(c,h){return h=typeof h=="function"?h:n,Ei(c,P,h)}function wT(c){return Ei(c,w|P)}function RT(c,h){return h=typeof h=="function"?h:n,Ei(c,w|P,h)}function GS(c,h){return h==null||nv(c,h,Ba(h))}function Ll(c,h){return c===h||c!==c&&h!==h}var qS=$d(Kc),YS=$d(function(c,h){return c>=h}),Ld=pi(function(){return arguments}())?pi:function(c){return Pi(c)&&jr.call(c,"callee")&&!Rl.call(c,"callee")},Yr=Je.isArray,Iv=lt?Mt(lt):wf;function La(c){return c!=null&&oh(c.length)&&!bc(c)}function ua(c){return Pi(c)&&La(c)}function KS(c){return c===!0||c===!1||Pi(c)&&ri(c)==Ye}var Bd=wd||e0,ET=ft?Mt(ft):Pl;function XS(c){return Pi(c)&&c.nodeType===1&&!Fv(c)}function TT(c){if(c==null)return!0;if(La(c)&&(Yr(c)||typeof c=="string"||typeof c.splice=="function"||Bd(c)||ih(c)||Ld(c)))return!c.length;var h=va(c);if(h==Ge||h==ut)return!c.size;if(fc(c))return!kl(c).length;for(var S in c)if(jr.call(c,S))return!1;return!0}function _T(c,h){return ws(c,h)}function QS(c,h,S){S=typeof S=="function"?S:n;var N=S?S(c,h):n;return N===n?ws(c,h,n,S):!!N}function Vd(c){if(!Pi(c))return!1;var h=ri(c);return h==Ze||h==yt||typeof c.message=="string"&&typeof c.name=="string"&&!Fv(c)}function ZS(c){return typeof c=="number"&&Xh(c)}function bc(c){if(!Vi(c))return!1;var h=ri(c);return h==Te||h==tt||h==We||h==Jt}function Ag(c){return typeof c=="number"&&c==Qr(c)}function oh(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=ce}function Vi(c){var h=typeof c;return c!=null&&(h=="object"||h=="function")}function Pi(c){return c!=null&&typeof c=="object"}var $g=vt?Mt(vt):rv;function JS(c,h){return c===h||kp(c,h,Xi(h))}function OT(c,h,S){return S=typeof S=="function"?S:n,kp(c,h,Xi(h),S)}function PT(c){return eC(c)&&c!=+c}function UI(c){if(Bf(c))throw new dr(p);return pu(c)}function DT(c){return c===null}function kT(c){return c==null}function eC(c){return typeof c=="number"||Pi(c)&&ri(c)==et}function Fv(c){if(!Pi(c)||ri(c)!=Yt)return!1;var h=jc(c);if(h===null)return!0;var S=jr.call(h,"constructor")&&h.constructor;return typeof S=="function"&&S instanceof S&&Js.call(S)==qh}var zb=Ht?Mt(Ht):Rf;function NT(c){return Ag(c)&&c>=-ce&&c<=ce}var Ig=Wt?Mt(Wt):Ef;function Fg(c){return typeof c=="string"||!Yr(c)&&Pi(c)&&ri(c)==Kt}function Vs(c){return typeof c=="symbol"||Pi(c)&&ri(c)==En}var ih=kt?Mt(kt):Pd;function Ub(c){return c===n}function MT(c){return Pi(c)&&va(c)==Hn}function AT(c){return Pi(c)&&ri(c)==sr}var tC=$d(Ki),$T=$d(function(c,h){return c<=h});function nC(c){if(!c)return[];if(La(c))return Fg(c)?Hr(c):Eo(c);if(ru&&c[ru])return Nn(c[ru]());var h=va(c),S=h==Ge?ar:h==ut?Cn:Ru;return S(c)}function ad(c){if(!c)return c===0?c:0;if(c=Bl(c),c===re||c===-re){var h=c<0?-1:1;return h*ke}return c===c?c:0}function Qr(c){var h=ad(c),S=h%1;return h===h?S?h-S:h:0}function rC(c){return c?nc(Qr(c),0,ge):0}function Bl(c){if(typeof c=="number")return c;if(Vs(c))return Ce;if(Vi(c)){var h=typeof c.valueOf=="function"?c.valueOf():c;c=Vi(h)?h+"":h}if(typeof c!="string")return c===0?c:+c;c=Dt(c);var S=Wi.test(c);return S||Ja.test(c)?xl(c.slice(2),S?2:8):ti.test(c)?Ce:+c}function oC(c){return Ta(c,zs(c))}function IT(c){return c?nc(Qr(c),-ce,ce):c===0?c:0}function Io(c){return c==null?"":uo(c)}var FT=os(function(c,h){if(fc(h)||La(h)){Ta(h,Ba(h),c);return}for(var S in h)jr.call(h,S)&&Wc(c,S,h[S])}),iC=os(function(c,h){Ta(h,zs(h),c)}),ah=os(function(c,h,S,N){Ta(h,zs(h),c,N)}),jT=os(function(c,h,S,N){Ta(h,Ba(h),c,N)}),LT=is(yf);function BT(c,h){var S=Ri(c);return h==null?S:tc(S,h)}var VT=qr(function(c,h){c=ho(c);var S=-1,N=h.length,X=N>2?h[2]:n;for(X&&Bi(h[0],h[1],X)&&(N=1);++S<N;)for(var se=h[S],Ee=zs(se),$e=-1,He=Ee.length;++$e<He;){var wt=Ee[$e],Et=c[wt];(Et===n||Ll(Et,Qa[wt])&&!jr.call(c,wt))&&(c[wt]=se[wt])}return c}),aC=qr(function(c){return c.push(n,vv),ht(uC,n,c)});function jg(c,h){return Wr(c,Qn(h,3),ns)}function sC(c,h){return Wr(c,Qn(h,3),xf)}function zT(c,h){return c==null?c:du(c,Qn(h,3),zs)}function UT(c,h){return c==null?c:Yc(c,Qn(h,3),zs)}function WT(c,h){return c&&ns(c,Qn(h,3))}function lC(c,h){return c&&xf(c,Qn(h,3))}function HT(c){return c==null?[]:oc(c,Ba(c))}function GT(c){return c==null?[]:oc(c,zs(c))}function Wb(c,h,S){var N=c==null?n:fu(c,h);return N===n?S:N}function qT(c,h){return c!=null&&dc(c,h,Sf)}function Hb(c,h){return c!=null&&dc(c,h,Xc)}var YT=dv(function(c,h,S){h!=null&&typeof h.toString!="function"&&(h=Cl.call(h)),c[h]=S},Zb(us)),KT=dv(function(c,h,S){h!=null&&typeof h.toString!="function"&&(h=Cl.call(h)),jr.call(c,h)?c[h].push(S):c[h]=[S]},Qn),XT=qr(Qc);function Ba(c){return La(c)?ia(c):kl(c)}function zs(c){return La(c)?ia(c,!0):Dd(c)}function QT(c,h){var S={};return h=Qn(h,3),ns(c,function(N,X,se){qi(S,h(N,X,se),N)}),S}function ZT(c,h){var S={};return h=Qn(h,3),ns(c,function(N,X,se){qi(S,X,h(N,X,se))}),S}var JT=os(function(c,h,S){Li(c,h,S)}),uC=os(function(c,h,S,N){Li(c,h,S,N)}),e_=is(function(c,h){var S={};if(c==null)return S;var N=!1;h=fn(h,function(se){return se=la(se,c),N||(N=se.length>1),se}),Ta(c,Er(c),S),N&&(S=Ei(S,w|O|P,mv));for(var X=h.length;X--;)Do(S,h[X]);return S});function t_(c,h){return sh(c,$v(Qn(h)))}var Lg=is(function(c,h){return c==null?{}:vu(c,h)});function sh(c,h){if(c==null)return{};var S=fn(Er(c),function(N){return[N]});return h=Qn(h),Np(c,S,function(N,X){return h(N,X[0])})}function cC(c,h,S){h=la(h,c);var N=-1,X=h.length;for(X||(X=1,c=n);++N<X;){var se=c==null?n:c[js(h[N])];se===n&&(N=X,se=S),c=bc(se)?se.call(c):se}return c}function jv(c,h,S){return c==null?c:Nl(c,h,S)}function dC(c,h,S,N){return N=typeof N=="function"?N:n,c==null?c:Nl(c,h,S,N)}var Lv=hv(Ba),fC=hv(zs);function pC(c,h,S){var N=Yr(c),X=N||Bd(c)||ih(c);if(h=Qn(h,4),S==null){var se=c&&c.constructor;X?S=N?new se:[]:Vi(c)?S=bc(se)?Ri(jc(c)):{}:S={}}return(X?Ut:ns)(c,function(Ee,$e,He){return h(S,Ee,$e,He)}),S}function Bg(c,h){return c==null?!0:Do(c,h)}function Jf(c,h,S){return c==null?c:td(c,h,av(S))}function zd(c,h,S,N){return N=typeof N=="function"?N:n,c==null?c:td(c,h,av(S),N)}function Ru(c){return c==null?[]:nn(c,Ba(c))}function Vg(c){return c==null?[]:nn(c,zs(c))}function Gb(c,h,S){return S===n&&(S=h,h=n),S!==n&&(S=Bl(S),S=S===S?S:0),h!==n&&(h=Bl(h),h=h===h?h:0),nc(Bl(c),h,S)}function hC(c,h,S){return h=ad(h),S===n?(S=h,h=0):S=ad(S),c=Bl(c),Cf(c,h,S)}function vC(c,h,S){if(S&&typeof S!="boolean"&&Bi(c,h,S)&&(h=S=n),S===n&&(typeof h=="boolean"?(S=h,h=n):typeof c=="boolean"&&(S=c,c=n)),c===n&&h===n?(c=0,h=1):(c=ad(c),h===n?(h=c,c=0):h=ad(h)),c>h){var N=c;c=h,h=N}if(S||c%1||h%1){var X=el();return fi(c+X*(h-c+Qs("1e-"+((X+"").length-1))),h)}return ol(c,h)}var mC=Al(function(c,h,S){return h=h.toLowerCase(),c+(S?Bv(h):h)});function Bv(c){return Gg(Io(c).toLowerCase())}function Vl(c){return c=Io(c),c&&c.replace(gr,an).replace(Ln,"")}function qb(c,h,S){c=Io(c),h=uo(h);var N=c.length;S=S===n?N:nc(Qr(S),0,N);var X=S;return S-=h.length,S>=0&&c.slice(S,X)==h}function zg(c){return c=Io(c),c&&$r.test(c)?c.replace(Zo,yr):c}function sd(c){return c=Io(c),c&&At.test(c)?c.replace(Ne,"\\$&"):c}var Ud=Al(function(c,h,S){return c+(S?"-":"")+h.toLowerCase()}),ss=Al(function(c,h,S){return c+(S?" ":"")+h.toLowerCase()}),ls=jp("toLowerCase");function Yb(c,h,S){c=Io(c),h=Qr(h);var N=h?Mn(c):0;if(!h||N>=h)return c;var X=(h-N)/2;return Af(iu(X),S)+c+Af(Cd(X),S)}function ll(c,h,S){c=Io(c),h=Qr(h);var N=h?Mn(c):0;return h&&N<h?c+Af(h-N,S):c}function ld(c,h,S){c=Io(c),h=Qr(h);var N=h?Mn(c):0;return h&&N<h?Af(h-N,S)+c:c}function xc(c,h,S){return S||h==null?h=0:h&&(h=+h),Vc(Io(c).replace(Qt,""),h||0)}function Kb(c,h,S){return(S?Bi(c,h,S):h===n)?h=1:h=Qr(h),ed(Io(c),h)}function lh(){var c=arguments,h=Io(c[0]);return c.length<3?h:h.replace(c[1],c[2])}var gC=Al(function(c,h,S){return c+(S?"_":"")+h.toLowerCase()});function uh(c,h,S){return S&&typeof S!="number"&&Bi(c,h,S)&&(h=S=n),S=S===n?ge:S>>>0,S?(c=Io(c),c&&(typeof h=="string"||h!=null&&!zb(h))&&(h=uo(h),!h&&Zt(c))?Ml(Hr(c),0,S):c.split(h,S)):[]}var Ug=Al(function(c,h,S){return c+(S?" ":"")+Gg(h)});function Sc(c,h,S){return c=Io(c),S=S==null?0:nc(Qr(S),0,c.length),h=uo(h),c.slice(S,S+h.length)==h}function Wg(c,h,S){var N=ne.templateSettings;S&&Bi(c,h,S)&&(h=n),c=Io(c),h=ah({},h,N,Id);var X=ah({},h.imports,N.imports,Id),se=Ba(X),Ee=nn(X,se),$e,He,wt=0,Et=h.interpolate||vo,$t="__p += '",dn=Zs((h.escape||vo).source+"|"+Et.source+"|"+(Et===po?eo:vo).source+"|"+(h.evaluate||vo).source+"|$","g"),Yn="//# sourceURL="+(jr.call(h,"sourceURL")?(h.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ui+"]")+`
|
|
528
|
+
`;c.replace(dn,function(hr,so,fo,ds,ga,fs){return fo||(fo=ds),$t+=c.slice(wt,fs).replace(bi,Dr),so&&($e=!0,$t+=`' +
|
|
529
|
+
__e(`+so+`) +
|
|
530
|
+
'`),ga&&(He=!0,$t+=`';
|
|
531
|
+
`+ga+`;
|
|
532
|
+
__p += '`),fo&&($t+=`' +
|
|
533
|
+
((__t = (`+fo+`)) == null ? '' : __t) +
|
|
534
|
+
'`),wt=fs+hr.length,hr}),$t+=`';
|
|
535
|
+
`;var Cr=jr.call(h,"variable")&&h.variable;if(!Cr)$t=`with (obj) {
|
|
536
|
+
`+$t+`
|
|
537
|
+
}
|
|
538
|
+
`;else if(io.test(Cr))throw new dr(g);$t=(He?$t.replace(lo,""):$t).replace(oo,"$1").replace(No,"$1;"),$t="function("+(Cr||"obj")+`) {
|
|
539
|
+
`+(Cr?"":`obj || (obj = {});
|
|
540
|
+
`)+"var __t, __p = ''"+($e?", __e = _.escape":"")+(He?`, __j = Array.prototype.join;
|
|
541
|
+
function print() { __p += __j.call(arguments, '') }
|
|
542
|
+
`:`;
|
|
543
|
+
`)+$t+`return __p
|
|
544
|
+
}`;var _r=Eu(function(){return ur(se,Yn+"return "+$t).apply(n,Ee)});if(_r.source=$t,Vd(_r))throw _r;return _r}function Xb(c){return Io(c).toLowerCase()}function yC(c){return Io(c).toUpperCase()}function bC(c,h,S){if(c=Io(c),c&&(S||h===n))return Dt(c);if(!c||!(h=uo(h)))return c;var N=Hr(c),X=Hr(h),se=gn(N,X),Ee=$n(N,X)+1;return Ml(N,se,Ee).join("")}function Hg(c,h,S){if(c=Io(c),c&&(S||h===n))return c.slice(0,Po(c)+1);if(!c||!(h=uo(h)))return c;var N=Hr(c),X=$n(N,Hr(h))+1;return Ml(N,0,X).join("")}function xC(c,h,S){if(c=Io(c),c&&(S||h===n))return c.replace(Qt,"");if(!c||!(h=uo(h)))return c;var N=Hr(c),X=gn(N,Hr(h));return Ml(N,X).join("")}function n_(c,h){var S=pe,N=xe;if(Vi(h)){var X="separator"in h?h.separator:X;S="length"in h?Qr(h.length):S,N="omission"in h?uo(h.omission):N}c=Io(c);var se=c.length;if(Zt(c)){var Ee=Hr(c);se=Ee.length}if(S>=se)return c;var $e=S-Mn(N);if($e<1)return N;var He=Ee?Ml(Ee,0,$e).join(""):c.slice(0,$e);if(X===n)return He+N;if(Ee&&($e+=He.length-$e),zb(X)){if(c.slice($e).search(X)){var wt,Et=He;for(X.global||(X=Zs(X.source,Io(ei.exec(X))+"g")),X.lastIndex=0;wt=X.exec(Et);)var $t=wt.index;He=He.slice(0,$t===n?$e:$t)}}else if(c.indexOf(uo(X),$e)!=$e){var dn=He.lastIndexOf(X);dn>-1&&(He=He.slice(0,dn))}return He+N}function Qb(c){return c=Io(c),c&&$i.test(c)?c.replace(Ui,tu):c}var SC=Al(function(c,h,S){return c+(S?" ":"")+h.toUpperCase()}),Gg=jp("toUpperCase");function Vv(c,h,S){return c=Io(c),h=S?n:h,h===n?un(c)?Ro(c):lr(c):c.match(h)||[]}var Eu=qr(function(c,h){try{return ht(c,n,h)}catch(S){return Vd(S)?S:new dr(S)}}),ch=is(function(c,h){return Ut(h,function(S){S=js(S),qi(c,S,Nv(c[S],c))}),c});function r_(c){var h=c==null?0:c.length,S=Qn();return c=h?fn(c,function(N){if(typeof N[1]!="function")throw new wi(u);return[S(N[0]),N[1]]}):[],qr(function(N){for(var X=-1;++X<h;){var se=c[X];if(ht(se[0],this,N))return ht(se[1],this,N)}})}function o_(c){return cu(Ei(c,w))}function Zb(c){return function(){return c}}function i_(c,h){return c==null||c!==c?h:c}var a_=Bp(),s_=Bp(!0);function us(c){return c}function qg(c){return sc(typeof c=="function"?c:Ei(c,w))}function l_(c){return Jo(Ei(c,w))}function CC(c,h){return aa(c,Ei(h,w))}var Jb=qr(function(c,h){return function(S){return Qc(S,c,h)}}),u_=qr(function(c,h){return function(S){return Qc(c,S,h)}});function dh(c,h,S){var N=Ba(h),X=oc(h,N);S==null&&!(Vi(h)&&(X.length||!N.length))&&(S=h,h=c,c=this,X=oc(h,Ba(h)));var se=!(Vi(S)&&"chain"in S)||!!S.chain,Ee=bc(c);return Ut(X,function($e){var He=h[$e];c[$e]=He,Ee&&(c.prototype[$e]=function(){var wt=this.__chain__;if(se||wt){var Et=c(this.__wrapped__),$t=Et.__actions__=Eo(this.__actions__);return $t.push({func:He,args:arguments,thisArg:c}),Et.__chain__=wt,Et}return He.apply(c,pn([this.value()],arguments))})}),c}function wC(){return q._===this&&(q._=Yh),this}function Yg(){}function RC(c){return c=Qr(c),qr(function(h){return hu(h,c)})}var EC=fv(fn),TC=fv(On),zl=fv(Sn);function Wd(c){return od(c)?we(js(c)):Pt(c)}function ud(c){return function(h){return c==null?n:fu(c,h)}}var _C=Vp(),OC=Vp(!0);function zv(){return[]}function e0(){return!1}function c_(){return{}}function cd(){return""}function Kg(){return!0}function t0(c,h){if(c=Qr(c),c<1||c>ce)return[];var S=ge,N=fi(c,ge);h=Qn(h),c-=ge;for(var X=gt(N,h);++S<c;)h(S);return X}function PC(c){return Yr(c)?fn(c,js):Vs(c)?[c]:Eo(Hf(Io(c)))}function cs(c){var h=++Ic;return Io(c)+h}var fh=Mf(function(c,h){return c+h},0),DC=zp("ceil"),ep=Mf(function(c,h){return c/h},1),Hd=zp("floor");function d_(c){return c&&c.length?rc(c,us,Kc):n}function kC(c,h){return c&&c.length?rc(c,Qn(h,2),Kc):n}function Cc(c){return he(c,us)}function NC(c,h){return he(c,Qn(h,2))}function MC(c){return c&&c.length?rc(c,us,Ki):n}function Di(c,h){return c&&c.length?rc(c,Qn(h,2),Ki):n}var Qi=Mf(function(c,h){return c*h},1),Us=zp("round"),tp=Mf(function(c,h){return c-h},0);function ul(c){return c&&c.length?ct(c,us):0}function f_(c,h){return c&&c.length?ct(c,Qn(h,2)):0}return ne.after=Qf,ne.ary=kv,ne.assign=FT,ne.assignIn=iC,ne.assignInWith=ah,ne.assignWith=jT,ne.at=LT,ne.before=Zf,ne.bind=Nv,ne.bindAll=ch,ne.bindKey=nh,ne.castArray=xT,ne.chain=Fr,ne.chunk=Gf,ne.compact=xg,ne.concat=Sg,ne.cond=r_,ne.conforms=o_,ne.constant=Zb,ne.countBy=_v,ne.create=BT,ne.curry=Mv,ne.curryRight=Av,ne.debounce=rh,ne.defaults=VT,ne.defaultsDeep=aC,ne.defer=US,ne.delay=kg,ne.difference=Sv,ne.differenceBy=Cg,ne.differenceWith=pc,ne.drop=Db,ne.dropRight=kb,ne.dropRightWhile=hc,ne.dropWhile=wg,ne.fill=Cv,ne.filter=AS,ne.flatMap=cT,ne.flatMapDeep=mi,ne.flatMapDepth=IS,ne.flatten=wu,ne.flattenDeep=Nb,ne.flattenDepth=Mb,ne.flip=WS,ne.flow=a_,ne.flowRight=s_,ne.fromPairs=Rg,ne.functions=HT,ne.functionsIn=GT,ne.groupBy=FS,ne.initial=Yp,ne.intersection=Ab,ne.intersectionBy=mc,ne.intersectionWith=qf,ne.invert=YT,ne.invertBy=KT,ne.invokeMap=LS,ne.iteratee=qg,ne.keyBy=Ov,ne.keys=Ba,ne.keysIn=zs,ne.map=Og,ne.mapKeys=QT,ne.mapValues=ZT,ne.matches=l_,ne.matchesProperty=CC,ne.memoize=jd,ne.merge=JT,ne.mergeWith=uC,ne.method=Jb,ne.methodOf=u_,ne.mixin=dh,ne.negate=$v,ne.nthArg=RC,ne.omit=e_,ne.omitBy=t_,ne.once=pT,ne.orderBy=Pg,ne.over=EC,ne.overArgs=hT,ne.overEvery=TC,ne.overSome=zl,ne.partial=Ng,ne.partialRight=HS,ne.partition=th,ne.pick=Lg,ne.pickBy=sh,ne.property=Wd,ne.propertyOf=ud,ne.pull=$b,ne.pullAll=Yf,ne.pullAllBy=Kp,ne.pullAllWith=Xp,ne.pullAt=Tg,ne.range=_C,ne.rangeRight=OC,ne.rearg=Mg,ne.reject=fT,ne.remove=Qp,ne.rest=vT,ne.reverse=Zp,ne.sampleSize=Bs,ne.set=jv,ne.setWith=dC,ne.shuffle=Pv,ne.slice=Tv,ne.sortBy=zS,ne.sortedUniq=jb,ne.sortedUniqBy=eh,ne.split=uh,ne.spread=mT,ne.tail=l,ne.take=f,ne.takeRight=m,ne.takeRightWhile=R,ne.takeWhile=k,ne.tap=Pn,ne.throttle=gT,ne.thru=Sr,ne.toArray=nC,ne.toPairs=Lv,ne.toPairsIn=fC,ne.toPath=PC,ne.toPlainObject=oC,ne.transform=pC,ne.unary=yT,ne.union=G,ne.unionBy=oe,ne.unionWith=ve,ne.uniq=Ie,ne.uniqBy=dt,ne.uniqWith=wn,ne.unset=Bg,ne.unzip=Tr,ne.unzipWith=jt,ne.update=Jf,ne.updateWith=zd,ne.values=Ru,ne.valuesIn=Vg,ne.without=er,ne.words=Vv,ne.wrap=bT,ne.xor=kr,ne.xorBy=pr,ne.xorWith=Xe,ne.zip=Ue,ne.zipObject=qe,ne.zipObjectDeep=Tt,ne.zipWith=Nt,ne.entries=Lv,ne.entriesIn=fC,ne.extend=iC,ne.extendWith=ah,dh(ne,ne),ne.add=fh,ne.attempt=Eu,ne.camelCase=mC,ne.capitalize=Bv,ne.ceil=DC,ne.clamp=Gb,ne.clone=ST,ne.cloneDeep=wT,ne.cloneDeepWith=RT,ne.cloneWith=CT,ne.conformsTo=GS,ne.deburr=Vl,ne.defaultTo=i_,ne.divide=ep,ne.endsWith=qb,ne.eq=Ll,ne.escape=zg,ne.escapeRegExp=sd,ne.every=lT,ne.find=uT,ne.findIndex=wv,ne.findKey=jg,ne.findLast=$S,ne.findLastIndex=vc,ne.findLastKey=sC,ne.floor=Hd,ne.forEach=Bb,ne.forEachRight=Vb,ne.forIn=zT,ne.forInRight=UT,ne.forOwn=WT,ne.forOwnRight=lC,ne.get=Wb,ne.gt=qS,ne.gte=YS,ne.has=qT,ne.hasIn=Hb,ne.head=Eg,ne.identity=us,ne.includes=jS,ne.indexOf=Ls,ne.inRange=hC,ne.invoke=XT,ne.isArguments=Ld,ne.isArray=Yr,ne.isArrayBuffer=Iv,ne.isArrayLike=La,ne.isArrayLikeObject=ua,ne.isBoolean=KS,ne.isBuffer=Bd,ne.isDate=ET,ne.isElement=XS,ne.isEmpty=TT,ne.isEqual=_T,ne.isEqualWith=QS,ne.isError=Vd,ne.isFinite=ZS,ne.isFunction=bc,ne.isInteger=Ag,ne.isLength=oh,ne.isMap=$g,ne.isMatch=JS,ne.isMatchWith=OT,ne.isNaN=PT,ne.isNative=UI,ne.isNil=kT,ne.isNull=DT,ne.isNumber=eC,ne.isObject=Vi,ne.isObjectLike=Pi,ne.isPlainObject=Fv,ne.isRegExp=zb,ne.isSafeInteger=NT,ne.isSet=Ig,ne.isString=Fg,ne.isSymbol=Vs,ne.isTypedArray=ih,ne.isUndefined=Ub,ne.isWeakMap=MT,ne.isWeakSet=AT,ne.join=jl,ne.kebabCase=Ud,ne.last=ma,ne.lastIndexOf=Rv,ne.lowerCase=ss,ne.lowerFirst=ls,ne.lt=tC,ne.lte=$T,ne.max=d_,ne.maxBy=kC,ne.mean=Cc,ne.meanBy=NC,ne.min=MC,ne.minBy=Di,ne.stubArray=zv,ne.stubFalse=e0,ne.stubObject=c_,ne.stubString=cd,ne.stubTrue=Kg,ne.multiply=Qi,ne.nth=Ev,ne.noConflict=wC,ne.noop=Yg,ne.now=yc,ne.pad=Yb,ne.padEnd=ll,ne.padStart=ld,ne.parseInt=xc,ne.random=vC,ne.reduce=dT,ne.reduceRight=BS,ne.repeat=Kb,ne.replace=lh,ne.result=cC,ne.round=Us,ne.runInContext=Fe,ne.sample=VS,ne.size=Dg,ne.snakeCase=gC,ne.some=Dv,ne.sortedIndex=Kf,ne.sortedIndexBy=Ib,ne.sortedIndexOf=Jp,ne.sortedLastIndex=_g,ne.sortedLastIndexBy=Fb,ne.sortedLastIndexOf=Xf,ne.startCase=Ug,ne.startsWith=Sc,ne.subtract=tp,ne.sum=ul,ne.sumBy=f_,ne.template=Wg,ne.times=t0,ne.toFinite=ad,ne.toInteger=Qr,ne.toLength=rC,ne.toLower=Xb,ne.toNumber=Bl,ne.toSafeInteger=IT,ne.toString=Io,ne.toUpper=yC,ne.trim=bC,ne.trimEnd=Hg,ne.trimStart=xC,ne.truncate=n_,ne.unescape=Qb,ne.uniqueId=cs,ne.upperCase=SC,ne.upperFirst=Gg,ne.each=Bb,ne.eachRight=Vb,ne.first=Eg,dh(ne,function(){var c={};return ns(ne,function(h,S){jr.call(ne.prototype,S)||(c[S]=h)}),c}(),{chain:!1}),ne.VERSION=o,Ut(["bind","bindKey","curry","curryRight","partial","partialRight"],function(c){ne[c].placeholder=ne}),Ut(["drop","take"],function(c,h){Gr.prototype[c]=function(S){S=S===n?1:Gi(Qr(S),0);var N=this.__filtered__&&!h?new Gr(this):this.clone();return N.__filtered__?N.__takeCount__=fi(S,N.__takeCount__):N.__views__.push({size:fi(S,ge),type:c+(N.__dir__<0?"Right":"")}),N},Gr.prototype[c+"Right"]=function(S){return this.reverse()[c](S).reverse()}}),Ut(["filter","map","takeWhile"],function(c,h){var S=h+1,N=S==de||S==Se;Gr.prototype[c]=function(X){var se=this.clone();return se.__iteratees__.push({iteratee:Qn(X,3),type:S}),se.__filtered__=se.__filtered__||N,se}}),Ut(["head","last"],function(c,h){var S="take"+(h?"Right":"");Gr.prototype[c]=function(){return this[S](1).value()[0]}}),Ut(["initial","tail"],function(c,h){var S="drop"+(h?"":"Right");Gr.prototype[c]=function(){return this.__filtered__?new Gr(this):this[S](1)}}),Gr.prototype.compact=function(){return this.filter(us)},Gr.prototype.find=function(c){return this.filter(c).head()},Gr.prototype.findLast=function(c){return this.reverse().find(c)},Gr.prototype.invokeMap=qr(function(c,h){return typeof c=="function"?new Gr(this):this.map(function(S){return Qc(S,c,h)})}),Gr.prototype.reject=function(c){return this.filter($v(Qn(c)))},Gr.prototype.slice=function(c,h){c=Qr(c);var S=this;return S.__filtered__&&(c>0||h<0)?new Gr(S):(c<0?S=S.takeRight(-c):c&&(S=S.drop(c)),h!==n&&(h=Qr(h),S=h<0?S.dropRight(-h):S.take(h-c)),S)},Gr.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},Gr.prototype.toArray=function(){return this.take(ge)},ns(Gr.prototype,function(c,h){var S=/^(?:filter|find|map|reject)|While$/.test(h),N=/^(?:head|last)$/.test(h),X=ne[N?"take"+(h=="last"?"Right":""):h],se=N||/^find/.test(h);X&&(ne.prototype[h]=function(){var Ee=this.__wrapped__,$e=N?[1]:arguments,He=Ee instanceof Gr,wt=$e[0],Et=He||Yr(Ee),$t=function(so){var fo=X.apply(ne,pn([so],$e));return N&&dn?fo[0]:fo};Et&&S&&typeof wt=="function"&&wt.length!=1&&(He=Et=!1);var dn=this.__chain__,Yn=!!this.__actions__.length,Cr=se&&!dn,_r=He&&!Yn;if(!se&&Et){Ee=_r?Ee:new Gr(this);var hr=c.apply(Ee,$e);return hr.__actions__.push({func:Sr,args:[$t],thisArg:n}),new Ra(hr,dn)}return Cr&&_r?c.apply(this,$e):(hr=this.thru($t),Cr?N?hr.value()[0]:hr.value():hr)})}),Ut(["pop","push","shift","sort","splice","unshift"],function(c){var h=Xa[c],S=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",N=/^(?:pop|shift)$/.test(c);ne.prototype[c]=function(){var X=arguments;if(N&&!this.__chain__){var se=this.value();return h.apply(Yr(se)?se:[],X)}return this[S](function(Ee){return h.apply(Yr(Ee)?Ee:[],X)})}}),ns(Gr.prototype,function(c,h){var S=ne[h];if(S){var N=S.name+"";jr.call(Ku,N)||(Ku[N]=[]),Ku[N].push({name:h,func:S})}}),Ku[Nf(n,z).name]=[{name:"wrapper",func:n}],Gr.prototype.clone=$s,Gr.prototype.reverse=lg,Gr.prototype.value=Qh,ne.prototype.at=zr,ne.prototype.chain=Lr,ne.prototype.commit=gc,ne.prototype.next=Lb,ne.prototype.plant=iT,ne.prototype.reverse=aT,ne.prototype.toJSON=ne.prototype.valueOf=ne.prototype.value=sT,ne.prototype.first=ne.prototype.head,ru&&(ne.prototype[ru]=MS),ne},di=ci();ie?((ie.exports=di)._=di,ee._=di):q._=di}).call(Pc)}(bS,bS.exports);var Yte=bS.exports;function Kte(e,t){const n=$.useRef(t);$.useEffect(()=>{const o=Object.keys({...n.current,...t}),s={};o.forEach(p=>{n.current[p]!==t[p]&&(s[p]={from:n.current[p],to:t[p],changedKeys:t[p]&&typeof t[p]=="object"?Object.keys(n.current[p]).map(u=>n.current[p][u]===t[p][u]?"":u).filter(Boolean):void 0,isDeepEqual:Yte.isEqual(n.current[p],t[p])})}),Object.keys(s).length&&console.log("[why-did-you-update]",e,{changes:s,props:{from:n.current,to:t}}),n.current=t},Object.values(t))}const D$=({showTooltip:e,tooltipText:t,children:n})=>e?B.jsx(fb,{title:t,arrow:!0,children:B.jsx("div",{children:n})}):n,Xte=Mi(e=>({divider:{background:e.palette.primary.main,height:"0.2rem"},letterHeader:{cursor:"default",color:e.palette.primary.main,marginTop:"1rem"},listItem:{borderRadius:ju,border:`1px solid ${e.palette.grey[300]}`,marginBottom:"0.5rem",paddingLeft:"24px",boxShadow:e.shadows[1]},disabledListItem:{"& > p":{color:"#b4b4b4"},background:"white !important",pointerEvents:"none"},topMargin:{marginTop:e.spacing(2),display:"block"}})),k$=({array:e,sortFn:t,sortKey:n="name",buttonClick:o,linkTo:s,ItemTemplate:p,arrayKey:u="id",loading:g=!1,loadingMessage:b="Loading list...",emptyMessage:y="List is empty",alphabetisedHeader:C=!0,isItemDisabled:w})=>{const O={...Xte(),...pl(),...Fh()};if(e===void 0||g)return B.jsx(Ym,{styling:O.topMargin,text:b});if(!(e!=null&&e.length))return B.jsx(So,{className:O.topMargin,align:"center",variant:"body2",color:"textSecondary",children:y});const P=t?[...e].sort(t):e;let D="";return B.jsx(Uh,{className:O.limitWidth50rem,children:P.map((I,j)=>{var L;let z=!1;if(C){const U=(((L=I[n])==null?void 0:L[0])||"???").toLowerCase();U!==D&&(D=U,z=!0)}const H={reason:"",...(w==null?void 0:w(I))??{}};return B.jsxs(xa.Fragment,{children:[C&&z?B.jsxs(B.Fragment,{children:[B.jsx(So,{className:`${O.letterHeader}`,align:"left",children:D.toUpperCase()}),B.jsx(QR,{className:`${O.contentBreak} ${O.divider}`})]}):null,B.jsx(D$,{showTooltip:H.disabled,tooltipText:H.reason,children:B.jsx(qm,{className:H.disabled?`${O.listItem} ${O.disabledListItem}`:O.listItem,alignItems:"flex-start",button:o||s?!0:void 0,onClick:o&&!H.disabled?()=>o(I):void 0,...s&&!o&&!H.disabled?{component:Uu,to:s(I)}:{},children:B.jsx(p,{item:I})})})]},I[u]||`alphabetical-list-${j}`)})})},Qte=Mi(e=>({searchBox:{display:"flex",alignContent:"center",alignItems:"center",padding:"8px",border:`2px solid ${e.palette.grey[300]}`,borderRadius:ju},searchField:{borderRadius:ju,width:"100%",background:({background:t})=>t||"RGBA(179, 213, 235, 0.1)",height:"46px",paddingLeft:"24px",color:e.palette.grey[600]},searchIcon:{color:e.palette.grey[600]}})),Zte=({array:e,sortFn:t,sortKey:n="name",buttonClick:o,linkTo:s,ItemTemplate:p,arrayKey:u="id",loading:g=!1,loadingMessage:b="Loading list...",emptyMessage:y="List is empty",dynamicEmptyMessage:C,inputBackgroundColor:w,placeholder:O,disabledSearch:P,delay:D=500,minQueryLength:I=3,handleOnChange:j,searchKeys:z=["name"],alphabetisedHeader:H=!0,initialSearchQuery:L="",isResultDisabled:U})=>{const A={...pl(),...Fh(),...Qte({background:w})},[Q,te]=$.useState(L),[ue,ae]=$.useState(!1),[pe,xe]=$.useState(e);return DE(()=>{!j&&!ue&&Q.length>=I&&xe(e==null?void 0:e.filter(Pe=>z.some(de=>{var fe;return(fe=Pe[de])==null?void 0:fe.toLowerCase().includes(Q.toLowerCase())})))},[Q,e],D),DE(()=>{j&&!ue&&Q.length>=I&&j(Q)},[Q],D),$.useEffect(()=>{xe(e)},[e]),B.jsxs(B.Fragment,{children:[B.jsx(Co,{className:`${A.searchBox} ${A.limitWidth50rem}`,children:B.jsx(zm,{disabled:P,type:"text",value:Q,placeholder:O||"Enter to search",onChange:Pe=>{ue&&ae(!1),te(Pe.target.value)},className:A.searchField,endAdornment:B.jsx(rS,{position:"end",className:A.rightSpacer2,children:B.jsx(PE,{className:A.searchIcon})})})}),e!==null&&B.jsx(k$,{array:pe,sortFn:t,sortKey:n,buttonClick:o,linkTo:s,ItemTemplate:p,arrayKey:u,loading:g,loadingMessage:b,emptyMessage:C?C(Q):y,alphabetisedHeader:H,isItemDisabled:U})]})};function N$(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,o=Object.getOwnPropertySymbols(e);s<o.length;s++)t.indexOf(o[s])<0&&Object.prototype.propertyIsEnumerable.call(e,o[s])&&(n[o[s]]=e[o[s]]);return n}var gb;(function(e){e.event="event",e.props="prop"})(gb||(gb={}));function Sp(){}function Jte(e){var t,n=void 0;return function(){for(var o=[],s=arguments.length;s--;)o[s]=arguments[s];return t&&o.length===t.length&&o.every(function(p,u){return p===t[u]})||(t=o,n=e.apply(void 0,o)),n}}function yb(e){return!!(e||"").match(/\d/)}function Jm(e){return e==null}function ene(e){return typeof e=="number"&&isNaN(e)}function M$(e){return Jm(e)||ene(e)||typeof e=="number"&&!isFinite(e)}function A$(e){return e.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function tne(e){switch(e){case"lakh":return/(\d+?)(?=(\d\d)+(\d)(?!\d))(\.\d+)?/g;case"wan":return/(\d)(?=(\d{4})+(?!\d))/g;case"thousand":default:return/(\d)(?=(\d{3})+(?!\d))/g}}function nne(e,t,n){var o=tne(n),s=e.search(/[1-9]/);return s=s===-1?e.length:s,e.substring(0,s)+e.substring(s,e.length).replace(o,"$1"+t)}function rne(e){var t=$.useRef(e);t.current=e;var n=$.useRef(function(){for(var o=[],s=arguments.length;s--;)o[s]=arguments[s];return t.current.apply(t,o)});return n.current}function NE(e,t){t===void 0&&(t=!0);var n=e[0]==="-",o=n&&t;e=e.replace("-","");var s=e.split("."),p=s[0],u=s[1]||"";return{beforeDecimal:p,afterDecimal:u,hasNegation:n,addNegation:o}}function one(e){if(!e)return e;var t=e[0]==="-";t&&(e=e.substring(1,e.length));var n=e.split("."),o=n[0].replace(/^0+/,"")||"0",s=n[1]||"";return(t?"-":"")+o+(s?"."+s:"")}function $$(e,t,n){for(var o="",s=n?"0":"",p=0;p<=t-1;p++)o+=e[p]||s;return o}function I$(e,t){return Array(t+1).join(e)}function F$(e){var t=e+"",n=t[0]==="-"?"-":"";n&&(t=t.substring(1));var o=t.split(/[eE]/g),s=o[0],p=o[1];if(p=Number(p),!p)return n+s;s=s.replace(".","");var u=1+p,g=s.length;return u<0?s="0."+I$("0",Math.abs(u))+s:u>=g?s=s+I$("0",u-g):s=(s.substring(0,u)||"0")+"."+s.substring(u),n+s}function j$(e,t,n){if(["","-"].indexOf(e)!==-1)return e;var o=(e.indexOf(".")!==-1||n)&&t,s=NE(e),p=s.beforeDecimal,u=s.afterDecimal,g=s.hasNegation,b=parseFloat("0."+(u||"0")),y=u.length<=t?"0."+u:b.toFixed(t),C=y.split("."),w=p;p&&Number(C[0])&&(w=p.split("").reverse().reduce(function(I,j,z){return I.length>z?(Number(I[0])+Number(j)).toString()+I.substring(1,I.length):j+I},C[0]));var O=$$(C[1]||"",t,n),P=g?"-":"",D=o?".":"";return""+P+w+D+O}function Wh(e,t){if(e.value=e.value,e!==null){if(e.createTextRange){var n=e.createTextRange();return n.move("character",t),n.select(),!0}return e.selectionStart||e.selectionStart===0?(e.focus(),e.setSelectionRange(t,t),!0):(e.focus(),!1)}}var L$=Jte(function(e,t){for(var n=0,o=0,s=e.length,p=t.length;e[n]===t[n]&&n<s;)n++;for(;e[s-1-o]===t[p-1-o]&&p-o>n&&s-o>n;)o++;return{from:{start:n,end:s-o},to:{start:n,end:p-o}}});function ine(e,t,n){return Math.min(Math.max(e,t),n)}function ME(e){return Math.max(e.selectionStart,e.selectionEnd)}function ane(){return typeof navigator<"u"&&!(navigator.platform&&/iPhone|iPod/.test(navigator.platform))}function sne(e){return{from:{start:0,end:0},to:{start:0,end:e.length},lastValue:""}}function lne(e){var t=e.currentValue,n=e.formattedValue,o=e.currentValueIndex,s=e.formattedValueIndex;return t[o]===n[s]}function une(e,t,n,o,s,p,u){u===void 0&&(u=lne);var g=s.findIndex(function(U){return U}),b=e.slice(0,g);!t&&!n.startsWith(b)&&(t=b,n=b+n,o=o+b.length);for(var y=n.length,C=e.length,w={},O=new Array(y),P=0;P<y;P++){O[P]=-1;for(var D=0,I=C;D<I;D++){var j=u({currentValue:n,lastValue:t,formattedValue:e,currentValueIndex:P,formattedValueIndex:D});if(j&&w[D]!==!0){O[P]=D,w[D]=!0;break}}}for(var z=o;z<y&&(O[z]===-1||!p(n[z]));)z++;var H=z===y||O[z]===-1?C:O[z];for(z=o-1;z>0&&O[z]===-1;)z--;var L=z===-1||O[z]===-1?0:O[z]+1;return L>H?H:o-L<H-o?L:H}function B$(e,t,n,o){var s=e.length;if(t=ine(t,0,s),o==="left"){for(;t>=0&&!n[t];)t--;t===-1&&(t=n.indexOf(!0))}else{for(;t<=s&&!n[t];)t++;t>s&&(t=n.lastIndexOf(!0))}return t===-1&&(t=s),t}function cne(e){for(var t=Array.from({length:e.length+1}).map(function(){return!0}),n=0,o=t.length;n<o;n++)t[n]=!!(yb(e[n])||yb(e[n-1]));return t}function V$(e,t,n,o,s,p){p===void 0&&(p=Sp);var u=rne(function(D,I){var j,z;return M$(D)?(z="",j=""):typeof D=="number"||I?(z=typeof D=="number"?F$(D):D,j=o(z)):(z=s(D,void 0),j=o(z)),{formattedValue:j,numAsString:z}}),g=$.useState(function(){return u(Jm(e)?t:e,n)}),b=g[0],y=g[1],C=function(D,I){D.formattedValue!==b.formattedValue&&y({formattedValue:D.formattedValue,numAsString:D.value}),p(D,I)},w=e,O=n;Jm(e)&&(w=b.numAsString,O=!0);var P=u(w,O);return $.useMemo(function(){y(P)},[P.formattedValue]),[b,C]}function dne(e){return e.replace(/[^0-9]/g,"")}function fne(e){return e}function pne(e){var t=e.type;t===void 0&&(t="text");var n=e.displayType;n===void 0&&(n="input");var o=e.customInput,s=e.renderText,p=e.getInputRef,u=e.format;u===void 0&&(u=fne);var g=e.removeFormatting;g===void 0&&(g=dne);var b=e.defaultValue,y=e.valueIsNumericString,C=e.onValueChange,w=e.isAllowed,O=e.onChange;O===void 0&&(O=Sp);var P=e.onKeyDown;P===void 0&&(P=Sp);var D=e.onMouseUp;D===void 0&&(D=Sp);var I=e.onFocus;I===void 0&&(I=Sp);var j=e.onBlur;j===void 0&&(j=Sp);var z=e.value,H=e.getCaretBoundary;H===void 0&&(H=cne);var L=e.isValidInputCharacter;L===void 0&&(L=yb);var U=e.isCharacterSame,A=N$(e,["type","displayType","customInput","renderText","getInputRef","format","removeFormatting","defaultValue","valueIsNumericString","onValueChange","isAllowed","onChange","onKeyDown","onMouseUp","onFocus","onBlur","value","getCaretBoundary","isValidInputCharacter","isCharacterSame"]),Q=V$(z,b,!!y,u,g,C),te=Q[0],ue=te.formattedValue,ae=te.numAsString,pe=Q[1],xe=$.useRef({formattedValue:ue,numAsString:ae}),Pe=function(et,xt){xe.current={formattedValue:et.formattedValue,numAsString:et.value},pe(et,xt)},ye=$.useState(!1),de=ye[0],fe=ye[1],Se=$.useRef(null),re=$.useRef({setCaretTimeout:null,focusTimeout:null});$.useEffect(function(){return fe(!0),function(){clearTimeout(re.current.setCaretTimeout),clearTimeout(re.current.focusTimeout)}},[]);var ce=u,ke=function(et,xt){var Yt=parseFloat(xt);return{formattedValue:et,value:xt,floatValue:isNaN(Yt)?void 0:Yt}},Ce=function(et,xt,Yt){et.selectionStart===0&&et.selectionEnd===et.value.length||(Wh(et,xt),re.current.setCaretTimeout=setTimeout(function(){et.value===Yt&&et.selectionStart!==xt&&Wh(et,xt)},0))},ge=function(et,xt,Yt){return B$(et,xt,H(et),Yt)},Me=function(et,xt,Yt){var _t=H(xt),Jt=une(xt,ue,et,Yt,_t,L,U);return Jt=B$(xt,Jt,_t),Jt},Le=function(et){var xt=et.formattedValue;xt===void 0&&(xt="");var Yt=et.input,_t=et.source,Jt=et.event,rt=et.numAsString,ut;if(Yt){var Kt=et.inputValue||Yt.value,En=ME(Yt);Yt.value=xt,ut=Me(Kt,xt,En),ut!==void 0&&Ce(Yt,ut,xt)}xt!==ue&&Pe(ke(xt,rt),{event:Jt,source:_t})};$.useEffect(function(){var et=xe.current,xt=et.formattedValue,Yt=et.numAsString;ue!==xt&&(ue!==ae||xt!==Yt)&&Pe(ke(ue,ae),{event:void 0,source:gb.props})},[ue,ae]);var Oe=Se.current?ME(Se.current):void 0,Ve=typeof window<"u"?$.useLayoutEffect:$.useEffect;Ve(function(){var et=Se.current;if(ue!==xe.current.formattedValue&&et){var xt=Me(xe.current.formattedValue,ue,Oe);et.value=ue,Ce(et,xt,ue)}},[ue]);var ze=function(et,xt,Yt){var _t=L$(ue,et),Jt=Object.assign(Object.assign({},_t),{lastValue:ue}),rt=g(et,Jt),ut=ce(rt);if(rt=g(ut,void 0),w&&!w(ke(ut,rt))){var Kt=xt.target,En=ME(Kt),yn=Me(et,ue,En);return Kt.value=ue,Ce(Kt,yn,ue),!1}return Le({formattedValue:ut,numAsString:rt,inputValue:et,event:xt,source:Yt,input:xt.target}),!0},We=function(et){var xt=et.target,Yt=xt.value,_t=ze(Yt,et,gb.event);_t&&O(et)},Ye=function(et){var xt=et.target,Yt=et.key,_t=xt.selectionStart,Jt=xt.selectionEnd,rt=xt.value;rt===void 0&&(rt="");var ut;if(Yt==="ArrowLeft"||Yt==="Backspace"?ut=Math.max(_t-1,0):Yt==="ArrowRight"?ut=Math.min(_t+1,rt.length):Yt==="Delete"&&(ut=_t),ut===void 0||_t!==Jt){P(et);return}var Kt=ut;if(Yt==="ArrowLeft"||Yt==="ArrowRight"){var En=Yt==="ArrowLeft"?"left":"right";Kt=ge(rt,ut,En),Kt!==ut&&et.preventDefault()}else Yt==="Delete"&&!L(rt[ut])?Kt=ge(rt,ut,"right"):Yt==="Backspace"&&!L(rt[ut])&&(Kt=ge(rt,ut,"left"));Kt!==ut&&Ce(xt,Kt,rt),et.isUnitTestRun&&Ce(xt,Kt,rt),P(et)},ot=function(et){var xt=et.target,Yt=xt.selectionStart,_t=xt.selectionEnd,Jt=xt.value;if(Jt===void 0&&(Jt=""),Yt===_t){var rt=ge(Jt,Yt);rt!==Yt&&Ce(xt,rt,Jt)}D(et)},yt=function(et){et.persist&&et.persist();var xt=et.target,Yt=et.currentTarget;Se.current=xt,re.current.focusTimeout=setTimeout(function(){var _t=xt.selectionStart,Jt=xt.selectionEnd,rt=xt.value;rt===void 0&&(rt="");var ut=ge(rt,_t);ut!==_t&&!(_t===0&&Jt===rt.length)&&Ce(xt,ut,rt),I(Object.assign(Object.assign({},et),{currentTarget:Yt}))},0)},Ze=function(et){Se.current=null,clearTimeout(re.current.focusTimeout),clearTimeout(re.current.setCaretTimeout),j(et)},Te=de&&ane()?"numeric":void 0,tt=Object.assign({inputMode:Te},A,{type:t,value:ue,onChange:We,onKeyDown:Ye,onMouseUp:ot,onFocus:yt,onBlur:Ze});if(n==="text")return s?xa.createElement(xa.Fragment,null,s(ue,A)||null):xa.createElement("span",Object.assign({},A,{ref:p}),ue);if(o){var Ge=o;return xa.createElement(Ge,Object.assign({},tt,{ref:p}))}return xa.createElement("input",Object.assign({},tt,{ref:p}))}function z$(e,t){var n=t.decimalScale,o=t.fixedDecimalScale,s=t.prefix;s===void 0&&(s="");var p=t.suffix;p===void 0&&(p="");var u=t.allowNegative,g=t.thousandsGroupStyle;if(g===void 0&&(g="thousand"),e===""||e==="-")return e;var b=xS(t),y=b.thousandSeparator,C=b.decimalSeparator,w=n!==0&&e.indexOf(".")!==-1||n&&o,O=NE(e,u),P=O.beforeDecimal,D=O.afterDecimal,I=O.addNegation;return n!==void 0&&(D=$$(D,n,!!o)),y&&(P=nne(P,y,g)),s&&(P=s+P),p&&(D=D+p),I&&(P="-"+P),e=P+(w&&C||"")+D,e}function xS(e){var t=e.decimalSeparator;t===void 0&&(t=".");var n=e.thousandSeparator,o=e.allowedDecimalSeparators;return n===!0&&(n=","),o||(o=[t,"."]),{decimalSeparator:t,thousandSeparator:n,allowedDecimalSeparators:o}}function hne(e,t){e===void 0&&(e="");var n=new RegExp("(-)"),o=new RegExp("(-)(.)*(-)"),s=n.test(e),p=o.test(e);return e=e.replace(/-/g,""),s&&!p&&t&&(e="-"+e),e}function vne(e,t){return new RegExp("(^-)|[0-9]|"+A$(e),"g")}function mne(e,t,n){return e===""?!0:!(t!=null&&t.match(/\d/))&&!(n!=null&&n.match(/\d/))&&typeof e=="string"&&!isNaN(Number(e))}function gne(e,t,n){var o;t===void 0&&(t=sne(e));var s=n.allowNegative,p=n.prefix;p===void 0&&(p="");var u=n.suffix;u===void 0&&(u="");var g=n.decimalScale,b=t.from,y=t.to,C=y.start,w=y.end,O=xS(n),P=O.allowedDecimalSeparators,D=O.decimalSeparator,I=e[w]===D;if(yb(e)&&(e===p||e===u)&&t.lastValue==="")return e;if(w-C===1&&P.indexOf(e[C])!==-1){var j=g===0?"":D;e=e.substring(0,C)+j+e.substring(C+1,e.length)}var z=function(re,ce,ke){var Ce=!1,ge=!1;p.startsWith("-")?Ce=!1:re.startsWith("--")?(Ce=!1,ge=!0):u.startsWith("-")&&re.length===u.length?Ce=!1:re[0]==="-"&&(Ce=!0);var Me=Ce?1:0;return ge&&(Me=2),Me&&(re=re.substring(Me),ce-=Me,ke-=Me),{value:re,start:ce,end:ke,hasNegation:Ce}},H=z(e,C,w),L=H.hasNegation;o=H,e=o.value,C=o.start,w=o.end;var U=z(t.lastValue,b.start,b.end),A=U.start,Q=U.end,te=U.value,ue=e.substring(C,w);e.length&&te.length&&(A>te.length-u.length||Q<p.length)&&!(ue&&u.startsWith(ue))&&(e=te);var ae=0;e.startsWith(p)?ae+=p.length:C<p.length&&(ae=C),e=e.substring(ae),w-=ae;var pe=e.length,xe=e.length-u.length;e.endsWith(u)?pe=xe:(w>xe||w>e.length-u.length)&&(pe=w),e=e.substring(0,pe),e=hne(L?"-"+e:e,s),e=(e.match(vne(D))||[]).join("");var Pe=e.indexOf(D);e=e.replace(new RegExp(A$(D),"g"),function(re,ce){return ce===Pe?".":""});var ye=NE(e,s),de=ye.beforeDecimal,fe=ye.afterDecimal,Se=ye.addNegation;return y.end-y.start<b.end-b.start&&de===""&&I&&!parseFloat(fe)&&(e=Se?"-":""),e}function yne(e,t){var n=t.prefix;n===void 0&&(n="");var o=t.suffix;o===void 0&&(o="");var s=Array.from({length:e.length+1}).map(function(){return!0}),p=e[0]==="-";s.fill(!1,0,n.length+(p?1:0));var u=e.length;return s.fill(!1,u-o.length+1,u+1),s}function bne(e){var t=xS(e),n=t.thousandSeparator,o=t.decimalSeparator,s=e.prefix;s===void 0&&(s="");var p=e.allowNegative;if(p===void 0&&(p=!0),n===o)throw new Error(`
|
|
545
|
+
Decimal separator can't be same as thousand separator.
|
|
546
|
+
thousandSeparator: `+n+` (thousandSeparator = {true} is same as thousandSeparator = ",")
|
|
547
|
+
decimalSeparator: `+o+` (default value for decimalSeparator is .)
|
|
548
|
+
`);return s.startsWith("-")&&p&&(console.error(`
|
|
549
|
+
Prefix can't start with '-' when allowNegative is true.
|
|
550
|
+
prefix: `+s+`
|
|
551
|
+
allowNegative: `+p+`
|
|
552
|
+
`),p=!1),Object.assign(Object.assign({},e),{allowNegative:p})}function xne(e){e=bne(e),e.decimalSeparator,e.allowedDecimalSeparators,e.thousandsGroupStyle;var t=e.suffix,n=e.allowNegative,o=e.allowLeadingZeros,s=e.onKeyDown;s===void 0&&(s=Sp);var p=e.onBlur;p===void 0&&(p=Sp);var u=e.thousandSeparator,g=e.decimalScale,b=e.fixedDecimalScale,y=e.prefix;y===void 0&&(y="");var C=e.defaultValue,w=e.value,O=e.valueIsNumericString,P=e.onValueChange,D=N$(e,["decimalSeparator","allowedDecimalSeparators","thousandsGroupStyle","suffix","allowNegative","allowLeadingZeros","onKeyDown","onBlur","thousandSeparator","decimalScale","fixedDecimalScale","prefix","defaultValue","value","valueIsNumericString","onValueChange"]),I=xS(e),j=I.decimalSeparator,z=I.allowedDecimalSeparators,H=function(Se){return z$(Se,e)},L=function(Se,re){return gne(Se,re,e)},U=Jm(w)?C:w,A=O??mne(U,y,t);Jm(w)?Jm(C)||(A=A||typeof C=="number"):A=A||typeof w=="number";var Q=function(Se){return M$(Se)?Se:(typeof Se=="number"&&(Se=F$(Se)),A&&typeof g=="number"?j$(Se,g,!!b):Se)},te=V$(Q(w),Q(C),!!A,H,L,P),ue=te[0],ae=ue.numAsString,pe=ue.formattedValue,xe=te[1],Pe=function(Se){var re=Se.target,ce=Se.key,ke=re.selectionStart,Ce=re.selectionEnd,ge=re.value;if(ge===void 0&&(ge=""),ke!==Ce){s(Se);return}ce==="Backspace"&&ge[0]==="-"&&ke===y.length+1&&n&&Wh(re,1),g&&b&&(ce==="Backspace"&&ge[ke-1]===j?(Wh(re,ke-1),Se.preventDefault()):ce==="Delete"&&ge[ke]===j&&Se.preventDefault()),z!=null&&z.includes(ce)&&ge[ke]===j&&Wh(re,ke+1);var Me=u===!0?",":u;ce==="Backspace"&&ge[ke-1]===Me&&Wh(re,ke-1),ce==="Delete"&&ge[ke]===Me&&Wh(re,ke+1),s(Se)},ye=function(Se){var re=ae;if(re.match(/\d/g)||(re=""),o||(re=one(re)),b&&g&&(re=j$(re,g,b)),re!==ae){var ce=z$(re,e);xe({formattedValue:ce,value:re,floatValue:parseFloat(re)},{event:Se,source:gb.event})}p(Se)},de=function(Se){return Se===j?!0:yb(Se)},fe=function(Se){var re=Se.currentValue,ce=Se.lastValue,ke=Se.formattedValue,Ce=Se.currentValueIndex,ge=Se.formattedValueIndex,Me=re[Ce],Le=ke[ge],Oe=L$(ce,re),Ve=Oe.to;return Ce>=Ve.start&&Ce<Ve.end&&z&&z.includes(Me)&&Le===j?!0:Me===Le};return Object.assign(Object.assign({},D),{value:pe,valueIsNumericString:!1,isValidInputCharacter:de,isCharacterSame:fe,onValueChange:xe,format:H,removeFormatting:L,getCaretBoundary:function(Se){return yne(Se,e)},onKeyDown:Pe,onBlur:ye})}function AE(e){var t=xne(e);return xa.createElement(pne,Object.assign({},t))}const Sne=Mi(e=>({inputField:({size:t})=>({borderRadius:ju,...t==="small"?e.typography.body2:{}}),labelStyles:({size:t})=>({...t==="small"?{transform:"translate(14px, 9px) scale(1) !important",...e.typography.body2,"&.MuiInputLabel-outlined.MuiInputLabel-shrink":{transform:"translate(15px, -9px) scale(0.75) !important"}}:{}})})),eg=({size:e="small",styling:t,numberField:n,inputProps:o={},InputProps:s={},accessLevel:p,disabled:u,fixedDecimalScale:g,...b})=>{const y=Sne({size:e});if(p===gp)return null;let C=u;p===mp&&(C=!0);const w={...n&&{fixedDecimalScale:!!g}};return B.jsx(cE,{className:t||"",disabled:C,variant:"outlined",...b,inputProps:{...o,...w},InputProps:{...s,className:y.inputField,inputComponent:n?U$:void 0},InputLabelProps:{className:y.labelStyles},size:e})},U$=e=>{const{onChange:t,...n}=e;return B.jsx(AE,{...n,onValueChange:o=>{t({target:{name:e.name||"",value:o.value}})},thousandSeparator:!0,decimalScale:2,valueIsNumericString:!0})};var $E={},Cne=vb;Object.defineProperty($E,"__esModule",{value:!0});var W$=$E.default=void 0,wne=Cne(mb()),Rne=B;W$=$E.default=(0,wne.default)((0,Rne.jsx)("path",{d:"M15.88 9.29 12 13.17 8.12 9.29a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.39-.39.39-1.02 0-1.41-.39-.38-1.03-.39-1.42 0"}),"ExpandMoreRounded");const Ene=Mi(e=>({wrapper:{"& .MuiFormLabel-root":{background:"white",paddingLeft:4,paddingRight:4}},root:{"& fieldset":{border:"0 !important"},"& .MuiSelect-icon":{display:({disabled:t})=>t?"none":"block",transform:({open:t})=>t?"rotateX(180deg)":"rotateX(0deg)",fill:({open:t})=>t?e.palette.primary.main:"#B4B4B4"}},listWrapper:{marginTop:6,...e.typography.body2,borderRadius:"15px !important",padding:"0 !important",border:"solid 1px #D5D5D5"},list:{padding:"0 !important",maxHeight:({maxListHeight:t})=>t,overflowY:"auto"},listItem:{...e.typography.body2,overflow:"auto",scrollbarWidth:"thin",paddingTop:9.5,paddingBottom:9.5,paddingLeft:15,paddingRight:20,color:"#B4B4B4",fontWeight:500,"&:hover":{background:"#F5F5F5",color:"#1F1F27"}},selectedListItem:{background:"white !important","&:hover":{background:"#F5F5F5 !important",color:"#1F1F27 !important"}},input:{...e.typography.body2,borderRadius:({variant:t})=>t==="outlined"?"15px !important":"0 !important",border:({variant:t})=>t==="outlined"?"solid 1px #D5D5D5":void 0,borderBottom:({variant:t,disabled:n})=>t==="standard"&&!n?"solid 1px #D5D5D5":void 0,borderColor:({open:t})=>t?e.palette.primary.main:"#D5D5D5",fontWeight:500,paddingLeft:({variant:t})=>t==="standard"?0:void 0,paddingTop:({variant:t})=>t==="standard"?4:void 0,paddingBottom:({variant:t})=>t==="standard"?4:void 0,paddingRight:({variant:t,disabled:n})=>t==="standard"&&n?0:void 0,width:"100%"}})),IE=({selectOptions:e,styling:t,disabled:n,accessLevel:o,maxListHeight:s,variant:p="outlined",onOpen:u,onClose:g,itemClassName:b,...y})=>{const[C,w]=$.useState(!1),O=Ene({open:C,maxListHeight:s,variant:p,disabled:n});return o===gp?null:(o===mp&&(n=!0),B.jsx(eg,{...y,className:[O.wrapper,t,y.className].filter(P=>P).join(" "),disabled:n,SelectProps:{MenuProps:{classes:{root:O.root,paper:O.listWrapper,list:O.list}},inputProps:{className:O.input},IconComponent:W$,open:C,onOpen(){e.length!==0&&(w(!0),u==null||u())},onClose(){w(!1),g==null||g()}},classes:{root:O.root},select:!0,children:e.map(P=>B.jsx(oE,{value:P.value,disabled:P.disabled??!1,className:[O.listItem,b].filter(D=>D).join(" "),classes:{selected:O.selectedListItem},children:P.description},P.value))}))},bb=(e,t)=>e.length!==t.length?!1:t.every(n=>e.includes(n)),Tne=({openTo:e,defaultOpenTo:t,views:n,defaultViews:o})=>{const s=n??o;let p;if(e!=null)p=e;else if(s.includes(t))p=t;else if(s.length>0)p=s[0];else throw new Error("MUI: The `views` prop must contain at least one view");return{views:s,openTo:p}},xb=({date:e,disableFuture:t,disablePast:n,maxDate:o,minDate:s,isDateDisabled:p,utils:u,timezone:g})=>{const b=u.startOfDay(u.dateWithTimezone(void 0,g));n&&u.isBefore(s,b)&&(s=b),t&&u.isAfter(o,b)&&(o=b);let y=e,C=e;for(u.isBefore(e,s)&&(y=s,C=null),u.isAfter(e,o)&&(C&&(C=o),y=null);y||C;){if(y&&u.isAfter(y,o)&&(y=null),C&&u.isBefore(C,s)&&(C=null),y){if(!p(y))return y;y=u.addDays(y,1)}if(C){if(!p(C))return C;C=u.addDays(C,-1)}}return null},_ne=(e,t)=>t==null||!e.isValid(t)?null:t,Wu=(e,t,n)=>t==null||!e.isValid(t)?n:t,One=(e,t,n)=>!e.isValid(t)&&t!=null&&!e.isValid(n)&&n!=null?!0:e.isEqual(t,n),FE=(e,t)=>{const o=[e.startOfYear(t)];for(;o.length<12;){const s=o[o.length-1];o.push(e.addMonths(s,1))}return o},jE=(e,t,n)=>{let o=t;return o=e.setHours(o,e.getHours(n)),o=e.setMinutes(o,e.getMinutes(n)),o=e.setSeconds(o,e.getSeconds(n)),o},H$=(e,t,n)=>n==="date"?e.startOfDay(e.dateWithTimezone(void 0,t)):e.dateWithTimezone(void 0,t),Pne=["year","month","day"],G$=e=>Pne.includes(e),LE=(e,{format:t,views:n},o)=>{if(t!=null)return t;const s=e.formats;return bb(n,["year"])?s.year:bb(n,["month"])?s.month:bb(n,["day"])?s.dayOfMonth:bb(n,["month","year"])?`${s.month} ${s.year}`:bb(n,["day","month"])?`${s.month} ${s.dayOfMonth}`:o?/en/.test(e.getCurrentLocaleCode())?s.normalDateWithWeekday:s.normalDate:s.keyboardDate},Dne=(e,t)=>{const n=e.startOfWeek(t);return[0,1,2,3,4,5,6].map(o=>e.addDays(n,o))},kne=["hours","minutes","seconds"],Nne=e=>kne.includes(e),q$=(e,t)=>t.getHours(e)*3600+t.getMinutes(e)*60+t.getSeconds(e),Mne=(e,t)=>(n,o)=>e?t.isAfter(n,o):q$(n,t)>q$(o,t),xd={year:1,month:2,day:3,hours:4,minutes:5,seconds:6,milliseconds:7},Ane=e=>Math.max(...e.map(t=>{var n;return(n=xd[t.type])!=null?n:1})),Sb=(e,t,n)=>{if(t===xd.year)return e.startOfYear(n);if(t===xd.month)return e.startOfMonth(n);if(t===xd.day)return e.startOfDay(n);let o=n;return t<xd.minutes&&(o=e.setMinutes(o,0)),t<xd.seconds&&(o=e.setSeconds(o,0)),t<xd.milliseconds&&(o=e.setMilliseconds(o,0)),o},$ne=({props:e,utils:t,granularity:n,timezone:o,getTodayDate:s})=>{var p;let u=s?s():Sb(t,n,H$(t,o));e.minDate!=null&&t.isAfterDay(e.minDate,u)&&(u=Sb(t,n,e.minDate)),e.maxDate!=null&&t.isBeforeDay(e.maxDate,u)&&(u=Sb(t,n,e.maxDate));const g=Mne((p=e.disableIgnoringDatePartForTimeValidation)!=null?p:!1,t);return e.minTime!=null&&g(e.minTime,u)&&(u=Sb(t,n,e.disableIgnoringDatePartForTimeValidation?e.minTime:jE(t,u,e.minTime))),e.maxTime!=null&&g(u,e.maxTime)&&(u=Sb(t,n,e.disableIgnoringDatePartForTimeValidation?e.maxTime:jE(t,u,e.maxTime))),u},BE=(e,t)=>{const n=e.formatTokenMap[t];if(n==null)throw new Error([`MUI: The token "${t}" is not supported by the Date and Time Pickers.`,"Please try using another token or open an issue on https://github.com/mui/mui-x/issues/new/choose if you think it should be supported."].join(`
|
|
553
|
+
`));return typeof n=="string"?{type:n,contentType:n==="meridiem"?"letter":"digit",maxLength:void 0}:{type:n.sectionType,contentType:n.contentType,maxLength:n.maxLength}},Ine=e=>{switch(e){case"ArrowUp":return 1;case"ArrowDown":return-1;case"PageUp":return 5;case"PageDown":return-5;default:return 0}},SS=(e,t,n)=>{const o=[],s=e.dateWithTimezone(void 0,t),p=e.startOfWeek(s),u=e.endOfWeek(s);let g=p;for(;e.isBefore(g,u);)o.push(g),g=e.addDays(g,1);return o.map(b=>e.formatByString(b,n))},Y$=(e,t,n,o)=>{switch(n){case"month":return FE(e,e.dateWithTimezone(void 0,t)).map(s=>e.formatByString(s,o));case"weekDay":return SS(e,t,o);case"meridiem":{const s=e.dateWithTimezone(void 0,t);return[e.startOfDay(s),e.endOfDay(s)].map(p=>e.formatByString(p,o))}default:return[]}},K$=(e,t,n)=>{let o=t;for(o=Number(o).toString();o.length<n;)o=`0${o}`;return o},X$=(e,t,n,o,s)=>{if(process.env.NODE_ENV!=="production"&&s.type!=="day"&&s.contentType==="digit-with-letter")throw new Error([`MUI: The token "${s.format}" is a digit format with letter in it.'
|
|
554
|
+
This type of format is only supported for 'day' sections`].join(`
|
|
555
|
+
`));if(s.type==="day"&&s.contentType==="digit-with-letter"){const u=e.setDate(o.longestMonth,n);return e.formatByString(u,s.format)}const p=n.toString();return s.hasLeadingZerosInInput?K$(e,p,s.maxLength):p},Fne=(e,t,n,o,s,p,u)=>{const g=Ine(o),b=o==="Home",y=o==="End",C=n.value===""||b||y,w=()=>{const P=s[n.type]({currentDate:p,format:n.format,contentType:n.contentType}),D=H=>X$(e,t,H,P,n),I=n.type==="minutes"&&u!=null&&u.minutesStep?u.minutesStep:1;let z=parseInt(n.value,10)+g*I;if(C){if(n.type==="year"&&!y&&!b)return e.formatByString(e.dateWithTimezone(void 0,t),n.format);g>0||b?z=P.minimum:z=P.maximum}return z%I!==0&&((g<0||b)&&(z+=I-(I+z)%I),(g>0||y)&&(z-=z%I)),z>P.maximum?D(P.minimum+(z-P.maximum-1)%(P.maximum-P.minimum+1)):z<P.minimum?D(P.maximum-(P.minimum-z-1)%(P.maximum-P.minimum+1)):D(z)},O=()=>{const P=Y$(e,t,n.type,n.format);if(P.length===0)return n.value;if(C)return g>0||b?P[0]:P[P.length-1];const I=(P.indexOf(n.value)+P.length+g)%P.length;return P[I]};return n.contentType==="digit"||n.contentType==="digit-with-letter"?w():O()},VE=(e,t)=>{let n=e.value||e.placeholder;const o=t==="non-input"?e.hasLeadingZerosInFormat:e.hasLeadingZerosInInput;return t==="non-input"&&e.hasLeadingZerosInInput&&!e.hasLeadingZerosInFormat&&(n=Number(n).toString()),["input-rtl","input-ltr"].includes(t)&&e.contentType==="digit"&&!o&&n.length===1&&(n=`${n}`),t==="input-rtl"&&(n=`${n}`),n},tg=e=>e.replace(/[\u2066\u2067\u2068\u2069]/g,""),Q$=(e,t)=>{let n=0,o=t?1:0;const s=[];for(let p=0;p<e.length;p+=1){const u=e[p],g=VE(u,t?"input-rtl":"input-ltr"),b=`${u.startSeparator}${g}${u.endSeparator}`,y=tg(b).length,C=b.length,w=tg(g),O=o+g.indexOf(w[0])+u.startSeparator.length,P=O+w.length;s.push(V({},u,{start:n,end:n+y,startInInput:O,endInInput:P})),n+=y,o+=C}return s},jne=(e,t,n,o,s)=>{switch(o.type){case"year":return n.fieldYearPlaceholder({digitAmount:e.formatByString(e.dateWithTimezone(void 0,t),s).length,format:s});case"month":return n.fieldMonthPlaceholder({contentType:o.contentType,format:s});case"day":return n.fieldDayPlaceholder({format:s});case"weekDay":return n.fieldWeekDayPlaceholder({contentType:o.contentType,format:s});case"hours":return n.fieldHoursPlaceholder({format:s});case"minutes":return n.fieldMinutesPlaceholder({format:s});case"seconds":return n.fieldSecondsPlaceholder({format:s});case"meridiem":return n.fieldMeridiemPlaceholder({format:s});default:return s}},Z$=(e,t,n,o)=>{if(process.env.NODE_ENV!=="production"&&BE(e,n).type==="weekDay")throw new Error("changeSectionValueFormat doesn't support week day formats");return e.formatByString(e.parse(t,n),o)},J$=(e,t,n)=>e.formatByString(e.dateWithTimezone(void 0,t),n).length===4,eI=(e,t,n,o,s)=>{if(n!=="digit")return!1;const p=e.dateWithTimezone(void 0,t);switch(o){case"year":return J$(e,t,s)?e.formatByString(e.setYear(p,1),s)==="0001":e.formatByString(e.setYear(p,2001),s)==="01";case"month":return e.formatByString(e.startOfYear(p),s).length>1;case"day":return e.formatByString(e.startOfMonth(p),s).length>1;case"weekDay":return e.formatByString(e.startOfWeek(p),s).length>1;case"hours":return e.formatByString(e.setHours(p,1),s).length>1;case"minutes":return e.formatByString(e.setMinutes(p,1),s).length>1;case"seconds":return e.formatByString(e.setSeconds(p,1),s).length>1;default:throw new Error("Invalid section type")}},Lne=(e,t)=>{const n=[],{start:o,end:s}=e.escapedCharacters,p=new RegExp(`(\\${o}[^\\${s}]*\\${s})+`,"g");let u=null;for(;u=p.exec(t);)n.push({start:u.index,end:p.lastIndex-1});return n},tI=(e,t,n,o,s,p,u,g)=>{let b="";const y=[],C=e.date(),w=L=>{if(L==="")return null;const U=BE(e,L),A=eI(e,t,U.contentType,U.type,L),Q=u?A:U.contentType==="digit",te=s!=null&&e.isValid(s);let ue=te?e.formatByString(s,L):"",ae=null;if(Q)if(A)ae=ue===""?e.formatByString(C,L).length:ue.length;else{if(U.maxLength==null)throw new Error(`MUI: The token ${L} should have a 'maxDigitNumber' property on it's adapter`);ae=U.maxLength,te&&(ue=K$(e,ue,ae))}return y.push(V({},U,{format:L,maxLength:ae,value:ue,placeholder:jne(e,t,n,U,L),hasLeadingZeros:A,hasLeadingZerosInFormat:A,hasLeadingZerosInInput:Q,startSeparator:y.length===0?b:"",endSeparator:"",modified:!1})),null};let O=10,P=o,D=e.expandFormat(o);for(;D!==P;)if(P=D,D=e.expandFormat(P),O-=1,O<0)throw new Error("MUI: The format expansion seems to be enter in an infinite loop. Please open an issue with the format passed to the picker component");const I=D,j=Lne(e,I),z=new RegExp(`^(${Object.keys(e.formatTokenMap).sort((L,U)=>U.length-L.length).join("|")})`,"g");let H="";for(let L=0;L<I.length;L+=1){const U=j.find(ae=>ae.start<=L&&ae.end>=L),A=I[L],Q=U!=null,te=`${H}${I.slice(L)}`,ue=z.test(te);!Q&&A.match(/([A-Za-z]+)/)&&ue?(H=te.slice(0,z.lastIndex),L+=z.lastIndex-1):Q&&(U==null?void 0:U.start)===L||(U==null?void 0:U.end)===L||(w(H),H="",y.length===0?b+=A:y[y.length-1].endSeparator+=A)}return w(H),y.map(L=>{const U=A=>{let Q=A;return g&&Q!==null&&Q.includes(" ")&&(Q=`${Q}`),p==="spacious"&&["/",".","-"].includes(Q)&&(Q=` ${Q} `),Q};return L.startSeparator=U(L.startSeparator),L.endSeparator=U(L.endSeparator),L})},Bne=(e,t)=>{const n=t.some(g=>g.type==="day"),o=[],s=[];for(let g=0;g<t.length;g+=1){const b=t[g];n&&b.type==="weekDay"||(o.push(b.format),s.push(VE(b,"non-input")))}const p=o.join(" "),u=s.join(" ");return e.parse(u,p)},Vne=(e,t)=>{const o=e.map(s=>{const p=VE(s,t?"input-rtl":"input-ltr");return`${s.startSeparator}${p}${s.endSeparator}`}).join("");return t?`${o}`:o},zne=(e,t)=>{const n=e.dateWithTimezone(void 0,t),o=e.endOfYear(n),s=e.endOfDay(n),{maxDaysInMonth:p,longestMonth:u}=FE(e,n).reduce((g,b)=>{const y=e.getDaysInMonth(b);return y>g.maxDaysInMonth?{maxDaysInMonth:y,longestMonth:b}:g},{maxDaysInMonth:0,longestMonth:null});return{year:({format:g})=>({minimum:0,maximum:J$(e,t,g)?9999:99}),month:()=>({minimum:1,maximum:e.getMonth(o)+1}),day:({currentDate:g})=>({minimum:1,maximum:g!=null&&e.isValid(g)?e.getDaysInMonth(g):p,longestMonth:u}),weekDay:({format:g,contentType:b})=>{if(b==="digit"){const y=SS(e,t,g).map(Number);return{minimum:Math.min(...y),maximum:Math.max(...y)}}return{minimum:1,maximum:7}},hours:({format:g})=>{const b=e.getHours(s);return e.formatByString(e.endOfDay(n),g)!==b.toString()?{minimum:1,maximum:Number(e.formatByString(e.startOfDay(n),g))}:{minimum:0,maximum:b}},minutes:()=>({minimum:0,maximum:e.getMinutes(s)}),seconds:()=>({minimum:0,maximum:e.getSeconds(s)}),meridiem:()=>({minimum:0,maximum:0})}};let nI=!1;const rI=(e,t)=>{if(process.env.NODE_ENV!=="production"&&!nI){const n=[];["date","date-time"].includes(t)&&n.push("weekDay","day","month","year"),["time","date-time"].includes(t)&&n.push("hours","minutes","seconds","meridiem");const o=e.find(s=>!n.includes(s.type));o&&(console.warn(`MUI: The field component you are using is not compatible with the "${o.type} date section.`,`The supported date sections are ["${n.join('", "')}"]\`.`),nI=!0)}},Une=(e,t,n,o,s)=>{switch(n.type){case"year":return e.setYear(s,e.getYear(o));case"month":return e.setMonth(s,e.getMonth(o));case"weekDay":{const p=SS(e,t,n.format),u=e.formatByString(o,n.format),g=p.indexOf(u),y=p.indexOf(n.value)-g;return e.addDays(o,y)}case"day":return e.setDate(s,e.getDate(o));case"meridiem":{const p=e.getHours(o)<12,u=e.getHours(s);return p&&u>=12?e.addHours(s,-12):!p&&u<12?e.addHours(s,12):s}case"hours":return e.setHours(s,e.getHours(o));case"minutes":return e.setMinutes(s,e.getMinutes(o));case"seconds":return e.setSeconds(s,e.getSeconds(o));default:return s}},oI={year:1,month:2,day:3,weekDay:4,hours:5,minutes:6,seconds:7,meridiem:8},iI=(e,t,n,o,s,p)=>[...o].sort((u,g)=>oI[u.type]-oI[g.type]).reduce((u,g)=>!p||g.modified?Une(e,t,g,n,u):u,s),Wne=()=>navigator.userAgent.toLowerCase().indexOf("android")>-1,Hne=(e,t)=>{const n={};if(!t)return e.forEach((b,y)=>{const C=y===0?null:y-1,w=y===e.length-1?null:y+1;n[y]={leftIndex:C,rightIndex:w}}),{neighbors:n,startIndex:0,endIndex:e.length-1};const o={},s={};let p=0,u=0,g=e.length-1;for(;g>=0;){u=e.findIndex((b,y)=>{var C;return y>=p&&((C=b.endSeparator)==null?void 0:C.includes(" "))&&b.endSeparator!==" / "}),u===-1&&(u=e.length-1);for(let b=u;b>=p;b-=1)s[b]=g,o[g]=b,g-=1;p=u+1}return e.forEach((b,y)=>{const C=s[y],w=C===0?null:o[C-1],O=C===e.length-1?null:o[C+1];n[y]={leftIndex:w,rightIndex:O}}),{neighbors:n,startIndex:o[0],endIndex:o[e.length-1]}},Gne=["value","referenceDate"],ff={emptyValue:null,getTodayValue:H$,getInitialReferenceValue:e=>{let{value:t,referenceDate:n}=e,o=Ot(e,Gne);return t!=null&&o.utils.isValid(t)?t:n??$ne(o)},cleanValue:_ne,areValuesEqual:One,isSameError:(e,t)=>e===t,hasError:e=>e!=null,defaultErrorState:null,getTimezone:(e,t)=>t==null||!e.isValid(t)?null:e.getTimezone(t),setTimezone:(e,t,n)=>n==null?null:e.setTimezone(n,t)},qne={updateReferenceValue:(e,t,n)=>t==null||!e.isValid(t)?n:t,getSectionsFromValue:(e,t,n,o,s)=>!e.isValid(t)&&!!n?n:Q$(s(t),o),getValueStrFromSections:Vne,getActiveDateManager:(e,t)=>({date:t.value,referenceDate:t.referenceValue,getSections:n=>n,getNewValuesFromNewActiveDate:n=>({value:n,referenceValue:n==null||!e.isValid(n)?t.referenceValue:n})}),parseValueStr:(e,t,n)=>n(e.trim(),t)},Yne=["localeText"],CS=$.createContext(null);process.env.NODE_ENV!=="production"&&(CS.displayName="MuiPickersAdapterContext");const zE=function(t){var n;const{localeText:o}=t,s=Ot(t,Yne),{utils:p,localeText:u}=(n=$.useContext(CS))!=null?n:{utils:void 0,localeText:void 0},g=An({props:s,name:"MuiLocalizationProvider"}),{children:b,dateAdapter:y,dateFormats:C,dateLibInstance:w,adapterLocale:O,localeText:P}=g,D=$.useMemo(()=>V({},P,u,o),[P,u,o]),I=$.useMemo(()=>{if(!y)return p||null;const H=new y({locale:O,formats:C,instance:w});if(!H.isMUIAdapter)throw new Error(["MUI: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`","For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`","More information on the installation documentation: https://mui.com/x/react-date-pickers/getting-started/#installation"].join(`
|
|
556
|
+
`));return H},[y,O,C,w,p]),j=$.useMemo(()=>I?{minDate:I.date("1900-01-01T00:00:00.000"),maxDate:I.date("2099-12-31T00:00:00.000")}:null,[I]),z=$.useMemo(()=>({utils:I,defaultDates:j,localeText:D}),[j,I,D]);return B.jsx(CS.Provider,{value:z,children:b})};process.env.NODE_ENV!=="production"&&(zE.propTypes={adapterLocale:a.any,children:a.node,dateAdapter:a.func,dateFormats:a.shape({dayOfMonth:a.string,fullDate:a.string,fullDateTime:a.string,fullDateTime12h:a.string,fullDateTime24h:a.string,fullDateWithWeekday:a.string,fullTime:a.string,fullTime12h:a.string,fullTime24h:a.string,hours12h:a.string,hours24h:a.string,keyboardDate:a.string,keyboardDateTime:a.string,keyboardDateTime12h:a.string,keyboardDateTime24h:a.string,meridiem:a.string,minutes:a.string,month:a.string,monthAndDate:a.string,monthAndYear:a.string,monthShort:a.string,normalDate:a.string,normalDateWithWeekday:a.string,seconds:a.string,shortDate:a.string,weekday:a.string,weekdayShort:a.string,year:a.string}),dateLibInstance:a.any,localeText:a.object});const Kne=e=>({components:{MuiLocalizationProvider:{defaultProps:{localeText:V({},e)}}}}),aI={previousMonth:"Previous month",nextMonth:"Next month",openPreviousView:"open previous view",openNextView:"open next view",calendarViewSwitchingButtonAriaLabel:e=>e==="year"?"year view is open, switch to calendar view":"calendar view is open, switch to year view",start:"Start",end:"End",cancelButtonLabel:"Cancel",clearButtonLabel:"Clear",okButtonLabel:"OK",todayButtonLabel:"Today",datePickerToolbarTitle:"Select date",dateTimePickerToolbarTitle:"Select date & time",timePickerToolbarTitle:"Select time",dateRangePickerToolbarTitle:"Select date range",clockLabelText:(e,t,n)=>`Select ${e}. ${t===null?"No time selected":`Selected time is ${n.format(t,"fullTime")}`}`,hoursClockNumberText:e=>`${e} hours`,minutesClockNumberText:e=>`${e} minutes`,secondsClockNumberText:e=>`${e} seconds`,selectViewText:e=>`Select ${e}`,calendarWeekNumberHeaderLabel:"Week number",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Week ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t)=>e!==null&&t.isValid(e)?`Choose date, selected date is ${t.format(e,"fullDate")}`:"Choose date",openTimePickerDialogue:(e,t)=>e!==null&&t.isValid(e)?`Choose time, selected time is ${t.format(e,"fullTime")}`:"Choose time",fieldClearLabel:"Clear value",timeTableLabel:"pick time",dateTableLabel:"pick date",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>e.contentType==="letter"?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>e.contentType==="letter"?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa"},Xne=aI;Kne(aI);const Hh=()=>{const e=$.useContext(CS);if(e===null)throw new Error(["MUI: Can not find the date and time pickers localization context.","It looks like you forgot to wrap your component in LocalizationProvider.","This can also happen if you are bundling multiple versions of the `@mui/x-date-pickers` package"].join(`
|
|
557
|
+
`));if(e.utils===null)throw new Error(["MUI: Can not find the date and time pickers adapter from its localization context.","It looks like you forgot to pass a `dateAdapter` to your LocalizationProvider."].join(`
|
|
558
|
+
`));const t=$.useMemo(()=>V({},Xne,e.localeText),[e.localeText]);return $.useMemo(()=>V({},e,{localeText:t}),[e,t])},yi=()=>Hh().utils,Cb=()=>Hh().defaultDates,Cp=()=>Hh().localeText,wb=e=>{const t=yi(),n=$.useRef();return n.current===void 0&&(n.current=t.dateWithTimezone(void 0,e)),n.current};function Qne(e){return Wn("MuiPickersToolbar",e)}Bn("MuiPickersToolbar",["root","content"]);const Zne=e=>{const{classes:t,isLandscape:n}=e;return Un({root:["root"],content:["content"],penIconButton:["penIconButton",n&&"penIconButtonLandscape"]},Qne,t)},Jne=mt("div",{name:"MuiPickersToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>V({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"space-between",padding:e.spacing(2,3)},t.isLandscape&&{height:"auto",maxWidth:160,padding:16,justifyContent:"flex-start",flexWrap:"wrap"})),ere=mt("div",{name:"MuiPickersToolbar",slot:"Content",overridesResolver:(e,t)=>t.content})(({ownerState:e})=>{var t;return{display:"flex",flexWrap:"wrap",width:"100%",justifyContent:e.isLandscape?"flex-start":"space-between",flexDirection:e.isLandscape?(t=e.landscapeDirection)!=null?t:"column":"row",flex:1,alignItems:e.isLandscape?"flex-start":"center"}}),tre=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiPickersToolbar"}),{children:s,className:p,toolbarTitle:u,hidden:g,titleId:b}=o,y=o,C=Zne(y);return g?null:B.jsxs(Jne,{ref:n,className:tn(C.root,p),ownerState:y,children:[B.jsx(So,{color:"text.secondary",variant:"overline",id:b,children:u}),B.jsx(ere,{className:C.content,ownerState:y,children:s})]})});function nre(e){return Wn("MuiDatePickerToolbar",e)}Bn("MuiDatePickerToolbar",["root","title"]);const rre=["value","isLandscape","onChange","toolbarFormat","toolbarPlaceholder","views"],ore=e=>{const{classes:t}=e;return Un({root:["root"],title:["title"]},nre,t)},ire=mt(tre,{name:"MuiDatePickerToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})({}),are=mt(So,{name:"MuiDatePickerToolbar",slot:"Title",overridesResolver:(e,t)=>t.title})(({ownerState:e})=>V({},e.isLandscape&&{margin:"auto 16px auto auto"})),sI=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiDatePickerToolbar"}),{value:s,isLandscape:p,toolbarFormat:u,toolbarPlaceholder:g="––",views:b}=o,y=Ot(o,rre),C=yi(),w=Cp(),O=ore(o),P=$.useMemo(()=>{if(!s)return g;const I=LE(C,{format:u,views:b},!0);return C.formatByString(s,I)},[s,u,g,C,b]),D=o;return B.jsx(ire,V({ref:n,toolbarTitle:w.datePickerToolbarTitle,isLandscape:p,className:O.root},y,{children:B.jsx(are,{variant:"h4",align:p?"left":"center",ownerState:D,className:O.title,children:P})}))});process.env.NODE_ENV!=="production"&&(sI.propTypes={classes:a.object,className:a.string,disabled:a.bool,hidden:a.bool,isLandscape:a.bool.isRequired,onChange:a.func.isRequired,onViewChange:a.func.isRequired,readOnly:a.bool,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),titleId:a.string,toolbarFormat:a.string,toolbarPlaceholder:a.node,value:a.any,view:a.oneOf(["day","month","year"]).isRequired,views:a.arrayOf(a.oneOf(["day","month","year"]).isRequired).isRequired});const lI=e=>{if(e!==void 0)return Object.keys(e).reduce((t,n)=>V({},t,{[`${n.slice(0,1).toLowerCase()}${n.slice(1)}`]:e[n]}),{})};function uI(e,t){var n,o,s,p;const u=yi(),g=Cb(),b=An({props:e,name:t}),y=$.useMemo(()=>{var w;return((w=b.localeText)==null?void 0:w.toolbarTitle)==null?b.localeText:V({},b.localeText,{datePickerToolbarTitle:b.localeText.toolbarTitle})},[b.localeText]),C=(n=b.slots)!=null?n:lI(b.components);return V({},b,{localeText:y},Tne({views:b.views,openTo:b.openTo,defaultViews:["year","day"],defaultOpenTo:"day"}),{disableFuture:(o=b.disableFuture)!=null?o:!1,disablePast:(s=b.disablePast)!=null?s:!1,minDate:Wu(u,b.minDate,g.minDate),maxDate:Wu(u,b.maxDate,g.maxDate),slots:V({toolbar:sI},C),slotProps:(p=b.slotProps)!=null?p:b.componentsProps})}const sre=ai(B.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),lre=ai(B.jsx("path",{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"ArrowLeft"),ure=ai(B.jsx("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"ArrowRight"),cre=ai(B.jsx("path",{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"}),"Calendar");ai(B.jsxs($.Fragment,{children:[B.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),B.jsx("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Clock"),ai(B.jsx("path",{d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"}),"DateRange"),ai(B.jsxs($.Fragment,{children:[B.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),B.jsx("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Time");const dre=ai(B.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear");function fre(e){return Wn("MuiPickersArrowSwitcher",e)}Bn("MuiPickersArrowSwitcher",["root","spacer","button"]);const pre=["children","className","slots","slotProps","isNextDisabled","isNextHidden","onGoToNext","nextLabel","isPreviousDisabled","isPreviousHidden","onGoToPrevious","previousLabel"],hre=["ownerState"],vre=["ownerState"],mre=mt("div",{name:"MuiPickersArrowSwitcher",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex"}),gre=mt("div",{name:"MuiPickersArrowSwitcher",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})(({theme:e})=>({width:e.spacing(3)})),cI=mt(lf,{name:"MuiPickersArrowSwitcher",slot:"Button",overridesResolver:(e,t)=>t.button})(({ownerState:e})=>V({},e.hidden&&{visibility:"hidden"})),yre=e=>{const{classes:t}=e;return Un({root:["root"],spacer:["spacer"],button:["button"]},fre,t)},bre=$.forwardRef(function(t,n){var o,s,p,u;const b=Ys().direction==="rtl",y=An({props:t,name:"MuiPickersArrowSwitcher"}),{children:C,className:w,slots:O,slotProps:P,isNextDisabled:D,isNextHidden:I,onGoToNext:j,nextLabel:z,isPreviousDisabled:H,isPreviousHidden:L,onGoToPrevious:U,previousLabel:A}=y,Q=Ot(y,pre),te=y,ue=yre(te),ae={isDisabled:D,isHidden:I,goTo:j,label:z},pe={isDisabled:H,isHidden:L,goTo:U,label:A},xe=(o=O==null?void 0:O.previousIconButton)!=null?o:cI,Pe=si({elementType:xe,externalSlotProps:P==null?void 0:P.previousIconButton,additionalProps:{size:"medium",title:pe.label,"aria-label":pe.label,disabled:pe.isDisabled,edge:"end",onClick:pe.goTo},ownerState:V({},te,{hidden:pe.isHidden}),className:ue.button}),ye=(s=O==null?void 0:O.nextIconButton)!=null?s:cI,de=si({elementType:ye,externalSlotProps:P==null?void 0:P.nextIconButton,additionalProps:{size:"medium",title:ae.label,"aria-label":ae.label,disabled:ae.isDisabled,edge:"start",onClick:ae.goTo},ownerState:V({},te,{hidden:ae.isHidden}),className:ue.button}),fe=(p=O==null?void 0:O.leftArrowIcon)!=null?p:lre,Se=si({elementType:fe,externalSlotProps:P==null?void 0:P.leftArrowIcon,additionalProps:{fontSize:"inherit"},ownerState:void 0}),re=Ot(Se,hre),ce=(u=O==null?void 0:O.rightArrowIcon)!=null?u:ure,ke=si({elementType:ce,externalSlotProps:P==null?void 0:P.rightArrowIcon,additionalProps:{fontSize:"inherit"},ownerState:void 0}),Ce=Ot(ke,vre);return B.jsxs(mre,V({ref:n,className:tn(ue.root,w),ownerState:te},Q,{children:[B.jsx(xe,V({},Pe,{children:b?B.jsx(ce,V({},Ce)):B.jsx(fe,V({},re))})),C?B.jsx(So,{variant:"subtitle1",component:"span",children:C}):B.jsx(gre,{className:ue.spacer,ownerState:te}),B.jsx(ye,V({},de,{children:b?B.jsx(fe,V({},re)):B.jsx(ce,V({},Ce))}))]}))}),Rb=36,wS=2,RS=320,xre=280,UE=334,Sre=mt(sA)({[`& .${rb.container}`]:{outline:0},[`& .${rb.paper}`]:{outline:0,minWidth:RS}}),Cre=mt(uA)({"&:first-of-type":{padding:0}});function wre(e){var t,n;const{children:o,onDismiss:s,open:p,slots:u,slotProps:g}=e,b=(t=u==null?void 0:u.dialog)!=null?t:Sre,y=(n=u==null?void 0:u.mobileTransition)!=null?n:zh;return B.jsx(b,V({open:p,onClose:s},g==null?void 0:g.dialog,{TransitionComponent:y,TransitionProps:g==null?void 0:g.mobileTransition,PaperComponent:u==null?void 0:u.mobilePaper,PaperProps:g==null?void 0:g.mobilePaper,children:B.jsx(Cre,{children:o})}))}function Rre(e){return Wn("MuiPickersPopper",e)}Bn("MuiPickersPopper",["root","paper"]);function Ere(e,t){return Array.isArray(t)?t.every(n=>e.indexOf(n)!==-1):e.indexOf(t)!==-1}const Tre=(e,t)=>n=>{(n.key==="Enter"||n.key===" ")&&(e(n),n.preventDefault(),n.stopPropagation())},ES=(e=document)=>{const t=e.activeElement;return t?t.shadowRoot?ES(t.shadowRoot):t:null},_re="@media (pointer: fine)",Ore="@media (prefers-reduced-motion: reduce)",ng=typeof navigator<"u"&&navigator.userAgent.match(/android\s(\d+)|OS\s(\d+)/i),dI=ng&&ng[1]?parseInt(ng[1],10):null,fI=ng&&ng[2]?parseInt(ng[2],10):null,Pre=dI&&dI<10||fI&&fI<13||!1,pI=()=>mA(Ore,{defaultMatches:!1})||Pre,Dre=["PaperComponent","popperPlacement","ownerState","children","paperSlotProps","paperClasses","onPaperClick","onPaperTouchStart"],kre=e=>{const{classes:t}=e;return Un({root:["root"],paper:["paper"]},Rre,t)},Nre=mt(Gx,{name:"MuiPickersPopper",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({zIndex:e.zIndex.modal})),Mre=mt(Am,{name:"MuiPickersPopper",slot:"Paper",overridesResolver:(e,t)=>t.paper})(({ownerState:e})=>V({outline:0,transformOrigin:"top center"},e.placement.includes("top")&&{transformOrigin:"bottom center"}));function Are(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}function $re(e,t){const n=$.useRef(!1),o=$.useRef(!1),s=$.useRef(null),p=$.useRef(!1);$.useEffect(()=>{if(!e)return;function b(){p.current=!0}return document.addEventListener("mousedown",b,!0),document.addEventListener("touchstart",b,!0),()=>{document.removeEventListener("mousedown",b,!0),document.removeEventListener("touchstart",b,!0),p.current=!1}},[e]);const u=ir(b=>{if(!p.current)return;const y=o.current;o.current=!1;const C=Ua(s.current);if(!s.current||"clientX"in b&&Are(b,C))return;if(n.current){n.current=!1;return}let w;b.composedPath?w=b.composedPath().indexOf(s.current)>-1:w=!C.documentElement.contains(b.target)||s.current.contains(b.target),!w&&!y&&t(b)}),g=()=>{o.current=!0};return $.useEffect(()=>{if(e){const b=Ua(s.current),y=()=>{n.current=!0};return b.addEventListener("touchstart",u),b.addEventListener("touchmove",y),()=>{b.removeEventListener("touchstart",u),b.removeEventListener("touchmove",y)}}},[e,u]),$.useEffect(()=>{if(e){const b=Ua(s.current);return b.addEventListener("click",u),()=>{b.removeEventListener("click",u),o.current=!1}}},[e,u]),[s,g,g]}const Ire=$.forwardRef((e,t)=>{const{PaperComponent:n,popperPlacement:o,ownerState:s,children:p,paperSlotProps:u,paperClasses:g,onPaperClick:b,onPaperTouchStart:y}=e,C=Ot(e,Dre),w=V({},s,{placement:o}),O=si({elementType:n,externalSlotProps:u,additionalProps:{tabIndex:-1,elevation:8,ref:t},className:g,ownerState:w});return B.jsx(n,V({},C,O,{onClick:P=>{var D;b(P),(D=O.onClick)==null||D.call(O,P)},onTouchStart:P=>{var D;y(P),(D=O.onTouchStart)==null||D.call(O,P)},ownerState:w,children:p}))});function Fre(e){var t,n,o,s;const p=An({props:e,name:"MuiPickersPopper"}),{anchorEl:u,children:g,containerRef:b=null,shouldRestoreFocus:y,onBlur:C,onDismiss:w,open:O,role:P,placement:D,slots:I,slotProps:j,reduceAnimations:z}=p;$.useEffect(()=>{function ke(Ce){O&&(Ce.key==="Escape"||Ce.key==="Esc")&&w()}return document.addEventListener("keydown",ke),()=>{document.removeEventListener("keydown",ke)}},[w,O]);const H=$.useRef(null);$.useEffect(()=>{P==="tooltip"||y&&!y()||(O?H.current=ES(document):H.current&&H.current instanceof HTMLElement&&setTimeout(()=>{H.current instanceof HTMLElement&&H.current.focus()}))},[O,P,y]);const[L,U,A]=$re(O,C??w),Q=$.useRef(null),te=qo(Q,b),ue=qo(te,L),ae=p,pe=kre(ae),xe=pI(),Pe=z??xe,ye=ke=>{ke.key==="Escape"&&(ke.stopPropagation(),w())},de=((t=I==null?void 0:I.desktopTransition)!=null?t:Pe)?zh:Hm,fe=(n=I==null?void 0:I.desktopTrapFocus)!=null?n:Hy,Se=(o=I==null?void 0:I.desktopPaper)!=null?o:Mre,re=(s=I==null?void 0:I.popper)!=null?s:Nre,ce=si({elementType:re,externalSlotProps:j==null?void 0:j.popper,additionalProps:{transition:!0,role:P,open:O,anchorEl:u,placement:D,onKeyDown:ye},className:pe.root,ownerState:p});return B.jsx(re,V({},ce,{children:({TransitionProps:ke,placement:Ce})=>B.jsx(fe,V({open:O,disableAutoFocus:!0,disableRestoreFocus:!0,disableEnforceFocus:P==="tooltip",isEnabled:()=>!0},j==null?void 0:j.desktopTrapFocus,{children:B.jsx(de,V({},ke,j==null?void 0:j.desktopTransition,{children:B.jsx(Ire,{PaperComponent:Se,ownerState:ae,popperPlacement:Ce,ref:ue,onPaperClick:U,onPaperTouchStart:A,paperClasses:pe.paper,paperSlotProps:j==null?void 0:j.desktopPaper,children:g})}))}))}))}const WE=({timezone:e,value:t,defaultValue:n,onChange:o,valueManager:s})=>{var p,u;const g=yi(),b=$.useRef(n),y=(p=t??b.current)!=null?p:s.emptyValue,C=$.useMemo(()=>s.getTimezone(g,y),[g,s,y]),w=ir(I=>C==null?I:s.setTimezone(g,C,I)),O=(u=e??C)!=null?u:"default",P=$.useMemo(()=>s.setTimezone(g,O,y),[s,g,O,y]),D=ir((I,...j)=>{const z=w(I);o==null||o(z,...j)});return{value:P,handleValueChange:D,timezone:O}},HE=({name:e,timezone:t,value:n,defaultValue:o,onChange:s,valueManager:p})=>{const[u,g]=Hl({name:e,state:"value",controlled:n,default:o??p.emptyValue}),b=ir((y,...C)=>{g(y),s==null||s(y,...C)});return WE({timezone:t,value:u,defaultValue:void 0,onChange:b,valueManager:p})};function hI(e,t,n,o){const{value:s,onError:p}=e,u=Hh(),g=$.useRef(o),b=t({adapter:u,value:s,props:e});return $.useEffect(()=>{p&&!n(b,g.current)&&p(b,s),g.current=b},[n,p,g,b,s]),b}const jre=e=>{const t=yi(),n=Cp(),o=Hh(),p=Ys().direction==="rtl",{valueManager:u,fieldValueManager:g,valueType:b,validator:y,internalProps:C,internalProps:{value:w,defaultValue:O,referenceDate:P,onChange:D,format:I,formatDensity:j="dense",selectedSections:z,onSelectedSectionsChange:H,shouldRespectLeadingZeros:L=!1,timezone:U}}=e,{timezone:A,value:Q,handleValueChange:te}=WE({timezone:U,value:w,defaultValue:O,onChange:D,valueManager:u}),ue=$.useMemo(()=>zne(t,A),[t,A]),ae=$.useCallback((Oe,Ve=null)=>g.getSectionsFromValue(t,Oe,Ve,p,ze=>tI(t,A,n,I,ze,j,L,p)),[g,I,n,p,L,t,j,A]),pe=$.useMemo(()=>g.getValueStrFromSections(ae(u.emptyValue),p),[g,ae,u.emptyValue,p]),[xe,Pe]=$.useState(()=>{const Oe=ae(Q);rI(Oe,b);const Ve={sections:Oe,value:Q,referenceValue:u.emptyValue,tempValueStrAndroid:null},ze=Ane(Oe),We=u.getInitialReferenceValue({referenceDate:P,value:Q,utils:t,props:C,granularity:ze,timezone:A});return V({},Ve,{referenceValue:We})}),[ye,de]=Hl({controlled:z,default:null,name:"useField",state:"selectedSectionIndexes"}),fe=Oe=>{de(Oe),H==null||H(Oe),Pe(Ve=>V({},Ve,{selectedSectionQuery:null}))},Se=$.useMemo(()=>{if(ye==null)return null;if(ye==="all")return{startIndex:0,endIndex:xe.sections.length-1,shouldSelectBoundarySelectors:!0};if(typeof ye=="number")return{startIndex:ye,endIndex:ye};if(typeof ye=="string"){const Oe=xe.sections.findIndex(Ve=>Ve.type===ye);return{startIndex:Oe,endIndex:Oe}}return ye},[ye,xe.sections]),re=({value:Oe,referenceValue:Ve,sections:ze})=>{if(Pe(Ye=>V({},Ye,{sections:ze,value:Oe,referenceValue:Ve,tempValueStrAndroid:null})),u.areValuesEqual(t,xe.value,Oe))return;const We={validationError:y({adapter:o,value:Oe,props:V({},C,{value:Oe,timezone:A})})};te(Oe,We)},ce=(Oe,Ve)=>{const ze=[...xe.sections];return ze[Oe]=V({},ze[Oe],{value:Ve,modified:!0}),Q$(ze,p)},ke=()=>{re({value:u.emptyValue,referenceValue:xe.referenceValue,sections:ae(u.emptyValue)})},Ce=()=>{if(Se==null)return;const Oe=xe.sections[Se.startIndex],Ve=g.getActiveDateManager(t,xe,Oe),We=Ve.getSections(xe.sections).filter(Ze=>Ze.value!=="").length===(Oe.value===""?0:1),Ye=ce(Se.startIndex,""),ot=We?null:t.date(new Date("")),yt=Ve.getNewValuesFromNewActiveDate(ot);(ot!=null&&!t.isValid(ot))!=(Ve.date!=null&&!t.isValid(Ve.date))?re(V({},yt,{sections:Ye})):Pe(Ze=>V({},Ze,yt,{sections:Ye,tempValueStrAndroid:null}))},ge=Oe=>{const Ve=(Ye,ot)=>{const yt=t.parse(Ye,I);if(yt==null||!t.isValid(yt))return null;const Ze=tI(t,A,n,I,yt,j,L,p);return iI(t,A,yt,Ze,ot,!1)},ze=g.parseValueStr(Oe,xe.referenceValue,Ve),We=g.updateReferenceValue(t,ze,xe.referenceValue);re({value:ze,referenceValue:We,sections:ae(ze,xe.sections)})},Me=({activeSection:Oe,newSectionValue:Ve,shouldGoToNextSection:ze})=>{ze&&Se&&Se.startIndex<xe.sections.length-1?fe(Se.startIndex+1):Se&&Se.startIndex!==Se.endIndex&&fe(Se.startIndex);const We=g.getActiveDateManager(t,xe,Oe),Ye=ce(Se.startIndex,Ve),ot=We.getSections(Ye),yt=Bne(t,ot);let Ze,Te;if(yt!=null&&t.isValid(yt)){const tt=iI(t,A,yt,ot,We.referenceDate,!0);Ze=We.getNewValuesFromNewActiveDate(tt),Te=!0}else Ze=We.getNewValuesFromNewActiveDate(yt),Te=(yt!=null&&!t.isValid(yt))!=(We.date!=null&&!t.isValid(We.date));return Te?re(V({},Ze,{sections:Ye})):Pe(tt=>V({},tt,Ze,{sections:Ye,tempValueStrAndroid:null}))},Le=Oe=>Pe(Ve=>V({},Ve,{tempValueStrAndroid:Oe}));return $.useEffect(()=>{const Oe=ae(xe.value);rI(Oe,b),Pe(Ve=>V({},Ve,{sections:Oe}))},[I,t.locale]),$.useEffect(()=>{let Oe=!1;u.areValuesEqual(t,xe.value,Q)?Oe=u.getTimezone(t,xe.value)!==u.getTimezone(t,Q):Oe=!0,Oe&&Pe(Ve=>V({},Ve,{value:Q,referenceValue:g.updateReferenceValue(t,Q,Ve.referenceValue),sections:ae(Q)}))},[Q]),{state:xe,selectedSectionIndexes:Se,setSelectedSections:fe,clearValue:ke,clearActiveSection:Ce,updateSectionValue:Me,updateValueFromValueStr:ge,setTempAndroidValueStr:Le,sectionsValueBoundaries:ue,placeholder:pe,timezone:A}},Lre=5e3,rg=e=>e.saveQuery!=null,Bre=({sections:e,updateSectionValue:t,sectionsValueBoundaries:n,setTempAndroidValueStr:o,timezone:s})=>{const p=yi(),[u,g]=$.useState(null),b=ir(()=>g(null));$.useEffect(()=>{var P;u!=null&&((P=e[u.sectionIndex])==null?void 0:P.type)!==u.sectionType&&b()},[e,u,b]),$.useEffect(()=>{if(u!=null){const P=setTimeout(()=>b(),Lre);return()=>{window.clearTimeout(P)}}return()=>{}},[u,b]);const y=({keyPressed:P,sectionIndex:D},I,j)=>{const z=P.toLowerCase(),H=e[D];if(u!=null&&(!j||j(u.value))&&u.sectionIndex===D){const U=`${u.value}${z}`,A=I(U,H);if(!rg(A))return g({sectionIndex:D,value:U,sectionType:H.type}),A}const L=I(z,H);return rg(L)&&!L.saveQuery?(b(),null):(g({sectionIndex:D,value:z,sectionType:H.type}),rg(L)?null:L)},C=P=>{const D=(z,H,L)=>{const U=H.filter(A=>A.toLowerCase().startsWith(L));return U.length===0?{saveQuery:!1}:{sectionValue:U[0],shouldGoToNextSection:U.length===1}},I=(z,H,L,U)=>{const A=Q=>Y$(p,s,H.type,Q);if(H.contentType==="letter")return D(H.format,A(H.format),z);if(L&&U!=null&&BE(p,L).contentType==="letter"){const Q=A(L),te=D(L,Q,z);return rg(te)?{saveQuery:!1}:V({},te,{sectionValue:U(te.sectionValue,Q)})}return{saveQuery:!1}};return y(P,(z,H)=>{switch(H.type){case"month":{const L=U=>Z$(p,U,p.formats.month,H.format);return I(z,H,p.formats.month,L)}case"weekDay":{const L=(U,A)=>A.indexOf(U).toString();return I(z,H,p.formats.weekday,L)}case"meridiem":return I(z,H);default:return{saveQuery:!1}}})},w=P=>{const D=(j,z)=>{const H=+`${j}`,L=n[z.type]({currentDate:null,format:z.format,contentType:z.contentType});if(H>L.maximum)return{saveQuery:!1};if(H<L.minimum)return{saveQuery:!0};const U=+`${j}0`>L.maximum||j.length===L.maximum.toString().length;return{sectionValue:X$(p,s,H,L,z),shouldGoToNextSection:U}};return y(P,(j,z)=>{if(z.contentType==="digit"||z.contentType==="digit-with-letter")return D(j,z);if(z.type==="month"){const H=eI(p,s,"digit","month","MM"),L=D(j,{type:z.type,format:"MM",hasLeadingZerosInFormat:H,hasLeadingZerosInInput:!0,contentType:"digit",maxLength:2});if(rg(L))return L;const U=Z$(p,L.sectionValue,"MM",z.format);return V({},L,{sectionValue:U})}if(z.type==="weekDay"){const H=D(j,z);if(rg(H))return H;const L=SS(p,s,z.format)[Number(H.sectionValue)-1];return V({},H,{sectionValue:L})}return{saveQuery:!1}},j=>!Number.isNaN(Number(j)))};return{applyCharacterEditing:ir(P=>{const D=e[P.sectionIndex],j=!Number.isNaN(Number(P.keyPressed))?w(P):C(P);j==null?o(null):t({activeSection:D,newSectionValue:j.sectionValue,shouldGoToNextSection:j.shouldGoToNextSection})}),resetCharacterQuery:b}},Vre=["onClick","onKeyDown","onFocus","onBlur","onMouseUp","onPaste","error","clearable","onClear","disabled"],zre=e=>{const t=yi(),{state:n,selectedSectionIndexes:o,setSelectedSections:s,clearValue:p,clearActiveSection:u,updateSectionValue:g,updateValueFromValueStr:b,setTempAndroidValueStr:y,sectionsValueBoundaries:C,placeholder:w,timezone:O}=jre(e),{inputRef:P,internalProps:D,internalProps:{readOnly:I=!1,unstableFieldRef:j,minutesStep:z},forwardedProps:{onClick:H,onKeyDown:L,onFocus:U,onBlur:A,onMouseUp:Q,onPaste:te,error:ue,clearable:ae,onClear:pe,disabled:xe},fieldValueManager:Pe,valueManager:ye,validator:de}=e,fe=Ot(e.forwardedProps,Vre),{applyCharacterEditing:Se,resetCharacterQuery:re}=Bre({sections:n.sections,updateSectionValue:g,sectionsValueBoundaries:C,setTempAndroidValueStr:y,timezone:O}),ce=$.useRef(null),ke=qo(P,ce),Ce=$.useRef(void 0),Me=Ys().direction==="rtl",Le=$.useMemo(()=>Hne(n.sections,Me),[n.sections,Me]),Oe=()=>{var rt;if(I){s(null);return}const ut=(rt=ce.current.selectionStart)!=null?rt:0;let Kt;ut<=n.sections[0].startInInput||ut>=n.sections[n.sections.length-1].endInInput?Kt=1:Kt=n.sections.findIndex(yn=>yn.startInInput-yn.startSeparator.length>ut);const En=Kt===-1?n.sections.length-1:Kt-1;s(En)},Ve=ir((rt,...ut)=>{rt.isDefaultPrevented()||(H==null||H(rt,...ut),Oe())}),ze=ir(rt=>{Q==null||Q(rt),rt.preventDefault()}),We=ir((...rt)=>{U==null||U(...rt);const ut=ce.current;window.clearTimeout(Ce.current),Ce.current=setTimeout(()=>{!ut||ut!==ce.current||o!=null||I||(ut.value.length&&Number(ut.selectionEnd)-Number(ut.selectionStart)===ut.value.length?s("all"):Oe())})}),Ye=ir((...rt)=>{A==null||A(...rt),s(null)}),ot=ir(rt=>{if(te==null||te(rt),I){rt.preventDefault();return}const ut=rt.clipboardData.getData("text");if(o&&o.startIndex===o.endIndex){const Kt=n.sections[o.startIndex],En=/^[a-zA-Z]+$/.test(ut),yn=/^[0-9]+$/.test(ut),Hn=/^(([a-zA-Z]+)|)([0-9]+)(([a-zA-Z]+)|)$/.test(ut);if(Kt.contentType==="letter"&&En||Kt.contentType==="digit"&&yn||Kt.contentType==="digit-with-letter"&&Hn){re(),g({activeSection:Kt,newSectionValue:ut,shouldGoToNextSection:!0}),rt.preventDefault();return}if(En||yn){rt.preventDefault();return}}rt.preventDefault(),re(),b(ut)}),yt=ir(rt=>{if(I)return;const ut=rt.target.value;if(ut===""){re(),p();return}const Kt=rt.nativeEvent.data,En=Kt&&Kt.length>1,yn=En?Kt:ut,Hn=tg(yn);if(o==null||En){b(En?Kt:Hn);return}let sr;if(o.startIndex===0&&o.endIndex===n.sections.length-1&&Hn.length===1)sr=Hn;else{const Kn=tg(Pe.getValueStrFromSections(n.sections,Me));let Gn=-1,xn=-1;for(let vn=0;vn<Kn.length;vn+=1)Gn===-1&&Kn[vn]!==Hn[vn]&&(Gn=vn),xn===-1&&Kn[Kn.length-vn-1]!==Hn[Hn.length-vn-1]&&(xn=vn);const Or=n.sections[o.startIndex];if(Gn<Or.start||Kn.length-xn-1>Or.end)return;const Xt=Hn.length-Kn.length+Or.end-tg(Or.endSeparator||"").length;sr=Hn.slice(Or.start+tg(Or.startSeparator||"").length,Xt)}if(sr.length===0){Wne()?y(yn):(re(),u());return}Se({keyPressed:sr,sectionIndex:o.startIndex})}),Ze=ir(rt=>{switch(L==null||L(rt),!0){case(rt.key==="a"&&(rt.ctrlKey||rt.metaKey)):{rt.preventDefault(),s("all");break}case rt.key==="ArrowRight":{if(rt.preventDefault(),o==null)s(Le.startIndex);else if(o.startIndex!==o.endIndex)s(o.endIndex);else{const ut=Le.neighbors[o.startIndex].rightIndex;ut!==null&&s(ut)}break}case rt.key==="ArrowLeft":{if(rt.preventDefault(),o==null)s(Le.endIndex);else if(o.startIndex!==o.endIndex)s(o.startIndex);else{const ut=Le.neighbors[o.startIndex].leftIndex;ut!==null&&s(ut)}break}case rt.key==="Delete":{if(rt.preventDefault(),I)break;o==null||o.startIndex===0&&o.endIndex===n.sections.length-1?p():u(),re();break}case["ArrowUp","ArrowDown","Home","End","PageUp","PageDown"].includes(rt.key):{if(rt.preventDefault(),I||o==null)break;const ut=n.sections[o.startIndex],Kt=Pe.getActiveDateManager(t,n,ut),En=Fne(t,O,ut,rt.key,C,Kt.date,{minutesStep:z});g({activeSection:ut,newSectionValue:En,shouldGoToNextSection:!1});break}}});Wa(()=>{if(!ce.current)return;if(o==null){ce.current.scrollLeft&&(ce.current.scrollLeft=0);return}const rt=n.sections[o.startIndex],ut=n.sections[o.endIndex];let Kt=rt.startInInput,En=ut.endInInput;if(o.shouldSelectBoundarySelectors&&(Kt-=rt.startSeparator.length,En+=ut.endSeparator.length),Kt!==ce.current.selectionStart||En!==ce.current.selectionEnd){const yn=ce.current.scrollTop;ce.current===ES(document)&&ce.current.setSelectionRange(Kt,En),ce.current.scrollTop=yn}});const Te=hI(V({},D,{value:n.value,timezone:O}),de,ye.isSameError,ye.defaultErrorState),tt=$.useMemo(()=>ue!==void 0?ue:ye.hasError(Te),[ye,Te,ue]);$.useEffect(()=>{!tt&&!o&&re()},[n.referenceValue,o,tt]),$.useEffect(()=>(ce.current&&ce.current===document.activeElement&&s("all"),()=>window.clearTimeout(Ce.current)),[]),$.useEffect(()=>{n.tempValueStrAndroid!=null&&o!=null&&(re(),u())},[n.tempValueStrAndroid]);const Ge=$.useMemo(()=>{var rt;return(rt=n.tempValueStrAndroid)!=null?rt:Pe.getValueStrFromSections(n.sections,Me)},[n.sections,Pe,n.tempValueStrAndroid,Me]),et=$.useMemo(()=>o==null||n.sections[o.startIndex].contentType==="letter"?"text":"numeric",[o,n.sections]),xt=ce.current&&ce.current===ES(document),Yt=ye.areValuesEqual(t,n.value,ye.emptyValue),_t=!xt&&Yt;$.useImperativeHandle(j,()=>({getSections:()=>n.sections,getActiveSectionIndex:()=>{var rt,ut;const Kt=(rt=ce.current.selectionStart)!=null?rt:0,En=(ut=ce.current.selectionEnd)!=null?ut:0;if(Kt===0&&En===0)return null;const yn=Kt<=n.sections[0].startInInput?1:n.sections.findIndex(Hn=>Hn.startInInput-Hn.startSeparator.length>Kt);return yn===-1?n.sections.length-1:yn-1},setSelectedSections:rt=>s(rt)}));const Jt=ir((rt,...ut)=>{var Kt;rt.preventDefault(),pe==null||pe(rt,...ut),p(),ce==null||(Kt=ce.current)==null||Kt.focus(),s(0)});return V({placeholder:w,autoComplete:"off",disabled:!!xe},fe,{value:_t?"":Ge,inputMode:et,readOnly:I,onClick:Ve,onFocus:We,onBlur:Ye,onPaste:ot,onChange:yt,onKeyDown:Ze,onMouseUp:ze,onClear:Jt,error:tt,ref:ke,clearable:!!(ae&&!Yt&&!I&&!xe)})},Ure=({open:e,onOpen:t,onClose:n})=>{const o=$.useRef(typeof e=="boolean").current,[s,p]=$.useState(!1);$.useEffect(()=>{if(o){if(typeof e!="boolean")throw new Error("You must not mix controlling and uncontrolled mode for `open` prop");p(e)}},[o,e]);const u=$.useCallback(g=>{o||p(g),g&&t&&t(),!g&&n&&n()},[o,t,n]);return{isOpen:s,setIsOpen:u}},Wre=e=>{const{action:t,hasChanged:n,dateState:o,isControlled:s}=e,p=!s&&!o.hasBeenModifiedSinceMount;return t.name==="setValueFromField"?!0:t.name==="setValueFromAction"?p&&["accept","today","clear"].includes(t.pickerAction)?!0:n(o.lastPublishedValue):t.name==="setValueFromView"&&t.selectionState!=="shallow"||t.name==="setValueFromShortcut"?p?!0:n(o.lastPublishedValue):!1},Hre=e=>{const{action:t,hasChanged:n,dateState:o,isControlled:s,closeOnSelect:p}=e,u=!s&&!o.hasBeenModifiedSinceMount;return t.name==="setValueFromAction"?u&&["accept","today","clear"].includes(t.pickerAction)?!0:n(o.lastCommittedValue):t.name==="setValueFromView"&&t.selectionState==="finish"&&p?u?!0:n(o.lastCommittedValue):t.name==="setValueFromShortcut"?t.changeImportance==="accept"&&n(o.lastCommittedValue):!1},Gre=e=>{const{action:t,closeOnSelect:n}=e;return t.name==="setValueFromAction"?!0:t.name==="setValueFromView"?t.selectionState==="finish"&&n:t.name==="setValueFromShortcut"?t.changeImportance==="accept":!1},qre=({props:e,valueManager:t,valueType:n,wrapperVariant:o,validator:s})=>{const{onAccept:p,onChange:u,value:g,defaultValue:b,closeOnSelect:y=o==="desktop",selectedSections:C,onSelectedSectionsChange:w,timezone:O}=e,{current:P}=$.useRef(b),{current:D}=$.useRef(g!==void 0);process.env.NODE_ENV!=="production"&&($.useEffect(()=>{D!==(g!==void 0)&&console.error([`MUI: A component is changing the ${D?"":"un"}controlled value of a picker to be ${D?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).","Decide between using a controlled or uncontrolled valuefor the lifetime of the component.","The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
|
|
559
|
+
`))},[g]),$.useEffect(()=>{!D&&P!==b&&console.error(["MUI: A component is changing the defaultValue of an uncontrolled picker after being initialized. To suppress this warning opt to use a controlled value."].join(`
|
|
560
|
+
`))},[JSON.stringify(P)]));const I=yi(),j=Hh(),[z,H]=Hl({controlled:C,default:null,name:"usePickerValue",state:"selectedSections"}),{isOpen:L,setIsOpen:U}=Ure(e),[A,Q]=$.useState(()=>{let We;return g!==void 0?We=g:P!==void 0?We=P:We=t.emptyValue,{draft:We,lastPublishedValue:We,lastCommittedValue:We,lastControlledValue:g,hasBeenModifiedSinceMount:!1}}),{timezone:te,handleValueChange:ue}=WE({timezone:O,value:g,defaultValue:P,onChange:u,valueManager:t});hI(V({},e,{value:A.draft,timezone:te}),s,t.isSameError,t.defaultErrorState);const ae=ir(We=>{const Ye={action:We,dateState:A,hasChanged:Te=>!t.areValuesEqual(I,We.value,Te),isControlled:D,closeOnSelect:y},ot=Wre(Ye),yt=Hre(Ye),Ze=Gre(Ye);if(Q(Te=>V({},Te,{draft:We.value,lastPublishedValue:ot?We.value:Te.lastPublishedValue,lastCommittedValue:yt?We.value:Te.lastCommittedValue,hasBeenModifiedSinceMount:!0})),ot){const tt={validationError:We.name==="setValueFromField"?We.context.validationError:s({adapter:j,value:We.value,props:V({},e,{value:We.value,timezone:te})})};We.name==="setValueFromShortcut"&&We.shortcut!=null&&(tt.shortcut=We.shortcut),ue(We.value,tt)}yt&&p&&p(We.value),Ze&&U(!1)});if(g!==void 0&&(A.lastControlledValue===void 0||!t.areValuesEqual(I,A.lastControlledValue,g))){const We=t.areValuesEqual(I,A.draft,g);Q(Ye=>V({},Ye,{lastControlledValue:g},We?{}:{lastCommittedValue:g,lastPublishedValue:g,draft:g,hasBeenModifiedSinceMount:!0}))}const pe=ir(()=>{ae({value:t.emptyValue,name:"setValueFromAction",pickerAction:"clear"})}),xe=ir(()=>{ae({value:A.lastPublishedValue,name:"setValueFromAction",pickerAction:"accept"})}),Pe=ir(()=>{ae({value:A.lastPublishedValue,name:"setValueFromAction",pickerAction:"dismiss"})}),ye=ir(()=>{ae({value:A.lastCommittedValue,name:"setValueFromAction",pickerAction:"cancel"})}),de=ir(()=>{ae({value:t.getTodayValue(I,te,n),name:"setValueFromAction",pickerAction:"today"})}),fe=ir(()=>U(!0)),Se=ir(()=>U(!1)),re=ir((We,Ye="partial")=>ae({name:"setValueFromView",value:We,selectionState:Ye})),ce=ir((We,Ye,ot)=>ae({name:"setValueFromShortcut",value:We,changeImportance:Ye??"accept",shortcut:ot})),ke=ir((We,Ye)=>ae({name:"setValueFromField",value:We,context:Ye})),Ce=ir(We=>{H(We),w==null||w(We)}),ge={onClear:pe,onAccept:xe,onDismiss:Pe,onCancel:ye,onSetToday:de,onOpen:fe,onClose:Se},Me={value:A.draft,onChange:ke,selectedSections:z,onSelectedSectionsChange:Ce},Le=$.useMemo(()=>t.cleanValue(I,A.draft),[I,t,A.draft]),Oe={value:Le,onChange:re,onClose:Se,open:L,onSelectedSectionsChange:Ce},ze=V({},ge,{value:Le,onChange:re,onSelectShortcut:ce,isValid:We=>{const Ye=s({adapter:j,value:We,props:V({},e,{value:We,timezone:te})});return!t.hasError(Ye)}});return{open:L,fieldProps:Me,viewProps:Oe,layoutProps:ze,actions:ge}};let GE=!1;function vI({onChange:e,onViewChange:t,openTo:n,view:o,views:s,autoFocus:p,focusedView:u,onFocusedViewChange:g}){var b,y;process.env.NODE_ENV!=="production"&&(GE||(o!=null&&!s.includes(o)&&(console.warn(`MUI: \`view="${o}"\` is not a valid prop.`,`It must be an element of \`views=["${s.join('", "')}"]\`.`),GE=!0),o==null&&n!=null&&!s.includes(n)&&(console.warn(`MUI: \`openTo="${n}"\` is not a valid prop.`,`It must be an element of \`views=["${s.join('", "')}"]\`.`),GE=!0)));const C=$.useRef(n),w=$.useRef(s),O=$.useRef(s.includes(n)?n:s[0]),[P,D]=Hl({name:"useViews",state:"view",controlled:o,default:O.current}),I=$.useRef(p?P:null),[j,z]=Hl({name:"useViews",state:"focusedView",controlled:u,default:I.current});$.useEffect(()=>{(C.current&&C.current!==n||w.current&&w.current.some(ae=>!s.includes(ae)))&&(D(s.includes(n)?n:s[0]),w.current=s,C.current=n)},[n,D,P,s]);const H=s.indexOf(P),L=(b=s[H-1])!=null?b:null,U=(y=s[H+1])!=null?y:null,A=ir((ae,pe)=>{z(pe?ae:xe=>ae===xe?null:xe),g==null||g(ae,pe)}),Q=ir(ae=>{A(ae,!0),ae!==P&&(D(ae),t&&t(ae))}),te=ir(()=>{U&&Q(U)}),ue=ir((ae,pe,xe)=>{const Pe=pe==="finish",ye=xe?s.indexOf(xe)<s.length-1:!!U;if(e(ae,Pe&&ye?"partial":pe,xe),xe&&xe!==P){const fe=s[s.indexOf(xe)+1];fe&&Q(fe)}else Pe&&te()});return{view:P,setView:Q,focusedView:j,setFocusedView:A,nextView:U,previousView:L,defaultView:s.includes(n)?n:s[0],goToNextView:te,setValueAndGoToNextView:ue}}const Yre=["className","sx"],Kre=({props:e,propsFromPickerValue:t,additionalViewProps:n,inputRef:o,autoFocusView:s})=>{const{onChange:p,open:u,onSelectedSectionsChange:g,onClose:b}=t,{views:y,openTo:C,onViewChange:w,disableOpenPicker:O,viewRenderers:P,timezone:D}=e,I=Ot(e,Yre),{view:j,setView:z,defaultView:H,focusedView:L,setFocusedView:U,setValueAndGoToNextView:A}=vI({view:void 0,views:y,openTo:C,onChange:p,onViewChange:w,autoFocus:s}),{hasUIView:Q,viewModeLookup:te}=$.useMemo(()=>y.reduce((de,fe)=>{let Se;return O?Se="field":P[fe]!=null?Se="UI":Se="field",de.viewModeLookup[fe]=Se,Se==="UI"&&(de.hasUIView=!0),de},{hasUIView:!1,viewModeLookup:{}}),[O,P,y]),ue=$.useMemo(()=>y.reduce((de,fe)=>P[fe]!=null&&Nne(fe)?de+1:de,0),[P,y]),ae=te[j],pe=ir(()=>ae==="UI"),[xe,Pe]=$.useState(ae==="UI"?j:null);return xe!==j&&te[j]==="UI"&&Pe(j),Wa(()=>{ae==="field"&&u&&(b(),setTimeout(()=>{o==null||o.current.focus(),g(j)}))},[j]),Wa(()=>{if(!u)return;let de=j;ae==="field"&&xe!=null&&(de=xe),de!==H&&te[de]==="UI"&&te[H]==="UI"&&(de=H),de!==j&&z(de),U(de,!0)},[u]),{hasUIView:Q,shouldRestoreFocus:pe,layoutProps:{views:y,view:xe,onViewChange:z},renderCurrentView:()=>{if(xe==null)return null;const de=P[xe];return de==null?null:de(V({},I,n,t,{views:y,timezone:D,onChange:A,view:xe,onViewChange:z,focusedView:L,onFocusedViewChange:U,showViewSwitcher:ue>1,timeViewsCount:ue}))}}};function mI(){return typeof window>"u"?"portrait":window.screen&&window.screen.orientation&&window.screen.orientation.angle?Math.abs(window.screen.orientation.angle)===90?"landscape":"portrait":window.orientation&&Math.abs(Number(window.orientation))===90?"landscape":"portrait"}const Xre=(e,t)=>{const[n,o]=$.useState(mI);return Wa(()=>{const p=()=>{o(mI())};return window.addEventListener("orientationchange",p),()=>{window.removeEventListener("orientationchange",p)}},[]),Ere(e,["hours","minutes","seconds"])?!1:(t||n)==="landscape"},Qre=({props:e,propsFromPickerValue:t,propsFromPickerViews:n,wrapperVariant:o})=>{const{orientation:s}=e,p=Xre(n.views,s);return{layoutProps:V({},n,t,{isLandscape:p,wrapperVariant:o,disabled:e.disabled,readOnly:e.readOnly})}},Zre=((e,t="warning")=>{let n=!1;const o=Array.isArray(e)?e.join(`
|
|
561
|
+
`):e;return()=>{n||(n=!0,t==="error"?console.error(o):console.warn(o))}})(["The `renderInput` prop has been removed in version 6.0 of the Date and Time Pickers.","You can replace it with the `textField` component slot in most cases.","For more information, please have a look at the migration guide (https://mui.com/x/migration/migration-pickers-v5/#input-renderer-required-in-v5)."]),gI=({props:e,valueManager:t,valueType:n,wrapperVariant:o,inputRef:s,additionalViewProps:p,validator:u,autoFocusView:g})=>{process.env.NODE_ENV!=="production"&&e.renderInput!=null&&Zre();const b=qre({props:e,valueManager:t,valueType:n,wrapperVariant:o,validator:u}),y=Kre({props:e,inputRef:s,additionalViewProps:p,autoFocusView:g,propsFromPickerValue:b.viewProps}),C=Qre({props:e,wrapperVariant:o,propsFromPickerValue:b.layoutProps,propsFromPickerViews:y.layoutProps});return{open:b.open,actions:b.actions,fieldProps:b.fieldProps,renderCurrentView:y.renderCurrentView,hasUIView:y.hasUIView,shouldRestoreFocus:y.shouldRestoreFocus,layoutProps:C.layoutProps}};function yI(e){return Wn("MuiPickersLayout",e)}const qE=Bn("MuiPickersLayout",["root","landscape","contentWrapper","toolbar","actionBar","tabs","shortcuts"]),Jre=["onAccept","onClear","onCancel","onSetToday","actions"];function bI(e){const{onAccept:t,onClear:n,onCancel:o,onSetToday:s,actions:p}=e,u=Ot(e,Jre),g=Cp();if(p==null||p.length===0)return null;const b=p==null?void 0:p.map(y=>{switch(y){case"clear":return B.jsx(nf,{onClick:n,children:g.clearButtonLabel},y);case"cancel":return B.jsx(nf,{onClick:o,children:g.cancelButtonLabel},y);case"accept":return B.jsx(nf,{onClick:t,children:g.okButtonLabel},y);case"today":return B.jsx(nf,{onClick:s,children:g.todayButtonLabel},y);default:return null}});return B.jsx(lA,V({},u,{children:b}))}process.env.NODE_ENV!=="production"&&(bI.propTypes={actions:a.arrayOf(a.oneOf(["accept","cancel","clear","today"]).isRequired),disableSpacing:a.bool,onAccept:a.func.isRequired,onCancel:a.func.isRequired,onClear:a.func.isRequired,onSetToday:a.func.isRequired,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});const eoe=["items","changeImportance","isLandscape","onChange","isValid"],toe=["getValue"];function xI(e){const{items:t,changeImportance:n,onChange:o,isValid:s}=e,p=Ot(e,eoe);if(t==null||t.length===0)return null;const u=t.map(g=>{let{getValue:b}=g,y=Ot(g,toe);const C=b({isValid:s});return{label:y.label,onClick:()=>{o(C,n,y)},disabled:!s(C)}});return B.jsx(Uh,V({dense:!0,sx:[{maxHeight:UE,maxWidth:200,overflow:"auto"},...Array.isArray(p.sx)?p.sx:[p.sx]]},p,{children:u.map(g=>B.jsx(qm,{children:B.jsx(nA,V({},g))},g.label))}))}process.env.NODE_ENV!=="production"&&(xI.propTypes={changeImportance:a.oneOf(["accept","set"]),className:a.string,component:a.elementType,dense:a.bool,disablePadding:a.bool,isLandscape:a.bool.isRequired,isValid:a.func.isRequired,items:a.arrayOf(a.shape({getValue:a.func.isRequired,label:a.string.isRequired})),onChange:a.func.isRequired,style:a.object,subheader:a.node,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});function noe(e){return e.view!==null}const roe=e=>{const{classes:t,isLandscape:n}=e;return Un({root:["root",n&&"landscape"],contentWrapper:["contentWrapper"],toolbar:["toolbar"],actionBar:["actionBar"],tabs:["tabs"],landscape:["landscape"],shortcuts:["shortcuts"]},yI,t)},ooe=e=>{var t,n;const{wrapperVariant:o,onAccept:s,onClear:p,onCancel:u,onSetToday:g,view:b,views:y,onViewChange:C,value:w,onChange:O,onSelectShortcut:P,isValid:D,isLandscape:I,disabled:j,readOnly:z,children:H,components:L,componentsProps:U,slots:A,slotProps:Q}=e,te=A??lI(L),ue=Q??U,ae=roe(e),pe=(t=te==null?void 0:te.actionBar)!=null?t:bI,xe=si({elementType:pe,externalSlotProps:ue==null?void 0:ue.actionBar,additionalProps:{onAccept:s,onClear:p,onCancel:u,onSetToday:g,actions:o==="desktop"?[]:["cancel","accept"],className:ae.actionBar},ownerState:V({},e,{wrapperVariant:o})}),Pe=B.jsx(pe,V({},xe)),ye=te==null?void 0:te.toolbar,de=si({elementType:ye,externalSlotProps:ue==null?void 0:ue.toolbar,additionalProps:{isLandscape:I,onChange:O,value:w,view:b,onViewChange:C,views:y,disabled:j,readOnly:z,className:ae.toolbar},ownerState:V({},e,{wrapperVariant:o})}),fe=noe(de)&&ye?B.jsx(ye,V({},de)):null,Se=H,re=te==null?void 0:te.tabs,ce=b&&re?B.jsx(re,V({view:b,onViewChange:C,className:ae.tabs},ue==null?void 0:ue.tabs)):null,ke=(n=te==null?void 0:te.shortcuts)!=null?n:xI,Ce=si({elementType:ke,externalSlotProps:ue==null?void 0:ue.shortcuts,additionalProps:{isValid:D,isLandscape:I,onChange:P,className:ae.shortcuts},ownerState:{isValid:D,isLandscape:I,onChange:P,className:ae.shortcuts,wrapperVariant:o}}),ge=b&&ke?B.jsx(ke,V({},Ce)):null;return{toolbar:fe,content:Se,tabs:ce,actionBar:Pe,shortcuts:ge}},ioe=e=>{const{isLandscape:t,classes:n}=e;return Un({root:["root",t&&"landscape"],contentWrapper:["contentWrapper"]},yI,n)},SI=mt("div",{name:"MuiPickersLayout",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>({display:"grid",gridAutoColumns:"max-content auto max-content",gridAutoRows:"max-content auto max-content",[`& .${qE.toolbar}`]:t.isLandscape?{gridColumn:e.direction==="rtl"?3:1,gridRow:"2 / 3"}:{gridColumn:"2 / 4",gridRow:1},[`.${qE.shortcuts}`]:t.isLandscape?{gridColumn:"2 / 4",gridRow:1}:{gridColumn:e.direction==="rtl"?3:1,gridRow:"2 / 3"},[`& .${qE.actionBar}`]:{gridColumn:"1 / 4",gridRow:3}}));SI.propTypes={as:a.elementType,ownerState:a.shape({isLandscape:a.bool.isRequired}).isRequired,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])};const aoe=mt("div",{name:"MuiPickersLayout",slot:"ContentWrapper",overridesResolver:(e,t)=>t.contentWrapper})({gridColumn:2,gridRow:2,display:"flex",flexDirection:"column"}),YE=function(t){const n=An({props:t,name:"MuiPickersLayout"}),{toolbar:o,content:s,tabs:p,actionBar:u,shortcuts:g}=ooe(n),{sx:b,className:y,isLandscape:C,ref:w,wrapperVariant:O}=n,P=n,D=ioe(P);return B.jsxs(SI,{ref:w,sx:b,className:tn(y,D.root),ownerState:P,children:[C?g:o,C?o:g,B.jsx(aoe,{className:D.contentWrapper,children:O==="desktop"?B.jsxs($.Fragment,{children:[s,p]}):B.jsxs($.Fragment,{children:[p,s]})}),u]})};process.env.NODE_ENV!=="production"&&(YE.propTypes={children:a.node,classes:a.object,className:a.string,components:a.object,componentsProps:a.object,disabled:a.bool,isLandscape:a.bool.isRequired,isValid:a.func.isRequired,onAccept:a.func.isRequired,onCancel:a.func.isRequired,onChange:a.func.isRequired,onClear:a.func.isRequired,onClose:a.func.isRequired,onDismiss:a.func.isRequired,onOpen:a.func.isRequired,onSelectShortcut:a.func.isRequired,onSetToday:a.func.isRequired,onViewChange:a.func.isRequired,orientation:a.oneOf(["landscape","portrait"]),readOnly:a.bool,slotProps:a.object,slots:a.object,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),value:a.any,view:a.oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),views:a.arrayOf(a.oneOf(["day","hours","meridiem","minutes","month","seconds","year"]).isRequired).isRequired,wrapperVariant:a.oneOf(["desktop","mobile"])});function soe(e,{disableFuture:t,maxDate:n,timezone:o}){const s=yi();return $.useMemo(()=>{const p=s.dateWithTimezone(void 0,o),u=s.startOfMonth(t&&s.isBefore(p,n)?p:n);return!s.isAfter(u,e)},[t,n,e,s,o])}function loe(e,{disablePast:t,minDate:n,timezone:o}){const s=yi();return $.useMemo(()=>{const p=s.dateWithTimezone(void 0,o),u=s.startOfMonth(t&&s.isAfter(p,n)?p:n);return!s.isBefore(u,e)},[t,n,e,s,o])}const CI=["disablePast","disableFuture","minDate","maxDate","shouldDisableDate","shouldDisableMonth","shouldDisableYear"],uoe=["disablePast","disableFuture","minTime","maxTime","shouldDisableClock","shouldDisableTime","minutesStep","ampm","disableIgnoringDatePartForTimeValidation"],coe=["minDateTime","maxDateTime"],doe=[...CI,...uoe,...coe],wI=e=>doe.reduce((t,n)=>(e.hasOwnProperty(n)&&(t[n]=e[n]),t),{}),foe=["value","defaultValue","referenceDate","format","formatDensity","onChange","timezone","readOnly","onError","shouldRespectLeadingZeros","selectedSections","onSelectedSectionsChange","unstableFieldRef"],poe=(e,t)=>{const n=V({},e),o={},s=p=>{n.hasOwnProperty(p)&&(o[p]=n[p],delete n[p])};return foe.forEach(s),CI.forEach(s),{forwardedProps:n,internalProps:o}},TS=({props:e,value:t,adapter:n})=>{if(t===null)return null;const{shouldDisableDate:o,shouldDisableMonth:s,shouldDisableYear:p,disablePast:u,disableFuture:g,timezone:b}=e,y=n.utils.dateWithTimezone(void 0,b),C=Wu(n.utils,e.minDate,n.defaultDates.minDate),w=Wu(n.utils,e.maxDate,n.defaultDates.maxDate);switch(!0){case!n.utils.isValid(t):return"invalidDate";case!!(o&&o(t)):return"shouldDisableDate";case!!(s&&s(t)):return"shouldDisableMonth";case!!(p&&p(t)):return"shouldDisableYear";case!!(g&&n.utils.isAfterDay(t,y)):return"disableFuture";case!!(u&&n.utils.isBeforeDay(t,y)):return"disablePast";case!!(C&&n.utils.isBeforeDay(t,C)):return"minDate";case!!(w&&n.utils.isAfterDay(t,w)):return"maxDate";default:return null}};function hoe(e){return Wn("MuiPickersDay",e)}const Gh=Bn("MuiPickersDay",["root","dayWithMargin","dayOutsideMonth","hiddenDaySpacingFiller","today","selected","disabled"]),voe=["autoFocus","className","day","disabled","disableHighlightToday","disableMargin","hidden","isAnimating","onClick","onDaySelect","onFocus","onBlur","onKeyDown","onMouseDown","onMouseEnter","outsideCurrentMonth","selected","showDaysOutsideCurrentMonth","children","today","isFirstVisibleCell","isLastVisibleCell"],moe=e=>{const{selected:t,disableMargin:n,disableHighlightToday:o,today:s,disabled:p,outsideCurrentMonth:u,showDaysOutsideCurrentMonth:g,classes:b}=e,y=u&&!g;return Un({root:["root",t&&!y&&"selected",p&&"disabled",!n&&"dayWithMargin",!o&&s&&"today",u&&g&&"dayOutsideMonth",y&&"hiddenDaySpacingFiller"],hiddenDaySpacingFiller:["hiddenDaySpacingFiller"]},hoe,b)},RI=({theme:e,ownerState:t})=>V({},e.typography.caption,{width:Rb,height:Rb,borderRadius:"50%",padding:0,backgroundColor:"transparent",transition:e.transitions.create("background-color",{duration:e.transitions.duration.short}),color:(e.vars||e).palette.text.primary,"@media (pointer: fine)":{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Br(e.palette.primary.main,e.palette.action.hoverOpacity)}},"&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})`:Br(e.palette.primary.main,e.palette.action.focusOpacity),[`&.${Gh.selected}`]:{willChange:"background-color",backgroundColor:(e.vars||e).palette.primary.dark}},[`&.${Gh.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,fontWeight:e.typography.fontWeightMedium,"&:hover":{willChange:"background-color",backgroundColor:(e.vars||e).palette.primary.dark}},[`&.${Gh.disabled}:not(.${Gh.selected})`]:{color:(e.vars||e).palette.text.disabled},[`&.${Gh.disabled}&.${Gh.selected}`]:{opacity:.6}},!t.disableMargin&&{margin:`0 ${wS}px`},t.outsideCurrentMonth&&t.showDaysOutsideCurrentMonth&&{color:(e.vars||e).palette.text.secondary},!t.disableHighlightToday&&t.today&&{[`&:not(.${Gh.selected})`]:{border:`1px solid ${(e.vars||e).palette.text.secondary}`}}),EI=(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableMargin&&t.dayWithMargin,!n.disableHighlightToday&&n.today&&t.today,!n.outsideCurrentMonth&&n.showDaysOutsideCurrentMonth&&t.dayOutsideMonth,n.outsideCurrentMonth&&!n.showDaysOutsideCurrentMonth&&t.hiddenDaySpacingFiller]},goe=mt(vd,{name:"MuiPickersDay",slot:"Root",overridesResolver:EI})(RI),yoe=mt("div",{name:"MuiPickersDay",slot:"Root",overridesResolver:EI})(({theme:e,ownerState:t})=>V({},RI({theme:e,ownerState:t}),{opacity:0,pointerEvents:"none"})),Eb=()=>{},TI=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiPickersDay"}),{autoFocus:s=!1,className:p,day:u,disabled:g=!1,disableHighlightToday:b=!1,disableMargin:y=!1,isAnimating:C,onClick:w,onDaySelect:O,onFocus:P=Eb,onBlur:D=Eb,onKeyDown:I=Eb,onMouseDown:j=Eb,onMouseEnter:z=Eb,outsideCurrentMonth:H,selected:L=!1,showDaysOutsideCurrentMonth:U=!1,children:A,today:Q=!1}=o,te=Ot(o,voe),ue=V({},o,{autoFocus:s,disabled:g,disableHighlightToday:b,disableMargin:y,selected:L,showDaysOutsideCurrentMonth:U,today:Q}),ae=moe(ue),pe=yi(),xe=$.useRef(null),Pe=qo(xe,n);Wa(()=>{s&&!g&&!C&&!H&&xe.current.focus()},[s,g,C,H]);const ye=fe=>{j(fe),H&&fe.preventDefault()},de=fe=>{g||O(u),H&&fe.currentTarget.focus(),w&&w(fe)};return H&&!U?B.jsx(yoe,{className:tn(ae.root,ae.hiddenDaySpacingFiller,p),ownerState:ue,role:te.role}):B.jsx(goe,V({className:tn(ae.root,p),ref:Pe,centerRipple:!0,disabled:g,tabIndex:L?0:-1,onKeyDown:fe=>I(fe,u),onFocus:fe=>P(fe,u),onBlur:fe=>D(fe,u),onMouseEnter:fe=>z(fe,u),onClick:de,onMouseDown:ye},te,{ownerState:ue,children:A||pe.format(u,"dayOfMonth")}))});process.env.NODE_ENV!=="production"&&(TI.propTypes={action:a.oneOfType([a.func,a.shape({current:a.shape({focusVisible:a.func.isRequired})})]),centerRipple:a.bool,classes:a.object,className:a.string,component:a.elementType,day:a.any.isRequired,disabled:a.bool,disableHighlightToday:a.bool,disableMargin:a.bool,disableRipple:a.bool,disableTouchRipple:a.bool,focusRipple:a.bool,focusVisibleClassName:a.string,isAnimating:a.bool,isFirstVisibleCell:a.bool.isRequired,isLastVisibleCell:a.bool.isRequired,onBlur:a.func,onDaySelect:a.func.isRequired,onFocus:a.func,onFocusVisible:a.func,onKeyDown:a.func,onMouseEnter:a.func,outsideCurrentMonth:a.bool.isRequired,selected:a.bool,showDaysOutsideCurrentMonth:a.bool,style:a.object,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),tabIndex:a.number,today:a.bool,TouchRippleProps:a.object,touchRippleRef:a.oneOfType([a.func,a.shape({current:a.shape({pulsate:a.func.isRequired,start:a.func.isRequired,stop:a.func.isRequired})})])});const boe=$.memo(TI),xoe=e=>Wn("MuiPickersSlideTransition",e),Hu=Bn("MuiPickersSlideTransition",["root","slideEnter-left","slideEnter-right","slideEnterActive","slideExit","slideExitActiveLeft-left","slideExitActiveLeft-right"]),Soe=["children","className","reduceAnimations","slideDirection","transKey","classes"],Coe=e=>{const{classes:t,slideDirection:n}=e,o={root:["root"],exit:["slideExit"],enterActive:["slideEnterActive"],enter:[`slideEnter-${n}`],exitActive:[`slideExitActiveLeft-${n}`]};return Un(o,xoe,t)},woe=mt(Ny,{name:"MuiPickersSlideTransition",slot:"Root",overridesResolver:(e,t)=>[t.root,{[`.${Hu["slideEnter-left"]}`]:t["slideEnter-left"]},{[`.${Hu["slideEnter-right"]}`]:t["slideEnter-right"]},{[`.${Hu.slideEnterActive}`]:t.slideEnterActive},{[`.${Hu.slideExit}`]:t.slideExit},{[`.${Hu["slideExitActiveLeft-left"]}`]:t["slideExitActiveLeft-left"]},{[`.${Hu["slideExitActiveLeft-right"]}`]:t["slideExitActiveLeft-right"]}]})(({theme:e})=>{const t=e.transitions.create("transform",{duration:e.transitions.duration.complex,easing:"cubic-bezier(0.35, 0.8, 0.4, 1)"});return{display:"block",position:"relative",overflowX:"hidden","& > *":{position:"absolute",top:0,right:0,left:0},[`& .${Hu["slideEnter-left"]}`]:{willChange:"transform",transform:"translate(100%)",zIndex:1},[`& .${Hu["slideEnter-right"]}`]:{willChange:"transform",transform:"translate(-100%)",zIndex:1},[`& .${Hu.slideEnterActive}`]:{transform:"translate(0%)",transition:t},[`& .${Hu.slideExit}`]:{transform:"translate(0%)"},[`& .${Hu["slideExitActiveLeft-left"]}`]:{willChange:"transform",transform:"translate(-100%)",transition:t,zIndex:0},[`& .${Hu["slideExitActiveLeft-right"]}`]:{willChange:"transform",transform:"translate(100%)",transition:t,zIndex:0}}});function Roe(e){const t=An({props:e,name:"MuiPickersSlideTransition"}),{children:n,className:o,reduceAnimations:s,transKey:p}=t,u=Ot(t,Soe),g=Coe(t),b=Ys();if(s)return B.jsx("div",{className:tn(g.root,o),children:n});const y={exit:g.exit,enterActive:g.enterActive,enter:g.enter,exitActive:g.exitActive};return B.jsx(woe,{className:tn(g.root,o),childFactory:C=>$.cloneElement(C,{classNames:y}),role:"presentation",children:B.jsx(M1,V({mountOnEnter:!0,unmountOnExit:!0,timeout:b.transitions.duration.complex,classNames:y},u,{children:n}),p)})}const _I=({shouldDisableDate:e,shouldDisableMonth:t,shouldDisableYear:n,minDate:o,maxDate:s,disableFuture:p,disablePast:u,timezone:g})=>{const b=Hh();return $.useCallback(y=>TS({adapter:b,value:y,props:{shouldDisableDate:e,shouldDisableMonth:t,shouldDisableYear:n,minDate:o,maxDate:s,disableFuture:p,disablePast:u,timezone:g}})!==null,[b,e,t,n,o,s,p,u,g])},Eoe=e=>Wn("MuiDayCalendar",e);Bn("MuiDayCalendar",["root","header","weekDayLabel","loadingContainer","slideTransition","monthContainer","weekContainer","weekNumberLabel","weekNumber"]);const Toe=["parentProps","day","focusableDay","selectedDays","isDateDisabled","currentMonthNumber","isViewFocused"],_oe=["ownerState"],Ooe=e=>{const{classes:t}=e;return Un({root:["root"],header:["header"],weekDayLabel:["weekDayLabel"],loadingContainer:["loadingContainer"],slideTransition:["slideTransition"],monthContainer:["monthContainer"],weekContainer:["weekContainer"],weekNumberLabel:["weekNumberLabel"],weekNumber:["weekNumber"]},Eoe,t)},OI=(Rb+wS*2)*6,Poe=mt("div",{name:"MuiDayCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Doe=mt("div",{name:"MuiDayCalendar",slot:"Header",overridesResolver:(e,t)=>t.header})({display:"flex",justifyContent:"center",alignItems:"center"}),koe=mt(So,{name:"MuiDayCalendar",slot:"WeekDayLabel",overridesResolver:(e,t)=>t.weekDayLabel})(({theme:e})=>({width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:(e.vars||e).palette.text.secondary})),Noe=mt(So,{name:"MuiDayCalendar",slot:"WeekNumberLabel",overridesResolver:(e,t)=>t.weekNumberLabel})(({theme:e})=>({width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:e.palette.text.disabled})),Moe=mt(So,{name:"MuiDayCalendar",slot:"WeekNumber",overridesResolver:(e,t)=>t.weekNumber})(({theme:e})=>V({},e.typography.caption,{width:Rb,height:Rb,padding:0,margin:`0 ${wS}px`,color:e.palette.text.disabled,fontSize:"0.75rem",alignItems:"center",justifyContent:"center",display:"inline-flex"})),Aoe=mt("div",{name:"MuiDayCalendar",slot:"LoadingContainer",overridesResolver:(e,t)=>t.loadingContainer})({display:"flex",justifyContent:"center",alignItems:"center",minHeight:OI}),$oe=mt(Roe,{name:"MuiDayCalendar",slot:"SlideTransition",overridesResolver:(e,t)=>t.slideTransition})({minHeight:OI}),Ioe=mt("div",{name:"MuiDayCalendar",slot:"MonthContainer",overridesResolver:(e,t)=>t.monthContainer})({overflow:"hidden"}),Foe=mt("div",{name:"MuiDayCalendar",slot:"WeekContainer",overridesResolver:(e,t)=>t.weekContainer})({margin:`${wS}px 0`,display:"flex",justifyContent:"center"});function joe(e){var t,n,o;let{parentProps:s,day:p,focusableDay:u,selectedDays:g,isDateDisabled:b,currentMonthNumber:y,isViewFocused:C}=e,w=Ot(e,Toe);const{disabled:O,disableHighlightToday:P,isMonthSwitchingAnimating:D,showDaysOutsideCurrentMonth:I,components:j,componentsProps:z,slots:H,slotProps:L,timezone:U}=s,A=yi(),Q=wb(U),te=u!==null&&A.isSameDay(p,u),ue=g.some(re=>A.isSameDay(re,p)),ae=A.isSameDay(p,Q),pe=(t=(n=H==null?void 0:H.day)!=null?n:j==null?void 0:j.Day)!=null?t:boe,xe=si({elementType:pe,externalSlotProps:(o=L==null?void 0:L.day)!=null?o:z==null?void 0:z.day,additionalProps:V({disableHighlightToday:P,showDaysOutsideCurrentMonth:I,role:"gridcell",isAnimating:D,"data-timestamp":A.toJsDate(p).valueOf()},w),ownerState:V({},s,{day:p,selected:ue})}),Pe=Ot(xe,_oe),ye=$.useMemo(()=>O||b(p),[O,b,p]),de=$.useMemo(()=>A.getMonth(p)!==y,[A,p,y]),fe=$.useMemo(()=>{const re=A.startOfMonth(A.setMonth(p,y));return I?A.isSameDay(p,A.startOfWeek(re)):A.isSameDay(p,re)},[y,p,I,A]),Se=$.useMemo(()=>{const re=A.endOfMonth(A.setMonth(p,y));return I?A.isSameDay(p,A.endOfWeek(re)):A.isSameDay(p,re)},[y,p,I,A]);return B.jsx(pe,V({},Pe,{day:p,disabled:ye,autoFocus:C&&te,today:ae,outsideCurrentMonth:de,isFirstVisibleCell:fe,isLastVisibleCell:Se,selected:ue,tabIndex:te?0:-1,"aria-selected":ue,"aria-current":ae?"date":void 0}))}function Loe(e){const t=An({props:e,name:"MuiDayCalendar"}),{onFocusedDayChange:n,className:o,currentMonth:s,selectedDays:p,focusedDay:u,loading:g,onSelectedDaysChange:b,onMonthSwitchingAnimationEnd:y,readOnly:C,reduceAnimations:w,renderLoading:O=()=>B.jsx("span",{children:"..."}),slideDirection:P,TransitionProps:D,disablePast:I,disableFuture:j,minDate:z,maxDate:H,shouldDisableDate:L,shouldDisableMonth:U,shouldDisableYear:A,dayOfWeekFormatter:Q,hasFocus:te,onFocusedViewChange:ue,gridLabelId:ae,displayWeekNumber:pe,fixedWeekNumber:xe,autoFocus:Pe,timezone:ye}=t,de=wb(ye),fe=yi(),Se=Ooe(t),ce=Ys().direction==="rtl",ke=Q||((_t,Jt)=>fe.format(Jt,"weekdayShort").charAt(0).toUpperCase()),Ce=_I({shouldDisableDate:L,shouldDisableMonth:U,shouldDisableYear:A,minDate:z,maxDate:H,disablePast:I,disableFuture:j,timezone:ye}),ge=Cp(),[Me,Le]=Hl({name:"DayCalendar",state:"hasFocus",controlled:te,default:Pe??!1}),[Oe,Ve]=$.useState(()=>u||de),ze=ir(_t=>{C||b(_t)}),We=_t=>{Ce(_t)||(n(_t),Ve(_t),ue==null||ue(!0),Le(!0))},Ye=ir((_t,Jt)=>{switch(_t.key){case"ArrowUp":We(fe.addDays(Jt,-7)),_t.preventDefault();break;case"ArrowDown":We(fe.addDays(Jt,7)),_t.preventDefault();break;case"ArrowLeft":{const rt=fe.addDays(Jt,ce?1:-1),ut=fe.addMonths(Jt,ce?1:-1),Kt=xb({utils:fe,date:rt,minDate:ce?rt:fe.startOfMonth(ut),maxDate:ce?fe.endOfMonth(ut):rt,isDateDisabled:Ce,timezone:ye});We(Kt||rt),_t.preventDefault();break}case"ArrowRight":{const rt=fe.addDays(Jt,ce?-1:1),ut=fe.addMonths(Jt,ce?-1:1),Kt=xb({utils:fe,date:rt,minDate:ce?fe.startOfMonth(ut):rt,maxDate:ce?rt:fe.endOfMonth(ut),isDateDisabled:Ce,timezone:ye});We(Kt||rt),_t.preventDefault();break}case"Home":We(fe.startOfWeek(Jt)),_t.preventDefault();break;case"End":We(fe.endOfWeek(Jt)),_t.preventDefault();break;case"PageUp":We(fe.addMonths(Jt,1)),_t.preventDefault();break;case"PageDown":We(fe.addMonths(Jt,-1)),_t.preventDefault();break}}),ot=ir((_t,Jt)=>We(Jt)),yt=ir((_t,Jt)=>{Me&&fe.isSameDay(Oe,Jt)&&(ue==null||ue(!1))}),Ze=fe.getMonth(s),Te=$.useMemo(()=>p.filter(_t=>!!_t).map(_t=>fe.startOfDay(_t)),[fe,p]),tt=Ze,Ge=$.useMemo(()=>$.createRef(),[tt]),et=fe.startOfWeek(de),xt=$.useMemo(()=>{const _t=fe.startOfMonth(s),Jt=fe.endOfMonth(s);return Ce(Oe)||fe.isAfterDay(Oe,Jt)||fe.isBeforeDay(Oe,_t)?xb({utils:fe,date:Oe,minDate:_t,maxDate:Jt,disablePast:I,disableFuture:j,isDateDisabled:Ce,timezone:ye}):Oe},[s,j,I,Oe,Ce,fe,ye]),Yt=$.useMemo(()=>{const _t=fe.setTimezone(s,ye),Jt=fe.getWeekArray(_t);let rt=fe.addMonths(_t,1);for(;xe&&Jt.length<xe;){const ut=fe.getWeekArray(rt),Kt=fe.isSameDay(Jt[Jt.length-1][0],ut[0][0]);ut.slice(Kt?1:0).forEach(En=>{Jt.length<xe&&Jt.push(En)}),rt=fe.addMonths(rt,1)}return Jt},[s,xe,fe,ye]);return B.jsxs(Poe,{role:"grid","aria-labelledby":ae,className:Se.root,children:[B.jsxs(Doe,{role:"row",className:Se.header,children:[pe&&B.jsx(Noe,{variant:"caption",role:"columnheader","aria-label":ge.calendarWeekNumberHeaderLabel,className:Se.weekNumberLabel,children:ge.calendarWeekNumberHeaderText}),Dne(fe,de).map((_t,Jt)=>{var rt;const ut=fe.format(_t,"weekdayShort");return B.jsx(koe,{variant:"caption",role:"columnheader","aria-label":fe.format(fe.addDays(et,Jt),"weekday"),className:Se.weekDayLabel,children:(rt=ke==null?void 0:ke(ut,_t))!=null?rt:ut},ut+Jt.toString())})]}),g?B.jsx(Aoe,{className:Se.loadingContainer,children:O()}):B.jsx($oe,V({transKey:tt,onExited:y,reduceAnimations:w,slideDirection:P,className:tn(o,Se.slideTransition)},D,{nodeRef:Ge,children:B.jsx(Ioe,{ref:Ge,role:"rowgroup",className:Se.monthContainer,children:Yt.map((_t,Jt)=>B.jsxs(Foe,{role:"row",className:Se.weekContainer,"aria-rowindex":Jt+1,children:[pe&&B.jsx(Moe,{className:Se.weekNumber,role:"rowheader","aria-label":ge.calendarWeekNumberAriaLabelText(fe.getWeekNumber(_t[0])),children:ge.calendarWeekNumberText(fe.getWeekNumber(_t[0]))}),_t.map((rt,ut)=>B.jsx(joe,{parentProps:t,day:rt,selectedDays:Te,focusableDay:xt,onKeyDown:Ye,onFocus:ot,onBlur:yt,onDaySelect:ze,isDateDisabled:Ce,currentMonthNumber:Ze,isViewFocused:Me,"aria-colindex":ut+1},rt.toString()))]},`week-${_t[0]}`))})}))]})}const Boe=(e,t,n)=>(o,s)=>{switch(s.type){case"changeMonth":return V({},o,{slideDirection:s.direction,currentMonth:s.newMonth,isMonthSwitchingAnimating:!e});case"finishMonthSwitchingAnimation":return V({},o,{isMonthSwitchingAnimating:!1});case"changeFocusedDay":{if(o.focusedDay!=null&&s.focusedDay!=null&&n.isSameDay(s.focusedDay,o.focusedDay))return o;const p=s.focusedDay!=null&&!t&&!n.isSameMonth(o.currentMonth,s.focusedDay);return V({},o,{focusedDay:s.focusedDay,isMonthSwitchingAnimating:p&&!e&&!s.withoutMonthSwitchingAnimation,currentMonth:p?n.startOfMonth(s.focusedDay):o.currentMonth,slideDirection:s.focusedDay!=null&&n.isAfterDay(s.focusedDay,o.currentMonth)?"left":"right"})}default:throw new Error("missing support")}},Voe=e=>{const{value:t,referenceDate:n,defaultCalendarMonth:o,disableFuture:s,disablePast:p,disableSwitchToMonthOnDayFocus:u=!1,maxDate:g,minDate:b,onMonthChange:y,reduceAnimations:C,shouldDisableDate:w,timezone:O}=e,P=wb(O),D=yi(),I=$.useRef(Boe(!!C,u,D)).current,j=$.useMemo(()=>{let ue=null;return n?ue=n:o&&(ue=D.startOfMonth(o)),ff.getInitialReferenceValue({value:t,utils:D,timezone:O,props:e,referenceDate:ue,granularity:xd.day})},[]),[z,H]=$.useReducer(I,{isMonthSwitchingAnimating:!1,focusedDay:D.isValid(t)?t:P,currentMonth:D.startOfMonth(j),slideDirection:"left"}),L=$.useCallback(ue=>{H(V({type:"changeMonth"},ue)),y&&y(ue.newMonth)},[y]),U=$.useCallback(ue=>{const ae=ue;D.isSameMonth(ae,z.currentMonth)||L({newMonth:D.startOfMonth(ae),direction:D.isAfterDay(ae,z.currentMonth)?"left":"right"})},[z.currentMonth,L,D]),A=_I({shouldDisableDate:w,minDate:b,maxDate:g,disableFuture:s,disablePast:p,timezone:O}),Q=$.useCallback(()=>{H({type:"finishMonthSwitchingAnimation"})},[]),te=ir((ue,ae)=>{A(ue)||H({type:"changeFocusedDay",focusedDay:ue,withoutMonthSwitchingAnimation:ae})});return{referenceDate:j,calendarState:z,changeMonth:U,changeFocusedDay:te,isDateDisabled:A,onMonthSwitchingAnimationEnd:Q,handleChangeMonth:L}},zoe=["props","getOpenDialogAriaText"],Uoe=["ownerState"],Woe=["ownerState"],Hoe=e=>{var t,n,o,s,p;let{props:u,getOpenDialogAriaText:g}=e,b=Ot(e,zoe);const{slots:y,slotProps:C,className:w,sx:O,format:P,formatDensity:D,timezone:I,name:j,label:z,inputRef:H,readOnly:L,disabled:U,autoFocus:A,localeText:Q,reduceAnimations:te}=u,ue=yi(),ae=$.useRef(null),pe=$.useRef(null),xe=up(),Pe=(t=C==null||(n=C.toolbar)==null?void 0:n.hidden)!=null?t:!1,{open:ye,actions:de,hasUIView:fe,layoutProps:Se,renderCurrentView:re,shouldRestoreFocus:ce,fieldProps:ke}=gI(V({},b,{props:u,inputRef:ae,autoFocusView:!0,additionalViewProps:{},wrapperVariant:"desktop"})),Ce=(o=y.inputAdornment)!=null?o:rS,ge=si({elementType:Ce,externalSlotProps:C==null?void 0:C.inputAdornment,additionalProps:{position:"end"},ownerState:u}),Me=Ot(ge,Uoe),Le=(s=y.openPickerButton)!=null?s:lf,Oe=si({elementType:Le,externalSlotProps:C==null?void 0:C.openPickerButton,additionalProps:{disabled:U||L,onClick:ye?de.onClose:de.onOpen,"aria-label":g(ke.value,ue),edge:Me.position},ownerState:u}),Ve=Ot(Oe,Woe),ze=y.openPickerIcon,We=y.field,Ye=si({elementType:We,externalSlotProps:C==null?void 0:C.field,additionalProps:V({},ke,Pe&&{id:xe},{readOnly:L,disabled:U,className:w,sx:O,format:P,formatDensity:D,timezone:I,label:z,name:j,autoFocus:A&&!u.open,focused:ye?!0:void 0}),ownerState:u});fe&&(Ye.InputProps=V({},Ye.InputProps,{ref:pe,[`${Me.position}Adornment`]:B.jsx(Ce,V({},Me,{children:B.jsx(Le,V({},Ve,{children:B.jsx(ze,V({},C==null?void 0:C.openPickerIcon))}))}))}));const ot=V({textField:y.textField,clearIcon:y.clearIcon,clearButton:y.clearButton},Ye.slots),yt=(p=y.layout)!=null?p:YE,Ze=qo(ae,Ye.inputRef,H);let Te=xe;Pe&&(z?Te=`${xe}-label`:Te=void 0);const tt=V({},C,{toolbar:V({},C==null?void 0:C.toolbar,{titleId:xe}),popper:V({"aria-labelledby":Te},C==null?void 0:C.popper)});return{renderPicker:()=>B.jsxs(zE,{localeText:Q,children:[B.jsx(We,V({},Ye,{slots:ot,slotProps:tt,inputRef:Ze})),B.jsx(Fre,V({role:"dialog",placement:"bottom-start",anchorEl:pe.current},de,{open:ye,slots:y,slotProps:tt,shouldRestoreFocus:ce,reduceAnimations:te,children:B.jsx(yt,V({},Se,tt==null?void 0:tt.layout,{slots:y,slotProps:tt,children:re()}))}))]})}},Goe=e=>{var t,n,o;const s=yi(),p=Cb();return V({},e,{disablePast:(t=e.disablePast)!=null?t:!1,disableFuture:(n=e.disableFuture)!=null?n:!1,format:(o=e.format)!=null?o:s.formats.keyboardDate,minDate:Wu(s,e.minDate,p.minDate),maxDate:Wu(s,e.maxDate,p.maxDate)})},qoe=({props:e,inputRef:t})=>{const n=Goe(e),{forwardedProps:o,internalProps:s}=poe(n);return zre({inputRef:t,forwardedProps:o,internalProps:s,valueManager:ff,fieldValueManager:qne,validator:TS,valueType:"date"})},Yoe=["ownerState"],Koe=({clearable:e,fieldProps:t,InputProps:n,onClear:o,slots:s,slotProps:p,components:u,componentsProps:g})=>{var b,y,C,w,O,P;const D=Cp(),I=(b=(y=s==null?void 0:s.clearButton)!=null?y:u==null?void 0:u.ClearButton)!=null?b:lf,j=si({elementType:I,externalSlotProps:(C=p==null?void 0:p.clearButton)!=null?C:g==null?void 0:g.clearButton,ownerState:{},className:"clearButton",additionalProps:{title:D.fieldClearLabel}}),z=Ot(j,Yoe),H=(w=(O=s==null?void 0:s.clearIcon)!=null?O:u==null?void 0:u.ClearIcon)!=null?w:dre,L=si({elementType:H,externalSlotProps:(P=p==null?void 0:p.clearIcon)!=null?P:g==null?void 0:g.clearIcon,ownerState:{}}),U=V({},n,{endAdornment:B.jsxs($.Fragment,{children:[e&&B.jsx(rS,{position:"end",sx:{marginRight:n!=null&&n.endAdornment?-1:-1.5},children:B.jsx(I,V({},z,{onClick:o,children:B.jsx(H,V({fontSize:"small"},L))}))}),n==null?void 0:n.endAdornment]})}),A=V({},t,{sx:[{"& .clearButton":{opacity:1},"@media (pointer: fine)":{"& .clearButton":{opacity:0},"&:hover, &:focus-within":{".clearButton":{opacity:1}}}},...Array.isArray(t.sx)?t.sx:[t.sx]]});return{InputProps:U,fieldProps:A}},Xoe=["components","componentsProps","slots","slotProps","InputProps","inputProps"],Qoe=["inputRef"],Zoe=["ref","onPaste","onKeyDown","inputMode","readOnly","clearable","onClear"],KE=$.forwardRef(function(t,n){var o,s,p;const u=An({props:t,name:"MuiDateField"}),{components:g,componentsProps:b,slots:y,slotProps:C,InputProps:w,inputProps:O}=u,P=Ot(u,Xoe),D=u,I=(o=(s=y==null?void 0:y.textField)!=null?s:g==null?void 0:g.TextField)!=null?o:cE,j=si({elementType:I,externalSlotProps:(p=C==null?void 0:C.textField)!=null?p:b==null?void 0:b.textField,externalForwardedProps:P,ownerState:D}),{inputRef:z}=j,H=Ot(j,Qoe);H.inputProps=V({},O,H.inputProps),H.InputProps=V({},w,H.InputProps);const L=qoe({props:H,inputRef:z}),{ref:U,onPaste:A,onKeyDown:Q,inputMode:te,readOnly:ue,clearable:ae,onClear:pe}=L,xe=Ot(L,Zoe),{InputProps:Pe,fieldProps:ye}=Koe({onClear:pe,clearable:ae,fieldProps:xe,InputProps:xe.InputProps,slots:y,slotProps:C,components:g,componentsProps:b});return B.jsx(I,V({ref:n},ye,{InputProps:V({},Pe,{readOnly:ue}),inputProps:V({},xe.inputProps,{inputMode:te,onPaste:A,onKeyDown:Q,ref:U})}))});process.env.NODE_ENV!=="production"&&(KE.propTypes={autoFocus:a.bool,className:a.string,clearable:a.bool,color:a.oneOf(["error","info","primary","secondary","success","warning"]),component:a.elementType,components:a.object,componentsProps:a.object,defaultValue:a.any,disabled:a.bool,disableFuture:a.bool,disablePast:a.bool,focused:a.bool,format:a.string,formatDensity:a.oneOf(["dense","spacious"]),FormHelperTextProps:a.object,fullWidth:a.bool,helperText:a.node,hiddenLabel:a.bool,id:a.string,InputLabelProps:a.object,inputProps:a.object,InputProps:a.object,inputRef:qs,label:a.node,margin:a.oneOf(["dense","none","normal"]),maxDate:a.any,minDate:a.any,name:a.string,onBlur:a.func,onChange:a.func,onClear:a.func,onError:a.func,onFocus:a.func,onSelectedSectionsChange:a.func,readOnly:a.bool,referenceDate:a.any,required:a.bool,selectedSections:a.oneOfType([a.oneOf(["all","day","hours","meridiem","minutes","month","seconds","weekDay","year"]),a.number,a.shape({endIndex:a.number.isRequired,startIndex:a.number.isRequired})]),shouldDisableDate:a.func,shouldDisableMonth:a.func,shouldDisableYear:a.func,shouldRespectLeadingZeros:a.bool,size:a.oneOf(["medium","small"]),slotProps:a.object,slots:a.object,style:a.object,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),timezone:a.string,unstableFieldRef:a.oneOfType([a.func,a.object]),value:a.any,variant:a.oneOf(["filled","outlined","standard"])});const Joe=e=>Wn("MuiPickersFadeTransitionGroup",e);Bn("MuiPickersFadeTransitionGroup",["root"]);const eie=e=>{const{classes:t}=e;return Un({root:["root"]},Joe,t)},tie=mt(Ny,{name:"MuiPickersFadeTransitionGroup",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"block",position:"relative"});function PI(e){const t=An({props:e,name:"MuiPickersFadeTransitionGroup"}),{children:n,className:o,reduceAnimations:s,transKey:p}=t,u=eie(t),g=Ys();return s?n:B.jsx(tie,{className:tn(u.root,o),children:B.jsx(zh,{appear:!1,mountOnEnter:!0,unmountOnExit:!0,timeout:{appear:g.transitions.duration.enteringScreen,enter:g.transitions.duration.enteringScreen,exit:0},children:n},p)})}function nie(e){return Wn("MuiPickersMonth",e)}const _S=Bn("MuiPickersMonth",["root","monthButton","disabled","selected"]),rie=["autoFocus","children","disabled","selected","value","tabIndex","onClick","onKeyDown","onFocus","onBlur","aria-current","aria-label","monthsPerRow"],oie=e=>{const{disabled:t,selected:n,classes:o}=e;return Un({root:["root"],monthButton:["monthButton",t&&"disabled",n&&"selected"]},nie,o)},iie=mt("div",{name:"MuiPickersMonth",slot:"Root",overridesResolver:(e,t)=>[t.root]})(({ownerState:e})=>({flexBasis:e.monthsPerRow===3?"33.3%":"25%",display:"flex",alignItems:"center",justifyContent:"center"})),aie=mt("button",{name:"MuiPickersMonth",slot:"MonthButton",overridesResolver:(e,t)=>[t.monthButton,{[`&.${_S.disabled}`]:t.disabled},{[`&.${_S.selected}`]:t.selected}]})(({theme:e})=>V({color:"unset",backgroundColor:"transparent",border:0,outline:0},e.typography.subtitle1,{margin:"8px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Br(e.palette.action.active,e.palette.action.hoverOpacity)},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Br(e.palette.action.active,e.palette.action.hoverOpacity)},"&:disabled":{cursor:"auto",pointerEvents:"none"},[`&.${_S.disabled}`]:{color:(e.vars||e).palette.text.secondary},[`&.${_S.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,"&:focus, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}}})),sie=$.memo(function(t){const n=An({props:t,name:"MuiPickersMonth"}),{autoFocus:o,children:s,disabled:p,selected:u,value:g,tabIndex:b,onClick:y,onKeyDown:C,onFocus:w,onBlur:O,"aria-current":P,"aria-label":D}=n,I=Ot(n,rie),j=$.useRef(null),z=oie(n);return Wa(()=>{if(o){var H;(H=j.current)==null||H.focus()}},[o]),B.jsx(iie,V({className:z.root,ownerState:n},I,{children:B.jsx(aie,{ref:j,disabled:p,type:"button",role:"radio",tabIndex:p?-1:b,"aria-current":P,"aria-checked":u,"aria-label":D,onClick:H=>y(H,g),onKeyDown:H=>C(H,g),onFocus:H=>w(H,g),onBlur:H=>O(H,g),className:z.monthButton,ownerState:n,children:s})}))});function lie(e){return Wn("MuiMonthCalendar",e)}Bn("MuiMonthCalendar",["root"]);const uie=["className","value","defaultValue","referenceDate","disabled","disableFuture","disablePast","maxDate","minDate","onChange","shouldDisableMonth","readOnly","disableHighlightToday","autoFocus","onMonthFocus","hasFocus","onFocusedViewChange","monthsPerRow","timezone","gridLabelId"],cie=e=>{const{classes:t}=e;return Un({root:["root"]},lie,t)};function die(e,t){const n=yi(),o=Cb(),s=An({props:e,name:t});return V({disableFuture:!1,disablePast:!1},s,{minDate:Wu(n,s.minDate,o.minDate),maxDate:Wu(n,s.maxDate,o.maxDate)})}const fie=mt("div",{name:"MuiMonthCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexWrap:"wrap",alignContent:"stretch",padding:"0 4px",width:RS,boxSizing:"border-box"}),DI=$.forwardRef(function(t,n){const o=die(t,"MuiMonthCalendar"),{className:s,value:p,defaultValue:u,referenceDate:g,disabled:b,disableFuture:y,disablePast:C,maxDate:w,minDate:O,onChange:P,shouldDisableMonth:D,readOnly:I,disableHighlightToday:j,autoFocus:z=!1,onMonthFocus:H,hasFocus:L,onFocusedViewChange:U,monthsPerRow:A=3,timezone:Q,gridLabelId:te}=o,ue=Ot(o,uie),{value:ae,handleValueChange:pe,timezone:xe}=HE({name:"MonthCalendar",timezone:Q,value:p,defaultValue:u,onChange:P,valueManager:ff}),Pe=wb(xe),ye=vm(),de=yi(),fe=$.useMemo(()=>ff.getInitialReferenceValue({value:ae,utils:de,props:o,timezone:xe,referenceDate:g,granularity:xd.month}),[]),Se=o,re=cie(Se),ce=$.useMemo(()=>de.getMonth(Pe),[de,Pe]),ke=$.useMemo(()=>ae!=null?de.getMonth(ae):j?null:de.getMonth(fe),[ae,de,j,fe]),[Ce,ge]=$.useState(()=>ke||ce),[Me,Le]=Hl({name:"MonthCalendar",state:"hasFocus",controlled:L,default:z??!1}),Oe=ir(Ze=>{Le(Ze),U&&U(Ze)}),Ve=$.useCallback(Ze=>{const Te=de.startOfMonth(C&&de.isAfter(Pe,O)?Pe:O),tt=de.startOfMonth(y&&de.isBefore(Pe,w)?Pe:w),Ge=de.startOfMonth(Ze);return de.isBefore(Ge,Te)||de.isAfter(Ge,tt)?!0:D?D(Ge):!1},[y,C,w,O,Pe,D,de]),ze=ir((Ze,Te)=>{if(I)return;const tt=de.setMonth(ae??fe,Te);pe(tt)}),We=ir(Ze=>{Ve(de.setMonth(ae??fe,Ze))||(ge(Ze),Oe(!0),H&&H(Ze))});$.useEffect(()=>{ge(Ze=>ke!==null&&Ze!==ke?ke:Ze)},[ke]);const Ye=ir((Ze,Te)=>{switch(Ze.key){case"ArrowUp":We((12+Te-3)%12),Ze.preventDefault();break;case"ArrowDown":We((12+Te+3)%12),Ze.preventDefault();break;case"ArrowLeft":We((12+Te+(ye.direction==="ltr"?-1:1))%12),Ze.preventDefault();break;case"ArrowRight":We((12+Te+(ye.direction==="ltr"?1:-1))%12),Ze.preventDefault();break}}),ot=ir((Ze,Te)=>{We(Te)}),yt=ir((Ze,Te)=>{Ce===Te&&Oe(!1)});return B.jsx(fie,V({ref:n,className:tn(re.root,s),ownerState:Se,role:"radiogroup","aria-labelledby":te},ue,{children:FE(de,ae??fe).map(Ze=>{const Te=de.getMonth(Ze),tt=de.format(Ze,"monthShort"),Ge=de.format(Ze,"month"),et=Te===ke,xt=b||Ve(Ze);return B.jsx(sie,{selected:et,value:Te,onClick:ze,onKeyDown:Ye,autoFocus:Me&&Te===Ce,disabled:xt,tabIndex:Te===Ce?0:-1,onFocus:ot,onBlur:yt,"aria-current":ce===Te?"date":void 0,"aria-label":Ge,monthsPerRow:A,children:tt},tt)})}))});process.env.NODE_ENV!=="production"&&(DI.propTypes={autoFocus:a.bool,classes:a.object,className:a.string,defaultValue:a.any,disabled:a.bool,disableFuture:a.bool,disableHighlightToday:a.bool,disablePast:a.bool,gridLabelId:a.string,hasFocus:a.bool,maxDate:a.any,minDate:a.any,monthsPerRow:a.oneOf([3,4]),onChange:a.func,onFocusedViewChange:a.func,onMonthFocus:a.func,readOnly:a.bool,referenceDate:a.any,shouldDisableMonth:a.func,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),timezone:a.string,value:a.any});function pie(e){return Wn("MuiPickersYear",e)}const OS=Bn("MuiPickersYear",["root","yearButton","selected","disabled"]),hie=["autoFocus","className","children","disabled","selected","value","tabIndex","onClick","onKeyDown","onFocus","onBlur","aria-current","yearsPerRow"],vie=e=>{const{disabled:t,selected:n,classes:o}=e;return Un({root:["root"],yearButton:["yearButton",t&&"disabled",n&&"selected"]},pie,o)},mie=mt("div",{name:"MuiPickersYear",slot:"Root",overridesResolver:(e,t)=>[t.root]})(({ownerState:e})=>({flexBasis:e.yearsPerRow===3?"33.3%":"25%",display:"flex",alignItems:"center",justifyContent:"center"})),gie=mt("button",{name:"MuiPickersYear",slot:"YearButton",overridesResolver:(e,t)=>[t.yearButton,{[`&.${OS.disabled}`]:t.disabled},{[`&.${OS.selected}`]:t.selected}]})(({theme:e})=>V({color:"unset",backgroundColor:"transparent",border:0,outline:0},e.typography.subtitle1,{margin:"6px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.focusOpacity})`:Br(e.palette.action.active,e.palette.action.focusOpacity)},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Br(e.palette.action.active,e.palette.action.hoverOpacity)},"&:disabled":{cursor:"auto",pointerEvents:"none"},[`&.${OS.disabled}`]:{color:(e.vars||e).palette.text.secondary},[`&.${OS.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,"&:focus, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}}})),yie=$.memo(function(t){const n=An({props:t,name:"MuiPickersYear"}),{autoFocus:o,className:s,children:p,disabled:u,selected:g,value:b,tabIndex:y,onClick:C,onKeyDown:w,onFocus:O,onBlur:P,"aria-current":D}=n,I=Ot(n,hie),j=$.useRef(null),z=vie(n);return $.useEffect(()=>{o&&j.current.focus()},[o]),B.jsx(mie,V({className:tn(z.root,s),ownerState:n},I,{children:B.jsx(gie,{ref:j,disabled:u,type:"button",role:"radio",tabIndex:u?-1:y,"aria-current":D,"aria-checked":g,onClick:H=>C(H,b),onKeyDown:H=>w(H,b),onFocus:H=>O(H,b),onBlur:H=>P(H,b),className:z.yearButton,ownerState:n,children:p})}))});function bie(e){return Wn("MuiYearCalendar",e)}Bn("MuiYearCalendar",["root"]);const xie=["autoFocus","className","value","defaultValue","referenceDate","disabled","disableFuture","disablePast","maxDate","minDate","onChange","readOnly","shouldDisableYear","disableHighlightToday","onYearFocus","hasFocus","onFocusedViewChange","yearsPerRow","timezone","gridLabelId"],Sie=e=>{const{classes:t}=e;return Un({root:["root"]},bie,t)};function Cie(e,t){var n;const o=yi(),s=Cb(),p=An({props:e,name:t});return V({disablePast:!1,disableFuture:!1},p,{yearsPerRow:(n=p.yearsPerRow)!=null?n:3,minDate:Wu(o,p.minDate,s.minDate),maxDate:Wu(o,p.maxDate,s.maxDate)})}const wie=mt("div",{name:"MuiYearCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"row",flexWrap:"wrap",overflowY:"auto",height:"100%",padding:"0 4px",width:RS,maxHeight:xre,boxSizing:"border-box",position:"relative"}),kI=$.forwardRef(function(t,n){const o=Cie(t,"MuiYearCalendar"),{autoFocus:s,className:p,value:u,defaultValue:g,referenceDate:b,disabled:y,disableFuture:C,disablePast:w,maxDate:O,minDate:P,onChange:D,readOnly:I,shouldDisableYear:j,disableHighlightToday:z,onYearFocus:H,hasFocus:L,onFocusedViewChange:U,yearsPerRow:A,timezone:Q,gridLabelId:te}=o,ue=Ot(o,xie),{value:ae,handleValueChange:pe,timezone:xe}=HE({name:"YearCalendar",timezone:Q,value:u,defaultValue:g,onChange:D,valueManager:ff}),Pe=wb(xe),ye=vm(),de=yi(),fe=$.useMemo(()=>ff.getInitialReferenceValue({value:ae,utils:de,props:o,timezone:xe,referenceDate:b,granularity:xd.year}),[]),Se=o,re=Sie(Se),ce=$.useMemo(()=>de.getYear(Pe),[de,Pe]),ke=$.useMemo(()=>ae!=null?de.getYear(ae):z?null:de.getYear(fe),[ae,de,z,fe]),[Ce,ge]=$.useState(()=>ke||ce),[Me,Le]=Hl({name:"YearCalendar",state:"hasFocus",controlled:L,default:s??!1}),Oe=ir(tt=>{Le(tt),U&&U(tt)}),Ve=$.useCallback(tt=>{if(w&&de.isBeforeYear(tt,Pe)||C&&de.isAfterYear(tt,Pe)||P&&de.isBeforeYear(tt,P)||O&&de.isAfterYear(tt,O))return!0;if(!j)return!1;const Ge=de.startOfYear(tt);return j(Ge)},[C,w,O,P,Pe,j,de]),ze=ir((tt,Ge)=>{if(I)return;const et=de.setYear(ae??fe,Ge);pe(et)}),We=ir(tt=>{Ve(de.setYear(ae??fe,tt))||(ge(tt),Oe(!0),H==null||H(tt))});$.useEffect(()=>{ge(tt=>ke!==null&&tt!==ke?ke:tt)},[ke]);const Ye=ir((tt,Ge)=>{switch(tt.key){case"ArrowUp":We(Ge-A),tt.preventDefault();break;case"ArrowDown":We(Ge+A),tt.preventDefault();break;case"ArrowLeft":We(Ge+(ye.direction==="ltr"?-1:1)),tt.preventDefault();break;case"ArrowRight":We(Ge+(ye.direction==="ltr"?1:-1)),tt.preventDefault();break}}),ot=ir((tt,Ge)=>{We(Ge)}),yt=ir((tt,Ge)=>{Ce===Ge&&Oe(!1)}),Ze=$.useRef(null),Te=qo(n,Ze);return $.useEffect(()=>{if(s||Ze.current===null)return;const tt=Ze.current.querySelector('[tabindex="0"]');if(!tt)return;const Ge=tt.offsetHeight,et=tt.offsetTop,xt=Ze.current.clientHeight,Yt=Ze.current.scrollTop,_t=et+Ge;Ge>xt||et<Yt||(Ze.current.scrollTop=_t-xt/2-Ge/2)},[s]),B.jsx(wie,V({ref:Te,className:tn(re.root,p),ownerState:Se,role:"radiogroup","aria-labelledby":te},ue,{children:de.getYearRange(P,O).map(tt=>{const Ge=de.getYear(tt),et=Ge===ke,xt=y||Ve(tt);return B.jsx(yie,{selected:et,value:Ge,onClick:ze,onKeyDown:Ye,autoFocus:Me&&Ge===Ce,disabled:xt,tabIndex:Ge===Ce?0:-1,onFocus:ot,onBlur:yt,"aria-current":ce===Ge?"date":void 0,yearsPerRow:A,children:de.format(tt,"year")},de.format(tt,"year"))})}))});process.env.NODE_ENV!=="production"&&(kI.propTypes={autoFocus:a.bool,classes:a.object,className:a.string,defaultValue:a.any,disabled:a.bool,disableFuture:a.bool,disableHighlightToday:a.bool,disablePast:a.bool,gridLabelId:a.string,hasFocus:a.bool,maxDate:a.any,minDate:a.any,onChange:a.func,onFocusedViewChange:a.func,onYearFocus:a.func,readOnly:a.bool,referenceDate:a.any,shouldDisableYear:a.func,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),timezone:a.string,value:a.any,yearsPerRow:a.oneOf([3,4])});const Rie=e=>Wn("MuiPickersCalendarHeader",e),Eie=Bn("MuiPickersCalendarHeader",["root","labelContainer","label","switchViewButton","switchViewIcon"]),Tie=["slots","slotProps","components","componentsProps","currentMonth","disabled","disableFuture","disablePast","maxDate","minDate","onMonthChange","onViewChange","view","reduceAnimations","views","labelId","className","timezone"],_ie=["ownerState"],Oie=e=>{const{classes:t}=e;return Un({root:["root"],labelContainer:["labelContainer"],label:["label"],switchViewButton:["switchViewButton"],switchViewIcon:["switchViewIcon"]},Rie,t)},Pie=mt("div",{name:"MuiPickersCalendarHeader",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",alignItems:"center",marginTop:16,marginBottom:8,paddingLeft:24,paddingRight:12,maxHeight:30,minHeight:30}),Die=mt("div",{name:"MuiPickersCalendarHeader",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})(({theme:e})=>V({display:"flex",overflow:"hidden",alignItems:"center",cursor:"pointer",marginRight:"auto"},e.typography.body1,{fontWeight:e.typography.fontWeightMedium})),kie=mt("div",{name:"MuiPickersCalendarHeader",slot:"Label",overridesResolver:(e,t)=>t.label})({marginRight:6}),Nie=mt(lf,{name:"MuiPickersCalendarHeader",slot:"SwitchViewButton",overridesResolver:(e,t)=>t.switchViewButton})(({ownerState:e})=>V({marginRight:"auto"},e.view==="year"&&{[`.${Eie.switchViewIcon}`]:{transform:"rotate(180deg)"}})),Mie=mt(sre,{name:"MuiPickersCalendarHeader",slot:"SwitchViewIcon",overridesResolver:(e,t)=>t.switchViewIcon})(({theme:e})=>({willChange:"transform",transition:e.transitions.create("transform"),transform:"rotate(0deg)"})),NI=$.forwardRef(function(t,n){var o,s,p,u;const g=Cp(),b=yi(),y=An({props:t,name:"MuiPickersCalendarHeader"}),{slots:C,slotProps:w,components:O,currentMonth:P,disabled:D,disableFuture:I,disablePast:j,maxDate:z,minDate:H,onMonthChange:L,onViewChange:U,view:A,reduceAnimations:Q,views:te,labelId:ue,className:ae,timezone:pe}=y,xe=Ot(y,Tie),Pe=y,ye=Oie(y),de=(o=(s=C==null?void 0:C.switchViewButton)!=null?s:O==null?void 0:O.SwitchViewButton)!=null?o:Nie,fe=si({elementType:de,externalSlotProps:w==null?void 0:w.switchViewButton,additionalProps:{size:"small","aria-label":g.calendarViewSwitchingButtonAriaLabel(A)},ownerState:Pe,className:ye.switchViewButton}),Se=(p=(u=C==null?void 0:C.switchViewIcon)!=null?u:O==null?void 0:O.SwitchViewIcon)!=null?p:Mie,re=si({elementType:Se,externalSlotProps:w==null?void 0:w.switchViewIcon,ownerState:void 0,className:ye.switchViewIcon}),ce=Ot(re,_ie),ke=()=>L(b.addMonths(P,1),"left"),Ce=()=>L(b.addMonths(P,-1),"right"),ge=soe(P,{disableFuture:I,maxDate:z,timezone:pe}),Me=loe(P,{disablePast:j,minDate:H,timezone:pe}),Le=()=>{if(!(te.length===1||!U||D))if(te.length===2)U(te.find(Oe=>Oe!==A)||te[0]);else{const Oe=te.indexOf(A)!==0?0:1;U(te[Oe])}};return te.length===1&&te[0]==="year"?null:B.jsxs(Pie,V({},xe,{ownerState:Pe,className:tn(ae,ye.root),ref:n,children:[B.jsxs(Die,{role:"presentation",onClick:Le,ownerState:Pe,"aria-live":"polite",className:ye.labelContainer,children:[B.jsx(PI,{reduceAnimations:Q,transKey:b.format(P,"monthAndYear"),children:B.jsx(kie,{id:ue,ownerState:Pe,className:ye.label,children:b.format(P,"monthAndYear")})}),te.length>1&&!D&&B.jsx(de,V({},fe,{children:B.jsx(Se,V({},ce))}))]}),B.jsx(zh,{in:A==="day",children:B.jsx(bre,{slots:C,slotProps:w,onGoToPrevious:Ce,isPreviousDisabled:Me,previousLabel:g.previousMonth,onGoToNext:ke,isNextDisabled:ge,nextLabel:g.nextMonth})})]}))});process.env.NODE_ENV!=="production"&&(NI.propTypes={classes:a.object,className:a.string,components:a.object,componentsProps:a.object,currentMonth:a.any.isRequired,disabled:a.bool,disableFuture:a.bool,disablePast:a.bool,labelId:a.string,maxDate:a.any.isRequired,minDate:a.any.isRequired,onMonthChange:a.func.isRequired,onViewChange:a.func,reduceAnimations:a.bool.isRequired,slotProps:a.object,slots:a.object,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),timezone:a.string.isRequired,view:a.oneOf(["day","month","year"]).isRequired,views:a.arrayOf(a.oneOf(["day","month","year"]).isRequired).isRequired});const Aie=mt("div")({overflow:"hidden",width:RS,maxHeight:UE,display:"flex",flexDirection:"column",margin:"0 auto"}),$ie=e=>Wn("MuiDateCalendar",e);Bn("MuiDateCalendar",["root","viewTransitionContainer"]);const Iie=["autoFocus","onViewChange","value","defaultValue","referenceDate","disableFuture","disablePast","defaultCalendarMonth","onChange","onYearChange","onMonthChange","reduceAnimations","shouldDisableDate","shouldDisableMonth","shouldDisableYear","view","views","openTo","className","disabled","readOnly","minDate","maxDate","disableHighlightToday","focusedView","onFocusedViewChange","showDaysOutsideCurrentMonth","fixedWeekNumber","dayOfWeekFormatter","components","componentsProps","slots","slotProps","loading","renderLoading","displayWeekNumber","yearsPerRow","monthsPerRow","timezone"],Fie=e=>{const{classes:t}=e;return Un({root:["root"],viewTransitionContainer:["viewTransitionContainer"]},$ie,t)};function jie(e,t){var n,o,s,p,u,g,b;const y=yi(),C=Cb(),w=pI(),O=An({props:e,name:t});return V({},O,{loading:(n=O.loading)!=null?n:!1,disablePast:(o=O.disablePast)!=null?o:!1,disableFuture:(s=O.disableFuture)!=null?s:!1,openTo:(p=O.openTo)!=null?p:"day",views:(u=O.views)!=null?u:["year","day"],reduceAnimations:(g=O.reduceAnimations)!=null?g:w,renderLoading:(b=O.renderLoading)!=null?b:()=>B.jsx("span",{children:"..."}),minDate:Wu(y,O.minDate,C.minDate),maxDate:Wu(y,O.maxDate,C.maxDate)})}const Lie=mt(Aie,{name:"MuiDateCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"column",height:UE}),Bie=mt(PI,{name:"MuiDateCalendar",slot:"ViewTransitionContainer",overridesResolver:(e,t)=>t.viewTransitionContainer})({}),MI=$.forwardRef(function(t,n){var o,s,p;const u=yi(),g=up(),b=jie(t,"MuiDateCalendar"),{autoFocus:y,onViewChange:C,value:w,defaultValue:O,referenceDate:P,disableFuture:D,disablePast:I,defaultCalendarMonth:j,onChange:z,onYearChange:H,onMonthChange:L,reduceAnimations:U,shouldDisableDate:A,shouldDisableMonth:Q,shouldDisableYear:te,view:ue,views:ae,openTo:pe,className:xe,disabled:Pe,readOnly:ye,minDate:de,maxDate:fe,disableHighlightToday:Se,focusedView:re,onFocusedViewChange:ce,showDaysOutsideCurrentMonth:ke,fixedWeekNumber:Ce,dayOfWeekFormatter:ge,components:Me,componentsProps:Le,slots:Oe,slotProps:Ve,loading:ze,renderLoading:We,displayWeekNumber:Ye,yearsPerRow:ot,monthsPerRow:yt,timezone:Ze}=b,Te=Ot(b,Iie),{value:tt,handleValueChange:Ge,timezone:et}=HE({name:"DateCalendar",timezone:Ze,value:w,defaultValue:O,onChange:z,valueManager:ff}),{view:xt,setView:Yt,focusedView:_t,setFocusedView:Jt,goToNextView:rt,setValueAndGoToNextView:ut}=vI({view:ue,views:ae,openTo:pe,onChange:Ge,onViewChange:C,autoFocus:y,focusedView:re,onFocusedViewChange:ce}),{referenceDate:Kt,calendarState:En,changeFocusedDay:yn,changeMonth:Hn,handleChangeMonth:sr,isDateDisabled:Kn,onMonthSwitchingAnimationEnd:Gn}=Voe({value:tt,defaultCalendarMonth:j,referenceDate:P,reduceAnimations:U,onMonthChange:L,minDate:de,maxDate:fe,shouldDisableDate:A,disablePast:I,disableFuture:D,timezone:et}),xn=Pe&&tt||de,Or=Pe&&tt||fe,Vt=`${g}-grid-label`,Xt=_t!==null,vn=(o=(s=Oe==null?void 0:Oe.calendarHeader)!=null?s:Me==null?void 0:Me.CalendarHeader)!=null?o:NI,zt=si({elementType:vn,externalSlotProps:(p=Ve==null?void 0:Ve.calendarHeader)!=null?p:Le==null?void 0:Le.calendarHeader,additionalProps:{views:ae,view:xt,currentMonth:En.currentMonth,onViewChange:Yt,onMonthChange:($r,mo)=>sr({newMonth:$r,direction:mo}),minDate:xn,maxDate:Or,disabled:Pe,disablePast:I,disableFuture:D,reduceAnimations:U,timezone:et,labelId:Vt,slots:Oe,slotProps:Ve},ownerState:b}),mn=ir($r=>{const mo=u.startOfMonth($r),Oo=u.endOfMonth($r),po=Kn($r)?xb({utils:u,date:$r,minDate:u.isBefore(de,mo)?mo:de,maxDate:u.isAfter(fe,Oo)?Oo:fe,disablePast:I,disableFuture:D,isDateDisabled:Kn,timezone:et}):$r;po?(ut(po,"finish"),L==null||L(mo)):(rt(),Hn(mo)),yn(po,!0)}),Xn=ir($r=>{const mo=u.startOfYear($r),Oo=u.endOfYear($r),po=Kn($r)?xb({utils:u,date:$r,minDate:u.isBefore(de,mo)?mo:de,maxDate:u.isAfter(fe,Oo)?Oo:fe,disablePast:I,disableFuture:D,isDateDisabled:Kn,timezone:et}):$r;po?(ut(po,"finish"),H==null||H(po)):(rt(),Hn(mo)),yn(po,!0)}),Pr=ir($r=>Ge($r&&jE(u,$r,tt??Kt),"finish",xt));$.useEffect(()=>{tt!=null&&u.isValid(tt)&&Hn(tt)},[tt]);const lo=b,oo=Fie(lo),No={disablePast:I,disableFuture:D,maxDate:fe,minDate:de},Ui={disableHighlightToday:Se,readOnly:ye,disabled:Pe,timezone:et,gridLabelId:Vt},Zo=$.useRef(xt);$.useEffect(()=>{Zo.current!==xt&&(_t===Zo.current&&Jt(xt,!0),Zo.current=xt)},[_t,Jt,xt]);const $i=$.useMemo(()=>[tt],[tt]);return B.jsxs(Lie,V({ref:n,className:tn(oo.root,xe),ownerState:lo},Te,{children:[B.jsx(vn,V({},zt)),B.jsx(Bie,{reduceAnimations:U,className:oo.viewTransitionContainer,transKey:xt,ownerState:lo,children:B.jsxs("div",{children:[xt==="year"&&B.jsx(kI,V({},No,Ui,{value:tt,onChange:Xn,shouldDisableYear:te,hasFocus:Xt,onFocusedViewChange:$r=>Jt("year",$r),yearsPerRow:ot,referenceDate:Kt})),xt==="month"&&B.jsx(DI,V({},No,Ui,{hasFocus:Xt,className:xe,value:tt,onChange:mn,shouldDisableMonth:Q,onFocusedViewChange:$r=>Jt("month",$r),monthsPerRow:yt,referenceDate:Kt})),xt==="day"&&B.jsx(Loe,V({},En,No,Ui,{onMonthSwitchingAnimationEnd:Gn,onFocusedDayChange:yn,reduceAnimations:U,selectedDays:$i,onSelectedDaysChange:Pr,shouldDisableDate:A,shouldDisableMonth:Q,shouldDisableYear:te,hasFocus:Xt,onFocusedViewChange:$r=>Jt("day",$r),showDaysOutsideCurrentMonth:ke,fixedWeekNumber:Ce,dayOfWeekFormatter:ge,displayWeekNumber:Ye,components:Me,componentsProps:Le,slots:Oe,slotProps:Ve,loading:ze,renderLoading:We}))]})})]}))});process.env.NODE_ENV!=="production"&&(MI.propTypes={autoFocus:a.bool,classes:a.object,className:a.string,components:a.object,componentsProps:a.object,dayOfWeekFormatter:a.func,defaultCalendarMonth:a.any,defaultValue:a.any,disabled:a.bool,disableFuture:a.bool,disableHighlightToday:a.bool,disablePast:a.bool,displayWeekNumber:a.bool,fixedWeekNumber:a.number,focusedView:a.oneOf(["day","month","year"]),loading:a.bool,maxDate:a.any,minDate:a.any,monthsPerRow:a.oneOf([3,4]),onChange:a.func,onFocusedViewChange:a.func,onMonthChange:a.func,onViewChange:a.func,onYearChange:a.func,openTo:a.oneOf(["day","month","year"]),readOnly:a.bool,reduceAnimations:a.bool,referenceDate:a.any,renderLoading:a.func,shouldDisableDate:a.func,shouldDisableMonth:a.func,shouldDisableYear:a.func,showDaysOutsideCurrentMonth:a.bool,slotProps:a.object,slots:a.object,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),timezone:a.string,value:a.any,view:a.oneOf(["day","month","year"]),views:a.arrayOf(a.oneOf(["day","month","year"]).isRequired),yearsPerRow:a.oneOf([3,4])});const og=({view:e,onViewChange:t,views:n,focusedView:o,onFocusedViewChange:s,value:p,defaultValue:u,referenceDate:g,onChange:b,className:y,classes:C,disableFuture:w,disablePast:O,minDate:P,maxDate:D,shouldDisableDate:I,shouldDisableMonth:j,shouldDisableYear:z,reduceAnimations:H,onMonthChange:L,monthsPerRow:U,onYearChange:A,yearsPerRow:Q,defaultCalendarMonth:te,components:ue,componentsProps:ae,slots:pe,slotProps:xe,loading:Pe,renderLoading:ye,disableHighlightToday:de,readOnly:fe,disabled:Se,showDaysOutsideCurrentMonth:re,dayOfWeekFormatter:ce,sx:ke,autoFocus:Ce,fixedWeekNumber:ge,displayWeekNumber:Me,timezone:Le})=>B.jsx(MI,{view:e,onViewChange:t,views:n.filter(G$),focusedView:o&&G$(o)?o:null,onFocusedViewChange:s,value:p,defaultValue:u,referenceDate:g,onChange:b,className:y,classes:C,disableFuture:w,disablePast:O,minDate:P,maxDate:D,shouldDisableDate:I,shouldDisableMonth:j,shouldDisableYear:z,reduceAnimations:H,onMonthChange:L,monthsPerRow:U,onYearChange:A,yearsPerRow:Q,defaultCalendarMonth:te,components:ue,componentsProps:ae,slots:pe,slotProps:xe,loading:Pe,renderLoading:ye,disableHighlightToday:de,readOnly:fe,disabled:Se,showDaysOutsideCurrentMonth:re,dayOfWeekFormatter:ce,sx:ke,autoFocus:Ce,fixedWeekNumber:ge,displayWeekNumber:Me,timezone:Le}),AI=$.forwardRef(function(t,n){var o,s,p,u;const g=Cp(),b=yi(),y=uI(t,"MuiDesktopDatePicker"),C=V({day:og,month:og,year:og},y.viewRenderers),w=V({},y,{viewRenderers:C,format:LE(b,y,!1),yearsPerRow:(o=y.yearsPerRow)!=null?o:4,slots:V({openPickerIcon:cre,field:KE},y.slots),slotProps:V({},y.slotProps,{field:P=>{var D;return V({},jR((D=y.slotProps)==null?void 0:D.field,P),wI(y),{ref:n})},toolbar:V({hidden:!0},(s=y.slotProps)==null?void 0:s.toolbar)})}),{renderPicker:O}=Hoe({props:w,valueManager:ff,valueType:"date",getOpenDialogAriaText:(p=(u=w.localeText)==null?void 0:u.openDatePickerDialogue)!=null?p:g.openDatePickerDialogue,validator:TS});return O()});AI.propTypes={autoFocus:a.bool,className:a.string,closeOnSelect:a.bool,components:a.object,componentsProps:a.object,dayOfWeekFormatter:a.func,defaultCalendarMonth:a.any,defaultValue:a.any,disabled:a.bool,disableFuture:a.bool,disableHighlightToday:a.bool,disableOpenPicker:a.bool,disablePast:a.bool,displayWeekNumber:a.bool,fixedWeekNumber:a.number,format:a.string,formatDensity:a.oneOf(["dense","spacious"]),inputRef:qs,label:a.node,loading:a.bool,localeText:a.object,maxDate:a.any,minDate:a.any,monthsPerRow:a.oneOf([3,4]),name:a.string,onAccept:a.func,onChange:a.func,onClose:a.func,onError:a.func,onMonthChange:a.func,onOpen:a.func,onSelectedSectionsChange:a.func,onViewChange:a.func,onYearChange:a.func,open:a.bool,openTo:a.oneOf(["day","month","year"]),orientation:a.oneOf(["landscape","portrait"]),readOnly:a.bool,reduceAnimations:a.bool,referenceDate:a.any,renderLoading:a.func,selectedSections:a.oneOfType([a.oneOf(["all","day","hours","meridiem","minutes","month","seconds","weekDay","year"]),a.number,a.shape({endIndex:a.number.isRequired,startIndex:a.number.isRequired})]),shouldDisableDate:a.func,shouldDisableMonth:a.func,shouldDisableYear:a.func,showDaysOutsideCurrentMonth:a.bool,slotProps:a.object,slots:a.object,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),timezone:a.string,value:a.any,view:a.oneOf(["day","month","year"]),viewRenderers:a.shape({day:a.func,month:a.func,year:a.func}),views:a.arrayOf(a.oneOf(["day","month","year"]).isRequired),yearsPerRow:a.oneOf([3,4])};const Vie=["props","getOpenDialogAriaText"],zie=e=>{var t,n,o;let{props:s,getOpenDialogAriaText:p}=e,u=Ot(e,Vie);const{slots:g,slotProps:b,className:y,sx:C,format:w,formatDensity:O,timezone:P,name:D,label:I,inputRef:j,readOnly:z,disabled:H,localeText:L}=s,U=yi(),A=$.useRef(null),Q=up(),te=(t=b==null||(n=b.toolbar)==null?void 0:n.hidden)!=null?t:!1,{open:ue,actions:ae,layoutProps:pe,renderCurrentView:xe,fieldProps:Pe}=gI(V({},u,{props:s,inputRef:A,autoFocusView:!0,additionalViewProps:{},wrapperVariant:"mobile"})),ye=g.field,de=si({elementType:ye,externalSlotProps:b==null?void 0:b.field,additionalProps:V({},Pe,te&&{id:Q},!(H||z)&&{onClick:ae.onOpen,onKeyDown:Tre(ae.onOpen)},{readOnly:z??!0,disabled:H,className:y,sx:C,format:w,formatDensity:O,timezone:P,label:I,name:D}),ownerState:s});de.inputProps=V({},de.inputProps,{"aria-label":p(Pe.value,U)});const fe=V({textField:g.textField},de.slots),Se=(o=g.layout)!=null?o:YE,re=qo(A,de.inputRef,j);let ce=Q;te&&(I?ce=`${Q}-label`:ce=void 0);const ke=V({},b,{toolbar:V({},b==null?void 0:b.toolbar,{titleId:Q}),mobilePaper:V({"aria-labelledby":ce},b==null?void 0:b.mobilePaper)});return{renderPicker:()=>B.jsxs(zE,{localeText:L,children:[B.jsx(ye,V({},de,{slots:fe,slotProps:ke,inputRef:re})),B.jsx(wre,V({},ae,{open:ue,slots:g,slotProps:ke,children:B.jsx(Se,V({},pe,ke==null?void 0:ke.layout,{slots:g,slotProps:ke,children:xe()}))}))]})}},XE=$.forwardRef(function(t,n){var o,s,p;const u=Cp(),g=yi(),b=uI(t,"MuiMobileDatePicker"),y=V({day:og,month:og,year:og},b.viewRenderers),C=V({},b,{viewRenderers:y,format:LE(g,b,!1),slots:V({field:KE},b.slots),slotProps:V({},b.slotProps,{field:O=>{var P;return V({},jR((P=b.slotProps)==null?void 0:P.field,O),wI(b),{ref:n})},toolbar:V({hidden:!1},(o=b.slotProps)==null?void 0:o.toolbar)})}),{renderPicker:w}=zie({props:C,valueManager:ff,valueType:"date",getOpenDialogAriaText:(s=(p=C.localeText)==null?void 0:p.openDatePickerDialogue)!=null?s:u.openDatePickerDialogue,validator:TS});return w()});XE.propTypes={autoFocus:a.bool,className:a.string,closeOnSelect:a.bool,components:a.object,componentsProps:a.object,dayOfWeekFormatter:a.func,defaultCalendarMonth:a.any,defaultValue:a.any,disabled:a.bool,disableFuture:a.bool,disableHighlightToday:a.bool,disableOpenPicker:a.bool,disablePast:a.bool,displayWeekNumber:a.bool,fixedWeekNumber:a.number,format:a.string,formatDensity:a.oneOf(["dense","spacious"]),inputRef:qs,label:a.node,loading:a.bool,localeText:a.object,maxDate:a.any,minDate:a.any,monthsPerRow:a.oneOf([3,4]),name:a.string,onAccept:a.func,onChange:a.func,onClose:a.func,onError:a.func,onMonthChange:a.func,onOpen:a.func,onSelectedSectionsChange:a.func,onViewChange:a.func,onYearChange:a.func,open:a.bool,openTo:a.oneOf(["day","month","year"]),orientation:a.oneOf(["landscape","portrait"]),readOnly:a.bool,reduceAnimations:a.bool,referenceDate:a.any,renderLoading:a.func,selectedSections:a.oneOfType([a.oneOf(["all","day","hours","meridiem","minutes","month","seconds","weekDay","year"]),a.number,a.shape({endIndex:a.number.isRequired,startIndex:a.number.isRequired})]),shouldDisableDate:a.func,shouldDisableMonth:a.func,shouldDisableYear:a.func,showDaysOutsideCurrentMonth:a.bool,slotProps:a.object,slots:a.object,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),timezone:a.string,value:a.any,view:a.oneOf(["day","month","year"]),viewRenderers:a.shape({day:a.func,month:a.func,year:a.func}),views:a.arrayOf(a.oneOf(["day","month","year"]).isRequired),yearsPerRow:a.oneOf([3,4])};const Uie=["desktopModeMediaQuery"],QE=$.forwardRef(function(t,n){const o=An({props:t,name:"MuiDatePicker"}),{desktopModeMediaQuery:s=_re}=o,p=Ot(o,Uie);return mA(s,{defaultMatches:!0})?B.jsx(AI,V({ref:n},p)):B.jsx(XE,V({ref:n},p))});process.env.NODE_ENV!=="production"&&(QE.propTypes={autoFocus:a.bool,className:a.string,closeOnSelect:a.bool,components:a.object,componentsProps:a.object,dayOfWeekFormatter:a.func,defaultCalendarMonth:a.any,defaultValue:a.any,desktopModeMediaQuery:a.string,disabled:a.bool,disableFuture:a.bool,disableHighlightToday:a.bool,disableOpenPicker:a.bool,disablePast:a.bool,displayWeekNumber:a.bool,fixedWeekNumber:a.number,format:a.string,formatDensity:a.oneOf(["dense","spacious"]),inputRef:qs,label:a.node,loading:a.bool,localeText:a.object,maxDate:a.any,minDate:a.any,monthsPerRow:a.oneOf([3,4]),name:a.string,onAccept:a.func,onChange:a.func,onClose:a.func,onError:a.func,onMonthChange:a.func,onOpen:a.func,onSelectedSectionsChange:a.func,onViewChange:a.func,onYearChange:a.func,open:a.bool,openTo:a.oneOf(["day","month","year"]),orientation:a.oneOf(["landscape","portrait"]),readOnly:a.bool,reduceAnimations:a.bool,referenceDate:a.any,renderLoading:a.func,selectedSections:a.oneOfType([a.oneOf(["all","day","hours","meridiem","minutes","month","seconds","weekDay","year"]),a.number,a.shape({endIndex:a.number.isRequired,startIndex:a.number.isRequired})]),shouldDisableDate:a.func,shouldDisableMonth:a.func,shouldDisableYear:a.func,showDaysOutsideCurrentMonth:a.bool,slotProps:a.object,slots:a.object,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),timezone:a.string,value:a.any,view:a.oneOf(["day","month","year"]),viewRenderers:a.shape({day:a.func,month:a.func,year:a.func}),views:a.arrayOf(a.oneOf(["day","month","year"]).isRequired),yearsPerRow:a.oneOf([3,4])});const Wie=({styling:e,format:t="dd MMM yyyy",minDate:n=new Date("1856-09-25"),accessLevel:o,disabled:s,slots:p,...u})=>{if(o===gp)return null;let g=s;return o===mp&&(g=!0),B.jsx(QE,{className:e||"",...u,disabled:g,format:t,minDate:n,slots:{textField:eg,...p||{}}})},Hie=({styling:e,format:t="dd/MM/yyyy",minDate:n=new Date("1856-09-25"),accessLevel:o,disabled:s,slots:p,...u})=>{if(o===gp)return null;let g=s;return o===mp&&(g=!0),B.jsx(QE,{className:e||"",...u,disabled:g,format:t,minDate:n,slots:{textField:eg,...p||{}}})},Gie=Mi(e=>({confirmWrapper:{display:"inline-block"},confirmContainer:{display:"flex",alignItems:"center"},whiteText:{color:e.palette.common.white}})),qie=({children:e,onClick:t,styling:n,disabled:o=!1,variant:s="outlined",color:p="primary",accessLevel:u="",confirmButtonLabel:g="Are you sure?",...b})=>{const y={...pl(),...Gie()},[C,w]=$.useState(!1),[O,P]=$.useState(!1);return kE(()=>w(!1),!C||O?null:4500),$.useEffect(()=>{P(b.loading),w(b.loading)},[b.loading]),[gp,mp].includes(u)?null:C?B.jsx(Co,{className:y.confirmWrapper,children:B.jsxs(Co,{className:y.confirmContainer,children:[B.jsx(So,{className:y.rightSpacer1,variant:"body1",children:g}),B.jsxs(FR,{...b,type:"button",onClick:D=>{P(!0),t(D)},variant:"contained",styling:[y.whiteText,n].filter(D=>D).join(" "),disabled:o,color:p,children:["Confirm",b.loading?"ing":""]})]})}):B.jsx(FR,{type:"button",variant:s,disabled:o,styling:n,color:p,onClick:()=>w(!0),children:e})};var ZE={exports:{}},PS={exports:{}},$I;function Yie(){return $I||($I=1,function(e,t){(function(n,o){o(t,$)})(Pc,function(n,o){function s(T,q,ee,ie,_e,me,De){try{var lt=T[me](De),ft=lt.value}catch(vt){return void ee(vt)}lt.done?q(ft):Promise.resolve(ft).then(ie,_e)}function p(T){return function(){var q=this,ee=arguments;return new Promise(function(ie,_e){var me=T.apply(q,ee);function De(ft){s(me,ie,_e,De,lt,"next",ft)}function lt(ft){s(me,ie,_e,De,lt,"throw",ft)}De(void 0)})}}function u(){return(u=Object.assign||function(T){for(var q=1;q<arguments.length;q++){var ee=arguments[q];for(var ie in ee)Object.prototype.hasOwnProperty.call(ee,ie)&&(T[ie]=ee[ie])}return T}).apply(this,arguments)}function g(T,q){if(T==null)return{};var ee,ie,_e={},me=Object.keys(T);for(ie=0;ie<me.length;ie++)ee=me[ie],q.indexOf(ee)>=0||(_e[ee]=T[ee]);return _e}function b(T){var q=function(ee,ie){if(typeof ee!="object"||ee===null)return ee;var _e=ee[Symbol.toPrimitive];if(_e!==void 0){var me=_e.call(ee,ie);if(typeof me!="object")return me;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(ee)}(T,"string");return typeof q=="symbol"?q:String(q)}o=o&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o;var y={init:"init"},C=function(T){var q=T.value;return q===void 0?"":q},w=function(){return o.createElement(o.Fragment,null," ")},O={Cell:C,width:150,minWidth:0,maxWidth:Number.MAX_SAFE_INTEGER};function P(){for(var T=arguments.length,q=new Array(T),ee=0;ee<T;ee++)q[ee]=arguments[ee];return q.reduce(function(ie,_e){var me=_e.style,De=_e.className;return ie=u({},ie,{},g(_e,["style","className"])),me&&(ie.style=ie.style?u({},ie.style||{},{},me||{}):me),De&&(ie.className=ie.className?ie.className+" "+De:De),ie.className===""&&delete ie.className,ie},{})}var D=function(T,q){return q===void 0&&(q={}),function(ee){return ee===void 0&&(ee={}),[].concat(T,[ee]).reduce(function(ie,_e){return function me(De,lt,ft){return typeof lt=="function"?me({},lt(De,ft)):Array.isArray(lt)?P.apply(void 0,[De].concat(lt)):P(De,lt)}(ie,_e,u({},q,{userProps:ee}))},{})}},I=function(T,q,ee,ie){return ee===void 0&&(ee={}),T.reduce(function(_e,me){return me(_e,ee)},q)},j=function(T,q,ee){return ee===void 0&&(ee={}),T.forEach(function(ie){ie(q,ee)})};function z(T,q,ee,ie){T.findIndex(function(_e){return _e.pluginName===ee}),q.forEach(function(_e){T.findIndex(function(me){return me.pluginName===_e})})}function H(T,q){return typeof T=="function"?T(q):T}function L(T){var q=o.useRef();return q.current=T,o.useCallback(function(){return q.current},[])}var U=typeof document<"u"?o.useLayoutEffect:o.useEffect;function A(T,q){var ee=o.useRef(!1);U(function(){ee.current&&T(),ee.current=!0},q)}function Q(T,q,ee){return ee===void 0&&(ee={}),function(ie,_e){_e===void 0&&(_e={});var me=typeof ie=="string"?q[ie]:ie;if(me===void 0)throw console.info(q),new Error("Renderer Error ☝️");return te(me,u({},T,{column:q},ee,{},_e))}}function te(T,q){return function(ie){return typeof ie=="function"&&(_e=Object.getPrototypeOf(ie)).prototype&&_e.prototype.isReactComponent;var _e}(ee=T)||typeof ee=="function"||function(ie){return typeof ie=="object"&&typeof ie.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(ie.$$typeof.description)}(ee)?o.createElement(T,q):T;var ee}function ue(T,q,ee){return ee===void 0&&(ee=0),T.map(function(ie){return pe(ie=u({},ie,{parent:q,depth:ee})),ie.columns&&(ie.columns=ue(ie.columns,ie,ee+1)),ie})}function ae(T){return Se(T,"columns")}function pe(T){var q=T.id,ee=T.accessor,ie=T.Header;if(typeof ee=="string"){q=q||ee;var _e=ee.split(".");ee=function(me){return function(De,lt,ft){if(!lt)return De;var vt,Ht=typeof lt=="function"?lt:JSON.stringify(lt),Wt=ye.get(Ht)||function(){var kt=function(ht){return function Bt(Ut,ln){if(ln===void 0&&(ln=[]),Array.isArray(Ut))for(var On=0;On<Ut.length;On+=1)Bt(Ut[On],ln);else ln.push(Ut);return ln}(ht).map(function(Bt){return String(Bt).replace(".","_")}).join(".").replace(Me,".").replace(Le,"").split(".")}(lt);return ye.set(Ht,kt),kt}();try{vt=Wt.reduce(function(kt,ht){return kt[ht]},De)}catch{}return vt!==void 0?vt:ft}(me,_e)}}if(!q&&typeof ie=="string"&&ie&&(q=ie),!q&&T.columns)throw console.error(T),new Error('A column ID (or unique "Header" value) is required!');if(!q)throw console.error(T),new Error("A column ID (or string accessor) is required!");return Object.assign(T,{id:q,accessor:ee}),T}function xe(T,q){if(!q)throw new Error;return Object.assign(T,u({Header:w,Footer:w},O,{},q,{},T)),Object.assign(T,{originalWidth:T.width}),T}function Pe(T,q,ee){ee===void 0&&(ee=function(){return{}});for(var ie=[],_e=T,me=0,De=function(){return me++},lt=function(){var ft={headers:[]},vt=[],Ht=_e.some(function(Wt){return Wt.parent});_e.forEach(function(Wt){var kt,ht=[].concat(vt).reverse()[0];Ht&&(Wt.parent?kt=u({},Wt.parent,{originalId:Wt.parent.id,id:Wt.parent.id+"_"+De(),headers:[Wt]},ee(Wt)):kt=xe(u({originalId:Wt.id+"_placeholder",id:Wt.id+"_placeholder_"+De(),placeholderOf:Wt,headers:[Wt]},ee(Wt)),q),ht&&ht.originalId===kt.originalId?ht.headers.push(Wt):vt.push(kt)),ft.headers.push(Wt)}),ie.push(ft),_e=vt};_e.length;)lt();return ie.reverse()}var ye=new Map;function de(){for(var T=arguments.length,q=new Array(T),ee=0;ee<T;ee++)q[ee]=arguments[ee];for(var ie=0;ie<q.length;ie+=1)if(q[ie]!==void 0)return q[ie]}function fe(T){if(typeof T=="function")return T}function Se(T,q){var ee=[];return function ie(_e){_e.forEach(function(me){me[q]?ie(me[q]):ee.push(me)})}(T),ee}function re(T,q){var ee=q.manualExpandedKey,ie=q.expanded,_e=q.expandSubRows,me=_e===void 0||_e,De=[];return T.forEach(function(lt){return function ft(vt,Ht){Ht===void 0&&(Ht=!0),vt.isExpanded=vt.original&&vt.original[ee]||ie[vt.id],vt.canExpand=vt.subRows&&!!vt.subRows.length,Ht&&De.push(vt),vt.subRows&&vt.subRows.length&&vt.isExpanded&&vt.subRows.forEach(function(Wt){return ft(Wt,me)})}(lt)}),De}function ce(T,q,ee){return fe(T)||q[T]||ee[T]||ee.text}function ke(T,q,ee){return T?T(q,ee):q===void 0}function Ce(){throw new Error("React-Table: You have not called prepareRow(row) one or more rows you are attempting to render.")}var ge=null,Me=/\[/g,Le=/\]/g,Oe=function(T){return u({role:"table"},T)},Ve=function(T){return u({role:"rowgroup"},T)},ze=function(T,q){var ee=q.column;return u({key:"header_"+ee.id,colSpan:ee.totalVisibleHeaderCount,role:"columnheader"},T)},We=function(T,q){var ee=q.column;return u({key:"footer_"+ee.id,colSpan:ee.totalVisibleHeaderCount},T)},Ye=function(T,q){return u({key:"headerGroup_"+q.index,role:"row"},T)},ot=function(T,q){return u({key:"footerGroup_"+q.index},T)},yt=function(T,q){return u({key:"row_"+q.row.id,role:"row"},T)},Ze=function(T,q){var ee=q.cell;return u({key:"cell_"+ee.row.id+"_"+ee.column.id,role:"cell"},T)};function Te(){return{useOptions:[],stateReducers:[],useControlledState:[],columns:[],columnsDeps:[],allColumns:[],allColumnsDeps:[],accessValue:[],materializedColumns:[],materializedColumnsDeps:[],useInstanceAfterData:[],visibleColumns:[],visibleColumnsDeps:[],headerGroups:[],headerGroupsDeps:[],useInstanceBeforeDimensions:[],useInstance:[],prepareRow:[],getTableProps:[Oe],getTableBodyProps:[Ve],getHeaderGroupProps:[Ye],getFooterGroupProps:[ot],getHeaderProps:[ze],getFooterProps:[We],getRowProps:[yt],getCellProps:[Ze],useFinalInstance:[]}}y.resetHiddenColumns="resetHiddenColumns",y.toggleHideColumn="toggleHideColumn",y.setHiddenColumns="setHiddenColumns",y.toggleHideAllColumns="toggleHideAllColumns";var tt=function(T){T.getToggleHiddenProps=[Ge],T.getToggleHideAllColumnsProps=[et],T.stateReducers.push(xt),T.useInstanceBeforeDimensions.push(Yt),T.headerGroupsDeps.push(function(q,ee){var ie=ee.instance;return[].concat(q,[ie.state.hiddenColumns])}),T.useInstance.push(_t)};tt.pluginName="useColumnVisibility";var Ge=function(T,q){var ee=q.column;return[T,{onChange:function(ie){ee.toggleHidden(!ie.target.checked)},style:{cursor:"pointer"},checked:ee.isVisible,title:"Toggle Column Visible"}]},et=function(T,q){var ee=q.instance;return[T,{onChange:function(ie){ee.toggleHideAllColumns(!ie.target.checked)},style:{cursor:"pointer"},checked:!ee.allColumnsHidden&&!ee.state.hiddenColumns.length,title:"Toggle All Columns Hidden",indeterminate:!ee.allColumnsHidden&&ee.state.hiddenColumns.length}]};function xt(T,q,ee,ie){if(q.type===y.init)return u({hiddenColumns:[]},T);if(q.type===y.resetHiddenColumns)return u({},T,{hiddenColumns:ie.initialState.hiddenColumns||[]});if(q.type===y.toggleHideColumn){var _e=(q.value!==void 0?q.value:!T.hiddenColumns.includes(q.columnId))?[].concat(T.hiddenColumns,[q.columnId]):T.hiddenColumns.filter(function(me){return me!==q.columnId});return u({},T,{hiddenColumns:_e})}return q.type===y.setHiddenColumns?u({},T,{hiddenColumns:H(q.value,T.hiddenColumns)}):q.type===y.toggleHideAllColumns?u({},T,{hiddenColumns:(q.value!==void 0?q.value:!T.hiddenColumns.length)?ie.allColumns.map(function(me){return me.id}):[]}):void 0}function Yt(T){var q=T.headers,ee=T.state.hiddenColumns;o.useRef(!1).current;var ie=0;q.forEach(function(_e){return ie+=function me(De,lt){De.isVisible=lt&&!ee.includes(De.id);var ft=0;return De.headers&&De.headers.length?De.headers.forEach(function(vt){return ft+=me(vt,De.isVisible)}):ft=De.isVisible?1:0,De.totalVisibleHeaderCount=ft,ft}(_e,!0)})}function _t(T){var q=T.columns,ee=T.flatHeaders,ie=T.dispatch,_e=T.allColumns,me=T.getHooks,De=T.state.hiddenColumns,lt=T.autoResetHiddenColumns,ft=lt===void 0||lt,vt=L(T),Ht=_e.length===De.length,Wt=o.useCallback(function(ln,On){return ie({type:y.toggleHideColumn,columnId:ln,value:On})},[ie]),kt=o.useCallback(function(ln){return ie({type:y.setHiddenColumns,value:ln})},[ie]),ht=o.useCallback(function(ln){return ie({type:y.toggleHideAllColumns,value:ln})},[ie]),Bt=D(me().getToggleHideAllColumnsProps,{instance:vt()});ee.forEach(function(ln){ln.toggleHidden=function(On){ie({type:y.toggleHideColumn,columnId:ln.id,value:On})},ln.getToggleHiddenProps=D(me().getToggleHiddenProps,{instance:vt(),column:ln})});var Ut=L(ft);A(function(){Ut()&&ie({type:y.resetHiddenColumns})},[ie,q]),Object.assign(T,{allColumnsHidden:Ht,toggleHideColumn:Wt,setHiddenColumns:kt,toggleHideAllColumns:ht,getToggleHideAllColumnsProps:Bt})}var Jt={},rt={},ut=function(T,q,ee){return T},Kt=function(T,q){return T.subRows||[]},En=function(T,q,ee){return""+(ee?[ee.id,q].join("."):q)},yn=function(T){return T};function Hn(T){var q=T.initialState,ee=q===void 0?Jt:q,ie=T.defaultColumn,_e=ie===void 0?rt:ie,me=T.getSubRows,De=me===void 0?Kt:me,lt=T.getRowId,ft=lt===void 0?En:lt,vt=T.stateReducer,Ht=vt===void 0?ut:vt,Wt=T.useControlledState,kt=Wt===void 0?yn:Wt;return u({},g(T,["initialState","defaultColumn","getSubRows","getRowId","stateReducer","useControlledState"]),{initialState:ee,defaultColumn:_e,getSubRows:De,getRowId:ft,stateReducer:Ht,useControlledState:kt})}function sr(T,q){q===void 0&&(q=0);var ee=0,ie=0,_e=0,me=0;return T.forEach(function(De){var lt=De.headers;if(De.totalLeft=q,lt&<.length){var ft=sr(lt,q),vt=ft[0],Ht=ft[1],Wt=ft[2],kt=ft[3];De.totalMinWidth=vt,De.totalWidth=Ht,De.totalMaxWidth=Wt,De.totalFlexWidth=kt}else De.totalMinWidth=De.minWidth,De.totalWidth=Math.min(Math.max(De.minWidth,De.width),De.maxWidth),De.totalMaxWidth=De.maxWidth,De.totalFlexWidth=De.canResize?De.totalWidth:0;De.isVisible&&(q+=De.totalWidth,ee+=De.totalMinWidth,ie+=De.totalWidth,_e+=De.totalMaxWidth,me+=De.totalFlexWidth)}),[ee,ie,_e,me]}function Kn(T){var q=T.data,ee=T.rows,ie=T.flatRows,_e=T.rowsById,me=T.column,De=T.getRowId,lt=T.getSubRows,ft=T.accessValueHooks,vt=T.getInstance;q.forEach(function(Ht,Wt){return function kt(ht,Bt,Ut,ln,On){Ut===void 0&&(Ut=0);var Jn=ht,bn=De(ht,Bt,ln),Gt=_e[bn];if(Gt)Gt.subRows&&Gt.originalSubRows.forEach(function(pn,Dn){return kt(pn,Dn,Ut+1,Gt)});else if((Gt={id:bn,original:Jn,index:Bt,depth:Ut,cells:[{}]}).cells.map=Ce,Gt.cells.filter=Ce,Gt.cells.forEach=Ce,Gt.cells[0].getCellProps=Ce,Gt.values={},On.push(Gt),ie.push(Gt),_e[bn]=Gt,Gt.originalSubRows=lt(ht,Bt),Gt.originalSubRows){var fn=[];Gt.originalSubRows.forEach(function(pn,Dn){return kt(pn,Dn,Ut+1,Gt,fn)}),Gt.subRows=fn}me.accessor&&(Gt.values[me.id]=me.accessor(ht,Bt,Gt,On,q)),Gt.values[me.id]=I(ft,Gt.values[me.id],{row:Gt,column:me,instance:vt()})}(Ht,Wt,0,void 0,ee)})}y.resetExpanded="resetExpanded",y.toggleRowExpanded="toggleRowExpanded",y.toggleAllRowsExpanded="toggleAllRowsExpanded";var Gn=function(T){T.getToggleAllRowsExpandedProps=[xn],T.getToggleRowExpandedProps=[Or],T.stateReducers.push(Vt),T.useInstance.push(Xt),T.prepareRow.push(vn)};Gn.pluginName="useExpanded";var xn=function(T,q){var ee=q.instance;return[T,{onClick:function(ie){ee.toggleAllRowsExpanded()},style:{cursor:"pointer"},title:"Toggle All Rows Expanded"}]},Or=function(T,q){var ee=q.row;return[T,{onClick:function(){ee.toggleRowExpanded()},style:{cursor:"pointer"},title:"Toggle Row Expanded"}]};function Vt(T,q,ee,ie){if(q.type===y.init)return u({expanded:{}},T);if(q.type===y.resetExpanded)return u({},T,{expanded:ie.initialState.expanded||{}});if(q.type===y.toggleAllRowsExpanded){var _e=q.value,me=ie.rowsById,De=Object.keys(me).length===Object.keys(T.expanded).length;if(_e!==void 0?_e:!De){var lt={};return Object.keys(me).forEach(function(Bt){lt[Bt]=!0}),u({},T,{expanded:lt})}return u({},T,{expanded:{}})}if(q.type===y.toggleRowExpanded){var ft,vt=q.id,Ht=q.value,Wt=T.expanded[vt],kt=Ht!==void 0?Ht:!Wt;if(!Wt&&kt)return u({},T,{expanded:u({},T.expanded,(ft={},ft[vt]=!0,ft))});if(Wt&&!kt){var ht=T.expanded;return ht[vt],u({},T,{expanded:g(ht,[vt].map(b))})}return T}}function Xt(T){var q=T.data,ee=T.rows,ie=T.rowsById,_e=T.manualExpandedKey,me=_e===void 0?"expanded":_e,De=T.paginateExpandedRows,lt=De===void 0||De,ft=T.expandSubRows,vt=ft===void 0||ft,Ht=T.autoResetExpanded,Wt=Ht===void 0||Ht,kt=T.getHooks,ht=T.plugins,Bt=T.state.expanded,Ut=T.dispatch;z(ht,["useSortBy","useGroupBy","usePivotColumns","useGlobalFilter"],"useExpanded");var ln=L(Wt),On=!!(Object.keys(ie).length&&Object.keys(Bt).length);On&&Object.keys(ie).some(function(fr){return!Bt[fr]})&&(On=!1),A(function(){ln()&&Ut({type:y.resetExpanded})},[Ut,q]);var Jn=o.useCallback(function(fr,Sn){Ut({type:y.toggleRowExpanded,id:fr,value:Sn})},[Ut]),bn=o.useCallback(function(fr){return Ut({type:y.toggleAllRowsExpanded,value:fr})},[Ut]),Gt=o.useMemo(function(){return lt?re(ee,{manualExpandedKey:me,expanded:Bt,expandSubRows:vt}):ee},[lt,ee,me,Bt,vt]),fn=o.useMemo(function(){return function(fr){var Sn=0;return Object.keys(fr).forEach(function(qn){var to=qn.split(".");Sn=Math.max(Sn,to.length)}),Sn}(Bt)},[Bt]),pn=L(T),Dn=D(kt().getToggleAllRowsExpandedProps,{instance:pn()});Object.assign(T,{preExpandedRows:ee,expandedRows:Gt,rows:Gt,expandedDepth:fn,isAllRowsExpanded:On,toggleRowExpanded:Jn,toggleAllRowsExpanded:bn,getToggleAllRowsExpandedProps:Dn})}function vn(T,q){var ee=q.instance.getHooks,ie=q.instance;T.toggleRowExpanded=function(_e){return ie.toggleRowExpanded(T.id,_e)},T.getToggleRowExpandedProps=D(ee().getToggleRowExpandedProps,{instance:ie,row:T})}var zt=function(T,q,ee){return T=T.filter(function(ie){return q.some(function(_e){var me=ie.values[_e];return String(me).toLowerCase().includes(String(ee).toLowerCase())})})};zt.autoRemove=function(T){return!T};var mn=function(T,q,ee){return T.filter(function(ie){return q.some(function(_e){var me=ie.values[_e];return me===void 0||String(me).toLowerCase()===String(ee).toLowerCase()})})};mn.autoRemove=function(T){return!T};var Xn=function(T,q,ee){return T.filter(function(ie){return q.some(function(_e){var me=ie.values[_e];return me===void 0||String(me)===String(ee)})})};Xn.autoRemove=function(T){return!T};var Pr=function(T,q,ee){return T.filter(function(ie){return q.some(function(_e){return ie.values[_e].includes(ee)})})};Pr.autoRemove=function(T){return!T||!T.length};var lo=function(T,q,ee){return T.filter(function(ie){return q.some(function(_e){var me=ie.values[_e];return me&&me.length&&ee.every(function(De){return me.includes(De)})})})};lo.autoRemove=function(T){return!T||!T.length};var oo=function(T,q,ee){return T.filter(function(ie){return q.some(function(_e){var me=ie.values[_e];return me&&me.length&&ee.some(function(De){return me.includes(De)})})})};oo.autoRemove=function(T){return!T||!T.length};var No=function(T,q,ee){return T.filter(function(ie){return q.some(function(_e){var me=ie.values[_e];return ee.includes(me)})})};No.autoRemove=function(T){return!T||!T.length};var Ui=function(T,q,ee){return T.filter(function(ie){return q.some(function(_e){return ie.values[_e]===ee})})};Ui.autoRemove=function(T){return T===void 0};var Zo=function(T,q,ee){return T.filter(function(ie){return q.some(function(_e){return ie.values[_e]==ee})})};Zo.autoRemove=function(T){return T==null};var $i=function(T,q,ee){var ie=ee||[],_e=ie[0],me=ie[1];if((_e=typeof _e=="number"?_e:-1/0)>(me=typeof me=="number"?me:1/0)){var De=_e;_e=me,me=De}return T.filter(function(lt){return q.some(function(ft){var vt=lt.values[ft];return vt>=_e&&vt<=me})})};$i.autoRemove=function(T){return!T||typeof T[0]!="number"&&typeof T[1]!="number"};var $r=Object.freeze({__proto__:null,text:zt,exactText:mn,exactTextCase:Xn,includes:Pr,includesAll:lo,includesSome:oo,includesValue:No,exact:Ui,equals:Zo,between:$i});y.resetFilters="resetFilters",y.setFilter="setFilter",y.setAllFilters="setAllFilters";var mo=function(T){T.stateReducers.push(Oo),T.useInstance.push(po)};function Oo(T,q,ee,ie){if(q.type===y.init)return u({filters:[]},T);if(q.type===y.resetFilters)return u({},T,{filters:ie.initialState.filters||[]});if(q.type===y.setFilter){var _e=q.columnId,me=q.filterValue,De=ie.allColumns,lt=ie.filterTypes,ft=De.find(function(Ut){return Ut.id===_e});if(!ft)throw new Error("React-Table: Could not find a column with id: "+_e);var vt=ce(ft.filter,lt||{},$r),Ht=T.filters.find(function(Ut){return Ut.id===_e}),Wt=H(me,Ht&&Ht.value);return ke(vt.autoRemove,Wt,ft)?u({},T,{filters:T.filters.filter(function(Ut){return Ut.id!==_e})}):u({},T,Ht?{filters:T.filters.map(function(Ut){return Ut.id===_e?{id:_e,value:Wt}:Ut})}:{filters:[].concat(T.filters,[{id:_e,value:Wt}])})}if(q.type===y.setAllFilters){var kt=q.filters,ht=ie.allColumns,Bt=ie.filterTypes;return u({},T,{filters:H(kt,T.filters).filter(function(Ut){var ln=ht.find(function(On){return On.id===Ut.id});return!ke(ce(ln.filter,Bt||{},$r).autoRemove,Ut.value,ln)})})}}function po(T){var q=T.data,ee=T.rows,ie=T.flatRows,_e=T.rowsById,me=T.allColumns,De=T.filterTypes,lt=T.manualFilters,ft=T.defaultCanFilter,vt=ft!==void 0&&ft,Ht=T.disableFilters,Wt=T.state.filters,kt=T.dispatch,ht=T.autoResetFilters,Bt=ht===void 0||ht,Ut=o.useCallback(function(pn,Dn){kt({type:y.setFilter,columnId:pn,filterValue:Dn})},[kt]),ln=o.useCallback(function(pn){kt({type:y.setAllFilters,filters:pn})},[kt]);me.forEach(function(pn){var Dn=pn.id,fr=pn.accessor,Sn=pn.defaultCanFilter,qn=pn.disableFilters;pn.canFilter=fr?de(qn!==!0&&void 0,Ht!==!0&&void 0,!0):de(Sn,vt,!1),pn.setFilter=function(lr){return Ut(pn.id,lr)};var to=Wt.find(function(lr){return lr.id===Dn});pn.filterValue=to&&to.value});var On=o.useMemo(function(){if(lt||!Wt.length)return[ee,ie,_e];var pn=[],Dn={};return[function fr(Sn,qn){qn===void 0&&(qn=0);var to=Sn;return(to=Wt.reduce(function(lr,Wr){var _=Wr.id,F=Wr.value,K=me.find(function(he){return he.id===_});if(!K)return lr;qn===0&&(K.preFilteredRows=lr);var Y=ce(K.filter,De||{},$r);return Y?(K.filteredRows=Y(lr,[_],F),K.filteredRows):(console.warn("Could not find a valid 'column.filter' for column with the ID: "+K.id+"."),lr)},Sn)).forEach(function(lr){pn.push(lr),Dn[lr.id]=lr,lr.subRows&&(lr.subRows=lr.subRows&&lr.subRows.length>0?fr(lr.subRows,qn+1):lr.subRows)}),to}(ee),pn,Dn]},[lt,Wt,ee,ie,_e,me,De]),Jn=On[0],bn=On[1],Gt=On[2];o.useMemo(function(){me.filter(function(pn){return!Wt.find(function(Dn){return Dn.id===pn.id})}).forEach(function(pn){pn.preFilteredRows=Jn,pn.filteredRows=Jn})},[Jn,Wt,me]);var fn=L(Bt);A(function(){fn()&&kt({type:y.resetFilters})},[kt,lt?null:q]),Object.assign(T,{preFilteredRows:ee,preFilteredFlatRows:ie,preFilteredRowsById:_e,filteredRows:Jn,filteredFlatRows:bn,filteredRowsById:Gt,rows:Jn,flatRows:bn,rowsById:Gt,setFilter:Ut,setAllFilters:ln})}mo.pluginName="useFilters",y.resetGlobalFilter="resetGlobalFilter",y.setGlobalFilter="setGlobalFilter";var ea=function(T){T.stateReducers.push(wo),T.useInstance.push(ka)};function wo(T,q,ee,ie){if(q.type===y.resetGlobalFilter)return u({},T,{globalFilter:ie.initialState.globalFilter||void 0});if(q.type===y.setGlobalFilter){var _e=q.filterValue,me=ie.userFilterTypes,De=ce(ie.globalFilter,me||{},$r),lt=H(_e,T.globalFilter);return ke(De.autoRemove,lt)?(T.globalFilter,g(T,["globalFilter"])):u({},T,{globalFilter:lt})}}function ka(T){var q=T.data,ee=T.rows,ie=T.flatRows,_e=T.rowsById,me=T.allColumns,De=T.filterTypes,lt=T.globalFilter,ft=T.manualGlobalFilter,vt=T.state.globalFilter,Ht=T.dispatch,Wt=T.autoResetGlobalFilter,kt=Wt===void 0||Wt,ht=T.disableGlobalFilter,Bt=o.useCallback(function(Gt){Ht({type:y.setGlobalFilter,filterValue:Gt})},[Ht]),Ut=o.useMemo(function(){if(ft||vt===void 0)return[ee,ie,_e];var Gt=[],fn={},pn=ce(lt,De||{},$r);if(!pn)return console.warn("Could not find a valid 'globalFilter' option."),ee;me.forEach(function(fr){var Sn=fr.disableGlobalFilter;fr.canFilter=de(Sn!==!0&&void 0,ht!==!0&&void 0,!0)});var Dn=me.filter(function(fr){return fr.canFilter===!0});return[function fr(Sn){return(Sn=pn(Sn,Dn.map(function(qn){return qn.id}),vt)).forEach(function(qn){Gt.push(qn),fn[qn.id]=qn,qn.subRows=qn.subRows&&qn.subRows.length?fr(qn.subRows):qn.subRows}),Sn}(ee),Gt,fn]},[ft,vt,lt,De,me,ee,ie,_e,ht]),ln=Ut[0],On=Ut[1],Jn=Ut[2],bn=L(kt);A(function(){bn()&&Ht({type:y.resetGlobalFilter})},[Ht,ft?null:q]),Object.assign(T,{preGlobalFilteredRows:ee,preGlobalFilteredFlatRows:ie,preGlobalFilteredRowsById:_e,globalFilteredRows:ln,globalFilteredFlatRows:On,globalFilteredRowsById:Jn,rows:ln,flatRows:On,rowsById:Jn,setGlobalFilter:Bt,disableGlobalFilter:ht})}function Ne(T,q){return q.reduce(function(ee,ie){return ee+(typeof ie=="number"?ie:0)},0)}ea.pluginName="useGlobalFilter";var At=Object.freeze({__proto__:null,sum:Ne,min:function(T){var q=T[0]||0;return T.forEach(function(ee){typeof ee=="number"&&(q=Math.min(q,ee))}),q},max:function(T){var q=T[0]||0;return T.forEach(function(ee){typeof ee=="number"&&(q=Math.max(q,ee))}),q},minMax:function(T){var q=T[0]||0,ee=T[0]||0;return T.forEach(function(ie){typeof ie=="number"&&(q=Math.min(q,ie),ee=Math.max(ee,ie))}),q+".."+ee},average:function(T){return Ne(0,T)/T.length},median:function(T){if(!T.length)return null;var q=Math.floor(T.length/2),ee=[].concat(T).sort(function(ie,_e){return ie-_e});return T.length%2!=0?ee[q]:(ee[q-1]+ee[q])/2},unique:function(T){return Array.from(new Set(T).values())},uniqueCount:function(T){return new Set(T).size},count:function(T){return T.length}}),Qt=[],Fn={};y.resetGroupBy="resetGroupBy",y.setGroupBy="setGroupBy",y.toggleGroupBy="toggleGroupBy";var tr=function(T){T.getGroupByToggleProps=[jn],T.stateReducers.push(vr),T.visibleColumnsDeps.push(function(q,ee){var ie=ee.instance;return[].concat(q,[ie.state.groupBy])}),T.visibleColumns.push(mr),T.useInstance.push(Vr),T.prepareRow.push(eo)};tr.pluginName="useGroupBy";var jn=function(T,q){var ee=q.header;return[T,{onClick:ee.canGroupBy?function(ie){ie.persist(),ee.toggleGroupBy()}:void 0,style:{cursor:ee.canGroupBy?"pointer":void 0},title:"Toggle GroupBy"}]};function vr(T,q,ee,ie){if(q.type===y.init)return u({groupBy:[]},T);if(q.type===y.resetGroupBy)return u({},T,{groupBy:ie.initialState.groupBy||[]});if(q.type===y.setGroupBy)return u({},T,{groupBy:q.value});if(q.type===y.toggleGroupBy){var _e=q.columnId,me=q.value,De=me!==void 0?me:!T.groupBy.includes(_e);return u({},T,De?{groupBy:[].concat(T.groupBy,[_e])}:{groupBy:T.groupBy.filter(function(lt){return lt!==_e})})}}function mr(T,q){var ee=q.instance.state.groupBy,ie=ee.map(function(me){return T.find(function(De){return De.id===me})}).filter(Boolean),_e=T.filter(function(me){return!ee.includes(me.id)});return(T=[].concat(ie,_e)).forEach(function(me){me.isGrouped=ee.includes(me.id),me.groupedIndex=ee.indexOf(me.id)}),T}var io={};function Vr(T){var q=T.data,ee=T.rows,ie=T.flatRows,_e=T.rowsById,me=T.allColumns,De=T.flatHeaders,lt=T.groupByFn,ft=lt===void 0?ei:lt,vt=T.manualGroupBy,Ht=T.aggregations,Wt=Ht===void 0?io:Ht,kt=T.plugins,ht=T.state.groupBy,Bt=T.dispatch,Ut=T.autoResetGroupBy,ln=Ut===void 0||Ut,On=T.disableGroupBy,Jn=T.defaultCanGroupBy,bn=T.getHooks;z(kt,["useColumnOrder","useFilters"],"useGroupBy");var Gt=L(T);me.forEach(function(K){var Y=K.accessor,he=K.defaultGroupBy,we=K.disableGroupBy;K.canGroupBy=Y?de(K.canGroupBy,we!==!0&&void 0,On!==!0&&void 0,!0):de(K.canGroupBy,he,Jn,!1),K.canGroupBy&&(K.toggleGroupBy=function(){return T.toggleGroupBy(K.id)}),K.Aggregated=K.Aggregated||K.Cell});var fn=o.useCallback(function(K,Y){Bt({type:y.toggleGroupBy,columnId:K,value:Y})},[Bt]),pn=o.useCallback(function(K){Bt({type:y.setGroupBy,value:K})},[Bt]);De.forEach(function(K){K.getGroupByToggleProps=D(bn().getGroupByToggleProps,{instance:Gt(),header:K})});var Dn=o.useMemo(function(){if(vt||!ht.length)return[ee,ie,_e,Qt,Fn,ie,_e];var K=ht.filter(function(gt){return me.find(function(en){return en.id===gt})}),Y=[],he={},we=[],le={},Ae=[],Qe={},ct=function gt(en,Dt,Mt){if(Dt===void 0&&(Dt=0),Dt===K.length)return en.map(function(gn){return u({},gn,{depth:Dt})});var nn=K[Dt],Ct=ft(en,nn);return Object.entries(Ct).map(function(gn,$n){var or=gn[0],an=gn[1],yr=nn+":"+or,Dr=gt(an,Dt+1,yr=Mt?Mt+">"+yr:yr),cn=Dt?Se(an,"leafRows"):an,Zt=function(Nn,ar,wr){var Xr={};return me.forEach(function(Cn){if(K.includes(Cn.id))Xr[Cn.id]=ar[0]?ar[0].values[Cn.id]:null;else{var Ci=typeof Cn.aggregate=="function"?Cn.aggregate:Wt[Cn.aggregate]||At[Cn.aggregate];if(Ci){var br=ar.map(function(Mn){return Mn.values[Cn.id]}),In=Nn.map(function(Mn){var Hr=Mn.values[Cn.id];if(!wr&&Cn.aggregateValue){var Po=typeof Cn.aggregateValue=="function"?Cn.aggregateValue:Wt[Cn.aggregateValue]||At[Cn.aggregateValue];if(!Po)throw console.info({column:Cn}),new Error("React Table: Invalid column.aggregateValue option for column listed above");Hr=Po(Hr,Mn,Cn)}return Hr});Xr[Cn.id]=Ci(In,br)}else{if(Cn.aggregate)throw console.info({column:Cn}),new Error("React Table: Invalid column.aggregate option for column listed above");Xr[Cn.id]=null}}}),Xr}(cn,an,Dt),un={id:yr,isGrouped:!0,groupByID:nn,groupByVal:or,values:Zt,subRows:Dr,leafRows:cn,depth:Dt,index:$n};return Dr.forEach(function(Nn){Y.push(Nn),he[Nn.id]=Nn,Nn.isGrouped?(we.push(Nn),le[Nn.id]=Nn):(Ae.push(Nn),Qe[Nn.id]=Nn)}),un})}(ee);return ct.forEach(function(gt){Y.push(gt),he[gt.id]=gt,gt.isGrouped?(we.push(gt),le[gt.id]=gt):(Ae.push(gt),Qe[gt.id]=gt)}),[ct,Y,he,we,le,Ae,Qe]},[vt,ht,ee,ie,_e,me,Wt,ft]),fr=Dn[0],Sn=Dn[1],qn=Dn[2],to=Dn[3],lr=Dn[4],Wr=Dn[5],_=Dn[6],F=L(ln);A(function(){F()&&Bt({type:y.resetGroupBy})},[Bt,vt?null:q]),Object.assign(T,{preGroupedRows:ee,preGroupedFlatRow:ie,preGroupedRowsById:_e,groupedRows:fr,groupedFlatRows:Sn,groupedRowsById:qn,onlyGroupedFlatRows:to,onlyGroupedRowsById:lr,nonGroupedFlatRows:Wr,nonGroupedRowsById:_,rows:fr,flatRows:Sn,rowsById:qn,toggleGroupBy:fn,setGroupBy:pn})}function eo(T){T.allCells.forEach(function(q){var ee;q.isGrouped=q.column.isGrouped&&q.column.id===T.groupByID,q.isPlaceholder=!q.isGrouped&&q.column.isGrouped,q.isAggregated=!q.isGrouped&&!q.isPlaceholder&&((ee=T.subRows)==null?void 0:ee.length)})}function ei(T,q){return T.reduce(function(ee,ie,_e){var me=""+ie.values[q];return ee[me]=Array.isArray(ee[me])?ee[me]:[],ee[me].push(ie),ee},{})}var ti=/([0-9]+)/gm;function Wi(T,q){return T===q?0:T>q?1:-1}function Mo(T,q,ee){return[T.values[ee],q.values[ee]]}function Ja(T){return typeof T=="number"?isNaN(T)||T===1/0||T===-1/0?"":String(T):typeof T=="string"?T:""}var Ks=Object.freeze({__proto__:null,alphanumeric:function(T,q,ee){var ie=Mo(T,q,ee),_e=ie[0],me=ie[1];for(_e=Ja(_e),me=Ja(me),_e=_e.split(ti).filter(Boolean),me=me.split(ti).filter(Boolean);_e.length&&me.length;){var De=_e.shift(),lt=me.shift(),ft=parseInt(De,10),vt=parseInt(lt,10),Ht=[ft,vt].sort();if(isNaN(Ht[0])){if(De>lt)return 1;if(lt>De)return-1}else{if(isNaN(Ht[1]))return isNaN(ft)?-1:1;if(ft>vt)return 1;if(vt>ft)return-1}}return _e.length-me.length},datetime:function(T,q,ee){var ie=Mo(T,q,ee),_e=ie[0],me=ie[1];return Wi(_e=_e.getTime(),me=me.getTime())},basic:function(T,q,ee){var ie=Mo(T,q,ee);return Wi(ie[0],ie[1])},string:function(T,q,ee){var ie=Mo(T,q,ee),_e=ie[0],me=ie[1];for(_e=_e.split("").filter(Boolean),me=me.split("").filter(Boolean);_e.length&&me.length;){var De=_e.shift(),lt=me.shift(),ft=De.toLowerCase(),vt=lt.toLowerCase();if(ft>vt)return 1;if(vt>ft)return-1;if(De>lt)return 1;if(lt>De)return-1}return _e.length-me.length},number:function(T,q,ee){var ie=Mo(T,q,ee),_e=ie[0],me=ie[1],De=/[^0-9.]/gi;return Wi(_e=Number(String(_e).replace(De,"")),me=Number(String(me).replace(De,"")))}});y.resetSortBy="resetSortBy",y.setSortBy="setSortBy",y.toggleSortBy="toggleSortBy",y.clearSortBy="clearSortBy",O.sortType="alphanumeric",O.sortDescFirst=!1;var gr=function(T){T.getSortByToggleProps=[vo],T.stateReducers.push(bi),T.useInstance.push(Ha)};gr.pluginName="useSortBy";var vo=function(T,q){var ee=q.instance,ie=q.column,_e=ee.isMultiSortEvent,me=_e===void 0?function(De){return De.shiftKey}:_e;return[T,{onClick:ie.canSort?function(De){De.persist(),ie.toggleSortBy(void 0,!ee.disableMultiSort&&me(De))}:void 0,style:{cursor:ie.canSort?"pointer":void 0},title:ie.canSort?"Toggle SortBy":void 0}]};function bi(T,q,ee,ie){if(q.type===y.init)return u({sortBy:[]},T);if(q.type===y.resetSortBy)return u({},T,{sortBy:ie.initialState.sortBy||[]});if(q.type===y.clearSortBy)return u({},T,{sortBy:T.sortBy.filter(function(Gt){return Gt.id!==q.columnId})});if(q.type===y.setSortBy)return u({},T,{sortBy:q.sortBy});if(q.type===y.toggleSortBy){var _e,me=q.columnId,De=q.desc,lt=q.multi,ft=ie.allColumns,vt=ie.disableMultiSort,Ht=ie.disableSortRemove,Wt=ie.disableMultiRemove,kt=ie.maxMultiSortColCount,ht=kt===void 0?Number.MAX_SAFE_INTEGER:kt,Bt=T.sortBy,Ut=ft.find(function(Gt){return Gt.id===me}).sortDescFirst,ln=Bt.find(function(Gt){return Gt.id===me}),On=Bt.findIndex(function(Gt){return Gt.id===me}),Jn=De!=null,bn=[];return(_e=!vt&<?ln?"toggle":"add":On!==Bt.length-1||Bt.length!==1?"replace":ln?"toggle":"replace")!="toggle"||Ht||Jn||lt&&Wt||!(ln&&ln.desc&&!Ut||!ln.desc&&Ut)||(_e="remove"),_e==="replace"?bn=[{id:me,desc:Jn?De:Ut}]:_e==="add"?(bn=[].concat(Bt,[{id:me,desc:Jn?De:Ut}])).splice(0,bn.length-ht):_e==="toggle"?bn=Bt.map(function(Gt){return Gt.id===me?u({},Gt,{desc:Jn?De:!ln.desc}):Gt}):_e==="remove"&&(bn=Bt.filter(function(Gt){return Gt.id!==me})),u({},T,{sortBy:bn})}}function Ha(T){var q=T.data,ee=T.rows,ie=T.flatRows,_e=T.allColumns,me=T.orderByFn,De=me===void 0?ms:me,lt=T.sortTypes,ft=T.manualSortBy,vt=T.defaultCanSort,Ht=T.disableSortBy,Wt=T.flatHeaders,kt=T.state.sortBy,ht=T.dispatch,Bt=T.plugins,Ut=T.getHooks,ln=T.autoResetSortBy,On=ln===void 0||ln;z(Bt,["useFilters","useGlobalFilter","useGroupBy","usePivotColumns"],"useSortBy");var Jn=o.useCallback(function(Sn){ht({type:y.setSortBy,sortBy:Sn})},[ht]),bn=o.useCallback(function(Sn,qn,to){ht({type:y.toggleSortBy,columnId:Sn,desc:qn,multi:to})},[ht]),Gt=L(T);Wt.forEach(function(Sn){var qn=Sn.accessor,to=Sn.canSort,lr=Sn.disableSortBy,Wr=Sn.id,_=qn?de(lr!==!0&&void 0,Ht!==!0&&void 0,!0):de(vt,to,!1);Sn.canSort=_,Sn.canSort&&(Sn.toggleSortBy=function(K,Y){return bn(Sn.id,K,Y)},Sn.clearSortBy=function(){ht({type:y.clearSortBy,columnId:Sn.id})}),Sn.getSortByToggleProps=D(Ut().getSortByToggleProps,{instance:Gt(),column:Sn});var F=kt.find(function(K){return K.id===Wr});Sn.isSorted=!!F,Sn.sortedIndex=kt.findIndex(function(K){return K.id===Wr}),Sn.isSortedDesc=Sn.isSorted?F.desc:void 0});var fn=o.useMemo(function(){if(ft||!kt.length)return[ee,ie];var Sn=[],qn=kt.filter(function(to){return _e.find(function(lr){return lr.id===to.id})});return[function to(lr){var Wr=De(lr,qn.map(function(_){var F=_e.find(function(he){return he.id===_.id});if(!F)throw new Error("React-Table: Could not find a column with id: "+_.id+" while sorting");var K=F.sortType,Y=fe(K)||(lt||{})[K]||Ks[K];if(!Y)throw new Error("React-Table: Could not find a valid sortType of '"+K+"' for column '"+_.id+"'.");return function(he,we){return Y(he,we,_.id,_.desc)}}),qn.map(function(_){var F=_e.find(function(K){return K.id===_.id});return F&&F.sortInverted?_.desc:!_.desc}));return Wr.forEach(function(_){Sn.push(_),_.subRows&&_.subRows.length!==0&&(_.subRows=to(_.subRows))}),Wr}(ee),Sn]},[ft,kt,ee,ie,_e,De,lt]),pn=fn[0],Dn=fn[1],fr=L(On);A(function(){fr()&&ht({type:y.resetSortBy})},[ft?null:q]),Object.assign(T,{preSortedRows:ee,preSortedFlatRows:ie,sortedRows:pn,sortedFlatRows:Dn,rows:pn,flatRows:Dn,setSortBy:Jn,toggleSortBy:bn})}function ms(T,q,ee){return[].concat(T).sort(function(ie,_e){for(var me=0;me<q.length;me+=1){var De=q[me],lt=ee[me]===!1||ee[me]==="desc",ft=De(ie,_e);if(ft!==0)return lt?-ft:ft}return ee[0]?ie.index-_e.index:_e.index-ie.index})}y.resetPage="resetPage",y.gotoPage="gotoPage",y.setPageSize="setPageSize";var ta=function(T){T.stateReducers.push(Ds),T.useInstance.push(Ga)};function Ds(T,q,ee,ie){if(q.type===y.init)return u({pageSize:10,pageIndex:0},T);if(q.type===y.resetPage)return u({},T,{pageIndex:ie.initialState.pageIndex||0});if(q.type===y.gotoPage){var _e=ie.pageCount,me=ie.page,De=H(q.pageIndex,T.pageIndex),lt=!1;return De>T.pageIndex?lt=_e===-1?me.length>=T.pageSize:De<_e:De<T.pageIndex&&(lt=De>-1),lt?u({},T,{pageIndex:De}):T}if(q.type===y.setPageSize){var ft=q.pageSize,vt=T.pageSize*T.pageIndex;return u({},T,{pageIndex:Math.floor(vt/ft),pageSize:ft})}}function Ga(T){var q=T.rows,ee=T.autoResetPage,ie=ee===void 0||ee,_e=T.manualExpandedKey,me=_e===void 0?"expanded":_e,De=T.plugins,lt=T.pageCount,ft=T.paginateExpandedRows,vt=ft===void 0||ft,Ht=T.expandSubRows,Wt=Ht===void 0||Ht,kt=T.state,ht=kt.pageSize,Bt=kt.pageIndex,Ut=kt.expanded,ln=kt.globalFilter,On=kt.filters,Jn=kt.groupBy,bn=kt.sortBy,Gt=T.dispatch,fn=T.data,pn=T.manualPagination;z(De,["useGlobalFilter","useFilters","useGroupBy","useSortBy","useExpanded"],"usePagination");var Dn=L(ie);A(function(){Dn()&&Gt({type:y.resetPage})},[Gt,pn?null:fn,ln,On,Jn,bn]);var fr=pn?lt:Math.ceil(q.length/ht),Sn=o.useMemo(function(){return fr>0?[].concat(new Array(fr)).fill(null).map(function(Y,he){return he}):[]},[fr]),qn=o.useMemo(function(){var Y;if(pn)Y=q;else{var he=ht*Bt,we=he+ht;Y=q.slice(he,we)}return vt?Y:re(Y,{manualExpandedKey:me,expanded:Ut,expandSubRows:Wt})},[Wt,Ut,me,pn,Bt,ht,vt,q]),to=Bt>0,lr=fr===-1?qn.length>=ht:Bt<fr-1,Wr=o.useCallback(function(Y){Gt({type:y.gotoPage,pageIndex:Y})},[Gt]),_=o.useCallback(function(){return Wr(function(Y){return Y-1})},[Wr]),F=o.useCallback(function(){return Wr(function(Y){return Y+1})},[Wr]),K=o.useCallback(function(Y){Gt({type:y.setPageSize,pageSize:Y})},[Gt]);Object.assign(T,{pageOptions:Sn,pageCount:fr,page:qn,canPreviousPage:to,canNextPage:lr,gotoPage:Wr,previousPage:_,nextPage:F,setPageSize:K})}ta.pluginName="usePagination",y.resetPivot="resetPivot",y.togglePivot="togglePivot";var Xs=function(T){T.getPivotToggleProps=[Zl],T.stateReducers.push(ks),T.useInstanceAfterData.push(Ns),T.allColumns.push(na),T.accessValue.push(Na),T.materializedColumns.push(Hi),T.materializedColumnsDeps.push(Ma),T.visibleColumns.push(ra),T.visibleColumnsDeps.push(on),T.useInstance.push(ts),T.prepareRow.push(ni)};Xs.pluginName="usePivotColumns";var es=[],Zl=function(T,q){var ee=q.header;return[T,{onClick:ee.canPivot?function(ie){ie.persist(),ee.togglePivot()}:void 0,style:{cursor:ee.canPivot?"pointer":void 0},title:"Toggle Pivot"}]};function ks(T,q,ee,ie){if(q.type===y.init)return u({pivotColumns:es},T);if(q.type===y.resetPivot)return u({},T,{pivotColumns:ie.initialState.pivotColumns||es});if(q.type===y.togglePivot){var _e=q.columnId,me=q.value,De=me!==void 0?me:!T.pivotColumns.includes(_e);return u({},T,De?{pivotColumns:[].concat(T.pivotColumns,[_e])}:{pivotColumns:T.pivotColumns.filter(function(lt){return lt!==_e})})}}function Ns(T){T.allColumns.forEach(function(q){q.isPivotSource=T.state.pivotColumns.includes(q.id)})}function na(T,q){var ee=q.instance;return T.forEach(function(ie){ie.isPivotSource=ee.state.pivotColumns.includes(ie.id),ie.uniqueValues=new Set}),T}function Na(T,q){var ee=q.column;return ee.uniqueValues&&T!==void 0&&ee.uniqueValues.add(T),T}function Hi(T,q){var ee=q.instance,ie=ee.allColumns,_e=ee.state;if(!_e.pivotColumns.length||!_e.groupBy||!_e.groupBy.length)return T;var me=_e.pivotColumns.map(function(ft){return ie.find(function(vt){return vt.id===ft})}).filter(Boolean),De=ie.filter(function(ft){return!ft.isPivotSource&&!_e.groupBy.includes(ft.id)&&!_e.pivotColumns.includes(ft.id)}),lt=ae(function ft(vt,Ht,Wt){vt===void 0&&(vt=0),Wt===void 0&&(Wt=[]);var kt=me[vt];return kt?Array.from(kt.uniqueValues).sort().map(function(ht){var Bt=u({},kt,{Header:kt.PivotHeader||typeof kt.header=="string"?kt.Header+": "+ht:ht,isPivotGroup:!0,parent:Ht,depth:vt,id:Ht?Ht.id+"."+kt.id+"."+ht:kt.id+"."+ht,pivotValue:ht});return Bt.columns=ft(vt+1,Bt,[].concat(Wt,[function(Ut){return Ut.values[kt.id]===ht}])),Bt}):De.map(function(ht){return u({},ht,{canPivot:!1,isPivoted:!0,parent:Ht,depth:vt,id:""+(Ht?Ht.id+"."+ht.id:ht.id),accessor:function(Bt,Ut,ln){if(Wt.every(function(On){return On(ln)}))return ln.values[ht.id]}})})}());return[].concat(T,lt)}function Ma(T,q){var ee=q.instance.state,ie=ee.pivotColumns,_e=ee.groupBy;return[].concat(T,[ie,_e])}function ra(T,q){var ee=q.instance.state;return T=T.filter(function(ie){return!ie.isPivotSource}),ee.pivotColumns.length&&ee.groupBy&&ee.groupBy.length&&(T=T.filter(function(ie){return ie.isGrouped||ie.isPivoted})),T}function on(T,q){var ee=q.instance;return[].concat(T,[ee.state.pivotColumns,ee.state.groupBy])}function ts(T){var q=T.columns,ee=T.allColumns,ie=T.flatHeaders,_e=T.getHooks,me=T.plugins,De=T.dispatch,lt=T.autoResetPivot,ft=lt===void 0||lt,vt=T.manaulPivot,Ht=T.disablePivot,Wt=T.defaultCanPivot;z(me,["useGroupBy"],"usePivotColumns");var kt=L(T);ee.forEach(function(Bt){var Ut=Bt.accessor,ln=Bt.defaultPivot,On=Bt.disablePivot;Bt.canPivot=Ut?de(Bt.canPivot,On!==!0&&void 0,Ht!==!0&&void 0,!0):de(Bt.canPivot,ln,Wt,!1),Bt.canPivot&&(Bt.togglePivot=function(){return T.togglePivot(Bt.id)}),Bt.Aggregated=Bt.Aggregated||Bt.Cell}),ie.forEach(function(Bt){Bt.getPivotToggleProps=D(_e().getPivotToggleProps,{instance:kt(),header:Bt})});var ht=L(ft);A(function(){ht()&&De({type:y.resetPivot})},[De,vt?null:q]),Object.assign(T,{togglePivot:function(Bt,Ut){De({type:y.togglePivot,columnId:Bt,value:Ut})}})}function ni(T){T.allCells.forEach(function(q){q.isPivoted=q.column.isPivoted})}y.resetSelectedRows="resetSelectedRows",y.toggleAllRowsSelected="toggleAllRowsSelected",y.toggleRowSelected="toggleRowSelected",y.toggleAllPageRowsSelected="toggleAllPageRowsSelected";var Aa=function(T){T.getToggleRowSelectedProps=[qa],T.getToggleAllRowsSelectedProps=[$a],T.getToggleAllPageRowsSelectedProps=[li],T.stateReducers.push(Bo),T.useInstance.push(Ii),T.prepareRow.push(Jl)};Aa.pluginName="useRowSelect";var qa=function(T,q){var ee=q.instance,ie=q.row,_e=ee.manualRowSelectedKey,me=_e===void 0?"isSelected":_e;return[T,{onChange:function(De){ie.toggleRowSelected(De.target.checked)},style:{cursor:"pointer"},checked:!(!ie.original||!ie.original[me])||ie.isSelected,title:"Toggle Row Selected",indeterminate:ie.isSomeSelected}]},$a=function(T,q){var ee=q.instance;return[T,{onChange:function(ie){ee.toggleAllRowsSelected(ie.target.checked)},style:{cursor:"pointer"},checked:ee.isAllRowsSelected,title:"Toggle All Rows Selected",indeterminate:!!(!ee.isAllRowsSelected&&Object.keys(ee.state.selectedRowIds).length)}]},li=function(T,q){var ee=q.instance;return[T,{onChange:function(ie){ee.toggleAllPageRowsSelected(ie.target.checked)},style:{cursor:"pointer"},checked:ee.isAllPageRowsSelected,title:"Toggle All Current Page Rows Selected",indeterminate:!!(!ee.isAllPageRowsSelected&&ee.page.some(function(ie){var _e=ie.id;return ee.state.selectedRowIds[_e]}))}]};function Bo(T,q,ee,ie){if(q.type===y.init)return u({selectedRowIds:{}},T);if(q.type===y.resetSelectedRows)return u({},T,{selectedRowIds:ie.initialState.selectedRowIds||{}});if(q.type===y.toggleAllRowsSelected){var _e=q.value,me=ie.isAllRowsSelected,De=ie.rowsById,lt=ie.nonGroupedRowsById,ft=lt===void 0?De:lt,vt=_e!==void 0?_e:!me,Ht=Object.assign({},T.selectedRowIds);return vt?Object.keys(ft).forEach(function(Wr){Ht[Wr]=!0}):Object.keys(ft).forEach(function(Wr){delete Ht[Wr]}),u({},T,{selectedRowIds:Ht})}if(q.type===y.toggleRowSelected){var Wt=q.id,kt=q.value,ht=ie.rowsById,Bt=ie.selectSubRows,Ut=Bt===void 0||Bt,ln=ie.getSubRows,On=T.selectedRowIds[Wt],Jn=kt!==void 0?kt:!On;if(On===Jn)return T;var bn=u({},T.selectedRowIds);return function Wr(_){var F=ht[_];if(F&&(F.isGrouped||(Jn?bn[_]=!0:delete bn[_]),Ut&&ln(F)))return ln(F).forEach(function(K){return Wr(K.id)})}(Wt),u({},T,{selectedRowIds:bn})}if(q.type===y.toggleAllPageRowsSelected){var Gt=q.value,fn=ie.page,pn=ie.rowsById,Dn=ie.selectSubRows,fr=Dn===void 0||Dn,Sn=ie.isAllPageRowsSelected,qn=ie.getSubRows,to=Gt!==void 0?Gt:!Sn,lr=u({},T.selectedRowIds);return fn.forEach(function(Wr){return function _(F){var K=pn[F];if(K.isGrouped||(to?lr[F]=!0:delete lr[F]),fr&&qn(K))return qn(K).forEach(function(Y){return _(Y.id)})}(Wr.id)}),u({},T,{selectedRowIds:lr})}return T}function Ii(T){var q=T.data,ee=T.rows,ie=T.getHooks,_e=T.plugins,me=T.rowsById,De=T.nonGroupedRowsById,lt=De===void 0?me:De,ft=T.autoResetSelectedRows,vt=ft===void 0||ft,Ht=T.state.selectedRowIds,Wt=T.selectSubRows,kt=Wt===void 0||Wt,ht=T.dispatch,Bt=T.page,Ut=T.getSubRows;z(_e,["useFilters","useGroupBy","useSortBy","useExpanded","usePagination"],"useRowSelect");var ln=o.useMemo(function(){var qn=[];return ee.forEach(function(to){var lr=kt?function Wr(_,F,K){if(F[_.id])return!0;var Y=K(_);if(Y&&Y.length){var he=!0,we=!1;return Y.forEach(function(le){we&&!he||(Wr(le,F,K)?we=!0:he=!1)}),!!he||!!we&&null}return!1}(to,Ht,Ut):!!Ht[to.id];to.isSelected=!!lr,to.isSomeSelected=lr===null,lr&&qn.push(to)}),qn},[ee,kt,Ht,Ut]),On=!!(Object.keys(lt).length&&Object.keys(Ht).length),Jn=On;On&&Object.keys(lt).some(function(qn){return!Ht[qn]})&&(On=!1),On||Bt&&Bt.length&&Bt.some(function(qn){var to=qn.id;return!Ht[to]})&&(Jn=!1);var bn=L(vt);A(function(){bn()&&ht({type:y.resetSelectedRows})},[ht,q]);var Gt=o.useCallback(function(qn){return ht({type:y.toggleAllRowsSelected,value:qn})},[ht]),fn=o.useCallback(function(qn){return ht({type:y.toggleAllPageRowsSelected,value:qn})},[ht]),pn=o.useCallback(function(qn,to){return ht({type:y.toggleRowSelected,id:qn,value:to})},[ht]),Dn=L(T),fr=D(ie().getToggleAllRowsSelectedProps,{instance:Dn()}),Sn=D(ie().getToggleAllPageRowsSelectedProps,{instance:Dn()});Object.assign(T,{selectedFlatRows:ln,isAllRowsSelected:On,isAllPageRowsSelected:Jn,toggleRowSelected:pn,toggleAllRowsSelected:Gt,getToggleAllRowsSelectedProps:fr,getToggleAllPageRowsSelectedProps:Sn,toggleAllPageRowsSelected:fn})}function Jl(T,q){var ee=q.instance;T.toggleRowSelected=function(ie){return ee.toggleRowSelected(T.id,ie)},T.getToggleRowSelectedProps=D(ee.getHooks().getToggleRowSelectedProps,{instance:ee,row:T})}var xi=function(T){return{}},Si=function(T){return{}};y.setRowState="setRowState",y.setCellState="setCellState",y.resetRowState="resetRowState";var Ya=function(T){T.stateReducers.push(gs),T.useInstance.push(Ia),T.prepareRow.push(ml)};function gs(T,q,ee,ie){var _e=ie.initialRowStateAccessor,me=_e===void 0?xi:_e,De=ie.initialCellStateAccessor,lt=De===void 0?Si:De,ft=ie.rowsById;if(q.type===y.init)return u({rowState:{}},T);if(q.type===y.resetRowState)return u({},T,{rowState:ie.initialState.rowState||{}});if(q.type===y.setRowState){var vt,Ht=q.rowId,Wt=q.value,kt=T.rowState[Ht]!==void 0?T.rowState[Ht]:me(ft[Ht]);return u({},T,{rowState:u({},T.rowState,(vt={},vt[Ht]=H(Wt,kt),vt))})}if(q.type===y.setCellState){var ht,Bt,Ut,ln,On,Jn=q.rowId,bn=q.columnId,Gt=q.value,fn=T.rowState[Jn]!==void 0?T.rowState[Jn]:me(ft[Jn]),pn=(fn==null||(ht=fn.cellState)==null?void 0:ht[bn])!==void 0?fn.cellState[bn]:lt((Bt=ft[Jn])==null||(Ut=Bt.cells)==null?void 0:Ut.find(function(Dn){return Dn.column.id===bn}));return u({},T,{rowState:u({},T.rowState,(On={},On[Jn]=u({},fn,{cellState:u({},fn.cellState||{},(ln={},ln[bn]=H(Gt,pn),ln))}),On))})}}function Ia(T){var q=T.autoResetRowState,ee=q===void 0||q,ie=T.data,_e=T.dispatch,me=o.useCallback(function(ft,vt){return _e({type:y.setRowState,rowId:ft,value:vt})},[_e]),De=o.useCallback(function(ft,vt,Ht){return _e({type:y.setCellState,rowId:ft,columnId:vt,value:Ht})},[_e]),lt=L(ee);A(function(){lt()&&_e({type:y.resetRowState})},[ie]),Object.assign(T,{setRowState:me,setCellState:De})}function ml(T,q){var ee=q.instance,ie=ee.initialRowStateAccessor,_e=ie===void 0?xi:ie,me=ee.initialCellStateAccessor,De=me===void 0?Si:me,lt=ee.state.rowState;T&&(T.state=lt[T.id]!==void 0?lt[T.id]:_e(T),T.setState=function(ft){return ee.setRowState(T.id,ft)},T.cells.forEach(function(ft){T.state.cellState||(T.state.cellState={}),ft.state=T.state.cellState[ft.column.id]!==void 0?T.state.cellState[ft.column.id]:De(ft),ft.setState=function(vt){return ee.setCellState(T.id,ft.column.id,vt)}}))}Ya.pluginName="useRowState",y.resetColumnOrder="resetColumnOrder",y.setColumnOrder="setColumnOrder";var gl=function(T){T.stateReducers.push(Ms),T.visibleColumnsDeps.push(function(q,ee){var ie=ee.instance;return[].concat(q,[ie.state.columnOrder])}),T.visibleColumns.push(yl),T.useInstance.push(J)};function Ms(T,q,ee,ie){return q.type===y.init?u({columnOrder:[]},T):q.type===y.resetColumnOrder?u({},T,{columnOrder:ie.initialState.columnOrder||[]}):q.type===y.setColumnOrder?u({},T,{columnOrder:H(q.columnOrder,T.columnOrder)}):void 0}function yl(T,q){var ee=q.instance.state.columnOrder;if(!ee||!ee.length)return T;for(var ie=[].concat(ee),_e=[].concat(T),me=[],De=function(){var lt=ie.shift(),ft=_e.findIndex(function(vt){return vt.id===lt});ft>-1&&me.push(_e.splice(ft,1)[0])};_e.length&&ie.length;)De();return[].concat(me,_e)}function J(T){var q=T.dispatch;T.setColumnOrder=o.useCallback(function(ee){return q({type:y.setColumnOrder,columnOrder:ee})},[q])}gl.pluginName="useColumnOrder",O.canResize=!0,y.columnStartResizing="columnStartResizing",y.columnResizing="columnResizing",y.columnDoneResizing="columnDoneResizing",y.resetResize="resetResize";var Be=function(T){T.getResizerProps=[it],T.getHeaderProps.push({style:{position:"relative"}}),T.stateReducers.push(St),T.useInstance.push(cr),T.useInstanceBeforeDimensions.push(sn)},it=function(T,q){var ee=q.instance,ie=q.header,_e=ee.dispatch,me=function(De,lt){var ft=!1;if(De.type==="touchstart"){if(De.touches&&De.touches.length>1)return;ft=!0}var vt,Ht,Wt=function(bn){var Gt=[];return function fn(pn){pn.columns&&pn.columns.length&&pn.columns.map(fn),Gt.push(pn)}(bn),Gt}(lt).map(function(bn){return[bn.id,bn.totalWidth]}),kt=ft?Math.round(De.touches[0].clientX):De.clientX,ht=function(){window.cancelAnimationFrame(vt),vt=null,_e({type:y.columnDoneResizing})},Bt=function(){window.cancelAnimationFrame(vt),vt=null,_e({type:y.columnResizing,clientX:Ht})},Ut=function(bn){Ht=bn,vt||(vt=window.requestAnimationFrame(Bt))},ln={mouse:{moveEvent:"mousemove",moveHandler:function(bn){return Ut(bn.clientX)},upEvent:"mouseup",upHandler:function(bn){document.removeEventListener("mousemove",ln.mouse.moveHandler),document.removeEventListener("mouseup",ln.mouse.upHandler),ht()}},touch:{moveEvent:"touchmove",moveHandler:function(bn){return bn.cancelable&&(bn.preventDefault(),bn.stopPropagation()),Ut(bn.touches[0].clientX),!1},upEvent:"touchend",upHandler:function(bn){document.removeEventListener(ln.touch.moveEvent,ln.touch.moveHandler),document.removeEventListener(ln.touch.upEvent,ln.touch.moveHandler),ht()}}},On=ft?ln.touch:ln.mouse,Jn=!!function(){if(typeof ge=="boolean")return ge;var bn=!1;try{var Gt={get passive(){return bn=!0,!1}};window.addEventListener("test",null,Gt),window.removeEventListener("test",null,Gt)}catch{bn=!1}return ge=bn}()&&{passive:!1};document.addEventListener(On.moveEvent,On.moveHandler,Jn),document.addEventListener(On.upEvent,On.upHandler,Jn),_e({type:y.columnStartResizing,columnId:lt.id,columnWidth:lt.totalWidth,headerIdWidths:Wt,clientX:kt})};return[T,{onMouseDown:function(De){return De.persist()||me(De,ie)},onTouchStart:function(De){return De.persist()||me(De,ie)},style:{cursor:"col-resize"},draggable:!1,role:"separator"}]};function St(T,q){if(q.type===y.init)return u({columnResizing:{columnWidths:{}}},T);if(q.type===y.resetResize)return u({},T,{columnResizing:{columnWidths:{}}});if(q.type===y.columnStartResizing){var ee=q.clientX,ie=q.columnId,_e=q.columnWidth,me=q.headerIdWidths;return u({},T,{columnResizing:u({},T.columnResizing,{startX:ee,headerIdWidths:me,columnWidth:_e,isResizingColumn:ie})})}if(q.type===y.columnResizing){var De=q.clientX,lt=T.columnResizing,ft=lt.startX,vt=lt.columnWidth,Ht=lt.headerIdWidths,Wt=(De-ft)/vt,kt={};return(Ht===void 0?[]:Ht).forEach(function(ht){var Bt=ht[0],Ut=ht[1];kt[Bt]=Math.max(Ut+Ut*Wt,0)}),u({},T,{columnResizing:u({},T.columnResizing,{columnWidths:u({},T.columnResizing.columnWidths,{},kt)})})}return q.type===y.columnDoneResizing?u({},T,{columnResizing:u({},T.columnResizing,{startX:null,isResizingColumn:null})}):void 0}Be.pluginName="useResizeColumns";var sn=function(T){var q=T.flatHeaders,ee=T.disableResizing,ie=T.getHooks,_e=T.state.columnResizing,me=L(T);q.forEach(function(De){var lt=de(De.disableResizing!==!0&&void 0,ee!==!0&&void 0,!0);De.canResize=lt,De.width=_e.columnWidths[De.id]||De.originalWidth||De.width,De.isResizing=_e.isResizingColumn===De.id,lt&&(De.getResizerProps=D(ie().getResizerProps,{instance:me(),header:De}))})};function cr(T){var q=T.plugins,ee=T.dispatch,ie=T.autoResetResize,_e=ie===void 0||ie,me=T.columns;z(q,["useAbsoluteLayout"],"useResizeColumns");var De=L(_e);A(function(){De()&&ee({type:y.resetResize})},[me]);var lt=o.useCallback(function(){return ee({type:y.resetResize})},[ee]);Object.assign(T,{resetResizing:lt})}var Zn={position:"absolute",top:0},rr=function(T){T.getTableBodyProps.push(Ln),T.getRowProps.push(Ln),T.getHeaderGroupProps.push(Ln),T.getFooterGroupProps.push(Ln),T.getHeaderProps.push(function(q,ee){var ie=ee.column;return[q,{style:u({},Zn,{left:ie.totalLeft+"px",width:ie.totalWidth+"px"})}]}),T.getCellProps.push(function(q,ee){var ie=ee.cell;return[q,{style:u({},Zn,{left:ie.column.totalLeft+"px",width:ie.column.totalWidth+"px"})}]}),T.getFooterProps.push(function(q,ee){var ie=ee.column;return[q,{style:u({},Zn,{left:ie.totalLeft+"px",width:ie.totalWidth+"px"})}]})};rr.pluginName="useAbsoluteLayout";var Ln=function(T,q){return[T,{style:{position:"relative",width:q.instance.totalColumnsWidth+"px"}}]},Kr={display:"inline-block",boxSizing:"border-box"},yo=function(T,q){return[T,{style:{display:"flex",width:q.instance.totalColumnsWidth+"px"}}]},Ao=function(T){T.getRowProps.push(yo),T.getHeaderGroupProps.push(yo),T.getFooterGroupProps.push(yo),T.getHeaderProps.push(function(q,ee){var ie=ee.column;return[q,{style:u({},Kr,{width:ie.totalWidth+"px"})}]}),T.getCellProps.push(function(q,ee){var ie=ee.cell;return[q,{style:u({},Kr,{width:ie.column.totalWidth+"px"})}]}),T.getFooterProps.push(function(q,ee){var ie=ee.column;return[q,{style:u({},Kr,{width:ie.totalWidth+"px"})}]})};function Xo(T){T.getTableProps.push(Fi),T.getRowProps.push(ui),T.getHeaderGroupProps.push(ui),T.getFooterGroupProps.push(ui),T.getHeaderProps.push(Ur),T.getCellProps.push(ao),T.getFooterProps.push(As)}Ao.pluginName="useBlockLayout",Xo.pluginName="useFlexLayout";var Fi=function(T,q){return[T,{style:{minWidth:q.instance.totalColumnsMinWidth+"px"}}]},ui=function(T,q){return[T,{style:{display:"flex",flex:"1 0 auto",minWidth:q.instance.totalColumnsMinWidth+"px"}}]},Ur=function(T,q){var ee=q.column;return[T,{style:{boxSizing:"border-box",flex:ee.totalFlexWidth?ee.totalFlexWidth+" 0 auto":void 0,minWidth:ee.totalMinWidth+"px",width:ee.totalWidth+"px"}}]},ao=function(T,q){var ee=q.cell;return[T,{style:{boxSizing:"border-box",flex:ee.column.totalFlexWidth+" 0 auto",minWidth:ee.column.totalMinWidth+"px",width:ee.column.totalWidth+"px"}}]},As=function(T,q){var ee=q.column;return[T,{style:{boxSizing:"border-box",flex:ee.totalFlexWidth?ee.totalFlexWidth+" 0 auto":void 0,minWidth:ee.totalMinWidth+"px",width:ee.totalWidth+"px"}}]};function Ka(T){T.stateReducers.push(xl),T.getTableProps.push(bl),T.getHeaderProps.push(Gu),T.getRowProps.push(Qs)}y.columnStartResizing="columnStartResizing",y.columnResizing="columnResizing",y.columnDoneResizing="columnDoneResizing",y.resetResize="resetResize",Ka.pluginName="useGridLayout";var bl=function(T,q){var ee=q.instance;return[T,{style:{display:"grid",gridTemplateColumns:ee.visibleColumns.map(function(ie){var _e;return ee.state.gridLayout.columnWidths[ie.id]?ee.state.gridLayout.columnWidths[ie.id]+"px":(_e=ee.state.columnResizing)!=null&&_e.isResizingColumn?ee.state.gridLayout.startWidths[ie.id]+"px":typeof ie.width=="number"?ie.width+"px":ie.width}).join(" ")}}]},Gu=function(T,q){var ee=q.column;return[T,{id:"header-cell-"+ee.id,style:{position:"sticky",gridColumn:"span "+ee.totalVisibleHeaderCount}}]},Qs=function(T,q){var ee=q.row;return ee.isExpanded?[T,{style:{gridColumn:"1 / "+(ee.cells.length+1)}}]:[T,{}]};function xl(T,q,ee,ie){if(q.type===y.init)return u({gridLayout:{columnWidths:{}}},T);if(q.type===y.resetResize)return u({},T,{gridLayout:{columnWidths:{}}});if(q.type===y.columnStartResizing){var _e=q.columnId,me=q.headerIdWidths,De=eu(_e);if(De!==void 0){var lt=ie.visibleColumns.reduce(function(Gt,fn){var pn;return u({},Gt,((pn={})[fn.id]=eu(fn.id),pn))},{}),ft=ie.visibleColumns.reduce(function(Gt,fn){var pn;return u({},Gt,((pn={})[fn.id]=fn.minWidth,pn))},{}),vt=ie.visibleColumns.reduce(function(Gt,fn){var pn;return u({},Gt,((pn={})[fn.id]=fn.maxWidth,pn))},{}),Ht=me.map(function(Gt){var fn=Gt[0];return[fn,eu(fn)]});return u({},T,{gridLayout:u({},T.gridLayout,{startWidths:lt,minWidths:ft,maxWidths:vt,headerIdGridWidths:Ht,columnWidth:De})})}return T}if(q.type===y.columnResizing){var Wt=q.clientX,kt=T.columnResizing.startX,ht=T.gridLayout,Bt=ht.columnWidth,Ut=ht.minWidths,ln=ht.maxWidths,On=ht.headerIdGridWidths,Jn=(Wt-kt)/Bt,bn={};return(On===void 0?[]:On).forEach(function(Gt){var fn=Gt[0],pn=Gt[1];bn[fn]=Math.min(Math.max(Ut[fn],pn+pn*Jn),ln[fn])}),u({},T,{gridLayout:u({},T.gridLayout,{columnWidths:u({},T.gridLayout.columnWidths,{},bn)})})}return q.type===y.columnDoneResizing?u({},T,{gridLayout:u({},T.gridLayout,{startWidths:{},minWidths:{},maxWidths:{}})}):void 0}function eu(T){var q,ee=(q=document.getElementById("header-cell-"+T))==null?void 0:q.offsetWidth;if(ee!==void 0)return ee}n._UNSTABLE_usePivotColumns=Xs,n.actions=y,n.defaultColumn=O,n.defaultGroupByFn=ei,n.defaultOrderByFn=ms,n.defaultRenderer=C,n.emptyRenderer=w,n.ensurePluginOrder=z,n.flexRender=te,n.functionalUpdate=H,n.loopHooks=j,n.makePropGetter=D,n.makeRenderer=Q,n.reduceHooks=I,n.safeUseLayoutEffect=U,n.useAbsoluteLayout=rr,n.useAsyncDebounce=function(T,q){q===void 0&&(q=0);var ee=o.useRef({}),ie=L(T),_e=L(q);return o.useCallback(function(){var me=p(regeneratorRuntime.mark(function De(){var lt,ft,vt,Ht=arguments;return regeneratorRuntime.wrap(function(Wt){for(;;)switch(Wt.prev=Wt.next){case 0:for(lt=Ht.length,ft=new Array(lt),vt=0;vt<lt;vt++)ft[vt]=Ht[vt];return ee.current.promise||(ee.current.promise=new Promise(function(kt,ht){ee.current.resolve=kt,ee.current.reject=ht})),ee.current.timeout&&clearTimeout(ee.current.timeout),ee.current.timeout=setTimeout(p(regeneratorRuntime.mark(function kt(){return regeneratorRuntime.wrap(function(ht){for(;;)switch(ht.prev=ht.next){case 0:return delete ee.current.timeout,ht.prev=1,ht.t0=ee.current,ht.next=5,ie().apply(void 0,ft);case 5:ht.t1=ht.sent,ht.t0.resolve.call(ht.t0,ht.t1),ht.next=12;break;case 9:ht.prev=9,ht.t2=ht.catch(1),ee.current.reject(ht.t2);case 12:return ht.prev=12,delete ee.current.promise,ht.finish(12);case 15:case"end":return ht.stop()}},kt,null,[[1,9,12,15]])})),_e()),Wt.abrupt("return",ee.current.promise);case 5:case"end":return Wt.stop()}},De)}));return function(){return me.apply(this,arguments)}}(),[ie,_e])},n.useBlockLayout=Ao,n.useColumnOrder=gl,n.useExpanded=Gn,n.useFilters=mo,n.useFlexLayout=Xo,n.useGetLatest=L,n.useGlobalFilter=ea,n.useGridLayout=Ka,n.useGroupBy=tr,n.useMountedLayoutEffect=A,n.usePagination=ta,n.useResizeColumns=Be,n.useRowSelect=Aa,n.useRowState=Ya,n.useSortBy=gr,n.useTable=function(T){for(var q=arguments.length,ee=new Array(q>1?q-1:0),ie=1;ie<q;ie++)ee[ie-1]=arguments[ie];T=Hn(T),ee=[tt].concat(ee);var _e=o.useRef({}),me=L(_e.current);Object.assign(me(),u({},T,{plugins:ee,hooks:Te()})),ee.filter(Boolean).forEach(function(le){le(me().hooks)});var De=L(me().hooks);me().getHooks=De,delete me().hooks,Object.assign(me(),I(De().useOptions,Hn(T)));var lt=me(),ft=lt.data,vt=lt.columns,Ht=lt.initialState,Wt=lt.defaultColumn,kt=lt.getSubRows,ht=lt.getRowId,Bt=lt.stateReducer,Ut=lt.useControlledState,ln=L(Bt),On=o.useCallback(function(le,Ae){if(!Ae.type)throw console.info({action:Ae}),new Error("Unknown Action 👆");return[].concat(De().stateReducers,Array.isArray(ln())?ln():[ln()]).reduce(function(Qe,ct){return ct(Qe,Ae,le,me())||Qe},le)},[De,ln,me]),Jn=o.useReducer(On,void 0,function(){return On(Ht,{type:y.init})}),bn=Jn[0],Gt=Jn[1],fn=I([].concat(De().useControlledState,[Ut]),bn,{instance:me()});Object.assign(me(),{state:fn,dispatch:Gt});var pn=o.useMemo(function(){return ue(I(De().columns,vt,{instance:me()}))},[De,me,vt].concat(I(De().columnsDeps,[],{instance:me()})));me().columns=pn;var Dn=o.useMemo(function(){return I(De().allColumns,ae(pn),{instance:me()}).map(pe)},[pn,De,me].concat(I(De().allColumnsDeps,[],{instance:me()})));me().allColumns=Dn;var fr=o.useMemo(function(){for(var le=[],Ae=[],Qe={},ct=[].concat(Dn);ct.length;){var gt=ct.shift();Kn({data:ft,rows:le,flatRows:Ae,rowsById:Qe,column:gt,getRowId:ht,getSubRows:kt,accessValueHooks:De().accessValue,getInstance:me})}return[le,Ae,Qe]},[Dn,ft,ht,kt,De,me]),Sn=fr[0],qn=fr[1],to=fr[2];Object.assign(me(),{rows:Sn,initialRows:[].concat(Sn),flatRows:qn,rowsById:to}),j(De().useInstanceAfterData,me());var lr=o.useMemo(function(){return I(De().visibleColumns,Dn,{instance:me()}).map(function(le){return xe(le,Wt)})},[De,Dn,me,Wt].concat(I(De().visibleColumnsDeps,[],{instance:me()})));Dn=o.useMemo(function(){var le=[].concat(lr);return Dn.forEach(function(Ae){le.find(function(Qe){return Qe.id===Ae.id})||le.push(Ae)}),le},[Dn,lr]),me().allColumns=Dn;var Wr=o.useMemo(function(){return I(De().headerGroups,Pe(lr,Wt),me())},[De,lr,Wt,me].concat(I(De().headerGroupsDeps,[],{instance:me()})));me().headerGroups=Wr;var _=o.useMemo(function(){return Wr.length?Wr[0].headers:[]},[Wr]);me().headers=_,me().flatHeaders=Wr.reduce(function(le,Ae){return[].concat(le,Ae.headers)},[]),j(De().useInstanceBeforeDimensions,me());var F=lr.filter(function(le){return le.isVisible}).map(function(le){return le.id}).sort().join("_");lr=o.useMemo(function(){return lr.filter(function(le){return le.isVisible})},[lr,F]),me().visibleColumns=lr;var K=sr(_),Y=K[0],he=K[1],we=K[2];return me().totalColumnsMinWidth=Y,me().totalColumnsWidth=he,me().totalColumnsMaxWidth=we,j(De().useInstance,me()),[].concat(me().flatHeaders,me().allColumns).forEach(function(le){le.render=Q(me(),le),le.getHeaderProps=D(De().getHeaderProps,{instance:me(),column:le}),le.getFooterProps=D(De().getFooterProps,{instance:me(),column:le})}),me().headerGroups=o.useMemo(function(){return Wr.filter(function(le,Ae){return le.headers=le.headers.filter(function(Qe){return Qe.headers?function ct(gt){return gt.filter(function(en){return en.headers?ct(en.headers):en.isVisible}).length}(Qe.headers):Qe.isVisible}),!!le.headers.length&&(le.getHeaderGroupProps=D(De().getHeaderGroupProps,{instance:me(),headerGroup:le,index:Ae}),le.getFooterGroupProps=D(De().getFooterGroupProps,{instance:me(),headerGroup:le,index:Ae}),!0)})},[Wr,me,De]),me().footerGroups=[].concat(me().headerGroups).reverse(),me().prepareRow=o.useCallback(function(le){le.getRowProps=D(De().getRowProps,{instance:me(),row:le}),le.allCells=Dn.map(function(Ae){var Qe=le.values[Ae.id],ct={column:Ae,row:le,value:Qe};return ct.getCellProps=D(De().getCellProps,{instance:me(),cell:ct}),ct.render=Q(me(),Ae,{row:le,cell:ct,value:Qe}),ct}),le.cells=lr.map(function(Ae){return le.allCells.find(function(Qe){return Qe.column.id===Ae.id})}),j(De().prepareRow,le,{instance:me()})},[De,me,Dn,lr]),me().getTableProps=D(De().getTableProps,{instance:me()}),me().getTableBodyProps=D(De().getTableBodyProps,{instance:me()}),j(De().useFinalInstance,me()),me()},Object.defineProperty(n,"__esModule",{value:!0})})}(PS,PS.exports)),PS.exports}var DS={exports:{}},II;function Kie(){return II||(II=1,function(e,t){(function(n,o){o(t,$)})(Pc,function(n,o){o=o&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o;function s(_,F,K,Y,he,we,le){try{var Ae=_[we](le),Qe=Ae.value}catch(ct){K(ct);return}Ae.done?F(Qe):Promise.resolve(Qe).then(Y,he)}function p(_){return function(){var F=this,K=arguments;return new Promise(function(Y,he){var we=_.apply(F,K);function le(Qe){s(we,Y,he,le,Ae,"next",Qe)}function Ae(Qe){s(we,Y,he,le,Ae,"throw",Qe)}le(void 0)})}}function u(){return u=Object.assign||function(_){for(var F=1;F<arguments.length;F++){var K=arguments[F];for(var Y in K)Object.prototype.hasOwnProperty.call(K,Y)&&(_[Y]=K[Y])}return _},u.apply(this,arguments)}function g(_,F){if(_==null)return{};var K={},Y=Object.keys(_),he,we;for(we=0;we<Y.length;we++)he=Y[we],!(F.indexOf(he)>=0)&&(K[he]=_[he]);return K}function b(_,F){if(typeof _!="object"||_===null)return _;var K=_[Symbol.toPrimitive];if(K!==void 0){var Y=K.call(_,F);if(typeof Y!="object")return Y;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(_)}function y(_){var F=b(_,"string");return typeof F=="symbol"?F:String(F)}var C="Renderer Error ☝️",w={init:"init"},O=function(F){var K=F.value,Y=K===void 0?"":K;return Y},P=function(){return o.createElement(o.Fragment,null," ")},D={Cell:O,width:150,minWidth:0,maxWidth:Number.MAX_SAFE_INTEGER};function I(){for(var _=arguments.length,F=new Array(_),K=0;K<_;K++)F[K]=arguments[K];return F.reduce(function(Y,he){var we=he.style,le=he.className,Ae=g(he,["style","className"]);return Y=u({},Y,{},Ae),we&&(Y.style=Y.style?u({},Y.style||{},{},we||{}):we),le&&(Y.className=Y.className?Y.className+" "+le:le),Y.className===""&&delete Y.className,Y},{})}function j(_,F,K){return typeof F=="function"?j({},F(_,K)):Array.isArray(F)?I.apply(void 0,[_].concat(F)):I(_,F)}var z=function(F,K){return K===void 0&&(K={}),function(Y){return Y===void 0&&(Y={}),[].concat(F,[Y]).reduce(function(he,we){return j(he,we,u({},K,{userProps:Y}))},{})}},H=function(F,K,Y,he){return Y===void 0&&(Y={}),F.reduce(function(we,le){var Ae=le(we,Y);if(!he&&typeof Ae>"u")throw console.info(le),new Error("React Table: A reducer hook ☝️ just returned undefined! This is not allowed.");return Ae},K)},L=function(F,K,Y){return Y===void 0&&(Y={}),F.forEach(function(he){var we=he(K,Y);if(typeof we<"u")throw console.info(he,we),new Error("React Table: A loop-type hook ☝️ just returned a value! This is not allowed.")})};function U(_,F,K,Y){if(Y)throw new Error('Defining plugins in the "after" section of ensurePluginOrder is no longer supported (see plugin '+K+")");var he=_.findIndex(function(we){return we.pluginName===K});if(he===-1)throw new Error('The plugin "'+K+`" was not found in the plugin list!
|
|
562
|
+
This usually means you need to need to name your plugin hook by setting the 'pluginName' property of the hook function, eg:
|
|
563
|
+
|
|
564
|
+
`+K+".pluginName = '"+K+`'
|
|
565
|
+
`);F.forEach(function(we){var le=_.findIndex(function(Ae){return Ae.pluginName===we});if(le>-1&&le>he)throw new Error("React Table: The "+K+" plugin hook must be placed after the "+we+" plugin hook!")})}function A(_,F){return typeof _=="function"?_(F):_}function Q(_){var F=o.useRef();return F.current=_,o.useCallback(function(){return F.current},[])}var te=typeof document<"u"?o.useLayoutEffect:o.useEffect;function ue(_,F){var K=o.useRef(!1);te(function(){K.current&&_(),K.current=!0},F)}function ae(_,F){F===void 0&&(F=0);var K=o.useRef({}),Y=Q(_),he=Q(F);return o.useCallback(function(){var we=p(regeneratorRuntime.mark(function le(){var Ae,Qe,ct,gt=arguments;return regeneratorRuntime.wrap(function(Dt){for(;;)switch(Dt.prev=Dt.next){case 0:for(Ae=gt.length,Qe=new Array(Ae),ct=0;ct<Ae;ct++)Qe[ct]=gt[ct];return K.current.promise||(K.current.promise=new Promise(function(Mt,nn){K.current.resolve=Mt,K.current.reject=nn})),K.current.timeout&&clearTimeout(K.current.timeout),K.current.timeout=setTimeout(p(regeneratorRuntime.mark(function Mt(){return regeneratorRuntime.wrap(function(Ct){for(;;)switch(Ct.prev=Ct.next){case 0:return delete K.current.timeout,Ct.prev=1,Ct.t0=K.current,Ct.next=5,Y().apply(void 0,Qe);case 5:Ct.t1=Ct.sent,Ct.t0.resolve.call(Ct.t0,Ct.t1),Ct.next=12;break;case 9:Ct.prev=9,Ct.t2=Ct.catch(1),K.current.reject(Ct.t2);case 12:return Ct.prev=12,delete K.current.promise,Ct.finish(12);case 15:case"end":return Ct.stop()}},Mt,null,[[1,9,12,15]])})),he()),Dt.abrupt("return",K.current.promise);case 5:case"end":return Dt.stop()}},le)}));return function(){return we.apply(this,arguments)}}(),[Y,he])}function pe(_,F,K){return K===void 0&&(K={}),function(Y,he){he===void 0&&(he={});var we=typeof Y=="string"?F[Y]:Y;if(typeof we>"u")throw console.info(F),new Error(C);return xe(we,u({},_,{column:F},K,{},he))}}function xe(_,F){return Pe(_)?o.createElement(_,F):_}function Pe(_){return ye(_)||typeof _=="function"||de(_)}function ye(_){return typeof _=="function"&&function(){var F=Object.getPrototypeOf(_);return F.prototype&&F.prototype.isReactComponent}()}function de(_){return typeof _=="object"&&typeof _.$$typeof=="symbol"&&["react.memo","react.forward_ref"].includes(_.$$typeof.description)}function fe(_,F,K){return K===void 0&&(K=0),_.map(function(Y){return Y=u({},Y,{parent:F,depth:K}),re(Y),Y.columns&&(Y.columns=fe(Y.columns,Y,K+1)),Y})}function Se(_){return Oe(_,"columns")}function re(_){var F=_.id,K=_.accessor,Y=_.Header;if(typeof K=="string"){F=F||K;var he=K.split(".");K=function(le){return ge(le,he)}}if(!F&&typeof Y=="string"&&Y&&(F=Y),!F&&_.columns)throw console.error(_),new Error('A column ID (or unique "Header" value) is required!');if(!F)throw console.error(_),new Error("A column ID (or string accessor) is required!");return Object.assign(_,{id:F,accessor:K}),_}function ce(_,F){if(!F)throw new Error;return Object.assign(_,u({Header:P,Footer:P},D,{},F,{},_)),Object.assign(_,{originalWidth:_.width}),_}function ke(_,F,K){K===void 0&&(K=function(){return{}});for(var Y=[],he=_,we=0,le=function(){return we++},Ae=function(){var ct={headers:[]},gt=[],en=he.some(function(Dt){return Dt.parent});he.forEach(function(Dt){var Mt=[].concat(gt).reverse()[0],nn;if(en){if(Dt.parent)nn=u({},Dt.parent,{originalId:Dt.parent.id,id:Dt.parent.id+"_"+le(),headers:[Dt]},K(Dt));else{var Ct=Dt.id+"_placeholder";nn=ce(u({originalId:Ct,id:Dt.id+"_placeholder_"+le(),placeholderOf:Dt,headers:[Dt]},K(Dt)),F)}Mt&&Mt.originalId===nn.originalId?Mt.headers.push(Dt):gt.push(nn)}ct.headers.push(Dt)}),Y.push(ct),he=gt};he.length;)Ae();return Y.reverse()}var Ce=new Map;function ge(_,F,K){if(!F)return _;var Y=typeof F=="function"?F:JSON.stringify(F),he=Ce.get(Y)||function(){var le=tt(F);return Ce.set(Y,le),le}(),we;try{we=he.reduce(function(le,Ae){return le[Ae]},_)}catch{}return typeof we<"u"?we:K}function Me(){for(var _=arguments.length,F=new Array(_),K=0;K<_;K++)F[K]=arguments[K];for(var Y=0;Y<F.length;Y+=1)if(typeof F[Y]<"u")return F[Y]}function Le(_){if(typeof _=="function")return _}function Oe(_,F){var K=[],Y=function he(we){we.forEach(function(le){le[F]?he(le[F]):K.push(le)})};return Y(_),K}function Ve(_,F){var K=F.manualExpandedKey,Y=F.expanded,he=F.expandSubRows,we=he===void 0?!0:he,le=[],Ae=function Qe(ct,gt){gt===void 0&&(gt=!0),ct.isExpanded=ct.original&&ct.original[K]||Y[ct.id],ct.canExpand=ct.subRows&&!!ct.subRows.length,gt&&le.push(ct),ct.subRows&&ct.subRows.length&&ct.isExpanded&&ct.subRows.forEach(function(en){return Qe(en,we)})};return _.forEach(function(Qe){return Ae(Qe)}),le}function ze(_,F,K){return Le(_)||F[_]||K[_]||K.text}function We(_,F,K){return _?_(F,K):typeof F>"u"}function Ye(){throw new Error("React-Table: You have not called prepareRow(row) one or more rows you are attempting to render.")}var ot=null;function yt(){if(typeof ot=="boolean")return ot;var _=!1;try{var F={get passive(){return _=!0,!1}};window.addEventListener("test",null,F),window.removeEventListener("test",null,F)}catch{_=!1}return ot=_,ot}var Ze=/\[/g,Te=/\]/g;function tt(_){return Ge(_).map(function(F){return String(F).replace(".","_")}).join(".").replace(Ze,".").replace(Te,"").split(".")}function Ge(_,F){if(F===void 0&&(F=[]),!Array.isArray(_))F.push(_);else for(var K=0;K<_.length;K+=1)Ge(_[K],F);return F}var et=function(F){return u({role:"table"},F)},xt=function(F){return u({role:"rowgroup"},F)},Yt=function(F,K){var Y=K.column;return u({key:"header_"+Y.id,colSpan:Y.totalVisibleHeaderCount,role:"columnheader"},F)},_t=function(F,K){var Y=K.column;return u({key:"footer_"+Y.id,colSpan:Y.totalVisibleHeaderCount},F)},Jt=function(F,K){var Y=K.index;return u({key:"headerGroup_"+Y,role:"row"},F)},rt=function(F,K){var Y=K.index;return u({key:"footerGroup_"+Y},F)},ut=function(F,K){var Y=K.row;return u({key:"row_"+Y.id,role:"row"},F)},Kt=function(F,K){var Y=K.cell;return u({key:"cell_"+Y.row.id+"_"+Y.column.id,role:"cell"},F)};function En(){return{useOptions:[],stateReducers:[],useControlledState:[],columns:[],columnsDeps:[],allColumns:[],allColumnsDeps:[],accessValue:[],materializedColumns:[],materializedColumnsDeps:[],useInstanceAfterData:[],visibleColumns:[],visibleColumnsDeps:[],headerGroups:[],headerGroupsDeps:[],useInstanceBeforeDimensions:[],useInstance:[],prepareRow:[],getTableProps:[et],getTableBodyProps:[xt],getHeaderGroupProps:[Jt],getFooterGroupProps:[rt],getHeaderProps:[Yt],getFooterProps:[_t],getRowProps:[ut],getCellProps:[Kt],useFinalInstance:[]}}w.resetHiddenColumns="resetHiddenColumns",w.toggleHideColumn="toggleHideColumn",w.setHiddenColumns="setHiddenColumns",w.toggleHideAllColumns="toggleHideAllColumns";var yn=function(F){F.getToggleHiddenProps=[Hn],F.getToggleHideAllColumnsProps=[sr],F.stateReducers.push(Kn),F.useInstanceBeforeDimensions.push(Gn),F.headerGroupsDeps.push(function(K,Y){var he=Y.instance;return[].concat(K,[he.state.hiddenColumns])}),F.useInstance.push(xn)};yn.pluginName="useColumnVisibility";var Hn=function(F,K){var Y=K.column;return[F,{onChange:function(we){Y.toggleHidden(!we.target.checked)},style:{cursor:"pointer"},checked:Y.isVisible,title:"Toggle Column Visible"}]},sr=function(F,K){var Y=K.instance;return[F,{onChange:function(we){Y.toggleHideAllColumns(!we.target.checked)},style:{cursor:"pointer"},checked:!Y.allColumnsHidden&&!Y.state.hiddenColumns.length,title:"Toggle All Columns Hidden",indeterminate:!Y.allColumnsHidden&&Y.state.hiddenColumns.length}]};function Kn(_,F,K,Y){if(F.type===w.init)return u({hiddenColumns:[]},_);if(F.type===w.resetHiddenColumns)return u({},_,{hiddenColumns:Y.initialState.hiddenColumns||[]});if(F.type===w.toggleHideColumn){var he=typeof F.value<"u"?F.value:!_.hiddenColumns.includes(F.columnId),we=he?[].concat(_.hiddenColumns,[F.columnId]):_.hiddenColumns.filter(function(Ae){return Ae!==F.columnId});return u({},_,{hiddenColumns:we})}if(F.type===w.setHiddenColumns)return u({},_,{hiddenColumns:A(F.value,_.hiddenColumns)});if(F.type===w.toggleHideAllColumns){var le=typeof F.value<"u"?F.value:!_.hiddenColumns.length;return u({},_,{hiddenColumns:le?Y.allColumns.map(function(Ae){return Ae.id}):[]})}}function Gn(_){var F=_.headers,K=_.state.hiddenColumns,Y=o.useRef(!1);Y.current;var he=function le(Ae,Qe){Ae.isVisible=Qe&&!K.includes(Ae.id);var ct=0;return Ae.headers&&Ae.headers.length?Ae.headers.forEach(function(gt){return ct+=le(gt,Ae.isVisible)}):ct=Ae.isVisible?1:0,Ae.totalVisibleHeaderCount=ct,ct},we=0;F.forEach(function(le){return we+=he(le,!0)})}function xn(_){var F=_.columns,K=_.flatHeaders,Y=_.dispatch,he=_.allColumns,we=_.getHooks,le=_.state.hiddenColumns,Ae=_.autoResetHiddenColumns,Qe=Ae===void 0?!0:Ae,ct=Q(_),gt=he.length===le.length,en=o.useCallback(function(gn,$n){return Y({type:w.toggleHideColumn,columnId:gn,value:$n})},[Y]),Dt=o.useCallback(function(gn){return Y({type:w.setHiddenColumns,value:gn})},[Y]),Mt=o.useCallback(function(gn){return Y({type:w.toggleHideAllColumns,value:gn})},[Y]),nn=z(we().getToggleHideAllColumnsProps,{instance:ct()});K.forEach(function(gn){gn.toggleHidden=function($n){Y({type:w.toggleHideColumn,columnId:gn.id,value:$n})},gn.getToggleHiddenProps=z(we().getToggleHiddenProps,{instance:ct(),column:gn})});var Ct=Q(Qe);ue(function(){Ct()&&Y({type:w.resetHiddenColumns})},[Y,F]),Object.assign(_,{allColumnsHidden:gt,toggleHideColumn:en,setHiddenColumns:Dt,toggleHideAllColumns:Mt,getToggleHideAllColumnsProps:nn})}var Or={},Vt={},Xt=function(F,K,Y){return F},vn=function(F,K){return F.subRows||[]},zt=function(F,K,Y){return""+(Y?[Y.id,K].join("."):K)},mn=function(F){return F};function Xn(_){var F=_.initialState,K=F===void 0?Or:F,Y=_.defaultColumn,he=Y===void 0?Vt:Y,we=_.getSubRows,le=we===void 0?vn:we,Ae=_.getRowId,Qe=Ae===void 0?zt:Ae,ct=_.stateReducer,gt=ct===void 0?Xt:ct,en=_.useControlledState,Dt=en===void 0?mn:en,Mt=g(_,["initialState","defaultColumn","getSubRows","getRowId","stateReducer","useControlledState"]);return u({},Mt,{initialState:K,defaultColumn:he,getSubRows:le,getRowId:Qe,stateReducer:gt,useControlledState:Dt})}var Pr=function(F){for(var K=arguments.length,Y=new Array(K>1?K-1:0),he=1;he<K;he++)Y[he-1]=arguments[he];F=Xn(F),Y=[yn].concat(Y);var we=o.useRef({}),le=Q(we.current);Object.assign(le(),u({},F,{plugins:Y,hooks:En()})),Y.filter(Boolean).forEach(function(nr){nr(le().hooks)});var Ae=Q(le().hooks);le().getHooks=Ae,delete le().hooks,Object.assign(le(),H(Ae().useOptions,Xn(F)));var Qe=le(),ct=Qe.data,gt=Qe.columns,en=Qe.initialState,Dt=Qe.defaultColumn,Mt=Qe.getSubRows,nn=Qe.getRowId,Ct=Qe.stateReducer,gn=Qe.useControlledState,$n=Q(Ct),or=o.useCallback(function(nr,Ro){if(!Ro.type)throw console.info({action:Ro}),new Error("Unknown Action 👆");return[].concat(Ae().stateReducers,Array.isArray($n())?$n():[$n()]).reduce(function(ci,di){return di(ci,Ro,nr,le())||ci},nr)},[Ae,$n,le]),an=o.useReducer(or,void 0,function(){return or(en,{type:w.init})}),yr=an[0],Dr=an[1],cn=H([].concat(Ae().useControlledState,[gn]),yr,{instance:le()});Object.assign(le(),{state:cn,dispatch:Dr});var Zt=o.useMemo(function(){return fe(H(Ae().columns,gt,{instance:le()}))},[Ae,le,gt].concat(H(Ae().columnsDeps,[],{instance:le()})));le().columns=Zt;var un=o.useMemo(function(){return H(Ae().allColumns,Se(Zt),{instance:le()}).map(re)},[Zt,Ae,le].concat(H(Ae().allColumnsDeps,[],{instance:le()})));le().allColumns=un;var Nn=o.useMemo(function(){for(var nr=[],Ro=[],ci={},di=[].concat(un);di.length;){var Fe=di.shift();oo({data:ct,rows:nr,flatRows:Ro,rowsById:ci,column:Fe,getRowId:nn,getSubRows:Mt,accessValueHooks:Ae().accessValue,getInstance:le})}return[nr,Ro,ci]},[un,ct,nn,Mt,Ae,le]),ar=Nn[0],wr=Nn[1],Xr=Nn[2];Object.assign(le(),{rows:ar,initialRows:[].concat(ar),flatRows:wr,rowsById:Xr}),L(Ae().useInstanceAfterData,le());var Cn=o.useMemo(function(){return H(Ae().visibleColumns,un,{instance:le()}).map(function(nr){return ce(nr,Dt)})},[Ae,un,le,Dt].concat(H(Ae().visibleColumnsDeps,[],{instance:le()})));un=o.useMemo(function(){var nr=[].concat(Cn);return un.forEach(function(Ro){nr.find(function(ci){return ci.id===Ro.id})||nr.push(Ro)}),nr},[un,Cn]),le().allColumns=un;{var Ci=un.filter(function(nr,Ro){return un.findIndex(function(ci){return ci.id===nr.id})!==Ro});if(Ci.length)throw console.info(un),new Error('Duplicate columns were found with ids: "'+Ci.map(function(nr){return nr.id}).join(", ")+'" in the columns array above')}var br=o.useMemo(function(){return H(Ae().headerGroups,ke(Cn,Dt),le())},[Ae,Cn,Dt,le].concat(H(Ae().headerGroupsDeps,[],{instance:le()})));le().headerGroups=br;var In=o.useMemo(function(){return br.length?br[0].headers:[]},[br]);le().headers=In,le().flatHeaders=br.reduce(function(nr,Ro){return[].concat(nr,Ro.headers)},[]),L(Ae().useInstanceBeforeDimensions,le());var Mn=Cn.filter(function(nr){return nr.isVisible}).map(function(nr){return nr.id}).sort().join("_");Cn=o.useMemo(function(){return Cn.filter(function(nr){return nr.isVisible})},[Cn,Mn]),le().visibleColumns=Cn;var Hr=lo(In),Po=Hr[0],tu=Hr[1],qu=Hr[2];return le().totalColumnsMinWidth=Po,le().totalColumnsWidth=tu,le().totalColumnsMaxWidth=qu,L(Ae().useInstance,le()),[].concat(le().flatHeaders,le().allColumns).forEach(function(nr){nr.render=pe(le(),nr),nr.getHeaderProps=z(Ae().getHeaderProps,{instance:le(),column:nr}),nr.getFooterProps=z(Ae().getFooterProps,{instance:le(),column:nr})}),le().headerGroups=o.useMemo(function(){return br.filter(function(nr,Ro){return nr.headers=nr.headers.filter(function(ci){var di=function Fe(pt){return pt.filter(function(Je){return Je.headers?Fe(Je.headers):Je.isVisible}).length};return ci.headers?di(ci.headers):ci.isVisible}),nr.headers.length?(nr.getHeaderGroupProps=z(Ae().getHeaderGroupProps,{instance:le(),headerGroup:nr,index:Ro}),nr.getFooterGroupProps=z(Ae().getFooterGroupProps,{instance:le(),headerGroup:nr,index:Ro}),!0):!1})},[br,le,Ae]),le().footerGroups=[].concat(le().headerGroups).reverse(),le().prepareRow=o.useCallback(function(nr){nr.getRowProps=z(Ae().getRowProps,{instance:le(),row:nr}),nr.allCells=un.map(function(Ro){var ci=nr.values[Ro.id],di={column:Ro,row:nr,value:ci};return di.getCellProps=z(Ae().getCellProps,{instance:le(),cell:di}),di.render=pe(le(),Ro,{row:nr,cell:di,value:ci}),di}),nr.cells=Cn.map(function(Ro){return nr.allCells.find(function(ci){return ci.column.id===Ro.id})}),L(Ae().prepareRow,nr,{instance:le()})},[Ae,le,un,Cn]),le().getTableProps=z(Ae().getTableProps,{instance:le()}),le().getTableBodyProps=z(Ae().getTableBodyProps,{instance:le()}),L(Ae().useFinalInstance,le()),le()};function lo(_,F){F===void 0&&(F=0);var K=0,Y=0,he=0,we=0;return _.forEach(function(le){var Ae=le.headers;if(le.totalLeft=F,Ae&&Ae.length){var Qe=lo(Ae,F),ct=Qe[0],gt=Qe[1],en=Qe[2],Dt=Qe[3];le.totalMinWidth=ct,le.totalWidth=gt,le.totalMaxWidth=en,le.totalFlexWidth=Dt}else le.totalMinWidth=le.minWidth,le.totalWidth=Math.min(Math.max(le.minWidth,le.width),le.maxWidth),le.totalMaxWidth=le.maxWidth,le.totalFlexWidth=le.canResize?le.totalWidth:0;le.isVisible&&(F+=le.totalWidth,K+=le.totalMinWidth,Y+=le.totalWidth,he+=le.totalMaxWidth,we+=le.totalFlexWidth)}),[K,Y,he,we]}function oo(_){var F=_.data,K=_.rows,Y=_.flatRows,he=_.rowsById,we=_.column,le=_.getRowId,Ae=_.getSubRows,Qe=_.accessValueHooks,ct=_.getInstance,gt=function en(Dt,Mt,nn,Ct,gn){nn===void 0&&(nn=0);var $n=Dt,or=le(Dt,Mt,Ct),an=he[or];if(an)an.subRows&&an.originalSubRows.forEach(function(Dr,cn){return en(Dr,cn,nn+1,an)});else if(an={id:or,original:$n,index:Mt,depth:nn,cells:[{}]},an.cells.map=Ye,an.cells.filter=Ye,an.cells.forEach=Ye,an.cells[0].getCellProps=Ye,an.values={},gn.push(an),Y.push(an),he[or]=an,an.originalSubRows=Ae(Dt,Mt),an.originalSubRows){var yr=[];an.originalSubRows.forEach(function(Dr,cn){return en(Dr,cn,nn+1,an,yr)}),an.subRows=yr}we.accessor&&(an.values[we.id]=we.accessor(Dt,Mt,an,gn,F)),an.values[we.id]=H(Qe,an.values[we.id],{row:an,column:we,instance:ct()},!0)};F.forEach(function(en,Dt){return gt(en,Dt,0,void 0,K)})}w.resetExpanded="resetExpanded",w.toggleRowExpanded="toggleRowExpanded",w.toggleAllRowsExpanded="toggleAllRowsExpanded";var No=function(F){F.getToggleAllRowsExpandedProps=[Ui],F.getToggleRowExpandedProps=[Zo],F.stateReducers.push($i),F.useInstance.push($r),F.prepareRow.push(mo)};No.pluginName="useExpanded";var Ui=function(F,K){var Y=K.instance;return[F,{onClick:function(we){Y.toggleAllRowsExpanded()},style:{cursor:"pointer"},title:"Toggle All Rows Expanded"}]},Zo=function(F,K){var Y=K.row;return[F,{onClick:function(){Y.toggleRowExpanded()},style:{cursor:"pointer"},title:"Toggle Row Expanded"}]};function $i(_,F,K,Y){if(F.type===w.init)return u({expanded:{}},_);if(F.type===w.resetExpanded)return u({},_,{expanded:Y.initialState.expanded||{}});if(F.type===w.toggleAllRowsExpanded){var he=F.value,we=Y.rowsById,le=Object.keys(we).length===Object.keys(_.expanded).length,Ae=typeof he<"u"?he:!le;if(Ae){var Qe={};return Object.keys(we).forEach(function(gn){Qe[gn]=!0}),u({},_,{expanded:Qe})}return u({},_,{expanded:{}})}if(F.type===w.toggleRowExpanded){var ct=F.id,gt=F.value,en=_.expanded[ct],Dt=typeof gt<"u"?gt:!en;if(!en&&Dt){var Mt;return u({},_,{expanded:u({},_.expanded,(Mt={},Mt[ct]=!0,Mt))})}else if(en&&!Dt){var nn=_.expanded;nn[ct];var Ct=g(nn,[ct].map(y));return u({},_,{expanded:Ct})}else return _}}function $r(_){var F=_.data,K=_.rows,Y=_.rowsById,he=_.manualExpandedKey,we=he===void 0?"expanded":he,le=_.paginateExpandedRows,Ae=le===void 0?!0:le,Qe=_.expandSubRows,ct=Qe===void 0?!0:Qe,gt=_.autoResetExpanded,en=gt===void 0?!0:gt,Dt=_.getHooks,Mt=_.plugins,nn=_.state.expanded,Ct=_.dispatch;U(Mt,["useSortBy","useGroupBy","usePivotColumns","useGlobalFilter"],"useExpanded");var gn=Q(en),$n=!!(Object.keys(Y).length&&Object.keys(nn).length);$n&&Object.keys(Y).some(function(un){return!nn[un]})&&($n=!1),ue(function(){gn()&&Ct({type:w.resetExpanded})},[Ct,F]);var or=o.useCallback(function(un,Nn){Ct({type:w.toggleRowExpanded,id:un,value:Nn})},[Ct]),an=o.useCallback(function(un){return Ct({type:w.toggleAllRowsExpanded,value:un})},[Ct]),yr=o.useMemo(function(){return Ae?Ve(K,{manualExpandedKey:we,expanded:nn,expandSubRows:ct}):K},[Ae,K,we,nn,ct]),Dr=o.useMemo(function(){return Oo(nn)},[nn]),cn=Q(_),Zt=z(Dt().getToggleAllRowsExpandedProps,{instance:cn()});Object.assign(_,{preExpandedRows:K,expandedRows:yr,rows:yr,expandedDepth:Dr,isAllRowsExpanded:$n,toggleRowExpanded:or,toggleAllRowsExpanded:an,getToggleAllRowsExpandedProps:Zt})}function mo(_,F){var K=F.instance.getHooks,Y=F.instance;_.toggleRowExpanded=function(he){return Y.toggleRowExpanded(_.id,he)},_.getToggleRowExpandedProps=z(K().getToggleRowExpandedProps,{instance:Y,row:_})}function Oo(_){var F=0;return Object.keys(_).forEach(function(K){var Y=K.split(".");F=Math.max(F,Y.length)}),F}var po=function(F,K,Y){return F=F.filter(function(he){return K.some(function(we){var le=he.values[we];return String(le).toLowerCase().includes(String(Y).toLowerCase())})}),F};po.autoRemove=function(_){return!_};var ea=function(F,K,Y){return F.filter(function(he){return K.some(function(we){var le=he.values[we];return le!==void 0?String(le).toLowerCase()===String(Y).toLowerCase():!0})})};ea.autoRemove=function(_){return!_};var wo=function(F,K,Y){return F.filter(function(he){return K.some(function(we){var le=he.values[we];return le!==void 0?String(le)===String(Y):!0})})};wo.autoRemove=function(_){return!_};var ka=function(F,K,Y){return F.filter(function(he){return K.some(function(we){var le=he.values[we];return le.includes(Y)})})};ka.autoRemove=function(_){return!_||!_.length};var Ne=function(F,K,Y){return F.filter(function(he){return K.some(function(we){var le=he.values[we];return le&&le.length&&Y.every(function(Ae){return le.includes(Ae)})})})};Ne.autoRemove=function(_){return!_||!_.length};var At=function(F,K,Y){return F.filter(function(he){return K.some(function(we){var le=he.values[we];return le&&le.length&&Y.some(function(Ae){return le.includes(Ae)})})})};At.autoRemove=function(_){return!_||!_.length};var Qt=function(F,K,Y){return F.filter(function(he){return K.some(function(we){var le=he.values[we];return Y.includes(le)})})};Qt.autoRemove=function(_){return!_||!_.length};var Fn=function(F,K,Y){return F.filter(function(he){return K.some(function(we){var le=he.values[we];return le===Y})})};Fn.autoRemove=function(_){return typeof _>"u"};var tr=function(F,K,Y){return F.filter(function(he){return K.some(function(we){var le=he.values[we];return le==Y})})};tr.autoRemove=function(_){return _==null};var jn=function(F,K,Y){var he=Y||[],we=he[0],le=he[1];if(we=typeof we=="number"?we:-1/0,le=typeof le=="number"?le:1/0,we>le){var Ae=we;we=le,le=Ae}return F.filter(function(Qe){return K.some(function(ct){var gt=Qe.values[ct];return gt>=we&><=le})})};jn.autoRemove=function(_){return!_||typeof _[0]!="number"&&typeof _[1]!="number"};var vr=Object.freeze({__proto__:null,text:po,exactText:ea,exactTextCase:wo,includes:ka,includesAll:Ne,includesSome:At,includesValue:Qt,exact:Fn,equals:tr,between:jn});w.resetFilters="resetFilters",w.setFilter="setFilter",w.setAllFilters="setAllFilters";var mr=function(F){F.stateReducers.push(io),F.useInstance.push(Vr)};mr.pluginName="useFilters";function io(_,F,K,Y){if(F.type===w.init)return u({filters:[]},_);if(F.type===w.resetFilters)return u({},_,{filters:Y.initialState.filters||[]});if(F.type===w.setFilter){var he=F.columnId,we=F.filterValue,le=Y.allColumns,Ae=Y.filterTypes,Qe=le.find(function(Ct){return Ct.id===he});if(!Qe)throw new Error("React-Table: Could not find a column with id: "+he);var ct=ze(Qe.filter,Ae||{},vr),gt=_.filters.find(function(Ct){return Ct.id===he}),en=A(we,gt&>.value);return We(ct.autoRemove,en,Qe)?u({},_,{filters:_.filters.filter(function(Ct){return Ct.id!==he})}):gt?u({},_,{filters:_.filters.map(function(Ct){return Ct.id===he?{id:he,value:en}:Ct})}):u({},_,{filters:[].concat(_.filters,[{id:he,value:en}])})}if(F.type===w.setAllFilters){var Dt=F.filters,Mt=Y.allColumns,nn=Y.filterTypes;return u({},_,{filters:A(Dt,_.filters).filter(function(Ct){var gn=Mt.find(function(or){return or.id===Ct.id}),$n=ze(gn.filter,nn||{},vr);return!We($n.autoRemove,Ct.value,gn)})})}}function Vr(_){var F=_.data,K=_.rows,Y=_.flatRows,he=_.rowsById,we=_.allColumns,le=_.filterTypes,Ae=_.manualFilters,Qe=_.defaultCanFilter,ct=Qe===void 0?!1:Qe,gt=_.disableFilters,en=_.state.filters,Dt=_.dispatch,Mt=_.autoResetFilters,nn=Mt===void 0?!0:Mt,Ct=o.useCallback(function(cn,Zt){Dt({type:w.setFilter,columnId:cn,filterValue:Zt})},[Dt]),gn=o.useCallback(function(cn){Dt({type:w.setAllFilters,filters:cn})},[Dt]);we.forEach(function(cn){var Zt=cn.id,un=cn.accessor,Nn=cn.defaultCanFilter,ar=cn.disableFilters;cn.canFilter=un?Me(ar===!0?!1:void 0,gt===!0?!1:void 0,!0):Me(Nn,ct,!1),cn.setFilter=function(Xr){return Ct(cn.id,Xr)};var wr=en.find(function(Xr){return Xr.id===Zt});cn.filterValue=wr&&wr.value});var $n=o.useMemo(function(){if(Ae||!en.length)return[K,Y,he];var cn=[],Zt={},un=function Nn(ar,wr){wr===void 0&&(wr=0);var Xr=ar;return Xr=en.reduce(function(Cn,Ci){var br=Ci.id,In=Ci.value,Mn=we.find(function(Po){return Po.id===br});if(!Mn)return Cn;wr===0&&(Mn.preFilteredRows=Cn);var Hr=ze(Mn.filter,le||{},vr);return Hr?(Mn.filteredRows=Hr(Cn,[br],In),Mn.filteredRows):(console.warn("Could not find a valid 'column.filter' for column with the ID: "+Mn.id+"."),Cn)},ar),Xr.forEach(function(Cn){cn.push(Cn),Zt[Cn.id]=Cn,Cn.subRows&&(Cn.subRows=Cn.subRows&&Cn.subRows.length>0?Nn(Cn.subRows,wr+1):Cn.subRows)}),Xr};return[un(K),cn,Zt]},[Ae,en,K,Y,he,we,le]),or=$n[0],an=$n[1],yr=$n[2];o.useMemo(function(){var cn=we.filter(function(Zt){return!en.find(function(un){return un.id===Zt.id})});cn.forEach(function(Zt){Zt.preFilteredRows=or,Zt.filteredRows=or})},[or,en,we]);var Dr=Q(nn);ue(function(){Dr()&&Dt({type:w.resetFilters})},[Dt,Ae?null:F]),Object.assign(_,{preFilteredRows:K,preFilteredFlatRows:Y,preFilteredRowsById:he,filteredRows:or,filteredFlatRows:an,filteredRowsById:yr,rows:or,flatRows:an,rowsById:yr,setFilter:Ct,setAllFilters:gn})}w.resetGlobalFilter="resetGlobalFilter",w.setGlobalFilter="setGlobalFilter";var eo=function(F){F.stateReducers.push(ei),F.useInstance.push(ti)};eo.pluginName="useGlobalFilter";function ei(_,F,K,Y){if(F.type===w.resetGlobalFilter)return u({},_,{globalFilter:Y.initialState.globalFilter||void 0});if(F.type===w.setGlobalFilter){var he=F.filterValue,we=Y.userFilterTypes,le=ze(Y.globalFilter,we||{},vr),Ae=A(he,_.globalFilter);if(We(le.autoRemove,Ae)){_.globalFilter;var Qe=g(_,["globalFilter"]);return Qe}return u({},_,{globalFilter:Ae})}}function ti(_){var F=_.data,K=_.rows,Y=_.flatRows,he=_.rowsById,we=_.allColumns,le=_.filterTypes,Ae=_.globalFilter,Qe=_.manualGlobalFilter,ct=_.state.globalFilter,gt=_.dispatch,en=_.autoResetGlobalFilter,Dt=en===void 0?!0:en,Mt=_.disableGlobalFilter,nn=o.useCallback(function(yr){gt({type:w.setGlobalFilter,filterValue:yr})},[gt]),Ct=o.useMemo(function(){if(Qe||typeof ct>"u")return[K,Y,he];var yr=[],Dr={},cn=ze(Ae,le||{},vr);if(!cn)return console.warn("Could not find a valid 'globalFilter' option."),K;we.forEach(function(Nn){var ar=Nn.disableGlobalFilter;Nn.canFilter=Me(ar===!0?!1:void 0,Mt===!0?!1:void 0,!0)});var Zt=we.filter(function(Nn){return Nn.canFilter===!0}),un=function Nn(ar){return ar=cn(ar,Zt.map(function(wr){return wr.id}),ct),ar.forEach(function(wr){yr.push(wr),Dr[wr.id]=wr,wr.subRows=wr.subRows&&wr.subRows.length?Nn(wr.subRows):wr.subRows}),ar};return[un(K),yr,Dr]},[Qe,ct,Ae,le,we,K,Y,he,Mt]),gn=Ct[0],$n=Ct[1],or=Ct[2],an=Q(Dt);ue(function(){an()&>({type:w.resetGlobalFilter})},[gt,Qe?null:F]),Object.assign(_,{preGlobalFilteredRows:K,preGlobalFilteredFlatRows:Y,preGlobalFilteredRowsById:he,globalFilteredRows:gn,globalFilteredFlatRows:$n,globalFilteredRowsById:or,rows:gn,flatRows:$n,rowsById:or,setGlobalFilter:nn,disableGlobalFilter:Mt})}function Wi(_,F){return F.reduce(function(K,Y){return K+(typeof Y=="number"?Y:0)},0)}function Mo(_){var F=_[0]||0;return _.forEach(function(K){typeof K=="number"&&(F=Math.min(F,K))}),F}function Ja(_){var F=_[0]||0;return _.forEach(function(K){typeof K=="number"&&(F=Math.max(F,K))}),F}function Ks(_){var F=_[0]||0,K=_[0]||0;return _.forEach(function(Y){typeof Y=="number"&&(F=Math.min(F,Y),K=Math.max(K,Y))}),F+".."+K}function gr(_){return Wi(null,_)/_.length}function vo(_){if(!_.length)return null;var F=Math.floor(_.length/2),K=[].concat(_).sort(function(Y,he){return Y-he});return _.length%2!==0?K[F]:(K[F-1]+K[F])/2}function bi(_){return Array.from(new Set(_).values())}function Ha(_){return new Set(_).size}function ms(_){return _.length}var ta=Object.freeze({__proto__:null,sum:Wi,min:Mo,max:Ja,minMax:Ks,average:gr,median:vo,unique:bi,uniqueCount:Ha,count:ms}),Ds=[],Ga={};w.resetGroupBy="resetGroupBy",w.setGroupBy="setGroupBy",w.toggleGroupBy="toggleGroupBy";var Xs=function(F){F.getGroupByToggleProps=[es],F.stateReducers.push(Zl),F.visibleColumnsDeps.push(function(K,Y){var he=Y.instance;return[].concat(K,[he.state.groupBy])}),F.visibleColumns.push(ks),F.useInstance.push(na),F.prepareRow.push(Na)};Xs.pluginName="useGroupBy";var es=function(F,K){var Y=K.header;return[F,{onClick:Y.canGroupBy?function(he){he.persist(),Y.toggleGroupBy()}:void 0,style:{cursor:Y.canGroupBy?"pointer":void 0},title:"Toggle GroupBy"}]};function Zl(_,F,K,Y){if(F.type===w.init)return u({groupBy:[]},_);if(F.type===w.resetGroupBy)return u({},_,{groupBy:Y.initialState.groupBy||[]});if(F.type===w.setGroupBy){var he=F.value;return u({},_,{groupBy:he})}if(F.type===w.toggleGroupBy){var we=F.columnId,le=F.value,Ae=typeof le<"u"?le:!_.groupBy.includes(we);return Ae?u({},_,{groupBy:[].concat(_.groupBy,[we])}):u({},_,{groupBy:_.groupBy.filter(function(Qe){return Qe!==we})})}}function ks(_,F){var K=F.instance.state.groupBy,Y=K.map(function(we){return _.find(function(le){return le.id===we})}).filter(Boolean),he=_.filter(function(we){return!K.includes(we.id)});return _=[].concat(Y,he),_.forEach(function(we){we.isGrouped=K.includes(we.id),we.groupedIndex=K.indexOf(we.id)}),_}var Ns={};function na(_){var F=_.data,K=_.rows,Y=_.flatRows,he=_.rowsById,we=_.allColumns,le=_.flatHeaders,Ae=_.groupByFn,Qe=Ae===void 0?Hi:Ae,ct=_.manualGroupBy,gt=_.aggregations,en=gt===void 0?Ns:gt,Dt=_.plugins,Mt=_.state.groupBy,nn=_.dispatch,Ct=_.autoResetGroupBy,gn=Ct===void 0?!0:Ct,$n=_.disableGroupBy,or=_.defaultCanGroupBy,an=_.getHooks;U(Dt,["useColumnOrder","useFilters"],"useGroupBy");var yr=Q(_);we.forEach(function(In){var Mn=In.accessor,Hr=In.defaultGroupBy,Po=In.disableGroupBy;In.canGroupBy=Mn?Me(In.canGroupBy,Po===!0?!1:void 0,$n===!0?!1:void 0,!0):Me(In.canGroupBy,Hr,or,!1),In.canGroupBy&&(In.toggleGroupBy=function(){return _.toggleGroupBy(In.id)}),In.Aggregated=In.Aggregated||In.Cell});var Dr=o.useCallback(function(In,Mn){nn({type:w.toggleGroupBy,columnId:In,value:Mn})},[nn]),cn=o.useCallback(function(In){nn({type:w.setGroupBy,value:In})},[nn]);le.forEach(function(In){In.getGroupByToggleProps=z(an().getGroupByToggleProps,{instance:yr(),header:In})});var Zt=o.useMemo(function(){if(ct||!Mt.length)return[K,Y,he,Ds,Ga,Y,he];var In=Mt.filter(function(Fe){return we.find(function(pt){return pt.id===Fe})}),Mn=function(pt,Je,rn){var dr={};return we.forEach(function(ur){if(In.includes(ur.id)){dr[ur.id]=Je[0]?Je[0].values[ur.id]:null;return}var co=typeof ur.aggregate=="function"?ur.aggregate:en[ur.aggregate]||ta[ur.aggregate];if(co){var ho=Je.map(function(Sl){return Sl.values[ur.id]}),Zs=pt.map(function(Sl){var wi=Sl.values[ur.id];if(!rn&&ur.aggregateValue){var Xa=typeof ur.aggregateValue=="function"?ur.aggregateValue:en[ur.aggregateValue]||ta[ur.aggregateValue];if(!Xa)throw console.info({column:ur}),new Error("React Table: Invalid column.aggregateValue option for column listed above");wi=Xa(wi,Sl,ur)}return wi});dr[ur.id]=co(Zs,ho)}else{if(ur.aggregate)throw console.info({column:ur}),new Error("React Table: Invalid column.aggregate option for column listed above");dr[ur.id]=null}}),dr},Hr=[],Po={},tu=[],qu={},nr=[],Ro={},ci=function Fe(pt,Je,rn){if(Je===void 0&&(Je=0),Je===In.length)return pt.map(function(ho){return u({},ho,{depth:Je})});var dr=In[Je],ur=Qe(pt,dr),co=Object.entries(ur).map(function(ho,Zs){var Sl=ho[0],wi=ho[1],Xa=dr+":"+Sl;Xa=rn?rn+">"+Xa:Xa;var Ac=Fe(wi,Je+1,Xa),Qa=Je?Oe(wi,"leafRows"):wi,$c=Mn(Qa,wi,Je),Js={id:Xa,isGrouped:!0,groupByID:dr,groupByVal:Sl,values:$c,subRows:Ac,leafRows:Qa,depth:Je,index:Zs};return Ac.forEach(function(jr){Hr.push(jr),Po[jr.id]=jr,jr.isGrouped?(tu.push(jr),qu[jr.id]=jr):(nr.push(jr),Ro[jr.id]=jr)}),Js});return co},di=ci(K);return di.forEach(function(Fe){Hr.push(Fe),Po[Fe.id]=Fe,Fe.isGrouped?(tu.push(Fe),qu[Fe.id]=Fe):(nr.push(Fe),Ro[Fe.id]=Fe)}),[di,Hr,Po,tu,qu,nr,Ro]},[ct,Mt,K,Y,he,we,en,Qe]),un=Zt[0],Nn=Zt[1],ar=Zt[2],wr=Zt[3],Xr=Zt[4],Cn=Zt[5],Ci=Zt[6],br=Q(gn);ue(function(){br()&&nn({type:w.resetGroupBy})},[nn,ct?null:F]),Object.assign(_,{preGroupedRows:K,preGroupedFlatRow:Y,preGroupedRowsById:he,groupedRows:un,groupedFlatRows:Nn,groupedRowsById:ar,onlyGroupedFlatRows:wr,onlyGroupedRowsById:Xr,nonGroupedFlatRows:Cn,nonGroupedRowsById:Ci,rows:un,flatRows:Nn,rowsById:ar,toggleGroupBy:Dr,setGroupBy:cn})}function Na(_){_.allCells.forEach(function(F){var K;F.isGrouped=F.column.isGrouped&&F.column.id===_.groupByID,F.isPlaceholder=!F.isGrouped&&F.column.isGrouped,F.isAggregated=!F.isGrouped&&!F.isPlaceholder&&((K=_.subRows)==null?void 0:K.length)})}function Hi(_,F){return _.reduce(function(K,Y,he){var we=""+Y.values[F];return K[we]=Array.isArray(K[we])?K[we]:[],K[we].push(Y),K},{})}var Ma=/([0-9]+)/gm,ra=function(F,K,Y){var he=$a(F,K,Y),we=he[0],le=he[1];for(we=li(we),le=li(le),we=we.split(Ma).filter(Boolean),le=le.split(Ma).filter(Boolean);we.length&&le.length;){var Ae=we.shift(),Qe=le.shift(),ct=parseInt(Ae,10),gt=parseInt(Qe,10),en=[ct,gt].sort();if(isNaN(en[0])){if(Ae>Qe)return 1;if(Qe>Ae)return-1;continue}if(isNaN(en[1]))return isNaN(ct)?-1:1;if(ct>gt)return 1;if(gt>ct)return-1}return we.length-le.length};function on(_,F,K){var Y=$a(_,F,K),he=Y[0],we=Y[1];return he=he.getTime(),we=we.getTime(),qa(he,we)}function ts(_,F,K){var Y=$a(_,F,K),he=Y[0],we=Y[1];return qa(he,we)}function ni(_,F,K){var Y=$a(_,F,K),he=Y[0],we=Y[1];for(he=he.split("").filter(Boolean),we=we.split("").filter(Boolean);he.length&&we.length;){var le=he.shift(),Ae=we.shift(),Qe=le.toLowerCase(),ct=Ae.toLowerCase();if(Qe>ct)return 1;if(ct>Qe)return-1;if(le>Ae)return 1;if(Ae>le)return-1}return he.length-we.length}function Aa(_,F,K){var Y=$a(_,F,K),he=Y[0],we=Y[1],le=/[^0-9.]/gi;return he=Number(String(he).replace(le,"")),we=Number(String(we).replace(le,"")),qa(he,we)}function qa(_,F){return _===F?0:_>F?1:-1}function $a(_,F,K){return[_.values[K],F.values[K]]}function li(_){return typeof _=="number"?isNaN(_)||_===1/0||_===-1/0?"":String(_):typeof _=="string"?_:""}var Bo=Object.freeze({__proto__:null,alphanumeric:ra,datetime:on,basic:ts,string:ni,number:Aa});w.resetSortBy="resetSortBy",w.setSortBy="setSortBy",w.toggleSortBy="toggleSortBy",w.clearSortBy="clearSortBy",D.sortType="alphanumeric",D.sortDescFirst=!1;var Ii=function(F){F.getSortByToggleProps=[Jl],F.stateReducers.push(xi),F.useInstance.push(Si)};Ii.pluginName="useSortBy";var Jl=function(F,K){var Y=K.instance,he=K.column,we=Y.isMultiSortEvent,le=we===void 0?function(Ae){return Ae.shiftKey}:we;return[F,{onClick:he.canSort?function(Ae){Ae.persist(),he.toggleSortBy(void 0,!Y.disableMultiSort&&le(Ae))}:void 0,style:{cursor:he.canSort?"pointer":void 0},title:he.canSort?"Toggle SortBy":void 0}]};function xi(_,F,K,Y){if(F.type===w.init)return u({sortBy:[]},_);if(F.type===w.resetSortBy)return u({},_,{sortBy:Y.initialState.sortBy||[]});if(F.type===w.clearSortBy){var he=_.sortBy,we=he.filter(function(un){return un.id!==F.columnId});return u({},_,{sortBy:we})}if(F.type===w.setSortBy){var le=F.sortBy;return u({},_,{sortBy:le})}if(F.type===w.toggleSortBy){var Ae=F.columnId,Qe=F.desc,ct=F.multi,gt=Y.allColumns,en=Y.disableMultiSort,Dt=Y.disableSortRemove,Mt=Y.disableMultiRemove,nn=Y.maxMultiSortColCount,Ct=nn===void 0?Number.MAX_SAFE_INTEGER:nn,gn=_.sortBy,$n=gt.find(function(un){return un.id===Ae}),or=$n.sortDescFirst,an=gn.find(function(un){return un.id===Ae}),yr=gn.findIndex(function(un){return un.id===Ae}),Dr=typeof Qe<"u"&&Qe!==null,cn=[],Zt;return!en&&ct?an?Zt="toggle":Zt="add":yr!==gn.length-1||gn.length!==1?Zt="replace":an?Zt="toggle":Zt="replace",Zt==="toggle"&&!Dt&&!Dr&&(!ct||!Mt)&&(an&&an.desc&&!or||!an.desc&&or)&&(Zt="remove"),Zt==="replace"?cn=[{id:Ae,desc:Dr?Qe:or}]:Zt==="add"?(cn=[].concat(gn,[{id:Ae,desc:Dr?Qe:or}]),cn.splice(0,cn.length-Ct)):Zt==="toggle"?cn=gn.map(function(un){return un.id===Ae?u({},un,{desc:Dr?Qe:!an.desc}):un}):Zt==="remove"&&(cn=gn.filter(function(un){return un.id!==Ae})),u({},_,{sortBy:cn})}}function Si(_){var F=_.data,K=_.rows,Y=_.flatRows,he=_.allColumns,we=_.orderByFn,le=we===void 0?Ya:we,Ae=_.sortTypes,Qe=_.manualSortBy,ct=_.defaultCanSort,gt=_.disableSortBy,en=_.flatHeaders,Dt=_.state.sortBy,Mt=_.dispatch,nn=_.plugins,Ct=_.getHooks,gn=_.autoResetSortBy,$n=gn===void 0?!0:gn;U(nn,["useFilters","useGlobalFilter","useGroupBy","usePivotColumns"],"useSortBy");var or=o.useCallback(function(Nn){Mt({type:w.setSortBy,sortBy:Nn})},[Mt]),an=o.useCallback(function(Nn,ar,wr){Mt({type:w.toggleSortBy,columnId:Nn,desc:ar,multi:wr})},[Mt]),yr=Q(_);en.forEach(function(Nn){var ar=Nn.accessor,wr=Nn.canSort,Xr=Nn.disableSortBy,Cn=Nn.id,Ci=ar?Me(Xr===!0?!1:void 0,gt===!0?!1:void 0,!0):Me(ct,wr,!1);Nn.canSort=Ci,Nn.canSort&&(Nn.toggleSortBy=function(In,Mn){return an(Nn.id,In,Mn)},Nn.clearSortBy=function(){Mt({type:w.clearSortBy,columnId:Nn.id})}),Nn.getSortByToggleProps=z(Ct().getSortByToggleProps,{instance:yr(),column:Nn});var br=Dt.find(function(In){return In.id===Cn});Nn.isSorted=!!br,Nn.sortedIndex=Dt.findIndex(function(In){return In.id===Cn}),Nn.isSortedDesc=Nn.isSorted?br.desc:void 0});var Dr=o.useMemo(function(){if(Qe||!Dt.length)return[K,Y];var Nn=[],ar=Dt.filter(function(Xr){return he.find(function(Cn){return Cn.id===Xr.id})}),wr=function Xr(Cn){var Ci=le(Cn,ar.map(function(br){var In=he.find(function(Po){return Po.id===br.id});if(!In)throw new Error("React-Table: Could not find a column with id: "+br.id+" while sorting");var Mn=In.sortType,Hr=Le(Mn)||(Ae||{})[Mn]||Bo[Mn];if(!Hr)throw new Error("React-Table: Could not find a valid sortType of '"+Mn+"' for column '"+br.id+"'.");return function(Po,tu){return Hr(Po,tu,br.id,br.desc)}}),ar.map(function(br){var In=he.find(function(Mn){return Mn.id===br.id});return In&&In.sortInverted?br.desc:!br.desc}));return Ci.forEach(function(br){Nn.push(br),!(!br.subRows||br.subRows.length===0)&&(br.subRows=Xr(br.subRows))}),Ci};return[wr(K),Nn]},[Qe,Dt,K,Y,he,le,Ae]),cn=Dr[0],Zt=Dr[1],un=Q($n);ue(function(){un()&&Mt({type:w.resetSortBy})},[Qe?null:F]),Object.assign(_,{preSortedRows:K,preSortedFlatRows:Y,sortedRows:cn,sortedFlatRows:Zt,rows:cn,flatRows:Zt,setSortBy:or,toggleSortBy:an})}function Ya(_,F,K){return[].concat(_).sort(function(Y,he){for(var we=0;we<F.length;we+=1){var le=F[we],Ae=K[we]===!1||K[we]==="desc",Qe=le(Y,he);if(Qe!==0)return Ae?-Qe:Qe}return K[0]?Y.index-he.index:he.index-Y.index})}var gs="usePagination";w.resetPage="resetPage",w.gotoPage="gotoPage",w.setPageSize="setPageSize";var Ia=function(F){F.stateReducers.push(ml),F.useInstance.push(gl)};Ia.pluginName=gs;function ml(_,F,K,Y){if(F.type===w.init)return u({pageSize:10,pageIndex:0},_);if(F.type===w.resetPage)return u({},_,{pageIndex:Y.initialState.pageIndex||0});if(F.type===w.gotoPage){var he=Y.pageCount,we=Y.page,le=A(F.pageIndex,_.pageIndex),Ae=!1;return le>_.pageIndex?Ae=he===-1?we.length>=_.pageSize:le<he:le<_.pageIndex&&(Ae=le>-1),Ae?u({},_,{pageIndex:le}):_}if(F.type===w.setPageSize){var Qe=F.pageSize,ct=_.pageSize*_.pageIndex,gt=Math.floor(ct/Qe);return u({},_,{pageIndex:gt,pageSize:Qe})}}function gl(_){var F=_.rows,K=_.autoResetPage,Y=K===void 0?!0:K,he=_.manualExpandedKey,we=he===void 0?"expanded":he,le=_.plugins,Ae=_.pageCount,Qe=_.paginateExpandedRows,ct=Qe===void 0?!0:Qe,gt=_.expandSubRows,en=gt===void 0?!0:gt,Dt=_.state,Mt=Dt.pageSize,nn=Dt.pageIndex,Ct=Dt.expanded,gn=Dt.globalFilter,$n=Dt.filters,or=Dt.groupBy,an=Dt.sortBy,yr=_.dispatch,Dr=_.data,cn=_.manualPagination;U(le,["useGlobalFilter","useFilters","useGroupBy","useSortBy","useExpanded"],"usePagination");var Zt=Q(Y);ue(function(){Zt()&&yr({type:w.resetPage})},[yr,cn?null:Dr,gn,$n,or,an]);var un=cn?Ae:Math.ceil(F.length/Mt),Nn=o.useMemo(function(){return un>0?[].concat(new Array(un)).fill(null).map(function(Mn,Hr){return Hr}):[]},[un]),ar=o.useMemo(function(){var Mn;if(cn)Mn=F;else{var Hr=Mt*nn,Po=Hr+Mt;Mn=F.slice(Hr,Po)}return ct?Mn:Ve(Mn,{manualExpandedKey:we,expanded:Ct,expandSubRows:en})},[en,Ct,we,cn,nn,Mt,ct,F]),wr=nn>0,Xr=un===-1?ar.length>=Mt:nn<un-1,Cn=o.useCallback(function(Mn){yr({type:w.gotoPage,pageIndex:Mn})},[yr]),Ci=o.useCallback(function(){return Cn(function(Mn){return Mn-1})},[Cn]),br=o.useCallback(function(){return Cn(function(Mn){return Mn+1})},[Cn]),In=o.useCallback(function(Mn){yr({type:w.setPageSize,pageSize:Mn})},[yr]);Object.assign(_,{pageOptions:Nn,pageCount:un,page:ar,canPreviousPage:wr,canNextPage:Xr,gotoPage:Cn,previousPage:Ci,nextPage:br,setPageSize:In})}w.resetPivot="resetPivot",w.togglePivot="togglePivot";var Ms=function(F){F.getPivotToggleProps=[J],F.stateReducers.push(Be),F.useInstanceAfterData.push(it),F.allColumns.push(St),F.accessValue.push(sn),F.materializedColumns.push(cr),F.materializedColumnsDeps.push(Zn),F.visibleColumns.push(rr),F.visibleColumnsDeps.push(Ln),F.useInstance.push(Kr),F.prepareRow.push(yo)};Ms.pluginName="usePivotColumns";var yl=[],J=function(F,K){var Y=K.header;return[F,{onClick:Y.canPivot?function(he){he.persist(),Y.togglePivot()}:void 0,style:{cursor:Y.canPivot?"pointer":void 0},title:"Toggle Pivot"}]};function Be(_,F,K,Y){if(F.type===w.init)return u({pivotColumns:yl},_);if(F.type===w.resetPivot)return u({},_,{pivotColumns:Y.initialState.pivotColumns||yl});if(F.type===w.togglePivot){var he=F.columnId,we=F.value,le=typeof we<"u"?we:!_.pivotColumns.includes(he);return le?u({},_,{pivotColumns:[].concat(_.pivotColumns,[he])}):u({},_,{pivotColumns:_.pivotColumns.filter(function(Ae){return Ae!==he})})}}function it(_){_.allColumns.forEach(function(F){F.isPivotSource=_.state.pivotColumns.includes(F.id)})}function St(_,F){var K=F.instance;return _.forEach(function(Y){Y.isPivotSource=K.state.pivotColumns.includes(Y.id),Y.uniqueValues=new Set}),_}function sn(_,F){var K=F.column;return K.uniqueValues&&typeof _<"u"&&K.uniqueValues.add(_),_}function cr(_,F){var K=F.instance,Y=K.allColumns,he=K.state;if(!he.pivotColumns.length||!he.groupBy||!he.groupBy.length)return _;var we=he.pivotColumns.map(function(ct){return Y.find(function(gt){return gt.id===ct})}).filter(Boolean),le=Y.filter(function(ct){return!ct.isPivotSource&&!he.groupBy.includes(ct.id)&&!he.pivotColumns.includes(ct.id)}),Ae=function ct(gt,en,Dt){gt===void 0&&(gt=0),Dt===void 0&&(Dt=[]);var Mt=we[gt];if(!Mt)return le.map(function(Ct){return u({},Ct,{canPivot:!1,isPivoted:!0,parent:en,depth:gt,id:""+(en?en.id+"."+Ct.id:Ct.id),accessor:function($n,or,an){if(Dt.every(function(yr){return yr(an)}))return an.values[Ct.id]}})});var nn=Array.from(Mt.uniqueValues).sort();return nn.map(function(Ct){var gn=u({},Mt,{Header:Mt.PivotHeader||typeof Mt.header=="string"?Mt.Header+": "+Ct:Ct,isPivotGroup:!0,parent:en,depth:gt,id:en?en.id+"."+Mt.id+"."+Ct:Mt.id+"."+Ct,pivotValue:Ct});return gn.columns=ct(gt+1,gn,[].concat(Dt,[function($n){return $n.values[Mt.id]===Ct}])),gn})},Qe=Se(Ae());return[].concat(_,Qe)}function Zn(_,F){var K=F.instance.state,Y=K.pivotColumns,he=K.groupBy;return[].concat(_,[Y,he])}function rr(_,F){var K=F.instance.state;return _=_.filter(function(Y){return!Y.isPivotSource}),K.pivotColumns.length&&K.groupBy&&K.groupBy.length&&(_=_.filter(function(Y){return Y.isGrouped||Y.isPivoted})),_}function Ln(_,F){var K=F.instance;return[].concat(_,[K.state.pivotColumns,K.state.groupBy])}function Kr(_){var F=_.columns,K=_.allColumns,Y=_.flatHeaders,he=_.getHooks,we=_.plugins,le=_.dispatch,Ae=_.autoResetPivot,Qe=Ae===void 0?!0:Ae,ct=_.manaulPivot,gt=_.disablePivot,en=_.defaultCanPivot;U(we,["useGroupBy"],"usePivotColumns");var Dt=Q(_);K.forEach(function(Ct){var gn=Ct.accessor,$n=Ct.defaultPivot,or=Ct.disablePivot;Ct.canPivot=gn?Me(Ct.canPivot,or===!0?!1:void 0,gt===!0?!1:void 0,!0):Me(Ct.canPivot,$n,en,!1),Ct.canPivot&&(Ct.togglePivot=function(){return _.togglePivot(Ct.id)}),Ct.Aggregated=Ct.Aggregated||Ct.Cell});var Mt=function(gn,$n){le({type:w.togglePivot,columnId:gn,value:$n})};Y.forEach(function(Ct){Ct.getPivotToggleProps=z(he().getPivotToggleProps,{instance:Dt(),header:Ct})});var nn=Q(Qe);ue(function(){nn()&&le({type:w.resetPivot})},[le,ct?null:F]),Object.assign(_,{togglePivot:Mt})}function yo(_){_.allCells.forEach(function(F){F.isPivoted=F.column.isPivoted})}var Ao="useRowSelect";w.resetSelectedRows="resetSelectedRows",w.toggleAllRowsSelected="toggleAllRowsSelected",w.toggleRowSelected="toggleRowSelected",w.toggleAllPageRowsSelected="toggleAllPageRowsSelected";var Xo=function(F){F.getToggleRowSelectedProps=[Fi],F.getToggleAllRowsSelectedProps=[ui],F.getToggleAllPageRowsSelectedProps=[Ur],F.stateReducers.push(ao),F.useInstance.push(As),F.prepareRow.push(Ka)};Xo.pluginName=Ao;var Fi=function(F,K){var Y=K.instance,he=K.row,we=Y.manualRowSelectedKey,le=we===void 0?"isSelected":we,Ae=!1;return he.original&&he.original[le]?Ae=!0:Ae=he.isSelected,[F,{onChange:function(ct){he.toggleRowSelected(ct.target.checked)},style:{cursor:"pointer"},checked:Ae,title:"Toggle Row Selected",indeterminate:he.isSomeSelected}]},ui=function(F,K){var Y=K.instance;return[F,{onChange:function(we){Y.toggleAllRowsSelected(we.target.checked)},style:{cursor:"pointer"},checked:Y.isAllRowsSelected,title:"Toggle All Rows Selected",indeterminate:!!(!Y.isAllRowsSelected&&Object.keys(Y.state.selectedRowIds).length)}]},Ur=function(F,K){var Y=K.instance;return[F,{onChange:function(we){Y.toggleAllPageRowsSelected(we.target.checked)},style:{cursor:"pointer"},checked:Y.isAllPageRowsSelected,title:"Toggle All Current Page Rows Selected",indeterminate:!!(!Y.isAllPageRowsSelected&&Y.page.some(function(he){var we=he.id;return Y.state.selectedRowIds[we]}))}]};function ao(_,F,K,Y){if(F.type===w.init)return u({selectedRowIds:{}},_);if(F.type===w.resetSelectedRows)return u({},_,{selectedRowIds:Y.initialState.selectedRowIds||{}});if(F.type===w.toggleAllRowsSelected){var he=F.value,we=Y.isAllRowsSelected,le=Y.rowsById,Ae=Y.nonGroupedRowsById,Qe=Ae===void 0?le:Ae,ct=typeof he<"u"?he:!we,gt=Object.assign({},_.selectedRowIds);return ct?Object.keys(Qe).forEach(function(br){gt[br]=!0}):Object.keys(Qe).forEach(function(br){delete gt[br]}),u({},_,{selectedRowIds:gt})}if(F.type===w.toggleRowSelected){var en=F.id,Dt=F.value,Mt=Y.rowsById,nn=Y.selectSubRows,Ct=nn===void 0?!0:nn,gn=Y.getSubRows,$n=_.selectedRowIds[en],or=typeof Dt<"u"?Dt:!$n;if($n===or)return _;var an=u({},_.selectedRowIds),yr=function br(In){var Mn=Mt[In];if(Mn&&(Mn.isGrouped||(or?an[In]=!0:delete an[In]),Ct&&gn(Mn)))return gn(Mn).forEach(function(Hr){return br(Hr.id)})};return yr(en),u({},_,{selectedRowIds:an})}if(F.type===w.toggleAllPageRowsSelected){var Dr=F.value,cn=Y.page,Zt=Y.rowsById,un=Y.selectSubRows,Nn=un===void 0?!0:un,ar=Y.isAllPageRowsSelected,wr=Y.getSubRows,Xr=typeof Dr<"u"?Dr:!ar,Cn=u({},_.selectedRowIds),Ci=function br(In){var Mn=Zt[In];if(Mn.isGrouped||(Xr?Cn[In]=!0:delete Cn[In]),Nn&&wr(Mn))return wr(Mn).forEach(function(Hr){return br(Hr.id)})};return cn.forEach(function(br){return Ci(br.id)}),u({},_,{selectedRowIds:Cn})}return _}function As(_){var F=_.data,K=_.rows,Y=_.getHooks,he=_.plugins,we=_.rowsById,le=_.nonGroupedRowsById,Ae=le===void 0?we:le,Qe=_.autoResetSelectedRows,ct=Qe===void 0?!0:Qe,gt=_.state.selectedRowIds,en=_.selectSubRows,Dt=en===void 0?!0:en,Mt=_.dispatch,nn=_.page,Ct=_.getSubRows;U(he,["useFilters","useGroupBy","useSortBy","useExpanded","usePagination"],"useRowSelect");var gn=o.useMemo(function(){var ar=[];return K.forEach(function(wr){var Xr=Dt?bl(wr,gt,Ct):!!gt[wr.id];wr.isSelected=!!Xr,wr.isSomeSelected=Xr===null,Xr&&ar.push(wr)}),ar},[K,Dt,gt,Ct]),$n=!!(Object.keys(Ae).length&&Object.keys(gt).length),or=$n;$n&&Object.keys(Ae).some(function(ar){return!gt[ar]})&&($n=!1),$n||nn&&nn.length&&nn.some(function(ar){var wr=ar.id;return!gt[wr]})&&(or=!1);var an=Q(ct);ue(function(){an()&&Mt({type:w.resetSelectedRows})},[Mt,F]);var yr=o.useCallback(function(ar){return Mt({type:w.toggleAllRowsSelected,value:ar})},[Mt]),Dr=o.useCallback(function(ar){return Mt({type:w.toggleAllPageRowsSelected,value:ar})},[Mt]),cn=o.useCallback(function(ar,wr){return Mt({type:w.toggleRowSelected,id:ar,value:wr})},[Mt]),Zt=Q(_),un=z(Y().getToggleAllRowsSelectedProps,{instance:Zt()}),Nn=z(Y().getToggleAllPageRowsSelectedProps,{instance:Zt()});Object.assign(_,{selectedFlatRows:gn,isAllRowsSelected:$n,isAllPageRowsSelected:or,toggleRowSelected:cn,toggleAllRowsSelected:yr,getToggleAllRowsSelectedProps:un,getToggleAllPageRowsSelectedProps:Nn,toggleAllPageRowsSelected:Dr})}function Ka(_,F){var K=F.instance;_.toggleRowSelected=function(Y){return K.toggleRowSelected(_.id,Y)},_.getToggleRowSelectedProps=z(K.getHooks().getToggleRowSelectedProps,{instance:K,row:_})}function bl(_,F,K){if(F[_.id])return!0;var Y=K(_);if(Y&&Y.length){var he=!0,we=!1;return Y.forEach(function(le){we&&!he||(bl(le,F,K)?we=!0:he=!1)}),he?!0:we?null:!1}return!1}var Gu=function(F){return{}},Qs=function(F){return{}};w.setRowState="setRowState",w.setCellState="setCellState",w.resetRowState="resetRowState";var xl=function(F){F.stateReducers.push(eu),F.useInstance.push(T),F.prepareRow.push(q)};xl.pluginName="useRowState";function eu(_,F,K,Y){var he=Y.initialRowStateAccessor,we=he===void 0?Gu:he,le=Y.initialCellStateAccessor,Ae=le===void 0?Qs:le,Qe=Y.rowsById;if(F.type===w.init)return u({rowState:{}},_);if(F.type===w.resetRowState)return u({},_,{rowState:Y.initialState.rowState||{}});if(F.type===w.setRowState){var ct,gt=F.rowId,en=F.value,Dt=typeof _.rowState[gt]<"u"?_.rowState[gt]:we(Qe[gt]);return u({},_,{rowState:u({},_.rowState,(ct={},ct[gt]=A(en,Dt),ct))})}if(F.type===w.setCellState){var Mt,nn,Ct,gn,$n,or=F.rowId,an=F.columnId,yr=F.value,Dr=typeof _.rowState[or]<"u"?_.rowState[or]:we(Qe[or]),cn=typeof(Dr==null||(Mt=Dr.cellState)==null?void 0:Mt[an])<"u"?Dr.cellState[an]:Ae((nn=Qe[or])==null||(Ct=nn.cells)==null?void 0:Ct.find(function(Zt){return Zt.column.id===an}));return u({},_,{rowState:u({},_.rowState,($n={},$n[or]=u({},Dr,{cellState:u({},Dr.cellState||{},(gn={},gn[an]=A(yr,cn),gn))}),$n))})}}function T(_){var F=_.autoResetRowState,K=F===void 0?!0:F,Y=_.data,he=_.dispatch,we=o.useCallback(function(Qe,ct){return he({type:w.setRowState,rowId:Qe,value:ct})},[he]),le=o.useCallback(function(Qe,ct,gt){return he({type:w.setCellState,rowId:Qe,columnId:ct,value:gt})},[he]),Ae=Q(K);ue(function(){Ae()&&he({type:w.resetRowState})},[Y]),Object.assign(_,{setRowState:we,setCellState:le})}function q(_,F){var K=F.instance,Y=K.initialRowStateAccessor,he=Y===void 0?Gu:Y,we=K.initialCellStateAccessor,le=we===void 0?Qs:we,Ae=K.state.rowState;_&&(_.state=typeof Ae[_.id]<"u"?Ae[_.id]:he(_),_.setState=function(Qe){return K.setRowState(_.id,Qe)},_.cells.forEach(function(Qe){_.state.cellState||(_.state.cellState={}),Qe.state=typeof _.state.cellState[Qe.column.id]<"u"?_.state.cellState[Qe.column.id]:le(Qe),Qe.setState=function(ct){return K.setCellState(_.id,Qe.column.id,ct)}}))}w.resetColumnOrder="resetColumnOrder",w.setColumnOrder="setColumnOrder";var ee=function(F){F.stateReducers.push(ie),F.visibleColumnsDeps.push(function(K,Y){var he=Y.instance;return[].concat(K,[he.state.columnOrder])}),F.visibleColumns.push(_e),F.useInstance.push(me)};ee.pluginName="useColumnOrder";function ie(_,F,K,Y){if(F.type===w.init)return u({columnOrder:[]},_);if(F.type===w.resetColumnOrder)return u({},_,{columnOrder:Y.initialState.columnOrder||[]});if(F.type===w.setColumnOrder)return u({},_,{columnOrder:A(F.columnOrder,_.columnOrder)})}function _e(_,F){var K=F.instance.state.columnOrder;if(!K||!K.length)return _;for(var Y=[].concat(K),he=[].concat(_),we=[],le=function(){var Qe=Y.shift(),ct=he.findIndex(function(gt){return gt.id===Qe});ct>-1&&we.push(he.splice(ct,1)[0])};he.length&&Y.length;)le();return[].concat(we,he)}function me(_){var F=_.dispatch;_.setColumnOrder=o.useCallback(function(K){return F({type:w.setColumnOrder,columnOrder:K})},[F])}D.canResize=!0,w.columnStartResizing="columnStartResizing",w.columnResizing="columnResizing",w.columnDoneResizing="columnDoneResizing",w.resetResize="resetResize";var De=function(F){F.getResizerProps=[lt],F.getHeaderProps.push({style:{position:"relative"}}),F.stateReducers.push(ft),F.useInstance.push(Ht),F.useInstanceBeforeDimensions.push(vt)},lt=function(F,K){var Y=K.instance,he=K.header,we=Y.dispatch,le=function(Qe,ct){var gt=!1;if(Qe.type==="touchstart"){if(Qe.touches&&Qe.touches.length>1)return;gt=!0}var en=Wt(ct),Dt=en.map(function(cn){return[cn.id,cn.totalWidth]}),Mt=gt?Math.round(Qe.touches[0].clientX):Qe.clientX,nn,Ct,gn=function(){window.cancelAnimationFrame(nn),nn=null,we({type:w.columnDoneResizing})},$n=function(){window.cancelAnimationFrame(nn),nn=null,we({type:w.columnResizing,clientX:Ct})},or=function(Zt){Ct=Zt,nn||(nn=window.requestAnimationFrame($n))},an={mouse:{moveEvent:"mousemove",moveHandler:function(Zt){return or(Zt.clientX)},upEvent:"mouseup",upHandler:function(Zt){document.removeEventListener("mousemove",an.mouse.moveHandler),document.removeEventListener("mouseup",an.mouse.upHandler),gn()}},touch:{moveEvent:"touchmove",moveHandler:function(Zt){return Zt.cancelable&&(Zt.preventDefault(),Zt.stopPropagation()),or(Zt.touches[0].clientX),!1},upEvent:"touchend",upHandler:function(Zt){document.removeEventListener(an.touch.moveEvent,an.touch.moveHandler),document.removeEventListener(an.touch.upEvent,an.touch.moveHandler),gn()}}},yr=gt?an.touch:an.mouse,Dr=yt()?{passive:!1}:!1;document.addEventListener(yr.moveEvent,yr.moveHandler,Dr),document.addEventListener(yr.upEvent,yr.upHandler,Dr),we({type:w.columnStartResizing,columnId:ct.id,columnWidth:ct.totalWidth,headerIdWidths:Dt,clientX:Mt})};return[F,{onMouseDown:function(Qe){return Qe.persist()||le(Qe,he)},onTouchStart:function(Qe){return Qe.persist()||le(Qe,he)},style:{cursor:"col-resize"},draggable:!1,role:"separator"}]};De.pluginName="useResizeColumns";function ft(_,F){if(F.type===w.init)return u({columnResizing:{columnWidths:{}}},_);if(F.type===w.resetResize)return u({},_,{columnResizing:{columnWidths:{}}});if(F.type===w.columnStartResizing){var K=F.clientX,Y=F.columnId,he=F.columnWidth,we=F.headerIdWidths;return u({},_,{columnResizing:u({},_.columnResizing,{startX:K,headerIdWidths:we,columnWidth:he,isResizingColumn:Y})})}if(F.type===w.columnResizing){var le=F.clientX,Ae=_.columnResizing,Qe=Ae.startX,ct=Ae.columnWidth,gt=Ae.headerIdWidths,en=gt===void 0?[]:gt,Dt=le-Qe,Mt=Dt/ct,nn={};return en.forEach(function(Ct){var gn=Ct[0],$n=Ct[1];nn[gn]=Math.max($n+$n*Mt,0)}),u({},_,{columnResizing:u({},_.columnResizing,{columnWidths:u({},_.columnResizing.columnWidths,{},nn)})})}if(F.type===w.columnDoneResizing)return u({},_,{columnResizing:u({},_.columnResizing,{startX:null,isResizingColumn:null})})}var vt=function(F){var K=F.flatHeaders,Y=F.disableResizing,he=F.getHooks,we=F.state.columnResizing,le=Q(F);K.forEach(function(Ae){var Qe=Me(Ae.disableResizing===!0?!1:void 0,Y===!0?!1:void 0,!0);Ae.canResize=Qe,Ae.width=we.columnWidths[Ae.id]||Ae.originalWidth||Ae.width,Ae.isResizing=we.isResizingColumn===Ae.id,Qe&&(Ae.getResizerProps=z(he().getResizerProps,{instance:le(),header:Ae}))})};function Ht(_){var F=_.plugins,K=_.dispatch,Y=_.autoResetResize,he=Y===void 0?!0:Y,we=_.columns;U(F,["useAbsoluteLayout"],"useResizeColumns");var le=Q(he);ue(function(){le()&&K({type:w.resetResize})},[we]);var Ae=o.useCallback(function(){return K({type:w.resetResize})},[K]);Object.assign(_,{resetResizing:Ae})}function Wt(_){var F=[],K=function Y(he){he.columns&&he.columns.length&&he.columns.map(Y),F.push(he)};return K(_),F}var kt={position:"absolute",top:0},ht=function(F){F.getTableBodyProps.push(Bt),F.getRowProps.push(Bt),F.getHeaderGroupProps.push(Bt),F.getFooterGroupProps.push(Bt),F.getHeaderProps.push(function(K,Y){var he=Y.column;return[K,{style:u({},kt,{left:he.totalLeft+"px",width:he.totalWidth+"px"})}]}),F.getCellProps.push(function(K,Y){var he=Y.cell;return[K,{style:u({},kt,{left:he.column.totalLeft+"px",width:he.column.totalWidth+"px"})}]}),F.getFooterProps.push(function(K,Y){var he=Y.column;return[K,{style:u({},kt,{left:he.totalLeft+"px",width:he.totalWidth+"px"})}]})};ht.pluginName="useAbsoluteLayout";var Bt=function(F,K){var Y=K.instance;return[F,{style:{position:"relative",width:Y.totalColumnsWidth+"px"}}]},Ut={display:"inline-block",boxSizing:"border-box"},ln=function(F,K){var Y=K.instance;return[F,{style:{display:"flex",width:Y.totalColumnsWidth+"px"}}]},On=function(F){F.getRowProps.push(ln),F.getHeaderGroupProps.push(ln),F.getFooterGroupProps.push(ln),F.getHeaderProps.push(function(K,Y){var he=Y.column;return[K,{style:u({},Ut,{width:he.totalWidth+"px"})}]}),F.getCellProps.push(function(K,Y){var he=Y.cell;return[K,{style:u({},Ut,{width:he.column.totalWidth+"px"})}]}),F.getFooterProps.push(function(K,Y){var he=Y.column;return[K,{style:u({},Ut,{width:he.totalWidth+"px"})}]})};On.pluginName="useBlockLayout";function Jn(_){_.getTableProps.push(bn),_.getRowProps.push(Gt),_.getHeaderGroupProps.push(Gt),_.getFooterGroupProps.push(Gt),_.getHeaderProps.push(fn),_.getCellProps.push(pn),_.getFooterProps.push(Dn)}Jn.pluginName="useFlexLayout";var bn=function(F,K){var Y=K.instance;return[F,{style:{minWidth:Y.totalColumnsMinWidth+"px"}}]},Gt=function(F,K){var Y=K.instance;return[F,{style:{display:"flex",flex:"1 0 auto",minWidth:Y.totalColumnsMinWidth+"px"}}]},fn=function(F,K){var Y=K.column;return[F,{style:{boxSizing:"border-box",flex:Y.totalFlexWidth?Y.totalFlexWidth+" 0 auto":void 0,minWidth:Y.totalMinWidth+"px",width:Y.totalWidth+"px"}}]},pn=function(F,K){var Y=K.cell;return[F,{style:{boxSizing:"border-box",flex:Y.column.totalFlexWidth+" 0 auto",minWidth:Y.column.totalMinWidth+"px",width:Y.column.totalWidth+"px"}}]},Dn=function(F,K){var Y=K.column;return[F,{style:{boxSizing:"border-box",flex:Y.totalFlexWidth?Y.totalFlexWidth+" 0 auto":void 0,minWidth:Y.totalMinWidth+"px",width:Y.totalWidth+"px"}}]};w.columnStartResizing="columnStartResizing",w.columnResizing="columnResizing",w.columnDoneResizing="columnDoneResizing",w.resetResize="resetResize";function fr(_){_.stateReducers.push(lr),_.getTableProps.push(Sn),_.getHeaderProps.push(qn),_.getRowProps.push(to)}fr.pluginName="useGridLayout";var Sn=function(F,K){var Y=K.instance,he=Y.visibleColumns.map(function(we){var le;return Y.state.gridLayout.columnWidths[we.id]?Y.state.gridLayout.columnWidths[we.id]+"px":(le=Y.state.columnResizing)!=null&&le.isResizingColumn?Y.state.gridLayout.startWidths[we.id]+"px":typeof we.width=="number"?we.width+"px":we.width});return[F,{style:{display:"grid",gridTemplateColumns:he.join(" ")}}]},qn=function(F,K){var Y=K.column;return[F,{id:"header-cell-"+Y.id,style:{position:"sticky",gridColumn:"span "+Y.totalVisibleHeaderCount}}]},to=function(F,K){var Y=K.row;return Y.isExpanded?[F,{style:{gridColumn:"1 / "+(Y.cells.length+1)}}]:[F,{}]};function lr(_,F,K,Y){if(F.type===w.init)return u({gridLayout:{columnWidths:{}}},_);if(F.type===w.resetResize)return u({},_,{gridLayout:{columnWidths:{}}});if(F.type===w.columnStartResizing){var he=F.columnId,we=F.headerIdWidths,le=Wr(he);if(le!==void 0){var Ae=Y.visibleColumns.reduce(function(cn,Zt){var un;return u({},cn,(un={},un[Zt.id]=Wr(Zt.id),un))},{}),Qe=Y.visibleColumns.reduce(function(cn,Zt){var un;return u({},cn,(un={},un[Zt.id]=Zt.minWidth,un))},{}),ct=Y.visibleColumns.reduce(function(cn,Zt){var un;return u({},cn,(un={},un[Zt.id]=Zt.maxWidth,un))},{}),gt=we.map(function(cn){var Zt=cn[0];return[Zt,Wr(Zt)]});return u({},_,{gridLayout:u({},_.gridLayout,{startWidths:Ae,minWidths:Qe,maxWidths:ct,headerIdGridWidths:gt,columnWidth:le})})}else return _}if(F.type===w.columnResizing){var en=F.clientX,Dt=_.columnResizing.startX,Mt=_.gridLayout,nn=Mt.columnWidth,Ct=Mt.minWidths,gn=Mt.maxWidths,$n=Mt.headerIdGridWidths,or=$n===void 0?[]:$n,an=en-Dt,yr=an/nn,Dr={};return or.forEach(function(cn){var Zt=cn[0],un=cn[1];Dr[Zt]=Math.min(Math.max(Ct[Zt],un+un*yr),gn[Zt])}),u({},_,{gridLayout:u({},_.gridLayout,{columnWidths:u({},_.gridLayout.columnWidths,{},Dr)})})}if(F.type===w.columnDoneResizing)return u({},_,{gridLayout:u({},_.gridLayout,{startWidths:{},minWidths:{},maxWidths:{}})})}function Wr(_){var F,K=(F=document.getElementById("header-cell-"+_))==null?void 0:F.offsetWidth;if(K!==void 0)return K}n._UNSTABLE_usePivotColumns=Ms,n.actions=w,n.defaultColumn=D,n.defaultGroupByFn=Hi,n.defaultOrderByFn=Ya,n.defaultRenderer=O,n.emptyRenderer=P,n.ensurePluginOrder=U,n.flexRender=xe,n.functionalUpdate=A,n.loopHooks=L,n.makePropGetter=z,n.makeRenderer=pe,n.reduceHooks=H,n.safeUseLayoutEffect=te,n.useAbsoluteLayout=ht,n.useAsyncDebounce=ae,n.useBlockLayout=On,n.useColumnOrder=ee,n.useExpanded=No,n.useFilters=mr,n.useFlexLayout=Jn,n.useGetLatest=Q,n.useGlobalFilter=eo,n.useGridLayout=fr,n.useGroupBy=Xs,n.useMountedLayoutEffect=ue,n.usePagination=Ia,n.useResizeColumns=De,n.useRowSelect=Xo,n.useRowState=xl,n.useSortBy=Ii,n.useTable=Pr,Object.defineProperty(n,"__esModule",{value:!0})})}(DS,DS.exports)),DS.exports}process.env.NODE_ENV==="production"?ZE.exports=Yie():ZE.exports=Kie();var ig=ZE.exports;const ag={input:"_input_1kwvp_1",wrapper:"_wrapper_1kwvp_35"},JE={error:"_error_ra74q_1"},FI=({disabled:e,value:t,error:n,onChange:o})=>{const s=typeof t=="string",p=s?t:(t==null?void 0:t.toISOString().split("T")[0])??"";return B.jsxs(B.Fragment,{children:[B.jsx("input",{type:"date",disabled:e,value:p,onChange:u=>{const g=u.target.value;if(g){const b=s?g:new Date(g);o(b)}},"data-valid":!n,className:ag.input}),n&&B.jsx("div",{children:B.jsx("small",{className:JE.error,children:n})})]})},kS={checkbox:"_checkbox_1j8tf_1",label:"_label_1j8tf_9",disabled:"_disabled_1j8tf_29"},Xie=()=>{},eT=({disabled:e,value:t,onChange:n})=>B.jsx("label",{className:e?`${kS.label} ${kS.disabled}`:kS.label,children:B.jsx("input",{type:"checkbox",disabled:!!e,checked:!!t,onChange:n??Xie,className:kS.checkbox})});let tT=null,NS=null;function nT(e,t=0,n=200){return NS||(NS=document.createElement("input"),NS.setAttribute("class",ag.input)),Qie(e,NS,t,n)}function Qie(e,t,n=0,o=200){const s=Zie(t);tT||(tT=document.createElement("canvas"));const p=tT.getContext("2d");if(!p)return e.length+"ch";p.font=s;const u=p.measureText(e);let g=Math.ceil(u.width);return g=Math.min(g,o),g=Math.max(g,n),g+"px"}function rT(e,t){return window.getComputedStyle(e,null).getPropertyValue(t)}function Zie(e=document.body){const t=rT(e,"font-weight")||"normal",n=rT(e,"font-size")||"16px",o=rT(e,"font-family")||"Times New Roman";return`${t} ${n} ${o}`}class Tb extends $.PureComponent{render(){const t=this.props,n=t.value===null||t.value===void 0?t.fixedDecimalScale?"0.00":"":t.fixedDecimalScale?Number(t.value).toFixed(2):String(t.value);if(t.value&&typeof t.value!="string"&&typeof t.value!="number")return B.jsx("small",{className:JE.error,children:"Incorrect value type"});let o;t.prefix&&t.suffix?o="auto 1fr auro":t.prefix?o="auto 1fr":t.suffix?o="1fr auto":o="1fr";let s;return t.numberField||t.fixedDecimalScale?s=B.jsx(AE,{type:"text",name:t.name,className:`${ag.input} ${t.styling||""}`,value:n,onValueChange:p=>{var g;const u={target:{name:t.name,value:p.floatValue===void 0?"":String(p.floatValue)}};(g=t.onChange)==null||g.call(t,u)},onBlur:t.onBlur,disabled:t.disabled,style:{textAlign:t.textAlign,width:nT(n,40,200)},"data-valid":!t.error,decimalScale:2,thousandSeparator:",",thousandsGroupStyle:"thousand",fixedDecimalScale:t.fixedDecimalScale,allowLeadingZeros:!1}):t.disabled?s=B.jsx("span",{className:`${ag.input} ${t.styling||""}`,style:{textAlign:t.textAlign,width:nT(n,40,200)},"data-valid":!t.error,children:n}):s=B.jsx("input",{type:"text",name:t.name,className:`${ag.input} ${t.styling||""}`,value:n,onChange:t.onChange,onBlur:t.onBlur,disabled:t.disabled,style:{textAlign:t.textAlign,width:nT(n,40,200)},"data-valid":!t.error}),B.jsxs(B.Fragment,{children:[B.jsxs("div",{className:`${ag.wrapper} ${t.wrapperStyling||""}`,style:{gridTemplateColumns:o},"data-full-width":!!t.fullWidth,children:[t.prefix,s,t.suffix]}),t.error&&B.jsx("div",{children:B.jsx("small",{className:JE.error,style:{textAlign:t.textAlign},children:t.error})})]})}}const jI=Mi(e=>({inputBase:({textAlign:t})=>({height:"unset",padding:0,textAlign:t||"center"}),input:({textAlign:t})=>({textAlign:t||"center",marginRight:"0.4rem",marginLeft:"0.4rem"}),startAdornment:{color:e.palette.text.secondary},modifiedUnderline:{"&:not(.Mui-disabled):before":{borderBottom:"none",transition:"none"},"&:hover:not(.Mui-disabled):before":{borderBottom:`1px solid ${e.palette.grey[500]} !important`}},body2Text:{...e.typography.body2},dateFieldWidth:{width:"8ch"},fullDateWidth:{width:"11ch"},justifyStart:{justifyContent:"flex-start"},justifyCenter:{justifyContent:"center"},justifyEnd:{justifyContent:"flex-end"},totalContainer:{display:"flex",alignItems:"center",cursor:"default",whiteSpace:"nowrap"},selectFocusBackground:{"&:focus":{backgroundColor:"unset"}}})),Jie=e=>B.jsx(Tb,{...e}),eae=e=>B.jsx(Tb,{...e,numberField:!0}),tae=e=>B.jsx(Tb,{...e,numberField:!0,fixedDecimalScale:!0}),nae=({value:e,onChange:t,disabled:n,error:o})=>B.jsx(FI,{disabled:n,error:o,onChange:t,value:e??null}),rae=e=>B.jsx(eT,{value:e.value,onChange:e.onChange,disabled:e.disabled}),oae=({text:e,numberField:t=!1,prefix:n=null,suffix:o=null,textAlign:s,fixedDecimalScale:p,styling:u="",widthOverride:g=void 0,fullWidth:b})=>B.jsx("div",{className:u,style:{width:g},children:B.jsx(Tb,{value:e,disabled:!0,numberField:t,fixedDecimalScale:p,textAlign:s,prefix:n,suffix:o,fullWidth:b})}),iae=({error:e,value:t,onBlur:n,onChange:o,selectOptions:s,disabled:p})=>{const u=jI({});return B.jsxs(eS,{variant:"standard",margin:"none",error:!!e,children:[B.jsx(IE,{variant:"standard",className:`${u.body2Text} ${u.modifiedUnderline}`,inputProps:{className:u.selectFocusBackground},value:t,onChange:o,onBlur:n,disabled:p,selectOptions:Object.entries(s).map(([g,b])=>({value:g,description:b}))}),e&&B.jsx(tS,{children:e})]})},aae=({error:e,value:t,onBlur:n,onChange:o,selectOptions:s,disabled:p,renderValue:u})=>{const g=jI({});return B.jsxs(eS,{variant:"standard",margin:"none",error:!!e,children:[B.jsx(lS,{variant:"standard",className:`${g.body2Text} ${g.modifiedUnderline}`,inputProps:{className:g.selectFocusBackground},value:t,onChange:o,onBlur:n,disabled:p,renderValue:u,multiple:!0,children:Object.entries(s).map(([b,y])=>B.jsx(oE,{className:g.body2Text,value:b,children:y},b))}),e&&B.jsx(tS,{children:e})]})},_o={newRowHighlight:"_newRowHighlight_2pv8n_1",editedCellHighlight:"_editedCellHighlight_2pv8n_5",editedBorder:"_editedBorder_2pv8n_10",errorBorder:"_errorBorder_2pv8n_15",emptyLoadingPadding:"_emptyLoadingPadding_2pv8n_20",centeredText:"_centeredText_2pv8n_26",disabled:"_disabled_2pv8n_30",pagination:"_pagination_2pv8n_34",virtualisationContainer:"_virtualisationContainer_2pv8n_42",cellPadding:"_cellPadding_2pv8n_47",shadedHeader:"_shadedHeader_2pv8n_51",shadedBodyCell:"_shadedBodyCell_2pv8n_55",shadedHeaderGroupParent:"_shadedHeaderGroupParent_2pv8n_60",shadedHeaderGroup2Children:"_shadedHeaderGroup2Children_2pv8n_64",shadedBody2CellsInsideGroup:"_shadedBody2CellsInsideGroup_2pv8n_69",offsetStickyPosition:"_offsetStickyPosition_2pv8n_75",stickyHeaderZIndex:"_stickyHeaderZIndex_2pv8n_80",headerCellColour:"_headerCellColour_2pv8n_84",rowCellColour:"_rowCellColour_2pv8n_88",rowHoverForStickyCell:"_rowHoverForStickyCell_2pv8n_93",stickyRowCell:"_stickyRowCell_2pv8n_93",headerBorders:"_headerBorders_2pv8n_97",tableRow:"_tableRow_2pv8n_101",tableHeadingCell:"_tableHeadingCell_2pv8n_109",tableCell:"_tableCell_2pv8n_113",tableCellTotalsLabel:"_tableCellTotalsLabel_2pv8n_126",tableTotalCell:"_tableTotalCell_2pv8n_131",tableTotalWrapper:"_tableTotalWrapper_2pv8n_136"},sae=({value:e="",row:{index:t,values:n,original:o},column:{id:s},syncCellWithState:p,setRows:u,fieldConfig:g,disabled:b})=>{const{validationRule:y,dependentValidationRule:C,isCheckbox:w,isDateField:O,customRenderFn:P,prefix:D,suffix:I,textAlign:j,onBlur:z,onChangeValueModifier:H,getCalculatedValue:L}=g[s],[U,A]=$.useState(!1),[Q,te]=$.useState(e),ue=w,ae=de=>{let fe=!1;if(y)try{y.validateSync(de),U&&A(!1)}catch(Se){fe=!0,!U&&A(Se.message)}if(C)try{C(n).validateSync(de),U&&A(!1)}catch(Se){fe=!0,!U&&A(Se.message)}return fe},pe=async(de,fe)=>{ue?p(t,s,de,!1):O?p(t,s,de,!!fe):p(t,s,Q,!!U),z&&u&&!U&&!_$(n[s],Q,O)&&await z({rowIndex:t,value:Q,setRows:u,values:o})},xe=de=>{let fe;if(O){fe=de;const re=H?H(fe):fe;te(re);const ce=ae(re);pe(re,ce);return}fe=de;const Se=ue?fe.target.checked:fe.target.value;ue?(te(Se),pe(Se)):(te(Se),ae(Se))};$.useEffect(()=>{te(e);const de=ae(e);U!==de&&p(t,s,e,de,!0)},[e]),$.useEffect(()=>{o.errors&&!!o.errors[s]!=!!U&&ae(e)},[o.errors]);const ye={value:L?L(o):Q,values:n,disabled:L||b||o.disabledRow,error:U,onChange:xe,onBlur:pe,prefix:D,suffix:I,textAlign:j,originalValues:o};return P?P(ye):Jie(ye)},LI=$.forwardRef(({row:e,disabled:t,includeRowSelect:n,...o},s)=>B.jsx("tr",{...o,ref:s,className:`${e.original.rowStatus===Oq?_o.newRowHighlight:""} ${e.original.rowStatus===yM?_o.editedBorder:""}
|
|
566
|
+
${Object.values(e.original.errors||{}).includes(!0)?_o.errorBorder:""} ${e.original.disabledRow||t?_o.disabled:""}
|
|
567
|
+
${_o.rowHoverForStickyCell} ${_o.tableRow}`,children:e.cells.map((p,u)=>B.jsx("td",{...p.getCellProps(),"data-align":p.column.textAlign||"center",style:{textAlign:p.column.textAlign||"center"},className:`${_o.tableCell} ${p.row.original.rowStatus===yM&&p.row.original.edited[p.column.id]?_o.editedCellHighlight:""} ${_o.cellPadding}
|
|
568
|
+
${p.column.shadedHeaderGroup?`${_o.shadedBody2CellsInsideGroup} shadedBody2CellsInsideGroup`:""}
|
|
569
|
+
${p.column.shadedHeader?`${_o.shadedBodyCell} shadedBodyCell`:""}
|
|
570
|
+
${p.column.stickyCell?`${_o.offsetStickyPosition} ${_o.rowCellColour} stickyRowCell`:""}
|
|
571
|
+
`,padding:n&&u===0?"checkbox":"normal",children:p.render("Cell")}))})),lae=[],uae=$.memo(({tableRows:e,tableHeaders:t,syncCellWithState:n,setRows:o=void 0,skipPageReset:s=!1,fieldConfig:p,disabled:u=!1,setSelectedRows:g,includeRowSelect:b=!0,filterData:y,filterTypes:C,emptyTableText:w="Table is empty",paginate:O=!1,defaultPageSize:P=50,virtContainerStyling:D,includeGlobalSearch:I,disableHeaderSelect:j})=>{const z=xa.useRef(null),H=xa.useMemo(()=>({Cell:sae}),[]),{getTableProps:L,getTableBodyProps:U,headerGroups:A,rows:Q,page:te,prepareRow:ue,state:{selectedRowIds:ae,pageIndex:pe},state:xe,setFilter:Pe,pageCount:ye,gotoPage:de,preGlobalFilteredRows:fe,setGlobalFilter:Se,isAllRowsSelected:re,selectedFlatRows:ce}=ig.useTable({columns:t,data:e||lae,defaultColumn:H,autoResetPage:O?!s:!1,filterTypes:C,initialState:{pageSize:O?P:void 0},syncCellWithState:n,setRows:o,fieldConfig:p,disabled:u,autoResetGlobalFilter:!1},ig.useFilters,ig.useGlobalFilter,ig.usePagination,ig.useRowSelect,ge=>{b&&ge.visibleColumns.push(Me=>[{id:"selection",Header:({getToggleAllRowsSelectedProps:Le,getToggleAllPageRowsSelectedProps:Oe})=>{if(j)return"Select";const Ve=O?Oe():Le();return B.jsx(eT,{value:Ve.checked,onChange:Ve.onChange,disabled:u})},Cell:({row:Le})=>{const Oe=Le.getToggleRowSelectedProps();return B.jsx(eT,{value:Oe.checked,onChange:Oe.onChange,disabled:u||Le.original.disableSelection})}},...Me])}),ke=O?te:Q,Ce=$.useCallback((ge,Me)=>{de(Me-1)},[]);return $.useEffect(()=>{y&&Pe(y.filterRow,y.filterValues)},[y]),$.useEffect(()=>{g&&g(Object.keys(ae).map(ge=>+ge))},[ae]),B.jsxs(B.Fragment,{children:[I?B.jsx(dae,{preGlobalFilteredRows:fe,globalFilter:xe.globalFilter,setGlobalFilter:Se}):null,B.jsx("div",{ref:z,className:D||_o.virtualisationContainer,children:B.jsx(fae,{disabled:u,includeRowSelect:b,getTableProps:L,headerGroups:A,getTableBodyProps:U,rowsToRender:ke,prepareRow:ue,isAllRowsSelected:re,selectedFlatRows:ce,fieldConfig:p,tableHeaders:t})}),e===null?B.jsx(Co,{className:_o.emptyLoadingPadding,children:B.jsx(Ym,{})}):null,e&&!e.length?B.jsx(Co,{className:`${_o.emptyLoadingPadding} ${_o.centeredText}`,children:B.jsx(So,{variant:"body2",children:w})}):null,O&&(e!=null&&e.length)?B.jsx(aE,{className:_o.pagination,count:ye,page:pe+1,onChange:Ce,shape:"rounded",showFirstButton:!0,showLastButton:!0}):null]})}),cae=Mi(e=>({container:{display:"flex",justifyContent:"center",alignItems:"center",border:`1px solid ${e.palette.grey[600]}`,borderRadius:"8px",width:"100%",maxWidth:"20rem",marginInline:"auto",color:e.palette.grey[600],"&:hover":{borderColor:e.palette.grey[800],color:e.palette.grey[800]},"&:focus-within":{borderColor:e.palette.grey[800],color:e.palette.grey[800]}},input:{width:"100%",maxWidth:"18rem",color:"inherit",...e.typography.body2}})),dae=$.memo(({preGlobalFilteredRows:e,globalFilter:t,setGlobalFilter:n})=>{const o=cae(),s=pl(),[p,u]=$.useState(t),g=ig.useAsyncDebounce(y=>{n(y||void 0)},200),b=e.length;return B.jsxs("div",{className:`${o.container} ${s.contentBreak}`,children:[B.jsx(PE,{className:`${s.rightSpacer1} ${s.leftSpacer1}`}),B.jsx(zm,{className:`${o.input}`,value:p||"",onChange:y=>{u(y.target.value),g(y.target.value)},placeholder:`Search ${b} records...`,inputProps:{"aria-label":"search"}})]})}),fae=$.memo(({disabled:e,includeRowSelect:t,getTableProps:n,headerGroups:o,getTableBodyProps:s,rowsToRender:p,prepareRow:u,isAllRowsSelected:g,selectedFlatRows:b,fieldConfig:y,tableHeaders:C})=>{const w=p.length>0&&Object.values(y).some(O=>O.total);return B.jsxs(uE,{...n(),style:{borderCollapse:"collapse",borderTopLeftRadius:15,borderTopRightRadius:15},children:[B.jsx(pae,{headerGroups:o,includeRowSelect:t,isAllRowsSelected:g}),B.jsxs("tbody",{...s(),children:[B.jsx(hae,{disabled:e,includeRowSelect:t,rowsToRender:p,prepareRow:u,selectedFlatRows:b}),w&&B.jsxs("tr",{children:[t&&B.jsx("td",{className:_o.tableCellTotalsLabel,children:"Totals"}),Object.values(C).map(O=>{const P=O.accessor,D=y[P];if(!D.total)return B.jsx("td",{},`totals-${O.accessor}`);const I=p.reduce((j,z)=>{const H=D.getCalculatedValue?D.getCalculatedValue(z.original):z.original[P];return j+Number(H)},0);return B.jsx("td",{className:`${_o.tableCell} ${_o.tableTotalCell}`,children:B.jsxs("div",{className:_o.tableTotalWrapper,children:[D.prefix,B.jsx(AE,{value:I,thousandSeparator:",",displayType:"text",decimalScale:2,fixedDecimalScale:!0})]})},`totals-${O.accessor}`)})]})]})]})}),pae=$.memo(({headerGroups:e,includeRowSelect:t,isAllRowsSelected:n})=>B.jsx("thead",{className:`${_o.offsetStickyPosition} ${_o.stickyHeaderZIndex} ${_o.headerBorders}`,children:e.map(o=>B.jsx("tr",{...o.getHeaderGroupProps(),children:o.headers.map((s,p)=>{var u;return B.jsx("th",{...s.getHeaderProps(),style:{textAlign:s.textAlign||"center"},className:`${_o.headerCellColour} ${_o.tableCell} ${_o.tableHeadingCell}
|
|
572
|
+
${s.shadedHeaderGroup?s.columns?`${_o.shadedHeaderGroupParent} shadedHeaderGroupParent`:s.parent?`${_o.shadedHeaderGroup2Children} shadedHeaderGroup2Children`:"":""} ${s.shadedHeader?`${_o.shadedHeader} shadedHeader`:""}
|
|
573
|
+
${s.stickyCell||(u=s.placeholderOf)!=null&&u.stickyCell?`${_o.offsetStickyPosition} ${_o.stickyHeaderZIndex}`:""}`,children:s.render("Header")})})}))})),hae=$.memo(({rowsToRender:e,prepareRow:t,...n})=>B.jsx(B.Fragment,{children:e.map(o=>(t(o),B.jsx($.Fragment,{children:o.original.disabledRow?B.jsx(fb,{title:o.original.tooltipText||"This row is disabled",arrow:!0,children:B.jsx(LI,{...n,row:o})}):B.jsx(LI,{...n,row:o})},o.original.rowKey||o.getRowProps().key)))})),vae=Mi(e=>({alertStyling:{borderRadius:ju},closeButton:{color:e.palette.text.secondary,marginRight:e.spacing(2)},showCursor:{cursor:"pointer"},horizontalAutoMargin:{marginLeft:"auto",marginRight:"auto"}})),BI=$.forwardRef(({alertActionHandler:e,formStatus:t,actionButton:n,alertMessage:o,addBreak:s=!0,styling:p},u)=>{const g={...pl(),...vae()};return B.jsx(jx,{in:[sf,Fu,IR].includes(t),ref:u,className:g.horizontalAutoMargin,children:B.jsx(_M,{onClick:e,className:`${g.alertStyling} ${s?g.sectionBreak:""} ${p||""} ${e?g.showCursor:""}`,severity:t===Fu?Fu:t===sf?sf:IR,action:n?B.jsx(nf,{className:g.closeButton,"aria-label":"close",color:"inherit",size:"small",onClick:b=>{b.stopPropagation(),n.handler()},children:n.text}):null,children:o})})}),mae=Mi(e=>({greyBox:{backgroundColor:e.palette.grey[200],display:"flex",justifyContent:"center",alignItems:"center",padding:"1.5rem",borderRadius:ju,position:"relative",height:"13.25rem"},widthLimiter:{width:"100%",maxWidth:"28rem",marginLeft:"auto",marginRight:"auto"},hiddenInput:{display:"none"},buttonColor:{backgroundColor:e.palette.primary.main},iconStyling:{color:e.palette.common.white,fontSize:"3rem"},sectionBreak:{marginBottom:e.spacing(3)},dropBox:{height:"100%",width:"100%",display:"flex",justifyContent:"center",alignItems:"center"},dropArrowStyling:{color:e.palette.text.secondary,fontSize:"3rem"},topLeftArrow:{position:"absolute",top:0,left:0,transform:"rotate(45deg)"},topRightArrow:{position:"absolute",top:0,right:0,transform:"rotate(135deg)"},bottomLeftArrow:{position:"absolute",bottom:0,left:0,transform:"rotate(-45deg)"},bottomRightArrow:{position:"absolute",bottom:0,right:0,transform:"rotate(225deg)"},hiddenDisplay:{display:"none"},loadingCircle:{marginLeft:e.spacing(1)},roundedAvatarButton:{borderRadius:"100%"},roundedAvatar:{width:"16vmax",height:"16vmax",maxWidth:"13rem",maxHeight:"13rem"},organisationImage:{maxWidth:"8rem",minWidth:"5rem",maxHeight:"8rem"}})),oT="dragEnter",VI="input",zI="dragDrop",gae=({id:e="image-upload",url:t,roundedAvatar:n=!1,handleSaveImage:o,alt:s,accessLevel:p})=>{const u={...mae(),...pl()},[g,b]=$.useState(!!t),[y,C]=$.useState($x),[w,O]=$.useState(null);if($.useEffect(()=>{t&&b(!0)},[t]),p===gp)return null;let P=!1;p===mp&&(P=!0);const D=async(z,H)=>{if(!P){if(O(null),z===VI){const L=H.target;L.files&&L.files[0]?await I(L.files[0]):(C(Fu),b(!!t))}else if(z===zI){const L=H.dataTransfer;L.files&&L.files[0]?await I(L.files[0]):(C(Fu),b(!!t))}}},I=async z=>{if(C(Nm),z.size>=1024*1024*.5){O("Image size should be less than 0.5MB"),C(Fu),b(!!t);return}const H=z.name.split(".")[1].toLowerCase();if(!["png","jpg","jpeg"].includes(H)){O("Please provide an image in png, jpg or jpeg format"),C(Fu),b(!!t);return}const L=await z.arrayBuffer();try{await o(H,L,z),C(sf),b(!0)}catch(U){console.log(U),C(Fu),b(!!t)}};let j;switch(y){case oT:j=B.jsxs(Co,{className:u.dropBox,style:{pointerEvents:"none"},children:[B.jsx(yS,{className:`${u.dropArrowStyling} ${u.topLeftArrow}`}),B.jsx(yS,{className:`${u.dropArrowStyling} ${u.topRightArrow}`}),B.jsx(So,{variant:"h5",color:"textSecondary",children:"Drop Here"}),B.jsx(yS,{className:`${u.dropArrowStyling} ${u.bottomLeftArrow}`}),B.jsx(yS,{className:`${u.dropArrowStyling} ${u.bottomRightArrow}`})]});break;case Nm:j=B.jsxs(Co,{className:u.dropBox,children:[B.jsx(So,{color:"textSecondary",children:"Loading..."}),B.jsx(vx,{className:u.loadingCircle,size:25})]});break;default:j=B.jsxs("label",{htmlFor:e,children:[B.jsx(lf,{className:`${u.buttonColor} ${u.sectionBreak}`,"aria-label":"upload picture",component:"span",size:"large",children:B.jsx(Rte,{className:u.iconStyling})}),B.jsx(So,{variant:"body2",color:"textSecondary",children:"Drag and drop or browse to upload your image or logo."})]});break}return B.jsxs(Co,{className:u.labelBreak,onDragEnter:z=>{P||(z.preventDefault(),z.stopPropagation(),b(!1))},onDragOver:z=>{P||(z.preventDefault(),z.stopPropagation(),b(!1))},children:[g&&B.jsx(Co,{className:u.labelBreak,children:B.jsx("label",{htmlFor:e,children:B.jsx(nf,{className:`${n?u.roundedAvatarButton:""}`,"aria-label":"upload picture",component:"span",children:n?B.jsx(iA,{className:u.roundedAvatar,src:t,alt:s||"Profile Avatar"}):B.jsx("img",{className:u.organisationImage,src:t,alt:s||"Company Logo"})})})}),B.jsxs(Co,{className:`${u.greyBox} ${u.widthLimiter} ${u.sectionBreak} ${g?u.hiddenDisplay:""}`,onDragEnter:z=>{P||(z.preventDefault(),z.stopPropagation(),C(oT))},onDragLeave:z=>{P||(z.preventDefault(),z.stopPropagation(),C($x),b(!!t))},onDragOver:z=>{P||(z.preventDefault(),z.stopPropagation(),C(oT))},onDrop:z=>{P||(z.preventDefault(),z.stopPropagation(),D(zI,z))},children:[B.jsx("input",{id:e,className:u.hiddenInput,type:"file",accept:".png, .jpg, .jpeg",disabled:P,onChange:z=>D(VI,z)}),j]}),B.jsx(Co,{className:u.widthLimiter,children:B.jsx(BI,{formStatus:y,alertMessage:w||(y===sf?"Uploaded successfully!":"Something went wrong.")})})]})},yae=Mi(e=>({container:{minWidth:"4.5rem",height:"100%",background:"linear-gradient(180deg, #B3D6EC 0%, #B3D6EC 40%, #E97FAB 100%)",display:"flex",flexDirection:"column",overflowY:"auto",borderTopRightRadius:"1rem",borderBottomRightRadius:"1rem",border:"solid 2px rgb(188, 172, 242)",borderLeft:"none",boxSize:"border-box",[e.breakpoints.down("sm")]:{flexDirection:"row",justifyContent:"center",background:"linear-gradient(90deg, #B3D6EC 0%, #B3D6EC 40%, #E97FAB 100%)",borderRadius:0,borderTopLeftRadius:"1rem",borderTopRightRadius:"1rem",width:"100dvw",margin:"auto",border:"solid 2px rgb(188, 172, 242)",borderBottom:"none",overflowY:"hidden",overflowX:"scroll"}},item:{position:"relative",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",textAlign:"center",color:"black",textDecoration:"none",fontSize:"0.725rem",padding:"0.75rem 0.5rem",gap:"0.25rem",backgroundColor:"transparent",transition:"background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms","&:hover":{backgroundColor:"rgba(0, 0, 0, 0.04)"},"&::after":{content:'" "',position:"absolute",top:"15%",bottom:"15%",right:0,width:3,zIndex:1,transition:"background-color 80ms cubic-bezier(0.4, 0, 0.2, 1) 0ms"},[e.breakpoints.down("sm")]:{padding:"0.5rem 1.0rem","&::after":{top:0,left:"15%",right:"15%",bottom:"auto",height:4,width:"auto"}}},itemActive:{"&::after":{backgroundColor:"rgb(188, 172, 242)"}},separateItem:{marginTop:"auto"}})),bae=({tabs:e})=>{const t=yae(),n=df();return B.jsx("div",{className:t.container,children:e.map(({Icon:o,field:s,path:p,separate:u=!1})=>B.jsx(Uu,{to:p,className:[t.item,u?t.separateItem:null,n.pathname===p?t.itemActive:null].filter(Boolean).join(" "),children:B.jsxs(B.Fragment,{children:[B.jsx(o,{}),s]})},p))})},xae=Mi(e=>({tablessGrid:{},grid:({hideTabs:t,leaveHeightForMenu:n})=>t?{}:{display:"grid",gridTemplateRows:"auto 1fr",gridTemplateColumns:"auto 1fr",height:n?"calc(100dvh - 4rem)":"100dvh",boxSize:"border-box",[e.breakpoints.down("sm")]:{gridTemplateColumns:"1fr",gridTemplateRows:"1fr auto"}},tabs:{height:({leaveHeightForMenu:t})=>t?"calc(100dvh - 4rem)":"100dvh",[e.breakpoints.down("sm")]:{order:1,height:"max-content !important"}},content:{padding:"1rem",boxSizing:"border-box",height:"100%",overflowY:"scroll"}})),Sae=({tabs:e,hideTabs:t=!1,leaveHeightForMenu:n=!0,children:o})=>{const s=xae({hideTabs:t,leaveHeightForMenu:n});return B.jsxs("div",{className:`${s.grid}`,children:[B.jsx("div",{className:s.tabs,children:B.jsx(bae,{tabs:e})}),B.jsx("div",{className:s.content,children:B.jsx(Zx,{disableGutters:!0,children:B.jsx(B.Fragment,{children:o})})})]})},Cae=({styling:e,format:t="dd MMM yyyy",minDate:n=new Date("1856-09-25"),accessLevel:o,disabled:s,slots:p,...u})=>{if(o===gp)return null;let g=s;return o===mp&&(g=!0),B.jsx(XE,{className:e||"",closeOnSelect:!0,...u,disabled:g,format:t,minDate:n,slots:{textField:eg,...p||{}}})},wae=({autoSave:e,onBlur:t,...n})=>{const[o,s]=$.useState(!1),[p,u]=$.useState($x),[g,b]=$.useState(!1);return kE(async()=>{u(Nm);try{!n.error&&await e(n.value),u(sf)}catch{u(Fu)}s(!1)},o&&g?1e4:null),B.jsx(B.Fragment,{children:B.jsx(eg,{InputProps:{endAdornment:o&&(p===Nm?B.jsx(Ym,{text:""}):p===sf?B.jsx(fb,{title:"Successfully saved updates",children:B.jsx(wte,{color:"primary"})}):p===Fu?B.jsx(fb,{title:"Failed to save updates",children:B.jsx(Ete,{color:"primary"})}):null)},onFocus:()=>{s(!0)},onChange:()=>{b(!1),b(!0)},onBlur:async()=>{b(!1),s(!1),u(Nm);try{!n.error&&e&&await e(n.value),u(sf)}catch{u(Fu)}},...n})})},Rae=({autoSave:e,selectOptions:t,...n})=>B.jsx(IE,{selectOptions:t,...n,onChange:o=>{e&&e(o.target.value)}});Nr.Alert=BI,Nr.AlphabeticalList=k$,Nr.AutoSaveSelectField=Rae,Nr.AutoSaveTextField=wae,Nr.Breadcrumbs=vte,Nr.Button=FR,Nr.ButtonWithConfirm=qie,Nr.ContentBox=bee,Nr.ContentLabel=yee,Nr.DatePicker=Wie,Nr.EditableTable=uae,Nr.EntityList=gte,Nr.ErrorIndicator=Cte,Nr.FORM_DELETING=Dq,Nr.FORM_ENABLED=$x,Nr.FORM_ERROR=Fu,Nr.FORM_LOADING=Nm,Nr.FORM_SUCCESS=sf,Nr.FORM_WARNING=IR,Nr.ImageDisplayAndUpload=gae,Nr.KeyboardDatePicker=Hie,Nr.LeftNavigation=zte,Nr.LoadingSpinner=Ym,Nr.MainLayout=Wte,Nr.MobileDatePicker=Cae,Nr.NavbarLayout=Sae,Nr.NonEditableField=oae,Nr.NumberFormatField=U$,Nr.OptionalTooltip=D$,Nr.SearchBar=Zte,Nr.Select=IE,Nr.StaticTable=_ee,Nr.TableDatePicker=FI,Nr.TableMultipleSelect=aae,Nr.TableSelect=iae,Nr.TableTextField=Tb,Nr.TextField=eg,Nr.didCellValueChange=_$,Nr.tableCheckbox=rae,Nr.tableDateField=nae,Nr.tableNumericStringField=eae,Nr.tableNumericStringFixedDecimalField=tae,Nr.useDebounceEffect=DE,Nr.useInterval=kE,Nr.useWhyDidYouUpdate=Kte,Object.defineProperty(Nr,Symbol.toStringTag,{value:"Module"})});
|
|
574
|
+
//# sourceMappingURL=index.umd.cjs.map
|